docs(website): the spawn atlas API, the admin panel, and the delay-unit trap #68
Reference in New Issue
Block a user
No description provided.
Delete Branch "docs/spawn-atlas-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Docs half of website #113 — Protocol 3.0 Part C, second website PR.
SPAWN_ATLAS.md — the API and the panel
The six public routes and the five admin ones, plus three behaviours that read as bugs unless they are written down:
status: "unavailable", not 500.refresh()reports outcomes rather than throwing so the boot path is never blocked by a bad tree, and that contract is preserved at the API — the admin needs to be told what is wrong with their path.pointsis a COUNT,spawnersis the LIST. Named apart so one key never means a number on one route and an array on another.Plus why the routes sit outside
/shard(nothing touches the sidecar) while still beingsiteMode-gated (a bestiary is site content), and why?facet=is an exactEXISTSmatch rather thanJSON_SEARCH, whose%/_wildcards would make?facet=%match everything.The delay-unit trap
XmlSpawner stores
MinDelay/MaxDelayin minutes or seconds per record, decided by that record's ownDelayInSecflag. A5is five minutes on one spawner and five seconds on the next, and both are plausible respawn times — which is what makes it silent. 170 of 6,455 stock spawners are second-flagged. Recorded next to the other three quirks in the source data, because it belongs in the same list.PARSER_VERSIONStored in
shard_atlas_metabeside the source hashes and bumped whenever the parser derives different data from identical files. It exists because hashing the tree alone is a trap: an install whose maps never change would keep serving whatever an older build derived, and a deploy that corrects the parse would never reach the data. Documented in both SPAWN_ATLAS.md and BACKEND_DESIGN.md, with the rule stated as an instruction for the next person to touch the parser.BACKEND_DESIGN.md / v3.md
The eleven new routes in the API contract, the
atlas.router.jsentry in the router map, and the parser-version rule.v3.mdmarks Part C done and adds §6.3 recording what the API half found — kept as a diff against §6 like §6.1 and §6.2, since each one is a trap the next person would otherwise re-enter.api-route-inventory.jsonrefreshed from the live manifest. It had drifted to 200 routes before this PR — the real count onedgewas 204 — and is now 215.PROJECT_TREE.mdis left alone; it is auto-generated by the sync-project-tree workflow.🤖 Generated with Claude Code
https://claude.ai/code/session_01U7CBg11prhLimL9iHSX1bP