De-slop: remove every em-dash + banned words across all modules + capstone (#94)
Sync course wiki / sync-wiki (push) Successful in 4s
Sync course wiki / sync-wiki (push) Successful in 4s
Co-authored-by: claude <claude@jpaul.io> Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #94.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
"""Assistive AI reviewer — local simulation of a PR-reviewer bot.
|
||||
"""Assistive AI reviewer: local simulation of a PR-reviewer bot.
|
||||
|
||||
This stands in for a forge-native reviewer (an app/bot triggered when a PR opens, running on a
|
||||
runner from Module 19) without needing any hosted account. It does the two deterministic halves of
|
||||
the job and leaves the one judgment call — what actually happens to the PR — to you.
|
||||
the job and leaves the one judgment call (what actually happens to the PR) to you.
|
||||
|
||||
python reviewer.py prompt # assemble the prompt: rubric + diff, for the agent to review
|
||||
python reviewer.py apply ai-review.sample.json # ingest the agent's JSON, render it, gate it
|
||||
|
||||
The point of this module: the agent produces comments and a recommendation. It never approves,
|
||||
never requests-changes-as-a-gate, never merges. The `apply` step ends at a HUMAN DECISION, every
|
||||
time. Stdlib only — no pip install.
|
||||
time. Stdlib only, no pip install.
|
||||
"""
|
||||
|
||||
import argparse
|
||||
@@ -68,7 +68,7 @@ def cmd_apply(args: argparse.Namespace) -> int:
|
||||
comments = review.get("comments", [])
|
||||
|
||||
print("=" * 70)
|
||||
print("AI REVIEWER — first pass (advisory only)")
|
||||
print("AI REVIEWER: first pass (advisory only)")
|
||||
print("=" * 70)
|
||||
print(f"\nSummary: {summary}\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user