Repository navigation
docs(specs): propose plugin platform RFC for OQ-011/OQ-012/OQ-013 - #9
Merged
Merged
Conversation
Add docs/specifications/plugin-platform-rfc.md as a proposed (draft) specification consolidating Plugin API v1 surface, capability/manifest model with grant storage and revocation, and event pipeline classes with batching, timeout, drop, and backpressure rules. Includes option trade-offs, security traceability to normative invariants and T-/R-IDs, a verification plan, open points, and acceptance criteria. Register the draft in the specifications index, point the decision register candidate queue at it, and link OQ-011/012/013 rows pointer-only while keeping their state Open.
Xuepoo
force-pushed
the
feat/plugin-platform-rfc
branch
from
August 25, 2026 18:20
73c9490 to
5885772
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CarryCtx task: CTX-0018 — Close OQ-011/OQ-012/OQ-013 as proposed RFC material.
User/contract outcome
Adds
docs/specifications/plugin-platform-rfc.md(statusdraft, marked proposed in-text) as one coherent specification covering:bitty-plugin.tomlschema with validation limits, capability identifier grammar over the normative families, deny-by-default grants, manifest-hash-bound grant records, consent prompt rules, update permission diffs, and revocation workflow.Each area includes candidate options with trade-offs and explicit open points; a security-traceability table maps proposals to normative invariants 2/3/4/8/10 of the security overview and to threat IDs T-06/T-07/T-10/T-12/T-13 and risk IDs R-006–R-009, R-013, R-015–R-017, R-021/R-022. A verification plan and acceptance criteria state what would close the three open questions.
Affected docs
docs/specifications/plugin-platform-rfc.md(sidebar_order: 14, unique in directory)docs/specifications/README.md: drafts table rowdocs/decisions/open-questions.md: OQ-011/012/013 Next-artifact cells now link the draft; State stays Open (pointer-only per work order)docs/decisions/index.md: candidate decision queue bullet now points at the draftSecurity impact
Proposal only; no normative control weakened or downgraded. Aligns with plugins-untrusted baseline: no ambient authority, no native in-process plugins, read-only-by-default automation access, presentation-not-Terminal-Truth, safe-mode skip. Security-reviewer review is required before any acceptance.
Validation evidence
Run in
.worktrees/feat-plugin-platform-rfcafterjust fmt(prettier 3.9.6):just links— Checked links; 72 files validatedjust metadata— Checked metadata; 72 files validatedjust language— Checked language; 72 files validatedjust markdownlint— 0 issuesjust checkfull CI-parity run also passed (fmt-check, agents, hygiene, actionlint)Dependencies and follow-ups
task startfor CTX-0018 was refused because strong dependency CTX-0016 is still in_progress; task state remainsplanned. This PR carries the dispatched implementation regardless.