Commit 7d711c9
fix(metadata-protocol): the unanswerable-target refusal opens with prose, not a reader-less machine tag (#16244)
* fix(metadata-protocol): the unanswerable-target refusal opens with prose, not a reader-less machine tag (#16145)
`findReferencesToMeta` refused an unanswerable TARGET type with a message
opening `[unanswerable_target]`. Since #15685 the `/references` door relays
that prose verbatim, so the tag became the first thing an operator reads on
the screen where they decide whether to delete something.
Measured across both producer files: of 31 bracketed-tag throw sites that
declare a `code`, 30 spell the tag as the lowercase restatement of their OWN
declared code (`[item_locked]`/`ITEM_LOCKED`, `[no_draft]`/`NO_DRAFT`, …).
This one is the sole exception -- its code is `NOT_IMPLEMENTED`, so the tag
restated nothing the envelope carries, and it has zero readers repo-wide.
Per the 2026-08-29 ruling behind #12975, `error` is HUMAN LANGUAGE and `code`
is the MACHINE TOKEN.
No status, code or envelope position moves. The absence is now pinned, since
nothing pinned the tag and therefore nothing pinned its removal either.
Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ
Co-authored-by: Claude <noreply@anthropic.com>
* changeset: metadata-protocol patch for the unanswerable-target refusal prose (#16145)
Claude-Session: https://claude.ai/code/session_01ARYe3yQTQCUFm5qPYNgKaJ
Co-authored-by: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 7778115 commit 7d711c9
3 files changed
Lines changed: 58 additions & 1 deletion
File tree
- .changeset
- packages/metadata-protocol/src
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
104 | 132 | | |
105 | 133 | | |
106 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21605 | 21605 | | |
21606 | 21606 | | |
21607 | 21607 | | |
| 21608 | + | |
| 21609 | + | |
| 21610 | + | |
| 21611 | + | |
| 21612 | + | |
| 21613 | + | |
| 21614 | + | |
| 21615 | + | |
| 21616 | + | |
| 21617 | + | |
| 21618 | + | |
21608 | 21619 | | |
21609 | 21620 | | |
21610 | 21621 | | |
21611 | | - | |
| 21622 | + | |
21612 | 21623 | | |
21613 | 21624 | | |
21614 | 21625 | | |
| |||
0 commit comments