@hivemagnus/magnus 3.0.0 → 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 +24 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hivemagnus/magnus",
3
- "version": "3.0.0",
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.0"
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.0",
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.0",
65
- "@hivemagnus/magnus-ui": "3.0.0",
66
- "@hivemagnus/magnus-contracts": "3.0.0",
67
- "@hivemagnus/magnus-agent": "3.0.0"
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
- "breaking": true,
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": "Per-node credentials, phase 3: NODE_AUTH_MODE defaults to enforce on the server and the agent. The shared node secret is refused and no longer sent in either direction, HMAC-only evidence and decisions are refused, the automatic legacy upgrade is closed and NODE_AUTO_REGISTER is off. A server with the mode unset refuses to start while any real node lacks an active key or its agent does not sign evidence (or is 2.10.0/2.10.1), naming them; an explicit compat or warn keeps working for this major and is deprecated. NODE_MANAGER_SECRET and RESULT_SIGNING_SECRET are no longer required outside compat and warn. Adds server-key rotation (stage, promote, retire) and a two-ADMIN approval for scheduler-source settlements in place of the reviewer HMAC. No migrations. Upgrade from 2.10.2 only: optionally run 2.10.2 in warn for a day, confirm GET /api/v1/node-credentials/summary reports no blockers, remove NODE_AUTH_MODE and upgrade the server with --allow-major; 2.10.2 agents keep working, and moving an agent to 3.0.0 crosses a major, so it is done by hand on the node. Roll back by setting NODE_AUTH_MODE=compat. See docs/NODE_CREDENTIALS.md.",
81
- "notesUrl": "https://github.com/ChefTaco/magnus/releases/tag/v3.0.0",
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,