Skip to content

[CTX-0004] feat(registry): register the palette official plugin - #6

Merged
Xuepoo merged 2 commits into
mainfrom
ctx-0397/feat-register-palette
Sep 14, 2026
Merged

Xuepoo merged 2 commits into
mainfrom
ctx-0397/feat-register-palette

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Priority: P2 | Area: plugins | Labels: feat,area:plugins,P2 | Milestone: v0.1.0 | RFC: OQ-053 | Task: CTX-0004 (bitty CTX-0397)

Closes #5

Summary

Registers bitty-terminal.palette as an official plugin (OQ-053 split, owned by bitty
CTX-0397).

  • registry/official/palette.toml — hand-maintained identity data: repository
    bitty-terminal/palette, author bitty-terminal, MIT, compatibility.bitty = ">=0.1,<1.0",
    compatibility.sdk = "^0.1". Identity-only; derived metadata (version, dates, downloads) is
    populated by just registry-sync and never hand-written.
  • plugins/palette — submodule pinned at palette mainline
    3497c70ac5b22e52826304b801af302da454d262 ([CTX-0001] feat(plugin): port the bundled palette to pure Lua palette#2 squash merge, already
    merged). .gitmodules gains the plugins/palette entry.
  • generated/registry.json — regenerated deterministically (2 plugins: activity + palette);
    just registry-check confirms freshness.

Gates (local, all green)

  • just registry-validate — 0 errors, 0 warnings.
  • just registry-check — index up to date (2 plugins).
  • just check — prettier, markdownlint, tsc (root + app), bun tests (18 pass), registry-validate,
    registry-check, Vite app build.

Registration model

Official plugins are a pinned Git submodule under plugins/ plus a hand-maintained
registry/official/<id>.toml identity entry; generated/registry.json is the only artifact
downstream consumers read. Community plugins are registry entries only and are never submodules.

Merge order

Register the independent bitty-terminal.palette package (bitty CTX-0397) as an
official entry and pin it as a plugins/palette submodule, per the OQ-053 split
decision and the official onboarding convention (CTX-0426).

- registry/official/palette.toml: identity-only entry (id, name, repository,
  tags, categories, license, compatibility ranges).
- generated/registry.json: regenerated (2 plugins) via just registry-generate.
- .gitmodules + plugins/palette: pinned at the palette port commit 7fbf888.

Merge order: the palette PR (bitty-terminal/palette #2) must merge before this
one; after it merges, re-pin plugins/palette to palette main.
Palette PR bitty-terminal/palette#2 squash-merged to main at
3497c70ac5b22e52826304b801af302da454d262; move the submodule pin off the
feature branch (7fbf888) onto mainline. generated/registry.json is unchanged
(registry payload identical).
@Xuepoo

Xuepoo commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Re-pinned to mainline in f8a164b: plugins/palette moved from the feature commit 7fbf888 to palette main 3497c70ac5b22e52826304b801af302da454d262 (bitty-terminal/palette#2 squash merge). generated/registry.json is unchanged because the registry payload is identical, so only the submodule pointer moves.

Gates on f8a164b: just registry-validate 0 errors/0 warnings; just registry-check index up to date (2 plugins); just check green (prettier, markdownlint, tsc, 18 bun tests, Vite build).

Merge order: this PR is first. #7 is rebased onto this branch as the statusline delta, so the two append-only registry changes merge without a hand-merge.

@Xuepoo
Xuepoo merged commit d38e8ff into main Sep 14, 2026
5 checks passed
@Xuepoo
Xuepoo deleted the ctx-0397/feat-register-palette branch September 14, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:plugins feat Feature P2 Priority: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Register the palette official plugin

1 participant