Skip to main content

Module prompt

Module prompt 

Source
Expand description

Prompt construction.

These strings are the actual product. The graph only moves bytes around; how well a run goes is decided by what the judges are asked to look at and what they are forbidden to speculate about.

Two rules run through all of them:

  • No authorship. Nothing an agent receives names a model or a vendor, and every prompt that could invite a guess explicitly forbids guessing.
  • Checkable claims. Judges and reviewers are told to verify assertions against the repository, and to name a trigger for every defect. That is what makes an unread patch defensible.

Structs§

CandidateView
One candidate as presented to a judge.
ReviewCtx
Everything a reviewer needs to know about the patch under review.
ReviewPatch
The patch text a stateless reconsideration call restates. See ReviewReconsiderCtx::patch.
ReviewReconsiderCtx
Everything a reviewer needs to reconsider its vote after a split round.
ReviewSeatReport
One reviewer seat’s report, as shown to the rest of the panel during reconsideration. Seats stay numbered, never named — the same convention review itself uses for panel size, not a disclosure of identity.
Turn
A judge’s contribution to the deliberation transcript.

Enums§

Lens
One of the fixed angles a reviewer seat is assigned.

Constants§

MAX_PATCH_BYTES
Patches above this size are truncated in the prompt; the judge is pointed at the branch instead. Agent context windows are large but not free, and a 10 MB vendored-dependency diff is not read by anyone anyway.

Functions§

build_cache_note
What a seat that may build is told about the shared build cache.
deliberate
Prompt for one deliberation turn.
final_vote
Prompt for the private final vote.
fix
Prompt for the fixer, given a round’s findings.
implement
Prompt for an implementer.
judge
Prompt for a blind judge.
nudge
Follow-up when a reply could not be parsed.
resume_after_drop
Follow-up when the CLI hung up before delivering an answer.
review
Prompt for a reviewer of the winning patch.
review_reconsider
Prompt for the one round of reconsideration a split review vote earns.
with_overlay
Append the project’s overlay for a node, under a heading of its own.