Skip to content

AACP v0.3.0a1 (alpha)

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Nov 22:02
· 10 commits to main since this release
8682042

Pre-release (alpha/beta/rc): interfaces may change without notice.

Install

Python 3.12 or newer. Install the command aacp with pipx:

pipx install https://github.com/darklordVirtual/agent-authority-conformance/releases/download/v0.3.0a1/aacp_conformance-0.3.0a1-py3-none-any.whl
aacp --help

Or download aacp_conformance-0.3.0a1-py3-none-any.whl and run pipx install ./aacp_conformance-0.3.0a1-py3-none-any.whl. Without pipx, use
python -m pip install ./aacp_conformance-0.3.0a1-py3-none-any.whl inside a virtual environment.

Runtime dependencies (jsonschema, PyYAML and their transitive dependencies)
are resolved by pip from the configured package index (PyPI by default). This
release does not bundle them. See aacp_conformance-0.3.0a1.cdx.json for the dependency set the
release workflow installed and tested.

Verify

sha256sum --check --ignore-missing SHA256SUMS.txt        # macOS: shasum -a 256 --check --ignore-missing SHA256SUMS.txt
gh attestation verify aacp_conformance-0.3.0a1-py3-none-any.whl --repo darklordVirtual/agent-authority-conformance

A matching checksum establishes byte identity with what the release workflow
built. A verified attestation establishes that the file was built by this
repository's release workflow from the tagged commit. Neither establishes
correctness, security, independence or any conformance verdict, and this
release grants no certification.

Assets

File Content
aacp_conformance-0.3.0a1-py3-none-any.whl Installable wheel (pure Python)
aacp_conformance-0.3.0a1.tar.gz Source distribution
aacp_conformance-0.3.0a1.cdx.json CycloneDX SBOM of the tested runtime environment (Linux, CPython 3.12)
SHA256SUMS.txt SHA-256 of the three files above

Changes

  • Release fix: cyclonedx-py --output-reproducible omits the SBOM's serialNumber, and actions/attest refuses a CycloneDX document without one, so the first v0.3.0a1 run failed at "Attest SBOM for the wheel" before anything was published. scripts/release.py sbom-serial now sets a deterministic serial, a UUIDv5 of the version and the wheel's SHA-256, so the build stays reproducible. Tests: tests/test_release.py SbomSerialTest.

  • Distribute AACP as versioned GitHub Release assets: wheel, source archive, CycloneDX SBOM and SHA256SUMS.txt, with Sigstore-signed build-provenance and SBOM attestations. .github/workflows/release.yml runs on a v* tag: it checks that the tag matches pyproject.toml, has a changelog section and sits on main, reruns the conformance checks, builds the wheel twice to prove it is byte-reproducible, installs the wheel on Linux, macOS and Windows (Python 3.12 and 3.13) and the sdist on Linux and exercises the installed aacp outside a checkout, and publishes only after approval in the release environment. Pull requests that touch release inputs rehearse every step except publication. scripts/release.py holds the gates and scripts/smoke_installed_cli.py the installed-CLI check, which the CLI package job now shares. See docs/INSTALL.md and docs/RELEASING.md. No PyPI publication; runtime dependencies are still resolved from the configured package index.

  • Lab: answer public verification challenges (docs/CHALLENGE-RESPONSE.md).
    Verification inputs may set format: bytes, so checks verify signatures and digests over
    the exact published bytes. Scopes may declare probes: runner-authored findings with a
    class, a recomputable witness, source locators (read, never executed) and the runner's
    assessment level, recorded in results/probes.json
    (schema), compared on rerun and reported apart
    from claim results; they never map to PASS/FAIL and are never counted. challenge
    records a public request to verify as context, never as consent, and the report states
    that no endorsement is given. respond drafts a reply from the run's own records, with
    AI-drafting disclosure, outside the package manifest. init --template <dir>/SCOPE.json
    copies the skeleton's verifier/. respond writes only under the run's .local/ or
    outside the run directory and replaces a draft only with --force; it groups findings by
    whether they hold for the bytes as published. Rerun compares every field of every probe
    record. Probe class TERMINOLOGY_CHANGE records an identifier whose meaning changed between
    revisions without any inference about provenance. Worked example:
    templates/runs/nti-witness/, the NTI witness package from
    NOSAI-Federation/agent-governance-vocabulary#177, with a standard-library RFC 8032 Ed25519, and its
    real run kept in recorded/RECORD.json (scripts/record_lab_run.py), checked offline and
    rerun over the real pinned bytes by the nti-real-bytes CI job.

  • Lab fixes for the public-boundary basis: package crashed rendering the track line,
    withhold, aacp next and aacp export map assumed an offer, and the scope schema's
    public_boundary patterns were double-escaped, so the schema rejected every valid
    boundary. A public-boundary run is now bound to its boundary: every subject must be a
    revision of the boundary's own repository (also with a single subject, which was not checked
    before) and subject 0 must be pinned at the boundary commit. Several revisions of that
    repository may be pinned for comparison. The schema agreement test now covers the public
    boundary.

  • Catalog v1.3.0, a new file controls/aacp-controls-v1.3.0/catalog.json (v1.2.0 at controls/aacp-controls-v1/ is frozen because committed results pin its SHA-256; a test now enforces that): add E, F and G controls (AACP-E-01, AACP-F-01..03, AACP-G-01..02), AACP-C-02 (argument substitution under a reused call identity) and the AACP-CY family outside A-G for the agent cyber boundary (instruction promotion, approval injection, memory taint, secret egress with runner-seeded canaries, tenant isolation, redirect and parser-disagreement network policy, tool substitution, verify-then-execute artifact admission, observer precedence over self-reports), mapped to the Stage 0 JX candidates. Each new control has a reference subject under tests/controls_reference/ (weak module, single-edit repair, probe with the 0/1/3 exit convention) that tests/test_controls_reference_subjects.py runs through the real runner: OBSERVED and DISCRIMINATES on the weak subject, NOT_OBSERVED and SENSITIVE on the repaired one, NON_VERDICT on a broken one, FAIL on exactly the control's property and never PASS. tests/test_controls_adversarial.py checks that a tampering probe, a probe-breaking repair, a relationship downgrade, an out-of-A-G control, an evasive subject or an edited expected.json cannot manufacture a FAIL or a PASS, that runs are byte-for-byte reproducible apart from the clock, and records two runner gaps as expected failures (a JSON predicate over a non-JSON file aborts the run; an unknown predicate op is not rejected at load). No existing control, binding or result changed.

  • Add remora-6cabef3 (report), REMORA's custody rule 4. The process holding the effect credentials must declare its isolation from agent code, and os_user is checked against the agent's uids. The new probe P-E-01s (controls/bindings/remora-6cabef3/probes/e_split_bypass.py) runs the custody split as three processes of one OS user under controlled_pilot. At eed92c8 the agent read the executor's credential with ps eww and reached the effect without a lease. At 6cabef3 the layout is refused, and removing rule 4 makes the probe observe again. The other 37 probes are unchanged, with the same results.

  • Add the first §5 assessment with PASS rows, remora-6cabef3 (ASSESSMENT.md, JSON): A to G are PASS, each in a stated scope with an untested remainder. Evidence: the sensitive probes, REMORA's per-property tests at the same revision (JUnit records committed), and for E the §12 register check, the bypass attempts and the refused configurations. The README gains an "Assessments with PASS" section. Self-assessment.

  • Add remora-eed92c8 (report), REMORA's fix for the AACP-CY-11 and AACP-F-01 (ACCEPT path) observations of remora-428b823: same catalog and probes (the probes' token mint binds the plan as REMORA's /assess now does). Exactly P-CY-11a, P-CY-11b and P-F-01b change from observed to not observed, each sensitive; P-E-01 (single-process deployment, partial) is still observed. The README explains why control reports show UNTESTED and lists the control runs.

  • Add a REMORA binding on catalog v1.3.0, remora-428b823 (report, assessment), against REMORA-research dev at 428b823: the 20 probes of remora-b5e4c42 unchanged plus 17 for C-02, E-01, F-01..03, G-01..02 and AACP-CY. 33 not observed, each shown sensitive; observed: AACP-CY-11 (callable digest measured from the source file, not the code that runs; a repair discriminates for the source digest), AACP-F-01 on the ACCEPT path (the token does not bind the plan; partial) and AACP-E-01 in the single-process deployment (partial). A-G stay UNTESTED. CY-03, CY-05, CY-06 not applicable. test_controls now reproduces each binding under its own catalog. Self-assessment.

  • Add a REMORA binding under the same catalog (report, assessment, inspection and fix guide): 20 probes against REMORA-research dev at 06c2f8f. None of the catalog's A-D weaknesses reproduces; every such probe is shown sensitive, so its NOT_OBSERVED is meaningful, and A-G stay UNTESTED because controls never yield PASS. Three defects outside A-G reproduce and discriminate: the JSONL audit log fails verification after any reload (AACP-X-04), the SQLite tenant chain does not detect tail truncation (AACP-X-01), and the assurance Merkle tree duplicates odd nodes without domain separation (AACP-X-02). Probes now declare sensitivity (a weakening that must make a NOT_OBSERVED probe observe), mutations may carry several edits, and command probes take not_observed_exit and runner setup. Self-assessment: the AACP maintainer is REMORA's author.

  • Add AACP controls (docs/CONTROLS.md): a project-neutral catalog, controls/aacp-controls-v1/catalog.json (20 controls over A-D plus audit, transport and evidence-provenance controls outside A-G, each with a probe contract), per-subject bindings under controls/bindings/, and python -m conformance.controls run|report|compare. Probe kinds cargo-test, command and source-check are generic. A property is FAIL only on an executed probe with an exact relationship that reproduces the weakness and stops reproducing it when that weakness alone is repaired; controls never yield PASS. The controls workflow reruns every binding as a reproduction and fails if the findings or the regenerated report differ from the committed run. tests/test_controls.py covers the semantics without a Rust toolchain.

  • Add SDD-AACP-HIJ-001 as a proposal under review, with its Stage 0 package in
    docs/sdd/hij/: four proposed ADRs, draft claims and ceilings, schema
    acceptance criteria, a traceability matrix, an implementation checklist, research questions and an
    adversarial review. Documentation only; no profile, schema, vector or result is adopted.

  • Add AACP-OBSERVED-EFFECT-VANTAGE-2, a revision of the observation-vantage profile. Positive observer-independence credit now also needs runner-owned evidence that the observer identity is established outside the producer, which cannot issue or revoke it, and that the producer cannot reach the observer's signing key. evaluate_observation_vantage_r2 and --profile-revision 2 apply it. Revision 1 and its function stay as published, as GOVERNANCE.md requires of a merged profile revision, so the reference vectors v1 and every record under revision 1 are unchanged.

  • Add frozen reference vectors, vectors/aacp-reference-vectors-v1/: 86 input and expected-answer pairs for nine deterministic operations (the E rule, the OE-08 observation vantage, AgentAvow tool keys, digests and bindings, the lab's canonical JSON, strict JSON reading, the no-aggregate key rule, and the A-G coverage matrix). Every expected answer names its source, a committed fixture, a producer's own published or signed expectation, or specification text written out by hand, and the build script imports none of the rules it checks. The bytes are pinned by SHA256SUMS, MANIFEST.json and a test, scripts/build_reference_vectors.py --check rebuilds them from their sources, and --write refuses to replace a frozen suite. python -m conformance.vectors run --impl "<command>" checks any implementation over a one-request stdio protocol and reports per vector, with no score. tests/test_vectors_adequacy.py seeds 34 plausible implementer faults, and every one is noticed; the first version let an implementation that never sorts keys pass, which the canonical-JSON vectors now catch by taking JSON text as input. The suite documents that the lab's canonical form is not RFC 8785 and that a repeated assessment component is a schema error. See docs/REFERENCE-VECTORS.md.

  • Add AACP-OBSERVED-EFFECT-VANTAGE-1, a neutral bounded profile derived from the pinned public RFC189 OE-08 candidate. Self-vantage cannot establish independent observation; verifier-owned trust material stays outside producer input. Includes positive/adversarial controls and a public byte-resolution adapter without granting A-G, RFC-189 or CoSAI credit.

  • Add optional federation tracks (docs/FEDERATION-TRACKS.md):
    self-service runs under a producer-owned open verification offer
    (schema/lab/offers.schema.json), and stricter manual runs with conditional scope
    confirmation, per-input admission before inference (NOT_ADMITTED non-verdicts),
    review_ack, phase rules and withdrawal stops. Both: AI-drafting disclosure on consent
    events, per-claim independence, REPRODUCTION label, verifier authors, trust-material
    disclosure, run capture of every attempt and a negative runner self-test. Scopes
    without track are manual and unchanged.

  • aacp run, aacp next and aacp export map (evidence records in the shape of the
    #187 systems-map prototype). The lab is packaged with aacp; lab.toml is read from
    the current directory first.

  • Rename the project to Agent Authority Conformance Profiles (AACP). The
    former name is held by the LF Decentralized Trust Agent Authority
    Conformance lab. Added CHARTER.md (seven principles, implementation
    neutrality as a normative rule), METHOD.md (Bounded Claim Reproduction,
    levels BCR-0 to BCR-4, six-valued result vocabulary for the planned
    bcr-run-v1), TERMINOLOGY.md and GOVERNANCE.md. Schema $ids and
    prose now carry the new name; the v0.1 and v0.2 specifications, the
    committed assessments, the adapter manifests and the mutation definitions
    keep their text so pinned bytes and historical records are unchanged.
    SPECIFICATION.md and schema/assessment.schema.json are byte-pinned by
    tests/test_conformance.py and keep the former name verbatim, including
    the v0.1 $id.

  • Add seeded-fault adequacy for the bounded E rule: conformance/mutations-v0.2.json
    defines 30 faults and two controls, python -m conformance.mutations scores the
    committed fixtures against them in memory, and seven fixtures were added so that
    no fault survives (one per missing minimum class, an extra attempted class, and
    every obligation open at once).

  • Add python -m conformance.invariants: twelve metamorphic relations and a
    table-driven reference model checked against evaluate over an exhaustively
    generated space of accepted-evidence documents.

  • Document both in MUTATIONS-AND-INVARIANTS.md; both run in CI.