• spike(A): publish apes:profile as an official right-sidebar tab type

    figmar released this 2026-10-03 20:42:13 +08:00 | 149 commits to main since this release

    Phase A spike of the C8 root fix: instead of only rendering in the fork's
    own shell, apes:profile now also registers with DSH's OFFICIAL right
    sidebar through its documented two-stage extension protocol:

    1. ctx.sidebarRightTabs.register({ id, kind, priority:'extension',
      title, guide }) — the type declaration
    2. ctx.slots.inject('sidebar.right.pane.tab', () => ctx.slots.register(
      { name:'sidebar.right.pane.tab', key: id }, Body)) — the keyed body

    The registry is reached through ctx.inject(['sidebarRightTabs'], ...) (the
    same pattern intercept.tsx uses for the async remote.session namespace), so
    activation order cannot strand the bridge and a deployment without the
    official sidebar stays a silent no-op — the fork's own shell is untouched.

    The body reuses the existing ApesProfileView (content is shared, never
    duplicated); only the shell-scope binding differs. Guide entry order 70
    keeps the apes trio's position in the official entry list.

    Verified: typecheck clean; build clean; 1255 passed / 9 skipped (120 files,
    6 new bridge specs pinning the two-stage contract, both no-op paths, and the
    HMR-safe unwind).

    Local commit only — not pushed until the in-app spike is confirmed.

    Downloads