the-custodian/state-hub/api
tegwick 512c0a73ed feat(api): dashboard poll optimisation — T1, T2, T3
T1: Cache-Control max-age=60 on /topics/, /repos/, /domains/ list endpoints
    so repeated dashboard polls within a minute are served from browser cache.

T2: ETag middleware (md5 hash) on all JSON GET responses with conditional-GET
    (304 Not Modified) support; If-None-Match and ETag added to CORS headers.
    ETag registered inside CORS so 304s automatically carry CORS headers.

T3: GET /state/deps — lightweight dep-graph endpoint returning open workstreams
    with depends_on/blocks edges only, skipping the 10-table full-summary query.
    Prerequisite for T4 (switching workstreams.md and dependencies.md off /state/summary).

Workplan: CUST-WP-0039-dashboard-poll-optimization.md

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 17:26:30 +02:00
..
models Improved workplan dependency management facilities 2026-05-04 11:45:24 +02:00
routers feat(api): dashboard poll optimisation — T1, T2, T3 2026-05-11 17:26:30 +02:00
schemas Updated repo onboarding 2026-05-04 19:18:10 +02:00
config.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00
database.py Add state-hub v0.1 — local-first state service for the Custodian 2026-02-24 17:47:49 +01:00
doi_engine.py scope refactoring 2026-05-01 01:47:14 +02:00
flow_defs.py Task flow engine implementation 2026-05-02 00:21:14 +02:00
main.py feat(api): dashboard poll optimisation — T1, T2, T3 2026-05-11 17:26:30 +02:00