feat: implemented v0.3.2 verified changepacks#1
Merged
Conversation
Shiva936
commented
Jul 5, 2026
Owner
- Imported-pack lifecycle is now fully reachable: quarantined imports are locally re-verified from embedded content, approved/rejected, and saved with conflict-checked content application (checkpointed, promoted out of quarantine); origin trust marks are stripped at import.
- .draftpack format 2 embeds the content-addressed objects a patch references; import verifies each object against its content address and rejects wrong-schema receipts (fail closed).
- Policy layer is enforced: field-level resolution (project > global > safe default) governs the save gate (approval, critical-risk block, high-risk approval, workspace re-verification) and intent-based full/fuzz verification escalation; malformed policy files fail closed.
- Save gate reads the canonical risk report; unresolved critical risk (or a missing report) blocks save under the default policy.
- draft rollback rcp_ resolves canonical signed receipts (verified, rollback-eligible event types) in addition to legacy receipts.
- draft verify <pck_id> also records the legacy verification receipt for legacy packs so the save gate is consistent across both verify forms.
- Risk reports persist the ML-ready feature vector plus real dependency counts and candidate rollback-rate signals.
- draft doctor --global lists adapter statuses; acp-comm is explicitly experimental. LSIF packs_touching_symbols now shortlists pack_depends.
- Docs, CHANGELOG, and release notes updated to match implementation; new tests (lifecycle e2e, tamper/conflict fail-closed, policy gates, canonical rollback, receipt schema, adapter status).
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.