AI Native Toolkit · /assess

Assess check reference

Every condition /assess checks, grouped by the truth tag it keeps honest. Each card gives the rule it applies, why it matters and how to fix it.

Generated from the measures catalog, the same data as skills/assess/references/measures.json (catalog version 1, toolkit 5.1.0) by make regen. Configure the checks.

Behaviour #behaviour

That the code's behaviour is checked by something that runs on every change, not taken on trust.

ci-skip-label.1A label skips every CI check
level 1holds gate: ci_runs_testsmeasured · not countedhazard#behaviour
A label skips every CI check on pull requests
Rule
Pull request labels that skip every CI check: is above 0
Why
A label that skips every check lets any pull request merge on a green that no test produced. An agent, or a person in a hurry, needs only to add the label.
Fix
Drop the label condition from the jobs' if: lines, or limit it to jobs that check nothing, such as docs previews. If a skip is needed, scope it with a paths filter so the checks still run on code changes.
Signal
ci_hazards.skip_labels
Scan
ci_hazards · CI that can be told not to fail
ci-test-failures-ignored.1CI ignores test failures
level 1holds gate: ci_runs_testsmeasured · not countedhazard#behaviour
CI ignores test failures
Rule
Committed files that set Maven to ignore test failures: is above 0
Why
With broken tests ignored, the build passes whatever the tests report, so a green run says nothing about the change. A test an agent broke reaches the main branch unseen.
Fix
Remove -Dmaven.test.failure.ignore=true and testFailureIgnore from the CI command, the Jenkinsfile and the poms listed. Quarantine a flaky test by name instead of ignoring every failure.
Signal
ci_hazards.test_failures_ignored
Scan
ci_hazards · CI that can be told not to fail
layer-5-ci.1CI and the agent's local check
level 1gate: ci_runs_testsverified#behaviour
CI runs your tests, and an error stops the job
Rule
CI runs tests on ordinary changes and can stop its job: is true
Why
This turns "the agent says it works" into "CI says it works": tests that can stop their job run on ordinary changes, so a broken change turns the job red where everyone can see it.
Fix
Add a CI step that runs your tests (pytest, npm test, make test) on pull requests, without || true, continue-on-error or allow_failure. A linter alone does not count.
Signal
ci_checks.enforced_test_runs
Scan
ci_checks · CI runs a test or lint command
layer-6-coverage.1Coverage gates and truth pressure
level 1gate: coverage_gateverified#behaviour
CI runs a coverage gate of at least 50 percent
Rule
CI runs a coverage gate of at least 50 percent: is true
Why
An enforced floor turns the job red when a change takes coverage below it, so tests an agent removes or skips show in CI instead of passing quietly.
Fix
Set a fail_under (or your tool's threshold) of at least 50 percent, written as a number, near your current coverage. Run the coverage check in a CI step on pull requests (pytest --cov, not plain pytest), without || true or continue-on-error. Then CI keeps coverage at the level you have reached.
Signal
coverage_gate.enforced_meets_minimum
Scan
coverage_gate · Coverage gate
layer-6-coverage.2Coverage gates and truth pressure
level 2measuredrequires layer-5-ci.1#behaviour
A mutation run has completed
Rule
A mutation run completed: is true
Why
Coverage shows tests run the code; a mutation run shows whether they notice it changing. A completed run names the surviving mutants, which are the tests an agent cannot yet rely on.
Fix
Run the opt-in mutation pass to see which tests pin behaviour.
Signal
test_pressure.mutation_run
Scan
test_pressure · Test pressure
skill-script-tests.1Skill script tests
level 1measured#behaviour
Each skill's scripts have tests beside them (presence, not coverage)
Rule
Skills whose scripts have no tests beside them: is 0
Why
A skill's scripts run with an agent's permissions every time it triggers; tests beside them are the only check that a change still does what the SKILL.md promises.
Fix
Add tests for each named skill's scripts in that skill's own folder (tests/ or test_*.py beside them); where the report finds them elsewhere, move or copy them in, since tests outside the folder do not ship with the skill.
Signal
skill_script_tests.skills_untested
Scan
skill_script_tests · Skill script tests

Also carries this tag, shown under its first tag:

Contracts #contracts

That generated output and its source agree, so an agent editing one does not quietly break the other.

api-compat.1API compatibility checked by CI
level 1measured#contracts#structure
API compatibility checked by CI
Rule
CI runs an API compatibility check: is true
Why
An agent changing code cannot see who depends on its public names. A compatibility tool CI runs against the last release, or a test that pins the exports, turns the job red on a change that breaks a caller, so the contract holds without a reviewer catching it.
Fix
Run a compatibility check in CI: cargo semver-checks, buf breaking or api-extractor run. apidiff only prints a report, so exit 1 when its output lists a change. japicmp needs --error-on-* or a breakBuild* setting. Or run a test that compares the exports with a fixed list.
Signal
api_compat.present
Scan
api_compat · API compatibility checks CI runs

Also carries this tag, shown under its first tag:

Docs #docs

That what an agent reads about the code is still true of the code.

contributor-files.1Contributor files
level 1measured#docs
A newcomer can learn how to send a change
Rule
A contributing guide is committed: is true
Why
A contributing guide tells a newcomer, human or agent, how to build, test and shape a change the way the project merges it, and a security policy gives them a private route for a vulnerability instead of a public issue.
Fix
Commit a CONTRIBUTING.md that says how to build, test and shape a change, at the root, in .github/ or in docs/.
Signal
contributor_files.guide.present
Scan
contributor_files · Contributor files
A newcomer can report a vulnerability privately
Rule
A security policy is committed or shared by the owner: is true
Why
A contributing guide tells a newcomer, human or agent, how to build, test and shape a change the way the project merges it, and a security policy gives them a private route for a vulnerability instead of a public issue.
Fix
Commit a SECURITY.md that says how to report a vulnerability privately, at the root, in .github/ or in docs/, or link GitHub private vulnerability reporting.
Signal
contributor_files.policy.present
Scan
contributor_files · Contributor files
doc-freshness.1Documentation freshness
level 1measured#docs
Most mapped docs keep pace with their code
Rule
Share of mapped docs outrun by their code: is at most 50
Why
An agent reads the docs as true. A doc whose code has moved on misleads it about that code.
Fix
Refresh the docs the report lists under doc freshness.
Signal
doc_staleness.summary.stale_pct
Scan
doc_staleness · Doc staleness
doc-freshness.2Documentation freshness
level 2measured#docs
Four in five mapped docs keep pace
Rule
Share of mapped docs outrun by their code: is at most 20
Why
With four in five mapped docs keeping pace with their code, an agent can take most of what it reads at its word.
Fix
Refresh the docs the report lists under doc freshness, oldest first.
Signal
doc_staleness.summary.stale_pct
Scan
doc_staleness · Doc staleness
docs-kept-true.1Docs and generated files kept true by CI
level 1measured#docs#contracts
Docs and generated files kept true by CI
Rule
A CI check keeps docs or generated files true: is true
Why
A doc or generated file that CI regenerates, verifies or runs as a test cannot drift from the code without a red check, so an agent can read it as true.
Fix
Add a CI step that regenerates the generated files and docs, then runs git diff --exit-code. Or pair each verify script with an update script and run it in CI. Or run the doc examples as tests (pytest --doctest-modules).
Signal
doc_staleness.kept_true.present
Scan
doc_staleness · Doc staleness

Also carries this tag, shown under its first tag:

Structure #structure

That the code is shaped so an agent can work on one part without holding the whole repository in mind.

layer-2-design.1Code design (module structure)
level 1measured#structure
The import graph has module structure
Rule
Import-graph modularity: is at least 0.3
Why
Clear modules let an agent load the part of the code a task touches, instead of tracing the whole repository to change one thing.
Fix
Group related modules into packages that mostly import within themselves.
Signal
structure.modularity_q
Scan
structure · Keyhole blocks: structure
layer-2-design.2Code design (module structure)
level 2measuredrequires layer-2-design.1#structure
Packages import one another
Rule
Cross-package imports: is above 0
Why
A guard for the next condition: with no import between packages, the front-door share reads null by default and says nothing about how packages are entered.
Fix
Nothing to change on its own: this is met once one package imports another.
Signal
structure.cross_package_edges
Scan
structure · Keyhole blocks: structure
Cross-package imports use a package's front door
Rule
Cross-package imports through a package's front door: is at least 0.9
Why
When packages are entered through one public surface, an agent can change a package's insides without breaking callers it never read.
Fix
Import other packages through their public API rather than their submodules.
Signal
structure.front_door_ratio
Scan
structure · Keyhole blocks: structure
layer-3-linters.1Linters run in CI, suppression cap
level 1gate: lintersverified#structure
CI runs a linter or type checker
Rule
A CI line runs a linter on ordinary changes and can stop its job: is true
Why
A linter or type checker in CI catches mechanical mistakes in every change, an agent's included, before a reviewer spends time on them.
Fix
Add a CI step that runs your linter (ruff check ., eslint, mypy, make lint) on pull requests, without || true, continue-on-error or allow_failure.
Signal
ci_checks.lint_runs
Scan
ci_checks · CI runs a test or lint command
layer-3-linters.2Linters run in CI, suppression cap
level 2measuredrequires layer-3-linters.1#structure
Stale suppressions stay at 10 or fewer
Rule
Stale suppression comments: is at most 10
Why
A suppression that survives many edits switches a check off in code that keeps changing, and an agent editing nearby gets no sign the warning still matters.
Fix
Revisit the oldest suppression comments and fix or remove them.
Signal
promissory_markers.families.suppression.stale
Scan
promissory_markers · Promissory markers
Suppression ages can be read from history
Rule
Marker aging is reliable: is true
Why
A guard for the suppression count: on a shallow or squashed history every suppression looks new, so a count of 0 would say nothing.
Fix
Run on a full clone so suppression ages can be measured.
Signal
promissory_markers.aging_reliable
Scan
promissory_markers · Promissory markers
layer-4-architecture.1Architecture boundaries and size
level 1gate: boundariesconfig_only · not counted#structure
A boundary or ownership map names a module path
Rule
Ownership-map patterns naming a module path: is above 0
Why
A map that names module paths tells an agent which code belongs together, and with CODEOWNERS, whose review a change there needs.
Fix
Commit a CODEOWNERS line per module path, or an ARCHITECTURE.md that names module paths.
Signal
structure_drift.tier_0.boundary_patterns
Scan
structure_drift · Structure drift: structure_drift
layer-4-architecture.2Architecture boundaries and size
level 2measuredrequires layer-4-architecture.1#structure
95% of production source files are 500 lines or fewer
Rule
Production source file size at the 95th percentile: is at most 500
Why
With nearly all source files at 500 lines or fewer, an agent can read a whole file before editing it, rather than a slice. Tests and fixtures are counted apart, so many small ones cannot hide a large source file. Generated-header files are left out; Elixir @moduledoc and @doc lines do not count.
Fix
Split the largest files along their natural seams.
Signal
stats_summary.loc_by_class.source.p95
Scan
stats_summary · Run header: stats_summary
repo-guard-tested.1Repo-owned guard is itself tested
level 1measuredrequires repo-guards.1#structure
Repo-owned guard is itself tested
Rule
A repo-owned guard script has its own tests: is true
Why
A guard script with no tests can stop catching anything and still pass, so a green check means less than it says. With its own tests, a change that breaks the guard turns red.
Fix
Add a test file for the guard script, named for it, such as test_check_layers.py beside check_layers.py. Give it one case the guard must reject and one it must pass.
Signal
repo_guards.guard_tested
Scan
repo_guards · Ratchets and repo-owned guards
repo-guards.1Ratchets and repo-owned guards run in CI
level 1measuredguarded by repo-guard-tested.1#structure
Ratchets and repo-owned guards run in CI
Rule
CI runs a ratchet or a repo-owned guard: is true
Why
A ratchet or a boundary checker the repository runs in CI turns a structure rule into a red check, so an agent cannot quietly add one more suppression or cross one more layer.
Fix
Run a boundary checker in CI (lint-imports, import-boss, or a script that exits non-zero on a forbidden import). Or commit a lint baseline with a make target that updates it and a CI step that reads it. Or cap file size in a CI check.
Signal
repo_guards.present
Scan
repo_guards · Ratchets and repo-owned guards

Also carries this tag, shown under its first tag:

Agent context #agent_context

That an agent starts each task knowing how this repository works and how to check its own change.

agent-consistency.1Cross-agent instruction consistency
level 1measured#agent_context
Every agent system names the same checks
Rule
Commands and thresholds the agent systems disagree on: is 0
Why
When agent systems are told different check commands or thresholds, one agent's change passes checks another agent was told to run differently.
Fix
Make the instruction files agree. Name the same test and lint commands and the same thresholds in each. Or replace each tool's file with the pointer line the report gives.
Signal
agent_consistency.conflicts
Scan
agent_consistency · Cross-agent instruction consistency
agent-consistency.2Cross-agent instruction consistency
level 2measuredrequires agent-consistency.1#agent_context
Every agent system reads one canonical file
Rule
Agent systems not linked to the canonical instruction file: is 0
Why
One source of instructions keeps every agent's picture of the repository the same, and keeps it maintained in one place.
Fix
Keep AGENTS.md as the one source. Make each other tool's file a short pointer or a symlink to it, with the exact line the report gives for that tool.
Signal
agent_consistency.unlinked
Scan
agent_consistency · Cross-agent instruction consistency
agent-rewrites-instructions.1An agent job can rewrite its own instructions
level 1holds gate: ci_runs_testsmeasured · not countedhazard#agent_context#agent_runtime
An agent job can rewrite its own instructions
Rule
Agent jobs that can rewrite unowned instruction or workflow files: is above 0
Why
An agent job that can push files can change AGENTS.md, CLAUDE.md or its own workflow, so the next run follows instructions no reviewer approved. CI then checks changes against rules the agent wrote for itself.
Fix
Give AGENTS.md, CLAUDE.md, each agent workflow, its .lock.yml, the local workflows, actions and gh-aw imports it reaches at any depth, and CODEOWNERS itself an owner. Require code-owner review on the default branch. Make each file in agent_instruction_rewrite_unread_files readable.
Signal
agent_ops.summary.agent_instruction_rewrite
Scan
agent_ops · Agent-operations guardrails
backlog-ready.1Backlog kept agent-ready
level 1config_only · not counted#agent_context#governance
New issues are asked for structure
Rule
An issue form has a required field, or a GitLab template the six sections: is true
Why
An agent handed an issue with no structure, never triaged and judged against no written bar starts from a guess; intake that asks for structure and a documented ready label is the bar an issue clears before an agent picks it up.
Fix
Commit an issue form under .github/ISSUE_TEMPLATE/ with a body field set to required: true, or a GitLab issue template with the six ready sections.
Signal
backlog_ready.required_form_field
Scan
backlog_ready · Backlog kept agent-ready (intake configuration)
New issues are marked untriaged when they arrive
Rule
A workflow or scheduled GitLab job labels new issues untriaged: is true
Why
An agent handed an issue with no structure, never triaged and judged against no written bar starts from a guess; intake that asks for structure and a documented ready label is the bar an issue clears before an agent picks it up.
Fix
Add a workflow on issues: types: [opened] that adds an untriaged label (gh issue edit --add-label, or a labeler action); on GitLab, include the refinement template or schedule a job that adds one.
Signal
backlog_ready.untriaged_on_open
Scan
backlog_ready · Backlog kept agent-ready (intake configuration)
A ready label is documented with its criteria
Rule
A ready label is documented with its criteria: is true
Why
An agent handed an issue with no structure, never triaged and judged against no written bar starts from a guess; intake that asks for structure and a documented ready label is the bar an issue clears before an agent picks it up.
Fix
Document the ready label in a Markdown file, the label in backticks, with a list of the criteria an issue must meet under it.
Signal
backlog_ready.ready_label_documented
Scan
backlog_ready · Backlog kept agent-ready (intake configuration)
No stale job can close a ready issue
Rule
No stale job can close a ready issue: is true
Why
An agent handed an issue with no structure, never triaged and judged against no written bar starts from a guess; intake that asks for structure and a documented ready label is the bar an issue clears before an agent picks it up.
Fix
Set exempt-issue-labels on actions/stale to the ready label, or days-before-issue-close: -1, so a ready issue is never closed for age.
Signal
backlog_ready.stale_job_safe
Scan
backlog_ready · Backlog kept agent-ready (intake configuration)
backlog-ready.2Backlog kept agent-ready
level 2verified#agent_context#governance
New issues get a first response in time
Rule
The median wait for a first response, unanswered issues included, is within first_response_max_days: is true
Why
A ready label and an issue form nobody acts on are intent, not practice: issues answered, triaged and closed at the pace they open are what keep the backlog an agent draws from current.
Fix
Answer, label or close new issues within first_response_max_days (default 2); set the threshold in [backlog_ready] in .assess/config.toml.
Signal
backlog_ready.first_response_met
Scan
backlog_ready · Backlog kept agent-ready (intake configuration)
Open issues do not sit untriaged
Rule
At most untriaged_max_share of open issues older than 7 days are untriaged: is true
Why
A ready label and an issue form nobody acts on are intent, not practice: issues answered, triaged and closed at the pace they open are what keep the backlog an agent draws from current.
Fix
Triage open issues older than 7 days, so at most untriaged_max_share (default 0.10) carry no label or an untriaged label.
Signal
backlog_ready.untriaged_met
Scan
backlog_ready · Backlog kept agent-ready (intake configuration)
Issues close as fast as they open
Rule
Issues close at least close_open_min_ratio as fast as they open: is true
Why
A ready label and an issue form nobody acts on are intent, not practice: issues answered, triaged and closed at the pace they open are what keep the backlog an agent draws from current.
Fix
Close or decline issues at least close_open_min_ratio (default 0.9) as fast as they open over window_days.
Signal
backlog_ready.close_open_met
Scan
backlog_ready · Backlog kept agent-ready (intake configuration)
ci-instructions-unchecked.1Pull request checks skip the instruction files
level 1holds gate: instructionsmeasured · not countedhazard#agent_context#governance
Pull request checks skip the instruction files
Rule
Instruction files that no pull request check runs on: is above 0
Why
When every pull request check filters the instruction file out, a change to it merges with no check run. Agents follow that file, so an edit that breaks it reaches every agent unseen.
Fix
Remove the instruction files listed from paths-ignore, or add them to the paths filter, in at least one workflow that runs checks on pull requests.
Signal
ci_hazards.instructions_unchecked
Scan
ci_hazards · CI that can be told not to fail
guardrails-stated.1Guardrails stated
level 1measured#agent_context
Half the configured gates are stated
Rule
Share of configured gates an instruction file states: is at least 50
Why
A gate an agent does not know about turns its job red after the work is done. Stated with its threshold, the gate is a constraint it can plan for.
Fix
Add the ready one-line snippet the report gives for each unstated gate to CLAUDE.md or AGENTS.md. Then the next session knows the rule before it meets the gate.
Signal
guardrails.stated_pct
Scan
guardrails · Guardrails stated
guardrails-stated.2Guardrails stated
level 2measuredrequires guardrails-stated.1#agent_context
Every configured gate is stated
Rule
Share of configured gates an instruction file states: is at least 100
Why
With every configured gate written down, rule and threshold, an agent can check each one before it pushes.
Fix
Add the remaining snippets the report gives, one line per gate: its rule, its threshold and the command that checks it before pushing.
Signal
guardrails.stated_pct
Scan
guardrails · Guardrails stated
layer-0-instructions.1Agent instructions
level 1gate: instructionsdeclared · not counted#agent_context
An instruction file is committed
Rule
A committed instruction file exists: is true
Why
Without one, an agent starts every task by guessing how the repository builds, tests and is laid out, and those guesses drive its first changes.
Fix
Commit a CLAUDE.md or AGENTS.md that tells an agent how this repository works.
Signal
layer_grades.instruction_file_present
Scan
layer_grades · Deterministic layer grades
layer-0-instructions.2Agent instructions
level 2gate: instructionsdeclared · not counted#agent_context#docs
An instruction file names a check command
Rule
Instruction files name a check command: is above 0
Why
An agent can confirm its change only if it knows which command checks it. A named command that resolves saves it guessing, and running the wrong check or none.
Fix
Name the command that checks a change (for example make check) in your instruction file.
Signal
agent_environment.check.named_total
Scan
agent_environment · Agent working environment
Every checkable instruction claim holds
Rule
Instruction claims that do not hold: is 0
Why
An agent takes its instructions literally. A line saying a script runs in CI, or a version is pinned, that is no longer true sends it the wrong way with full confidence.
Fix
Update the instruction lines whose claims no longer match the repository.
Signal
instruction_claims.failed
Scan
instruction_claims · Instruction claims
Always-loaded instructions fit in 200 lines
Rule
Always-loaded Claude Code instruction lines: is at most 200
Why
Always-loaded text is read on every task and competes with the task for the agent's attention. Long files bury the rules that matter.
Fix
Move detail that is needed only sometimes into files the instructions point to.
Signal
nested_instructions.budget.claude_code.lines
Scan
nested_instructions · Nested instruction files
skill-disclosure.1Skill disclosure
level 1measured#agent_context
Skills load only what the task needs
Rule
Skill and agent files that break a disclosure rule: is 0
Why
A skill loads its whole SKILL.md each time it triggers, so detail only one branch needs spends context before work starts. A split works best when SKILL.md becomes a short router that names the reference each step needs; agents can still drop instructions from a long file.
Fix
Fix the rule each named file breaks: a name, a description within 1024 characters, links to files that exist. For a body over 500 lines or about 5,000 tokens, make the file a router that names the reference each step reads, one level deep. Then run the same tasks several times on both versions.
Signal
skill_disclosure.files_breaking
Scan
skill_disclosure · Skill disclosure
skill-library.1Skill library
level 1measured#agent_context
A skill library is committed
Rule
A skill library is committed: a valid SKILL.md in a known skill location: is true
Why
A committed skill library gives every clone and every harness the team's procedures, loaded when a task needs them. Skills kept in one person's home folder reach nobody else, so each session restates them.
Fix
Commit a skills/<name>/SKILL.md (or .claude/skills/<name>/SKILL.md) for a procedure the team repeats, with frontmatter giving a name and a description of when to use it. To share one tree with other harnesses, link .agents/skills to it.
Signal
skill_library.present
Scan
skill_library · Committed skill library

Agent runtime #agent_runtime

That an agent can see the system it changes run, and confirm a change there, not only in the code.

agent-evals.1Agent eval suites run in CI with a baseline
level 1measured#agent_runtime#behaviour
Agent eval suites run in CI with a baseline
Rule
An agent eval suite runs in CI against a committed baseline: is true
Why
A prompt or model change can make an agent worse while every unit test still passes. Eval cases run in CI against a committed baseline turn that drop into a red check, and the baseline in the tree says what passing means.
Fix
Keep the agent's eval cases in an evals/ folder and commit a baseline beside them: a snapshot, recorded model responses or a tool-budget file. Run the folder from a CI job, gated to prompt and model changes if it costs money.
Signal
ci_model_jobs.agent_evals.present
Scan
ci_model_jobs · Model-backed CI jobs
agent-job-write-access.1Agent job write access
level 1measured · not countedhazard#agent_runtime#governance
An agent job holds write access
Rule
Agent jobs with a write scope and no separate writer job: is above 0
Why
An agent job with a write scope and no separate writer job can push, merge or edit issues on the strength of any text in its prompt. A trusted-author guard (an `if:` admitting only OWNER, MEMBER or COLLABORATOR) keeps outsiders from starting it, but a member can still run it on an outsider's issue.
Fix
Drop the write scopes from the agent job's `permissions:` and do the writes in a job that `needs:` it, or in gh-aw `safe-outputs:`. A turn or budget cap limits cost, not what the token can do.
Signal
agent_ops.summary.agent_job_write_access
Scan
agent_ops · Agent-operations guardrails
agent-least-privilege.1Agent jobs run with least privilege
level 1measured#agent_runtime#governance
Agent jobs run with least privilege
Rule
Every agent job runs with a read-only token: is true
Why
An agent acts on whatever text reaches its prompt, an issue body or a pull request included. A read-only token keeps a misled agent from pushing, merging or editing issues itself; a separate job that acts on its output does the writing, where a reviewer can see each write.
Fix
Give each job that runs an agent `permissions:` with no write scope, such as `contents: read` or `read-all`. Move writes into a separate job that `needs:` the agent job, or into gh-aw `safe-outputs:`. A job-level `permissions:` replaces the workflow's, so check the agent job's own block.
Signal
agent_ops.summary.agent_jobs_least_privilege
Scan
agent_ops · Agent-operations guardrails
layer-1-liveness.1Runtime legibility
level 1declared · not counted#agent_runtime
Some runtime telemetry is committed
Rule
Observability rung: is at least 1
Why
Telemetry in the code is what any view of the running system is built on. Without it, there is nothing for an agent or a person to read when checking how a change behaves in use.
Fix
Add a telemetry dependency, a runbook or an OBSERVABILITY.md so an agent can see the system run.
Signal
observability.rung
Scan
observability · Liveness blocks: observability
layer-1-liveness.2Runtime legibility
level 2declared · not counted#agent_runtime
Runtime telemetry reaches rung 3
Rule
Observability rung: is at least 3
Why
When an agent can query logs or metrics itself, it can check a change against the running system instead of handing that back to a person.
Fix
Give agents a way to read logs or metrics, such as a logs or metrics MCP server or skill.
Signal
observability.rung
Scan
observability · Liveness blocks: observability
layer-5-ci.2CI and the agent's local check
level 2declared · not counted#agent_runtime#supply_chain
Every dependency manifest has its lockfile
Rule
Dependency manifests without a committed lockfile: is 0
Why
A committed lockfile means an agent installs the dependency versions CI tested, so a local test result matches CI's.
Fix
Commit the lockfile for each dependency manifest (or pin a requirements file with ==), so an agent installs what CI tests. A Gradle version catalog or NuGet central package management pins direct versions only: turn on dependency locking.
Signal
agent_environment.pinning.unlocked_total
Scan
agent_environment · Agent working environment
layer-8-agent-ops.2AI project management
level 2config_only · not counted#agent_runtime
Agent hooks are committed
Rule
Agent hooks are committed: is true
Why
Committed hooks run around an agent's actions on every clone, so a check written once applies without the agent having to remember it.
Fix
Commit the hooks that run checks around agent actions: in .claude/settings.json, .gemini/settings.json, .cursor/hooks.json or a .github/hooks/*.json file. A hook file renamed with a .disabled suffix reads as declined while no other hook counts.
Signal
agent_ops.summary.hooks_present
Scan
agent_ops · Agent-operations guardrails
Agent routines or event-triggered agents are committed
Rule
Agent routines or event-triggered agents are committed: is true
Why
Committed routines define the agent work the repository runs on a schedule or trigger, so it runs the same way each time and is reviewed like code.
Fix
Commit the agent work you run on a schedule or trigger. That can be a scheduled or issue workflow that runs an agent, or a file under .claude/routines/.
Signal
agent_ops.summary.agent_work_present
Scan
agent_ops · Agent-operations guardrails

Also carries this tag, shown under its first tag:

Governance #governance

That people stay in the loop on what agents change, and that what agents may do is agreed and visible.

ai-policy-declared.1AI policy declared
level 1declared · not counted#governance
AI policy declared
Rule
An AI policy file or disclosure checkbox is committed: is true
Why
A written policy tells contributors and agents what the project expects of AI-assisted work. It is listed, not counted: a file or a checkbox asks for the practice, and only a check that reads it shows the practice holds.
Fix
Commit an AI_POLICY.md at the root, in .github/ or in docs/. Or add a template checkbox that asks the author to disclose AI assistance. Then enforce it with a workflow that reads the disclosure.
Signal
ai_governance.policy_declared
Scan
ai_governance · AI governance
ai-policy-enforced.1AI policy enforced on pull requests
level 1measured#governance
AI policy enforced on pull requests
Rule
A pull request workflow enforces AI disclosure: is true
Why
An agent follows the rules a check holds it to. A workflow that reads each pull request for AI disclosure or attribution, and turns the check red or labels on it, applies the policy to every change, an agent's included, without a reviewer having to remember it.
Fix
Add a workflow on pull_request that reads the pull request body or the commit trailers for the disclosure your policy asks for. Have it turn the check red or add a label when the disclosure is absent or a banned marker is present.
Signal
ai_governance.enforced
Scan
ai_governance · AI governance
layer-7-review.1Review on merged pull requests
level 1gate: reviewgate: wide_reviewdeclared · not counted#governance
Changes get reviewed
Rule
Review evidence exists: is true
Why
A second reader, a person or a review agent, catches what an agent misunderstood about intent, which tests and linters do not look for.
Fix
Commit an AI review step in CI, or review merged changes before they land.
Signal
review_evidence.present
Scan
review_evidence · Review evidence
layer-7-review.2Review on merged pull requests
level 2gate: wide_reviewverifiedrequires layer-7-review.1#governance
Most merged changes are reviewed
Rule
Share of merged changes reviewed: is at least 0.8
Why
Review protects only the changes it reaches. At four in five merged changes, most of what lands, an agent's work included, has had a second reader.
Fix
Aim for a review on at least four in five merged changes.
Signal
review_reality.reviewed_share
Scan
review_reality · Review on merged changes
Half of merged changes are approved
Rule
Share of merged changes approved: is at least 0.5
Why
An explicit approval records that someone accepted the change, not just that it was looked at.
Fix
Approve changes explicitly when you review them.
Signal
review_reality.approved_share
Scan
review_reality · Review on merged changes
layer-8-agent-ops.1AI project management
level 1gate: agent_permissionsconfig_only · not counted#governance
Agent permissions are committed
Rule
Agent permissions are committed: is true
Why
Deny rules and hooks keep an agent inside its limits in every permission mode, auto mode included. Committed to the repository or set in managed settings, they apply the same way to everyone and are reviewed like code.
Fix
Commit a deny rule, such as `"deny": ["Bash(git push origin main)"]` under `permissions` in `.claude/settings.json`, or a `false` rule in VS Code's `chat.tools.terminal.autoApprove`. Deny rules hold under auto mode. For central settings, run with --managed-settings.
Signal
agent_ops.summary.permissions_encoded
Scan
agent_ops · Agent-operations guardrails
model-ci-gated.1Model-backed CI jobs are gated
level 1measured#governance
Model-backed CI jobs are gated
Rule
Model-backed CI jobs that run on every change without a gate: is 0
Why
A CI job that calls a model costs money on every run. If it runs on every merge and every pull request update, the cost grows with the number of changes agents make, not with changes to the prompts it tests.
Fix
Run each named job only when prompts, skills or instruction files change, or nightly, or on a label. Cancel superseded runs, sample the eval cases, and use the cheapest model that still tells good from bad. Move rule-checkable assertions into ordinary tests.
Signal
ci_model_jobs.ungated
Scan
ci_model_jobs · Model-backed CI jobs
secrets-guard.1Secrets guard
level 1gate: secrets_guardconfig_only · not counted#governance
A secrets guard is configured (a pre-commit hook counts; listed, not counted)
Rule
A secrets guard is configured (pre-commit hook or CI scan): is true
Why
A token committed once stays in the history of every clone; a guard that scans each change before it lands is the check that stops an agent or a newcomer from leaking one.
Fix
Add a secrets hook to .pre-commit-config.yaml (gitleaks or detect-secrets), or a secrets scan step to CI.
Signal
secrets_guard.configured
Scan
secrets_guard · Secrets guard
secrets-guard.2Secrets guard
level 2measured#governance
A secrets scan runs where an agent cannot skip it
Rule
A secrets scan runs where an agent cannot skip it (CI): is true
Why
A token committed once stays in the history of every clone; a guard that scans each change before it lands is the check that stops an agent or a newcomer from leaking one.
Fix
Add a secrets scan step to CI that runs on each push or pull request (gitleaks/gitleaks-action, trufflehog, or GitLab's Secret-Detection template); a pre-commit hook alone can be skipped with --no-verify.
Signal
secrets_guard.enforcement.present
Scan
secrets_guard · Secrets guard
skill-personal-data.1Personal data in skill text
level 1measured#governance
No skill file holds a detected kind of personal data (email, phone, home path, IP, SSH login, key, credential)
Rule
Skill and agent files holding a detected kind of personal data: is 0
Why
Skill text is loaded into every session that triggers it and copied wherever it is published, so personal data in it leaks to every user.
Fix
In each file the report names, remove the kind of data it lists, or replace it with a placeholder (user@example.com, /home/user/); a key that was committed should also be rotated.
Signal
skill_personal_data.files_with_personal_data
Scan
skill_personal_data · Personal data in skill text

Also carries this tag, shown under its first tag:

Supply chain #supply_chain

That an agent builds and tests against the same dependency versions as CI and everyone else.

Also carries this tag, shown under its first tag:

Steps and their gates

Only gates decide the Step. A Step needs every gate listed for it.

StepNameGates
1Assistednone
2Supervised agent changesinstructions (layer-0-instructions level 2)
3Unattended agent changesinstructions (layer-0-instructions level 2)
ci_runs_tests (layer-5-ci level 1)
review (layer-7-review level 1)
linters (layer-3-linters level 1)
secrets_guard (secrets-guard level 1)
4Autonomous loopsinstructions (layer-0-instructions level 2)
ci_runs_tests (layer-5-ci level 1)
review (layer-7-review level 1)
linters (layer-3-linters level 1)
secrets_guard (secrets-guard level 1)
coverage_gate (layer-6-coverage level 1)
wide_review (layer-7-review level 2)
agent_permissions (layer-8-agent-ops level 1)
boundaries (layer-4-architecture level 1)

Evidence grades

A condition's grade comes from what its signals read. Only counted grades add to the practices in place.

GradeCountedInput classes
config_onlyno, listedconfig_text
declaredno, listedhead_text
measuredyesexecution_artifact, git_history, head_structure
verifiedyesci_executed, platform

Findings

Findings the report raises across practices, apart from the conditions.

FindingWhy it mattersNext step
accretion_ratchet
Accretion ratchet
A file that has only ever grown gets harder to read whole with each change, and each agent addition makes the next one harder.make the file smaller: move code out, delete dead code, or split the file
candidate_dead_weight
Candidate dead weight
Code nothing in the repository calls costs an agent reading time and can be maintained by mistake; it needs a person to confirm no outside caller uses it.delete the code only if your check shows nothing uses it
hidden_coupling
Hidden coupling
These files change together in history with no import between them, so an agent changing one has nothing in the code telling it to change the other.check why these files change together
lying_map
Stale doc over complex code
The doc has fallen behind complex code it describes, which is where an agent leans on a doc most.fix or delete the doc
orphaned_understanding
Orphaned understanding
Complex code with no human author and no doc of its intent has nobody to ask and nothing to check an agent's reading against.name a person who owns this code before it changes again
override_contradicts_signals
Archetype override contradicts the signals
The declared repository kind decides which checks apply; when the signals disagree, checks marked not applicable may hide gaps an agent would meet.Review the archetype marker: the measured signals suggest a different kind of repository
refactor_boundary
Refactor boundary
A strength: edits here stay inside the directory, so an agent can change it without reading the rest of the repository.safe to hand an agent in isolation
self_referential_tests
Self-referential tests
Tests kept and committed beside the code they cover can check internal consistency rather than truth, so an agent changing both together can make them agree on a wrong answer.ask a person to review: the tests check that the code agrees with itself, not that it is right
unactioned_intent
Unactioned intent
A TODO or skip that survives many edits reads to an agent as a live plan or a settled exception, and it cannot tell which.keep the promise: fix it, open a ticket for it, or delete the marker or skip
unexplained_complexity
Unexplained complexity
Complex code with no doc of what it should do leaves an agent only the code to infer intent from, so it cannot tell a bug from a requirement.write the contract the code needs (write it by hand; do not generate it)
untrusted_hotspot
Untrusted hotspot
Complex, often-changed code whose tests let many mutants survive: an agent's change here is not held by the tests that look like they cover it.make the tests check what the code does, as a caller sees it (not its internal state)

Scans

The scans behind the signals. Network and platform scans run only when asked.

ScanWhat it readsWhy
accretion_ratchet
Accretion ratchet
Files that only ever grow get harder to read whole with every addition; this names them before an agent adds the next feature to one.
agent_building
Agent building
Run plumbing: no row or finding reads this scan.
agent_consistency
Cross-agent instruction consistency
Compares the root instruction files of every agent system present: Claude Code, AGENTS.md, Copilot, Cursor, Windsurf, Cline, Aider, Junie, Amazon Q, Kiro, Continue and Zed. It finds check commands one file names and another does not, and thresholds that conflict. It checks whether each file links to one canonical file, and gives the pointer line for each system that does not.It compares the instruction files of every agent system present, so each agent is told the same checks and thresholds, from one source.
agent_environment network
Agent working environment
Committed agent setup, the check command an instruction file names, lockfiles per manifest, and the CI cap. The CI-duration probe is off in headless runs. A manifest row's note is skipped_library, skipped_example or direct_pins_only. skipped_library is a library whose ecosystem commits no lock: it is listed, and not counted in manifests_total or unlocked_total. skipped_example is a manifest under an example, sample or demo folder: it is listed, and not counted either. direct_pins_only is a Gradle version catalog or NuGet central package management with no lock: it counts as unlocked.It reads what an agent needs to work like CI does: the check command its instructions name, the committed setup and a lockfile for each dependency manifest.
agent_harness
Committed agent harness
Committed hooks, env blocks and MCP servers run in every agent session, headless ones included; this lists what they run and flags any that expose a secret or widen an agent's reach.
agent_ops
Agent-operations guardrails
Committed permission allowlists, hooks, sandbox rules and routines. Claude Code, Gemini CLI, Cursor, Copilot and VS Code settings and hook files count as one set. A routine is a routine file, or a workflow that runs an agent on a schedule or an issue or pull request event. For each workflow job that runs an agent, its effective token scope and whether its writes go through a separate job. Whether an agent job that can write files can rewrite an instruction file or its own workflow with no CODEOWNERS owner on it.Committed allowlists, hooks, sandbox rules and routines make an agent's limits and repeated work the same on every clone, and reviewable like code.
agent_outcome
Agent commit outcomes
No other scan says whether agent work holds once it lands; this records the share of agent commits later reverted or rewritten within two weeks, as a history to set beside the gates. Nothing scores it.
ai_governance
AI governance
Whether a workflow on pull requests reads the body or commit trailers for AI disclosure, then turns the check red or adds a label. It also lists an AI_POLICY.md at a fixed path and template checkboxes that ask for AI disclosure. It lists Copilot instruction files that decline Copilot review for the whole repository.A policy on AI contributions holds only when something checks it. A workflow that reads each pull request for disclosure turns the policy into a rule an agent meets on every change; a policy file or a checkbox alone asks for it and checks nothing.
ai_usage
AI-assisted change share
Run plumbing: no row or finding reads this scan.
ancestor_instruction_files
Ancestor instruction files
Instruction files above the repository root load in a local session but never reach a fresh clone, so an agent elsewhere works without those rules.
api_compat
API compatibility checks CI runs
Whether a GitHub Actions or GitLab CI step runs an API compatibility tool: apidiff, api-extractor, griffe check, cargo semver-checks, buf breaking, japicmp or revapi. The step may run it through a committed script, a make recipe, a Maven or Gradle build, or a package.json script. Whether a test pins the public exports while CI runs tests. A tool named only in a build file is listed as declared, never counted.A public interface stays stable only when a check stops a breaking change. A compatibility tool CI runs, or a test that pins the exports, turns an agent's accidental break of a contract into a red check, not a downstream bug report.
archetype
Repository archetype
It tells a documentation repository from a software one, so the report does not ask a repository with no code for tests and CI on code it does not hold.
backlog_ready platform
Backlog kept agent-ready (intake configuration)
How new issues are taken in and answered. An issue form has a required field, or a GitLab issue template has the six definition-of-ready sections. A workflow on issues opened adds an untriaged label, or on GitLab the refinement template is included or a scheduled job adds one. A ready label is documented with its criteria. No stale job can close a ready issue. The tracker itself is read too: time to a first response, the untriaged share and issues closed over opened.An agent handed an issue with no structure, never triaged and judged against no written bar starts from a guess; intake that asks for structure and a documented ready label is the bar an issue clears before an agent picks it up.
behaviour
Keyhole blocks: behaviour
It reads which files change together in history, so coupling the import graph does not show, and modules safe to change in isolation, are both found.
behaviour_pins
Tests that pin behaviour beyond coverage
Test practices that pin behaviour beyond line coverage, each read from a dependency or a test signature. They are scheduled fuzzing, fuzz targets, property-based tests, network-isolated tests and snapshot tests. Evidence only: it adds an evidence line to the tests-run-in-CI condition while that condition is met, and counts toward nothing.Coverage says a line ran, not that its behaviour held. A fuzzer, a property test, a snapshot or a test that cannot reach the network turns red when behaviour moves, so an agent's change that passes the tests is more likely to be right.
change_census network platform
Merged changes in a period
Every change merged in an absolute --period: whether the read was complete, how many closed no issue, and who approved them. It also counts the default-branch commits that no change carried.An auditor samples from the whole population of changes in a period; a census with a gap reads as complete, so any cap or refused read marks it incomplete and leaves every count unmeasured.
change_controls network platform
Branch change controls
Per branch, the review, status check, force-push, bypass and code owner settings, read through gh or glab.A review rule a merge can skip, or a branch anyone may force-push to, makes every reviewed change unprovable; this reads the settings that make review the only way in.
ci_checks platform
CI runs a test or lint command
Whether a GitHub Actions or GitLab CI line runs a test or lint command. Whether such a line can fail its job on ordinary changes: not masked, and not outside the ordinary triggers. Whether such a line runs a linter, or runs tests. The value is null when no check is found but a CI file pulls its jobs from elsewhere. It is also null when no check is found and the tree tracks a CI file the scan does not parse. It is null under --platform when most sampled merged pull requests carry an external CI check. It is null when a root Prow OWNERS_ALIASES is the only CI evidence.It reads whether CI runs tests or linters on ordinary changes in a way that can stop the job, so "it passed" means a check ran and could have said no.
ci_hazards
CI that can be told not to fail
Pull request labels that skip every check job of every GitHub Actions workflow that runs a check on pull requests. Committed files that tell Maven to ignore test failures. It reads CI files, Jenkinsfiles, .mvn/maven.config and reactor poms. It also reads the scripts, make recipes, local actions and poms a CI step leads to. Instruction files that every pull request check workflow filters out with paths or paths-ignore.A green CI run only means something when the run could have gone red. A label that skips the checks, or a build told to ignore broken tests, lets a broken change pass while CI still reads as gating it. An instruction file that no pull request check runs on can change with nothing checking it.
ci_model_jobs
Model-backed CI jobs
Each GitHub Actions or GitLab CI job that calls a model API. Signs are an eval harness, an agent action, the Claude Code CLI, a model-provider secret, pytest -m eval or an evals/ path. For each job, whether a gate stops it running on every push or pull request update. Gates are a paths filter, a schedule or manual trigger only, a label, or GitLab rules:changes. Also each agent eval suite folder, whether a CI file runs it and whether it holds a committed baseline.A CI job that calls a model costs money on every run. If it runs on every merge and every pull request update, the cost grows with the number of changes agents make, not with changes to the prompts it tests.
claude_config
Claude Code configuration
Claude Code drops a frontmatter field it does not recognise without an error, so a skill, command or agent can look configured while doing nothing; this names each dropped field.
concurrency
Concurrency readiness
No other scan says whether many agents can change the repository at once; this records how often the same files, generated ones included, change across merges, the files every parallel change would conflict on. Listed, not counted: nothing scores it.
config_drift network
Configuration drift
An agent that reads a committed ruleset or branch-protection export as the current rule, or restores it, acts on settings the platform no longer has; this lists each difference from the live setting.
contributor_files
Contributor files
A contributing guide and a security policy at the root, in .github/ or in docs/. The policy is a SECURITY file or a link to GitHub private vulnerability reporting. Issue and pull or merge request templates count as evidence.A contributing guide tells a newcomer, human or agent, how to build, test and shape a change the way the project merges it, and a security policy gives them a private route for a vulnerability instead of a public issue.
coverage_gate
Coverage gate
Finds coverage thresholds written in CI, task-runner and tool config, each with its file, line and threshold.It finds the coverage threshold the repository sets and whether CI enforces it, which is the line that keeps tests from thinning out under a run of changes.
coverage_report
Coverage report
It reads a coverage report the project already produced, so test depth on the riskiest files is known instead of assumed.
dead_code
Liveness blocks: dead_code
Code nothing in the repository calls still costs an agent reading time and can be kept alive by mistake; candidates are listed for a person to check, since callers outside the repository are not visible.
delivery network platform
Delivery figures
Run plumbing: no row or finding reads this scan.
deploy_controls network platform
Production deployment reviewers
Production deployment environments, how many need no reviewer and how many let the person who started a deployment approve it, read through gh or glab.A reviewed change can still reach production through a deployment no second person approved; this counts the production environments an agent or a person can deploy to alone.
derived_findings
Keyhole blocks: derived_findings
Run plumbing: no row or finding reads this scan.
diff
Run header: diff
Run plumbing: no row or finding reads this scan.
doc_claims
Doc claims
An agent reads guides as literally as instruction files. This checks the same pin and count claims across the doc set and names two docs that state different values.
doc_graph
Doc graph
An agent finds docs by following links from README, AGENTS.md or an index; a doc no link reaches is one it will not read.
doc_staleness
Doc staleness
Each doc's last content change against its code subject's churn, following renames. Also each CI check that keeps docs or generated files true. That is a regenerate-then-diff step, a verify and update script pair, or doc examples run as tests. A doc in a subtree such a check names is not reported stale.It compares each doc's last change with the churn in the code it describes, so a doc whose code moved on is found before an agent relies on it.
documentation
Keyhole blocks: documentation
It joins doc freshness with code complexity, so the places where an agent most needs a true doc, and has none or a stale one, are named.
gap_actions
Gap actions
Run plumbing: no row or finding reads this scan.
gate_cost_estimate network
Gate cost estimate
Run plumbing: no row or finding reads this scan.
github_secret_scanning network platform
GitHub secret scanning
GitHub's own secret scanning and push protection settings, read through gh. They are returned only to a repository admin, organization owner or security manager.A token committed once stays in the history of every clone; a guard that scans each change before it lands is the check that stops an agent or a newcomer from leaking one.
guardrails
Guardrails stated
Lists the gates the repository configures: a ruff or flake8 complexity limit, the coverage floor, pre-commit hooks that can fail and mypy strict. It checks whether a graded instruction file states each gate's rule and threshold. An unstated gate carries a ready one-line snippet.It lists the gates the repository configures and whether an instruction file states each rule and threshold, so an agent learns a gate before CI turns red on it.
instruction_claims
Instruction claims
An agent trusts its instruction file without checking it. This checks each claim that a script runs in CI, a version is pinned or a count holds, and names the line of each that no longer does.
instruction_contradictions
Opposite rules in instruction files
Rules that load together and say opposite things about one subject. A subject is a verb and the code in backticks. Always or may against never pairs. No condition reads it.When two instruction files an agent reads together give opposite rules on one command or file, the agent follows whichever it read last. Naming both lines lets the team keep the rule it means.
instruction_map
Instruction-file map readings
One record per instruction file: its tokens, complexity ratios, recent commits, load mode and skill disclosure breaks.The code heatmap scores markdown as zero, yet instruction files are the code an agent runs; this joins each file's size, branching, change and load mode so the instruction-file map can show where that code is heavy. A proxy: nothing scores it.
instruction_placement
Instruction placement
It names the always-loaded sections that are reference for one tool or subtree, so they can move to files an agent reads when needed and leave the always-loaded text for rules.
layer_grades
Deterministic layer grades
The instruction-file grade and where the instruction files are (root, nested only or none), republished as a block, so a maturity model can read them.It republishes whether a committed instruction file exists, the evidence the `instructions` gate reads.
nested_instructions
Nested instruction files
It measures the instruction text Claude Code loads on every task and the nested files it loads per directory, so the always-loaded part stays small enough for the rules in it to be followed.
observability
Liveness blocks: observability
It reads how far the repository gives an agent a view of the running system: telemetry emitted, a runbook that says where it lives, and a path the agent can query.
org_security_policy network platform
Owner's shared security policy
The SECURITY file in the owner's public .github repository, which GitHub shows on every repository of the owner that has none, read through gh.A contributing guide tells a newcomer, human or agent, how to build, test and shape a change the way the project merges it, and a security policy gives them a private route for a vulnerability instead of a public issue.
owner_exclusions
Owner exclusions
The conditions the owner excluded in .assess/config.toml [checks], each with its kind, reason and provenance, and the entries skipped with why. It also carries the agent-level opt-out in .assess/agents-declined.json, which reads the conditions it covers as declined. It carries a Copilot review opt-out read from the Copilot instruction files too, which is shown and declines no condition. A tracked hook file with a .disabled suffix declines the hook condition while no live hook counts.It reads the checks a repository's owners have committed as not applying to them, so the Step holds a team only to practices it has not deliberately set aside, and each exclusion stays visible and reviewable in the repository.
promissory_markers
Promissory markers
TODOs, suppressions and disabled tests that survive many edits are promises nobody kept; an agent cannot tell from the code whether one is still meant.
repo_guards
Ratchets and repo-owned guards
Each ratchet or repo-owned guard a CI job runs on ordinary changes. It follows the scripts, make recipes and local actions a step leads to. A guard is a lint baseline CI reads and a tracked command updates, a boundary checker, or a file-size cap. A boundary checker is import-boss, lint-imports, a check-layers script or an architecture test CI runs. It also reads whether each guard script has a test file of its own.A ratchet or a boundary checker the repository runs in CI turns a structure rule into a red check, so an agent cannot quietly add one more suppression or cross one more layer. A guard with no test of its own can stop catching anything and still pass.
review_automation platform
AI review committed in CI
A review step committed in CI reviews every change it runs on, and is evidence a headless run can read without platform access.
review_evidence platform
Review evidence
An AI review step committed in CI, or a reviewed merged change.It records whether changes get a second reader at all, from a committed AI review step or a reviewed merged change, so review is credited where it happens.
review_reality network platform
Review on merged changes
Review and approval shares, and approval-integrity counts, over the sampled merged changes, read through gh or glab.It shows how many recently merged changes had a review and an approval, which is how far a second reader reaches into what agents and people merge.
review_rules
Merge and review rules kept as code
Merge and review rules a repository commits outside branch protection. It reads a merge queue, a policy-bot policy, Prow OWNERS files and a committed ruleset that requires review. It also reads a review guide folder that a pull request workflow names. Each file is parsed, not matched as text. OWNERS files that name one owner for everything do not count. Evidence only: it adds an evidence line to the review condition while that condition is met.A rule kept as code is a rule an agent can read before it opens a change, and a reviewer can check it against the code. An approval policy or an owners file says who must look at a change before it lands, and a merge queue says how it lands.
runtime
Keyhole blocks: runtime
Run plumbing: no row or finding reads this scan.
secrets_guard platform
Secrets guard
A secrets hook in the pre-commit config and a secrets scan in CI, such as gitleaks, trufflehog or GitLab Secret-Detection. Each is recorded with its own evidence grade.A token committed once stays in the history of every clone; a guard that scans each change before it lands is the check that stops an agent or a newcomer from leaking one.
shared_tooling
Shared tooling
Run plumbing: no row or finding reads this scan.
skill_disclosure
Skill disclosure
Each SKILL.md and agent definition against Anthropic's skill authoring rules: size, name, description, paths, dates and references one level deep.A skill loads its whole SKILL.md each time it triggers, so detail only one branch needs spends context before work starts. A split works best when SKILL.md becomes a short router that names the reference each step needs; agents can still drop instructions from a long file.
skill_library
Committed skill library
Each committed SKILL.md in a known skill location, with frontmatter that names it and says when to use it. A known location is a skills/ folder at the root, in a harness folder such as .claude or .agents, or in plugins/<name>/. Files under node_modules, vendored or fixture folders do not count. Nor do symlinks that leave the repository. A symlink that shares one skill tree, a skills-lock.json and a hashed manifest are evidence.A committed skill library gives every clone and every harness the team's procedures, loaded when a task needs them. Skills kept in one person's home folder reach nobody else, so each session restates them.
skill_personal_data
Personal data in skill text
Each SKILL.md, agent definition and skill references/ file, scanned for emails, phone numbers, home paths, IP addresses, SSH logins, keys and credentials. A finding names the file and the kind, never the data. An example credential value is counted for information only. Personal names are not detected.Skill text is loaded into every session that triggers it and copied wherever it is published, so personal data in it leaks to every user.
skill_script_tests
Skill script tests
Whether each skill's scripts have tests beside them in the skill's own folder: presence, not coverage, since no suite runs. Tests found only outside the folder are named, as information.A skill's scripts run with an agent's permissions every time it triggers; tests beside them are the only check that a change still does what the SKILL.md promises.
stats_summary
Run header: stats_summary
It summarises file size and complexity across the repository; the 95th-percentile file size is what decides whether an agent can read a file whole.
structure
Keyhole blocks: structure
It measures module structure and how packages import one another, which decides how much code an agent must read to change one part.
structure_drift
Structure drift: structure_drift
Ownership and boundary maps are read as authoritative, and nothing forces them to follow the code; this checks each map's patterns against where the code now lives.
test_focus
Test focus
It ranks risky files by the test work each needs, so the files where an agent's change is least held by tests come first.
test_pressure
Test pressure
Coverage says a line ran, not that a test would notice it changing; this reads mutation results and hollow-test patterns to show where tests hold the code to account.
tracker_evidence platform
Outside tracker evidence
Outside issue trackers, such as Jira or Linear, that the repository shows evidence of. The evidence is a client library, tracker configuration, a CI step or an MCP server. Merged changes that carry a project key such as ABC-123 are counted too. Commit history is read offline, and pull request titles and branches on the platform.A team that plans in an outside tracker reads as having no backlog practice when only the code host's issues are read; this records where the team's tickets live and how many merged changes carry their keys, so an agent knows which tracker a change belongs to.
understanding
Keyhole blocks: understanding
For each complex module it reads whether a person authored it and whether a doc states its intent, so an agent knows whether there is anyone or anything to check its reading against.
unit_readings
Monorepo unit readings
Each unit's own readings of the scope-sensitive scans: suppressions, doc staleness, structure, size, and its own coverage gate or instruction file. Every condition is tagged unit or inherited.A unit inherits root CI and review but not the root's suppressions, stale docs or structure. Reading those per unit, with each condition labelled, shows which change lifts which unit.
units
Monorepo units
The repository's units. First each skill folder (a SKILL.md), and a plugin's agents/ and commands/. Then the shallowest build-manifest folders, with each workspace root's declared members in its place, or the [[units]] of .assess/config.toml. Folders with only a manifest are skipped.One score for a monorepo describes none of its services. Naming each unit lets every one be scored on its own, so one service's gaps are not hidden behind another's practices.

Configure the checks

Each option below changes what a run checks or how CI acts on it. Settings in .assess/config.toml are committed, so every run and every teammate reads the same ones.

Leave out a check for your repository

Add a [checks] table to .assess/config.toml and list each condition id to leave out. The ids are the ones on the cards above.

Each entry needs a reason. An entry without one is skipped with a warning, and the check stays in force.

kind is one of not_applicable, measured_elsewhere, tool_unsupported, false_positive or other, the default.

An excluded condition earns nothing and costs nothing. A Step gate it covers stays unmet while the exclusion stands.

.assess/config.toml
[checks]
exclude = [
  { id = "layer-6-coverage.1", kind = "measured_elsewhere",
    reason = "Coverage is enforced in the release pipeline repository." },
]

Reference: Owner exclusions in the scoring model · #910

Choose a profile

A run scores against the default maturity model unless you name another.

--profile handover is the bar a production team expects before it owns a repository. --profile citizen is a lighter bar while a citizen developer builds.

A profile run leaves the committed .assess/prior-level.json baseline as the default model's. The CI gate keeps comparing default runs.

Claude Code
/assess --profile handover

Reference: Named profiles, #1150

Write your own model

--levels FILE scores against a maturity model you write, in the format of levels/default.toml.

/fleet --levels FILE reads the same file, so one repository gets the same Step from both.

Claude Code
/assess --levels .assess/our-model.toml

Reference: The default model · Build your own practice

Count central guardrails

Claude Code managed settings live on the machine, not in the repository, so a run leaves them out by default.

Pass --managed-settings, or set managed_settings = true under [agent_ops], to count them toward the agent permissions practice.

A central deny rule then counts, graded as listed. The config key is read by single-repository runs only; /fleet takes the flag.

Claude Code
/assess --managed-settings
.assess/config.toml
[agent_ops]
managed_settings = true

Reference: The /assess skill · #1153

Turn on the regression gate in CI

fail_on_gate_loss turns a pull request red when a Step gate your committed baseline held now reads unmet. An example is CI no longer running the tests.

The baseline is .assess/prior-level.json, which every /assess run writes. Commit your .assess/ directory first; until then the job passes and says so.

Set fail_on_gate_loss = true under [gate] in .assess/config.toml for every CI host. On the command line, assess_gate.py --fail-on-gate-loss is the same switch.

The GitHub Action is warn-only by default; its fail_on_gate_loss input turns the gate on.

The GitLab CI template turns the gate on by default. Its fail_on_gate_loss: false input keeps the job green on a lost gate.

An input or the flag can only turn the gate on. With fail_on_gate_loss = true in the config, false in an input changes nothing.

.assess/config.toml
[gate]
fail_on_gate_loss = true
.github/workflows/assess-gate.yml (steps)
steps:
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1  # v7.0.1
    with:
      fetch-depth: 0   # full history for churn and the baseline
  - uses: bjcoombs/ai-native-toolkit@v5.1.0
    with:
      config: .assess/config.toml
      fail_on_gate_loss: 'true'
.gitlab-ci.yml
include:
  - remote: https://raw.githubusercontent.com/bjcoombs/ai-native-toolkit/v5.1.0/templates/assess-gate.yml
    inputs:
      config: .assess/config.toml
      fail_on_gate_loss: true

Reference: Use as a GitHub Action · Use in GitLab CI · action.yml inputs · GitLab template inputs