Severity: low | Category: correctness | Phase: P2.13
Problem
These hot-path readers conn.close() only on the happy path; any OperationalError (e.g. "database is locked" under parallel load) leaks the connection.
Evidence
codeframe/core/conductor.py:750
Acceptance criteria
Wrap connection use in try/finally (or a contextmanager), matching the tasks.py pattern.
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: P2.13
Problem
These hot-path readers
conn.close()only on the happy path; anyOperationalError(e.g. "database is locked" under parallel load) leaks the connection.Evidence
codeframe/core/conductor.py:750Acceptance criteria
Wrap connection use in try/finally (or a contextmanager), matching the tasks.py pattern.
Dependencies
None
Filed from the SaaS launch-readiness audit. Atomic: one developer, one session. Work order: strictly P0.1 → P3.12 (no forward dependencies).