Skip to content

Per-consumer workflow-model knob (gitflow default / trunk opt-in) #1205

Closed

Description

@c-vigo

Problem

The devkit scaffold + release cycle assume every consumer uses a dev branch with a dev → release/X.Y.Z → main gitflow plus sync-main-to-dev. This fits versioned-release repos (commit-action, sync-issues-action, devkit itself) but NOT trunk-style repos — surfaced by the exo-pet/exo-fleet rollout (a NixOS fleet repo that deploys from main), where provisioning created a dev branch and the full release apparatus the repo has no use for. See PR exo-pet/exo-fleet#230.

Goal

A per-consumer DEVKIT_WORKFLOW knob (gitflow | trunk, empty ⇒ gitflow, the unchanged default) selecting the branching/release model.

  • gitflow (default, unchanged): dev integration branch; cut release/X.Y.Z from dev; RC train; finalize merges to main + tag; sync-main-to-dev back-merges to dev.
  • trunk (opt-in): feature|bugfix|chore straight to main; releases STILL happen but cut release/X.Y.Z from main, RC on it, merge back into main + tag. Only the dev branch and sync-main-to-dev disappear.

Key findings (verified)

Architecture (decided)

Scaffold-time render, everything — realized entirely at install time (mirrors the DEVKIT_MODE structural precedent), NO resolve-toolchain runtime wiring, NO inert workflow files, NO twin. on: trigger branch filters are static YAML that can't be runtime-conditional, which is itself why scaffold-time is the only coherent single mechanism.

Scope

Devkit capability only. exo-fleet #230 merges as-is on dev now; retrofitting exo-fleet/org-config to trunk + a trunk-aware ruleset bootstrap (#522) are separate follow-ups. Targets 1.5.0; the in-flight 1.4.0 promote is independent and not blocked.

Sub-issues (ordered 0 → 1 → {2,3} → 4 → 5)

Full design plan retained by the maintainer (scaffold-time render; anchored literal render of prepare-release; compose-not-combine mode × model axes).

Activity

  1. added
    feature
    priority:medium
    area:ci
    area:workspace
    effort:large
    semver:minor
    on Jul 17, 2026
  2. c-vigo commented on Jul 20, 2026

    @c-vigo
    ContributorAuthor

    Implemented via PR #1212, shipped in 1.4.0 via unfreeze PR #1215.

  3. added a commit that references this issue on Jul 20, 2026
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:ciarea:workspaceeffort:largefeaturepriority:mediumsemver:minor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions