Root-lineage family colors replace project colors (round I) #33
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/observatory-lineage-colors-eage20260925"
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?
Owner redefinition: the v1.9.0 project coloring (worktree→project derivation + clickable legend) is replaced by ROOT-BASED FAMILY COLORS — every root session gets a deterministic hue; ALL its transitive descendants inherit it. Work/mission trees read as coherent color blocks; no legend, by design.
Lineage resolution (backend)
session.parent_id+ doorbell edges (🔔 15-char prefix resolution, v1.7.0).root_map: transitive walk, cycle-guarded (canonical smallest-cycle-member break, entry-point independent), 16-hop emergency cap, memoized (linear in edges).family_sizes/root_titles: family payload gainssize(root + all descendants) androotTitle(DB fallback for roots outside the payload).Coloring (frontend)
project_of/project_view), the project legend + clickable filter, and the v1.7.0 family dot (bars carry the identity cleanly — one clear signal beats two mushy ones; choice documented in README).Gates (evidence in /tmp/pinky-lineage-evidence)
projectkey anywhere, hues identical across a server restart, session DB byte-identical after a full run (read-only).data-fam= root id on every member incl. grandchild, tooltips, ◉ glyphs, legend/dot/project vars absent.Every session's ROOT — resolved transitively over BOTH parent-edge sources (native session.parent_id plus doorbell edges), cycle-guarded with a canonical smallest-member break and a 16-hop emergency cap, memoized so the build is linear — is hashed into the fixed 12-hue palette, and the root plus ALL its descendants wear that one color on the left accent bar, row tint and spanning line: work/mission trees read as coherent blocks. - backend: root_map/family_sizes/root_titles; family payload gains size + rootTitle; project derivation (project_of/project_view, worktree-slot resolution, PROJECT_PALETTE naming) fully removed - frontend: bars/tint/line now carry the ROOT family hue; legend, clickable project filter and the v1.7.0 family dot removed (one clear signal beats two mushy ones — documented); parent column tooltip names the family ('family of <root title> · N sessions'), clicking a parent id or the root ◉ glyph pins a whole-family highlight across sections (hover stays transient) - README: lineage model section replaces the project-color section