feat(harness): project and reserve package GC candidates - #611
Merged
Merged
Conversation
Add a dark durable reservation journal and optional reference-writer gate for desired, Instance, and Package ledgers. Keep physical deletion and Product composition out of scope; legacy unbound writers remain an explicit D3 blocker. Refs #509
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.
Problem and resulting behavior
Package lifecycle evidence can identify retention-eligible revisions, but it previously had no consolidated operator view or durable way to reserve a candidate against new references. This PR adds PLC9D1's internal, read-only GC projection and PLC9D2's dark reservation journal. Opted-in Desired State, Instance Runtime, and Package lifecycle writers use the same reservation guard before writing new references.
This is an incremental PLC9D slice, not executable artifact GC. There is no Product, CLI, RPC, Store deletion, or private-data deletion route.
Review focus
The implementation boundaries and remaining gates are recorded in
docs/internals/architecture/harness/plugin/plugin-lifecycle-plc9d1-contract.mdandplugin-lifecycle-plc9d2-contract.md.Validation
make check-harness: 5191 passed, 66 skipped; Ruff and mypy passed.make check-docs-light: 6 passed.git diff --checkpassed.Refs #509