Skip to content
Preprint

ContextNest: Verifiable Context Governance for Autonomous AI Agent

Jul 2026 · 0 citations · 33 references
Computer Science

TL;DR

ContextNest, an open specification and reference implementation for governed AI-consumable knowledge vaults, and first empirical results from two controlled experiments suggest that context governance addresses failure modes retrieval quality alone is not designed to resolve.

Abstract

Autonomous AI agents increasingly depend on external knowledge stores, yet most retrieval pipelines provide relevance without durable guarantees of provenance, version identity, integrity, traceability, or point-in-time reconstruction. We formalize this as context governance and present ContextNest, an open specification and reference implementation for governed AI-consumable knowledge vaults. ContextNest does not replace Retrieval-Augmented Generation (RAG); it supplies the governance layer beneath retrieval, determining which artifacts are approved, current, attributable, and integrity-verified before retrieval systems operate over them. The specification combines typed Markdown documents with metadata, deterministic set-algebraic selectors, contextnest:// URI references, SHA-256 hash-chained version histories, graph-level checkpoints, source nodes for live data through the Model Context Protocol (MCP), and audit traces of agent context consumption. These mechanisms let organizations reconstruct which knowledge versions informed an agent output and whether those versions were AI-eligible when consumed. We report first empirical results from two controlled experiments. In a stale-version attack isolating the governance-versus-retrieval failure mode, governed selection strictly Pareto-dominates BM25 sparse retrieval, with higher answer-quality pass rate (97% versus 93-90%) at about one-third the input-token cost. In a retrieval-determinism experiment over a 1,060-document corpus, deterministic selectors and BM25 return stable document sets across repeated identical queries (Jaccard 1.0), while a dense+HNSW baseline is non-deterministic on 80% of queries (mean Jaccard 0.611, worst case 0.210). These results suggest that context governance addresses failure modes retrieval quality alone is not designed to resolve. We release a core engine, CLI, and MCP server under open licenses.

View source

Similar papers

Jul 2026

LOGOS: A Living Logic for AI Agent Teams That Evolve With Humans

This work introduces logos, a pluggable layer for self-evolution and governance that strengthens existing multiagent frameworks rather than replacing them, and provides a living logic for accountable automation.

Yuma Ichikawa, Yamato Arai, Kosaku Kimura et al. · 0 citations
Open access Aug 2026

LATTICE: a governance-first architecture for authorized autonomous AI operations

LATTICE (Layered Agentic Triad Topology for Intelligent Coordinated Execution), a governance-first architecture that reframes the authorization question from “do the authors trust this AI?” to “do they trust this architecture?”

Elias Calboreanu · 2 citations
Preprint Aug 2026

MAP-Graph: Provenance-Aware Shared Memory for Multi-Agent Workflows

MAP-Graph is introduced, a provenance-aware memory layer that represents agents, sources, memories, claims, and actions in a typed execution graph and supports provenance as an operational control signal, rather than only post-hoc audit metadata, within the evaluated setting.

Yi-Qi Wang, Zihao Yan, Jia-Qi Zhang et al. · 11 citations · ⚡2
Preprint Aug 2026

Correct Is Not Governed: Provenance Integrity in Agentic Workflows

Agentic workflows are commonly evaluated by whether they reach the correct outcome. That is insufficient in institutional settings, where a correct action may rely on the wrong authority, an unsupported completion claim, or work made stale by a later change. We define governed execution as work whose decisions, complet...

Jesus Salas · 4 citations
Jul 2026

DocOps: A Verifiable Benchmark for Autonomous Agents in Complex Document Operations

DocOps is introduced, a deterministically verifiable evaluation framework underpinned by a hierarchical taxonomy that deconstructs document operations inspired by real-world practices into atomic dimensions and escalating workflow complexities that exposes the capability boundaries of agents in maintaining global docum...

Jiazhen Jiang, Boxi Cao, Lingyong Yan et al. · 1 citation

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.