agentic-scorecard 0.1.0 → 0.2.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 +60 -31
- package/FEEDBACK.md +53 -0
- package/README.md +96 -37
- package/benchmark/v0.2/adapter-contract.md +25 -0
- package/benchmark/v0.2/agent-evidence-schema.json +52 -0
- package/benchmark/v0.2/attestation-schema.json +26 -0
- package/benchmark/v0.2/benchmark.yaml +127 -0
- package/benchmark/v0.2/controls/context.yaml +51 -0
- package/benchmark/v0.2/controls/environment.yaml +70 -0
- package/benchmark/v0.2/controls/governance.yaml +60 -0
- package/benchmark/v0.2/controls/learning.yaml +48 -0
- package/benchmark/v0.2/controls/observability.yaml +76 -0
- package/benchmark/v0.2/controls/resilience.yaml +60 -0
- package/benchmark/v0.2/controls/security.yaml +71 -0
- package/benchmark/v0.2/controls/specification.yaml +62 -0
- package/benchmark/v0.2/controls/testing.yaml +60 -0
- package/benchmark/v0.2/controls/tooling.yaml +58 -0
- package/benchmark/v0.2/report-schema.json +47 -0
- package/benchmark/v0.2/scoring-policy.md +71 -0
- package/dist/cli.js +607 -102
- package/package.json +5 -3
- package/templates/agent-evidence.yaml +11 -0
- package/templates/attestations.yaml +4 -4
- package/templates/baseline.csv +1 -1
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# v0.2 scoring policy
|
|
2
|
+
|
|
3
|
+
This document is normative for benchmark version 0.2.0.
|
|
4
|
+
|
|
5
|
+
## Unit and assessment scope
|
|
6
|
+
|
|
7
|
+
The unit is one repository plus explicitly supplied external and organizational evidence bound to
|
|
8
|
+
that repository. The default `tracked` mode considers only Git-tracked paths, using their current
|
|
9
|
+
working-tree contents. Reports record the commit, remote, and dirty state. `workspace` mode is
|
|
10
|
+
available for provisional assessment and is not directly comparable with tracked-mode reports.
|
|
11
|
+
|
|
12
|
+
Generated reports, attestations, evidence requests, and imported evidence bundles never qualify as
|
|
13
|
+
repository evidence. An assessment must be idempotent: adding its own generated artifacts cannot
|
|
14
|
+
change its score.
|
|
15
|
+
|
|
16
|
+
## Dimension scores
|
|
17
|
+
|
|
18
|
+
Each dimension earns level `n` only when every applicable control at that level and every lower
|
|
19
|
+
level is met. More than one control may exist at a level when separate observable outcomes are
|
|
20
|
+
required. Controls met above the first gap are reported but do not increase the dimension score.
|
|
21
|
+
|
|
22
|
+
The overall score is the sum of ten dimension scores, with a maximum of 40. The percentage is
|
|
23
|
+
display-only and does not determine readiness.
|
|
24
|
+
|
|
25
|
+
## Readiness decisions
|
|
26
|
+
|
|
27
|
+
Each autonomy profile defines a floor for every dimension. A profile passes only if every floor is
|
|
28
|
+
met. Strength in one dimension cannot compensate for a security, testing, governance, or recovery
|
|
29
|
+
gap elsewhere. No profile grants deployment or production authority.
|
|
30
|
+
|
|
31
|
+
## Evidence scopes and provenance
|
|
32
|
+
|
|
33
|
+
- `repository-detected`: a deterministic collector found qualifying evidence in the selected path
|
|
34
|
+
scope. It proves the reported artifact match, not consistent human behavior or external
|
|
35
|
+
enforcement.
|
|
36
|
+
- `agent-collected`: an authorized agent supplied a structured, source-backed external claim. It may
|
|
37
|
+
satisfy controls explicitly eligible for external evidence but is never independently verified.
|
|
38
|
+
- `attested`: an accountable person supplied a dated, expiring claim and durable reference.
|
|
39
|
+
- `unknown`: evidence is unavailable, expired, mismatched, unauthorized, or inconclusive.
|
|
40
|
+
|
|
41
|
+
Repository controls use non-empty files and control-specific, co-located term thresholds. External
|
|
42
|
+
platform, organization, and outcome controls cannot be inferred from repository keywords.
|
|
43
|
+
Human attestations and agent evidence may satisfy only controls explicitly eligible for those
|
|
44
|
+
classes; v0.2 repository-artifact controls are not overridable by declaration.
|
|
45
|
+
|
|
46
|
+
Level 4 requires time-series or outcome evidence and an improvement decision influenced by it. The
|
|
47
|
+
existence of a dashboard is insufficient.
|
|
48
|
+
|
|
49
|
+
## Agent evidence bundles
|
|
50
|
+
|
|
51
|
+
An agent evidence bundle is version-bound and target-bound. Claims record scope, status, collector,
|
|
52
|
+
collection and expiry times, a privacy-safe derivation summary, and durable references. The core
|
|
53
|
+
scanner makes no network calls; the agent obtains explicit authorization and uses read-only tools to
|
|
54
|
+
create the bundle. An error is distinct from a negative result and cannot pass a control.
|
|
55
|
+
|
|
56
|
+
Agent evidence can satisfy only controls with `allow_agent_evidence: true`. It cannot override a
|
|
57
|
+
failed repository artifact control.
|
|
58
|
+
|
|
59
|
+
## Changes and comparability
|
|
60
|
+
|
|
61
|
+
v0.1 remains immutable. v0.1 and v0.2 scores are not directly comparable because evidence and
|
|
62
|
+
control semantics changed. Reports are comparable only when benchmark version, target profile,
|
|
63
|
+
repository scope, evidence policy, and assessment mode match.
|
|
64
|
+
|
|
65
|
+
## Claims
|
|
66
|
+
|
|
67
|
+
Allowed: “We self-assessed repository X against ADRB v0.2.0 on DATE; N controls were
|
|
68
|
+
repository-detected, M agent-collected, and P human-attested.”
|
|
69
|
+
|
|
70
|
+
Not allowed: “Certified,” “compliant,” “safe,” “secure,” or “independently verified” based only on
|
|
71
|
+
this self-assessment.
|