This document is intentionally mirrored in CLAUDE.md and AGENTS.md.
This file is the map β keep it short (~100 lines). Deeper repo-native
context lives in docs/, while the public reader-facing docs surface lives in
site/.
- Repository Docs Map β audience routing for
site/vsdocs/ - Core Beliefs β kernel and engineering principles
- Layered Kernel Design β layered model and boundary rules
- Roadmap β stage-based milestones and acceptance criteria
- Reliability β invariants and operating expectations
- Product specs and implementation plans now live in
eastreams/knowledge-base(seedocs/README.mdfor routing) - Contributing Guide β contributor workflow and recipes
contracts (leaf β zero internal deps)
βββ kernel β contracts
βββ protocol (independent leaf)
βββ bridge-runtime β contracts, kernel, protocol
βββ app β contracts, kernel
βββ spec β contracts, kernel, protocol, bridge-runtime
βββ bench β contracts, kernel, spec
βββ daemon (binary) β all of the above
Non-negotiable: no dependency cycles. See Core Beliefs. Current tracked deviations: none.
Taskfile.yml provides optional convenience wrappers through the task CLI.
If task is unavailable, run the underlying cargo and scripts/* commands
directly.
- Format check:
./scripts/cargo-local-toolchain.sh fmt --all -- --check - Strict lint:
./scripts/cargo-local-toolchain.sh clippy --workspace --all-targets --all-features -- -D warnings - Architecture check:
./scripts/check_architecture_boundaries.shortask check:architecture - Convention check:
task check:conventions(optional wrapper; requires Go + convention-engineering skill) - Test all features:
./scripts/cargo-local-toolchain.sh test --workspace --all-features - Canonical verify:
task verify(optional wrapper around repo verification steps) - Extended verify:
task verify:full(optional wrapper around the extended local gate)
- Kernel contracts are backward-compatible. No breaking changes without documented decision.
- All execution paths route through kernel capability/policy/audit. No shadow paths.
- Strict lint and all-feature tests pass at every commit.
- Never commit credentials, tokens, or private endpoints.
- Keep
CLAUDE.mdandAGENTS.mdmirrored in the same change. - Before every commit, run CI-parity checks. Any manual edit after fmt must be re-checked.
- Every released version must map to
docs/releases/vX.Y.Z.mdwith process log and detail links. - Local agent debug context for a release should be recorded in
.docs/releases/vX.Y.Z-debug.md. - Public-repo issues, PRs, and public-doc wording should stay Loong-centric; keep detailed external project comparisons in
eastreams/knowledge-baseunless naming an external project is strictly necessary.
CI enforces:
./scripts/cargo-local-toolchain.sh fmt --all -- --check./scripts/cargo-local-toolchain.sh clippy --workspace --all-targets --all-features -- -D warnings./scripts/cargo-local-toolchain.sh test --workspace./scripts/cargo-local-toolchain.sh test --workspace --all-features
cp scripts/pre-commit .git/hooks/pre-commit && chmod +x .git/hooks/pre-commitRuns CI-parity cargo checks before each commit.
Use task verify when the task CLI is installed. Otherwise run the
underlying scripts/cargo-local-toolchain.sh and scripts/* verification
commands directly.
| Need | Go to |
|---|---|
| Architecture overview & crate DAG | ARCHITECTURE.md |
| Repository docs layering | docs/README.md |
| Core principles | docs/design-docs/core-beliefs.md |
| Layered architecture | docs/design-docs/layered-kernel-design.md |
| Design decisions, patterns & catalog | docs/design-docs/index.md |
| Harness engineering | docs/design-docs/harness-engineering.md |
| Roadmap | docs/ROADMAP.md |
| Reliability invariants | docs/RELIABILITY.md |
| Security model & gaps | docs/SECURITY.md |
| Product sense & principles | docs/PRODUCT_SENSE.md |
| Release process conventions | docs/releases/README.md |
| Product requirements / implementation plans | eastreams/knowledge-base |
| Repository support references | docs/references/README.md |
| Contributing recipes | CONTRIBUTING.md |