Skip to content

docs(agents): persist independent review reports - #2166

Open
josecelano wants to merge 7 commits into
torrust:developfrom
josecelano:2160-2003-persist-independent-agent-review-reports
Open

docs(agents): persist independent review reports#2166
josecelano wants to merge 7 commits into
torrust:developfrom
josecelano:2160-2003-persist-independent-agent-review-reports

Conversation

@josecelano

Copy link
Copy Markdown
Member

Summary

  • add a reusable template for chronological issue-local independent-review reports;
  • require Complexity Auditor, Task Reviewer, and PR Reviewer to create or append reports for supplied folder-style specifications;
  • grant Complexity Auditor the edit tool and document caller-to-Committer ownership for report commits;
  • add a portable structural contract test and exercise the first two sequential report entries for issue Persist Independent Agent Review Reports #2160;
  • retain Copilot Suggestions Handler's separate PR-thread tracker workflow.

Validation

  • bash contrib/dev-tools/checks/tests/test-agent-review-report-contract.sh
  • ./contrib/dev-tools/git/hooks/pre-commit.sh --format=json
  • linter all
  • cargo test --doc --workspace
  • Complexity Auditor and Task Reviewer persisted sequential issue-local entries

Closes #2160

Related to #2003

@josecelano
josecelano requested a review from a team as a code owner September 7, 2026 16:28
Copilot AI lite review requested due to automatic review settings September 7, 2026 16:28
@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.97%. Comparing base (85bd335) to head (5778f5b).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2166      +/-   ##
===========================================
- Coverage    84.98%   84.97%   -0.01%     
===========================================
  Files          351      351              
  Lines        29139    29139              
  Branches     29139    29139              
===========================================
- Hits         24764    24762       -2     
- Misses        4020     4022       +2     
  Partials       355      355              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@josecelano josecelano self-assigned this Sep 7, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Adds a standardized, append-only mechanism for persisting independent reviewer reports alongside folder-style issue specifications, and wires that workflow into agent profiles and documentation with a contract-test to enforce structure.

Changes:

  • Introduces AGENT-REVIEW-REPORTS.md template and documents when/where independent review reports must be recorded.
  • Updates reviewer agent profiles and orchestration docs to require creating/appending agent-review-reports.md for folder-style specs.
  • Adds a bash contract test and seeds issue #2160 with sequential sample report entries plus spec progress/AC updates.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/templates/ISSUE.md Adds checklist and guidance to record issue-local independent review reports for folder-style specs.
docs/templates/AGENT-REVIEW-REPORTS.md New reusable append-only report template with required fields and verdict vocabulary.
docs/issues/open/2160-2003-persist-independent-agent-review-reports/agent-review-reports.md Adds initial sequential report entries (Complexity Auditor + Task Reviewer) as evidence for #2160.
docs/issues/open/2160-2003-persist-independent-agent-review-reports/ISSUE.md Updates status/progress, acceptance criteria, and verification evidence to reflect implemented workflow.
docs/index.md Links the new agent review reports template from the canonical templates table.
docs/agents/orchestration.md Updates handoff/ownership tables to include issue-local review reports and optional commit path for failed-review evidence.
docs/AGENTS.md Updates directory map description of templates to include agent review reports.
contrib/dev-tools/checks/tests/test-agent-review-report-contract.sh Adds structural contract test to enforce template/profile requirements and separation from Copilot tracker.
.github/agents/task-reviewer.agent.md Requires persisting review reports for folder-style specs; adds detailed persistence instructions.
.github/agents/pr-reviewer.agent.md Requires persisting PR review reports for folder-style specs; clarifies independence from Copilot tracker.
.github/agents/implementer.agent.md Documents how persisted reports and checkbox updates should flow into the Committer handoff.
.github/agents/complexity-auditor.agent.md Grants edit and adds persistence policy/constraints for issue-local reporting.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/agents/task-reviewer.agent.md Outdated
Comment thread contrib/dev-tools/checks/tests/test-agent-review-report-contract.sh Outdated
Comment thread contrib/dev-tools/checks/tests/test-agent-review-report-contract.sh Outdated
Comment thread docs/agents/orchestration.md Outdated
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.

Persist Independent Agent Review Reports

2 participants