SynaWeave is a governed, multi-surface repository for a knowledge-weaving learning platform. The platform combines the following under a shared architecture and contract model:
apps/ — runtime homes reserved for extension, web, api, ingest, ml, mcp, and evalpackages/ — shared TypeScript primitives and contractspython/ — shared intelligence modules and data-processing foundationsinfra/ — deployment, policy, and observability envelopestesting/ — quality taxonomy and verification layerstools/ — local checks and governance automationdocs/ — canonical technical docs, planning, ADRs, and governance-linked specificationsThe reserved homes for web, API, ingest, MCP, ML, and evaluation exist as empty scaffold placeholders in Deliverable 1. Their presence preserves governed runtime boundaries without claiming bootable application maturity.
cp .env.example .env
bun run hooks:install
python3 -m tools.dev.sync_environment sync
python3 -m tools.verify.main
bun run verify
bun run hooks:install installs the repo-owned local git hooks into .git/hooks for this clone. The install is manual, so run it after cloning or when hook files change.
python3 -m tools.dev.sync_environment sync refreshes the local Bun toolchain plus Python dependencies from package.json, bun.lock, and requirements-dev.txt, then records a git-local sync stamp under .git/. When the repo owns .venv/bin/python3, the sync command installs Python dependencies there before falling back to the invoking python3.
python3 -m tools.verify.main is the baseline repository-control gate.
bun run verify is the full local gate for linting, typechecking, tests, and repo-control verification.
The local hook set keeps contributor feedback close to the workstation:
commit-msg enforces the governed commit-message contract before a commit landspost-checkout, post-merge, and post-rewrite auto-sync Bun tooling and only auto-install Python dependencies when the repo owns .venv/bin/python3; otherwise they warn to run the canonical sync command manuallypre-commit warns on stale local environment state, then runs staged Betterleaks scanning plus the protected-surface verification lanepre-push blocks stale local environment state before tracked-file Betterleaks scanning and the full verification gateInstalling the hooks reduces PR churn by catching commit, security, and repo-control issues before review.
Create any app-level dependencies only after checks pass and the owner docs are aligned.
docs/templates/ when a recurring doc shape changes across more than one governed artifactCONTRIBUTING.md.docs, apps, packages, testing, infra, python).This project currently uses a GNU General Public License family license as defined by LICENSE.
The full license text is in LICENSE.
AGENTS.mdGOVERNANCE.mdCONTRIBUTING.mdCODE_OF_CONDUCT.mdSECURITY.mdCLA.mdNOTICETRADEMARKS.md