@massu/core 1.16.1 → 1.16.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.
- package/CHANGELOG.md +27 -0
- package/dist/cli.js +1 -1
- package/dist/hooks/session-end.js +1 -1
- package/dist/hooks/session-start.js +1 -1
- package/dist/hooks/user-prompt.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,33 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
10
10
|
> redistributed under the **Apache License 2.0**. Full license + NOTICE:
|
|
11
11
|
> `packages/core/assets/embedder/MODEL-LICENSE`.
|
|
12
12
|
|
|
13
|
+
## [1.16.2] - 2026-07-15
|
|
14
|
+
|
|
15
|
+
### Security
|
|
16
|
+
|
|
17
|
+
- **License-response signature verification is now STRICT by default (SEC-3 cutover).** The client
|
|
18
|
+
previously ACCEPTED unsigned or wrong-key `/validate-key` responses with a one-shot warning
|
|
19
|
+
(transition mode) unless the operator set `MASSU_REQUIRE_SIGNED_LICENSE=true`. As of `1.16.2`,
|
|
20
|
+
strict mode is the DEFAULT: an unsigned or invalid-signature response is rejected and the client
|
|
21
|
+
falls through to the grace-period cache or the free tier, closing the MITM / malicious-endpoint
|
|
22
|
+
tier-forgery window for good. This is safe because `1.16.1` shipped the rotated key as the bundled
|
|
23
|
+
PRIMARY pubkey and production signs every successful response with it (verified by a live
|
|
24
|
+
`valid:true` signature smoke). The only way back to warn-and-accept is an explicit
|
|
25
|
+
`MASSU_REQUIRE_SIGNED_LICENSE=false` — an emergency valve for a production signing outage.
|
|
26
|
+
|
|
27
|
+
### Fixed
|
|
28
|
+
|
|
29
|
+
- **Public-sync boundary correction (repo tooling; no npm-package change).** Completing the `1.16.1`
|
|
30
|
+
public sync surfaced that its sync tooling wrongly copied `.claude/agents/` and
|
|
31
|
+
`.claude/commands/_verification-laws.md` into the public git repo to satisfy an
|
|
32
|
+
internal-governance test's DOGFOOD assertion. That crosses the documented public/internal boundary:
|
|
33
|
+
the review/workflow agents reach users through the npm package (`@massu/core` `files:
|
|
34
|
+
["agents/**/*"]`), not the public git repo, and the public-repo leak-guard allowlist intentionally
|
|
35
|
+
omits `.claude/agents/`. `1.16.2` reverts those copies and instead excludes
|
|
36
|
+
`verification-laws-shipped-and-wired.test.ts` from the mirror (the same pattern already used for
|
|
37
|
+
the other internal-only governance drift-guards), and genericizes two dev-script comments that
|
|
38
|
+
referenced internal incident paths so the public mirror carries no dangling internal references.
|
|
39
|
+
|
|
13
40
|
## [1.16.1] - 2026-07-14
|
|
14
41
|
|
|
15
42
|
### Security
|
package/dist/cli.js
CHANGED
|
@@ -16577,7 +16577,7 @@ function verifyLicenseResponse(payload) {
|
|
|
16577
16577
|
);
|
|
16578
16578
|
}
|
|
16579
16579
|
function isLicenseSignatureRequired() {
|
|
16580
|
-
return process.env.MASSU_REQUIRE_SIGNED_LICENSE
|
|
16580
|
+
return process.env.MASSU_REQUIRE_SIGNED_LICENSE !== "false";
|
|
16581
16581
|
}
|
|
16582
16582
|
var init_license_response_verifier = __esm({
|
|
16583
16583
|
"src/security/license-response-verifier.ts"() {
|
|
@@ -4176,7 +4176,7 @@ function verifyLicenseResponse(payload) {
|
|
|
4176
4176
|
);
|
|
4177
4177
|
}
|
|
4178
4178
|
function isLicenseSignatureRequired() {
|
|
4179
|
-
return process.env.MASSU_REQUIRE_SIGNED_LICENSE
|
|
4179
|
+
return process.env.MASSU_REQUIRE_SIGNED_LICENSE !== "false";
|
|
4180
4180
|
}
|
|
4181
4181
|
|
|
4182
4182
|
// src/license.ts
|
|
@@ -12819,7 +12819,7 @@ function verifyLicenseResponse(payload) {
|
|
|
12819
12819
|
);
|
|
12820
12820
|
}
|
|
12821
12821
|
function isLicenseSignatureRequired() {
|
|
12822
|
-
return process.env.MASSU_REQUIRE_SIGNED_LICENSE
|
|
12822
|
+
return process.env.MASSU_REQUIRE_SIGNED_LICENSE !== "false";
|
|
12823
12823
|
}
|
|
12824
12824
|
|
|
12825
12825
|
// src/license.ts
|
|
@@ -3635,7 +3635,7 @@ function verifyLicenseResponse(payload) {
|
|
|
3635
3635
|
);
|
|
3636
3636
|
}
|
|
3637
3637
|
function isLicenseSignatureRequired() {
|
|
3638
|
-
return process.env.MASSU_REQUIRE_SIGNED_LICENSE
|
|
3638
|
+
return process.env.MASSU_REQUIRE_SIGNED_LICENSE !== "false";
|
|
3639
3639
|
}
|
|
3640
3640
|
|
|
3641
3641
|
// src/license.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@massu/core",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AI Engineering Governance MCP Server - Session memory, knowledge system, feature registry, code intelligence, rule enforcement, tiered tooling (12 free / 73 total), 56 workflow commands, 11 agents, 20+ patterns",
|
|
6
6
|
"main": "./dist/cli.js",
|