heal.sh verdict_path has no smoke-drive case — healer cannot read a smoke lap's run-verdict.txt (reader half of matou-app#46) #10

Closed
opened 2026-08-21 03:04:14 +00:00 by ben · 1 comment
Owner

Split off Matou/matou-app#46 (Ben's ruling, 2026-08-21): the smoke-drive verdict fix has a writer half (product repo) and a reader half (here).

Problem. heal.sh's verdict_path "$WORKFLOW" recognises only ci / swarm / triage and returns empty for smoke-drive, so gather_evidence never copies a run-verdict.txt for a red smoke lap and degrades to the stale worker-prose grep — the mis-keyed signature (64ea3c8e783b, CLASS: unknown) matou-app#46 reports. Any repo that adopts the smoke tier (E2E_TIER=smoke) hits this.

Fix (this repo). Teach verdict_path the smoke-drive case — /tmp/matou-<repo_tag>-smoke-drive-verdict.txt, the same stage= / exit= / --- error lines --- shape run-swarm.sh's EXIT trap writes via verdict-lib.sh — and add a fixture to the healer's preflight guards so a missing case fails the healer_signature self-test rather than silently degrading again. The writer half (the driver emitting that file) is matou-app#46 itself.

Acceptance. A deliberately red smoke lap on an onboarded repo produces a healer run whose evidence contains the driver's run-verdict.txt, whose signature keys on its stage + first error line, and whose class is not unknown.

Refs: matou-app#46 (writer), matou-app#51 (the red this would have classified), dev-factory#9 (same mis-attribution family on the swarm side).

Split off `Matou/matou-app#46` (Ben's ruling, 2026-08-21): the smoke-drive verdict fix has a writer half (product repo) and a reader half (here). **Problem.** `heal.sh`'s `verdict_path "$WORKFLOW"` recognises only `ci` / `swarm` / `triage` and returns **empty** for `smoke-drive`, so `gather_evidence` never copies a `run-verdict.txt` for a red smoke lap and degrades to the stale worker-prose grep — the mis-keyed signature (`64ea3c8e783b`, `CLASS: unknown`) matou-app#46 reports. Any repo that adopts the smoke tier (`E2E_TIER=smoke`) hits this. **Fix (this repo).** Teach `verdict_path` the `smoke-drive` case — `/tmp/matou-<repo_tag>-smoke-drive-verdict.txt`, the same `stage= / exit= / --- error lines ---` shape `run-swarm.sh`'s EXIT trap writes via `verdict-lib.sh` — and add a fixture to the healer's preflight guards so a missing case fails the `healer_signature` self-test rather than silently degrading again. The writer half (the driver emitting that file) is matou-app#46 itself. **Acceptance.** A deliberately red smoke lap on an onboarded repo produces a healer run whose evidence contains the driver's `run-verdict.txt`, whose signature keys on its stage + first error line, and whose class is not `unknown`. Refs: matou-app#46 (writer), matou-app#51 (the red this would have classified), dev-factory#9 (same mis-attribution family on the swarm side).
Author
Owner

Landed on main in 6112dd2 — verdict_path now has the smoke-drive case (/tmp/matou-<tag>-smoke-drive-verdict.txt, SMOKE_DRIVE_VERDICT_PATH override), pinned by a new heal-test.sh scenario (marker keys the signature; absence degrades to the workflow name, never prose — fails against the previous heal.sh). GOTCHAS 5 records the closed-case hazard.

Consumer side: matou-app PR #53 (writer half) merged; matou-app PR #54 bumps its pin to 6112dd2. The acceptance clause (a live smoke red whose healer signature is not unknown) is owed on matou-workstation once #54 merges and the next red lap happens.

Landed on main in `6112dd2` — `verdict_path` now has the `smoke-drive` case (`/tmp/matou-<tag>-smoke-drive-verdict.txt`, `SMOKE_DRIVE_VERDICT_PATH` override), pinned by a new `heal-test.sh` scenario (marker keys the signature; absence degrades to the workflow name, never prose — fails against the previous heal.sh). GOTCHAS 5 records the closed-`case` hazard. Consumer side: matou-app PR #53 (writer half) merged; matou-app PR #54 bumps its pin to `6112dd2`. The acceptance clause (a live smoke red whose healer signature is not `unknown`) is owed on matou-workstation once #54 merges and the next red lap happens.
ben closed this issue 2026-08-22 14:10:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/dev-factory#10
No description provided.