progmune-runtime 3.3.4 → 3.3.6
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/protocol-detector.js +3 -0
- package/package.json +46 -46
|
@@ -363,6 +363,8 @@ const SAFEGUARD_RULES = [
|
|
|
363
363
|
/listpack/, // Redis internal data structure
|
|
364
364
|
/readSync|readQuery/, // internal I/O
|
|
365
365
|
/findBig|findKey|findPk/, // internal search (not API)
|
|
366
|
+
/get_cache\w*/, // cache machinery (get_cache_alias — not data access)
|
|
367
|
+
/get_context_data/, // Django CBV context assembly — framework verb
|
|
366
368
|
],
|
|
367
369
|
},
|
|
368
370
|
// Mutations without any authentication. The Unauthenticated Access rule above
|
|
@@ -388,6 +390,7 @@ const SAFEGUARD_RULES = [
|
|
|
388
390
|
/set_ssl_/, // SSL config setter
|
|
389
391
|
/set_config/, // configuration setter
|
|
390
392
|
/set_option/, // option setter
|
|
393
|
+
/\bsetup\b/, // framework/component setup — configuration, not data mutation
|
|
391
394
|
],
|
|
392
395
|
},
|
|
393
396
|
// ── Data Integrity (Foreign Key Validation) ──
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "progmune-runtime",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.6",
|
|
4
4
|
"description": "Progmune — AI Trust Decision Engine. Verify AI-generated code before it reaches production. Outputs APPROVED / NEEDS_REVIEW / BLOCKED with evidence.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/",
|
|
@@ -22,55 +22,55 @@
|
|
|
22
22
|
"test:coverage": "vitest run --coverage",
|
|
23
23
|
"ir": "node dist/extract-ir.js .",
|
|
24
24
|
"guard": "node -e \"require('./dist/validator.js'); console.log('✅ 校验器已加载')\"",
|
|
25
|
-
"obs": "
|
|
26
|
-
"obs-web": "
|
|
25
|
+
"obs": "node dist/semantic-trace.js",
|
|
26
|
+
"obs-web": "node dist/obs-web.js",
|
|
27
27
|
"check": "node dist/check.js",
|
|
28
|
-
"audit": "
|
|
29
|
-
"governance": "
|
|
30
|
-
"governance:json": "
|
|
31
|
-
"governance:md": "
|
|
32
|
-
"certify": "
|
|
33
|
-
"certify:html": "
|
|
34
|
-
"policy": "
|
|
35
|
-
"precision": "
|
|
36
|
-
"precision:all": "
|
|
37
|
-
"precision:repo": "
|
|
38
|
-
"precision:label": "
|
|
39
|
-
"precision:label:c": "
|
|
40
|
-
"precision:report": "
|
|
41
|
-
"precision:report:c": "
|
|
42
|
-
"precision:resource": "
|
|
28
|
+
"audit": "node dist/audit.js",
|
|
29
|
+
"governance": "node dist/audit/cli.js --all",
|
|
30
|
+
"governance:json": "node dist/audit/cli.js --all --json",
|
|
31
|
+
"governance:md": "node dist/audit/cli.js --all --markdown",
|
|
32
|
+
"certify": "node dist/certify.js",
|
|
33
|
+
"certify:html": "node dist/certify-html.js",
|
|
34
|
+
"policy": "node dist/policy/cli.js check",
|
|
35
|
+
"precision": "node dist/multi-repo-precision.js",
|
|
36
|
+
"precision:all": "node dist/multi-repo-precision.js --all",
|
|
37
|
+
"precision:repo": "node dist/multi-repo-precision.js --repos",
|
|
38
|
+
"precision:label": "node dist/precision-label.js",
|
|
39
|
+
"precision:label:c": "node dist/precision-label-c.js",
|
|
40
|
+
"precision:report": "node dist/precision-report.js",
|
|
41
|
+
"precision:report:c": "node dist/precision-report-c.js",
|
|
42
|
+
"precision:resource": "node dist/resource-detector.js",
|
|
43
43
|
"ci": "npx ts-node bin/progmune-ci.ts --project .",
|
|
44
|
-
"dashboard": "
|
|
45
|
-
"verify-api": "
|
|
46
|
-
"trust": "
|
|
47
|
-
"express": "
|
|
48
|
-
"trust:json": "
|
|
49
|
-
"trust-api": "
|
|
50
|
-
"knowledge-api": "
|
|
51
|
-
"knowledge:scan": "
|
|
52
|
-
"knowledge:propose": "
|
|
53
|
-
"knowledge:changelog": "
|
|
54
|
-
"status": "
|
|
55
|
-
"badge": "
|
|
56
|
-
"kb:package": "
|
|
57
|
-
"kb:evidence": "
|
|
58
|
-
"kb:diff": "
|
|
59
|
-
"kb:graph": "
|
|
60
|
-
"kb:graph:tree": "
|
|
61
|
-
"kb:graph:matrix": "
|
|
62
|
-
"kb:flywheel": "
|
|
63
|
-
"kb:flywheel:scan": "
|
|
64
|
-
"kb:flywheel:status": "
|
|
44
|
+
"dashboard": "node dist/governance-dashboard.js",
|
|
45
|
+
"verify-api": "node dist/verify-api.js",
|
|
46
|
+
"trust": "node dist/trust/cli.js",
|
|
47
|
+
"express": "node dist/frameworks/express-cli.js",
|
|
48
|
+
"trust:json": "node dist/trust/cli.js --json",
|
|
49
|
+
"trust-api": "node dist/trust-api.js",
|
|
50
|
+
"knowledge-api": "node dist/knowledge-api.js",
|
|
51
|
+
"knowledge:scan": "node dist/knowledge-evolution.js scan",
|
|
52
|
+
"knowledge:propose": "node dist/knowledge-evolution.js propose",
|
|
53
|
+
"knowledge:changelog": "node dist/knowledge-evolution.js changelog",
|
|
54
|
+
"status": "node dist/progmune-status.js",
|
|
55
|
+
"badge": "node dist/badge/badge-server.js",
|
|
56
|
+
"kb:package": "node dist/knowledge-package.js --all",
|
|
57
|
+
"kb:evidence": "node dist/evidence-growth.js suggest",
|
|
58
|
+
"kb:diff": "node dist/knowledge-evolution.js diff",
|
|
59
|
+
"kb:graph": "node dist/knowledge-graph.js",
|
|
60
|
+
"kb:graph:tree": "node dist/knowledge-graph.js --tree",
|
|
61
|
+
"kb:graph:matrix": "node dist/knowledge-graph.js --matrix",
|
|
62
|
+
"kb:flywheel": "node dist/knowledge-flywheel.js",
|
|
63
|
+
"kb:flywheel:scan": "node dist/knowledge-flywheel.js scan",
|
|
64
|
+
"kb:flywheel:status": "node dist/knowledge-flywheel.js status",
|
|
65
65
|
"coverage": "npx ts-node blind-benchmark/taxonomy/coverage-dashboard.ts",
|
|
66
|
-
"sdk": "
|
|
67
|
-
"sdk:compat": "
|
|
68
|
-
"provenance": "
|
|
69
|
-
"plsb": "
|
|
70
|
-
"plsb:export": "
|
|
66
|
+
"sdk": "node dist/sdk.js",
|
|
67
|
+
"sdk:compat": "node dist/sdk.js compat",
|
|
68
|
+
"provenance": "node dist/ledger/cli.js",
|
|
69
|
+
"plsb": "node dist/plsb/cli.js --summary",
|
|
70
|
+
"plsb:export": "node dist/plsb/cli.js --all",
|
|
71
71
|
"replay-golden": "npx ts-node --transpile-only test/replay-golden.ts",
|
|
72
|
-
"corpus:stats": "
|
|
73
|
-
"corpus:mine": "
|
|
72
|
+
"corpus:stats": "node dist/corpus-stats.js",
|
|
73
|
+
"corpus:mine": "node dist/rule-miner.js",
|
|
74
74
|
"test:integration": "vitest run tests/integration/",
|
|
75
75
|
"test:perf": "vitest run tests/performance/",
|
|
76
76
|
"test:e2e": "vitest run tests/e2e/",
|