@neuroverseos/governance 0.2.3 → 0.3.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/package.json +4 -2
- package/policies/content-moderation-rules.txt +8 -0
- package/policies/marketing-rules.txt +8 -0
- package/policies/science-research-rules.txt +11 -0
- package/policies/social-media-rules.txt +7 -0
- package/policies/strict-rules.txt +8 -0
- package/policies/trading-rules.txt +8 -0
- package/simulate.html +1899 -0
- package/dist/adapters/autoresearch.cjs +0 -196
- package/dist/adapters/autoresearch.d.cts +0 -103
- package/dist/adapters/autoresearch.d.ts +0 -103
- package/dist/adapters/autoresearch.js +0 -7
- package/dist/adapters/deep-agents.cjs +0 -1472
- package/dist/adapters/deep-agents.d.cts +0 -181
- package/dist/adapters/deep-agents.d.ts +0 -181
- package/dist/adapters/deep-agents.js +0 -17
- package/dist/adapters/express.cjs +0 -1196
- package/dist/adapters/express.d.cts +0 -66
- package/dist/adapters/express.d.ts +0 -66
- package/dist/adapters/express.js +0 -12
- package/dist/adapters/index.cjs +0 -2038
- package/dist/adapters/index.d.cts +0 -8
- package/dist/adapters/index.d.ts +0 -8
- package/dist/adapters/index.js +0 -68
- package/dist/adapters/langchain.cjs +0 -1259
- package/dist/adapters/langchain.d.cts +0 -89
- package/dist/adapters/langchain.d.ts +0 -89
- package/dist/adapters/langchain.js +0 -17
- package/dist/adapters/openai.cjs +0 -1289
- package/dist/adapters/openai.d.cts +0 -99
- package/dist/adapters/openai.d.ts +0 -99
- package/dist/adapters/openai.js +0 -17
- package/dist/adapters/openclaw.cjs +0 -1281
- package/dist/adapters/openclaw.d.cts +0 -99
- package/dist/adapters/openclaw.d.ts +0 -99
- package/dist/adapters/openclaw.js +0 -17
- package/dist/bootstrap-GXVDZNF7.js +0 -114
- package/dist/build-X5MZY4IA.js +0 -339
- package/dist/chunk-4L6OPKMQ.js +0 -100
- package/dist/chunk-4NGDRRQH.js +0 -10
- package/dist/chunk-5U2MQO5P.js +0 -57
- package/dist/chunk-6BB55YJI.js +0 -113
- package/dist/chunk-6CZSKEY5.js +0 -164
- package/dist/chunk-7P3S7MAY.js +0 -1090
- package/dist/chunk-A5W4GNQO.js +0 -130
- package/dist/chunk-AF2VX4AL.js +0 -363
- package/dist/chunk-AKW5YVCE.js +0 -96
- package/dist/chunk-BMOXICAB.js +0 -340
- package/dist/chunk-BQZMOEML.js +0 -43
- package/dist/chunk-D2UCV5AK.js +0 -326
- package/dist/chunk-EVDJUSZ2.js +0 -91
- package/dist/chunk-FYS2CBUW.js +0 -304
- package/dist/chunk-I3RRAYK2.js +0 -11
- package/dist/chunk-IZSO75NZ.js +0 -792
- package/dist/chunk-JCKSW2PZ.js +0 -304
- package/dist/chunk-JZPQGIKR.js +0 -79
- package/dist/chunk-KTFTTLTP.js +0 -246
- package/dist/chunk-MH7BT4VH.js +0 -15
- package/dist/chunk-ORJ3NOE6.js +0 -622
- package/dist/chunk-OT6PXH54.js +0 -61
- package/dist/chunk-Q6O7ZLO2.js +0 -62
- package/dist/chunk-QLPTHTVB.js +0 -253
- package/dist/chunk-REXY4LUL.js +0 -226
- package/dist/chunk-T5EUJQE5.js +0 -172
- package/dist/chunk-TTBKTF3P.js +0 -608
- package/dist/chunk-XPDMYECO.js +0 -642
- package/dist/chunk-YZFATT7X.js +0 -9
- package/dist/chunk-ZIVQNSZU.js +0 -119
- package/dist/chunk-ZJTDUCC2.js +0 -194
- package/dist/cli/neuroverse.cjs +0 -12564
- package/dist/cli/neuroverse.d.cts +0 -1
- package/dist/cli/neuroverse.d.ts +0 -1
- package/dist/cli/neuroverse.js +0 -208
- package/dist/cli/plan.cjs +0 -1686
- package/dist/cli/plan.d.cts +0 -20
- package/dist/cli/plan.d.ts +0 -20
- package/dist/cli/plan.js +0 -353
- package/dist/cli/run.cjs +0 -1945
- package/dist/cli/run.d.cts +0 -20
- package/dist/cli/run.d.ts +0 -20
- package/dist/cli/run.js +0 -143
- package/dist/configure-ai-TK67ZWZL.js +0 -132
- package/dist/decision-flow-LETV5NWY.js +0 -61
- package/dist/derive-7365SUFU.js +0 -152
- package/dist/doctor-QYISMKEL.js +0 -173
- package/dist/equity-penalties-63FGB3I2.js +0 -244
- package/dist/explain-A2EWI2OL.js +0 -51
- package/dist/guard-3BWL3IGH.js +0 -92
- package/dist/guard-contract-C9_zKbzd.d.cts +0 -821
- package/dist/guard-contract-C9_zKbzd.d.ts +0 -821
- package/dist/guard-engine-QFMIBWJY.js +0 -10
- package/dist/impact-UB6DXKSX.js +0 -59
- package/dist/improve-XZA57GER.js +0 -66
- package/dist/index.cjs +0 -6821
- package/dist/index.d.cts +0 -1829
- package/dist/index.d.ts +0 -1829
- package/dist/index.js +0 -430
- package/dist/infer-world-7GVZWFX4.js +0 -543
- package/dist/init-PKPIYHYE.js +0 -144
- package/dist/init-world-VWMQZQC7.js +0 -223
- package/dist/mcp-server-XWQZXNW7.js +0 -13
- package/dist/model-adapter-BB7G4MFI.js +0 -11
- package/dist/playground-ADWZORNV.js +0 -550
- package/dist/redteam-JRQ7FD2F.js +0 -357
- package/dist/session-MMYX5YCF.js +0 -15
- package/dist/shared--Q8wPBVN.d.ts +0 -60
- package/dist/shared-HpAG90PX.d.cts +0 -60
- package/dist/shared-U2QFV7JH.js +0 -16
- package/dist/simulate-GMIFFXYV.js +0 -83
- package/dist/test-JBBZ65X4.js +0 -217
- package/dist/trace-3MYWIDEF.js +0 -166
- package/dist/validate-LLBWVPGV.js +0 -81
- package/dist/validate-engine-UIABSIHD.js +0 -7
- package/dist/world-BFJCIQSH.js +0 -378
- package/dist/world-loader-HMPTOEA2.js +0 -9
- package/dist/worlds/autoresearch.nv-world.md +0 -230
- package/dist/worlds/coding-agent.nv-world.md +0 -211
- package/dist/worlds/derivation-world.nv-world.md +0 -278
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neuroverseos/governance",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Deterministic governance engine for AI agents — enforce worlds (permanent rules) and plans (mission constraints) with full audit trace",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -60,6 +60,8 @@
|
|
|
60
60
|
"files": [
|
|
61
61
|
"dist",
|
|
62
62
|
"dist/worlds",
|
|
63
|
+
"policies",
|
|
64
|
+
"simulate.html",
|
|
63
65
|
"LICENSE.md",
|
|
64
66
|
"README.md",
|
|
65
67
|
"AGENTS.md",
|
|
@@ -68,7 +70,7 @@
|
|
|
68
70
|
".well-known"
|
|
69
71
|
],
|
|
70
72
|
"scripts": {
|
|
71
|
-
"build": "tsup src/index.ts src/cli/neuroverse.ts src/cli/plan.ts src/cli/run.ts src/adapters/index.ts src/adapters/langchain.ts src/adapters/openai.ts src/adapters/openclaw.ts src/adapters/express.ts src/adapters/autoresearch.ts src/adapters/deep-agents.ts --format esm,cjs --dts --clean && cp src/worlds
|
|
73
|
+
"build": "tsup src/index.ts src/cli/neuroverse.ts src/cli/plan.ts src/cli/run.ts src/adapters/index.ts src/adapters/langchain.ts src/adapters/openai.ts src/adapters/openclaw.ts src/adapters/express.ts src/adapters/autoresearch.ts src/adapters/deep-agents.ts --format esm,cjs --dts --clean && cp src/worlds/*.nv-world.md dist/worlds/",
|
|
72
74
|
"prebuild": "mkdir -p dist/worlds",
|
|
73
75
|
"dev": "tsup src/index.ts src/cli/neuroverse.ts --format esm,cjs --dts --watch",
|
|
74
76
|
"test": "vitest run",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Block content containing hate speech or targeted harassment
|
|
2
|
+
Penalize accounts that repeatedly post flagged content
|
|
3
|
+
Halt viral spread of content under active review
|
|
4
|
+
Require human review for content reported by 3+ users
|
|
5
|
+
Block coordinated inauthentic behavior patterns
|
|
6
|
+
Reward users who flag harmful content accurately
|
|
7
|
+
Penalize engagement farming (rage bait, outrage amplification)
|
|
8
|
+
Block automated reposting from accounts created in last 24 hours
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Block campaigns that target users under 18
|
|
2
|
+
Penalize agents using misleading product claims
|
|
3
|
+
Block promotions with fake urgency ("limited time only" without actual deadline)
|
|
4
|
+
Require disclosure when content is sponsored or paid
|
|
5
|
+
Halt campaign when negative sentiment exceeds 60%
|
|
6
|
+
Penalize repetitive posting of identical promotional content
|
|
7
|
+
Reward authentic user testimonials and honest reviews
|
|
8
|
+
Block astroturfing (coordinated fake grassroots campaigns)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Scientific Research Integrity Policy
|
|
2
|
+
|
|
3
|
+
Require at least 2 peer-reviewed sources before analysis can proceed
|
|
4
|
+
Require confidence level above 0.7 for publication
|
|
5
|
+
Require cross-referencing of at least 3 independent sources
|
|
6
|
+
Require uncertainty language when confidence is below 0.9
|
|
7
|
+
Monitor for investigations with unfulfilled needs signals
|
|
8
|
+
Block publication when paper_count is 0
|
|
9
|
+
Block synthesis artifacts with zero citations or sources
|
|
10
|
+
Block claims that lack specific source citations
|
|
11
|
+
Block ml_prediction artifacts that use synthetic or unnamed features
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Block posts that amplify unverified claims
|
|
2
|
+
Block sharing content with influence above 0.5 when is_misinfo is true
|
|
3
|
+
Penalize agents that share without verifying sources
|
|
4
|
+
Halt cascade when misinfo_level exceeds 40%
|
|
5
|
+
Reward agents that report misinformation
|
|
6
|
+
Block bot agents from creating posts
|
|
7
|
+
Penalize agents with credibility below 0.2 from posting
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Strict Market Controls
|
|
2
|
+
|
|
3
|
+
Block all short selling during crisis periods
|
|
4
|
+
Prohibit algorithmic trading when volatility exceeds 80
|
|
5
|
+
Block unverified large orders during market stress
|
|
6
|
+
Limit all position sizes to 2x leverage maximum
|
|
7
|
+
Require cooling period between trades during panic
|
|
8
|
+
Halt all trading if liquidity drops below 10%
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Market Stability Policy
|
|
2
|
+
|
|
3
|
+
Block panic selling during extreme volatility
|
|
4
|
+
Limit leverage to 5x during elevated market stress
|
|
5
|
+
Maintain minimum liquidity floor at 15% of baseline
|
|
6
|
+
Require all large position changes to be reported
|
|
7
|
+
Slow down algorithmic trading when contagion is spreading
|
|
8
|
+
Monitor cross-market correlation for systemic risk
|