Repository navigation
Description
Part of #3596. Confirmed at main 63bb400.
outputTaintSignals (packages/ui-server/src/activity/ingestion-taint.ts:185-214) flattens structured filenames into content lines and splits each at its first colon. A structured Glob filename notes/voyage:home.md is looked up as notes/voyage; that prefix passes the path check, so neither its explicit mark nor an unknown remainder is retained.
A real writer/collector test marks the full filename and returns it from a root-level structured Glob. STRUCTURED_COLON_PATH_RETAINS_EXPLICIT_MARK fails because no user_marked occurrence exists.
Acceptance criteria:
- Keep structured path fields as exact filenames, including colons, when checking area membership and explicit marks.
- Parse actual grep path/line formats separately; ambiguous, malformed or truncated output must retain unknown coverage rather than silently trusting a plausible prefix.
- Preserve distinct paths, independent area and explicit-mark signals, truncation and all existing finite bounds.
- Add failing-first and mutation receipts plus real collector/writer coverage of structured and plain tool output.
This restores the existing detector contract; no trust exemption or wire change.
2026-11-20 contract correction (maintainer-approved): the fix adds an optional sixth outputStatus argument to BackendBridge.inputSafety.result, with explicit completeness and optional process-status fields. SDK minor changeset, package API documentation and regenerated API report are required. No provider-facing tool definition/schema or prior provider-history bytes change.
Activity
schlessera commentedon Nov 20, 2026
Claim
safety-epic-followups-20261120, branchfix/safety-epic-followups-20261120, dedicated checkout from main63bb400b31403ee319926d38e223711a9bf0e7e1. Failing-first real writer/collector and held-wait backend tests confirm the issue. Shared proof collisions are being checked; proposed implementation avoids #4270/#4273's source files, with any necessary shared contract edit to be coordinated before review.