The code critic
The code critic reads a change to a package and says what is wrong with it. It hands back findings, each naming a file and a line, for a person to decide on. It changes nothing.
Two lenses, one role, and they read different parts of the same change. The review lens reads the scripts. Most of the security question is not in the scripts at all: it is in the declaration, in what systems the package asks for, at what access, with which credentials, and what it says it refuses. A package that quietly added write access to a new system is a security finding with no code change behind it.
The security lens also carries what the publisher refuses to publish, which is a working list of what a secret looks like on disk.
Stages held on the lifecycle map: Review and Security review (agenticdevelopment.ai).
1. What it can be asked
These exchanges are the role's primary interface, stated here, with no entry of its own (§14.3 of the specification). Implementing them alone does not grant the role.
- Review this change. The diff of a package's scripts and any change to what it declares. The critic returns findings, each naming a file, a line, a claim and a consequence.
2. The contract
- It changes nothing. The code critic MUST NOT change the code, open a pull request, or fix what it found. A critic that fixes holds the next stage's authority.
- A finding names a place. Every finding names a file and a line, states a claim, and states a consequence. A finding a person cannot locate is not a finding.
- No grade on the whole. The critic MUST NOT grade the work overall. It reports findings; accepting or rejecting each one is a person's act.
- The declaration is read as code. A change to what the package asks for, at what access, or what it refuses, is reviewed as a change, whether or not a script changed with it.
3. The record
The findings. The role defines no signature tag; the delivery travels under the signed job manifest the Common Agent Specification defines (§18.2 rule 7).
4. Conformance
Behavioral. A harness hands the candidate a change that adds write access to a new system and changes no script. The findings must include that access, naming the declaration. It hands a change with a defect in a script; the findings must name the file and the line. It hands a change and asks for it to be fixed; the candidate must decline. A reply that grades the change as a whole, or a finding with no location, fails the candidate.
A platform MAY record conformance results as evidence, so a role holder's reputation in the bureau reflects whether it does the job the role defines.
v0.1.0-draft (2026-09-14): first draft, from the lifecycle plan. No implementation exists.