RepoKernel is a developing host-neutral compiler for reviewable Project Kernels.
It is being built to turn authorized project intent and sources into a validated
SeedSpec, a deterministic GenerationPlan and a project-local control plane
under .repokernel/ without silently overwriting target repositories.
Current status: 0.3.0.dev0, experimental diagnostic compiler, no apply
command.
RepoKernel Source / Compiler
-> reviewed SeedSpec
-> Project Kernel
A future user may consume RepoKernel through:
- Reference Seed — a reproducible precompiled SeedSpec;
- Synthesized ProjectSeed — a custom reviewed SeedSpec compiled from authorized project sources.
Reference Seeds and custom seeds must use the same contracts and planner.
new_repository
existing_repository_retrofit
A1 observe-and-propose
Retrofit is not a blind installation. Existing project files remain authoritative until a reviewed plan says otherwise.
authorized sources + project intent
-> SourceManifest
-> ProjectModel
-> reviewed SeedSpec
-> target-bound GenerationPlan
-> staging and human review
-> future separately authorized apply gate
-> ActivationReport
The current Phase 1 line implements the no-apply validation/planning path. Apply and runtime remain deferred.
Public interpretation:
safe to inspect as an experimental/research repository;
safe to run locally on non-sensitive targets for no-write diagnostics;
not production-ready;
not an installer;
not an autonomous repo modifier.
| Level | Purpose | Current status |
|---|---|---|
| L0 | Reentry core | planned/generated surface |
| L1 | Semantic kernel and sources | planned/generated surface |
| L2 | Evidence, deltas and governed improvement | first stable scope, incomplete |
| L3 | Optional runtime contract | contract only; executable runtime deferred |
Readiness does not imply autonomy or authority.
Use RepoKernel from a checkout or installed development environment:
repokernel validate-spec --kind seed-spec --input seed.json
repokernel validate-bundle --source-manifest sources.json --project-model project-model.json --seed-spec seed.json
repokernel inspect --path /path/to/project
repokernel plan --seed-spec seed.json --source-manifest sources.json --project-model project-model.json > plan.json
repokernel stage --plan plan.json --output-dir /empty/review-directory
repokernel guides --seed-spec seed.json --source-manifest sources.json
repokernel audit --path . --profile repokernel-sourceEquivalent development command:
PYTHONPATH=src python -m repokernel.cli <command>stage renders proposals into an explicit empty review directory. It is not an
apply operation and must not modify the target repository.
There is intentionally no apply command in the current line.
repokernel validate-spec --kind seed-spec --input examples/minimal/seed-spec.json
repokernel validate-bundle --source-manifest examples/minimal/source-manifest.json \
--project-model examples/minimal/project-model.json \
--seed-spec examples/minimal/seed-spec.json
repokernel plan --seed-spec examples/minimal/seed-spec.json \
--source-manifest examples/minimal/source-manifest.json \
--project-model examples/minimal/project-model.json > plan.json
repokernel stage --plan plan.json --output-dir ./repokernel-staging
repokernel guides --seed-spec examples/minimal/seed-spec.json \
--source-manifest examples/minimal/source-manifest.jsonRemove disposable local artifacts after review.
To try RepoKernel in your own workflow, start with the included minimal fixtures, then replace them with your own authorized project inputs:
your SourceManifest
your ProjectModel
your reviewed SeedSpec
your target snapshot
RepoKernel does not require any D-ND project, private fixture or specific application. Use your own authorized inputs and keep staging outside the target repository.
- Single-page overview
- User guide
- Coder guide
- Architecture guide
- CLI reference
- Operational procedure
- Evolution, versioning and review loop
- Compatibility matrix
- Pre-public checklist
CI template:
docs/ci/github-actions-ci.yml
Activating it under .github/workflows/ requires a GitHub token or user action
with workflow scope.
RepoKernel has completed its first controlled no-write diagnostic loops. The current result:
mechanical no-write safety: passed
semantic retrofit usefulness: improved after A2 patch
apply/runtime/public production readiness: blocked
Current review and implementation sources:
The diagnostic evidence is not proof of production installation in a third-party repository.
files present != semantics valid
local tests passed != hosted CI
CI configured != CI has passed on your fork
structure ready != contract conformant
runtime present != authority granted
pilot procedure ready != pilot passed
Evidence is valid only for the package, source revision, contract versions and target snapshot it records.
Blocked until later reviewed gates:
apply to target repositories;
automatic overwrite;
network or credential handling;
PR/issue creation;
public production claims;
Seed/THIA/Lab promotion;
executable L3 runtime;
autonomous project writes.
Privacy-safe feedback is described in docs/feedback.md. Do not share credentials, private source documents, client material or full repository dumps.
RepoKernel is not unrestricted autonomous modification, a guarantee of correct AI behavior or a replacement for project ownership and review.
MIT. See LICENSE.