Skip to content

Add ratchet for reviewed Markdown documents - #129

Merged
stef-k merged 2 commits into
mainfrom
feature/128-markdown-document-ratchet
Sep 6, 2026
Merged

Add ratchet for reviewed Markdown documents#129
stef-k merged 2 commits into
mainfrom
feature/128-markdown-document-ratchet

Conversation

@stef-k

@stef-k stef-k commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Reviewed oversized Markdown documents currently repeat REVIEW on every scan. Add a separate source-controlled document-size ratchet: an accepted 845-line document passes unchanged or smaller, while growth beyond its allowance returns REVIEW. New paths use ordinary thresholds, and section findings remain independent.

  • Add explicit create/update commands and a strict Markdown baseline schema. Updates only lower or prune existing allowances; normal analysis never writes them.
  • Share filesystem safety with the LOC workflow and retain baseline context in human/full JSON output.
  • Update README, CLI help, affected guidance across /docs, skill instructions, Markdown policy, and changelog. Preserve historical research evidence.
  • Keep section ratchets out of scope because stable section identity needs separate design.

Validation: 333 tests pass against a fresh wheel installation; compileall and git diff checks pass. Independent code/documentation review found no blockers. Code Guard covered all 18 changed files: accepted runner LOC, parser length, and analysis orchestration length/complexity REVIEW findings; no FAIL or INCOMPLETE results.

Closes #128.

@stef-k
stef-k merged commit b2b1cab into main Sep 6, 2026
14 checks passed
@stef-k
stef-k deleted the feature/128-markdown-document-ratchet branch September 6, 2026 13:57
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.

Add ratchet support for Markdown size review guards

1 participant