Skip to main content

Crate g8_conflict

Crate g8_conflict 

Source
Expand description

g8-conflict — cross-project intent/capability overlap detection.

Provides ConflictDetector with two entry points:

§Design notes

This crate is purely computational — no I/O, no async. It reads data from the store via the ConflictStore trait and produces Vec<Conflict> using typed Evidence variants (per A1 decision #3 — Vec<Evidence> not stringified evidence).

Cross-project capability identity is <project>::<name> (used only as lookup keys per A1 decision #2; annotations never carry the prefix).

§Four conflict kinds

KindTriggerSeverity
DuplicateIntentSame kind + scope_path in both spaces, different descriptionWarn
CapabilityNameCollisionSame kebab-case name in both spaces, no alias resolves themError
CapabilityNameCollisionSame name AND alias resolves themInfo
ContradictoryDecisionsSame title, both accepted, different bodyError
GovernanceViolationPlan substrate forbidden by a Boundary intent in the other spaceError

Re-exports§

pub use store_adapter::ConflictAdapter;
pub use store_trait::ConflictStore;

Modules§

store_adapter
Adapter implementing ConflictStore over any g8_store::StoreConnection.
store_trait
ConflictStore — the minimal read-only store interface needed by conflict detection.

Structs§

ConflictDetector
Entry point for all conflict-detection operations.

Enums§

ConflictError
Errors produced by ConflictDetector operations.