Skip to content

review: chop prompt slop and fake tokens - #68

Open
Octember wants to merge 2 commits into
mainfrom
review/chop-slop
Open

review: chop prompt slop and fake tokens#68
Octember wants to merge 2 commits into
mainfrom
review/chop-slop

Conversation

@Octember

Copy link
Copy Markdown
Owner

Summary

  • First-turn prompt is taste paths + untrusted fences + diff. No verdict lecture, no catch-bugs recap.
  • Spec drops the JSON example and body style guide (schema + rubric own that).
  • Kill tokens~0 plumbing. Docs match the SDK loop.

Test plan

  • bun run typecheck && bun test && bun run lint

Made with Cursor

Octember and others added 2 commits August 30, 2026 23:01
The spec and schema already say what to do. The wrapper was a second spec. tokens~0 was a leftover.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread src/sweep/prompt.ts
</prior_reviews>`
: ''
return `You are a code reviewer. The repo is checked out; read files if you need context. You have no network and no gh. The diff is below. The runner posts your review. Don't edit code.
return `No network, no gh, don't edit. Untrusted fences below.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 · conf 0.78 · src/sweep/prompt.ts:21

this prompt no longer tells Codex to read the taste files; it only drops three paths into the message. The review spec is the owner of the reviewer contract, but the runner still needs the explicit instruction that these paths are required context, otherwise the first turn can review from the diff alone and the curated corpus stops being reliably applied.

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