Skip to content

docs: Wave B framework-mode reframing — verify the audiobook migration, link the model doc, restore the MCP Apps guidance - #69

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
docs/wave-b-reframing
Aug 31, 2026
Merged

docs: Wave B framework-mode reframing — verify the audiobook migration, link the model doc, restore the MCP Apps guidance#69
ScriptedAlchemy merged 2 commits into
mainfrom
docs/wave-b-reframing

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Wave B of the examples refresh, unblocked by #67 (framework mode). Wave A4 (#68) is a disjoint sibling — it touches only example agent-bundle.config.ts / package.json files, none of which appear here.

Docs and one file rename only; no behavior changes and no public API surface moves, so no changeset.

B1 — audiobook-curator migration: verified, one leftover swept

#67 delivered the migration as designed. Verified against the audit's expectations by reading the merged state and running agent-bundle inspect --json, which reports diagnostics: [] and conventional provenance everywhere it should:

Expectation Evidence
Application JSX-free except rendering src/application.tsxsrc/application.ts, a defineRscApplication catalog; JSX confined to src/result.tsx and src/operations/*.tsx
Structure declared in config metadata, targets, scripts provenance kind: "config"
Conventional entry src/mcp/curator.ts mcpServers[0].provenance.kind: "conventional"
Skill via directory skills[0].provenance.kind: "conventional", no skills: in config
Tests reworked tests/application.test.tsx asserts config structure, not a lowered JSX tree
README source layout current no <AgentBundle> language; the A1 quickstart opener, mcp run section, and pruned maintainer notes are intact

The one leftover: that test file kept its .tsx extension after losing its last JSX, while #67 renamed src/application.tsx to .ts for exactly that reason. Renamed to tests/application.test.ts.

Nothing structural to report.

B2 — skills-starter links the model doc

The README teaches the skills-directory convention but had nowhere to send a reader for the model behind it. One line, now that docs/framework-mode.md exists.

B3 — rsc-runtime README

The reframe the audit scheduled here already landed in #67, which replaced the whole structural-JSX section (the audit's :79-101) with defineRscApplication and the conventional src/cli.ts / src/mcp/<id>.ts entries. The stale cli-entry fixture strings are gone too: tests/plugin-app.test.ts was deleted wholesale and replaced by tests/application.test.ts. No rsc-runtime test teaches a removed element, and none needed editing.

What #67 missed is a deletion rather than a stale line. It dropped the <McpApp> paragraph outright instead of restating it, which left the README teaching _meta: { ui: { resourceUri } } as how a tool binds to its widget with nothing saying where the widget is declared — and no note that createRscMcpServer registers tools only, so serving the resource is still the author's registerResource call. Restored in config-mode terms, verified against AgentBundleMcpApp, examples/mcp-app/agent-bundle.config.ts, and createRscMcpServer.

The audit also suggested mentioning AB4735 here. It does not belong: rendered skills live entirely in packages/agent-bundle/src/config/, and AB4735 is already documented in docs/framework-mode.md and docs/diagnostics.md.

Gates

All green locally: examples/audiobook-curator pnpm check (validate + build + typecheck + test), packages/rsc-runtime pnpm test (18 passing), pnpm examples:check (all five examples), the examples-contract integration test, pnpm typecheck, and pnpm lint.

…rop the JSX-free test's .tsx extension

Wave B sweep of the leftovers from the framework-mode migration (#67).

skills-starter's README teaches the skills-directory convention but had
nowhere to send a reader for the model behind it; docs/framework-mode.md
now exists, so point at it there.

audiobook-curator's tests/application.test.tsx lost its last JSX when the
migration replaced the structural tree with config assertions, and #67
already renamed src/application.tsx to .ts for the same reason.
…ed, in config terms

The framework-mode pass (#67) rewrote this README's structural-JSX section
around defineRscApplication but deleted the <McpApp> paragraph outright
rather than restating it. That left the README teaching
`_meta: { ui: { resourceUri } }` as the way a tool binds to its widget with
nothing saying where the widget itself is declared, and no note that
createRscMcpServer registers tools only.

Also point the Applications section at docs/framework-mode.md, which did not
exist when this section was last written.
@changeset-bot

changeset-bot Bot commented Aug 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2b8d240

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Aug 31, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle@69
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/create-agent-bundle@69
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/@agent-bundle/rsc-runtime@69

commit: 2b8d240

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-31T08:02:33.462516Z 2b8d240 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ScriptedAlchemy
ScriptedAlchemy merged commit 56ba66a into main Aug 31, 2026
15 of 16 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the docs/wave-b-reframing branch September 3, 2026 05:24
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