Trace chart: surface a run-context header (manifest/instrument/window) in the served page #102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Surface a run-context header in the served trace chart
The first-cut trace chart (
aura chart <name>, spec 0056, shipped via #101) rendersthe recorded series (equity / exposure, overlaid or in timestamp-aligned panels)
but does not surface any run-context: which instrument, broker, window, or commit
the chart belongs to. The page chrome is also still the graph-viewer's (
<title>/header read "aura graph", inherited from the shared
SHELL_HEAD).The data is already there — the run
RunManifest(commit, params, window, seed,broker) is persisted on disk in
runs/traces/<name>/index.jsonand read back intoaura_registry::RunTraces.manifest— butrender_chart_htmldeliberately drops itfrom the injected
window.AURA_TRACES(the naive viewer renders only series). Thiswas a ratified scope call at the trace-charts cycle close: a run-context header
matters most when distinguishing multiple runs, which is the deferred
families/comparison work (C21), not the single-run first cut.
When the families/comparison views land (or sooner if wanted):
manifest(and thetapslist) inChartData/ the injectedwindow.AURA_TRACES;chart-viewer.js(e.g.taps · broker · window), and adjust the page chrome (title/header) to read as a chart rather thanthe graph viewer;
.mjsguard for the header-build is cheap (pure, likebuildCharts).depends on: families/comparison meta-views (C21) — natural home; standalone-doable sooner.
context: ratified deviation from spec 0056 §1/§4, surfaced by the architect at the
trace-charts cycle-close audit. The series render is unaffected.