|
| 1 | +# v2026.2.4 - "Issue Thread" Release |
| 2 | + |
| 3 | +**Released**: February 9, 2026 |
| 4 | + |
| 5 | +This release introduces the `/address-issues` command — issue-thread-driven ralph loops that turn your issue tracker into a two-way collaboration surface between human and agent. It also adds context window budget configuration so users on local/GPU systems can declare their context limits and have AIWG auto-scale parallel subagent counts. |
| 6 | + |
| 7 | +## Highlights |
| 8 | + |
| 9 | +| What Changed | Why You Care | |
| 10 | +|--------------|--------------| |
| 11 | +| **`/address-issues` command** | Issue-thread-driven ralph loops with 2-way human-AI collaboration via issue comments | |
| 12 | +| **Context window budget** | Configure `AIWG_CONTEXT_WINDOW` to control parallel subagent limits on local/GPU systems | |
| 13 | +| **`--interactive` and `--guidance`** | Standard AIWG parameters for discovery prompts and upfront direction | |
| 14 | + |
| 15 | +## Issue-Driven Ralph Loop |
| 16 | + |
| 17 | +The `/address-issues` command transforms the issue tracker from a passive record into an active collaboration surface. Each ralph cycle posts structured status to the issue thread, scans for human feedback, and responds substantively. The human can monitor and steer agent work asynchronously by commenting on the issue — no need to be in the same terminal session. |
| 18 | + |
| 19 | +### The 3-Step Cycle Protocol |
| 20 | + |
| 21 | +``` |
| 22 | +Step 1: Work — Read issue context, implement fix/feature, run tests |
| 23 | +Step 2: Post — Post structured RALPH CYCLE #N status comment to issue thread |
| 24 | +Step 3: Scan — Read new thread comments, classify, incorporate into next cycle |
| 25 | +``` |
| 26 | + |
| 27 | +### Thread Scanning |
| 28 | + |
| 29 | +Human comments are classified and acted on: |
| 30 | + |
| 31 | +| Comment Type | Agent Response | |
| 32 | +|-------------|----------------| |
| 33 | +| Feedback | Incorporate into next cycle's work | |
| 34 | +| Question | Answer in next status comment | |
| 35 | +| Approval | Proceed to next phase or close issue | |
| 36 | +| Correction | Adjust approach, acknowledge the change | |
| 37 | + |
| 38 | +### Usage |
| 39 | + |
| 40 | +```bash |
| 41 | +# Address specific issues |
| 42 | +/address-issues 17 18 19 |
| 43 | + |
| 44 | +# Work through all open bugs |
| 45 | +/address-issues --filter "status:open label:bug" |
| 46 | + |
| 47 | +# Interactive mode with discovery questions |
| 48 | +/address-issues --all-open --interactive |
| 49 | + |
| 50 | +# With guidance to tailor priorities |
| 51 | +/address-issues --all-open --guidance "Focus on security bugs, skip feature requests" |
| 52 | + |
| 53 | +# Branch per issue with higher cycle limit |
| 54 | +/address-issues 17 --branch-per-issue --max-cycles 8 |
| 55 | +``` |
| 56 | + |
| 57 | +### Natural Language Triggers |
| 58 | + |
| 59 | +Say any of these and AIWG routes to `/address-issues`: |
| 60 | + |
| 61 | +- "address the open issues" / "fix open issues" |
| 62 | +- "tackle issue 17" / "work on issue 17" |
| 63 | +- "work through the bugs" / "work on the bug backlog" |
| 64 | +- "go through the open tickets" |
| 65 | +- "address issues 17, 18, 19 interactively" |
| 66 | +- "fix the open bugs, focus on security issues first" |
| 67 | + |
| 68 | +### What's Included |
| 69 | + |
| 70 | +| Type | Artifact | |
| 71 | +|------|----------| |
| 72 | +| Command | `/address-issues` with full parameter support | |
| 73 | +| Skill | `issue-driven-ralph` with NL trigger matching | |
| 74 | +| NL Mappings | 12 phrase-to-command translations | |
| 75 | +| Design Doc | `.aiwg/planning/issue-driven-ralph-loop-design.md` | |
| 76 | +| Providers | Gitea (MCP tools) and GitHub (`gh` CLI) | |
| 77 | + |
| 78 | +## Context Window Budget Configuration |
| 79 | + |
| 80 | +Users running Claude Code on local GPU systems with smaller context windows (e.g., 100k tokens) can now declare their budget. The framework auto-scales parallel subagent limits accordingly. |
| 81 | + |
| 82 | +### Configuration |
| 83 | + |
| 84 | +Add to your CLAUDE.md team directives section: |
| 85 | + |
| 86 | +```markdown |
| 87 | +AIWG_CONTEXT_WINDOW: 100000 |
| 88 | +``` |
| 89 | + |
| 90 | +### Auto-Scaling Table |
| 91 | + |
| 92 | +| Context Window | Max Parallel Subagents | Compaction Behavior | |
| 93 | +|----------------|----------------------|---------------------| |
| 94 | +| Unset (default) | No limit (platform decides) | Normal | |
| 95 | +| ≤64k | 1-2 | Aggressive — prefer sequential | |
| 96 | +| 65k-128k | 2-4 | Moderate — batch in groups of 2-3 | |
| 97 | +| 129k-256k | 4-8 | Standard | |
| 98 | +| 257k-512k | 8-12 | Relaxed | |
| 99 | +| >512k | 12-20 | Normal (cloud default) | |
| 100 | + |
| 101 | +**Formula**: `max_parallel = max(1, floor(context_window / 50000))` capped at 20. |
| 102 | + |
| 103 | +### What's Included |
| 104 | + |
| 105 | +| Type | Artifact | |
| 106 | +|------|----------| |
| 107 | +| Rule | `context-budget.md` (deploys to all 8 platforms) | |
| 108 | +| Updated Rule | `subagent-scoping.md` Rule 7 references context budget | |
| 109 | +| CLAUDE.md | Commented-out `AIWG_CONTEXT_WINDOW` directive | |
| 110 | + |
| 111 | +## Install / Upgrade |
| 112 | + |
| 113 | +```bash |
| 114 | +npm install -g aiwg@2026.2.4 |
| 115 | +``` |
| 116 | + |
| 117 | +## Links |
| 118 | + |
| 119 | +- [CHANGELOG](../../CHANGELOG.md) |
| 120 | +- [Address Issues Command](../../agentic/code/frameworks/sdlc-complete/commands/address-issues.md) |
| 121 | +- [Issue-Driven Ralph Skill](../../agentic/code/frameworks/sdlc-complete/skills/issue-driven-ralph/SKILL.md) |
| 122 | +- [Context Budget Rule](../../agentic/code/addons/aiwg-utils/rules/context-budget.md) |
| 123 | +- [NL Translations](../simple-language-translations.md) |
0 commit comments