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":"10:30","event_kind":"recurring","ok":true,"model":"gpt-oss:20b","duration_secs":13.406,"risk":"Double-booking risk for Sarah","hint":"Check Sarah D. Cook's calendar before assigning to the next shift; ensure f.reason is defined to avoid artifact errors."}
|
||||
@@ -0,0 +1,2 @@
|
||||
{"at":"13:00","kind":"baseline_fill","operation":"fill: Warehouse Associate x1 in Detroit, MI","fills":[{"candidate_id":"W500K-32150","name":"Luis O. Miller"}],"turns":3,"duration_secs":25.117,"pool_size":753,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: overhead crane (40%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"}
|
||||
{"at":"10:30","kind":"recurring","operation":"fill: Material Handler x1 in Detroit, MI","fills":[{"candidate_id":"W500K-43527","name":"Sarah D. Cook"}],"turns":4,"duration_secs":21.824,"pool_size":1044,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: overhead crane (40%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"}
|
||||
@@ -0,0 +1 @@
|
||||
# Client emails — Summit Industrial, 2026-05-08
|
||||
@@ -0,0 +1,6 @@
|
||||
# Cross-day lesson — Summit Industrial, 2026-05-08
|
||||
|
||||
_Generated by `gpt-oss:20b` in 6.2s. Based on 2 events + 1 mid-day checkpoints._
|
||||
|
||||
**
|
||||
When a recurring shift precedes a baseline‑fill, pre‑fetch the candidate’s calendar for both slots to avoid double‑booking. Always populate the `f.reason` field for every assignment to prevent artifact errors. In this run, Sarah D. Cook was at risk; check her calendar before assigning her to the 13:00 shift. Keep pool counts and turns updated after each fill to maintain accurate metrics.
|
||||
@@ -0,0 +1,65 @@
|
||||
[
|
||||
{
|
||||
"date": "2026-05-04",
|
||||
"client": "Horizon Supply",
|
||||
"cities": "Flint",
|
||||
"states": "MI",
|
||||
"events_total": 3,
|
||||
"events_ok": 0,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore any baseline, recurring, or emergency assignment, confirm that the role index contains entries for the target location. Pre‑fetch the role data for Flint, MI and validate its JSON formatting to avoid parse errors. If a role is missing, populate a default pool or flag the job for manual review. This prevents the FAIL status and reduces gaps. Implement a pre‑check script that runs before each event.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "16:30",
|
||||
"risk": "Missing role data in index",
|
||||
"hint": "Verify 'Receiving Clerk' entries exist for Flint, MI before assignment; confirm JSON formatting to prevent parse errors."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T02:02:21.047Z",
|
||||
"file": "2026-05-04_Horizon_Supply_1776736941047.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-05-02",
|
||||
"client": "Heritage Foods",
|
||||
"cities": "Flint",
|
||||
"states": "MI",
|
||||
"events_total": 3,
|
||||
"events_ok": 0,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore any shift in Flint, run tool‑calibration and drift diagnostics for all crews, prioritizing the Assembler team. Schedule a pre‑shift check to confirm that each role’s pool assignment is correct and that no gaps remain. Verify that all baseline, expansion, and emergency tasks have the required resources pre‑loaded; a single unfilled gap caused the failures today. Implement this pre‑shift routine for every Flint deployment to avoid repeat failures.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "08:30",
|
||||
"risk": "Assembler drift risk in Flint",
|
||||
"hint": "Prioritize tool calibration, run drift diagnostics, and schedule pre-shift check for Assembler crew in Flint."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:59:20.539Z",
|
||||
"file": "2026-05-02_Heritage_Foods_1776736760539.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-04-30",
|
||||
"client": "Parallel Machining",
|
||||
"cities": "Flint",
|
||||
"states": "MI",
|
||||
"events_total": 3,
|
||||
"events_ok": 0,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore any shift, verify that all tools are calibrated and that the pool assignment is set—an unset pool causes immediate failure. For emergency tasks, perform a quick drift check and recalibrate tools on the spot to mitigate drift risk. Apply the same pre‑check routine to baseline and recurring tasks to avoid cascading failures. Keep a ready‑to‑run calibration script in the agent’s routine for rapid deployment.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "12:30",
|
||||
"risk": "Drift risk: emergency Packer Flint",
|
||||
"hint": "Address drift flags: calibrate tools,"
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:56:32.212Z",
|
||||
"file": "2026-04-30_Parallel_Machining_1776736592212.json"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,56 @@
|
||||
# Scenario retrospective — Summit Industrial, 2026-05-08
|
||||
|
||||
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-04, 2026-05-02, 2026-04-30)
|
||||
|
||||
## Events
|
||||
|
||||
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| 13:00 | baseline_fill | Warehouse Associate × 1 | 753 | ✓ 1 | 3 | 25.1 | 0 | 1 |
|
||||
| 10:30 | recurring | Material Handler × 1 | 1044 | ✓ 1 | 4 | 21.8 | 0 | 2 |
|
||||
|
||||
## Final roster
|
||||
|
||||
| Worker | Booked | Role | City, ST | Status |
|
||||
|---|---|---|---|---|
|
||||
| undefined Luis O. Miller | 13:00 | Warehouse Associate | Detroit, MI | confirmed |
|
||||
| undefined Sarah D. Cook | 10:30 | Material Handler | Detroit, MI | confirmed |
|
||||
|
||||
## Gap signals
|
||||
|
||||
### artifact
|
||||
- **13:00** — undefined is not an object (evaluating 'f.reason.slice')
|
||||
- **10:30** — undefined is not an object (evaluating 'f.reason.slice')
|
||||
|
||||
### double_book
|
||||
- **10:30** — undefined Sarah D. Cook already booked for 13:00
|
||||
|
||||
### fairness
|
||||
- _cross-event_ — Luis O. Miller (undefined) booked 2 times today
|
||||
|
||||
### write_through_audit
|
||||
- _post-run_ — playbook_memory has 1555 entries (ran 2 events, expected ≥ 2 new entries from this run)
|
||||
|
||||
## Workers touched across the week
|
||||
|
||||
2 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-32150 | Luis O. Miller | 13:00 baseline_fill | booked |
|
||||
| 43527 | Sarah D. Cook | 10:30 recurring | booked |
|
||||
|
||||
## Discovered patterns (meta-index)
|
||||
|
||||
What the system identified across semantically-similar past fills as each event ran:
|
||||
|
||||
- **13:00 baseline_fill** (Warehouse Associate): Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: overhead crane (40%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)
|
||||
- **10:30 recurring** (Material Handler): Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: overhead crane (40%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)
|
||||
|
||||
## Narrative
|
||||
|
||||
- 2/2 events reached consensus.
|
||||
- Final roster: 2 bookings across 1 distinct workers.
|
||||
- Workers touched (booked, failed, or otherwise decided): 2.
|
||||
- Playbook citations across the day: 0 (proof the feedback loop fired across events).
|
||||
@@ -0,0 +1,59 @@
|
||||
[
|
||||
{
|
||||
"event": {
|
||||
"kind": "baseline_fill",
|
||||
"at": "13:00",
|
||||
"role": "Warehouse Associate",
|
||||
"count": 1,
|
||||
"city": "Detroit",
|
||||
"state": "MI",
|
||||
"shift_start": "13:00 AM"
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "W500K-32150",
|
||||
"name": "Luis O. Miller"
|
||||
}
|
||||
],
|
||||
"turns": 3,
|
||||
"duration_secs": 25.117,
|
||||
"gap_signals": [
|
||||
"artifact: undefined is not an object (evaluating 'f.reason.slice')"
|
||||
],
|
||||
"sources_first_score": 0.6864498,
|
||||
"sources_last_score": 0.6393373,
|
||||
"pool_size": 753,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: overhead crane (40%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "recurring",
|
||||
"at": "10:30",
|
||||
"role": "Material Handler",
|
||||
"count": 1,
|
||||
"city": "Detroit",
|
||||
"state": "MI",
|
||||
"shift_start": "10:30 AM"
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "43527",
|
||||
"name": "Sarah D. Cook"
|
||||
}
|
||||
],
|
||||
"turns": 4,
|
||||
"duration_secs": 21.824,
|
||||
"gap_signals": [
|
||||
"double_book: undefined Sarah D. Cook already booked for 13:00",
|
||||
"artifact: undefined is not an object (evaluating 'f.reason.slice')"
|
||||
],
|
||||
"sources_first_score": 0.6867239,
|
||||
"sources_last_score": 0.6535808,
|
||||
"pool_size": 1044,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (30 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: overhead crane (40%) · archetype mostly: communicator · reliability median 0.79 (range 0.19–1.00)"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"name": "Luis O. Miller",
|
||||
"booked_for": "13:00",
|
||||
"role": "Warehouse Associate",
|
||||
"city": "Detroit",
|
||||
"state": "MI",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Sarah D. Cook",
|
||||
"booked_for": "10:30",
|
||||
"role": "Material Handler",
|
||||
"city": "Detroit",
|
||||
"state": "MI",
|
||||
"status": "confirmed"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
# SMS drafts — Summit Industrial, 2026-05-08
|
||||
Reference in New Issue
Block a user