Skip to content

Meridian local traceability pilot ​

Status: proposed for independent review and explicit Project Owner approval. The Project Owner authorized preparation of the local-first plan on 2026-12-04 and deferred cloud execution and cloud data. Implementation authorization is pending. Record the approved design revision and the owner's decision before starting an implementation PR.

1. Product decision and acceptance criteria ​

An engineer preparing a change needs to show which approved requirement it implements, what verified the behavior, and who accepted the reviewed revision. Today those facts can be assembled from requirements, Git, tests and reviews. Feature Brief criteria are text entries and the tools do not require a shared criterion identifier. An outdated branch can therefore carry a green result for an earlier requirement.

Prove one local, read-only path in one disposable repository and one feature. Use two or three criteria. Include one keyboard-operable UI scenario, such as a failed operation that offers a clear next action and returns focus when the user retries. Synthetic data is sufficient. The feature fixture and its exact criteria are approved during design review. Evidence captured from a fixture must identify that source.

IDPilot acceptance criterion
MER-AC-01From an approved criterion, find the approved design revision, work item, tested revision, PR, check result and independent review decision. The reverse lookup from the reviewed change returns the same criterion and revision.
MER-AC-02Missing evidence, failed checks, stale requirements, unverified approvals and a changed PR head remain distinguishable. Only applicable evidence for the selected revisions can satisfy the reporting policy.
MER-AC-03A changed requirement reports the impacted tasks, tests and approvals. Historical records preserve the version they applied to. A change to one criterion leaves unaffected siblings applicable when their source version and evidence are unchanged.
MER-AC-04A reader can rerun the report locally with the same validated inputs and obtain the same result. Legacy briefs remain readable and unmapped. Duplicate, mismatched and out-of-scope references fail validation or appear as explicit gaps.
MER-AC-05The pilot exposes both a passing technical check and a separate human evaluation for its UX criterion. The evidence view has a readable text representation with status labels and keyboard-operable navigation where a UI is in scope.

The first delivery is evidence and workflow validation through an existing local surface. C2/C3 own assignments and execution authorization. C4 owns quality and deployment observations. C5 and C6 cover future coordination and delivery capabilities. No cloud data, remote runner, provider write, new package, new service, shared database, agent self-approval or automatic merge is in scope. P1K, Neutron mutation gates, Desktop release and Inloom keep their existing approval and sequencing.

2. Current and proposed boundaries ​

Verified baseline: main at 26bb7862af86768830c778f6780e8837269faaf8.

  • Feature Intent prepares a read-only feature view, scope and implementation alternatives. The Feature Brief schema has a feature ID and acceptance criteria strings. Its schema version identifies the format.
  • Git/provider evidence and conformance provide observations of a change. Neutron has an executable local read-only graph and separate host-mediated mutation. The CLI legacy subagent record is a different entry point.
  • CLI, Desktop, TUI and MCP use existing application boundaries. Desktop uses a versioned daemon protocol. Refer to the canonical architecture and domain modeling rules.
mermaid
flowchart LR
    B["Current: Feature Brief and Feature Intent"] --> P["Prepared plan and scope"]
    G["Current: Git, checks and review evidence"] --> T["Timeline and conformance"]
    N["Current: Neutron graph"] --> X["Local execution and host-controlled Apply"]
    B -. "Proposed C1: approved criterion reference" .-> W["Work item and design reference"]
    W -. "Proposed C1: explicit evidence links" .-> M["Local traceability projection"]
    G -. "Proposed C1: validated observations" .-> M
    M --> C["Existing client surface"]

Git-versioned project artifacts own requirements and acceptance criteria. An approved design belongs to the existing design/governance boundary. C1 owns work relationships and computes a traceability projection from those relationships and read-only observations. Neutron owns execution and its capability policy. The provider owns its own check, review and delivery observations. Client views display those facts. The projection cannot issue an approval, grant a capability or trigger execution.

Keep the use case within the existing application context. Put durable wire contracts in the existing protocol and validation in its established validator boundary when the consumer calls for them. The CLI is the suggested first consumer. Desktop can reuse the same semantics in the existing Feature Intent, Diff Review and Timeline presentation after client contract review. Do not add an IPC operation for a CLI-only pilot. Do not have a client parse CLI display text or independently calculate acceptance. Follow repository dependency direction and the existing file/function budgets.

3. References, data ownership and lifecycle ​

The shapes below are logical contracts for review. Exact schema placement and names follow the approved implementation design and the existing owners.

Logical recordRequired informationOwner and invariant
Requirement revisionProject/repository identity, stable requirement ID, immutable Git revision and artifact path, criterion IDs and source contentProject Owner or delegated human requirements owner. IDs survive edits. Approval identifies the exact revision and actor
Work linkStable work item ID, criterion reference, design revision, status, test scenario referenceC1 work graph. An agent can propose a link and resolve the authoritative criterion. A proposed plan grants no execution authority
Change and test observationProvider/repository, change ID, exact head and check target SHA, check/run ID, outcome, source referenceEvidence adapters. Compare the tested revision with the reviewed revision. Show a gap when the link between a synthetic merge SHA and the head is unverified
Review and acceptance evidenceReview ID, actor, observed state, reviewed SHA and applicable approval policy revisionHuman authority and provider observation. CI cannot meet the human gate. Self-review and unverified actor claims cannot satisfy independent review
Traceability resultLinked records, revision, source and status of each edge, evidence gaps, affected downstream itemsDerived local read model. Can be recomputed and conveys no mutation or approval authority

Start with versioned local artifacts and existing imported evidence or fixture inputs. Read immutable revisions through established host boundaries. Keep acceptance text in its source artifact. A context excerpt may carry the source reference and digest. Derived projection can be rebuilt from source and needs no shared store for the pilot. Use stable ordering and validated identities. Identical duplicate observations are idempotent. Conflicting observations for the same identity need explicit resolution.

A criterion revision moves from proposed to approved through a recorded human decision. A work item references the approved revision. The projection reports planned, observed, verified, missing, failed, stale or unknown evidence. Revisions and statuses of separate links must remain inspectable. When the accepted source advances, compare each criterion's identity and version. If an artifact revision changes without changing a sibling criterion, preserve that sibling's applicability only with deterministic evidence of equivalence or an explicit carry-forward decision. A PR update requires evidence applicable to its current review head. Keep earlier data available for historical inspection. Never carry forward an approval solely because a label or title matches.

mermaid
sequenceDiagram
    participant O as Human owner
    participant A as Local application
    participant S as Versioned project artifacts
    participant G as Provider evidence
    participant C as Client
    O->>S: Record approval of requirement and design revisions
    C->>A: Request trace for the selected criterion
    A->>S: Resolve pinned criterion and work links
    A->>G: Resolve check and review observations from local evidence
    alt Sources are applicable and the reviewer is authorized
        A-->>C: Return linked evidence and verified summaries
    else Criterion or reviewed head changed
        A-->>C: Return stale links and the affected work items
    else Required evidence is missing, invalid or ambiguous
        A-->>C: Return explicit gaps and reason codes
    end

Trust, failure and rollback ​

  • Canonical requirements, ADRs and policy take precedence over retrieved memory, prompts and imported evidence. Text from a task, test log or review remains untrusted data. It cannot change a criterion, grant or approval.
  • Scope every lookup to the canonical project and known repository identity. Validate paths, revisions, artifact provenance and evidence structure. Exclude credentials and raw private logs from the read model. Resolve identities through trusted evidence. Mark absent evidence explicitly.
  • Bound input size, link counts and traversal for the small pilot. Avoid background processes and polling. Local reads may be cancelled. Failed or interrupted reads leave sources intact and the user may rerun the projection. There is no workflow replay or automatic retry loop in C1.
  • Keep older Feature Briefs readable. Legacy criteria stay unmapped until approved IDs are supplied. Do not infer identity from text or rewrite existing briefs automatically. Roll back by reverting the pilot consumer and disabling its projection. Keep Git history and previous evidence.

Alternatives and trade-offs ​

  1. Manual PR references require the least work and establish an immediate baseline. They rely on people for cross-revision validation and reverse lookup.
  2. Versioned local links and a derived projection are recommended. They provide repeatable validation and preserve local authority with little operational overhead. They require a small compatibility contract and explicit maintenance of links.
  3. Shared graph store or remote control plane could synchronize queues and approvals across hosts. It would also require identity, privacy, conflict resolution and operations decisions. Keep it as a future C5/C6 option.

If future demand justifies hosted support, first evaluate remote coordination of narrowly scoped metadata with local execution. Remote execution is a separate later option. Preserve local offline use and keep execution behind the existing boundaries. No new cloud interfaces or data infrastructure are needed for this pilot. A later ADR must settle who owns synced state, what data may leave the device, access revocation and reconnection behavior.

4. Verification design ​

Record a real baseline and the exact commit before implementation. Use the test planning rules and lifecycle verification statuses. For new behavior observe a targeted failure before production code and explain why it fails. For behavior-preserving moves use characterization tests that pass on the baseline. Retain the same assertion when obtaining Green. Review changes to expected results or gating criteria independently.

CheckCoverage and evidence
Pure contract and projection testsStable IDs, pinned revisions, legacy compatibility, duplicate and conflicting inputs, unresolved references, deterministic ordering
Integration fixture through the chosen clientBoth navigation directions, changed PR head, unrelated test SHA, missing reviewer, manual and automated evidence, stale criterion and unaffected sibling
Trust and recovery testsWrong repository/root, unauthorized actor, forged or stale approval, bounded input, cancellation and repeated read with identical output
Accessibility and UXText alternative for linked evidence with explicit status and reason. If Desktop UI is in scope, verify keyboard order, focus after reload/error, screen-reader labels, scaling and the actual user task with a human reviewer. Record the tested environment
Verification and integration gateNamed targeted runs and pnpm verify for the implementation revision. Record checks on PR head and resulting main separately. Caller parity applies to every delivered client

5. Agent delivery sequence ​

At the start of each PR, verify main and read Project State, the current Duty Watch and applicable governance. Record triage, responsibility, affected boundary, stop condition and exact evidence. Use the implementation scope and check whether an existing use case or public contract already provides the required behavior. Excessive coupling, wider authority or an unapproved architecture change requires returning to design review.

OrderWork and existing ownerExit gate and handoff
0Stabilization gate and enterprise phases 0–3. Confirm their status from main and explicit owner decisions. Approval for this PR covers planningRecord satisfied prerequisites and the exact slice authorized. Report missing prerequisites. Prepare a focused design for a missing prerequisite after owner direction
1C1 pilot. Approve an exact Design First revision and fixture. Implement revision links, a read-only projection and the narrowest client path in separate scoped changes if neededMER-AC-01 through MER-AC-05 are demonstrated. Record tested SHA, reviewer and stale/missing evidence. The owner decides if baseline quality is sufficient to continue
2C4 read-only quality and review evidence. Reuse harness, conformance and existing review surfaces. Model the finding and its human resolution before adding automationOne finding preserved end-to-end, exactly scoped pending/verified evidence and a separately recorded UX result. Any later remediation automation starts with one reversible class and one attempt, bounded by scope, time, tokens and cost. Repeated failure escalates
3C2 assignment and handoff, then C3 bounded collaboration. Model two developers and two agents locally. Approve worktree, lease, isolation, restart and integration behavior before code changesTwo independent tasks, one rejected conflict, one stale lease/restart test and one reviewed integration. Shared contract ownership and host-only approval remain explicit
4C4 staged delivery observations and optional Desktop evidence views as needed. C5/C6 remain future workLink approved revision, artifact identity and observed result. Display unknown or missing evidence. Actual delivery actions and cloud work have separate approval gates

The early C4 evidence exercise can follow C1 without waiting for parallel execution. It must not depend on unapproved C2/C3 execution or operational authority. Follow each phase's existing dependencies in the enterprise plan.

For multi-agent work after the relevant phase approval, the coordinator assigns an agent the accepted requirement revision, work item, approved paths, test plan and stop conditions. The implementer owns the patch and reports the Red/Green evidence. The independent reviewer verifies the scope, tests and outcome. On handoff record artifact links, exact SHA, checks, unresolved findings and the next responsible person. Stop on stale requirements, overlapping ownership, broadened authority, failing quality gates or lack of an authorized reviewer. Project Owner remains accountable for approval and merge.

6. Responsibilities, risks and approval ​

The Project Owner is accountable for product scope, design approval and merge. The implementing engineer or agent is responsible for a scoped change and its evidence. An independent reviewer inspects the design, tests and implementation. Consult quality, accessibility, platform and security owners for their boundaries. Record the next Duty Watch owner at handoff. Changes to branch protection would require a separate owner decision.

Risk or dependencyResponse and accountable role
Duplicate requirement authority or a new graph for the same workUse existing C1 links and source artifacts. Architecture reviewer verifies ownership and dependency direction
Passing evidence on the wrong revision or approval from the wrong actorFail closed in the read model. Quality reviewer verifies invalidation and ambiguous identity paths
UI or cloud scope grows before the core workflow is usefulKeep the local, single-feature gate. Product Owner decides scope changes after evidence
Stabilization, enterprise prerequisites or an independent reviewer are unavailableStop before implementation and record the precise missing decision or dependency. Project Owner owns sequencing

Review decision pending for the fixture and requirements owner, approved revision representation, handling of legacy records, exact tested/reviewed SHA binding, first client surface and the stop condition. Record the independent review reference and explicit Project Owner approval on the design revision. Future C2–C6 slices require their own phase-specific designs and authorizations.

Sources ​