Meta Factory
Security Notice
This extension includes AI agent skills that can modify AI assistant behavior. Review the skill files before installing.
Deterministically assemble a @swamp/software-factory definition from the design
record produced by the factory-design interview. This is a swamp REPORT, not a
model: it scopes to the interview's record_artifact method, fires when the
consolidated design artifact is recorded, validates it against a zod
DesignRecordSchema, and emits the target factory's definition object as its
json output (plus a readable markdown rendering). A pure projection — no LLM, no
serialisation library.
Fidelity is hybrid — common patterns are captured as intent in the design record and expanded here by rule (a review stage's fresh + findings-clear + human-approval stack; a coverage-contract cel gate; a human sign-off), while uncommon needs are captured as raw gate type + config and passed through. The intent->grammar ruleset (expandGates) is the one opinionated surface and is unit-tested in isolation.
Non-determinism lives in the interview and is captured as evidence; assembly is a function of it — the same design record always produces the same definition. The report's json is the definition object; the driver installs it as a live git-tracked factory as a separate explicit step, preserving swamp's source/runtime split (the report produces data, the driver turns it to source).
Ships the factory-builder skill that drives the interview and wires this
report, plus the bundled factory-design interview template.
Use
swamp extension pull @atalanta/meta-factory
# invoke the bundled `factory-builder` skill; say "build me a kw factory"Deterministically assemble a @swamp/software-factory definition from the
- Has README or module doc2/2earned
- README has a code example0/1missing
- README is substantive0/1missing
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned