interplane.Get Omega
Read in your language

synapse-claims

aien-dev/synapse-claims

Brought by drakestapleton

Unfinished: not checked yet

There is no published receipt of a rebuild from its source yet. What a receipt is

Get this repository
Git over HTTPS
git clone --no-checkout https://interplane.io/projects/synapse-claims/repo.git synapse-claims && git -C synapse-claims checkout --detach 27b8023f1fe5fb11871926c07edc3fcc5b573151
Source archive of 27b8023f1fe5fb11871926c07edc3fcc5b573151
Download ZIP · tar.gz

README.md

Child of aien-dev/synapse at 099a980fedab8a6797bbf0358b8c5502c8045142 (see synapse.pin).

synapse-claims

A signed, append-only claims ledger for AI lanes working on the aien-dev organisation. Before a lane touches a branch, PR, path, repository or external target (an outreach recipient, a cloud box), it claims it. A second lane that tries to claim an overlapping target gets exit 2 and the holder's id, agent, intent and lease expiry. Claims are leases: they expire unless renewed, and synapse-claims expire (run by synapse-pulse) closes them. Every event is hash-chained and Ed25519-signed, so verify can prove the ledger has not been edited.

synapse-claims is seeded Omega (src/*.om plus om/tls/sha2.om from omega-mv), compiled by the pinned omc (omega.pin). Signing is the one exception:

INTERIM: sig/ builds synapse-claims-sig, a Rust helper (ed25519-dalek, synapse-core) for key generation, signing and signature checks, because omega-mv at the pin has no Ed25519. See docs/EXTENSION-PROPOSALS.md for the missing capability and the replacement plan.

Build and test

SYNAPSE_SRC=/path/to/synapse sh build.sh /path/to/omega-mv out/synapse-claims   # also builds out/synapse-claims-sig
OMEGA_SRC=/path/to/omega-mv SYNAPSE_SRC=/path/to/synapse sh tests/run.sh

build.sh refuses a source tree whose HEAD differs from omega.pin / synapse.pin, or an omc whose sha256 differs from the pin. CI (.github/workflows/ci.yml, ubuntu-24.04-arm) runs the same tests/run.sh.

Commands

Global options: --home DIR (else $AIEN_COORD_HOME, else $HOME/.local/state/aien-coord), --now YYYY-MM-DDTHH:MM:SSZ (tests only), --sig-bin PATH (default: synapse-claims-sig next to the running binary). Output on stdout is JSONL; human text goes to stderr.

commanddoesexit
initcreates the home and the signing key (once); prints {"ok":true,"pub":"did:key:…"}0
claim --agent A --session S --target T [--ttl N] [--mode excl\|shared] [--state ST] [--intent TEXT] [--evidence URL]... [--import ORIGIN]appends a claim0, 2 conflict
renew --agent A --id ID [--ttl N]extends an active lease0, 4
release --agent A --id ID [--state ST] [--evidence URL]...closes the claim0, 4
state --agent A --id ID --state ST [--evidence URL]...records progress0, 4
who TARGETactive claims overlapping TARGET0
list [--all] [--agent-prefix P]active (or all) claims; P matches agent P and P.*0
conflictsconflicting active pairs {"a":…,"b":…,"reason":…}0, 1 if any
verifychecks seq, prev, hash, claim id, signatures0, 3
expire [--agent pulse]appends expire for every lease past its expiry, prints those lines0

Exit codes: 0 ok, 1 conflicts found, 2 claim conflict, 3 ledger verification failure, 4 unknown id / not holder / not active, 64 usage, 70 I/O or signer failure.

Ledger

$HOME/claims.jsonl, one event per line in fixed key order (see the parent's coordination contract): {"v":1,"seq":N,"ts":…,"op":…,"id":…,"agent":…,"session":…,"kind":…,"target":…,"mode":…,"ttl_s":N,"expires":…,"state":…,"intent":…,"evidence":[…],"origin":…,"prev":…,"hash":…,"sig":…}

  • hash = sha256("AIEN_CLAIMS_EVENT_V1\n" ++ body), body = the line up to ,"hash": plus }.
  • sig = Ed25519("AIEN_CLAIMS_EVENT_V1\0" ++ raw32(hash)) with keys/ledger.key.
  • Claim id: the first 16 hex of the hash of the claim event's body written with "id":"0000000000000000"; the stored hash covers the real body. verify checks both.
  • Conflict: targets overlap, agents differ, both claims excl, both active (shared never conflicts). --import records a claim even when it conflicts, so conflicts surfaces migrated collisions.
  • Appends take flock(LOCK_EX) on claims.lock, re-read the ledger, re-check conflicts, sign, write each line with one write(), then fdatasync. Readers take LOCK_SH.
  • Limits: 131072 claims, 999999 ledger lines, 65535-byte lines, 4096-byte intents.

Connected repos

License

Apache-2.0 WITH LLVM-exception (LICENSE).

For developers: proof and records

The full record of this project. Words that are used only here are explained once:

ID
The project's permanent id on Interplane: the SHA-256 of its first signed record. This one is git:be559f6c5eddeeb2dcd53fe745791b8a4eb566d304f1c7959192b192480b1243. Its old id, kept only so that old links still work: z49HbHSymTiZKMLfpMKRHJcuq2NQv.
Owner
The key that signs every record of the project. This forge lists the project under drakestapleton; its key is SHA256:qg3vxoE9ul3Cgk5heosQvPmO9pqIJNsdcsGJ2cHghTs.
Refs and HEAD
Refs are the names that point at versions: branches and tags. HEAD is the version a fresh copy starts from, the newest commit of the default branch.
Patch
A proposed change, reviewed before it is merged. This forge does not show proposed changes from its own store yet. The list is under Proposed changes.
Receipt
A public record that someone checked a claim, with the fingerprint of its evidence file. The state at the top of this page is read from the list at interplane.io/receipts. This project has no receipt in that list yet.

Clones and fetches over HTTPS: 0 by visitors (git smart-HTTP info/refs requests answered 200 in the front-door download log; our own addresses and bots left out; since 2026-11-08) · not measured git-upload-pack requests from all clients (the source of this count is retired)

Downloads: 1 by visitors (1 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)

commit 27b8023f1fe5fb11871926c07edc3fcc5b573151 Branches Tags History
27b8023 docs: first person, Drake's own voice (L422) Drake Stapleton committed 2026-11-09
.github/
docs/
sig/
src/
tests/
.crumb718
.gitignore58
.goals.json852
AGENTS.md2134
LICENSE12264
README.md4711
build.sh2895
omega.pin135
synapse.pin58

Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON