Repository navigation
feat!: ship Anatomy composition CLI and SDK in one npm package - #6
Merged
Merged
Conversation
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.
Anatomy definitions can reuse directory units across real mount locations and run through either the CLI or a data-only SDK. Both interfaces ship in one public npm package,
anatomy-cli: runanatomyin a terminal or importscanAnatomy,queryAnatomyBundle, and schemas/types fromanatomy-cli.--bundle, composition scanning/querying, dependency and ownership validation, isolated mount state, and findings traced to original rules and actual directories. The five-definition DB Schema example mounts shared Table/Relation Domain roots without duplicateaccounts/accounts/paths.anatomy-cli, resolve internal imports to package-local paths, and retain lazy source analysis. Consumers install one tarball with no dependency on published@anatomy-cli/*packages.entry/contentsroot modes. Remove format-version selectors and old-format compatibility; migrate bundled definitions.0.0.xversions ofanatomy-clion relevantmainpushes. Manualchannel=canaryandcanary-*Git tags publish to the npmcanarytag without changinglatest. Stable retries reuse the source revision's version. OnlyNPM_TOKENwith publish permission foranatomy-cliis required.This branch includes the unmerged foundation from #5: architecture queries, named-function export constraints, and repository self-coverage. Review the complete branch against
mainaccordingly.Validation on Node 24.21.0:
bun run quality: self-scan, typechecks, lint, 300 tests, and builds passed.1449a1b.Local requirement documents, detailed logs, tarballs, and temporary consumer fixtures remain under ignored root
docs/and are excluded from this PR. Daedalus integration and online MCP-to-Worker scanning remain downstream work. The canary publication is verified; this PR has not been merged.Related: COD-420.
Publication verification:
anatomy-cli@0.0.4-canary.34956971727.1from source47a17b2; registrycanaryresolves to it andlatestremains0.0.3.8b18b78extends processing verification to 15 minutes and preserves npm output. Typechecks, CLI lint and 16 release-planning tests passed for the fix; the same verifier completed the real registry-install check locally. Final CI quality and docs build passed at8b18b78. No third canary was published for this timeout-only fix.