Spectask is a methodology and harness — a structured workflow that enforces specification before implementation in AI-assisted development. This repository packages Spectask as a Spawn extension : methodology files, agent skills, MCP descriptors, and folder modes ( static vs artifact ) are declared in extsrc/config.yaml and installed into your project with the Spawn CLI.
1. Install Spawn CLI (uv tool)
Install uv , then install the Spawn command from PyPI into uv's tools directory ( spawn must be on PATH after install — see uv's docs for tool paths):
Upstream source repository: github.com/noant/spawn-cli .
2. Initialize the repo and add Spectask
From the root of the target git repository , initialize Spawn once per repo, then install this extension:
One line (same result without a prior global install; run from that repo root):
From the root of the target git repository :
Extension ids match the name field in this pack's extsrc/config.yaml ( spectask for this repository).
Before anything is implemented, the agent composes a task document: a one-sentence goal, a before/after description, affected modules, and resolution of any ambiguous points. After that come two explicit human checkpoints: you approve the plan , then you approve the code . Between those points the agent must not drift from what was agreed.
Agent drafts the specification and asks clarifying questions if anything is ambiguous — invoke skill spectask-create
Agent self-reviews the spec in a dedicated subagent (architectural impact, correctness, sequencing) — a separate context window focuses the review and usually catches more than an inline pass in the same thread
You approve the plan — "ok" / "lgtm" / "spec review passed" or invoke skill spectask-spec-review-passed
Agent implements following the Execution Scheme in the spec — sequential and parallel phases — with one dedicated subagent per step. If the same chat produced Steps 1-3, the agent launches a coordinator sub-agent that owns Steps 5-6 end-to-end (not inline). In a fresh execute chat the current agent is the coordinator. Invoke skill spectask-execute (all steps in one run) or spectask-execute-step-by-step (one subtask per run, wait for you between steps)
Agent self-reviews the code in a dedicated subagent (naming, imports, alignment with the spec), because a separate context window keeps the focus on the changes and the spec instead of the implementation thread that wrote them, which usually surfaces inconsistencies before your review
Code Review / Debugging — "ok" / "lgtm" / "code review passed" or invoke skill spectask-code-review-passed
Agent updates spec/design/hla.md , reconciles design rows in spawn/ .yaml if needed, renames the task folder to _DONE_ , closes any linked seed, and marks the task as done. After Step 8 the agent optionally extracts reusable patterns into spawn/rules/ : it filters candidates and presents the entire filtered list to the user in one message in the same run (no per-candidate preliminary questions), then waits for the user's per-candidate Required/Optional/Decline answer before writing anything.
If you request rework or fixes after Step 5 (before Step 7 is marked), the agent carries out the changes and asks whether to update the specification to match the actual state — no re-run of the spec cycle.
Agent-executed steps record the LLM model name in overview.md status lines (for example - [V] Spec created [claude-sonnet-4-6] ) and in each subtask file ( Status: Done | model: {model} ). User-confirmed checkpoints (Steps 4 and 7) stay plain checkboxes.
All significant methodology layout lives under spec/ as defined in the shipped spec/main.md . Only allowed paths — no arbitrary documents alongside.
spec/main.md — process rules and the overview.md template
spec/design/ — architecture documents; hla.md (required) plus optional ADRs and notes; declare design docs as readable paths in spawn/ .yaml read-contextual
spec/tasks/{X}-{name}/overview.md — task specification
spec/tasks/{X}-{name}/{N}-{description}.md — subtask files when decomposition is needed (each carries a Status: line with implementation state and model)
spec/seeds/{X}-{slug}.md — optional rough ideas before a full task; see Seeds
spec/.config/config.yaml — local Jira and proxy settings; git-ignored (see Jira integration and MCP )
After Code Review / Debugging (Step 7), Step 8 renames the task folder to _DONE_{X}-{name} — not before. That keeps history readable in the repository.
Specification before implementation. The task is captured in a document that becomes the shared source of truth for you and the agent. This eliminates guesswork and rework.
Agent self-review. Before asking you, the agent re-reads the specification and the changes it made. Small issues are caught before they reach you.
Model audit trail. Agent-executed steps (1, 2, 3, 5, 6, 8) and subtask files record which model performed the work, so you can trace who did what across long-running tasks.
Shared context via Spawn. Org-wide rules and extra readable paths usually arrive through additional Spawn extensions (or extra files: entries in your own pack): declare them in extsrc/config.yaml with the right globalRead / localRead so they appear in merged spawn/ .yaml — same idea as registering extra spec/design/{name}.md files.
Explicit decomposition. If a task touches more than one file, overview.md contains an explicit execution scheme: sequential and parallel phases, each step handled by a dedicated subagent. No "everything at once".
Architecture lives in the repo. The baseline is spec/design/hla.md — a living overview updated after every task — but you can keep ADRs and other write-ups as additional spec/design/{name}.md files declared in spawn/ .yaml read-contextual.
Concrete specs. Every overview and subtask names concrete paths and symbols (packages/modules, classes, methods, functions) under change, and every Before/After pair is a fenced minimal code excerpt plus a behavior line.
Structured questions. When the agent must ask you (clarifications, confirmations, choices), it stops and requests from you via the platform ask tool (multiple choice where possible), else a direct request in its — never via Task or a sub-agent. It waits for your answer before continuing.
Seeds are optional Markdown files under spec/seeds/ for capturing an idea quickly — informal notes, not a full Spectask specification. The full Steps 1–8 workflow does not require a seed unless you deliberately start there.
Use the spectask-seed-create skill (or equivalent prompt) so the agent follows the Seed section and Seed file template (header) in spec/main.md : pick a kebab-case slug and the numeric prefix X , create spec/seeds/{X}-{slug}.md with linked task: none until it binds to a task.
When you promote the idea into real work, run spectask-create and link the seed from overview.md ( Source seed in the template). Step 8 includes renaming the linked seed with _DONE_ when the task closes.
This extension declares spec/seeds/ as an artifact folder in extsrc/config.yaml , so seed files are project-owned and are not overwritten on extension updates.
After install, invoke methodology steps using these skills by name; Spawn renders them into your IDE's skill/rules layout.
Jira integration and MCP
This extension ships MCP server entries under extsrc/mcp/ (per platform). After you install the pack with Spawn, those definitions are merged into your workspace; your IDE typically lists the spectask-mcp-jira server from that merge so you do not maintain a separate MCP JSON snippet for this tool. The server runs spectask-mcp via uvx in stdio mode ( uvx spectask-mcp serve ), resolving the latest PyPI release on each MCP start; uv must be on PATH. The same PyPI package also exposes a small CLI for non-MCP use.
On extension install, the after-install hook ( extsrc/setup/install_spectask_mcp.py ) runs uv tool install / uv tool upgrade for the spectask-mcp PyPI package, then optionally launches interactive setup ( spectask-mcp interactive --setup ) when stdin is a TTY. You can run that command again anytime from the repo root.
Credentials and proxy live in spec/.config/config.yaml . That path is listed in git-ignore / agent-ignore in extsrc/config.yaml , so secrets stay local. Both top-level sections are required for a valid file:
jira — type : self_hosted or atlassian_cloud ; address : base URL (no trailing slash); ignore_tls : boolean; auth via pat_token (self-hosted) or email + api_token (cloud). Empty strings are allowed for unused auth fields.
proxy — enabled : boolean; when enabled, socks_host , socks_port , socks_username , socks_password , and remote_dns (boolean; use proxy-side DNS / socks5h when true ).
Example shape (replace values; do not commit real secrets):
Interactive setup walks through Jira type, URL, tokens, optional SOCKS5, and remote_dns , then writes this file to spec/.config/config.yaml .
MCP tool jira_fetch (available only when config is valid):
Omit issue_key , or pass a key that does not resolve: returns the five most recently created unresolved issues as key summary lines.
Valid key: returns key, summary, description, labels, and up to 70 (author: body per line).
If spec/.config/config.yaml is missing or invalid, the MCP server still starts but registers no Jira tools until you configure credentials.
CLI ( spectask-mcp ):
Exit codes for spectask-mcp run : 0 = success, 1 = usage/misc error, 2 = missing config, 3 = Jira unreachable.
Deployment type ( atlassian_cloud vs self_hosted ) selects REST API version and endpoints end-to-end; see spec/design/hla.md after install for details.
To import a Jira ticket into a Spectask folder , use the spectask-from-jira skill so the agent follows the workflow (prefer MCP tool jira_fetch , else CLI, else pasted content). The skill scaffolds the task folder, maps ticket intent to concrete codebase paths, and completes Steps 2–3 before waiting for your Step 4 approval.
spawn/ .yaml (generated by Spawn after install) is the merged index of what agents should read first ( read-required / contextual reads). It replaces a hand-maintained spec/ .yaml from older standalone Spectask layouts.
Design docs under spec/design/ are your project's architecture markdown paths with short descriptions, registered as rows in spawn/ .yaml (read-contextual). Keep them aligned whenever you add or rename design docs.
spectask-design covers rows in spawn/ .yaml (read-contextual) and companion files under spec/design/ .
Task work under spec/tasks/ is not listed as a registry file — those folders are opened directly when working on a task.
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
