Skip to content

[PLUG-REG-005] fix(registry): validate recorded gitlinks instead of checkout revisions #52

Closed

Description

@Xuepoo

Priority: P2 | Area: plugins | Labels: fix, P2, area:plugins | Milestone: v0.1.0 | RFC: OQ-053 | Task: unassigned (review-only; CarryCtx not used)

PLUG-REG-005 at 95bb0bf, scripts/validate-registry.ts:402-416,502-512: checkout status supplies SHAs to reachability without distinguishing checkout drift from the parent's committed gitlink. Local validation can approve a different revision than the distributed parent pin. Clean CI checkouts reduce the opportunity but do not fix semantics. September 17 traced the source; no submodules were initialized.

Acceptance: explicitly select the reviewed tree/index, extract its recorded gitlink, and separately report checkout divergence; inert tree/status fixtures must prove a divergent checkout cannot replace the reviewed SHA.

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

    P2area:pluginsfix

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions