Skip to content

fix: name work goals by label, as #6325 names option and board cards - #6331

Merged
leaf-agent merged 3 commits into
mainfrom
fix/issue-6329
Nov 18, 2026
Merged

leaf-agent merged 3 commits into
mainfrom
fix/issue-6329

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

#6289 stopped taking a widget's name from its leading <strong> and has widgets name themselves with label. But the goal widgets lf-atlas-task (command-hub) and the fixture's lf-test-task declared no label, so readWork titled every goal by its id (addressableName(goal) || goal.id), and the Leaf panel's activity row on command-hub named an atlas task by all its words, status chip included. Both widgets now declare label, and each goal in examples/command-hub.html, in the usability eval's evals/usability/fixtures/hub.html (which composes the command-hub package) and in the work tests carries it beside the <strong> title the widget still draws.

#6329 left the choice open between this and dropping the <strong>. #6325, merged since, settled it for cards: label is the name Leaf reads, and the <strong> is the title the page shows. This PR applies that split to goals. As #6325 notes for cards, each name is now written twice and the two copies can drift.

Verification: these three tests failed on main at b8f70ba96 and pass with this change:

  • tests/browser/test_render_work.py::test_public_work_roles_preserve_scope_remit_and_reports
  • tests/browser/test_render_work.py::test_a_page_owned_goal_joins_the_public_projection
  • tests/browser/test_render_projection.py::test_atlas_send_and_pause_is_one_thread_fold

The rest of test_render_work.py, tests/model/interact_contract and tests/model/test_model_folds.py also pass. leaf page check on a command-hub preview reports status 0.

Closes #6329 — automated triage

#6289 stopped taking a widget's name from its leading <strong>, but the
goal widgets declared no label, so readWork titled every goal by its id
and the Leaf panel's activity row named an atlas task by all its words.
lf-atlas-task and the fixture's lf-test-task now declare label, and each
goal carries it beside the <strong> title it still draws, the split #6325
made for cards: label is the name Leaf reads, the <strong> is the title
the page shows. Goals in the activity feed and the work projection show
their names again.

Closes #6329

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The usability eval's hub fixture has the same gap. evals/usability/fixtures/hub.html builds its page from examples/command-hub.page (dev/leaf_dev/usability_eval.py runs page init --package on it), but its three lf-atlas-task goals (goal-parser, parser-entities, parser-cdata) still have no label. So the eval's agent sees each goal named by its id, which is the symptom #6329 reports. I'll push a commit that gives those goals label beside their <strong> titles.

The hub fixture composes examples/command-hub.page, whose lf-atlas-task
now takes label; without it the eval's goals were named by their ids.
@leaf-agent
leaf-agent merged commit 25e1850 into main Nov 18, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/issue-6329 branch November 18, 2026 01:46
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.

test_render_work and atlas goal tests: work goals have no name since #6289 dropped the <strong> title walk

1 participant