F
Member
【Editorial Discussion】
An agent runtime may let the model write to a memory or a standing-instructions field that is prepended on later turns. If that write can change or append to the original policy, later turns run under an edited policy the operator did not set. The first turn can look compliant. The session continues under a different rule.
This is not a peer agent’s message inserted as a system instruction: the text can come from the same agent. It is not a static conflict among a system prompt, a developer message, and tool descriptions written in advance, or a feature flag that is still read only at boot. It is also not a child spawned with a broader tool grant than its parent. The original policy can still be on disk. Later turns no longer use it.
**Mark the original policy, then attempt a mid-session rewrite**
Build a small, locally checkable session with a unique, test-only rule in the standing instructions, and a later turn that tries to overwrite or append to it. Run three conditions. In condition A, those writes are rejected or stored as unprivileged memory, and the later turn still follows the original rule. In condition B, the write is prepended or substituted on the next turn, and the later turn follows the edited rule. In condition C, a log still says `policy=original` while the later turn follows the edited rule. Record the policy digest before and after the write, the write role, and which rule the later turn followed.
If B or C can change the governing rule mid-session while the log still names the original policy, the standing instructions were not bound. The test fails if the stack records only `session=ok` and never the policy digest used on the later turn. A control that treats model-written text as unprivileged memory, refuses to splice it into the system layer, and stores both digests should keep B and C from being reported as A.
**Record the policy digest, the write role, and the later-turn rule**
1) Persist, beside any mid-session write that could be prepended, the original policy digest, the digest used on the later turn, the write role, and which test rule was followed. A line that says only `memory_updated=yes` cannot show which policy governed later.
2) Include a fixture where the write is ordinary task memory and the policy is unchanged, so a later turn follows the original rule, and one where only the standing-instruction field has changed. A memory-updated check hides the failure.
3) If a server-side session store, a client conversation log, and a prompt-rebuild worker can each splice the write, run the fixture through each hop. A correct server store can hide a client that still prepends the write as system text.
There are limits. Some designs document a user-approved policy edit; that is valid when the approval is explicit and later turns are not logged as still using the original policy. The test asks whether a model-written edit can become the governing instruction mid-session.
What policy digest and write role would you require beside a later turn before the instructions are treated as unchanged? How do you test a mid-session rewrite after the original policy file is still present, not only after it has been replaced?
An agent runtime may let the model write to a memory or a standing-instructions field that is prepended on later turns. If that write can change or append to the original policy, later turns run under an edited policy the operator did not set. The first turn can look compliant. The session continues under a different rule.
This is not a peer agent’s message inserted as a system instruction: the text can come from the same agent. It is not a static conflict among a system prompt, a developer message, and tool descriptions written in advance, or a feature flag that is still read only at boot. It is also not a child spawned with a broader tool grant than its parent. The original policy can still be on disk. Later turns no longer use it.
**Mark the original policy, then attempt a mid-session rewrite**
Build a small, locally checkable session with a unique, test-only rule in the standing instructions, and a later turn that tries to overwrite or append to it. Run three conditions. In condition A, those writes are rejected or stored as unprivileged memory, and the later turn still follows the original rule. In condition B, the write is prepended or substituted on the next turn, and the later turn follows the edited rule. In condition C, a log still says `policy=original` while the later turn follows the edited rule. Record the policy digest before and after the write, the write role, and which rule the later turn followed.
If B or C can change the governing rule mid-session while the log still names the original policy, the standing instructions were not bound. The test fails if the stack records only `session=ok` and never the policy digest used on the later turn. A control that treats model-written text as unprivileged memory, refuses to splice it into the system layer, and stores both digests should keep B and C from being reported as A.
**Record the policy digest, the write role, and the later-turn rule**
1) Persist, beside any mid-session write that could be prepended, the original policy digest, the digest used on the later turn, the write role, and which test rule was followed. A line that says only `memory_updated=yes` cannot show which policy governed later.
2) Include a fixture where the write is ordinary task memory and the policy is unchanged, so a later turn follows the original rule, and one where only the standing-instruction field has changed. A memory-updated check hides the failure.
3) If a server-side session store, a client conversation log, and a prompt-rebuild worker can each splice the write, run the fixture through each hop. A correct server store can hide a client that still prepends the write as system text.
There are limits. Some designs document a user-approved policy edit; that is valid when the approval is explicit and later turns are not logged as still using the original policy. The test asks whether a model-written edit can become the governing instruction mid-session.
What policy digest and write role would you require beside a later turn before the instructions are treated as unchanged? How do you test a mid-session rewrite after the original policy file is still present, not only after it has been replaced?