agentic-scorecard 0.3.0 → 0.4.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.
- package/AGENT_PROMPT.md +68 -52
- package/README.md +50 -37
- package/benchmark/v0.4/adapter-contract.md +129 -0
- package/benchmark/v0.4/adapters/known-agent-harnesses.yaml +266 -0
- package/benchmark/v0.4/adapters/known-ci-providers.yaml +57 -0
- package/benchmark/v0.4/adapters/known-command-wrappers.yaml +37 -0
- package/benchmark/v0.4/adapters/known-environment-tooling.yaml +17 -0
- package/benchmark/v0.4/adapters/known-github-conventions.yaml +27 -0
- package/benchmark/v0.4/adapters/known-python-tooling.yaml +15 -0
- package/benchmark/v0.4/adapters/known-security-tools.yaml +45 -0
- package/benchmark/v0.4/adapters/known-verification-tools.yaml +65 -0
- package/benchmark/v0.4/agent-evidence-schema.json +74 -0
- package/benchmark/v0.4/attestation-schema.json +35 -0
- package/benchmark/v0.4/benchmark.yaml +127 -0
- package/benchmark/v0.4/calibration-matrix.md +60 -0
- package/benchmark/v0.4/controls/context.yaml +75 -0
- package/benchmark/v0.4/controls/environment.yaml +93 -0
- package/benchmark/v0.4/controls/governance.yaml +132 -0
- package/benchmark/v0.4/controls/learning.yaml +78 -0
- package/benchmark/v0.4/controls/observability.yaml +91 -0
- package/benchmark/v0.4/controls/resilience.yaml +170 -0
- package/benchmark/v0.4/controls/security.yaml +143 -0
- package/benchmark/v0.4/controls/specification.yaml +65 -0
- package/benchmark/v0.4/controls/testing.yaml +82 -0
- package/benchmark/v0.4/controls/tooling.yaml +69 -0
- package/benchmark/v0.4/report-schema.json +89 -0
- package/benchmark/v0.4/scoring-policy.md +175 -0
- package/dist/cli.js +2315 -162
- package/package.json +3 -2
- package/templates/agent-evidence.yaml +2 -2
- package/templates/attestations.yaml +3 -1
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
id: agentic-development-readiness
|
|
2
|
+
version: 0.4.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,60 @@
|
|
|
1
|
+
# v0.4 calibration matrix
|
|
2
|
+
|
|
3
|
+
This matrix records the versioned expected outcomes exercised by the v0.4 conformance fixtures.
|
|
4
|
+
PR #11 review is the independent acceptance gate for these expectations. The executable assertions
|
|
5
|
+
live in `tests/v04-calibration.test.ts`; this document is the public, human-readable index.
|
|
6
|
+
|
|
7
|
+
| Case | Surface | Expected outcome |
|
|
8
|
+
| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------ | -------------------------------------------------------------- |
|
|
9
|
+
| Mature harness | Node, GitHub Actions | 30/40, repository 23/23, limited-autonomous-maintenance passes |
|
|
10
|
+
| Guidance and verification comments only | GitHub Actions plus Jenkins comments | CTX-003 and TST-003 do not pass |
|
|
11
|
+
| Missing or display-only package tasks | Node package scripts | CTX-003 and TST-003 do not pass |
|
|
12
|
+
| Missing package tasks behind supported wrappers | Node, GitHub Actions | TST-003 does not pass |
|
|
13
|
+
| Package/workspace context switch; nested package-exec tools | Node, GitHub Actions | Context switch fails closed; nested tools may pass |
|
|
14
|
+
| Executed no-op guidance-validation script | Node, GitHub Actions | CTX-003 does not pass |
|
|
15
|
+
| Executed guidance validation, tests, and typecheck | Node, GitHub Actions | CTX-003 and TST-003 pass |
|
|
16
|
+
| Locked install, tests, static analysis, traceability, and curation | Node, GitHub Actions | ENV-003, SPC-003, and LRN-003 pass |
|
|
17
|
+
| Frozen install with pnpm, Yarn, or Bun | Node, GitHub Actions | ENV-003 passes |
|
|
18
|
+
| Keyword-bearing no-op environment, traceability, or curation files | Node, GitHub Actions | ENV-003, SPC-003, and LRN-003 do not pass |
|
|
19
|
+
| Specification heading check without implementation/test bindings | Node, GitHub Actions | SPC-003 does not pass |
|
|
20
|
+
| Python tests and static analysis | `uv run pytest` and `uv run mypy`, GitLab CI | TST-003 passes |
|
|
21
|
+
| Rust tests and static analysis | `cargo test` and `cargo clippy`, Azure Pipelines | TST-003 passes |
|
|
22
|
+
| Tests and static analysis split across CI files | Separate GitHub workflows | TST-003 passes |
|
|
23
|
+
| Tests and static analysis in one fail-fast multiline step | GitHub Actions | TST-003 passes |
|
|
24
|
+
| Multiline verification without a provider fail-fast guarantee | Azure Pipelines | TST-003 does not pass |
|
|
25
|
+
| Test discovery or session-listing commands plus static analysis | Python, GitHub Actions | TST-003 does not pass |
|
|
26
|
+
| Go or .NET test-listing modes plus static analysis | Multiple runtimes, GitHub Actions | TST-003 does not pass |
|
|
27
|
+
| Pytest local-variable display plus static analysis | Python, GitHub Actions | TST-003 passes |
|
|
28
|
+
| Tracked Maven/Gradle root wrappers versus missing wrapper | Java, GitHub Actions | Tracked wrappers pass; missing wrapper does not |
|
|
29
|
+
| Monorepo tests and static analysis | Root package tasks bound to Turbo commands | TST-003 passes |
|
|
30
|
+
| Invalid cross-tool command aliases | GitHub Actions | TST-003 command classes remain unmatched |
|
|
31
|
+
| Path-qualified package-manager impersonator or command after unconditional exit | Node, GitHub Actions | Mechanical CI controls do not pass |
|
|
32
|
+
| Executed secret scanner | GitHub Actions, GitLab CI, Azure Pipelines | SEC-003 repository alternative passes |
|
|
33
|
+
| git-secrets default scan versus unrelated explicit target | GitHub Actions | Default passes; unrelated target does not |
|
|
34
|
+
| Scanner comments, display modes, disabled/non-blocking jobs, neutralized scanner exits, invalid actions, or non-integration triggers | Multiple providers | SEC-003 repository alternative does not pass |
|
|
35
|
+
| Explicit unsupported command shell | GitHub Actions | SEC-003 repository alternative does not pass |
|
|
36
|
+
| Disjunction of supported integration events | GitHub Actions | SEC-003 repository alternative passes |
|
|
37
|
+
| Unresolved GitLab inheritance, exclusions, or non-blocking defaults | GitLab CI | SEC-003 repository alternative does not pass |
|
|
38
|
+
| Malformed GitLab workflow or job rules | GitLab CI | SEC-003 repository alternative does not pass |
|
|
39
|
+
| Job-level merge-request rule under a workflow-level denial | GitLab CI | SEC-003 repository alternative does not pass |
|
|
40
|
+
| Nested CI fragments or Azure root command fields | Multiple providers | SEC-003 repository alternative does not pass |
|
|
41
|
+
| Conditional checkout with unsupported target effect; non-root setup hook or working directory | Multiple providers | Repository-bound CI evidence fails closed |
|
|
42
|
+
| Azure stage with direct steps | Azure Pipelines | SEC-003 repository alternative does not pass |
|
|
43
|
+
| Host-native secret scanning claim | Target-bound platform evidence | SEC-003 may pass; SEC-007 remains unresolved |
|
|
44
|
+
| Keyword-stuffed or distant guidance | Repository documents and generated run output | Mechanical Level 3 controls do not pass |
|
|
45
|
+
| Comment-only validation-script structure | Executed tracked validator | CTX-003 does not pass |
|
|
46
|
+
| Required validator patterns split across unreachable functions | Executed tracked validator | CTX-003 does not pass |
|
|
47
|
+
| Explicit ownership map plus human approval and merge authority | Conventional ownership formats | GOV-002 passes |
|
|
48
|
+
| Placeholder/inactive owner, vague prose, negated authority, or missing authority | Conventional ownership formats | GOV-002 does not pass |
|
|
49
|
+
| AI/bot-qualified maintainer approval or merge authority | Agent guidance | GOV-002 does not pass |
|
|
50
|
+
| Component table in `OWNERS.md`; contact under a former-maintainers heading | Conventional ownership formats | Active mapping passes; former-only contact does not |
|
|
51
|
+
| Bare component name in a typed ownership table | Conventional ownership formats | Accountable assignment passes |
|
|
52
|
+
| Complete co-located containment components | Agent guidance | RES-002 passes |
|
|
53
|
+
| Compound “do not continue outside allowed paths” containment rule | Agent guidance | Mutation scope and stop trigger both match |
|
|
54
|
+
| Resource budget without retry bounds, or retry bounds without a resource budget | Agent guidance | RES-002 does not pass |
|
|
55
|
+
| Partial, negated, or absent containment components | Agent guidance | RES-002 does not pass and reports matched/missing groups |
|
|
56
|
+
|
|
57
|
+
Jenkins is intentionally a negative calibration in v0.4: the offline collector does not claim that
|
|
58
|
+
a Jenkinsfile is integration-triggered without a supported structural provider parser. Such evidence
|
|
59
|
+
remains unresolved or may be supplied as eligible, source-backed agent evidence. Scores from v0.3
|
|
60
|
+
and v0.4 are not directly comparable.
|
|
@@ -0,0 +1,75 @@
|
|
|
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: ci_command
|
|
61
|
+
scope: repository
|
|
62
|
+
min_tools: 1
|
|
63
|
+
remediation: Add a CI check for required agent files, links, ownership, and structural invariants.
|
|
64
|
+
- id: ADRB-CTX-004
|
|
65
|
+
level: 4
|
|
66
|
+
title: Guidance effectiveness drives improvement
|
|
67
|
+
outcome: Retrieval failures, repeated instruction errors, and correction latency are trended and improve guidance.
|
|
68
|
+
risk: Documentation volume grows without evidence that agents find and apply the right context.
|
|
69
|
+
allow_attestation: true
|
|
70
|
+
allow_agent_evidence: true
|
|
71
|
+
evidence:
|
|
72
|
+
- type: manual
|
|
73
|
+
scope: outcome
|
|
74
|
+
prompt: Provide time-series guidance-quality outcomes and a recent instruction change driven by them.
|
|
75
|
+
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: ci_command
|
|
76
|
+
scope: repository
|
|
77
|
+
providers: []
|
|
78
|
+
tools: []
|
|
79
|
+
min_tools: 3
|
|
80
|
+
tool_match_mode: same-execution
|
|
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,132 @@
|
|
|
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
|
+
.ai/AGENTS.md,
|
|
20
|
+
.ai/Agents.md,
|
|
21
|
+
.ai/constitution.md,
|
|
22
|
+
.ai/instructions/**/*.md,
|
|
23
|
+
.ai/rules/**/*.md,
|
|
24
|
+
.ai/skills/**/*.md,
|
|
25
|
+
.agents/**/*.md,
|
|
26
|
+
docs/contributing/**,
|
|
27
|
+
docs/agentic/**,
|
|
28
|
+
]
|
|
29
|
+
terms: [pull request, review, approval, testing, contribution, before merge]
|
|
30
|
+
min_terms: 2
|
|
31
|
+
required_any_terms: [pull request, review, approval, before merge]
|
|
32
|
+
max_span_lines: 100
|
|
33
|
+
max_files_per_pattern: 50
|
|
34
|
+
remediation: Publish contribution guidance covering change proposals, verification, reviewers, and approvals.
|
|
35
|
+
- id: ADRB-GOV-002
|
|
36
|
+
level: 2
|
|
37
|
+
title: Ownership, approval, and merge authority are declared
|
|
38
|
+
outcome: The tracked repository assigns review ownership and states which accountable human roles may approve and merge changes.
|
|
39
|
+
risk: Sensitive or cross-cutting changes reach reviewers without accountable ownership.
|
|
40
|
+
allow_agent_evidence: true
|
|
41
|
+
agent_evidence_scopes: [repository]
|
|
42
|
+
evidence:
|
|
43
|
+
- type: ownership_map
|
|
44
|
+
scope: repository
|
|
45
|
+
patterns:
|
|
46
|
+
[
|
|
47
|
+
CODEOWNERS,
|
|
48
|
+
OWNERS,
|
|
49
|
+
OWNERS.md,
|
|
50
|
+
MAINTAINERS,
|
|
51
|
+
MAINTAINERS.md,
|
|
52
|
+
GOVERNANCE.md,
|
|
53
|
+
docs/governance/**,
|
|
54
|
+
docs/ownership/**,
|
|
55
|
+
.ai/ownership/**,
|
|
56
|
+
]
|
|
57
|
+
- type: content_groups
|
|
58
|
+
scope: repository
|
|
59
|
+
files:
|
|
60
|
+
[
|
|
61
|
+
CONTRIBUTING.md,
|
|
62
|
+
GOVERNANCE.md,
|
|
63
|
+
AGENTS.md,
|
|
64
|
+
Agents.md,
|
|
65
|
+
agents.md,
|
|
66
|
+
.ai/AGENTS.md,
|
|
67
|
+
.ai/Agents.md,
|
|
68
|
+
.ai/constitution.md,
|
|
69
|
+
.ai/instructions/**/*.md,
|
|
70
|
+
.ai/rules/**/*.md,
|
|
71
|
+
.ai/skills/**/*.md,
|
|
72
|
+
.agents/**/*.md,
|
|
73
|
+
docs/governance/**,
|
|
74
|
+
docs/agentic/**,
|
|
75
|
+
]
|
|
76
|
+
groups:
|
|
77
|
+
- id: approval-authority
|
|
78
|
+
terms:
|
|
79
|
+
[
|
|
80
|
+
owner may approve,
|
|
81
|
+
owners may approve,
|
|
82
|
+
reviewer may approve,
|
|
83
|
+
reviewers may approve,
|
|
84
|
+
maintainer may approve,
|
|
85
|
+
maintainers may approve,
|
|
86
|
+
reviewer provides approval,
|
|
87
|
+
reviewer provides human approval,
|
|
88
|
+
reviewer approval,
|
|
89
|
+
maintainer approval is required,
|
|
90
|
+
maintainer approval required,
|
|
91
|
+
]
|
|
92
|
+
- id: merge-authority
|
|
93
|
+
terms:
|
|
94
|
+
[
|
|
95
|
+
owner may merge,
|
|
96
|
+
owners may merge,
|
|
97
|
+
reviewer may merge,
|
|
98
|
+
reviewers may merge,
|
|
99
|
+
maintainer may merge,
|
|
100
|
+
maintainers may merge,
|
|
101
|
+
maintainer has merge authority,
|
|
102
|
+
maintainers have merge authority,
|
|
103
|
+
maintainers retain merge authority,
|
|
104
|
+
]
|
|
105
|
+
min_groups: 2
|
|
106
|
+
max_span_lines: 100
|
|
107
|
+
max_files_per_pattern: 50
|
|
108
|
+
remediation: Commit ownership rules and document who reviews, who approves, who merges, and who controls exceptions.
|
|
109
|
+
- id: ADRB-GOV-003
|
|
110
|
+
level: 3
|
|
111
|
+
title: Protected merge governance is enforced
|
|
112
|
+
outcome: Platform rules enforce reviews, required checks, protected branches, and controlled exceptions.
|
|
113
|
+
risk: Repository-side declarations can be bypassed because platform enforcement is absent or too broad.
|
|
114
|
+
allow_attestation: true
|
|
115
|
+
allow_agent_evidence: true
|
|
116
|
+
evidence:
|
|
117
|
+
- type: manual
|
|
118
|
+
scope: platform
|
|
119
|
+
prompt: Show protected branch or ruleset coverage, required reviews and checks, merge authority, bypass actors, and exception records.
|
|
120
|
+
remediation: Enforce branch or merge rules for relevant branches and restrict, record, and review bypasses.
|
|
121
|
+
- id: ADRB-GOV-004
|
|
122
|
+
level: 4
|
|
123
|
+
title: Governance outcomes drive improvement
|
|
124
|
+
outcome: Review escapes, bypasses, rollback causes, and approval latency are trended and improve governance.
|
|
125
|
+
risk: Governance becomes ceremony without evidence that it catches risk efficiently.
|
|
126
|
+
allow_attestation: true
|
|
127
|
+
allow_agent_evidence: true
|
|
128
|
+
evidence:
|
|
129
|
+
- type: manual
|
|
130
|
+
scope: outcome
|
|
131
|
+
prompt: Provide governance outcome trends and a recent review or merge-policy improvement driven by them.
|
|
132
|
+
remediation: Trend governance outcomes by risk class and tune ownership, review depth, and exceptions.
|
|
@@ -0,0 +1,78 @@
|
|
|
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: ci_command
|
|
62
|
+
scope: repository
|
|
63
|
+
providers: []
|
|
64
|
+
tools: []
|
|
65
|
+
min_tools: 1
|
|
66
|
+
remediation: Automate mechanical checks and require periodic judgement over knowledge quality.
|
|
67
|
+
- id: ADRB-LRN-004
|
|
68
|
+
level: 4
|
|
69
|
+
title: Knowledge effectiveness drives improvement
|
|
70
|
+
outcome: Recurring mistakes, stale guidance, retrieval success, and correction latency are trended and improve curation.
|
|
71
|
+
risk: Knowledge grows without evidence that it changes agent behavior.
|
|
72
|
+
allow_attestation: true
|
|
73
|
+
allow_agent_evidence: true
|
|
74
|
+
evidence:
|
|
75
|
+
- type: manual
|
|
76
|
+
scope: outcome
|
|
77
|
+
prompt: Provide recurring-error and knowledge-quality trends plus a recent curation improvement driven by them.
|
|
78
|
+
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.
|