Repository navigation
Closed
Labels
Description
Parent
What to build
Extend thirdshift release with unattended Pass mode whenever no positional <version> is supplied (thirdshift release, --patch, --minor, --major), including Pass admission gates, the shipped-path change filter, and single-session sandboxed minor vs patch bump selection.
- Invoking
thirdshift releasewithout<version>runs as a Pass (supporting optional mutually exclusive--patch,--minor, or--majorflags; passing both<version>and a bump flag is rejected immediately). - Before locking or cutting, Pass mode honors the live Experiment gate and Quota wait gate, and skips quietly (exit
0, no Run notification) if either gate is active or if the local release lock ororiginrelease reservation is already held. Skipped Release run Passes record deduplicated skip reasons in the Activity log (logging again only when the skip reason changes) and update Pass last-fired timestamps surfaced on Cron jobs. - When scanning first-parent
origin/maincommits descending from the lastv*release tag, Pass mode considers only commits whose diff from that tag touches at least one shipped-artifact or release-pipeline path (compiled Rust source, embedded skills and process definitions, Cargo manifest and lockfile, dist and Rust toolchain configuration,README.md,LICENSE, release/publish workflows, or release scripts). If only non-shipped paths (such as documentation, website, Day shift agent skills, or tests) changed—or nothing changed since the last tag—the Pass skips quietly. - Among eligible shipped-change commits on
origin/main, Pass mode immediately selects the newest commit with completed green push CI, polls with progress lines while any eligible commit still has push CI queued or running, and skips quietly naming the failingmainCI if every eligible commit completed non-green. - When neither
<version>nor a bump flag was given, one fresh-home-sandboxed, traced Session receives the merged pull requests since the last release tag together with the candidateminorandpatchversion strings, choosesminor(new CLI commands/flags, Console pages/actions, config keys, or user-visible contract changes) orpatch(bug fixes, edge-case hardening, or internal refinements)—nevermajor—and writes the release summary in the same call. If the model emitsmajor, malformed output, or fails, automatic selection falls back topatch(with non-duplicated generated fallback notes when the summary is unusable). When--patch,--minor, or--majoris passed, that bump level is pinned and the Session writes only the summary. - Expose versionless Pass invocation and optional bump mode (
major,minor,patch) inadmin-scopedPOST /api/v1/startand Console Start controls.
Acceptance criteria
-
<version>and--major/--minor/--patchare validated as mutually exclusive on both CLI andPOST /api/v1/start. - Versionless
thirdshift release(with or without--patch/--minor/--major) acts as a Pass: it skips quietly with exit code0, no Run notification, deduplicated Activity log skip entries, and updated Pass last-fired age on Cron jobs during a live Experiment, during a Quota wait, when the release lock/reservation is held, when nothing changed since the lastv*tag, when only non-shipped paths changed, or when all shipped-changemaincommits completed push CI non-green. - When shipped-artifact or release-pipeline paths changed since the last
v*tag and push CI is green (or finishes green after polling),thirdshift releasewith no version or bump flag choosesminororpatchand writes the summary in a single sandboxed, traced Session. - Automatic bump selection never selects
major: model output requestingmajor, returning malformed output, or failing falls back topatch(and non-duplicated fallback notes when summary output is missing/invalid), while explicit--major,--minor, and--patchflags cut the requested bump level. -
POST /api/v1/startand Console Start controls support starting versionless and bump-flaggedreleaseruns underadminscope, verified by API and parity tests.
Activity
thirdshift releaseCommand and Pass for scheduled and on-demand releases #2054thirdshift release <version>: Release run Command, Consoleadminstart, Cron jobs, and happy-path release #2157--with-experiment, and--review#2159JacobStephens2 commentedon Nov 14, 2026
Closed by #2172, merged into issue-2054 by a thirdshift Ticket run with Self-merge.