Skip to content

chore(examples/rsc-agent-runtime): drop skills boilerplate, add validate script, document why the empty target sections stay - #65

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
chore/rsc-example-tidy
Aug 31, 2026
Merged

chore(examples/rsc-agent-runtime): drop skills boilerplate, add validate script, document why the empty target sections stay#65
ScriptedAlchemy merged 1 commit into
mainfrom
chore/rsc-example-tidy

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Wave A3 of the examples refresh plan (audit §5, executable-now items) — scoped to examples/rsc-agent-runtime only.

  • Dropped skills: [] from agent-bundle.config.ts. The example has no skills/ directory, so the empty list was boilerplate that post-RFC-RFC: framework mode — structure in config and conventions, JSX only for rendering #63 would read as a deliberate opt-out it isn't. Inspect parity verified: with only this drop, agent-bundle inspect --json before/after is identical in model, plans, diagnostics, state, and modelDigest (only configDigest/revision move, tracking the config file bytes).
  • Kept the empty claude: {} / codex: {} / portable: {} sections, per the audit's verify-first instruction. They are not redundant with targets:: dropping them empties model.extensions — normalization materializes each section as an extension:<target> entry with config provenance, and modelDigest changes. Plans/diagnostics stay identical, but the inspect model does not, so the audit's parity bar fails and the sections stay, now with a config comment explaining why.
  • Added the missing validate script (agent-bundle validate) to package.json for cross-example parity (verified: "Validation succeeded", exit 0). The check-chain shape is left untouched for the Wave A4 consistency sweep.
  • No README edits, so tests/docs-contract.test.ts needs no lockstep change; no files moved, so docs/architecture/rsc-runtime-workbench.md needs no regeneration (pnpm check:runtime-topology passes).

Owner decision requested (flagged, not fixed)

This example's README.md self-declares (line 3) that it is a "private, opt-in… architecture experiment, not an agent-bundle public API", and the body is dense with internal jargon ("skip-gated", "schema-v2 evidence envelope", "value-free hook launch probe"). That is in tension with the repository rule that examples/* are user-facing products; the root README's examples table already omits this example. Two ways to resolve it: (1) promote the example to product-quality documentation so it meets the examples/* bar, or (2) formally mark it internal — carve out an explicit exemption in AGENTS.md or relocate it outside examples/ — so the rule and the tree agree. This PR deliberately does not change the example's status either way; the choice is left to the owner.

Test plan

  • pnpm --filter @agent-bundle/rsc-agent-runtime-demo check — 0 failures, 6 skips (the six Windows-only Job Object tests; known platform skips)
  • pnpm check:runtime-topology
  • pnpm eval:spot
  • Root pnpm typecheck and pnpm lint
  • agent-bundle inspect --json before/after parity check (see above)

…ate script, document why the empty target sections stay
@changeset-bot

changeset-bot Bot commented Aug 31, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 61614b5

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-31T06:45:16.241357Z 61614b5 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.

@pkg-pr-new

pkg-pr-new Bot commented Aug 31, 2026

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

commit: 61614b5

@ScriptedAlchemy
ScriptedAlchemy merged commit 7b0f982 into main Aug 31, 2026
9 checks passed
ScriptedAlchemy added a commit that referenced this pull request Aug 31, 2026
…n every test budget (#70)

The dev-invocation and dev-provider polling helpers computed their deadlines
from raw milliseconds, so the documented time-scale knob widened neither the
4s default nor the explicit per-call budgets, and the example's rstest config
never raised the 5s default test timeout. On a contended host that combination
expired real work instead of bounding a hang, which is the flake shape the
PR #65 report described.

Budgets now stay unscaled at the call sites and are scaled inside the helpers,
matching state-and-definition.test.ts. Per-test timeouts, the shared default,
and the capacity-fixture worker lifetime scale with the same knob; every value
is unchanged when the knob is unset.
@ScriptedAlchemy
ScriptedAlchemy deleted the chore/rsc-example-tidy 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