Repository navigation
Conversation
Created .claude/WORKFLOW-PROTOCOL.md: - Planning phase on dev branch - Commit planning docs before worktree creation - Create worktree from dev - Ask user to start NEW session for implementation Updated CLAUDE.md: - Added critical workflow protocol section - Reference to detailed protocol document This ensures clean separation: - Planning session (dev) = design, specs, approval - Implementation session (worktree) = focused coding Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Created comprehensive spec for universal teaching workflow: - STAT 545 as first implementation - Teaching-aware work command - Per-course .flow/teach-config.yml - 3-tier automation (scripts + flow-cli + GitHub Actions) - Integration with scholar and nexus - teach-init command for course scaffolding From brainstorm session with extensive user requirements gathering. Approved plan ready for implementation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Session accomplishments: - Branch cleanup (9 local, 4 remote branches) - Established dev branch workflow (feature → dev → main) - Created workflow protocol (.claude/WORKFLOW-*.md) - Created teaching workflow spec (911 lines, approved) - Created teaching-workflow worktree (ready for impl) Documentation updates: - BRANCH-WORKFLOW.md (323 lines) - WORKFLOW-PROTOCOL.md (197 lines) - SPEC-teaching-workflow.md (911 lines) - Updated CLAUDE.md, PR-WORKFLOW-GUIDE.md PRs merged: #207 (v5.3.0 roadmap), #208 (dev workflow) Session: 2.5 hours Next: NEW session in worktree per protocol Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added spec files: - SPEC-Flow-CLI-Documentation-Enhancement - Complete-Implementation.md (1270 lines, ADHD-friendly docs redesign) - SPEC-STAT-545-COMPREHENSIVE-PLAN.md (1418 lines, course migration plan) These specs were created alongside the teaching workflow spec but represent separate features for future implementation. Status: Ready for review and planning Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
New files: - docs/getting-started/im-stuck.md - Troubleshooting guide with quick fixes - docs/getting-started/choose-your-path.md - Role-based onboarding paths - docs/quick-reference-card.md - Printable command reference - docs/stylesheets/extra.css - ADHD-friendly visual enhancements Modified files: - docs/index.md - Added TL;DR callout and path selection grid - mkdocs.yml - Updated navigation with new pages Features: - Progressive disclosure design (quick wins up front) - Visual hierarchy with colored callout boxes - Print-friendly reference card - Grid-based path selection on homepage - Dark mode support for all new styles - Mobile responsive design Impact: Improves discoverability, reduces cognitive load, provides clear entry points for different learning styles. Based on complete implementation spec (1,270 lines) Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Resolved merge conflict in .STATUS by keeping both entries: - Latest: Documentation Enhancement (Plan B) - shipped to production - Earlier: Teaching Workflow Planning - spec and protocol complete Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
New spec: SPEC-project-cache-auto-discovery.md - Comprehensive 3-phase implementation plan - Phase 1 (v5.6.0): Caching layer for 40x performance - Phase 2 (v5.7.0): Auto-discovery for zero config - Phase 3 (v5.8.0): Unified type detection Code review completed: - lib/project-detector.zsh (131 lines) - commands/pick.zsh (974 lines) - Rating: 8.5/10 - Identified: performance bottleneck, extensibility issues Updated .STATUS: - Added Sprint 6 roadmap (v5.6.0-v5.8.0, ~14 hours) - Updated Next Steps with new option B - Updated Just Completed section - Progress: 18% → 19% Impact: High performance gain + extensibility improvement Risk: Low (opt-in rollout, extensive testing) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added 'Bash(exec zsh)' to approved commands list - Allows shell reload during workflow operations Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Major updates to workflow documentation: BRANCH-WORKFLOW.md: - Added 'Mandatory Workflow Protocol' section - Detailed 5-step workflow (planning → worktree → implementation) - Tool usage constraints for Claude Code - Abort conditions for protected branch operations - Worktree isolation requirements - Workflow validation checklist CLAUDE.md: - Expanded 'Git Workflow & Standards' section - Explicit worktree creation protocol - Critical rule: NEW session required after worktree creation - Conventional commit standards - Tool usage constraints - ABORT conditions for Claude Code Key workflow rules enforced: 1. Planning on dev branch only 2. No feature code on dev branch 3. Worktree isolation for all features 4. NEW Claude session required after worktree creation 5. Conventional commits mandatory 6. PR workflow for all merges (feature → dev → main) Impact: Prevents common workflow violations - No accidental commits to main/dev - No working in wrong directory - No mixing planning and implementation contexts - Enforces branch protection rules Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
New files: - test-pick-command.zsh: 39 tests for pick functionality (556 lines) * Function existence (6 tests) * Frecency scoring (4 tests) * Project detection & listing (9 tests) * Session status indicators (4 tests) * Worktree detection (4 tests) * Pick invocation & edge cases (9 tests) * Aliases (3 tests) Enhanced files: - test-cc-dispatcher.zsh: Expanded to 37 tests (722 lines, +247) * Added unified grammar tests (4 tests) * Added shortcut expansion tests (4 tests) * Added explicit HERE tests (2 tests) * Added function existence tests (2 tests) Coverage highlights: - Pick: Frecency decay algorithm, session indicators, worktree integration - CC: Mode-first & target-first patterns, shortcuts (y/p/o/h), validation Test results: 76/76 passing (100%) Fixes applied: - Frecency scoring expectations (timestamp=0 returns 0) - ANSI code stripping for help text matching - Worktree test isolation (re-source plugin) - Error message validation - PATH restoration in edge cases Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
New documentation: - docs/guides/TESTING.md (comprehensive testing guide) * Test philosophy and architecture * Test file structure and patterns * Writing tests (6 patterns with examples) * Mock environment setup (projects, worktrees) * ANSI code handling for reliable assertions * Debugging test failures (4 strategies) * Best practices and TDD workflow * Coverage goals and CI integration Updates: - CLAUDE.md: Enhanced Testing section * Reference to new testing guide * Updated test suite overview (76+ tests) * Test coverage table * Quick verification commands - mkdocs.yml: Updated Testing navigation * Points to guides/TESTING.md * Added 🧪 emoji for visibility Coverage documented: - Pick command: 39 tests (100%) - CC dispatcher: 37 tests (100%) - DOT dispatcher: 112+ tests (100%) - Total: 76+ tests across 8 suites Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Updates: - Added Core Test Suites section (v5.0.0+) * Table of 6 test files with coverage * 76+ tests total (100% passing) * Run all command: ./tests/run-all.sh * Link to Testing Guide - Reordered sections * Core Test Suites (#1) - Primary test infrastructure * Interactive Dog Feeding (#2) - Manual validation * Automated Test Suite (#3) - Legacy * ZSH Configuration Tests (#4) - Quick Commands section updated * Added run-all.sh * Added individual test suite commands * Shows coverage count (76+ tests) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This was referenced Jan 12, 2026
Data-Wise
added a commit
that referenced
this pull request
Sep 5, 2026
create-github-app-token was called with no permission-* inputs, so the minted token inherited EVERY permission the data-wise-homebrew-automation installation holds on homebrew-tap, for the duration of the job — a job that runs sed, git and gh against a live credential. The step needs exactly two things: commit and push the formula edit (contents: write), and open then auto-merge the bump PR (pull-requests: write) — the latter added by #499. Both are known-granted, not guessed: the App has authored 7 PRs on the tap (#215, #214, #213, #212, #210, #209, #207) and merged its own (#212, #210 show mergedBy = app/data-wise-homebrew-automation), which requires pull-requests: write; the formula pushes require contents: write. Least privilege on an existing credential — no behaviour change intended. create-github-app-token fails at mint time if a requested permission is not granted, so a mismatch surfaces immediately rather than silently. Verified: actionlint reports the same 2 pre-existing SC2086 infos before and after (different step, not introduced here); YAML parses and both keys land in the app-token step's with: block. Co-authored-by: Claude Opus 5 <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
Major release focusing on test infrastructure, comprehensive documentation, and workflow improvements. This PR brings dev branch (11 commits ahead) into main with 76+ tests (100% passing) and 710-line testing guide.
Test Infrastructure ✅
New Test Suites:
tests/test-pick-command.zsh- 39 tests for pick command (100% passing)tests/test-cc-dispatcher.zsh- 37 tests for CC dispatcher (100% passing)Coverage:
Test Patterns:
Documentation 📚
New Guides:
docs/guides/TESTING.md(710 lines) - Comprehensive testing guideUpdated References:
docs/reference/TESTING-QUICK-REF.md- Added v5.0.0 test suitesCLAUDE.md- Enhanced testing section with coverage tablemkdocs.yml- Updated navigation for testing docsADHD-Friendly Documentation (#209):
docs/getting-started/im-stuck.mddocs/getting-started/choose-your-path.mddocs/quick-reference-card.mddocs/stylesheets/extra.cssWorkflow & Planning 🔄
New Specifications:
Workflow Improvements:
Changes by Category
Tests (3 files)
tests/test-pick-command.zsh(NEW, 556 lines, 39 tests)tests/test-cc-dispatcher.zsh(ENHANCED, 722 lines, 37 tests).claude/settings.local.json(UPDATED, approved commands)Documentation (8 files)
docs/guides/TESTING.md(NEW, 710 lines)docs/reference/TESTING-QUICK-REF.md(UPDATED)docs/getting-started/im-stuck.md(NEW)docs/getting-started/choose-your-path.md(NEW)docs/quick-reference-card.md(NEW)docs/stylesheets/extra.css(NEW)docs/index.md(UPDATED)mkdocs.yml(UPDATED)Specifications (3 files)
docs/specs/SPEC-teaching-workflow.md(NEW)docs/specs/SPEC-project-cache-auto-discovery.md(NEW)docs/specs/SPEC-Flow-CLI-Documentation-Enhancement.md(NEW)Workflow (2 files)
docs/guides/GIT-WORKFLOW-PROTOCOL.md(NEW).STATUS(UPDATED)Testing
Impact
For Users
✅ Improved onboarding with ADHD-friendly documentation
✅ Troubleshooting guide reduces support burden
✅ Quick reference card for command lookup
✅ Better visual hierarchy in docs
For Developers
✅ Comprehensive test coverage (76+ tests)
✅ Clear testing guide with patterns
✅ Formalized workflow protocol
✅ Detailed specifications for future work
For Project Quality
✅ 100% test pass rate
✅ Documented best practices
✅ Reduced regression risk
✅ CI-ready test infrastructure
Commits Included
5a9b06b- docs: update TESTING-QUICK-REF with v5.0.0 test suitesfcb8aab- docs: add comprehensive testing guide87fe7f6- test: add comprehensive test suites for pick & cc4538e94- docs: formalize mandatory git workflow protocolee258db- chore: add exec zsh to approved Bash commandsb5bcabd- docs: add project cache & auto-discovery enhancement plan9f8a1d3- chore: sync dev with main (bring in .STATUS update)784d968- docs: add ADHD-friendly documentation enhancements (docs: ADHD-friendly documentation enhancements #209)2eb6501- docs: add two additional spec files for future planning0519d50- chore: update .STATUS with teaching workflow sessionb805c2e- docs: add teaching workflow specification70f57f3- docs: add workflow protocol for feature developmentPost-Merge
After merging:
mkdocs gh-deploy --forcegit tag v5.0.0Notes
This release focuses on infrastructure and documentation rather than new features. The test infrastructure ensures future changes maintain quality, while the documentation improvements reduce friction for new users and developers.
🎓 All changes follow the established workflow protocol and maintain 100% backward compatibility.