I’m experimenting with an agent-runtime architecture where execution results can become evidence for changing the runtime itself.
The simplified loop looks like this:
execution
↓
evidence
↓
modification candidate
↓
verification
↓
activation
↓
new runtime state
This creates a problem I’m trying to reason about.
Suppose runtime epoch e uses verifier V_e.
An agent observes its execution history and proposes a modification C. That modification includes an update to the verifier itself, producing V_(e+1).
My current rule is:
A modification must not change the verifier, authorization policy, or evidence-acceptance rules used to authorize that same modification.
So:
Accept(C) = V_e(C, Evidence_e)
may authorize:
V_e → V_(e+1)
but this should not be allowed:
Accept(C) = V_(e+1)(C, Evidence_e)
because the candidate would effectively participate in defining the rules by which it is accepted.
I’ve been calling this a no same-epoch self-authorization rule.
But I’m not convinced that this is sufficient.
For example:
- What if the candidate leaves the verifier unchanged but changes the evidence-selection mechanism?
- Is validation of
V_(e+1)byV_eenough, or does that merely create a chain of inherited trust? - If the verifier itself contains a bug, what mechanism should be allowed to replace it?
- Does safe self-modification ultimately require a small non-self-modifying root of trust?
- Or can verifier evolution itself be safely modeled as a layered adaptation process?
I’m especially interested in existing work or implementation experience from:
- self-adaptive systems
- runtime assurance
- capability security
- formal methods
- reflective systems
- agent runtimes
I’m not claiming this is a new problem. Quite the opposite: I suspect there are already better terms and established models for parts of it.
If you know of a relevant concept, paper, system, or counterexample to the rule above, I’d like to know what I should be comparing this design against.
Disclosure: I used ChatGPT to help structure and edit this post. The underlying architecture question and design are from my own ongoing project, and I reviewed the content before publishing.
Top comments (0)