agentic-scorecard 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/AGENT_PROMPT.md +68 -34
  2. package/FEEDBACK.md +53 -0
  3. package/README.md +120 -39
  4. package/benchmark/v0.2/adapter-contract.md +25 -0
  5. package/benchmark/v0.2/agent-evidence-schema.json +52 -0
  6. package/benchmark/v0.2/attestation-schema.json +26 -0
  7. package/benchmark/v0.2/benchmark.yaml +127 -0
  8. package/benchmark/v0.2/controls/context.yaml +51 -0
  9. package/benchmark/v0.2/controls/environment.yaml +70 -0
  10. package/benchmark/v0.2/controls/governance.yaml +60 -0
  11. package/benchmark/v0.2/controls/learning.yaml +48 -0
  12. package/benchmark/v0.2/controls/observability.yaml +76 -0
  13. package/benchmark/v0.2/controls/resilience.yaml +60 -0
  14. package/benchmark/v0.2/controls/security.yaml +71 -0
  15. package/benchmark/v0.2/controls/specification.yaml +62 -0
  16. package/benchmark/v0.2/controls/testing.yaml +60 -0
  17. package/benchmark/v0.2/controls/tooling.yaml +58 -0
  18. package/benchmark/v0.2/report-schema.json +47 -0
  19. package/benchmark/v0.2/scoring-policy.md +71 -0
  20. package/benchmark/v0.3/adapter-contract.md +44 -0
  21. package/benchmark/v0.3/adapters/known-agent-harnesses.yaml +177 -0
  22. package/benchmark/v0.3/adapters/known-python-tooling.yaml +18 -0
  23. package/benchmark/v0.3/adapters/known-security-tools.yaml +6 -0
  24. package/benchmark/v0.3/agent-evidence-schema.json +67 -0
  25. package/benchmark/v0.3/attestation-schema.json +26 -0
  26. package/benchmark/v0.3/benchmark.yaml +127 -0
  27. package/benchmark/v0.3/controls/context.yaml +79 -0
  28. package/benchmark/v0.3/controls/environment.yaml +93 -0
  29. package/benchmark/v0.3/controls/governance.yaml +97 -0
  30. package/benchmark/v0.3/controls/learning.yaml +80 -0
  31. package/benchmark/v0.3/controls/observability.yaml +91 -0
  32. package/benchmark/v0.3/controls/resilience.yaml +107 -0
  33. package/benchmark/v0.3/controls/security.yaml +129 -0
  34. package/benchmark/v0.3/controls/specification.yaml +83 -0
  35. package/benchmark/v0.3/controls/testing.yaml +85 -0
  36. package/benchmark/v0.3/controls/tooling.yaml +69 -0
  37. package/benchmark/v0.3/report-schema.json +89 -0
  38. package/benchmark/v0.3/scoring-policy.md +100 -0
  39. package/dist/cli.js +1043 -111
  40. package/package.json +5 -3
  41. package/templates/agent-evidence.yaml +11 -0
  42. package/templates/attestations.yaml +4 -4
  43. package/templates/baseline.csv +1 -1
@@ -0,0 +1,127 @@
1
+ id: agentic-development-readiness
2
+ version: 0.3.0
3
+ title: Agentic Development Readiness Benchmark
4
+ description: >-
5
+ A vendor-neutral, evidence-backed assessment of the engineering harness that surrounds AI agents.
6
+ It measures whether a repository and its operating controls can safely support increasing levels
7
+ of delegated software work.
8
+
9
+ maturity_levels:
10
+ 0: Absent
11
+ 1: Ad hoc
12
+ 2: Documented
13
+ 3: Enforced
14
+ 4: Measured and improving
15
+
16
+ dimensions:
17
+ - id: context
18
+ title: Context and knowledge
19
+ description: Agents can discover authoritative, scoped, current instructions without guesswork.
20
+ - id: environment
21
+ title: Reproducible environment
22
+ description: Agents can establish and verify a faithful development environment.
23
+ - id: specification
24
+ title: Specification and planning
25
+ description: Work starts from testable outcomes, constraints, and explicit acceptance criteria.
26
+ - id: tooling
27
+ title: Tooling and interfaces
28
+ description: Agent tools are discoverable, least-privileged, observable, and fail safely.
29
+ - id: security
30
+ title: Security and data governance
31
+ description: Credentials, data, autonomy, and untrusted content have explicit boundaries.
32
+ - id: testing
33
+ title: Verification and testing
34
+ description: Changes are checked at the right layers with trustworthy, reproducible signals.
35
+ - id: governance
36
+ title: Review and change governance
37
+ description: Human accountability, change scope, and merge authority remain explicit.
38
+ - id: learning
39
+ title: Learning and knowledge maintenance
40
+ description: Corrections compound into maintained instructions instead of being rediscovered.
41
+ - id: observability
42
+ title: Outcome observability
43
+ description: Runs and outcomes can be evaluated by task class, risk, cost, and quality.
44
+ - id: resilience
45
+ title: Failure containment and recovery
46
+ description: Agent failures are bounded, reversible, diagnosed, and rehearsed.
47
+
48
+ readiness_profiles:
49
+ - id: read-only-analysis
50
+ title: Read-only analysis
51
+ description: Agent may inspect approved repository content and return advice, without mutations.
52
+ floors:
53
+ context: 1
54
+ environment: 0
55
+ specification: 0
56
+ tooling: 0
57
+ security: 1
58
+ testing: 0
59
+ governance: 0
60
+ learning: 0
61
+ observability: 0
62
+ resilience: 0
63
+ - id: planning
64
+ title: Planning and specification
65
+ description: Agent may draft plans, specifications, and proposed changes for human review.
66
+ floors:
67
+ context: 2
68
+ environment: 0
69
+ specification: 1
70
+ tooling: 1
71
+ security: 1
72
+ testing: 0
73
+ governance: 1
74
+ learning: 0
75
+ observability: 0
76
+ resilience: 0
77
+ - id: local-implementation
78
+ title: Local implementation
79
+ description: Agent may edit an isolated checkout and run approved local verification.
80
+ floors:
81
+ context: 2
82
+ environment: 2
83
+ specification: 2
84
+ tooling: 2
85
+ security: 2
86
+ testing: 2
87
+ governance: 1
88
+ learning: 1
89
+ observability: 1
90
+ resilience: 1
91
+ - id: pr-creation
92
+ title: Pull request creation
93
+ description: Agent may create a branch and propose a pull request; a human retains merge authority.
94
+ floors:
95
+ context: 2
96
+ environment: 2
97
+ specification: 2
98
+ tooling: 2
99
+ security: 2
100
+ testing: 2
101
+ governance: 2
102
+ learning: 1
103
+ observability: 1
104
+ resilience: 2
105
+ - id: limited-autonomous-maintenance
106
+ title: Limited autonomous maintenance
107
+ description: >-
108
+ Agent may complete pre-approved, low-risk maintenance within strict scope, budget, and stop
109
+ conditions. This profile never grants production deployment authority.
110
+ floors:
111
+ context: 3
112
+ environment: 3
113
+ specification: 3
114
+ tooling: 3
115
+ security: 3
116
+ testing: 3
117
+ governance: 3
118
+ learning: 3
119
+ observability: 3
120
+ resilience: 3
121
+
122
+ scoring:
123
+ dimension_method: consecutive-levels
124
+ overall_method: sum
125
+ maximum_score: 40
126
+ readiness_method: non-compensating-floors
127
+ attestation_counts_as_verified: false
@@ -0,0 +1,79 @@
1
+ dimension: context
2
+ controls:
3
+ - id: ADRB-CTX-001
4
+ level: 1
5
+ title: Agent guidance is discoverable
6
+ outcome: A contributor or agent can locate the repository's authoritative operating guidance.
7
+ risk: Agents infer repository rules from generic practice or stale neighboring files.
8
+ evidence:
9
+ - type: path_any
10
+ scope: repository
11
+ patterns:
12
+ [
13
+ AGENTS.md,
14
+ Agents.md,
15
+ agents.md,
16
+ .ai/AGENTS.md,
17
+ .ai/Agents.md,
18
+ .ai/constitution.md,
19
+ .ai/instructions/**,
20
+ .ai/rules/**,
21
+ .agents/**,
22
+ ]
23
+ remediation: Add a tracked, non-empty agent entry point that names the authoritative guidance.
24
+ - id: ADRB-CTX-002
25
+ level: 2
26
+ title: Guidance scope and precedence are explicit
27
+ outcome: Instructions state their scope, precedence, important constraints, and architecture boundaries.
28
+ risk: Conflicting or nested guidance produces plausible changes that violate local invariants.
29
+ allow_agent_evidence: true
30
+ agent_evidence_scopes: [repository]
31
+ evidence:
32
+ - type: content_terms
33
+ scope: repository
34
+ files:
35
+ [
36
+ AGENTS.md,
37
+ Agents.md,
38
+ agents.md,
39
+ .ai/AGENTS.md,
40
+ .ai/Agents.md,
41
+ .ai/constitution.md,
42
+ .ai/instructions/**/*.md,
43
+ .ai/rules/**/*.md,
44
+ .ai/skills/**/*.md,
45
+ .agents/**/*.md,
46
+ ]
47
+ terms: [scope, precedence, architecture, must, constraint]
48
+ min_terms: 2
49
+ max_span_lines: 120
50
+ max_files_per_pattern: 50
51
+ remediation: Document instruction scope, precedence, non-negotiable constraints, and where deeper guidance lives.
52
+ - id: ADRB-CTX-003
53
+ level: 3
54
+ title: Agent guidance integrity is mechanically checked
55
+ outcome: Automated validation detects missing, broken, stale, or structurally invalid agent guidance.
56
+ risk: Critical instructions silently drift while agents continue treating them as authoritative.
57
+ allow_agent_evidence: true
58
+ agent_evidence_scopes: [repository]
59
+ evidence:
60
+ - type: content_terms
61
+ scope: repository
62
+ files: [.github/workflows/**, scripts/**, package.json, Makefile]
63
+ terms: [validate, lint, stale, broken link, integrity, check]
64
+ min_terms: 1
65
+ required_any_terms: [agent docs, agent instructions, AGENTS.md, Agents.md]
66
+ max_span_lines: 25
67
+ remediation: Add a CI check for required agent files, links, ownership, and structural invariants.
68
+ - id: ADRB-CTX-004
69
+ level: 4
70
+ title: Guidance effectiveness drives improvement
71
+ outcome: Retrieval failures, repeated instruction errors, and correction latency are trended and improve guidance.
72
+ risk: Documentation volume grows without evidence that agents find and apply the right context.
73
+ allow_attestation: true
74
+ allow_agent_evidence: true
75
+ evidence:
76
+ - type: manual
77
+ scope: outcome
78
+ prompt: Provide time-series guidance-quality outcomes and a recent instruction change driven by them.
79
+ remediation: Measure context retrieval and recurring instruction failures, then update guidance from the results.
@@ -0,0 +1,93 @@
1
+ dimension: environment
2
+ controls:
3
+ - id: ADRB-ENV-001
4
+ level: 1
5
+ title: Development setup is documented
6
+ outcome: Contributors can identify supported runtime prerequisites and the canonical setup path.
7
+ risk: Agents improvise dependencies or run commands in an incompatible environment.
8
+ allow_agent_evidence: true
9
+ agent_evidence_scopes: [repository]
10
+ evidence:
11
+ - type: content_terms
12
+ scope: repository
13
+ files:
14
+ [
15
+ README.md,
16
+ CONTRIBUTING.md,
17
+ AGENTS.md,
18
+ Agents.md,
19
+ agents.md,
20
+ .ai/AGENTS.md,
21
+ .ai/Agents.md,
22
+ .ai/constitution.md,
23
+ .ai/instructions/**/*.md,
24
+ .ai/rules/**/*.md,
25
+ .ai/skills/**/*.md,
26
+ .agents/**/*.md,
27
+ docs/setup/**,
28
+ docs/development/**,
29
+ ]
30
+ terms: [install, setup, runtime, prerequisites, dependencies, development]
31
+ min_terms: 2
32
+ max_span_lines: 120
33
+ max_files_per_pattern: 50
34
+ remediation: Document supported runtimes, prerequisites, installation, and the first verification command.
35
+ - id: ADRB-ENV-002
36
+ level: 2
37
+ title: Dependencies and toolchain are reproducibly pinned
38
+ outcome: The repository records deterministic dependency resolution and a supported runtime or container definition.
39
+ risk: Local and CI behavior diverge as dependency or runtime versions float.
40
+ evidence:
41
+ - type: path_any
42
+ scope: repository
43
+ patterns:
44
+ [
45
+ package-lock.json,
46
+ pnpm-lock.yaml,
47
+ yarn.lock,
48
+ uv.lock,
49
+ poetry.lock,
50
+ Pipfile.lock,
51
+ Cargo.lock,
52
+ go.sum,
53
+ ]
54
+ - type: path_any
55
+ scope: repository
56
+ patterns:
57
+ [
58
+ .node-version,
59
+ .nvmrc,
60
+ .python-version,
61
+ mise.toml,
62
+ .tool-versions,
63
+ Dockerfile,
64
+ .devcontainer/**,
65
+ ]
66
+ remediation: Commit a lockfile and a supported runtime, toolchain, or development-container declaration.
67
+ - id: ADRB-ENV-003
68
+ level: 3
69
+ title: CI recreates the canonical environment
70
+ outcome: Continuous integration installs from locked inputs and runs canonical verification in a clean environment.
71
+ risk: A local-only setup passes while clean automation fails or uses materially different dependencies.
72
+ allow_agent_evidence: true
73
+ agent_evidence_scopes: [repository]
74
+ evidence:
75
+ - type: content_terms
76
+ scope: repository
77
+ files: [.github/workflows/**, .gitlab-ci.yml, Jenkinsfile, azure-pipelines.yml]
78
+ terms: [npm ci, frozen-lockfile, uv sync, lockfile, checkout, test, typecheck]
79
+ min_terms: 2
80
+ max_span_lines: 160
81
+ remediation: Make CI install locked dependencies from a clean checkout and run the documented verification path.
82
+ - id: ADRB-ENV-004
83
+ level: 4
84
+ title: Environment reliability drives improvement
85
+ outcome: Setup failures, cache misses, drift, and reproducibility incidents are trended and reduced.
86
+ risk: Environment friction and nondeterminism remain anecdotal and repeatedly consume agent time.
87
+ allow_attestation: true
88
+ allow_agent_evidence: true
89
+ evidence:
90
+ - type: manual
91
+ scope: outcome
92
+ prompt: Provide environment reliability trends and a recent setup or CI improvement driven by them.
93
+ remediation: Track clean-setup and CI-environment outcomes, then prioritize the largest sources of drift.
@@ -0,0 +1,97 @@
1
+ dimension: governance
2
+ controls:
3
+ - id: ADRB-GOV-001
4
+ level: 1
5
+ title: Contribution and review expectations are documented
6
+ outcome: Contributors can find non-empty guidance describing how changes are proposed and reviewed.
7
+ risk: Agents submit changes without a shared review or accountability process.
8
+ allow_agent_evidence: true
9
+ agent_evidence_scopes: [repository]
10
+ evidence:
11
+ - type: content_terms
12
+ scope: repository
13
+ files:
14
+ [
15
+ CONTRIBUTING.md,
16
+ AGENTS.md,
17
+ Agents.md,
18
+ agents.md,
19
+ .github/pull_request_template.md,
20
+ .github/PULL_REQUEST_TEMPLATE/**,
21
+ .ai/AGENTS.md,
22
+ .ai/Agents.md,
23
+ .ai/constitution.md,
24
+ .ai/instructions/**/*.md,
25
+ .ai/rules/**/*.md,
26
+ .ai/skills/**/*.md,
27
+ .agents/**/*.md,
28
+ docs/contributing/**,
29
+ docs/agentic/**,
30
+ ]
31
+ terms: [pull request, review, approval, testing, contribution, before merge]
32
+ min_terms: 2
33
+ required_any_terms: [pull request, review, approval, before merge]
34
+ max_span_lines: 100
35
+ max_files_per_pattern: 50
36
+ remediation: Publish contribution guidance covering change proposals, verification, reviewers, and approvals.
37
+ - id: ADRB-GOV-002
38
+ level: 2
39
+ title: Ownership and merge authority are declared
40
+ outcome: The tracked repository assigns review ownership and states who may approve or merge changes.
41
+ risk: Sensitive or cross-cutting changes reach reviewers without accountable ownership.
42
+ allow_agent_evidence: true
43
+ agent_evidence_scopes: [repository]
44
+ evidence:
45
+ - type: path_any
46
+ scope: repository
47
+ patterns: [.github/CODEOWNERS, CODEOWNERS]
48
+ - type: content_terms
49
+ scope: repository
50
+ files:
51
+ [
52
+ CONTRIBUTING.md,
53
+ GOVERNANCE.md,
54
+ AGENTS.md,
55
+ Agents.md,
56
+ agents.md,
57
+ .github/pull_request_template.md,
58
+ .ai/AGENTS.md,
59
+ .ai/Agents.md,
60
+ .ai/constitution.md,
61
+ .ai/instructions/**/*.md,
62
+ .ai/rules/**/*.md,
63
+ .ai/skills/**/*.md,
64
+ .agents/**/*.md,
65
+ docs/governance/**,
66
+ docs/agentic/**,
67
+ ]
68
+ terms: [owner, reviewer, approval, merge authority, required review, merge]
69
+ min_terms: 2
70
+ required_any_terms: [owner, reviewer, approval, merge authority, required review]
71
+ max_span_lines: 100
72
+ max_files_per_pattern: 50
73
+ remediation: Commit ownership rules and document reviewer, approval, merge, and exception authority.
74
+ - id: ADRB-GOV-003
75
+ level: 3
76
+ title: Protected merge governance is enforced
77
+ outcome: Platform rules enforce reviews, required checks, protected branches, and controlled exceptions.
78
+ risk: Repository-side declarations can be bypassed because platform enforcement is absent or too broad.
79
+ allow_attestation: true
80
+ allow_agent_evidence: true
81
+ evidence:
82
+ - type: manual
83
+ scope: platform
84
+ prompt: Show protected branch or ruleset coverage, required reviews and checks, merge authority, bypass actors, and exception records.
85
+ remediation: Enforce branch or merge rules for relevant branches and restrict, record, and review bypasses.
86
+ - id: ADRB-GOV-004
87
+ level: 4
88
+ title: Governance outcomes drive improvement
89
+ outcome: Review escapes, bypasses, rollback causes, and approval latency are trended and improve governance.
90
+ risk: Governance becomes ceremony without evidence that it catches risk efficiently.
91
+ allow_attestation: true
92
+ allow_agent_evidence: true
93
+ evidence:
94
+ - type: manual
95
+ scope: outcome
96
+ prompt: Provide governance outcome trends and a recent review or merge-policy improvement driven by them.
97
+ remediation: Trend governance outcomes by risk class and tune ownership, review depth, and exceptions.
@@ -0,0 +1,80 @@
1
+ dimension: learning
2
+ controls:
3
+ - id: ADRB-LRN-001
4
+ level: 1
5
+ title: Agent corrections have a durable home
6
+ outcome: Review corrections and post-merge lessons are recorded in a tracked repository artifact.
7
+ risk: Every agent session repeats the same repository-specific mistakes.
8
+ allow_agent_evidence: true
9
+ agent_evidence_scopes: [repository]
10
+ evidence:
11
+ - type: path_any
12
+ scope: repository
13
+ patterns:
14
+ [
15
+ .ai/lessons.md,
16
+ .ai/memory/**,
17
+ .agents/memory/**,
18
+ docs/lessons/**,
19
+ docs/decisions/**,
20
+ ADR/**,
21
+ docs/adr/**,
22
+ ]
23
+ remediation: Create a concise tracked correction log with context, rule, owner, and date.
24
+ - id: ADRB-LRN-002
25
+ level: 2
26
+ title: Knowledge promotion and ownership are documented
27
+ outcome: Guidance defines when corrections become instructions, skills, decisions, or maintained references.
28
+ risk: The lesson store becomes a stale archive rather than usable agent knowledge.
29
+ allow_agent_evidence: true
30
+ agent_evidence_scopes: [repository]
31
+ evidence:
32
+ - type: content_terms
33
+ scope: repository
34
+ files:
35
+ [
36
+ AGENTS.md,
37
+ Agents.md,
38
+ agents.md,
39
+ .ai/lessons.md,
40
+ .ai/memory/**/*.md,
41
+ .ai/instructions/**/*.md,
42
+ .ai/rules/**/*.md,
43
+ .ai/skills/**/*.md,
44
+ .agents/**/*.md,
45
+ docs/knowledge/**,
46
+ ]
47
+ terms: [curation, promote, lesson, correction, stale, owner, deduplication]
48
+ min_terms: 3
49
+ required_any_terms: [curation, promote, lesson, correction]
50
+ max_span_lines: 120
51
+ max_files_per_pattern: 50
52
+ remediation: Define curation cadence, promotion rules, ownership, deduplication, and stale-content handling.
53
+ - id: ADRB-LRN-003
54
+ level: 3
55
+ title: Knowledge curation is mechanically enforced
56
+ outcome: Automation detects stale, duplicate, contradictory, or unpromoted agent knowledge.
57
+ risk: Knowledge quality relies on memory and quietly deteriorates as the repository evolves.
58
+ allow_agent_evidence: true
59
+ agent_evidence_scopes: [repository]
60
+ evidence:
61
+ - type: content_terms
62
+ scope: repository
63
+ files: [.github/workflows/**, scripts/**, package.json, Makefile]
64
+ terms: [curator, curation, knowledge lint, stale, contradiction, duplicate]
65
+ min_terms: 2
66
+ required_any_terms: [curator, curation, knowledge lint, contradiction]
67
+ max_span_lines: 30
68
+ remediation: Automate mechanical checks and require periodic judgement over knowledge quality.
69
+ - id: ADRB-LRN-004
70
+ level: 4
71
+ title: Knowledge effectiveness drives improvement
72
+ outcome: Recurring mistakes, stale guidance, retrieval success, and correction latency are trended and improve curation.
73
+ risk: Knowledge grows without evidence that it changes agent behavior.
74
+ allow_attestation: true
75
+ allow_agent_evidence: true
76
+ evidence:
77
+ - type: manual
78
+ scope: outcome
79
+ prompt: Provide recurring-error and knowledge-quality trends plus a recent curation improvement driven by them.
80
+ remediation: Measure whether promoted knowledge prevents repeated mistakes and prioritize weak guidance.
@@ -0,0 +1,91 @@
1
+ dimension: observability
2
+ controls:
3
+ - id: ADRB-OBS-001
4
+ level: 1
5
+ title: Agent run records are defined
6
+ outcome: A tracked schema or guide defines how material agent activity can be reconstructed.
7
+ risk: Teams cannot explain what happened after a poor change or security concern.
8
+ allow_agent_evidence: true
9
+ agent_evidence_scopes: [repository]
10
+ evidence:
11
+ - type: content_terms
12
+ scope: repository
13
+ files:
14
+ [
15
+ .ai/run-envelope.*,
16
+ .ai/runs/README*,
17
+ .agentic/run-envelope.*,
18
+ .agentic/runs/README*,
19
+ docs/observability/**,
20
+ docs/agentic/**,
21
+ evals/**,
22
+ evaluations/**,
23
+ observability/**,
24
+ ]
25
+ terms: [task, actor, harness, result, timestamp, evidence]
26
+ min_terms: 3
27
+ required_any_terms: [agent, actor, harness, agent run]
28
+ max_span_lines: 100
29
+ max_files_per_pattern: 50
30
+ remediation: Define a privacy-safe run record containing task, harness, result, timing, and evidence references.
31
+ - id: ADRB-OBS-002
32
+ level: 2
33
+ title: Run envelope and outcome taxonomy are documented
34
+ outcome: Run guidance covers authority, tools, budget, stop reason, verification, and outcome classification.
35
+ risk: Comparisons confound model, tooling, permissions, task risk, and checkout state.
36
+ allow_agent_evidence: true
37
+ agent_evidence_scopes: [repository]
38
+ evidence:
39
+ - type: content_terms
40
+ scope: repository
41
+ files:
42
+ [
43
+ .ai/run-envelope.*,
44
+ .ai/runs/README*,
45
+ .agentic/run-envelope.*,
46
+ .agentic/runs/README*,
47
+ docs/observability/**,
48
+ docs/agentic/**,
49
+ evals/**,
50
+ evaluations/**,
51
+ observability/**,
52
+ ]
53
+ terms:
54
+ [
55
+ task class,
56
+ tool,
57
+ permission,
58
+ budget,
59
+ stop reason,
60
+ outcome,
61
+ harness version,
62
+ verification,
63
+ ]
64
+ min_terms: 4
65
+ max_span_lines: 140
66
+ max_files_per_pattern: 50
67
+ remediation: Adopt a common run envelope and outcome taxonomy with privacy and retention rules.
68
+ - id: ADRB-OBS-003
69
+ level: 3
70
+ title: Outcome evidence is captured consistently
71
+ outcome: Material agent runs automatically emit retained metadata and verification outcomes.
72
+ risk: Only memorable successes and failures shape policy, creating selection bias.
73
+ allow_attestation: true
74
+ allow_agent_evidence: true
75
+ evidence:
76
+ - type: manual
77
+ scope: platform
78
+ prompt: Show automated run-envelope capture, completeness monitoring, retention controls, and access controls.
79
+ remediation: Emit structured run and outcome records automatically while minimizing sensitive content.
80
+ - id: ADRB-OBS-004
81
+ level: 4
82
+ title: Agent outcomes drive autonomy decisions
83
+ outcome: Quality, escape rate, cycle time, cost, intervention, and rollback trends change autonomy or harness policy.
84
+ risk: Token use or completion rate becomes a misleading proxy for engineering value and safety.
85
+ allow_attestation: true
86
+ allow_agent_evidence: true
87
+ evidence:
88
+ - type: manual
89
+ scope: outcome
90
+ prompt: Provide outcome trends segmented by task and risk class and an autonomy or harness decision they changed.
91
+ remediation: Evaluate quality and total effort by task class and use results to narrow or expand autonomy.
@@ -0,0 +1,107 @@
1
+ dimension: resilience
2
+ controls:
3
+ - id: ADRB-RES-001
4
+ level: 1
5
+ title: Changes have a documented recovery path
6
+ outcome: Contributors can locate actionable rollback, revert, recovery, or incident guidance.
7
+ risk: A harmful agent change persists because recovery is improvised under pressure.
8
+ allow_agent_evidence: true
9
+ agent_evidence_scopes: [repository]
10
+ evidence:
11
+ - type: content_terms
12
+ scope: repository
13
+ files:
14
+ [
15
+ README.md,
16
+ CONTRIBUTING.md,
17
+ AGENTS.md,
18
+ Agents.md,
19
+ agents.md,
20
+ .ai/AGENTS.md,
21
+ .ai/Agents.md,
22
+ .ai/constitution.md,
23
+ .ai/instructions/**/*.md,
24
+ .ai/rules/**/*.md,
25
+ .ai/skills/**/*.md,
26
+ .agents/**/*.md,
27
+ docs/recovery/**,
28
+ docs/operations/**,
29
+ docs/agentic/**,
30
+ runbooks/**,
31
+ .github/**,
32
+ ]
33
+ terms: [rollback, revert, recovery, incident, restore]
34
+ min_terms: 2
35
+ required_any_terms: [change, deployment, release, agent, task, pull request]
36
+ max_span_lines: 100
37
+ max_files_per_pattern: 50
38
+ remediation: Document how to stop work, revert code, recover affected state, and escalate an incident.
39
+ - id: ADRB-RES-002
40
+ level: 2
41
+ title: Failure containment and stop conditions are documented
42
+ outcome: Agent guidance defines mutation limits, budgets, stop triggers, escalation, and recovery ownership.
43
+ risk: A looping or confused agent continues spending or mutating beyond the intended scope.
44
+ allow_agent_evidence: true
45
+ agent_evidence_scopes: [repository]
46
+ evidence:
47
+ - type: content_terms
48
+ scope: repository
49
+ files:
50
+ [
51
+ AGENTS.md,
52
+ Agents.md,
53
+ agents.md,
54
+ SECURITY.md,
55
+ .ai/AGENTS.md,
56
+ .ai/Agents.md,
57
+ .ai/constitution.md,
58
+ .ai/instructions/**/*.md,
59
+ .ai/rules/**/*.md,
60
+ .ai/skills/**/*.md,
61
+ .agents/**/*.md,
62
+ docs/agentic/**,
63
+ docs/recovery/**,
64
+ runbooks/**,
65
+ templates/**,
66
+ ]
67
+ terms:
68
+ [
69
+ stop condition,
70
+ rollback,
71
+ isolation,
72
+ budget,
73
+ kill switch,
74
+ escalation,
75
+ recovery owner,
76
+ retry limit,
77
+ max retries,
78
+ ]
79
+ min_terms: 3
80
+ required_any_terms: [stop condition, kill switch, recovery owner, retry limit, max retries]
81
+ max_span_lines: 120
82
+ max_files_per_pattern: 50
83
+ remediation: Add bounded scope, budget, retry, stop, escalation, and recovery requirements to task preflight.
84
+ - id: ADRB-RES-003
85
+ level: 3
86
+ title: Containment and recovery controls are exercised
87
+ outcome: Cancellation, credential revocation, rollback, timeout, and partial-failure recovery are tested.
88
+ risk: Recovery mechanisms exist on paper but fail when the harness behaves unexpectedly.
89
+ allow_attestation: true
90
+ allow_agent_evidence: true
91
+ evidence:
92
+ - type: manual
93
+ scope: organization
94
+ prompt: Show recent automated tests or exercises for stop, timeout, revocation, rollback, and partial failure.
95
+ remediation: Add failure-injection tests and periodic exercises for containment and reversible recovery.
96
+ - id: ADRB-RES-004
97
+ level: 4
98
+ title: Recovery outcomes drive improvement
99
+ outcome: Time-to-detect, time-to-stop, rollback success, impact, and recurrence trends improve containment.
100
+ risk: The same failure patterns repeat because recovery performance and residual impact are unknown.
101
+ allow_attestation: true
102
+ allow_agent_evidence: true
103
+ evidence:
104
+ - type: manual
105
+ scope: outcome
106
+ prompt: Provide recovery outcome trends and a recent containment or rollback improvement driven by them.
107
+ remediation: Trend containment and recovery outcomes and feed them into autonomy and tool design.