@node9/policy-engine 2.39.0 → 2.40.1

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/dist/index.js CHANGED
@@ -2297,7 +2297,7 @@ var CHECK_TEXT = {
2297
2297
  "actions.money": {
2298
2298
  plain: "The agent moves money (a refund, a payout, a transfer, a charge) through an app node9 has no protection for, such as an internal billing server.",
2299
2299
  example: "refund_order on a server called acme-billing",
2300
- advice: "Keep Review. When the app is Stripe or PayPal, turn on its own protection instead: it covers the CLI, the API and scripts too, and a call from it no longer comes here."
2300
+ advice: "Standard records these and Strict asks. Set Review to be asked before every money move at any level. When the app is Stripe or PayPal, turn on its own protection instead: it covers the CLI, the API and scripts too, and a call from it no longer comes here."
2301
2301
  },
2302
2302
  "actions.access": {
2303
2303
  plain: "The agent changes a password, a key, a role or who belongs to a team, through an app node9 has no protection for.",
@@ -2525,7 +2525,9 @@ var STRICT = {
2525
2525
  "network.unknown-host": "review",
2526
2526
  "network.internal-addresses": "block",
2527
2527
  "behavior.prompt-injection": "log",
2528
- "loading.skill-tamper": "block"
2528
+ "loading.skill-tamper": "block",
2529
+ // Standard records money moves (catalog default log); Strict asks.
2530
+ "actions.money": "review"
2529
2531
  };
2530
2532
  var BLOCK_ALL = {
2531
2533
  ...STRICT,
@@ -2978,7 +2980,10 @@ var PRODUCT_CHECKS = [
2978
2980
  title: "Money moves",
2979
2981
  catches: "a refund, payout, transfer, charge or withdrawal through an app with no protection of its own",
2980
2982
  values: ALL,
2981
- defaultValue: "review",
2983
+ // Founder decision 2026-10-25: a transfer the user asked for is ordinary
2984
+ // work. Standard records it; Strict asks (levels.ts); a user who wants to
2985
+ // be asked states review.
2986
+ defaultValue: "log",
2982
2987
  legacy: generalActionRuleNames("finance")
2983
2988
  },
2984
2989
  {
package/dist/index.mjs CHANGED
@@ -2047,7 +2047,7 @@ var CHECK_TEXT = {
2047
2047
  "actions.money": {
2048
2048
  plain: "The agent moves money (a refund, a payout, a transfer, a charge) through an app node9 has no protection for, such as an internal billing server.",
2049
2049
  example: "refund_order on a server called acme-billing",
2050
- advice: "Keep Review. When the app is Stripe or PayPal, turn on its own protection instead: it covers the CLI, the API and scripts too, and a call from it no longer comes here."
2050
+ advice: "Standard records these and Strict asks. Set Review to be asked before every money move at any level. When the app is Stripe or PayPal, turn on its own protection instead: it covers the CLI, the API and scripts too, and a call from it no longer comes here."
2051
2051
  },
2052
2052
  "actions.access": {
2053
2053
  plain: "The agent changes a password, a key, a role or who belongs to a team, through an app node9 has no protection for.",
@@ -2275,7 +2275,9 @@ var STRICT = {
2275
2275
  "network.unknown-host": "review",
2276
2276
  "network.internal-addresses": "block",
2277
2277
  "behavior.prompt-injection": "log",
2278
- "loading.skill-tamper": "block"
2278
+ "loading.skill-tamper": "block",
2279
+ // Standard records money moves (catalog default log); Strict asks.
2280
+ "actions.money": "review"
2279
2281
  };
2280
2282
  var BLOCK_ALL = {
2281
2283
  ...STRICT,
@@ -2728,7 +2730,10 @@ var PRODUCT_CHECKS = [
2728
2730
  title: "Money moves",
2729
2731
  catches: "a refund, payout, transfer, charge or withdrawal through an app with no protection of its own",
2730
2732
  values: ALL,
2731
- defaultValue: "review",
2733
+ // Founder decision 2026-10-25: a transfer the user asked for is ordinary
2734
+ // work. Standard records it; Strict asks (levels.ts); a user who wants to
2735
+ // be asked states review.
2736
+ defaultValue: "log",
2732
2737
  legacy: generalActionRuleNames("finance")
2733
2738
  },
2734
2739
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node9/policy-engine",
3
- "version": "2.39.0",
3
+ "version": "2.40.1",
4
4
  "description": "Shared policy evaluation engine for node9 — DLP, smart rules, AST shell parsing, shields, loop detection. Pure functions, no I/O. Used by both node9-proxy and the node9 SaaS firewall.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://node9.ai",