Repository navigation
Description
Blocked by #4275
Out of scope
Changing the restrictive rule for unresolved filename boundaries, provider-visible tool output, or native isolation.
Context
Part of #3596. The Claude Grep content parser this issue changes is not on main yet. It arrives with PR #4312 (draft, for #4275/#4276). At that PR's head efb101f84, the content helper inside outputTaintSignals (packages/ui-server/src/activity/ingestion-taint.ts:259-271; the candidate regex is at :266) checks every colon-number-colon candidate and sets unknown unless exactly one candidate exists. A row such as notes/loom.md:3:sails at 10:30:00 has more than one possible filename, so it produces unknown coverage under #4275. Every candidate is still checked for marks and areas, so nothing is lost, but ordinary content searches over lines that contain clock times restrict the chat. The final review of #4312 (receipt at head 39aba90ff) filed this as a deferral. On main the parser is the older one (outputTaintSignals, ingestion-taint.ts:178-214), which this issue does not change.
Scope
Disambiguate candidate filenames against host-owned existing-file evidence, while preserving additive marks and restrictive handling of unresolved ambiguity.
Acceptance criteria
- An ordinary clock-time row identifies its existing source without unknown when the other candidates are proven impossible.
- Filenames containing colon-number-colon remain identifiable and retain marks.
- Multiple existing candidates, or unavailable filesystem evidence, retain unknown coverage.
- Every identifiable marked candidate retains its occurrence.
Verification
Table-driven real-shape fixtures, and mutations that remove the ambiguity check or the marked-candidate collection, must fail on the intended assertions.
bun run test packages/ui-server/tests/ingestion-taint.test.tsContract impact
No provider-facing schema or history changes are intended. Record any public API change under the integration contract before implementation.
2026-11-23 triage at main a3395c4: the cited parser exists only on PR #4312's head, so I added Blocked by #4275 and re-anchored the citation to that head. Re-verify ingestion-taint.ts line numbers once #4312 merges. No ruling is needed: the brief is complete and only the dependency remains.
Activity