Skip to content

feat(workflow): scaffold-drift check in consumer CI (pin bumped without re-scaffold) #1295

Closed

Description

@c-vigo

Description

Add a job to the scaffolded consumer ci.yml that fails when the working tree's managed files do not match what the pinned devkit version would scaffold — i.e. when .vig-os DEVKIT_VERSION was bumped without re-running the scaffold, or managed files were hand-edited. Opt-out via .vig-os, default enabled.

Problem Statement

The documented failure mode (init-workspace.sh #1093 warning) — flake-delivered hooks and scaffold-delivered files skewing apart — is completely unguarded in consumer CI today. A pin-only bump PR merges green: nothing re-runs the scaffold or diffs against it. Any upgrade automation (see the companion self-polling devkit-upgrade workflow issue) must be backstopped by this check; it equally protects manual bumps.

Proposed Solution

Alternatives Considered

Impact

Consumers gain a hard gate against skewed upgrades; devkit's own repo is unaffected. Backward compatible: new job in the scaffolded ci.yml, lands at next adoption, opt-out available. Prerequisite for the self-polling devkit-upgrade workflow.

Changelog Category

Added

Activity

  1. added this to the 1.5.0 milestone on Jul 29, 2026
  2. added
    feature
    priority:high
    area:workflow
    effort:medium
    semver:minor
    on Jul 29, 2026
  3. c-vigo commented on Jul 30, 2026

    @c-vigo
    ContributorAuthor

    Implemented in PR #1297, merged to dev @b8056ffe. Ships with 1.5.0.

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:workfloweffort:mediumfeaturepriority:highsemver:minor

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions