ktx/scripts
Andrey Avtomonov 322e24fc02
fix(ci): publish the pre-built tarball instead of re-packing (#159)
* fix(ci): publish the pre-built tarball instead of re-packing

The release workflow built the tarball twice — once via pnpm pack in
artifacts:check (leaving it at dist/artifacts/npm/) and again inside
@semantic-release/npm's prepare step, which then tried to fs-extra
move npm pack's output into the same directory and crashed with
"dest already exists". On top of being a publish blocker, that meant
the published tarball was different from the one smoke-tested in
artifacts:check.

Drop @semantic-release/npm and publish the exact tarball that
artifacts:check verified via an exec publishCmd:

    npm publish dist/artifacts/npm/kaelio-ktx-<v>.tgz \
      --tag <next|latest> --access public --provenance

Auth uses OIDC trusted publishing — the workflow already grants
id-token: write and setup-node configures the registry, and
release-workflow.test.mjs asserts NODE_AUTH_TOKEN is not set.

* fix(ci): allow @kaelio/ktx tarball name in semantic-release config

The new publishCmd added in the previous commit hardcodes the
dist/artifacts/npm/kaelio-ktx-<v>.tgz path, which trips the boundary
check that forbids the literal product name outside release-machinery
files. The release config is exactly such a release-machinery file —
its job is to bridge the generic ktx project to the @kaelio/ktx npm
package — so add it to identifierAllowPatterns alongside the existing
build-public-npm-package and public-npm-release-metadata entries.
2026-05-20 00:55:15 +02:00
..
acquire-public-benchmark-fixtures.mjs Initial open-source release 2026-05-10 23:12:26 +02:00
acquire-public-benchmark-fixtures.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
adventureworks-oltp-source.json Initial open-source release 2026-05-10 23:12:26 +02:00
adventureworks-oltp-source.test.mjs Initial open-source release 2026-05-10 23:12:26 +02:00
anti-fixture-conditional.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
build-adventureworks-oltp-fixture.mjs fix: stop requiring readonly connection config (#71) 2026-05-13 19:37:25 +02:00
build-benchmark-snapshot.mjs Initial open-source release 2026-05-10 23:12:26 +02:00
build-benchmark-snapshot.test.mjs [codex] Add Conductor workspace scripts (#2) 2026-05-11 09:55:42 +02:00
build-evidence-fusion-adversarial-fixtures.mjs refactor: remove legacy compatibility paths (#64) 2026-05-13 15:55:00 +02:00
build-public-npm-package.mjs fix: align release provenance metadata 2026-05-19 16:10:30 +02:00
build-public-npm-package.test.mjs fix: align release provenance metadata 2026-05-19 16:10:30 +02:00
build-python-runtime-wheel.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
build-python-runtime-wheel.test.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
check-boundaries.mjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
check-boundaries.test.mjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
ci-artifact-upload.test.mjs ci: parallelize KTX CI checks 2026-05-12 01:44:15 +02:00
conductor-run.sh [codex] Add Conductor workspace scripts (#2) 2026-05-11 09:55:42 +02:00
conductor-scripts.test.mjs perf(setup): speed up conductor setup and make it rerun-safe (#107) 2026-05-15 12:06:37 +02:00
conductor-setup.sh chore: preserve superpowers docs symlink in worktrees (#158) 2026-05-20 00:11:38 +02:00
examples-docs.test.mjs docs: rewrite Semantic Querying concept with imperative-vs-declarative diagram (#156) 2026-05-19 23:41:29 +02:00
installed-live-database-smoke.mjs fix: remove project from ktx config (#95) 2026-05-14 17:39:31 +02:00
installed-live-database-smoke.test.mjs fix: remove project from ktx config (#95) 2026-05-14 17:39:31 +02:00
link-dev-cli.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
link-dev-cli.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
local-embeddings-runtime-smoke.mjs fix(cli): simplify setup flags and agents tty handling (#155) 2026-05-19 19:23:35 +02:00
local-embeddings-runtime-smoke.test.mjs fix(cli): simplify setup flags and agents tty handling (#155) 2026-05-19 19:23:35 +02:00
normalize-lcov-paths.mjs ci: configure Codecov coverage uploads (#150) 2026-05-19 16:56:48 +02:00
normalize-lcov-paths.test.mjs ci: configure Codecov coverage uploads (#150) 2026-05-19 16:56:48 +02:00
package-artifacts.mjs fix(cli): simplify setup flags and agents tty handling (#155) 2026-05-19 19:23:35 +02:00
package-artifacts.test.mjs fix: publish first stable release as 0.1.0 (#143) 2026-05-19 15:52:30 +02:00
prepare-cli-bin.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
public-benchmark-manifest.json ci: run pre-commit checks in CI (#74) 2026-05-13 19:49:25 +02:00
public-npm-release-metadata.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
public-npm-release-metadata.test.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
published-package-smoke-config.mjs fix(cli): remove ktx setup subcommands (#42) 2026-05-13 00:38:26 +02:00
published-package-smoke.mjs fix(release): repair next npm release workflow (#122) 2026-05-17 01:41:07 +02:00
published-package-smoke.test.mjs fix(release): repair next npm release workflow (#122) 2026-05-17 01:41:07 +02:00
relationship-orbit-verification.mjs feat: merge ingest and scan 2026-05-14 01:43:06 +02:00
relationship-orbit-verification.test.mjs feat: merge ingest and scan 2026-05-14 01:43:06 +02:00
release-readiness.mjs feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
release-readiness.test.mjs fix: improve setup wizard behavior (#127) 2026-05-17 19:15:09 +02:00
release-workflow.test.mjs ci: simplify ktx release flow (#149) 2026-05-19 16:40:23 +02:00
run-ktx.mjs perf(cli): cache pnpm run ktx builds against a stamp file (#113) 2026-05-15 15:49:39 +02:00
run-ktx.test.mjs perf(cli): cache pnpm run ktx builds against a stamp file (#113) 2026-05-15 15:49:39 +02:00
semantic-release-config.cjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
semantic-release-config.test.mjs fix(ci): publish the pre-built tarball instead of re-packing (#159) 2026-05-20 00:55:15 +02:00
setup-dev.mjs fix(cli): build runtime assets during dev setup (#121) 2026-05-17 01:04:44 +02:00
setup-dev.test.mjs fix(cli): build runtime assets during dev setup (#121) 2026-05-17 01:04:44 +02:00
standalone-ci-workflow.test.mjs ci: run pre-commit checks in CI (#74) 2026-05-13 19:49:25 +02:00
test-tiering.test.mjs [codex] Add Conductor workspace scripts (#2) 2026-05-11 09:55:42 +02:00
update-public-release-version.mjs feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
update-public-release-version.test.mjs feat: add claude-code llm backend with runtime port (#115) 2026-05-16 12:06:34 +02:00
validate-llm-debug-jsonl.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00
validate-llm-debug-jsonl.test.mjs rename klo to ktx 2026-05-10 23:51:24 +02:00