Skip to content

docs(slash): split /hew:auto (in-conversation) from /hew:loop (subprocess) (hew-6n0v)#56

Merged
droidnoob merged 2 commits into
mainfrom
chore/fix-auto-slash-in-conversation-loop
May 29, 2026
Merged

docs(slash): split /hew:auto (in-conversation) from /hew:loop (subprocess) (hew-6n0v)#56
droidnoob merged 2 commits into
mainfrom
chore/fix-auto-slash-in-conversation-loop

Conversation

@droidnoob
Copy link
Copy Markdown
Owner

Closes hew-6n0v — split /hew:auto from /hew:loop semantics.

Background

Prior to this PR, /hew:auto shelled hew loop run --until-empty — same body as /hew:loop, just a different slash. That collapsed two distinct UX intents:

  • /hew:auto — the in-conversation driver. One Claude session, full mid-loop steering, transcript continuous.
  • /hew:loop — the subprocess driver. Fresh claude -p per iter, prompt cache hits, per-iter logs on disk.

The current code only carried one of them.

Change

Rewrites commands/auto.md as the in-conversation, epic-scoped driver:

  • Pick the active epic (hew epic list / hew epic tree <id>); ask once if multiple are open.
  • Walk that epic's children in dep order, tail-calling /hew:next per task.
  • Stay inside one Claude session — no subprocess spawns.
  • Never default to the full bd ready set; that's /hew:loop's job.

Cross-references updated in:

  • CLAUDE.md — agent guidance for which slash to reach for.
  • docs/COMMANDS.md — slash reference.
  • docs/LOOP.md — distinguishes the two drivers.
  • skills/core/hew-execute.md Step 10 — pointer to the right surface.

Install snapshot

The .claude/ snapshot will refresh at the next release per CLAUDE.md step 3. End users get the new body via hew update --local after the next tag.

Smoke (hew-diyp)

  • commands/auto.md describes the in-conversation epic-scoped walk.
  • Only hew loop run reference in auto.md is the deliberate cross-link to /hew:loop for the subprocess case.

🤖 Generated with Claude Code

droidnoob and others added 2 commits May 29, 2026 23:48
/hew:auto is the in-conversation, epic-scoped driver — walks the
children of one active epic via /hew:next per task, one continuous
transcript, mid-loop steering. /hew:loop remains the subprocess
driver (`hew loop run`) for cache-warm, on-disk-logged iters.

Updates auto.md (rewrite), CLAUDE.md, docs/COMMANDS.md, docs/LOOP.md,
and skills/core/hew-execute.md Step 10 cross-ref. The .claude/
install snapshot will refresh at next release per CLAUDE.md step 3.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@droidnoob droidnoob merged commit dd2896d into main May 29, 2026
14 checks passed
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.

1 participant