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,2 @@
|
||||
{"after_event":"12:30","event_kind":"expansion","ok":true,"model":"gpt-oss:120b","duration_secs":5.778,"risk":"Zero supply for Picker in Joliet","hint":"Pivot to Crest Hill, IL (≈8 mi) and run hybrid_search for role “Picker” within 50 mi radius; include local bonus to attract candidates."}
|
||||
{"after_event":"15:00","event_kind":"misplacement","ok":true,"model":"gpt-oss:120b","duration_secs":5.749,"risk":"Potential double‑booking of Joshua Taylor","hint":"Use another qualified Forklift Operator from Joliet pool or pivot to Aurora, IL (45 mi) for the next shift."}
|
||||
@@ -0,0 +1,2 @@
|
||||
{"at":"07:00","kind":"baseline_fill","operation":"fill: Warehouse Associate x5 in Joliet, IL","fills":[{"candidate_id":"W500K-16430","name":"Nathan Y. Miller"},{"candidate_id":"W500K-2245","name":"Andre Davis"},{"candidate_id":"W500K-23801","name":"Kelly L. Nelson"},{"candidate_id":"W500K-37707","name":"Mary H. King"},{"candidate_id":"W500K-23612","name":"Emily E. Powell"}],"turns":2,"duration_secs":12.965,"pool_size":821,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (43%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)"}
|
||||
{"at":"15:00","kind":"misplacement","operation":"fill: Forklift Operator x1 in Joliet, IL","fills":[{"candidate_id":"W500K-2372","name":"Joshua Taylor"}],"turns":4,"duration_secs":23.242,"pool_size":1178,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (43%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)"}
|
||||
@@ -0,0 +1,30 @@
|
||||
# Client emails — Midway Distribution — Joliet DC Ramp, 2026-04-23
|
||||
|
||||
## 07:00 baseline_fill — Warehouse Associate x5
|
||||
|
||||
To: staffing@midwaydistribution—jolietdcramp.example
|
||||
From: dispatch@lakehouse.example
|
||||
Subject: Confirmed Fill
|
||||
|
||||
Dear Midway Distribution Joliet DCRAMP Team,
|
||||
|
||||
We are pleased to confirm that we have filled all 5 positions with the following Warehouse Associates: Nathan Y. Miller, Andre Davis, Kelly L. Nelson, Mary H. King, and Emily E. Powell. Maria Chen will be leading this team as a senior staff member with 48 months of experience. The shift starts at 07:00 AM, and we prefer to maintain her for the contract deadline of May 12, 2026.
|
||||
|
||||
Best regards,
|
||||
[Your Name]
|
||||
Lakehouse Dispatch
|
||||
|
||||
## 15:00 misplacement — Forklift Operator x1
|
||||
|
||||
To: staffing@midwaydistribution—jolietdcramp.example
|
||||
From: dispatch@lakehouse.example
|
||||
Subject: Confirmed
|
||||
|
||||
Dear Staffing Team,
|
||||
|
||||
I am pleased to confirm that we have filled 1 position for a Forklift Operator role with Joshua Taylor starting at 15:00 PM. Maria Chen, our senior staff member with 48 months of experience, will be handling this assignment and her contract expires on 2026-05-12; please prioritize renewing the contract.
|
||||
|
||||
Best regards,
|
||||
|
||||
[Your Name]
|
||||
Dispatch Team, Lakehouse Example
|
||||
@@ -0,0 +1,5 @@
|
||||
# Cross-day lesson — Midway Distribution — Joliet DC Ramp, 2026-04-23
|
||||
|
||||
_Generated by `gpt-oss:120b` in 7.3s. Based on 4 events + 2 mid-day checkpoints._
|
||||
|
||||
When an expansion flags [ZERO‑SUPPLY] for a role, immediately pivot to the nearest city with enough candidates—in this case, switch the Picker search from Joliet to Crest Hill, IL (≈8 mi) and run a hybrid search that includes the $3/hr local bonus. Pre‑load the candidate pool for Crest Hill (and a backup city such as Aurora, IL) before the event so the search can execute without delay. Validate all JSON payloads for recurring requests to avoid parse errors that stop fills. Finally, verify scheduled assignments to prevent double‑booking of workers like Joshua Taylor before confirming a fill.
|
||||
@@ -0,0 +1,65 @@
|
||||
[
|
||||
{
|
||||
"date": "2026-05-10",
|
||||
"client": "Midway Distribution",
|
||||
"cities": "Chicago",
|
||||
"states": "IL",
|
||||
"events_total": 3,
|
||||
"events_ok": 2,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore assigning a Packer to Chicago, verify the candidate’s current assignment and cross‑check drift logs for recent misplacements. Pre‑calibrate packing tools and load a backup Packer into the pool to avoid a single point of failure. If a drift risk is flagged, immediately relocate the Packer or switch to a verified alternate. Keep the pool count updated and ensure it matches the required number of roles before each event.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "09:30",
|
||||
"risk": "Packer drift risk persists",
|
||||
"hint": "Verify Packer's Chicago assignment, review drift logs, recalibrate tools, and consider temporary relocation."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T02:14:12.176Z",
|
||||
"file": "2026-05-10_Midway_Distribution_1776737652176.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-05-01",
|
||||
"client": "Northland Logistics",
|
||||
"cities": "Chicago",
|
||||
"states": "IL",
|
||||
"events_total": 2,
|
||||
"events_ok": 2,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore assigning the 15:00 baseline_fill, pre‑fetch the list of workers already allocated at 10:00 and cross‑check each candidate’s schedule to avoid double booking. Verify that every worker’s artifact includes a valid `f.reason` before finalizing the assignment. This ensures overlapping shifts are caught early and reduces rework.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "10:00",
|
||||
"risk": "Double booking of scheduled workers",
|
||||
"hint": "Verify each worker's schedule before assigning to 15:00; handle artifact errors by ensuring f.reason exists."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:57:42.670Z",
|
||||
"file": "2026-05-01_Northland_Logistics_1776736662670.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-04-24",
|
||||
"client": "Pioneer Assembly",
|
||||
"cities": "Chicago",
|
||||
"states": "IL",
|
||||
"events_total": 1,
|
||||
"events_ok": 0,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore initiating a baseline_fill for a new shift, run a quick tool‑accuracy audit and confirm all clerks have completed the latest training module. Allocate a sufficient pool of clerks and schedule a buffer shift load to avoid gaps; if the pool is empty, the baseline will fail immediately. After the fill, monitor for drift by comparing current performance metrics to the baseline and adjust shift assignments or retrain as needed. This proactive check prevents the “Receiving Clerk Chicago drift risk” and ensures a smooth start to the day.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "14:00",
|
||||
"risk": "Receiving Clerk Chicago drift risk",
|
||||
"hint": "Verify tool accuracy, retrain clerks, adjust shift load, and monitor drift in next shift."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:45:42.165Z",
|
||||
"file": "2026-04-24_Pioneer_Assembly_1776735942165.json"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,73 @@
|
||||
# Scenario retrospective — Midway Distribution — Joliet DC Ramp, 2026-04-23
|
||||
|
||||
Executor: `qwen3.5:latest` Reviewer: `qwen3:latest` Draft: `qwen2.5:latest` Overview(T3): `gpt-oss:120b (cloud)`
|
||||
Prior lessons loaded into executor context: **3** (from 2026-05-10, 2026-05-01, 2026-04-24)
|
||||
|
||||
## Events
|
||||
|
||||
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| 07:00 | baseline_fill | Warehouse Associate × 5 | 821 | ✓ 5 | 2 | 13.0 | 0 | 4 |
|
||||
| 10:00 | recurring | Forklift Operator × 3 | - | ✗ 0 | 0 | 16.7 | 0 | 1 |
|
||||
| 12:30 | expansion | Picker × 4 | - | ✗ 0 | 0 | 22.6 | 0 | 1 |
|
||||
| 15:00 | misplacement | Forklift Operator × 1 | 1178 | ✓ 1 | 4 | 23.2 | 0 | 1 |
|
||||
|
||||
## Final roster
|
||||
|
||||
| Worker | Booked | Role | City, ST | Status |
|
||||
|---|---|---|---|---|
|
||||
| undefined Nathan Y. Miller | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
|
||||
| undefined Andre Davis | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
|
||||
| undefined Kelly L. Nelson | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
|
||||
| undefined Mary H. King | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
|
||||
| undefined Emily E. Powell | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
|
||||
| undefined Joshua Taylor | 15:00 | Forklift Operator | Joliet, IL | confirmed |
|
||||
|
||||
## Gap signals
|
||||
|
||||
### double_book
|
||||
- **07:00** — undefined Andre Davis already booked for 07:00
|
||||
- **07:00** — undefined Kelly L. Nelson already booked for 07:00
|
||||
- **07:00** — undefined Mary H. King already booked for 07:00
|
||||
- **07:00** — undefined Emily E. Powell already booked for 07:00
|
||||
- **15:00** — undefined Joshua Taylor already booked for 07:00
|
||||
|
||||
### drift_or_tool
|
||||
- **10:00** — invalid JSON from executor: JSON Parse error: Expected '}' | raw: {"kind":"tool_call","tool":"hybrid_search","args":{"index_name":"workers_500k_v1","sql_filter":"role = 'Forklift Operator' AND city = 'Joliet' AND state = 'IL' AND CAST(availability AS DOUBLE) > 0.5","question":"recurring forklift operator Joliet IL","k":15},"rationale":"Execute the canonical hybrid
|
||||
- **12:30** — aborted — 3 consecutive drift flags
|
||||
|
||||
### fairness
|
||||
- _cross-event_ — Nathan Y. Miller (undefined) booked 6 times today
|
||||
|
||||
### write_through_audit
|
||||
- _post-run_ — playbook_memory has 1581 entries (ran 4 events, expected ≥ 2 new entries from this run)
|
||||
|
||||
## Workers touched across the week
|
||||
|
||||
6 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 |
|
||||
|---|---|---|---|
|
||||
| W500K-16430 | Nathan Y. Miller | 07:00 baseline_fill | booked |
|
||||
| W500K-2245 | Andre Davis | 07:00 baseline_fill | booked |
|
||||
| W500K-23801 | Kelly L. Nelson | 07:00 baseline_fill | booked |
|
||||
| W500K-37707 | Mary H. King | 07:00 baseline_fill | booked |
|
||||
| W500K-23612 | Emily E. Powell | 07:00 baseline_fill | booked |
|
||||
| 2372 | Joshua Taylor | 15:00 misplacement | booked |
|
||||
|
||||
## Discovered patterns (meta-index)
|
||||
|
||||
What the system identified across semantically-similar past fills as each event ran:
|
||||
|
||||
- **07:00 baseline_fill** (Warehouse Associate): Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (43%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)
|
||||
- **10:00 recurring** (Forklift Operator): —
|
||||
- **12:30 expansion** (Picker): —
|
||||
- **15:00 misplacement** (Forklift Operator): Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (43%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)
|
||||
|
||||
## Narrative
|
||||
|
||||
- 2/4 events reached consensus.
|
||||
- Final roster: 6 bookings across 1 distinct workers.
|
||||
- Workers touched (booked, failed, or otherwise decided): 6.
|
||||
- Playbook citations across the day: 0 (proof the feedback loop fired across events).
|
||||
- Dropped events: 10:00 recurring, 12:30 expansion.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,50 @@
|
||||
[
|
||||
{
|
||||
"name": "Nathan Y. Miller",
|
||||
"booked_for": "07:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Joliet",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Andre Davis",
|
||||
"booked_for": "07:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Joliet",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Kelly L. Nelson",
|
||||
"booked_for": "07:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Joliet",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Mary H. King",
|
||||
"booked_for": "07:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Joliet",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Emily E. Powell",
|
||||
"booked_for": "07:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Joliet",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Joshua Taylor",
|
||||
"booked_for": "15:00",
|
||||
"role": "Forklift Operator",
|
||||
"city": "Joliet",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,31 @@
|
||||
# SMS drafts — Midway Distribution — Joliet DC Ramp, 2026-04-23
|
||||
|
||||
## 07:00 baseline_fill — Warehouse Associate x5 in Joliet, IL
|
||||
|
||||
TO: Nathan Y. Miller
|
||||
Confirming your shift start at 7 AM today at Midway Distribution Joliet DC Ramp. Looking forward to seeing you there!
|
||||
|
||||
---
|
||||
|
||||
TO: Andre Davis
|
||||
Good morning! Confirming your shift starts at 7 AM today at the Joliet DC Ramp. See you soon!
|
||||
|
||||
---
|
||||
|
||||
TO: Kelly L. Nelson
|
||||
Hi Kelly, just confirming your shift is scheduled for 7 AM this morning at Midway Distribution Joliet DC Ramp.
|
||||
|
||||
---
|
||||
|
||||
TO: Mary H. King
|
||||
Good morning, Mary! Confirming your shift starts at 7 AM today at the Joliet DC Ramp. Looking forward to having you on board!
|
||||
|
||||
---
|
||||
|
||||
TO: Emily E. Powell
|
||||
Hi Emily, confirming your shift is scheduled for 7 AM this morning at Midway Distribution Joliet DC Ramp. See you there!
|
||||
|
||||
## 15:00 misplacement — Forklift Operator x1 in Joliet, IL
|
||||
|
||||
TO: Joshua Taylor
|
||||
Confirming your shift as a Forklift Operator at Midway Distribution - Joliet DC Ramp starting at 15:00 PM. Looking forward to your contribution!
|
||||
Reference in New Issue
Block a user