Repository navigation
Closed
Labels
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/docsType docs: a change to the documents
Milestone
Description
Problem
The documentation of the review and self-improvement loop describes mechanisms the code does not have. Found while analysing review session 20261001-224227 (2026-10-02).
docs/SELF_IMPROVEMENT.mdsays:devops review verifyis automated verification, when it records a person's verdict;performanceandsrepersonas exist, and the default is an ensemble;- there is a 5-phase protocol;
- the export has developer overrides and diffs, and goes to
.data/agent/…; - false patterns are folded into
common_hallucinations.json; - reviewers cross-reference the catalog;
- the export appends;
- five metrics exist that do not;
- learned entries change later verdicts;
- the shared prompts are project-agnostic;
review_output_instruction.mdis sent.
- AGENTS.md:
:204,:302and:423say the export grounds RAG and refines prompts;:302tells agents to record verdicts, which are stampedhuman;:129says to add tasks todocs/ROADMAP.md, against ADR 0001;:411says CVE citations must come from scanners, which nothing enforces.
- The knowledge base (
tasks/ai_code_review.md,topics/agentic_ai_and_code_reviews.md) cites:- a positional
verifyindex; review branch --export-md;devops benchmark suite;- RAG grounding.
- a positional
CONTEXT.md:132says "mitigated (fixed)", while the verifier uses MITIGATED to mean "a guard limits it".docs/commands/review.mddescribes--summaryand--invalidatedbehaviours that do not happen.
Acceptance criteria
- The docs describe the code. After the review-loop items in this release land (the criteria and evidence rules, report integrity, adjudication, learning, prompts and isolation):
docs/SELF_IMPROVEMENT.md§1, §3, §4 and §5.6 describe the loop as it runs, with file anchors;- AGENTS.md's review lines, the knowledge-base pages and
CONTEXT.mdagree with it; docs/commands/review.mdis regenerated.
- A docs-claims test:
- every metric named in SELF_IMPROVEMENT §4 exists in
telemetry/instruments.py; - every
devops review …example indocs/and the knowledge base parses with the Typer app (extending fix(ai): the knowledge base names only commands, options and components that exist #920's command-resolution test if it has landed); - every dataset path named in docs is the one the exporter writes.
- every metric named in SELF_IMPROVEMENT §4 exists in
- Calibration record. A dated entry in SELF_IMPROVEMENT records session
20261001-224227:- 563 reported, 489 false, 46 confirmed (none above MEDIUM), 163 of 178 VERIFIED false;
- the failure counts the prompt A/B measures.
uv run devops cipasses.
Key questions
- Does this overlap docs(agents): instruction surfaces state only what is true, and
devops ai agentsnever overwrites AGENTS.md #840, fix(ai): the knowledge base names only commands, options and components that exist #920 or docs: hand-written docs name only commands, options and components that exist #921? They fix other parts of AGENTS.md, the knowledge base and the hand-written docs. This item owns the review-loop pages. It lands last in this release, after the code it describes.
Metadata
Metadata
Assignees
Labels
priority/p2-mediumPriority P2: standard workscope/reviewMulti-persona code review engine, verification, and findingstype/docsType docs: a change to the documents
Type
Projects
- StatusShow more project fieldsDone
Activity
docs(review): SELF_IMPROVEMENT, AGENTS.md and the knowledge base desc…
dan-petty commentedon Oct 3, 2026
Closed by #1095, merged into
release/v0.2.25.GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by
devops gh issues close-merged.feat(release): v0.2.25 (#1089)