raffaelefarinaro/ciaobot/ciao-release

Claude Code and agent skill by raffaelefarinaro/ciaobot

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

How to cut a Ciaobot release — the patch/minor/major convention, verifying develop, the prepare-release command, reviewing the release PR, installing and walking the candidate in the browser, what merging into main triggers, and the known traps. Trigger on "release", "cut a release", "publish", "bump the version", "ship a new version", "prepare-release", or any question about how Ciaobot versioning and publishing work.

Install

npx vskill@latest install raffaelefarinaro/ciaobot/ciao-release

SKILL.md

The same SKILL.md was published earlier as raffaelefarinaro/ciaobot/ciao-release.

Ciaobot Release

Contributor/project skill — lives in the repo's workspace skills/ folder, not ciao/stock/skills/. It is for people working on Ciaobot and is deliberately not packaged or shipped to end-user installs. ciao sync-skills mirrors it into the runtime-discovered .claude/skills/ catalog. Don't move it into ciao/stock/.

Authoritative procedure for cutting a Ciaobot release. develop is the source line; main is publish-only — merging a release PR into `main` is the trigger for everything downstream (tag → GitHub release → engine assets). You never build artifacts or tag by hand.

This skill does not fix anything. It verifies, cuts, reviews, installs, and ships. A defect found along the way becomes a GitHub issue or a follow-up task on develop — it is not fixed inside the release session. Fixing happens separately, on develop, before the next cut. This is deliberate: a release that also patches what it is releasing has no fixed point, and every fix introduced mid-release is unreviewed code riding into a tag.

Canonical companions: docs/DEVELOPMENT.md (§ "Branching and releases") and ciao/release.py. When this skill and the code disagree, the code wins — say so and update this skill.

Sibling skills this one calls into, rather than restating: `/ciao-dev-install` to build and run the candidate on this machine, and `/ciao-upkeep` for the standing checks that keep dependencies, the stock catalog and docs/UPKEEP.md current — run those on their own cadence, not here. Read each at the point it is needed.

Everything runs in this checkout, in one session. There is no worktree, no external tree, and no separate reviewer process. If you find yourself wanting a worktree, you are about to make a change, and changes do not belong here.

Versioning convention (SemVer-by-impact)

Pick the bump from user-facing impact, not diff size:

  • patch (--bump patch, default) — bug fixes, internal refactors, doc/test/CI changes, dependency bumps with no behavior change. Nothing new the user can do.
  • minor (--bump minor) — any new user-facing capability or notable behavior change (e.g. a new provider/backend, a new page, a removed setting). Backward-compatible.
  • major (--bump major) — breaking changes to what users or their data depend on: vault layout/format, workspace layout, the CLI surface/flags, the PWA API contract, or config that requires manual migration.

When unsure between patch and minor, ask: "could a user notice something new or different?" If yes → minor.

Check the bump against the actual diff, not the request. A user asking for "a patch release" is naming the ritual, not auditing the scope — and scope grows after the branch is cut. Read the changelog you just generated: if it has an ### Added section with real features, it is a minor. Say so and let the user decide. Renumbering costs a rewrite of every version-bearing file, the changelog heading, the branch name and the PR — cheap, but cheaper still before the PR is open.

A release that removes a user-facing thing is not automatically a major. The distinction is whether a user has to do anything: a removed setting with an automatic migration, or a bundled skill going away, is a minor. A layout or format a user depends on, or config they must migrate by hand, is a major.

Step 1 — Verify develop

The release ships exactly what is on develop. Establish that first, because every later step assumes it.

bash
rtk proxy git switch develop
rtk proxy git fetch origin
rtk proxy git rev-list --count origin/develop..HEAD # must be 0
rtk proxy git status --short # must be empty

A non-zero count means develop is ahead of the remote: push it, or stop. A dirty tree stops the cut (--apply refuses — see traps).

The post-merge CI run must be green on every platform. A develop PR runs only Linux plus the fast Windows gates (imports, win32 mypy); the Windows pytest and vitest suites and the macOS job (browser tests, engine cold-start) run on the push to develop after merge. That push run is the only place those suites ran on what you are about to ship:

bash
gh run list --repo raffaelefarinaro/ciaobot --workflow ci.yml --branch develop \
--event push --limit 1 --json headSha,status,conclusion,url

headSha must equal git rev-parse origin/develop, status must be completed and conclusion success. A run still in progress means wait; a red one stops the cut. File the failure as an issue, fix it on develop, and start again from the top of this step. The release PR into main re-runs the full matrix, but finding a Windows break there means fixing it mid-cut.

Decide scope with the user. Run gh pr list --state open and gh issue list --state open on raffaelefarinaro/ciaobot, show the result, and ask which open PRs should land in this release. Merge the chosen ones into develop first, then re-run the count above. Issues are context, not work: report them, do not fix them here.

Step 2 — Run the gates

_run_checks in ciao/release.py runs these for you during --apply, and _run_checks failing is a stop, not something to work around:

mypy ciao · pytest tests/ · cd web && npm run test · cd web && npm run build
ciao package-smoke --skip-frontend

There is no Rust, no cargo, no app bundle: the release is the engine (#655, #656).

Before that, run the two checks the release tool does not do for you:

The doc gates, explicitly. They run inside pytest tests/ too, but running them here means a doc failure surfaces before --apply has bumped and committed anything:

bash
env -u PYTHONPATH .venv/bin/python -m pytest \
tests/test_architecture_doc.py tests/test_env_vars_documented.py tests/test_pwa_api_docs.py

Every merge in the range. /code-review reads the diff, and a merge that dropped a feature leaves no suspicious diff — the code is simply absent, exactly as if it had never been written. Nothing in the normal gate looks for that:

bash
./scripts/check-merges.sh <last-tag>..develop

This replays the automatic 3-way merge of each merge commit's parents and reports every delta — each one is a hand edit made during conflict resolution, which is the only place this failure can occur. v0.12.0 shipped one: merge ed04d1e9 resolved by taking the pre-feature side, reverting the entire frontend half of a feature while the backend half stayed live, and deleting the test that covered it — so the suite had nothing left to fail on. The tells in a delta: a deleted test file, a stray `.tmp`/`.orig`/`.rej`, any file where one side's changes vanished wholesale. A delta is not automatically a bug — real conflicts must be resolved by hand — but no test will do it for you. Report what you find; do not resolve it here.

Record the task-eval results

Run ciao eval tasks on the release candidate, following docs/evals/README.md: the whole suite, three repeats, on claude/haiku and on the opencode model the previous results file used. Add docs/evals/vX.Y.Z.md to the release PR, and compare it with the previous file. A pass rate that drops on any task is a finding for Step 3: read that run's trace before calling it noise. When the results change the summary on site/evals.html, update the table there too. The site deploys from main, so it ships with the release.

Step 3 — Review the release surface

Read the range as a reviewer, not the author:

bash
rtk proxy git log --oneline <last-tag>..develop
rtk proxy git diff <last-tag>..develop

Then run the review for its report only:

  • /code-review high <last-tag>..develop — no --fix. If the diff touches

auth, secrets or external input, run security-review as well.

  • Read the `stats` block. Findings are capped (~10) and the rest are

dropped; a clean-looking report on a large diff may just be a full one. A release wants high or above — /code-review reuses the last level you typed when it cannot parse one, and says so only in its own summary line. Read that line too.

  • Verify each finding against the code before you report it. Findings can be

wrong, and shipping a "fix" for one is a regression. v0.15.0 was told pwa_host's default was moving 127.0.0.1 → 0.0.0.0; from_env's fallback was already 0.0.0.0, so every real install already bound all interfaces.

Write down what you found, and file it. A review that produces no durable record is a review that gets re-litigated next release. Before cutting, put the outcome somewhere permanent — the release PR body is the natural place, or gh issue create per finding:

bash
gh issue create --repo raffaelefarinaro/ciaobot \
--title "[Bug] <one line>" --label bug --body "<file:line, the problem, the repro>"

Anything that must block the merge is the user's call, not yours. Say so plainly and stop.

Step 4 — Cut it

Plan-only first. It writes nothing, so it is safe against a dirty tree:

bash
env -u PYTHONPATH .venv/bin/python -m ciao.release "$(pwd)" --bump <patch|minor|major>

Read the plan. It is the last chance to catch a wrong bump.

Also read the Provider versions block. It shows the OpenCode binary on this machine and the Claude CLI bundled in the installed claude-agent-sdk, each next to the latest published version. If it warns that OpenCode is behind latest, the maintainer decides: update OpenCode first and re-run the plan, or cut with the installed version recorded as tested.

Write the release notes. The plan's changelog is the raw commit list; users read the notes. Run `/ciao-release-notes` for the range <last-tag>..origin/develop, write the body to $TMPDIR/release-notes-vX.Y.Z.md, and show it to the operator before cutting. The notes become the CHANGELOG.md section and the GitHub release body. Then:

bash
env -u PYTHONPATH .venv/bin/python -m ciao.release "$(pwd)" \
--bump <patch|minor|major> --notes-file "$TMPDIR/release-notes-vX.Y.Z.md" --apply \
--commit --push --create-pr --ready > /tmp/release.log 2>&1
echo "EXIT=$?"
grep -nE "ReleaseError|command failed|/pull/" /tmp/release.log

Node 22 must be on PATH in that same shell (_run_checks shells out to npm; see traps). Defaults: --source develop (cuts release/vX.Y.Z from origin/develop), --base main.

What --apply does, in order: bumps pyproject.toml, ciao/__init__.py, web/package.json, web/package-lock.json and the service-worker cache names in both web/public/sw.js and ciao/web/static/sw.js; writes the notes into CHANGELOG.md (or, without --notes-file, the commit list); auto-bumps auto dependencies; regenerates the packaged gws-* skills if the installed gws CLI differs from the pin; records the tested OpenCode and bundled Claude CLI versions in ciao/stock/provider-versions.json (fails on a missing, dev, unpublished or unsupported OpenCode unless --untested-provider opencode); runs the full check suite; commits release: prepare vX.Y.Z; pushes; opens the PR into main.

Step 5 — Install the candidate and walk it

Nothing above this line ever starts the thing you are about to ship. pytest and the npm suites prove the parts compile and their tests pass; none of them boots an engine against a real workspace with real chats, schedules, MCP servers and credentials in it.

`/ciao-dev-install` builds the PWA, installs the current checkout over the live install preserving the workspace and password, restarts the service and watches the logs. Read that skill and follow it; do not improvise. Do it after the final source change so what you smoke-test is what gets cut.

Then drive the running app like a user, with browser-use, following the task files in skills/ciao-release/tasks/:

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/raffaelefarinaro/ciaobot/ciao-release/badge)](https://verified-skill.com/skills/raffaelefarinaro/ciaobot/ciao-release)

Something wrong with this skill or its page? Tell us.