Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 3.35 KB

README.md

File metadata and controls

20 lines (17 loc) · 3.35 KB

Tweakloop documentation

The architecture/ directory is the authoritative design. Code must comply with it; deviations require updating the architecture (and the relevant ADR) first.

Reading order

  1. product-vision.md — why Tweakloop exists: the gap analysis vs session-oriented review tools, structured intent, the revision graph, verification as a first-class concern.
  2. prd.md — problem, users, product definition, the v0.1 vertical slice as acceptance criteria, phased requirements, non-goals, success criteria and falsifier.
  3. design-principles.md — the eight design laws, domain coding constraints, dependency direction, and per-feature build discipline in working-summary form.
  4. ubiquitous-language.md — the shared vocabulary (artifact vs file, claim vs lease, verification vs acceptance, event vs command, ...). Use these words exactly, in code and prose.
  5. cli-reference.md — the complete public CLI: checkout/installed/npx invocation order, workspace and identity selection, every public leaf command, and finite JSON versus JSONL output.
  6. architecture/ — the authoritative design, split into 16 numbered chapters (architecture/README.md is the chapter index):
  7. adr/ — the twelve founding architecture decision records, each with context, decision, alternatives rejected, consequences, falsifier, and migration path:
    • ADR-001 Immutable facts and rebuildable projections · ADR-002 One daemon and serialized transactor per workspace · ADR-003 SQLite plus content-addressed objects · ADR-004 Project/workspace/artifact/revision identity
    • ADR-005 Separate shell and artifact origins · ADR-006 Versioned command/event/bridge schemas · ADR-007 Typed intents with free-form fallback · ADR-008 Durable claims with ephemeral leases
    • ADR-009 Semantic IDs and explicit orphaning · ADR-010 Agent execution outside the daemon · ADR-011 POST commands plus SSE · ADR-012 No CRDT, cloud sync or plugin runtime in v0.1