Skip to content

CL-6447: freeze hub-authored inert definitions via @corbits/workflow-freeze - #179

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-6447-projection-freeze
Aug 21, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-6447-projection-freeze

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

hub-authored inert definitions now freeze wire_projection/approved_wire_hash/grant_snapshot via @corbits/workflow-freeze so they are launchable.

Fixes CL-6447: agents created via the Agents page / agent-directory API were permanently unchattable because ensureWorkflowDefinitionForAsset left those columns NULL. Template-block deploys (CL-6439) take the same freeze path.

Test plan

  • bun test packages/workflow-freeze/src/index.test.ts packages/agent-directory/test/workflow-create-routes.test.ts packages/folded-runs/test/definition.test.ts (30 pass)
  • bun test packages/workflow-freeze/test/freeze.drizzle.test.ts against Postgres (3 pass)

Hub-authored agents used to land with a NULL wire projection and stay
unlaunchable. These tests lock the reify-hash-walk sequence, the call-site
freezer wiring, and the consumer-language recovery guidance for a missing
launch body.
…freeze

A definition the hub authors itself is already inert JSON, so no sidecar probe exists to ride. @corbits/workflow-freeze is the probe's hub-local counterpart: project, walk, and stamp wire_projection / approved_wire_hash / grant_snapshot so those rows are launchable.
@TheGreatAxios
TheGreatAxios merged commit ae628fe into main Aug 21, 2026
0 of 2 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-6447-projection-freeze branch August 25, 2026 15:40
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