forged JSON API (machine form of the pages)
Owner: ForgeServer. Source: server/json.om (explore, repo home), server/counts.om (counts),
server/jsonp.om (shared pieces, errors, search, the owner's profile) and each slice's own JSON unit
(browse browse/e1_json.om browse/e2_json.om, downloads dl/dljson.om, patches and issues in
collab/, social in social/). Tests: server/tests/counts.sh (isolated build with fixture logs),
server/tests/jsonpages.sh (walks every page under both bases as JSON and checks it against the
tables below and its HTML page), infra/smoke.sh (live, both bases).
Every page that has a machine form answers it at the same URL. Agents read these documents instead
of scraping HTML; humans see the same data on the HTML page, which stays the default.
How to ask for JSON
Every page answers JSON at its own URL when the request carries Accept: application/json. Explore
and the repository home also have a .json name:
| Page | HTML | JSON |
| Explore | <base>explore, <base> | <base>explore.json, or <base>explore / <base> with Accept: application/json |
| Repository home | <base><owner>/<repo> | <base><owner>/<repo>.json, or <base><owner>/<repo> with Accept: application/json |
| Every other page | its URL | the same URL with Accept: application/json; the schemas below name the URLs |
<base> is / on https://interplane.io/ and /forge/ on https://www.aienos.com/forge/.
On interplane.io the root / is the static site, so the explore JSON there is /explore.json
(or /explore with the Accept header).
- The Accept header selects JSON when it names
application/json and does not name text/html
(browsers name text/html, so they keep getting HTML). No Accept header means HTML.
- Response:
200, Content-Type: application/json; charset=utf-8, Cache-Control: no-store, the
same security headers as every forged response. GET and HEAD only; any other method is 405.
A page that redirects (301, 302, 303) redirects a JSON request the same way; an error answers
the same status as the HTML page with a forge/error/1 document.
- A repository that is not in the public table (or is on the deny list) is
404 with or without
.json, on every page under it, exactly like its HTML page. A .json name with more path after it
is 404.
- Raw files are not pages and have no JSON form:
/raw/..., /commit/<sha>.patch and .diff,
/patches/<id>.diff, archives and release asset downloads answer their bytes whatever the Accept
header says.
- Each HTML page names its JSON form in
<head>:
<link rel="alternate" type="application/json" href="<base>explore.json"> on explore,
<link rel="alternate" type="application/json" href="<base><owner>/<repo>.json"> on the repo home,
and on every other page with a JSON form its own URL (query included), which answers JSON with the
Accept header. Error pages name none.
Reading in another language (plain text, translation hints)
The forge translates nothing and keeps no translated copy. A reader translates a page with their own
browser or tool; the English page is the reference. Two things make that safe (source:
server/tr.om, gate: server/tests/translate.sh):
- Every HTML page is sent with translation hints:
<html lang="en">; translate="no" on every pre,
code, kbd and samp element and on every element whose class names mono, files, file,
dir, crumbs, brand or rname (commands, ids, file lists and paths, the Interplane name,
project names in lists); and a word that is
a hex hash (7 or more of 0-9a-f, with a digit) or a Radicle id
(z..., 29 or more base58 letters) is wrapped in <span translate="no">. A browser's own page
translation and translation extensions leave those parts byte for byte as they are. The hints add
only those attributes and spans: nothing else in a page changes.
- Every HTML page also answers as plain text at its own address with the query
format=text
(<base><owner>/<repo>?format=text; the footer links it as "This page as plain text"): the page's
own status, Content-Type: text/plain; charset=utf-8, the same security headers. The text is the
page's content without the site header and footer, after one preface line and a Page: line.
Inline code, commands, the breadcrumb path and the hashes and ids above are in backticks, pre
blocks and file lists in ``` fences,
headings start with #, list items with -, and a link's target follows its text in <...>. An
agent or a person with their own model translates this text themselves; the parts in backticks,
fences and <...> must be copied exactly. Other query fields stay (search?q=omega&format=text), and
the footer link of a page with a query carries it.
- Every response (pages, JSON, text, files, errors, redirects) carries a Content-Security-Policy with
script-src 'none'; there is no script on any page and no endpoint that translates.
Conventions
- Keys are stable. A new version of a document gets a new schema name (
forge/repo/2); keys are
only added within a version, never renamed or removed.
- Ids: a repository is its id as a bare
"<RID>" (z then base58); in the store-reading build
(FORGE_STORE, docs/CONTRACT.md section 1) it is "git:<id>", the 64 lowercase hex digits of the
project's id in the Interplane store (the SHA-256 of its record 1). A commit is its full 40-hex sha.
- Times: ISO-8601 UTC strings,
"2026-11-07T11:01:21Z".
null means not known or not measured. A count of zero is 0, never null.
- Paths (
path, json, archive and readme links) start with <base>, so they are correct for the
domain the request came in on.
- Strings are valid UTF-8 JSON. Bytes that are not well-formed UTF-8 in the source (a commit subject,
a file name) become U+FFFD.
<, >, & and control bytes are written as \u00XX.
forge/explore/1
| Key | Type | Meaning |
schema | string | "forge/explore/1" |
base | string | the base of the request, "/" or "/forge/" |
count | integer | number of public repositories (the length of repos) |
repos | array of repo summaries | in the order of the HTML list (the RIDS.md public table; in the store-reading build every public line of the store's catalog.tsv less the deny list, in catalog order) |
A repo summary (also the first keys of forge/repo/1):
| Key | Type | Meaning |
owner | string | "drakestapleton" (the node delegate; the only owner) |
name | string | repository name as in RIDS.md (the catalog in the store-reading build) |
rid | string | "<RID>" (bare); "git:<id>" in the store-reading build (Conventions) |
path | string | HTML page, <base><owner>/<name> |
json | string | its forge/repo/1 document, <base><owner>/<name>.json |
description | string or null | from the project's identity document (kept in repo.git when the project was imported) |
default_branch | string | from RIDS.md (the catalog in the store-reading build) |
stars | integer | star count from the forge's social log |
last_commit | object or null | last commit of the default branch: sha (40 hex), time (committer time, UTC), subject (first line, at most about 980 bytes; the HTML list shows the first 200 bytes of date, short sha and subject) |
Example (shortened; sha, time and subject are the real last commit of cuda-crack on 2026-11-09):
{"schema":"forge/explore/1","base":"/forge/","count":29,"repos":[
{"owner":"drakestapleton","name":"cuda-crack","rid":"z631r2JJiVT8it4tST7RK24hpowi","path":"/forge/drakestapleton/cuda-crack","json":"/forge/drakestapleton/cuda-crack.json","description":"...","default_branch":"main","stars":0,"last_commit":{"sha":"7e3c9a731d8607ceb60b5a257c8c3652becd544f","time":"2026-11-07T11:01:21Z","subject":"replicate.sh --agent --yes: ..."}}
]}
forge/repo/1
All keys of the repo summary above, then:
| Key | Type | Meaning |
schema | string | "forge/repo/1" (first key) |
favorites | integer | favorite count from the social log |
clone | object | rad ("<RID>", bare), rad_clone (null), git_https (null: no public Git URL yet). Store-reading build: rad and rad_clone null, git_https "<clone base>projects/<name>/repo.git" when built with FORGE_CLONE_BASE, else null |
archives | object | zip, tar_gz: source archive links of the default branch |
files | array or null | top-level entries of the default branch (git ls-tree -l), each name (string), type ("blob", "tree" or "commit"), sha (40 hex object id), size (integer bytes, null for trees and submodules); null when the branch cannot be read |
files_truncated | boolean | true when the tree has more than 1000 entries (only the first 1000 are listed), or its listing is longer than the 16 MiB forged reads (the entries in it are listed, the rest are not) |
readme | object or null | the README the home page renders (readme.md first, then any name starting with readme, ignoring case): name, html (blob page), raw (raw file) |
counts | object | real clone, download and seeding numbers, below |
The store-reading HTML home panel differs from the JSON archives object's branch links:
it offers /drakestapleton/<repo>/archive/commits/<40-lower-case-hex>.zip and .tar.gz,
pinned to the commit displayed. These are public Git edge routes (infra/bazinga/omega-read),
not forged dlroute routes. A commit object reachable from the public mirror's root heads or
tags is required; short, upper-case, unknown and unreachable IDs are refused. An accepted
archive has prefix <repo>-<sha>/, quoted-SHA ETag and Cache-Control: no-cache.
The JSON archive links and legacy /archive/<sha> redirects are unchanged.
counts
Every number comes from a log or table that exists on the node, and says which. Nothing is seeded,
estimated or carried over from elsewhere. Each log-based count carries since: the time of the first
line of the oldest log forged has read for it. count is null (and since null) when that log has
never been readable.
| Key | Source | What one count is | Left out |
git_fetches | front-door nginx download log | a git smart-HTTP GET .../info/refs?service=git-upload-pack answered 200, for /code/git/<name>.git or the retired clone path: one per git clone or git fetch | our own addresses (loopback, LAN, tailnet 100.64/10, IPv6 local, the address www.aienos.com resolves to, which is the home connection) and user agents naming bot, crawl or spider |
upload_pack_requests | retired | not measured: count and since are always null | null |
downloads | forged's access log | a GET or HEAD of /<owner>/<repo>/archive/... (archives) or /releases/download/... (release_assets) answered 200; count = archives + release_assets | our own addresses as above (requests that did not come through the public edge are logged as loopback) |
seeds | retired | not measured: count and as_of are always null | (no excludes key) |
seeds replaced the earlier radicle_seeds key on 2026-11-14, when its source was retired.
Each object also has source, counts and excludes strings with the same words, so a reader
never needs this page to know what a number means.
How the counts stay current without a timer: when a repo home (HTML or JSON) is requested, forged
stats each log and reads only what was added since its saved position (after a daily rotation, first
the rest of <log>.1, then the new log). Counted events are appended to ~/forge-data/counts.log
(one write per batch, with the log position), which forged replays at start and on reload. Before
appending again it discards any bytes after the last committed cursor, including a partial event
line, so a later batch cannot resurrect abandoned events. A journal shorter than its committed end
is refused rather than extended. The routing table is read again only when the node database
changed. Nothing runs when nobody looks.
Known limits: a request answered while forged was down for more than one rotation (two days) is
counted from the logs that still exist uncompressed; older compressed logs are not read. A HEAD of
an archive counts like a GET. Unique visitors are not counted (no address is ever stored).
Example: the counts of cuda-crack from a trial build that read the real logs on 2026-11-09
(server/tests/trial-real.sh; an independent awk recount of the same logs gave the same numbers for
all 29 public repositories; the long strings are shortened here):
"counts":{
"git_fetches":{"count":2,"since":"2026-11-08T11:48:05Z","source":"front-door nginx download log","counts":"...","excludes":"..."},
"upload_pack_requests":{"count":null,"since":null,"source":"retired","counts":"not measured: the source of this count is retired","excludes":null},
"downloads":{"count":0,"archives":0,"release_assets":0,"since":"2026-11-07T11:02:18Z","source":"forged access log","counts":"...","excludes":"..."},
"seeds":{"count":null,"as_of":null,"source":"retired","counts":"not measured: the source of this count is retired"}
}
The HTML repo home shows the same numbers under the star / watch / favorite bar, each with its source
and since date.
forge/error/1
Any page asked for JSON that answers an error (4xx or 5xx) without a body of its own: a repository
that is not public or is refused (404), an unknown ref, path or id (404), a method other than GET
or HEAD (405), a page not built yet (501). The status line carries the same code; the HTML page
of the same URL answers the same code.
| Key | Type | Meaning |
schema | string | "forge/error/1" |
status | integer | the HTTP status, equal to the response's |
error | string | the error page's title ("Not found") |
message | string | the error page's explanation |
Only the 503 "moving" answer of the store-reading build (section below) has one more key, reason
(a string, "moving"); it is not in the table because every other error document lacks it.
Example (GET /forge/drakestapleton/<name>/tree/main, a refused repository):
{"schema":"forge/error/1","status":404,"error":"Not found","message":"Not found. This page does not exist, or the repository is not public on this forge."}
A response that would not fit the server's body (8 MiB, for the JSON or the HTML form of a page) is
never sent cut: the answer is 500 with this document and a message that says the page is too
large. A document that is JSON by its name (.json, .receipt) gets it without an Accept header.
The data is whole in the repository and can be read with git. Gates:
server/tests/overflow.sh, collab/tests/bigstore.sh.
Parts moving to the new Interplane store (store-reading build)
The store-reading build (FORGE_STORE) does not compose the Salvage Yard, Community Machines, Open
builds and the trending list (run.sh composes store/mvsalvage.om, store/mvcommunity.om,
store/mvopen.om and store/mvgrowth.om in place of their slices; store/moving.om answers). Their
addresses do not answer 404: <base>salvage, <base>salvage/ and everything under <base>salvage/;
<base>community, <base>community/ and everything under it; <base>open, <base>open/ and
everything under it; <base>open.json; <base>bring.sh, <base>get.sh, <base>withdraw.sh;
<base>trending and <base>trending.json answer 503 for any method, with no Retry-After header
(no time is promised). The HTML page's title is Moving and its text is exactly "This part is moving
to the new Interplane store and is not available yet." A JSON request (a .json name, or
Accept: application/json) gets this document with "reason":"moving":
{"schema":"forge/error/1","status":503,"error":"Moving","message":"This part is moving to the new Interplane store and is not available yet.","reason":"moving"}
Every other 503 (the event stream's fail-closed answer, a busy download with Retry-After) keeps its
own words and has no reason key. agents.json lists these parts under not_available with the
same reason. Gate: store/tests/agentdoor-store.sh. The default build keeps its 404s
(server/no<slice>.om) when a slice is not composed.
forge/search/1
GET <base>search?q=<words> with Accept: application/json: the forge-wide search page. The
repositories whose name or description contains q (case-insensitive), then the code matches of q
on every repository's default branch (git grep -I -n -i -F --max-count=5, at most 100 matches in
all, in repository order), exactly as the HTML page lists them. q is cut at 200 bytes.
| Key | Type | Meaning |
schema | string | "forge/search/1" |
base | string | the base of the request |
query | string or null | the query as searched; null when the URL has no q (the page then lists nothing) |
repos | array | matching repositories, each a repo summary exactly as in forge/explore/1 |
code | array | code matches, in the order of the HTML page |
code_truncated | boolean | true when the 100-match cap was reached (the HTML page says "Showing the first 100") |
repos items
| Key | Type | Meaning |
owner | string | as in forge/explore/1 |
name | string | |
rid | string | |
path | string | |
json | string | |
description | string or null | |
default_branch | string | |
stars | integer | |
last_commit | object or null | sha, time, subject as in forge/explore/1 |
repos.last_commit object
| Key | Type | Meaning |
sha | string | 40 hex |
time | string | committer time, UTC |
subject | string | first line |
code items
| Key | Type | Meaning |
repo | string | repository name |
rid | string | "<RID>" (bare) |
path | string | file path in the repository |
line | integer | line number (1-based) |
text | string | the matching line, its first 300 bytes (the HTML page shows the same 300) |
html | string | the blob page at that line, <base><owner>/<repo>/blob/<branch>/<path>#L<line> |
Example (GET /forge/search?q=gb10, shortened to one repository and one match of 100):
{"schema":"forge/search/1","base":"/forge/","query":"gb10",
"repos":[{"owner":"drakestapleton","name":"aien-sovereign-core-mv","rid":"z44GqrPVAPjZkhoD2MWVjqy18ighN","path":"/forge/drakestapleton/aien-sovereign-core-mv","json":"/forge/drakestapleton/aien-sovereign-core-mv.json","description":"AienOS host runtime: ...","default_branch":"main","stars":0,"last_commit":{"sha":"314c0cc2360c75fd44edfc55ae22db036e792e96","time":"2026-11-09T00:48:00Z","subject":"Merge fix/crumb-924-lock (7bdf1521): ..."}}],
"code":[{"repo":"aien-sovereign-core-mv","rid":"z44GqrPVAPjZkhoD2MWVjqy18ighN","path":".github/workflows/release.yml","line":57,"text":" # The native engine is linked only on the candidate target (linux aarch64, the GB10 host class).","html":"/forge/drakestapleton/aien-sovereign-core-mv/blob/main/.github/workflows/release.yml#L57"}],
"code_truncated":true}
forge/tree/1
GET <base><owner>/<repo>/tree/<ref>[/<path>] with Accept: application/json. The directory listing
of the tree page: one directory of the repository at a ref. Source: browse/e1_json.om (brjtree).
A path that is a file redirects (302, Location = its blob page) exactly like the HTML page; an
unknown ref or path is 404 with a forge/error/1 body.
| Key | Type | Meaning |
schema | string | "forge/tree/1" |
base | string | the base of the request, "/" or "/forge/" |
repo | object | the repository (see Conventions) |
ref | string | the ref as written in the URL (branch, tag or commit sha) |
ref_kind | string | "branch", "tag" or "commit" (the label of the page's ref bar) |
commit | string | the 40-hex commit the ref resolved to |
path | string | the directory, relative to the repository root, "" at the root |
parent | string or null | the .. row: tree page of the parent directory; null at the root |
history | string | the History link: commit log of this path at this ref |
last_commit | object or null | the newest commit touching this path at commit (the box above the listing); null when git log printed nothing |
entries | array | the rows of the listing in page order: directories first, then files and submodules, each group in git's order |
truncated | boolean | true when the listing stopped at the page's cap of 5000 rows (or when the response buffer was full) |
readme | object or null | the README the page renders below the listing; null when there is none or it cannot be read |
last_commit object
| Key | Type | Meaning |
sha | string | 40-hex commit (the page shows the first 7) |
author | string | author name |
time | string | author time, ISO-8601 UTC (the page shows the date) |
subject | string | first line of the message |
path | string | commit page, <base><owner>/<repo>/commit/<sha> |
entries items
| Key | Type | Meaning |
name | string | file or directory name |
type | string | "tree" (directory), "blob" (file) or "commit" (submodule) |
sha | string | 40-hex object id (as in forge/repo/1 files) |
size | integer or null | bytes of a file; null for directories and submodules |
path | string | path from the repository root |
html | string or null | the row's link: tree page of a directory, blob page of a file; null for a submodule (the page shows it without a link) |
readme object
| Key | Type | Meaning |
name | string | file name: readme.md or readme.markdown (any case) first, else readme or readme.<ext> |
html | string | its blob page |
raw | string | the raw file |
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/tree/1",
"base": "/forge/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/forge/drakestapleton/cuda-crack",
"json": "/forge/drakestapleton/cuda-crack.json"
},
"ref": "main",
"ref_kind": "branch",
"commit": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"path": "check",
"parent": "/forge/drakestapleton/cuda-crack/tree/main",
"history": "/forge/drakestapleton/cuda-crack/commits/main/check",
"last_commit": {
"sha": "043f993fab0b263eb0edd1a367fee8fee8f6a79b",
"author": "aien-spark",
"time": "2026-11-07T10:00:25Z",
"subject": "reencode.om: each D field number appears at most once per form (ReviewCrack f5ea1b2e note)",
"path": "/forge/drakestapleton/cuda-crack/commit/043f993fab0b263eb0edd1a367fee8fee8f6a79b"
},
"entries": [
{
"name": "CHECK.txt",
"type": "blob",
"sha": "d75a1e3317ca506102421890b135541288ce20bb",
"size": 991,
"path": "check/CHECK.txt",
"html": "/forge/drakestapleton/cuda-crack/blob/main/check/CHECK.txt"
},
{
"name": "check.sh",
"type": "blob",
"sha": "aeca56ce939102eef368b4d4a46ddcc5c63aeb28",
"size": 3963,
"path": "check/check.sh",
"html": "/forge/drakestapleton/cuda-crack/blob/main/check/check.sh"
},
{
"name": "reencode.om",
"type": "blob",
"sha": "bd09c8a5f212211f27de38fed25ff8dda43552c4",
"size": 6197,
"path": "check/reencode.om",
"html": "/forge/drakestapleton/cuda-crack/blob/main/check/reencode.om"
}
],
"truncated": false,
"readme": null
}
forge/blob/1
GET <base><owner>/<repo>/blob/<ref>/<path> with Accept: application/json. One file at a ref, with
its text when the page shows it. Source: browse/e1_json.om (brjblob). A path that is a directory
redirects (302, Location = its tree page); an unknown ref or path is 404 (forge/error/1).
?plain=1 selects the source view of a Markdown file, as on the page.
| Key | Type | Meaning |
schema | string | "forge/blob/1" |
base | string | the base of the request |
repo | object | the repository (see Conventions) |
ref | string | the ref as written in the URL |
ref_kind | string | "branch", "tag" or "commit" |
commit | string | the 40-hex commit the ref resolved to |
path | string | the file, relative to the repository root |
name | string | the last segment of path |
size | integer | bytes |
lines | integer or null | number of lines as the page counts them (newlines, plus one for a last line without one); null for a file larger than 16 MiB, whose text forged does not hold |
binary | boolean | the page's binary test (a NUL byte in the first 8000 bytes) |
kind | string | how the page shows the file: "text" (code table), "markdown" (rendered Markdown), "image" (inline image), "binary" (binary file, raw link only; also PDF), "large" (too large to show: above 2 MiB, or above 512 MiB, which also has no raw link) |
links | object | the links of the file's info bar |
content | string or null | the file's text for kind "text" and "markdown" (Markdown as source text); null otherwise |
content_truncated | boolean | true only when content stopped early because the 8 MiB response buffer was full (the page shows at most 2 MiB, so this does not happen for text forged shows) |
links object
| Key | Type | Meaning |
raw | string or null | raw file; null above 512 MiB (the page offers no raw link) |
blame | string | blame page |
history | string | commit log of this file |
source | string or null | Markdown file shown rendered: its source view (?plain=1); null otherwise |
rendered | string or null | Markdown file shown as source (?plain=1): its rendered view; null otherwise |
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/blob/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/drakestapleton/cuda-crack",
"json": "/drakestapleton/cuda-crack.json"
},
"ref": "main",
"ref_kind": "branch",
"commit": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"path": "receipts/omega-mv/evidence/SEED-0/sm121/chip/steps.txt",
"name": "steps.txt",
"size": 100,
"lines": 4,
"binary": false,
"kind": "text",
"links": {
"raw": "/drakestapleton/cuda-crack/raw/main/receipts/omega-mv/evidence/SEED-0/sm121/chip/steps.txt",
"blame": "/drakestapleton/cuda-crack/blame/main/receipts/omega-mv/evidence/SEED-0/...",
"history": "/drakestapleton/cuda-crack/commits/main/receipts/omega-mv/evidence/SEED-...",
"source": null,
"rendered": null
},
"content": "check_words exit=0 want=0 ok\nrun_seed exit=0 want=0 ok\ncontrol_mutant ex...",
"content_truncated": false
}
forge/blame/1
GET <base><owner>/<repo>/blame/<ref>/<path> with Accept: application/json. Every line of a file
with the commit that last changed it (git blame --porcelain). Source: browse/e1_json.om
(brjblame). A directory redirects (302) to its tree page; an unknown ref or path, or a failed
blame, is 404 (forge/error/1).
| Key | Type | Meaning |
schema | string | "forge/blame/1" |
base | string | the base of the request |
repo | object | the repository (see Conventions) |
ref | string | the ref as written in the URL |
ref_kind | string | "branch", "tag" or "commit" |
commit | string | the 40-hex commit the ref resolved to |
path | string | the file, relative to the repository root |
history | string | commit log of this file |
commits | array | the commits that appear in the blame, in order of first appearance (at most 4096, the page's table) |
lines | array | the lines of the file in order |
truncated | boolean | true when the blame output was larger than forged reads (16 MiB) or the response buffer was full; the lines after the cut are missing |
commits items
| Key | Type | Meaning |
sha | string | 40-hex commit |
author | string | author name |
time | string or null | author time, ISO-8601 UTC |
subject | string | first line of the message (the page shows it as the tooltip) |
path | string | commit page |
lines items
| Key | Type | Meaning |
line | integer | line number in the file (1-based) |
commit | string or null | 40-hex commit that last changed the line (its entry in commits has the details) |
text | string | the line without its newline |
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/blame/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/drakestapleton/cuda-crack",
"json": "/drakestapleton/cuda-crack.json"
},
"ref": "main",
"ref_kind": "branch",
"commit": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"path": "receipts/omega-mv/evidence/SEED-0/sm121/chip/steps.txt",
"history": "/drakestapleton/cuda-crack/commits/main/receipts/omega-mv/evidence/SEED-...",
"commits": [
{
"sha": "c17646e7bc4215aa413a8acfb66fa9dd3794062c",
"author": "aien-spark",
"time": "2026-11-07T09:47:27Z",
"subject": "cuda-crack: I broke CUDA. GB10 sm_121 machine code without the CUDA toolkit",
"path": "/drakestapleton/cuda-crack/commit/c17646e7bc4215aa413a8acfb66fa9dd3794062c"
}
],
"lines": [
{
"line": 1,
"commit": "c17646e7bc4215aa413a8acfb66fa9dd3794062c",
"text": "check_words exit=0 want=0 ok"
},
{
"line": 2,
"commit": "c17646e7bc4215aa413a8acfb66fa9dd3794062c",
"text": "run_seed exit=0 want=0 ok"
},
{
"line": 3,
"commit": "c17646e7bc4215aa413a8acfb66fa9dd3794062c",
"text": "control_mutant exit=1 want=1 ok"
},
{
"line": 4,
"commit": "c17646e7bc4215aa413a8acfb66fa9dd3794062c",
"text": "session PASS"
}
],
"truncated": false
}
forge/repo-search/1
GET <base><owner>/<repo>/search?q=<text> with Accept: application/json. Case-insensitive fixed
string search over the default branch (git grep -I -i -F, at most 5 lines per file). Source:
browse/e1_json.om (brjsrch). A query longer than 256 bytes or containing a control byte is 400
(forge/error/1), as on the page. Without q the document has query null and no hits.
| Key | Type | Meaning |
schema | string | "forge/repo-search/1" |
base | string | the base of the request |
repo | object | the repository (see Conventions) |
query | string or null | the search text; null when q is absent or empty |
ref | string | the default branch searched |
commit | string | the 40-hex commit of that branch |
hits | array | matching files in git grep's order |
truncated | boolean | true when the list stopped at the page's cap of 200 matching lines and more followed |
hits items
| Key | Type | Meaning |
path | string | file path |
html | string | its blob page at ref |
lines | array | the matching lines of this file (at most 5) |
hits.lines items
| Key | Type | Meaning |
line | integer | line number |
text | string | the whole line (the page shows the first 300 bytes) |
html | string | blob page anchored at the line, ...#L<line> |
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/repo-search/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/drakestapleton/cuda-crack",
"json": "/drakestapleton/cuda-crack.json"
},
"query": "RUNLOG",
"ref": "main",
"commit": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"hits": [
{
"path": "replicate.sh",
"html": "/drakestapleton/cuda-crack/blob/main/replicate.sh",
"lines": [
{
"line": 29,
"text": "# PATH; runs each step in a new clean shell; prints PASS/FAIL/NOT_RUN pe...",
"html": "/drakestapleton/cuda-crack/blob/main/replicate.sh#L29"
},
{
"line": 109,
"text": "LOG=$WS/RUNLOG.md",
"html": "/drakestapleton/cuda-crack/blob/main/replicate.sh#L109"
},
{
"line": 114,
"text": "\tsay \"# RUNLOG: replicate.sh\"",
"html": "/drakestapleton/cuda-crack/blob/main/replicate.sh#L114"
},
{
"line": 697,
"text": "\tsay \"RESULT: every required step PASSED. RUNLOG: $WSD/RUNLOG.md\"",
"html": "/drakestapleton/cuda-crack/blob/main/replicate.sh#L697"
},
{
"line": 700,
"text": "say \"RESULT: $req_bad required step(s) did not PASS (NOT_RUN is not PASS...",
"html": "/drakestapleton/cuda-crack/blob/main/replicate.sh#L700"
}
]
},
{
"path": "replication/20261107T104021Z/RUNLOG.md",
"html": "/drakestapleton/cuda-crack/blob/main/replication/20261107T104021Z/RUNLOG.md",
"lines": [
{
"line": 1,
"text": "# RUNLOG: replicate.sh",
"html": "/drakestapleton/cuda-crack/blob/main/replication/20261107T104021Z/RUNLOG.md#L1"
}
]
},
{
"path": "replication/README.md",
"html": "/drakestapleton/cuda-crack/blob/main/replication/README.md",
"lines": [
{
"line": 3,
"text": "Each directory holds `RUNLOG.md` and `summary.tsv`, copied unchanged fro...",
"html": "/drakestapleton/cuda-crack/blob/main/replication/README.md#L3"
},
{
"line": 7,
"text": "| `20261107T104021Z` | `replicate.sh` sha256 `58b8671799500fd49a0ae27b1e...",
"html": "/drakestapleton/cuda-crack/blob/main/replication/README.md#L7"
},
{
"line": 14,
"text": "2f1eca4d18d9f8ce90b98c5519593d3d7deeca83915f50ec55a61452a445d2f5 202611...",
"html": "/drakestapleton/cuda-crack/blob/main/replication/README.md#L14"
}
]
}
],
"truncated": false
}
forge/commits/1
GET <base><owner>/<repo>/commits[/<ref>[/<path>]][?page=N] with Accept: application/json: one page (30 commits) of the history of <ref> (default branch when omitted), optionally only commits touching <path>.
| Key | Type | Meaning |
schema | string | forge/commits/1 |
base | string | the site base, / or /forge/ |
repo | object | the repository (see forge/repo/1) |
ref | string | the ref as named in the URL (the default branch name when the URL has none) |
commit | string | full sha the ref resolves to |
path | string | the path filter, "" when none |
page | integer | the page number (1 when ?page is absent or invalid) |
per_page | integer | always 30 |
commits | array | the commits of this page, newest first, as the HTML table lists them |
next | string or null | link to the older page (the HTML "Older" link), null when there is none |
prev | string or null | link to the newer page (the HTML "Newer" link), null on page 1 |
commits items
| Key | Type | Meaning |
sha | string | full commit sha |
author | string | author name |
time | string or null | author time, ISO 8601 UTC |
subject | string | first line of the message |
path | string | link to the commit page; the HTML "Browse" link is <base><owner>/<repo>/tree/<sha> |
Unknown ref or sha, or git log failing: 404 forge/error/1.
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/commits/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/drakestapleton/cuda-crack",
"json": "/drakestapleton/cuda-crack.json"
},
"ref": "main",
"commit": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"path": "LICENSE",
"page": 1,
"per_page": 30,
"commits": [
{
"sha": "c17646e7bc4215aa413a8acfb66fa9dd3794062c",
"author": "aien-spark",
"time": "2026-11-07T09:47:27Z",
"subject": "cuda-crack: I broke CUDA. GB10 sm_121 machine code without the CUDA toolkit",
"path": "/drakestapleton/cuda-crack/commit/c17646e7bc4215aa413a8acfb66fa9dd3794062c"
}
],
"next": null,
"prev": null
}
forge/commit/1
GET <base><owner>/<repo>/commit/<sha> with Accept: application/json: one commit, its numstat and its unified diff against the first parent. /commit/<sha>.patch and /commit/<sha>.diff are always the raw text/plain files, whatever the Accept header.
| Key | Type | Meaning |
schema | string | forge/commit/1 |
base | string | the site base, / or /forge/ |
repo | object | the repository (see forge/repo/1) |
sha | string | full commit sha |
parents | array | full shas of the parents (strings), [] for a root commit |
author | object | the author |
committer | object or null | the committer; present only when the HTML shows it (committer name length differs from the author name length, the HTML's own rule), else null |
subject | string | first line of the message |
message | string or null | the rest of the message as the HTML message block shows it (leading spaces of the body and trailing spaces dropped), null when the message is only a subject |
links | object | raw forms and the tree at this commit |
files_changed | integer or null | number of numstat rows (the HTML stat line); null when git show --numstat failed |
additions | integer or null | sum of added lines |
deletions | integer or null | sum of deleted lines |
files | array or null | the numstat rows the HTML table shows (the first 3000) |
files_truncated | boolean | true when more than 3000 rows exist |
diff | string or null | git's unified diff text up to the point where the HTML renderer stops (4 MiB of input or 30000 rendered rows); null when the diff command failed |
diff_truncated | boolean | true when the HTML shows the "diff truncated" notice, or when diff stopped early because the 8 MiB response buffer was nearly full (escaping can take 6 bytes per input byte) |
author object
| Key | Type | Meaning |
name | string | author name |
time | string or null | author time, ISO 8601 UTC |
committer object
| Key | Type | Meaning |
name | string | committer name |
time | string or null | committer time, ISO 8601 UTC |
links object
| Key | Type | Meaning |
patch | string | <repo>/commit/<sha>.patch (mbox patch) |
diff | string | <repo>/commit/<sha>.diff (plain diff) |
tree | string | <repo>/tree/<sha> (browse files at this commit) |
files items
| Key | Type | Meaning |
path | string | the path as numstat prints it (renames as old => new or dir/{a => b}) |
added | integer or null | added lines, null for a binary file |
deleted | integer or null | deleted lines, null for a binary file |
Unknown sha or ref, a path after the sha, or git show failing: 404 forge/error/1.
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/commit/1",
"base": "/forge/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/forge/drakestapleton/cuda-crack",
"json": "/forge/drakestapleton/cuda-crack.json"
},
"sha": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"parents": [
"5c2635a9f756d42f64d03308be67e9337539a0aa"
],
"author": {
"name": "aien-spark",
"time": "2026-11-07T11:01:21Z"
},
"committer": null,
"subject": "replicate.sh --agent --yes: exact allow-list instead of token deny-list; FORBID also on ;|& split text; --turns checked ...sh covers the 9 known bypasses",
"message": "",
"links": {
"patch": "/forge/drakestapleton/cuda-crack/commit/7e3c9a731d8607ceb60b5a257c8c3652becd544f.patch",
"diff": "/forge/drakestapleton/cuda-crack/commit/7e3c9a731d8607ceb60b5a257c8c3652becd544f.diff",
"tree": "/forge/drakestapleton/cuda-crack/tree/7e3c9a731d8607ceb60b5a257c8c3652becd544f"
},
"files_changed": 2,
"additions": 140,
"deletions": 18,
"files": [
{
"path": "replicate.sh",
"added": 98,
"deleted": 13
},
{
"path": "tests/agent-gate.sh",
"added": 42,
"deleted": 5
}
],
"files_truncated": false,
"diff": "diff --git a/replicate.sh b/replicate.sh\nindex feae082..39bd15a 100755\n--- a/replicate.sh\n+++ b/replicate.sh\n@@ -12,8 +1...EOF\n rc=$?\n cat \"$tmp/py.out\"\n",
"diff_truncated": false
}
forge/compare/1
GET <base><owner>/<repo>/compare/<a>...<b> with Accept: application/json: what head <b> has that base <a> does not (git log a..b, git diff a...b). GET <base><owner>/<repo>/compare answers the same schema for the form page (compare_base/compare_head null, empty lists, form set); GET .../compare?a=<a>&b=<b> redirects (302) to /compare/<a>...<b> exactly as the HTML form does. The compare sides are compare_base/compare_head because base is the site base in every document.
| Key | Type | Meaning |
schema | string | forge/compare/1 |
base | string | the site base, / or /forge/ |
repo | object | the repository (see forge/repo/1) |
compare_base | object or null | the base side; null on the form page |
compare_head | object or null | the head side; null on the form page |
commits | array or null | commits in head and not in base, newest first, as the HTML lists them (at most 250); null when git log failed |
commits_truncated | boolean | true when more than 250 commits exist (the HTML "newest 250" note) |
files_changed | integer or null | number of numstat rows of git diff --numstat -M a...b; null when it failed |
additions | integer or null | sum of added lines |
deletions | integer or null | sum of deleted lines |
files | array or null | the numstat rows the HTML table shows (the first 3000) |
files_truncated | boolean | true when more than 3000 rows exist |
diff | string or null | git's unified diff text up to the point where the HTML renderer stops (4 MiB of input or 30000 rendered rows); null when the HTML shows no diff (form page, no changes, or a failed command) |
diff_truncated | boolean | true when the HTML shows the "diff truncated" notice, or when diff stopped early because the 8 MiB response buffer was nearly full (escaping can take 6 bytes per input byte) |
form | object or null | the compare form (form page only), else null |
compare_base object
| Key | Type | Meaning |
ref | string | the base as typed in the URL |
sha | string | full sha it resolves to |
compare_head object
| Key | Type | Meaning |
ref | string | the head as typed in the URL |
sha | string | full sha it resolves to |
commits items
| Key | Type | Meaning |
sha | string | full commit sha |
author | string | author name |
time | string or null | author time, ISO 8601 UTC |
subject | string | first line of the message |
path | string | link to the commit page |
files items
| Key | Type | Meaning |
path | string | the path as numstat prints it (renames as old => new or dir/{a => b}) |
added | integer or null | added lines, null for a binary file |
deleted | integer or null | deleted lines, null for a binary file |
| Key | Type | Meaning |
action | string | <repo>/compare, the form target |
method | string | get |
base_param | string | query parameter of the base field, a |
head_param | string | query parameter of the head field, b |
maxlength | integer | longest accepted value, 200 |
help | string | the help text under the form |
Unresolvable base or head, or a malformed /compare/... path: 404 forge/error/1.
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/compare/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/drakestapleton/cuda-crack",
"json": "/drakestapleton/cuda-crack.json"
},
"compare_base": {
"ref": "5c2635a9",
"sha": "5c2635a9f756d42f64d03308be67e9337539a0aa"
},
"compare_head": {
"ref": "7e3c9a73",
"sha": "7e3c9a731d8607ceb60b5a257c8c3652becd544f"
},
"commits": [
{
"sha": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"author": "aien-spark",
"time": "2026-11-07T11:01:21Z",
"subject": "replicate.sh --agent --yes: exact allow-list instead of token deny-list; FORBID also on ;|& split text; --turns checked ...sh covers the 9 known bypasses",
"path": "/drakestapleton/cuda-crack/commit/7e3c9a731d8607ceb60b5a257c8c3652becd544f"
}
],
"commits_truncated": false,
"files_changed": 2,
"additions": 140,
"deletions": 18,
"files": [
{
"path": "replicate.sh",
"added": 98,
"deleted": 13
},
{
"path": "tests/agent-gate.sh",
"added": 42,
"deleted": 5
}
],
"files_truncated": false,
"diff": "diff --git a/replicate.sh b/replicate.sh\nindex feae082..39bd15a 100755\n--- a/replicate.sh\n+++ b/replicate.sh\n@@ -12,8 +1...EOF\n rc=$?\n cat \"$tmp/py.out\"\n",
"diff_truncated": false,
"form": null
}
forge/branches/1
GET <base><owner>/<repo>/branches[?page=N] with Accept: application/json: the branches as the HTML table lists them (newest commit first), 2000 a page. Every branch is on some page: the list is read one line at a time, so no number of branches cuts it. The HTML page has the same ?page=N; when the list has more than one page it says "Rows a to b of n." under the table and links the newer and older pages (a list of one page is shown as before paging). A page past the last row is a 404.
| Key | Type | Meaning |
schema | string | forge/branches/1 |
base | string | the site base, / or /forge/ |
repo | object | the repository (see forge/repo/1) |
branches | array | the branches on this page (at most 2000) |
truncated | boolean | true when branches follow on a later page (next is not null) |
page | integer | this page number, from 1 |
total | integer | the number of branches |
prev | string or null | link to the previous page (<repo>/branches?page=N-1), null on page 1 |
next | string or null | link to the next page, null on the last page |
branches items
| Key | Type | Meaning |
name | string | short branch name |
default | boolean | true for the default branch (the HTML "default" badge) |
commit | object | the tip commit as the row shows it |
html | string | <repo>/tree/<name> (browse files) |
archives | object | download links |
branches.commit object
| Key | Type | Meaning |
sha | string | full sha of the tip |
time | string or null | committer time, ISO 8601 UTC |
subject | string | first line of the message |
path | string | link to the commit page |
branches.archives object
| Key | Type | Meaning |
zip | string | <repo>/archive/refs/heads/<name>.zip |
tar_gz | string | <repo>/archive/refs/heads/<name>.tar.gz |
A path after /branches: 404 forge/error/1.
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/branches/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "cuda-crack",
"rid": "z631r2JJiVT8it4tST7RK24hpowi",
"path": "/drakestapleton/cuda-crack",
"json": "/drakestapleton/cuda-crack.json"
},
"branches": [
{
"name": "main",
"default": true,
"commit": {
"sha": "7e3c9a731d8607ceb60b5a257c8c3652becd544f",
"time": "2026-11-07T11:01:21Z",
"subject": "replicate.sh --agent --yes: exact allow-list instead of token deny-list; FORBID also on ;|& split text; --turns checked ...sh covers the 9 known bypasses",
"path": "/drakestapleton/cuda-crack/commit/7e3c9a731d8607ceb60b5a257c8c3652becd544f"
},
"html": "/drakestapleton/cuda-crack/tree/main",
"archives": {
"zip": "/drakestapleton/cuda-crack/archive/refs/heads/main.zip",
"tar_gz": "/drakestapleton/cuda-crack/archive/refs/heads/main.tar.gz"
}
}
],
"truncated": false
}
GET <base><owner>/<repo>/tags[?page=N] with Accept: application/json: the tags as the HTML table lists them (newest first), 2000 a page, every tag on some page (as forge/branches/1).
| Key | Type | Meaning |
schema | string | forge/tags/1 |
base | string | the site base, / or /forge/ |
repo | object | the repository (see forge/repo/1) |
tags | array | the tags on this page (at most 2000); [] when there are none |
truncated | boolean | true when tags follow on a later page (next is not null) |
page | integer | this page number, from 1 |
total | integer | the number of tags |
prev | string or null | link to the previous page (<repo>/tags?page=N-1), null on page 1 |
next | string or null | link to the next page, null on the last page |
| Key | Type | Meaning |
name | string | short tag name |
object | string | sha of the tag ref's object (the tag object for an annotated tag, the commit for a lightweight one) |
commit | string | sha the tag points at after peeling (the commit the HTML short sha shows) |
time | string or null | creator date, ISO 8601 UTC |
subject | string | tag message subject (commit subject for a lightweight tag) |
commit_path | string | link to that commit's page |
html | string | <repo>/tree/<name> (browse files) |
archives | object | download links |
release | string | <repo>/releases/tag/<name> (the row's release link) |
| Key | Type | Meaning |
zip | string | <repo>/archive/refs/tags/<name>.zip |
tar_gz | string | <repo>/archive/refs/tags/<name>.tar.gz |
A path after /tags: 404 forge/error/1.
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/tags/1",
"base": "/forge/",
"repo": {
"owner": "drakestapleton",
"name": "omega-bridge",
"rid": "z3Hr9ZaiKHwwuNzPK5M8c7uw6pj7y",
"path": "/forge/drakestapleton/omega-bridge",
"json": "/forge/drakestapleton/omega-bridge.json"
},
"tags": [
{
"name": "cudapp-lock/ead98302",
"object": "ead98302ff0a649c49c3f2c7568af5e1b3da33eb",
"commit": "ead98302ff0a649c49c3f2c7568af5e1b3da33eb",
"time": "2026-10-28T19:57:03Z",
"subject": "Pin archived static QEMU and exercise scalar x86 consumers explicitly",
"commit_path": "/forge/drakestapleton/omega-bridge/commit/ead98302ff0a649c49c3f2c7568af5e1b3da33eb",
"html": "/forge/drakestapleton/omega-bridge/tree/cudapp-lock/ead98302",
"archives": {
"zip": "/forge/drakestapleton/omega-bridge/archive/refs/tags/cudapp-lock/ead98302.zip",
"tar_gz": "/forge/drakestapleton/omega-bridge/archive/refs/tags/cudapp-lock/ead98302.tar.gz"
},
"release": "/forge/drakestapleton/omega-bridge/releases/tag/cudapp-lock/ead98302"
},
{
"name": "license-apache-2.0",
"object": "999ce8317c05ddff59a3ec02f77da1c2c5dac6ec",
"commit": "999ce8317c05ddff59a3ec02f77da1c2c5dac6ec",
"time": "2026-10-24T04:12:28Z",
"subject": "chore(license): adopt Apache-2.0 across the tree",
"commit_path": "/forge/drakestapleton/omega-bridge/commit/999ce8317c05ddff59a3ec02f77da1c2c5dac6ec",
"html": "/forge/drakestapleton/omega-bridge/tree/license-apache-2.0",
"archives": {
"zip": "/forge/drakestapleton/omega-bridge/archive/refs/tags/license-apache-2.0.zip",
"tar_gz": "/forge/drakestapleton/omega-bridge/archive/refs/tags/license-apache-2.0.tar.gz"
},
"release": "/forge/drakestapleton/omega-bridge/releases/tag/license-apache-2.0"
}
],
"truncated": false
}
forge/releases/1
GET <base><owner>/<repo>/releases[?page=N] (also /releases/) with Accept: application/json. The releases list: 10 releases per page, newest first, the same records and order as the HTML page. Every tag is a release (no cap at the newest 500). The bound is 16 MiB of tag records (about 150,000 tags) and 16 MiB for one tag message; past either, the list and the pages it covers are the whole 500 forge/error/1 ("larger than the forge reads in one piece"), never a shorter list.
| Key | Type | Meaning |
schema | string | "forge/releases/1" |
base | string | the X-Forge-Base prefix every link starts with |
repo | object | the repository (see Conventions) |
page | integer | this page number, from 1 (a page past the end of a nonempty list is a 404) |
releases | array | the releases on this page; empty when the repository has no release tags |
prev | string or null | link to the newer page (?page=N-1), null on page 1 |
next | string or null | link to the older page (?page=N+1), null on the last page |
releases items
| Key | Type | Meaning |
tag | string | the tag name, which is the release title (a canonical or delegate tag) |
html | string | link to the release page <base><owner>/<repo>/releases/tag/<tag> |
prerelease | boolean | the tag name marks a pre-release (-rc, -alpha, -beta, -pre, -dev) |
latest | boolean | this is the newest non-pre-release (the target of /releases/latest) |
time | string or null | the tag's creator date (tagger date of an annotated tag, else the commit date), ISO 8601 UTC; the HTML shows its day |
commit | object | the commit the tag points at (the HTML shows only its sha) |
subject | string or null | the annotated tag's subject line; null for a lightweight tag or an empty subject |
notes | string or null | the annotated tag's message body (release notes), raw text, whole; null for a lightweight tag or an empty body |
archives | object | the two source archives of the tag |
assets | array or null | always null on the list page (the HTML lists assets only on the release page) |
assets_not_offered | integer or null | always null on the list page |
releases.commit object
| Key | Type | Meaning |
sha | string | full 40-hex commit sha |
path | string | link to the commit page <base><owner>/<repo>/commit/<sha> |
releases.archives object
| Key | Type | Meaning |
zip | object | the .zip source archive |
tar_gz | object | the .tar.gz source archive |
releases.archives.zip object
| Key | Type | Meaning |
name | string | the download file name <repo>-<tag>.zip (a leading v before a digit is dropped, / becomes -), as the HTML link text |
path | string | download link <base><owner>/<repo>/archive/refs/tags/<tag>.zip |
size | integer or null | bytes of the cached archive; null until it has been built (downloaded once), as the HTML shows "-" |
sha256 | string or null | SHA-256 (64 hex) of the cached archive; null when size is null |
releases.archives.tar_gz object
| Key | Type | Meaning |
name | string | the download file name <repo>-<tag>.tar.gz |
path | string | download link <base><owner>/<repo>/archive/refs/tags/<tag>.tar.gz |
size | integer or null | bytes of the cached archive; null until it has been built |
sha256 | string or null | SHA-256 (64 hex) of the cached archive; null when size is null |
releases.assets items
Never present today: assets is null on every list entry. The shape is reserved as the one of release.assets items.
| Key | Type | Meaning |
name | string | the file name under release-assets/ |
path | string | download link <base><owner>/<repo>/releases/download/<tag>/<name> |
size | integer or null | bytes of the cached file; null until it has been downloaded once |
sha256 | string or null | SHA-256 (64 hex) of the cached file; null when size is null |
Example (real, from a trial forged over a fixture repository; the live allow-list has no repository with tags today, where releases is []):
{
"schema": "forge/releases/1",
"base": "/forge/",
"repo": {
"owner": "drakestapleton",
"name": "dlfix",
"rid": "z3FixtureRepoForReasesTagsXY",
"path": "/forge/drakestapleton/dlfix",
"json": "/forge/drakestapleton/dlfix.json"
},
"page": 2,
"releases": [
{
"tag": "v0.1.0",
"html": "/forge/drakestapleton/dlfix/releases/tag/v0.1.0",
"prerelease": false,
"latest": false,
"time": "2025-02-11T00:00:00Z",
"commit": {
"sha": "771405a781f24d6647897f0dd1764a04d12922e8",
"path": "/forge/drakestapleton/dlfix/commit/771405a781f24d6647897f0dd1764a04d12922e8"
},
"subject": null,
"notes": null,
"archives": {
"zip": {
"name": "dlfix-0.1.0.zip",
"path": "/forge/drakestapleton/dlfix/archive/refs/tags/v0.1.0.zip",
"size": null,
"sha256": null
},
"tar_gz": {
"name": "dlfix-0.1.0.tar.gz",
"path": "/forge/drakestapleton/dlfix/archive/refs/tags/v0.1.0.tar.gz",
"size": null,
"sha256": null
}
},
"assets": null
},
{
"tag": "v0.10.0",
"html": "/forge/drakestapleton/dlfix/releases/tag/v0.10.0",
"prerelease": false,
"latest": false,
"time": "2025-02-11T00:00:00Z",
"commit": {
"sha": "a7c0e58d022a76bc055a27d6f2b64c0f47d3e407",
"path": "/forge/drakestapleton/dlfix/commit/a7c0e58d022a76bc055a27d6f2b64c0f47d3e407"
},
"subject": null,
"notes": null,
"archives": {
"zip": {
"name": "dlfix-0.10.0.zip",
"path": "/forge/drakestapleton/dlfix/archive/refs/tags/v0.10.0.zip",
"size": null,
"sha256": null
},
"tar_gz": {
"name": "dlfix-0.10.0.tar.gz",
"path": "/forge/drakestapleton/dlfix/archive/refs/tags/v0.10.0.tar.gz",
"size": null,
"sha256": null
}
},
"assets": null
},
{
"tag": "v0.9.0",
"html": "/forge/drakestapleton/dlfix/releases/tag/v0.9.0",
"prerelease": false,
"latest": false,
"time": "2025-01-19T00:00:00Z",
"commit": {
"sha": "b503757bb25bc6c44dfee4bf38846bbb75f3ae46",
"path": "/forge/drakestapleton/dlfix/commit/b503757bb25bc6c44dfee4bf38846bbb75f3ae46"
},
"subject": null,
"notes": null,
"archives": {
"zip": {
"name": "dlfix-0.9.0.zip",
"path": "/forge/drakestapleton/dlfix/archive/refs/tags/v0.9.0.zip",
"size": null,
"sha256": null
},
"tar_gz": {
"name": "dlfix-0.9.0.tar.gz",
"path": "/forge/drakestapleton/dlfix/archive/refs/tags/v0.9.0.tar.gz",
"size": null,
"sha256": null
}
},
"assets": null
}
],
"prev": "/forge/drakestapleton/dlfix/releases?page=1",
"next": null
}
Live (cuda-crack, no tags), under base /:
{"schema":"forge/releases/1","base":"/","repo":{"owner":"drakestapleton","name":"cuda-crack","rid":"z631r2JJiVT8it4tST7RK24hpowi","path":"/drakestapleton/cuda-crack","json":"/drakestapleton/cuda-crack.json"},"page":1,"releases":[],"prev":null,"next":null}
forge/release/1
GET <base><owner>/<repo>/releases/tag/<tag> with Accept: application/json. One release with its release-assets/ files. Errors as the HTML: 404 for an unknown or too-long tag, 400 for a refused tag name. GET <base><owner>/<repo>/releases/latest answers the same 302 redirect to this page in both forms (404 when there is no non-pre-release); /archive/... and /releases/download/... are files.
| Key | Type | Meaning |
schema | string | "forge/release/1" |
base | string | the X-Forge-Base prefix every link starts with |
repo | object | the repository (see Conventions) |
release | object | the release |
release object
| Key | Type | Meaning |
tag | string | the tag name, which is the release title |
html | string | link to this page |
prerelease | boolean | the tag name marks a pre-release |
latest | boolean | this is the newest non-pre-release |
time | string or null | the tag's creator date, ISO 8601 UTC |
commit | object | the commit the tag points at |
subject | string or null | the annotated tag's subject line; null for a lightweight tag or an empty subject |
notes | string or null | the annotated tag's message body, raw text, whole; null for a lightweight tag or an empty body |
archives | object | the two source archives of the tag |
assets | array | every file under release-assets/ in the tagged commit that is offered for download (git order); empty when there are none. A release whose page does not fit the 8 MiB response is the whole 500 forge/error/1 ("too large for the forge to send"); its downloads still work |
assets_not_offered | integer | entries of release-assets/ that are not offered (a name over 120 bytes, a byte other than A-Z a-z 0-9 . _ - +, a leading dot, or not a plain file); the HTML page says the same number |
release.commit object
| Key | Type | Meaning |
sha | string | full 40-hex commit sha |
path | string | link to the commit page |
release.archives object
| Key | Type | Meaning |
zip | object | the .zip source archive |
tar_gz | object | the .tar.gz source archive |
release.archives.zip object
| Key | Type | Meaning |
name | string | the download file name <repo>-<tag>.zip |
path | string | download link <base><owner>/<repo>/archive/refs/tags/<tag>.zip |
size | integer or null | bytes of the cached archive; null until it has been built |
sha256 | string or null | SHA-256 (64 hex) of the cached archive; null when size is null |
release.archives.tar_gz object
| Key | Type | Meaning |
name | string | the download file name <repo>-<tag>.tar.gz |
path | string | download link <base><owner>/<repo>/archive/refs/tags/<tag>.tar.gz |
size | integer or null | bytes of the cached archive; null until it has been built |
sha256 | string or null | SHA-256 (64 hex) of the cached archive; null when size is null |
release.assets items
| Key | Type | Meaning |
name | string | the file name under release-assets/ |
path | string | download link <base><owner>/<repo>/releases/download/<tag>/<name> |
size | integer or null | bytes of the cached file; null until it has been downloaded once, as the HTML shows "-" |
sha256 | string or null | SHA-256 (64 hex) of the cached file; null when size is null |
Example (real, fixture repository, after one download of each asset and of the zip archive):
{
"schema": "forge/release/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "dlfix",
"rid": "z3FixtureRepoForReasesTagsXY",
"path": "/drakestapleton/dlfix",
"json": "/drakestapleton/dlfix.json"
},
"release": {
"tag": "v1.0.0",
"html": "/drakestapleton/dlfix/releases/tag/v1.0.0",
"prerelease": false,
"latest": true,
"time": "2026-01-02T00:00:00Z",
"commit": {
"sha": "934969dfa00e7612681463eb8f0ce2a965c9882a",
"path": "/drakestapleton/dlfix/commit/934969dfa00e7612681463eb8f0ce2a965c9882a"
},
"subject": "First release",
"notes": "Notes line <b>bold</b> & \"quoted\" more\n",
"archives": {
"zip": {
"name": "dlfix-1.0.0.zip",
"path": "/drakestapleton/dlfix/archive/refs/tags/v1.0.0.zip",
"size": 300814,
"sha256": "29948c1d590deed8013bb95541f9d61e0ea58bf0ecc5ea662017a78abf604197"
},
"tar_gz": {
"name": "dlfix-1.0.0.tar.gz",
"path": "/drakestapleton/dlfix/archive/refs/tags/v1.0.0.tar.gz",
"size": null,
"sha256": null
}
},
"assets": [
{
"name": "blob.bin",
"path": "/drakestapleton/dlfix/releases/download/v1.0.0/blob.bin",
"size": 300000,
"sha256": "5238614466f7efa2f91d6b57939fb1651f9550826de49480cab45869fd552d81"
},
{
"name": "tool-linux.txt",
"path": "/drakestapleton/dlfix/releases/download/v1.0.0/tool-linux.txt",
"size": 8,
"sha256": "8419ff13897cbe37259aafcdf99caa54532b826445935be0fcb71456525ebc26"
}
]
}
}
forge/patches/1
GET <base><owner>/<repo>/patches[?state=open|draft|merged|archived|all] (also /pulls, the same list)
The patch list page: the state filter in effect, its tabs with their counts, and the rows the page shows
(at most 200 patches, the page's cap; filtered by state; in HTML order). An unknown state value is
open, as on the page. Titles are at most 300 bytes, as in the HTML list.
| Key | Type | Meaning |
schema | string | forge/patches/1 |
base | string | / or /forge/ |
repo | object | the repository (see forge/repo/1) |
state | string | the filter in effect: open, draft, merged, archived or all |
states | array | the filter tabs, in HTML order |
truncated | boolean | the repository has more than 200 patches and only 200 are listed (the page's cap note) |
patches | array | the rows of the list, in HTML order |
new | string | link to the new patch form |
states items
| Key | Type | Meaning |
state | string | the ?state= value of the tab |
count | integer | the number in the tab |
path | string | link to the list in that state |
patches items
| Key | Type | Meaning |
id | string | the patch id (40 hex) |
title | string | the title, empty when the patch has none |
state | string | open, draft, merged or archived |
author | object | who opened the patch |
updated | string or null | the time of the newest change |
revisions | integer | number of revisions |
comments | integer | number of comments and reviews |
verdict | string or null | the linked review verdict of the newest revision (at most 128 bytes, as in the list) |
path | string | link to the patch page |
patches.author object
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/patches/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "omega-harness",
"rid": "z39gvwWsnkRZsAConQLjaKiNVLHfW",
"path": "/drakestapleton/omega-harness",
"json": "/drakestapleton/omega-harness.json"
},
"state": "draft",
"states": [
{
"state": "open",
"count": 1,
"path": "/drakestapleton/omega-harness/patches?state=open"
},
{
"state": "draft",
"count": 1,
"path": "/drakestapleton/omega-harness/patches?state=draft"
},
{
"state": "merged",
"count": 7,
"path": "/drakestapleton/omega-harness/patches?state=merged"
},
{
"state": "archived",
"count": 0,
"path": "/drakestapleton/omega-harness/patches?state=archived"
},
{
"state": "all",
"count": 9,
"path": "/drakestapleton/omega-harness/patches?state=all"
}
],
"truncated": false,
"patches": [
{
"id": "5069b161d30889f46e2d4aae102edc2151731adc",
"title": "docs: importer acceptance hold and SI gate guide (draft)",
"state": "draft",
"author": {
"name": "drakestapleton",
"did": "did:key:z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK",
"path": "/drakestapleton"
},
"updated": "2026-11-07T18:24:19Z",
"revisions": 1,
"comments": 0,
"verdict": null,
"path": "/drakestapleton/omega-harness/patches/5069b161d30889f46e2d4aae102edc2151731adc"
}
],
"new": "/drakestapleton/omega-harness/patches/new"
}
forge/patch/1
GET <base><owner>/<repo>/patches/<id>[?rev=<revision id prefix>]
One patch. <id> is 4 to 40 lowercase hex naming exactly one patch, else 404 (forge/error/1). diff
names the revision whose changes the page shows: the one ?rev= names, else the newest revision that is
not redacted. The diff text and its stat are not in the document; diff.raw is the raw diff
(text/plain, unchanged by Accept). Bodies and descriptions are the raw markdown source the page
renders. labels and assignees are split at the , the page joins them with.
| Key | Type | Meaning |
schema | string | forge/patch/1 |
base | string | / or /forge/ |
repo | object | the repository (see forge/repo/1) |
id | string | the patch id (40 hex) |
title | string | the title, empty when the patch has none |
state | string | open, draft, merged or archived |
author | object | who opened the patch |
opened | string or null | time of the first change |
path | string | link to this page |
description | string | the description of revision 1 (markdown), empty when none |
labels | array | label names (strings) |
assignees | array | assignee DIDs (strings) |
forged_commit | string or null | the commit the running forged was built from (40 hex), null when not recorded |
revisions | array | every revision, oldest first |
merges | array | every merge |
activity | array | every event in change order, as the Activity list shows it |
diff | object or null | the revision whose changes the page shows; null when every revision is redacted |
author object
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
revisions items
| Key | Type | Meaning |
number | integer | revision number (1 = first) |
id | string | revision id (40 hex) |
path | string | link to this page showing that revision's changes |
redacted | boolean | the revision was redacted |
base | string | base commit (40 hex) |
head | string | head commit (40 hex) |
author | object | who pushed it (same keys as author) |
time | string or null | when |
verdict | string or null | first line of the review verdict that names this head |
revisions.author object
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
merges items
| Key | Type | Meaning |
revision | integer | the merged revision number |
commit | string | the merge commit (40 hex) |
author | object | who merged (same keys as author) |
time | string or null | when |
merges.author object
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
activity items
| Key | Type | Meaning |
type | string | open, revision, review, comment or merge |
author | object | who (same keys as author) |
time | string or null | when |
revision | integer or null | the revision the event names; null for a comment on no revision or an unknown one |
head | string or null | head commit of an open or revision event |
commit | string or null | merge commit of a merge event |
verdict | string or null | accept or reject for a review, else null |
body | string or null | review summary or comment body (markdown); null for other events and redacted comments |
redacted | boolean | the comment (or, for open/revision, the revision) was redacted |
activity.author object
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
diff object
| Key | Type | Meaning |
revision | integer | revision number |
id | string | revision id (40 hex) |
base | string | base commit (40 hex) |
head | string | head commit (40 hex) |
raw | string | link to the raw diff of that revision |
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/patch/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "omega-bridge",
"rid": "z3Hr9ZaiKHwwuNzPK5M8c7uw6pj7y",
"path": "/drakestapleton/omega-bridge",
"json": "/drakestapleton/omega-bridge.json"
},
"id": "900f9615b4937adad859fb6bb3c6519d910ea63c",
"title": "DRA-105: GB10 device windows (run-device-window.sh) + F5 one-mkdir race fix",
"state": "open",
"author": {
"name": "drakestapleton",
"did": "did:key:z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK",
"path": "/drakestapleton"
},
"opened": "2026-11-07T11:05:11Z",
"path": "/drakestapleton/omega-bridge/patches/900f9615b4937adad859fb6bb3c6519d910ea63c",
"description": "DRA-105: GB10 device windows for MISSION-REPORT section 3 (tools/run-device-window.sh rewrite, evidence/device-window) p...",
"labels": [],
"assignees": [],
"forged_commit": null,
"revisions": [
{
"number": 1,
"id": "900f9615b4937adad859fb6bb3c6519d910ea63c",
"path": "/drakestapleton/omega-bridge/patches/900f9615b4937adad859fb6bb3c6519d910ea63c?rev=900f9615b4937adad859fb6bb3c6519d910ea63c#changes",
"redacted": false,
"base": "d8174eddf953ad53e16f19eb5841459df99e24bb",
"head": "fd4a03216f905ec20be6aad8b93b23e42de425c7",
"author": {
"name": "drakestapleton",
"did": "did:key:z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK",
"path": "/drakestapleton"
},
"time": "2026-11-07T11:05:11Z",
"verdict": "VERDICT MERGE head=fd4a03216f905ec20be6aad8b93b23e42de425c7"
}
],
"merges": [],
"activity": [
{
"type": "open",
"author": {
"name": "drakestapleton",
"did": "did:key:z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK",
"path": "/drakestapleton"
},
"time": "2026-11-07T11:05:11Z",
"revision": 1,
"head": "fd4a03216f905ec20be6aad8b93b23e42de425c7",
"commit": null,
"verdict": null,
"body": null,
"redacted": false
},
{
"type": "comment",
"author": {
"name": "drakestapleton",
"did": "did:key:z6MkfZDue1TbaNFi3ZzcD9uiTeduPLC52ucdFVuLKZwexxhK",
"path": "/drakestapleton"
},
"time": "2026-11-07T11:05:30Z",
"revision": 1,
"head": null,
"commit": null,
"verdict": null,
"body": "Merged into main by desk merge commit f9c59e418e27842d968aa8554f678cd0145e9ad5 (882e3c06 + fd4a0321), pushed 2026-11-07T...",
"redacted": false
}
],
"diff": {
"revision": 1,
"id": "900f9615b4937adad859fb6bb3c6519d910ea63c",
"base": "d8174eddf953ad53e16f19eb5841459df99e24bb",
"head": "fd4a03216f905ec20be6aad8b93b23e42de425c7",
"raw": "/drakestapleton/omega-bridge/patches/900f9615b4937adad859fb6bb3c6519d910ea63c.diff?rev=900f9615b4937adad859fb6bb3c6519d910ea63c"
}
}
Signed-in accounts can open issues and comment on public repositories in the native store. Sign in
at <base>login with an Ed25519 key. Browser forms submit the session cookie, hidden csrf and request
fields, title (one line, 1 to 256 UTF-8 bytes, for creation), and body (Markdown). The body may be
empty for creation. The body limit is 16,000 UTF-8 bytes after normalizing line endings. The browser
receives 303 with the canonical issue URL in Location.
Agents use the same session and URL-encoded fields. Request the form and submit it with
Accept: application/json. The two form URLs are <base><owner>/<repo>/issues/new and
<base><owner>/<repo>/issues/<id>/comments. The latter requires the full 16-hex issue ID. Imported
issues accept native comments. GET returns the fields below. POST returns a write result.
A repeat with the same account, form request token and normalized fields returns the previously
published outcome. A recognized token with different text returns 409. Invalid fields return 400,
incorrect or missing CSRF returns 403, and a missing issue returns 404. A full index or thread
returns 409, rate limiting returns 429, and contention returns 503 with Retry-After. An I/O failure
returns 500. An unsigned form request for JSON or an unsigned POST redirects to sign-in.
The historical importer is run against isolated staging data. Publishing its output into a
repository with live issues requires coordination with the forge writer lock and a merge of existing
issue IDs and comments. Replacing an active issues directory with the staging export loses the
repository's live records.
GET <base><owner>/<repo>/issues/new or GET <base><owner>/<repo>/issues/<id>/comments
Send Accept: application/json and the signed-in session cookie. The response is private to the
session and cannot be cached by the public edge.
| Key | Type | Meaning |
schema | string | forge/issue-form/1 |
base | string | / or /forge/ |
repo | object | the repository (see forge/repo/1) |
action | string | URL for the form POST |
csrf | string | session-bound CSRF field |
request | string | token for deduplication of this form submission |
forge/issue-write/1
POST <base><owner>/<repo>/issues/new or POST <base><owner>/<repo>/issues/<id>/comments
Send Accept: application/json, the session cookie, and the form's URL-encoded fields. A new write
returns 201. A replay of an accepted submission returns 200.
| Key | Type | Meaning |
schema | string | forge/issue-write/1 |
base | string | / or /forge/ |
repo | object | the repository (see forge/repo/1) |
path | string | canonical issue URL |
applied | boolean | true for a new write and false for a replay |
forge/issues/1
GET <base><owner>/<repo>/issues[?state=open|closed|all]
In the native store, the unpaged JSON list preserves index order and lists up to 200 issues.
Add ?page=1 for a 30-item page, newest indexed issue first, with page, per_page, prev, and
next fields. State counts cover the entire index. The HTML list opens on the newest page.
The issue list page: same shape as forge/patches/1 without revisions. draft and merged are open
here, and archived is closed, as on the page.
| Key | Type | Meaning |
schema | string | forge/issues/1 |
base | string | / or /forge/ |
repo | object | the repository (see forge/repo/1) |
state | string | the filter in effect: open, closed or all |
states | array | the filter tabs, in HTML order |
truncated | boolean | the repository has more than 200 issues and only 200 are listed (the page's cap note) |
issues | array | the rows of the list, in HTML order |
new | string | link to the new issue form |
states items
| Key | Type | Meaning |
state | string | the ?state= value of the tab |
count | integer | the number in the tab |
path | string | link to the list in that state |
issues items
| Key | Type | Meaning |
id | string | the issue id (40 hex) |
title | string | the title (at most 300 bytes), empty when the issue has none |
state | string | open, draft or closed |
author | object | who opened the issue |
updated | string or null | the time of the newest change |
comments | integer | number of comments |
verdict | string or null | always null for issues (the row has no verdict) |
path | string | link to the issue page |
issues.author object
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
The issue examples come from a test build whose allow-list adds heartwood, because no served repository
has issues yet. This list example keeps two of the 46 rows.
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/issues/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "heartwood",
"rid": "z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"path": "/drakestapleton/heartwood",
"json": "/drakestapleton/heartwood.json"
},
"state": "closed",
"states": [
{
"state": "open",
"count": 154,
"path": "/drakestapleton/heartwood/issues?state=open"
},
{
"state": "closed",
"count": 46,
"path": "/drakestapleton/heartwood/issues?state=closed"
},
{
"state": "all",
"count": 200,
"path": "/drakestapleton/heartwood/issues?state=all"
}
],
"truncated": false,
"issues": [
{
"id": "ee4398a4988c8f36e6b2f12174dff14d384edb38",
"title": "Using Clap",
"state": "closed",
"author": {
"name": null,
"did": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"path": null
},
"updated": "2026-08-10T15:59:42Z",
"comments": 1,
"verdict": null,
"path": "/drakestapleton/heartwood/issues/ee4398a4988c8f36e6b2f12174dff14d384edb38"
},
{
"id": "f922d900e8d377392b090f65c828228deed9c9d9",
"title": "NO_COLOR disables all styling",
"state": "closed",
"author": {
"name": null,
"did": "did:key:z6MkwGoyYxt6A2VE3fvZyH2rgiWdsXHBeV7jm7GSByS2aagA",
"path": null
},
"updated": "2026-06-23T16:34:10Z",
"comments": 2,
"verdict": null,
"path": "/drakestapleton/heartwood/issues/f922d900e8d377392b090f65c828228deed9c9d9"
}
],
"new": "/drakestapleton/heartwood/issues/new"
}
forge/issue/1
GET <base><owner>/<repo>/issues/<id>
One issue. <id> is 4 to 40 lowercase hex naming exactly one issue, else 404. The first comment is the
issue body, as on the page.
The native store accepts unique prefixes of 4 to 16 hex characters. Directly posted authors and
commenters carry their session key in author.did with name: null. An issue opened natively has
imported: null. Imported authors retain source attribution with author: null.
| Key | Type | Meaning |
schema | string | forge/issue/1 |
base | string | / or /forge/ |
repo | object | the repository (see forge/repo/1) |
id | string | the issue id (40 hex) |
title | string | the title, empty when the issue has none |
state | string | open, draft or closed |
author | object | who opened the issue |
opened | string or null | time of the first change |
path | string | link to this page |
reason | string or null | the close reason the page shows, null when none |
labels | array | label names (strings) |
assignees | array | assignee DIDs (strings) |
comments | array | the comment thread, oldest first |
author object
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
| Key | Type | Meaning |
author | object | who wrote it (same keys as author) |
time | string or null | when |
body | string or null | the body (markdown), null when redacted |
redacted | boolean | the comment was redacted |
| Key | Type | Meaning |
name | string or null | drakestapleton when the author is the node delegate, else null |
did | string | the author's did:key: |
path | string or null | link to the owner's page when name is set |
Example (real, shortened with ... only inside long strings):
{
"schema": "forge/issue/1",
"base": "/",
"repo": {
"owner": "drakestapleton",
"name": "heartwood",
"rid": "z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"path": "/drakestapleton/heartwood",
"json": "/drakestapleton/heartwood.json"
},
"id": "f922d900e8d377392b090f65c828228deed9c9d9",
"title": "NO_COLOR disables all styling",
"state": "closed",
"author": {
"name": null,
"did": "did:key:z6MkwGoyYxt6A2VE3fvZyH2rgiWdsXHBeV7jm7GSByS2aagA",
"path": null
},
"opened": "2026-06-04T08:01:08Z",
"path": "/drakestapleton/heartwood/issues/f922d900e8d377392b090f65c828228deed9c9d9",
"reason": "solved",
"labels": [
"crate=radicle-cli",
"type=improvement"
],
"assignees": [],
"comments": [
{
"author": {
"name": null,
"did": "did:key:z6MkwGoyYxt6A2VE3fvZyH2rgiWdsXHBeV7jm7GSByS2aagA",
"path": null
},
"time": "2026-06-04T08:01:08Z",
"body": "See the [zulip](https://radicle.zulipchat.com/#narrow/channel/374620-CLI/topic/The.20CLI.20misinterprets.20NO_COLOR/with...",
"redacted": false
},
{
"author": {
"name": null,
"did": "did:key:z6Mku8hpprWTmCv3BqkssCYDfr2feUdyLSUnycVajFo9XVAx",
"path": null
},
"time": "2026-06-19T09:49:03Z",
"body": "I've patched the heartwood code (with some assistance) to correct this, and it seems to work properly with the command s...",
"redacted": false
}
]
}
forge/stargazers/1
GET <base><owner>/<repo>/stargazers with Accept: application/json. The accounts that starred the repository.
| Key | Type | Meaning |
schema | string | "forge/stargazers/1" |
base | string | the base of the request, "/" or "/forge/" |
repo | object | the repository (see Conventions) |
count | integer | star count of the repository (the number in the repository's social bar) |
users | array | the accounts that starred it, in the HTML list order; [] when nobody did |
users items
| Key | Type | Meaning |
name | string | the account's display name, or its z... key when it has none (the HTML shows the first 16 characters of the key) |
path | string | the account's profile, <base><name> |
Example (real, trial server with throwaway accounts, 2026-11-09 UTC):
{"schema":"forge/stargazers/1","base":"/forge/","repo":{"owner":"drakestapleton","name":"cuda-crack","rid":"z631r2JJiVT8it4tST7RK24hpowi","path":"/forge/drakestapleton/cuda-crack","json":"/forge/drakestapleton/cuda-crack.json"},"count":2,"users":[{"name":"tester-one","path":"/forge/tester-one"},{"name":"z6MkkjqXvx7SrFRXDXTmpvXEib7jCwnQVQcAaQtXFC6Yczam","path":"/forge/z6MkkjqXvx7SrFRXDXTmpvXEib7jCwnQVQcAaQtXFC6Yczam"}]}
forge/watchers/1
GET <base><owner>/<repo>/watchers with Accept: application/json. The accounts that watch the repository.
| Key | Type | Meaning |
schema | string | "forge/watchers/1" |
base | string | the base of the request, "/" or "/forge/" |
repo | object | the repository (see Conventions) |
count | integer | watch count of the repository (the number in the repository's social bar) |
users | array | the accounts that watch it, in the HTML list order; [] when nobody does |
users items
| Key | Type | Meaning |
name | string | the account's display name, or its z... key when it has none |
path | string | the account's profile, <base><name> |
Example (real, trial server):
{"schema":"forge/watchers/1","base":"/forge/","repo":{"owner":"drakestapleton","name":"cuda-crack","rid":"z631r2JJiVT8it4tST7RK24hpowi","path":"/forge/drakestapleton/cuda-crack","json":"/forge/drakestapleton/cuda-crack.json"},"count":1,"users":[{"name":"tester-one","path":"/forge/tester-one"}]}
forge/user/1
GET <base><user>[?tab=stars|followers|following], <base><user>/followers and <base><user>/following with Accept: application/json. A profile: an account (display name or z... key) or the forge owner. <base><user>/followers is the same page as ?tab=followers (likewise following). repos, stars_received and favorites_received are filled on the forge owner's plain and stars views (server); on every other view (accounts, and the owner's followers/following views, served by the social slice) they are null. A ?tab= value the page does not offer shows the stars list, like the HTML.
| Key | Type | Meaning |
schema | string | "forge/user/1" |
base | string | the base of the request, "/" or "/forge/" |
user | string | the profile's heading: the display name, or the z... key when the account has none |
did | string or null | the DID the profile shows, "did:key:z6Mk..." |
followers | integer | number of followers |
following | integer | number of accounts followed |
tab | string | the list shown: "stars", "followers" or "following" |
repos | array or null | the forge owner's public repositories, items as in forge/explore/1; null on the views listed above |
stars_received | integer or null | stars on the owner's repositories (owner views only, else null) |
favorites_received | integer or null | favorites on the owner's repositories (owner views only, else null) |
starred | array or null | the repositories the user starred, in the HTML order, when tab is "stars"; else null |
users | array or null | the followers (tab "followers") or the followed accounts (tab "following") in the HTML order; else null |
repos items
Repo summaries exactly as the items of forge/explore/1 (owner, name, rid, path, json, description, default_branch, stars, last_commit).
| Key | Type | Meaning |
owner | string | see forge/explore/1 |
name | string | see forge/explore/1 |
rid | string | see forge/explore/1 |
path | string | see forge/explore/1 |
json | string | see forge/explore/1 |
description | string or null | see forge/explore/1 |
default_branch | string | see forge/explore/1 |
stars | integer | see forge/explore/1 |
last_commit | object or null | see forge/explore/1 |
starred items
| Key | Type | Meaning |
name | string | repository name |
rid | string | "<RID>" (bare) |
path | string | the repository page, <base><owner>/<name> |
stars | integer | the repository's star count (shown next to it in the list) |
users items
| Key | Type | Meaning |
name | string | the account's display name, or its z... key when it has none |
path | string | the account's profile, <base><name> |
Example (real, trial server, ?tab=stars of an account):
{"schema":"forge/user/1","base":"/forge/","user":"tester-one","did":"did:key:z6Mkry4YVoekcSfSHEZZkyJRYg2tURTFhnh9PNuP87uZ3AzQ","followers":1,"following":2,"tab":"stars","repos":null,"stars_received":null,"favorites_received":null,"starred":[{"name":"omega-mv","rid":"z6do9WDBhuSnvopDkgFdFr1yWA62","path":"/forge/drakestapleton/omega-mv","stars":1},{"name":"cuda-crack","rid":"z631r2JJiVT8it4tST7RK24hpowi","path":"/forge/drakestapleton/cuda-crack","stars":2}],"users":null}
Example (real, trial server, <base>tester-one/following):
{"schema":"forge/user/1","base":"/forge/","user":"tester-one","did":"did:key:z6Mkry4YVoekcSfSHEZZkyJRYg2tURTFhnh9PNuP87uZ3AzQ","followers":1,"following":2,"tab":"following","repos":null,"stars_received":null,"favorites_received":null,"starred":null,"users":[{"name":"z6MkkjqXvx7SrFRXDXTmpvXEib7jCwnQVQcAaQtXFC6Yczam","path":"/forge/z6MkkjqXvx7SrFRXDXTmpvXEib7jCwnQVQcAaQtXFC6Yczam"},{"name":"drakestapleton","path":"/forge/drakestapleton"}]}
forge/stars/1
GET <base>stars[?tab=favorites|watching] with Accept: application/json and the session cookie. The signed-in account's own lists. Without a session it is 303 to <base>login, like the HTML page.
| Key | Type | Meaning |
schema | string | "forge/stars/1" |
base | string | the base of the request, "/" or "/forge/" |
user | string | the signed-in account: display name, or z... key when it has none |
tab | string | the list shown: "stars", "favorites" (private to the account) or "watching" |
repos | array | the repositories in that list, in the HTML order |
repos items
| Key | Type | Meaning |
name | string | repository name |
rid | string | "<RID>" (bare) |
path | string | the repository page, <base><owner>/<name> |
stars | integer | the repository's star count (shown next to it in the list) |
Example (real, trial server, ?tab=favorites):
{"schema":"forge/stars/1","base":"/forge/","user":"tester-one","tab":"favorites","repos":[{"name":"omega-mv","rid":"z6do9WDBhuSnvopDkgFdFr1yWA62","path":"/forge/drakestapleton/omega-mv","stars":1}]}
Social pages without a JSON form: <base>login, <base>logout, <base>settings (forms, or private
account data) and every POST (star, unstar, fav, unfav, watch, unwatch, follow,
unfollow, settings/name, login, logout) answer exactly as before, whatever the Accept header,
and carry no alternate link. A non-existent user is 404 with a forge/error/1 body, like its HTML
page. <base>stars without a session stays 303 to <base>login.
interplane/agents/1
GET <base>agents.json: the one document an agent reads first (server/agents.om). It lists every
machine-readable address this forge answers today, how to ask each for JSON, the schema it answers
(from this file, docs/GROWTH.md or docs/OPEN-BUILDS.md), whether it needs a browser session, and
what is not available, so an agent does not have to guess. The routes are not prose kept by hand:
server/agents.tsv is the one table, compiled into the build by run.sh (.build/agents.om), and
server/tests/agentdoor.sh fetches every row with its template filled from a fixture and checks the
schema it answers, and that every schema heading of this file is a row. Only agents.json is claimed:
/agents/ on interplane.io is a page of the static site (nginx serves existing files first), so the
forge does not answer /agents. JSON whatever the headers; errors are forge/error/1.
| Key | Type | Meaning |
schema | string | "interplane/agents/1" |
base | string | the base of the request ("/" or "/forge/"); every address below starts with it |
read_first | string | the address of this document |
how_to_ask | object | what the json word of a route means |
text_form | string | how to get the plain-text form of an HTML page (format=text) |
error_schema | string | "forge/error/1": the document of every error a JSON request gets |
events | object or null | the activity stream (below); null in a build without the event store |
routes | array | one item per address, in the order of server/agents.tsv |
not_available | array | what agents ask for that this forge does not offer, and why |
how_to_ask object
| Key | Type | Meaning |
suffix | string | json is "suffix": the path itself is the JSON name (.json) |
accept | string | json is "accept": send Accept: application/json (and not text/html) to the page's own address |
always | string | json is "always": JSON whatever the headers say |
events object
| Key | Type | Meaning |
path | string | <base>events.json |
schema | string | "interplane/events/1" |
after | string | how after= and next work |
limit_default | integer | 50 |
limit_max | integer | 200 |
etag | string | how to poll cheaply with If-None-Match |
feed | string | <base>feed, the same stream as a page for people |
routes items
| Key | Type | Meaning |
method | string | "GET" |
path | string | the base and a path template: {owner}, {repo}, {ref}, {path}, {sha}, {id}, {tag}, {user}, {q}, {a}, {b}, {rid}, {slug}, {order}, {seq}, {n} are filled by the reader |
json | string | "suffix", "accept" or "always" (how_to_ask) |
schema | string or null | the schema of the answer; null for status.json, which has no schema key |
auth | string | "none", or "session": answers only with a signed-in browser session (signed out it is a 303 to <base>login) |
doc | string | the file of this repository that documents the schema |
purpose | string | one line |
not_available items
| Key | Type | Meaning |
what | string | what is not offered (or the address that is not built in this build) |
why | string | why, and what to use instead |
Example (GET /agents.json, shortened):
{"schema":"interplane/agents/1","base":"/","read_first":"/agents.json","how_to_ask":{"suffix":"the path itself is the JSON name","accept":"...","always":"..."},"text_form":"...","error_schema":"forge/error/1","events":{"path":"/events.json","schema":"interplane/events/1","after":"...","limit_default":50,"limit_max":200,"etag":"...","feed":"/feed"},"routes":[{"method":"GET","path":"/{owner}/{repo}/patches/{id}","json":"accept","schema":"forge/patch/1","auth":"none","doc":"docs/API.md","purpose":"one patch: revisions, reviews, comments, merges, verdicts"}],"not_available":[{"what":"MCP server","why":"..."}]}
interplane/events/1
GET <base>events.json?after=<seq>&limit=<n> (JSON whatever the headers; also <base>events and
<base>feed with Accept: application/json; <base>events without it redirects to the feed page):
the public activity of this forge as one append-only, ordered stream, so an agent reads from where it
stopped instead of polling every list page. Source and rules: door/, docs/AGENT-DOOR.md.
after (default 0) is exclusive: the answer holds the events with a higher seq, oldest first.
limit defaults to 50; the maximum is 200, and a larger request is answered with 200 events and
limited: true (not an error). Anything but 1 to 18 digits, or limit=0, is 400.
next is the address to read next: after is the last seq this answer looked at, so a reader that
follows next sees every event once, with no gap and no repeat. An answer with no events keeps
after where it was: read the same next again later.
seq is strictly increasing and never reused; it stays the same across restarts (the stream is the
file <data>events/log). A seq can be missing from every answer: an event of a repository that is
no longer public is not shown, and its number is not given to another event.
- The answer carries an
ETag; a request with If-None-Match set to it is answered 304 with no body
while the stream (and the account names and the public list it shows) did not change.
- The edge cache in front of interplane.io keeps a 200 answer up to 30 seconds.
| Key | Type | Meaning |
schema | string | "interplane/events/1" |
base | string | the base of the request |
head_seq | integer | the highest seq in the stream (0 when it is empty) |
after | integer | the after of the request |
limit | integer | the limit applied (at most limit_max) |
limit_requested | integer | the limit asked for (50 when none) |
limit_max | integer | 200 |
limited | boolean | true when the limit asked for was larger than limit_max |
events | array | the events, oldest first |
count | integer | the length of events |
next | string | <base>events.json?after=<seq>&limit=<limit>: read this next |
events items
| Key | Type | Meaning |
seq | integer | the event's number in the stream, from 1 |
time | string | ISO-8601 UTC time from the source record: the change's author time (patches, issues, reviews, comments), the tag or commit date (release, branch moved), the social log line, the day of the open shelf row (00:00); store-reading build, a branch move recorded by the chain: the record's time |
kind | string | patch_opened, patch_revised, patch_merged, patch_archived, review, comment, issue_opened, issue_closed, release, branch_moved, star, follow, open_brought, open_withdrawn; the store-reading build has only release, branch_moved, star and follow |
actor | object or null | who did it |
repo | object or null | the public repository it is about (forge/repo/1 summary keys: rid is that form's identifier, the bare "<RID>" in the Radicle build (no rad: prefix since 9a4420a, as in Conventions) or, in the store-reading build, "git:<id>"); null for a follow and the open shelf |
subject | string | one line: the patch or issue title, the tag name, "<n> new commits on <branch>", the starred repository, the followed key, the shelf name |
path | string or null | the HTML page of the thing |
json | string or null | its JSON address (the same page with Accept: application/json, or the .json name) |
source | string | the object it was read from, so it can be checked: the COB id (opening), the change commit (revision, merge, review, comment, archive, close), the tag object or the commit (release, branch moved), social.log:<seq>, open/list.tsv:<rid>@<day>; store-reading build: chain.tsv:<N> (the chain record of a branch move), repo.git:<sha> (a tag object, or a move no record names) |
verdict | string or null | a review's verdict word (accept, reject), else null |
from | string or null | branch moved: the old head (40 hex), else null |
commits | integer or null | branch moved: the commits the new head has that the old one has not, else null |
target | object or null | follow: the followed account (same keys as actor), else null |
events.actor object
| Key | Type | Meaning |
name | string or null | the account's display name (the owner: drakestapleton); null when it has none or the key has no account here |
did | string | the did:key: of the key that signed the change or the social line |
path | string or null | the account's page; null when the key has no account here |
events.target object
| Key | Type | Meaning |
name | string or null | as actor |
did | string | as actor |
path | string or null | as actor |
events.repo object
| Key | Type | Meaning |
owner | string | "drakestapleton" |
name | string | repository name as in RIDS.md |
rid | string | "<RID>" (bare) |
path | string | HTML page, <base><owner>/<name> |
json | string | its forge/repo/1 document, <base><owner>/<name>.json |
Example (GET /events.json?after=40&limit=2, shortened):
{"schema":"interplane/events/1","base":"/","head_seq":57,"after":40,"limit":2,"limit_requested":2,"limit_max":200,"limited":false,"events":[
{"seq":41,"time":"2026-11-14T15:02:10Z","kind":"patch_opened","actor":{"name":"fixdev","did":"did:key:z6Mk...","path":"/fixdev"},"repo":{"owner":"drakestapleton","name":"hop","rid":"z3uek...","path":"/drakestapleton/hop","json":"/drakestapleton/hop.json"},"subject":"fixture change one","path":"/drakestapleton/hop/patches/<id>","json":"/drakestapleton/hop/patches/<id>","source":"<COB id>","verdict":null,"from":null,"commits":null,"target":null},
{"seq":42,"time":"2026-11-14T15:20:00Z","kind":"branch_moved","actor":{"name":"drakestapleton","did":"did:key:z6MkfZ...","path":"/drakestapleton"},"repo":{...},"subject":"2 new commits on main","path":"/drakestapleton/hop/compare/<old>...<new>","json":"/drakestapleton/hop/compare/<old>...<new>","source":"<new head>","verdict":null,"from":"<old head>","commits":2,"target":null}
],"count":2,"next":"/events.json?after=42&limit=2"}
Pages without a JSON form
These answer the same bytes whatever the Accept header says, and their HTML names no JSON alternate.
- Input forms with no repository facts:
<base><o>/<r>/patches/new, /issues/new, <base>login,
<base>settings.
<base><o>/<r>/compose/<cid> is the signed-in author's preview of one composed write (session state,
not repository data).
- Raw bytes:
/raw/<ref>/<path>, /commit/<sha>.patch, /commit/<sha>.diff, /patches/<id>.diff,
/archive/..., /releases/download/....
- Redirects stay redirects:
/pulls/<id> and /pull/<id> (302 to /patches/<id>), /releases/latest
(302), <base>stars signed out (303 to <base>login), tree on a file and blob on a folder (302).
- Native issue POSTs support the machine form and result documented above.