Skip to content

fix(retention): preserve vector source leases when inventory is unavailable #879

Description

@ScriptedAlchemy

A mounted vector activation lease must keep its exact source code generation alive when semantic configuration inventory is unavailable. Fresh local production-journey run cc-5583 instead collected one code generation after configuration inventory reported unavailable and the census became Unknown. The assertion at generation_retention_test.rs:372 failed: code deletion must not race ahead of the retained vector source.

The source path maps incomplete/unavailable vector inventory to offline protection, which does not include exact live vector-source pins. A separate contributing state is a newly enrolled profile with no configuration inventory revision: successful authoritative absence is currently classified as unavailable.

Required behavior: represent authoritative absence truthfully, reject stale receipts after first configuration mutation, preserve source leases when inventory is unreadable, and retain ordinary default-off cleanup using canonical proof that no vector stages require protection. Provider presence alone is insufficient: default-off projects also install a provider.

Repair is in progress on the local takeover branch. The inventory and full retention regressions are queued as cc-5651/cc-5652; the mounted default-off regression is being added. No passing repair claim, pushed change, or operator-daemon action is implied.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions