From 4a5b394556f2e57d15c38f2844641559b7422d74 Mon Sep 17 00:00:00 2001 From: Xuepoo Date: Tue, 10 Nov 2026 22:00:28 +0800 Subject: [PATCH] [CTX-0039] feat(registry): onboard official beacon plugin (#103, #64) --- .gitmodules | 3 +++ README.md | 20 ++++++++--------- TODO.md | 5 +---- generated/registry.json | 41 ++++++++++++++++++++++++++++++++--- plugins/beacon | 1 + registry/official/beacon.toml | 27 +++++++++++++++++++++++ 6 files changed, 79 insertions(+), 18 deletions(-) create mode 160000 plugins/beacon create mode 100644 registry/official/beacon.toml diff --git a/.gitmodules b/.gitmodules index 890bdaa..73ec6da 100644 --- a/.gitmodules +++ b/.gitmodules @@ -45,3 +45,6 @@ [submodule "plugins/help"] path = plugins/help url = https://github.com/bitty-terminal/help.git +[submodule "plugins/beacon"] + path = plugins/beacon + url = https://github.com/bitty-terminal/beacon.git diff --git a/README.md b/README.md index 8136979..67b3337 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ behavior. Do not describe the store or CLI as shipped product behavior. | `registry/` | Machine-readable registry entries (official and community), plus the entry schema. | | `generated/` | Built artifacts consumed by downstream clients; only `registry.json` today. | | `app/` | Static store frontend (Vite + TypeScript, vanilla DOM / Web Components, no framework). | -| `plugins/` | 11 official maintained plugins as pinned Git submodules (known-good set); includes `devtools`. | +| `plugins/` | 13 official maintained plugins as pinned Git submodules (known-good set); includes `devtools`. | | `sdk/` | Submodule: [bitty-plugin-sdk](https://github.com/bitty-terminal/bitty-plugin-sdk). | | `template/` | Submodule: [bitty-plugin-template](https://github.com/bitty-terminal/bitty-plugin-template). | | `docs/` | Submodule: [bitty-plugins-docs](https://github.com/bitty-terminal/bitty-plugins-docs) — canonical plugin-ecosystem documentation. | @@ -45,25 +45,23 @@ SDK and template implementations (their own repositories). ## Official versus community boundary (fixed) -- **Official plugins (12)** live in `plugins/` as pinned submodules. An update +- **Official plugins (13)** live in `plugins/` as pinned submodules. An update is a submodule pointer bump reviewed like any other change; the directory is - the known-good set maintained by `bitty-terminal`. The 12 registry entries + the known-good set maintained by `bitty-terminal`. The 13 registry entries under `registry/official/` and in `generated/registry.json` are: `bitty-featured.activity`, `bitty-featured.devtools`, - `bitty-terminal.bar`, `bitty-terminal.composer`, - `bitty-terminal.copy-mode`, `bitty-terminal.dashboard`, - `bitty-terminal.file-manager`, `bitty-terminal.git-panel`, - `bitty-terminal.help`, `bitty-terminal.history`, - `bitty-terminal.palette`, and `bitty-terminal.search`. + `bitty-terminal.bar`, `bitty-terminal.beacon`, + `bitty-terminal.composer`, `bitty-terminal.copy-mode`, + `bitty-terminal.dashboard`, `bitty-terminal.file-manager`, + `bitty-terminal.git-panel`, `bitty-terminal.help`, + `bitty-terminal.history`, `bitty-terminal.palette`, and + `bitty-terminal.search`. `bitty-terminal.bar` remains the active replacement for the retired `statusline` presentation concept (see [Retired and removed plugins](#retired-and-removed-plugins)); `bitty-terminal/statusline` is archived and its entry and pin are removed until the repository is writable again (#110). `bitty-featured.devtools` is registered and pinned from its mainline (minimum-only `>=0.0.21`). - `bitty-terminal/beacon` has neither a checkout nor an entry: it is a - service/daemon without a `bitty-plugin.toml`, so creation and registration - stay blocked on contract readiness (#64; TODO "Ecosystem"). - **Community plugins are never submodules.** They live only as registry entries at `registry/community/-.toml`, one file per plugin, in a machine-readable awesome-list model. This repository never clones or pins diff --git a/TODO.md b/TODO.md index fcd72f6..d737d60 100644 --- a/TODO.md +++ b/TODO.md @@ -41,9 +41,6 @@ become an Issue and CarryCtx task in the owning repository before work starts. ## Ecosystem -- [ ] Create the `beacon` repository (next official plugin) and register it. - Planned tracking: W-121 / CTX-0030 / Issue #64. Blocked: beacon #3/#2/#1 - remain open behind umbrella bitty#1629; only #4 is closed (#7 merged). - No repository creation or registry entry until contracts are accepted. +- [x] Create the `beacon` repository (official plugin) and register it (`bitty-terminal.beacon`, #64, #103). - [ ] Publish the CLI proposal (`bitty plugin add/search`) in `bitty-plugins-docs` and link it from the store once accepted. diff --git a/generated/registry.json b/generated/registry.json index df3f475..2f5d615 100644 --- a/generated/registry.json +++ b/generated/registry.json @@ -1,6 +1,6 @@ { "schema_version": 1, - "generated_at": "2026-11-08T16:23:59Z", + "generated_at": "2026-11-10T13:57:30Z", "plugins": [ { "id": "bitty-featured.activity", @@ -61,10 +61,10 @@ "metadata": { "source": "https://raw.githubusercontent.com/bitty-terminal/devtools/HEAD/bitty-plugin.toml", "repository_source": "https://github.com/bitty-terminal/devtools", - "version": "0.1.0", + "version": "0.2.0", "description": "Read-only inspection and event tracing of the Bitty plugin runtime.", "license": "MIT", - "fetched_at": "2026-10-22T01:44:31Z" + "fetched_at": "2026-11-10T13:57:33Z" } }, { @@ -100,6 +100,41 @@ "fetched_at": "2026-10-22T00:47:14Z" } }, + { + "id": "bitty-terminal.beacon", + "name": "Beacon", + "kind": "plugin", + "repository": "https://github.com/bitty-terminal/beacon", + "official": true, + "signature_status": "unsigned", + "author": "bitty-terminal", + "description": "Spatial and semantic workspace targeting policy (Action x Target) over the live target registry and label allocator.", + "tags": [ + "beacon", + "labels", + "navigation", + "targeting", + "workspace" + ], + "categories": [ + "navigation", + "productivity" + ], + "license": "MIT", + "compatibility": { + "bitty": ">=0.0.31", + "sdk": "^1.0" + }, + "manifest_hash": "sha256:f84ef7369c377b6433a6805952c6b2344b37939e3e8a66abc47aff393f0a33c7", + "metadata": { + "source": "https://raw.githubusercontent.com/bitty-terminal/beacon/HEAD/bitty-plugin.toml", + "repository_source": "https://github.com/bitty-terminal/beacon", + "version": "0.0.1", + "description": "Spatial and semantic workspace targeting policy over the public targeting, label-allocation, overlay, and workspace host APIs. Presentation and dispatch policy only; never mutates Terminal Truth.", + "license": "MIT", + "fetched_at": "2026-11-10T13:57:32Z" + } + }, { "id": "bitty-terminal.composer", "name": "Composer", diff --git a/plugins/beacon b/plugins/beacon new file mode 160000 index 0000000..88e5998 --- /dev/null +++ b/plugins/beacon @@ -0,0 +1 @@ +Subproject commit 88e5998dfc1d5158d11d244cde41c2d28b0a9050 diff --git a/registry/official/beacon.toml b/registry/official/beacon.toml new file mode 100644 index 0000000..36a337f --- /dev/null +++ b/registry/official/beacon.toml @@ -0,0 +1,27 @@ +# Official registry entry: Bitty Beacon. +# +# Hand-maintained identity data only. Derived metadata (version, stars, dates, +# downloads) is intentionally absent; `just registry-sync` mirrors the plugin's +# bitty-plugin.toml into the optional `metadata` object of the generated index. +# +# Integrity (official shipping pin, required): `manifest_hash` is the sha256 +# digest (H-A: raw bytes) of the owning repository's `bitty-plugin.toml` at +# the pinned submodule revision recorded by `git ls-tree HEAD plugins/beacon`. +# `just registry-validate` verifies this digest at the pin. This is a digest +# over fetched transport bytes (H-A), not semantic canonical hashing (H-B). +# Refresh it when the pin moves (see README "Registry model" refresh procedure). + +id = "bitty-terminal.beacon" +name = "Beacon" +repository = "https://github.com/bitty-terminal/beacon" +kind = "plugin" +author = "bitty-terminal" +description = "Spatial and semantic workspace targeting policy (Action x Target) over the live target registry and label allocator." +tags = ["beacon", "targeting", "labels", "navigation", "workspace"] +categories = ["productivity", "navigation"] +license = "MIT" +manifest_hash = "sha256:f84ef7369c377b6433a6805952c6b2344b37939e3e8a66abc47aff393f0a33c7" + +[compatibility] +bitty = ">=0.0.31" +sdk = "^1.0"