feat(self-driving): default to the single connected repo for GitHub Issues#878
Conversation
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Results will be posted here when complete. |
There was a problem hiding this comment.
Pull request overview
Updates the self-driving program’s prompt and architecture documentation so that, when GitHub Issues has exactly one connected repository, the run uses it by default and avoids unnecessary “which repo?” research.
Changes:
- Clarified STEP 5 guidance in
prompt.tsto skip repo research when only one GitHub repo is connected. - Updated
self-driving/ARCHITECTURE.mdstep 5 wording to match the new behavior description (with one noted label inconsistency).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/lib/programs/self-driving/prompt.ts | Updates STEP 5 prompt instructions for GitHub Issues repo selection behavior. |
| src/lib/programs/self-driving/ARCHITECTURE.md | Updates STEP 5 documentation to reflect defaulting to the single connected GitHub repo. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
skill-side mirror (source of truth for the HOW): PostHog/context-mill#234 — merge that one for the change to take effect |
…ssues (#234) Mirrors PostHog/wizard#878 — the skill references are the source of truth for the HOW, so the wizard prompt change alone doesn't take effect. Co-authored-by: Dawid Karasiewicz <dawid.k@posthog.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Problem
when only one repo is connected to the github integration, the self-driving run still researches which repo to use for the github issues source. wasted work, the choice is forced.
Changes
prompt.ts: one connected repo → use it by default, skip repo research; research only when several are connectedself-driving/ARCHITECTURE.md(step-5 bullet + table row)Test plan
covered by CI (prompt wording only, no logic change).
LLM context
authored with claude code.