CL-6447: freeze hub-authored inert definitions via @corbits/workflow-freeze - #179
Merged
Merged
Conversation
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.
This was referenced Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ensureWorkflowDefinitionForAssetleft 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.tsagainst Postgres (3 pass)