Repository navigation
Description
Kind: feature · Status: active
Prerequisites: hosted-workflow-verification-bootstrap
Intent
Intelligence-operated releases as a shared workflow
Outcome
A project consumes one reusable workflow from this repository and releases
itself: Claude judges what changed on the default branch since the project's
last release, determines the SemVer bump and writes a user-facing prose
summary, and hands the version, captured commit, and complete release notes to
the project's own build and publication in the same run. When Claude is
unavailable (or for an explicit milestone such as 1.0.0), a maintainer or
local AI dispatches the release with an explicit version and summary pair
(both mandatory together, failing immediately if either is omitted), skipping
Claude and publishing a complete release with proper release notes. No release
ever publishes without a summary. instrukt is the first consumer; its first
run releases its current version.
Original human intent, thread t3:414372b7-0e77-4f34-96ee-957233cd450c, 2026-11-25
- "The pipeline for […] releasing. […] Shut the […] up about […] manual
steps". - "The releases are intelligence operated. Intelligence determines whether
something is breaking or not. Whether something is, I don't know, patch
only or minor or major only. I think I had extensive talks about the
releasing and we already had it working in teleclawed." - "This time to make a betterment to what existed before."
- "it was a little bit fragile because we had our own runner on our own
MacBook and we had many problems with the networking with little snitch and
all of the […] pop-ups and blocking of the […] firewall". - "go" on: file the shared release workflow here with TeleClaude's release
design as prior art;instrukt'srelease.ymlthen calls it.
Revised human direction, thread t3:instrukt:launch:304ca69fc94d2b00913de86134a34901baebb9e2d4444e8368a4fda4cc691774, 2026-12-04
After inspecting PR #30's Codex subscription auth machinery (CodexAuthStream),
the human rejected the operational cost and local refresh-token fragility of
Codex subscription persistence in CI, rejected paid API keys (subscription-only
constraint stands), rejected publishing releases with missing summaries, and
explicitly approved the following simplified direction:
- Claude-only subscription auth in CI (zero API keys, zero Codex):
- Remove Codex and all Codex auth/sandbox machinery completely
(codex-auth.sh,run-codex.sh,age,codexbinary pinning,
seed-codex,keepalive-codex,codex-environment,
CODEX_AUTH_AGE_IDENTITY,CODEX_AUTH_SEED,seed/reseed
operations, multi-provider failover, and auth-chain verification). - Run Claude on the long-lived subscription token (
CLAUDE_CODE_OAUTH_TOKEN
fromclaude setup-token), storing nothing back between runs, with zero
paid API keys and zero per-repo environment ceremony.
- Remove Codex and all Codex auth/sandbox machinery completely
- Never publish a release without a summary; mandatory
version+summary
pair failing immediately:- Automatic judged runs (neither
versionnorsummarypassed): Claude
judges the diff, decides the classification/version, and writes the prose
summary. If Claude fails (e.g., exhausted quota, error, or invalid report),
the workflow fails cleanly without handing over a version. - First release (no prior completed release, declared via
initial-version, with neitherversionnorsummarypassed): Claude
writes the prose summary; if Claude fails to produce a valid summary, the
workflow fails cleanly rather than publishing a summary-less release. - Manual explicit-version runs (
versionandsummarymandatory
together): Passingversionwithout a non-blanksummaryfails
immediately at admission (guard) with a clear error stating that
summaryis mandatory whenversionis specified; passingsummary
withoutversionfails immediately at admission (guard) stating that
versionis mandatory whensummaryis specified. When bothversionand
summaryare supplied, the workflow skips Claude altogether, validates
the version against baseline/tags, combines the supplied summary with the
complete deterministic commit list, and hands the release over in the same
run. (This lets any local AI — Codex, Gemini, etc. — assess the diff,
write the summary, and trigger one release command whenever Claude's CI
quota is out or for an explicit milestone like1.0.0.)
- Automatic judged runs (neither
- Unchanged core commitments:
- Every stage runs on GitHub-hosted runners (
ubuntu-latest). - Fail-closed trusted default-branch admission (
schedule,pushon
default branch,workflow_dispatch). - Exact triggering-commit capture, deterministic SemVer stepping (
<1.0.0
mapsmajor/minorto next minor;1.0.0requires explicitversion),
unboundedrelease-notes.md+ boundedgithub-release-body.md, dry-run
support, and same-run handoff to the caller's build and publication jobs. - Narrow release helpers: no growing Python framework, no helper unit-test
suite without project opt-in, and no provider-internals configuration
management.
- Every stage runs on GitHub-hosted runners (
- Trim prerequisite
#31(hosted-workflow-verification-bootstrap):- Shrink
#31to verify only the Claude-onlyworkflow_callDAG, native
Linuxclaudeexecution, andCLAUDE_CODE_OAUTH_TOKEN(no Codex
credentials, protected Codex environment,age,codexbinary, or
Ubuntu AppArmor/bwrapsandbox).
- Shrink
Prior art
InstruktAI/TeleClaude:.github/workflows/release.yamland
docs/local/spec/feature/release/publication.md(capture once, judge the
actual change against the last completed release, classification none,
patch, minor or major, deterministic version calculation, no publication
without a valid report, automatic publication enabled only after a full dry
run).- This repository's
dep-pr-review.yml: a read-only Claude model job on
CLAUDE_CODE_OAUTH_TOKEN, failing closed, with its prompt-injection boundary.
Consumer
InstruktAI/instrukt: .github/workflows/release.yml builds and publishes
three targets on a pushed v* tag, and no tag has ever been pushed, so it has
never released. project/instrukt/spec/feature/distribution/release-installer
specifies publication by tag push. Adopting this workflow there is that
project's own follow-up work.
Activity
instruktai commentedon Nov 25, 2026
[instrukt record · intelligence-operated-release · rev 2 on rev 0]