aide-architect-editor-implementation
The implementation plan for the architect→editor two-call decomposition in AIDE's agent loop.
Skill by AnonymousNomad
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/anonymousnomad-aide-architect-editor-implementation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/aide-architect-editor-implementation
What's inside
- Skill name
aide-architect-editor-implementation- Description
- The implementation plan for the architect→editor two-call decomposition in AIDE's agent loop. Use when actually building the feature; the companion skill aide-architect-editor-pattern is the doctrine, this is the code map. Covers node/src/services/agent-loop.mjs integration points, the plan parser, the agent:plan event, the /architect slash command, the test cases, the rollout order, and the failure modes to test.
- License
- Apache-2.0
- Instructions
- 211 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- files: referenced but missing: scripts/run-arch.mjs
Files (1)
- SKILL.md
SKILL.md (first lines)
# Architect → Editor — Implementation
The doctrine lives in `aide-architect-editor-pattern`. This skill
is the **engineering playbook** for that doctrine: the concrete
files, the exact insertion points, the test cases, the rollout
order, and the failure modes.
## Architecture (recap)
Two model calls per "complex" agent turn:
1. **Architect**: same system prompt + transcript + a framing
suffix that says "read first, plan second, never emit tool
calls. Output a `## Plan` block." Returns text with a
fenced plan block.
2. **Editor**: same system prompt + transcript + the architect's
plan as a system-prompt prefix. Returns the same XML tool
calls we already parse.
The agent loop decides "architect then editor" per turn, not
per session. A session can have some turns be architect/editor
and other turns be the one-call path.
## Files to touch
### 1. `node/src/services/agent-loop.mjs`
Add a new option on `start(task, mode, chatFnOverride, options)`:
```ts
type AgentOptions = {
architectEditor?: boolean; // opt-in to the two-call pattern
architectMaxRetries?: number; // default 1
}
```
Modify `runSession` so that, when `architectEditor` is on AND
the model emits no tool calls AND the response contains a
`## Plan` block, the loop:
### 2. `common/contracts/agent.ts`
Add a new event type:
```ts
export const AgentPlanEvent = z.object({
event: z.literal('plan'),
session_id: z.string().min(1),
plan: z.string().max(8192),
model: z.string().optional(),
created_at: z.number().int()
}).strict();
```
Add to the `AgentStreamEvent` discriminated union.
### 3. `node/src/routes/agent.ts`
Extend `AgentStartRequest` to accept `architect_editor?: boolean`.
Extend the start handler to read the new field and pass it
through to `service.start()`.
### 4. `daemon/model-manager.mjs` + `node/src/services/model-runtime.ts`
Add a `role: 'architect' | 'editor' | 'chat'` parameter on
the chat function. When set, the runtime resolves the
preferred model for that role (smaller/faster for editor,
stronger/slower for architect). If the role model isn't
allowlisted, fall through to the chat-default model.
This is OPTIONAL for v1 — both architect and editor can use
the same chat-default model. The role is a hint, not a hard
selector.
### 5. `harness/scaffold.mjs`
Add a new scaffold tier `architect` (~400 tokens) with the
framing "read first, plan second, never edit." Used as the
system-prompt prefix when `architectEditor: true`.
Add a new scaffold tier `editor` (~300 tokens) with the
framing "you are the editor. The architect produced this plan.
Translate it into AIDE tool calls. Do not re-reason."
## Rollout
Ship in 2 PRs:
### PR A — architect/editor core (this session, smaller)
- architect/editor option on agent loop
- `agent:plan` event
- plan parser
- 6 arch tests
- skill `aide-architect-editor-pattern` (already done)
- skill `aide-architect-editor-implementation` (this skill)
### PR B — scaffold tiers + role selector (next session)
- `architect` and `editor` scaffold tiers in `harness/scaffold.mjs`
- `role: 'architect' | 'editor'` on the chat function
- `daemon/model-manager.mjs` role-aware resolution
- `/architect` slash command
## Pitfalls
- **Do NOT add a "needs approval for architect" prompt** in
the agent loop. The architect is reasoning; it's free.
- **Do NOT cache the plan between turns.** Re-derive every
turn; the transcript may have grown.
- **Do NOT surface the plan as a chat reply.** It goes on the
`agent:plan` event, not in the assistant message.
- **DO limit the architect output to a single `## Plan`
block.** Multi-block plans are a parser anti-pattern.
- **DO honour the existing approval flow on the editor's
tool calls.** The architect did not approve; the operator
must see the actual tool calls.
- **DO keep the architect loop budget visible** to theFrom AnonymousNomad/covert-coder, Apache-2.0.
More from AnonymousNomad/covert-coder
- 0.624score
aide-android-build
AnonymousNomad
Android build integration for AIDE — Gradle wrapper detection, APK build/debug/install via task service, emulator control, logcat streaming.
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-architect-editor-pattern
AnonymousNomad
The two-call decomposition for any agentic surface that needs higher quality from a smaller model — Architect reasons + plans (no file changes, no tools)…
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-backend-autoselect
AnonymousNomad
Backend auto-detection and selection SOP for llama-server engines in AIDE — probes candidate binaries via --list-devices, caches capabilities, selects…
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-advanced-orchestration
AnonymousNomad
Advanced orchestration patterns for AIDE — multi-lens review (one model, three contexts), clarifying question engine (structured constraint-gathering before…
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-agent-harness-convergence
AnonymousNomad
Converge AIDE's three parallel agent runtimes (legacy daemon model-manager chat + harness/orchestrator.mjs, arch-ts model-router/chat.ts + routes/agent.ts…
SkillBFreshness: B★ 53Claude Code +9 - 0.621score
adapter-serve-routing
AnonymousNomad
Define and verify deterministic format-conditional adapter routing at inference.
SkillBFreshness: B★ 53Claude Code +9 - 0.620score
aide-browser-ide
AnonymousNomad
Architectural options for running AIDE Sovereign Workbench in the browser so visitors can use it without downloading.
SkillBFreshness: B★ 53Claude Code +9 - 0.620score
aid-dap-real-debugpy-fixture
AnonymousNomad
Wire in a REAL debugpy fixture for the AIDE DAP test batteries.
SkillBFreshness: B★ 53Claude Code +9 - 0.620score
aide-agents-md
AnonymousNomad
The AIDE pattern for session-scoped, workspace-scoped, and user-scoped agent instructions — the AGENTS.md (and equivalent) file convention.
SkillBFreshness: B★ 53Claude Code +9 - 0.620score
aide-background-tasks
AnonymousNomad
The AIDE pattern for long-running, durable background tasks — a JSONL outbox on disk that survives daemon restarts, a drain worker that replays idempotently…
SkillBFreshness: B★ 53Claude Code +9 - 0.620score
aide-ci-diagnostics
AnonymousNomad
Diagnose GitHub Actions failures on AnonymousNomad/aide-sovereign-workbench WITHOUT authentication — no-auth evidence channels (::error annotations, job…
SkillBFreshness: B★ 53Claude Code +9 - 0.617score
PC management
AnonymousNomad
Owner's manual for THIS machine (ASUS GL703GM — i7-8750H / GTX 1060 / 16GB RAM / 120Hz).
SkillBFreshness: B★ 53Claude Code +9
Signals
- Stars
- 53
- Forks
- 15
- Open issues
- 2
- Last commit (this folder)
- Aug 28, 2026 (2 months ago)
- Last release
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/AnonymousNomad/covert-coder
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from AnonymousNomad
- 0.624score
aide-backend-autoselect
AnonymousNomad
Backend auto-detection and selection SOP for llama-server engines in AIDE — probes candidate binaries via --list-devices, caches capabilities, selects…
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-architect-editor-pattern
AnonymousNomad
The two-call decomposition for any agentic surface that needs higher quality from a smaller model — Architect reasons + plans (no file changes, no tools)…
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-advanced-orchestration
AnonymousNomad
Advanced orchestration patterns for AIDE — multi-lens review (one model, three contexts), clarifying question engine (structured constraint-gathering before…
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-agent-harness-convergence
AnonymousNomad
Converge AIDE's three parallel agent runtimes (legacy daemon model-manager chat + harness/orchestrator.mjs, arch-ts model-router/chat.ts + routes/agent.ts…
SkillBFreshness: B★ 53Claude Code +9 - 0.624score
aide-android-build
AnonymousNomad
Android build integration for AIDE — Gradle wrapper detection, APK build/debug/install via task service, emulator control, logcat streaming.
SkillBFreshness: B★ 53Claude Code +9 - 0.621score
adapter-serve-routing
AnonymousNomad
Define and verify deterministic format-conditional adapter routing at inference.
SkillBFreshness: B★ 53Claude Code +9
Cite this page
aide-architect-editor-implementation skill. Agent Mart. https://agentmart.dev/skills/anonymousnomad-aide-architect-editor-implementation (last updated 2026-10-24)