/prep command for issue hygiene and Definition of Ready
ORC-394
- Added `/prep` command (`.claude/commands/prep.md`) with 9-criterion DoR checklist, auto-heal, and human flagging
- Wired `/prep` into `/issue` as Step 7 (after `/estimate`) — issues are fully structured at creation time
- Added DoR gate check (step 2b) to `/work` pipeline — validates readiness before execution begins
- Added `--force` flag to `/estimate` for re-estimation when scope changes
- Added `--check-only` flag to `/prep` for lightweight validation without modification
Global scratch workspace for conversational sessions
ORC-391
- Added `~/scratch/` workspace convention for conversational artifacts (brainstorms, diagrams, notes, research)
- Convention: `~/scratch/<project>/<YYYY>/<MM>/<DD_slug>/` -- organized by project, year, month, and topic
- Added "Scratch Workspace" section to global `~/.claude/CLAUDE.md` with usage rules and directory structure
- Added cross-reference to project CLAUDE.md and documentation to workstation-setup.md
- Distinct from `test-*` convention: `test-*` is for testing repo changes (gitignored), `~/scratch/` is for conversational work
Remove require-issue PreToolUse hook
ORC-392
- Removed `.claude/hooks/require-issue.sh` and the PreToolUse hook block from `.claude/settings.json`
- Removed Critical Rule #10 ("No Code Without Issue" hook enforcement) from CLAUDE.md
- The soft rule ("Never make code changes without a Linear issue") remains in the global `~/.claude/CLAUDE.md`
Tool Adoption Checklist
ORC-383
- Added "Tool adoption checklist" section to `workstation-setup.md` with a 5-point evaluation framework (update channel, cadence, maintainer risk, update policy, decision documented)
- Added **Update policy** field to every tool section in workstation-setup.md (Core tools, Cursor, Claude Code, FFF MCP, Linear CLI, Wispr Flow, Tailscale/Mosh, Moshi, TouchscreenDriver, Stream Deck, D2, Excalidraw CLI)
- Added cross-reference in CLAUDE.md § Locked Decisions requiring the checklist before adopting new tools
- Bumped workstation-setup.md to v1.1.0
PreToolUse Hook: No Code Without Issue
ORC-381
- Added `.claude/hooks/require-issue.sh` -- PreToolUse hook that enforces issue tracking at the harness level
- When no `.work-active` file exists, Edit/Write tool calls trigger a user permission prompt (`permissionDecision: "ask"`)
- Auto-allows edits to `.claude/` and `memory/` paths without prompting
- Registered hook in `.claude/settings.json` under `hooks.PreToolUse` with `Edit|Write` matcher
- Added Critical Rule #10 to CLAUDE.md documenting the enforcement
Restore Interactive Session Name Prompt
ORC-382
- Restored the interactive prompt in `~/.claude/framework-session.sh` that ORC-368 removed
- When a new iTerm session opens, the user is prompted for a short name/intent (e.g., `ORC-368 tab colors`)
- Input is sanitized into a tmux-safe suffix: `framework-orc-368-tab-colors`
- Pressing Enter without input falls back to auto-increment (`framework`, `framework-2`, etc.)
- Updated `workstation-setup.md` with new behavior docs, Restore from Backup entry, and verification items