Skip to content

rtk init -g --copilot does nothing, no global setup, no feedback #1774

Open

Description

@Horsty80

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 --copilot should either:

    1. Install a global Copilot configuration that applies across all VS Code workspaces, or
    2. Clearly explain that Copilot only supports project-scoped instructions and guide the user to the correct setup path.
  • rtk init --show should 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 hooks

Activity

  1. unitedideas commented on May 8, 2026

    @unitedideas

    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:

    1. Show Copilot as project-scoped in rtk init --show.
    2. Give .github/copilot-instructions.md and .github/hooks/rtk-rewrite.json their own status rows.
    3. If -g --copilot cannot install a global Copilot surface, say that explicitly and list the project files it did create.
    4. Keep Claude, Codex, OpenCode, Cursor, and Copilot rows separate so a green result for one client does not imply another client picked up the same rules.

    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

  2. GroovinChip commented on May 14, 2026

    @GroovinChip

    I am encountering this issue as well

  3. pszymkowiak commented on May 27, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    🐛 Category bug
    🟡 Priority medium
    🎯 Confidence 78%

    Summary

    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.

  4. KuSh commented on Oct 31, 2026

    @KuSh
    Collaborator

    Re-checked on v1.1.0 with a fresh HOME:

    A title like "rtk init --show reports no Copilot status" would match what is left.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions