chore: add real content that was sitting untracked
Surfaced by today's untracked-files audit. None of these are accidents —
multiple are referenced by name in CLAUDE.md and memory files but were
never added.
Categories:
- docs/PHASE_AUDIT_GUIDE.md (106 LOC) — Claude Code phase audit guidance
- ops/systemd/lakehouse-langfuse-bridge.service — Langfuse bridge unit
- package.json — top-level npm manifest
- scripts/e2e_pipeline_check.sh + production_smoke.sh — real test scripts
- reports/kimi/audit-last-week*.md — the "Two reports live" CLAUDE.md cites
- tests/multi-agent/scenarios/ — 44 staffing scenarios (cutover decision A)
- tests/multi-agent/playbooks/ — 102 playbook records
- tests/battery/, tests/agent_test/PRD.md, tests/real-world/* — real tests
- sidecar/sidecar/{lab_ui,pipeline_lab}.py — 888 LOC dev-only UIs that
remain in service post-sidecar-drop (commit ba928b1 explicitly kept them)
Sensitivity check: scenarios use synthetic company names ("Heritage Foods",
"Cornerstone Fabrication"); audit reports describe code findings only;
no PII or secrets surfaced.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"after_event":"16:30","event_kind":"emergency","ok":true,"model":"gpt-oss:20b","duration_secs":14.464,"risk":"Missing role data in index","hint":"Verify 'Receiving Clerk' entries exist for Flint, MI before assignment; confirm JSON formatting to prevent parse errors."}
|
||||
@@ -0,0 +1 @@
|
||||
# Client emails — Horizon Supply, 2026-05-04
|
||||
@@ -0,0 +1,6 @@
|
||||
# Cross-day lesson — Horizon Supply, 2026-05-04
|
||||
|
||||
_Generated by `gpt-oss:20b` in 5.2s. Based on 3 events + 1 mid-day checkpoints._
|
||||
|
||||
**
|
||||
Before any baseline, recurring, or emergency assignment, confirm that the role index contains entries for the target location. Pre‑fetch the role data for Flint, MI and validate its JSON formatting to avoid parse errors. If a role is missing, populate a default pool or flag the job for manual review. This prevents the FAIL status and reduces gaps. Implement a pre‑check script that runs before each event.
|
||||
@@ -0,0 +1,70 @@
|
||||
[
|
||||
{
|
||||
"date": "2026-05-02",
|
||||
"client": "Heritage Foods",
|
||||
"cities": "Flint",
|
||||
"states": "MI",
|
||||
"events_total": 3,
|
||||
"events_ok": 0,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore any shift in Flint, run tool‑calibration and drift diagnostics for all crews, prioritizing the Assembler team. Schedule a pre‑shift check to confirm that each role’s pool assignment is correct and that no gaps remain. Verify that all baseline, expansion, and emergency tasks have the required resources pre‑loaded; a single unfilled gap caused the failures today. Implement this pre‑shift routine for every Flint deployment to avoid repeat failures.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "08:30",
|
||||
"risk": "Assembler drift risk in Flint",
|
||||
"hint": "Prioritize tool calibration, run drift diagnostics, and schedule pre-shift check for Assembler crew in Flint."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:59:20.539Z",
|
||||
"file": "2026-05-02_Heritage_Foods_1776736760539.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-04-30",
|
||||
"client": "Parallel Machining",
|
||||
"cities": "Flint",
|
||||
"states": "MI",
|
||||
"events_total": 3,
|
||||
"events_ok": 0,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore any shift, verify that all tools are calibrated and that the pool assignment is set—an unset pool causes immediate failure. For emergency tasks, perform a quick drift check and recalibrate tools on the spot to mitigate drift risk. Apply the same pre‑check routine to baseline and recurring tasks to avoid cascading failures. Keep a ready‑to‑run calibration script in the agent’s routine for rapid deployment.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "12:30",
|
||||
"risk": "Drift risk: emergency Packer Flint",
|
||||
"hint": "Address drift flags: calibrate tools,"
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:56:32.212Z",
|
||||
"file": "2026-04-30_Parallel_Machining_1776736592212.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-04-27",
|
||||
"client": "Pioneer Assembly",
|
||||
"cities": "Flint",
|
||||
"states": "MI",
|
||||
"events_total": 5,
|
||||
"events_ok": 0,
|
||||
"checkpoint_count": 2,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore launching any shift, run a quick schema validation on the executor’s output to ensure the JSON array is properly closed and matches the planner’s expected format. Pre‑fetch and cache the candidate pool for each role so the planner has available candidates (avoiding zero turns). Finally, verify tool calibration—especially for roles like Shipping Clerk—in the target location before deployment to prevent drift.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "14:00",
|
||||
"risk": "JSON parse failure risk",
|
||||
"hint": "Check executor output formatting; ensure JSON array closed properly; validate before sending to planner."
|
||||
},
|
||||
{
|
||||
"after": "17:00",
|
||||
"risk": "Shipping Clerk drift risk",
|
||||
"hint": "Verify Shipping Clerk tool calibration in Flint before deployment to avoid drift."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:50:40.482Z",
|
||||
"file": "2026-04-27_Pioneer_Assembly_1776736240482.json"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,50 @@
|
||||
# Scenario retrospective — Horizon Supply, 2026-05-04
|
||||
|
||||
Executor: `qwen3.5:latest` Reviewer: `qwen3:latest` Draft: `qwen2.5:latest` Overview(T3): `gpt-oss:20b`
|
||||
Prior lessons loaded into executor context: **3** (from 2026-05-02, 2026-04-30, 2026-04-27)
|
||||
|
||||
## Events
|
||||
|
||||
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| 11:00 | baseline_fill | Forklift Operator × 1 | - | ✗ 0 | 0 | 28.6 | 0 | 1 |
|
||||
| 10:30 | recurring | CNC Operator × 1 | - | ✗ 0 | 0 | 18.7 | 0 | 1 |
|
||||
| 16:30 | emergency | Receiving Clerk × 3 | - | ✗ 0 | 0 | 26.6 | 0 | 1 |
|
||||
|
||||
## Final roster
|
||||
|
||||
| Worker | Booked | Role | City, ST | Status |
|
||||
|---|---|---|---|---|
|
||||
|
||||
## Gap signals
|
||||
|
||||
### drift_or_tool
|
||||
- **11:00** — aborted — 3 consecutive drift flags
|
||||
- **10:30** — aborted — 3 consecutive drift flags
|
||||
- **16:30** — invalid JSON from executor: JSON Parse error: Expected ']' | raw: {"kind":"plan","steps":["Verify the data source for 'Receiving Clerk' roles in 'Flint, MI' using a raw SQL query to confirm if any records exist, as hybrid_search has returned zero matches despite the filter.","If records exist, extract the top 3 by availability.","If no records exist in the index f
|
||||
|
||||
### write_through_audit
|
||||
- _post-run_ — playbook_memory has 1544 entries (ran 3 events, expected ≥ 0 new entries from this run)
|
||||
|
||||
## Workers touched across the week
|
||||
|
||||
0 distinct workers made it through to a decision. Every one is accounted for below — no-shows flagged, rebookings noted, everyone visible.
|
||||
|
||||
| Worker ID | Name | Events | Outcome |
|
||||
|---|---|---|---|
|
||||
|
||||
## Discovered patterns (meta-index)
|
||||
|
||||
What the system identified across semantically-similar past fills as each event ran:
|
||||
|
||||
- **11:00 baseline_fill** (Forklift Operator): —
|
||||
- **10:30 recurring** (CNC Operator): —
|
||||
- **16:30 emergency** (Receiving Clerk): —
|
||||
|
||||
## Narrative
|
||||
|
||||
- 0/3 events reached consensus.
|
||||
- Final roster: 0 bookings across 0 distinct workers.
|
||||
- Workers touched (booked, failed, or otherwise decided): 0.
|
||||
- Playbook citations across the day: 0 (proof the feedback loop fired across events).
|
||||
- Dropped events: 11:00 baseline_fill, 10:30 recurring, 16:30 emergency.
|
||||
@@ -0,0 +1,59 @@
|
||||
[
|
||||
{
|
||||
"event": {
|
||||
"kind": "baseline_fill",
|
||||
"at": "11:00",
|
||||
"role": "Forklift Operator",
|
||||
"count": 1,
|
||||
"city": "Flint",
|
||||
"state": "MI",
|
||||
"shift_start": "11:00 AM"
|
||||
},
|
||||
"ok": false,
|
||||
"fills": [],
|
||||
"turns": 0,
|
||||
"duration_secs": 28.576,
|
||||
"error": "aborted — 3 consecutive drift flags",
|
||||
"gap_signals": [
|
||||
"drift_or_tool: aborted — 3 consecutive drift flags"
|
||||
]
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "recurring",
|
||||
"at": "10:30",
|
||||
"role": "CNC Operator",
|
||||
"count": 1,
|
||||
"city": "Flint",
|
||||
"state": "MI",
|
||||
"shift_start": "10:30 AM"
|
||||
},
|
||||
"ok": false,
|
||||
"fills": [],
|
||||
"turns": 0,
|
||||
"duration_secs": 18.722,
|
||||
"error": "aborted — 3 consecutive drift flags",
|
||||
"gap_signals": [
|
||||
"drift_or_tool: aborted — 3 consecutive drift flags"
|
||||
]
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "emergency",
|
||||
"at": "16:30",
|
||||
"role": "Receiving Clerk",
|
||||
"count": 3,
|
||||
"city": "Flint",
|
||||
"state": "MI",
|
||||
"shift_start": "16:30 AM"
|
||||
},
|
||||
"ok": false,
|
||||
"fills": [],
|
||||
"turns": 0,
|
||||
"duration_secs": 26.573,
|
||||
"error": "invalid JSON from executor: JSON Parse error: Expected ']' | raw: {\"kind\":\"plan\",\"steps\":[\"Verify the data source for 'Receiving Clerk' roles in 'Flint, MI' using a raw SQL query to confirm if any records exist, as hybrid_search has returned zero matches despite the filter.\",\"If records exist, extract the top 3 by availability.\",\"If no records exist in the index f",
|
||||
"gap_signals": [
|
||||
"drift_or_tool: invalid JSON from executor: JSON Parse error: Expected ']' | raw: {\"kind\":\"plan\",\"steps\":[\"Verify the data source for 'Receiving Clerk' roles in 'Flint, MI' using a raw SQL query to confirm if any records exist, as hybrid_search has returned zero matches despite the filter.\",\"If records exist, extract the top 3 by availability.\",\"If no records exist in the index f"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1 @@
|
||||
# SMS drafts — Horizon Supply, 2026-05-04
|
||||
Reference in New Issue
Block a user