Skip to content

Pre-0.0.22 headless gate: 9/10 official plugins fail activation with E_INCOMPATIBLE on host 0.0.21 #77

Closed

Description

@Xuepoo

Gate verdict (CTX-1012, headless self-test vs bitty origin/main c943153b, host 0.0.21)

Each of the 10 official non-AI plugins was loaded from a live checkout through the real PluginRuntime::activate (headless driver modelled on composer_headless_driver.rs / plugin_ui.rs mount tests, CARGO_TARGET_DIR=$BITTY_WORKSPACE/.targets/headless-test).

Stage-1: unmodified live checkouts

plugin manifest floor gate result
activity >=0.5,<1.0 FAIL E_INCOMPATIBLE (host 0.0.21)
palette >=0.1,<1.0 FAIL E_INCOMPATIBLE
bar >=0.5,<1.0 FAIL E_INCOMPATIBLE
composer >=0.5,<1.0 FAIL E_INCOMPATIBLE
history >=0.5,<1.0 FAIL E_INCOMPATIBLE
search >=0.5,<1.0 FAIL E_INCOMPATIBLE
copy-mode >=0.5,<1.0 FAIL E_INCOMPATIBLE
file-manager >=0.1,<1.0 FAIL E_INCOMPATIBLE
git-panel >=0.1,<1.0 FAIL E_INCOMPATIBLE
devtools >=0.0.21,<1.0 PASS (activate + 7 commands + suspend/resume + notifications)

Example: 'bitty-terminal.palette' declares compat.bitty = '>=0.1,<1.0', which does not include host version 0.0.21. The host fails closed correctly — this is a version-skew policy gap, not a host bug.

Stage-2 (diagnostic only): scratch copies with floor lowered to >=0.0.21,<1.0, lua byte-identical

activity, palette (overlay block mounted, focus handler fires), history (typed denials), file-manager (incl. positive in-scope preview), devtools: PASS. Remaining rough edges filed per-plugin: bar activation UTF-8 error, composer activation nil-length error, search/copy-mode verb nil-index crashes, git-panel instruction-budget trip on heavy verbs.

Registry-coverage note

registry/official/*.toml contains only activity, file-manager, git-panel, palette, statusline, wheel. bar, composer, history, search, copy-mode, devtools have checkouts under plugins/ but NO registry entries. Decide whether they belong in the registry before 0.0.22.

Decision needed (non-trivial, no code changed in this gate)

Per-plugin owners: either lower the floor to a host range verified by a headless run like this one, or confirm the floor is intentional (plugin targets a future host) and record the gate as expected-red. Blanket floor-lowering is NOT safe: bar/composer still fail activation past the compat wall.

Acceptance

  • Each of the 10 plugins has a registry entry or a recorded reason for exclusion.
  • Each manifest floor names a host range the plugin demonstrably activates on, or the mismatch is accepted and tracked.
  • Re-run of this gate goes green or expected-red with reasons.

Priority: P1 | Area: plugins | Labels: bug,P1,area:plugins | Task: CTX-1012

Activity

  1. added
    bug
    P1
    on Oct 8, 2026
  2. Xuepoo commented on Oct 8, 2026

    @Xuepoo
    ContributorAuthor

    Registry-side resolution is up in PR #79 (branch ctx-1012/fix-headless-gate-registry; do NOT merge — independent review + CI required). Closes this issue on merge.

    What was done (verified 2026-10-08, host 0.0.22 released same day):

    Acceptance: entry-or-reason ✅ · floors mirror verified manifests ✅ (wheel corrected) · gate green-or-expected-red with reasons ✅ (full table in PR body). Gates: just check exit 0, gitleaks clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1area:pluginsbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions