Research Notes · Continuous Revision
Agent Runtime: Context, Status and Permissions
Converge Context Recommendation into an achieable responsibility: what information is needed for this step, what can be done, and how to recover.
An Agent can call the same model in each round, but it needs a different working environment. The research stage requires the source, the editing stage requires the current file, and the release stage also needs the goal, authorization and failure processing. Putting all the information into the long context can't solve these differences.
I call this responsibilityContext Recommendation: According to the current task, combine information, ability, status and constraints for the next step. This is my product architecture proposal. There is no unified standard, and it does not require the training of a recommended model.
First, distinguish the six types of context.
| Object | Content that needs to be retained | Common failures |
|---|---|---|
| Order | Objectives, deliverables, prohibited matters | Treat the instructions in the source article as user requirements. |
| Remember | Confirmed preferences, historical decisions, validity period | Temporary opinions become permanent rules. |
| Knowledge | Original source, observation date, counter-estandence | The old report overcomes the new facts. |
| Ability | Tool input and output, preconditions | The tools are visible but cannot be actually executed. |
| State | File version, task progress, pending results | Repeat operations or override new modifications |
| Jurisdiction | Data scope, action scope, approval conditions | The model "thinks approved" will be implemented. |
Permissions need to be checked at the layer. The rules written in the prompt can help model planning and cannot replace file isolation, interface authorization and network policies.
A running circuit that can be realized gradually
Before the model is called, read the latest task status and retrieve candidate materials; filter out unauthorized, expired and unrelated to the current step; and then decide which original text, abstract, tools and rules to enter this round. Record the facts, output and status changes after execution.
First, use determinism rules to process permissions, versions and budgets, retrieve and process document candidates, and then consider the sorting model. Complexity should be driven by real failure, and there is no need to build a huge "cognitive structure" first.
Task status and chat history should be separated. In the dialogue, it is said that "released" is not a release certificate; the target version, execution results and recheckable addresses should be saved. The summary can help to continue the work, and the key facts must still be able to return to the original events.
Guide the evaluation with the failure type
The same wrong answer may be caused by no recall of data, recalled of the expired version, misreading of the model, or failure of tool execution. Just looking at the final score, it is impossible to judge whether to change the search, model or runtime.
At least keep the task version, visible materials, allowed tools, output and acceptance results when evaluating. For long-term tasks, add interruption recovery, user change needs, and conflicting sources. They are closer to product reliability than "how many rounds in a row".
What will overturn this set of inputs?
For tasks with fixed input, short steps and no external actions, ordinary retrieval and clear templates may be sufficient. The increased delay, maintenance and commissioning costs of the runtime project must be included.
The next step of verification should compare the completion quality, manual correction time and interception effect of the same group of tasks. You can't claim that the value of the task has increased just because you have accessed more context.
This page converges the broader concept in the original article to realize the responsibility; the complete argument is still in the original text.
Public source and scope of application
- AgentMeasure Core Specification
The author's project specification · attempt, operation and evidence semantics; the draft is not generally adopted by the industry.
- iRead
Author project · Source discovery, event de-weighting and reporting workflow; do not claim that the value of long-term use has been verified.