Repository navigation
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-sealtakes an optional POLICY and reports a separate signature result. Algorithms:ed25519(strict verification),ml-dsa-65(FIPS 204, empty context), and the RFC 10073 compositeed25519+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, andrenew BUNDLE KEYFILE PRIOR --out RENEWALwork entirely on the local machine; nothing is fetched, sent, or anchored.keygendefaults toed25519+ml-dsa-65. ML-DSA signing is hedged (randomized) through theml-dsacrate; key generation and hedging use the operating system random number generator. Key file formatagentciv-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,fips2050.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 (policyrequired_seal_keys). The recommended pair ised25519+ml-dsa-65(lattice plus classical) withslh-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-draftover a file's purpose, declared name, byte length, and SHA-256. Commandsseal-file,verify-file-seal(requires--trusted-key-id),verify-file-seal-set(every active key in a key set must have a valid seal), andverify-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 contractagentciv-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 withed25519,ml-dsa-65, or the RFC 10073 compositeed25519+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 same401. 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
tokenwhen 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 fromHostor 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-65andid-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
supersedesandaddresses_objectionon artifact revisions (collaboration.references), and an optional pinnedbasisfor orientation digests (collaboration.basis). - Fix (#267): bounded request bodies are read before an early
401or403, 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-keysprints the public keys to register. Seeds come fromAGENTCIV_CONFORMANCE_ED25519_SEED, and optionallyAGENTCIV_CONFORMANCE_ML_DSA_SEED,AGENTCIV_CONFORMANCE_HYBRID_SEED(composite valid and component-invalid cases) andAGENTCIV_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):
url2.5.8 to 2.5.9 for RUSTSEC-2026-0592 (stack overflow inUrl::origin()on nestedblob:URLs). The runner and reader reject non-HTTP schemes before callingorigin(), 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, andbasisfields (#253, #255, #265, #266, #272, #289). url2.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 inventoryrelease/CBOM.cdx.json(#292) is in the source tree and changes no executable. - Rust toolchain unchanged: 1.100.0. Build profile
native-releaseunchanged. - 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-dalek3.0.0,ml-dsa0.1.2,fips2050.5.0 and their dependencies) and the dependencies of the unreleased MLS client.pin-project-lite0.2.19 andyoke-derive0.8.4 replace yanked versions (#287).THIRD_PARTY_NOTICES.txtcovers every locked registry package, plus an IETF Trust notice for the RFC 8032 and RFC 10073 test values compiled intoagentciv-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, andsignature_noncestables in place and backfillschanges. 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_origintake effect on restart. - Archive scripts:
inspect-sealoutput gains a separate signature result andpq_seal_feature_enabled. A script that treated a structurally valid v0.1.4inspect-sealreport as acceptance should move toverify-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-conformanceneeds 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-dsa0.1.2 andfips2050.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