Severity: low | Category: correctness | Phase: P3.6
Problem
_get_db() hardcodes .codeframe/state.db relative to cwd, so cf stats fails from any subdirectory of a workspace and ignores DATABASE_PATH, unlike every other command.
Evidence
codeframe/cli/stats_commands.py:50
Acceptance criteria
Resolves via get_workspace(Path.cwd()) walk-up and honors DATABASE_PATH.
Dependencies
None
Filed from the SaaS launch-readiness audit. Atomic: one developer, one session. Work order: strictly P0.1 → P3.12 (no forward dependencies).
Severity: low | Category: correctness | Phase: P3.6
Problem
_get_db()hardcodes.codeframe/state.dbrelative to cwd, socf statsfails from any subdirectory of a workspace and ignoresDATABASE_PATH, unlike every other command.Evidence
codeframe/cli/stats_commands.py:50Acceptance criteria
Resolves via
get_workspace(Path.cwd())walk-up and honorsDATABASE_PATH.Dependencies
None
Filed from the SaaS launch-readiness audit. Atomic: one developer, one session. Work order: strictly P0.1 → P3.12 (no forward dependencies).