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-map # synapse-map aien-dev/synapse-map 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-map/repo.git synapse-map && git -C synapse-map checkout --detach 945934bb3277769236dd0623bad8ec929e20e942` Source archive of `945934bb3277769236dd0623bad8ec929e20e942` Download ZIP · tar.gz Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers README.md Child of aien-dev/synapse at `099a980fedab8a6797bbf0358b8c5502c8045142` (see `synapse.pin`). # synapse-map The repo map for AI lanes working on the aien-dev organisation. It answers three questions an agent has before touching code: which repository does this task belong to, what is that repository's parent, and is the tree of repositories consistent. It also scaffolds new standalone components as their own repositories, connected to a parent. `synapse-map` is one binary written in seeded Omega (`src/*.om`), compiled by the pinned `omc` (`omega.pin`). There is no interim host code in the binary. `tests/run.sh` uses `sh`, `jq` and `python3` only as checkers. ## Commands All output on stdout is JSONL; human text goes to stderr. The state home is `--home DIR`, else `$AIEN_COORD_HOME`, else `$HOME/.local/state/aien-coord`. command does exit `import --catalog FILE [--extra FILE] [--crumbs DIR] [--infer FILE]` writes `/map.jsonl` atomically, one record per repo, prints `{"ok":true,"repos":N,...}` 0, 65 malformed input, 4 missing file `index [--topics F] [--skills F] [--xerj IP:PORT] [--index NAME]` rebuilds the xerj index (default `aien-map` on 127.0.0.1:9200) from the map, topics and skills 0, 75 xerj down `where TASK [--limit N] [--no-xerj] ...` ranked repos: `{"repo","score","purpose","parent","why","skills":[..],"similar":[..]}` 0, 4 no match `tree [--text]` parent tree as JSONL nodes (or indented text on stdout with `--text`) 0 `check [--min-jaccard MILLI] [--no-xerj] ...` findings `{"kind":...}`: orphan, missing_parent, archived_parent, fork_parent, inferred_parent, duplicate_purpose 0 clean, 1 findings `new NAME --parent OWNER/REPO[@REF] --purpose TEXT --dir DIR [--layer L] [--publish [--dry-run]]` scaffolds `.crumb`, `.goals.json`, `README.md`, `AGENTS.md`, `synapse.pin` (synapse children), `PARENT-PR.md`, runs `crumb validate` 0, 1 crumb invalid, 64 DIR already has a .crumb Exit codes: 0 ok, 1 findings, 4 not found, 64 usage, 65 malformed, 70 internal, 75 temporary. ### map.jsonl record Keys in this order: ``` {"repo":"aien-dev/NAME","parent":"aien-dev/P@ref"|null,"parent_status":"CONFIRMED"|"INFERRED"|"ROOT"|"NONE", "purpose":..,"layer":..,"archived":bool,"fork":bool,"default_branch":..|null,"pushed_at":..|null, "brief":..,"source":"catalog"|"extra","infer_rule":"L "|"crumb"|null} ``` A parent is CONFIRMED only when the repository's own `.crumb` names it in `extensions.map.parent`. Otherwise the first matching row of `infer.tsv` decides (INFERRED, ROOT or NONE), and `check` reports every INFERRED parent until the child's crumb confirms it. A parent without an explicit ref is pinned to the parent's `default_branch`, or `@unknown` when the map does not know it. ### Rule and topic files - `infer.tsv`: `patternparentwhy[layer]`. Patterns are case-insensitive globs on the repo name, or `desc:` on the purpose. The first match wins. - `topics.tsv`: `repotermsevidence`. Extra search terms a repository's description does not carry (for example `tls` for omega-mv, whose TLS 1.3 client lives in `om/tls/`), each with a pinned source path as evidence. Both files are read from the binary's directory unless `--infer`/`--topics` name others. ### where scoring Lexical: the sum, over query terms shared with a repo, of `idf(term) * (1 + boost)`, where boost is 1 for terms from the repo name and `topics.tsv`, and idf is `1000 + 1000 * log2((N+1)/(df+1))`. Archived repos score half. When xerj answers, its semantic score is combined 6:4 with the lexical score (each scaled to its maximum); when xerj is unreachable `where` prints `{"warn":"xerj unreachable"}` first and ranks lexically. ### new --publish After the scaffold passes `crumb validate`, `--publish` runs, as `/usr/bin/env HOME=$HOME PATH=$HOME/.local/bin:/usr/bin:/bin ...`: `git init`/`add`/`commit -s` in DIR, `gh repo create ORG/NAME --public --description PURPOSE --source DIR --push`, `git clone` of the parent into `DIR.parent`, branch `connected/NAME`, the README line under `## Connected repos` (section created when absent), `commit -s`, `push`, and `gh pr create --draft` with `PARENT-PR.md` as the body. `--dry-run` prints each argv as `{"argv":[...]}` and the README edit as `{"edit":..,"line":..}` without running anything. ## Build and test ``` ./build.sh /path/to/omega-mv out/synapse-map # checks omega.pin (HEAD and omc sha256) first OMEGA_SRC=/path/to/omega-mv sh tests/run.sh ``` Tests run against throwaway homes. Cases that need xerj (127.0.0.1:9200) or the `crumb` CLI print NOT_RUN when those are absent (as on CI); NOT_RUN is never counted as a pass. ## Connected repos - Parent: aien-dev/synapse - aien-dev/synapse-claims : claims ledger CLI - aien-dev/synapse-pulse : collision and lease reconciler - aien-dev/synapse-mcp : MCP server over claims, map and pulse - aien-dev/synapse-board : generated BOARD renderer - aien-dev/omega-mv : the language and compiler (`omega.pin`) ## License Apache-2.0 WITH LLVM-exception, as the parent (`LICENSE`). ## 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. 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:57d2ef80f9cc1d755f46766416b98d1cf233073d4a889d3aa9f53c38a9d049a2`. Its old id, kept only so that old links still work: `z3p7NNQByiXZGsJC4cCifdTybaajY`. 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 `945934bb3277769236dd0623bad8ec929e20e942` Branches Tags History `945934b` docs: describe HDAE development and cite Kurtzer (#1) aien-spark committed 2026-11-05 ``` .github/ src/ tests/ .crumb 1256 .gitignore 5 .goals.json 679 AGENTS.md 2140 LICENSE 12264 README.md 6042 build.sh 1377 infer.tsv 3328 omega.pin 135 synapse.pin 58 topics.tsv 671 ``` Every record: History (commits) · Branches · Tags · Releases, with the SHA-256 of each download · Patches · Issues · This project as JSON