Mainframe bundle
What it is
The bundle is the platform's declarative artefact set in one versioned archive. It exists to satisfy the position brief's definition of done: a second person stands up a Mainframe from the artefacts alone, without asking the original operator a single question.
The archive carries a MANIFEST.txt with a sha256 digest for every file and the headline counts, so it is reproducible rather than merely packaged.
Download
Contents
| path | holds | why |
|---|---|---|
registry/ | loadouts, primitives, playbooks, interfaces | the sources of truth the graph is derived from |
graph/ | schema, collector, conformance checks, generated seed | everything needed to build and test the registry graph |
tools/ | pack builder, link checker | the build tooling, in bun, runnable in a pinned container |
docs/ | roadmap documents, pack sources, research | the reasoning, so the bundle is not just the what |
Counts at assembly
| item | count |
|---|---|
| loadouts | 8 |
| primitives | 35 |
| playbooks | 9 |
| playbook steps | 91 |
| registries | 18 |
| graph entries emitted | 84 in the collector pass |
Secrets
No secret is included. The bundler refuses to stage any file whose name matches .env, .key, .pem, unseal, token, secret or password, and it fails loudly rather than skipping quietly. The exclusion is re-verified by listing the finished archive, not by trusting the filter.
Reproducing the build
- Bring up the graph:
docker compose up -dinneo4j/, then applyschema.cypherand the generatedregistries.cypherwithcypher-shell. - Regenerate the graph artefacts:
bash graph/collect-registries.sh. - Run the conformance checks:
cypher-shell -f graph/doctor-registries.cypher. Every query must return zero rows. - Rebuild the pack and the docs:
docker run --rm -v /opt/prodg:/opt/prodg -w /opt/prodg/markdoc oven/bun:1-alpine bun tools/build-pack.ts. - Verify the published tree:
docker run --rm -v /opt/prodg:/opt/prodg -w /opt/prodg/markdoc oven/bun:1-alpine bun tools/check-links.ts.
Bun runs in a pinned container because host tool installation is forbidden. No step requires Python, and none requires npm.
How the bundle is produced
tools/make-bundle.sh stages the declared sources, regenerates the graph artefacts so the archive carries current output rather than stale files, writes the manifest, and archives. It is idempotent: re-running replaces the archive for the same date.