You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
porch: refresh boundary can read acknowledged BEFORE its clear executes — invisible-stall detection defeated by intervening porch next #1529
Found during Spec 1470's Phase 8 live pass 3 (evidence in the spec's review artifact, follow-up 9(b)).
The gap
Phase 6's stalled-refresh visibility works by porch setting acknowledged_at on a boundary record the first time porch next takes the normal path past it — "recorded but never acknowledged" = the builder never came back from its clear.
But the refresh flow has a window between afx self-refresh --begin and the execute step, and any porch next that lands inside that window acknowledges the boundary before the clear has happened. Live timeline that produced it (pass 3): boundary recorded 15:06:40 → a refusal/escalation round-trip put a porch next at 15:08:01 (acknowledged) → clear executed 15:12:01. Had the re-entry then been lost, porch status would have flagged nothing while the cleared builder sat idle — exactly the invisible-stall case the acknowledgment exists to catch.
Any interruption between begin and execute (a gate refusal, an architect question, a consultation) can produce the same shape; it is not exotic.
Status
Unmitigated as of PR #1528 (the Spec 1470 feature PR, which ships the acknowledgment mechanism): the related save-staleness edge at least ships an instruction to refresh the save; this ships nothing. Shipped as a known gap, stated in the PR body.
Direction (not prescribed in detail — needs design)
The acknowledgment likely needs to distinguish "porch next before the clear" from "porch next after the re-entry" — e.g. tying acknowledgment to the refresh lifecycle (challenge consumed / post-clear marker) rather than to any normal-path pass. Constraint that must survive: the builder-side command writes nothing to status.yaml; porch stays the only writer.
Activity
[Spec 1470] docs: reference issues #1529 and #1530 in the review