Framework Core vs Adapter

Purpose

Define a reusable AI-guidance system that stays generic enough to travel across repos while still being concrete enough to guide real development work.

Core Thesis

The framework is not a bag of repo-specific CI assertions.

It is a contract with three layers:

  1. framework core: graph semantics, resolution semantics, evidence shape, and executable policy evaluation
  2. repo adapter: the mapping from those semantics onto one real codebase
  3. policy pack: the repo’s current rules, staged by confidence and enforcement level

That separation matters because it preserves both portability and auditability.

Why This Helps AI Focus

AI systems lose focus when they cannot tell:

The framework fixes that by making those concepts explicit.

Framework Core

The core owns:

The core should reason about abstract node kinds such as:

The core should not hardcode local repo paths or product-specific workflows.

Repo Adapter

A repo adapter binds the framework to a specific codebase.

An adapter owns:

An adapter does not own:

When an adapter uses surface-aware proof routing, it should route by existing node IDs rather than introducing a second path-matching surface. The graph continues to own path-to-node mapping; proof selection becomes a consequence of matched nodes.

Policy Packs

Policy packs encode what a repo considers acceptable.

They should be staged, not flattened.

This is one of the framework’s biggest differentiators.

Most systems only ask “did the check pass?” This framework also asks “what kind of rule is this and how much trust should we place in it?”

Human Signoff

Humans should sign off on:

Humans should not need to re-audit every routine implementation detail when the change stays inside established policy and the evidence is strong.

Onboarding Bias

The framework should stay easy to adopt.

The intended onboarding shape is:

  1. one adapter
  2. one policy pack
  3. one proof lane
  4. one executable rule

Anything heavier than that should be justified by operator value, not by framework purity.

work-agent

work-agent is adapter #1, not the framework itself.

Its old verify:convergence logic has been replaced by Veritas-native proof lanes and proof-family reporting. The current migration shape is best understood as:

That makes it the right proving ground, but the wrong long-term home for repo-specific assertions. Reusable shapes should move into Veritas; work-agent-specific facts should stay in the adapter, proof-family manifest, or normal product tests.