Skip to content

Repository files navigation

System Coherence

CI Latest release

Audit the system, not the files.

Most coding agents inspect files in isolation. System Coherence reconstructs how behavior should work, then checks whether the layers still agree.

Find the bugs between the layers.

Hand-drawn doodle board map of a user action crossing UI, state, domain, and storage, with a coherence gap routed to repair and revalidation.

Install the complete suite · See the methodology · Explore the docs

Why ordinary review misses the bug

A file can be correct and a test can be green while the UI, state, domain, persistence, workers, or external systems disagree.

Hand-drawn doodle board comparing ordinary review with System Coherence: files pass locally while UI, state, domain, and storage disagree.

How the suite works

The ten Agent Skills turn an unfamiliar codebase into an evidence-backed behavioral case, one handoff at a time.

Hand-drawn doodle board showing the ten-skill workflow from route and reconstruction through discovery, modeling, tracing, audit, repair, scope, and verification.

system-coherence routes the next stage from the current artifacts. Specialists record evidence, uncertainty, freshness, and the next safe transition.

Install

Install the complete suite into the repository you want to audit:

npx skills add "https://github.com/MPSMeridiaN/Auditor" --skill '*' --copy --yes

Run it from the target repository. Or give this repository URL to your coding agent and ask it to install the complete System Coherence suite.

Hand-drawn doodle board showing SOURCE to COPY to 10 SKILLS to TARGET REPO and READY, with the Auditor, copy, and system-coherence labels.

Start

Invoke system-coherence in the target repository:

Run a System Coherence audit of this repository. Start from .coherence if it exists; otherwise initialize it. Preserve evidence for every conclusion and tell me the next safe step when a handoff is incomplete.

The optional Python coherence verifier supports contributor, protocol, and release checks. It is not required by the installed skills.

Advanced installation → Getting Started · AI Agent Installation Contract

Durable memory

Agents can change. The behavioral memory stays.

Each stage writes an inspectable artifact into .coherence/. If a session stops, the next agent reads the current handoff and resumes from the last valid stage.

Hand-drawn doodle board showing AGENT A writing an artifact into .coherence, an interruption, and AGENT B reading the handoff and resuming.

One coherence gap

Imagine a workspace that is registered, then deleted outside the application. The UI and registry still say it exists; the filesystem says it does not.

Hand-drawn doodle board showing REGISTERED, DELETED OUTSIDE, and STALE VIEW, with a coherence gap and the missing state registered-but-missing.

Missing state: registered-but-missing · Broken transition: external deletion → reconciliation

The included web-cache-staleness fixture is a runnable analogue: the database changes, but a derived cache keeps reporting the deleted object.

Proof / verification

The repository keeps a paper trail for structural checks, fixture behavior, and release boundaries.

Hand-drawn doodle board showing COVERAGE evidence from outcomes, graph, unit tests, fixtures, and a negative control flowing to FINDING or CLEAN results.

The checks are intentionally scoped: a passing artifact graph or fixture run does not claim universal behavioral coverage. See Evaluation for the evidence and limits.

Explore

License

MIT. See LICENSE.

About

An installable 10-skill Agent Skills suite for reconstructing behavior and finding cross-layer coherence gaps.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages