Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
ci: skip docs-only pushes and format in the contributors bot
Tw9336a24383eb7e
diff --git a/.agents/skills/release/SKILL.md b/.agents/skills/release/SKILL.mdindex ad9d3a4b..1a608859 100644--- a/.agents/skills/release/SKILL.md+++ b/.agents/skills/release/SKILL.md@@ -47,8 +47,8 @@ For CLI or Rust-template fixes that must reach npm without an app release. The v1. [ ] Bump all four version files, `pnpm run cli:build`, stage the version files and `git add -f dist/cli.js`.2. [ ] `pnpm run release:check` (already includes vitest). For a Rust-template fix, also run the narrow current-platform Rust check.3. [ ] Commit `chore: bump version to VX.Y.Z`, push `main`, record `<publish-sha>` with `git rev-parse HEAD`.-4. [ ] Wait for `gh run list --workflow=quality-and-test.yml --commit <publish-sha> --limit 3 --json databaseId,headSha,status,conclusion` to be `completed` / `success`; for Rust-template changes also `Full Tauri Build (windows-latest)`.-5. [ ] `gh workflow run npm-publish.yml --ref main -f expected_sha=<publish-sha> -f quality_run_id=<quality-run-id>`. If `main` moved, wait for the new head's own Quality run.+4. [ ] Wait for `gh run list --workflow=quality-and-test.yml --commit <publish-sha> --limit 3 --json databaseId,headSha,status,conclusion` to be `completed` / `success`; for Rust-template changes also `Full Tauri Build (windows-latest)`; a `<publish-sha>` without its own run (docs-only, or the `[skip ci]` bot commit) needs one dispatched first.+5. [ ] `gh workflow run npm-publish.yml --ref main -f expected_sha=<publish-sha> -f quality_run_id=<quality-run-id>`. If `main` moved, the new head needs its own green Quality run; a docs-only head or the `[skip ci]` bot commit gets none automatically, so dispatch one with `gh workflow run quality-and-test.yml --ref main`.6. [ ] Poll `gh run view <run-id> --json headSha,status,conclusion`; `headSha` and the npm `gitHead` must both equal `<publish-sha>`.7. [ ] Issue closeout per AGENTS.md; for a Rust-template fix, tell users to rebuild their app after upgrading.diff --git a/.github/workflows/quality-and-test.yml b/.github/workflows/quality-and-test.ymlindex 5d5699f7..d9338ed4 100644--- a/.github/workflows/quality-and-test.yml+++ b/.github/workflows/quality-and-test.yml@@ -3,8 +3,15 @@ name: Quality & Testingon:push:branches: [main, dev]+ # Files no job reads start no run: Markdown (except docs/incidents.md,+ # which the vitest ledger check reads), images, contributors and agent or+ # plugin files. Formatting runs in update-contributors.yml on every push,+ # docs included. A release or npm publish that targets a docs-only commit+ # dispatches this workflow, which ignores paths (see AGENTS.md).+ paths: ["**", "!**.md", "docs/incidents.md", "!CONTRIBUTORS.svg", "!assets/**", "!LICENSE*", "!.agents/**", "!.claude/**", "!.claude-plugin/**", "!plugins/**"]pull_request:branches: [main, dev]+ paths: ["**", "!**.md", "docs/incidents.md", "!CONTRIBUTORS.svg", "!assets/**", "!LICENSE*", "!.agents/**", "!.claude/**", "!.claude-plugin/**", "!plugins/**"]workflow_dispatch:env:@@ -19,41 +26,6 @@ concurrency:cancel-in-progress: truejobs:- auto-format:- name: Auto-fix Formatting- runs-on: ubuntu-latest- if: github.event_name == 'push'- permissions:- contents: write- steps:- - uses: actions/checkout@v6- with:- token: ${{ secrets.GITHUB_TOKEN }}-- - name: Setup Development Environment- uses: ./.github/actions/setup-env- with:- mode: node-- - name: Auto-fix Prettier formatting- run: npx prettier --write . --ignore-unknown --cache-- - name: Auto-fix Rust formatting- run: cargo fmt --all --manifest-path src-tauri/Cargo.toml-- - name: Commit formatting fixes- run: |- git config --local user.email "[email protected]"- git config --local user.name "GitHub Action"- git add .- if ! git diff --staged --quiet; then- git commit -m "Auto-fix formatting issues"- git push- else- echo "No formatting changes to commit"- fi--rust-quality:name: Rust Code Qualityruns-on: ubuntu-24.04@@ -145,11 +117,12 @@ jobs:# (tests/unit/check-incidents.test.ts); the others stay shallow.fetch-depth: ${{ matrix.os == 'ubuntu-24.04' && '0' || '1' }}+ # The fast suite builds the CLI with rollup and never compiles Rust, so+ # it skips the 1.5 GB Rust cache restore and toolchain setup.- name: Setup Build Environmentuses: ./.github/actions/setup-envwith:- mode: build- rust-cache-save: false+ mode: node- name: Build CLIrun: pnpm run cli:build@@ -236,7 +209,7 @@ jobs:summary:name: Quality Summaryruns-on: ubuntu-latest- needs: [auto-format, rust-quality, rust-quality-windows, validation-fast, validation-full, docker-validation]+ needs: [rust-quality, rust-quality-windows, validation-fast, validation-full, docker-validation]if: always()steps:- name: Generate Summary@@ -246,7 +219,6 @@ jobs:echo ""echo "| Check | Status |"echo "|-------|--------|"- echo "| Auto Formatting | ${{ needs.auto-format.result == 'success' && 'PASSED' || needs.auto-format.result == 'skipped' && 'SKIPPED' || 'FAILED' }} |"echo "| Rust Quality | ${{ needs.rust-quality.result == 'success' && 'PASSED' || 'FAILED' }} |"echo "| Rust Quality (Windows) | ${{ needs.rust-quality-windows.result == 'success' && 'PASSED' || 'FAILED' }} |"echo "| CLI Fast Validation | ${{ needs.validation-fast.result == 'success' && 'PASSED' || 'FAILED' }} |"diff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.ymlindex a18e6e96..e93eba92 100644--- a/.github/workflows/update-contributors.yml+++ b/.github/workflows/update-contributors.yml@@ -50,11 +50,23 @@ jobs:</a></g>+ # Formatting fixes ride in the same bot commit, so a docs-only push is+ # formatted too and two bots never race to push on top of each other.+ - name: Setup Development Environment+ uses: ./.github/actions/setup-env+ with:+ mode: node++ - name: Auto-fix Prettier formatting+ run: npx prettier --write . --ignore-unknown --cache++ - name: Auto-fix Rust formatting+ run: cargo fmt --all --manifest-path src-tauri/Cargo.toml+- name: Commit & Pushuses: stefanzweifel/git-auto-commit-action@4a55954c782fc1ea30b9056cd3e7a2b40ca8887d # v7.2.0with:- commit_message: "chore: update contributors [skip ci]"- file_pattern: CONTRIBUTORS.svg+ commit_message: "chore: update contributors and formatting [skip ci]"commit_user_name: github-actions[bot]commit_user_email: 41898282+github-actions[bot]@users.noreply.github.comcommit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>diff --git a/AGENTS.md b/AGENTS.mdindex d97c5a88..e4d24873 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -220,9 +220,9 @@ For release follow-through, keep these boundaries explicit:- `workflow_dispatch` runs on a branch. Bind npm-only publishing to the exact `main` commit with `expected_sha` and a successful Quality run for that same SHA; do not infer a release tag or source commit from the branch name, run title, or compare UI.- For CLI/npm issue closeout, the npm registry is the decisive public surface. Install the exact public version in a temporary directory, compare its shipped files with the intended source commit (or release tag when present), build an app, and verify the installed template remains unchanged. Check `rustup show` in that temporary context before a universal macOS probe: the repository's toolchain override may have both targets while the default toolchain has only the host target. GitHub app release assets and quality workflows remain separate surfaces.- For app-release claims, inspect the GitHub Release directly with `gh release view <tag> --json assets`. Derive the expected filenames from the tagged `default_app_list.json` and workflow formats, then require the complete name set, uploaded state, and nonzero sizes; do not hardcode a historical asset count. Download representative platform installers, inspect actual payloads, and validate a macOS DMG's stapled notarization ticket. Asset presence and workflow completion must both be reported accurately.-- The contributors bot can push `chore: update contributors [skip ci]` at any moment, including between local commits and the bump push. On a rejected push, `git pull --rebase` onto it and push again before tagging. After release, fast-forward local `main`; do not move an already pushed release tag to include it. Never tag that bot commit itself: GitHub evaluates `[skip ci]` against the head commit for tag pushes too, so a `V*` tag landing on it silently produces no workflow run, no release, and no assets, with no error anywhere. Before pushing a release tag, confirm the target commit's subject has no `[skip ci]` and that the commit has its own green Quality run; point the tag at the last real commit when the bot is on top.+- The contributors bot can push `chore: update contributors and formatting [skip ci]` at any moment, usually a minute or two after each push now that it also runs Prettier and `cargo fmt`, including between local commits and the bump push. On a rejected push, `git pull --rebase` onto it and push again before tagging. After release, fast-forward local `main`; do not move an already pushed release tag to include it. Never tag that bot commit itself: GitHub evaluates `[skip ci]` against the head commit for tag pushes too, so a `V*` tag landing on it silently produces no workflow run, no release, and no assets, with no error anywhere. Before pushing a release tag, confirm the target commit's subject has no `[skip ci]` and that the commit has its own green Quality run; point the tag at the last real commit when the bot is on top.-`.github/workflows/quality-and-test.yml` runs auto-format on push, Rust quality checks, and CLI/build validation across Linux, Windows, and macOS.+`.github/workflows/quality-and-test.yml` runs Rust quality checks and CLI/build validation across Linux, Windows, and macOS; a push or PR that changes only files no job reads (Markdown other than `docs/incidents.md`, `assets/`, `CONTRIBUTORS.svg`, agent and plugin files) starts no run. Such a commit has no Quality run of its own, and neither has the `[skip ci]` bot commit that usually sits on top of `main`; before tagging or npm-publishing a head without its own green run, run `gh workflow run quality-and-test.yml --ref main` and wait for that run; dispatch ignores the path filter. Auto-format moved into `update-contributors.yml`, which commits Prettier and `cargo fmt` fixes together with the contributors image as one `[skip ci]` bot commit, so the never-tag-a-`[skip ci]`-commit rule covers formatting commits too.Deployment-surface note: the Claude Code and Codex plugins (`.claude-plugin/marketplace.json`, `.agents/plugins/marketplace.json`, and `plugins/pake`) ship from `main` via git, independent of `V*` releases. Skill and manifest edits reach new installs as soon as they land on `main`; npm and app assets still wait for their release workflows.diff --git a/scripts/risk-tier.mjs b/scripts/risk-tier.mjsindex 04f9f39b..21856b01 100644--- a/scripts/risk-tier.mjs+++ b/scripts/risk-tier.mjs@@ -61,6 +61,7 @@ export const TIERS = ["Run Fast Test Suite and Rust Code Quality green at the exact pushed SHA",patterns: [".github/workflows/quality-and-test.yml",+ ".github/workflows/update-contributors.yml",".github/actions/*","tests/index.js","scripts/check-incidents.mjs",