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:
root
2026-05-02 22:22:10 -05:00
co-authored by Claude Opus 4.7
parent 6e34ef7baf
commit 41b0a99ed2
788 changed files with 107142 additions and 0 deletions
@@ -0,0 +1,2 @@
{"after_event":"12:30","event_kind":"expansion","ok":true,"model":"gpt-oss:120b","duration_secs":3.813,"risk":"Zero supply for Picker in Joliet","hint":"Pivot to Crest Hill, IL (≈10 mi) for Picker; pool likely >500. If still insufficient, broaden to Warehouse Associate in Joliet."}
{"after_event":"15:00","event_kind":"misplacement","ok":true,"model":"gpt-oss:120b","duration_secs":6.763,"risk":"Potential double‑booking of Joshua Taylor","hint":"For the next Forklift Operator shift in Joliet, select a different qualified candidate from the pool; if none, pivot to Chicago, IL (≈45 mi) to remain within the 50 mi bonus radius."}
@@ -0,0 +1,3 @@
{"at":"07:00","kind":"baseline_fill","operation":"fill: Warehouse Associate x5 in Joliet, IL","fills":[{"candidate_id":"W500K-23801","name":"Kelly L. Nelson"},{"candidate_id":"W500K-37707","name":"Mary H. King"},{"candidate_id":"W500K-23612","name":"Emily E. Powell"},{"candidate_id":"W500K-16430","name":"Nathan Y. Miller"},{"candidate_id":"W500K-2245","name":"Andre Davis"}],"turns":2,"duration_secs":18.612,"pool_size":821,"playbook_citations":["pb-seed-a116824f12fa2ee5","pb-seed-ba104004bb100817","pb-seed-bbd4783818e567a2"],"discovered_pattern":"Across 25 similar past playbooks (24 workers examined) · recurring certifications: OSHA-10 (42%), Forklift (42%) · archetype mostly: communicator · reliability median 0.80 (range 0.34–1.00)"}
{"at":"10:00","kind":"recurring","operation":"fill: Forklift Operator x3 in Joliet, IL","fills":[{"candidate_id":"W500K-2372","name":"Joshua Taylor"},{"candidate_id":"W500K-46701","name":"Lauren F. Adams"},{"candidate_id":"W500K-41031","name":"Joyce D. Reyes"}],"turns":3,"duration_secs":21.028,"pool_size":1178,"playbook_citations":["pb-seed-93fa5d957b98579e","pb-seed-8e5b7de2ee2e9c43","pb-seed-e55b22922c0816f3","pb-seed-d0c65db6bf9b389b","pb-seed-b7e7ccbc68c01017"],"discovered_pattern":"Across 25 similar past playbooks (24 workers examined) · recurring certifications: OSHA-10 (42%), Forklift (42%) · archetype mostly: reliable · reliability median 0.80 (range 0.34–1.00)"}
{"at":"15:00","kind":"misplacement","operation":"fill: Forklift Operator x1 in Joliet, IL","fills":[{"candidate_id":"W500K-2372","name":"Joshua Taylor"}],"turns":2,"duration_secs":12.484,"pool_size":1178,"playbook_citations":["pb-seed-93fa5d957b98579e","pb-seed-8e5b7de2ee2e9c43","pb-seed-418fc3b2153d74de","pb-seed-e55b22922c0816f3","pb-seed-d0c65db6bf9b389b","pb-seed-b7e7ccbc68c01017"],"discovered_pattern":"Across 25 similar past playbooks (24 workers examined) · recurring certifications: Forklift (42%), OSHA-10 (42%) · archetype mostly: communicator · reliability median 0.80 (range 0.34–1.00)"}
@@ -0,0 +1,59 @@
# Client emails — Midway Distribution — Joliet DC Ramp, 2026-05-02
## 07:00 baseline_fill — Warehouse Associate x5
To: staffing@midwaydistribution—jolietdcramp.example
From: dispatch@lakehouse.example
Subject: Confirmed Staffing
Dear Midway Distribution Joliet DCRAMP Team,
I am pleased to confirm that we have filled all 5 positions with the following Warehouse Associates:
- Kelly L. Nelson
- Mary H. King
- Emily E. Powell
- Nathan Y. Miller
- Andre Davis
Shifts begin at 07:00 AM. Please note that Alex Rivera, a trainee for 1 month, is part of this staffing. His contract deadline is May 12, 2026, and his availability is preferred.
Best regards,
[Your Name]
Dispatch Team, Lakehouse Example
## 10:00 recurring — Forklift Operator x3
To: staffing@midwaydistribution—jolietdcramp.example
From: dispatch@lakehouse.example
Subject: Confirmed
Dear Midway Distribution Joliet DC Ramp Team,
I am pleased to confirm that we have filled all three positions with Forklift Operators as requested:
- Joshua Taylor
- Lauren F. Adams
- Joyce D. Reyes
Shift starts at 10:00 PM. Note that Alex Rivera, a trainee for one month, will be staffed in this role. His contract deadline is 2026-05-12; please make filling him your preferred option.
Best regards,
[Your Name]
Lakehouse Dispatch
## 15:00 misplacement — Forklift Operator x1
To: staffing@midwaydistribution—jolietdcramp.example
From: dispatch@lakehouse.example
Subject: Confirmed
Dear Midway Distribution Joliet DCRAMP Staffing Team,
I am pleased to confirm that Joshua Taylor will be reporting as a Forklift Operator starting at 15:00 PM. Alex Rivera (trainee, 1 month) is also staffed and has a contract deadline of 2026-05-12; please fill this position if possible.
Best regards,
[Your Name]
Lakehouse Dispatch
@@ -0,0 +1,5 @@
# Cross-day lesson — Midway Distribution — Joliet DC Ramp, 2026-05-02
_Generated by `gpt-oss:120b` in 5.4s. Based on 4 events + 2 mid-day checkpoints._
When an expansion request for Pickers in Joliet hits a [ZERO‑SUPPLY] flag, immediately pivot to Crest Hill, IL (≈10 mi) – the corpus shows a pool of > 500 qualified Pickers there and it stays within the 50‑mi bonus radius. Before the shift starts, pull a shortlist of at least 4 Crest Hill candidates and lock them in, keeping the Joliet pool as a secondary fallback only for Warehouse Associates. Also verify each candidate’s existing assignments to prevent double‑booking (e.g., Joshua Taylor) before confirming any fill. If Crest Hill still lacks enough workers, broaden the search to nearby Chicago (≈45 mi) while staying within the local bonus zone.
@@ -0,0 +1,70 @@
[
{
"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-29",
"client": "Midway Distribution — Joliet DC Ramp",
"cities": "Joliet",
"states": "IL",
"events_total": 4,
"events_ok": 3,
"checkpoint_count": 2,
"model": "gpt-oss:120b",
"cloud": true,
"lesson": "Joliet, IL had zero Picker candidates, causing the 12:30 expansion to abort. For any future Picker demand in the Joliet DC, pre‑pull candidates from Aurora, IL (≈15 mi), which has enough pickers and still qualifies for the $3/hr local bonus. Before assigning Forklift Operator shifts, double‑check that workers aren’t already booked (e.g., Joshua Taylor) and keep a backup pool ID (e.g., 1123) ready for quick pivot. This pre‑emptive sourcing and booking check will keep fills on schedule and within budget.",
"checkpoints": [
{
"after": "12:30",
"risk": "Zero local picker supply in Joliet",
"hint": "Pivot to Aurora, IL (~15 mi) for Picker candidates; stays within 50 mi radius and retains the $3/hr local bonus."
},
{
"after": "15:00",
"risk": "Potential double‑booking of Joshua Taylor",
"hint": "For next Forklift Operator shift in Joliet, assign a different qualified worker (e.g., pool ID 1123) or pivot to Chicago, IL (≈30 mi) to stay within bonus radius."
}
],
"created_at": "2026-04-21T03:35:06.232Z",
"file": "2026-04-29_Midway_Distribution_—_Joliet_DC_Ramp_1776742506232.json"
}
]
@@ -0,0 +1,82 @@
# Scenario retrospective — Midway Distribution — Joliet DC Ramp, 2026-05-02
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-29)
## Events
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|---|---|---|---|---|---|---|---|---|
| 07:00 | baseline_fill | Warehouse Associate × 5 | 821 | ✓ 5 | 2 | 18.6 | 3 | 4 |
| 10:00 | recurring | Forklift Operator × 3 | 1178 | ✓ 3 | 3 | 21.0 | 5 | 3 |
| 12:30 | expansion | Picker × 4 | - | ✗ 0 | 0 | 22.8 | 0 | 1 |
| 15:00 | misplacement | Forklift Operator × 1 | 1178 | ✓ 1 | 2 | 12.5 | 6 | 1 |
## Final roster
| Worker | Booked | Role | City, ST | Status |
|---|---|---|---|---|
| undefined Kelly L. Nelson | 07:00 | Warehouse Associate | Joliet, IL | no_show |
| undefined Mary H. King | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
| undefined Emily E. Powell | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
| undefined Nathan Y. Miller | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
| undefined Andre Davis | 07:00 | Warehouse Associate | Joliet, IL | confirmed |
| undefined Joshua Taylor | 10:00 | Forklift Operator | Joliet, IL | confirmed |
| undefined Lauren F. Adams | 10:00 | Forklift Operator | Joliet, IL | confirmed |
| undefined Joyce D. Reyes | 10:00 | Forklift Operator | Joliet, IL | confirmed |
| undefined Joshua Taylor | 15:00 | Forklift Operator | Joliet, IL | confirmed |
## Gap signals
### double_book
- **07:00** — undefined Mary H. King already booked for 07:00
- **07:00** — undefined Emily E. Powell already booked for 07:00
- **07:00** — undefined Nathan Y. Miller already booked for 07:00
- **07:00** — undefined Andre Davis already booked for 07:00
- **10:00** — undefined Joshua Taylor already booked for 07:00
- **10:00** — undefined Lauren F. Adams already booked for 07:00
- **10:00** — undefined Joyce D. Reyes already booked for 07:00
- **15:00** — undefined Joshua Taylor already booked for 07:00
### drift_or_tool
- **12:30** — aborted — 3 consecutive drift flags
### fairness
- _cross-event_ — Kelly L. Nelson (undefined) booked 8 times today
### write_through_audit
- _post-run_ — playbook_memory has 1620 entries (ran 4 events, expected ≥ 3 new entries from this run)
## Workers touched across the week
10 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-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 |
| W500K-16430 | Nathan Y. Miller | 07:00 baseline_fill | booked |
| W500K-2245 | Andre Davis | 07:00 baseline_fill | booked |
| 2372 | Joshua Taylor | 10:00 recurring | booked |
| 46701 | Lauren F. Adams | 10:00 recurring | booked |
| 41031 | Joyce D. Reyes | 10:00 recurring | booked |
| W500K-2372 | Joshua Taylor | 15:00 misplacement | booked |
| undefined | Kelly L. Nelson | 07:00 | no_show |
## 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 (24 workers examined) · recurring certifications: OSHA-10 (42%), Forklift (42%) · archetype mostly: communicator · reliability median 0.80 (range 0.34–1.00)
- **10:00 recurring** (Forklift Operator): Across 25 similar past playbooks (24 workers examined) · recurring certifications: OSHA-10 (42%), Forklift (42%) · archetype mostly: reliable · reliability median 0.80 (range 0.34–1.00)
- **12:30 expansion** (Picker): —
- **15:00 misplacement** (Forklift Operator): Across 25 similar past playbooks (24 workers examined) · recurring certifications: Forklift (42%), OSHA-10 (42%) · archetype mostly: communicator · reliability median 0.80 (range 0.34–1.00)
## Narrative
- 3/4 events reached consensus.
- Final roster: 9 bookings across 1 distinct workers.
- Workers touched (booked, failed, or otherwise decided): 10.
- Playbook citations across the day: 14 (proof the feedback loop fired across events).
- Dropped events: 12:30 expansion.
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,74 @@
[
{
"name": "Kelly L. Nelson",
"booked_for": "07:00",
"role": "Warehouse Associate",
"city": "Joliet",
"state": "IL",
"status": "no_show"
},
{
"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": "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": "Joshua Taylor",
"booked_for": "10:00",
"role": "Forklift Operator",
"city": "Joliet",
"state": "IL",
"status": "confirmed"
},
{
"name": "Lauren F. Adams",
"booked_for": "10:00",
"role": "Forklift Operator",
"city": "Joliet",
"state": "IL",
"status": "confirmed"
},
{
"name": "Joyce D. Reyes",
"booked_for": "10:00",
"role": "Forklift Operator",
"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,46 @@
# SMS drafts — Midway Distribution — Joliet DC Ramp, 2026-05-02
## 07:00 baseline_fill — Warehouse Associate x5 in Joliet, IL
TO: Kelly L. Nelson
Good morning! Confirming your shift as a Warehouse Associate at Joliet DC Ramp starting 7 AM today. Looking forward to seeing you there!
---
TO: Mary H. King
Morning Mary! Just confirming your shift starts at 7 AM today at the Joliet DC Ramp. See you soon!
---
TO: Emily E. Powell
Hi Emily! Confirming your shift as a Warehouse Associate starting 7 AM this morning at Joliet DC Ramp. See you there!
---
TO: Nathan Y. Miller
Good morning, Nathan! Confirming your shift starts at 7 AM today at the Joliet DC Ramp. Looking forward to seeing you!
---
TO: Andre Davis
Morning Andre! Confirming your shift as a Warehouse Associate starting 7 AM today at Joliet DC Ramp. See you there!
## 10:00 recurring — Forklift Operator x3 in Joliet, IL
TO: Joshua Taylor
CONFIRM shift as forklift operator at Joliet DC Ramp 10PM. ID: W500K-2372.
---
TO: Lauren F. Adams
Shift confirmed for forklift op at Joliet DC Ramp starting 10PM. ID: W500K-46701.
---
TO: Joyce D. Reyes
Forklift shift confirmed at Joliet DC Ramp, starting 10PM. ID: W500K-41031.
## 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!