KKhomutov Nikitafix(admin): expose durable sync observation state
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
test(admin): make visual baselines portable | 17 天前 | |
test: codify semantic-only browser CI | 15 天前 | |
fix(admin): expose durable sync observation state | 11 天前 | |
Add versioned admin observation API and resumable SSE Closes #93 ## Summary - add deterministic, versioned, public-safe admin snapshot and resource DTOs for caches, repositories, jobs, maintenance, diagnostics, and capabilities - model head, tail, secondary, projection, and RAG coverage independently from contention, retry, and last-stage errors - expose authenticated read-only /api/admin/v1 resources with opaque cache references, typed errors, bounded job filtering, and no provider/network side effects - add bounded SSE invalidation replay with opaque cursors, reconnect support, session expiry, and snapshot_required fallback - connect the existing Svelte shell to the snapshot and event stream without changing the approved layout or System-default Light/Dark/System theme contract - keep periodic observation aggregate-only so large caches do not load source bodies or identity aliases ## Verification - go test ./... - go test -race ./internal/adminhttp ./internal/servicectl - go vet ./... - git diff --check - npm run check - npm run test - npm run test:e2e (mocked shell smoke; live case is explicitly gated) - ./scripts/check-admin-ui-assets.sh - local live Playwright QA: one-time launch exchange, versioned snapshot, SSE content type, reload/session continuity, and no absolute user paths | 22 天前 |