arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.03340

Fresh Memory, Stale Plans: Dependency-Scoped Validation for Distributed LLM-Agent Memory

Evan Chen, Shiqiang Wang, Christopher G. Brinton

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Distributed LLM-agent teams can read the latest shared facts and still act on an obsolete plan. A planner may derive an action from requirement r3r_3, another agent may commit r4r_4, and an executor may receive r4r_4 without replacing the plan derived from r3r_3. We call this stale-plan execution: state freshness does not establish that the plan authorizing an action remains valid. We introduce PLANFENCE, a dependency-scoped action-validation protocol. Plans cite the exact public records they used, and an executor validates only the records that can affect the pending external action, replanning once or blocking when validation is incomplete. In 30 controlled live workflows with a post-plan revision, a freshness-only executor acts on the obsolete plan in every task, whereas PLANFENCE completes all tasks without an invalid action. Controlled replay reveals two conditional boundaries: proactive synchronization yields lower coordination stall at low churn, while PLANFENCE avoids repeated update-path coordination as churn grows and avoids validating unrelated state as the shared keyspace grows. These are controlled safety and systems-cost results, not general task-accuracy gains.

1 Introduction

Distributed large language model (LLM) agent systems increasingly divide a task among specialized roles that plan, retrieve information, and invoke external tools. Frameworks such as AutoGen, MetaGPT, CAMEL, and ChatDev organize these roles across separate processes or devices [1, 2, 3, 4]. Agents may retain private context and local tools while replicating the public task state needed for coordination, making shared memory a first-class systems concern [5, 6, 7]. This separation lets each role operate independently, but it can also separate an external action from the state and plan that authorized it.

Recent persistent-world studies show that agent-authored artifacts and executable programs can outlive their creators and be reused by later agents through a shared environment [8], making the temporal separation between plan derivation and eventual execution concrete.

Consider a planner that reads requirement r3r_3 and derives plan p(r3)p(r_3). Before execution, another agent commits a revised requirement r4r_4. Background propagation may deliver r4r_4 to the executor without replacing p(r3)p(r_3), so the executor can call a tool with arguments derived from the old requirement while already holding the new one. A reservation may use a superseded destination, a fulfillment action may ship a cancelled order, or a deployment may release an obsolete build. We call this failure stale-plan execution. The failure is not stale memory at the executor; what remains stale is the derivation that supplied the action's arguments. Installing r4r_4 does not change the fact that p(r3)p(r_3) was produced from r3r_3, so state freshness alone cannot establish that a pending plan is still authorized. The executor must instead verify that the plan descends from the current public records on which its action depends. We call this property lineage validity.

One direct solution is to coordinate public state strongly. Every owner can broadcast its current record ID and invalidate plans whose exact parents no longer match, or executors can compare those parents through one strong service [9, 10, 11]. When this coordination is cheap, it is the simplest safe choice. Section 3 measures when one synchronous public-state transfer enters the critical path. The required check, however, is narrower than globally fresh memory: a reservation action depends on its requirement, not on an unrelated catalog record or another workflow's state. This creates a systems tradeoff between coordinating early over broad shared state and validating only the records relevant to an action when it is about to execute.

We evaluate this distinction through three questions:

RQ1: Can an agent read the latest state and still act on an outdated plan?

RQ2: As public state changes more often, which causes less waiting: synchronizing every update or validating only before an action?

RQ3: As shared state grows, when does checking only action-relevant state reduce coordination cost compared with checking all shared state?

Our Approach. We separate the safety invariant from the mechanism used to establish it. The invariant is exact lineage validity at a protected action; the systems choice is when and over what scope to check it. This separation leads to PLANFENCE, a dependency-scoped protocol placed at the action boundary. Each plan cites the exact public records used to derive it, and a tool wrapper declares which records can affect the pending action. Before an external call, the executor validates those dependencies with their owners. A changed input triggers one replan and a second check; an incomplete parent chain, dependency declaration, or owner response blocks the action. PLANFENCE coordinates public records, not private prompts or hidden reasoning. Figure 1 summarizes this action-boundary gate, from detecting a changed dependency through replanning to the final authorize-or-block decision.

Our main contributions are summarized as follows:

  • We identify stale-plan execution and formalize lineage validity, distinguishing current executor state from current plan authorization. In 30 controlled live workflows, the freshness-only owner-head check issues an obsolete action in every task, while PLANFENCE completes all tasks without an invalid action.

• We design and implement PLANFENCE for distributed agent memory. Its action-

Figure

Figure 1: Fresh facts do not guarantee a fresh plan. A freshness-only check can observe requirement r4r_4 while the action still uses plan p3p_3. PLANFENCE validates the plan's declared dependency, detects the mismatch, fetches r4r_4, and permits one replan before it authorizes or blocks the action.

boundary gate binds plans to exact public inputs, validates only tool-declared dependencies with their owners, and permits one replan before failing closed.

  • We compare safe coordination policies under identical schedules and map their coordination-stall boundary. Proactive synchronization has lower stall at low update rates; PLANFENCE avoids repeated unrelated-state coordination as updates grow. Against an equally safe batched all-key check, it lowers both stall and traffic across the tested 8–128 key loopback and AT&T settings.

References (30)