Skip to content
Agent Field Notes
Course contentsExpand a topic to choose a lesson.

SYSTEMATIC LEARNING / FOUR-LEVEL COURSE

Separate plan revisions from external facts

Examine dynamic plans, completed side effects, dependencies, and acceptance invariants.

Learning objectives: Plans are modifiable assumptions about future actions, and ledgers are facts that have already occurred. Replanning can only adjust the remaining work; when the goals, dependencies, or parameters change, the artifact and approval should be invalidated along with the dependencies, and cannot be undone by deleting the plan.

Content checked: 2026-10-03 · Each level has independent explanations, tasks and inspections

Choose a starting point based on your familiarity with this topic. Current level: Debugging · Diagnose failures. After completing the task, continue to the next level. Reading and self-checks alone do not establish mastery.

On this level

Review the prerequisites

Suitable for: Backend developers learning Agent applications.

Separate plan revisions from external facts
Plans are modifiable assumptions about future actions, and ledgers are facts that have already occurred. Replanning can only adjust the remaining work; when the goals, dependencies, or parameters change, the artifact and approval should be invalidated along with the dependencies, and cannot be undone by deleting the plan.

How does the mechanism work?

Step-by-step explanation
  1. If the new plan deletes the steps that have already been paid, how will the system status be displayed?

    Replanning tends to confuse future action lists with past facts.

  2. Which artifacts can be reused?

    Reuse requires a validity judgment, not just a completion flag or sunk-cost argument.

  3. How does it end when the plan changes five times in a row?

    Allowing revisions also requires protection against loops that make no progress.

Debugging · Diagnose failures

Diagnose failures · Separate plan revisions from external facts

Objectives of this level: Able to invalidate dependencies and handle unknown requests.

Visual guide · Revise the future, retain the past

Revise the future, retain the past

A plan revision changes remaining work, not committed effects. Compare actual action semantics for approval reuse and bound repeated replanning. Select the figure to open it at full size.

1

Treat the plan as a fact book

Distinguish between target contract and plan version

2

Perform all steps again

Reconcile committed side effects

3

Manufacturing success by lowering acceptance conditions

Give replanning trigger and upper limit

code example

You only need to change the display order

Plan changes do not change artifact content or writing actions

Can old approvals be retained?

If the policy approves fixed artifacts and goals, and the sequence change does not change the external behavior, it can be retained after comparing the digest. If the sequence affects payment, dependency or resource occupation, it itself belongs to action semantics and needs to be re-examined. It is clear which fields affect approval and cannot be judged by the plan version number.

Approval validity is determined by actual action invariants.

Acceptance task for this level

A three-step plan is given: fetch data, generate reports, and publish; modify the measurement definition after generation to mark which states are invalid.

Acceptance self-checks

Reading this browser’s record…

Hide the answer and check your understanding

If the new plan deletes the steps that have already been paid, how will the system status be displayed?

Further explanations and practice

When encountering unfamiliar principles, first read the implementation, continuous questioning and migration cases, and then independently explain the premise and boundaries. Answers and notes are saved to the original account record.

All linked explanations and exercises (1 )

Sources and verification scope

The principles are based on public information; the numbers, cases and tasks are the teaching design of this website. Offline experiments verify the range noted on this page, and the learning effect still needs to be judged through independent tasks and feedback.