• cloudinit-bot released this 2026-08-04 22:11:54 +00:00 | -4 commits to main since this release

    v0.5 Phase 2 — Integration + Tech-Debt + NFR Measurement

    Summary

    • Milestone: v0.5 (Live Assist — on-the-job voice companion)
    • Phase: 2 (Integration + Tech-Debt + NFR Measurement)
    • Type: Feature (assist aggregation + cost tracking + NFR measurement + tech-debt fixes)

    Deliverables

    • server/assist/latency_metrics.py — p95/p50/p99 latency measurement (D-072 pilot tolerance)
    • server/assist/guardrail_metrics.py — FP/FN rates + nightly trending
    • server/assist/budget_check.py — C-3 cost budget check
    • server/assist/learner_cache.py — aggregation cache persistence (P1+ #7)
    • server/cohort/aggregator.py — _aggregate_assist branch (5 assist metrics, no schema change)
    • server/cost.py — derive_assist_turn_cost() extension
    • 60 new tests (469 total passed, 0 failed)

    Requirements Covered (4)

    REQ-NFR-ASSIST-01, REQ-IDEATE-04, REQ-IDEATE-06, REQ-IDEATE-07

    v0.4 P1+ Tech-Debt Wave (8 findings addressed)

    1. Argon2id blocking → asyncio.to_thread()
    2. 429 mock test → mock-based test
    3. Cookie-secret length validation → WARNING if <32
    4. Credential status enum → ValueError on invalid
    5. Revocation audit log → log.info()
    6. Nightly zoneinfo → ZoneInfo('America/Winnipeg')
    7. Cache lost on restart → SQLite cohort_learner_cache
    8. f-string SQL → parameterized queries

    Verification

    APPROVE_WITH_NOTES — 4 layers PASS, 3 P1+ flagged (all LOW, non-blocking)

    Tests

    469 passed, 45 skipped, 0 failed

    Downloads