v0.8.1 — robust ask/doctor error handling
pip install --upgrade finance-skills · https://pypi.org/project/finance-skills/0.8.1/
Robustness fixes from a HIGH-effort code review of the routing/answer path (all deterministic, no LLM):
Fixed
askno longer masks errors —--explainnow feature-detects aflagskwarg instead of a catch-and-retryexcept TypeError, so a realTypeErrorinside a builder surfaces instead of being swallowed.askunexpected exceptions are debuggable — the catch-all prints a traceback to stderr and tags the draft with the exception type, so a code bug is distinguishable from a legitimate "data unavailable".doctorimport guarded —load_fixtureuses thefinance_skills.data/data__package__shim like the rest of the module, no longer relying on sibling-modulesys.pathpollution when installed.
Gates: ruff + mypy clean, 216 tests (52 subtests). Verified on a wheel install: doctor + ask one-shot work, --explain still reaches valuation.
Read-only research; not investment advice.