Skip to content

docs: mark reviewer contract for cross-repo sync#28

Merged
avifenesh merged 1 commit into
mainfrom
docs/reviewer-contract-marker
Apr 26, 2026
Merged

docs: mark reviewer contract for cross-repo sync#28
avifenesh merged 1 commit into
mainfrom
docs/reviewer-contract-marker

Conversation

@avifenesh

@avifenesh avifenesh commented Apr 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds REVIEWER-CONTRACT-VERSION: 1 marker as a JS comment block above the baseReviewPrompt template literal in commands/audit-project-agents.md
  • Documents in CLAUDE.md and AGENTS.md that the matching block in prepare-delivery/skills/orchestrate-review/SKILL.md must stay in sync
  • No CI enforcement; drift detection is a documented follow-up

Why

The false-positive contract is duplicated in two repos today (audit-project and prepare-delivery). They currently agree in intent but the text is not byte-identical - this copy escapes backticks inside a JS template literal. Rather than move to a shared file (cross-repo dependencies are awkward for plugins) we mark the block and rely on the sync rule in CLAUDE.md/AGENTS.md until CI catches up.

The marker comments live OUTSIDE the template literal so they do not pollute the actual reviewer prompt text sent to subagents.

Matching PR: agent-sh/prepare-delivery#3

Test plan

  • No behavioral change - comments only
  • baseReviewPrompt template output is unchanged (markers are JS comments, not inside the string)
  • Existing tests still pass

Note

Low Risk
Low risk documentation/comment-only change that does not alter runtime behavior, but helps prevent future drift in reviewer prompt semantics across repos.

Overview
Adds an explicit REVIEWER-CONTRACT-VERSION: 1 marker and start/end comment guards around the false-positive contract section of baseReviewPrompt in commands/audit-project-agents.md, documenting that this block must stay semantically synced with prepare-delivery/skills/orchestrate-review/SKILL.md.

Updates AGENTS.md and CLAUDE.md critical rules to require keeping the duplicated REVIEWER CONTRACT text aligned across both locations, noting the current lack of CI enforcement.

Reviewed by Cursor Bugbot for commit 7c204cb. Configure here.

Adds REVIEWER-CONTRACT-VERSION markers in a JS comment block above
the baseReviewPrompt template literal in audit-project-agents.md.
The same contract also lives in prepare-delivery/skills/
orchestrate-review/SKILL.md and the two must stay semantically
in sync (byte-identical is not possible - this copy escapes
backticks inside a template literal).

Comments live outside the template literal so they do not
pollute the actual reviewer prompt text sent to subagents.

No CI enforcement yet - documents the drift risk in CLAUDE.md
and AGENTS.md as a known follow-up. Matching PR in prepare-delivery.
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@avifenesh avifenesh merged commit 0cf0236 into main Apr 26, 2026
5 checks passed
@avifenesh avifenesh deleted the docs/reviewer-contract-marker branch April 26, 2026 17:55
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.

1 participant