@neuroverseos/governance 0.8.0 → 0.8.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/README.md +61 -9
- package/dist/{chunk-MC6O5GV5.js → chunk-ETDIEVAX.js} +766 -131
- package/dist/{chunk-VGFDMPVB.js → chunk-F2LWMOM5.js} +283 -1
- package/dist/cli/neuroverse.cjs +1500 -346
- package/dist/cli/radiant.cjs +1095 -217
- package/dist/cli/radiant.js +4 -4
- package/dist/cli/worldmodel.cjs +300 -21
- package/dist/cli/worldmodel.js +76 -1
- package/dist/{lenses-K5FVSALR.js → lenses-YDMKSXDL.js} +5 -3
- package/dist/radiant/index.cjs +654 -130
- package/dist/radiant/index.d.cts +136 -10
- package/dist/radiant/index.d.ts +136 -10
- package/dist/radiant/index.js +23 -397
- package/dist/{server-DFNY5N5A.js → server-ZSQ6DRSN.js} +2 -2
- package/dist/worldmodel-create-5SWHVNMQ.js +195 -0
- package/package.json +1 -1
package/dist/radiant/index.d.cts
CHANGED
|
@@ -544,6 +544,31 @@ declare function classifyActorDomain(event: Event): ActorDomain;
|
|
|
544
544
|
*/
|
|
545
545
|
declare const aukiBuilderLens: RenderingLens;
|
|
546
546
|
|
|
547
|
+
/**
|
|
548
|
+
* @neuroverseos/governance/radiant — Sovereign Conduit Lens
|
|
549
|
+
*
|
|
550
|
+
* The rendering lens for the NeuroVerseOS base worldmodel. Where the
|
|
551
|
+
* aukiBuilderLens encodes how Auki-grade builders think and speak,
|
|
552
|
+
* this lens encodes how the Sovereign Conduit thinks and speaks.
|
|
553
|
+
*
|
|
554
|
+
* The voice is fundamentally different from the builder lens:
|
|
555
|
+
* - Warm, not compressed. Accessible, not technical.
|
|
556
|
+
* - Analogies from everyday life (mom rules, friend's house, idea
|
|
557
|
+
* calculator), not from architecture (stacks, bottlenecks, territory).
|
|
558
|
+
* - Emotions named, not contained. When governance works, it feels
|
|
559
|
+
* like trust. When it fails, it feels like being funneled. Say so.
|
|
560
|
+
* - The audience is everyone — leaders, parents, people learning AI,
|
|
561
|
+
* people who don't code. If a mom can't understand the output, the
|
|
562
|
+
* voice is wrong.
|
|
563
|
+
* - Teaching, not lecturing. Every output helps people think for
|
|
564
|
+
* themselves. The difference: lecturing tells you what to think.
|
|
565
|
+
* Teaching helps you think.
|
|
566
|
+
*
|
|
567
|
+
* Tagline: Humanity first. In constant learning. In shared teaching.
|
|
568
|
+
*/
|
|
569
|
+
|
|
570
|
+
declare const sovereignConduitLens: RenderingLens;
|
|
571
|
+
|
|
547
572
|
/**
|
|
548
573
|
* @neuroverseos/governance/radiant/lenses
|
|
549
574
|
*
|
|
@@ -557,10 +582,9 @@ declare const aukiBuilderLens: RenderingLens;
|
|
|
557
582
|
* registered set.
|
|
558
583
|
*
|
|
559
584
|
* Current registry:
|
|
560
|
-
* - auki-builder — Auki's vanguard leadership lens.
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
* domain. See ./auki-builder.ts for the content.
|
|
585
|
+
* - auki-builder — Auki's vanguard leadership lens.
|
|
586
|
+
* - sovereign-conduit — NeuroVerseOS base lens. Warm, accessible,
|
|
587
|
+
* teaching. Stewardship / Sovereignty / Integration.
|
|
564
588
|
*
|
|
565
589
|
* To add a new lens:
|
|
566
590
|
* 1. Create src/radiant/lenses/<name>.ts exporting a `RenderingLens`.
|
|
@@ -924,13 +948,17 @@ interface ExocortexContext {
|
|
|
924
948
|
filesLoaded: number;
|
|
925
949
|
}
|
|
926
950
|
/**
|
|
927
|
-
* Read stated intent from an exocortex directory
|
|
951
|
+
* Read stated intent from an exocortex directory, optionally scoped
|
|
952
|
+
* to a specific project.
|
|
953
|
+
*
|
|
954
|
+
* When a repoName is provided (e.g. "reconstruction-server"), the reader
|
|
955
|
+
* looks for a matching subdirectory in the exocortex (symlinked project
|
|
956
|
+
* repos in the Auki exocortex pattern) and reads project-specific
|
|
957
|
+
* sprint.md and roadmap.md alongside the global personal context.
|
|
928
958
|
*
|
|
929
|
-
* Silently skips missing files.
|
|
930
|
-
* with only attention.md is still useful — partial context is better
|
|
931
|
-
* than no context.
|
|
959
|
+
* Silently skips missing files. Partial context is better than no context.
|
|
932
960
|
*/
|
|
933
|
-
declare function readExocortex(dirPath: string): ExocortexContext;
|
|
961
|
+
declare function readExocortex(dirPath: string, repoName?: string): ExocortexContext;
|
|
934
962
|
/**
|
|
935
963
|
* Format the exocortex context as a section for the AI interpretation
|
|
936
964
|
* prompt. Only includes fields that were actually loaded.
|
|
@@ -1298,6 +1326,58 @@ interface RenderOutput {
|
|
|
1298
1326
|
}
|
|
1299
1327
|
declare function render(input: RenderInput): RenderOutput;
|
|
1300
1328
|
|
|
1329
|
+
/**
|
|
1330
|
+
* @neuroverseos/governance/radiant — world discovery
|
|
1331
|
+
*
|
|
1332
|
+
* Automatically discovers and loads worldmodels from three sources,
|
|
1333
|
+
* in precedence order:
|
|
1334
|
+
*
|
|
1335
|
+
* 1. NeuroVerse base (built-in, universal — always loaded)
|
|
1336
|
+
* 2. User worlds (~/.neuroverse/worlds/ — your personal model)
|
|
1337
|
+
* 3. Repo worlds (./worlds/ in the current repo — local authority)
|
|
1338
|
+
*
|
|
1339
|
+
* Worlds live where the work lives. You don't switch between them —
|
|
1340
|
+
* you walk into them. Open an Auki repo → Auki's worlds load.
|
|
1341
|
+
* Leave → they disappear. No toggle, no config, no removal.
|
|
1342
|
+
*
|
|
1343
|
+
* Precedence: repo > user > base. When you're in someone else's
|
|
1344
|
+
* system, their worlds take authority. Your personal world stays
|
|
1345
|
+
* as your baseline perspective. The NeuroVerse base is the universal
|
|
1346
|
+
* foundation both sit on top of.
|
|
1347
|
+
*/
|
|
1348
|
+
interface DiscoveredWorld {
|
|
1349
|
+
name: string;
|
|
1350
|
+
source: 'base' | 'user' | 'repo';
|
|
1351
|
+
path: string;
|
|
1352
|
+
content: string;
|
|
1353
|
+
}
|
|
1354
|
+
interface WorldStack {
|
|
1355
|
+
worlds: DiscoveredWorld[];
|
|
1356
|
+
/** Combined content for the AI prompt (compressed by the caller). */
|
|
1357
|
+
combinedContent: string;
|
|
1358
|
+
/** Human-readable list of what's loaded. */
|
|
1359
|
+
summary: string;
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* Discover and load worldmodels from all three sources.
|
|
1363
|
+
*
|
|
1364
|
+
* @param repoDir — the repo being analyzed (for repo-level worlds).
|
|
1365
|
+
* If not provided, skips repo-level discovery.
|
|
1366
|
+
* @param userWorldsDir — override for user worlds location.
|
|
1367
|
+
* Default: ~/.neuroverse/worlds/
|
|
1368
|
+
* @param explicitWorldsDir — explicit --worlds flag (overrides discovery).
|
|
1369
|
+
* When provided, this is used AS the repo-level source.
|
|
1370
|
+
*/
|
|
1371
|
+
declare function discoverWorlds(options?: {
|
|
1372
|
+
repoDir?: string;
|
|
1373
|
+
userWorldsDir?: string;
|
|
1374
|
+
explicitWorldsDir?: string;
|
|
1375
|
+
}): WorldStack;
|
|
1376
|
+
/**
|
|
1377
|
+
* Format the active worlds list for display in the output header.
|
|
1378
|
+
*/
|
|
1379
|
+
declare function formatActiveWorlds(stack: WorldStack): string;
|
|
1380
|
+
|
|
1301
1381
|
/**
|
|
1302
1382
|
* @neuroverseos/governance/radiant — Memory Palace file operations
|
|
1303
1383
|
*
|
|
@@ -1377,6 +1457,48 @@ declare function computePersistence(priorReads: PriorRead[], currentPatternNames
|
|
|
1377
1457
|
*/
|
|
1378
1458
|
declare function formatPriorReadsForPrompt(priorReads: PriorRead[]): string;
|
|
1379
1459
|
|
|
1460
|
+
/**
|
|
1461
|
+
* @neuroverseos/governance/radiant — Memory Palace compression
|
|
1462
|
+
*
|
|
1463
|
+
* Applies the three-tier principle to everything that enters the AI
|
|
1464
|
+
* prompt: raw data is not the memory; structured signals are.
|
|
1465
|
+
*
|
|
1466
|
+
* Compresses worldmodel content, exocortex context, lens data, and
|
|
1467
|
+
* prior reads into the minimum tokens the AI needs to produce a
|
|
1468
|
+
* good interpretation. Cuts prompt size by 60-70%.
|
|
1469
|
+
*/
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Compress a worldmodel markdown file into just the structured elements
|
|
1473
|
+
* the AI needs: invariants, decision priorities, signals, domains,
|
|
1474
|
+
* and mission (one line). Strips prose, commentary, and structure.
|
|
1475
|
+
*/
|
|
1476
|
+
declare function compressWorldmodel(content: string): string;
|
|
1477
|
+
/**
|
|
1478
|
+
* Compress exocortex context into one-line summaries per field.
|
|
1479
|
+
* The AI doesn't need the full prose — just the essence.
|
|
1480
|
+
*/
|
|
1481
|
+
declare function compressExocortex(ctx: ExocortexContext): string;
|
|
1482
|
+
/**
|
|
1483
|
+
* Compress a rendering lens into just what the AI interpreter needs:
|
|
1484
|
+
* evaluation questions + forbidden phrases + jargon translations.
|
|
1485
|
+
* Vocabulary substitutions and voice directives go to the renderer,
|
|
1486
|
+
* not the interpreter.
|
|
1487
|
+
*/
|
|
1488
|
+
declare function compressLens(lens: RenderingLens): {
|
|
1489
|
+
evaluationQuestions: string;
|
|
1490
|
+
scoringRubric: string;
|
|
1491
|
+
forbiddenPhrases: string;
|
|
1492
|
+
jargonTranslations: string;
|
|
1493
|
+
strategicPatterns: string;
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* Compress prior reads into pattern names + occurrence counts.
|
|
1497
|
+
* The AI needs to know WHAT was seen before and HOW OFTEN — not the
|
|
1498
|
+
* full frontmatter.
|
|
1499
|
+
*/
|
|
1500
|
+
declare function compressPriorReads(reads: PriorRead[]): string;
|
|
1501
|
+
|
|
1380
1502
|
/**
|
|
1381
1503
|
* @neuroverseos/governance/radiant — `think` command
|
|
1382
1504
|
*
|
|
@@ -1492,6 +1614,10 @@ interface EmergentResult {
|
|
|
1492
1614
|
};
|
|
1493
1615
|
/** Event count fetched from GitHub. */
|
|
1494
1616
|
eventCount: number;
|
|
1617
|
+
/** Active adapters used in this read. */
|
|
1618
|
+
activeAdapters?: string[];
|
|
1619
|
+
/** World stack — what worlds were discovered and loaded. */
|
|
1620
|
+
worldStack?: WorldStack;
|
|
1495
1621
|
}
|
|
1496
1622
|
declare function emergent(input: EmergentInput): Promise<EmergentResult>;
|
|
1497
1623
|
|
|
@@ -1531,4 +1657,4 @@ declare function emergent(input: EmergentInput): Promise<EmergentResult>;
|
|
|
1531
1657
|
*/
|
|
1532
1658
|
declare const RADIANT_PACKAGE_VERSION = "0.0.0";
|
|
1533
1659
|
|
|
1534
|
-
export { type Actor, type ActorDomain, type ActorKind, type AlignmentStatus, type BridgingComponent, type BridgingComponentScore, type ClassifiedEvent, type CyberCapability, type CyberDimension, DEFAULT_EVIDENCE_GATE, DEFAULT_SIGNAL_EXTRACTORS, type DiscordFetchOptions, type DiscordSignals, type EmergentInput, type EmergentResult, type Event, type EventReference, type EvidenceGate, type ExemplarRef, type ExocortexContext, type ExtractionResult, type GitHubFetchOptions, type GovernanceAudit, type GovernanceVerdict, type InterpretInput, type InterpretResult, LENSES, type LensVocabulary, type LifeCapability, type LifeDimension, type NotionFetchOptions, type NotionSignals, type ObservedPattern, type OrgScope, type OverlapDef, type PatternEvidence, type PatternPersistence, type PrimaryFrame, type PriorRead, RADIANT_PACKAGE_VERSION, type RadiantAI, type RenderInput, type RenderOutput, type RenderingLens, type RepoScope, type Scope, type Score, type ScoreSentinel, type ScoredObservation, type Signal, type SignalExtractor, type SignalMatrix, type SlackFetchOptions, type SlackSignals, type ThinkInput, type ThinkResult, type ViewLevel, type VoiceDirectives, type VoiceViolation, type WorldmodelItem, auditGovernance, aukiBuilderLens, checkForbiddenPhrases, classifyActorDomain, classifyEvents, composeSystemPrompt, computePersistence, createAnthropicAI, createMockAI, createMockGitHubAdapter, emergent, extractSignals, fetchDiscordActivity, fetchGitHubActivity, fetchGitHubOrgActivity, fetchNotionActivity, fetchSlackActivity, formatDiscordSignalsForPrompt, formatExocortexForPrompt, formatNotionSignalsForPrompt, formatPriorReadsForPrompt, formatScope, formatSlackSignalsForPrompt, formatTeamExocorticesForPrompt, getLens, interpretPatterns, isPresent, isScored, isSentinel, listLenses, loadPriorReads, parseRepoScope, parseScope, presenceAverage, readExocortex, readTeamExocortices, render, scoreComposite, scoreCyber, scoreLife, scoreNeuroVerse, summarizeExocortex, think, updateKnowledge, writeRead };
|
|
1660
|
+
export { type Actor, type ActorDomain, type ActorKind, type AlignmentStatus, type BridgingComponent, type BridgingComponentScore, type ClassifiedEvent, type CyberCapability, type CyberDimension, DEFAULT_EVIDENCE_GATE, DEFAULT_SIGNAL_EXTRACTORS, type DiscordFetchOptions, type DiscordSignals, type DiscoveredWorld, type EmergentInput, type EmergentResult, type Event, type EventReference, type EvidenceGate, type ExemplarRef, type ExocortexContext, type ExtractionResult, type GitHubFetchOptions, type GovernanceAudit, type GovernanceVerdict, type InterpretInput, type InterpretResult, LENSES, type LensVocabulary, type LifeCapability, type LifeDimension, type NotionFetchOptions, type NotionSignals, type ObservedPattern, type OrgScope, type OverlapDef, type PatternEvidence, type PatternPersistence, type PrimaryFrame, type PriorRead, RADIANT_PACKAGE_VERSION, type RadiantAI, type RenderInput, type RenderOutput, type RenderingLens, type RepoScope, type Scope, type Score, type ScoreSentinel, type ScoredObservation, type Signal, type SignalExtractor, type SignalMatrix, type SlackFetchOptions, type SlackSignals, type ThinkInput, type ThinkResult, type ViewLevel, type VoiceDirectives, type VoiceViolation, type WorldStack, type WorldmodelItem, auditGovernance, aukiBuilderLens, checkForbiddenPhrases, classifyActorDomain, classifyEvents, composeSystemPrompt, compressExocortex, compressLens, compressPriorReads, compressWorldmodel, computePersistence, createAnthropicAI, createMockAI, createMockGitHubAdapter, discoverWorlds, emergent, extractSignals, fetchDiscordActivity, fetchGitHubActivity, fetchGitHubOrgActivity, fetchNotionActivity, fetchSlackActivity, formatActiveWorlds, formatDiscordSignalsForPrompt, formatExocortexForPrompt, formatNotionSignalsForPrompt, formatPriorReadsForPrompt, formatScope, formatSlackSignalsForPrompt, formatTeamExocorticesForPrompt, getLens, interpretPatterns, isPresent, isScored, isSentinel, listLenses, loadPriorReads, parseRepoScope, parseScope, presenceAverage, readExocortex, readTeamExocortices, render, scoreComposite, scoreCyber, scoreLife, scoreNeuroVerse, sovereignConduitLens, summarizeExocortex, think, updateKnowledge, writeRead };
|
package/dist/radiant/index.d.ts
CHANGED
|
@@ -544,6 +544,31 @@ declare function classifyActorDomain(event: Event): ActorDomain;
|
|
|
544
544
|
*/
|
|
545
545
|
declare const aukiBuilderLens: RenderingLens;
|
|
546
546
|
|
|
547
|
+
/**
|
|
548
|
+
* @neuroverseos/governance/radiant — Sovereign Conduit Lens
|
|
549
|
+
*
|
|
550
|
+
* The rendering lens for the NeuroVerseOS base worldmodel. Where the
|
|
551
|
+
* aukiBuilderLens encodes how Auki-grade builders think and speak,
|
|
552
|
+
* this lens encodes how the Sovereign Conduit thinks and speaks.
|
|
553
|
+
*
|
|
554
|
+
* The voice is fundamentally different from the builder lens:
|
|
555
|
+
* - Warm, not compressed. Accessible, not technical.
|
|
556
|
+
* - Analogies from everyday life (mom rules, friend's house, idea
|
|
557
|
+
* calculator), not from architecture (stacks, bottlenecks, territory).
|
|
558
|
+
* - Emotions named, not contained. When governance works, it feels
|
|
559
|
+
* like trust. When it fails, it feels like being funneled. Say so.
|
|
560
|
+
* - The audience is everyone — leaders, parents, people learning AI,
|
|
561
|
+
* people who don't code. If a mom can't understand the output, the
|
|
562
|
+
* voice is wrong.
|
|
563
|
+
* - Teaching, not lecturing. Every output helps people think for
|
|
564
|
+
* themselves. The difference: lecturing tells you what to think.
|
|
565
|
+
* Teaching helps you think.
|
|
566
|
+
*
|
|
567
|
+
* Tagline: Humanity first. In constant learning. In shared teaching.
|
|
568
|
+
*/
|
|
569
|
+
|
|
570
|
+
declare const sovereignConduitLens: RenderingLens;
|
|
571
|
+
|
|
547
572
|
/**
|
|
548
573
|
* @neuroverseos/governance/radiant/lenses
|
|
549
574
|
*
|
|
@@ -557,10 +582,9 @@ declare const aukiBuilderLens: RenderingLens;
|
|
|
557
582
|
* registered set.
|
|
558
583
|
*
|
|
559
584
|
* Current registry:
|
|
560
|
-
* - auki-builder — Auki's vanguard leadership lens.
|
|
561
|
-
*
|
|
562
|
-
*
|
|
563
|
-
* domain. See ./auki-builder.ts for the content.
|
|
585
|
+
* - auki-builder — Auki's vanguard leadership lens.
|
|
586
|
+
* - sovereign-conduit — NeuroVerseOS base lens. Warm, accessible,
|
|
587
|
+
* teaching. Stewardship / Sovereignty / Integration.
|
|
564
588
|
*
|
|
565
589
|
* To add a new lens:
|
|
566
590
|
* 1. Create src/radiant/lenses/<name>.ts exporting a `RenderingLens`.
|
|
@@ -924,13 +948,17 @@ interface ExocortexContext {
|
|
|
924
948
|
filesLoaded: number;
|
|
925
949
|
}
|
|
926
950
|
/**
|
|
927
|
-
* Read stated intent from an exocortex directory
|
|
951
|
+
* Read stated intent from an exocortex directory, optionally scoped
|
|
952
|
+
* to a specific project.
|
|
953
|
+
*
|
|
954
|
+
* When a repoName is provided (e.g. "reconstruction-server"), the reader
|
|
955
|
+
* looks for a matching subdirectory in the exocortex (symlinked project
|
|
956
|
+
* repos in the Auki exocortex pattern) and reads project-specific
|
|
957
|
+
* sprint.md and roadmap.md alongside the global personal context.
|
|
928
958
|
*
|
|
929
|
-
* Silently skips missing files.
|
|
930
|
-
* with only attention.md is still useful — partial context is better
|
|
931
|
-
* than no context.
|
|
959
|
+
* Silently skips missing files. Partial context is better than no context.
|
|
932
960
|
*/
|
|
933
|
-
declare function readExocortex(dirPath: string): ExocortexContext;
|
|
961
|
+
declare function readExocortex(dirPath: string, repoName?: string): ExocortexContext;
|
|
934
962
|
/**
|
|
935
963
|
* Format the exocortex context as a section for the AI interpretation
|
|
936
964
|
* prompt. Only includes fields that were actually loaded.
|
|
@@ -1298,6 +1326,58 @@ interface RenderOutput {
|
|
|
1298
1326
|
}
|
|
1299
1327
|
declare function render(input: RenderInput): RenderOutput;
|
|
1300
1328
|
|
|
1329
|
+
/**
|
|
1330
|
+
* @neuroverseos/governance/radiant — world discovery
|
|
1331
|
+
*
|
|
1332
|
+
* Automatically discovers and loads worldmodels from three sources,
|
|
1333
|
+
* in precedence order:
|
|
1334
|
+
*
|
|
1335
|
+
* 1. NeuroVerse base (built-in, universal — always loaded)
|
|
1336
|
+
* 2. User worlds (~/.neuroverse/worlds/ — your personal model)
|
|
1337
|
+
* 3. Repo worlds (./worlds/ in the current repo — local authority)
|
|
1338
|
+
*
|
|
1339
|
+
* Worlds live where the work lives. You don't switch between them —
|
|
1340
|
+
* you walk into them. Open an Auki repo → Auki's worlds load.
|
|
1341
|
+
* Leave → they disappear. No toggle, no config, no removal.
|
|
1342
|
+
*
|
|
1343
|
+
* Precedence: repo > user > base. When you're in someone else's
|
|
1344
|
+
* system, their worlds take authority. Your personal world stays
|
|
1345
|
+
* as your baseline perspective. The NeuroVerse base is the universal
|
|
1346
|
+
* foundation both sit on top of.
|
|
1347
|
+
*/
|
|
1348
|
+
interface DiscoveredWorld {
|
|
1349
|
+
name: string;
|
|
1350
|
+
source: 'base' | 'user' | 'repo';
|
|
1351
|
+
path: string;
|
|
1352
|
+
content: string;
|
|
1353
|
+
}
|
|
1354
|
+
interface WorldStack {
|
|
1355
|
+
worlds: DiscoveredWorld[];
|
|
1356
|
+
/** Combined content for the AI prompt (compressed by the caller). */
|
|
1357
|
+
combinedContent: string;
|
|
1358
|
+
/** Human-readable list of what's loaded. */
|
|
1359
|
+
summary: string;
|
|
1360
|
+
}
|
|
1361
|
+
/**
|
|
1362
|
+
* Discover and load worldmodels from all three sources.
|
|
1363
|
+
*
|
|
1364
|
+
* @param repoDir — the repo being analyzed (for repo-level worlds).
|
|
1365
|
+
* If not provided, skips repo-level discovery.
|
|
1366
|
+
* @param userWorldsDir — override for user worlds location.
|
|
1367
|
+
* Default: ~/.neuroverse/worlds/
|
|
1368
|
+
* @param explicitWorldsDir — explicit --worlds flag (overrides discovery).
|
|
1369
|
+
* When provided, this is used AS the repo-level source.
|
|
1370
|
+
*/
|
|
1371
|
+
declare function discoverWorlds(options?: {
|
|
1372
|
+
repoDir?: string;
|
|
1373
|
+
userWorldsDir?: string;
|
|
1374
|
+
explicitWorldsDir?: string;
|
|
1375
|
+
}): WorldStack;
|
|
1376
|
+
/**
|
|
1377
|
+
* Format the active worlds list for display in the output header.
|
|
1378
|
+
*/
|
|
1379
|
+
declare function formatActiveWorlds(stack: WorldStack): string;
|
|
1380
|
+
|
|
1301
1381
|
/**
|
|
1302
1382
|
* @neuroverseos/governance/radiant — Memory Palace file operations
|
|
1303
1383
|
*
|
|
@@ -1377,6 +1457,48 @@ declare function computePersistence(priorReads: PriorRead[], currentPatternNames
|
|
|
1377
1457
|
*/
|
|
1378
1458
|
declare function formatPriorReadsForPrompt(priorReads: PriorRead[]): string;
|
|
1379
1459
|
|
|
1460
|
+
/**
|
|
1461
|
+
* @neuroverseos/governance/radiant — Memory Palace compression
|
|
1462
|
+
*
|
|
1463
|
+
* Applies the three-tier principle to everything that enters the AI
|
|
1464
|
+
* prompt: raw data is not the memory; structured signals are.
|
|
1465
|
+
*
|
|
1466
|
+
* Compresses worldmodel content, exocortex context, lens data, and
|
|
1467
|
+
* prior reads into the minimum tokens the AI needs to produce a
|
|
1468
|
+
* good interpretation. Cuts prompt size by 60-70%.
|
|
1469
|
+
*/
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Compress a worldmodel markdown file into just the structured elements
|
|
1473
|
+
* the AI needs: invariants, decision priorities, signals, domains,
|
|
1474
|
+
* and mission (one line). Strips prose, commentary, and structure.
|
|
1475
|
+
*/
|
|
1476
|
+
declare function compressWorldmodel(content: string): string;
|
|
1477
|
+
/**
|
|
1478
|
+
* Compress exocortex context into one-line summaries per field.
|
|
1479
|
+
* The AI doesn't need the full prose — just the essence.
|
|
1480
|
+
*/
|
|
1481
|
+
declare function compressExocortex(ctx: ExocortexContext): string;
|
|
1482
|
+
/**
|
|
1483
|
+
* Compress a rendering lens into just what the AI interpreter needs:
|
|
1484
|
+
* evaluation questions + forbidden phrases + jargon translations.
|
|
1485
|
+
* Vocabulary substitutions and voice directives go to the renderer,
|
|
1486
|
+
* not the interpreter.
|
|
1487
|
+
*/
|
|
1488
|
+
declare function compressLens(lens: RenderingLens): {
|
|
1489
|
+
evaluationQuestions: string;
|
|
1490
|
+
scoringRubric: string;
|
|
1491
|
+
forbiddenPhrases: string;
|
|
1492
|
+
jargonTranslations: string;
|
|
1493
|
+
strategicPatterns: string;
|
|
1494
|
+
};
|
|
1495
|
+
/**
|
|
1496
|
+
* Compress prior reads into pattern names + occurrence counts.
|
|
1497
|
+
* The AI needs to know WHAT was seen before and HOW OFTEN — not the
|
|
1498
|
+
* full frontmatter.
|
|
1499
|
+
*/
|
|
1500
|
+
declare function compressPriorReads(reads: PriorRead[]): string;
|
|
1501
|
+
|
|
1380
1502
|
/**
|
|
1381
1503
|
* @neuroverseos/governance/radiant — `think` command
|
|
1382
1504
|
*
|
|
@@ -1492,6 +1614,10 @@ interface EmergentResult {
|
|
|
1492
1614
|
};
|
|
1493
1615
|
/** Event count fetched from GitHub. */
|
|
1494
1616
|
eventCount: number;
|
|
1617
|
+
/** Active adapters used in this read. */
|
|
1618
|
+
activeAdapters?: string[];
|
|
1619
|
+
/** World stack — what worlds were discovered and loaded. */
|
|
1620
|
+
worldStack?: WorldStack;
|
|
1495
1621
|
}
|
|
1496
1622
|
declare function emergent(input: EmergentInput): Promise<EmergentResult>;
|
|
1497
1623
|
|
|
@@ -1531,4 +1657,4 @@ declare function emergent(input: EmergentInput): Promise<EmergentResult>;
|
|
|
1531
1657
|
*/
|
|
1532
1658
|
declare const RADIANT_PACKAGE_VERSION = "0.0.0";
|
|
1533
1659
|
|
|
1534
|
-
export { type Actor, type ActorDomain, type ActorKind, type AlignmentStatus, type BridgingComponent, type BridgingComponentScore, type ClassifiedEvent, type CyberCapability, type CyberDimension, DEFAULT_EVIDENCE_GATE, DEFAULT_SIGNAL_EXTRACTORS, type DiscordFetchOptions, type DiscordSignals, type EmergentInput, type EmergentResult, type Event, type EventReference, type EvidenceGate, type ExemplarRef, type ExocortexContext, type ExtractionResult, type GitHubFetchOptions, type GovernanceAudit, type GovernanceVerdict, type InterpretInput, type InterpretResult, LENSES, type LensVocabulary, type LifeCapability, type LifeDimension, type NotionFetchOptions, type NotionSignals, type ObservedPattern, type OrgScope, type OverlapDef, type PatternEvidence, type PatternPersistence, type PrimaryFrame, type PriorRead, RADIANT_PACKAGE_VERSION, type RadiantAI, type RenderInput, type RenderOutput, type RenderingLens, type RepoScope, type Scope, type Score, type ScoreSentinel, type ScoredObservation, type Signal, type SignalExtractor, type SignalMatrix, type SlackFetchOptions, type SlackSignals, type ThinkInput, type ThinkResult, type ViewLevel, type VoiceDirectives, type VoiceViolation, type WorldmodelItem, auditGovernance, aukiBuilderLens, checkForbiddenPhrases, classifyActorDomain, classifyEvents, composeSystemPrompt, computePersistence, createAnthropicAI, createMockAI, createMockGitHubAdapter, emergent, extractSignals, fetchDiscordActivity, fetchGitHubActivity, fetchGitHubOrgActivity, fetchNotionActivity, fetchSlackActivity, formatDiscordSignalsForPrompt, formatExocortexForPrompt, formatNotionSignalsForPrompt, formatPriorReadsForPrompt, formatScope, formatSlackSignalsForPrompt, formatTeamExocorticesForPrompt, getLens, interpretPatterns, isPresent, isScored, isSentinel, listLenses, loadPriorReads, parseRepoScope, parseScope, presenceAverage, readExocortex, readTeamExocortices, render, scoreComposite, scoreCyber, scoreLife, scoreNeuroVerse, summarizeExocortex, think, updateKnowledge, writeRead };
|
|
1660
|
+
export { type Actor, type ActorDomain, type ActorKind, type AlignmentStatus, type BridgingComponent, type BridgingComponentScore, type ClassifiedEvent, type CyberCapability, type CyberDimension, DEFAULT_EVIDENCE_GATE, DEFAULT_SIGNAL_EXTRACTORS, type DiscordFetchOptions, type DiscordSignals, type DiscoveredWorld, type EmergentInput, type EmergentResult, type Event, type EventReference, type EvidenceGate, type ExemplarRef, type ExocortexContext, type ExtractionResult, type GitHubFetchOptions, type GovernanceAudit, type GovernanceVerdict, type InterpretInput, type InterpretResult, LENSES, type LensVocabulary, type LifeCapability, type LifeDimension, type NotionFetchOptions, type NotionSignals, type ObservedPattern, type OrgScope, type OverlapDef, type PatternEvidence, type PatternPersistence, type PrimaryFrame, type PriorRead, RADIANT_PACKAGE_VERSION, type RadiantAI, type RenderInput, type RenderOutput, type RenderingLens, type RepoScope, type Scope, type Score, type ScoreSentinel, type ScoredObservation, type Signal, type SignalExtractor, type SignalMatrix, type SlackFetchOptions, type SlackSignals, type ThinkInput, type ThinkResult, type ViewLevel, type VoiceDirectives, type VoiceViolation, type WorldStack, type WorldmodelItem, auditGovernance, aukiBuilderLens, checkForbiddenPhrases, classifyActorDomain, classifyEvents, composeSystemPrompt, compressExocortex, compressLens, compressPriorReads, compressWorldmodel, computePersistence, createAnthropicAI, createMockAI, createMockGitHubAdapter, discoverWorlds, emergent, extractSignals, fetchDiscordActivity, fetchGitHubActivity, fetchGitHubOrgActivity, fetchNotionActivity, fetchSlackActivity, formatActiveWorlds, formatDiscordSignalsForPrompt, formatExocortexForPrompt, formatNotionSignalsForPrompt, formatPriorReadsForPrompt, formatScope, formatSlackSignalsForPrompt, formatTeamExocorticesForPrompt, getLens, interpretPatterns, isPresent, isScored, isSentinel, listLenses, loadPriorReads, parseRepoScope, parseScope, presenceAverage, readExocortex, readTeamExocortices, render, scoreComposite, scoreCyber, scoreLife, scoreNeuroVerse, sovereignConduitLens, summarizeExocortex, think, updateKnowledge, writeRead };
|