Repository navigation
Description
Since #6289, a work goal has no name of its own. Before it, a goal took its name from its leading <strong>. #6289 deleted that walk in both runtimes, so that no widget takes a name from its markup and a widget names itself with label. But the goal widgets don't declare label: neither lf-atlas-task (examples/command-hub.page/registry.json) nor the fixture's lf-test-task (tests/fixtures/packages/work/registry.json) lists it. As a result, readWork titles each goal by its id (work.js#L259, addressableName(goal) || goal.id), and the activity feed names a goal by every word in it.
Failing in push run 44182772749 on ddc6239fa, the first run after #6289 merged:
tests/browser/test_render_work.py::test_public_work_roles_preserve_scope_remit_and_reports:['leaf', 'done', 'Leaf work'] in [['area', 'active', 'area'], ['leaf', 'done', 'leaf'], ['other', 'blocked', 'other']]tests/browser/test_render_work.py::test_a_page_owned_goal_joins_the_public_projection:['local', 'blocked', 'local'] != ['local', 'blocked', 'Local milestone']tests/browser/test_render_projection.py::test_atlas_send_and_pause_is_one_thread_fold: the activity row for#goal-parserinexamples/command-hub.htmlreadsactive Replace the XML parser Two workers own separate…where the test expectsReplace the XML parser
On command-hub the user sees this: the Leaf panel's activity row for an atlas task names it by all of its words, status chip included.
Decision needed (@max-sixty). These options pull in different directions, and #6325, which is still open, is changing how titles and names relate:
- Give the goal widgets
labeland write it on each goal, keeping the visible<strong>title. This matches Show an option's and a board card's title as its author's HTML, with label as its name alone #6325's split ("label as its name alone").page check'stitle-in-strongadvice stays quiet, since it fires only wherelabelis absent. The name is written twice, though, and the two copies can drift. - Give them
labeland drop the<strong>. That follows Take an option's and a board card's title from label, and recommended from an attribute #6289 strictly, butlf-atlas-taskdoesn't draw its label, so the example would lose its visible task titles unless its module draws them. - Accept id titles for goals and change the tests to expect them. That gives up the names users see in the activity feed.
Option 1 looks like the smallest change consistent with #6325. Once you choose, the repair is a registry entry for each goal widget, label on the example's tasks and the tests' fixtures.
#6328 repairs the run's three other #6289 failures, which were stale test markup only. #6139 owns the run's remaining failure.
Cause of a failure tracked in #3985.
Activity
leaf-agent commentedon Nov 18, 2026
#6325 has merged since this was filed, and it answers the question here. It keeps
labelas the name Leaf reads and the<strong>as the title the page shows. That is option 1, so #6331 applies it to goals:lf-atlas-taskandlf-test-taskdeclarelabel, and every goal in command-hub and the work tests carries one beside its title. The three goal tests listed above fail on currentmainand pass on the branch. CI and landing for #6331 are with tend-land. Merging it closes this issue.@max-sixty, I've unassigned you because #6325 supplied the decision. If you'd rather goals drop the
<strong>(option 2), say so on #6331.