Skip to content

feat(self-driving): default to the single connected repo for GitHub Issues#878

Merged
dkarasiewicz merged 2 commits into
mainfrom
self-driving-single-repo-default
Jul 14, 2026
Merged

feat(self-driving): default to the single connected repo for GitHub Issues#878
dkarasiewicz merged 2 commits into
mainfrom
self-driving-single-repo-default

Conversation

@dkarasiewicz

Copy link
Copy Markdown
Contributor

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

  • step 5 in prompt.ts: one connected repo → use it by default, skip repo research; research only when several are connected
  • matching wording in self-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.

@dkarasiewicz
dkarasiewicz requested a review from a team as a code owner July 13, 2026 14:25
Copilot AI review requested due to automatic review settings July 13, 2026 14:25
@github-actions

Copy link
Copy Markdown

🧙 Wizard CI

Run 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:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci basic-integration
  • /wizard-ci mcp-analytics
  • /wizard-ci revenue

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci revenue/stripe

Results will be posted here when complete.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.ts to skip repo research when only one GitHub repo is connected.
  • Updated self-driving/ARCHITECTURE.md step 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.

Comment thread src/lib/programs/self-driving/ARCHITECTURE.md
Comment thread src/lib/programs/self-driving/prompt.ts
@dkarasiewicz

Copy link
Copy Markdown
Contributor Author

skill-side mirror (source of truth for the HOW): PostHog/context-mill#234 — merge that one for the change to take effect

dkarasiewicz added a commit to PostHog/context-mill that referenced this pull request Jul 14, 2026
…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>
@dkarasiewicz
dkarasiewicz enabled auto-merge (squash) July 14, 2026 14:41
@dkarasiewicz
dkarasiewicz merged commit 93b5d87 into main Jul 14, 2026
16 checks passed
@dkarasiewicz
dkarasiewicz deleted the self-driving-single-repo-default branch July 14, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants