Skip to content

status.py missing from ROOT_SCRIPTS — statusLine broken after install #154

Description

@udhaya10

Bug

The wizard installer (opc/scripts/setup/claude_integration.py) does not copy status.py to ~/.claude/scripts/, but settings.json references it:

"statusLine": {"type": "command", "command": "uv run $HOME/.claude/scripts/status.py"}

This means the status line is broken after any install (fresh, full, or update).

Root Cause

_copy_scripts() copies subdirectories (core/, math/, tldr/, mcp/) and files listed in ROOT_SCRIPTS (line 384), but status.py is not in that list:

ROOT_SCRIPTS = [
    "ast_grep_find.py",
    "braintrust_analyze.py",
    "qlty_check.py",
    "research_implement_pipeline.py",
    "test_research_pipeline.py",
    "multi_tool_pipeline.py",
    "recall_temporal_facts.py",
]

The file exists at .claude/scripts/status.py in the repo but never gets deployed.

Fix

Add "status.py" to the ROOT_SCRIPTS list in opc/scripts/setup/claude_integration.py:384.

Reproduction

# Fresh install via wizard (option 2)
cd opc && uv run python -m scripts.setup.wizard

# Verify
ls ~/.claude/scripts/status.py
# → No such file or directory

The update wizard (scripts/setup/update.py) also doesn't catch this since it only updates already-installed files.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions