You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[0.1.0] Extension component catalog (reusable Scene building blocks) #2114
Post-0.0.23 design track (NOT a release gate). Goal: downstream extensions compose UI from documented components instead of hand-rolling Scene nodes (bar band/pills/tooltips as reference implementation).
Scope
Catalog the reusable patterns (band, pill row, tooltip/detail fallback, modal sheet, status strip) with contracts.
Each catalog entry: Scene shape, style hooks (post style-primitives), accessibility notes, headed example.
Bar migrated onto catalog entries (dogfood proof).
What landed: a closed five-entry catalog (band, pill-row, tooltip-detail-fallback, modal-sheet, status-strip) composed only from the accepted v1 node set (Text/Row/Column/List), with typed descriptors, inclusive caps anchored to BAND_MAX_REGIONS/status/overlay bounds and SCN-1..3, deterministic declaration order, canonical round-trip recognition, fail-closed empty/overflow/reserved-delimiter/mutation behavior, and no style fields, input bindings, coordinates, focus, modality, capability, or VM. Headless evidence: 17 ui_catalog tests plus the full bitty-lua suite and workspace checks.
Remainder (why this is Refs, not Closes):
bar/statusline dogfood migration is a bitty-plugins change and needs an accepted Lua-visible surface;
no Lua surface, headed proof, style hooks (blocked on scene-style acceptance), tooltip/notification vehicle, or modal focus/modality ownership is claimed here;
entry shapes/caps are draft-candidate spellings, not an accepted contract.
No act/ci-local run was used; remote CI is the gate.
Bar dogfood audit against the component catalog (guard tick 2026-11-11, task CTX-0047).
Method: bar plugin (plugins/bar @ 7b6beb1, lane worktree off ec38cd2) mounted through the pinned SDK MockHost with three configs — (A) workspaces + clock + network + cpu, (B) modules_right=[network,bluetooth] with no providers, (C) empty workspace list — scene JSON dumped and judged against the catalog's own rules, plus source reading.
Recipe
Bar site (lua/bar/init.lua)
Verdict
C-1 Edge band
root 3613-3638, group 3530-3536, omission 3628-3631, anchors 140-144
composes (one Row root, three anchored child Rows; provider-less group omitted, not painted empty; one block, updated in place)
C-2 Pill row
1219-1271, 1256-1264, 1243-1255, 1279-1306
composes (padding inside the atom, same region on click and scroll)
composes (provider-less modules paint nothing, single literal space between modules)
Cross-recipe conformance: kinds ⊆ {Row, Text}; fields ⊆ {kind, text, children, fg, bg, bold, anchor, on_click, on_scroll, on_hover}; tokens ⊆ {foreground, background, cursor, selection, accent}; bindings are {command, args?, region?} with validated ids; the overlay block carries no bindings.
Gate on a clean tree (plugins/bar): fmt-check 0 · markdownlint 0 · metadata 0 · hygiene 0 · paths 0 · manifest 0 · lua 0 · lua-control 0 · test 0 (293 pass / 0 fail, 11 files) · aggregate just check 0. Nothing weakened, no manifest or pin change.
Named residuals (not implemented — each needs a decision, and each would change shipped visible output or the spec surface):
R1 Catalog rule 8 ("never paints … a dash") vs M.EMPTY_PLACEHOLDER (:107, :1220-1222); probe C paints "—16:53" and tests/bar.test.ts:345-350 pins it. Question: does the omit rule govern the Core-parity empty-list placeholder?
R2 C-2 lists */+/! marks; the bar paints *,! and encodes "occupied" as bold. Question: is the mark list normative, or is bold the permitted token choice?
R4 "Migrated onto catalog entries" has no code target: the catalog defers a shared recipe library ("Deferred; bitty-ui-core candidate and unowned", open point 8). Question: is shape conformance plus test evidence the accepted dogfood proof?
No code change, no PR: the bar already composes every applicable recipe, and each delta is either spec-amendment territory (R1-R3) or a deferred library (R4).
Status note (guard tick 2026-11-16): the headless catalog slice of this issue already shipped on main as 8e05172a — [CTX-1416] feat(plugins): add candidate extension component catalog (#2114) (#2369), merged 2026-10-21 — exposing crates/bitty-lua/src/ui_catalog.rs (pub mod ui_catalog + re-exports, 1915 lines, five typed descriptors). A later lane opened a parallel catalog at crates/bitty-rich/src/catalog.rs (PR #3189) in ignorance of that module; independent review caught the divergence (different type names, band/status-strip shapes, caps 256/32 B vs the shipped 64/64/64 and 64/32/128 B) and the PR was closed as a duplicate, not reconciled.
Remaining, as the issue itself lists: bar migrated onto the shipped catalog entries (dogfood proof, bitty-plugins repo), per-entry contract rows in the docs record, headed examples. None of that is in flight, so this issue is a real residual — but the next lane must extend bitty-lua/src/ui_catalog.rs, never add a second catalog.
Status check against bittyorigin/main3b497a24 (2026-11-19) and bitty-terminal-docs main (docs PR #445, squash 2cbaaf6). No docs edit was needed for this issue.
Which corpus owns the catalog
bitty-plugins-docs, in extensibility/extension-component-catalog-candidate.md (1293 lines, category: extensibility, status: draft) at bitty-plugins-docs 6840c61. Docs PR #445 made that placement a ruling and removed the competing copy: the same-named file in bitty-terminal-docs is now a boundary record (specifications/extension-component-catalog-candidate.md) that states the ownership table and keeps no catalog. The older extensibility/ui-component-catalog-candidate.md is status: deprecated and points at the surviving record.
Entries (5, ## E-1..## E-5)
ID
Pattern
Availability verdict in the owning record
E-1
Edge band
shipped (band vocabulary)
E-2
Pill row
shipped as square capsules; rounded pill is a gap
E-3
Tooltip / detail fallback
partial: inline, hover-overlay and notify rungs shipped; anchored popup is a gap
E-4
Modal sheet
gap for modality; the non-modal substitutes are shipped
E-5
Status strip
shipped (band vocabulary)
Code side at 3b497a24 is unchanged from the earlier read: crates/bitty-lua/src/ui_catalog.rs carries CatalogEntry (:139), ALL: [Self; 5] (:154), from_scene (:352), and the three composers compose_strip (:565), compose_pill_row (:590), compose_modal_sheet (:604); re-exported at crates/bitty-lua/src/lib.rs:138. It is host-side Rust with no Lua binding and no consumer outside the module.
The exact remaining gap
Checkbox 1 — landed as a draft only. The five patterns are catalogued once with a per-entry contract block, but the record is status: draft in bitty-plugins-docs. Closing the checkbox's "with contracts" wording needs owner acceptance in bitty-plugins-docs, not an implementation change here.
Checkbox 2 — partial, two of four filed. Scene shape and accessibility notes are there. Style hooks did not land (the descriptors carry no style field; UI_STYLE_FIELDS is rich-only at crates/bitty-lua/src/ui_style.rs:279, and the band/overlay readers drop style through ui_style_ignored). Headed example did not land (no screenshot, run log, or headed lane for any entry).
Checkbox 3 — bar dogfood migration: not landed, and not startable from the plugin side. No bar source on bitty-pluginsorigin/main references a catalog entry — a grep for compose_strip|compose_pill_row|compose_modal_sheet|StripDescriptor|PillRowDescriptor|ModalSheetDescriptor over plugins/ returns nothing at ce49705. The blocker is a surface, not a plugin edit: the descriptors are host-side Rust with no plugin-facing binding, so the bar has nothing to call. An unmerged lane exists outside origin/main (bitty-plugins 80f738c, local only — "compose the band, pill row and tooltip against the ui_catalog recipes"); it is not evidence until it merges, and it confirms the gap is a missing surface rather than missing intent.
In one line: nothing in #2114 moved at 3b497a24 or with docs PR #445 beyond the corpus ruling — the remaining work is owner acceptance for the draft contracts, style hooks plus headed evidence, and a plugin-facing catalog surface before the bar can be migrated.
Read-only evidence audit of the three scope items against bitty main 944a4b1f (owning record at bitty-plugins-docs main 08170b49; reference plugin at bitty-terminal/bar main d26e65c). Verdict: item 1 landed as a draft; item 2 is half-landed (style hooks unimplemented, no headed example); item 3 not landed (bar still hand-rolls). The issue stays open.
Item 1 — catalog the five patterns with contracts: LANDED (candidate/draft).
Contracts/budgets documented and enforced: cap anchor table at the module header :81-86; CATALOG_MAX_SEGMENTS :115, CATALOG_MAX_PILLS :119, CATALOG_MAX_ROWS :123, CATALOG_MAX_SEGMENT_BYTES :127, CATALOG_MAX_PILL_LABEL_BYTES :131, CATALOG_MAX_DETAIL_BYTES :136.
Owning record: bitty-plugins-docs extensibility/extension-component-catalog-candidate.md — ## E-1 :488, ## E-2 :650, ## E-3 :787, ## E-4 :994, ## E-5 :1153, each with a **Contract.** block; per-entry summary rows :451-455. Caveat: the record is status: draft (:7) — the contracts are catalogued but not yet owner-accepted.
Item 2 — per entry: Scene shape, style hooks, accessibility notes, headed example: PARTIAL (2 of 4 axes).
Scene shape: landed — per-entry sections above, entry composition register :464, and the code emits exactly those shapes via CatalogBlock::compose.
Accessibility notes: landed — docs PR [CTX-0123] fix(release): apt 404 tolerant #199 (merge db0076a, 2026-11-19) grounds every entry's required roles in the Accessibility Baseline and states the v1 boundary the build cannot cross.
Style hooks: NOT implemented — ui_catalog.rs:66-71 states "No style hooks yet … the catalog emits no style field"; UI_STYLE_FIELDS (crates/bitty-lua/src/ui_style.rs:279-290) is rich-path only and the band/overlay readers drop style; the record documents the token boundary per entry but marks the width/style hooks as gaps (:1316-1320). Blocked on the Scene Style Primitives record's acceptance (also PR [CTX-1921] feat(lua): wire the five ui_catalog entries onto the plugin Lua surface #3288's explicit "No style hooks" surface decision).
Headed example: NOT landed — the owning record says so itself: "None has been executed against a headed host … there is no screenshot, no run log, and no headed lane anywhere in this repository" (:439-444, restated :61-62), and docs PR [CTX-0123] fix(release): apt 404 tolerant #199's body confirms "the headed examples are listings, not headed test results." Runnable-shaped listings exist for every entry, but no real GUI session has demonstrated any entry. This is an item-2 blocker.
Item 3 — bar migrated onto catalog entries (dogfood): NOT LANDED.
The prerequisite plugin-facing surface did land: PR [CTX-1921] feat(lua): wire the five ui_catalog entries onto the plugin Lua surface #3288 (merge 16be2eef, merged 2026-11-21) exposes the read-only bitty.ui.catalog constructor table — import crates/bitty-lua/src/host.rs:58, registration of band/pill_row/tooltip_detail_fallback/modal_sheet/status_strip at host.rs:7918-7953, descriptor reader/lowering ui_catalog.rs:1025/:1043/:1084, README section crates/bitty-lua/README.md:140-146, re-exports lib.rs:91/:144.
But the bar has not adopted it: at bar main d26e65c, lua/bar/init.lua contains zero references to bitty.ui.catalog, pill_row, status_strip, modal_sheet, or tooltip_detail_fallback; the bar still hand-rolls its band/strip/pills (bar/lua/bar/init.lua:4336 group tree, :4453-4479 strip assembly, :4746 mount). The only migration attempt is an unmerged local branch in the bar clone (ctx-0010/component-catalog-dogfood @ 80f738c) with no PR on bitty-terminal/bar — not evidence.
The owning record states the residual directly: Adoption section :1441-1444 — "The bar migration (bitty#2114, item 3) is the remaining residual: nothing in this record has been adopted by the reference plugin yet."
Blocking residuals: item 2's headed example (no headed host run, screenshot, or run log exists for any entry; style hooks remain reserved pending Scene Style Primitives acceptance) and item 3's bar migration (bar main still hand-rolls its Scene nodes; the Lua surface it needs landed in PR #3288, so the migration is now startable from the plugin side — it just has not happened). Leaving this issue open.
Item 3 (bar dogfood) — first slice landed, with precise blocked-declarations. Guard closeout of bar PR #51 (squash af99ae88, CarryCtx task bar/CTX-0010, independent review APPROVE at head 45bf459):
ADOPTED: the bar's tooltip detail fallback now composes through the shipped read-only bitty.ui.catalog.tooltip_detail_fallback constructor (feature-detected, pcall-guarded; lua/bar/init.lua:614-633 at af99ae88), i.e. the first real plugin consumer of the PR [CTX-1921] feat(lua): wire the five ui_catalog entries onto the plugin Lua surface #3288 surface. The local one-line leaf survives only for pre-surface hosts (compat floor) and the 129–256-byte detail tail past the catalog's 128-byte detail_bytes cap (declared).
BLOCKED, declared honestly: band and pill-row stay locally composed because the host lowering today refuses anchored/styled nodes, always emits all three anchor-less regions joined by separators, and pill_row only produces bracket spelling — while the bar ships Core [0.0.26] Band layout and pointer mechanism for Waybar-style bars #2411 anchor placement (D1/D2) and the bar#28 padded-capsule pill (D3). Both are blocked on the same residual as item 2's style hooks: the Scene Style Primitives acceptance. The stale "no Lua-visible surface" premise is gone (pinned absent by test).
D4 now enforced: segment_bytes is genuinely measured and composer violations are no longer discarded — they surface through a bounded (16/generation), deduplicated, best-effort notify sink; pinned by tests including the ungranted-notify case.
The cap mirror stays value-for-value against bitty-lua::ui_catalog (pinned by tests/catalog.test.ts); modules.test.ts accepts ui.catalog additively with a regression guard.
Net for this issue: item 3 is started and evidenced (one of the five entries consumed host-side, the two blocked surfaces carry file:line declarations naming the bitty-side acceptance they wait on). Item 3 cannot fully close until style hooks land; item 2's headed example remains unbuilt. Issue stays open.
Activity
[CTX-1416] chore(docs): pin extension component catalog note (#2114)
Xuepoo commentedon Oct 21, 2026
Design note + bounded catalog slice posted (no Lua/surface or bar change in this step).
CTX-1416,Refs #2114)What landed: a closed five-entry catalog (
band,pill-row,tooltip-detail-fallback,modal-sheet,status-strip) composed only from the accepted v1 node set (Text/Row/Column/List), with typed descriptors, inclusive caps anchored toBAND_MAX_REGIONS/status/overlay bounds and SCN-1..3, deterministic declaration order, canonical round-trip recognition, fail-closed empty/overflow/reserved-delimiter/mutation behavior, and no style fields, input bindings, coordinates, focus, modality, capability, or VM. Headless evidence: 17ui_catalogtests plus the fullbitty-luasuite and workspace checks.Remainder (why this is
Refs, notCloses):bitty-pluginschange and needs an accepted Lua-visible surface;No
act/ci-localrun was used; remote CI is the gate.[CTX-1416] feat(plugins): add candidate extension component catalog (#…
[CTX-1416] feat(plugins): add candidate extension component catalog (#…
[CTX-1416] chore(docs): pin extension component catalog note (#2114)
[CTX-1416] feat(plugins): add candidate extension component catalog (#…
[CTX-1416] chore(docs): pin extension component catalog note (#2114)
[CTX-1416] fix(plugins): prove catalog caps and emitted order (#2114)
[CTX-1416] feat(plugins): add candidate extension component catalog (#…
[CTX-1416] chore(docs): pin extension component catalog note (#2114)
[CTX-1416] fix(plugins): prove catalog caps and emitted order (#2114)
[CTX-1416] chore(merge): sync main into the catalog branch (#2114)
[CTX-1416] feat(plugins): add candidate extension component catalog (#…
Xuepoo commentedon Nov 10, 2026
Bar dogfood audit against the component catalog (guard tick 2026-11-11, task CTX-0047).
Method: bar plugin (
plugins/bar@7b6beb1, lane worktree offec38cd2) mounted through the pinned SDKMockHostwith three configs — (A) workspaces + clock + network + cpu, (B)modules_right=[network,bluetooth]with no providers, (C) empty workspace list — scene JSON dumped and judged against the catalog's own rules, plus source reading.lua/bar/init.lua)Rowroot, three anchored childRows; provider-less group omitted, not painted empty; one block, updated in place)regionon click and scroll)present.show, no modal claim;ui.overlaygranted withoutui.overlay.focus)Cross-recipe conformance: kinds ⊆ {Row, Text}; fields ⊆ {kind, text, children, fg, bg, bold, anchor, on_click, on_scroll, on_hover}; tokens ⊆ {foreground, background, cursor, selection, accent}; bindings are
{command, args?, region?}with validated ids; the overlay block carries no bindings.Gate on a clean tree (
plugins/bar):fmt-check0 ·markdownlint0 ·metadata0 ·hygiene0 ·paths0 ·manifest0 ·lua0 ·lua-control0 ·test0 (293 pass / 0 fail, 11 files) · aggregatejust check0. Nothing weakened, no manifest or pin change.Named residuals (not implemented — each needs a decision, and each would change shipped visible output or the spec surface):
M.EMPTY_PLACEHOLDER(:107,:1220-1222); probe C paints"—16:53"andtests/bar.test.ts:345-350pins it. Question: does the omit rule govern the Core-parity empty-list placeholder?*/+/!marks; the bar paints*,!and encodes "occupied" asbold. Question: is the mark list normative, or is bold the permitted token choice?anchor+on_hover(Core [0.0.26] Band layout and pointer mechanism for Waybar-style bars #2411) are not in the catalog's claimed surface, and rung 3 namespresent.show, which the bar never calls. Question: admit the [0.0.26] Band layout and pointer mechanism for Waybar-style bars #2411 vehicles as a C-1 field / C-3 rung, or declare the bar tooltip outside the catalog?bitty-ui-corecandidate and unowned", open point 8). Question: is shape conformance plus test evidence the accepted dogfood proof?No code change, no PR: the bar already composes every applicable recipe, and each delta is either spec-amendment territory (R1-R3) or a deferred library (R4).
Xuepoo commentedon Nov 16, 2026
Status note (guard tick 2026-11-16): the headless catalog slice of this issue already shipped on main as
8e05172a—[CTX-1416] feat(plugins): add candidate extension component catalog (#2114) (#2369), merged 2026-10-21 — exposingcrates/bitty-lua/src/ui_catalog.rs(pub mod ui_catalog+ re-exports, 1915 lines, five typed descriptors). A later lane opened a parallel catalog atcrates/bitty-rich/src/catalog.rs(PR #3189) in ignorance of that module; independent review caught the divergence (different type names, band/status-strip shapes, caps 256/32 B vs the shipped 64/64/64 and 64/32/128 B) and the PR was closed as a duplicate, not reconciled.Remaining, as the issue itself lists: bar migrated onto the shipped catalog entries (dogfood proof, bitty-plugins repo), per-entry contract rows in the docs record, headed examples. None of that is in flight, so this issue is a real residual — but the next lane must extend
bitty-lua/src/ui_catalog.rs, never add a second catalog.Xuepoo commentedon Nov 18, 2026
Status check against
bittyorigin/main3b497a24(2026-11-19) and bitty-terminal-docsmain(docs PR #445, squash2cbaaf6). No docs edit was needed for this issue.Which corpus owns the catalog
bitty-plugins-docs, in
extensibility/extension-component-catalog-candidate.md(1293 lines,category: extensibility,status: draft) at bitty-plugins-docs6840c61. Docs PR #445 made that placement a ruling and removed the competing copy: the same-named file in bitty-terminal-docs is now a boundary record (specifications/extension-component-catalog-candidate.md) that states the ownership table and keeps no catalog. The olderextensibility/ui-component-catalog-candidate.mdisstatus: deprecatedand points at the surviving record.Entries (5,
## E-1..## E-5)Code side at
3b497a24is unchanged from the earlier read:crates/bitty-lua/src/ui_catalog.rscarriesCatalogEntry(:139),ALL: [Self; 5](:154),from_scene(:352), and the three composerscompose_strip(:565),compose_pill_row(:590),compose_modal_sheet(:604); re-exported atcrates/bitty-lua/src/lib.rs:138. It is host-side Rust with no Lua binding and no consumer outside the module.The exact remaining gap
status: draftin bitty-plugins-docs. Closing the checkbox's "with contracts" wording needs owner acceptance in bitty-plugins-docs, not an implementation change here.UI_STYLE_FIELDSis rich-only atcrates/bitty-lua/src/ui_style.rs:279, and the band/overlay readers dropstylethroughui_style_ignored). Headed example did not land (no screenshot, run log, or headed lane for any entry).bitty-pluginsorigin/mainreferences a catalog entry — a grep forcompose_strip|compose_pill_row|compose_modal_sheet|StripDescriptor|PillRowDescriptor|ModalSheetDescriptoroverplugins/returns nothing atce49705. The blocker is a surface, not a plugin edit: the descriptors are host-side Rust with no plugin-facing binding, so the bar has nothing to call. An unmerged lane exists outsideorigin/main(bitty-plugins80f738c, local only — "compose the band, pill row and tooltip against the ui_catalog recipes"); it is not evidence until it merges, and it confirms the gap is a missing surface rather than missing intent.In one line: nothing in #2114 moved at
3b497a24or with docs PR #445 beyond the corpus ruling — the remaining work is owner acceptance for the draft contracts, style hooks plus headed evidence, and a plugin-facing catalog surface before the bar can be migrated.Xuepoo commentedon Nov 21, 2026
Read-only evidence audit of the three scope items against
bittymain944a4b1f(owning record at bitty-plugins-docs main08170b49; reference plugin at bitty-terminal/bar maind26e65c). Verdict: item 1 landed as a draft; item 2 is half-landed (style hooks unimplemented, no headed example); item 3 not landed (bar still hand-rolls). The issue stays open.Item 1 — catalog the five patterns with contracts: LANDED (candidate/draft).
crates/bitty-lua/src/ui_catalog.rs:161-181— closedCatalogEntryset:Band:163,PillRow:165,TooltipDetailFallback:167,ModalSheet:169,StatusStrip:171,ALL:176; typed descriptorsStripDescriptor:243,PillRowDescriptor:283,DetailFallbackDescriptor:290,ModalSheetDescriptor:297; fail-closedcompose:347, canonicalfrom_scene:374,verify:423. Landed by PR [CTX-1416] feat(plugins): add candidate extension component catalog (#2114) #2369 (merge8e05172a).CATALOG_MAX_SEGMENTS:115,CATALOG_MAX_PILLS:119,CATALOG_MAX_ROWS:123,CATALOG_MAX_SEGMENT_BYTES:127,CATALOG_MAX_PILL_LABEL_BYTES:131,CATALOG_MAX_DETAIL_BYTES:136.extensibility/extension-component-catalog-candidate.md—## E-1:488,## E-2:650,## E-3:787,## E-4:994,## E-5:1153, each with a**Contract.**block; per-entry summary rows :451-455. Caveat: the record isstatus: draft(:7) — the contracts are catalogued but not yet owner-accepted.Item 2 — per entry: Scene shape, style hooks, accessibility notes, headed example: PARTIAL (2 of 4 axes).
CatalogBlock::compose.db0076a, 2026-11-19) grounds every entry's required roles in the Accessibility Baseline and states the v1 boundary the build cannot cross.ui_catalog.rs:66-71states "No style hooks yet … the catalog emits no style field";UI_STYLE_FIELDS(crates/bitty-lua/src/ui_style.rs:279-290) is rich-path only and the band/overlay readers dropstyle; the record documents the token boundary per entry but marks the width/style hooks as gaps (:1316-1320). Blocked on the Scene Style Primitives record's acceptance (also PR [CTX-1921] feat(lua): wire the five ui_catalog entries onto the plugin Lua surface #3288's explicit "No style hooks" surface decision).Item 3 — bar migrated onto catalog entries (dogfood): NOT LANDED.
16be2eef, merged 2026-11-21) exposes the read-onlybitty.ui.catalogconstructor table — importcrates/bitty-lua/src/host.rs:58, registration ofband/pill_row/tooltip_detail_fallback/modal_sheet/status_stripathost.rs:7918-7953, descriptor reader/loweringui_catalog.rs:1025/:1043/:1084, README sectioncrates/bitty-lua/README.md:140-146, re-exportslib.rs:91/:144.d26e65c,lua/bar/init.luacontains zero references tobitty.ui.catalog,pill_row,status_strip,modal_sheet, ortooltip_detail_fallback; the bar still hand-rolls its band/strip/pills (bar/lua/bar/init.lua:4336group tree,:4453-4479strip assembly,:4746mount). The only migration attempt is an unmerged local branch in the bar clone (ctx-0010/component-catalog-dogfood@80f738c) with no PR on bitty-terminal/bar — not evidence.Blocking residuals: item 2's headed example (no headed host run, screenshot, or run log exists for any entry; style hooks remain reserved pending Scene Style Primitives acceptance) and item 3's bar migration (bar main still hand-rolls its Scene nodes; the Lua surface it needs landed in PR #3288, so the migration is now startable from the plugin side — it just has not happened). Leaving this issue open.
[CTX-0010] refactor(ui): adopt the shipped bitty.ui.catalog surface f…
[CTX-0010] refactor(ui): compose the band, pill row and tooltip again…
Xuepoo commentedon Nov 21, 2026
Item 3 (bar dogfood) — first slice landed, with precise blocked-declarations. Guard closeout of bar PR #51 (squash
af99ae88, CarryCtx task bar/CTX-0010, independent review APPROVE at head45bf459):bitty.ui.catalog.tooltip_detail_fallbackconstructor (feature-detected, pcall-guarded;lua/bar/init.lua:614-633ataf99ae88), i.e. the first real plugin consumer of the PR [CTX-1921] feat(lua): wire the five ui_catalog entries onto the plugin Lua surface #3288 surface. The local one-line leaf survives only for pre-surface hosts (compat floor) and the 129–256-byte detail tail past the catalog's 128-bytedetail_bytescap (declared).pill_rowonly produces bracket spelling — while the bar ships Core [0.0.26] Band layout and pointer mechanism for Waybar-style bars #2411 anchor placement (D1/D2) and the bar#28 padded-capsule pill (D3). Both are blocked on the same residual as item 2's style hooks: the Scene Style Primitives acceptance. The stale "no Lua-visible surface" premise is gone (pinned absent by test).segment_bytesis genuinely measured and composer violations are no longer discarded — they surface through a bounded (16/generation), deduplicated, best-effort notify sink; pinned by tests including the ungranted-notify case.bitty-lua::ui_catalog(pinned bytests/catalog.test.ts);modules.test.tsacceptsui.catalogadditively with a regression guard.Net for this issue: item 3 is started and evidenced (one of the five entries consumed host-side, the two blocked surfaces carry file:line declarations naming the bitty-side acceptance they wait on). Item 3 cannot fully close until style hooks land; item 2's headed example remains unbuilt. Issue stays open.