Skip to content

v0.3.9 — Sidebar Cost Visibility

Choose a tag to compare

@golab-arch golab-arch released this 27 May 02:56

Sidebar Cost Visibility (DG-099 A). Closes the last UI value-prop gap from Phase 11: the Brain Layer cost summary (tokens + cost USD + latency, per (provider/model, agent)) was previously printed only in the pseudoterminal after each Triage Findings run — useful in the moment, invisible once the terminal was closed or scrolled. v0.3.9 surfaces it as a persistent cost card in the SYNAPTIC Sentinel sidebar, right between the findings summary (v0.3.8 / DG-097 A) and the bucketed findings sections.

Added

  • Cost card in the sidebar — every time you run Triage Findings, the sidebar refreshes with a new cost card showing:
    • Title Brain Layer cost · last session plus the ~estimated USD caveat
    • A compact table per (provider/model, agent) row: calls, input tokens, output tokens, cost USD, avg latency ms (numeric columns use tabular-nums for stable alignment)
    • A total line: Total: N calls · X input · Y output · $Z
    • When no triage has run yet, collapses to Brain Layer cost — run Triage Findings to start tracking cost
  • cost-history --json flag — typed JSON payload ({ limit, rows, totals }) consumed by the extension via Zod schema validation, replacing fragile stdout parsing.

Notes

  • Scope only DG-099 A. No changes to the Scout Layer, Brain Layer adapters, benchmark runner, or colony.db schema.
  • Tokens and cost remain ~estimated (DG-078 B / DG-085 A caveats). The (provider-reported) badge from the terminal cost summary is not yet surfaced per-row in the card.
  • Cost card position is fixed (below findings summary, above sections). "What to fix" is primary; "how much it cost" is secondary scan information.

Known Issues

The Known Issues section is unchanged from v0.3.8 — 1 caveat structurally closed:

  1. Ground truth dataset is AI-drafted (DG-075 caveat heredado, DG-095 A structured in v0.3.7). External citation remains blocked until the corpus reaches ≥ 10 human-reviewed entries.

Install

Download synaptic-sentinel-0.3.9.vsix and run:

code --install-extension synaptic-sentinel-0.3.9.vsix

Or use "Install from VSIX..." in the VS Code Extensions view.

SHA-256: `7dc1886477be1b16e6552380f65955e0c16298673aa96d32e387535bf52085fd`

The Marketplace listing remains at v0.3.3 until the publisher uploads with their PAT — semver permits skipping intermediate versions, so a future upload may go from v0.3.3 directly to v0.3.9.


Milestone: This release closes Cycle 92 / DG-100, the round numeric cycle. 18 sub-DGs in a row without a failed cycle (DG-083 → DG-100). 6 real releases on GitHub.