interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

branch main Branches Tags History

synapse / AGENTS.md

87 lines · 6187 bytes Raw Blame History Source

Synapse (agent-native changeset and integration service)

Development follows Human-Directed Agentic Engineering (HDAE). The README defines the human and agent responsibilities and cites Gregory M. Kurtzer's report.

Synapse is source control for AI agents. Agents submit signed changesets, inspect virtual trees and diffs without a working-tree checkout, attach evidence and queue integration. Accepted changesets materialize deterministically into standard Git objects, GitHub pull requests are only a human projection, and canonical promotion needs a verified Radicle delegate quorum. The repository is one Rust Cargo workspace under crates/.

Shared rules: read https://www.aienos.com/agents/RULES.md first. This file adds what is specific to this repository; where the two differ, this file wins here.

Scope

Installation

git clone https://github.com/aien-dev/synapse.git
cd synapse
cargo build --locked --workspace

You need a Rust toolchain (the gates record Rust 1.98.1), git, and a C compiler (cc) for the crumb qualification scripts. There is no rust-toolchain.toml; use a current stable toolchain.

Configuration

Usage

# The SYNAPSE-WORKSPACE gate: fmt check, cargo metadata --locked, clippy -D warnings, all tests
bash scripts/ci/portable.sh workspace

# The same steps one at a time
cargo fmt --all --check
cargo clippy --locked --workspace --all-targets -- -D warnings
cargo test --locked --workspace

# The SYNAPSE-ZERO-DISK-SECRETS gate: no plaintext .env* file in the tree
tests/gates/run.sh zero-disk-secrets

These gates need a sibling checkout of aien-architecture at ../aien-architecture:

# CRUMB-VERIFY: builds the crumb tool at the commit in crumb.lock, then runs `crumb verify .`
tests/gates/run.sh crumb-verify

# SYNAPSE-CONFORMANCE: the combined Crumb-Synapse qualification at the pinned architecture commit
tests/gates/run.sh conformance

scripts/run_gate4_qualification.sh is the Gate 4 comparative benchmark (Synapse against Git worktree and Git plumbing workflows). It needs a real fixture repository (FIXTURE_REPO) and writes evidence/gate4-qualification/; SMOKE=1 runs a tiny end-to-end check of the harness. Published performance numbers come from runs on the DGX Spark, not from a laptop.

Conventions

Safety and approvals

Further reading