# ACTIVE AGENT STATE LOG ## 1. IMMUTABLE CONTEXT FENCES [CONTEXT_FENCE_START] * **Workspace Identifier:** [Insert System/Project Core Identifier] * **Session Origin Anchor:** [Insert High-Level Session Objective & Core Mission to survive context wipes] * **Environmental Parameters:** [Insert Target Runtimes, Toolchains, Compiler/Interpreter Versions] * **Strict Operational Rules:** 1. [Rule 1: e.g., All state modifications must be strictly idempotent] 2. [Rule 2: e.g., Structural modifications must pass automated syntax validation] * **Boundary Assets:** * Primary Orchestration Target: `[Insert Path to Core Orchestrator/Entry File]` * System Configuration Target: `[Insert Path to Primary Configuration/Schema/Def File]` [CONTEXT_FENCE_END] ## 2. ATOMIC TRANSACTION TRACKER [TRANSACTION_TRACKER_START] * [x] State 1: [Insert completed system baseline milestone] * [x] State 2: [Insert completed system baseline milestone] * [~] State 3: CURRENT TRANSACTION — [Insert exact description of active structural change] * [ ] State 4: NEXT TRANSACTION — [Insert upcoming dependency task] [TRANSACTION_TRACKER_END] ## 3. LOGICAL CACHE & RESCUE BLOCK [RESCUE_BLOCK_START] * **Tracking Anchor:** [Insert Version Control Branch/State/Commit Hash Identifier] * **Architectural Lock:** [Insert core structural design pattern or logic choice locking the workspace] * **Deferred Dependencies:** [Insert explicit unresolved dependencies or bugs deliberately bypassed] [RESCUE_BLOCK_END] ## 4. ISOLATED WORKSPACE DIFF (STRICT WRITE PERMISSIONS) [WORKSPACE_DIFF_START] * `[Insert File Path 1]` * **Intended Target State:** [Describe the precise structural state/logic that SHOULD exist after mutation completes] * **Physical Verification State:** [PENDING_VERIFICATION | VERIFIED_INTEGRAL | ROLLED_BACK_SAFE | MUTATION_INTERRUPTED] * **Backup Reference:** [RECOMMENDED: Path to disk copy e.g. .agent-backup/ or 'git HEAD' to avoid context token exhaustion] * **Last Valid Full State Snapshot (Fallback for small snippets only):** [Optional: literal snippet. For files >50 lines, save to .agent-backup/ instead to conserve context window] * `[Insert File Path 2]` * **Intended Target State:** [Describe the precise structural state/logic that SHOULD exist after mutation completes] * **Physical Verification State:** [PENDING_VERIFICATION | VERIFIED_INTEGRAL | ROLLED_BACK_SAFE | MUTATION_INTERRUPTED] * **Backup Reference:** [RECOMMENDED: Path to disk copy e.g. .agent-backup/ or 'git HEAD' to avoid context token exhaustion] * **Last Valid Full State Snapshot (Fallback for small snippets only):** [Optional: literal snippet. For files >50 lines, save to .agent-backup/ instead to conserve context window] [WORKSPACE_DIFF_END]