app: all 15 stand-up ops mask a missing view as {} — the frozen-checklist mode with no fault shown #300

Closed
opened 2026-08-05 23:11:02 +00:00 by ben · 1 comment
Owner

app/src/lib/founding.ts:941-1003 — every stand-up op does return (await this.call(op)).standup ?? {}, unlike the sibling draft() helper (:819-823) which throws founding: ${op} returned no draft on a missing payload.

An ok:true response omitting the view returns {}; FoundingStandup.vue does standup.value = view.standup ?? null, and on the private path that both blanks the checklist (FoundingStandupPrivate renders only its lede — rows is [], no fault block) and kills the journey poll (journeyRunning reads standup.value?.step). That is the frozen-checklist failure mode exactly, with no error banner because nothing threw. Most exposed: standUpPrivate, standupState, runDeploy.

Acceptance

  • Stand-up ops throw on a missing view, mirroring draft(); the guarded run() wrapper then renders its normal error banner.
  • Vitest: ok:true with no standup ⇒ thrown error ⇒ banner, not a blank checklist.

Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).

`app/src/lib/founding.ts:941-1003` — every stand-up op does `return (await this.call(op)).standup ?? {}`, unlike the sibling `draft()` helper (`:819-823`) which throws `founding: ${op} returned no draft` on a missing payload. An `ok:true` response omitting the view returns `{}`; `FoundingStandup.vue` does `standup.value = view.standup ?? null`, and on the private path that **both** blanks the checklist (FoundingStandupPrivate renders only its lede — `rows` is `[]`, no fault block) **and** kills the journey poll (`journeyRunning` reads `standup.value?.step`). That is the frozen-checklist failure mode exactly, with no error banner because nothing threw. Most exposed: `standUpPrivate`, `standupState`, `runDeploy`. **Acceptance** - Stand-up ops throw on a missing view, mirroring `draft()`; the guarded `run()` wrapper then renders its normal error banner. - Vitest: `ok:true` with no `standup` ⇒ thrown error ⇒ banner, not a blank checklist. --- _Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code)._
Author
Owner

Fixed in dfa4c44 (on origin/main). All sixteen stand-up ops on BridgeFoundingClient now route through a new private standup() helper that throws founding: ${op} returned no view on a missing payload, mirroring draft() — an ok:true response omitting the view no longer folds to {} and freezes the checklist; FoundingStandup.vues guarded run() renders its data-status="standup-error" banner. Red-first Vitest in app/tests/unit/founding.test.ts: every op with ok:true and no view throws, plus a view-carrying response returns unchanged. founding.test.ts 11 green, full app suite 610 passing (boot.test.ts needs the Go toolchain, unrelated), vue-tsc clean.

Fixed in dfa4c44 (on origin/main). All sixteen stand-up ops on `BridgeFoundingClient` now route through a new private `standup()` helper that throws `founding: ${op} returned no view` on a missing payload, mirroring `draft()` — an `ok:true` response omitting the view no longer folds to `{}` and freezes the checklist; `FoundingStandup.vue`s guarded `run()` renders its `data-status="standup-error"` banner. Red-first Vitest in `app/tests/unit/founding.test.ts`: every op with `ok:true` and no view throws, plus a view-carrying response returns unchanged. `founding.test.ts` 11 green, full app suite 610 passing (boot.test.ts needs the Go toolchain, unrelated), vue-tsc clean.
ben closed this issue 2026-08-06 00:42:28 +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/idss#300
No description provided.