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
fix(web): do not infer process success from malformed background status details #702
On latest origin/main 3cb2ecf, projectToolEvidence for bg_status accepts status: [failed] through String(status). The strict comparisons then miss failed/killed/timed_out and fall through to returned. Arrays [failed], [killed], [timed_out] and [done] all produce processState: returned, exitCode: 7 in a deterministic production-function probe. This fabricates process completion from malformed tool detail metadata.
Runtime boundary and requirement
A bg_status tool returning successfully is distinct from its inspected process completing successfully. Require a literal known process status before projecting terminal receipt fields, and require safe integer exit codes. Preserve valid done/failed/killed/timed_out/running mapping and ordinary tool-return state, but report unknown process state for malformed receipt details.
Evidence and deduplication
The isolated Node probe imports the production evidence module, with no processes, models, installed runtime or private Session. All-state searches background status array evidence and terminal evidence status validation found no equivalent correction. This is separate from #700 hidden terminal-string display sanitization and #698 persisted turn-change decoding: different triggers, invariants and regressions, with no dependency between branches. Claiming independent fix/web-terminal-receipt-types from latest origin/main.
Evidence record and validation boundary are in the branch docs/research record; targeted regression was red on origin/main and green after the fix. Full local Windows limitations are stated in the PR.
Activity
outlier27-cell commentedon Oct 7, 2026
Evidence record and validation boundary are in the branch docs/research record; targeted regression was red on origin/main and green after the fix. Full local Windows limitations are stated in the PR.