Repository navigation
Description
Providers let an adopter add vocabulary, and owned generators let them emit anything from it. Both work well inside one repository. There is no supported way to publish the pair for a second repository to use, and no place between "private to one adopter" and "core vocabulary in all five ports".
That gap decides where real additions end up. A downstream operations application has built a provider and a set of generators for audited writes, database policy and tool definitions. A second application by the same team needs the same pieces. Today the choices are to copy the files or to propose core vocabulary, which needs a conformance fixture in every port and, by the project's own rule, a second independent consumer. Neither fits something that is TypeScript-only, useful to more than one adopter and not yet settled enough for core.
An extension pack would be an ordinary npm package that exports one provider and the generators that read its vocabulary. It would be opt-in, listed in the adopter's config, and outside the sealed core registry. It gives the register, converge, promote lifecycle a concrete middle step: a concept lives in a pack while evidence gathers and moves to core when it has earned it.
- Document the package shape: one exported provider, generators, and a manifest naming the vocabulary it adds
-
meta gen --listshows a pack's generators with the pack as their origin -
meta typesshows a pack's vocabulary marked with its origin - Agent context and
meta exportinclude pack vocabulary (relates to Agent guidance: never hand-parse metadata YAML; documentmeta exportas the query path (and make it work with adopter providers) #478) - Two packs declaring the same attribute are refused with a clear error
- A documented path for promoting a pack concept to core, including how adopters' metadata is renamed
- Decide whether the project itself publishes packs, and under what stability label
- Export or document an "effective package" accessor for generators. While prototyping, an entity whose package comes from its file's default reported no package and a bare qualified name, so a per-package generator wrote a file with an empty package in its name.
- Consider a warning from
meta genfor an undeclared attribute. Today onlymeta verifycatches it.
Activity
feat(metadata): add business-rules operations and lifecycles (#610)