Skip to content

feat(plugin-host): wire package verification into install pipeline (CTX-0029) - #53

Merged
Xuepoo merged 1 commit into
mainfrom
ctx-0029/feat-package-verification-wiring
Aug 27, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
ctx-0029/feat-package-verification-wiring

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 27, 2026 •

Copy link
Copy Markdown
Contributor

Integrate bitty-package 7-stage verification chain into plugin install
path: call verify_pipeline before staging, enforce P0-AC-030 capability
diff, trust V-A/B/C per source, and generation integrity via verify_all.
Fail-closed with owned PackageError/DoctorIssue for bitty plugin doctor.
No I/O, no code execution (Invariant 8), headless testable, draft
package-lifecycle RFC still proposed, #![forbid(unsafe_code)].

Tests: tampered artifact blocks before staging, manifest hash mismatch
blocks, capability increase blocked without approval, TOFU pin change
blocks, V-C signature fail-closed including revoked/unknown key and
different-bytes, generation integrity quarantine, full valid install
passes with staging allowed; doctor_issue owned aggregation.

Closes #51
Task: CTX-0029

…TX-0029)

Integrate bitty-package 7-stage verification chain into plugin install
path: call verify_pipeline before staging, enforce P0-AC-030 capability
diff, trust V-A/B/C per source, and generation integrity via verify_all.
Fail-closed with owned PackageError/DoctorIssue for bitty plugin doctor.
No I/O, no code execution (Invariant 8), headless testable, draft
package-lifecycle RFC still proposed, #![forbid(unsafe_code)].

Tests: tampered artifact blocks before staging, manifest hash mismatch
blocks, capability increase blocked without approval, TOFU pin change
blocks, V-C signature fail-closed including revoked/unknown key and
different-bytes, generation integrity quarantine, full valid install
passes with staging allowed; doctor_issue owned aggregation.

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

Labels

area:package Area: package lifecycle area:plugin Area: plugin host feat Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(plugin-host): wire package verification into plugin install pipeline (CTX-0029)

1 participant