Repository navigation
spec(t27f): graph design system — two visual modes on one data source (Closes #12779) - #13133
Merged
Merged
Conversation
…Closes #12779) Design system for the live mycelium graph with two visual modes: MYCELIUM: organic golden-spiral layout, nodes as circles. Overview mode — general activity and connection structure. Golden angle 137.5° (2.39996 rad), Taylor series cos/sin (3 terms), no transcendental functions. MAP: structured layered layout with groups, task cards, inspector. Operational mode — tasks, dependencies, blockers, user actions. Layered by group, nodes as cards across band width. Node types: TASK (work unit), AGENT (executor badge), RESOURCE (external), GROUP (container). PID is inspector detail, not main visual label. Edge semantics: ASSIGN, DEPENDS, PRODUCES, CONTAINS. Edges drawn only when the data source confirms the relation — no invented edges. State colours: WORKING=blue accent, BLOCKED=amber, DONE=neutral green, ERROR=red, STALE=muted, UNKNOWN=neutral '?'. Text preserves meaning. Selection: clicking a node highlights 1-hop neighbourhood and dims rest. Inspector shows: label, state, reason, pid, last event time. Tests: 10/10 + 3 invariants; t27b --check clean (0 mismatches); seal MATCH. phi^2 + phi^-2 = 3 | TRINITY
gHashTag
enabled auto-merge (squash)
November 2, 2026 14:58
Contributor
gHashTag
added a commit
that referenced
this pull request
Nov 2, 2026
…13133) (#13135) * spec(t27f): graph design system — two visual modes on one data source (Closes #12779) Design system for the live mycelium graph with two visual modes: MYCELIUM: organic golden-spiral layout, nodes as circles. Overview mode — general activity and connection structure. Golden angle 137.5° (2.39996 rad), Taylor series cos/sin (3 terms), no transcendental functions. MAP: structured layered layout with groups, task cards, inspector. Operational mode — tasks, dependencies, blockers, user actions. Layered by group, nodes as cards across band width. Node types: TASK (work unit), AGENT (executor badge), RESOURCE (external), GROUP (container). PID is inspector detail, not main visual label. Edge semantics: ASSIGN, DEPENDS, PRODUCES, CONTAINS. Edges drawn only when the data source confirms the relation — no invented edges. State colours: WORKING=blue accent, BLOCKED=amber, DONE=neutral green, ERROR=red, STALE=muted, UNKNOWN=neutral '?'. Text preserves meaning. Selection: clicking a node highlights 1-hop neighbourhood and dims rest. Inspector shows: label, state, reason, pid, last event time. Tests: 10/10 + 3 invariants; t27b --check clean (0 mismatches); seal MATCH. phi^2 + phi^-2 = 3 | TRINITY * spec(t27f): native map prototype with verified ObjC ABI (Refs #12779, #13133) Native prototype of the central map with verified Objective-C ABI calls. ALL ObjC calls use the objc_msgSend pattern from glass_window.t27: NSClassFromString -> class pointer NSSelectorFromString -> selector pointer objc_msgSend(receiver, selector, args...) -> result NO C function names like CATransactionBegin — those are ObjC class methods. CATransaction: begin / setAnimationDuration: (SECONDS) / commit CALayer: layer / removeFromSuperlayer Pure functions (testable with t27c/t27b): nmp_spiral_pos — golden spiral layout (Taylor cos/sin, 3 terms) nmp_stage_duration — transition stage to CA duration (SECONDS) Core Animation calls (nmp_ca_begin/set_duration/commit/layer_new) require a native smoke test: t27c/t27b test-report cannot verify ObjC runtime calls without a live window context. Tests: 4/4 + 1 invariant; t27b --check clean (0 mismatches); seals MATCH. phi^2 + phi^-2 = 3 | TRINITY
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.
Closes #12779.
Design system for the live mycelium graph with two visual modes on the SAME
event data (TAP_REPLAY through live_tap.t27):
MYCELIUM mode: organic golden-spiral layout, nodes as circles, overview —
general activity and connection structure.
MAP mode: structured layered layout with groups, task cards, inspector —
operational view for tasks, dependencies, blockers, user actions.
Node types: TASK, AGENT, RESOURCE, GROUP. PID is inspector detail, not main
visual label. Edge semantics: ASSIGN, DEPENDS, PRODUCES, CONTAINS — edges
drawn only when the data source confirms the relation.
State colours: WORKING=blue, BLOCKED=amber, DONE=green, ERROR=red,
STALE=muted, UNKNOWN=neutral. Text preserves meaning independent of colour.
Selection: clicking highlights 1-hop neighbourhood and dims rest. Inspector
shows: label, state, reason, pid, last event time.
Research basis: GraphDiaries (Bach/Pietriga/Fekete 2014), Archambault et al
(2011,2016), Heer & Robertson (2007), Yee et al (2001).
Tests: 10/10 + 3 invariants; t27b --check clean (0 mismatches); seals MATCH.
phi^2 + phi^-2 = 3 | TRINITY