AI Pattern, Architecture Pattern

Deep Context Graph: From Navigation to Projection

A capable model handed a huge, unstructured context routinely violates constraints that are technically present but buried — Context Entropy Collapse. The Deep Context Graph (DCG) answers it by storing knowledge as a compositional, typed hypergraph and projecting a tiny, task-specific aperture instead of dumping raw text. This brief traces how DCG advanced from an agentic memory-navigator into an information-theoretic engine that computes the minimal sufficient context — and measures that it is enough.

↗ Open the full brief  ā€”  with the aperture operator, the evolution timeline, and the Conditions 0–4 benchmark.

The headline result

On a reference database-migration task, replacing the 93k-token raw dump with the four-layer aperture collapses context ~600Ɨ (96,043 → 164 tokens), raises density ~300Ɨ (0.016 → 5.07 bits/token), and takes hard-constraint compliance from 0% to 100%. The brief is candid that total Shannon entropy is not the win — a repetitive dump is highly compressible — so the defensible gains are tokens and density.

  • From navigation to projection: the aperture becomes a formal operator, š’œ(Ļ„) = σ(š’¢_D ∘ š’¢_C ∘ š’¢_T ∘ š’¢_K)│τ.
  • Governance-as-projection and Pearlian do(X) causality — neither present in the original.
  • Measurement replaces judgment: non-circular fidelity via an independent multi-language verifier, plus an epistemic-entropy firewall and an aperture sufficiency certificate.
Architecture Pattern, Multi-Agent Systems in Production

Verify Behavior, Not Status: FCoT 3.0 as an Engineering Audit Discipline

The dangerous failure in a long-horizon agent workflow is not the loud error — it is the silent success: a step that returns a green status while its actual objective was never met. This case study turns Fractal Chain-of-Thought 3.0 inward, using it not to synthesize content but as an engineering audit discipline over a live agent-harness deployment on Google Cloud Run. The audit found one defect recurring, self-similarly, at three system scopes — and the fix turned out to be equally self-similar: verify behavior, not status.

↗ Open the full paper  ā€”  renders in light or dark, with the results tables and the fractal-defect figure.

What’s inside

  • A fractal defect. “Assert-vs-verify” appears at MACRO (a deploy exiting 0 on a placeholder image), MESO (a research log persisting unverified claims), and MICRO (an exception-swallowing callback) — the same bug in three vocabularies.
  • Invariant-Zero diagnosis. A micro status signal leaked upward and was consumed as a macro truth — which is exactly why the placeholder shipped under a green deploy.
  • Two verified fixes, released as pull requests: a behavioral deploy gate and a grounded, entropy-controlled research log.
  • Honest results. Reported as reproducible behavior evidence (gate PASS/FAIL, test outcomes, a live sandbox proof), with the limits of a single-case study stated plainly.

The broader lesson for long-horizon agentic engineering: success signals must be earned behaviorally at every scope, and a fractal reasoning protocol is an efficient way to find where they are merely asserted.