Skip to content

Rewrite the website README as a runbook and plain-word the registry keys and two examples - #2541

Merged
max-sixty merged 4 commits into
mainfrom
wf_36774bb4-cf1-4
Oct 12, 2026
Merged

max-sixty merged 4 commits into
mainfrom
wf_36774bb4-cf1-4

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

worker/README.md mixed a retelling of docs/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 live curl). The delivery contract moved into the worker/leaf_website module header, and the README keeps the failure-code table the deploy check and an operator read. The new rollback section says to revert on main rather than use wrangler rollback, because a Worker rollback leaves containers on the newer release and the Worker then answers every private request with the rollingOut 503. Seventeen registry $keys descriptions, which leaf-dev keydocs publishes as docs/registry.html, got a plain-language pass that defines their terms and states each claim literally. security-boundary.html now expands SRT and Astra, docs/website.html drops 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.

This was written by Claude Code on behalf of max-sixty

…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
leaf-agent previously approved these changes Oct 12, 2026
max-sixty and others added 2 commits October 12, 2026 00:17
# 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 leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@max-sixty
max-sixty merged commit f288929 into main Oct 12, 2026
3 checks passed
@max-sixty
max-sixty deleted the wf_36774bb4-cf1-4 branch October 12, 2026 07:56
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.

2 participants