Repository navigation
Open
Labels
Description
Bug Report
What happened
Running rtk init -g --copilot reports success but installs project-scoped files (.github/hooks/rtk-rewrite.json + .github/copilot-instructions.md) instead of a global VS Code setup.
Additionally, rtk init --show does not report any Copilot status, making it impossible to verify whether the integration is active.
Expected behavior
-
rtk init -g --copilotshould either:- Install a global Copilot configuration that applies across all VS Code workspaces, or
- Clearly explain that Copilot only supports project-scoped instructions and guide the user to the correct setup path.
-
rtk init --showshould report Copilot hook/instructions status alongside Claude/Cursor status.
Actual behavior
Init:
$ rtk init -g --copilot
GitHub Copilot integration installed (project-scoped).
Hook config: .github/hooks/rtk-rewrite.json
Instructions: .github/copilot-instructions.md
Works with VS Code Copilot Chat (transparent rewrite)
and Copilot CLI (deny-with-suggestion).
Restart your IDE or Copilot CLI session to activate.Show status:
rtk init --show
rtk Configuration:
[--] Hook: not found
[--] RTK.md: not found
[--] Global (~/.claude/CLAUDE.md): not found
[--] Local (./CLAUDE.md): not found
[--] settings.json: not found
[--] OpenCode: plugin not found
[--] Cursor hook: not found
Usage:
rtk init # Full injection into local CLAUDE.md
rtk init -g # Hook + RTK.md + @RTK.md + settings.json (recommended)
rtk init -g --auto-patch # Same as above but no prompt
rtk init -g --no-patch # Skip settings.json (manual setup)
rtk init -g --uninstall # Remove all RTK artifacts
rtk init -g --claude-md # Legacy: full injection into ~/.claude/CLAUDE.md
rtk init -g --hook-only # Hook only, no RTK.md
rtk init --codex # Configure local AGENTS.md + RTK.md
rtk init -g --codex # Configure $CODEX_HOME/AGENTS.md + $CODEX_HOME/RTK.md (or ~/.codex/)
rtk init -g --opencode # OpenCode plugin only
rtk init -g --agent cursor # Install Cursor Agent hooksReacted by Reuben Turner, Reuben Turner, Stuart Lang, flumi3 and Nicolas Duchon
Activity
unitedideas commentedon May 8, 2026
This looks like the same boundary we see in Claude Code to Codex imports: portable instruction state and client-specific integration state need separate status, not one generic success.
For this issue, the useful shape might be:
rtk init --show..github/copilot-instructions.mdand.github/hooks/rtk-rewrite.jsontheir own status rows.-g --copilotcannot install a global Copilot surface, say that explicitly and list the project files it did create.Bias disclosed: I work on Bring Your AI, and we hit this same boundary while auditing Claude Code to Codex imports. The pattern that held up was three buckets: portable, client-specific, and validation notes. The validation-note bucket matters because it keeps "installed" from implying "equivalent".
https://bringyour.ai/codex-import-audit
GroovinChip commentedon May 14, 2026
I am encountering this issue as well
pszymkowiak commentedon May 27, 2026
🔍 Automated Triage
bugmediumSummary
rtk init -g --copilot ignores the -g flag and silently installs project-scoped files; rtk init --show omits Copilot status — misleading UX requiring either global support or explicit messaging, plus --show parity fix.
Triaged automatically by wshm · This is an automated analysis, not a human review.
KuSh commentedon Oct 31, 2026
Re-checked on v1.1.0 with a fresh
HOME:rtk init -g --copilotnow writes~/.copilot/copilot-instructions.mdand~/.copilot/hooks/rtk-rewrite.jsonand reports "GitHub Copilot global integration installed (user-scoped)". That is the Copilot CLI user-level setup; user-level files for VS Code are the subject of [Feature Request] improve copilot-cli and VS Code installer updating global copilot-instructions.md files #1994.rtk init --show,rtk init --show -gandrtk init --show --copilotprint no Copilot row at all.A title like "
rtk init --showreports no Copilot status" would match what is left.