Repository navigation
refactor(tools-artifacts): move the document tools into a package - #41
Closed
TheGreatAxios wants to merge 2 commits into
Conversation
|
Triage: Pass No changes needed from you. A maintainer will review this pull request. Stacked on #40: only this pull request's own changes were checked. Notes:
Triage will approve, request review. Changed since the last verdict (Fail at |
corbits-triage
Bot
dismissed
their stale review
October 31, 2026 22:07
Nothing triage asked to change still fails, so this request no longer stands.
Contributor
Author
|
Closing: the decoupling plan on CL-11879 (adopt @corbits/artifacts with Builder rules in its write hook, run-scoped routes, tools that know nothing about projects or tenants) reshapes this package. It will be redone under that plan. |
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.
Moves
read_artifactandwrite_artifactfrom the hub into@corbits-builder/tools-artifacts, laid out liketools-design:.exports the plain logic:projectArtifacts(capabilities, role, signal)(list, read, write) anddocumentPart(7000-character parts), so a workflow action can call it withoutdefineTool../sidecar-bundleexportscreateArtifactTools(role, { failure, unpackDesign? }), thedefineToolbundle. The bundle id stays@corbits-builder/artifacts/tools, so grants are unchanged. The coder role requiresunpackDesign.failure(logging), as withtools-design.HubArtifactReceiptnow has one copy, intools-hub, used by bothtools-artifactsandtools-design.Stacked on #40. Closes CL-11881
Verification
lint,format:check,typecheck,test(71 pass),pins:verify;packaged.test.tsbuilds the real workflow bundles.