Replies: 1 comment 1 reply
|
What do you mean by "dependency primitive"? Like, the version range to determine which thing to pull from the registry? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
A design question from outside the infrastructure-as-code world. Happy to move it to a different category if Q&A or Ideas is the wrong home for it. I'm asking here because OpenTofu and Terraform modules are one of the closest analogues to a problem we're trying not to get wrong.
We're drafting a manifest format called tome.yaml that bundles AI instruction files (the CLAUDE.md, AGENTS.md and skill-file family) into one portable unit with a lockfile. It sits a layer above any single instruction file: the file is for one tool, the manifest declares the whole bundle. Right now a bundle cannot depend on another bundle. We deferred cross-bundle composition deliberately, to watch real authoring patterns before we commit to a dependency primitive.
You've shipped module dependencies at real scale, registry and git sourcing, version constraints and all the plumbing that goes with them, so this is a problem your community has lived through and we haven't yet.
So I'd appreciate hearing whether there was a specific moment in production where you realised your first dependency primitive was wrong, and which direction it bit: too permissive, so authors pulled in things they didn't understand, or too restrictive, so real composition got pushed outside the manifest into copy-paste and forks. Two sentences of that experience would be worth more to us than any amount of our own speculation.
For context on what we're choosing between: a single component pinned by content hash, a whole bundle pinned by id and semver range, or full transitive resolution. Each is a different bet about how authors actually compose things. But I'd rather hear what went wrong for you than which of the three you'd pick.
We've shipped tome.yaml only on our first real tome. Three related questions are collected here if any other one matches your experience: tomevault-io/companyos#1, and the spec is at https://tomevault.io/docs/tome-yaml.
All reactions