Skip to content
SprecherEast
Issue 775

process: Close four small gaps in the repository-wide knowledge-sync check

Back to our plan
Open
ciprocesspriority: low

Problem

The review of PR #773 (the repository-wide knowledge-sync check) left four small gaps in the check. None blocks the check; each can let a change through without the declaration or ask for one when it is not needed.

Proposed fix

  1. Treat a patch with no @@ hunk header as behavior, not exempt (GitHub always sends headers, but "unsure means required").
  2. Make the named-doc check understand a full GitHub URL to a doc, a relative ../docs/... link, a path with an #anchor, and a root file with no slash such as AGENTS.md.
  3. Treat a dropped semicolon before a line that starts with ( as behavior.
  4. Let a Knowledge line cite a doc that already describes the change without forcing it into the diff, if the owner wants that (decide in the PR; the current rule is stricter).

Acceptance criteria

  • Each case has a failing test first, then passes.
  • The decision 0019 wording still matches the code.
  • npm run agent-context stays under budget.

Area

ci

Priority

priority: low

Follow-up to #770 and PR #773.


Generated by Claude Code, opens in a new tab

See it on GitHub, opens in a new tab