wulf-pulse/app
lorentz bd3401df1c feat(analyzer): Phase 2 — full stage persistence, fingerprints, aggregate reports, cost guards
Eight sub-phases per docs/ticket-analyzer-phase2-spec.md:

2.1 Schema (migration 070): analyzer_stage_executions table; source_snapshot,
    aggregate_fingerprint, fingerprint_generated_at columns on analyzer_analyses.
    model_traces marked LEGACY (kept for back-compat).
2.2 Every pipeline stage records a row to analyzer_stage_executions, success
    or failure. Worker persists a status='failed' analyzer_analyses row when
    the pipeline throws so partial stage records have a parent. Pipeline
    exposes raw triage/sonnet/opus responses for downstream stages.
2.3 Stage 3 prompt updated with markdown formatting rules + banned filler
    phrases. Added react-markdown + remark-gfm + @tailwindcss/typography.
    New <AnalysisMarkdown> component replaces <ProseText>; coerces stray
    headers to bold paragraphs.
2.4 Stage 6 fingerprint (Haiku) runs after persistence, failure-tolerant.
    scripts/backfill-fingerprints.ts reconstructs Stage 6 input from the
    legacy model_traces blob.
2.5 Browse UI rebuild at /analyzer/tickets: multi-select for client/issue/
    queue/status/priority/assignee, sticky filter bar, active-filter chips,
    bulk selection persisted via localStorage, "Analyze N selected" +
    "Generate aggregate report" actions. New <MultiSelect> primitive.
    Staleness uses last_activity_date > completed_at heuristic per spec C.1.
2.6 Aggregate reports (migration 071): runner is fire-and-forget, persists
    SQL distributions immediately so UI shows partial state during the
    Sonnet reduce call. Three endpoints, three pages (/analyzer/reports[/new
    /:id]). IT Glue context fetcher capped at 200 doc titles.
2.7 Cost guards (migration 072): per-request $5 confirmation, soft-warn at
    $20/day, hard-block at $50/day with ANALYZER_DAILY_COST_OVERRIDE_USERS
    override. Every gating decision audited.
2.8 Runbook + build notes updated.

128 vitest tests passing, tsc clean. Migrations 070/071/072 idempotent
(IF NOT EXISTS). model_traces double-write retained — drop in a future
migration once aggregate reports have soaked.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 14:00:22 -04:00
..
addigy-devices Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
addigy-mappings Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
admin feat: Display Settings UI + Company Category/Type sync 2026-04-06 09:03:19 -04:00
analyzer feat(analyzer): Phase 2 — full stage persistence, fingerprints, aggregate reports, cost guards 2026-04-29 14:00:22 -04:00
api feat(analyzer): Phase 2 — full stage persistence, fingerprints, aggregate reports, cost guards 2026-04-29 14:00:22 -04:00
auth feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
auvik-mappings fix: use loose equality for company ID comparison in mapping dropdowns 2026-02-02 22:52:59 -05:00
backup-status feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
config-enrichment-test Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
configuration-items Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00
dashboard feat: add kiosk settings UI and co-managed client filtering 2026-02-03 08:32:42 -05:00
engagement feat: Morning NOC Summary adaptive card for Teams 2026-03-11 09:34:51 -04:00
kiosk feat: kiosk UI updates - new cards, gauge chart, performance improvements 2026-02-19 15:31:23 -05:00
legal feat: QuickBooks Online integration 2026-03-17 07:39:55 -04:00
mobile feat: add description block to mobile ticket detail with View original toggle 2026-03-23 16:15:05 -04:00
quotes feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
rmm-mappings feat: IT Glue integration, workflow engine, pipelines, Zabbix WAN, notification channels, backup status UI improvements, nav alignment fixes 2026-02-27 14:52:14 -05:00
sentinelone feat: Add SentinelOne integration 2026-02-27 05:31:31 -05:00
settings feat: add authentication, user management, and admin features 2026-01-31 12:43:14 -05:00
setup Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
veeam-analysis feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
veeam-comparison feat: Veeam RPO analysis, comparison, ticket analysis + company teams table 2026-04-29 09:16:46 -04:00
favicon.ico Restructure: rename to Pulse and move app to root 2025-10-28 23:08:54 -04:00
globals.css feat(analyzer): Phase 2 — full stage persistence, fingerprints, aggregate reports, cost guards 2026-04-29 14:00:22 -04:00
layout.tsx feat: enable Entra ID authentication 2026-03-17 08:49:20 -04:00
page.tsx Add comprehensive admin features and multi-system integration 2025-11-19 14:18:16 -05:00