Repository navigation
fix(demo): preserve interrupted response status and report eligibility - #12
Conversation
Signed-off-by: Zachariah Ayers <[email protected]>
Signed-off-by: Zachariah Ayers <[email protected]>
ZachariahAyers
left a comment
There was a problem hiding this comment.
CHANGES REQUESTED at 29f2391: one P2 caller-level bypass of the new workspace completion gate (inline).
All 29 focused transport/mounted tests and scoped TypeScript pass. Four independent transport probes also pass for progressive snapshots followed by abort, EOF, filtered interruption or accepted done. The additional mounted-app EOF probe fails because DemoApp's existing catch refreshes and publishes the server workspace despite no accepted done. This demonstrates why the transport-only protection is insufficient.
Report matching and incomplete message status were reviewed; no provider/report submission, browser/device acceptance or deployment was performed. Paired Howland native decoder/retry proof, released shared-kit adoption and independent UI QA remain open gates. Issue different-ai#43 remains open.
Signed-off-by: Zachariah Ayers <[email protected]>
ZachariahAyers
left a comment
There was a problem hiding this comment.
SOURCE ACCEPTED at a5798d6 for the paired consumer preparation.
The P2 completion-gate bypass is corrected: a failed prompt no longer refetches and publishes an unaccepted workspace. Lost mode-switch recovery is unchanged. My original mounted DemoApp EOF probe now passes without modification; all 30 focused UI tests and the scoped TypeScript check pass. Four independent progressive transport probes also pass for abort, EOF, filtered interruption and accepted done. Accepted matched answers still open editable report review; incomplete or unrelated drafts do not.
No remaining source findings in this consumer change. This does not clear integration: paired Howland native decoder/retry/partial-retention proof, reviewed released shared-kit adoption and independent real UI QA remain open. No provider/report send, browser/device acceptance, merge or deployment was performed. Issue different-ai#43 remains open.
Keep arriving demo text provisional until the gateway confirms an accepted terminal reply. On filtered/interrupted/EOF/nonaccepted completion, retain safe partial text with explicit incomplete status, publish no buffered workspace revision, and allow report selection only for a matching positively completed answer. All existing consent, cancellation, quotas and editable report review remain.
Paired with Howland
codex/howland-stream-terminaland Platform-owned guarded output streaming. Source only: no new pin/tag, merge/deployment, real provider/report request or held Work/PDF diagnostic. The actual pinned native decoder/retry integration proof remains a gate in Howland; issue different-ai#43 is not fixed by this change.Validation: 30 focused mock transport/mount tests and scoped demo TypeScript pass. New transport regressions fail on accepted UI baseline33a3f8d. Local dependency symlinks and scoped proof config are untracked test setup and excluded from this PR. Real shared-kit partial/report UI QA remains separate.
The mounted caller EOF recovery bypass found in review is fixed: failed prompt completion keeps the last accepted preview and does not fetch/publish a server-side revision. Accepted-answer editable report review and separate lost-mode-switch recovery remain covered. Source accepted at a5798d6: #12 (review). Full hosted UI/type/contract/CodeQL checks pass; shared released-kit and real browser acceptance remain separate.