Skip to content

fix(project-context): canonicalize Skill IR paths in model digest - #191

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/dev-services-model-digest
Sep 1, 2026
Merged

fix(project-context): canonicalize Skill IR paths in model digest#191
ScriptedAlchemy merged 1 commit into
mainfrom
fix/dev-services-model-digest

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

Root cause

PR #185 (#185) added skillIr, hostDocuments, and skillTreeLayout to NormalizedSkill, but canonicalizeNormalizedModel only canonicalized the pre-existing skill fields. Absolute temp-directory paths leaked into the digest, so the "root-independent project context" test saw left/right fixtures diverge.

Test plan

  • pnpm exec rstest packages/agent-bundle/tests/dev-services.test.ts
  • pnpm exec rstest packages/agent-bundle/tests/dev-artifact-service.test.ts packages/agent-bundle/tests/package-identity.test.ts packages/agent-bundle/tests/manifest.test.ts
  • pnpm typecheck
  • pnpm lint

Fixes #152

@changeset-bot

changeset-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e0436e6

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

This PR includes changesets to release 1 package
Name Type
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 1, 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-01T20:19:10.882458Z 63e3415 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 1, 2026

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

commit: e0436e6

PR #185 added skillIr and hostDocuments to the normalized model without
extending canonicalizeNormalizedModel, so equivalent projects in different
temp directories produced different modelDigest values.
@ScriptedAlchemy
ScriptedAlchemy force-pushed the fix/dev-services-model-digest branch from 63e3415 to e0436e6 Compare September 1, 2026 20:25
@ScriptedAlchemy
ScriptedAlchemy merged commit 045b04f into main Sep 1, 2026
6 of 10 checks passed
ScriptedAlchemy added a commit that referenced this pull request Sep 1, 2026
… can go green (#197)

* test: align hook expectations with sorted normalization (#180) and the example's semantic event route (#182)

Both features merged while main CI was already red, so their outdated
sibling tests were never caught: normalizeHooks now orders hooks by
stable id, the rsc-agent-runtime example declares one tool/after event
route instead of per-host prebuilt hooks, and the workbench therefore
exposes the simulatable Hooks capability page.

* fix(ci): keep route-unit proofs out of the example plain test pool

* fix(ci): defer to the mainline Skill IR digest canonicalization (#191)
ScriptedAlchemy added a commit that referenced this pull request Sep 1, 2026
…ays open (#200) (#203)

* fix(ci): keep route-unit proofs out of the example plain test pool

* fix(ci): defer to the mainline Skill IR digest canonicalization (#191)

* test: retry the overview handoff e2e while the reload-budget flake stays open (#200)

Verify (Node 24) alone exceeded the owned-reload generation budget on a
loaded hosted runner (run 33557117407) while the identical commit passed
on Node 22 and 26 — the #122-class watch-delivery skew. Same interim
treatment as #138 gave the known family.
ScriptedAlchemy added a commit that referenced this pull request Sep 1, 2026
…p) (#208)

* fix(ci): keep route-unit proofs out of the example plain test pool

* fix(ci): defer to the mainline Skill IR digest canonicalization (#191)

* fix(state): keep the sqlite close finalizer infallible (#201 follow-up)

acquireRelease release finalizers cannot carry an error channel, so the
runtime package's declaration build failed on every job. A close failure
on the success path now dies (still visible) instead of failing.
@ScriptedAlchemy
ScriptedAlchemy deleted the fix/dev-services-model-digest branch September 3, 2026 05:26
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.

wave 3.5: Effect-native internals

1 participant