8000 targets: two small tasks on the same files are one task by adeelahmad · Pull Request #90 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content {"props":{"docsUrl":"https://docs.github.com/get-started/accessibility/keyboard-shortcuts"}}

targets: two small tasks on the same files are one task - #90

Merged
adeelahmad merged 3 commits into
masterfrom
claude/project-thread-qerfr9
Oct 20, 2026
Merged

adeelahmad merged 3 commits into
masterfrom
claude/project-thread-qerfr9

Conversation

@adeelahmad
@adeelahmad adeelahmad commented Oct 20, 2026 •
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Before: the planner persona says to keep related behaviours in one task, but this was not enforced, and the task count still varied from run to run. Run 46 planned the cli intent as 3 tasks and run 47 planned it as 5, each with 3 to 5 tests on the same two files. Every task costs a fixed RED, SCAFFOLD and GREEN cycle of about 8 supervisor turns.

After: before execution starts, targets check refuses two adjacent tasks of one story that change the same files (or a subset of them) with 8 or fewer tests between them, and tells the planner to merge them. Splits past that size still pass. A re-plan is not affected: the check is skipped once plan-ready.md exists, so a task that is already done is never merged.

Run 48 (live, cli, on this branch): 2 tasks, 13/13, 14m13s, $0.76 and 25 supervisor turns. That compares with run 47's $1.04 and 41 turns, and run 44's $1.54 and 56 turns. All 5 of its blocks were the workers' own self-checks.

How:

  • merge_problems() in plugin/bin/targets.
  • A line in both planner persona copies.
  • semantic-targets.test.py case 9, which was RED before the fix.
  • Replayed on every saved plan from runs 21–47: the rule would have merged runs 23, 40, 43, 44 and 47, and passed every other plan.
  • Evidence row and ROADMAP note for run 48.
  • make ci is green.

🤖 Generated with Claude Code

https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC

Live runs 44 and 47 planned a wc-like CLI as 7 and 5 tasks of 1-5 tests
each; every task costs a fixed RED/SCAFFOLD/GREEN cycle. Before execution
starts, targets check now refuses two adjacent tasks of one story that
change the same files with 8 or fewer tests between them.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
@adeelahmad
adeelahmad marked this pull request as ready for review October 20, 2026 07:52
@adeelahmad
adeelahmad merged commit 05020af into master Oct 20, 2026
5 checks passed
adeelahmad pushed a commit that referenced this pull request Oct 20, 2026
…M9.24/M9.25) into the dsh host

README takes the new front page and adds DeepSeek Harness to its host
list, install notes, harness table, CI notes and limitations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AiLhAWTRtwbgMCDQNJUbea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0