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 @@
|
||||
{"at":"08:00","kind":"baseline_fill","operation":"fill: Warehouse Associate x3 in Toledo, OH","fills":[{"candidate_id":"W500K-49164","name":"Christopher Y. Phillips","reason":"Reliable Warehouse Associate with availability greater than 0.5 in Toledo, OH."},{"candidate_id":"W500K-40928","name":"Janet E. Hill","reason":"Reliable Warehouse Associate with availability greater than 0.5 in Toledo, OH."},{"candidate_id":"W500K-34704","name":"Fatima U. Rivera","reason":"Reliable Warehouse Associate with availability greater than 0.5 in Toledo, OH."}],"turns":7,"duration_secs":20.128,"pool_size":770,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (8 workers examined) · archetype mostly: reliable · reliability median 0.80 (range 0.66–0.96)"}
|
||||
{"at":"10:30","kind":"recurring","operation":"fill: Machine Operator x2 in Toledo, OH","fills":[{"candidate_id":"W500K-19759","name":"Carmen Z. Rodriguez","reason":"Recurring Machine Operator in Toledo, OH with a score of 0.75, verified via sql tool."},{"candidate_id":"W500K-29298","name":"Robert W. Gonzalez","reason":"Recurring Machine Operator in Toledo, OH with a score of 0.74, not yet SQL verified but highly likely to meet requirements."}],"turns":5,"duration_secs":17.426,"pool_size":997,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (8 workers examined) · archetype mostly: reliable · reliability median 0.80 (range 0.66–0.96)"}
|
||||
@@ -0,0 +1,40 @@
|
||||
# Client emails — Riverfront Steel, 2026-04-21
|
||||
|
||||
## 08:00 baseline_fill — Warehouse Associate x3
|
||||
|
||||
Subject: 3 Filled
|
||||
|
||||
Dear Riverfront Steel Staffing Team,
|
||||
|
||||
I am pleased to confirm that we have filled all three roles of Warehouse Associate for your Monday morning shift starting at 08:00 AM.
|
||||
|
||||
The workers assigned are:
|
||||
- Christopher Y. Phillips
|
||||
- Janet E. Hill
|
||||
- Fatima U. Rivera
|
||||
|
||||
All three have confirmed their availability and are reliable team members.
|
||||
|
||||
Best regards,
|
||||
Dispatch Team Lakehouse
|
||||
|
||||
## 10:30 recurring — Machine Operator x2
|
||||
|
||||
To: staffing@riverfrontsteel.example
|
||||
From: dispatch@lakehouse.example
|
||||
Subject: Confirmed
|
||||
|
||||
Dear Riverfront Steel Team,
|
||||
|
||||
We are pleased to confirm that we have filled both Machine Operator roles for your Tuesday/Thursday shifts starting at 11:00 AM. The workers assigned are:
|
||||
|
||||
- Carmen Z. Rodriguez
|
||||
- Robert W. Gonzalez
|
||||
|
||||
Both are recurring Machine Operators in Toledo, OH with a score of 0.7.
|
||||
|
||||
Please note this is a recurring slot; prior workers may still be available.
|
||||
|
||||
Best regards,
|
||||
|
||||
Dispatch Team
|
||||
@@ -0,0 +1,74 @@
|
||||
# Scenario retrospective — Riverfront Steel, 2026-04-21
|
||||
|
||||
Executor: `mistral:latest` Reviewer: `qwen2.5:latest` Draft: `qwen2.5:latest`
|
||||
|
||||
## Events
|
||||
|
||||
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| 08:00 | baseline_fill | Warehouse Associate × 3 | 770 | ✓ 3 | 7 | 20.1 | 0 | 2 |
|
||||
| 10:30 | recurring | Machine Operator × 2 | 997 | ✓ 2 | 5 | 17.4 | 0 | 2 |
|
||||
| 12:15 | expansion | Forklift Operator × 5 | - | ✗ 0 | 0 | 46.4 | 0 | 1 |
|
||||
| 14:00 | emergency | Loader × 4 | - | ✗ 0 | 0 | 54.1 | 0 | 1 |
|
||||
| 15:45 | misplacement | Warehouse Associate × 1 | - | ✗ 0 | 0 | 59.6 | 0 | 1 |
|
||||
|
||||
## Final roster
|
||||
|
||||
| Worker | Booked | Role | City, ST | Status |
|
||||
|---|---|---|---|---|
|
||||
| undefined Christopher Y. Phillips | 08:00 | Warehouse Associate | Toledo, OH | no_show |
|
||||
| undefined Janet E. Hill | 08:00 | Warehouse Associate | Toledo, OH | confirmed |
|
||||
| undefined Fatima U. Rivera | 08:00 | Warehouse Associate | Toledo, OH | confirmed |
|
||||
| undefined Carmen Z. Rodriguez | 10:30 | Machine Operator | Toledo, OH | confirmed |
|
||||
| undefined Robert W. Gonzalez | 10:30 | Machine Operator | Toledo, OH | confirmed |
|
||||
|
||||
## Gap signals
|
||||
|
||||
### double_book
|
||||
- **08:00** — undefined Janet E. Hill already booked for 08:00
|
||||
- **08:00** — undefined Fatima U. Rivera already booked for 08:00
|
||||
- **10:30** — undefined Carmen Z. Rodriguez already booked for 08:00
|
||||
- **10:30** — undefined Robert W. Gonzalez already booked for 08:00
|
||||
|
||||
### drift_or_tool
|
||||
- **12:15** — invalid JSON from executor: JSON Parse error: Invalid escape character ' | raw: {"kind":"plan", "steps":["TOOL_CALL hybrid_search({'index_name':'workers_500k_v1', 'sql_filter':'LOWER(role) LIKE '%forklift%' AND city = \'Toledo\' AND state = \'OH\' AND availability > CAST(0.5 AS DOUBLE) AND reliability > CAST(0.75 AS DOUBLE)', 'question':'reliable forklift operators in Toledo, O
|
||||
- **14:00** — invalid JSON from executor: JSON Parse error: Expected '}' | raw: {"kind":"tool_call","tool":"hybrid_search",
|
||||
"args":{"index_name":"workers_500k_v1","sql_filter":"LOWER(role) LIKE '%loader%' AND city = 'Toledo' AND state = 'OH' AND availability > CAST(0.7 AS DOUBLE) AND worker_id NOT IN ('W500K-4321', 'W500K-8963', 'W500K-2345', 'W500K-6789', 'W500K-9876') AND wor
|
||||
- **15:45** — no consensus after 14 turns
|
||||
|
||||
### fairness
|
||||
- _cross-event_ — Christopher Y. Phillips (undefined) booked 4 times today
|
||||
|
||||
### write_through_audit
|
||||
- _post-run_ — playbook_memory has 165 entries (ran 5 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-49164 | Christopher Y. Phillips | 08:00 baseline_fill | booked |
|
||||
| W500K-40928 | Janet E. Hill | 08:00 baseline_fill | booked |
|
||||
| W500K-34704 | Fatima U. Rivera | 08:00 baseline_fill | booked |
|
||||
| W500K-19759 | Carmen Z. Rodriguez | 10:30 recurring | booked |
|
||||
| W500K-29298 | Robert W. Gonzalez | 10:30 recurring | booked |
|
||||
| undefined | Christopher Y. Phillips | 08:00 | no_show |
|
||||
|
||||
## Discovered patterns (meta-index)
|
||||
|
||||
What the system identified across semantically-similar past fills as each event ran:
|
||||
|
||||
- **08:00 baseline_fill** (Warehouse Associate): Across 25 similar past playbooks (8 workers examined) · archetype mostly: reliable · reliability median 0.80 (range 0.66–0.96)
|
||||
- **10:30 recurring** (Machine Operator): Across 25 similar past playbooks (8 workers examined) · archetype mostly: reliable · reliability median 0.80 (range 0.66–0.96)
|
||||
- **12:15 expansion** (Forklift Operator): —
|
||||
- **14:00 emergency** (Loader): —
|
||||
- **15:45 misplacement** (Warehouse Associate): —
|
||||
|
||||
## Narrative
|
||||
|
||||
- 2/5 events reached consensus.
|
||||
- Final roster: 5 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: 12:15 expansion, 14:00 emergency, 15:45 misplacement.
|
||||
@@ -0,0 +1,146 @@
|
||||
[
|
||||
{
|
||||
"event": {
|
||||
"kind": "baseline_fill",
|
||||
"at": "08:00",
|
||||
"role": "Warehouse Associate",
|
||||
"count": 3,
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"shift_start": "08:00 AM",
|
||||
"scenario_note": "Regular Monday morning shift, 8-hour."
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "W500K-49164",
|
||||
"name": "Christopher Y. Phillips",
|
||||
"reason": "Reliable Warehouse Associate with availability greater than 0.5 in Toledo, OH."
|
||||
},
|
||||
{
|
||||
"candidate_id": "W500K-40928",
|
||||
"name": "Janet E. Hill",
|
||||
"reason": "Reliable Warehouse Associate with availability greater than 0.5 in Toledo, OH."
|
||||
},
|
||||
{
|
||||
"candidate_id": "W500K-34704",
|
||||
"name": "Fatima U. Rivera",
|
||||
"reason": "Reliable Warehouse Associate with availability greater than 0.5 in Toledo, OH."
|
||||
}
|
||||
],
|
||||
"turns": 7,
|
||||
"duration_secs": 20.128,
|
||||
"gap_signals": [
|
||||
"double_book: undefined Janet E. Hill already booked for 08:00",
|
||||
"double_book: undefined Fatima U. Rivera already booked for 08:00"
|
||||
],
|
||||
"sources_first_score": 0.7124013,
|
||||
"sources_last_score": 0.66623676,
|
||||
"pool_size": 770,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (8 workers examined) · archetype mostly: reliable · reliability median 0.80 (range 0.66–0.96)"
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "recurring",
|
||||
"at": "10:30",
|
||||
"role": "Machine Operator",
|
||||
"count": 2,
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"shift_start": "11:00 AM",
|
||||
"scenario_note": "Recurring Tuesday/Thursday slot — prior workers may still be available."
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "W500K-19759",
|
||||
"name": "Carmen Z. Rodriguez",
|
||||
"reason": "Recurring Machine Operator in Toledo, OH with a score of 0.75, verified via sql tool."
|
||||
},
|
||||
{
|
||||
"candidate_id": "W500K-29298",
|
||||
"name": "Robert W. Gonzalez",
|
||||
"reason": "Recurring Machine Operator in Toledo, OH with a score of 0.74, not yet SQL verified but highly likely to meet requirements."
|
||||
}
|
||||
],
|
||||
"turns": 5,
|
||||
"duration_secs": 17.426,
|
||||
"gap_signals": [
|
||||
"double_book: undefined Carmen Z. Rodriguez already booked for 08:00",
|
||||
"double_book: undefined Robert W. Gonzalez already booked for 08:00"
|
||||
],
|
||||
"sources_first_score": 0.72546995,
|
||||
"sources_last_score": 0.6690281,
|
||||
"pool_size": 997,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (8 workers examined) · archetype mostly: reliable · reliability median 0.80 (range 0.66–0.96)"
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "expansion",
|
||||
"at": "12:15",
|
||||
"role": "Forklift Operator",
|
||||
"count": 5,
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"shift_start": "01:00 PM",
|
||||
"scenario_note": "New warehouse location opening, five-worker team needed."
|
||||
},
|
||||
"ok": false,
|
||||
"fills": [],
|
||||
"turns": 0,
|
||||
"duration_secs": 46.391,
|
||||
"error": "invalid JSON from executor: JSON Parse error: Invalid escape character ' | raw: {\"kind\":\"plan\", \"steps\":[\"TOOL_CALL hybrid_search({'index_name':'workers_500k_v1', 'sql_filter':'LOWER(role) LIKE '%forklift%' AND city = \\'Toledo\\' AND state = \\'OH\\' AND availability > CAST(0.5 AS DOUBLE) AND reliability > CAST(0.75 AS DOUBLE)', 'question':'reliable forklift operators in Toledo, O",
|
||||
"gap_signals": [
|
||||
"drift_or_tool: invalid JSON from executor: JSON Parse error: Invalid escape character ' | raw: {\"kind\":\"plan\", \"steps\":[\"TOOL_CALL hybrid_search({'index_name':'workers_500k_v1', 'sql_filter':'LOWER(role) LIKE '%forklift%' AND city = \\'Toledo\\' AND state = \\'OH\\' AND availability > CAST(0.5 AS DOUBLE) AND reliability > CAST(0.75 AS DOUBLE)', 'question':'reliable forklift operators in Toledo, O"
|
||||
]
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "emergency",
|
||||
"at": "14:00",
|
||||
"role": "Loader",
|
||||
"count": 4,
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"shift_start": "04:00 PM same day",
|
||||
"deadline": "16:00",
|
||||
"scenario_note": "Walkoff incident — replacement crew needed by 16:00 sharp."
|
||||
},
|
||||
"ok": false,
|
||||
"fills": [],
|
||||
"turns": 0,
|
||||
"duration_secs": 54.123,
|
||||
"error": "invalid JSON from executor: JSON Parse error: Expected '}' | raw: {\"kind\":\"tool_call\",\"tool\":\"hybrid_search\",\n\"args\":{\"index_name\":\"workers_500k_v1\",\"sql_filter\":\"LOWER(role) LIKE '%loader%' AND city = 'Toledo' AND state = 'OH' AND availability > CAST(0.7 AS DOUBLE) AND worker_id NOT IN ('W500K-4321', 'W500K-8963', 'W500K-2345', 'W500K-6789', 'W500K-9876') AND wor",
|
||||
"gap_signals": [
|
||||
"drift_or_tool: invalid JSON from executor: JSON Parse error: Expected '}' | raw: {\"kind\":\"tool_call\",\"tool\":\"hybrid_search\",\n\"args\":{\"index_name\":\"workers_500k_v1\",\"sql_filter\":\"LOWER(role) LIKE '%loader%' AND city = 'Toledo' AND state = 'OH' AND availability > CAST(0.7 AS DOUBLE) AND worker_id NOT IN ('W500K-4321', 'W500K-8963', 'W500K-2345', 'W500K-6789', 'W500K-9876') AND wor"
|
||||
]
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "misplacement",
|
||||
"at": "15:45",
|
||||
"role": "Warehouse Associate",
|
||||
"count": 1,
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"shift_start": "remainder of 08:00 shift",
|
||||
"scenario_note": "One worker from the 08:00 fill didn't show; rebuild the gap.",
|
||||
"replaces_event": "08:00",
|
||||
"exclude_worker_ids": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"ok": false,
|
||||
"fills": [],
|
||||
"turns": 0,
|
||||
"duration_secs": 59.593,
|
||||
"error": "no consensus after 14 turns",
|
||||
"gap_signals": [
|
||||
"drift_or_tool: no consensus after 14 turns"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,42 @@
|
||||
[
|
||||
{
|
||||
"name": "Christopher Y. Phillips",
|
||||
"booked_for": "08:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"status": "no_show"
|
||||
},
|
||||
{
|
||||
"name": "Janet E. Hill",
|
||||
"booked_for": "08:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Fatima U. Rivera",
|
||||
"booked_for": "08:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Carmen Z. Rodriguez",
|
||||
"booked_for": "10:30",
|
||||
"role": "Machine Operator",
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Robert W. Gonzalez",
|
||||
"booked_for": "10:30",
|
||||
"role": "Machine Operator",
|
||||
"city": "Toledo",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
# SMS drafts — Riverfront Steel, 2026-04-21
|
||||
|
||||
## 08:00 baseline_fill — Warehouse Associate x3 in Toledo, OH
|
||||
|
||||
TO: Christopher Y. Phillips
|
||||
Confirming your shift as a Warehouse Associate at Riverfront Steel in Toledo, OH starting 8 AM today.
|
||||
|
||||
---
|
||||
|
||||
TO: Janet E. Hill
|
||||
Good morning! Confirming your shift as a Warehouse Associate from 8 AM onwards at our Toledo, OH location.
|
||||
|
||||
---
|
||||
|
||||
TO: Fatima U. Rivera
|
||||
Morning Fatima! Just confirming your shift as a Warehouse Associate at Riverfront Steel in Toledo, OH starting at 8 AM.
|
||||
|
||||
## 10:30 recurring — Machine Operator x2 in Toledo, OH
|
||||
|
||||
TO: Carmen Z. Rodriguez
|
||||
Confirming your shift as a Machine Operator at Riverfront Steel in Toledo, OH starting 11:00 AM on Tuesday/Thursday. Still available!
|
||||
|
||||
---
|
||||
|
||||
TO: Robert W. Gonzalez
|
||||
Your recurring Tuesday/Thursday Machine Operator shift at Riverfront Steel in Toledo, OH starts at 11:00 AM. Confirm your availability please.
|
||||
Reference in New Issue
Block a user