docs(phase3): blueprint — drop-a-project autonomy (Steps 8/9/10)#15
Merged
docs(phase3): blueprint — drop-a-project autonomy (Steps 8/9/10)#15
Conversation
Phase 3 substrate: long-running autonomous agents with computer use, plan-and-grant safety model, and proactive messaging. Mirrors Phase 1+2 sequential-step + sign-off-gated + kill-switched cadence. Anchor example (user-supplied): "Build me a Telegram bot that monitors Marbella property listings under €X and pings me on new ones." 3 steps: - Step 8: Plan + Permission Contract — codec_agent_plan.py + PWA approval flow + global allowlist tier + plan-hash tamper detection - Step 9: Background Execution — codec-agent-runner PM2 daemon + per-checkpoint exec loop + permission gate + Qwen-3.6 driver + resume-after-restart + 3-concurrent cap + heartbeat monitoring - Step 10: Proactive Messaging + Project Mode UI — agent-to-user messages + chat thread integration + mode dropdown + status pills + small Projects sidebar tab + chat auto-escalation w/ silence 15 Q&A resolved during 2026-05-03 brainstorming session — all captured in §8 of the blueprint. Notable choices: - Q1: Qwen-3.6 ALWAYS (no cloud fallback, user explicit) - Q4: Global allowlist tier across agents - Q5: Resume from last atomic checkpoint (idempotent re-fire safe) - Q9: PWA-only notifications (no macOS/iMessage/Telegram in v1) - Q12: Proactive intelligence overlay deferred to Phase 3.5 Reuses Phase 1+2 substrate: audit envelope (Step 1), plugin hooks (Step 2), ask_user + strict-consent + step budget (Step 3), self-recursion guard (Step 4), observer (Step 5), shift_report (Step 7). Net Phase 3 contribution estimate: 3 PM2 services modified (codec-dashboard, codec-heartbeat, codec-agent-runner NEW), ~14 audit events, +85 to +100 passing tests, 3 PRs (one per step) + closeout doc. Each step deployable independently. Per brainstorming skill workflow: this doc replaces the "docs/superpowers/specs/" default location with the established docs/PHASE*-BLUEPRINT.md pattern from Phase 2. Ready for implementation planning via superpowers:writing-plans once user approves the spec.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 3 design doc — drop-a-project autonomy with computer use, plan-and-grant safety model, proactive messaging. Three steps, sequential, sign-off-gated, kill-switched. Mirrors Phase 1+2 cadence.
This is the blueprint (analogous to PHASE2-BLUEPRINT.md). No code, no implementation. Sets the design before writing implementation plans for each step.
Design produced via brainstorming session 2026-05-03
15 questions resolved with the user. Notable choices captured in §8:
~/.codec/agent_global_grants.json) for repeat permissions across agentsnotifications.json(no macOS banner / iMessage / Telegram in v1)Step breakdown
codec_agent_plan.py, PWA approval flow, global allowlist tier, plan-hash tamper detectioncodec_agent_runner.py+codec-agent-runnerPM2 service, permission gate, 3-concurrent cap, resume-after-restart, heartbeat monitoringReuses from Phase 1 + 2 (no rebuilds)
Step 1 audit envelope · Step 2 plugin hooks · Step 3 ask_user + strict-consent + step budget · Step 4 self-recursion guard · Step 5 observer · Step 7 shift_report. Each Phase 1+2 component is leveraged; nothing rebuilt.
Estimated Phase 3 contribution
Each step deployable independently:
Test plan
superpowers:writing-plansto generate per-step implementation plansOut of scope (explicitly deferred)
🤖 Generated with Claude Code