Repository navigation
Workbench Data Flow module — Marey timeline + Access Matrix (closes #327) - #328
Merged
Merged
Conversation
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.
Summary
Adds the Data Flow Timeline (Marey-style: data tracks on Y, tick time on X, system runs as coloured bars) and Access Matrix (system × data heatmap) Workbench panels per
claude/design/workbench/modules/14-data-flow.md, plus the engine-side telemetry that feeds them. Sibling to the System DAG (data-first vs. scheduler-first); both panels ship and cross-link.Closes #327.
Phases shipped
ArchetypeAttribute.Alias, new[ComponentFamily]+ComponentFamilyResolver,SchedulerSystemArchetypeEventgated byTelemetryConfig.SchedulerArchetypeTouchesActive(default true), extendedTopologyDto(Archetypes / ComponentTypes / ComponentFamilies), new track families on the existing/data/track/{id}route (archetype/<label>,system-archetype/<sys>/<arch>,component-family/<name>).L-key legends-visible flag.useSelectionStoreextended (dataTrack,phase,hoveredSystemTickKey), bidirectional bridges between Data Flow / Access Matrix / System DAG, liftedgatingAnalysisto@/lib/dag/shared viauseGatingStore.Drive-by fixes (in this PR)
ProfilerSetup.BuildSessionMetadatanow derives thinArchetypeRecord[]/ComponentTypeRecord[]from the rich definitions (was passing[], [], leaving the Workbench's topology empty).TraceSessionRuntime.ProjectHeaderAndTablesfalls back to the v7 rich definitions when the thin tables are empty — backward-compat for older AntHill traces.DagScheduler.SystemEndCallbacknow fires for parallel-query systems too (was only callback-systems).TraceFixtureBuilder.BuildTraceWithArchetypeTouches— new fixture variant (binary-encodedSchedulerSystemArchetypeevents) that drives the Playwright bar-click + hover canary cases.Test plan
dotnet test test/Typhon.Engine.Tests/...— greennpx vitest run(Workbench client) — 514 / 514 green (+18 new tests forapplyPhaseCollapse,tickOffsetToNormalizedX,buildEnvelopeBars,buildDensityCells)npx tsc --noEmit— cleannpx playwright test e2e/data-flow.spec.ts— 5 / 5 green (the previouslytest.fixme()'d bar-click + hover cases now pass against the new fixture variant)Lkey toggle🤖 Generated with Claude Code