From 153179aed25b7c3e1937998f365460d07354bc6b Mon Sep 17 00:00:00 2001 From: Asgeir Frimannsson Date: Mon, 20 Jul 2026 13:33:33 +0800 Subject: [PATCH 1/2] docs: kapi.yaml recipe naming (kapi 1.2) kapi 1.2 renames the project recipe to the fixed basename kapi.yaml. Update the README examples and inputs table, and the action.yml `project` input description, to name kapi.yaml. Also bump the self-test CLI pins from 1.2.0-rc11 to 1.2.0 (the stable target). Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/test.yml | 10 +++++----- README.md | 8 ++++---- action.yml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a10c7d0..1344d92 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ on: workflow_dispatch: env: - KAPI_VERSION: "1.2.0-rc11" + KAPI_VERSION: "1.2.0" jobs: test-plan: @@ -26,7 +26,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0-rc11" + version: "1.2.0" plugins: "" - name: Run plan @@ -54,7 +54,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0-rc11" + version: "1.2.0" plugins: "" # The fixture is deliberately untranslated: the ship gate must FAIL the @@ -87,7 +87,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0-rc11" + version: "1.2.0" plugins: "" - name: Gate the fixture source file @@ -111,7 +111,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0-rc11" + version: "1.2.0" plugins: "" - name: Pseudo-translate the fixture diff --git a/README.md b/README.md index c14556e..525cc63 100644 --- a/README.md +++ b/README.md @@ -160,12 +160,12 @@ Ordinary builds never fail on target-language drift — a locale that is behind with: command: run args: "translate" - project: "myproject.kapi" + project: "kapi.yaml" paths: "src/locales/" commit-message: "chore: update translations" ``` -This runs `kapi run -p myproject.kapi translate`. +This runs `kapi run -p kapi.yaml translate`. ### Caching @@ -175,7 +175,7 @@ The loop runs incrementally via the project's `.kapi/cache` (block store, extrac - uses: actions/cache@v5 with: path: .kapi/cache - key: kapi-cache-${{ hashFiles('*.kapi', 'src/locales/en/**') }} + key: kapi-cache-${{ hashFiles('kapi.yaml', 'src/locales/en/**') }} restore-keys: kapi-cache- ``` @@ -187,7 +187,7 @@ Server-connected projects don't need this — the project state lives on the ser |---|---|---| | `command` | `up` | Kapi subcommand to execute | | `args` | | Additional arguments | -| `project` | | Path to `.kapi` project file (`-p` flag) | +| `project` | | Path to the `kapi.yaml` recipe (`-p` flag) | | `plan` | `false` | With `command: up`: dry run — pending work, TM leverage, token estimate; no writes, no provider calls | | `fail-on-parked` | `false` | With `command: up`, fail the workflow when the run parks instead of committing partial progress | | `commit` | `true` | Whether to commit changes | diff --git a/action.yml b/action.yml index a8c7b3c..303a81d 100644 --- a/action.yml +++ b/action.yml @@ -14,7 +14,7 @@ inputs: required: false default: "" project: - description: "Path to .kapi project file (-p flag)" + description: "Path to the kapi.yaml recipe (-p flag)" required: false default: "" plan: From cfcbf338dc19d054a39ca36f1633d46fc2497c3e Mon Sep 17 00:00:00 2001 From: Asgeir Frimannsson Date: Mon, 20 Jul 2026 13:39:12 +0800 Subject: [PATCH 2/2] chore: pin kapi to 1.2.0-rc14 in self-tests Cut release candidate v1.2.0-rc14; update the test.yml CLI pins from the placeholder 1.2.0 to the just-cut 1.2.0-rc14. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1344d92..60b1ffe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ on: workflow_dispatch: env: - KAPI_VERSION: "1.2.0" + KAPI_VERSION: "1.2.0-rc14" jobs: test-plan: @@ -26,7 +26,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0" + version: "1.2.0-rc14" plugins: "" - name: Run plan @@ -54,7 +54,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0" + version: "1.2.0-rc14" plugins: "" # The fixture is deliberately untranslated: the ship gate must FAIL the @@ -87,7 +87,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0" + version: "1.2.0-rc14" plugins: "" - name: Gate the fixture source file @@ -111,7 +111,7 @@ jobs: - uses: neokapi/setup-kapi@v1 with: - version: "1.2.0" + version: "1.2.0-rc14" plugins: "" - name: Pseudo-translate the fixture