chore: collapse literal Object.freeze pyramids into deepFreeze - #238
Conversation
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
Nested freeze stacks on fresh object literals were readability noise. Shared-reference snapshots stay shallow-frozen so detach semantics do not change.
9c04cb6 to
fa70c9b
Compare
Summary
Object.freezestacks on fresh literals to the existingdeepFreezehelper (packages/agent-bundle/src/core/freeze.ts) plus a Workbench-local copy (packages/workbench/src/freeze.ts). Public API stays plain objects; Effect immutables stay internal.src/install/,src/host-contracts/,create-agent-bundle,.github/workflows, and Workbench document-stage / runtime-model surfaces.Test plan
pnpm typecheckpnpm lintNo changeset: internal readability refactor, no public behavior change.