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/synapse
# synapse
A component of the AienOS ecosystem.
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/repo.git synapse && git -C synapse checkout --detach f9aebaa739250f2f5bb1d29ac9a11a1ece9898b7`
Source archive of `f9aebaa739250f2f5bb1d29ac9a11a1ece9898b7`
Download ZIP · tar.gz
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
README.md
Source · Walkthrough · Replay receipt · Issues
# Synapse
Synapse is AIEN's high-throughput, agent-native changeset and integration service with deterministic Git object materialization and Radicle canonicality verification (aien-dev/aien-sovereign-core-mv#515 ).
Direction (2026-10-14): Synapse is becoming the new Git for AI: source control for AI agents only, built from the best ideas of every system, with Git kept as a small machine bridge for import, export, and existing tooling (ADR 0002 , tracked in aien-dev/synapse#8 ).
## How I built it: a small result you can reproduce
I follow a changeset from submission and WAL persistence to a checkout-free tree and standard Git objects. The worked lesson includes a corrupt-object refusal; the latest replay record is a host fixture, separate from canonical Radicle promotion.
## Architecture Overview
Synapse accelerates the high-frequency multi-agent inner loop (changeset creation, virtual tree/diff inspection without working-tree checkout, test evidence attachment, conflict detection, and integration queueing) while enforcing three non-negotiable boundaries:
- Git Compatibility: Accepted changesets deterministically materialize into standard Git `blob`, `tree`, and `commit` objects compatible with `git fsck`, `git clone`, and `git fetch`.
- GitHub Human Projection: Human review projections (`GitHubPullRequestProjection`) publish compact summaries and evidence digests without uploading bulky machine logs or silently force-moving human branches.
- Radicle Canonical Authority: Fast WAL ingest order (`WalSeq`) and GitHub PR state never confer authority to advance canonical branches. Canonical promotion (`RadicleCanonicalHead`) requires cryptographic verification of `refs/rad/id` and `refs/namespaces//refs/rad/sigrefs` against the repository's delegate quorum threshold.
## Workspace Crates
Crate Gate Responsibility
`synapse-core` Gate 0 Distinct identity types (`ChangesetId`, `BlobDigest`, `GitOid`, `RadicleCanonicalHead`, `GitHubPullRequestProjection`, `IdempotencyKey`, `WalSeq`), `ChangesetEnvelope` v1, `did:key` Ed25519 verification, and `RefusalCode` taxonomy
`synapse-store` Gate 1 Single-writer append-only WAL (`SWAL` v1) with CRC32C and SHA-256 hash chain, configurable `fsync` policy, content-addressed blob store, checkpoint compaction, GC, crash fault injection, and the R1 raw block store with its signed repair tool (`synapse-bench store-repair`, spec )
`synapse-auth` Gate 2 Ed25519 capability grants (`Read`, `Propose`, `Evaluate`, `Review`, `Publish`), expiry/replay guards, rate/size quotas, and hash-chained security audit log
`synapse-api` Gate 2 Bounded paginated API (`submit`, `get`, `diff`, `tree`, `history`, `provenance`, `conflicts`, `status`, `watch`), checkout-free virtual tree overlay, and exact path-index invalidation
`synapse-git` Gate 3 Deterministic Git loose object writer/reader, bidirectional `ChangesetId <-> GitOid` map, ref namespace separation, and GitHub PR projection builder
`synapse-radicle` Gate 3 Radicle `refs/rad/id` and `refs/rad/sigrefs` Ed25519 delegate threshold verifier and split-brain refusal engine
`synapse-bench` Gate 4 Comparative qualification harness (Synapse ingest and checkout-free queries versus Git worktree and Git plumbing workflows) plus WAL, Git materialization, and Radicle canonicality conformance suites
## Connected repos
Each tool below is its own repository whose root `.crumb` names `aien-dev/synapse@099a980` as parent (`extensions.map.parent`). They coordinate the agents that work across aien-dev; change them there, not here.
- `synapse-claims` : append-only, hash-chained, Ed25519-signed lease ledger for repos, branches, path globs, PRs and outside targets. Conflicting leases are refused with exit 2 and the holder named.
- `synapse-map` : the org repository graph; `where` routes a task to its repository, `new` scaffolds a connected repository, `check` reports orphans and duplicate purposes.
- `synapse-pulse` : reconciles the ledger against GitHub (through the gh guard, conditional requests) and live agent sessions, and raises one `COORD-DRIFT:` watchdog alarm.
- `synapse-mcp` : MCP stdio server that executes the CLIs above for agents.
- `synapse-board` : renders the human board (Markdown and a tailnet-only page) from the ledger.
## Documentation and Evidence
- Domain Glossary (`CONTEXT.md`)
- ADR 0001: Synapse Architecture, Owning Boundary, and Compatibility Invariants
- ADR 0002: Synapse-First Source Control for AI Agents, with Git as a Bridge
- Gate 0 Reality Check Audit and Reproducible Baseline
- Threat Model and Capability Permission Matrix
- Changeset Schema, WAL Format, Consistency, and GC Specification
- Gate 0 Empirical Baseline Receipt (`evidence/gate0-baseline/`)
- Gate 4 Comparative Qualification Report
- Gate 4 Qualification Evidence (`evidence/gate4-qualification/`) , reproduced with `scripts/run_gate4_qualification.sh`
- D1 merge tier T1 (`docs/D1_MERGE_TIER_T1.md`) : line-level three-way merge of one file, checked against `git merge-tree` and `git merge-file` (evidence )
- Spark verification gates (`docs/PIPELINE.md`) : the interop and Gate 4 scripts honour `CARGO_TARGET_DIR`, so `SYNAPSE-CONFORMANCE` runs the same on the Spark as in a plain checkout
## License
Licensed under the Apache License, Version 2.0 (Apache-2.0).
## Human-Directed Agentic Engineering
Development follows Human-Directed Agentic Engineering (HDAE): humans define goals, architecture, constraints, acceptance criteria, and stopping points; agents implement, execute checks, diagnose failures, and revise within those boundaries. Human review retains responsibility for claims, acceptance, and release decisions. This development method is distinct from Synapse's agent-native runtime interfaces and does not change its canonical promotion rules.
For the documented method and a systems-software case study, see Gregory M. Kurtzer, [*Ginux: Building an Independent Kernel That Runs Linux Userspace through Human-Directed Agentic Engineering* (2026)](https://doi.org/10.5281/zenodo.`23682548` ).
## 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:e6d9de24ee4307c354907bc2526f145eea196e1fa146f93a61d879196fefce11`. Its old id, kept only so that old links still work: `zMGRREr2tmtRqpo4mMjpzkZdUGXN`.
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: 6 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: 5 by visitors (5 source archives, 0 release assets; forged access log; our own addresses left out; since 2026-11-07)
commit `f9aebaa739250f2f5bb1d29ac9a11a1ece9898b7` Branches Tags History
`f9aebaa` docs: retire the hand-made Chinese README; readers translate with their own tools Drake Stapleton committed 2026-11-11
```
.aien/
.github/
assets/
crates/
docs/
evidence/
scripts/
tests/
.crumb 2948
.gitignore 53
.goals.json 2301
AGENTS.md 6187
AUDIT_SCOPE.md 7075
CONTEXT.md 18979
Cargo.lock 12438
Cargo.toml 1807
LICENSE 11358
README.md 7490
SECURITY.md 2487
TEACHING-REPLAY.raw.txt 428
TEACHING-REPLAY.txt 1424
TEACHING.md 2994
crumb.lock 41
```
Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON