Skip to content

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

Closed

Description

@Xuepoo

Follow-up to bitty-package draft (CTX-0028): integrate verification into plugin-host install/activation flow.

Deliver: PluginHost or Runtime install path calls bitty-package verify_pipeline (7 stages) before staging, checks capability diff (P0-AC-030), trust V-A/B/C per package source, and generation integrity; fail-closed on any stage (tampered artifact/manifest hash mismatch, capability increase, trust pin change) with owned errors for bitty plugin doctor; add headless tests proving tampered artifact blocks before staging and capability increase blocked.

Constraints: keep pure validation headless testable, document draft status (package RFC still proposed), no I/O, no code execution per Invariant 8; #![forbid(unsafe_code)]; just check green.

Task: CTX-0029
Branch: ctx-0029/feat-package-verification-wiring
RFC: package-lifecycle (proposed) — 7-stage chain, P0-AC-030 capability diff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagearea:pluginfeat

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions