← Back to Pull requests

docs: Update AGENTS.md for spec-driven-development #31

Merged
codebot-robot merged 1 files (7 lines) on Apr 22, 2026 02:12 UTC
View on GitHub
codebot-robot codebot-robot commented on Apr 22, 2026 01:33 UTC
Author

Fixes #30

Adds instructions for the spec-driven development process to AGENTS.md, ensuring agents generate specs, plans, and build steps sequentially and refer to the issue correctly.

This addresses issue #30.

Diff: 7 lines (+7 / -0) across 1 files Reviewer: mtaufen Review duration: 38m
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.15) × (1 − Review Confidence (0.79)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.15 · 7 lines diff across 1 files
0.15
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.81 · 1 substantive comment(s)
0.81
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
79%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.124
Real PR Conversation Timeline
3 items
mtaufen mtaufen commented on code on Apr 22, 2026 02:06 UTC
Code Review
AGENTS.md:1
@@ -19,3 +19,10 @@ This file contains notes and instructions for AI coding agents (like yourself) w
 6. **Agent Definitions:** Agents are defined in the `.agents/` directory. Each agent has a subdirectory with an `agent.md` file that specifies its instructions and metadata. The file format is Markdown with YAML frontmatter. The frontmatter MUST contain `name` and `description` fields, and should also specify `model` and `tools`. The `name` MUST match the directory name. The body of the file is the system prompt/instructions for the agent. The top-level agent is responsible for scanning and orchestrating these agents.
 7. **Event Triggers:** Agents can be triggered by GitHub events. Note that `@codebot-robot` is the current robot to add to trigger things. For example, assigning an issue to the robot triggers it to solve the issue. Requesting a PR review from the robot triggers the `reviewer` agent to auto-review and approve the PR.
 8. **Resolving Review Comments:** When addressing review comments on a Pull Request, you must resolve the comment threads after pushing your changes. Use the github MCP server tools or the `gh` CLI to resolve them.
+9. **Spec-Driven Development:** When working on issues, agents should automatically follow the spec-driven-development process:

Add some criteria for task complexity here, since smaller tasks usually don't need a separate spec.

mtaufen mtaufen approved these changes on Apr 22, 2026 02:11 UTC
Approved Reviewer

Approved these changes.

Reviewers
Assignees
codebot-robot codebot-robot
Labels
risk: low confidence: 79.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 15.4% (LOW) · Higher = larger blast radius
15.4%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 79.5% · Lower = rushed or shallow review
79.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 3.2% · Safe to merge
3.2%