Skip to content
Agent Field Notes
Practice topicsFilter practice questions by topic.All practice →
Practice 25AdvancedSystem designAbout 25 minutes

Corresponding knowledge: Separating state, execution and governance

How should a long-running harness separate replaceable controllers, durable sessions and controlled execution?

Analyze logs, context, execution, credentials, tool discovery and joint releases without mistaking hosted recovery for business exactly-once.

HarnessSession logSandboxTool searchSkillsHooks

Knowledge content check2026-10-30 · Check the source of the original question2026-10-30

Knowledge unit directory

LEARN · PRACTICE · REFLECT

Knowledge exercises·Independent answers

My notes and review ↗

Principles and Solutions have been collapsed. Explain the core mechanism, boundaries and verification methods in your own words, and then compare them.

Answers and personal notes

Each modified commit will be kept as an independent history. Your level of mastery is up to you to evaluate yourself against the standards.

Explain in your own words first

The core principles, analysis, Q&A and migration cases have been closed. When you are ready, unfold it and compare it with the content to find any omissions.

Hands-on verificationComplete on demand · Suggestions90 minutes

Run the linked complete program, inspect persistent records and add the three negative controls. Write incident timelines for unknown write, lost artifact and hook change, then a one-page hosted/self-managed and joint-release ADR. Separate executed evidence from proposed design and leave untested integrations pending.

Expand acceptance requirements and checkpoints
  • Retain three outputs and personal source digest; reject both identity conflicts and add no effect on empty lookup
  • Distinguish five identities, current authority and immutable approval binding
  • Compare two viable architectures with cost/latency/recovery and dynamic-tool/skill/hook governance
  • Use the same task denominator for model/harness candidates and preserve external facts on rollback

Key inspections

  • Separate session, context, artifacts and merchant ledger
  • Distinguish event, attempt, model-call and operation identity
  • Separate credential proxy, current authorization and on-demand execution
  • Pin dynamic-tool and skill/hook release inputs
  • Define joint evaluation, ablation, in-flight migration and rollback gates