🌀 An architecture-driven bootstrapper for creating coherent organizations, repositories, and software ecosystems.
Holon defines versioned repository-class manifests and a deterministic, reversible materialization engine for the Ego Hygiene organization. The current foundation models four repository classes—library, tool, product, and publication—without treating copied template folders as canonical source.
catalog/foundation.jsondefines capabilities, ownership, dependencies, conflicts, and class policy.schemas/provides machine-readable foundation, plan, state, and rollback contracts.examples/contains a valid manifest for every repository class.tools/holon_contract.pyvalidates and resolves the foundation contract without third-party dependencies.tools/holon_materialize.pyexposes explicitplan,render,verify, androllbackboundaries for generic packs. Its nestedcontinuityinterface adds receipt-gatedplan,preview,apply,verify, androllbackcommands with versioned JSON results.catalog/repository-continuity-materialization.jsonpins the provisional Aether, Hygiene, and EgoLint continuity inputs, approved repository surfaces, rollout gates, and ownership seams. Seedocs/repository-continuity-materialization.md.- The
gitignorelifecycle consumes pinned Empathy composition artifacts throughplan,check-plan, reviewedapply,verify, and guardedrollback. Explicit adoption, dedicated provenance, local-rule-preserving updates, and no-op reruns retain repository ownership. tools/repository_continuity_profile.pyvalidates that closed profile and verifies pinned source bytes without network access or repository mutation.tools/materialization/continuity.pyprovides deterministic continuity validation, exact preview, block-scoped reconciliation, verification, and checksum-bound rollback. Its versioned request, plan, state, and rollback contracts live inschemas/.tools/check_repository_continuity_fixtures.pyproves new, existing, provisional, conflict, upgrade, no-op, EgoLint, and rollback behavior across five repository profiles plus the reviewed Antidote prototype migration, using only caller-supplied immutable local sources.examples/holon-continuity.request.json, rootCONTINUITY.md, rootAGENTS.md, and the committed.holon/state and rollback manifest dogfood that same interface without promoting its unreleased inputs beyondobserve.tools/check_repository_continuity_dogfood.pyproves exact committed-root parity and an independent create, no-op, verify, rollback, Git-preservation, and no-external-command lifecycle through the public CLI.blueprints/react-vite/contains the versioned, inventory-locked generic React/Vite rendered pack.blueprints/architecture-decisions/contains the versioned ADR scaffold that inherits the approved Hygiene policy without copying it, whiletools/architecture_decision_blueprint.pyrenders a deterministic index over repository-owned records. See the architecture-decision blueprint guide.tools/react_vite_blueprint.pyvalidates the blueprint profile, exact toolchain, capability boundary, template inventory, dependency policy, Egolint consumer contract, and clean example parameters.blueprints/launchkit/contains the versioned LaunchKit overlay, pinned Evil Martians intake, and typed landing components.tools/launchkit_blueprint.pyvalidates composition, upstream provenance, content contracts, inventory, and the two materially different pilot manifests.blueprints/repository-presentation/contains the pinned, non-destructive README presentation contract and all eight repository profiles.tools/repository_presentation_blueprint.pyprovides exact preview, checksum-bound apply, conflict detection, fixture validation, opt-out, and one-level rollback. Seedocs/repository-presentation-blueprint.md.blueprints/zensical/contains the versioned, hash-locked documentation, architecture, and legal rendered pack.blueprints/site-suite/composes either landing profile with Zensical into one deterministic, Relay-readydistartifact.tools/site_suite_blueprint.pyvalidates profile digests, content, provenance, ownership seams, and both variants.docs/foundation-contract.mddocuments repository-class policy and immutable pins.docs/materialization-engine.mddocuments generated ownership, conflict handling, Aether projection consumption, and rollback safety.docs/react-vite-blueprint.mddocuments the generic site foundation and its Identity, Egolint, Relay, and LaunchKit boundaries.docs/launchkit-blueprint.mddocuments the derived profile, declarative section model, static rendering, ownership seams, pilots, and upstream-reconciliation workflow.docs/site-suite-blueprint.mddocuments the four-route composition, Zensical intake, consumer schema, pilots, and ecosystem ownership boundaries.packages/repository-intelligence/provides static-first roadmap, decision, journey, and evidence renderers for Observatory's versioned Repository Intelligence read model.
The component lab proves small, large, stale, blocked, and partially adopted repositories without depending on Relay:
python3 -m http.server 8000Open http://localhost:8000/examples/repository-intelligence/. The large story
contains 640 events grouped into eight epochs and exercises the same virtual
window used by consumers.
Render a complete no-JavaScript page from an Observatory repository snapshot:
node packages/repository-intelligence/bin/render-static.mjs \
--input "repository-intelligence.json" \
--output "dist/roadmap/index.html" \
--home-url "/intelligence/"The renderers accept Identity-compatible semantic tokens, keep collection and
query behavior outside the package, and expose a direct DOM mount API plus a
custom-element adapter. See
docs/repository-intelligence-components.md
for the integration boundary.
python3 tools/holon_contract.py validate-catalog
python3 tools/architecture_decision_blueprint.py validate
python3 tools/repository_continuity_profile.py validate
python3 tools/react_vite_blueprint.py
python3 tools/launchkit_blueprint.py
python3 tools/repository_presentation_blueprint.py validate-fixtures
python3 tools/site_suite_blueprint.py
for manifest in examples/*.manifest.json; do
python3 tools/holon_contract.py validate --manifest "${manifest}"
done
python3 -m unittest discover --start-directory tests --pattern "test_*.py" --verbose
node --test tests/javascript/*.test.mjsProve repository-continuity materialization against the exact Aether, Hygiene, EgoLint, and Antidote revisions recorded by the fixture contract:
continuity_root="$(pwd)"
(
cd ".continuity-sources/egolint"
CARGO_TARGET_DIR="${continuity_root}/.continuity-build/egolint" \
cargo build --locked --bin "egolint"
)
python3 tools/check_repository_continuity_fixtures.py \
--aether-source .continuity-sources/aether \
--hygiene-source .continuity-sources/hygiene \
--egolint-source .continuity-sources/egolint \
--egolint-binary .continuity-build/egolint/debug/egolint \
--antidote-source .continuity-sources/antidoteThe checker does not fetch sources or accept credentials. The validation workflow acquires the exact commits separately, with credential persistence disabled, before invoking the same local-only command. The pinned Antidote source can be a full or shallow checkout. The checker creates its disposable Antidote fixture at depth one so the native report records the same Git history evidence in either case.
Verify Holon's committed repository-continuity dogfood state without modifying the checkout:
python3 tools/holon_materialize.py continuity verify --target "."
python3 tools/check_repository_continuity_dogfood.py \
--aether-source ".continuity-sources/aether"Execute the disposable React/Vite consumer proof with the profile's pinned package manager:
corepack_directory="$(mktemp -d)"
corepack prepare "pnpm@11.24.0" --activate
corepack enable --install-directory "$corepack_directory"
PATH="$corepack_directory:$PATH" python3 tools/check_react_vite_fixture.py
PATH="$corepack_directory:$PATH" python3 tools/check_launchkit_fixtures.py
PATH="$corepack_directory:$PATH" python3 tools/check_site_suite_fixtures.pyResolve a manifest directly when only the contract output is needed:
python3 tools/holon_contract.py resolve \
--manifest "examples/tool.manifest.json" \
--output "/tmp/holon-tool.resolved.json"Continuity apply never runs directly from a request. Create a deterministic plan in a review-artifact path outside the target repository:
python3 tools/holon_materialize.py continuity plan \
--request "/path/to/repository-continuity.request.json" \
--target "/path/to/repository" \
--aether-source "/path/to/aether-at-the-pinned-revision" \
--output "/tmp/repository-continuity.plan.json"Create and inspect the exact receipt required by apply:
python3 tools/holon_materialize.py continuity preview \
--plan "/tmp/repository-continuity.plan.json" \
--target "/path/to/repository" \
--output "/tmp/repository-continuity.preview.json"After reviewing every operation, provide both artifacts and copy the complete
plan_id from that receipt deliberately:
python3 tools/holon_materialize.py continuity apply \
--plan "/tmp/repository-continuity.plan.json" \
--preview-receipt "/tmp/repository-continuity.preview.json" \
--reviewed-plan-id "<64-character-plan-id>" \
--target "/path/to/repository" \
--aether-source "/path/to/aether-at-the-pinned-revision"Verify returns the current state digest. A rollback requires that exact digest as a second explicit approval:
python3 tools/holon_materialize.py continuity verify \
--target "/path/to/repository"
python3 tools/holon_materialize.py continuity rollback \
--target "/path/to/repository" \
--expected-state-sha256 "<state_sha256-from-verify>"Continuity command successes are emitted as one
holon.repository-continuity-cli-result/v1 JSON document on standard output;
failures use the same envelope on standard error with a stable code and exact
corrective action. The CLI has no fetch, credential, Git, GitHub, merge,
publication, hook-installation, force, or implicit apply path. See the
repository-continuity guide for
receipt schemas, dogfood evidence, and release-gate status.
Holon never jumps directly from intent to mutation. First create a dry-run plan.
Repositories selecting aether-agents must supply a previously acquired pinned
Aether distribution so Holon can verify the manifest pin, release provenance,
and provider-projection hashes without fetching a mutable branch.
python3 tools/holon_materialize.py plan \
--manifest "examples/tool.manifest.json" \
--target "/tmp/example-tool" \
--aether-source "/path/to/pinned/aether/dist" \
--render-source "/path/to/rendered-pack" \
--output "/tmp/example-tool.plan.json"Review the plan, then apply exactly that plan with the same immutable inputs:
python3 tools/holon_materialize.py render \
--plan "/tmp/example-tool.plan.json" \
--target "/tmp/example-tool" \
--aether-source "/path/to/pinned/aether/dist" \
--render-source "/path/to/rendered-pack"Verify current generated ownership:
python3 tools/holon_materialize.py verify \
--target "/tmp/example-tool"Roll back the latest render when generated files have not been edited since the render:
python3 tools/holon_materialize.py rollback \
--target "/tmp/example-tool"Holon fails closed around existing and modified files. An unowned target path is a conflict; a managed path whose bytes no longer match recorded SHA-256 state is a conflict; and rollback refuses to erase post-render edits. There is no v1 force-overwrite path.