Skip to content

nxf show points at an item's parents in a neutral line, not an urgent order (nxf 6j6v.jfgy) - #11

Merged
cabcookie merged 2 commits into
mainfrom
fix/jfgy-neutral-parents-notice
Oct 3, 2026
Merged

cabcookie merged 2 commits into
mainfrom
fix/jfgy-neutral-parents-notice

Conversation

@cabcookie

Copy link
Copy Markdown
Member

What

parents_notice — the line nxf show appends for an item with parents, and the same-named --json / facade field — changes from

This item has the following parents: ab12.0001. URGENT RECOMMENDATION: ALSO READ THESE ITEMS TO GET THE COMPLETE PICTURE!!!

to

Parents: ab12.0001 (read for full context)

The field's name, its sparseness (only when the item has live parents) and the parent-vs-contributes_to rule are unchanged.

Why

Reported upstream from the agents project (6gfd.cpw4): in one run two independent agent roles (finisher, integrity reviewer) each flagged the line as a possible prompt injection in the ticket data, and the PM had to defuse it — on practically every child item. Worse, agents learn to skim the urgent line at the end of board output, which blunts them against real injections. Tool output that sounds like an order is a design error in an agent chain. This supersedes the verbatim wording 6j6v.zvd0 specified; the owner approved the change.

Changes

  • crates/facade/src/read.rs — the one generator.
  • Tests: facade read.rs (expected text, plus a new test pinning the principle: no !, no word in capitals — red before, green after); CLI show.rs (the negative checks now look for the new text, so they still mean something); both trycmd goldens.
  • Guide pages crates/cli/docs/guide/{en,de}/commands.md.
  • Changelog fragment, facade: changed (same field and type, new value).

Local: facade --test read 17/17, CLI --test show 7/7 and --test golden green (after rebuilding nxs), docs check and changelog check ok. Clippy and the full suite are left to CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_018Sipejn8YQhKgngxeHpMhT

cabcookie and others added 2 commits October 2, 2026 22:37
… order (nxf 6j6v.jfgy)

The parents_notice said "URGENT RECOMMENDATION: ALSO READ THESE ITEMS TO GET
THE COMPLETE PICTURE!!!". Downstream, two independent agent roles flagged it
as a possible prompt injection in the ticket data, and agents learned to skim
the urgent line at the end of board output, which blunts them against a real
one (reported upstream from the agents project, 6gfd.cpw4).

It now reads "Parents: <ids> (read for full context)", in the human output and
in the --json / facade field alike; the field's name and when it appears are
unchanged. This supersedes the verbatim wording 6j6v.zvd0 specified. A facade
test pins the principle itself: no exclamation mark, no word in capitals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Sipejn8YQhKgngxeHpMhT
…p knows the old phrases (nxf 6j6v.jfgy)

- sweep-retired-vocabulary.sh lists the four retired phrases of the old notice,
  each on its own, with the supersession reason (Code Quality #1).
- The facade test now pins the shape as well as the volume: the notice leads
  with `Parents: <ids>` and carries no second sentence after the ids, where an
  imperative could sit. Mutation-checked: "… Read them first" turns it red
  (Test Quality #3).
- The CLI tests share one PARENTS_NOTICE_LEAD: the positive test asserts it is
  present, the negative tests that it is absent, so a rewording cannot leave
  them checking for a string nobody prints (Test Quality #4).
- Two doc comments no longer call the notice "verbatim" (Code Quality #2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Sipejn8YQhKgngxeHpMhT
@cabcookie
cabcookie merged commit 8353060 into main Oct 3, 2026
13 checks passed
@cabcookie
cabcookie deleted the fix/jfgy-neutral-parents-notice branch October 3, 2026 09:08
@cabcookie cabcookie mentioned this pull request Oct 3, 2026
cabcookie added a commit that referenced this pull request Oct 3, 2026
Folds one fragment: nxf show points at an item's parents in a neutral line,
not an urgent order (6j6v.jfgy, PR #11; facade: changed).


Claude-Session: https://claude.ai/code/session_018Sipejn8YQhKgngxeHpMhT

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant