diff --git a/.github/workflows/agentry-bug-fix.yaml b/.github/workflows/agentry-bug-fix.yaml index 78580f3..b163ef0 100644 --- a/.github/workflows/agentry-bug-fix.yaml +++ b/.github/workflows/agentry-bug-fix.yaml @@ -24,6 +24,12 @@ jobs: python-version: '3.12' - name: Install Claude Code run: npm install -g @anthropic-ai/claude-code + - name: Prime Claude Code onboarding + # Without this, claude -p tries to render the theme picker TUI and + # aborts with "Raw mode is not supported" — see anthropics/claude-code#8938. + run: | + mkdir -p ~/.claude + echo '{"hasCompletedOnboarding": true}' > ~/.claude.json - name: Install agentry run: pip install "agentry @ git+https://github.com/norrietaylor/agentry.git" - name: Diagnose and fix bug diff --git a/.github/workflows/agentry-code-review.yaml b/.github/workflows/agentry-code-review.yaml index 8dcadf8..18f275a 100644 --- a/.github/workflows/agentry-code-review.yaml +++ b/.github/workflows/agentry-code-review.yaml @@ -23,6 +23,12 @@ jobs: python-version: '3.12' - name: Install Claude Code run: npm install -g @anthropic-ai/claude-code + - name: Prime Claude Code onboarding + # Without this, claude -p tries to render the theme picker TUI and + # aborts with "Raw mode is not supported" — see anthropics/claude-code#8938. + run: | + mkdir -p ~/.claude + echo '{"hasCompletedOnboarding": true}' > ~/.claude.json - name: Install agentry run: pip install "agentry @ git+https://github.com/norrietaylor/agentry.git" - name: Run code review diff --git a/.github/workflows/agentry-feature-implement.yaml b/.github/workflows/agentry-feature-implement.yaml index 179418a..fa1bc86 100644 --- a/.github/workflows/agentry-feature-implement.yaml +++ b/.github/workflows/agentry-feature-implement.yaml @@ -24,6 +24,12 @@ jobs: python-version: '3.12' - name: Install Claude Code run: npm install -g @anthropic-ai/claude-code + - name: Prime Claude Code onboarding + # Without this, claude -p tries to render the theme picker TUI and + # aborts with "Raw mode is not supported" — see anthropics/claude-code#8938. + run: | + mkdir -p ~/.claude + echo '{"hasCompletedOnboarding": true}' > ~/.claude.json - name: Install agentry run: pip install "agentry @ git+https://github.com/norrietaylor/agentry.git" - name: Implement feature diff --git a/.github/workflows/agentry-triage.yaml b/.github/workflows/agentry-triage.yaml index 9a634ec..99a386e 100644 --- a/.github/workflows/agentry-triage.yaml +++ b/.github/workflows/agentry-triage.yaml @@ -20,6 +20,12 @@ jobs: python-version: '3.12' - name: Install Claude Code run: npm install -g @anthropic-ai/claude-code + - name: Prime Claude Code onboarding + # Without this, claude -p tries to render the theme picker TUI and + # aborts with "Raw mode is not supported" — see anthropics/claude-code#8938. + run: | + mkdir -p ~/.claude + echo '{"hasCompletedOnboarding": true}' > ~/.claude.json - name: Install agentry run: pip install "agentry @ git+https://github.com/norrietaylor/agentry.git" - name: Run planning pipeline