@neuroverseos/governance 0.8.0 → 0.9.0
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/AGENTS.md +8 -0
- package/README.md +180 -10
- package/dist/{chunk-MC6O5GV5.js → chunk-3ZWU7C43.js} +1056 -135
- package/dist/{chunk-VGFDMPVB.js → chunk-TCGGED4G.js} +283 -1
- package/dist/cli/neuroverse.cjs +2000 -460
- package/dist/cli/radiant.cjs +1452 -237
- package/dist/cli/radiant.js +62 -24
- package/dist/cli/worldmodel.cjs +1157 -823
- package/dist/cli/worldmodel.js +116 -1
- package/dist/{lenses-K5FVSALR.js → lenses-XDWK6ZKI.js} +5 -3
- package/dist/radiant/index.cjs +953 -130
- package/dist/radiant/index.d.cts +271 -10
- package/dist/radiant/index.d.ts +271 -10
- package/dist/radiant/index.js +41 -397
- package/dist/{server-DFNY5N5A.js → server-JKUBUK5H.js} +2 -2
- package/dist/worldmodel-create-5SWHVNMQ.js +195 -0
- package/examples/radiant-weekly-workflow.yml +81 -0
- package/package.json +2 -1
package/AGENTS.md
CHANGED
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
Runtime containment for AI agents. Define what an agent can and cannot do, then enforce it at every action. Deterministic — same event + same rules = same verdict. No LLM in the evaluation loop.
|
|
6
6
|
|
|
7
|
+
> **Where the NeuroverseOS worldmodel lives.** The canonical Sovereign Conduit
|
|
8
|
+
> worldmodel is at [github.com/NeuroverseOS/Worlds](https://github.com/NeuroverseOS/Worlds).
|
|
9
|
+
> Every NeuroverseOS repo — including this one — auto-loads it via the
|
|
10
|
+
> org-detect discovery tier. A reference sample sits at
|
|
11
|
+
> `src/radiant/examples/neuroverse-base/` (alongside `src/radiant/examples/auki/`)
|
|
12
|
+
> for developers who want to see the format. Do not edit the sample — edit the
|
|
13
|
+
> source.
|
|
14
|
+
|
|
7
15
|
## Quick Start for Agents
|
|
8
16
|
|
|
9
17
|
### Install
|
package/README.md
CHANGED
|
@@ -22,28 +22,80 @@ Both ship in `@neuroverseos/governance`. Install once, use either or both.
|
|
|
22
22
|
|
|
23
23
|
## Radiant — behavioral intelligence for collaboration
|
|
24
24
|
|
|
25
|
-
Radiant gives meaning to behavior. It reads activity
|
|
25
|
+
Radiant gives meaning to behavior. It reads activity across every tool your team uses, classifies each event by who did it (human, AI, or both together), extracts behavioral signals, identifies patterns through AI interpretation governed by the worldmodel, and produces a structured read.
|
|
26
|
+
|
|
27
|
+
### Five data sources, one pipeline
|
|
28
|
+
|
|
29
|
+
| Source | What it reads | What it reveals |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| **GitHub** | Commits, PRs, reviews, comments | What was SHIPPED — architecture decisions, code quality, collaboration patterns |
|
|
32
|
+
| **ExoCortex** | attention.md, goals.md, sprint.md | What was STATED — the gap between intent and action is drift |
|
|
33
|
+
| **Discord** | Channel messages, threads, help requests | How the team COMMUNICATES — response times, newcomer welcome, unresolved debates |
|
|
34
|
+
| **Slack** | Workspace messages, partner channels | How the team COORDINATES externally — client engagement, coalition alignment |
|
|
35
|
+
| **Notion** | Page creation, updates, staleness | How the team DOCUMENTS — knowledge crystallization, doc gaps, decision records |
|
|
36
|
+
|
|
37
|
+
All five produce `Event[]` → same pipeline → one read. One command, all sources:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx @neuroverseos/governance radiant emergent aukilabs/ \
|
|
41
|
+
--lens auki-builder --worlds ./worlds/ --view team
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Three views for different scopes
|
|
26
45
|
|
|
27
46
|
```bash
|
|
28
|
-
|
|
29
|
-
|
|
47
|
+
--view community # public repos + public channels. Anyone can reproduce.
|
|
48
|
+
--view team # + private repos + team channels. Team exocortex.
|
|
49
|
+
--view full # + cross-exocortex comparison. Leader's view.
|
|
30
50
|
```
|
|
31
51
|
|
|
32
|
-
|
|
52
|
+
### Org-level reads
|
|
53
|
+
|
|
54
|
+
Point at an entire GitHub org, not just one repo:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
radiant emergent aukilabs/ # entire org
|
|
58
|
+
radiant emergent aukilabs/exocortex # single repo
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### Output structure
|
|
33
62
|
|
|
34
63
|
```
|
|
35
64
|
EMERGENT — what patterns are visible in the team's work
|
|
36
|
-
MEANING — what it means against the worldmodel
|
|
65
|
+
MEANING — what it means against the worldmodel (plain English, no jargon)
|
|
37
66
|
MOVE — what to do about it (or "nothing's broken, keep shipping")
|
|
38
67
|
ALIGNMENT — L/C/N/R scores (human, AI, collaboration, composite)
|
|
39
68
|
GOVERNANCE — audit trail: which events triggered governance, on which side
|
|
40
69
|
DEPTH — what Radiant can see now vs what unlocks with more reads
|
|
41
70
|
```
|
|
42
71
|
|
|
43
|
-
Three scores nobody else measures
|
|
44
|
-
|
|
45
|
-
- **
|
|
46
|
-
- **
|
|
72
|
+
### Three alignment scores nobody else measures
|
|
73
|
+
|
|
74
|
+
- **L (Human work)** — is the human's activity aligned with the declared model? Not productivity — alignment.
|
|
75
|
+
- **C (AI work)** — is the AI's output governed by the worldmodel? Right vocabulary? Invariants respected?
|
|
76
|
+
- **N (Human–AI collaboration)** — when human and AI work together, is shared meaning preserved? This score only exists because the worldmodel provides a shared frame to measure against.
|
|
77
|
+
|
|
78
|
+
### Memory + evolution
|
|
79
|
+
|
|
80
|
+
Radiant writes each read to the ExoCortex as a dated Memory Palace file. Next run reads prior history, detects pattern persistence, and proposes worldmodel evolution — what to ADD (recurring candidate patterns) and what to REMOVE (invariants that haven't fired). A lean worldmodel with 5 sharp invariants is stronger than a bloated one with 20.
|
|
81
|
+
|
|
82
|
+
### MCP server
|
|
83
|
+
|
|
84
|
+
Configure Claude Code to call Radiant in conversation — no terminal needed:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"mcpServers": {
|
|
89
|
+
"radiant": {
|
|
90
|
+
"command": "npx",
|
|
91
|
+
"args": ["@neuroverseos/governance", "radiant", "mcp",
|
|
92
|
+
"--worlds", "./worlds/", "--lens", "auki-builder"]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
Ask Claude: *"What's emerging in aukilabs/exocortex this week?"* — Claude calls `radiant_emergent` behind the scenes and responds conversationally.
|
|
47
99
|
|
|
48
100
|
For the full Radiant documentation, see [`src/radiant/examples/auki/README.md`](src/radiant/examples/auki/README.md).
|
|
49
101
|
|
|
@@ -496,7 +548,7 @@ A World is a `.nv-world.md` file. It contains everything:
|
|
|
496
548
|
| **Guards** | Domain-specific enforcement |
|
|
497
549
|
| **Gates** | Viability classification |
|
|
498
550
|
|
|
499
|
-
|
|
551
|
+
Four ways to create a world. All produce the same `WorldDefinition` object:
|
|
500
552
|
|
|
501
553
|
```
|
|
502
554
|
Path 1: Configurator (12 questions)
|
|
@@ -507,6 +559,9 @@ Path 2: CLI
|
|
|
507
559
|
|
|
508
560
|
Path 3: Code
|
|
509
561
|
defineWorld({...}) → WorldDefinition
|
|
562
|
+
|
|
563
|
+
Path 4: World Model Builder (mission + skills + values + overlaps)
|
|
564
|
+
.worldmodel.md → neuroverse worldmodel build → .nv-world.md → WorldDefinition
|
|
510
565
|
```
|
|
511
566
|
|
|
512
567
|
All three work with the same runtime. A world created through the configurator works identically to one written by hand.
|
|
@@ -695,6 +750,7 @@ const verdict = evaluatePlan({ intent: 'buy billboard ads' }, plan);
|
|
|
695
750
|
| `neuroverse mcp` | MCP governance server |
|
|
696
751
|
| `neuroverse plan` | Plan enforcement commands |
|
|
697
752
|
| `neuroverse lens` | Manage behavioral lenses (list, preview, compile) |
|
|
753
|
+
| `neuroverse worldmodel` | Behavioral world model builder (init, validate, build, explain) |
|
|
698
754
|
|
|
699
755
|
### Lens CLI
|
|
700
756
|
|
|
@@ -718,6 +774,120 @@ neuroverse lens compare --input "I'm stressed" --lenses stoic,coach,calm
|
|
|
718
774
|
neuroverse lens add --world ./world/ --name "Support" --tagline "Patient and clear" --emotion warm
|
|
719
775
|
```
|
|
720
776
|
|
|
777
|
+
### World Model CLI
|
|
778
|
+
|
|
779
|
+
Build behavioral world models from mission, skills, values, and emergent overlap effects.
|
|
780
|
+
|
|
781
|
+
A `.worldmodel.md` file defines three layers:
|
|
782
|
+
|
|
783
|
+
1. **Core Model Geometry** — mission, domains (each carrying skills + values), overlap effects, center identity
|
|
784
|
+
2. **Contextual Modifiers** — authority layers, spatial contexts, interpretation rules
|
|
785
|
+
3. **Evolution Layer** — aligned/drift behaviors, signals, decision priorities, evolution conditions
|
|
786
|
+
|
|
787
|
+
The compiler transforms this into executable governance artifacts:
|
|
788
|
+
|
|
789
|
+
```bash
|
|
790
|
+
# Scaffold a new behavioral model
|
|
791
|
+
neuroverse worldmodel init --name "My Model"
|
|
792
|
+
|
|
793
|
+
# Validate structure and completeness
|
|
794
|
+
neuroverse worldmodel validate ./my-model.worldmodel.md
|
|
795
|
+
|
|
796
|
+
# Human-readable model summary
|
|
797
|
+
neuroverse worldmodel explain ./my-model.worldmodel.md
|
|
798
|
+
|
|
799
|
+
# Compile to .nv-world.md + signals + overlaps + contexts + lenses
|
|
800
|
+
neuroverse worldmodel build ./my-model.worldmodel.md --output ./world/
|
|
801
|
+
|
|
802
|
+
# Emit individual artifacts
|
|
803
|
+
neuroverse worldmodel emit-world ./my-model.worldmodel.md
|
|
804
|
+
neuroverse worldmodel emit-signals ./my-model.worldmodel.md
|
|
805
|
+
neuroverse worldmodel emit-lenses ./my-model.worldmodel.md
|
|
806
|
+
neuroverse worldmodel emit-contexts ./my-model.worldmodel.md
|
|
807
|
+
neuroverse worldmodel emit-overlaps ./my-model.worldmodel.md
|
|
808
|
+
```
|
|
809
|
+
|
|
810
|
+
Example `.worldmodel.md`:
|
|
811
|
+
|
|
812
|
+
```markdown
|
|
813
|
+
---
|
|
814
|
+
name: Auki Vanguard
|
|
815
|
+
version: 1.0.0
|
|
816
|
+
---
|
|
817
|
+
|
|
818
|
+
# Core Model Geometry
|
|
819
|
+
|
|
820
|
+
## Mission
|
|
821
|
+
Build the real world web while preserving long-term mission alignment.
|
|
822
|
+
|
|
823
|
+
## Domains
|
|
824
|
+
|
|
825
|
+
### Future Foresight
|
|
826
|
+
#### Skills
|
|
827
|
+
- Strategic Thinking
|
|
828
|
+
- Systems Design
|
|
829
|
+
#### Values
|
|
830
|
+
- Long-term thinking
|
|
831
|
+
- Intellectual honesty
|
|
832
|
+
|
|
833
|
+
### Narrative Dynamics
|
|
834
|
+
#### Skills
|
|
835
|
+
- Storytelling
|
|
836
|
+
- Communication Design
|
|
837
|
+
#### Values
|
|
838
|
+
- Authenticity
|
|
839
|
+
- Clarity
|
|
840
|
+
|
|
841
|
+
## Overlap Effects
|
|
842
|
+
- Future Foresight + Narrative Dynamics = Inspiration
|
|
843
|
+
|
|
844
|
+
## Center Identity
|
|
845
|
+
Collective Vanguard Leader
|
|
846
|
+
|
|
847
|
+
# Contextual Modifiers
|
|
848
|
+
|
|
849
|
+
## Authority Layers
|
|
850
|
+
- founder
|
|
851
|
+
- contributor
|
|
852
|
+
- agent
|
|
853
|
+
|
|
854
|
+
## Spatial Contexts
|
|
855
|
+
- strategy
|
|
856
|
+
- execution
|
|
857
|
+
- deployment
|
|
858
|
+
|
|
859
|
+
## Interpretation Rules
|
|
860
|
+
- ambiguity from a founder carries more system-wide risk than from a contributor
|
|
861
|
+
|
|
862
|
+
# Evolution Layer
|
|
863
|
+
|
|
864
|
+
## Aligned Behaviors
|
|
865
|
+
- communicates future direction in ways others can act on
|
|
866
|
+
|
|
867
|
+
## Drift Behaviors
|
|
868
|
+
- mission language disconnected from execution
|
|
869
|
+
|
|
870
|
+
## Signals
|
|
871
|
+
- clarity
|
|
872
|
+
- ownership
|
|
873
|
+
- follow_through
|
|
874
|
+
|
|
875
|
+
## Decision Priorities
|
|
876
|
+
- long_term_ecosystem > short_term_convenience
|
|
877
|
+
|
|
878
|
+
## Evolution Conditions
|
|
879
|
+
- propose model updates when repeated behavior contradicts a current assumption
|
|
880
|
+
```
|
|
881
|
+
|
|
882
|
+
The deterministic compiler produces:
|
|
883
|
+
- **`.nv-world.md`** — executable world file (thesis, invariants, state, rules, gates, outcomes, lenses)
|
|
884
|
+
- **`signals.json`** — signal schema for behavioral tracking
|
|
885
|
+
- **`overlaps.json`** — overlap map with pairwise domain effects and matrix view
|
|
886
|
+
- **`contexts.json`** — contextual modifiers for interpretation shaping
|
|
887
|
+
- **`lenses.json`** — lens suggestions derived from overlap effects
|
|
888
|
+
|
|
889
|
+
Two bundled examples ship with the package: `auki-vanguard.worldmodel.md` and `neuroverse-governance.worldmodel.md`.
|
|
890
|
+
|
|
721
891
|
---
|
|
722
892
|
|
|
723
893
|
## Architecture
|