8000 planner targets.json rules; task-worktree merge records the lineage on Claude Code by adeelahmad · Pull Request #18 · adeelahmad/aloop · GitHub
[go: up one dir, main page]

Skip to content

planner targets.json rules; task-worktree merge records the lineage on Claude Code - #18

Merged
adeelahmad merged 2 commits into
masterfrom
claude/project-thread-qerfr9
Oct 18, 2026
Merged

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

Conversation

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

Requested by Adeel · project thread

Before: in live e2e runs 12, 13 and 14 the planner's first targets.json was blocked by targets check two or three times per run: a bare list instead of {"targets": [...]}, create without a planned_symbol, and symbol naming a function the sprint had not written yet. The planner persona described the fields but not these rules. Separately, runs 11–14 produced no commit.created event at all: on Claude Code the host makes the worktree and the supervisor merges it with raw git merge, so task-worktree remove, the only place the lineage was recorded, never ran. ROADMAP §4.7 (a commit traces to its intent) was dead on the main host and nothing measured it.

After: the planner persona (both plugin/agents/planner.md and the pipeline source) states the three targets rules with a one-line example. task-worktree merge <TASK_ID> <BRANCH> does the --no-ff merge and emits worktree.merged plus one commit.created per merged commit; SKILL.md tells the supervisor to merge with it, and make e2e-live now checks that every merged commit answers events trace.

How: prose for the planner; a new subcommand in plugin/bin/task-worktree covered by scripts/test/commit-trace.test.py (8 checks, host-made branch case added); bin/README and CHANGELOG updated. make ci passes locally, conformance 58/58 in both the ctx-symbols and the grep-fallback mode. The planner rules and the trace check are measured on the next live run.

🤖 Generated with Claude Code

https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC

…ery merged commit traces to its task

Live runs 11–14 emitted no commit.created: on Claude Code the host makes the worktree and
the supervisor merges it with raw git, so task-worktree remove (which records the lineage)
never runs and ROADMAP §4.7 was dead there. task-worktree merge <TASK_ID> <BRANCH> does a
--no-ff merge and emits worktree.merged + commit.created per commit; SKILL.md tells the
supervisor to merge with it; e2e-live checks every merged commit answers events trace.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
@adeelahmad adeelahmad changed the title planner: state the targets.json rules so the first write passes planner targets.json rules; task-worktree merge records the lineage on Claude Code Oct 18, 2026
@adeelahmad
adeelahmad merged commit 58bdf41 into master Oct 18, 2026
4 checks passed
adeelahmad pushed a commit that referenced this pull request Oct 18, 2026
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014j4wLin3oJTtnvjE9Lq2VV
adeelahmad pushed a commit that referenced this pull request Oct 18, 2026
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