TL;DR
Distributed LLM-agent teams can have perfectly updated shared memory but still execute outdated plans derived from old data. This paper introduces PLANFENCE, an action-validation protocol that forces plans to cite their exact data dependencies and verifies them right before execution. In testing, PLANFENCE eliminated 100% of these "stale-plan" execution errors while significantly reducing network stall and traffic compared to global synchronization.
What Problem Does This Paper Address?
Multi-agent systems often divide complex tasks among specialized roles (e.g., planners, information retrievers, and executors) that communicate via shared memory. However, this separation introduces a subtle concurrency bug that the authors call stale-plan execution.
Imagine a planner reads a requirement ($r_3$) and derives a plan ($p(r_3)$). Before the plan is executed, another agent updates the requirement to $r_4$. Background propagation successfully delivers $r_4$ to the executor—meaning the executor's memory is perfectly fresh. However, the executor still runs the old plan $p(r_3)$ because it doesn't realize the plan's underlying assumptions have changed. Traditional database freshness checks fail here because the issue isn't stale memory; it's a stale derivation. The authors tackle how to efficiently guarantee lineage validity—ensuring a plan actually descends from the currently authorized public records it depends on.
Methods
The authors propose PLANFENCE, a dependency-scoped validation protocol placed at the action boundary:
- Lineage Tracking: Application code attaches exact parent IDs whenever it writes a derived public record, explicitly binding a plan to the exact immutable versions of its inputs.
- Dependency Scoping: Tool wrappers explicitly declare a specific set of keys ($D(a)$) that can affect the pending external action.
- Action Gate: Right before executing a protected external action, the executor concurrently queries the authoritative owners of the keys in $D(a)$ to check if their current heads match the plan's lineage frontier.
- Plan Repair: If a mismatch is detected, PLANFENCE fetches the updated records, allows exactly one replan cycle, and re-validates. If validation fails again or is incomplete, it fails closed and blocks the action.
The complete action-boundary gate mechanism is illustrated below in Figure 1:
Datasets
The system was evaluated using a mix of live agent workflows and controlled replays:
- Live Workflows: 30 interactive workflows across three domains (reservation, fulfillment, and deployment) driven by 5 separate Qwen3.5 agent processes.
- Controlled Replay: A corpus of 30 public workflow templates evaluated under identical schedules across 3–8 agent-local copies to isolate the system performance of different memory policies.
- Network Traces: Real-world network environments were simulated using loopback configurations alongside replayed historical cellular network traces (AT&T, T-Mobile, Verizon LTE).
Key Insights and Ideas
- State Freshness $\neq$ Plan Validity: Having the latest facts in an agent's local cache does not guarantee that its active plan is valid. Lineage tracking is strictly necessary to catch derivation errors.
- The Coordination Tradeoff: Constantly synchronizing all shared memory across agents (proactive sync) works well when data changes rarely (low churn). However, as updates become frequent, it introduces massive network stalls.
- Scoping Saves Bandwidth: Instead of validating the entire global state before an action, checking only the action-relevant keys ($D(a)$) prevents performance from degrading as the shared keyspace grows.
Key Results
- Safety: In live workflows with a post-plan revision, a freshness-only check resulted in an obsolete action in every single task (30/30). PLANFENCE successfully intercepted the mismatch, replanned, and completed all 30 tasks safely.
- Performance vs. Churn: At high update rates (42 updates per episode), PLANFENCE reduced coordination stall by 1.5$\times$ to 7.1$\times$ compared to the next-best safe proactive policy.
- Scalability: As the shared keyspace grew from 8 to 128 keys, PLANFENCE maintained a flat traffic cost (~8.1 KiB/action), whereas a batched all-key validation check ballooned to 81.7 KiB/action (a 90% traffic reduction at 128 keys).
The impact of state size and network adversity on synchronization blocking time is shown in Figure 2:
Limitations and Future Work
- Trusted Components: PLANFENCE relies on a clear systems boundary: state owners must be benign, parent links must be exact, and tool wrappers must perfectly declare their dependency scopes. It does not handle Byzantine (malicious) actors or poorly written wrappers.
- Lack of Atomicity: The validation check is not an atomic transaction spanning the actual external tool execution. If state changes during the tool call, race conditions can still occur.
- Evaluation Scope: The evaluation is limited to 3 workflow families and 3–8 agents. The authors note that these are controlled safety and systems-cost results, not general LLM task-accuracy improvements. Future work could address semantic merging or private reasoning that never enters the public lineage.
Summary updated