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":"09:30","event_kind":"misplacement","ok":true,"model":"gpt-oss:20b","duration_secs":14.251,"risk":"Packer drift risk persists","hint":"Verify Packer's Chicago assignment, review drift logs, recalibrate tools, and consider temporary relocation."}
|
||||
@@ -0,0 +1,2 @@
|
||||
{"at":"11:00","kind":"baseline_fill","operation":"fill: Machine Operator x2 in Chicago, IL","fills":[{"candidate_id":"W500K-37224","name":"Samantha S. Mendoza"},{"candidate_id":"W500K-38796","name":"Olivia E. Long"}],"turns":2,"duration_secs":17.407,"pool_size":1004,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (47%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"}
|
||||
{"at":"17:00","kind":"expansion","operation":"fill: Shipping Clerk x2 in Chicago, IL","fills":[{"candidate_id":"W500K-47824","name":"Kyle K. Lee"},{"candidate_id":"W500K-7780","name":"Ruth Murphy"}],"turns":2,"duration_secs":11.669,"pool_size":389,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (47%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"}
|
||||
@@ -0,0 +1 @@
|
||||
# Client emails — Midway Distribution, 2026-05-10
|
||||
@@ -0,0 +1,6 @@
|
||||
# Cross-day lesson — Midway Distribution, 2026-05-10
|
||||
|
||||
_Generated by `gpt-oss:20b` in 7.5s. Based on 3 events + 1 mid-day checkpoints._
|
||||
|
||||
**
|
||||
Before 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.
|
||||
@@ -0,0 +1,65 @@
|
||||
[
|
||||
{
|
||||
"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"
|
||||
},
|
||||
{
|
||||
"date": "2026-04-22",
|
||||
"client": "Parallel Machining",
|
||||
"cities": "Joliet",
|
||||
"states": "IL",
|
||||
"events_total": 2,
|
||||
"events_ok": 1,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore any recurring Packer run in Joliet, verify tool calibration and review recent drift logs; if drift risk is detected, postpone the run until recalibration and refresher training are completed. Pre‑fetch updated pool data to avoid missing values that could cause failures. Log the calibration status and training completion in the system to trigger automatic risk alerts. If a run fails, immediately flag the drift risk and schedule corrective action before the next cycle.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "09:30",
|
||||
"risk": "Joliet Packer drift risk",
|
||||
"hint": "Recalibrate tools, review drift logs, and schedule refresher training for Packer in Joliet."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:43:31.053Z",
|
||||
"file": "2026-04-22_Parallel_Machining_1776735811053.json"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,69 @@
|
||||
# Scenario retrospective — Midway Distribution, 2026-05-10
|
||||
|
||||
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-01, 2026-04-24, 2026-04-22)
|
||||
|
||||
## Events
|
||||
|
||||
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| 11:00 | baseline_fill | Machine Operator × 2 | 1004 | ✓ 2 | 2 | 17.4 | 0 | 2 |
|
||||
| 17:00 | expansion | Shipping Clerk × 2 | 389 | ✓ 2 | 2 | 11.7 | 0 | 3 |
|
||||
| 09:30 | misplacement | Packer × 1 | - | ✗ 0 | 0 | 19.2 | 0 | 1 |
|
||||
|
||||
## Final roster
|
||||
|
||||
| Worker | Booked | Role | City, ST | Status |
|
||||
|---|---|---|---|---|
|
||||
| undefined Samantha S. Mendoza | 11:00 | Machine Operator | Chicago, IL | no_show |
|
||||
| undefined Olivia E. Long | 11:00 | Machine Operator | Chicago, IL | confirmed |
|
||||
| undefined Kyle K. Lee | 17:00 | Shipping Clerk | Chicago, IL | confirmed |
|
||||
| undefined Ruth Murphy | 17:00 | Shipping Clerk | Chicago, IL | confirmed |
|
||||
|
||||
## Gap signals
|
||||
|
||||
### double_book
|
||||
- **11:00** — undefined Olivia E. Long already booked for 11:00
|
||||
- **17:00** — undefined Kyle K. Lee already booked for 11:00
|
||||
- **17:00** — undefined Ruth Murphy already booked for 11:00
|
||||
|
||||
### artifact
|
||||
- **11:00** — undefined is not an object (evaluating 'f.reason.slice')
|
||||
- **17:00** — undefined is not an object (evaluating 'f.reason.slice')
|
||||
|
||||
### drift_or_tool
|
||||
- **09:30** — aborted — 3 consecutive drift flags
|
||||
|
||||
### fairness
|
||||
- _cross-event_ — Samantha S. Mendoza (undefined) booked 3 times today
|
||||
|
||||
### write_through_audit
|
||||
- _post-run_ — playbook_memory has 1560 entries (ran 3 events, expected ≥ 2 new entries from this run)
|
||||
|
||||
## Workers touched across the week
|
||||
|
||||
5 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-37224 | Samantha S. Mendoza | 11:00 baseline_fill | booked |
|
||||
| W500K-38796 | Olivia E. Long | 11:00 baseline_fill | booked |
|
||||
| W500K-47824 | Kyle K. Lee | 17:00 expansion | booked |
|
||||
| W500K-7780 | Ruth Murphy | 17:00 expansion | booked |
|
||||
| undefined | Samantha S. Mendoza | 11:00 | no_show |
|
||||
|
||||
## Discovered patterns (meta-index)
|
||||
|
||||
What the system identified across semantically-similar past fills as each event ran:
|
||||
|
||||
- **11:00 baseline_fill** (Machine Operator): Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (47%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)
|
||||
- **17:00 expansion** (Shipping Clerk): Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (47%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)
|
||||
- **09:30 misplacement** (Packer): —
|
||||
|
||||
## Narrative
|
||||
|
||||
- 2/3 events reached consensus.
|
||||
- Final roster: 4 bookings across 1 distinct workers.
|
||||
- Workers touched (booked, failed, or otherwise decided): 5.
|
||||
- Playbook citations across the day: 0 (proof the feedback loop fired across events).
|
||||
- Dropped events: 09:30 misplacement.
|
||||
@@ -0,0 +1,93 @@
|
||||
[
|
||||
{
|
||||
"event": {
|
||||
"kind": "baseline_fill",
|
||||
"at": "11:00",
|
||||
"role": "Machine Operator",
|
||||
"count": 2,
|
||||
"city": "Chicago",
|
||||
"state": "IL",
|
||||
"shift_start": "11:00 AM"
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "W500K-37224",
|
||||
"name": "Samantha S. Mendoza"
|
||||
},
|
||||
{
|
||||
"candidate_id": "W500K-38796",
|
||||
"name": "Olivia E. Long"
|
||||
}
|
||||
],
|
||||
"turns": 2,
|
||||
"duration_secs": 17.407,
|
||||
"gap_signals": [
|
||||
"double_book: undefined Olivia E. Long already booked for 11:00",
|
||||
"artifact: undefined is not an object (evaluating 'f.reason.slice')"
|
||||
],
|
||||
"sources_first_score": 0.69628394,
|
||||
"sources_last_score": 0.6453549,
|
||||
"pool_size": 1004,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (47%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "expansion",
|
||||
"at": "17:00",
|
||||
"role": "Shipping Clerk",
|
||||
"count": 2,
|
||||
"city": "Chicago",
|
||||
"state": "IL",
|
||||
"shift_start": "17:00 AM"
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "W500K-47824",
|
||||
"name": "Kyle K. Lee"
|
||||
},
|
||||
{
|
||||
"candidate_id": "W500K-7780",
|
||||
"name": "Ruth Murphy"
|
||||
}
|
||||
],
|
||||
"turns": 2,
|
||||
"duration_secs": 11.669,
|
||||
"gap_signals": [
|
||||
"double_book: undefined Kyle K. Lee already booked for 11:00",
|
||||
"double_book: undefined Ruth Murphy already booked for 11:00",
|
||||
"artifact: undefined is not an object (evaluating 'f.reason.slice')"
|
||||
],
|
||||
"sources_first_score": 0.6205224,
|
||||
"sources_last_score": 0.5214096,
|
||||
"pool_size": 389,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (47%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "misplacement",
|
||||
"at": "09:30",
|
||||
"role": "Packer",
|
||||
"count": 1,
|
||||
"city": "Chicago",
|
||||
"state": "IL",
|
||||
"shift_start": "09:30 AM",
|
||||
"replaces_event": "11:00",
|
||||
"exclude_worker_ids": [
|
||||
null,
|
||||
null
|
||||
]
|
||||
},
|
||||
"ok": false,
|
||||
"fills": [],
|
||||
"turns": 0,
|
||||
"duration_secs": 19.212,
|
||||
"error": "aborted — 3 consecutive drift flags",
|
||||
"gap_signals": [
|
||||
"drift_or_tool: aborted — 3 consecutive drift flags"
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"name": "Samantha S. Mendoza",
|
||||
"booked_for": "11:00",
|
||||
"role": "Machine Operator",
|
||||
"city": "Chicago",
|
||||
"state": "IL",
|
||||
"status": "no_show"
|
||||
},
|
||||
{
|
||||
"name": "Olivia E. Long",
|
||||
"booked_for": "11:00",
|
||||
"role": "Machine Operator",
|
||||
"city": "Chicago",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Kyle K. Lee",
|
||||
"booked_for": "17:00",
|
||||
"role": "Shipping Clerk",
|
||||
"city": "Chicago",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Ruth Murphy",
|
||||
"booked_for": "17:00",
|
||||
"role": "Shipping Clerk",
|
||||
"city": "Chicago",
|
||||
"state": "IL",
|
||||
"status": "confirmed"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
# SMS drafts — Midway Distribution, 2026-05-10
|
||||
Reference in New Issue
Block a user