Skip to content

Open source CapCut alternative.

TypeScript

Archive plans and remove plan references from code

David Led6e48c9f9328
diff --git a/apps/Donkey/Sources/DonkeyAI/AIHarnessBoundary.swift b/apps/Donkey/Sources/DonkeyAI/AIHarnessBoundary.swift
index d328cd9f..ddc02204 100644
--- a/apps/Donkey/Sources/DonkeyAI/AIHarnessBoundary.swift
+++ b/apps/Donkey/Sources/DonkeyAI/AIHarnessBoundary.swift
@@ -11,8 +11,7 @@ public struct AIHarnessBoundary: AIHarnessSnapshotProviding {
public func snapshot() -> AIHarnessSnapshot {
AIHarnessSnapshot(
isPlannerAvailable: false,
- suggestedPromptText: "Make this so",
- sourcePlan: "plans/19-ai-harness.md"
+ suggestedPromptText: "Make this so"
)
}
}
diff --git a/apps/Donkey/Sources/DonkeyContracts/PlaceholderSnapshots.swift b/apps/Donkey/Sources/DonkeyContracts/PlaceholderSnapshots.swift
index b70ca6b1..3339a41d 100644
--- a/apps/Donkey/Sources/DonkeyContracts/PlaceholderSnapshots.swift
+++ b/apps/Donkey/Sources/DonkeyContracts/PlaceholderSnapshots.swift
@@ -3,7 +3,6 @@ import Foundation
public struct RuntimeStatusSnapshot: Equatable, Sendable {
public var isReady: Bool
public var summary: String
- public var sourcePlan: String
public var lifecycleState: RunLifecycleState
public var latestEventSummary: String?
public var eventCount: Int
@@ -12,7 +11,6 @@ public struct RuntimeStatusSnapshot: Equatable, Sendable {
public init(
isReady: Bool,
summary: String,
- sourcePlan: String,
lifecycleState: RunLifecycleState = .idle,
latestEventSummary: String? = nil,
eventCount: Int = 0,
@@ -20,7 +18,6 @@ public struct RuntimeStatusSnapshot: Equatable, Sendable {
) {
self.isReady = isReady
self.summary = summary
- self.sourcePlan = sourcePlan
self.lifecycleState = lifecycleState
self.latestEventSummary = latestEventSummary
self.eventCount = eventCount
@@ -31,15 +28,12 @@ public struct RuntimeStatusSnapshot: Equatable, Sendable {
public struct AIHarnessSnapshot: Equatable, Sendable {
public var isPlannerAvailable: Bool
public var suggestedPromptText: String
- public var sourcePlan: String
public init(
isPlannerAvailable: Bool,
- suggestedPromptText: String,
- sourcePlan: String
+ suggestedPromptText: String
) {
self.isPlannerAvailable = isPlannerAvailable
self.suggestedPromptText = suggestedPromptText
- self.sourcePlan = sourcePlan
}
}
diff --git a/apps/Donkey/Sources/DonkeyRuntime/OffTheShelfRunLoopBoundary.swift b/apps/Donkey/Sources/DonkeyRuntime/OffTheShelfRunLoopBoundary.swift
index 740fea71..0e738537 100644
--- a/apps/Donkey/Sources/DonkeyRuntime/OffTheShelfRunLoopBoundary.swift
+++ b/apps/Donkey/Sources/DonkeyRuntime/OffTheShelfRunLoopBoundary.swift
@@ -12,7 +12,6 @@ public struct OffTheShelfRunLoopBoundary: RuntimeStatusProviding {
RuntimeStatusSnapshot(
isReady: false,
summary: "Run coordinator ready to create sessions",
- sourcePlan: "plans/20-off-the-shelf-run-loop.md",
lifecycleState: .idle
)
}
diff --git a/apps/Donkey/Sources/DonkeyRuntime/RunCoordinator.swift b/apps/Donkey/Sources/DonkeyRuntime/RunCoordinator.swift
index 2b0a4a30..1afc0186 100644
--- a/apps/Donkey/Sources/DonkeyRuntime/RunCoordinator.swift
+++ b/apps/Donkey/Sources/DonkeyRuntime/RunCoordinator.swift
@@ -207,7 +207,6 @@ public actor RunCoordinator {
return RuntimeStatusSnapshot(
isReady: lifecycleState == .running,
summary: summary(for: lifecycleState),
- sourcePlan: "plans/20-off-the-shelf-run-loop.md",
lifecycleState: lifecycleState,
latestEventSummary: latestEvent?.summary,
eventCount: eventCount,
diff --git a/docs/README.md b/docs/README.md
index 569b0720..65689cb8 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -4,6 +4,8 @@ This folder is the product and engineering source of truth for capabilities that
Plans describe what we might build. Guides describe what Donkey currently supports and how to maintain it.
+There is currently no active plan in `plans/`. The roadmap-era plans have been moved to `plans/done/` as historical context because they either describe already-supported slices or future work that is not actionable in this repo without a fresh product/target decision.
+
## Product Guides
- [Pointer Prompt Overlay](guides/pointer-prompt-overlay.md): double-Command standard macOS-style `Make this so` composer that opens near the mouse at a fixed offset.
@@ -16,6 +18,8 @@ Plans describe what we might build. Guides describe what Donkey currently suppor
## Navigation Rules
- Add a guide here when a plan moves to `plans/done/`.
+- Treat `plans/done/` as background only; do not use archived plans as active implementation instructions.
+- Ask before creating a new active plan.
- Product guides should explain supported behavior, boundaries, and verification.
- Engineering guides should explain patterns current code must follow, not speculative architecture.
- Guides should not duplicate implementation. Prefer intent, rules, and concise source entrypoints over code listings or long file inventories.
diff --git a/docs/guides/minimal-run-coordinator.md b/docs/guides/minimal-run-coordinator.md
index b3ec1b83..afd1be69 100644
--- a/docs/guides/minimal-run-coordinator.md
+++ b/docs/guides/minimal-run-coordinator.md
@@ -18,7 +18,7 @@ Donkey also supports the first real reflex trace shape for the off-the-shelf run
Donkey also supports shared hot-loop contracts for deterministic reflex-loop slices. Frames, crops, coordinate spaces, perception signals, compact world states, controller actions, and action results are typed, Codable, Sendable contracts. Coordinate spaces are explicit across screen, window, crop, and normalized target space. Perception signals carry confidence and monotonic source age, and stale signals are marked on world state instead of being silently reused.
-Donkey also supports a deterministic dry-run reflex loop skeleton. The loop consumes synthetic, recorded, target-window, or local-navigation metadata frame batches through a latest-frame-wins buffer with queue depth 1, counts dropped frames, converts signals into compact world state through a swappable projector, chooses an inspectable semantic action, projects the action in dry-run mode without OS input, and publishes `ReflexTraceRecord` samples through `RunCoordinator`. This skeleton is for contract validation and replayable tests only; continuous streaming capture and live input are not supported yet.
+Donkey also supports a deterministic dry-run reflex loop skeleton. The loop consumes synthetic, recorded, target-window, or local-navigation metadata frame batches through a latest-frame-wins buffer with queue depth 1, counts dropped frames, converts signals into compact world state through a swappable projector, chooses an inspectable semantic action, projects the action in dry-run mode without OS input, and publishes `ReflexTraceRecord` samples through `RunCoordinator`. This skeleton is for contract validation and replayable tests only; continuous streaming capture and a default OS input backend are not supported yet.
Donkey also supports a bounded target-window frame source for the dry-run hot-loop boundary. The frame source reuses macOS window selection and safety checks, captures selected windows through ScreenCaptureKit's desktop-independent window path, returns `HotLoopFrame` metadata for a caller-provided maximum frame count, and records capture latency and copy cost with monotonic timestamps. This path does not write screenshot artifacts and does not PNG/JPEG encode or decode frames. High-resolution manual screenshot artifacts remain separate from reflex frames.
@@ -28,7 +28,7 @@ Donkey also supports the first action-engine guardrail boundary. `ActionEngineGu
Donkey also supports reflex latency reports and a synthetic replay benchmark. `ReflexLatencyReportBuilder` summarizes reflex traces into p50/p95/p99 latency for software-loop, capture, preprocess/crop-normalize, model inference, perception, state update, controller decision, action projection, and input stages, plus capture/perception/controller rates, dropped frames, stale actions, and worst traces. `ReflexReplayBenchmark` can generate deterministic dry-run traces for capture-only, controller-only, or end-to-end dry-run report modes. The installed debug entrypoint can print a CLI-friendly dry-run latency report with `--dry-run-latency-report`.
-Donkey also supports the first fast local-navigation dry-run slice end to end through the dry-run reflex loop. `LocalNavigationMetadataFrameSource` can turn macOS window candidate metadata and optional browser-tab metadata supplied by callers into metadata-only hot-loop frames. `LocalNavigationDryRunPerceptionAdapter` and `LocalNavigationDryRunWorldStateProjector` keep the local-navigation path swappable while preserving the no-remote-model fallback. `LocalNavigationControllerPolicy` can choose traceable dry-run semantic actions such as `focusWindow`, `activateCandidate`, `switchTab`, `wait`, or `observe` from typed state. This slice is metadata-only and side-effect free; live input and richer visual inference remain future work.
+Donkey also supports the first fast local-navigation dry-run slice end to end through the dry-run reflex loop. `LocalNavigationMetadataFrameSource` can turn macOS window candidate metadata and optional browser-tab metadata supplied by callers into metadata-only hot-loop frames. `LocalNavigationDryRunPerceptionAdapter` and `LocalNavigationDryRunWorldStateProjector` keep the local-navigation path swappable while preserving the no-remote-model fallback. `LocalNavigationControllerPolicy` can choose traceable dry-run semantic actions such as `focusWindow`, `activateCandidate`, `switchTab`, `wait`, or `observe` from typed state. This slice is metadata-only and side-effect free by default; guarded live-action smoke requires an injected backend, and richer visual inference remains future work.
Donkey also supports a guarded live-action smoke boundary for the first local-navigation behavior. `GuardedLiveActionSmokeRunner` requires an end-to-end dry-run result, a latency report with p95 evidence, a non-fallback latest action, explicit input policy allowance, and a passing action-engine focus guard before mapping semantic local-navigation actions to typed action-engine commands. The smoke path records replayable action traces and can execute only through an injected backend; no default OS input backend is enabled.
diff --git a/plans/00-overview.md b/plans/done/00-overview.md
similarity index 90%
rename from plans/00-overview.md
rename to plans/done/00-overview.md
index 4fc27326..ff7ac494 100644
--- a/plans/00-overview.md
+++ b/plans/done/00-overview.md
@@ -1,16 +1,18 @@
# Super Low-Latency Agent Plan
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Objective
Build a desktop AI agent that can play iPhone games through Apple's iPhone Mirroring app with low latency, while keeping the architecture general enough to later control normal desktop software.
iPhone games are the first product focus. Gaming is the latency proof. The larger platform is real-time desktop and mobile-app control from the Mac.
-## Current Master Plan
+## Archived Plan Status
-Start with [master-plan.md](master-plan.md).
+There is no active master plan in `plans/` right now. Start with `docs/README.md` and the supported behavior guides before changing code.
-That plan coordinates the next sequence of edits across the off-the-shelf run loop and AI harness, with latency, capture/perception, controller, planner, action-engine, and benchmarking plans as supporting constraints. The manual target context capture milestone is complete in [done/manual-target-context-capture-master-plan.md](done/manual-target-context-capture-master-plan.md).
+This overview and the related roadmap plans are archived background. They mix completed boundaries with ideas that require a fresh target/product decision, so they should not drive implementation directly.
## Near-Term Focus
diff --git a/plans/01-latency-budget.md b/plans/done/01-latency-budget.md
similarity index 92%
rename from plans/01-latency-budget.md
rename to plans/done/01-latency-budget.md
index 75ca23a3..3664a12b 100644
--- a/plans/01-latency-budget.md
+++ b/plans/done/01-latency-budget.md
@@ -1,5 +1,7 @@
# Latency Budget
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Target
The reflex loop should complete in under 100ms end to end.
diff --git a/plans/02-capture-and-perception.md b/plans/done/02-capture-and-perception.md
similarity index 94%
rename from plans/02-capture-and-perception.md
rename to plans/done/02-capture-and-perception.md
index 90b44736..0fb12366 100644
--- a/plans/02-capture-and-perception.md
+++ b/plans/done/02-capture-and-perception.md
@@ -1,5 +1,7 @@
# Capture And Perception
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Convert screen pixels into a compact world state quickly enough for real-time control.
diff --git a/plans/03-fast-controller.md b/plans/done/03-fast-controller.md
similarity index 93%
rename from plans/03-fast-controller.md
rename to plans/done/03-fast-controller.md
index 1dfe6b9c..f5e1c9cc 100644
--- a/plans/03-fast-controller.md
+++ b/plans/done/03-fast-controller.md
@@ -1,5 +1,7 @@
# Fast Controller
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Make real-time decisions from world state without waiting on slow reasoning.
diff --git a/plans/04-slow-planner.md b/plans/done/04-slow-planner.md
similarity index 90%
rename from plans/04-slow-planner.md
rename to plans/done/04-slow-planner.md
index 0b88b372..23a22431 100644
--- a/plans/04-slow-planner.md
+++ b/plans/done/04-slow-planner.md
@@ -1,5 +1,7 @@
# Slow Planner
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Handle strategy and recovery without slowing down the reflex loop.
diff --git a/plans/05-action-engine.md b/plans/done/05-action-engine.md
similarity index 92%
rename from plans/05-action-engine.md
rename to plans/done/05-action-engine.md
index d9581a51..59149c0d 100644
--- a/plans/05-action-engine.md
+++ b/plans/done/05-action-engine.md
@@ -1,5 +1,7 @@
# Action Engine
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Execute keyboard, mouse, and controller actions with low latency and predictable timing.
diff --git a/plans/06-benchmarking.md b/plans/done/06-benchmarking.md
similarity index 97%
rename from plans/06-benchmarking.md
rename to plans/done/06-benchmarking.md
index f3473c26..118bdb63 100644
--- a/plans/06-benchmarking.md
+++ b/plans/done/06-benchmarking.md
@@ -1,5 +1,7 @@
# Benchmarking And Monitoring
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Make latency visible, measurable, and hard to accidentally regress.
diff --git a/plans/07-rollout.md b/plans/done/07-rollout.md
similarity index 94%
rename from plans/07-rollout.md
rename to plans/done/07-rollout.md
index 9e0d4e64..f60fa5c9 100644
--- a/plans/07-rollout.md
+++ b/plans/done/07-rollout.md
@@ -1,5 +1,7 @@
# Rollout Plan
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Phase 0: First Supported Target
Pick the first iPhone Mirroring target and define the initial supported agent behavior.
diff --git a/plans/08-dom-parsing.md b/plans/done/08-dom-parsing.md
similarity index 96%
rename from plans/08-dom-parsing.md
rename to plans/done/08-dom-parsing.md
index 24c8b241..c1a1257e 100644
--- a/plans/08-dom-parsing.md
+++ b/plans/done/08-dom-parsing.md
@@ -1,5 +1,7 @@
# DOM Parsing
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Use DOM state as a low-latency perception channel for browser games, web apps, and desktop software built on web views.
diff --git a/plans/09-screenshot-model-inference.md b/plans/done/09-screenshot-model-inference.md
similarity index 96%
rename from plans/09-screenshot-model-inference.md
rename to plans/done/09-screenshot-model-inference.md
index d75c492a..f0ae792d 100644
--- a/plans/09-screenshot-model-inference.md
+++ b/plans/done/09-screenshot-model-inference.md
@@ -1,5 +1,7 @@
# Screenshot Model Inference
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Capture screenshots or screen regions and feed them into a low-latency vision model that emits compact perception signals for the controller.
diff --git a/plans/10-gaps-to-expand.md b/plans/done/10-gaps-to-expand.md
similarity index 97%
rename from plans/10-gaps-to-expand.md
rename to plans/done/10-gaps-to-expand.md
index abf96c5a..d2bb096d 100644
--- a/plans/10-gaps-to-expand.md
+++ b/plans/done/10-gaps-to-expand.md
@@ -1,5 +1,7 @@
# Gaps To Expand
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Identify the missing plans needed to turn the low-latency agent architecture into a working product.
diff --git a/plans/11-game-targets.md b/plans/done/11-game-targets.md
similarity index 96%
rename from plans/11-game-targets.md
rename to plans/done/11-game-targets.md
index 42b51965..72529a50 100644
--- a/plans/11-game-targets.md
+++ b/plans/done/11-game-targets.md
@@ -1,5 +1,7 @@
# Game Targets
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Choose iPhone games that expose latency problems quickly, avoid anti-cheat risk, and let the agent become good at mobile gameplay through iPhone Mirroring.
diff --git a/plans/12-iphone-mirroring.md b/plans/done/12-iphone-mirroring.md
similarity index 97%
rename from plans/12-iphone-mirroring.md
rename to plans/done/12-iphone-mirroring.md
index e8e9f259..54d5103b 100644
--- a/plans/12-iphone-mirroring.md
+++ b/plans/done/12-iphone-mirroring.md
@@ -1,5 +1,7 @@
# iPhone Mirroring
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Use Apple's iPhone Mirroring app as the primary near-term target surface for mobile-game and mobile-app automation from the Mac.
diff --git a/plans/13-subway-surfers-target.md b/plans/done/13-subway-surfers-target.md
similarity index 96%
rename from plans/13-subway-surfers-target.md
rename to plans/done/13-subway-surfers-target.md
index f74bb1b6..29982f1a 100644
--- a/plans/13-subway-surfers-target.md
+++ b/plans/done/13-subway-surfers-target.md
@@ -1,5 +1,7 @@
# Subway Surfers Target Profile
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Use Subway Surfers as a high-pressure iPhone Mirroring target for low-latency screenshot perception and swipe control.
diff --git a/plans/14-synthetic-controller.md b/plans/done/14-synthetic-controller.md
similarity index 95%
rename from plans/14-synthetic-controller.md
rename to plans/done/14-synthetic-controller.md
index 82faae14..d0941968 100644
--- a/plans/14-synthetic-controller.md
+++ b/plans/done/14-synthetic-controller.md
@@ -1,5 +1,7 @@
# Synthetic Controller
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Build a generic synthetic input controller that emits calibrated input into a target game or app.
diff --git a/plans/15-gamepad-controller.md b/plans/done/15-gamepad-controller.md
similarity index 95%
rename from plans/15-gamepad-controller.md
rename to plans/done/15-gamepad-controller.md
index 997c0051..9be04d73 100644
--- a/plans/15-gamepad-controller.md
+++ b/plans/done/15-gamepad-controller.md
@@ -1,5 +1,7 @@
# Gamepad Controller
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Build a generic controller/gamepad abstraction that can drive any supported game with controller input, without hardcoding a single game.
diff --git a/plans/16-iphone-gameplay-roadmap.md b/plans/done/16-iphone-gameplay-roadmap.md
similarity index 95%
rename from plans/16-iphone-gameplay-roadmap.md
rename to plans/done/16-iphone-gameplay-roadmap.md
index add30fd0..b7c807dd 100644
--- a/plans/16-iphone-gameplay-roadmap.md
+++ b/plans/done/16-iphone-gameplay-roadmap.md
@@ -1,5 +1,7 @@
# iPhone Gameplay Roadmap
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Make the agent good at playing iPhone games through Apple's iPhone Mirroring app.
diff --git a/plans/17-ios-control-prompt.md b/plans/done/17-ios-control-prompt.md
similarity index 96%
rename from plans/17-ios-control-prompt.md
rename to plans/done/17-ios-control-prompt.md
index aa42351e..42b90cb8 100644
--- a/plans/17-ios-control-prompt.md
+++ b/plans/done/17-ios-control-prompt.md
@@ -1,5 +1,7 @@
# iOS Control Prompt
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Capture the operating prompt for controlling iOS, using PhoneAgent as a reference while keeping iPhone Mirroring gameplay as the main product path.
diff --git a/plans/18-macos-accessibility.md b/plans/done/18-macos-accessibility.md
similarity index 96%
rename from plans/18-macos-accessibility.md
rename to plans/done/18-macos-accessibility.md
index 069297d8..82fdf215 100644
--- a/plans/18-macos-accessibility.md
+++ b/plans/done/18-macos-accessibility.md
@@ -1,5 +1,7 @@
# macOS Accessibility
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Use macOS Accessibility as a PhoneAgent-like tree/action backend for Mac apps, window management, setup flows, and non-frame-critical UI control.
diff --git a/plans/19-ai-harness.md b/plans/done/19-ai-harness.md
similarity index 99%
rename from plans/19-ai-harness.md
rename to plans/done/19-ai-harness.md
index ae10d5ec..c34526a6 100644
--- a/plans/19-ai-harness.md
+++ b/plans/done/19-ai-harness.md
@@ -1,5 +1,7 @@
# AI Harness
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Build the slow-path AI harness that connects the agent to LLMs/VLMs, manages memory, routes model calls, validates structured planner output, and keeps model choices updateable without touching the low-latency reflex loop.
diff --git a/plans/20-off-the-shelf-run-loop.md b/plans/done/20-off-the-shelf-run-loop.md
similarity index 98%
rename from plans/20-off-the-shelf-run-loop.md
rename to plans/done/20-off-the-shelf-run-loop.md
index 5cb69eff..a54339ce 100644
--- a/plans/20-off-the-shelf-run-loop.md
+++ b/plans/done/20-off-the-shelf-run-loop.md
@@ -1,5 +1,7 @@
# Off-The-Shelf Run Loop
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Build the first real-time game assistant from existing components instead of custom model work.
diff --git a/plans/done/21-swiftui-pointer-ui.md b/plans/done/21-swiftui-pointer-ui.md
index de3974a5..f64adfd0 100644
--- a/plans/done/21-swiftui-pointer-ui.md
+++ b/plans/done/21-swiftui-pointer-ui.md
@@ -1,5 +1,7 @@
# SwiftUI Pointer UI
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
## Goal
Add the production macOS SwiftUI pointer prompt UI while keeping the future real-time run loop and AI harness decoupled behind explicit integration boundaries.
@@ -12,8 +14,8 @@ Add the production macOS SwiftUI pointer prompt UI while keeping the future real
- The prompt follows the mouse at bottom right by default, flips to the opposite side near screen edges, and stays clamped inside the visible screen.
- The active pointer renders with a shadow and supports theme-color customization.
- Contracts, UI, runtime boundary, AI boundary, and app entrypoint are separate Swift targets.
-- Runtime boundary references `plans/20-off-the-shelf-run-loop.md`.
-- AI boundary references `plans/19-ai-harness.md`.
+- Runtime boundary references `plans/done/20-off-the-shelf-run-loop.md`.
+- AI boundary references `plans/done/19-ai-harness.md`.
- No Screen Recording, Accessibility, model calls, capture loop, or input execution is included in this slice.
## Acceptance
diff --git a/plans/done/manual-target-context-capture-master-plan.md b/plans/done/manual-target-context-capture-master-plan.md
index 33f72120..7d1d6746 100644
--- a/plans/done/manual-target-context-capture-master-plan.md
+++ b/plans/done/manual-target-context-capture-master-plan.md
@@ -1,5 +1,7 @@
# Manual Target Context Capture Master Plan
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
This file records the completed manual target context capture milestone.
Supported behavior and engineering guidance belong in `docs/guides/minimal-run-coordinator.md`.
diff --git a/plans/done/master-plan.md b/plans/done/master-plan.md
new file mode 100644
index 00000000..9d54aa70
--- /dev/null
+++ b/plans/done/master-plan.md
@@ -0,0 +1,86 @@
+# Real-Time Run Loop And AI Harness Master Plan
+
+> Archived status: historical context only. This file is not an active implementation queue. Supported behavior lives in `docs/`; future work from this idea needs a fresh active plan created deliberately.
+
+This file was the active task queue for closing out the first local-navigation dry-run, slow-planner sidecar, and guarded live-action smoke milestones. It is now archived.
+
+Historical primary plans:
+
+- `plans/done/20-off-the-shelf-run-loop.md`
+- `plans/done/19-ai-harness.md`
+
+Historical supporting plans:
+
+- `plans/done/01-latency-budget.md`
+- `plans/done/02-capture-and-perception.md`
+- `plans/done/03-fast-controller.md`
+- `plans/done/04-slow-planner.md`
+- `plans/done/05-action-engine.md`
+- `plans/done/06-benchmarking.md`
+
+Supported behavior and engineering guidance belong in `docs/guides/`. There is no active queue in this archived file.
+
+## Plan Management Note
+
+This file is no longer the active queue. New work should start from `docs/README.md`, current guides, and code reality. If a future milestone needs plan coordination, create a fresh active plan deliberately instead of treating this archived roadmap as an implementation list.
+
+## Milestone Goal
+
+Build the first product-shaped loop where Donkey can run a local navigation session with bounded reflex behavior and an optional slow AI sidecar:
+
+```text
+local desktop/window/browser context
+ -> focused capture / Accessibility / browser-tab metadata
+ -> local perception or cheap metadata/template signal
+ -> compact world state
+ -> deterministic navigation controller
+ -> dry-run action trace first, guarded live action later
+ -> latency report and replayable trace
+
+slow AI harness
+ -> compact snapshot
+ -> model router
+ -> structured planner hint
+ -> validated hint bus
+ -> scoped memory proposal
+```
+
+The hot path must continue to work with the AI harness disabled.
+
+## Supported Boundary
+
+- Runtime shell: minimal run coordination, ordered events, bounded context assembly, local run artifacts, manual target context capture, in-memory reflex trace retention, and stage-split latency reports are supported.
+- Reflex hot path: typed frame/world-state/action contracts, deterministic dry-run loop, bounded target-window frame source, cheap metadata perception, swappable world-state projection, deterministic controller, loop-integrated metadata-only local-navigation dry-run action selection, optional caller-supplied browser-tab metadata, and dry-run action projection are supported. Live OS input is not supported.
+- Safety boundary: action-engine command contracts, permission/focus/rate/hold/release guardrails, guarded live-action smoke with an injected backend, and replayable command traces are supported before any default OS input backend exists.
+- Slow AI boundary: structured planner hints, validation/expiry/latest-valid selection, loop-adjacent slow-planner trigger/snapshot sidecar, model registry/router, an OpenAI Responses structured-output adapter, source-linked memory, and replay/eval scaffolding are supported as optional sidecar pieces. The hot loop still runs without AI output.
+- Source of truth: detailed supported behavior lives in `docs/guides/minimal-run-coordinator.md`; historical implementation details should be found with search in `docs/`, `plans/`, and git history, not duplicated here.
+
+## Non-Negotiable Rules
+
+- No remote model call, chat LLM call, or general VLM call may be required for a reflex tick.
+- The reflex path uses latest-frame-wins queues; stale frames are dropped and counted.
+- The controller consumes typed world state, not raw screenshots.
+- The action engine owns OS input; controller policies emit semantic commands only.
+- Input starts in dry-run mode. Live input requires policy allowance, focus guard success, and emergency release support.
+- Planner output is a validated, expiring hint. It is never direct input.
+- Latency claims require monotonic timestamps and a report.
+- Full-resolution snapshots, screenshots for AI, and memory writes stay outside the reflex loop.
+
+## Archived Closeout
+
+The first supported local-navigation runtime slice is documented in `docs/guides/minimal-run-coordinator.md`. The broader roadmap material was moved to `plans/done/` as historical context because its remaining future work is not actionable without a fresh target/product decision.
+
+## What Should Be Done Next
+
+Start with `docs/README.md`. If new work is needed, create a fresh active plan deliberately instead of reviving this archived queue.
+
+## Closeout Outcome
+
+This roadmap is archived because the supported slice is now documented and the remaining ambitions need a fresh target/product decision before they are actionable. The grounded repo state is:
+
+- Fast local navigation can run end to end in dry-run mode.
+- Guarded live-action smoke exists only behind dry-run success, latency evidence, policy, focus, and an injected backend.
+- Capture, perception, controller, action projection, and input stages use monotonic timing metadata where supported.
+- The hot loop works with the AI harness disabled.
+- Planner hints, model routing, memory scaffolding, replay/eval scaffolding, and slow-planner sidecar pieces are optional boundaries, not reflex-loop requirements.
+- Historical plans are archived in `plans/done/`.
diff --git a/plans/master-plan.md b/plans/master-plan.md
deleted file mode 100644
index 2c8a9885..00000000
--- a/plans/master-plan.md
+++ /dev/null
@@ -1,98 +0,0 @@
-# Real-Time Run Loop And AI Harness Master Plan
-
-This file is the active task queue for closing out the off-the-shelf real-time run loop and slow-path AI harness milestones.
-
-Primary plans:
-
-- `plans/20-off-the-shelf-run-loop.md`
-- `plans/19-ai-harness.md`
-
-Supporting plans:
-
-- `plans/01-latency-budget.md`
-- `plans/02-capture-and-perception.md`
-- `plans/03-fast-controller.md`
-- `plans/04-slow-planner.md`
-- `plans/05-action-engine.md`
-- `plans/06-benchmarking.md`
-
-Supported behavior and engineering guidance belong in `docs/guides/`. This master plan should stay small: keep only critical current-boundary context and the active queue.
-
-## Plan Management Note
-
-As work progresses, move only still-actionable items out of the supporting plans and into this master plan so there is one active queue. Do not grow a historical completed-task log here. When a slice becomes supported, update the supported-boundary summary below and the relevant guide in `docs/guides/`; use search across `docs/` and `plans/` for older implementation history.
-
-When a supporting plan has no remaining active work, either move it to `plans/done/` if its acceptance criteria are supported, or leave it active only for clearly named future work that still remains.
-
-## Milestone Goal
-
-Build the first product-shaped loop where Donkey can run a local navigation session with bounded reflex behavior and an optional slow AI sidecar:
-
-```text
-local desktop/window/browser context
- -> focused capture / Accessibility / browser-tab metadata
- -> local perception or cheap metadata/template signal
- -> compact world state
- -> deterministic navigation controller
- -> dry-run action trace first, guarded live action later
- -> latency report and replayable trace
-
-slow AI harness
- -> compact snapshot
- -> model router
- -> structured planner hint
- -> validated hint bus
- -> scoped memory proposal
-```
-
-The hot path must continue to work with the AI harness disabled.
-
-## Supported Boundary
-
-- Runtime shell: minimal run coordination, ordered events, bounded context assembly, local run artifacts, manual target context capture, in-memory reflex trace retention, and stage-split latency reports are supported.
-- Reflex hot path: typed frame/world-state/action contracts, deterministic dry-run loop, bounded target-window frame source, cheap metadata perception, swappable world-state projection, deterministic controller, loop-integrated metadata-only local-navigation dry-run action selection, optional caller-supplied browser-tab metadata, and dry-run action projection are supported. Live OS input is not supported.
-- Safety boundary: action-engine command contracts, permission/focus/rate/hold/release guardrails, guarded live-action smoke with an injected backend, and replayable command traces are supported before any default OS input backend exists.
-- Slow AI boundary: structured planner hints, validation/expiry/latest-valid selection, loop-adjacent slow-planner trigger/snapshot sidecar, model registry/router, an OpenAI Responses structured-output adapter, source-linked memory, and replay/eval scaffolding are supported as optional sidecar pieces. The hot loop still runs without AI output.
-- Source of truth: detailed supported behavior lives in `docs/guides/minimal-run-coordinator.md`; historical implementation details should be found with search in `docs/`, `plans/`, and git history, not duplicated here.
-
-## Non-Negotiable Rules
-
-- No remote model call, chat LLM call, or general VLM call may be required for a reflex tick.
-- The reflex path uses latest-frame-wins queues; stale frames are dropped and counted.
-- The controller consumes typed world state, not raw screenshots.
-- The action engine owns OS input; controller policies emit semantic commands only.
-- Input starts in dry-run mode. Live input requires policy allowance, focus guard success, and emergency release support.
-- Planner output is a validated, expiring hint. It is never direct input.
-- Latency claims require monotonic timestamps and a report.
-- Full-resolution snapshots, screenshots for AI, and memory writes stay outside the reflex loop.
-
-## Active Queue
-
-1. Close out the primary plans.
- - Update supported behavior guides in `docs/guides/`.
- - Move `plans/20-off-the-shelf-run-loop.md` to `plans/done/` when the reflex loop acceptance criteria are supported.
- - Move `plans/19-ai-harness.md` to `plans/done/` when the AI harness acceptance criteria are supported.
- - Move supporting plans to `plans/done/` only if their acceptance criteria are fully satisfied; otherwise update them to describe the remaining future work.
- - Move this master plan to `plans/done/` after both primary plans are closed out.
-
-## What Should Be Done Next
-
-Start with active task 1: close out the primary plans.
-
-This is the right next slice because the metadata-only local-navigation path runs through the dry-run loop, the optional slow-planner sidecar can publish validated hints without moving reflex p95 latency, and the guarded live-action smoke boundary requires dry-run latency evidence, explicit input policy allowance, focus guard success, and replayable action traces. The remaining work is plan hygiene: decide which primary/supporting acceptance criteria are fully satisfied, move completed plans to `plans/done/`, and keep only clearly named future work active.
-
-## Closeout Criteria
-
-This master plan is complete when:
-
-- The off-the-shelf run loop can run fast local navigation in dry-run mode end to end.
-- The first local-navigation behavior can be exercised with guarded live input after dry-run success.
-- Capture, perception, controller, action, and input stages are measured with monotonic timestamps.
-- p50 and p95 reflex latency are reported for the first supported target.
-- The hot loop still works with the AI harness disabled.
-- Planner hints are structured, validated, expiring, trace-linked, and optional.
-- Memory writes are source-linked, scoped, inspectable, deleteable, and deterministically approved.
-- Model routing uses registry roles instead of scattered literal model ids.
-- Replay/eval exists for controller traces and model/prompt changes.
-- Supported behavior is documented in `docs/guides/`.
-- `plans/19-ai-harness.md` and `plans/20-off-the-shelf-run-loop.md` are moved to `plans/done/`.