interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / docs / API.md

2350 lines · 106434 bytes Raw Blame History Source

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:

PageHTMLJSON
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 pageits URLthe same URL with Accept: application/json; the schemas below name the URLs

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):

Conventions

forge/explore/1

KeyTypeMeaning
schemastring"forge/explore/1"
basestringthe base of the request, "/" or "/forge/"
countintegernumber of public repositories (the length of repos)
reposarray of repo summariesin 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):

KeyTypeMeaning
ownerstring"drakestapleton" (the node delegate; the only owner)
namestringrepository name as in RIDS.md (the catalog in the store-reading build)
ridstring"<RID>" (bare); "git:<id>" in the store-reading build (Conventions)
pathstringHTML page, <base><owner>/<name>
jsonstringits forge/repo/1 document, <base><owner>/<name>.json
descriptionstring or nullfrom the project's identity document (kept in repo.git when the project was imported)
default_branchstringfrom RIDS.md (the catalog in the store-reading build)
starsintegerstar count from the forge's social log
last_commitobject or nulllast 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:

KeyTypeMeaning
schemastring"forge/repo/1" (first key)
favoritesintegerfavorite count from the social log
cloneobjectrad ("<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
archivesobjectzip, tar_gz: source archive links of the default branch
filesarray or nulltop-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_truncatedbooleantrue 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)
readmeobject or nullthe README the home page renders (readme.md first, then any name starting with readme, ignoring case): name, html (blob page), raw (raw file)
countsobjectreal 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.

KeySourceWhat one count isLeft out
git_fetchesfront-door nginx download loga 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 fetchour 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_requestsretirednot measured: count and since are always nullnull
downloadsforged's access loga GET or HEAD of /<owner>/<repo>/archive/... (archives) or /releases/download/... (release_assets) answered 200; count = archives + release_assetsour own addresses as above (requests that did not come through the public edge are logged as loopback)
seedsretirednot 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.

KeyTypeMeaning
schemastring"forge/error/1"
statusintegerthe HTTP status, equal to the response's
errorstringthe error page's title ("Not found")
messagestringthe 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.

KeyTypeMeaning
schemastring"forge/search/1"
basestringthe base of the request
querystring or nullthe query as searched; null when the URL has no q (the page then lists nothing)
reposarraymatching repositories, each a repo summary exactly as in forge/explore/1
codearraycode matches, in the order of the HTML page
code_truncatedbooleantrue when the 100-match cap was reached (the HTML page says "Showing the first 100")

repos items

KeyTypeMeaning
ownerstringas in forge/explore/1
namestring
ridstring
pathstring
jsonstring
descriptionstring or null
default_branchstring
starsinteger
last_commitobject or nullsha, time, subject as in forge/explore/1

repos.last_commit object

KeyTypeMeaning
shastring40 hex
timestringcommitter time, UTC
subjectstringfirst line

code items

KeyTypeMeaning
repostringrepository name
ridstring"<RID>" (bare)
pathstringfile path in the repository
lineintegerline number (1-based)
textstringthe matching line, its first 300 bytes (the HTML page shows the same 300)
htmlstringthe 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.

KeyTypeMeaning
schemastring"forge/tree/1"
basestringthe base of the request, "/" or "/forge/"
repoobjectthe repository (see Conventions)
refstringthe ref as written in the URL (branch, tag or commit sha)
ref_kindstring"branch", "tag" or "commit" (the label of the page's ref bar)
commitstringthe 40-hex commit the ref resolved to
pathstringthe directory, relative to the repository root, "" at the root
parentstring or nullthe .. row: tree page of the parent directory; null at the root
historystringthe History link: commit log of this path at this ref
last_commitobject or nullthe newest commit touching this path at commit (the box above the listing); null when git log printed nothing
entriesarraythe rows of the listing in page order: directories first, then files and submodules, each group in git's order
truncatedbooleantrue when the listing stopped at the page's cap of 5000 rows (or when the response buffer was full)
readmeobject or nullthe README the page renders below the listing; null when there is none or it cannot be read

last_commit object

KeyTypeMeaning
shastring40-hex commit (the page shows the first 7)
authorstringauthor name
timestringauthor time, ISO-8601 UTC (the page shows the date)
subjectstringfirst line of the message
pathstringcommit page, <base><owner>/<repo>/commit/<sha>

entries items

KeyTypeMeaning
namestringfile or directory name
typestring"tree" (directory), "blob" (file) or "commit" (submodule)
shastring40-hex object id (as in forge/repo/1 files)
sizeinteger or nullbytes of a file; null for directories and submodules
pathstringpath from the repository root
htmlstring or nullthe 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

KeyTypeMeaning
namestringfile name: readme.md or readme.markdown (any case) first, else readme or readme.<ext>
htmlstringits blob page
rawstringthe 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.

KeyTypeMeaning
schemastring"forge/blob/1"
basestringthe base of the request
repoobjectthe repository (see Conventions)
refstringthe ref as written in the URL
ref_kindstring"branch", "tag" or "commit"
commitstringthe 40-hex commit the ref resolved to
pathstringthe file, relative to the repository root
namestringthe last segment of path
sizeintegerbytes
linesinteger or nullnumber 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
binarybooleanthe page's binary test (a NUL byte in the first 8000 bytes)
kindstringhow 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)
linksobjectthe links of the file's info bar
contentstring or nullthe file's text for kind "text" and "markdown" (Markdown as source text); null otherwise
content_truncatedbooleantrue 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)
KeyTypeMeaning
rawstring or nullraw file; null above 512 MiB (the page offers no raw link)
blamestringblame page
historystringcommit log of this file
sourcestring or nullMarkdown file shown rendered: its source view (?plain=1); null otherwise
renderedstring or nullMarkdown 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).

KeyTypeMeaning
schemastring"forge/blame/1"
basestringthe base of the request
repoobjectthe repository (see Conventions)
refstringthe ref as written in the URL
ref_kindstring"branch", "tag" or "commit"
commitstringthe 40-hex commit the ref resolved to
pathstringthe file, relative to the repository root
historystringcommit log of this file
commitsarraythe commits that appear in the blame, in order of first appearance (at most 4096, the page's table)
linesarraythe lines of the file in order
truncatedbooleantrue 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

KeyTypeMeaning
shastring40-hex commit
authorstringauthor name
timestring or nullauthor time, ISO-8601 UTC
subjectstringfirst line of the message (the page shows it as the tooltip)
pathstringcommit page

lines items

KeyTypeMeaning
lineintegerline number in the file (1-based)
commitstring or null40-hex commit that last changed the line (its entry in commits has the details)
textstringthe 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.

KeyTypeMeaning
schemastring"forge/repo-search/1"
basestringthe base of the request
repoobjectthe repository (see Conventions)
querystring or nullthe search text; null when q is absent or empty
refstringthe default branch searched
commitstringthe 40-hex commit of that branch
hitsarraymatching files in git grep's order
truncatedbooleantrue when the list stopped at the page's cap of 200 matching lines and more followed

hits items

KeyTypeMeaning
pathstringfile path
htmlstringits blob page at ref
linesarraythe matching lines of this file (at most 5)

hits.lines items

KeyTypeMeaning
lineintegerline number
textstringthe whole line (the page shows the first 300 bytes)
htmlstringblob 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>.

KeyTypeMeaning
schemastringforge/commits/1
basestringthe site base, / or /forge/
repoobjectthe repository (see forge/repo/1)
refstringthe ref as named in the URL (the default branch name when the URL has none)
commitstringfull sha the ref resolves to
pathstringthe path filter, "" when none
pageintegerthe page number (1 when ?page is absent or invalid)
per_pageintegeralways 30
commitsarraythe commits of this page, newest first, as the HTML table lists them
nextstring or nulllink to the older page (the HTML "Older" link), null when there is none
prevstring or nulllink to the newer page (the HTML "Newer" link), null on page 1

commits items

KeyTypeMeaning
shastringfull commit sha
authorstringauthor name
timestring or nullauthor time, ISO 8601 UTC
subjectstringfirst line of the message
pathstringlink 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.

KeyTypeMeaning
schemastringforge/commit/1
basestringthe site base, / or /forge/
repoobjectthe repository (see forge/repo/1)
shastringfull commit sha
parentsarrayfull shas of the parents (strings), [] for a root commit
authorobjectthe author
committerobject or nullthe committer; present only when the HTML shows it (committer name length differs from the author name length, the HTML's own rule), else null
subjectstringfirst line of the message
messagestring or nullthe 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
linksobjectraw forms and the tree at this commit
files_changedinteger or nullnumber of numstat rows (the HTML stat line); null when git show --numstat failed
additionsinteger or nullsum of added lines
deletionsinteger or nullsum of deleted lines
filesarray or nullthe numstat rows the HTML table shows (the first 3000)
files_truncatedbooleantrue when more than 3000 rows exist
diffstring or nullgit'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_truncatedbooleantrue 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

KeyTypeMeaning
namestringauthor name
timestring or nullauthor time, ISO 8601 UTC

committer object

KeyTypeMeaning
namestringcommitter name
timestring or nullcommitter time, ISO 8601 UTC
KeyTypeMeaning
patchstring<repo>/commit/<sha>.patch (mbox patch)
diffstring<repo>/commit/<sha>.diff (plain diff)
treestring<repo>/tree/<sha> (browse files at this commit)

files items

KeyTypeMeaning
pathstringthe path as numstat prints it (renames as old => new or dir/{a => b})
addedinteger or nulladded lines, null for a binary file
deletedinteger or nulldeleted 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.

KeyTypeMeaning
schemastringforge/compare/1
basestringthe site base, / or /forge/
repoobjectthe repository (see forge/repo/1)
compare_baseobject or nullthe base side; null on the form page
compare_headobject or nullthe head side; null on the form page
commitsarray or nullcommits in head and not in base, newest first, as the HTML lists them (at most 250); null when git log failed
commits_truncatedbooleantrue when more than 250 commits exist (the HTML "newest 250" note)
files_changedinteger or nullnumber of numstat rows of git diff --numstat -M a...b; null when it failed
additionsinteger or nullsum of added lines
deletionsinteger or nullsum of deleted lines
filesarray or nullthe numstat rows the HTML table shows (the first 3000)
files_truncatedbooleantrue when more than 3000 rows exist
diffstring or nullgit'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_truncatedbooleantrue 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)
formobject or nullthe compare form (form page only), else null

compare_base object

KeyTypeMeaning
refstringthe base as typed in the URL
shastringfull sha it resolves to

compare_head object

KeyTypeMeaning
refstringthe head as typed in the URL
shastringfull sha it resolves to

commits items

KeyTypeMeaning
shastringfull commit sha
authorstringauthor name
timestring or nullauthor time, ISO 8601 UTC
subjectstringfirst line of the message
pathstringlink to the commit page

files items

KeyTypeMeaning
pathstringthe path as numstat prints it (renames as old => new or dir/{a => b})
addedinteger or nulladded lines, null for a binary file
deletedinteger or nulldeleted lines, null for a binary file

form object

KeyTypeMeaning
actionstring<repo>/compare, the form target
methodstringget
base_paramstringquery parameter of the base field, a
head_paramstringquery parameter of the head field, b
maxlengthintegerlongest accepted value, 200
helpstringthe 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.

KeyTypeMeaning
schemastringforge/branches/1
basestringthe site base, / or /forge/
repoobjectthe repository (see forge/repo/1)
branchesarraythe branches on this page (at most 2000)
truncatedbooleantrue when branches follow on a later page (next is not null)
pageintegerthis page number, from 1
totalintegerthe number of branches
prevstring or nulllink to the previous page (<repo>/branches?page=N-1), null on page 1
nextstring or nulllink to the next page, null on the last page

branches items

KeyTypeMeaning
namestringshort branch name
defaultbooleantrue for the default branch (the HTML "default" badge)
commitobjectthe tip commit as the row shows it
htmlstring<repo>/tree/<name> (browse files)
archivesobjectdownload links

branches.commit object

KeyTypeMeaning
shastringfull sha of the tip
timestring or nullcommitter time, ISO 8601 UTC
subjectstringfirst line of the message
pathstringlink to the commit page

branches.archives object

KeyTypeMeaning
zipstring<repo>/archive/refs/heads/<name>.zip
tar_gzstring<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
}

forge/tags/1

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).

KeyTypeMeaning
schemastringforge/tags/1
basestringthe site base, / or /forge/
repoobjectthe repository (see forge/repo/1)
tagsarraythe tags on this page (at most 2000); [] when there are none
truncatedbooleantrue when tags follow on a later page (next is not null)
pageintegerthis page number, from 1
totalintegerthe number of tags
prevstring or nulllink to the previous page (<repo>/tags?page=N-1), null on page 1
nextstring or nulllink to the next page, null on the last page

tags items

KeyTypeMeaning
namestringshort tag name
objectstringsha of the tag ref's object (the tag object for an annotated tag, the commit for a lightweight one)
commitstringsha the tag points at after peeling (the commit the HTML short sha shows)
timestring or nullcreator date, ISO 8601 UTC
subjectstringtag message subject (commit subject for a lightweight tag)
commit_pathstringlink to that commit's page
htmlstring<repo>/tree/<name> (browse files)
archivesobjectdownload links
releasestring<repo>/releases/tag/<name> (the row's release link)

tags.archives object

KeyTypeMeaning
zipstring<repo>/archive/refs/tags/<name>.zip
tar_gzstring<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.

KeyTypeMeaning
schemastring"forge/releases/1"
basestringthe X-Forge-Base prefix every link starts with
repoobjectthe repository (see Conventions)
pageintegerthis page number, from 1 (a page past the end of a nonempty list is a 404)
releasesarraythe releases on this page; empty when the repository has no release tags
prevstring or nulllink to the newer page (?page=N-1), null on page 1
nextstring or nulllink to the older page (?page=N+1), null on the last page

releases items

KeyTypeMeaning
tagstringthe tag name, which is the release title (a canonical or delegate tag)
htmlstringlink to the release page <base><owner>/<repo>/releases/tag/<tag>
prereleasebooleanthe tag name marks a pre-release (-rc, -alpha, -beta, -pre, -dev)
latestbooleanthis is the newest non-pre-release (the target of /releases/latest)
timestring or nullthe tag's creator date (tagger date of an annotated tag, else the commit date), ISO 8601 UTC; the HTML shows its day
commitobjectthe commit the tag points at (the HTML shows only its sha)
subjectstring or nullthe annotated tag's subject line; null for a lightweight tag or an empty subject
notesstring or nullthe annotated tag's message body (release notes), raw text, whole; null for a lightweight tag or an empty body
archivesobjectthe two source archives of the tag
assetsarray or nullalways null on the list page (the HTML lists assets only on the release page)
assets_not_offeredinteger or nullalways null on the list page

releases.commit object

KeyTypeMeaning
shastringfull 40-hex commit sha
pathstringlink to the commit page <base><owner>/<repo>/commit/<sha>

releases.archives object

KeyTypeMeaning
zipobjectthe .zip source archive
tar_gzobjectthe .tar.gz source archive

releases.archives.zip object

KeyTypeMeaning
namestringthe download file name <repo>-<tag>.zip (a leading v before a digit is dropped, / becomes -), as the HTML link text
pathstringdownload link <base><owner>/<repo>/archive/refs/tags/<tag>.zip
sizeinteger or nullbytes of the cached archive; null until it has been built (downloaded once), as the HTML shows "-"
sha256string or nullSHA-256 (64 hex) of the cached archive; null when size is null

releases.archives.tar_gz object

KeyTypeMeaning
namestringthe download file name <repo>-<tag>.tar.gz
pathstringdownload link <base><owner>/<repo>/archive/refs/tags/<tag>.tar.gz
sizeinteger or nullbytes of the cached archive; null until it has been built
sha256string or nullSHA-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.

KeyTypeMeaning
namestringthe file name under release-assets/
pathstringdownload link <base><owner>/<repo>/releases/download/<tag>/<name>
sizeinteger or nullbytes of the cached file; null until it has been downloaded once
sha256string or nullSHA-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.

KeyTypeMeaning
schemastring"forge/release/1"
basestringthe X-Forge-Base prefix every link starts with
repoobjectthe repository (see Conventions)
releaseobjectthe release

release object

KeyTypeMeaning
tagstringthe tag name, which is the release title
htmlstringlink to this page
prereleasebooleanthe tag name marks a pre-release
latestbooleanthis is the newest non-pre-release
timestring or nullthe tag's creator date, ISO 8601 UTC
commitobjectthe commit the tag points at
subjectstring or nullthe annotated tag's subject line; null for a lightweight tag or an empty subject
notesstring or nullthe annotated tag's message body, raw text, whole; null for a lightweight tag or an empty body
archivesobjectthe two source archives of the tag
assetsarrayevery 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_offeredintegerentries 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

KeyTypeMeaning
shastringfull 40-hex commit sha
pathstringlink to the commit page

release.archives object

KeyTypeMeaning
zipobjectthe .zip source archive
tar_gzobjectthe .tar.gz source archive

release.archives.zip object

KeyTypeMeaning
namestringthe download file name <repo>-<tag>.zip
pathstringdownload link <base><owner>/<repo>/archive/refs/tags/<tag>.zip
sizeinteger or nullbytes of the cached archive; null until it has been built
sha256string or nullSHA-256 (64 hex) of the cached archive; null when size is null

release.archives.tar_gz object

KeyTypeMeaning
namestringthe download file name <repo>-<tag>.tar.gz
pathstringdownload link <base><owner>/<repo>/archive/refs/tags/<tag>.tar.gz
sizeinteger or nullbytes of the cached archive; null until it has been built
sha256string or nullSHA-256 (64 hex) of the cached archive; null when size is null

release.assets items

KeyTypeMeaning
namestringthe file name under release-assets/
pathstringdownload link <base><owner>/<repo>/releases/download/<tag>/<name>
sizeinteger or nullbytes of the cached file; null until it has been downloaded once, as the HTML shows "-"
sha256string or nullSHA-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.

KeyTypeMeaning
schemastringforge/patches/1
basestring/ or /forge/
repoobjectthe repository (see forge/repo/1)
statestringthe filter in effect: open, draft, merged, archived or all
statesarraythe filter tabs, in HTML order
truncatedbooleanthe repository has more than 200 patches and only 200 are listed (the page's cap note)
patchesarraythe rows of the list, in HTML order
newstringlink to the new patch form

states items

KeyTypeMeaning
statestringthe ?state= value of the tab
countintegerthe number in the tab
pathstringlink to the list in that state

patches items

KeyTypeMeaning
idstringthe patch id (40 hex)
titlestringthe title, empty when the patch has none
statestringopen, draft, merged or archived
authorobjectwho opened the patch
updatedstring or nullthe time of the newest change
revisionsintegernumber of revisions
commentsintegernumber of comments and reviews
verdictstring or nullthe linked review verdict of the newest revision (at most 128 bytes, as in the list)
pathstringlink to the patch page

patches.author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink 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.

KeyTypeMeaning
schemastringforge/patch/1
basestring/ or /forge/
repoobjectthe repository (see forge/repo/1)
idstringthe patch id (40 hex)
titlestringthe title, empty when the patch has none
statestringopen, draft, merged or archived
authorobjectwho opened the patch
openedstring or nulltime of the first change
pathstringlink to this page
descriptionstringthe description of revision 1 (markdown), empty when none
labelsarraylabel names (strings)
assigneesarrayassignee DIDs (strings)
forged_commitstring or nullthe commit the running forged was built from (40 hex), null when not recorded
revisionsarrayevery revision, oldest first
mergesarrayevery merge
activityarrayevery event in change order, as the Activity list shows it
diffobject or nullthe revision whose changes the page shows; null when every revision is redacted

author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink to the owner's page when name is set

revisions items

KeyTypeMeaning
numberintegerrevision number (1 = first)
idstringrevision id (40 hex)
pathstringlink to this page showing that revision's changes
redactedbooleanthe revision was redacted
basestringbase commit (40 hex)
headstringhead commit (40 hex)
authorobjectwho pushed it (same keys as author)
timestring or nullwhen
verdictstring or nullfirst line of the review verdict that names this head

revisions.author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink to the owner's page when name is set

merges items

KeyTypeMeaning
revisionintegerthe merged revision number
commitstringthe merge commit (40 hex)
authorobjectwho merged (same keys as author)
timestring or nullwhen

merges.author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink to the owner's page when name is set

activity items

KeyTypeMeaning
typestringopen, revision, review, comment or merge
authorobjectwho (same keys as author)
timestring or nullwhen
revisioninteger or nullthe revision the event names; null for a comment on no revision or an unknown one
headstring or nullhead commit of an open or revision event
commitstring or nullmerge commit of a merge event
verdictstring or nullaccept or reject for a review, else null
bodystring or nullreview summary or comment body (markdown); null for other events and redacted comments
redactedbooleanthe comment (or, for open/revision, the revision) was redacted

activity.author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink to the owner's page when name is set

diff object

KeyTypeMeaning
revisionintegerrevision number
idstringrevision id (40 hex)
basestringbase commit (40 hex)
headstringhead commit (40 hex)
rawstringlink 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"
  }
}

Native issue forms

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.

forge/issue-form/1

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.

KeyTypeMeaning
schemastringforge/issue-form/1
basestring/ or /forge/
repoobjectthe repository (see forge/repo/1)
actionstringURL for the form POST
csrfstringsession-bound CSRF field
requeststringtoken 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.

KeyTypeMeaning
schemastringforge/issue-write/1
basestring/ or /forge/
repoobjectthe repository (see forge/repo/1)
pathstringcanonical issue URL
appliedbooleantrue 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.

KeyTypeMeaning
schemastringforge/issues/1
basestring/ or /forge/
repoobjectthe repository (see forge/repo/1)
statestringthe filter in effect: open, closed or all
statesarraythe filter tabs, in HTML order
truncatedbooleanthe repository has more than 200 issues and only 200 are listed (the page's cap note)
issuesarraythe rows of the list, in HTML order
newstringlink to the new issue form

states items

KeyTypeMeaning
statestringthe ?state= value of the tab
countintegerthe number in the tab
pathstringlink to the list in that state

issues items

KeyTypeMeaning
idstringthe issue id (40 hex)
titlestringthe title (at most 300 bytes), empty when the issue has none
statestringopen, draft or closed
authorobjectwho opened the issue
updatedstring or nullthe time of the newest change
commentsintegernumber of comments
verdictstring or nullalways null for issues (the row has no verdict)
pathstringlink to the issue page

issues.author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink 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.

KeyTypeMeaning
schemastringforge/issue/1
basestring/ or /forge/
repoobjectthe repository (see forge/repo/1)
idstringthe issue id (40 hex)
titlestringthe title, empty when the issue has none
statestringopen, draft or closed
authorobjectwho opened the issue
openedstring or nulltime of the first change
pathstringlink to this page
reasonstring or nullthe close reason the page shows, null when none
labelsarraylabel names (strings)
assigneesarrayassignee DIDs (strings)
commentsarraythe comment thread, oldest first

author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink to the owner's page when name is set

comments items

KeyTypeMeaning
authorobjectwho wrote it (same keys as author)
timestring or nullwhen
bodystring or nullthe body (markdown), null when redacted
redactedbooleanthe comment was redacted

comments.author object

KeyTypeMeaning
namestring or nulldrakestapleton when the author is the node delegate, else null
didstringthe author's did:key:
pathstring or nulllink 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.

KeyTypeMeaning
schemastring"forge/stargazers/1"
basestringthe base of the request, "/" or "/forge/"
repoobjectthe repository (see Conventions)
countintegerstar count of the repository (the number in the repository's social bar)
usersarraythe accounts that starred it, in the HTML list order; [] when nobody did

users items

KeyTypeMeaning
namestringthe account's display name, or its z... key when it has none (the HTML shows the first 16 characters of the key)
pathstringthe 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.

KeyTypeMeaning
schemastring"forge/watchers/1"
basestringthe base of the request, "/" or "/forge/"
repoobjectthe repository (see Conventions)
countintegerwatch count of the repository (the number in the repository's social bar)
usersarraythe accounts that watch it, in the HTML list order; [] when nobody does

users items

KeyTypeMeaning
namestringthe account's display name, or its z... key when it has none
pathstringthe 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.

KeyTypeMeaning
schemastring"forge/user/1"
basestringthe base of the request, "/" or "/forge/"
userstringthe profile's heading: the display name, or the z... key when the account has none
didstring or nullthe DID the profile shows, "did:key:z6Mk..."
followersintegernumber of followers
followingintegernumber of accounts followed
tabstringthe list shown: "stars", "followers" or "following"
reposarray or nullthe forge owner's public repositories, items as in forge/explore/1; null on the views listed above
stars_receivedinteger or nullstars on the owner's repositories (owner views only, else null)
favorites_receivedinteger or nullfavorites on the owner's repositories (owner views only, else null)
starredarray or nullthe repositories the user starred, in the HTML order, when tab is "stars"; else null
usersarray or nullthe 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).

KeyTypeMeaning
ownerstringsee forge/explore/1
namestringsee forge/explore/1
ridstringsee forge/explore/1
pathstringsee forge/explore/1
jsonstringsee forge/explore/1
descriptionstring or nullsee forge/explore/1
default_branchstringsee forge/explore/1
starsintegersee forge/explore/1
last_commitobject or nullsee forge/explore/1

starred items

KeyTypeMeaning
namestringrepository name
ridstring"<RID>" (bare)
pathstringthe repository page, <base><owner>/<name>
starsintegerthe repository's star count (shown next to it in the list)

users items

KeyTypeMeaning
namestringthe account's display name, or its z... key when it has none
pathstringthe 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.

KeyTypeMeaning
schemastring"forge/stars/1"
basestringthe base of the request, "/" or "/forge/"
userstringthe signed-in account: display name, or z... key when it has none
tabstringthe list shown: "stars", "favorites" (private to the account) or "watching"
reposarraythe repositories in that list, in the HTML order

repos items

KeyTypeMeaning
namestringrepository name
ridstring"<RID>" (bare)
pathstringthe repository page, <base><owner>/<name>
starsintegerthe 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.

KeyTypeMeaning
schemastring"interplane/agents/1"
basestringthe base of the request ("/" or "/forge/"); every address below starts with it
read_firststringthe address of this document
how_to_askobjectwhat the json word of a route means
text_formstringhow to get the plain-text form of an HTML page (format=text)
error_schemastring"forge/error/1": the document of every error a JSON request gets
eventsobject or nullthe activity stream (below); null in a build without the event store
routesarrayone item per address, in the order of server/agents.tsv
not_availablearraywhat agents ask for that this forge does not offer, and why

how_to_ask object

KeyTypeMeaning
suffixstringjson is "suffix": the path itself is the JSON name (.json)
acceptstringjson is "accept": send Accept: application/json (and not text/html) to the page's own address
alwaysstringjson is "always": JSON whatever the headers say

events object

KeyTypeMeaning
pathstring<base>events.json
schemastring"interplane/events/1"
afterstringhow after= and next work
limit_defaultinteger50
limit_maxinteger200
etagstringhow to poll cheaply with If-None-Match
feedstring<base>feed, the same stream as a page for people

routes items

KeyTypeMeaning
methodstring"GET"
pathstringthe 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
jsonstring"suffix", "accept" or "always" (how_to_ask)
schemastring or nullthe schema of the answer; null for status.json, which has no schema key
authstring"none", or "session": answers only with a signed-in browser session (signed out it is a 303 to <base>login)
docstringthe file of this repository that documents the schema
purposestringone line

not_available items

KeyTypeMeaning
whatstringwhat is not offered (or the address that is not built in this build)
whystringwhy, 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.

KeyTypeMeaning
schemastring"interplane/events/1"
basestringthe base of the request
head_seqintegerthe highest seq in the stream (0 when it is empty)
afterintegerthe after of the request
limitintegerthe limit applied (at most limit_max)
limit_requestedintegerthe limit asked for (50 when none)
limit_maxinteger200
limitedbooleantrue when the limit asked for was larger than limit_max
eventsarraythe events, oldest first
countintegerthe length of events
nextstring<base>events.json?after=<seq>&limit=<limit>: read this next

events items

KeyTypeMeaning
seqintegerthe event's number in the stream, from 1
timestringISO-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
kindstringpatch_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
actorobject or nullwho did it
repoobject or nullthe 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
subjectstringone line: the patch or issue title, the tag name, "<n> new commits on <branch>", the starred repository, the followed key, the shelf name
pathstring or nullthe HTML page of the thing
jsonstring or nullits JSON address (the same page with Accept: application/json, or the .json name)
sourcestringthe 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)
verdictstring or nulla review's verdict word (accept, reject), else null
fromstring or nullbranch moved: the old head (40 hex), else null
commitsinteger or nullbranch moved: the commits the new head has that the old one has not, else null
targetobject or nullfollow: the followed account (same keys as actor), else null

events.actor object

KeyTypeMeaning
namestring or nullthe account's display name (the owner: drakestapleton); null when it has none or the key has no account here
didstringthe did:key: of the key that signed the change or the social line
pathstring or nullthe account's page; null when the key has no account here

events.target object

KeyTypeMeaning
namestring or nullas actor
didstringas actor
pathstring or nullas actor

events.repo object

KeyTypeMeaning
ownerstring"drakestapleton"
namestringrepository name as in RIDS.md
ridstring"<RID>" (bare)
pathstringHTML page, <base><owner>/<name>
jsonstringits 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.