agentic-scorecard 0.2.0 → 0.3.1
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.
- package/AGENT_PROMPT.md +72 -51
- package/README.md +62 -33
- package/benchmark/v0.3/adapter-contract.md +44 -0
- package/benchmark/v0.3/adapters/known-agent-harnesses.yaml +177 -0
- package/benchmark/v0.3/adapters/known-python-tooling.yaml +18 -0
- package/benchmark/v0.3/adapters/known-security-tools.yaml +6 -0
- package/benchmark/v0.3/agent-evidence-schema.json +67 -0
- package/benchmark/v0.3/attestation-schema.json +26 -0
- package/benchmark/v0.3/benchmark.yaml +127 -0
- package/benchmark/v0.3/controls/context.yaml +79 -0
- package/benchmark/v0.3/controls/environment.yaml +93 -0
- package/benchmark/v0.3/controls/governance.yaml +97 -0
- package/benchmark/v0.3/controls/learning.yaml +80 -0
- package/benchmark/v0.3/controls/observability.yaml +91 -0
- package/benchmark/v0.3/controls/resilience.yaml +107 -0
- package/benchmark/v0.3/controls/security.yaml +129 -0
- package/benchmark/v0.3/controls/specification.yaml +83 -0
- package/benchmark/v0.3/controls/testing.yaml +85 -0
- package/benchmark/v0.3/controls/tooling.yaml +69 -0
- package/benchmark/v0.3/report-schema.json +89 -0
- package/benchmark/v0.3/scoring-policy.md +100 -0
- package/dist/cli.js +508 -53
- package/package.json +1 -1
- package/templates/agent-evidence.yaml +3 -3
- package/templates/attestations.yaml +1 -1
- package/templates/baseline.csv +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://agentic-readiness.dev/schema/v0.3/attestations.json",
|
|
4
|
+
"title": "ADRB v0.3 human attestation file",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": ["benchmark_version", "attestations"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"benchmark_version": { "const": "0.3.0" },
|
|
10
|
+
"attestations": {
|
|
11
|
+
"type": "object",
|
|
12
|
+
"additionalProperties": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["status", "evidence", "owner", "reviewed_at", "expires_at"],
|
|
16
|
+
"properties": {
|
|
17
|
+
"status": { "enum": ["met", "not_met", "not_applicable", "unknown"] },
|
|
18
|
+
"evidence": { "type": "string", "minLength": 1 },
|
|
19
|
+
"owner": { "type": "string", "minLength": 1 },
|
|
20
|
+
"reviewed_at": { "type": "string", "format": "date" },
|
|
21
|
+
"expires_at": { "type": "string", "format": "date" }
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -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.
|