Skip to content

docs: the REST Automation guide and the references, in lockstep with the Python pack - #149

Merged
acn-ericlaw merged 1 commit into
mainfrom
docs/rest-automation-guide
Nov 25, 2026
Merged

acn-ericlaw merged 1 commit into
mainfrom
docs/rest-automation-guide

Conversation

@acn-ericlaw

Copy link
Copy Markdown
Contributor

What

The documentation site gains the REST Automation guide (docs/guides/rest-automation.md) - the narrative of rest.yaml in the pack: turning it on, the file as the router, the function behind an entry with the AsyncHttpRequest accessors and the reply rules, what the edge does, the authentication function and the session map, streaming entries (the idle allowance, the keep-alive, a long-lived producer's connected), the bounded upload, the static-content block, the default entries and the precedence, what a pack refuses and defers, the shipped examples and how to test an entry. The references follow: the HTTP Surface Reference's entries table and amended error-signature sentence, the Configuration Reference's seven keys (rest.automation, yaml.rest.automation, rest.upload.max.bytes, the three http.*.header names, event.stream.keep.alive), the AI Agent Guide's pre-write checklist with a minimal entry and function and a DO/DON'T row, the site index, llms.txt, the nav, the configuration guide's static-content note, and a CHANGELOG "Documentation" entry. The thread bp-rest-automation-nodejs records it.

Why

The maintainer's direction of 2026-11-25: document REST automation for both packs now that both serve their own extensions' routes as rest.yaml entries (mercury-nodejs #146 the edge, #148 the first adopters aligned to the Python shape). This is the twin of the Python pack's docs PR - the same headings, order and depth, translated to the Node idiom, with every behavioural claim verified against src/rest-automation.ts, src/rest-routing.ts, src/event-stream.ts and src/async-http-request.ts (no difference between the two edges surfaced). uvx --from mkdocs-material mkdocs build --strict, the CI's command, is green.

🤖 Generated with Claude Code

…the Python pack

The documentation site gains docs/guides/rest-automation.md - the narrative of rest.yaml in
the pack: turning it on, the file as the router, the function behind an entry with the
AsyncHttpRequest accessors and the reply rules, what the edge does, the authentication
function and the session map, streaming entries, the bounded upload, the static-content
block, the default entries and the precedence, what a pack refuses and defers, the shipped
examples and how to test an entry. The HTTP Surface Reference gains the entries' behaviour,
the Configuration Reference the seven keys, the AI Agent Guide a pre-write checklist with a
minimal entry and function and a DO/DON'T row, the index and llms.txt their entries, the nav
the page, the configuration guide's static-content note the rest.yaml block. The twin of the
Python pack's guide of the same day, section for section, in the Node idiom; every claim
checked against the sources. CHANGELOG and the memory follow.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@acn-ericlaw
acn-ericlaw force-pushed the docs/rest-automation-guide branch from 2201cbe to ce5ba87 Compare November 25, 2026 03:43
@acn-ericlaw
acn-ericlaw merged commit 08b6a18 into main Nov 25, 2026
5 checks passed
@acn-ericlaw
acn-ericlaw deleted the docs/rest-automation-guide branch November 25, 2026 04:17
acn-ericlaw added a commit that referenced this pull request Nov 25, 2026
…the documentation site

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant