interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / docs / FEATURES.md

214 lines · 34297 bytes Raw Blame History Rendered
1# INTERPLANE Forge web: feature matrix
2
3Owner: ForgeServer. One row per GitHub feature. "GitHub behaviour" describes the public feature in
4my own words; "mine" is what forged does today. Status is DONE (works end to end, curl-tested on
5spark under both `X-Forge-Base: /` and `/forge/`), PARTIAL (some of the behaviour works; the gap is
6named), or PLANNED (nothing serves it yet). A slice that is written but not yet composed into the
7running binary is PLANNED here until ForgeServer integrates and tests it.
8
9Owners: Server = ForgeServer (`server/`), Browse = ForgeBrowse (`browse/`), DL = ForgeDownloads
10(`dl/`), Collab = ForgePatches (`collab/`), Social = ForgeSocial (`social/`), Infra = ForgeInfra
11(`infra/`), Door = the agent door (`door/`, `server/agents.om`).
12
13Fixed design limits (decisions, not gaps): no JavaScript anywhere (server-rendered HTML, plain form
14POST + redirect); Radicle is the source of truth of the live binary, so the forge never writes git or
15Radicle data from the web; only the 28 repositories of the public table in `~/handoffs/radicle/RIDS.md`
16exist. The store-reading build (row "Native store" below) serves the public lines of an Interplane
17store's `catalog.tsv` instead; it is built and tested, not deployed.
18
19Last full update: 2026-11-07 11:15Z, head of `main` in spark `~/work/forge/web` (live binary: server + browse + dl + collab + social).
20Unclaimed feature paths answer a styled 501 "Coming soon" page, never a crash or a blank page.
21
22## Repositories and code
23
24| Feature | GitHub behaviour | Mine | Status | Owner |
25|---|---|---|---|---|
26| Repository list (explore) | Browse public repositories with description and activity | `/explore` and `/`: every public repo as name, its plain sentence (description from the Radicle identity doc), its state (below), then last commit date, short sha, subject and star count | DONE | Server |
27| Repository home | Name, description, file list, README, clone box | README first (ForgeReadmeFirst, 2026-11-11): a short header (name, the description, "Brought by", the state, one "Get it" button: the releases page when the repo has a tag, else the zip of the default branch, and the star / watch forms), tabs (About, Files, History, Releases, Proposed changes, Issues, For developers), the README large; no README: a plain note and the file list. Then the section "For developers: proof and records" (`<repo>#For-developers`): RID, delegate, seed, refs and HEAD, patch and receipt each explained in one line, the three count lines, branch bar, clone panel, newest commit, file list and a link to every record page. Every earlier address answers as before (`server/tests/readmefirst.sh` part A) | DONE | Server, Browse, DL |
28| Project state | (mine) whether anyone rebuilt it | `server/state.om`: "Checked: ran again on <date>" only when the Interplane receipts list (`content/receipts/ledger.tsv` at HEAD of rad:z399yKvnXcBQNkKoq86iBDgTvQ5QV, on the allow-list) verifies as `verify.sh` walks it, holds a BUILD record and, among the neighbouring records of the same time, a SOURCE record of the same writer naming `rad:<RID>`, and the BUILD evidence file hashes to its name; the header says whether that was the version shown or an earlier one. Anything else is "Unfinished: not checked yet". Checked against an independent shell reading of the list on the real list and six made-up ones, with a mutant (`server/tests/readmefirst.sh` part B) | DONE | Server |
29| Canonical URLs | `/<owner>/<repo>` | `/<owner>/<repo>` with owner `drakestapleton`; `/<owner>/<repo>/` redirects (301) to it, query kept; `/rad:<RID>[/...]` redirects (302) to it; non-public RIDs are 404 | DONE | Server |
30| Private / hidden repositories | Visible only to members | Anything outside the RIDS.md public table is 404 even by direct URL (fail closed, reloaded on SIGHUP / flag); in the store-reading build, any catalog line whose visibility is not `public`, and any project folder the catalog does not list | DONE | Server |
31| Native store (store-reading build) | (mine) the projects of Interplane's own store, no Radicle underneath (interplane-native DESIGN.md step 2) | `FORGE_STORE=<root> FORGED_OUT=<path> ./run.sh build` (optionally `FORGE_CLONE_BASE=https://.../`): the project list is every public line of the store's `catalog.tsv` less the deny list (no separate served list, RIDS.md is not read; a malformed, duplicate or unreadable catalog serves nothing and says why on stderr; reloaded on the flag and when the catalog changes); Git is read from `projects/NAME/repo.git`; a project folder or repo.git that is a link, a record 1 that does not hash to the catalog id or names another project, a deny-listed name or old id, or a head the branch does not have is left out. `/rad:<RID>` links and stars already in the social log resolve through the old id in record 1; new identifiers are `git:<id>` (a project without an old id is served under it); no `rad clone` line. Patches, issues, routing counts, insights and the research intake answer as their seams; the Salvage Yard, Community Machines, Open builds (with bring.sh, get.sh, withdraw.sh) and trending answer 503 "This part is moving to the new Interplane store and is not available yet." with no Retry-After (`forge/error/1` with `"reason":"moving"` as JSON; docs/API.md). The sandbox binds only the served projects. Pages and their JSON forms are byte-identical to the Radicle binary apart from listed lines that name Radicle (`store/tests/compare.sh`). Not deployed; the allow-list table holds FAMAX (256) projects, a public line past it is left out with a stderr line, and `store/tests/capacity.sh` alarms at 192 public lines | PARTIAL | Server |
32| Tree view | Browse directories at a ref | `/<o>/<r>/tree/<ref>/<path>` via `git ls-tree`: directories first, sizes, breadcrumbs, latest commit; a file path redirects (302) to blob; unknown ref or path 404 | DONE | Browse |
33| File view | Show a file with line numbers and anchors | `/<o>/<r>/blob/<ref>/<path>` with `id="L<n>"` line anchors; `.md` rendered, `?plain=1` for source; a directory path redirects (302) to tree | DONE | Browse |
34| Raw file | Serve file bytes unrendered | `/<o>/<r>/raw/<ref>/<path>`: text as `text/plain; charset=utf-8`, images / PDF with their type, anything else `application/octet-stream` as an attachment; raw responses carry a sandbox CSP (`sandbox; default-src 'none'`). Up to 8 MiB from memory; 8 MiB to 512 MiB written once to the archive cache and streamed (shares the 2 cold builds / 60 s cap, 503 + Retry-After); above 512 MiB 404 and the blob page says the file is too large to show, with no raw link | DONE | Browse, DL |
35| README rendering | Render the README as formatted text | README rendered as Markdown, first and large, on the repo home. A brought README is untrusted: no script, style, frame, object or form tag and no event handler reaches the page (raw HTML is escaped), images load only from this site (a remote image shows its alt text), unsafe link schemes become text, and a link that leaves the site (http, https, mailto, `//`) carries class `ext` (an arrow and "leaves this site") and `rel="nofollow noopener noreferrer"`; the page CSP (`img-src 'self'; script-src 'none'`, no frames) backs this. `browse/tests/hostile.sh`: the policy on every fixture, `tests/md/hostile.md`, and four mutant renderers it must catch | DONE | Browse |
36| Markdown rendering | Render .md files and comments | Server-side Markdown subset (headings with anchors, lists, code, tables with alignment, quotes, links, images) for README and `.md` blobs; raw HTML is shown escaped, except HTML comments (`<!-- ... -->`), which render nothing as on GitHub (outside code; a `<!--` with no `-->` after it stays visible text); issue / patch bodies are shown as escaped text | PARTIAL | Browse |
37| Syntax highlighting | Colour source code | Not yet (needs CSS classes only; no JS) | PLANNED | Browse |
38| Blame | Per-line last commit | `/<o>/<r>/blame/<ref>/<path>`: commit and author per block, linked to the commit | DONE | Browse |
39| Commits list | Paged history of a ref | `/<o>/<r>/commits/<ref>` with `?page=`; unknown ref 404 | DONE | Browse |
40| Commit view | Diff and metadata of one commit | `/<o>/<r>/commit/<sha>`: message, author, parents, stat, coloured diff; `.patch` and `.diff` as `text/plain` | DONE | Browse |
41| Compare | Diff between two refs | `/<o>/<r>/compare` form and `/compare/<a>...<b>` (commits and diff); `compare?a=&b=` redirects (302) | DONE | Browse |
42| Branches | List branches with last commit | `/<o>/<r>/branches`, default branch marked | DONE | Browse |
43| Tags | List tags | `/<o>/<r>/tags`; tags are also listed as releases on `/releases` | DONE | Browse |
44| History of a file | Commits that touched a path | `/<o>/<r>/commits/<ref>/<path>` | DONE | Browse |
45| Permalinks | Links pinned to a commit sha | tree / blob / raw accept a full commit sha as the ref | DONE | Browse |
46| Clone URLs | HTTPS / SSH clone | Store-reading home panel: `git clone --no-checkout <base>projects/<name>/repo.git <name> && git -C <name> checkout --detach <sha>`, pinned to the displayed default-branch commit. No HTTPS line without `FORGE_CLONE_BASE`; no panel for an empty repo. No `rad clone` or `forge-contribute` line in the store build. The default build's clone panel is unchanged. No SSH clone | PARTIAL | DL, Infra |
47| Code search (global) | Search code across repositories | `/search?q=`: case-insensitive fixed-string `git grep` over every public repo's default branch in allow-list order, at most 5 hits per file and 100 in total, links to `blob/<branch>/<path>#L<n>`. Each grep is stopped once the page has the lines it can still show, so a common word no longer scans whole trees; the page bytes are the same as reading every grep to the end (`nodes/tests/ab.sh check`); time in `docs/PERF.md` | DONE | Server |
48| Code search (one repo) | Search inside one repository | `/<o>/<r>/search?q=`: fixed-string `git grep` on the default branch, hits link to `blob/...#L<n>` | DONE | Browse |
49| Repository search | Search repositories by name / description | `/search?q=`: case-insensitive substring on name and description | DONE | Server |
50| Symbols / code navigation | Jump to definitions | Not planned for wave 1 | PLANNED | Browse |
51| Large File Storage (LFS) | Large binaries stored outside git | Not supported: Radicle storage has no LFS; LFS pointer files show as text | PLANNED | Browse |
52| Submodules | Show linked repositories | Submodule entries listed as commits (no link) | PLANNED | Browse |
53| Licence detection | Show the licence | Not yet | PLANNED | Browse |
54| Languages bar | Language share per repo | Not yet | PLANNED | Browse |
55
56## Downloads and releases
57
58| Feature | GitHub behaviour | Mine | Status | Owner |
59|---|---|---|---|---|
60| Source archive (zip) | Download a ref as .zip | `/<o>/<r>/archive/refs/heads/<b>.zip`, `/archive/refs/tags/<t>.zip` via `git archive`, top dir `<repo>-<ref>/`, cached under `~/forge-data/archives/<rid>/`, 512 MiB cap; `/archive/<sha>.zip` 302 to the branch or tag archive when a head or tag points at it, else 404; at most 2 cold builds per 60 s site-wide (503 + Retry-After); bad ref 404 | DONE | DL |
61| Source archive (tar.gz) | Download a ref as .tar.gz | Same paths with `.tar.gz` (`application/gzip`) | DONE | DL |
62| Commit-pinned source archive | Download an exact commit | Public Git edge (`infra/bazinga/omega-read`), not forged: `/drakestapleton/<repo>/archive/commits/<40-lower-case-hex>.zip` or `.tar.gz`. Requires a commit object reachable from a root head or tag in the public filtered mirror, including older history. Prefix `<repo>-<sha>/`, quoted-SHA ETag, `Cache-Control: no-cache`; HEAD omits the body. Unknown or unreachable commits are empty 404; malformed URLs fall through to forged. Existing branch/tag paths and legacy SHA redirects are unchanged. `dl/tests/pinned-archives.sh` covers accepted/refused twins and a reachability mutant | DONE | Infra |
63| Releases list | Tagged releases with notes and assets | `/<o>/<r>/releases`: tags as releases, notes from the annotated tag message, source archives as assets, paged; asset checksums shown once built, else "checksum computed on first download"; "No releases yet" when there are no tags | DONE | DL |
64| Release page / latest | One release; `/releases/latest` | `/<o>/<r>/releases/tag/<t>` (200); `/releases/latest` 302 to the newest tag, 404 without tags | DONE | DL |
65| Release assets (binaries) | Uploaded files attached to a release | `/releases/download/<t>/<asset>` serves the source archives only; uploads need a write path that Radicle does not have yet | PARTIAL | DL |
66| ETag / conditional download | Cache validators on downloads | Archives carry `ETag` = the commit sha; `If-None-Match` gives 304 with no body | DONE | DL, Server |
67
68## Collaboration
69
70| Feature | GitHub behaviour | Mine | Status | Owner |
71|---|---|---|---|---|
72| Pull requests | Propose, discuss and merge changes | Radicle patches: `/<o>/<r>/patches[?state=open|draft|archived|merged|all]` list and `/patches/<id>` view from Radicle storage (state, revisions, merges, linked hive verdict line); the author is the did:key from each change commit's SSH signature, linked to `drakestapleton` when it is the node NID; `/pulls` and `/pull/<id>` redirect (302). Read-only: patches are opened with `git push rad HEAD:refs/patches` and merged with `rad` | PARTIAL | Collab |
73| PR diff view | Changed files with diff | The patch page renders `--stat` plus a coloured unified diff per revision (`?rev=`), cut at 1 MiB with a note; `/patches/<id>.diff` streams the full diff, byte-identical to `git diff --full-index <base>..<head>` (full object ids, so the bytes do not change when git's abbreviation grows), cached under `~/forge-data/collab/<rid>/` as `<base>-<head>.full.diff` (older abbreviated `.diff` files are never served; LRU eviction removes them first). No side-by-side or per-file page, no line comments | PARTIAL | Collab |
74| Reviews | Approve / request changes, line comments | Patch reviews and verdicts listed in the patch timeline; web review composed for the user's node to sign (see "Comments / reviews from the web"); no line comments | PARTIAL | Collab |
75| Gate receipts and merge word | (mine; GitHub shows required status checks) | Patch page, beside each verdict line: the `forge decide` word of the revision (`MERGE OK` or `HOLD <CODE>`, same checks and codes as interplane-mv `forge decide`) and, when its receipt is well formed and names that head, gate_rc, negctl_rc and author. Read-only; receipts come from `~/handoffs/hive/forge/receipts/`. Exact rules: "Gate receipts: exact reader behaviour" below. Deployed 2026-11-09 (a4273792), curl-tested live under `/` and `/forge/`; nothing writes the receipts folder yet, so verdicted heads show `HOLD RECEIPT_UNREADABLE` | DONE | Collab |
76| Issues | Track bugs and tasks | `/<o>/<r>/issues` list and `/issues/<id>` view from Radicle storage (read-only). No public repo has issues yet; tested on a test build with heartwood | PARTIAL | Collab |
77| Labels | Tag issues and PRs | Radicle labels shown on issues and patches; no label filter or `/labels` page (501) | PARTIAL | Collab |
78| Assignees | Assign people | Radicle assignees shown on issues | PARTIAL | Collab |
79| Milestones | Group issues by goal | Radicle has no milestones | PLANNED | Collab |
80| Comments / reviews from the web | Comment on and review issues and PRs | Comment on an issue or a patch revision, and review (no verdict, accept, reject): the web composes and checks the text, then shows the exact `rad` command and a download; the user's own node signs it. No server-side write (Phase A of `docs/collab-write.md`) | PARTIAL | Collab |
81| New issue / new patch from the web | Open an issue or a PR in the browser | Same Phase A model: the page composes the issue, or the `git push -o patch.message` command (draft supported), and the user's node signs and pushes | PARTIAL | Collab |
82| Markdown in issues and PRs | Rendered descriptions and comments | Patch and issue descriptions, comments and review bodies rendered with the browse Markdown subset | DONE | Collab |
83| Raw diff cache | (platform) | Patch diffs cached under the data dir, 2 GiB LRU, 512 MiB per file | DONE | Collab |
84| Replies, labels, state changes from the web | Reply in threads, edit labels, close / reopen | Not yet | PLANNED | Collab |
85| One-click signed writes | Write without leaving the browser | Phase B of `docs/collab-write.md`; needs approval | PLANNED | Collab |
86| Discussions | Forum per repository | Not yet | PLANNED | Collab |
87| Wiki | Per-repo wiki pages | Not yet (could render a `wiki/` dir of the repo) | PLANNED | Browse |
88| Projects (boards) | Kanban boards of issues | Not yet (no JS: would be a static table by state) | PLANNED | Collab |
89| Mentions / cross-references | `@user` and `#123` links | Issue to patch only: `issue/<id prefix>` in a patch's title, description or comment links the patch and the issue both ways ("Issue links: exact rule" below). No `@user`, no `#123`. Deployed 2026-11-09 (a4273792); links tested on a heartwood test build (no public repo has issues yet) | PARTIAL | Collab |
90
91## Social
92
93| Feature | GitHub behaviour | Mine | Status | Owner |
94|---|---|---|---|---|
95| Stars | Star a repo; star counts; list of stargazers | POST `/<o>/<r>/star` / `unstar` (session + CSRF + rate limit; POST without a session is 303 to `<base>login`), counts on explore / repo / profile from the append-only log (start at 0, no seeding), `/<o>/<r>/stargazers` | DONE | Social |
96| Favorites | (mine) a personal shortlist distinct from stars | POST `/<o>/<r>/fav` / `unfav`; `/stars?tab=favorites` lists the user's favorites | DONE | Social |
97| Follow users | Follow accounts; follower / following lists | POST `<base>follow` / `<base>unfollow` with form field `user` (self-follow refused); lists at `/<user>/followers` and `/<user>/following` (or `?tab=followers` / `?tab=following`); profile shows counts | DONE | Social |
98| Watch | Subscribe to a repo's activity | POST `/<o>/<r>/watch` / `unwatch`, `/<o>/<r>/watchers`; no notifications are sent yet | PARTIAL | Social |
99| Fork | Copy a repo under your account | Not on the web: forking is `rad fork` in the Radicle CLI | PLANNED | Server |
100| Notifications | Inbox of activity | `/notifications` and `/notifications.json`: one digest per signed-in name, filtered by agent and repo, written when a filter is saved or a patch event arrives, never on a clock. A read does not create the file. Not in the live binary until this branch is reviewed and deployed | PLANNED | simplify |
101| Profiles | User page with repos, stars, followers | `/drakestapleton`: did:key, follower / following counts, stars and favorites received, repo list, follow form; signed-in users have their own profile | DONE | Server, Social |
102| Activity feed | Recent events of followed accounts | `<base>feed`: every public event of the forge, newest first, 50 a page (`?before=<seq>`), one plain sentence each with who did it (their page) and a link to the thing; `?format=text`; JSON alternate `<base>events.json`; "Feed" in the forge row. All public activity, not only followed accounts (no per-reader filter yet). Built from `door/` and tested on a host test copy (`server/tests/agentdoor.sh`); not in the live binary until this branch is reviewed and deployed. `docs/AGENT-DOOR.md` | HOST_TESTED | Door |
103| Sponsors | Fund maintainers | Not offered | PLANNED | Server |
104
105## Accounts and security
106
107| Feature | GitHub behaviour | Mine | Status | Owner |
108|---|---|---|---|---|
109| Sign in | Account login | `/login`: Radicle key sign-in. The page shows a one-time challenge (15 min), the user signs it with `ssh-keygen -Y sign -n interplane-forge` and their Radicle key, the server verifies it against the DID; forged or replayed signatures and wrong DIDs are refused. No passwords | DONE | Social |
110| Email magic link | (alternative login) | Designed; sending stays OFF until the mail path is approved (the login page says so) | PLANNED | Social |
111| Sessions and CSRF | Session cookie, form tokens | `__Host-` session cookie (`HttpOnly`, `Secure`, `Path=/`), CSRF token on every form, every POST with an `Origin` other than `https://interplane.io` / `https://www.aienos.com` is 403, per-IP write limit 30 / 60 s keyed on the full IP (no shared buckets; a full table evicts the oldest window), sign-in challenge spent on first check with a per-(DID, IP) limit; sessions survive a restart; a tampered log is detected at start and turns writes and sign-in off | DONE | Server, Social |
112| SSH keys | Manage keys for git push | Your Radicle key is your identity; no key upload | PLANNED | Social |
113| Two-factor auth | Second factor | Key signature is the only factor; no passwords to protect | PLANNED | Social |
114| Organisations | Shared accounts with members | One owner (the node delegate) | PLANNED | Server |
115| Teams | Groups inside an organisation | Not yet | PLANNED | Server |
116| Settings | Account settings page | `/settings` (signed in; else 303 to sign-in): display name | PARTIAL | Social |
117| Security headers | (platform) | CSP `script-src 'none'`, `form-action 'self'`, `frame-ancestors 'none'`, nosniff, same-origin referrer, no-store on pages; `Retry-After` on 503 | DONE | Server, Infra |
118| Path safety | (platform) | 400 on `.`/`..` segments (raw or `%2e`), `//`, `%2f`, `%5c`, `%00`, control bytes, backslash; git runs argv-only on allow-listed storage; the withdrawn private projects and their RIDs are refused by an explicit deny list even if a RIDS.md row lists them | DONE | Server |
119| Slow clients | (platform) | Each response must finish within 60 s plus 1 s per 128 KiB sent; request bodies within 60 s; the edge adds its own timeouts | DONE | Server, Infra |
120| Security advisories | Private vulnerability reports | Not yet | PLANNED | Collab |
121| Dependabot / dependency alerts | Automated dependency updates | Not offered | PLANNED | Server |
122| Secret scanning | Detect committed secrets | Not offered | PLANNED | Server |
123
124## Automation and integrations
125
126| Feature | GitHub behaviour | Mine | Status | Owner |
127|---|---|---|---|---|
128| Actions / CI | Run workflows on push | No runner in the forge. Gate receipts written by `forge gate` (interplane-mv) are read and shown on the patch page (row "Gate receipts and merge word", deployed 2026-11-09); the forge never runs a gate itself. A patch can also carry an evidence receipt (exact commit, command, exit, output sha256) shown on the patch page, with `/patches/<id>.receipt` as the machine-checkable check; a changed byte, a commit that is not the head, or a tree that is not that commit's tree is refused. Not in the live binary until forge/simplify is reviewed and deployed | PARTIAL | Server, Collab, simplify |
129| Status checks / badges | Commit status, README badges | Not yet | PLANNED | Server |
130| Packages | Package registry | Not offered | PLANNED | Server |
131| Pages | Static site hosting | interplane.io and aienos.com are served by the hub; not per repo | PLANNED | Infra |
132| Codespaces | Cloud dev environments | Not offered | PLANNED | Server |
133| REST API | JSON API with GitHub-like shapes | `/api` reserved; GitHub-compatible shapes (`/repos/<o>/<r>`, `/users/<u>`) PLANNED. The pages' own machine form, the agent front door and the event stream are the next rows | PLANNED | Server |
134| Machine form of pages (JSON) | (ours) every page readable by agents at its own URL | `<base>explore.json` (`forge/explore/1`) and `<base><o>/<r>.json` (`forge/repo/1`), or the same URLs with `Accept: application/json` (without `text/html`); RIDs and full shas as ids, ISO-8601 UTC times, stable keys; `<link rel="alternate" type="application/json">` on both HTML pages; denied repos 404; schemas in `docs/API.md`. Other pages have no JSON form yet. Built and tested on a trial build (`server/tests/counts.sh`, smoke on the trial); live test pending the deploy | PLANNED | Server |
135| Machine form of every other page | (ours) the rest of the pages readable by agents at their own URL | Tree, blob, blame, repo search, commits, commit, compare, branches, tags, releases, release, patches, patch, issues, issue, stargazers, watchers, profiles and their followers / following tabs, signed-in stars, global search: the page's own URL with `Accept: application/json` (`forge/tree/1` ... `forge/search/1`); same facts as the HTML page, full shas and RIDs as ids, `<link rel="alternate" type="application/json">` naming the page's own URL; errors as `forge/error/1` with the HTML status (refused repos 404 on every page); raw bytes, forms and redirects unchanged; schemas in `docs/API.md`. Tested on a trial build by `server/tests/jsonpages.sh` (every page type of every public repo under both bases, HTML byte-equal to the build before); live test pending the deploy | PLANNED | Server, Browse, DL, Patches, Social |
136| Agent front door and event stream | (ours) one list of every machine-readable address; activity read from where the agent stopped | `<base>agents.json` (`interplane/agents/1`): every JSON address with its template, how to ask for JSON, schema, auth and purpose, compiled from `server/agents.tsv`, plus what is not available. `<base>events.json?after=<seq>&limit=<n>` (`interplane/events/1`): append-only stream (14 kinds, stable `seq`, source ids, `ETag`/304), change-triggered collection into `<data>events/log`. Tested on a host test copy with fixtures, restart, paging and three negative controls (`server/tests/agentdoor.sh`); not deployed. `docs/AGENT-DOOR.md` | HOST_TESTED | Door, Server |
137| GraphQL API | Query API | Not planned | PLANNED | Server |
138| Webhooks | POST events to URLs | Not offered (no outbound calls) | PLANNED | Server |
139| Apps / OAuth | Third-party app auth | Not offered | PLANNED | Social |
140| Gists | Small shareable snippets | Not offered | PLANNED | Server |
141| RSS / Atom | Feeds of commits and releases | `/<o>/<r>/commits/<b>.atom`, `/releases.atom` PLANNED | PLANNED | Browse, DL |
142
143## Insights
144
145| Feature | GitHub behaviour | Mine | Status | Owner |
146|---|---|---|---|---|
147| Contributors | Commit counts per author | Distinct `git log --format=%aN` names on the insights page, with the source and the time checked | HOST_TESTED | Growth |
148| Commit activity / graphs | Activity charts | Not yet (no JS: server-drawn tables or SVG) | PLANNED | Browse |
149| Traffic | Views and clones | Clones and downloads on the repo home and on `/<owner>/<repo>/insights`, each with its source and since; no page views | HOST_TESTED | Growth |
150| Clone, download and seeding counts | Clone and download numbers per repository | Repo home header (HTML) and `counts` in `forge/repo/1` stay the counts lane's. Insights and trending read that journal. Seeding is the routing table, read by the repo home and insights when the node database changes; a new count is appended to `growth/seeds.log`. Trending and new do not read it (they show each repo's last check, null when none). Trending and new orderings: `/trending` and `/explore?order=trending|new`. Definitions: `docs/GROWTH.md` | HOST_TESTED | Growth |
151| Network graph | Fork graph | Not offered | PLANNED | Browse |
152
153## Interface
154
155| Feature | GitHub behaviour | Mine | Status | Owner |
156|---|---|---|---|---|
157| Two domains, one forge | (mine) | Same server at `https://interplane.io/` and `https://www.aienos.com/forge/`; every link and redirect built from `X-Forge-Base` | DONE (public smoke by ForgeInfra on both domains) | Server, Infra |
158| One site with interplane.io | (mine) | Every HTML page wears the interplane.io header (brand to `https://interplane.io/`, the site nav with Projects as the current entry, the Get Omega button) and three-column footer, its palette and its type; the forge controls are a second row. Generated, not copied: `./run.sh units` runs `server/chromegen.om` (seeded Omega) on `content/_layout.html` and `public/style.css` of the site's canonical main in local Radicle storage and composes `.build/chrome.om` (texts `tchrhead`, `tchrfoot`, `tchrfend`, `tchrcss`, `tchrsite`), so a site change reaches the next forge build with no edit; `./run.sh deploy` writes the site commit into `infra/DEPLOY.md`. The decorative rope band outside the site footer is excluded. `server/tests/sitechrome.sh` checks the result against the site source, that a changed site reaches a build, and that an unreadable layout stops the build with its reason | DONE | Server |
159| Header search box | Global search from every page | Forge row form GET `<base>search`, under the site header | DONE | Server |
160| Error pages | Styled 404 / 500 | Server error pages for 400 403 404 405 413 429 500, plus 501 "Coming soon" for named features not served yet | DONE | Server |
161| Mobile layout | Usable on phones | Responsive CSS: the site header's own breakpoints (1000, 860, 760, 480, 380 px) and the forge's (760, 640 px); no horizontal scroll at 390 px | DONE | Server |
162| Dark mode | Dark theme | The pages use the site's dark navy palette from the generated interplane.io `:root`; no second light palette | IMPLEMENTED | Server |
163| No JavaScript | (mine) | No script anywhere; CSP forbids it | DONE | Server |
164| Keyboard shortcuts | Hotkeys | Not offered (needs JS) | PLANNED | Server |
165| Access log | (platform) | One line per request to stderr: epoch, IP, method, path, status, bytes, ms | DONE | Server |
166| Node health | (mine) | `/status` and `/status.json`: this node's connected peers and, for each public repository, seeding scope, how many other nodes hold our signed copy, how many of those are behind, seconds our latest version took to reach them and seconds it has been waiting on the ones behind. Written by `nodes/snap.om` when the node reports events (no timer); the page shows when it was checked and flags a snapshot older than a day. Withdrawn RIDs and lines with markup are never shown. `docs/NODES.md` | DONE | Server |
167| Reload without restart | (platform) | Allow-list and social log re-read when RIDS.md changes (store-reading build: when `catalog.tsv` gets another inode, size or mtime) or `~/forge-data/reload` appears (SIGHUP via the supervisor). A list that cannot be read now serves nothing and logs `public repos 0`; before 2026-11-13 it stopped forged (trap 5 in `freload`) | DONE | Server, Infra |
168
169## Gate receipts: exact reader behaviour
170
171Code: `collab/co2cob.om` (`cdlook` and the `cd*` functions after it), rendering in `collab/co4pat.om`
172(`copdrow`). Test: `collab/tests/receipt.sh`. It runs only for the patch page (`/<o>/<r>/patches/<id>`), once per
173revision, never on lists. A later lane that extends this (for example receipts in place of CI) should
174extend these functions and this test rather than add a second reader.
175
176- Folder: `~/handoffs/hive/forge/receipts/` (mode 0755, made 2026-11-09), text `tcrcpd`. Writers are
177 `forge gate` runs (interplane-mv `forge/README.md` names the format); the forge only reads.
178- Names: revision r with head H looks at `<repo>-<H[0:8]>.receipt.txt` (receipt) and at the review folder's
179 `<repo>-<H[0:8]>.verdict.txt` (the same file as the verdict line). The folder is listed with getdents64;
180 two or more entries ending `-<H[0:8]>.receipt.txt` (any prefix) mean `RECEIPT_AMBIGUOUS` and no receipt is read.
181- Opening: `O_RDONLY|O_NOFOLLOW|O_NONBLOCK|O_CLOEXEC`. A symlink, FIFO that gives nothing, missing file or
182 read error is unreadable. A verdict of 65536 bytes or more, or a receipt of 4096 bytes or more, is unreadable.
183- Receipt format (FORGE-RECEIPT v1): line 1 exactly `FORGE-RECEIPT v1`; then `key=value` lines, each key at
184 most once, no empty line, no unknown key. Keys and values: `rid=` rad: plus 1..60 ASCII letters/digits;
185 `clone=` and `tree=` 40 lowercase hex; `omc=` 64 lowercase hex or `none`; `gate_rc=` and `negctl_rc=`
186 1..3 digits, at most 255; `author=` text with a visible byte and no control byte (tab allowed);
187 `gate_cmd=` and `negctl_cmd=` any; `started=` and `finished=` `YYYY-MM-DDTHH:MM:SSZ`; `log_sha256=` and
188 `negctl_log_sha256=` 64 lowercase hex. Required: clone, gate_rc, author (else `RECEIPT_MALFORMED`) and
189 negctl_rc (else `NO_NEGCTL`).
190- Decision, first match wins (forge decide order): `VERDICT_UNREADABLE`, `VERDICT_MALFORMED` (line 1 not
191 exactly `VERDICT <MERGE|MERGE_AFTER_FIX|REJECT> head=<40 lowercase hex>` ending in LF or end of file, a later
192 line starting `VERDICT`, two `reviewer=` lines, a control byte in reviewer), `VERDICT_MERGE_AFTER_FIX`,
193 `VERDICT_REJECT`, `HEAD_MISMATCH` (verdict head is not the revision head), `NO_REVIEWER` (no reviewer
194 with a visible byte), `RECEIPT_AMBIGUOUS`, `RECEIPT_UNREADABLE`, `RECEIPT_MALFORMED`, `NO_NEGCTL`,
195 `CLONE_MISMATCH` (clone is not the revision head), `GATE_FAIL` (gate_rc not 0), `NEGCTL_PASSED`
196 (negctl_rc 0: the mutant passed), `SELF_REVIEW` (reviewer and author normalized as forge does, lower case,
197 runs of space/tab/_/- as one space, punctuation trimmed, and the reviewer contains the author or the
198 author is empty). Otherwise `MERGE OK`.
199- Shown: a decision row for a revision when its verdict file was read, a verdict line is shown, or at least
200 one receipt name for its head exists. Receipt values (gate_rc, negctl_rc, author, HTML-escaped, at most 256
201 bytes) only when the receipt passed every receipt check and its clone is the revision head; otherwise the
202 row says "no gate receipt shown". No folder or file name is ever printed.
203- Differences from `forge decide`: symlinks are not followed; only the exact verdict name is read (no
204 verdict-ambiguity scan); like forge, rid, tree, omc and log hashes are not compared with anything.
205
206## Issue links: exact rule
207
208Code: `collab/co5iss.om` (`colscan`, `colpats`, `colpsec`, `colisec`). Test: `collab/tests/links.sh`.
209A patch links an issue when its title, the description of a revision that is not redacted, or a comment
210that is not redacted contains `issue/<h>` where the byte before `issue/` (inside that text) is not an
211ASCII letter or digit, `<h>` is 7 to 40 lowercase hex digits followed by a non-hex byte or the end of the
212text, and exactly one issue id of the same repository starts with `<h>`. The patch page lists the linked
213issues (at most 64) in the verdict box; the issue page lists, in a "Linked patches" box, the patches that
214link it among the first 200 patches (at most 64 shown).