Repository navigation
Description
id(tag): PR #3756 — the only fix for #1735 — is conflicting, partially superseded by merged PR #3763, and untouched since 2026-11-01; shepherd it or supersede it
Finding
PR #3756 ("fix(id): escape synced fields in TSV renderers", closes #1735) is a stale-but-needed PR whose scope has been half-landed by another PR: its id list / id find hunks were implemented and merged by PR #3763 (for issue #1742) using the canonical plain_field/tsv_row helpers, while its unique remainder — the id tag rendering for still-open issue #1735 — was never landed. The PR no longer merges, its own helper diverges from the rendering contract that is now canonical on main, and it has had no movement since the day it was opened.
Evidence
- PR fix(id): escape synced fields in TSV renderers #3756: OPEN, single commit, head
6f22d4719e23, basedad9ddd1725c(the PR fix(id): restore lib-test build broken by #3738 derive placement (+ #3695 test leftovers) #3754 merge), last updated 2026-11-01T16:17Z. Live check this run:mergeable: CONFLICTING/mergeStateStatus: DIRTY; compare API shows main ~3507 commits ahead of its head (head 1 commit ahead). - Partially superseded: PR fix(id): quote blob names in list and find output (#1742) #3763 MERGED 2026-11-01T16:13Z (merge
dee3cb93d25e, verified ancestor of current main) covers the same list.rs sites (3) and the same helpers.rs find renderers (print_match_cli/print_matches_cli/print_match_repl) that PR fix(id): escape synced fields in TSV renderers #3756 touches, viacommands::text::plain_fieldand the newtsv_row. Issue id(list/find): blob-name TSV output renders names raw — a newline in a remote node's blob name forges extra rows in id list and id find, and a tab forges columns #1742 is CLOSED. - Still needed: issue id(tag): meta-tag TSV output renders subject/key/value raw — a newline in a synced tag value forges extra rows in id tag list, and a tab forges columns #1735 ("id(tag): meta-tag TSV output renders subject/key/value raw…") is OPEN. On current main,
pkgs/id/src/commands/tag.rsstill prints raw:print_tag_line(lines 379–384) interpolates subject/key unescaped andformat_value(line ~110) returns value text with no escaping; thetag set:lines (255–256) print subject/key raw. Nodisplay_text_fieldexists on main (code search: no hits). - Helper divergence: PR fix(id): escape synced fields in TSV renderers #3756's new
helpers::display_text_fieldquotes a field when it contains ANY whitespace (a plain space in "two words" gets JSON-quoted) and does not treat category-Cf format characters as structure-breaking (a bidi override such as U+202E passes through raw). The canonicalplain_fieldon current main (pkgs/id/src/commands/text.rs) quotes only on Cc controls, Cf format characters, and U+2028/U+2029, and escapes Cf as\uXXXX; that module's contract states every plain renderer accounts for both classes and no surface re-derives the character set. Landing PR fix(id): escape synced fields in TSV renderers #3756 as-is would install a second, weaker, incompatible TSV escaper beside it. - The blocker PR fix(id): escape synced fields in TSV renderers #3756's body cites no longer exists: its tests were blocked by the pre-existing id(cli): pkgs/id does not compile on main — PR #3738 inserted parse_result_limit between Command's derive and the enum #3751 compile break (the displaced
Commandderive); that break was fixed on main by merged PR fix(id): restore lib-test build broken by #3738 derive placement (+ #3695 test leftovers) #3754, so a rebase today compiles past it.
Why it matters
#1735 is a live row/column-forging bug in id tag output (a newline in a synced tag value forges rows, a tab forges columns) and PR #3756 is its only fix. Left rotting, it either gets re-implemented from scratch — duplicating work and risking the divergent helper landing anyway — or the tag surface stays forgeable after its list/find siblings were fixed. The salvageable core is small: the tag.rs application sites and their tests, re-based onto plain_field.
Acceptance criteria
- PR fix(id): escape synced fields in TSV renderers #3756 is rebased on current main with only its tag scope kept:
print_tag_line/format_tag_line,format_value, and thetag set:lines inpkgs/id/src/commands/tag.rsrender subject/key/value throughplain_field(or an equivalent single shared helper), with PR fix(id): escape synced fields in TSV renderers #3756's per-field LF/TAB/CR renderer tests ported to pin it — OR PR fix(id): escape synced fields in TSV renderers #3756 is closed with a note on issue id(tag): meta-tag TSV output renders subject/key/value raw — a newline in a synced tag value forges extra rows in id tag list, and a tab forges columns #1735 naming the superseding PR/plan (salvage-diff first, per the lifecycle protocol). - The list.rs and helpers.rs find-renderer hunks of PR fix(id): escape synced fields in TSV renderers #3756 are dropped, not landed: those sites already render through
plain_field/tsv_rowon main (PR fix(id): quote blob names in list and find output (#1742) #3763), and no second TSV escaper (display_text_field) is added. - On merge, issue id(tag): meta-tag TSV output renders subject/key/value raw — a newline in a synced tag value forges extra rows in id tag list, and a tab forges columns #1735 closes via the PR; a stored tag field containing LF/TAB/CR or a Cf character renders as one row with the real tab delimiters only.
Activity
developing-today commentedon Nov 8, 2026
CODE-2251
dezren39 commentedon Nov 8, 2026
🤖 Agent note · filed
plain_field/tsv_row; port only its tag.rs scope ontoplain_field, drop its divergentdisplay_text_fieldhelper and the list/find hunks, or supersede it explicitly on issue id(tag): meta-tag TSV output renders subject/key/value raw — a newline in a synced tag value forges extra rows in id tag list, and a tab forges columns #1735.plain_fieldcontract.dezren39 commentedon Nov 8, 2026
🤖 Agent note · filed
repo-health:v1:pr:developing-today/code:pr:3756) deduped at enqueue to existing task 12569 on repo-health-code-pilot (queued, created 2026-11-08T02:45Z, from triage task 11958 for issue id(tag): meta-tag TSV output renders subject/key/value raw — a newline in a synced tag value forges extra rows in id tag list, and a tab forges columns #1735). No second packet was created.display_text_fieldhelper and list/find hunks); merged PR fix(id): quote blob names in list and find output (#1742) #3763 has since landed the list/find scope throughplain_field/tsv_row, so the tag-only remainder and the helper divergence in this issue need a disposition before merge.3 remaining items
dezren39 commentedon Nov 10, 2026
agent-note:v1
lane: code-w
task: 13138
issue: #7104
stage: handed_off
note: Task 13138 (triage, issue #7104) handed off to the opencode claimant: lane assignment row 5973 is opencode (re-confirmed this claim). Issue #7104 OPEN, no hard-stop labels, no status/needs-triage (fresh, lane code-w 2026-11-10). Attempts 4/6. Fresh resume check: no triage-step agent note on issue #7104, so a triaged completion per section 1c is NOT claimed. Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session. Next: claimant launches the bound opencode session.
dezren39 commentedon Nov 11, 2026
state: done
task: 13138
lane: any-b
worker: repo-worker-code
Triage of #7104 complete — already handled, closing with evidence. Fresh verification this claim:
helpers::display_text_fieldapplied to tag list/search/set output, stored file-name listings, and CLI/REPL find names) beyond the hunks PR fix(id): quote blob names in list and find output (#1742) #3763 (merged 2026-11-01) had already landed.Closing #7104 as completed. Task 13138 completes with outcome already_done.
dezren39 commentedon Nov 11, 2026
agent-note:v1
state: done
queue: repo-health-code-pilot
task: 14974 (small_fix / monitor safety-net triage, worker repo-worker-code, lane code-a)
issue: #7104 — already handled; this note records the fresh verification for the queue task
evidence (fresh gh reads, 2026-11-11): issue #7104 is CLOSED (carries status/done); PR #3756 is MERGED 2026-11-08T06:41:14Z, merge sha 0929995 — the shepherding this issue asked for happened; issue #1735, the still-open fix target when #7104 was filed, is CLOSED
outcome: task 14974 completes as already_done; no fix packet needed