-
Notifications
You must be signed in to change notification settings - Fork 284
status.py missing from ROOT_SCRIPTS — statusLine broken after install #154
Copy link
Copy link
Open
Description
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 directoryThe update wizard (scripts/setup/update.py) also doesn't catch this since it only updates already-installed files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels