Public docs

Martenweave Architecture

Martenweave is backend-first and local-first. The core design is intentionally simple: canonical files are truth, generated artifacts are acceleration, and changes are reviewable.

Architecture Loop

Input artifacts
  -> canonical model files
  -> deterministic validation
  -> generated index
  -> gap / impact / health reports
  -> AI patch proposals
  -> human approval
  -> trusted model evolution

Canonical Files

Canonical model objects are stored as Markdown files with YAML frontmatter.

Examples of object concepts:

These files are human-readable, Git-friendly, and safe to inspect without a product UI.

Generated Indexes

Generated artifacts are disposable.

They can include:

If generated artifacts disagree with canonical files, canonical files win.

Deterministic Validation

Validation runs before trusted indexing and reporting.

Checks include:

Reports And Model Intelligence

Martenweave can produce practical outputs from the model:

AI Proposal Flow

AI does not own the model.

AI can help convert unstructured evidence into a structured PatchProposal. The proposal is validated, reviewed, and approved before canonical files change.

note / ticket / validation finding
  -> evidence summary
  -> PatchProposal
  -> deterministic validation
  -> diff / impact review
  -> human approval
  -> ChangeRequest
  -> canonical update

Interfaces

The current core is CLI/backend-first:

A UI can be useful later, but the model truth should not depend on the UI.