Development record
the escaped key refusal returns through an error message asserting the block is unclosed and the key excluded when neither need be true
the escaped key refusal returns through an error message asserting the block is unclosed and the key excluded when neither need be true
Found by the round-10 adversarial ruthless review of build/itd-183. Pre-existing -- the message is round-8's, and round 10 reintroduced a second caller of it when it restored the line-anchored escape refusal.
excludedKeyInFirstBlock reports every finding through one message:
still carries the excluded key %q at line %d after redaction; the
frontmatter block is not closed the way the field reader expects it
For the escape refusals both halves of that are false. A frontmatter line
spelled "C:\tmp\x": v, with only origin excluded, is refused with a message
naming a key that is not on the exclusion list and a block that is closed
exactly as expected. The real ground is the one unresolvableFrontmatterShape
states honestly for its own class: this package will not resolve a YAML escape,
so the escape is the signal and the answer is a refusal rather than a guess.
Cost is comprehensibility, not safety -- the refusal is correct, its stated reason is not. Remedy: give the escape refusal its own message. Seed material for the exclusion floor's own intent.
Grounds
- pursued: every escaped-key refusal, line-anchored or in a flow mapping, states the escape and the line and never claims an excluded key or an unclosed block; a refusal message asserting either of an escape, or an escape admitted, would show it wrong
Frontmatter
| id | iss-2608301421381157 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2608301421381157-the-escaped-key-refusal-returns-through.md
open on GitHub ↗ · commit history ↗
mentions3
- itd-183The cold reading sees exactly what the assembler passes — positive inclusion, field projection, and a per-run manifest
- itd-194The reading include table admits only what the exclusion floor can read
- spc-2609021003136831The include table declares what the floor parses, the floor refuses the markdown it cannot resolve, and the manifest marks every item it did not examine