-
Notifications
You must be signed in to change notification settings - Fork 0
Repository Map.md
KFM uses a responsibility-root monorepo. A path is an authority claim: the root states which responsibility may own and mutate the artifact. Domains, sources, places, and object families refine that responsibility inside the root; they do not create new top-level roots.
Kansas-Frontier-Matrix/
βββ .github/ GitHub platform orchestration and review routing
βββ apps/ deployable applications
βββ configs/ non-secret configuration
βββ connectors/ source acquisition and admission edges
βββ contracts/ semantic meaning and invariants
βββ control_plane/ machine governance projections and indexes
βββ data/ lifecycle and accountability instances
βββ docs/ human doctrine, decisions, architecture, and guidance
βββ examples/ runnable public-safe demonstrations
βββ fixtures/ deterministic valid, invalid, denied, and golden inputs
βββ infra/ deployment and exposure infrastructure
βββ migrations/ versioned migrations and rollback definitions
βββ packages/ reusable non-deployable implementation
βββ pipeline_specs/ declarative pipeline definitions
βββ pipelines/ executable lifecycle transformations
βββ policy/ allow, deny, restrict, hold, and abstain rules
βββ release/ release, correction, withdrawal, and rollback decisions
βββ runtime/ bounded local/runtime adapters
βββ schemas/ machine-checkable shapes
βββ scripts/ thin operational helpers
βββ tests/ executable conformance evidence
βββ tools/ validators, generators, builders, and operators
The current repository also documents artifacts/ as a compatibility/generated-output transition, catalog/ as a deprecated containment root frozen to new writes, and src/ as conditional. Read the current root README and Directory Rules before acting.
| Question | Owning root |
|---|---|
| Explain it to humans | docs/ |
| Index governance for machines | control_plane/ |
| Define what an object means | contracts/ |
| Define its machine-checkable shape | schemas/ |
| Decide whether use or exposure is allowed | policy/ |
| Prove a rule or behavior is enforceable |
tests/ and fixtures/
|
| Build or validate repository state | tools/ |
| Operate a small helper | scripts/ |
| Run a deployable service or UI | apps/ |
| Share reusable implementation | packages/ |
| Fetch or admit an external source | connectors/ |
| Execute or declare a pipeline |
pipelines/ and pipeline_specs/
|
| Store lifecycle, evidence, receipts, proofs, catalog, or published instances | the correct data/ lane |
| Record a release, correction, withdrawal, or rollback decision | release/ |
Before creating, moving, renaming, or deleting a path:
- Identify the artifact kind.
- Identify exactly one authority owner.
- Choose the candidate responsibility root.
- Apply exclusions for lifecycle, execution role, exposure, mutability, and retention.
- Add domain, source, geography, seam, or object-family scope only after the root is fixed.
- Check existing canonical, compatibility, generated, and legacy homes.
- Check dependency direction.
- Emit one finite result:
PLACE,SPLIT,MIGRATE,MIRROR,HOLD, orDENY.
"Probably here" is not a governed placement result.
Hydrology is a domain, not a root:
docs/domains/hydrology/
contracts/domains/hydrology/
schemas/contracts/v1/domains/hydrology/
policy/domains/hydrology/
fixtures/.../hydrology/
tests/domains/hydrology/
pipelines/.../hydrology/
data/raw/hydrology/
data/work/hydrology/
data/processed/hydrology/
data/catalog/hydrology/
data/published/hydrology/
These are illustrative responsibility segments. Verify exact current conventions before creating a path.
docs/wiki/ belongs under docs/ because it explains the project to humans. It does not own native-wiki platform settings, machine indexes, doctrine, policy, evidence, release, or publication. The native GitHub Wiki is a derived public projection, not a new KFM authority root.