Skip to content

chore(examples): canonicalize defineConfig imports, drop --json from user-facing scripts, align check chains - #68

Merged
ScriptedAlchemy merged 3 commits into
mainfrom
chore/examples-consistency-sweep
Aug 31, 2026
Merged

chore(examples): canonicalize defineConfig imports, drop --json from user-facing scripts, align check chains#68
ScriptedAlchemy merged 3 commits into
mainfrom
chore/examples-consistency-sweep

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Aug 31, 2026

Copy link
Copy Markdown
Owner

Summary

Wave A4 consistency sweep from the examples refresh audit, sequenced after #64/#65/#66 and updated for the framework-mode landing (#67, merged mid-flight and merged into this branch).

Test plan

On the merged (post-#67) state:

  • pnpm examples:check — all five examples validate, build, and check green; human output confirmed. (One earlier matrix run hit the documented load flake in the rsc example's timing-sensitive tests — the suite passes standalone and the full matrix rerun is clean.)
  • packages/agent-bundle/tests/examples-contract.test.ts — passes
  • Root pnpm typecheck + pnpm lint — clean

…user-facing scripts, align check chains

The examples split on three cosmetic conventions the audit called out.
Canonicalizes the defineConfig import to 'agent-bundle/config' — the root
README quick start already teaches that path — across the three examples
still importing from 'agent-bundle'. Drops --json from example build and
validate package scripts so pnpm build/validate speak the post-#52 human
writers instead of dumping machine JSON (CI examples:check consumes exit
codes only). Reorders the rsc example's check to the canonical
validate && build && typecheck && test chain. Also renames the deleted
src/cli-entry.ts self-executing pattern to src/cli.ts with the
exported-main envelope teaching in the rsc-runtime package README and its
test fixture strings.
@changeset-bot

changeset-bot Bot commented Aug 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 49a6777

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 31, 2026

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-31T07:21:50.358090Z c79f8c3 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

Copy link
Copy Markdown
Owner Author

Heads-up from the Wave B worker (docs/wave-b-reframing): this branch is based on e505ba6e, one commit before #67 landed framework mode, and both of its packages/rsc-runtime changes are moot against current main (12526a8b):

Dropping both from this PR should clear the conflict and leave the sweep as the example agent-bundle.config.ts/package.json one-liners, which don't overlap #67 at all.

For sequencing: Wave B is holding item B3 (the rsc-runtime README framing pass) until this merges, per the agreed ordering. Once it's in I'll rebase and land a small follow-up on that README — restoring the MCP Apps guidance #67 dropped, in config-mode terms.

…tency-sweep

# Conflicts:
#	packages/rsc-runtime/README.md
#	packages/rsc-runtime/tests/plugin-app.test.ts
@pkg-pr-new

pkg-pr-new Bot commented Aug 31, 2026

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

commit: 49a6777

@ScriptedAlchemy
ScriptedAlchemy merged commit 257628a into main Aug 31, 2026
15 of 16 checks passed
@ScriptedAlchemy
ScriptedAlchemy deleted the chore/examples-consistency-sweep branch September 3, 2026 05:23
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