Skip to content

Define release-safe refs for consumer workflow wrappers and checked-out actions #238

Open

Description

@coisa

Objective and current policy

Prevent version skew across a consumer workflow, the Actions it loads and the executable it runs. A published package does not make a wrapper on @main release-safe, and pinning the wrapper does not fix an additional checkout on main. Apply this policy per owning domain; do not introduce a central runtime or lockstep domain releases. Ownership decision · Current policy rationale.

  • Active consumer plans record the full immutable SHA of the reusable workflow, the repository and full SHA of every additional Actions checkout, the exact PHAR version, approved origin and verified digest, and the skill source via [architecture] Make DevTools the profile-based bootstrap and upgrade orchestrator for domain packages #384/[architecture] Map domain-owned skills and replace redundant agent distribution #195.
  • Workflow and Actions from the same repository resolve to the same commit by default; an independently versioned pairing must be explicit and qualified together. main, moving tags, latest, or an unavailable artifact are not fallbacks for active consumers. Tags may identify a release, but the plan records the verified commit and artifact identity. Preserve the previous complete verified set and required-check identities for rollback.
  • Development fixtures and stacked drafts may use explicit candidate refs to exercise unreleased changes, but must not activate those refs in a consumer. Separate fixture evidence from rollout.

Scope and acceptance

  • Inventory every packaged wrapper in resources/github-actions/ and matching reusable workflow under .github/workflows/, including sparse checkouts of .github/actions into .dev-tools-actions. Historical examples include tests, changelog, reports, wiki/maintenance, review, auto-assign and label-sync; refresh actual paths and owners rather than assuming all still apply.
  • Validate the full plan consistently before changes in consumer files and before packaging/release promotion. Prove an allowed same-commit pair and a qualified explicitly split pair; reject accidental @main including nested checkouts, moving/unavailable refs, an unqualified pairing or mismatched artifact metadata. Prove that rejection leaves a customized consumer unchanged and that rollback restores the previous exact reference set.
  • Document the consumer upgrade mechanism in workflow/sync docs. Dependency automation may propose updates but must not silently activate them or bypass compatibility checks; verify any Dependabot integration before relying on it. Consumers should not need to hand-edit every wrapper on each release. Keep a distinct safe in-branch validation path for this repository's PRs.

Dependencies and next step

#240 tracks domain ownership and sequence; #384 owns composition, verification and apply; #197 is optional distribution, not reference policy. The next implementable step is the consumer-fixture validation in the existing #376 after the operator gate and ownership check. Coverage across packaged wrappers and actual per-domain adoption remain follow-ups, not done by the fixture. No coding/claim/push before the gate; no release, real workflow activation, merge, or unrelated workflow/topology redesign here.

Historical alternatives

The initial design explored pinning only Actions, released or moving tags on wrappers, an explicit ref input and release-managed wrapper regeneration. Pinning only one surface leaves skew; floating refs are not an acceptable active-consumer default. An explicit input or generated wrapper may carry the selected identity, but neither replaces verification of the entire chain. Preserve the prior issue revisions and comments as history.

Activity

  1. added theissue type on Apr 24, 2026
  2. coisa commented on Oct 21, 2026

    @coisa
    ContributorAuthor

    Ownership reconciliation (2026-10-21)

    #240 no longer targets a universal .github/github-actions repository. Keep this independent release-safe-ref requirement open and apply it per domain package: compatible runtime version, workflow/Action commit and skill source must be verified and recorded together by #384. #195 uses LLM Skills provenance instead of a second installer. Revalidate the unmerged #376 distribution candidate; future v2.0.0 template refs are not proof a release is available.

    Consumers must not be migrated before tag/package/assets exist; keep exact previous refs for rollback and preserve required-check identities. Per-domain versioning must not force every package to release in lockstep or silently upgrade a consumer to latest.

  3. coisa commented on Dec 3, 2026

    @coisa
    ContributorAuthor

    Current reference policy: pin the full automation chain

    For an active consumer plan, record the immutable workflow commit SHA, every additional Actions checkout commit SHA, and exact PHAR version, verified source and digest; include the skill source under #384. Workflow and Actions in the same repository default to the same commit. An intentionally different ref requires a documented, tested pairing; do not silently inherit main, moving tags or latest. Reject unavailable releases and unqualified combinations before changing consumer files. Preserve the previous qualified set for rollback and preserve required-check identities. Development fixtures or pre-release stacked drafts may pin candidate inputs explicitly, but never activate an unpublished reference. #384 implements composition; #376 proves a fixture path, not ecosystem rollout. Keep this issue open for the remaining inventory, wrapper validation and adoption.

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

    enhancementgithub-actionsrelease

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions