@neuroverseos/governance 0.8.1 → 0.10.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 +120 -2
- package/dist/{chunk-ETDIEVAX.js → chunk-BZYQHJDM.js} +800 -54
- package/dist/{chunk-F2LWMOM5.js → chunk-TCGGED4G.js} +14 -14
- package/dist/cli/neuroverse.cjs +1362 -219
- package/dist/cli/radiant.cjs +1212 -116
- package/dist/cli/radiant.d.cts +44 -1
- package/dist/cli/radiant.d.ts +44 -1
- package/dist/cli/radiant.js +354 -28
- package/dist/cli/worldmodel.cjs +1055 -1000
- package/dist/cli/worldmodel.js +40 -0
- package/dist/{lenses-YDMKSXDL.js → lenses-XDWK6ZKI.js} +1 -1
- package/dist/radiant/index.cjs +826 -62
- package/dist/radiant/index.d.cts +304 -19
- package/dist/radiant/index.d.ts +304 -19
- package/dist/radiant/index.js +30 -2
- package/dist/{server-ZSQ6DRSN.js → server-EI5JCIBU.js} +2 -2
- package/examples/radiant-weekly-workflow.yml +84 -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
|
@@ -77,7 +77,7 @@ DEPTH — what Radiant can see now vs what unlocks with more reads
|
|
|
77
77
|
|
|
78
78
|
### Memory + evolution
|
|
79
79
|
|
|
80
|
-
Radiant writes each read to the ExoCortex as a dated
|
|
80
|
+
Radiant writes each read to the ExoCortex as a dated Mind 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
81
|
|
|
82
82
|
### MCP server
|
|
83
83
|
|
|
@@ -548,7 +548,7 @@ A World is a `.nv-world.md` file. It contains everything:
|
|
|
548
548
|
| **Guards** | Domain-specific enforcement |
|
|
549
549
|
| **Gates** | Viability classification |
|
|
550
550
|
|
|
551
|
-
|
|
551
|
+
Four ways to create a world. All produce the same `WorldDefinition` object:
|
|
552
552
|
|
|
553
553
|
```
|
|
554
554
|
Path 1: Configurator (12 questions)
|
|
@@ -559,6 +559,9 @@ Path 2: CLI
|
|
|
559
559
|
|
|
560
560
|
Path 3: Code
|
|
561
561
|
defineWorld({...}) → WorldDefinition
|
|
562
|
+
|
|
563
|
+
Path 4: World Model Builder (mission + skills + values + overlaps)
|
|
564
|
+
.worldmodel.md → neuroverse worldmodel build → .nv-world.md → WorldDefinition
|
|
562
565
|
```
|
|
563
566
|
|
|
564
567
|
All three work with the same runtime. A world created through the configurator works identically to one written by hand.
|
|
@@ -747,6 +750,7 @@ const verdict = evaluatePlan({ intent: 'buy billboard ads' }, plan);
|
|
|
747
750
|
| `neuroverse mcp` | MCP governance server |
|
|
748
751
|
| `neuroverse plan` | Plan enforcement commands |
|
|
749
752
|
| `neuroverse lens` | Manage behavioral lenses (list, preview, compile) |
|
|
753
|
+
| `neuroverse worldmodel` | Behavioral world model builder (init, validate, build, explain) |
|
|
750
754
|
|
|
751
755
|
### Lens CLI
|
|
752
756
|
|
|
@@ -770,6 +774,120 @@ neuroverse lens compare --input "I'm stressed" --lenses stoic,coach,calm
|
|
|
770
774
|
neuroverse lens add --world ./world/ --name "Support" --tagline "Patient and clear" --emotion warm
|
|
771
775
|
```
|
|
772
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
|
+
|
|
773
891
|
---
|
|
774
892
|
|
|
775
893
|
## Architecture
|