@vela-science/canopus 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.3 - 2026-07-19
4
+
5
+ - Add the stable `canopus --version` and `canopus -V` probes required for exact
6
+ runtime discovery and clean-install diagnosis.
7
+ - Write release checksums with portable basenames so `shasum -a 256 -c
8
+ SHA256SUMS` works in the directory where users download the assets.
9
+ - Preserve `v0.4.2` and its valid npm/GitHub provenance as a released artifact;
10
+ `0.4.3` is the corrected default install target.
11
+
3
12
  ## 0.4.2 - 2026-07-19
4
13
 
5
14
  - Preserve the failed `v0.4.1` tag and its verified GitHub build attestation as
package/dist/src/cli.js CHANGED
@@ -15,6 +15,7 @@ import { doctorProduct } from "./product/doctor.js";
15
15
  import { replayProduct } from "./product/replay.js";
16
16
  import { runProduct } from "./product/run.js";
17
17
  import { withdrawProduct } from "./product/withdraw.js";
18
+ import { CANOPUS_VERSION } from "./product/version.js";
18
19
  import { listProductProfiles, packProductProfile, validateProductProfile, } from "./product/profile-bundle.js";
19
20
  import { loadProductProfile } from "./product/profile.js";
20
21
  import { runCanopus } from "./run.js";
@@ -25,6 +26,7 @@ function usage() {
25
26
  return `Canopus — bounded Vela research harness
26
27
 
27
28
  Primary workflow:
29
+ canopus --version
28
30
  canopus doctor [frontier]
29
31
  canopus run [frontier] [--first | --target <id>] [--profile <name>] \\
30
32
  [--output <dir>] [--no-land]
@@ -446,6 +448,12 @@ async function main(argv) {
446
448
  process.stdout.write(`${usage()}\n`);
447
449
  return;
448
450
  }
451
+ if (command === "--version" || command === "-V") {
452
+ if (file !== undefined)
453
+ throw new Error("--version accepts no arguments");
454
+ process.stdout.write(`canopus ${CANOPUS_VERSION}\n`);
455
+ return;
456
+ }
449
457
  if (command === "mission") {
450
458
  await missionCommand(argv.slice(1));
451
459
  return;
package/docs/RELEASES.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Release evidence
2
2
 
3
- ## Canopus v0.4.2
3
+ ## Canopus v0.4.3
4
4
 
5
- The source package advertises `0.4.0`. The public npm namespace was bootstrapped
5
+ The source package advertises `0.4.3`. The public npm namespace was bootstrapped
6
6
  once with `0.4.0-rc.1` under the `next` tag so the package could bind its exact
7
7
  GitHub Actions trusted publisher. That bootstrap used interactive human 2FA,
8
8
  has no provenance attestation, and earns no release credit. Package publishing
@@ -13,10 +13,13 @@ corrected `v0.4.1` workflow passed both validation jobs and verified its GitHub
13
13
  build attestation, but npm interpreted `release/*.tgz` as a GitHub repository
14
14
  shorthand and stopped before OIDC publication; no npm package or GitHub release
15
15
  was created. Both tags are retained as failure evidence and are not moved. The
16
- corrected exact `v0.4.2` tag/version pair is
17
- published only by `.github/workflows/release.yml` in environment `npm`; the
18
- workflow must produce and verify both npm SLSA provenance and a GitHub build
19
- attestation before creating the matching GitHub release.
16
+ corrected exact `v0.4.2` tag/version pair became the first stable package
17
+ published only by `.github/workflows/release.yml` in environment `npm`. An
18
+ independent clean-install smoke then found that its checksum manifest retained
19
+ the build-directory prefix and that the CLI lacked a direct version probe.
20
+ `v0.4.3` fixes both public-release UX defects. Its workflow must produce and
21
+ verify both npm SLSA provenance and a GitHub build attestation before creating
22
+ the matching GitHub release.
20
23
 
21
24
  The first registered quantum mission stopped safely before verification or
22
25
  landing because provider-reported usage exceeded its frozen 100,000-token
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vela-science/canopus",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "A bounded, replaceable research harness over released Vela interfaces",
5
5
  "type": "module",
6
6
  "private": false,