/idd:issue-resolverfrom IDD Stack: Issue-Driven Development
Creates an atomic PR closing a GitHub issue via a 6-step pipeline. Use to resolve, fix, or implement issue #N. Requires git and GitHub CLI.
Ships in IDD Stack: Issue-Driven Development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Issue → atomic PR in 6 steps.
Invocation (N = issue number) | What happens |
|---|---|
/issue-resolver <N> | Interactive; user picks the plan |
/issue-resolver <N> --auto | No prompts; set by /auto-pilot |
/issue-resolver <N> --no-run-log | Modifier, orthogonal to --auto: append nothing to .idd/runs.jsonl, return telemetry (Run-log entry) |
/issue-resolver <N> --resume | Modifier: resume a killed run from its progress record (Progress record) without asking; when --auto resumes without it is Step 0j's rule |
/issue-resolver <N> --no-resume | Modifier: never resume; clear the record and run fresh. Not with --resume |
Only when compaction.enabled is true; otherwise skip this section (references/docs/context-threshold.md). After a compaction mid-run, durable state is git plus GitHub; the Progress record serves only a killed session and is never read here.
IDD_CALLER_WORKTREE=1, this conversation's parallel_lane record) first: recover that record, then re-run Step 0e's caller-managed validation from a command that starts cd -- "$IDD_WORKTREE_PATH" && …, its exports repeated. Bind the branch and PR only inside that validated root. A record not recovered intact stops the lane with failure_step: preflight, status: blocked_dirty. Never fall back to the ambient checkout.branch="$(git rev-parse --abbrev-ref HEAD)", then the PR with gh pr list --head "$branch" --json number,state — never a branch name pasted from the compaction summary.[N/5] lines and re-read that step's reference file. Before repeating a push, gh pr create, comment or label change, confirm with a live --json read that it has not happened.continue sends another fix. Never restart the loop at cycle 1.Run these checks in order before any operation. A non-zero exit or empty output stops the run: print that check's references/error-messages.md error and the Closing Summary BLOCKED block.
git rev-parse --git-dir.gh installed: which gh.gh authenticated: gh auth status.git remote -v prints at least one line.In-place path only; worktree paths start from the fetched base, and an invalid IDD_CALLER_WORKTREE=1 is a stop, never a sync bypass. Use the stash-first pattern: copy the snippet and recovery from references/docs/sync-conventions.md (Quick Reference (Copy-Paste Snippet)), never a bare rebase on a dirty tree. A missing origin or a conflict stops and asks (interactive), or aborts (auto).
Load config once; never re-read it. Run python3 references/scripts/gi-config.py — Working directory: the repo root; Script path: absolute, as the Bundled dependency precheck resolves its list. It prints {"config": …, "config_file": …, "first_run": …} merged over the defaults below (rationale: references/steps/step-0-preflight.md, Configuration load).
config..idd.yml: print the references/error-messages.md error (Invalid config), stop.✗ Missing bundled dependency.python3, non-zero exit, unparsable stdout) — print ⚠ gi-config unavailable — reading .idd.yml by hand and read it yourself instead of the script (else legacy .gitissue.yml, printing ⚠ legacy .gitissue.yml found — rename to .idd.yml), over the keys and defaults below.Either path: no .idd.yml (first_run) prints ○ First run — using default config. Run /init-idd to customize.
Capture the run clock here: chain that same python3 invocation as python3 …; ec=$?; date +%s >&2; exit "$ec"; the stderr epoch is run_started_epoch, the Run Stats Footer's elapsed anchor. Take date +%s again as each [N/5] step starts and at the terminal outcome: those boundaries are the run log's phases (references/run-log-fields.md).
Context threshold. Only when compaction.enabled is true (references/docs/context-threshold.md). At each [N/5] step start, beside that clock read, compare the remaining-context figure the host placed in your context (none: skip silently, never estimate) with compaction.threshold.issue-resolver. At or below it, interactive prints the ⚠ line and a /compact <focus> line (skill, #N, step id and name only) and pauses at most once per run; --auto / IDD_AUTO_MODE=1 prints one ⚠ line per run and continues — never a pause or stop.
Defaults and behavior per key: references/docs/config-schema.md — issue.auto_normalize · resolve.approval_gate · resolve.branch_prefix · resolve.auto_test · resolve.test_timeout · resolve.max_commits · resolve.qa_max_cycles · resolve.adaptive_effort · resolve.ui_review.browser_review · resolve.borrow_skills: false · resolver.require_plan · resolver.plan_approval · resolver.claim_label · compaction.enabled: true · compaction.threshold.issue-resolver: 40.
Heavy work goes to subagents (shared/agents/), keeping the main agent's context window lean: it owns Step 0, Step 4's loop and Step 5; Steps 1-3 each spawn one (Subagent Architecture Diagram). Prompts: references/agents/<name>.md; conventions: references/docs/shared-agent-conventions.md. Without the Agent tool (e.g. Claude.ai), run each step inline via its fallback instructions.
Role, description and prompt file change per step. Do NOT set subagent_type:
Agent(
description="{role} — {action} issue #N",
prompt=<{agent-file}.md prompt with {variables} replaced>,
# never subagent_type — the default general-purpose agent, not "code-reviewer"
)
Per-role overrides: at every spawn apply references/docs/agent-overrides.md — the resolved agents.model.<role> / agents.effort.<role> for the spawned role (codebase-researcher, synthesizer, implementer, code-reviewer, ui-reviewer, fixer); null (the default) passes nothing.
Name the role in description, size model/effort per references/docs/agent-model-effort.md, and read each return before advancing: a missing or blocking return stops (interactive) or takes the auto behavior (references/pipeline-steps.md → Orchestrating the agents).
Check every path below exists relative to this SKILL.md's directory. A missing path stops the run: print the ✗ Missing bundled dependency block from references/error-messages.md (Bundled dependencies); never guess a prompt.
references/agents/codebase-researcher.md
references/agents/synthesizer.md
references/agents/implementer.md
references/agents/code-reviewer.md
references/agents/ui-reviewer.md
references/agents/fixer.md
references/pipeline-steps.md
references/steps/step-0-preflight.md
references/steps/step-0h-analysis-reuse.md
references/steps/step-0i-caller-payload.md
references/steps/step-0j-progress-record.md
references/steps/step-0j-resume.md
references/steps/step-1-research.md
references/steps/step-2-plan.md
references/steps/step-3-implement.md
references/steps/step-4-qa.md
references/steps/step-5-deliver.md
references/report-templates.md
references/closing-summary.md
references/closing-pr-created.md
references/closing-already-resolved.md
references/closing-blocked.md
references/report-examples.md
references/run-log-fields.md
references/step-reports.md
references/run-stats.md
references/bug-verification.md
references/skill-index.md
references/error-messages.md
references/self-improve.md
references/static-checks.md
references/docs/sync-conventions.md
references/docs/naming-conventions.md
references/docs/pre-commit-security.md
references/docs/idd-methodology.md
references/docs/github-projects-sync.md
references/docs/run-log-schema.md
references/docs/config-schema.md
references/docs/agent-model-effort.md
references/docs/agent-overrides.md
references/docs/shared-agent-conventions.md
references/docs/platform-github.md
references/docs/terminal-style.md
references/docs/ui-review.md
references/docs/context-threshold.md
references/docs/plan-and-claim.md
references/scripts/gi-config.py
references/scripts/gi-runlog.py
references/scripts/gi-secscan.py
references/scripts/gi-branch.py
references/scripts/gi-gh.py
references/scripts/gi-issue.py
references/scripts/gi-state.py
references/scripts/gi-receipt.py
references/scripts/gi-sensitive.py
references/scripts/gi-premise.py
references/scripts/gi-sketch.py
references/scripts/gi-recipe.py
references/scripts/gi-progress.py
references/scripts/gi-ready.py
references/scripts/gi-plan.py
The practice packs, checked the same way: references/practice-packs.md, references/practice-tests.md, references/practice-code.md, references/practice-performance.md, references/practice-security.md, references/practice-frontend.md, references/practice-ci-cd.md, references/practice-cli.md, references/practice-docs.md.
A killed session can resume (--resume, or by the auto default; --no-resume never does). Read the record after the precheck, before 0a; from 0c on, write it with references/scripts/gi-progress.py at every [N/5] start, at each Step 4 cycle, and before every effect. It holds only what git and GitHub cannot reproduce: the step, the plan summary, cycle counts, the premise ledger, open findings, the last effect. A record never satisfies or skips a safety gate: every gate re-runs live, and any doubt is stale (start from Step 0). Write points and resume entry: references/steps/step-0j-progress-record.md (Step 0j — Progress record) — read it now; a resuming run then reads references/steps/step-0j-resume.md.
6 steps (0-5) — Preflight, Research, Plan, Implement, QA, Deliver — each printing a [N/5] line (● → ✓/✗); expected output example: references/report-examples.md (Expected Inline Pipeline Output).
Each step closes with √/× per check and a Result: PASS | PARTIAL | FAIL line (Step Completion Reports in references/step-reports.md, read it now). A step is incomplete until Result: prints.
Open with ● Preflight check for issue #N....
GitHub reads share the boundary in references/scripts/gi-gh.py. Classify any framed caller payload first (/auto-pilot captured it in mode-neutral Step 1.2b); Step 0i — Caller payload gate in references/steps/step-0i-caller-payload.md is its single home — issue_payload = supplied | partial | absent, the mandatory live gh issue view N --json state,comments,updatedAt under supplied, the exact match between retained and live updatedAt before 0d, discard-and-refresh on mismatch (identical for individual, array, and keyed-map payloads), never a gate. Then run python3 references/scripts/gi-issue.py {N} --fields number,title,body,labels,assignees,state,comments,updatedAt, reading .issue unless the gate substitutes a payload. Capture updatedAt here — 0d's gh issue edit bumps it, so 0h uses this pre-normalization value. Exit 3 stops; anything else degrades to gh issue view {N} --json number,title,body,labels,assignees,state,comments,updatedAt. 0d rewrites the body, so it MUST end with python3 references/scripts/gi-issue.py {N} --invalidate.
Not found: error, stop. Closed: warning, stop.
git branch -a | grep -i "{N}".gh pr list --state open --json number,title,body,headRefName --limit 20. A PR targets the issue when its body has Closes #N, Fixes #N or Resolves #N.⚠ PR already targets issue block from references/error-messages.md (Guards), stop, return status: pr_in_progress with its pr_number and branch_name, and never close the issue (Early exit) — unless a resume's ownership check (Progress record) proves the PR is this run's own.Only a merged PR or a closing commit on the default branch is already_resolved.
Warn and ask if assigned elsewhere, on wontfix/blocked/do-not-merge labels, on the route:needs-human label (triage.route.label_prefix + needs-human, default prefix route:), on a claim that reads foreign (bind $login and this run's $claim_run, then Reading the issue in references/docs/plan-and-claim.md), or when a non-empty body is not ready — each [y/N]. Auto never waits but takes the printed No: stop at Step 0, status: failure, skipped_reason assigned_to_other, blocked_label, route_needs_human, claimed_elsewhere or needs_clarification. Every [y/N] gate in this skill does the same (auto mode, The gate rule).
Readiness (references/docs/idd-methodology.md, Issue Readiness) is judged on 0a's body, before 0d: pipe 0a's gi-issue.py command (a cache hit) into python3 references/scripts/gi-ready.py; a non-zero exit judges by that section. An empty body is Step 1's gate. A body not ready, or any criterion 0d writes, prints × on Step 0's Criteria confirmed, so the run ends PARTIAL.
If issue.auto_normalize is true and the body lacks a <!-- idd:normalized v1 --> marker (a legacy gitissue:normalized one counts):
Security label check — normalization rewrites the reporter's words, so a security-labelled issue is never rewritten without explicit operator confirmation. Before any rewrite scan labels for security, CVE, vulnerability (case-insensitive). On a match:
--auto / IDD_AUTO_MODE=1): print the ⚠ … Skipping auto-normalization warning (references/error-messages.md → Security-labeled issue (skip)), first matching label as {label}, continue without rewriting.Normalize inline — otherwise, structure-only as /issue-creator Normalize mode (the resolver does not invoke /issue-creator as a subprocess):
(needs review).gh issue edit, then python3 references/scripts/gi-issue.py {N} --invalidate, then re-fetch.references/error-messages.md → Auto-normalization failed).Derive one {branch_name} first: python3 references/scripts/gi-branch.py {N} --from-issue --type {type}, reading .branch. --from-issue is mandatory — never put the issue title or configured prefix on the command line (references/steps/step-0-preflight.md → Step 0e — Workspace). {type} is one of six classified literals. Exit 3 stops; anything else degrades to references/docs/naming-conventions.md.
Auto mode (--auto / IDD_AUTO_MODE=1): skip this offer entirely. A set IDD_CALLER_WORKTREE=1 uses the validated caller-managed path; otherwise go to 0f.
Interactive mode: offer a git worktree, so work never touches the user's tree:
◆ Workspace for issue #N
┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
Branch: {branch_name}
Worktree: ../{repo}-worktrees/{branch_name with / → -}
Setup: copies your gitignored local config (.env*, and similar),
then runs this project's detected install/bootstrap.
Accepting keeps your current working tree untouched. Declining uses the current working tree with the existing sync and branch behavior.
Resolve in a new worktree? [Y/n]
Accept replaces 0f — Create branch and the mandatory Repo Sync; decline runs mandatory Repo Sync then 0f. Creation, setup, cleanup: Step 0e — Workspace.
The in-place path; worktree paths already checked out the branch. Reuse the derived {branch_name} (0e — Workspace, references/docs/naming-conventions.md). If it exists: interactive asks continue or fresh, auto takes continue.
Claim, every path: with {branch_name} checked out, run the Claim write in references/docs/plan-and-claim.md before 0g, unless its Claim section skips it. From here on, every terminal outcome without a PR runs its Release.
Decide before Step 1 how much pipeline this issue earns; the XS … XL scale and safety rules: references/docs/agent-model-effort.md (Complexity → pipeline profile). resolve.adaptive_effort: false pins full; else read the pre-work Effort band in ## Metadata, never later agent output:
XS/S asserted (not (needs review)) → light; M/L/XL → fullXS/S low-confidence, or absent/unparseable → full (ambiguous → fuller)What light collapses — the single home for this rule. Mechanics: the light profile subsection of references/steps/step-1-research.md and references/steps/step-2-plan.md.
| Step | light behavior |
|---|---|
| 1 — Research | Lighter pass; the already-resolved check still runs. |
| 2 — Plan | Do not spawn the synthesizer; derive a minimal plan inline, no design-confirm checkpoint; the sensitive-change gate still runs. Unless 0h set analysis_reuse = fresh: Step 2 — Plan → reuse governs, options are lifted, and the design-confirm checkpoint does apply. |
| 3 — Propose relevant skills | Skip propose/install; selected_skills = []. Leftover teardown still runs (Step 3), except in a parallel lane (IDD_CALLER_WORKTREE=1). |
| 4 — QA | Cap the loop at 1 cycle; one reviewer spawn still runs. |
| 5 — Deliver | Unchanged. |
Revise upward only. {workspace_note} is (worktree) in a worktree, else empty; effort: full prints even under resolve.adaptive_effort: false:
[0/5] Preflight ✓ issue #N open, branch: {branch_name}{workspace_note}, effort: {profile}
Set analysis_reuse to fresh, stale or absent by the five-condition predicate in references/steps/step-0h-analysis-reuse.md (Step 0h — Analysis reuse gate) — its single home. fresh seeds Step 1 and skips Step 2's synthesizer; stale/absent run the full pipeline. Any doubt is stale (fail-safe). Skipped when resolve.adaptive_effort: false.
Understand the issue, the affected code and candidate solutions; the same pass verifies it is not already fixed (auto then comments a close recommendation; it never closes). Spawn the researcher (references/agents/codebase-researcher.md). Payload, phases, early exit, fallback: Step 1 — Research.
Profiles. light — see the profile table in Step 0g; a high/complex signal revises upward to full. analysis_reuse = fresh (0h) — pass prior_analysis for the seeded verify-first pass: confirm or refute, never trust; the already-resolved check still runs. triage_context has no commit pin, so it may only reorder a scan (→ reuse, → triage_context).
Generate options and select one. Spawn the synthesizer (references/agents/synthesizer.md); it returns minimal / balanced / comprehensive options and recommends one (Step 2 — Plan). Design sketches: when the change adds or reshapes a domain type, state or transition and the repo has a static checker, options differ in structure instead, each carrying caller code the repo's checker type-checks, never runs; references/scripts/gi-sketch.py rejects designs that accept an invalid transition and may switch the selection (Step 2 — Plan → Design sketches).
Profiles. light — see the profile table in Step 0g. analysis_reuse = fresh (0h) skips the same spawn but wins Step 2 when both apply — a replacement, not an addition: lift options[], recommended_option, overall_complexity, overall_risk from the analysis, each rejection_reason from decision_record.options_rejected[] (→ reuse).
Plan comment. Every profile first reads the issue for a plan comment, posts one when resolver.require_plan is true or resolver.plan_approval is human and none is current, and holds the run until a human plan is approved (Step 2 — Plan → Plan comment).
Every option lists criteria_covered (IDs from references/scripts/gi-ready.py --criteria); a selected option with a gap stops planning, naming each uncovered criterion, auto mode included (Step 2 — Plan → Criteria coverage gate).
Size never exempts a change. Once an option is selected, references/scripts/gi-sensitive.py --classify checks the labels and planned paths; when sensitive, run falsifiable load-bearing probes, a fresh code-reviewer challenge, and adjudication where one unrebutted blocker at any confidence holds the plan. --adjudicate decides; stop is a safety stop in auto mode (Step 2 — Plan → Sensitive-change gate).
Exactly one extra agreement point before code is written, when both hold: overall_complexity: L/XL or overall_risk: High, and interactive mode (--auto/IDD_AUTO_MODE=1 never pauses). Accept (default) → Step 3; decline → stop, recorded in the PR Decision Record (Step 2 — Plan → Design-confirm checkpoint).
Optionally augment the implementer with external skills from references/skill-index.md: detect, propose, accept into selected_skills; internal agents remain the fallback. Borrow/install, {name, origin} records via references/scripts/gi-state.py, teardown of origin: borrowed only, auto-mode: references/steps/step-3-implement.md (Step 3 — Propose relevant skills).
Then spawn the implementer (references/agents/implementer.md) with the plan, branch name, naming conventions, selected_skills and the Step 3 — Practice packs. Bug issues first run the red-capable reproduction checkpoint — reproduce, confirm red, fix, convert to a regression test — surfaced in the Decision Record and acceptance table; others skip it, auto never blocks (references/bug-verification.md). Payload, guardrails, fallback: Step 3; light: profile table in Step 0g.
Loop: review → test → static checks → fix until clean or the cycle cap — light=1 (profile table in Step 0g); full+low/medium=2; full+high=resolve.qa_max_cycles. Record ceiling/breach_reason. Premise reset: two failed fixes sharing a premise block the next fix — cap and interactive continue included — until rerunnable diagnostics support a revised premise; references/scripts/gi-premise.py decides (Step 4 — QA → Premise reset).
Spawn a fresh reviewer (references/agents/code-reviewer.md) each cycle. On blocking issues, spawn or re-message the fixer (references/agents/fixer.md) with issue context, branch/base branch, findings, failing output, the commit message fix({scope}): address review feedback (#N), and the pre-commit security gate it MUST run before committing — security_convention (references/docs/pre-commit-security.md), secscan_script (references/scripts/gi-secscan.py), secscan_policy_ref (origin/${base}) as spawn variables; paths and a ref only. Read the fixer's JSON result and decide on another cycle — never fix inline when the Agent tool exists.
UI review is auto-detected per issue (no config flag): scan the issue body and diff for UI work before cycling. The code UI review always runs; the browser UI review runs only when a running app is reachable and opted in, else skips with a warning. Detection, the ui-reviewer spawn and the ui_review.browser_review gate: references/docs/ui-review.md; mechanics: Step 4 — UI/UX review.
Verification recipe: when the base branch commits .idd-recipe.json (or legacy .gitissue-recipe.json), each cycle also runs it through references/scripts/gi-recipe.py: launch, drive the capabilities the diff maps, keep evidence, tear down the owned instance. Auto mode runs it only when the recipe opts in resolve (Step 4 — QA → Verification recipe).
With resolve.auto_test true (default), run the full suite once more after QA; false skips. Under auto_test, not over it: when tests_state's SHA equals git rev-parse HEAD and git status --porcelain=v1 --untracked-files=all is empty, a clean QA cycle already ran this suite on this tree — skip it, print ○ Test suite: skipped (last green {count}@{sha_short} == HEAD). Nothing recorded, or any doubt, runs it (Step 4 — QA → Last-green test state, the variable's single home).
A failure prints ✗ Final test run failed — PR not created and stops, even in auto.
Update every passage in README*, docs/, CHANGELOG* and the changed files' docstrings that describes a user-visible name the diff changes (a command, flag, config key, public function or output string), by the rules in references/practice-docs.md, and add a CHANGELOG entry if that file exists. With nothing to update, record docs: none found in the Evidence row.
Risk tier first: classify the delivered diff, and gate it before the push when Step 2 did not gate every sensitive path it touches (Deliver-time risk tier, references/steps/step-5-deliver.md). Then run the branch-diff scan: export IDD_AUTO_MODE=1 in auto mode, then from the repo root run python3 references/scripts/gi-secscan.py --range "origin/${base}" --policy-ref "origin/${base}". It reads security.* from .idd.yml (else legacy .gitissue.yml) at the base ref: never pass a config value on the command line, never let the scanned branch supply its policy (Pre-push secret scan).
policy_source equal to the requested ref:origin/…, verdict not block, scanned not 0 while skipped is above 0.blocking[]. Exit 3 (uncompilable security.*) also stops.python3, exit 2, exit 4, or exit 0 with scanned 0 while skipped > 0 — degrade: print ⚠ gi-secscan unavailable — running the documented scan and run the Primary Pattern in references/docs/pre-commit-security.md over git diff --name-only "origin/${base}"...HEAD. Exit 1 without JSON is a crash — treat as exit 2.Never read a non-zero exit as a pass. Only after it passes:
# gated by the gi-secscan.py pass above — see references/docs/pre-commit-security.md
git push -u origin {branch_name}
gh pr create --title "{pr_title}" --body "{pr_body}"
Once the PR is created or adopted, run the claim's Release (references/docs/plan-and-claim.md).
PR title: {type}({scope}): {description} (#{issue_number}) (references/docs/naming-conventions.md)
PR body: fill PR Body Template in references/report-templates.md; never omit its Decision Record, Test Results with its one Verification line, or Acceptance Criteria Verification (references/docs/idd-methodology.md). Its last line is the QA handoff marker: fill it only when QA exited clean in this session, else drop it — never append a second copy (QA handoff marker owns each field's rules, head= included).
Copy that line out of the template character-for-character and substitute only the {braced} tokens; never re-word or recall a field name:
<!-- idd:qa v1 head={head_sha} profile={profile} cycles={qa_cycles} review=clean tests={test_count}@{tests_sha} ui={ui_legs}:{ui_result}@{ui_sha} -->
review=clean has no synonym: verdict=, status= or result= make the marker stale (QA handoff marker explains why).
The marker alone is not evidence, because whoever opened the PR can write it. Whenever the marker is filled, record its receipt while HEAD is still the marker's head= and git status --porcelain=v1 --untracked-files=all is empty. Without a receipt, /issue-pr-review reads the marker as stale. The JSON record carries profile, cycles, review: "clean", ui (the marker's ui= value), and tests: the tests= count and SHA plus the command that ran, or null when the marker omits tests=, plus artifacts: the recipe_state evidence paths when a recipe ran (Revision receipt in references/report-templates.md). The script prints the sha it recorded, which must equal the marker's head=.
printf '%s' "$receipt_json" | python3 references/scripts/gi-receipt.py --write
python3: print ⚠ No revision receipt — the reviewer will run its full pipeline. Ship without a receipt and never hand-write one, because the script's clean-tree and HEAD checks are what a receipt attests.With projects.sync_enabled true, set status_map.done (references/docs/github-projects-sync.md), then print [5/5] Deliver.
At every terminal outcome — success, already_resolved, failed — append exactly one JSON line to .idd/runs.jsonl, unless invoked with --no-run-log, which appends nothing and returns telemetry. That is the single writer rule under /auto-pilot, independent of --auto: a standalone /issue-resolver <N> --auto still writes. Derivation: references/run-log-fields.md (Run-log entry — field derivation and suppression), per references/docs/run-log-schema.md.
# Exactly one runs. --echo validates the telemetry you return and writes nothing.
if [ -n "$no_run_log" ]; then printf '%s' "$run_json" | python3 references/scripts/gi-runlog.py --echo; else printf '%s' "$run_json" | python3 references/scripts/gi-runlog.py --append; fi
# Fallback when `python3` is unavailable or the script exits 4: mkdir -p .idd && printf '%s\n' "$run_json" >> .idd/runs.jsonl
Exit 3: the record is invalid and nothing was written — a stop, not a degrade: never append $run_json raw. Correct the record and re-run, or drop the line. Every other write failure is non-fatal — use the fallback append, never block the result. Only append; never rewrite or reorder lines.
Emit one closing block at every terminal outcome, stops included. Read references/closing-summary.md now — its Review contract holds for every outcome — then read only the outcome's variant and print it: references/closing-pr-created.md (a PR was created), references/closing-already-resolved.md or references/closing-blocked.md. Result: first (DONE, PARTIAL or BLOCKED), then Evidence:, Uncertainty:, Decision: and Next action:. An outcome without a PR first runs the claim's Release (references/docs/plan-and-claim.md). Then the run-stats footer (references/run-stats.md) prints last, with tokens only where the host reported a count. Then clear the progress record (Progress record), at every outcome.
Optional, propose-only. With no user present to approve (a subagent, unattended, or test run), skip it: print nothing, open nothing. Otherwise, once the result is delivered, follow references/self-improve.md. Examples of a lasting mismatch here:
With --auto (or under /auto-pilot) no step prompts. Invariants:
IDD_AUTO_MODE=1 before any shell snippet consulting it (references/docs/pre-commit-security.md).git worktree add on the default resolution path; run mandatory Repo Sync, then 0f. With max_parallel > 1 a resolver may receive IDD_CALLER_WORKTREE=1 and use that workspace, never creating or cleaning it up.[y/N], Choose: or Continue? prompts: a default-No gate takes No and records its skipped_reason.already_resolved./auto-pilot's or /issue-pr-review's job). Under /auto-pilot the profile is returned in telemetry; a standalone --auto run writes it.No ACs, empty body, 20+ files, test failure or timeout, existing branch: Edge Cases.
Tracker access uses the GitHub driver: --json with explicit fields, never parsed text (references/docs/platform-github.md). Output follows references/docs/terminal-style.md (symbols, indent, URLs on their own line, ≤80 chars, no animation). Errors use references/error-messages.md's format.
LICENSE (opens in a new tab)docs/README.md (opens in a new tab)references/agents/code-reviewer.md (opens in a new tab)references/agents/codebase-researcher.md (opens in a new tab)references/agents/fixer.md (opens in a new tab)references/agents/implementer.md (opens in a new tab)references/agents/synthesizer.md (opens in a new tab)references/agents/ui-reviewer.md (opens in a new tab)references/bug-verification.md (opens in a new tab)references/closing-already-resolved.md (opens in a new tab)references/closing-blocked.md (opens in a new tab)references/closing-pr-created.md (opens in a new tab)references/closing-summary.md (opens in a new tab)references/docs/agent-model-effort.md (opens in a new tab)references/docs/agent-overrides.md (opens in a new tab)references/docs/config-schema.md (opens in a new tab)references/docs/context-threshold.md (opens in a new tab)references/docs/github-projects-sync.md (opens in a new tab)references/docs/idd-methodology.md (opens in a new tab)references/docs/naming-conventions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/auto-pilotRun an autonomous triage-resolve-review-merge loop to auto-pilot the GitHub issue backlog, working through eligible issues until none remain or a stop condition fires, with no routine prompts. Don't use for single-issue work (/issue-resolver), triage (/issue-triage), or PR review (/issue-pr-review)./init-iddGenerate a .idd.yml by auto-detecting a repo's stack, test runner, and size. Use to init, setup, or configure IDD Stack, or set up IDD. Don't use for editing an existing .idd.yml, creating issues (use /issue-creator), or plain git/npm init./issue-analysisAnalyze one GitHub issue for root cause, complexity, and risk into .idd/analysis-N.json. Use when you need to analyze or scope issue #N. Don't use for creating issues (/issue-creator), triaging (/issue-triage), or resolving (/issue-resolver).npx claudepluginhub luongnv89/idd --plugin iddOther plugins' skills for the same job