Repository navigation
Closed
Labels
Milestone
Description
Priority: P2 | Area: architecture | Labels: chore,P2,area:architecture | Milestone: v0.1.0
Owner directive 2026-10-15: keep Small Core small; extraction continues post-0.0.23. NOT a release gate.
Precedent (closed, same pattern)
#1996 (a11y -> SnapshotHost seam), #1997 (spawn supervisor -> execution), #1998 (OsNotificationSink -> platform-services), #2000 (kitty decode/raster -> graphics seam). #1999 OPEN blocked on plugin-manager#11.
Rules for every retire (non-negotiable)
- Mirror/seam + parity-by-assertion (never flag-day moves); composition-root only.
- W-147 zero-edge fence holds: zero [dependencies] edges + no extension-crate identifier in Core src/ (a11y/execution/graphics/storage).
- Behavior proven headed-or-harness before the old path is removed; removal PR is separate from seam PR.
Candidate queue (each becomes its own issue + task + PR)
- bitty-rich remainder -> graphics/scene extraction (see also [P1] Constrained Markdown AST scene pipeline and rich presentation (R-021) #1769 R-021, v0.3.0) -- tracked by [core-split] Retire bitty-rich graphics/scene remainder onto extension seam #2163 (open); implementation task
Retire bitty-rich graphics/scene remainder onto extension seam (#2163)(PLANNED). 2026-10-21 note:bitty-graphics#15(seam contract) merged 2026-10-10; the remaining gate is an extension-side scene/image/place/background surface plus the composition-root wiring/fence entry. - Notification remainder (post-[core-split] Retire Core OsNotificationSink onto platform-services backends #1998 leftovers, if any) -- verified clean 2026-10-19 (CTX-1276 re-verification): no OS notification implementation remains in Core;
OsNotificationSinksurvives only as a historical doc comment inbitty-platform, and OS delivery flows through thebitty-platform-servicesbridge. No issue needed. - Graphics seam remainder (post-[core-split] Wire Core kitty decode/raster onto graphics seam + generalize W-147 fence #2000 leftovers, if any) -- done via [core-split] Graphics seam remainder post-#2000: harden parity before removal (SEAM PR only) #2164 (closed 2026-10-18; seam/parity hardening landed in PR [CTX-1277] chore(graphics): extend kitty seam parity to extension taxonomy (SEAM PR only) #2165, CTX-1277); remaining Core-local
kitty_decode/kitty_rasterremoval is folded into [core-split] Retire bitty-rich graphics/scene remainder onto extension seam #2163 per the [core-split] Graphics seam remainder post-#2000: harden parity before removal (SEAM PR only) #2164 closure note. - Unwired
bitty-richpresentation/projection surfaces (src/presentation.rs,src/projection.rs) -- retired in [CTX-1412] chore(architecture): retire unwired bitty-rich surfaces (#2117) #2357 (CTX-1412, 2026-10-21);bitty-richno longer linksbitty-ipc, andcrates/bitty-rich/tests/retired_surface_guard.rskeeps both retired; docs sync bitty-terminal-docs#266. - Legacy
bitty-richKitty placeholder stub (src/kitty.rs, 1,023 lines) -- [core-split] Retire legacy bitty-rich kitty placeholder stub #2358 (open): retire after migrating the 64-placeholder and 320,000,000-byte bounds; zero consumers since [CTX-1412] chore(architecture): retire unwired bitty-rich surfaces (#2117) #2357. -
bitty-richwallpaper_theme.rs(1,157 lines) -- [core-split] Decide bitty-rich wallpaper_theme: retire or wire (untouched by #2163) #2359 (open): retire-or-wire decision; zero Rust consumers, the shipped colorscheme path is plugin-side (CTX-1169). - Core a11y model -- retired before this umbrella's 2026-10-21 triage (CTX-1362 / [0.0.25] Bind Core accessibility projection to bitty-a11y SnapshotHost (or record retention) #2257):
crates/bitty-ui/src/a11y.rsis gone;a11y_host.rsimplements thebitty-a11ySnapshotHostseam. - New candidates discovered by W-147 fence or review go here first.
Acceptance criteria
- Each candidate has its own tracked issue before work starts. -- [core-split] Retire bitty-rich graphics/scene remainder onto extension seam #2163 (open) covers the bitty-rich graphics/scene remainder; [core-split] Retire bitty-package distribution semantics into bitty-plugin-manager #1999 (open) covers the package-distribution remainder; [core-split] Retire legacy bitty-rich kitty placeholder stub #2358 and [core-split] Decide bitty-rich wallpaper_theme: retire or wire (untouched by #2163) #2359 cover the two new dead-surface candidates; graphics seam remainder closed via [core-split] Graphics seam remainder post-#2000: harden parity before removal (SEAM PR only) #2164; notification remainder required no work after independent verification; unwired presentation/projection retired in [CTX-1412] chore(architecture): retire unwired bitty-rich surfaces (#2117) #2357.
- W-147 fence green at every merge; no silent scope growth. -- ongoing per-merge gate; green (15/15) at the 2026-10-21 [CTX-1412] chore(architecture): retire unwired bitty-rich surfaces (#2117) #2357 head, with the
bitty-ipcseam allowlist narrowed to{bitty-runtime, bitty-terminal}.
Activity
Xuepoo commentedon Oct 16, 2026
Phase 1 survey filed the first per-candidate issue: #2163 (bitty-rich graphics/scene remainder). Survey task CTX-1275. Notification + graphics-seam remainder issues still to file (Phase 2).
Xuepoo commentedon Oct 16, 2026
Notification remainder post-#1998: verify-clean (CTX-1276)
Sweep complete. Zero notification code remains in Core — no tracked issue, no PR needed.
Evidence
rg OsNotificationSink|notify-send|osascriptrepo-wide (excl. target/.git/Cargo.lock): 2 hits, both doc comments onlycrates/bitty-platform/src/notification.rs:17— historical note that desktop delivery used to live there, retired by CTX-1178/[core-split] Retire Core OsNotificationSink onto platform-services backends #1998. The file now holds only the audible-bell seam (BellSink/OsBellSink, singleBELbyte on stderr).crates/bitty-runtime/src/runtime.rs:2817— doc oninstall_platform_notification_backenddescribing what the external backend does per platform.Command/process spawn innotification.rs(onlyclipboard.rsspawns, unrelated surface).deliver_notification_to_osroutes exclusively throughbitty-platform-services::NotificationBridge; default is fail-closedNoopBackend;install_platform_notification_backendis called only from the composition root (crates/bitty-terminal/src/main.rs:960, real runs only — headless/test stay OS-free).bitty.notify.show(plugin_runtime/services.rs:2743) grant-gatesplatform.notifyand pushes to the Core-internal queue only; no OS touch.da7c99cf(CTX-1178, [CTX-1178] chore(platform): retire OsNotificationSink onto services backends #2040) —bitty-platform-servicesis an external git dep (rev 3a8a7ed), not a Core crate.verify_w147_small_core_graph9/9 pass.Priority: P2 | Area: architecture | Labels: chore,P2,area:architecture | Milestone: v0.1.0 | Task: CTX-1276Xuepoo commentedon Oct 19, 2026
Survey closeout (CTX-1275 / CTX-1276, 2026-10-19)
Umbrella checklist reconciled against reality. #2117 stays open as the standing Small-Core queue; nothing was extracted in this closeout.
Retire bitty-rich graphics/scene remainder onto extension seam (#2163)filed as CTX-1343 (PLANNED; scoperecording/**only until work starts). This is the only remaining implementation candidate.rgacrosscrates/findsOsNotificationSinkonly in the historical doc comment atcrates/bitty-platform/src/notification.rs:17; nonotify-send/osascriptspawn remains in Core; OS delivery flows throughbitty-platform-services'sNotificationBridge(fail-closedNoopBackenddefault), installed only from the composition root (crates/bitty-terminal/src/main.rs:960, real runs only). No issue needed.kitty_decode/kitty_rasterremoval was folded into [core-split] Retire bitty-rich graphics/scene remainder onto extension seam #2163 by the [core-split] Graphics seam remainder post-#2000: harden parity before removal (SEAM PR only) #2164 closure note; [core-split] Retire bitty-rich graphics/scene remainder onto extension seam #2163's body still lists that surface as out of scope, so scope reconciliation belongs to CTX-1343 before work starts.W-147 fence at
aceb327e:cargo test -p bitty-terminal --test verify_w147_small_core_graph→ 9 passed; 0 failed (0.18s). The per-merge fence gate stays open in the umbrella.[-][0.0.24+] Small-Core slimming umbrella: remaining retire-out candidates[/-][+][0.0.25] Small-Core slimming umbrella: remaining retire-out candidates[/+]Xuepoo commentedon Oct 21, 2026
Triage and first slice (CTX-1412, 2026-10-21,
origin/mainf246dc55)Survey re-run against the current fence, not the 2026-10-19 notes. Two queue items are already done since then: the Core a11y model is retired (
crates/bitty-ui/src/a11y.rsis gone;a11y_host.rs, 482 lines, implements thebitty-a11ySnapshotHostseam) and the execution seam is wired (bitty-runtime/src/execution_jobs.rs, #2249). Notification/URL/blur remain reduced (no OS implementation in Core).scene1,357 +image2,201 +kitty_place3,756 +background2,775 +kitty_unicode319 +geometry91bitty-graphics#15(seam contract) is MERGED (2026-10-10), so the old blocker is gone. The real gate: the extension still carries onlygeometry/kitty_decode/kitty_raster— no scene/image/place/background counterpart — and W-147 givesbitty-graphicszero production edges (noSEAM_CRATESentry), so composition-root wiring is also a fence-policy change. Needs an extension-side implementation issue before Core removal.kitty_decode/kitty_rastercopieskitty_seam.rs) is still the only bound implementation.bitty-plugin-manager#11is still open; W-72 forbids removing install/verification before the manager replacement exists. Security-sensitive (R-015 / P0-AC-028 / P0-AC-029).bitty-rich::kittyplaceholder stubkitty.rs1,023kitty_place.rs+ctx1087_architecture_parity).bitty-rich::wallpaper_themebitty.image.read+ plugin policy (CTX-1169). Removal is mechanically safe but it is a product-ownership call because #1976 shipped it.bitty-platformdevice-state samplers (network_state/bluetooth_state/backlight_state, 2,616) +plugin_runtime/device_providersbitty-platform1,306 +bitty-rich796)bitty-rich::hosteditor round tripbitty-ptyas the explicit interactive exception.Landed today: #2357 (CTX-1412)
Retired the two unwired rich-presentation surfaces (
presentation.rs200 lines,projection.rs389 lines).projection.rswas the only consumer of thebitty-ipcedge insidebitty-rich, so a Core crate no longer carries a production edge to an extracted extension repo;Cargo.lockdrops the extra9493674IPC revision. W-147SEAM_CRATESnarrows thebitty-ipcallowlist to{bitty-runtime, bitty-terminal}and the fence is green 15/15. Newcrates/bitty-rich/tests/retired_surface_guard.rsrejects the module files, declarations, and identifiers acrosscrates/*/src, plus a revived IPC edge; mutation-proved in the PR.Verification: workspace check, crate clippy/fmt, 417
bitty-richtests, W-147 fence,ctx1087_architecture_parityall green locally. Docs sync: bitty-terminal-docs#266.Next order
bitty-graphicspublishes the scene/image/place/background seam surface and the fence entry is agreed.bitty-plugin-manager#11; do not split trust/activation/lockfile out of Core before then.Refs #2117
[CTX-0133] docs(interface): record bitty-rich projection retirement (…
[CTX-1412] chore(architecture): retire unwired bitty-rich surfaces (#…
[CTX-1412] chore(architecture): reconcile retention wording and pin S…
[CTX-1412] chore(architecture): retire unwired bitty-rich surfaces (#…
Xuepoo commentedon Nov 3, 2026
Closing as completed: every candidate row in this umbrella's retire-out queue is retired, and the retirement is now mechanically guarded.
Merged PRs
[CTX-1412] chore(architecture): retire unwired bitty-rich surfaces (#2117)— merged 2026-10-21 — removedpresentation.rsandprojection.rsand thebitty-ipcedge they justified.[CTX-1415] chore(architecture): retire bitty-rich kitty stub and wallpaper_theme (#2358, #2359)— removedkitty.rsandwallpaper_theme.rsafter migrating the 64-placeholder and 320,000,000-byte bounds.[CTX-1277] chore(graphics): extend kitty seam parity to extension taxonomy (SEAM PR only)— graphics seam remainder hardened before removal ([core-split] Graphics seam remainder post-#2000: harden parity before removal (SEAM PR only) #2164).Tracking issues closed
Verified artifacts (all read at
origin/main)bitty-terminal/bitty—crates/bitty-rich/src/presentation.rs,crates/bitty-rich/src/projection.rs,crates/bitty-rich/src/kitty.rs,crates/bitty-rich/src/wallpaper_theme.rsare all absent (git cat-file -efails for each).bitty-terminal/bitty—crates/bitty-rich/tests/retired_surface_guard.rs: the guard that fails if a retired module is restored, a retired symbol is named from anycrates/*/srcfile, the module is re-declared inlib.rs, or abitty-ipcdependency returns tocrates/bitty-rich/Cargo.toml.bitty-terminal/bitty—crates/bitty-terminal/tests/verify_w147_small_core_graph.rs: the W-147 small-core fence extended to every extracted extension crate (bitty-storage,bitty-execution,bitty-graphics,bitty-a11y,bitty-agent*,bitty-observability*,bitty-network*), plusevery_direct_extension_dependency_is_fenced.bitty-terminal/bitty—crates/bitty-rich/README.md:87andcrates/bitty-rich/src/scene.rs:1223record the CTX-1412/CTX-1415 retirements.Verification run (read-only, no checkout)
git fetch origin main && git rev-parse origin/main→1df03339398253cb1a24338e69c28d6bab709513for f in presentation.rs projection.rs kitty.rs wallpaper_theme.rs; do git cat-file -e origin/main:crates/bitty-rich/src/$f; done→ all absentgit grep -rln 'W-147' origin/main→ includescrates/bitty-terminal/tests/verify_w147_small_core_graph.rsgh api repos/bitty-terminal/bitty/commits/main/check-runs→ 19 checks on main, 17success, 2skipped(VM tiers), 0 failures — the fence's suite is green at the commit above.The only unchecked box in the body, "W-147 fence green at every merge; no silent scope growth", is a standing per-merge gate rather than a one-time deliverable; it is now enforced by the guard test and the W-147 graph test named above, both green on main. New candidates discovered later are new intake and should be filed as their own issues, not tracked by this closed umbrella.
Nothing in this comment is a plan: each artifact was read at origin/main 1df0333.