Open source CapCut alternative.
TypeScript
Rename app harness docs to agent harness
David Leec9d43ae87a6
diff --git a/docs/architecture.md b/docs/architecture.mdindex c270b7b5..0dcf96cd 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -2,7 +2,7 @@This document is a compact map of Donkey's supported runtime architecture. Thesource of truth for behavior and boundaries remains-[`docs/guides/app-harness.md`](guides/app-harness.md).+[`docs/guides/agent-harness.md`](guides/agent-harness.md).## App-Level Components@@ -35,7 +35,7 @@ source of truth for behavior and boundaries remains| | ^ || v | || +----------------------+ +----------------------+ | |-| | App Harness |<---->| Per-Task Coordinator |--------------+ |+| | Agent Harness |<---->| Per-Task Coordinator |--------------+ || | context + routing | | lifecycle + policy | || +----------+-----------+ +----------+-----------+ || | | |@@ -135,7 +135,7 @@ execution stay behind narrow runtime boundaries.+--------------------------------------------------------------------------------+```-Every prompt turn enters the app harness as conversation first. The harness+Every prompt turn enters the agent harness as conversation first. The harnessbuilds bounded context from thread history, assets, target state, memory,runtime capabilities, policy, and trace ids, then routes the turn toconversation, clarification, review, planning, or action execution. The hot pathdiff --git a/docs/guides/app-harness.md b/docs/guides/agent-harness.mdsimilarity index 98%rename from docs/guides/app-harness.mdrename to docs/guides/agent-harness.mdindex a2c25246..f2baa325 100644--- a/docs/guides/app-harness.md+++ b/docs/guides/agent-harness.md@@ -1,8 +1,8 @@-# App Harness+# Agent Harness## What It Is-The app harness is Donkey's boundary between the user's conversation and the+The agent harness is Donkey's boundary between the user's conversation and thesystems that can act on the Mac. It owns the question: "What should this turn donext?" Sometimes the answer is normal conversation. Sometimes it is aclarifying question. Sometimes it is a reviewed plan. Sometimes it is a guardeddiff --git a/docs/guides/pointer-prompt-overlay.md b/docs/guides/pointer-prompt-overlay.mdindex 219dfb15..f3626368 100644--- a/docs/guides/pointer-prompt-overlay.md+++ b/docs/guides/pointer-prompt-overlay.md@@ -8,7 +8,7 @@ quick local-app actions:- Double-tap Command and release to open a centered prompt with keyboard focus.- Double-tap Command and hold the second press to open the prompt in voice mode.- Show a top-center notch status surface for task progress, recent tasks, follow-up input, file drops, updates, and per-task pause/resume.-- Keep prompt submissions, voice transcripts, and follow-ups on the same app-harness path: task-thread routing, context assembly, conversational response, clarification, review, catalog-backed action parsing, task validation, and guarded local-app execution when a turn is actionable.+- Keep prompt submissions, voice transcripts, and follow-ups on the same agent-harness path: task-thread routing, context assembly, conversational response, clarification, review, catalog-backed action parsing, task validation, and guarded local-app execution when a turn is actionable.- Persist task threads as searchable Core Data conversations with event history, task assets, and per-run runtime coordination for any action work attached to the thread.- Keep the overlay non-invasive. It may request microphone permission for local waveform capture and voice commands, but it must not capture the screen, synthesize input directly, or require Accessibility permission.@@ -20,7 +20,7 @@ quick local-app actions:- Notch geometry comes from the active `NSScreen`, preferring safe-area and auxiliary-top metrics over hardcoded notch sizes. Content must stay out of the physical notch void; displays without a physical notch should use the same top-center composition without reserving unavailable space.- `PointerPromptNotchLayout` is the shared source for notch surface frames, content frames, corner radii, and notch-safe offsets. `canRenderTextInTopRow` describes whether text can draw in the top row, not whether that row exists.- The prompt is a compact black composer: single-line text is pill-shaped, multiline text becomes a bounded rounded rectangle, Return submits, Shift-Return inserts a newline, Escape and outside clicks dismiss, and non-input capsule areas can drag the modal.-- Voice capture and transcription remain separate. The controller records bounded local audio and publishes levels; transcription uses the Parakeet-only adapter before submitting transcript text through the app-harness turn path.+- Voice capture and transcription remain separate. The controller records bounded local audio and publishes levels; transcription uses the Parakeet-only adapter before submitting transcript text through the agent-harness turn path.- Task actions in the notch, including follow-up submission and pause/resume, must cross the model/controller command boundary with the selected task ID.## Verificationdiff --git a/plans/done/22-local-runtime-onboarding.md b/plans/done/22-local-runtime-onboarding.mdindex bc11cb92..046e36cc 100644--- a/plans/done/22-local-runtime-onboarding.md+++ b/plans/done/22-local-runtime-onboarding.md@@ -31,7 +31,7 @@ The supported behavior is documented in:- `docs/architecture.md`- `docs/guides/install-donkey.md`-- `docs/guides/app-harness.md`+- `docs/guides/agent-harness.md`## Follow-Up Workdiff --git a/plans/done/manual-target-context-capture-master-plan.md b/plans/done/manual-target-context-capture-master-plan.mdindex 7f166daf..aa6211a8 100644--- a/plans/done/manual-target-context-capture-master-plan.md+++ b/plans/done/manual-target-context-capture-master-plan.md@@ -3,7 +3,7 @@> 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/app-harness.md`.+Supported behavior and engineering guidance belong in `docs/guides/agent-harness.md`.## Completed Tasks@@ -34,4 +34,4 @@ Supported behavior and engineering guidance belong in `docs/guides/app-harness.m## Completion-This milestone is complete. Supported behavior and engineering guidance live in `docs/guides/app-harness.md`; future implementation should continue from the active capture, Accessibility, benchmarking, and off-the-shelf run-loop plans.+This milestone is complete. Supported behavior and engineering guidance live in `docs/guides/agent-harness.md`; future implementation should continue from the active capture, Accessibility, benchmarking, and off-the-shelf run-loop plans.diff --git a/plans/master-plan.md b/plans/master-plan.mdindex f2d24b19..43c36ba2 100644--- a/plans/master-plan.md+++ b/plans/master-plan.md@@ -29,4 +29,4 @@ No active implementation tasks.- Plans should stay brief and represent remaining work.- Runtime, input, and latency claims should be tied to verifiable local traces.- Task threads are conversations first; action execution is a routed outcome of- the app harness, not the default meaning of every prompt turn.+ the agent harness, not the default meaning of every prompt turn.