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":"09:00","event_kind":"baseline_fill","ok":true,"model":"gpt-oss:120b","duration_secs":7.491,"risk":"Double-booking risk for assigned workers","hint":"Pivot to Shipping Clerk candidates from Murfreesboro, TN (≈45 mi) to stay within bonus radius and avoid double‑booking Brenda Hernandez and Rachel Gonzalez."}
{"after_event":"15:30","event_kind":"misplacement","ok":true,"model":"gpt-oss:120b","duration_secs":4.036,"risk":"JSON formatting error in executor response","hint":"Validate executor output before sending: ensure JSON object ends with a closing brace and all strings are quoted correctly for Packaging Operator in Nashville, TN."}
@@ -0,0 +1,4 @@
{"at":"07:00","kind":"baseline_fill","operation":"fill: Welder x4 in Nashville, TN","fills":[{"candidate_id":"W500K-17215","name":"Rachel D. Lewis"},{"candidate_id":"W500K-16627","name":"Kevin N. Watson"},{"candidate_id":"W500K-29052","name":"Melissa K. Rivera"},{"candidate_id":"W500K-40747","name":"Lisa F. Wood"}],"turns":2,"duration_secs":15.194,"pool_size":298,"playbook_citations":["pb-seed-47f41d48c95d5844","pb-seed-21d7b669d9e10928"],"discovered_pattern":"Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (46%) · archetype mostly: communicator · reliability median 0.80 (range 0.19–1.00)"}
{"at":"08:30","kind":"expansion","operation":"fill: Packaging Operator x6 in Nashville, TN","fills":[{"candidate_id":"W500K-4654","name":"Jamal Ruiz"},{"candidate_id":"W500K-21124","name":"Adam M. Reyes"},{"candidate_id":"W500K-21175","name":"Kenneth L. Diaz"},{"candidate_id":"W500K-22863","name":"Joshua J. Phillips"},{"candidate_id":"W500K-1911","name":"Aisha Nguyen"},{"candidate_id":"W500K-36638","name":"Joyce E. Peterson"}],"turns":2,"duration_secs":17.233,"pool_size":189,"playbook_citations":["pb-seed-e21bcfbf9ff0aee9","pb-seed-5a7ddcddee8b435a"],"discovered_pattern":"Across 25 similar past playbooks (29 workers examined) · recurring certifications: OSHA-10 (45%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)"}
{"at":"09:00","kind":"baseline_fill","operation":"fill: Shipping Clerk x2 in Nashville, TN","fills":[{"candidate_id":"W500K-49412","name":"Brenda M. Hernandez"},{"candidate_id":"W500K-18660","name":"Rachel S. Gonzalez"}],"turns":2,"duration_secs":12.681,"pool_size":579,"playbook_citations":["pb-seed-2ba5e72f018dcca1"],"discovered_pattern":"Across 25 similar past playbooks (29 workers examined) · recurring certifications: OSHA-10 (45%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)"}
{"at":"13:00","kind":"emergency","operation":"fill: Welder x2 in Nashville, TN","fills":[{"candidate_id":"W500K-17215","name":"Rachel D. Lewis"},{"candidate_id":"W500K-29052","name":"Melissa K. Rivera"}],"turns":2,"duration_secs":14.129,"pool_size":211,"playbook_citations":["pb-seed-47f41d48c95d5844","pb-seed-43fd12b0c6d6e99b","pb-seed-21d7b669d9e10928"],"discovered_pattern":"Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (46%) · archetype mostly: communicator · reliability median 0.80 (range 0.19–1.00)"}
@@ -0,0 +1,85 @@
# Client emails — Riverline Logistics — Nashville Downtown Build-Out, 2026-04-22
## 07:00 baseline_fill — Welder x4
To: staffing@riverlinelogistics—nashvilledowntownbuild-out.example
From: dispatch@lakehouse.example
Subject: Confirmed Staffing
Dear River Logistics Team,
We are pleased to confirm that we have filled all 4 Welder roles with the following staff:
- Rachel D. Lewis
- Kevin N. Watson
- Melissa K. Rivera
- Lisa F. Wood
Shifts will commence at 07:00 AM. Maria Chen, our senior staff member with 48 months of experience, is leading this assignment. Please note that the contract deadline is May 19, 2026; ensuring full staffing is paramount.
Best regards,
Dispatch Team
Lake House Logistics
## 08:30 expansion — Packaging Operator x6
To: staffing@riverlinelogistics—nashvilledowntownbuild-out.example
From: dispatch@lakehouse.example
Subject: Confirmed
Dear River Logistics Team,
We are pleased to confirm that we have filled all 6 positions as Packaging Operators with the following workers starting at 08:30 AM:
- Jamal Ruiz
- Adam M. Reyes
- Kenneth L. Diaz
- Joshua J. Phillips
- Aisha Nguyen
- Joyce E. Peterson
Staffing is being managed by Maria Chen, a senior staff member with 48 months of experience. Please note that the contract deadline for this staffing is May 19, 2026; ensuring timely compliance is paramount.
Best regards,
[Your Name]
Dispatch Team, Lakehouse Example
## 09:00 baseline_fill — Shipping Clerk x2
To: staffing@riverlinelogistics—nashvilledowntownbuild-out.example
From: dispatch@lakehouse.example
Subject: Confirmed
Dear River Logistics Team,
We are pleased to confirm that we have filled both roles of Shipping Clerk as requested:
- Brenda M. Hernandez
- Rachel S. Gonzalez
Both will start their shifts at 09:00 AM today.
Note: This fill is paramount, with Maria Chen (senior, 48mo exp) on staff. Contract deadline is 2026-05-19.
Thank you for your partnership.
Best regards,
[Your Name]
Lake House Dispatch
## 13:00 emergency — Welder x2
To: staffing@riverlinelogistics—nashvilledowntownbuild-out.example
From: dispatch@lakehouse.example
Subject: Confirmed Welders
Dear River Logistics Team,
We are pleased to confirm that we have filled both positions with Rachel D. Lewis and Melissa K. Rivera as Welders, starting at 13:00 PM today. Maria Chen, our senior staff with 48 months of experience, is leading the team. Please note that this contract has a critical deadline of May 19, 2026.
Best regards,
[Your Name]
Lake House Dispatch
@@ -0,0 +1,5 @@
# Cross-day lesson — Riverline Logistics — Nashville Downtown Build-Out, 2026-04-22
_Generated by `gpt-oss:120b` in 3.8s. Based on 5 events + 2 mid-day checkpoints._
Before assigning any worker, cross‑check the current schedule for that individual to prevent double‑booking; for Riverline Logistics, pull Shipping Clerk candidates from Murfreesboro (≈45 mi) first, since the local bonus applies and it avoids overlapping Brenda Hernandez and Rachel Gonzalez. After each fill, run a lightweight JSON schema validator on the executor’s response to catch missing braces or unquoted strings before the system records the placement. If validation fails, abort the fill, log the error, and retry with a corrected payload rather than proceeding to the next event. This two‑step pre‑check eliminates both the double‑booking risk and the recurring JSON‑format error.
@@ -0,0 +1,28 @@
[
{
"date": "2026-05-05",
"client": "Riverline Logistics — Nashville Downtown Build-Out",
"cities": "Nashville",
"states": "TN",
"events_total": 5,
"events_ok": 5,
"checkpoint_count": 2,
"model": "gpt-oss:120b",
"cloud": true,
"lesson": "When multiple fills are requested for the same city, lock each worker to a single shift in a temporary assignment map before processing the next request. Pre‑select a backup pool from the nearest alternate city (e.g., Murfreesboro, TN) that stays within the 75‑mi bonus radius and reserve those candidates for emergency or misplacement fills. Before confirming any fill, run a quick cross‑check against the map to catch potential double‑bookings, especially for workers who appear in consecutive requests. If a double‑booking is detected, substitute the reserved Murfreesboro candidate to preserve the schedule and bonus eligibility.",
"checkpoints": [
{
"after": "09:00",
"risk": "double‑booked staff",
"hint": "Check worker assignments to avoid double‑booking; if additional Shipping Clerks needed, pivot to Murfreesboro, TN (≈35 mi) – still within bonus radius."
},
{
"after": "15:30",
"risk": "Potential double‑booking conflict for Jamal Ruiz",
"hint": "If the next shift is Packaging Operator in Nashville, assign a different local candidate—e.g., pull from Murfreesboro (45 mi) to stay within the bonus radius."
}
],
"created_at": "2026-04-21T03:12:02.023Z",
"file": "2026-05-05_Riverline_Logistics_—_Nashville_Downtown_Build-Out_1776741122023.json"
}
]
@@ -0,0 +1,97 @@
# Scenario retrospective — Riverline Logistics — Nashville Downtown Build-Out, 2026-04-22
Executor: `qwen3.5:latest` Reviewer: `qwen3:latest` Draft: `qwen2.5:latest` Overview(T3): `gpt-oss:120b (cloud)`
Prior lessons loaded into executor context: **1** (from 2026-05-05)
## Events
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|---|---|---|---|---|---|---|---|---|
| 07:00 | baseline_fill | Welder × 4 | 298 | ✓ 4 | 2 | 15.2 | 2 | 3 |
| 08:30 | expansion | Packaging Operator × 6 | 189 | ✓ 6 | 2 | 17.2 | 2 | 6 |
| 09:00 | baseline_fill | Shipping Clerk × 2 | 579 | ✓ 2 | 2 | 12.7 | 1 | 2 |
| 13:00 | emergency | Welder × 2 | 211 | ✓ 2 | 2 | 14.1 | 3 | 2 |
| 15:30 | misplacement | Packaging Operator × 1 | - | ✗ 0 | 0 | 32.9 | 0 | 1 |
## Final roster
| Worker | Booked | Role | City, ST | Status |
|---|---|---|---|---|
| undefined Rachel D. Lewis | 07:00 | Welder | Nashville, TN | no_show |
| undefined Kevin N. Watson | 07:00 | Welder | Nashville, TN | confirmed |
| undefined Melissa K. Rivera | 07:00 | Welder | Nashville, TN | confirmed |
| undefined Lisa F. Wood | 07:00 | Welder | Nashville, TN | confirmed |
| undefined Jamal Ruiz | 08:30 | Packaging Operator | Nashville, TN | confirmed |
| undefined Adam M. Reyes | 08:30 | Packaging Operator | Nashville, TN | confirmed |
| undefined Kenneth L. Diaz | 08:30 | Packaging Operator | Nashville, TN | confirmed |
| undefined Joshua J. Phillips | 08:30 | Packaging Operator | Nashville, TN | confirmed |
| undefined Aisha Nguyen | 08:30 | Packaging Operator | Nashville, TN | confirmed |
| undefined Joyce E. Peterson | 08:30 | Packaging Operator | Nashville, TN | confirmed |
| undefined Brenda M. Hernandez | 09:00 | Shipping Clerk | Nashville, TN | confirmed |
| undefined Rachel S. Gonzalez | 09:00 | Shipping Clerk | Nashville, TN | confirmed |
| undefined Rachel D. Lewis | 13:00 | Welder | Nashville, TN | confirmed |
| undefined Melissa K. Rivera | 13:00 | Welder | Nashville, TN | confirmed |
## Gap signals
### double_book
- **07:00** — undefined Kevin N. Watson already booked for 07:00
- **07:00** — undefined Melissa K. Rivera already booked for 07:00
- **07:00** — undefined Lisa F. Wood already booked for 07:00
- **08:30** — undefined Jamal Ruiz already booked for 07:00
- **08:30** — undefined Adam M. Reyes already booked for 07:00
- **08:30** — undefined Kenneth L. Diaz already booked for 07:00
- **08:30** — undefined Joshua J. Phillips already booked for 07:00
- **08:30** — undefined Aisha Nguyen already booked for 07:00
- **08:30** — undefined Joyce E. Peterson already booked for 07:00
- **09:00** — undefined Brenda M. Hernandez already booked for 07:00
- **09:00** — undefined Rachel S. Gonzalez already booked for 07:00
- **13:00** — undefined Rachel D. Lewis already booked for 07:00
- **13:00** — undefined Melissa K. Rivera already booked for 07:00
### drift_or_tool
- **15:30** — invalid JSON from executor: JSON Parse error: Expected '}' | raw: {"kind":"propose_done","fills":[{"candidate_id":"W500K-4654","name":"Jamal Ruiz"}],"rationale":"hybrid_search returned 20 candidates for Packaging Operator in Nashville, TN with availability > 0.5. W500K-4654 (Jamal Ruiz) has the highest score (0.91) and matches the target role/location. Per strateg
### fairness
- _cross-event_ — Rachel D. Lewis (undefined) booked 13 times today
### write_through_audit
- _post-run_ — playbook_memory has 1579 entries (ran 5 events, expected ≥ 4 new entries from this run)
## Workers touched across the week
13 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-17215 | Rachel D. Lewis | 07:00 baseline_fill + 13:00 emergency | booked |
| W500K-16627 | Kevin N. Watson | 07:00 baseline_fill | booked |
| W500K-29052 | Melissa K. Rivera | 07:00 baseline_fill + 13:00 emergency | booked |
| W500K-40747 | Lisa F. Wood | 07:00 baseline_fill | booked |
| W500K-4654 | Jamal Ruiz | 08:30 expansion | booked |
| W500K-21124 | Adam M. Reyes | 08:30 expansion | booked |
| W500K-21175 | Kenneth L. Diaz | 08:30 expansion | booked |
| W500K-22863 | Joshua J. Phillips | 08:30 expansion | booked |
| W500K-1911 | Aisha Nguyen | 08:30 expansion | booked |
| W500K-36638 | Joyce E. Peterson | 08:30 expansion | booked |
| W500K-49412 | Brenda M. Hernandez | 09:00 baseline_fill | booked |
| W500K-18660 | Rachel S. Gonzalez | 09:00 baseline_fill | booked |
| undefined | Rachel D. Lewis | 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** (Welder): Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (46%) · archetype mostly: communicator · reliability median 0.80 (range 0.19–1.00)
- **08:30 expansion** (Packaging Operator): Across 25 similar past playbooks (29 workers examined) · recurring certifications: OSHA-10 (45%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)
- **09:00 baseline_fill** (Shipping Clerk): Across 25 similar past playbooks (29 workers examined) · recurring certifications: OSHA-10 (45%) · archetype mostly: communicator · reliability median 0.77 (range 0.19–1.00)
- **13:00 emergency** (Welder): Across 25 similar past playbooks (28 workers examined) · recurring certifications: OSHA-10 (46%) · archetype mostly: communicator · reliability median 0.80 (range 0.19–1.00)
- **15:30 misplacement** (Packaging Operator): —
## Narrative
- 4/5 events reached consensus.
- Final roster: 14 bookings across 1 distinct workers.
- Workers touched (booked, failed, or otherwise decided): 13.
- Playbook citations across the day: 8 (proof the feedback loop fired across events).
- Dropped events: 15:30 misplacement.
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,114 @@
[
{
"name": "Rachel D. Lewis",
"booked_for": "07:00",
"role": "Welder",
"city": "Nashville",
"state": "TN",
"status": "no_show"
},
{
"name": "Kevin N. Watson",
"booked_for": "07:00",
"role": "Welder",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Melissa K. Rivera",
"booked_for": "07:00",
"role": "Welder",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Lisa F. Wood",
"booked_for": "07:00",
"role": "Welder",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Jamal Ruiz",
"booked_for": "08:30",
"role": "Packaging Operator",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Adam M. Reyes",
"booked_for": "08:30",
"role": "Packaging Operator",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Kenneth L. Diaz",
"booked_for": "08:30",
"role": "Packaging Operator",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Joshua J. Phillips",
"booked_for": "08:30",
"role": "Packaging Operator",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Aisha Nguyen",
"booked_for": "08:30",
"role": "Packaging Operator",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Joyce E. Peterson",
"booked_for": "08:30",
"role": "Packaging Operator",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Brenda M. Hernandez",
"booked_for": "09:00",
"role": "Shipping Clerk",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Rachel S. Gonzalez",
"booked_for": "09:00",
"role": "Shipping Clerk",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Rachel D. Lewis",
"booked_for": "13:00",
"role": "Welder",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
},
{
"name": "Melissa K. Rivera",
"booked_for": "13:00",
"role": "Welder",
"city": "Nashville",
"state": "TN",
"status": "confirmed"
}
]
@@ -0,0 +1,71 @@
# SMS drafts — Riverline Logistics — Nashville Downtown Build-Out, 2026-04-22
## 07:00 baseline_fill — Welder x4 in Nashville, TN
TO: Rachel D. Lewis
Confirming your shift as a welder starting at 07:00 AM today at Nashville, TN for Riverline Logistics.
---
TO: Kevin N. Watson
Good morning! Confirming your shift as a welder starts at 07:00 AM today at Nashville, TN with us at Riverline Logistics.
---
TO: Melissa K. Rivera
Confirming your shift as a welder starting at 07:00 AM today at the Nashville, TN site for Riverline Logistics.
---
TO: Lisa F. Wood
Good morning! Confirming your shift as a welder starts at 07:00 AM today at Nashville, TN with us at Riverline Logistics.
## 08:30 expansion — Packaging Operator x6 in Nashville, TN
TO: Jamal Ruiz
Confirming your shift as a Packaging Operator starting at 08:30 AM today. Thanks!
---
TO: Adam M. Reyes
Good morning! Confirming your shift starts at 08:30 AM. Looking forward to seeing you.
---
TO: Kenneth L. Diaz
Morning Kenneth, please confirm your shift from 08:30 AM. Thanks for your help!
---
TO: Joshua J. Phillips
Joshua, confirming your shift as a Packaging Operator starting at 08:30 AM. See you there!
---
TO: Aisha Nguyen
Aisha, please confirm your shift starts at 08:30 AM today. Looking forward to working with you.
---
TO: Joyce E. Peterson
Joyce, confirming your shift from 08:30 AM. Thanks for being part of our team!
## 09:00 baseline_fill — Shipping Clerk x2 in Nashville, TN
TO: Brenda M. Hernandez
CONFIRMED: Your shift as a Shipping Clerk starts at 9 AM today. Thanks for your help!
---
TO: Rachel S. Gonzalez
Shift confirmed: Shipping Clerk starting at 9 AM. Looking forward to working with you!
## 13:00 emergency — Welder x2 in Nashville, TN
TO: Rachel D. Lewis
Confirming your shift as a welder starting at 13:00 PM today at Nashville, TN. Thanks!
---
TO: Melissa K. Rivera
Your shift as a welder starts at 13:00 PM today in Nashville, TN. Confirming?