Skip to content

Surface the delegation tree in the knob panel (GUI parity)#56

Merged
Jason-Vaughan merged 1 commit into
mainfrom
feat/gui-delegate-parent-tree
Jun 19, 2026
Merged

Surface the delegation tree in the knob panel (GUI parity)#56
Jason-Vaughan merged 1 commit into
mainfrom
feat/gui-delegate-parent-tree

Conversation

@Jason-Vaughan

Copy link
Copy Markdown
Owner

What

The panel's "Delegated sub-tasks" card now shows a Linked to stat (N parent task(s), with any
unlinked sub-calls noted), mirroring the tanglebrain --stats rollup.

Why

The per-parent-task delegation tree (#52, PR #54) added a by_parent grouping that the CLI surfaces
but the panel ignored — it only read by_backend. This closes the GUI-parity gap the Critic flagged,
so the linkage is visible in the panel too.

Test plan

  • 394 hermetic tests (added test_includes_parent_task_tree: view_stats carries by_parent through).
  • Verified the server seam live: seeded a delegate record and confirmed view_stats returns the
    by_parent grouping; the new "Linked to" label is present in the panel HTML.
  • Read-only; no new endpoint (data already rides view_stats's rollup payload).

The per-parent-task tree shipped in --stats (CLI) but the panel's
"Delegated sub-tasks" card ignored by_parent. Add a "Linked to" stat
(N parent task(s), with any unlinked sub-calls noted) mirroring the CLI
rollup. Read-only, no new endpoint — the data already rides view_stats's
rollup payload.
@Jason-Vaughan Jason-Vaughan enabled auto-merge (squash) June 19, 2026 05:57
@Jason-Vaughan Jason-Vaughan merged commit f75aa4b into main Jun 19, 2026
3 checks passed
@Jason-Vaughan Jason-Vaughan deleted the feat/gui-delegate-parent-tree branch June 19, 2026 05:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant