Skip to content

docs(review): SELF_IMPROVEMENT, AGENTS.md and the knowledge base describe the review loop as it runs #952

Closed

Description

@dan-petty

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.md says:
    • devops review verify is automated verification, when it records a person's verdict;
    • performance and sre personas 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.md is sent.
  • AGENTS.md:
    • :204, :302 and :423 say the export grounds RAG and refines prompts;
    • :302 tells agents to record verdicts, which are stamped human;
    • :129 says to add tasks to docs/ROADMAP.md, against ADR 0001;
    • :411 says 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 verify index;
    • review branch --export-md;
    • devops benchmark suite;
    • RAG grounding.
  • CONTEXT.md:132 says "mitigated (fixed)", while the verifier uses MITIGATED to mean "a guard limits it".
  • docs/commands/review.md describes --summary and --invalidated behaviours 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.md agree with it;
    • docs/commands/review.md is regenerated.
  • A docs-claims test:
  • 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 ci passes.

Key questions

Activity

  1. added this to the v0.2.25 milestone on Oct 2, 2026
  2. added
    type/docs
    scope/review
    priority/p2-medium
    on Oct 2, 2026
  3. dan-petty commented on Oct 3, 2026

    @dan-petty
    OwnerAuthor

    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.

  4. added a commit that references this issue on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p2-mediumscope/reviewtype/docs

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions