SKILL.md--- name: tutti-app-release description: "Set up, review, run, or debug external repositories that publish a Tutti workspace app through the reusable Tutti App Release GitHub Actions workflow. Use for caller workflows, tutti.app.json manifests, @tutti-os/app-release-tools, S3/CloudFront release hosting, latest.json, versions.json, catalog.json, catalog-only repairs, and App Center visibility issues." --- # Tutti App Release Use this skill when an external app repository publishes a remote Tutti workspace app into App Center release metadata. The external repository calls the reusable workflow from the Tutti/Tutti repository: ```yaml uses: tutti-os/tutti/.github/workflows/publish-tutti-app-release.yml@main ``` That workflow builds one app package, runs `@tutti-os/app-release-tools`, uploads immutable release files plus mutable `latest.json` and `versions.json`, and can optionally merge that app into the shared `catalog.json`. ## Operating Rules Inspect before acting: - Read the caller workflow, `tutti.app.json`, package script, and recent GitHub Actions runs. - Confirm whether the user wants a new app release, a catalog refresh, or CI debugging. Do not rerun a release just to repair catalog state. For catalog publication: - There are three valid modes. Explain them explicitly when helping a user choose. - Release only: `publish_catalog: false`. This uploads a new app version and updates `apps/<appId>/latest.json` and `versions.json`; App Center will see it the next time `catalog.json` is published. - Release and catalog: `publish_catalog: true`. This uploads the app release, then immediately merges that release into `catalog.json`. - Catalog only: `catalog_only: true`. Use this after a release already succeeded when the user forgot to publish catalog, wants to validate first, or wants to refresh catalog without bumping or uploading a new version. - Do not rerun a full app release just to repair catalog state. - If the app caller workflow exposes `catalog_only`, use that. If it does not, use the Tutti catalog workflow directly or add the caller input when the user wants that repo to support catalog-only dispatch. For versioning: - Production releases should be workflow-driven. Run the production caller workflow with `release_bump` (`patch`, `minor`, or `major`); the reusable workflow calculates the next version from the greater of the packaged manifest version and existing release tags, then creates the tag after the S3 release verifies. - The workflow never bumps or commits app manifest versions. Do not add caller-side release PRs or manifest bump commits to work around protected branches. - Staging releases should leave `release_bump` empty. The workflow uses `manifest.version+<short git sha>` from the packaged manifest and does not create a release tag. For reusable workflow changes: - Keep long-lived release behavior in the Tutti reusable workflo