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":"13:00","event_kind":"emergency","ok":true,"model":"gpt-oss:20b","duration_secs":15.652,"risk":"Double-booking in Cincinnati forklift ops","hint":"Check Jacob Kelly and Matthew P. Jones schedules; resolve f.reason.slice error."}
|
||||
@@ -0,0 +1,3 @@
|
||||
{"at":"13:30","kind":"baseline_fill","operation":"fill: Shipping Clerk x1 in Cincinnati, OH","fills":[{"candidate_id":"W500K-3488","name":"Edward Edwards"}],"turns":3,"duration_secs":23.513,"pool_size":579,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (17 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: 6S (41%) · archetype mostly: communicator · reliability median 0.83 (range 0.59–1.00)"}
|
||||
{"at":"08:00","kind":"recurring","operation":"fill: Loader x1 in Cincinnati, OH","fills":[{"candidate_id":"W500K-1797","name":"Yuki Cook"}],"turns":3,"duration_secs":14.928,"pool_size":608,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (17 workers examined) · recurring certifications: OSHA-10 (53%) · archetype mostly: communicator · reliability median 0.83 (range 0.59–1.00)"}
|
||||
{"at":"13:00","kind":"emergency","operation":"fill: Forklift Operator x2 in Cincinnati, OH","fills":[{"candidate_id":"W500K-10359","name":"Jacob Kelly"},{"candidate_id":"W500K-28563","name":"Matthew P. Jones"}],"turns":2,"duration_secs":11.535,"pool_size":780,"playbook_citations":[],"discovered_pattern":"Across 25 similar past playbooks (18 workers examined) · recurring certifications: OSHA-10 (50%) · archetype mostly: leader · reliability median 0.85 (range 0.59–1.00)"}
|
||||
@@ -0,0 +1 @@
|
||||
# Client emails — Summit Industrial, 2026-04-23
|
||||
@@ -0,0 +1,6 @@
|
||||
# Cross-day lesson — Summit Industrial, 2026-04-23
|
||||
|
||||
_Generated by `gpt-oss:20b` in 5.0s. Based on 3 events + 1 mid-day checkpoints._
|
||||
|
||||
**
|
||||
When an emergency adds forklift operators, pull the full schedule for all forklift staff in the location before assigning. Verify that no one is already booked for another forklift shift—if Jacob Kelly or Matthew P. Jones appear twice, reassign or adjust the shift. Ensure the `f.reason.slice` logic is robust; catch any slice errors and default to a safe value. Update the pool count immediately after each assignment to keep data current. This prevents double‑booking and keeps the pool accurate.
|
||||
@@ -0,0 +1,70 @@
|
||||
[
|
||||
{
|
||||
"date": "2026-04-23",
|
||||
"client": "Horizon Supply",
|
||||
"cities": "Toledo",
|
||||
"states": "OH",
|
||||
"events_total": 1,
|
||||
"events_ok": 1,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nWhen executing a `baseline_fill`, always guard against missing `f.reason` before calling `slice`. Add a null check (e.g., `if (f.reason) { … }`) or pre‑fetch the field during data load. Log a warning and skip the slice if `f.reason` is undefined to avoid runtime JS errors and keep the pool count accurate.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "14:00",
|
||||
"risk": "Potential JS error in baseline_fill",
|
||||
"hint": "Validate f.reason exists for Quality Tech Toledo before calling slice; add null guard to prevent JS error."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:36:12.165Z",
|
||||
"file": "2026-04-23_Horizon_Supply_1776735372165.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-04-22",
|
||||
"client": "Centennial Packaging",
|
||||
"cities": "Cleveland",
|
||||
"states": "OH",
|
||||
"events_total": 3,
|
||||
"events_ok": 3,
|
||||
"checkpoint_count": 1,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore running an expansion event, query the current pool for the role and subtract any workers already assigned in earlier shifts; if the remaining pool is less than the requested number, reallocate or reduce the expansion. Implement a pre‑check that flags potential double bookings and forces reassignment of at least one role. Validate all worker references to avoid undefined references in scheduling logic. This prevents overlapping assignments and ensures the pool count remains accurate.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "11:30",
|
||||
"risk": "Double booking risk for Assembler workers",
|
||||
"hint": "Reassign at least one of the five Assembler roles to avoid double booking with the 09:00 shift; review scheduling logic for undefined worker references."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:35:16.915Z",
|
||||
"file": "2026-04-22_Centennial_Packaging_1776735316915.json"
|
||||
},
|
||||
{
|
||||
"date": "2026-04-21",
|
||||
"client": "Riverfront Steel",
|
||||
"cities": "Toledo",
|
||||
"states": "OH",
|
||||
"events_total": 5,
|
||||
"events_ok": 4,
|
||||
"checkpoint_count": 2,
|
||||
"model": "gpt-oss:20b",
|
||||
"cloud": false,
|
||||
"lesson": "** \nBefore launching an expansion, always verify the pool size and certification status for the role; if the pool is unknown or certifications are missing, pre‑fetch the data or secure temporary hires to avoid a fail. For any misplacement or recurring assignment, cross‑check the booking system to confirm that staff such as Patrick Ross are not double‑booked. Maintain a buffer of at least three extra candidates for emergency roles to keep gaps at a minimum. This proactive verification will reduce drift risk and scheduling conflicts in future runs.",
|
||||
"checkpoints": [
|
||||
{
|
||||
"after": "12:15",
|
||||
"risk": "Forklift Operator drift risk in Toledo",
|
||||
"hint": "Verify forklift operator certifications in Toledo; consider temporary hires if drift persists."
|
||||
},
|
||||
{
|
||||
"after": "15:45",
|
||||
"risk": "Double-booking risk for Patrick Ross",
|
||||
"hint": "Verify Patrick Ross’s schedule before assigning; use the booking system to prevent overlapping shifts."
|
||||
}
|
||||
],
|
||||
"created_at": "2026-04-21T01:13:14.575Z",
|
||||
"file": "2026-04-21_Riverfront_Steel_1776733994575.json"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,65 @@
|
||||
# Scenario retrospective — Summit Industrial, 2026-04-23
|
||||
|
||||
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-04-23, 2026-04-22, 2026-04-21)
|
||||
|
||||
## Events
|
||||
|
||||
| At | Kind | Role / Count | Pool | Fills | Turns | Dur(s) | Cites | Gaps |
|
||||
|---|---|---|---|---|---|---|---|---|
|
||||
| 13:30 | baseline_fill | Shipping Clerk × 1 | 579 | ✓ 1 | 3 | 23.5 | 0 | 1 |
|
||||
| 08:00 | recurring | Loader × 1 | 608 | ✓ 1 | 3 | 14.9 | 0 | 2 |
|
||||
| 13:00 | emergency | Forklift Operator × 2 | 780 | ✓ 2 | 2 | 11.5 | 0 | 3 |
|
||||
|
||||
## Final roster
|
||||
|
||||
| Worker | Booked | Role | City, ST | Status |
|
||||
|---|---|---|---|---|
|
||||
| undefined Edward Edwards | 13:30 | Shipping Clerk | Cincinnati, OH | confirmed |
|
||||
| undefined Yuki Cook | 08:00 | Loader | Cincinnati, OH | confirmed |
|
||||
| undefined Jacob Kelly | 13:00 | Forklift Operator | Cincinnati, OH | confirmed |
|
||||
| undefined Matthew P. Jones | 13:00 | Forklift Operator | Cincinnati, OH | confirmed |
|
||||
|
||||
## Gap signals
|
||||
|
||||
### artifact
|
||||
- **13:30** — undefined is not an object (evaluating 'f.reason.slice')
|
||||
- **08:00** — undefined is not an object (evaluating 'f.reason.slice')
|
||||
- **13:00** — undefined is not an object (evaluating 'f.reason.slice')
|
||||
|
||||
### double_book
|
||||
- **08:00** — undefined Yuki Cook already booked for 13:30
|
||||
- **13:00** — undefined Jacob Kelly already booked for 13:30
|
||||
- **13:00** — undefined Matthew P. Jones already booked for 13:30
|
||||
|
||||
### fairness
|
||||
- _cross-event_ — Edward Edwards (undefined) booked 4 times today
|
||||
|
||||
### write_through_audit
|
||||
- _post-run_ — playbook_memory has 1529 entries (ran 3 events, expected ≥ 3 new entries from this run)
|
||||
|
||||
## Workers touched across the week
|
||||
|
||||
4 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 |
|
||||
|---|---|---|---|
|
||||
| 3488 | Edward Edwards | 13:30 baseline_fill | booked |
|
||||
| 1797 | Yuki Cook | 08:00 recurring | booked |
|
||||
| W500K-10359 | Jacob Kelly | 13:00 emergency | booked |
|
||||
| W500K-28563 | Matthew P. Jones | 13:00 emergency | booked |
|
||||
|
||||
## Discovered patterns (meta-index)
|
||||
|
||||
What the system identified across semantically-similar past fills as each event ran:
|
||||
|
||||
- **13:30 baseline_fill** (Shipping Clerk): Across 25 similar past playbooks (17 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: 6S (41%) · archetype mostly: communicator · reliability median 0.83 (range 0.59–1.00)
|
||||
- **08:00 recurring** (Loader): Across 25 similar past playbooks (17 workers examined) · recurring certifications: OSHA-10 (53%) · archetype mostly: communicator · reliability median 0.83 (range 0.59–1.00)
|
||||
- **13:00 emergency** (Forklift Operator): Across 25 similar past playbooks (18 workers examined) · recurring certifications: OSHA-10 (50%) · archetype mostly: leader · reliability median 0.85 (range 0.59–1.00)
|
||||
|
||||
## Narrative
|
||||
|
||||
- 3/3 events reached consensus.
|
||||
- Final roster: 4 bookings across 1 distinct workers.
|
||||
- Workers touched (booked, failed, or otherwise decided): 4.
|
||||
- Playbook citations across the day: 0 (proof the feedback loop fired across events).
|
||||
@@ -0,0 +1,93 @@
|
||||
[
|
||||
{
|
||||
"event": {
|
||||
"kind": "baseline_fill",
|
||||
"at": "13:30",
|
||||
"role": "Shipping Clerk",
|
||||
"count": 1,
|
||||
"city": "Cincinnati",
|
||||
"state": "OH",
|
||||
"shift_start": "13:30 AM"
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "3488",
|
||||
"name": "Edward Edwards"
|
||||
}
|
||||
],
|
||||
"turns": 3,
|
||||
"duration_secs": 23.513,
|
||||
"gap_signals": [
|
||||
"artifact: undefined is not an object (evaluating 'f.reason.slice')"
|
||||
],
|
||||
"sources_first_score": 0.63140756,
|
||||
"sources_last_score": 0.5673077,
|
||||
"pool_size": 579,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (17 workers examined) · recurring certifications: OSHA-10 (53%) · recurring skills: 6S (41%) · archetype mostly: communicator · reliability median 0.83 (range 0.59–1.00)"
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "recurring",
|
||||
"at": "08:00",
|
||||
"role": "Loader",
|
||||
"count": 1,
|
||||
"city": "Cincinnati",
|
||||
"state": "OH",
|
||||
"shift_start": "08:00 AM"
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "1797",
|
||||
"name": "Yuki Cook"
|
||||
}
|
||||
],
|
||||
"turns": 3,
|
||||
"duration_secs": 14.928,
|
||||
"gap_signals": [
|
||||
"double_book: undefined Yuki Cook already booked for 13:30",
|
||||
"artifact: undefined is not an object (evaluating 'f.reason.slice')"
|
||||
],
|
||||
"sources_first_score": 0.68460935,
|
||||
"sources_last_score": 0.625636,
|
||||
"pool_size": 608,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (17 workers examined) · recurring certifications: OSHA-10 (53%) · archetype mostly: communicator · reliability median 0.83 (range 0.59–1.00)"
|
||||
},
|
||||
{
|
||||
"event": {
|
||||
"kind": "emergency",
|
||||
"at": "13:00",
|
||||
"role": "Forklift Operator",
|
||||
"count": 2,
|
||||
"city": "Cincinnati",
|
||||
"state": "OH",
|
||||
"shift_start": "13:00 AM"
|
||||
},
|
||||
"ok": true,
|
||||
"fills": [
|
||||
{
|
||||
"candidate_id": "W500K-10359",
|
||||
"name": "Jacob Kelly"
|
||||
},
|
||||
{
|
||||
"candidate_id": "W500K-28563",
|
||||
"name": "Matthew P. Jones"
|
||||
}
|
||||
],
|
||||
"turns": 2,
|
||||
"duration_secs": 11.535,
|
||||
"gap_signals": [
|
||||
"double_book: undefined Jacob Kelly already booked for 13:30",
|
||||
"double_book: undefined Matthew P. Jones already booked for 13:30",
|
||||
"artifact: undefined is not an object (evaluating 'f.reason.slice')"
|
||||
],
|
||||
"sources_first_score": 0.64394623,
|
||||
"sources_last_score": 0.5608718,
|
||||
"pool_size": 780,
|
||||
"playbook_citations": [],
|
||||
"discovered_pattern": "Across 25 similar past playbooks (18 workers examined) · recurring certifications: OSHA-10 (50%) · archetype mostly: leader · reliability median 0.85 (range 0.59–1.00)"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,34 @@
|
||||
[
|
||||
{
|
||||
"name": "Edward Edwards",
|
||||
"booked_for": "13:30",
|
||||
"role": "Shipping Clerk",
|
||||
"city": "Cincinnati",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Yuki Cook",
|
||||
"booked_for": "08:00",
|
||||
"role": "Loader",
|
||||
"city": "Cincinnati",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Jacob Kelly",
|
||||
"booked_for": "13:00",
|
||||
"role": "Forklift Operator",
|
||||
"city": "Cincinnati",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
},
|
||||
{
|
||||
"name": "Matthew P. Jones",
|
||||
"booked_for": "13:00",
|
||||
"role": "Forklift Operator",
|
||||
"city": "Cincinnati",
|
||||
"state": "OH",
|
||||
"status": "confirmed"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
# SMS drafts — Summit Industrial, 2026-04-23
|
||||
Reference in New Issue
Block a user