v0.1.1
Post-release patch closing the P0 items from
doc/codex/开源整合方案/10-v0.1.0-alpha-测试报告.md.
Fixed
- Business tables now always built ·
init_db()runs unconditionally in
lifespan;HUNTER_MINIMAL_BOOT=1only gates the background schedulers
(collector · signal_monitor · gm_alerts · backtest · stocks_catalog seed).
Fixes 500 on/api/watchlist/api/alerts/list/api/user_mcp
/api/portfolio/summaryafter fresh volume. - Redis env respected ·
apps/api/app/routers/{quote,portfolio}.py+
services/collector.pyswitched from hardcodedredis://localhost:6379
toos.getenv("REDIS_URL", ...). Fixesredis.ConnectionErrorin docker. - Multi-tenant migration folded into
init_db·stocks/
position_thesis/push_tasksnow always haveuser_idcolumn and the
composite primary keys. FixesUndefinedColumn: column "user_id" does not existon/api/watchlistand/api/portfolio/summary. - Swagger closed by default · FastAPI ctor now hides
/docs/redoc
/openapi.jsonunlessHUNTER_ENABLE_DOCS=1. Fixes API-surface leak via
direct:8100/docsbypass (nginx wasn't intercepting). /api/signals/public · middleware whitelist widened so the signal
dashboard renders without auth for anonymous visitors.
Removed
apps/api/routers/andapps/api/services/dead paths (rsync artifact
from hermes' old layout; onlyapps/api/app/*is imported).POST /api/watchlist/feishu/config+GET /api/watchlist/feishu/config
routes and theirget_feishu_config/upsert_feishu_config+
feishu_bindingshelpers · P2 completion.
Added
scripts/export-openapi.py· dumpsapp.openapi()to
docs/api-reference.json(spec is generated even while HTTP endpoint is
closed)..github/workflows/ci.yml· newguardrailsjob that fails CI on
regressions: hardcodedredis://localhost:6379, stray
apps/api/{routers,services}dirs,wx_openid/feishu_bindings/
booth_admin/ADVENTUREX_leftovers..env.example· clearerHUNTER_MINIMAL_BOOTdocstring.
Container images:
ghcr.io/agentpit-io/hunter-community-api:v0.1.1ghcr.io/agentpit-io/hunter-community-web:v0.1.1