Skip to content

[CTX-0001] docs(plugin): record CTX-0406 external local-path install/lifecycle - #3

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0001/docs-plugin-external-install
Sep 14, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-0001/docs-plugin-external-install

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Priority: P2 | Area: plugins | Labels: docs,area:plugin,P2 | Milestone: v0.1.0 | RFC: OQ-034/OQ-072 | Task: CTX-0001 (bitty-plugins-docs)

Closes #2

Companion docs for bitty PR bitty-terminal/bitty#670
(bitty CTX-0406). Records the actually-shipped external (local-directory)
plugin package path in extensibility/package-management.md:

  • XDG store layout (packages/<id>/<version>/, atomic current.json) and
    owner-only 0700/0600 modes on Unix.
  • Pre-staging verification: bounded manifest reader, init.lua entry point,
    module-tree bounds, compat ranges, capability-diff consent.
  • CLI behavior for install <path>, list/info source column,
    enable/disable, remove --force, install-as-update.
  • Staged local-path record semantics (store-relative immutable root,
    fail-closed digest mismatch) versus the absolute read-only dev root.
  • Recorded-grant enforcement at activation and reload/update behavior.
  • Explicit gaps: remote git sources, SDK bitty-plugin-lint, the draft
    seven-stage pipeline, rollback commands, and the live IPC reload trigger
    (OQ-072 remains Open).

Also corrects the CTX-0150 shipped-slice note, which described the package
store as unimplemented.

Docs gates: just fmt-check, just markdownlint, just links,
just metadata, just language, just hygiene all pass (31 files).

No unimplemented behavior is described as working.

Cross-repo links: bitty CTX-0406 issue bitty-terminal/bitty#669,
bitty PR bitty-terminal/bitty#670.

…lifecycle

Add the shipped-slice record for the external (local-directory) plugin
package path from bitty CTX-0406: store layout and owner-only permissions,
pre-staging verification and capability-diff consent, the install/list/info/
enable/disable/remove CLI behavior, staged local-path record semantics, grant
enforcement at activation, and reload/update. Update the CTX-0150 slice note
so it no longer claims the package store is unimplemented, and state the
remaining gaps (remote git sources, SDK bitty-plugin-lint, draft seven-stage
pipeline, rollback commands, live IPC reload trigger under OQ-072).

Closes #2
@Xuepoo Xuepoo added docs Documentation area:plugin Area: plugin host labels Sep 13, 2026
@Xuepoo Xuepoo added this to the v0.1.0 milestone Sep 13, 2026
@Xuepoo Xuepoo added the P2 Priority: medium label Sep 13, 2026
@Xuepoo

Xuepoo commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

Docs hygiene nit fixed.

No merge; stopped at open PR.

@Xuepoo
Xuepoo merged commit 1028f69 into main Sep 14, 2026
2 checks passed
@Xuepoo
Xuepoo deleted the ctx-0001/docs-plugin-external-install branch September 14, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:plugin Area: plugin host docs Documentation P2 Priority: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CTX-0001] docs(plugin): record CTX-0406 external local-path install and lifecycle

1 participant