GITHUB-ISSUES-2026-03-22-sc-start-bug.md
GITHUB-ISSUES-2026-03-22-sc-start-bug.md
Section titled “GITHUB-ISSUES-2026-03-22-sc-start-bug.md”Created: 2026-03-22 Purpose: Create bug issue for sc start not launching Harley
Rules for Harley
Section titled “Rules for Harley”- Run
gh label listbefore creating any issues — never create a label that already exists - Run operations one at a time in the order listed
- Confirm each result (URL or success message) before moving to the next
- Do not modify operation content
- Report any failures to operator immediately
- Stop after all operations are complete — no other work
Operations
Section titled “Operations”Operation 1 — Create bug: sc start does not launch Harley
Section titled “Operation 1 — Create bug: sc start does not launch Harley”gh issue create --title "fix: sc start does not launch harley after recording session" --label "bug" --body "## Problem
\`sc start [type] [project]\` records session metadata to \`~/.scaffolder-session.json\` and prints a confirmation message, but does not actually launch Claude Code (Harley). The operator is dropped back to the shell prompt.
Compare \`handleStart()\` (session.ts only) with \`handleBuild()\` (calls \`harley\` via \`execSync\`).
## Expected behavior
\`sc start\` should record the session AND launch Harley in the project directory, combining what \`sc start\` and \`sc build\` do separately today.
## Current workaround
Run \`sc start\` then \`sc build\`, or skip \`sc start\` and launch Harley directly:\`\`\`cd /mnt/d/scaffolder-engine && harley\`\`\`
## Fix location
\`src/sc.ts\` — \`handleStart()\` function. After calling \`startSession()\`, it should resolve the project path and exec into Harley the same way \`handleBuild()\` does.
## Acceptance criteria
- \`sc start testing scaffolder\` records session AND launches Harley- \`sc start\` (interactive) prompts for type/project, records session, launches Harley- Session metadata is written before Harley launches- If Harley exits, session remains active (ended by \`sc done\` or \`/exit\` hook)"