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-board
# synapse-board
aien-dev/synapse-board
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-board/repo.git synapse-board && git -C synapse-board checkout --detach 7564cafa9ec1fbde1ed7af4e8eb5bac1a3270f6e`
Source archive of `7564cafa9ec1fbde1ed7af4e8eb5bac1a3270f6e`
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 (pinned in `synapse.pin` ).
# synapse-board
`synapse-board` writes the human view of the agent coordination state. It reads the claims ledger listing, the repo map and the pulse findings, and writes `BOARD.md` and `index.html`. It can also serve those two files read-only on the tailnet. The board is generated output for humans: agents write through `synapse-claims` and never edit the board (see AGENTS.md ).
The implementation is seeded Omega (`src/*.om`), compiled with the pinned `omc` together with `seed/json/json.om`, `seed/net/http.om` and `seed/net/notls.om` from omega-mv (pinned in `omega.pin` ). There is no interim host code in the binary, and the build and test drivers are seeded Omega too: `tools/build.om` and `tests/run.om`.
## Build
```
mkdir -p build
{ printf 'om2\n'; cat "$OMEGA_SRC/om/tls/sha2.om" tools/build.om; } | "$OMEGA_SRC/seed/out/omc" > build/build
chmod 755 build/build
build/build "$OMEGA_SRC" OUT/synapse-board # from the repo root; omega-mv checked out at the omega.pin sha
```
`build/build` reads the omega-mv commit from its `.git` directory and the `omc` sha256 itself, and refuses (exit 65) unless both match `omega.pin`. It writes the unit to `OUT/synapse-board.unit.om` and compiles it. A rejected unit leaves no binary (exit 1; omc's message is in `OUT/synapse-board.err`).
## Use
```
synapse-claims list --all > claims.jsonl
synapse-pulse ... > findings.jsonl
synapse-board render --claims claims.jsonl --map map.jsonl --findings findings.jsonl \
--out /srv/board [--now 2026-10-27T02:00:00Z] [--head ]
synapse-board serve --dir /srv/board --bind 100.x.y.z:8731 [--max N]
```
`render` writes `DIR/BOARD.md` and `DIR/index.html` atomically: it writes a temp file, fsyncs it, then renames it over the old file. The board contains, in this order:
- the generated-by line (ledger head, or `unknown` without `--head`)
- summary counts
- conflicts (findings with `kind` `conflict`)
- the other pulse findings
- active claims grouped by repo, with agent, target, mode, state, intent, expires (`LAPSED` once past `--now`) and evidence links
- the repo map as a tree; `INFERRED` parents show their `infer_rule`, and ROOT, NONE, archived, fork, parent-outside-map and cycle are marked
On success `render` prints one JSON line on stdout: `{"ok":true,"files":2,"active":N,"conflicts":N,"findings":N,"repos":N,"head":"..."}`.
Every input string is escaped for its output.
- HTML: `& < > " '` are escaped, and control bytes become spaces.
- Markdown: `& < >` are escaped, `| \ ` [ ]` get a backslash, and control bytes become spaces.
- Evidence: a URL becomes a link only when it is `http://` or `https://` and every byte is in a conservative URL set. Any other evidence is shown as text.
- HTML page: no scripts and no external assets. It sets the CSP `default-src 'none'; style-src 'unsafe-inline'`.
`serve` answers only `GET`/`HEAD` for `/`, `/index.html` and `/BOARD.md`, re-reading the file for each request. It sends `Cache-Control: no-store`, `nosniff` and the same CSP. Any other method gets 405 and any other path 404. It refuses to bind any address outside 100.64.0.0/10 (the tailnet range), including `0.0.0.0` and `127.0.0.1`, with exit 64.
The input formats are defined in COORD-CONTRACT (claims `list --all`, map.jsonl, pulse findings). A missing findings file counts as empty.
Exit codes: 0 ok, 4 claims or map file missing, 64 usage or refused bind address, 65 malformed input (stderr names `FILE:LINE`), 70 internal (output over 8 MiB), 75 temporary (write or listen failed).
## Tests
```
{ printf 'om2\n'; cat tests/run.om; } | "$OMEGA_SRC/seed/out/omc" > build/run && chmod 755 build/run
build/run "$OMEGA_SRC" /tmp/NEW-DIR [--update-golden] # NEW-DIR must not exist
```
The driver first compiles the build driver from `$OMEGA_SRC/om/tls/sha2.om` and `tools/build.om` into `NEW-DIR/bin/build` (so a stale `build/build` is never used), builds the binary into `NEW-DIR/bin` with it, then covers:
- the fixture render compared byte-for-byte against `tests/golden/`
- `