Skip to main content

review-workflow

A review workflow has Knot critique your documents as they change: a knot watches a directory, and every file you save triggers a fresh AI review appended to its tie-off. This is the most common shape — a standing reviewer that never gets tired and never loses the thread, because its memory is the tie-off file and git.

Walk it with your agent. Assumes Knot is set up and a rig is initialised (see Getting Started).

The journey​

1. Ask for a reviewer role​

"Create a profile called reviewer — a thorough technical reviewer who gives specific, actionable feedback. Use my local model."

Your agent runs knot-create and writes the profile into rig/profiles/. Profiles are shared: every review knot can reference the same one.

2. Ask for the review loom​

"Create a prd-review-loom with two knots: goals-review, which checks that each PRD's goals are specific, measurable, and aligned with the problem statement; and non-goals-review, which checks that scope boundaries are defined and exclusions justified. Both watch project/prds/ and use the reviewer profile."

What you see: two small wiring files appear under rig/prd-review-loom/. Both knots watch the same strand directory — one PRD change now fans out to both reviews. The knot-design guidance keeps them one-goal-per-knot: if a knot wants to review everything, your agent will push back and split it.

3. Drop in a document​

"Write a PRD for <feature> into project/prds/, then watch the rig process it."

Writing the file is itself the dispatch (your agent can also re-run a review without changing the file via knot-dispatch).

What you see: both knots fire; two tie-off files appear under tie-offs/rig/prd-review-loom/, one per knot, each accumulating a dated section per review; a git commit lands with the results.

4. Read the reviews — or ask for a verdict​

Open the tie-offs, or ask:

"Review the rig's work — are the reviews substantive, or is the rig rubber-stamping?"

Your agent runs knot-manage: tie-off quality, whether the producer→consumer chain actually communicated, and whether the commits are meaningful.

The one design caution: reviews must be idempotent​

A knot can re-trigger from the same strand — on every save, on a restart, on a re-dispatch. So the knot must review the current state of the document, not accumulate commentary across runs: "provide feedback on the current content" is idempotent; "add to your previous feedback" is not. Each run appends a new tie-off section — that append-only history is the audit trail, not duplicated feedback. The knot-design skill encodes this; knot-lint flags knot files that have drifted into procedure.

Where the details live​

  • Knot and profile file formats: the knot-create skill (just ask your agent to change something).
  • Idempotency, naming, loops: the knot-design skill, summarised in the Design Guide.
  • Event-driven variants (e.g. a knot that reacts only when a review finds a blocker): knot-create's event catalog and knot-design's loop discipline.