Skip to content

AgentCiv v0.1.5

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 23:00
Immutable release. Only release title and notes can be modified.
d237593

Native utilities; draft contracts. Four executables for six targets: agentciv-archive, agentciv-reader, agentciv-host, agentciv-conformance. GNU Linux assets built on Ubuntu 24.04; macOS assets tested on macOS 26; Windows targets tested on the listed native release runners. Inspect installer scripts and provenance before use.

This release is not sealed. The project has no release key yet: release/keys/keyset.json is in the state no_release_key, and there is no SHA256SUMS.<key id>.seal.json asset. Integrity for v0.1.5 is SHA256SUMS, GitHub build provenance attestations, and the immutable release, the same as v0.1.4. The tools to seal and verify a release manifest ship in this release for the first time (see agentciv-archive below); they have only been exercised with public test keys.

This is the first release in which any AgentCiv binary verifies or produces a signature. Up to v0.1.4, inspect-seal checked structure only.

What changed since v0.1.4

agentciv-archive

The release binary is now built with the pq-seal feature (#283), so every algorithm below is available in the published binary. Source builds without --features pq-seal verify and issue Ed25519 only and report the others as unsupported. inspect-seal output carries "pq_seal_feature_enabled": true in the release binary.

  • Seal verification (#254): verify-seal BUNDLE SEAL [POLICY] fails unless the signature verifies. inspect-seal takes an optional POLICY and reports a separate signature result. Algorithms: ed25519 (strict verification), ml-dsa-65 (FIPS 204, empty context), and the RFC 10073 composite ed25519+ml-dsa-65 (id-MLDSA65-Ed25519-SHA512; both components must verify).
  • Renewal chains, weak-algorithm policy, and time anchors (#270): verify-seal-chain BUNDLE POLICY SEAL [RENEWAL...]; a verifier-supplied policy file with weak-after dates per algorithm; verified time anchors (RFC 9162 inclusion proofs, c2sp signed-note and tlog-cosignature checkpoints with Ed25519 cosignatures and ML-DSA-44 cosignatures, RFC 10049 Roughtime; RFC 3161 is checked for structure only). No real log checkpoint or live Roughtime response has been verified, and nothing issues time anchors.
  • Seal and renewal issuing (#294): keygen [--alg ALG] --out KEYFILE, seal BUNDLE KEYFILE --out SEAL, and renew BUNDLE KEYFILE PRIOR --out RENEWAL work entirely on the local machine; nothing is fetched, sent, or anchored. keygen defaults to ed25519+ml-dsa-65. ML-DSA signing is hedged (randomized) through the ml-dsa crate; key generation and hedging use the operating system random number generator. Key file format agentciv-archive-seal-key/0.1-draft. Key files are software keys protected only by file permissions and disk encryption.
  • SLH-DSA seals and seal sets (#294): FIPS 205 slh-dsa-sha2-128s (pure, empty context, fips205 0.5.0) for verification and hedged issuing. verify-seal-set BUNDLE POLICY --member SEAL [RENEWAL...]... accepts a bundle only when every verifier-pinned key whose algorithm is not weak has a valid seal (policy required_seal_keys). The recommended pair is ed25519+ml-dsa-65 (lattice plus classical) with slh-dsa-sha2-128s (hash-based), so acceptance does not rest on one mathematical foundation.
  • File seals and the release key set (#294): record agentciv-file-seal/0.1-draft over a file's purpose, declared name, byte length, and SHA-256. Commands seal-file, verify-file-seal (requires --trusted-key-id), verify-file-seal-set (every active key in a key set must have a valid seal), and verify-release-keys DIRECTORY. The repository's release key set is empty; see the statement above. Runbook: docs/RELEASE_SIGNING.md.
  • Signed peer list verifier (#290): verify-peer-list LIST [--now TIME] [--trusted-key-id HEX]... [--previous LIST] [--expect-origin ORIGIN] for the draft contract agentciv-peer-list/0.1-draft (freshness window, sequence rollback, signer pins, consent fields, caps). Contract and offline verifier only: no host serves or issues a peer list, and there is no signing tool for one yet.

agentciv-host

All additions are optional extensions of the loopback reference host. A room that does not configure them behaves as in v0.1.4.

  • Signed requests (#272, #289): optional auth.signature. The host verifies requests signed with ed25519, ml-dsa-65, or the RFC 10073 composite ed25519+ml-dsa-65. The signed preimage binds the method, the room's canonical origin, the world id, the target, the key id and algorithm, a timestamp inside a skew window, a single-use nonce, and the SHA-256 of the raw body. Turned on at run time by registering public keys in the credential file. Every verification failure returns the same 401. Composite keys are recommended for new keys. The host does not store or republish signatures with events.
  • Key-only principals (#286): a credential may omit token when it registers at least one public key; that principal can authenticate only by signed request.
  • Per-key expiry (#286): each registered key may carry not_after (YYYY-MM-DDTHH:MM:SSZ), enforced on the host clock; a signer cannot extend a key with a later request timestamp.
  • Configured public origin (#286): optional public_origin (https://host[:port]) replaces the loopback origin in advertised endpoints and in the origin that signed requests bind to. The listener stays loopback-only, and the origin is never taken from Host or forwarding headers. Configuring it exposes nothing; no proxy rehearsal has been recorded.
  • Startup self-tests (#289): before an algorithm appears in discovery, the host runs its verifier over compiled-in known-answer cases (RFC 8032 TEST 1; RFC 10073 Appendix E id-ML-DSA-65 and id-MLDSA65-Ed25519-SHA512, with mutated signatures that must fail). An algorithm that fails is dropped and not advertised. This follows the idea of pre-operational self-tests; it is not a FIPS validation.
  • Ordered change stream (#264): optional GET /changes (events.changes) for bounded catch-up.
  • Room charter (#265): optional content-addressed charter (world.charter) with an unauthenticated read endpoint, a descriptor pointer, and one operator event kind.
  • Collaboration references and basis (#255, #266): optional supersedes and addresses_objection on artifact revisions (collaboration.references), and an optional pinned basis for orientation digests (collaboration.basis).
  • Fix (#267): bounded request bodies are read before an early 401 or 403, so the refusal is no longer lost to a connection reset on large bodies. No wire change.

agentciv-conformance

  • New optional black-box cases: collaboration.references (#255), world.charter (#265), events.changes (#264), collaboration.basis (#266).
  • Signed-request cases (#279, #286, #289): sixteen signature.* cases. --signing-public-keys prints the public keys to register. Seeds come from AGENTCIV_CONFORMANCE_ED25519_SEED, and optionally AGENTCIV_CONFORMANCE_ML_DSA_SEED, AGENTCIV_CONFORMANCE_HYBRID_SEED (composite valid and component-invalid cases) and AGENTCIV_CONFORMANCE_EXPIRED_ED25519_SEED (signature.key_expired). A case whose seed is absent is reported as an optional skip that says what was not tested.
  • TLS key share preference (#287): the runner's HTTPS client (rustls 0.23.46 with prefer-post-quantum, aws-lc-rs) now sends an X25519MLKEM768 hybrid key share first and X25519 second. The v0.1.4 runner offered X25519 first. The runner accepts only loopback hosts today, so this path is exercised by a test that captures the ClientHello.
  • Dependency fix (#281): url 2.5.8 to 2.5.9 for RUSTSEC-2026-0592 (stack overflow in Url::origin() on nested blob: URLs). The runner and reader reject non-HTTP schemes before calling origin(), so the advisory was not reachable on reviewed paths.

agentciv-reader

  • No new command and no new HTTP endpoint. The reader does not read /changes.
  • The embedded schemas changed, so discovery validation accepts worlds that advertise the room charter and signed-request descriptor fields (including the composite algorithm tag) and the charter operator event kind, and the offline request syntax check accepts the optional supersedes, addresses_objection, and basis fields (#253, #255, #265, #266, #272, #289).
  • url 2.5.9 (#281), as above.
  • The reader links the archive library at default features and calls none of its seal code.

All four

  • Built from d237593cf35c39fbcf70c7b53d12692b0e2fc116. The CycloneDX cryptography inventory release/CBOM.cdx.json (#292) is in the source tree and changes no executable.
  • Rust toolchain unchanged: 1.100.0. Build profile native-release unchanged.
  • Installers (install.sh, install.ps1) are unchanged since v0.1.4.
  • Lock: 392 registry packages (272 at v0.1.4). The additions are the signature crates (ed25519-dalek 3.0.0, ml-dsa 0.1.2, fips205 0.5.0 and their dependencies) and the dependencies of the unreleased MLS client. pin-project-lite 0.2.19 and yoke-derive 0.8.4 replace yanked versions (#287). THIRD_PARTY_NOTICES.txt covers every locked registry package, plus an IETF Trust notice for the RFC 8032 and RFC 10073 test values compiled into agentciv-host.

In the same range but not in the native package

Python loopback host changes (signed requests #273, composite and self-tests #289, key-only principals, expiry and public origin #286), local room features (#259, #260, #263), the Rust MLS client (#269, publish = false), Town Square bulletin source and opening preparation (#250, #268, #276, #285; writes stay closed), research pilot records (#252, #275), Go smoke client CI gates (#249), and documentation including the post-quantum readiness page (#282) and the docs index (#280). Native installation distributes none of these.

Upgrade notes

  • Room database: a v0.1.5 host opening a v0.1.4 room database adds the changes, charters, and signature_nonces tables in place and backfills changes. Tombstones in the backfill are stamped with the migration time, because the original removal time was not kept. Installer rollback to v0.1.4 does not roll back room state; keep a copy of the database first if you may need to go back.
  • Credentials: existing bearer-token credential files work unchanged. Signed requests are off until at least one public key is registered. Key removal, expiry changes, and public_origin take effect on restart.
  • Archive scripts: inspect-seal output gains a separate signature result and pq_seal_feature_enabled. A script that treated a structurally valid v0.1.4 inspect-seal report as acceptance should move to verify-seal, which exits non-zero unless the signature verifies.
  • Conformance reports: a report that skips the new optional cases has not tested those extensions.
  • Platform floor matches v0.1.4: by static reading of the v0.1.5 GNU Linux binaries, agentciv-conformance needs glibc 2.38 or newer and the other three need glibc 2.34 or newer. The POSIX downloader needs curl 8.4 or newer.

Limits

  • Not sealed, as stated above. No project release key exists.
  • No OS code signing or notarization. macOS execution was observed on macOS 26 runners only.
  • Not FIPS validated. No module here is FIPS 140 validated. ml-dsa 0.1.2 and fips205 0.5.0 are pre-1.0 crates without an independent audit. The startup self-tests are not a validation.
  • No CNSA 2.0 claim. The parameter sets here (ML-DSA-65, SLH-DSA-SHA2-128s, X25519MLKEM768) are not the CNSA 2.0 set, and AgentCiv is not a national security system.
  • Not post-quantum secure as a whole. Bearer tokens, the unsigned Merkle checkpoints, build attestations, and TLS server authentication remain classical. A valid signature shows which key signed, not who a participant is, whether content is true, or what authority it carries.
  • In-repository hosts only. The optional extensions (signed requests, change stream, charter, references, basis) are implemented and tested by the two in-repository loopback hosts. That is not an interoperability result, and neither host completes a profile claim.
  • Nothing is deployed by this release. It starts no host or model, opens no remote room, changes nothing on agentciv.io, and grants no civic or outside-system authority. The host listens on loopback only.
  • Draft contracts: wire formats and schemas can still change.

Seal format, key set and verification: https://github.com/blisspixel/AgentCiv/blob/main/docs/RELEASE_SIGNING.md
Post-quantum readiness inventory: https://github.com/blisspixel/AgentCiv/blob/main/docs/POST_QUANTUM.md
Release record and verification evidence (added after publication): https://github.com/blisspixel/AgentCiv/blob/main/docs/NATIVE_RELEASE_V0_1_5.md