Skip to content

setup.sh: --skip-context-mode silently ignored when combined with --skip-mcp-check #38

@halindrome

Description

@halindrome

Per QA round 2 (PR #36, finding R2-2): When --skip-context-mode is combined with --skip-mcp-check, the detect_context_mode function is never reached (because check_mcp_availability returns early on SKIP_MCP_CHECK=true). This means:

Both are plausibly intentional ("skip MCP preflight entirely"), but the rationale for Fix #3 ("surface the hidden state so users know webfetch-nudge will keep blocking") is defeated under this flag combination.

Fix options:

  1. Move SKIP_CONTEXT_MODE handling (info line + cache rm) outside check_mcp_availability so it always runs regardless of --skip-mcp-check.
  2. Document the flag interaction in --help so users know to pass --skip-context-mode alone when they want the info line.

Context: #36 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions