Skip to content

Latest commit

 

History

History
83 lines (57 loc) · 4.97 KB

File metadata and controls

83 lines (57 loc) · 4.97 KB

Changelog

All notable changes to cc-taskrunner will be documented in this file.

Format follows Keep a Changelog.

[1.5.0] — 2026-04-09

Added

  • Blast radius preflight gate (#20) — Mission briefs now compute a blast radius via charter blast --format json on file paths extracted from the prompt. Severity ladder: low (0–4 affected), medium (5–19), high (20–49), critical (50+). Tasks classified as auto_safe with critical severity are refused — the runner logs TASK_BLOCKED, marks the task failed with an explanation, and returns without spawning Claude. high and critical severities inject a ## Blast Radius Warning section into the mission brief so the agent knows the scope.

    Requires @stackbilt/cli >= 0.10.0 on PATH. Graceful no-op when charter is unavailable. Opt out entirely via CC_DISABLE_BLAST=1. Thresholds configurable via CC_BLAST_WARN (default 20) and CC_BLAST_BLOCK (default 50). Timeout via CC_BLAST_TIMEOUT (default 60s). Seed file count capped at 10 to prevent runaway prompts from exploding the blast call.

    Applied symmetrically to taskrunner.sh and plugin/taskrunner.sh.

[1.4.1] — 2026-04-09

Fixed

  • Empty stash accumulation (#19) — The auto-stash preflight in taskrunner.sh and plugin/taskrunner.sh used [[ -n "$(git status --porcelain)" ]] as the dirty-state check combined with git stash push --include-untracked. That triggered on any dirty state including untracked noise (charter telemetry, build artifacts), which created empty stash objects that piled up indefinitely. Downstream evidence: one operator found 10 accumulated stashes, 9 of which were empty and the 10th contained only 36 lines of telemetry noise.

    New logic only stashes when git diff --quiet or git diff --cached --quiet detect real tracked changes. The --include-untracked flag was removed. After the stash push, the stash is verified against its parent; empty stashes are dropped immediately as a belt-and-suspenders guard against races.

[1.4.0] — 2026-04-09

Added

  • Project fingerprint injection — Mission briefs now include a ## Project Context (auto-generated) section when charter surface --markdown is available on PATH. Gives Claude Code an immediate map of routes + schema tables so it doesn't burn turns exploring the codebase. Degrades gracefully if charter is not installed. Opt out via CC_DISABLE_FINGERPRINT=1. Output capped at 80 lines to protect the prompt budget.

[1.3.0] — 2026-03-29

Fixed

  • Branch conflict resolution (#14) — branch cleanup now checks both local AND remote refs before creating task branches. Prior bug: only checked local refs, missed remote-only branches left by worktree cleanup. Stale PRs are auto-closed with comment. Push uses --force-with-lease for clean branch reuse.
  • max_turns_exceeded detection (#15) — Claude's error_max_turns JSON subtype is now detected and annotated in result text as [max_turns_exceeded]. Consumers can distinguish this from generic failures and decide whether to retry with more turns. Tasks that hit max_turns but created PRs may still be successful.

[1.2.0] — 2026-03-24

Added

  • Repo alias resolution via repo-aliases.conf file (CC_REPO_ALIASES env var)
  • CC_REPOS_DIR env var for configurable base directory for repo lookups
  • .gitattributes to enforce LF line endings for shell scripts

Fixed

  • CRLF line endings across all shell scripts (caused bash parse errors on Linux/WSL)
  • Repo resolution now checks: alias → direct path → REPOS_DIR/resolvedREPOS_DIR/original

[1.1.0] — 2026-03-22

Added

  • DAG task dependencies via blocked_by field with automatic cascade cancellation
  • Issue dedup guard — skips tasks targeting the same GitHub issue as a running/completed task
  • Robust completion signal detection — reduces false Exit Code 3 failures
  • CLAUDE.md and .ai/ governance files
  • Hero banner and Discord invite badge in README

Fixed

  • Restructured LICENSE for GitHub detection
  • OSS standardization: license copyright, branding footer

[1.0.0] — 2026-03-11

Added

  • Reliability features synced from AEGIS: PR state check, auth probe, LOC guardrail, completion heuristics, circuit breaker, failure classification, preflight
  • Claude Code plugin (plugin/) for submission to anthropics/claude-code
  • Deploy pipeline script (scripts/deploy.sh)

Fixed

  • Background output truncation — force line-buffered stdout via stdbuf
  • Git operation timeouts
  • Windows-path directory pollution in .gitignore
  • Redirect stdin from /dev/null to prevent SIGTSTP hang

[0.2.0] — 2026-03-10

Fixed

  • Only auto-commit task-created files, not pre-existing changes

[0.1.0] — 2026-03-10

Added

  • Initial release — autonomous task queue for Claude Code
  • Safety hooks (block-interactive, safety-gate, syntax-check)
  • Branch-per-task isolation with automatic PR creation
  • Queue management via JSON file
  • --dry-run, --max, --loop flags