ACC v1 Machine-Readable Conformance Vectors
Status: Reference conformance corpus
Specification release: 1.0.6
Declaration compatibility family: ACC v1
This directory publishes portable declaration inputs, core runtime outcomes, and OpenAPI-specific default cases for the ACC v1 OpenAPI Binding Parser and Runtime profiles. Core-only consumers may reuse the vectors whose inputs do not depend on http_method or another binding-native signal.
The vectors complement the human checklist in ../README.md. They do not prescribe an implementation API, database, queue, approval UI, logging backend, or hash algorithm, and passing them is not official certification.
Files
vectors.schema.json: schema for the corpus format.vectors.json: versioned parser and runtime cases.../../scripts/check-conformance.mjs: reference oracle used to verify that the corpus is internally consistent.- Coverage and implementation evidence (中文): all 48 vector IDs, their limits, and the integration evidence they do not replace.
Abstract Kinds
| Kind | Portable observation |
|---|---|
declaration |
Whether the ACC object is structurally valid and whether its major version is supported. |
exposure |
Whether a capability may be exposed for the supplied scope policy and trusted-subject availability. |
approval |
Whether valid invocation arguments allow execution, require approval, or must be rejected. |
risk-default |
The effective ACC risk when it is explicit or inferred from method and readonly hint. |
audit-hint |
Whether the broad ACC sensitivity hint is present. |
Using The Corpus
The v1.0.6 corpus contains 48 vectors, including 24 risk-default
cases: GET/POST × omitted/false/true execution.readonly ×
omitted/low/medium/high risk.level. Explicit risk takes precedence; explicit
readonly takes precedence over the binding-native GET fallback. These cases
check the existing OpenAPI binding, not new rules.
The released v1.0.5 corpus contained 26 vectors. Its reference oracle incorrectly
returned low for GET with explicit execution.readonly: false and omittedrisk.level; the binding requires medium. Passing those 26 vectors did not
exercise this case. The correction is included in
v1.0.6.
Because a corpus may receive corrections without changing the declaration
family or normative semantics, identify the exact corpus commit or content
digest as well as its specification release when reporting results. Thespecification_release field identifies the normative baseline, not a unique
test-content fingerprint.
An implementation may write an adapter that:
- reads each vector applicable to its claimed Profile;
- maps the abstract input into its public parser or runtime interface;
- observes the abstract outcome;
- compares it with
expected; - publishes the ACC release, implementation version, passed vectors, skipped vectors, and known limitations.
Diagnostics may use implementation-specific wording. The corpus compares portable categories and decisions, not private error messages.
Security Scope
The corpus deliberately avoids product-specific behavior. For example, approval evidence must remain bound to the reviewed capability and arguments, but ACC does not require one hash algorithm or persistence model. Such invariants belong in portable behavior vectors only after they are normative in ../../SPEC.md.