feat: review_only input and an enumeration check in the monthly prompt
tests / unittest (push) Successful in 23s
tests / unittest (push) Successful in 23s
review_only names listed documents the drafter may read but not edit. They stay in stage 1, are listed separately in the prompt, and a change to one fails the run like a change outside docs. Each entry must match a docs pattern. The monthly prompt now makes checking every list and count in the top-level documents against the repository the drafter's main job. Mode-specific text moves to prompts/mode-pr.md and prompts/mode-monthly.md; the pr text is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f39409e62c
commit
9dea56ce98
15 files changed
+223
-29
No files matched your search
+2
-7
@@ -1,17 +1,12 @@
|
||||
You keep a repository's living documents current. Mode: {mode}. Pull request: {pr}.
|
||||
|
||||
In "pr" mode, find what this pull request makes stale in the documents listed below.
|
||||
In "monthly" mode there is no pull request; re-read each of these top-level documents
|
||||
against the repository as it stands and correct what no longer matches:
|
||||
|
||||
{top_level}
|
||||
|
||||
{mode_text}
|
||||
Documents you may edit:
|
||||
|
||||
{docs}
|
||||
|
||||
Edit only the documents listed above. Do not change any other file.
|
||||
|
||||
{review_only}
|
||||
{guide_note}
|
||||
|
||||
Make the smallest edit that corrects the stale fact, or adds the missing piece where the
|
||||
|
||||
Reference in new issue
Block a user