Skip to content

feat(architecture): spine — target shape, guardrails, decisions #950

Closed

Description

@Sinity

Summary

A durable architecture document that records the project's target shape: where each subsystem belongs, the guardrails enforced by manifests/lints, and the major decisions that explain why the shape is what it is.

Why

The codebase has accumulated multiple manifests in `docs/plans/` (layering, file budgets, topology, campaign coverage, suppressions, migrations) plus enforced lints in `devtools verify`. The narrative of why this shape exists, what's load-bearing, and where the next move is, is scattered across PRs and ad-hoc docs. New contributors and future-self both need a single anchor.

Acceptance criteria

  • `docs/architecture-spine.md` (or equivalent) describing:
    • Four rings (substrate, derived read models, surfaces, verification) with concrete module references
    • Guardrails: every `docs/plans/*.yaml` listed with the lint that enforces it and the failure-mode it prevents
    • Major decisions log: schema-versioning model, content-hash invariants, FTS triggers, blob CAS, daemon convergence, MCP role split, browser-capture topology — each with the alternative rejected and the constraint that picked the winner
  • Cross-link from `CLAUDE.md`, `README.md`, and the docs index
  • Renderable from `devtools render-all` (so drift surfaces in `devtools verify --quick`)

Out of scope

  • Refactoring the architecture itself (this issue captures, not changes)
  • Any individual subsystem deep-dive (link out instead)

Activity

  1. Sinity commented on May 8, 2026

    @Sinity
    OwnerAuthor

    Closing: architecture spine created at docs/architecture-spine.md. Covers: four rings with module references, guardrails (every docs/plans/*.yaml → lint mapping), major decisions log (schema versioning, content hash, FTS, blob store, daemon convergence, MCP roles, browser capture) with rejected alternatives. Cross-linked from architecture.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions