This page is generated from the repository notes graph. Edit the source notes instead of this generated block.

Source Notes

0.4.0 Architecture Shift

  • Note ID: 20260420110000

  • Source: notes/0.4.0 Architecture Shift.md

cx 0.4.0 marks a transition from a Repomix-adapter system to a kernel-owned architecture.

Agent Note Review Loop

  • Note ID: 20260419164500

  • Source: notes/Agent Note Review Loop.md

Agent-driven note mutation is a full review loop, not a single write operation: inspect through MCP first, enable mutation intentionally, write durable notes, then run cx notes check and graph review before trusting the updated cognition…​

Agent Operating Model

  • Note ID: 20260417150000

  • Source: notes/Agent Operating Model.md

cx-cli provides three complementary workflows: Bundle (immutable snapshots), MCP (live interactive), and Notes (durable knowledge). Each serves a different use case and has distinct policy guarantees.

Antora and AsciiDoctor Adoption Boundary

  • Note ID: 20260420183000

  • Source: notes/Antora and AsciiDoctor Adoption Boundary.md

Antora and AsciiDoctor now define the curated documentation surface through a standard Antora component rooted at docs/, with docs/antora.yml, docs/modules/ROOT/pages/, and a separate local UI bundle under docs/ui/, not every text artifa…​

arc42 as Architecture Spine

  • Note ID: 20260420183100

  • Source: notes/arc42 as Architecture Spine.md

arc42 fits the architecture and contract layer of cx well, but it should be used as the spine of the curated architecture corpus rather than as the structure for the whole repository.

Bundle Extraction Safety Invariants

  • Note ID: 20260415162500

  • Source: notes/Bundle Extraction Safety Invariants.md

cx restoration ensures that files extracted from a bundle are exactly as they were captured during the planning phase, preventing degraded or corrupted files from entering a project.

Bundle Index Rename To Shared Handover

  • Note ID: 20260420122000

  • Source: notes/Bundle Index Rename To Shared Handover.md

The current term "bundle index" is now too narrow because the file already acts as a shared handover artifact for both humans and agents, not just a lookup-oriented section listing.

Bundle Sidecar Integrity

  • Note ID: 20260415162000

  • Source: notes/Bundle Sidecar Integrity.md

cx uses SHA-256 sidecars and manifest-level checksums to ensure the integrity of a bundle from the moment it is created until it is extracted or verified.

Bundle Verify Extract Workflow Contract

  • Note ID: 20260420124300

  • Source: notes/Bundle Verify Extract Workflow Contract.md

The bundle to verify to extract path is a contract, not just a convenient command sequence.

Choose Your Operating Mode

  • Note ID: 20260419104000

  • Source: notes/Choose Your Operating Mode.md

cx needs a single front-door explanation that tells operators which surface to use before they learn the deeper internals.

CLI Command Lifecycle

  • Note ID: 20260415163000

  • Source: notes/CLI Command Lifecycle.md

The CLI command lifecycle in cx is built on yargs and a centralized command dispatch model.

Config Inheritance and Overlays

  • Note ID: 20260415160500

  • Source: notes/Config Inheritance and Overlays.md

cx configuration follows a deterministic loading and inheritance pipeline that enables colocated overlays (like cx-mcp.toml) without repeating the entire cx.toml baseline.

Config Merge Model

  • Note ID: 20260417165000

  • Source: notes/Config Merge Model.md

Configuration files often inherit from parent configs: Organization-level defaults → Project-specific overrides System-wide settings → User-local tweaks Pipeline defaults → Job-specific exceptions

CX Constitution

  • Note ID: 20260420120000

  • Source: notes/CX Constitution.md

The CX Constitution defines the non-negotiable rules of the system.

CX Notes Layered Source of Truth

  • Note ID: 20260425130000

  • Source: notes/CX Notes Layered Source of Truth.md

cx must enforce a layered source-of-truth model instead of treating all repository text as equally authoritative.

CX Obsidian Is a Human Lens

  • Note ID: 20260425130900

  • Source: notes/CX Obsidian Is a Human Lens.md

Obsidian is a human navigation lens for the note graph, not the authority for repository semantics.

CX Triad

  • Note ID: 20260415123000

  • Source: notes/CX Triad.md

The CX architecture is built upon a triad specifically designed for operational bundling rather than just exploratory context generation. The triad consists of:

Developer Command Workflow

  • Note ID: 20260417105501

  • Source: notes/Developer Command Workflow.md

make test is the fast local feedback loop, make verify is the normal pre-merge gate, and make release VERSION=vX.Y.Z is the repository-local two-phase release wizard. Keeping those roles separate keeps the common command quick while maki…​

Friday Night Monday Morning Provenance

  • Note ID: 20260419111000

  • Source: notes/Friday Night Monday Morning Provenance.md

Provenance becomes convincing when shown across time instead of as a static label.

Friday To Monday Workflow Contract

  • Note ID: 20260420124200

  • Source: notes/Friday To Monday Workflow Contract.md

The Friday-to-Monday path is a workflow contract for turning live investigation into a trusted handoff.

GitHub Actions Triggers

  • Note ID: 20260417112000

  • Source: notes/GitHub Actions Triggers.md

The CI workflow runs on every branch push and on pull requests, but not on v* tag pushes. Tag finalization belongs to the release workflow instead of the main CI pipeline. Pages publishes the unified /schemas/ and /coverage/ site from su…​

Internal API Stabilization

  • Note ID: 20260420120400

  • Source: notes/Internal API Stabilization.md

The system must stabilize internal interfaces before adding plugins.

Kernel vs Extension Boundary

  • Note ID: 20260420110800

  • Source: notes/Kernel vs Extension Boundary.md

The system enforces a strict separation between kernel and extensions.

Layered Truth Model

  • Note ID: 20260425120000

  • Source: notes/Layered Truth Model.md

The layered truth model keeps repository cognition explicit: notes preserve intent truth, specs preserve executable rule truth, code preserves implementation truth, tests preserve behavioral truth, and docs preserve communication truth.

MCP Import Graph Diagnostics

  • Note ID: 20260419162500

  • Source: notes/MCP Import Graph Diagnostics.md

Vitest UI is unusually valuable for MCP performance investigation because the MCP stack is registration-heavy and spread across src/cli/commands/mcp.ts, src/mcp/server.ts, src/mcp/policy.ts, src/mcp/workspace.ts, and the tool-registratio…​

MCP Note Review Workflow

  • Note ID: 20260415153000

  • Source: notes/MCP Note Review Workflow.md

When reviewing repository notes, use manifest-first selection and live MCP note tools instead of opening every Markdown file.

MCP Read Path Contract

  • Note ID: 20260420124400

  • Source: notes/MCP Read Path Contract.md

The MCP read path must remain available as the primary live exploration workflow.

MCP Transport Protocol

  • Note ID: 20260415160000

  • Source: notes/MCP Transport Protocol.md

cx implements the Model Context Protocol (MCP) over a standard input/output (stdio) transport layer.

MCP Vitest UI Cockpit

  • Note ID: 20260419162000

  • Source: notes/MCP Vitest UI Cockpit.md

The MCP test and debug cockpit is a dedicated Vitest UI entrypoint for the MCP-heavy suite, not a generic replacement for the Bun lanes. It exists so operators can rerun MCP failures interactively, inspect coverage inside the UI, and tra…​

MCP Vitest UI Troubleshooting

  • Note ID: 20260419171500

  • Source: notes/MCP Vitest UI Troubleshooting.md

The MCP Vitest UI troubleshooting flow is intentionally small: use the broad MCP cockpit when you need coverage and import visibility across the MCP boundary, and switch to the adversarial cockpit when the failure is explicitly about sta…​

Operational Bifurcation

  • Note ID: 20260415171000

  • Source: notes/Operational Bifurcation.md

cx uses a unified deterministic identity model but bifurcates operation into two distinct paths: Track B generates hypotheses against live state, while Track A generates proof that can survive review, CI, and handoff.

Parallel Rendering Invariants

  • Note ID: 20260413153645

  • Source: notes/Parallel Rendering Invariants.md

Parallel rendering improves continuous integration throughput without changing deterministic output.

Plan: Note Coverage and Sync Audit

  • Note ID: 20260415164500

  • Source: notes/Note Coverage and Sync Plan.md

This plan outlines the steps to bring the notes/ directory into full alignment with the project’s complexity and current implementation.

Planning Boundary Enforcement

  • Note ID: 20260415161000

  • Source: notes/Planning Boundary Enforcement.md

cx enforces a strict repository boundary during bundle planning and live MCP sessions. This prevents sensitive files from leaking into the agent context or the final bundle.

Product Tiering Model

  • Note ID: 20260417143000

  • Source: notes/Product Tiering Model.md

cx-cli tools are organized into four stability tiers: STABLE, BETA, EXPERIMENTAL, and INTERNAL. This model lets operators understand which tools have locked APIs and which may evolve, and it now applies explicitly to the …​

Proof Path Ownership

  • Note ID: 20260420121300

  • Source: notes/Proof Path Ownership.md

The proof path is kernel-owned so render identity, verification, and extraction safety remain auditable even as helpers, plugins, and migration scaffolding evolve around the kernel.

Render Kernel Constitution

  • Note ID: 20260420110100

  • Source: notes/Render Kernel Constitution.md

The render kernel defines the proof-path behavior of cx.

Repomix Adapter Boundary

  • Note ID: 20260415123500

  • Source: notes/Repomix Adapter Boundary.md

cx strictly isolates its rendering backend using the Repomix Adapter Boundary. The system does not shell out to Repomix via the OS; instead, it uses a narrow in-process module boundary to maintain synchronous, deterministic control over …​

Repomix Decommission Strategy

  • Note ID: 20260420110600

  • Source: notes/Repomix Decommission Strategy.md

Repomix was a temporary compatibility layer during the render-kernel migration, and that decommissioning work is now closed for v0.4.

Repository Cognition Layer

  • Note ID: 20260419153000

  • Source: notes/Repository Cognition Layer.md

The notes graph is the repository cognition layer: durable reasoning that agents and humans can query safely only if the graph keeps strong signal-to-noise, summary-first routing, and bounded note size.

Safe Note Mutation Workflow

  • Note ID: 20260419112000

  • Source: notes/Safe Note Mutation Workflow.md

Safe note mutation is a two-part workflow: explicit authority first, graph review second.

Safe Note Mutation Workflow Contract

  • Note ID: 20260420124500

  • Source: notes/Safe Note Mutation Workflow Contract.md

Safe note mutation is a contract because cognition changes must stay reviewable and bounded.

Section Ownership and Overlaps

  • Note ID: 20260415161500

  • Source: notes/Section Ownership and Overlaps.md

cx uses a precise ownership model to distribute files from the master list into named sections. A conflict arises when two or more sections match the same file path.

Structured Render Contract

  • Note ID: 20260417165100

  • Source: notes/Structured Render Contract.md

  • Code refs: src/bundle/verify.ts

The original render span computation relied on heuristic parsing of rendered output: Markers (XML tags, Markdown headings, plain-text delimiters) were parsed post-render Span calculations were indirect inference, not direct observati…​

System Trust Contract

  • Note ID: 20260419200000

  • Source: notes/System Trust Contract.md

cx stays trustworthy only if cognition quality, boundary rules, and trust labels remain explicit. A parseable note is not automatically reliable knowledge, Track B exploration is not automatically Track A proof, and agent output is not a…​

Test Strategy Hardening

  • Note ID: 20260419093000

  • Source: notes/Test Strategy Hardening.md

  • Code refs: .github/pull_request_template.md, src/notes/validate.ts, tests/README.md, tests/VERIFY_AGAINST_AUDIT.md, tests/mcp/server.run.test.ts, tests/unit/configLoad.property.test.ts

The suite had excellent real-world coverage but too much unit-level dependence on filesystem setup. That made core logic tests slower and more fragile than they needed to be.

Trust Spectrum Model

  • Note ID: 20260420130100

  • Source: notes/Trust Spectrum Model.md

cx models trust as a spectrum rather than a binary state.

Two-Phase Release Protocol

  • Note ID: 20260419194000

  • Source: notes/Two-Phase Release Protocol.md

cx-cli release management should separate preparation from publication. develop prepares the versioned candidate and absorbs release-fix commits until the full CI and release-assurance surface is green. The release tag then finalizes tha…​

Workflow Contracts

  • Note ID: 20260420124100

  • Source: notes/Workflow Contracts.md

Operator workflows should be treated as contracts when later automation depends on them.