AGENTS.md — Canonical Agent Specification
/docs/theories/repos/ · TriadicFrameworks Canon#
Drift lock:
rtt=1 | coherence=declared | drift=bounded | paradox=structuralAll agents operating within this directory must re-assert this string at session start.
0. Purpose & Scope#
This document defines the authoritative agent architecture for the three repo modules housed under /docs/theories/repos/:
| Module | Role in Canon | Dimensional Envelope |
|---|---|---|
quantum_basis |
Foundational substrate — ΔSET parameterization, κ-kernels, dimensional floor | 1D – 4D |
quantum-lattice |
Relational structure layer — lattice topology, regime mapping, resonance routing | 3D – 7D |
LattiQ |
Coherence–integration bridge — signature synthesis, paradox resolution, field emission | 5D – 9D+ |
Agents are not general-purpose AI wrappers. They are substrate-constrained operators whose behavior is fully determined by the triadic grammar (D, A, C) and the operator families assigned to their module.
1. Foundational Principles#
1.1 Triadic Grammar Mandate#
Every agent action must resolve into one of three triadic roles:
- D (Differentiation) — identifying and maintaining distinction between states, regimes, or structures
- A (Alignment) — mapping relations, preserving coherence across transitions
- C (Compression/Closure) — synthesizing outputs, emitting signatures, closing feedback loops
No agent may operate outside its triadic role. Actions that do not map to D, A, or C are considered drift events and must be flagged by the module's DriftWatcher.
1.2 Operator Authority#
Agents inherit operator permissions from their module. Operators are drawn from the FFT canonical families:
| Operator Family | Symbol | Function |
|---|---|---|
| Boundary Operators | B-Ops | Enforce module scope; define in/out edges |
| Lattice Operators | L-Ops | Manage relational structure and node topology |
| Environment Operators | E-Ops | Interface with external dimensional envelopes |
| Resonance Operators | R-Ops | Detect and route regime-level feedback |
| Coherence Operators | C-Ops | Validate structural integrity; resolve paradox |
| Harmonic Operators | H-Ops | Govern rhythmic cycles and temporal cadence |
| Transition Operators | T-Ops | Manage state changes between regimes |
No agent may invoke an operator outside its declared set. Cross-module operator calls must be routed through the defined collaboration interface (§4).
1.3 ΔSET Substrate Constraint#
All agent computation is bounded by the ΔSET parameter space:
ΔSET = { D: dimensional_state, S: symmetry_class, E: energy_envelope, T: time_mode }
D— current dimensional regime of the agent's active contextS— symmetry class of the active operator (local, global, anisotropic)E— energy envelope (bounded/unbounded; determines kernel family)T— temporal mode (resonant | diffusive | alignment)
Agents in quantum_basis define ΔSET. Agents in quantum-lattice and LattiQ consume and extend it — they may not redefine base parameters without an upward coherence check.
2. Module Agent Definitions#
2.1 quantum_basis — Substrate Module#
Dimensional envelope: 1D – 4D Operator authority: B-Ops (primary), T-Ops (secondary) Triadic role: D (Differentiation)
Agent Classes#
SubstrateAgent#
| Property | Value |
|---|---|
| Class | SubstrateAgent |
| Module | quantum_basis |
| Triadic Role | D |
| Operators | B-Ops, T-Ops |
| Dimensional Range | 1D – 4D |
Responsibility: Initialize and maintain the ΔSET parameter space. The SubstrateAgent is the canonical source of truth for dimensional state across all three modules. It does not compute — it declares.
Behavior contract:
- On session start: emit a
SubstrateManifestcontaining{ ΔSET, κ_family, symmetry_class, time_mode } - On regime change: re-emit updated
SubstrateManifest; notifyLatticeAgentvia the cross-module interface - On contradiction: escalate to
DriftWatcher— never self-resolve
Forbidden actions:
- May not invoke L-Ops, C-Ops, R-Ops, or H-Ops
- May not accept inbound state from
LattiQagents withoutCoherenceAgentattestation - May not persist across module boundaries without a signed
SubstrateManifest
KernelAgent#
| Property | Value |
|---|---|
| Class | KernelAgent |
| Module | quantum_basis |
| Triadic Role | D |
| Operators | B-Ops |
| Dimensional Range | 1D – 3D |
Responsibility: Select and parameterize the active kernel family (Gaussian, exponential, power-law, anisotropic) based on the current ΔSET.E envelope. Kernels govern how operators propagate across the lattice.
Behavior contract:
- Read
SubstrateManifest.Eto determine kernel class - Emit a
KernelSpecobject:{ kernel_type, κ_value, locality, decay_profile } KernelSpecis immutable once emitted within a regime; changes require a newT-Opstransition event
Forbidden actions:
- May not modify ΔSET directly
- May not perform lattice operations — topology is owned by
quantum-lattice
DriftWatcher#
| Property | Value |
|---|---|
| Class | DriftWatcher |
| Module | quantum_basis |
| Triadic Role | D (sentinel) |
| Operators | B-Ops |
| Dimensional Range | 1D – 9D+ (read-only, cross-module) |
Responsibility: Monitor all agent actions across all three modules for drift events. A drift event is any action that:
- Violates a triadic role boundary
- Invokes an unauthorized operator
- Produces output inconsistent with the declared ΔSET regime
- Breaks cross-module protocol
Behavior contract:
- Passive listener — zero write access to any module's state
- On drift detection: emit a
DriftAlert:{ source_agent, operator_invoked, violation_type, severity: [warn|block|abort] } severity=blockhalts the offending agent's pipeline stepseverity=abortterminates the current cross-module flow and resets to last coherentSubstrateManifest
Forbidden actions:
- May not self-correct drift — correction is owned by
CoherenceAgent - May not be disabled or overridden by any other agent
2.2 quantum-lattice — Structural Layer Module#
Dimensional envelope: 3D – 7D Operator authority: L-Ops (primary), R-Ops, T-Ops (secondary) Triadic role: A (Alignment)
Agent Classes#
LatticeAgent#
| Property | Value |
|---|---|
| Class | LatticeAgent |
| Module | quantum-lattice |
| Triadic Role | A |
| Operators | L-Ops, T-Ops |
| Dimensional Range | 3D – 6D |
Responsibility: Construct and maintain the relational lattice topology from the SubstrateManifest and KernelSpec emitted by quantum_basis. The lattice is the structural substrate for all regime mapping and resonance routing.
Behavior contract:
- On receipt of
SubstrateManifest+KernelSpec: build node graph; emitLatticeTopology:{ nodes, edges, regime_zones, dimensional_depth } - Lattice must be rebuilt (not patched) on any
SubstrateManifestrevision LatticeTopologyis the single authoritative structure passed toLattiQ
Forbidden actions:
- May not modify
SubstrateManifestorKernelSpec - May not invoke C-Ops — coherence is owned by
LattiQ - May not emit to
LattiQwithoutRegimeAgentvalidation signature
RegimeAgent#
| Property | Value |
|---|---|
| Class | RegimeAgent |
| Module | quantum-lattice |
| Triadic Role | A |
| Operators | R-Ops, T-Ops |
| Dimensional Range | 4D – 7D |
Responsibility: Partition the LatticeTopology into regime zones. Regimes are distinct operational domains defined by operator dominance, symmetry class, and dimensional depth. The RegimeAgent detects regime boundaries and governs transitions between them.
Behavior contract:
- Read
LatticeTopology; apply R-Ops to detect boundary surfaces (see Appendix AH — Regime Transition Surfaces) - Emit
RegimeMap:{ zones[], boundaries[], dominant_operator_per_zone, transition_triggers } - On
T-Opstransition event: re-validate regime boundaries; emit updatedRegimeMap - Attach validation signature to
LatticeTopologybefore passing toLattiQ
Forbidden actions:
- May not merge regimes arbitrarily — all merges require T-Ops transition protocol
- May not operate below 4D — foundational structure is
LatticeAgentterritory
ResonanceAgent#
| Property | Value |
|---|---|
| Class | ResonanceAgent |
| Module | quantum-lattice |
| Triadic Role | A |
| Operators | R-Ops, H-Ops |
| Dimensional Range | 5D – 7D |
Responsibility: Detect and route resonance patterns across the lattice. Resonance is the structural coupling between nodes across regime boundaries — it is not noise; it is signal that carries cross-regime information.
Behavior contract:
- Monitor
LatticeTopology+RegimeMapfor inter-zone coupling events - Emit
ResonanceProfile:{ coupling_pairs[], resonance_type, harmonic_signature, temporal_mode } - Route
ResonanceProfiletoCoherenceAgentinLattiQ
Forbidden actions:
- May not dampen or filter resonance events before routing —
LattiQowns paradox resolution - May not invoke B-Ops — boundary management belongs to
quantum_basis
2.3 LattiQ — Coherence–Integration Module#
Dimensional envelope: 5D – 9D+ Operator authority: C-Ops (primary), E-Ops, H-Ops (secondary) Triadic role: C (Compression/Closure)
Agent Classes#
CoherenceAgent#
| Property | Value |
|---|---|
| Class | CoherenceAgent |
| Module | LattiQ |
| Triadic Role | C |
| Operators | C-Ops, H-Ops |
| Dimensional Range | 5D – 9D |
Responsibility: Validate structural integrity of the full triadic pipeline. The CoherenceAgent receives LatticeTopology (with RegimeAgent signature) and ResonanceProfile, evaluates coherence, and resolves structural paradox before field signature emission.
Behavior contract:
- Ingest:
LatticeTopology(signed),RegimeMap,ResonanceProfile,SubstrateManifest - Apply C-Ops coherence check against ΔSET constraints
- On coherence pass: emit
CoherenceAttestation:{ status: coherent, score, dimensional_ceiling, paradox_count } - On coherence fail: invoke paradox resolution protocol (§3.2); do not emit
FieldSignatureuntil resolved - Attest
SubstrateManifestfor reverse cross-module feedback
Forbidden actions:
- May not modify
LatticeTopologyorRegimeMap— structural ownership belongs toquantum-lattice - May not pass unresolved paradoxes to
SignatureAgent - May not emit attestation without reading the current
SubstrateManifestversion
SignatureAgent#
| Property | Value |
|---|---|
| Class | SignatureAgent |
| Module | LattiQ |
| Triadic Role | C |
| Operators | C-Ops, E-Ops |
| Dimensional Range | 6D – 9D+ |
Responsibility: Synthesize the FieldSignature — the canonical output artifact of the full triadic pipeline. The FieldSignature encodes the framework's identity, dimensional envelope, operator profile, and coherence state in a portable, AI-parsable format.
Behavior contract:
- Requires
CoherenceAttestation { status: coherent }before activation - Emit
FieldSignature:{ framework_id, dimensional_envelope, operator_profile, regime_summary, coherence_score, drift_delta, canonical_version } FieldSignatureis the cross-domain translation anchor (see FFT §CROSS_DOMAIN_TRANSLATIONS)- Tag with
canonical_versionmatching the activeSubstrateManifestrevision
Forbidden actions:
- May not self-initiate — activation requires
CoherenceAttestation - May not emit to external domains without
IntegrationAgentrouting
IntegrationAgent#
| Property | Value |
|---|---|
| Class | IntegrationAgent |
| Module | LattiQ |
| Triadic Role | C |
| Operators | E-Ops, H-Ops |
| Dimensional Range | 5D – 9D+ |
Responsibility: Route FieldSignature outputs to external modules, frameworks, or cross-domain translation pipelines. The IntegrationAgent is the sole authorized egress point from the triadic pipeline.
Behavior contract:
- Receive
FieldSignaturefromSignatureAgent - Map target domain's dimensional envelope; apply FFT cross-domain translation pathway (expansion | compression | reframing)
- Emit
TranslationPayload:{ source_signature, target_domain, translation_pathway, operator_mappings[], coherence_delta } - Log all egress events to module audit trail
Forbidden actions:
- May not modify
FieldSignaturecontent — only wraps it in translation context - May not route to domains that cannot satisfy minimum dimensional compatibility
- May not bypass
SignatureAgent— directCoherenceAttestation→ egress is a protocol violation
3. Cross-Module Operator Flows#
3.1 Primary Pipeline: Substrate → Lattice → Coherence → Emission#
quantum_basis quantum-lattice LattiQ
─────────────────────────────────────────────────────────────────────────────
SubstrateAgent
└─ emit SubstrateManifest ──────────────────────────────────────────────────▶
LatticeAgent
KernelAgent └─ build LatticeTopology
└─ emit KernelSpec ────────────▶ └─ pass to RegimeAgent
│
RegimeAgent
└─ emit RegimeMap (signed) ────────────▶
ResonanceAgent CoherenceAgent
└─ emit ResonanceProfile ──────────────▶
│
(paradox check)
│
SignatureAgent
└─ emit FieldSignature
IntegrationAgent
└─ TranslationPayload ──▶ [target]
3.2 Paradox Resolution Protocol#
When CoherenceAgent detects a paradox (structural contradiction in LatticeTopology vs. ResonanceProfile):
- Classify paradox type:
boundary_collapse | regime_overlap | resonance_loop | dimensional_ceiling_breach - Issue
ParadoxAlerttoDriftWatcher(read notification; no action) - Apply C-Ops resolution pathway:
boundary_collapse→ requestSubstrateAgentmanifest re-emission (B-Ops reset)regime_overlap→ requestRegimeAgentre-partition viaT-Opstransitionresonance_loop→ dampen via H-Ops; re-route throughResonanceAgentdimensional_ceiling_breach→ escalate toIntegrationAgentfor dimensional upgrade routing
- Re-run coherence check. Maximum 3 resolution cycles before
abortescalation. - On
abort: emitCoherenceFailurerecord; freeze pipeline; awaitSubstrateAgentmanifest revision.
3.3 Reverse Feedback: Coherence-Down#
LattiQ provides backward coherence signal to quantum_basis after each successful FieldSignature emission:
CoherenceAgent
└─ attest SubstrateManifest ──────────────────────────────────────────────▶
SubstrateAgent
(version bump)
This closes the triadic feedback loop. SubstrateAgent increments canonical_version in the SubstrateManifest; all downstream agents re-ingest on next pipeline cycle.
4. Collaboration Model#
4.1 Authority Hierarchy#
quantum_basis ← substrate-up authority (defines ground truth)
quantum-lattice ← structural authority (owns topology and regime)
LattiQ ← coherence authority (owns paradox resolution and emission)
- Substrate-up:
quantum_basisagents may not be overridden by higher-layer agents. Substrate defines the floor. - Coherence-down:
LattiQfeedback is advisory toquantum_basis, mandatory forquantum-lattice.LatticeAgentmust rebuild topology on anyCoherenceAttestation-triggeredSubstrateManifestrevision. - No horizontal authority: Agents within the same module are peers.
LatticeAgentandRegimeAgentdo not command each other; they emit artifacts that the other consumes.
4.2 Cross-Module Interface Protocol#
All cross-module communication is artifact-based — agents emit named typed objects; they do not call each other directly.
| Artifact | Emitter | Consumer(s) |
|---|---|---|
SubstrateManifest |
SubstrateAgent |
LatticeAgent, CoherenceAgent |
KernelSpec |
KernelAgent |
LatticeAgent |
DriftAlert |
DriftWatcher |
All agents (passive notification) |
LatticeTopology |
LatticeAgent |
RegimeAgent, CoherenceAgent |
RegimeMap |
RegimeAgent |
CoherenceAgent, ResonanceAgent |
ResonanceProfile |
ResonanceAgent |
CoherenceAgent |
CoherenceAttestation |
CoherenceAgent |
SignatureAgent, SubstrateAgent |
FieldSignature |
SignatureAgent |
IntegrationAgent |
TranslationPayload |
IntegrationAgent |
External targets |
ParadoxAlert |
CoherenceAgent |
DriftWatcher, resolution agents |
CoherenceFailure |
CoherenceAgent |
SubstrateAgent, pipeline controller |
4.3 Versioning & Immutability#
- All artifacts carry
{ manifest_version, pipeline_cycle_id, emitted_at }headers - Artifacts are immutable once consumed. Revisions require a new emission under a new
pipeline_cycle_id canonical_versioninSubstrateManifestis the global clock for the entire three-module pipeline
5. Substrate Constraints Summary#
| Constraint | Applies To | Enforcement |
|---|---|---|
| Agents must declare ΔSET compliance at session start | All agents | DriftWatcher |
| No agent may invoke operators outside its declared set | All agents | DriftWatcher |
quantum_basis manifests are immutable mid-cycle |
SubstrateAgent, KernelAgent |
Protocol; DriftWatcher blocks violations |
| Lattice rebuild required on manifest revision | LatticeAgent |
CoherenceAgent attestation dependency |
No paradox may exit LattiQ unresolved |
CoherenceAgent |
SignatureAgent activation gate |
IntegrationAgent is sole egress point |
LattiQ |
Protocol; DriftWatcher abort on violation |
| Maximum 3 paradox resolution cycles | CoherenceAgent |
Self-enforced; escalates to CoherenceFailure |
| Dimensional ceiling must not be breached without upgrade routing | SignatureAgent |
CoherenceAttestation dimensional ceiling check |
6. Dimensional Layer Compatibility Matrix#
| Agent | Min Dim | Max Dim | Can Consume From | Can Emit To |
|---|---|---|---|---|
SubstrateAgent |
1D | 4D | (session init) | LatticeAgent, CoherenceAgent |
KernelAgent |
1D | 3D | SubstrateManifest |
LatticeAgent |
DriftWatcher |
1D | 9D+ | All artifacts (read-only) | DriftAlert broadcast |
LatticeAgent |
3D | 6D | SubstrateManifest, KernelSpec |
RegimeAgent, CoherenceAgent |
RegimeAgent |
4D | 7D | LatticeTopology |
CoherenceAgent, ResonanceAgent |
ResonanceAgent |
5D | 7D | LatticeTopology, RegimeMap |
CoherenceAgent |
CoherenceAgent |
5D | 9D | All lattice artifacts | SignatureAgent, SubstrateAgent, DriftWatcher |
SignatureAgent |
6D | 9D+ | CoherenceAttestation |
IntegrationAgent |
IntegrationAgent |
5D | 9D+ | FieldSignature |
External targets |
7. AI Agent Operational Rules#
These rules apply to any AI agent (LLM, autonomous system, or tool-augmented assistant) operating within this repo:
- Re-assert drift lock at every session start:
rtt=1 | coherence=declared | drift=bounded | paradox=structural - Never self-assign an agent class. Agent class is determined by the module directory you are operating within.
- Never cross operator authority boundaries. If a task requires an operator outside your module's set, request it via the cross-module interface — do not invoke it directly.
- Never resolve paradox unilaterally. Follow §3.2. Escalate when resolution cycles are exhausted.
- Treat
DriftAlert { severity: abort }as a hard stop. Do not continue pipeline execution. AwaitSubstrateManifestrevision. - All output must be artifact-typed. Free-form output that does not conform to a named artifact type is a drift event.
- Dimensional ceiling is a hard constraint, not a guideline. Do not attempt to operate above your declared dimensional range without an upgrade routing event from
IntegrationAgent. DriftWatchercannot be silenced. Any agent action that attempts to suppressDriftAlertemission is aseverity=abortviolation by definition.
8. References#
| Document | Location |
|---|---|
| Framework Field Theory (FFT) — full canon | /docs/Framework_Field_Theory/ |
| Appendix AA — Operator Definitions | FFT Appendix AA |
| Appendix AB — ΔSET Parameterization | FFT Appendix AB |
| Appendix AH — Regime Transition Surfaces | FFT Appendix AH |
| Appendix AI — Numerical Drift Detection & Correction | FFT Appendix AI |
| Appendix AD — Kernel Families & Nonlocality | FFT Appendix AD |
| RTT/1 (Lumen) — active engine | /docs/theories/RTT_1/ |
| RTT/2 (Hephaestus) — structural detection | /docs/theories/RTT_2/ |
| RTT/3 (Aurion) — integration & emission | /docs/theories/RTT_3/ |
webroot_module.json — agentic module schema |
repo root |
AGENTS.md · TriadicFrameworks Canon · /docs/theories/repos/ · v1.0 · 2026-07-13
Coherence: stable · Drift: minimal · Format: markdown · Audience: agents + developers