feat(dev): developer-mode Logs view — ADR-0009 Phase D (scoped) - #30
Merged
Merged
Conversation
A Settings 'Developer mode' toggle reveals a read-only Logs rail panel that unifies
the observability surfaces that already exist — no new capture, no DuckDB contention.
- settings_store: developerMode + setDeveloperMode.
- harness/dashboards/views.ts: new telemetryStream view (metadata only) + registered;
dashboards.test updated to 8 views.
- tools/web/data.ts: devSnapshot() (READ_ONLY: telemetry + lineage + exports).
- dev.ts: GET /api/dev gated server-side on developerMode (null when off) returning
{enabled, snapshot, blocks: liveBlocks()}; POST flips the mode.
- bridge.ts: dev()/setDeveloperMode + DevView type.
- app.ts: 'dev' inspector tab + devHtml (telemetry stream, run lineage, gate block
audit from ADR-0019-C, export audit); a hidden 'Logs' rail button revealed by the
toggle; Settings toggle + handler; loadDev on boot.
Scoped honestly: per-turn transcripts depend on Phase B (alex's #12, unbuilt) so that
surface is omitted not faked; the audited raw-reveal is left as its own careful pass.
Verified live (off→null, toggle reveals rail + renders the 4 accordions). harness 369
pass, root+desktop tsc clean, bundle OK. ADR-0009 Phase D marked BUILT (scoped).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Settings 'Developer mode' toggle reveals a read-only Logs rail panel: telemetry stream + run lineage + gate block audit + export audit (all metadata-only, READ_ONLY). Per-turn transcripts deferred to Phase B (#12); raw-reveal left as a follow-up. harness 369 pass.
🤖 Generated with Claude Code