Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/open-humanity/issues/be978b4342e86683 # open-humanity Privacy-first peer assistance network for sovereign autonomous agents Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [SI GENESIS OH2] Receive and qualify proof-carrying Discovery Capsules without importing authority Open · #34 · open 2026-10-24 17:37 UTC Imported from GitHub aien-dev/open-humanity#34, by drakestapleton drakestapleton wrote on 2026-10-24 17:37 UTC ## Scope / dependencies Make verified discoveries reusable across separately owned agents, without collecting private Cortex or turning arbitrary publications into privileged machine code. Consume OH #27 encrypted signed publication, OH #28 read-only research index, protocols #51 capsule+revocation format, Omega #683 verified skill/Cortex and existing recipient Forge/Omega qualification. Proposed `si-genesis` repo bootstrap #310 owns spec/policy/examples only, not OH transport or proof signer. ## Implementation - Sender builds one owner-selected sanitized capsule from validated local `.om` program+trace+outcome, provenance digest and human approved license/recipient; no automatic sharing. Reuse current signer/encrypted transport. - Receiver verifies precise signed content/consent, bounded sizes, scoped license, source identity, revocation head, independent evidence tier, declared shared pretrained tools and data lineage; preserve untrusted status until recipient's own capability, model, precision and independent verifier checks pass. - Three separate states: content accepted as data; scientific claim reproduced under exact profile; native executable realization independently qualified under receiver's hardware. No inference from stage 1 to stages 2/3. - Enable read-only search for opted-in metadata, per-source dedup and semantic parent/revision refs. Capsule can carry useful negative counterexample/replication and retraction information, not just claimed improvements. - The only effect of a verified capsule on canonical Cortex is a type-checked proposal imported by existing qualified writer/promotion policy, not direct network-induced mutation; no automatic training/publish/use of downloaded procedure. ## Acceptance - Two synthetic peers: build/signed publish/encrypted transfer/refuse incorrect machine/accept correct machine/revoke and ACK; no cross-user prompt/Cortex leak. - Forged signer/verifier, fake T_real/T/J, stale proof, wrong ABI/model/precision, forged consent, malicious op attempting external effect, index replay, overbudget, duplicate and poisoning all refuse; neutral scientific replicator may independently requalify where policy allows. ## Engineering and evidence contract Parent: https://github.com/aien-dev/aien-architecture-mv/issues/307 . Scope is a finite component workstream, not an alternate master roadmap. Read current AIEN plan authority, owning repo `AGENTS.md` and `.crumb`, active branches/PRs, device leases and the existing model/Judge/Cortex owners before code. Final first-party algorithms and execution logic must use qualified seeded handwritten Omega `.om` under current migration decisions; do not create a competing compiler, memory store, signing authority, trainer, GPU scheduler, wallet, billing ledger or alternate FORGE. Original code can be inspected as migration evidence; independent external oracles are separate with provenance. Stage work in isolated PRs and gather exact code/build/model/hardware/fixture digests and unedited failures. No public release, actual-token issuance, implicit personal-data export, unreserved physical run, model restart, or automatic training/deployment from issue creation. Keep PASS/FAIL/NOT_RUN/BLOCKED separate. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:26 UTC Recovered GitHub comment. Original comment `6387896236` Branch `feat/33-34-revocation-capsule-receiver` @ `faef19cd923e57c8a90771e29d10a84a275ac855` (no PR; merge desk owns that). Status: HOST_TESTED. This shares the `crates/oh-share` crate with #33; see the #33 comment for the full file list, the workspace run and the main-branch push incident (resolved). Test: `cargo test -p oh-share --offline --test capsule_receiver` gives 19 passed. The revocation suite gives 18 passed. 5 back-to-back runs, all green. Receiver (`Recipient::receive_capsule`) - What it checks, in order: - Sealed envelope: size bounded before decrypt (256 KiB), must open with this node's X25519 key. - Bounded decode. - Version. - The consent names this recipient. - Signer is the owner's current key: stale or rotated keys are refused, custodians cannot grant. - Consent signature, then header signature. - Payload BLAKE3 equals the signed `content_digest`, so an edited payload is caught as `DigestMismatch` and an edited header as `BadSignature`. - Tombstone (revoked), then a stale revocation head. - Expiry, then a creation time in the future. - Unknown use bits, missing retrieval consent, expired consent, unknown license. - Exact environment match on abi, model, precision and hardware. - Capabilities: unknown bits are refused, network/file-write/tool-call are always refused, and the request must fall inside the receiver's policy. - Personal Data Firewall over the payload. - Duplicate or index replay. - Contradictory consent: the package is quarantined. - Three separate states: - `data_accepted` - `claim_reproduced` - `native_qualified` The last two start `Untrusted` and only the receiver's own `record_reproduction` / `record_native_qualification` changes them, and only for capabilities both the capsule and the policy allow. Evidence a capsule claims about itself, including a fake "independently verified, T_real/T/J" claim, is stored as data and never trusted. - After any revocation, index entries carry metadata only. Negative or replication-failure capsules are carried as data. - Covered by tests: - Two peers: the build is signed and sent encrypted, with no plaintext in the sealed bytes. A wrong machine (hardware) is refused and the right machine accepts. Then revoke, signed ACK, and serve/index/reproduce are all refused. - Each environment field mismatching on its own. - Forged signer, forged consent, consent amplified after signing, custodian trying to grant. - Stale, future-dated and expired-consent capsules; a capsule signed before a revocation the receiver already knows. - Unknown license, missing retrieval consent, unknown use bits. - External-effect capabilities, unknown capability bits, out-of-policy native execution. - Fake independent evidence; negative results. - Duplicates and replays. - Poisoned payload with secrets, refused on both the owner and receiver sides. - Over-budget envelope, wrong key, misaddressed consent, junk bytes. - No cross-owner leak or impostor. Not done / blockers - Canonical bytes depend on aien-protocols #51 (`DiscoveryCapsuleV1` on branch `feat/si-microjob-capsule-abi`). Encodings here are provisional mirrors of its field names. - No `.om`, because this repo has no seeded `.om` convention. - Importing a verified capsule into Cortex as a type-checked proposal is not implemented. No API here writes to Cortex. - The receiver's verifier and FORGE native qualification are external. This code only records their result. - The read-only research index (#28) is not built. Only a metadata-only `index_entry` gate exists. - Nothing ran on a GPU. Sign in to comment