Repository navigation
Description
Overview
The built-in delivery procedures say what to do and what must never be done, but they do not name the excuses an agent uses to skip a step, nor the signs that it is about to. Addy Osmani's agent-skills (MIT) gives every skill a Rationalizations, Red Flags and Verification triple; it is the most transferable idea in that set and fits the existing rule-include mechanism as one shared fragment.
Problem Statement
Implementing a Task, Reviewing a Task, Addressing Review Findings and Completing a Task each end in a gate (evidence under a ticked item, a full-suite run, a decision per finding), and each states "never weaken a test" in its own words. The wording drifts between procedures, and none lists the specific rationalizations ("it passes locally", "it is only a rename", "the check is flaky") that lead to a skipped gate.
Proposed Solution
- One rule fragment under
packages/agent/src/seeds/rules/, included by the four procedures, holding a short Rationalizations list (excuse, then the rebuttal), a Red Flags list, and a Verification statement of what evidence counts. - The fragment is short. Procedures are read by small local models as well as external agents, so length is a cost; the fragment does not restate steps a procedure already has.
- Each procedure keeps its own steps and points to the fragment instead of restating the weakened-check rule.
Documentation
- seeded-nodes.md "Procedure rules" and the include tests - a rule is included by at least one skill, and both audiences reach it through the same include
- ADR-092 delivery procedures table - add the source (
addyosmani/agent-skills, MIT licence, copyright 2025 Addy Osmani) to the rows it touches - ADR-064 - which channel carries instructions
- Updates: the ADR-092 delivery table rows
Architecture Impact
Extends ADR-092's provenance table with a second source; no new type or relationship. Companion nodespace-docs edit required; no new ADR.
Acceptance Criteria
- One shared fragment holds the rationalizations, red flags and verification statement
- Implementing a Task, Reviewing a Task, Addressing Review Findings and Completing a Task include it and no longer restate the weakened-check rule in their own words
- The fragment reads the same for the local agent and for an external agent (both forms in the seeded-nodes include tests pass)
- The attribution lines name the source and its licence and copyright
- The prompt snapshot golden is regenerated and its diff reviewed
-
eval:tasksand the skill-retrieval confusion matrix show no regression - Code passes
bun run quality:fix
Technical Specifications
Reference Files
packages/agent/src/seeds/rules/- existing fragments, such asapproval-ask-first.mdandask-decision-brief.md, for the formpackages/agent/src/seeds/skills/implementing-a-task.md,reviewing-a-task.md,addressing-review-findings.md,completing-a-task.mdpackages/agent/src/skill_pipeline.rs- where includes are resolved
Implementation Details
- Read Osmani's skill files for the actual wording before adapting; this issue was written from his repository summary.
- Keep the project's wording: evidence is the failing run and the passing run, not "tests pass".
Related Issues
- The local agent does not follow the task procedures (eval:tasks fails 4 of 5 scenarios) #3784 (the local agent does not follow procedures; a longer procedure is a risk, so measure)
- Proportionality in the review loop: severity tiers, delta re-review and a re-review recommendation #3795 (the review procedures are edited there too)
Non-Goals
- Adding the fragment to graph-editing, schema or other non-delivery skills
- A rule that checks an agent's behaviour (ADR-097 records why that is not built)
Activity
malibio commentedon Oct 13, 2026
Evals for PR #3805 (isolated daemon, NODESPACE_HOME=/tmp, gemma-4-e4b-q4km, purge between reps). eval:tasks, branch, --runs 3: 1/5 each rep (only bug-not-reproducible passes; the other four fail identically every rep). Baseline with main's procedures: rep 1 scored 0/5, with the same four failures plus bug-not-reproducible writing a node; the uniformity guard then aborted the run (exit 2), so no 3-rep baseline file. The four failing scenarios exercise Creating a Task and Answering a Question, which this change does not touch, so eval:tasks cannot show a delivery-procedure regression either way; no regression observed. Skill confusion matrix (skill_confusion_matrix::, both tests): passed, ranks asserted and the recorded digest matches the seeded text. Prompt snapshot goldens: regenerated, no diff.
Add a shared delivery-gates rule to the delivery procedures (closes #…