Skip to main content

Plan Implementor Agent

File: .github/agents/tsh-plan-implementor.agent.md

The Plan Implementor agent is an internal-only, strict single-task worker. It executes one delegated plan task exactly as written, reuses the shared tsh-implement-common-task.prompt.md worker prompt, and does not broaden scope beyond the assigned seam.

Before any file change, validate from disk a plan whose current Human Approval record satisfies exactly Human Decision=APPROVED, Approved Revision=current Plan Revision, and a valid ISO 8601 UTC Decision Timestamp ending in Z. Fail closed when a field is missing, stale, mismatched, inferred, based only on Reviewer approval, or when the plan cannot be located or read; retry an unreadable or ambiguous reference once and resolve relative paths against the workspace root. Name the exact failed field, condition, or file, then use vscode/askQuestions for guided recovery on every applicable entry path. Offer pointing to the correct plan, obtaining Human approval for an existing plan, starting plan preparation, or, when delegated, handing back to tsh-engineering-manager; continue only from the user's explicit choice, which is never Human approval and can never bypass validation.

Responsibilities

  • Execute exactly one delegated plan task at a time.
  • Follow the plan literally and stop when the seam is missing or the task is ambiguous.
  • Use vscode/askQuestions for approval-precondition recovery and genuine blockers; it does not authorize a file change.
  • Keep edits minimal and bounded to the delegated task.
  • Update plan checkboxes only for the delegated scope.

Outputs

  • Completed implementation for the delegated plan task.
  • A precise blocker report when the task cannot be executed safely.
  • Updated plan checkboxes for the delegated task and its definition of done.

Non-goals

  • Not user-invocable.
  • No dedicated prompt file; it reuses tsh-implement-common-task.prompt.md.
  • No plan rewriting, task expansion, or adjacent follow-on fixes.
  • Does not take on UI work or broader implementation orchestration.
  • Does not discard, revert, stash, or clean uncommitted changes outside the delegated task — it treats the working tree as intentional and reports blockers instead of wiping them.

Tool Access

ToolUsage
TerminalRun the command or script required by the delegated task
File Read/Edit/SearchRead, modify, and search workspace files
Sub-agentsNot used for broader delegation; keep the task single-scope
TodoTrack the single delegated task and its checklist items
VS Code CommandsRun repository commands related to the delegated task
Ask QuestionsStop and report blockers when the seam is missing or the plan is ambiguous

Skills Loaded

  • tsh-technical-context-discovering — Confirm plan context and repository conventions before editing.
  • tsh-implementation-gap-analysing — Verify which seams already exist and which still need work.
  • tsh-codebase-analysing — Understand the existing patterns around the delegated task.

Handoffs

This agent is internal-only and does not expose user-facing handoffs. The Engineering Manager delegates to it through the shared common-task prompt.