Skip to content

Guard the prose-only delete-a-schema content; mark pre-ADR-112 ablation goldens - #4387

Merged
mstomar125 merged 1 commit into
mainfrom
issue-4360-drift-guard
Nov 26, 2026
Merged

mstomar125 merged 1 commit into
mainfrom
issue-4360-drift-guard

Conversation

@mstomar125

Copy link
Copy Markdown
Contributor

The CLI prose form of delete-a-schema still carries the mirror-of-targetType explanation, the instance-data scoping note and the extends exception, which the in-app form dropped in #4357 and which are therefore outside the shared anchors. PROSE_ONLY_ANCHORS now holds them as a prose-only check (prose_only_anchors_stay_in_the_prose_form).

The 15 ablation goldens whose text still teaches the retired key prefix are frozen experiment records. Each now starts with a # pre-ADR-112 record line, and ablation_goldens_with_custom_prefix_are_marked_pre_adr_112 fails for any such golden without it.

packages/agent lane: signed off by the owner for this batch. Not security-sensitive.

Tests and mutation checks (each run on its own):

  • prose_only_anchors_stay_in_the_prose_form: changed "instance data" to "instance rows" in the prose seed, test fails naming the missing anchor; restored.
  • ablation_goldens_with_custom_prefix_are_marked_pre_adr_112: stashed the golden edits, test fails listing 15 files; restored.
  • cargo test -p nodespace-agent --lib skill_rules 23 pass, bun run quality:fix, bun run test:changed pass.

Closes #4360

🤖 Generated with Claude Code

…s that teach the old key prefix

The prose form of delete-a-schema keeps the mirror-of-targetType explanation,
the instance-data scoping note and the extends exception, which the in-app form
no longer says and so are outside the shared anchors. A prose-only anchor list
holds them in the prose form. Each ablation golden whose text still teaches the
retired key prefix starts with a pre-ADR-112 record line, and a test requires
it.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@mstomar125
mstomar125 force-pushed the issue-4360-drift-guard branch from d9e5ee6 to 8a6baab Compare November 26, 2026 10:38
@mstomar125
mstomar125 merged commit 61fb231 into main Nov 26, 2026
@mstomar125
mstomar125 deleted the issue-4360-drift-guard branch November 26, 2026 10:38
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.

Schema Creation prose form lost its drift guard; remaining ablation goldens carry the old custom: wording

1 participant