place-files — healer refused (assertion rule) #1493

Closed
opened 2026-09-15 15:42:17 +00:00 by matou-build-agent · 2 comments

The healer diagnosed this red and proposed a fix, but a refusal rule fired so no commit landed — the rails reverted it.

Healer refused: assertion rule

What the healer found: The place-files leg read draft.placement off the seam BETWEEN the bench drop and the Continue that actually saves it (the bench holds its layout in the renderer and calls save-placement only in FoundingJourney.vue onPlacementContinue), so the read could never pass; the read-back moved below the Continue + founding-confirm wait, assertion and expected value unchanged.

The healer may never weaken what a check proves, exceed the line cap, or change a product-behaviour surface (#1144). Route this to a swarm worker or a design ruling as the label suggests.

ticket-on-refusal under the healer-first regime (#1144)

drive 20260915T151406Z red at place-files: founding-state.json carries no draft.placement.where.files — the bench never placed it
evidence: /home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260915T151406Z on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured

The healer diagnosed this red and proposed a fix, but a refusal rule fired so **no commit landed** — the rails reverted it. **Healer refused: assertion rule** **What the healer found:** The place-files leg read draft.placement off the seam BETWEEN the bench drop and the Continue that actually saves it (the bench holds its layout in the renderer and calls save-placement only in FoundingJourney.vue onPlacementContinue), so the read could never pass; the read-back moved below the Continue + founding-confirm wait, assertion and expected value unchanged. The healer may never weaken what a check proves, exceed the line cap, or change a product-behaviour surface (#1144). Route this to a swarm worker or a design ruling as the label suggests. _ticket-on-refusal under the healer-first regime (#1144)_ drive `20260915T151406Z` red at `place-files`: `founding-state.json carries no draft.placement.where.files — the bench never placed it` evidence: `/home/dev/swarm/Matou/idss/test-results/drive-rented-services/20260915T151406Z` on matou-workstation (legs.json and whatever else the drive harvested there) — a representative screenshot is attached here if one was captured <!-- rehearsal-sig: 77330f9dab6a -->
Author
Member

Ruled by agent under ADR 0174 — veto anytime.

The ruling: the healer's refused fix is correct and lands as-is. The place-files leg's read-back moves BELOW the Continue click + the founding-confirm wait, with the assertion and expected value unchanged.

Why the healer was right and the refusal rule over-fired. The bench holds its layout in the RENDERER and persists it to the seam only on Continue — FoundingJourney.onPlacementContinue → props.client.savePlacement({ where }) (app/src/components/founding/FoundingJourney.vue:590), which is the one writer of draft.placement.where (#1391: the plan is SEAM TRUTH from there — the build reads it to know what to stand up beyond the gateway). So foundingPlacementOf(readState(), 'files') run BETWEEN the bench drop and that Continue reads a founding-state.json that structurally cannot carry the drop yet — the leg was guaranteed to red exactly as drive 20260915T151406Z did (carries no draft.placement.where.files). Moving the read after Confirm is visible runs it at the first moment the seam has the drop (Confirm itself reads it back). The assertion (toBe(gatewayId)) and its expected value are untouched, so NOTHING a check proves is weakened — the check now merely runs where its data exists, and in fact proves more: that the placement survived the Continue → save round-trip into the seam the build depends on. The #1144 assertion-refusal rule guards against a healer silently weakening a check; a pure re-sequencing that leaves the assertion identical is exactly the two-way door a session is meant to rule on.

Why a two-way door. Revertible (a single test-harness sequencing change, no product source touched — savePlacement and the whole founding walk are unchanged) and provable (the read-back point is proven correct by the product seam itself; the offline pin rentedServices.test.ts and the collect/type-check pass). No product-behaviour surface, credential, security posture, trust surface, data, or spend is involved.

Proof: vue-tsc -p tsconfig.json --noEmit exit 0, eslint on the spec clean, playwright --list collects the spec (1 test), rentedServices.test.ts 2/2 green. Commit 41fe5cea.

**Ruled by agent under ADR 0174 — veto anytime.** **The ruling:** the healer's refused fix is correct and lands as-is. The `place-files` leg's read-back moves BELOW the `Continue` click + the `founding-confirm` wait, with the assertion and expected value unchanged. **Why the healer was right and the refusal rule over-fired.** The bench holds its layout in the RENDERER and persists it to the seam only on Continue — `FoundingJourney.onPlacementContinue` → `props.client.savePlacement({ where })` (`app/src/components/founding/FoundingJourney.vue:590`), which is the one writer of `draft.placement.where` (#1391: the plan is SEAM TRUTH from there — the build reads it to know what to stand up beyond the gateway). So `foundingPlacementOf(readState(), 'files')` run BETWEEN the bench drop and that Continue reads a `founding-state.json` that structurally cannot carry the drop yet — the leg was guaranteed to red exactly as drive `20260915T151406Z` did (`carries no draft.placement.where.files`). Moving the read after Confirm is visible runs it at the first moment the seam has the drop (Confirm itself reads it back). The assertion (`toBe(gatewayId)`) and its expected value are untouched, so NOTHING a check proves is weakened — the check now merely runs where its data exists, and in fact proves more: that the placement survived the Continue → save round-trip into the seam the build depends on. The `#1144` assertion-refusal rule guards against a healer silently weakening a check; a pure re-sequencing that leaves the assertion identical is exactly the two-way door a session is meant to rule on. **Why a two-way door.** Revertible (a single test-harness sequencing change, no product source touched — `savePlacement` and the whole founding walk are unchanged) and provable (the read-back point is proven correct by the product seam itself; the offline pin `rentedServices.test.ts` and the collect/type-check pass). No product-behaviour surface, credential, security posture, trust surface, data, or spend is involved. **Proof:** `vue-tsc -p tsconfig.json --noEmit` exit 0, `eslint` on the spec clean, `playwright --list` collects the spec (1 test), `rentedServices.test.ts` 2/2 green. Commit `41fe5cea`.
Author
Member

Close-report.

Landed: commit 41fe5cea (pushed to main).

  • app/tests/e2e/journey.rented-services.spec.ts — the place-files leg's placement read-back moves below the Continue click + the founding-confirm visibility wait (the healer's proposed fix, previously reverted by the assertion-refusal rail). Assertion + expected value unchanged.
  • STATUS.md — dated log entry.

Proof (offline, this session):

  • vue-tsc -p tsconfig.json --noEmit → exit 0
  • eslint tests/e2e/journey.rented-services.spec.ts → clean
  • playwright --list collects the spec → 1 test
  • rentedServices.test.ts (the drive's offline pin) → 2/2 green

Not run here (out of a one-shot session's scope, ADR 0174 rule 7): the LIVE rented provision-on-founding drive — that is the phase-9 executor-rail drive of #1491, which this fix unblocks. The correctness of the moved read-back is proven by static analysis of the product seam (savePlacement is the sole writer of draft.placement.where, and it fires only on Continue), not by a sandbox-green claim.

Closing — the harness fix is landed and proven; the live green rides #1491's next executor drive.

**Close-report.** **Landed:** commit `41fe5cea` (pushed to `main`). - `app/tests/e2e/journey.rented-services.spec.ts` — the `place-files` leg's placement read-back moves below the `Continue` click + the `founding-confirm` visibility wait (the healer's proposed fix, previously reverted by the assertion-refusal rail). Assertion + expected value unchanged. - `STATUS.md` — dated log entry. **Proof (offline, this session):** - `vue-tsc -p tsconfig.json --noEmit` → exit 0 - `eslint tests/e2e/journey.rented-services.spec.ts` → clean - `playwright --list` collects the spec → 1 test - `rentedServices.test.ts` (the drive's offline pin) → 2/2 green **Not run here (out of a one-shot session's scope, ADR 0174 rule 7):** the LIVE rented provision-on-founding drive — that is the phase-9 executor-rail drive of #1491, which this fix unblocks. The correctness of the moved read-back is proven by static analysis of the product seam (`savePlacement` is the sole writer of `draft.placement.where`, and it fires only on Continue), not by a sandbox-green claim. Closing — the harness fix is landed and proven; the live green rides #1491's next executor drive.
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.

Reference
Matou/idss#1493
No description provided.