Skip to content

Fix post-merge Codex P2 review items - #254

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/post-merge-p2s
Sep 2, 2026
Merged

Fix post-merge Codex P2 review items#254
ScriptedAlchemy merged 1 commit into
mainfrom
fix/post-merge-p2s

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • Document zod in the cli-tool README migration steps so routed CLI ports typecheck once src/cli/** modules import schema exports.
  • Reject @agent-bundle/runtime/agent-notice-ledger/v1 during state extraction (AB4821) so project definitions cannot collide with the generated notice ledger store.
  • Mount missing route-unit bindings independently: supplying only context.state or only context.noticeLedger now auto-mounts the other binding instead of skipping manifest state entirely.

Test plan

  • pnpm test:unit packages/agent-bundle/tests/state-definition-extract.test.ts
  • pnpm test:route-unit packages/agent-bundle/tests/route-unit/render-route.test.ts
  • pnpm lint
  • pnpm typecheck
  • pnpm test:route-unit
  • pnpm test:projection
  • Changeset added for agent-bundle and create-agent-bundle

Document zod in the cli-tool migration steps, reject the reserved
notice-ledger state id during extraction, and mount missing route-unit
bindings independently when callers override only one binding.
@changeset-bot

changeset-bot Bot commented Sep 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: a420de3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
agent-bundle Patch
create-agent-bundle Patch

Not sure what this means? Click here to learn what changesets are.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 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-09-02T02:01:06.069592Z a420de3 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 Sep 2, 2026

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

commit: a420de3

@ScriptedAlchemy
ScriptedAlchemy merged commit cba3dfd into main Sep 2, 2026
9 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a420de3c07

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

if (id === AGENT_NOTICE_LEDGER_STATE_ID) {
return deepFreeze({
diagnostics: [diagnostic(
'AB4821',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Add AB4821 to the diagnostics reference

When a project uses this reserved ID, the CLI now emits the new stable diagnostic AB4821, but docs/diagnostics.md still labels this family as AB4800AB4820 and ends its exhaustive table at AB4820. Users encountering the error therefore cannot find its documented meaning or recovery in the diagnostics reference; add AB4821 to that section and update the range.

Useful? React with 👍 / 👎.

@ScriptedAlchemy
ScriptedAlchemy deleted the fix/post-merge-p2s branch September 3, 2026 05:27
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