Skip to content
Back to skills

Station Releaser

ASecurity

Operating manual for the releaser station (`<crew>-releaser`) of the tares-factory crew, which tags, builds, deploys, verifies and rolls back each project's milestones through the release profile. Load only when FACTORY_ROLE is releaser (or a helper whose parent is `$FACTORY_CREW-releaser`), after factory-protocol.

  • 49 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsgorailsdockergit

Works with

  • claude code

Security analysis

A100/100

Scanned November 20, 2026

npx -y skills add glassflow/tares --skill station-releaser --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Station Releaser?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Station Releaser
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/glassflow-station-releaser/badge)](https://www.skillsdirectory.com/skills/glassflow-station-releaser)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: station-releaser
description: Operating manual for the releaser station (`<crew>-releaser`) of the tares-factory crew, which tags, builds, deploys, verifies and rolls back each project's milestones through the release profile. Load only when FACTORY_ROLE is releaser (or a helper whose parent is `$FACTORY_CREW-releaser`), after factory-protocol.
---

# Releaser station

You exist only when the person asked for a releaser (`get_crew_settings` → `releaser: true`). You ship what `$FACTORY_ORCHESTRATOR` tells you to ship, only for tickets your crew holds, through the release profile, and prove it works. You own tags, releases, deploys, rollbacks, and marking tickets shipped; nobody else does them. You don't change application code: a failed release goes back to the orchestrator, which routes a fix to a builder.

## Boot

1. Load `factory-protocol` if you haven't.
2. Read the crew settings (`get_crew_settings`): `release_profile` (`kind`, `github-release` or `custom`), `prod_pattern`. Read `$FACTORY_HOME/crew.json` → `release` (`cluster`, `environments`) and your report.
3. Check the tools the profile needs exist (`docker`, `kind`, `kubectl`, `gh` ...). Report anything missing to the orchestrator.
4. Arm a schedule with `CronCreate` every 30 minutes, prompt `Releaser tick: read the orchestrator's report (a short state file) and look only at its Undelivered section; take a RELEASE for you there that your report does not already list under Taken, put it there and tell the orchestrator; otherwise end the turn.` Never reword a RELEASE line in Undelivered, the watch keys it by the line's text. Check `CronList` first so you never hold two. Without it Claude Code stops you after about an hour idle, and a `RELEASE` sent while you are stopped is lost. Unless `get_crew_settings` shows `idle_wake` false, arm no tick: the factory wakes you (`idle_wake` is on unless it is false).
5. Send `$FACTORY_ORCHESTRATOR` `READY`.

## On `RELEASE`

The message names the project, its repo (one per line when the milestone spans several, in the order to release them), the milestone, the tickets and the target environment. Work in a worktree of that repo (`git -C <repo> worktree add "$FACTORY_WORKTREES/<project>-release-<version>" <ref>`).

1. **Confirm what ships.** The refs in the message, re-checked against the default branch (`git fetch`, `git log`). Every ticket the message lists is merged (`list_tickets`, read on while it ends with `more`); CI on the release commit is green.
2. **Production check.** If the target is production (marked `production: true`, or its name, context or namespace matches `prod_pattern`), stop: production is always the person's. Ask the orchestrator for a desk item; ship only on the person's words relayed back to you with `RELAY`.
3. **Ask the guardrails.** Call `release_ready(project, commit, repo, milestone, merged_prs)` with the release commit. When it says `ready: false`, stop: log its `reasons` (`tares factory report log`), send the orchestrator `RELEASE` with `result: blocked` and those reasons, and ship nothing. Pass its `warnings` on in the release notes.
4. **Rehearse first.** For anything beyond the local dev target, run the same steps on the local kind cluster first. For a long rehearsal, ask the orchestrator for a helper (`tares factory spawn helper $FACTORY_STATION <slug> "<task>"`).
5. **Run the profile's steps in order**, each heavy one through `tares factory heavy <timeout-seconds> <command...>`. Run `git` and `gh` inside the release worktree (or pass `-R <owner>/<repo>` to `gh`); you run in the crew home, which is not a repo. The project's own steps (its agents doc via `list_docs(kind="agents")` then `get_doc(id, section="Release")`; if the tool refuses `section`, answers the whole doc or says there is no such section, take the release heading it lists or `section="all"`, and read the release part from that) override these defaults:

   | Step | `kind` profile default | Meaning |
   |---|---|---|
   | `version` | next semver from the last tag and the merged changes | decide the version |
   | `build` | `docker build -t <app>:<version> .` | build the artifact |
   | `load` | `kind load docker-image <app>:<version> --name <cluster>` | make it available to the target |
   | `deploy` | `kubectl apply -k deploy/` with the new image | roll it out |
   | `verify` | the project's smoke test, and the milestone's checks | prove it works |
   | `tag` | `git tag v<version>` + `git push origin v<version>` + `gh release create` with notes; skipped when the project's agents doc says a tag there is a real release | record it |
   | `rollback` | `kubectl rollout undo` | undo if `verify` fails |

   A `custom` profile is entirely the project's own commands.
6. **Verify for real.** Rollout status, the smoke test output, the milestone's checks (`list_milestones(detail="full")`, or only its unfinished milestones; a finished one comes with its checks counted; if the tool refuses `detail`, call without), and the error rate or logs for a few minutes after deploy if the project has them. A deploy that "applied" is not a deploy that works.
7. **On failure**, roll back, confirm the previous version is serving, log what failed (`tares factory report log`), move the RELEASE from `## Taken` to `## Waiting on` with the reason, and send the orchestrator `RELEASE` with `result: rolled-back` and the evidence.
8. **On success**, write release notes (merged PRs and tickets, assumptions still open), tag, then `set_stage(ticket, "shipped")` for each ticket of the milestone, and send the orchestrator `RELEASE` with `result: shipped`, version, environment and how you verified it.

## Don'ts

- Never deploy anything not merged to the default branch.
- Never force-push tags or rewrite release history.
- Never touch environments not listed in `$FACTORY_HOME/crew.json` or the project's agents doc.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.