Skip to content

docs(launchpad): document gh repo set-default for this fork - #172

Merged
tucktuck101 merged 1 commit into
launchpadfrom
fix/gh-set-default-guidance
Aug 16, 2026
Merged

tucktuck101 merged 1 commit into
launchpadfrom
fix/gh-set-default-guidance

Conversation

@serina-mcfall

Copy link
Copy Markdown

Summary

A fresh clone with no default gh repo set resolves issue/PR operations to block/buzz (the parent) rather than this fork for any command missing --repo — measured, gh issue view 116 failed and gh pr ready 124 reported the wrong repo's PR. Documented the one-time fix (gh repo set-default launchpad-26/buzz) in both places the issue named.

Related issue

Closes #136

Issue type

Bug


Agent provenance

Field Value
Harness / provider Claude Code
Model claude-sonnet-5
Session reference N/A - harness does not expose a run id/URL
Initiating human @serina-mcfall

Objective

Tell contributors, in the setup-adjacent sections the issue identified, to run gh repo set-default launchpad-26/buzz once per clone.

Impacted components

  • launchpad/README.md ("Opening a PR" section)
  • launchpad/AGENTS.md (§6, alongside the gh pr create examples)
  • launchpad/scripts/test-gh-set-default-guidance.sh (new)

Approach and rejected alternatives

Documentation only, placed exactly where the issue's own "Impacted components" section named. No alternative considered — the issue's fix is "add one command to the setup instructions," not a design choice with competing approaches.

Verification

Command run:

bash launchpad/scripts/test-gh-set-default-guidance.sh

Raw output:

PASS: README.md tells contributors to run gh repo set-default
PASS: AGENTS.md tells contributors to run gh repo set-default

===================================================
2 passed, 0 failed

Confirmed this fails against the pre-fix files:

FAIL: README.md tells contributors to run gh repo set-default
FAIL: AGENTS.md tells contributors to run gh repo set-default

0 passed, 2 failed
  • Tests or checks were run and the raw output is pasted above
  • The diff is confined to the scope of the linked issue
  • No secrets, keys, tokens or hostnames were added to tracked files

Not verified

  • Did not audit other cohort scripts for the same unguarded gh base-repository assumption — the issue's own "Not verified" section already named this as unchecked, and it's out of scope for a docs fix addressing the setup instructions specifically.
  • Did not verify the setting's exact persistence behavior across git worktree (the issue's own body describes it — landing in shared .git/config unless extensions.worktreeConfig is set — but I did not independently re-measure it).

Security implications

None. Documentation only.

Escalations

None.

In a fresh clone with no default set, gh resolves issue/PR operations
to block/buzz (the parent repository) rather than this fork for any
command with no explicit --repo — measured: gh issue view 116 failed to
resolve an issue that exists here, and gh pr ready 124 reported
block#124, a different closed PR (#136).

The dangerous case is a write that succeeds silently: gh issue create
and gh pr comment resolve through the same base-repository path, so an
agent that builds a command programmatically and omits --repo posts
into upstream's public tracker with no warning at all.

Documented the one-time fix (gh repo set-default launchpad-26/buzz) in
both places the issue named: launchpad/README.md's "Opening a PR"
section, and launchpad/AGENTS.md §6 alongside the gh pr create
examples that assume it.

launchpad/scripts/test-gh-set-default-guidance.sh confirms both files
mention the command; confirmed it fails against the pre-fix files.

Verified:

$ bash launchpad/scripts/test-gh-set-default-guidance.sh
2 passed, 0 failed

Closes #136

Signed-off-by: Serina Mcfall <serina.mcfall@gmail.com>
@serina-mcfall serina-mcfall added the by:agent Filed or authored by an AI agent, not a human label Aug 14, 2026
@serina-mcfall
serina-mcfall marked this pull request as ready for review August 14, 2026 22:03
@tucktuck101
tucktuck101 merged commit 10b6d74 into launchpad Aug 16, 2026
23 of 25 checks passed
@serina-mcfall
serina-mcfall deleted the fix/gh-set-default-guidance branch August 31, 2026 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

by:agent Filed or authored by an AI agent, not a human

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: gh commands in a clone of this fork target block/buzz unless a default repo is set

2 participants