Conversation
Add feature/work-editor-flag and feature/testing-overhaul to active worktrees. Update CLAUDE.md last-modified to 2026-02-16. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* feat: replace auto-editor with optional -e flag in work command work <project> now just cd's and shows context by default. Use -e to explicitly request an editor. Adds cc/claude/ccy for Claude Code integration, including Ghostty new-window support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: update work command docs for -e flag and Claude Code editors - Rewrite docs/commands/work.md: new synopsis, -e flag, Claude Code editors (cc/ccy/cc:new), deprecation notice, bumped to v7.2.0 - Update QUICK-REFERENCE.md: work command examples with -e flag - Update CHANGELOG.md: add [7.2.0] entry for editor flag feature - Update hop.md: reference work -e flag in related commands - Update CLAUDE.md: add work -e to quick reference Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: work -e flag now works in any position + 8 new tests The while-loop flag parser only handled flags before the project arg. `work flow -e` silently failed (treated -e as deprecated positional editor). Replaced with full arg scan that collects flags from any position, so both `work -e flow` and `work flow -e` work correctly. Tests: 39 passing (was 31), 8 new tests with mock project env that exercises the full code path through _flow_open_editor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: update date stamps to 2026-02-16 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: update tutorial 01 for work -e flag behavior Tutorial incorrectly stated "work . opens the appropriate editor". Now correctly teaches that work starts a session, and -e is optional for opening an editor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * test: add 31 new tests for work command coverage (39 → 70) New test categories: - _flow_open_editor edge cases (empty, unknown, branch checks) - .STATUS parsing (Status, Phase, missing file) - finish/hop help flags (--help, -h, help shorthand) - hop invalid project error handling - work help output content validation - arg parser edge cases (bare -e, no $EDITOR, unknown flags) - teaching workflow detection (_work_teaching_session) - first-run welcome (marker creation, skip on second call) - token validation helpers (function existence, non-git dir) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: version consistency (v7.1.0 → v7.2.0) and changelog test count Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Test User <test@example.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Unknown flags now log warning instead of silent skip - -h/--help works in any arg position (not just $1) - cc:new help text clarifies manual claude launch needed - 1 new test (help in non-first position), 1 updated test (71 total) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
7-step tutorial covering: no-editor default, -e flag, Claude Code modes (cc/ccy/cc:new), flag positioning, migration from old syntax. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- dash: add -a/--all, -i, -w [sec], -f/--full options table and categories - catch: add -p/--project, -t/--type flags with examples - doctor: add --dot, --dot=TOKEN, --fix-token, --update-docs flags - QUICK-REFERENCE: update dash and catch examples to match CLI Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…lease notes - Add missing v7.1.0 CHANGELOG entry (dot split into dots/sec/tok) - Add v7.0.0, v7.1.0, v7.2.0 to RELEASES.md (was stuck at v6.1.0) - Update MASTER-API-REFERENCE.md: v5.19.1-dev → v7.2.0, 716 → 880 functions, add teach/dot support files - Fix stale version headers/footers across 5 docs (MASTER-DISPATCHER-GUIDE, EMAIL-DISPATCHER-GUIDE, doctor, reference/index, guides/index) - Fix misleading link text in QUICK-REFERENCE.md (Tutorial 24 → Tutorial 22) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
work -eeditor flag — explicit editor control replaces auto-open behavior-e cc(acceptEdits),-e ccy(yolo),-e cc:new(new window)Changes Since v7.1.0
feat: work -e editor flag (#396)fix: warn on unknown flags in work arg parserdocs: tutorial 34 — editor workflow with work -edocs: update stale versions, add missing v7.1.0 changelog and v7.x release notesdocs: sync dash, catch, and doctor flags with CLI help outputTest plan
🤖 Generated with Claude Code