Repository navigation
Conversation
- move: list links that name a moved doc by full address (a URL or file:///) for review (hazard H13) - init: allow a protected doc at the docs root in rootAllowed; warn when Biome would reject the comments in docs-kit.json - check: the exports error says an exports/ folder is not allowed - /docs-kit-reorg: generators before moves; keep folders that hold a protected doc; archive is never a subject; "cannot move" vs "kept by choice"; tell the owner about code files changed only in a doc path - DESIGN: H13, move step 10, Trial 2 result Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Sujit Gangadharan <gsujit@gmail.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes from Trial 2 (DESIGN §10, "Trial 2 result").
movelists links that name a moved doc by its full address (a GitHub URL to the repo's own file,file:///) underREVIEW(hazard H13). It does not rewrite them.initadds a protected doc at the docs root torootAllowed, so the check can pass without moving it.initwarns when the repo uses Biome, which rejects the comments indocs-kit.json.check: the exports error says anexports/folder is not allowed, instead of reading as if it were missing./docs-kit-reorg: generator slice before the moves, largest move last; keeps folders that hold a protected doc; never listsarchiveas a subject; gives each kept doc a reason ("cannot move" or "kept by choice"); tells the owner which code files changed only in a doc path, because a doc-sync gate may report them.Not here: the doc-sync gate's false positive on path-only comment changes. That fix belongs in govkit.
Tests: 133 pass. Each new guard was broken on purpose and a test caught it.
🤖 Generated with Claude Code