Export a white-label or domain fork¶
export-catalogue produces a redistributable derivative of the catalogue at a target path — for an organization rebrand, or to re-purpose the machinery into a different domain (a creative-writing or investment-research catalogue). One mechanism, two modes.
Pick a mode¶
white-label(default) — strip all upstream identity; zero trace. For a private/org fork or anything that must not disclose where it came from.attributed— strip governance and colliding branding, but keep a declared credit block naming the upstream. Use this for a public derivative you want to tie back to the origin, to grow the ecosystem.
Export a white-label copy of this catalogue to
../our-fork.
What it does¶
- Validates the target (non-empty, not nested in this repo) and jails every write.
- Strips catalogue governance (RFCs/ADRs/specs/backlog), the repo's own charter/conventions, the internal doc site, and build/scan tooling — in both modes.
- Substitutes the four identity anchors (URL, email, slug, owner) from this catalogue's own markers, so the tooling carries no hardcoded upstream literal.
- Chooses the include-set — which packs travel. Drop the SDLC packs for a creative-writing catalogue; always keep the engine, a
core, andcatalogue-curationitself so the fork can curate itself. - Persists the fork's own defaults — its default adapter and self-host set — into the target copy, so every future user of the fork inherits them.
- Verifies, fail-closed — greps the target for any surviving upstream identity (case-insensitive, text files, declared literals). In white-label mode a single hit hard-fails the export; in attributed mode a hit is allowed only inside the declared credit block. Omit, never leak.
After the first export¶
The fork is a catalogue in its own right — it has catalogue-curation, so it can assimilate, propose packs, and even re-export. To pull later upstream changes, run assimilate-repo in the fork pointed at its upstream; the same strip rules keep governance and internal docs out.
For the full transform manifest (strip globs, anchor sources, verify bounds), see The ledger and the engine guard and the skill's own transform-manifest reference.