@hivemagnus/magnus 3.0.1 → 3.0.2

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.
Files changed (1) hide show
  1. package/package.json +23 -10
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hivemagnus/magnus",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "Install, upgrade and roll back a Magnus server and console with one command: `npx @hivemagnus/magnus init`, then `magnus upgrade`. Pins exact, tested component versions, backs up PostgreSQL before every migration and reverts automatically when the new version fails its health check.",
5
5
  "keywords": [
6
6
  "magnus",
@@ -47,7 +47,7 @@
47
47
  "clean": "node -e \"const fs=require('node:fs');fs.rmSync('dist',{recursive:true,force:true});fs.rmSync('tsconfig.tsbuildinfo',{force:true})\""
48
48
  },
49
49
  "dependencies": {
50
- "@hivemagnus/magnus-contracts": "3.0.1"
50
+ "@hivemagnus/magnus-contracts": "3.0.2"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/node": "^24.19.2",
@@ -56,29 +56,42 @@
56
56
  },
57
57
  "magnusRelease": {
58
58
  "schema": 1,
59
- "version": "3.0.1",
59
+ "version": "3.0.2",
60
60
  "engines": {
61
61
  "node": "^24.22.3 || ^26.13.1"
62
62
  },
63
63
  "components": {
64
- "@hivemagnus/magnus-server": "3.0.1",
65
- "@hivemagnus/magnus-ui": "3.0.1",
66
- "@hivemagnus/magnus-contracts": "3.0.1",
67
- "@hivemagnus/magnus-agent": "3.0.1"
64
+ "@hivemagnus/magnus-server": "3.0.2",
65
+ "@hivemagnus/magnus-ui": "3.0.2",
66
+ "@hivemagnus/magnus-contracts": "3.0.2",
67
+ "@hivemagnus/magnus-agent": "3.0.2"
68
68
  },
69
69
  "breaking": false,
70
70
  "minUpgradeFrom": "2.10.2",
71
71
  "engineProtocol": 2,
72
72
  "newRequiredEnv": [],
73
- "newOptionalEnv": [],
73
+ "newOptionalEnv": [
74
+ {
75
+ "name": "RESULT_SIGNING_PREVIOUS_SECRET",
76
+ "component": "server",
77
+ "secret": true,
78
+ "description": "Verify-only previous value of RESULT_SIGNING_SECRET: evidence and console drain findings stored with it keep verifying; nothing new is signed with it. Move RESULT_SIGNING_SECRET here to retire the shared key."
79
+ },
80
+ {
81
+ "name": "COMMAND_RECONCILIATION_PREVIOUS_SECRET",
82
+ "component": "agent",
83
+ "secret": true,
84
+ "description": "Verify-only previous value of COMMAND_RECONCILIATION_SECRET: historical-mutation settlements and recorded decisions stored with it keep verifying; nothing new is signed with it. After magnus-agent historical-settlements reseal --apply it can be removed."
85
+ }
86
+ ],
74
87
  "removedEnv": [],
75
88
  "migrations": [],
76
89
  "agent": {
77
90
  "selfUpgradeProtocol": 1,
78
91
  "minLauncher": 1
79
92
  },
80
- "summary": "Agents can now be moved across a major version through the managed upgrade. magnus-server agents upgrade --to <3.x> --allow-major (allowMajor in POST /api/v1/agents/upgrade) adds to each request that crosses a major an authorization signed with the server key for that node, the version it runs, the target and its tarball integrity, valid one hour; 2.10.3 and later agents with a bound key verify it against the server key they pin, and refuse anything else. Without --allow-major such nodes stay MAJOR_VERSION. The dry run lists agents 2.10.0 to 2.10.2 as needing the 2.10.3 stepping stone, which this server installs as an ordinary patch. Procedure for a 2.10.2 fleet: agents upgrade --to 2.10.3, then --to 3.0.1 --allow-major. The 3.0.1 agent verifies the same authorization. No migrations and no new settings. See docs/NODE_CREDENTIALS.md, Moving agents across a major version.",
81
- "notesUrl": "https://github.com/ChefTaco/magnus/releases/tag/v3.0.1",
93
+ "summary": "Lets a fleet drop the last two shared node secrets. Server: the console drain finding it records for itself (RESOURCE_ENROLLMENT_DASHBOARD_PARTICIPANT=absent) is signed with the server Ed25519 key (keyId stored, verifies across rotation) instead of RESULT_SIGNING_SECRET, the host-local and OS scheduler writer proofs are fetched whether or not RESULT_SIGNING_SECRET is set (agents sign them with their node key), and evidence and findings stored with the shared key verify from RESULT_SIGNING_PREVIOUS_SECRET alone. Agent: COMMAND_RECONCILIATION_PREVIOUS_SECRET is a verify-only slot for historical-mutation settlements and recorded decisions; magnus-agent historical-settlements list | reseal | prune --unverifiable reports how each settlement verifies, re-MACs those signed with a shared key with the node-local keys, and archives those no key verifies to a root-only directory (dry run by default). No migrations. Mixes with 3.0.1 in both directions. See docs/NODE_CREDENTIALS.md, Retiring the shared keys.",
94
+ "notesUrl": "https://github.com/ChefTaco/magnus/releases/tag/v3.0.2",
82
95
  "allowScripts": {
83
96
  "@prisma/engines": true,
84
97
  "argon2": true,