Repository navigation
Rewrite the website README as a runbook and plain-word the registry keys and two examples - #2541
Merged
Merged
Conversation
…eys and two examples B9, worker/README.md: the README is now an operator runbook in the order an operator needs it: credentials, local development, the dev environment, production deploy and one-time setup, checking the live release, rolling back, diagnostics, and configuration. The design retelling moves out in favour of a pointer to docs/website.html; the hosted-agent delivery contract moves into the worker/leaf_website header, and the README keeps the failure-code table an operator reads. Diagnostics are organized as a lookup procedure plus one section per record type, with field tables. New: rollback by reverting on main (and why `wrangler rollback` strands private sessions behind the rollingOut 503), `gh workflow run` to redeploy, the Leaf-Release header check, and the Analytics Engine SQL API call. Section references in agent.ts, model-proxy.ts, interactions.ts and notes/comparisons.md follow the new names. docs/website.html no longer says the hosted agent runs without the Leaf plugin, which #2385 changed. B9, registry $keys: plain-language pass on description, x-question-context, x-awaits, x-thread-seat, x-inline, x-language, x-reading-role, x-measured, x-resident, x-retired-when, x-shadow, x-state, x-thread-surface, x-verbatim, x-prepaint, x-face and x-work: coined terms defined or replaced, aphorisms and colon reveals rewritten as literal claims, the user's list named Questions. docs/registry.html regenerated with leaf-dev keydocs and the pinned prettier. B10, examples/security-boundary.html: SRT expanded as Anthropic Sandbox Runtime at first use, Astra introduced as the OpenAI model that ran the review, and the "X, not Y" aphorisms replaced with literal claims. B10, examples/developer/feature-gallery.html: the multi-gesture guides (Questions, to-do on you, reactions, page comment card, dictation, Draw mode, Capture area, Align, Resume writing, Threads, package reader, unfinished reply, clean passage, rewriting, unread replies, side list, margin entries, tabs, overflow tabs) are a one-line lede plus one step per gesture saying what to look at; internal mechanism (the keyboard renderer, lf-ask replay semantics) is cut. Guide ids are unchanged. Corpus regenerated. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
previously approved these changes
Oct 12, 2026
# Conflicts: # skills/leaf/assets/registry.json
…ploy gate - A refused title request alone carries no `detail`; other title failures keep the last 500 characters, without an ellipsis. - `serverMs` is the Worker's own time, not an offset from navigation start. - The deploy gate's local reproduction builds the site and runs `journey website-worker`; `journey website-adapter` is the quicker agent-only check. - A failure receipt is a reply for a message or a failed pickup for an answer to an ask. - `event_accepted` is logged only for an event that needs a reply, and `turn_stream_completed` on every ending of a turn. - Drop the `site:dev` sentence that dev/AGENTS.md owns. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
reviewed
Oct 12, 2026
leaf-agent
left a comment
Collaborator
There was a problem hiding this comment.
The documentation diff raised no actionable findings, but CI's test job fails at pnpm run check:browser with “Stale protocol contract; run pnpm run build:browser.” The lint job then fails its sentinel check. I’m withholding approval until CI passes on this head.
leaf-agent
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
worker/README.mdmixed a retelling ofdocs/website.html, the hosted-agent delivery contract, and patch-on-patch diagnostics prose, so an operator had to dig for the commands. It is now a runbook: credentials, local development, the dev environment, production deploy, checking the live release, rolling back, diagnostics by record type, and configuration. Every command in it exists (checked with--help, the workflow,package.json, or a livecurl). The delivery contract moved into theworker/leaf_websitemodule header, and the README keeps the failure-code table the deploy check and an operator read. The new rollback section says to revert onmainrather than usewrangler rollback, because a Worker rollback leaves containers on the newer release and the Worker then answers every private request with therollingOut503. Seventeen registry$keysdescriptions, whichleaf-dev keydocspublishes asdocs/registry.html, got a plain-language pass that defines their terms and states each claim literally.security-boundary.htmlnow expands SRT and Astra,docs/website.htmldrops a sentence that #2385 made false, and the feature gallery's long guides are now a short lede plus one step per gesture, each naming what to look at.