Skip to content

source-control: remote name origin hardcoded in pull-request create flow (low severity) #442

Description

@kyle-sexton

Plugin: source-control · Category: baked repo assumption (1) — low severity
Source: work-readiness sweep (read-only audit vs docs/PLUGIN-PHILOSOPHY.md + docs/MIGRATION-PLAYBOOK.md)

Findings

  • plugins/source-control/skills/pull-request/reference/create.md:71,159git fetch origin, git push -u origin <branch>

Why flagged

Real portability assumption: a consumer whose remote is not named origin (fork-based flows with upstream/fork, multi-remote setups) breaks. Common practice, so low severity — but the convention-resolution ladder's "no baked repo assumptions" applies.

Fix direction

Resolve the push remote (e.g. the current branch's configured remote, git config branch.<name>.remote, or gh repo set-default context) with origin as the documented fallback.

Metadata

Metadata

Assignees

Labels

priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions