paracosm 0.9.1129 → 0.9.1131

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.
Files changed (35) hide show
  1. package/README.md +2 -2
  2. package/assets/diagrams/paracosm-flow.svg +2 -2
  3. package/dist/cli/persisted-compiled-scenarios.d.ts +7 -9
  4. package/dist/cli/persisted-compiled-scenarios.d.ts.map +1 -1
  5. package/dist/cli/persisted-compiled-scenarios.js +27 -22
  6. package/dist/cli/persisted-compiled-scenarios.js.map +1 -1
  7. package/dist/cli/sim-config.d.ts +4 -4
  8. package/dist/cli/sim-config.js +4 -4
  9. package/dist/dashboard/dist/assets/{index-BkKYRfoL.js → index-Dtpo8l7E.js} +3 -3
  10. package/dist/dashboard/dist/index.html +1 -1
  11. package/dist/dashboard/dist/llms-full.txt +1 -1
  12. package/dist/dashboard/landing.html +9 -9
  13. package/dist/engine/registries/effects.js +1 -1
  14. package/dist/engine/registries/effects.js.map +1 -1
  15. package/dist/runtime/orchestrator/emergent-setup.d.ts +6 -8
  16. package/dist/runtime/orchestrator/emergent-setup.d.ts.map +1 -1
  17. package/dist/runtime/orchestrator/emergent-setup.js +19 -19
  18. package/dist/runtime/orchestrator/emergent-setup.js.map +1 -1
  19. package/dist/runtime/orchestrator/forge-guidance.js +1 -1
  20. package/dist/runtime/orchestrator/forged-code-executor.d.ts +67 -28
  21. package/dist/runtime/orchestrator/forged-code-executor.d.ts.map +1 -1
  22. package/dist/runtime/orchestrator/forged-code-executor.js +126 -49
  23. package/dist/runtime/orchestrator/forged-code-executor.js.map +1 -1
  24. package/dist/server/live-runs.d.ts +2 -0
  25. package/dist/server/live-runs.d.ts.map +1 -1
  26. package/dist/server/live-runs.js +4 -0
  27. package/dist/server/live-runs.js.map +1 -1
  28. package/dist/server/routes/quickstart.d.ts +2 -0
  29. package/dist/server/routes/quickstart.d.ts.map +1 -1
  30. package/dist/server/routes/quickstart.js +16 -4
  31. package/dist/server/routes/quickstart.js.map +1 -1
  32. package/dist/server/server-app.d.ts.map +1 -1
  33. package/dist/server/server-app.js +151 -10
  34. package/dist/server/server-app.js.map +1 -1
  35. package/package.json +3 -1
package/README.md CHANGED
@@ -441,7 +441,7 @@ Numbers assume 6 turns, 5 departments, 100 agents, up to 3 events per turn. Forg
441
441
 
442
442
  ## How a turn runs
443
443
 
444
- Director event → Kernel advance (deterministic, seeded) → Department analysis in parallel (with optional runtime tool forging in an in-process `node:vm` context; an LLM judge approves each forge) → Commander decision (HEXACO-weighted) → Outcome classification → Kernel effects → Agent reactions → Memory consolidation → Personality drift.
444
+ Director event → Kernel advance (deterministic, seeded) → Department analysis in parallel (with optional runtime tool forging, each call in a QuickJS WebAssembly instance of its own; an LLM judge approves each forge) → Commander decision (HEXACO-weighted) → Outcome classification → Kernel effects → Agent reactions → Memory consolidation → Personality drift.
445
445
 
446
446
  Every structured LLM call (director, departments, commander, reactions, verdict) is Zod-validated with retry-with-feedback. Schemas under [`src/runtime/validators/`](src/runtime/validators/). Full per-stage breakdown in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).
447
447
 
@@ -520,7 +520,7 @@ Paracosm uses [AgentOS](https://agentos.sh/en) for agent orchestration, LLM disp
520
520
  |------------------------------|-----------------------------------------------------------------------|
521
521
  | `agent()` | Commander, department, and Event Director agents |
522
522
  | `generateText()` | LLM calls for event generation and tool evaluation |
523
- | `EmergentCapabilityEngine` | Runtime tool forging in a node:vm context of its own, in process |
523
+ | `EmergentCapabilityEngine` | Runtime tool forging; forged code runs in AgentOS's `QuickJSExecutor` |
524
524
  | `EmergentJudge` | LLM-as-judge safety review of forged tools |
525
525
  | `WebSearchService` | Multi-provider seed enrichment with Firecrawl, Tavily, Serper, Brave |
526
526
  | `AgentMemory` | Per-run citation memory with full-text recall |
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 1180" role="img" aria-labelledby="paracosm-flow-title paracosm-flow-desc" preserveAspectRatio="xMidYMid meet">
3
3
  <title id="paracosm-flow-title">Paracosm system flow: world source to forked futures</title>
4
- <desc id="paracosm-flow-desc">A vertical flow diagram of the Paracosm pipeline. Prompts, briefs, URLs, PDFs, or JSON drafts feed into the Scenario Compiler, producing a typed ScenarioPackage. A deterministic seeded kernel and the Runtime Orchestrator run a per-turn pipeline of Director, Departments, Commander, and Reactions, with side modules for runtime tool forging in a V8 sandbox, an LLM judge, HEXACO personality drift, and AgentMemory. The result is an agent swarm of personality-typed cells and a Zod-validated RunArtifact that can be replayed byte-for-byte or forked at any past turn.</desc>
4
+ <desc id="paracosm-flow-desc">A vertical flow diagram of the Paracosm pipeline. Prompts, briefs, URLs, PDFs, or JSON drafts feed into the Scenario Compiler, producing a typed ScenarioPackage. A deterministic seeded kernel and the Runtime Orchestrator run a per-turn pipeline of Director, Departments, Commander, and Reactions, with side modules for runtime tool forging in a QuickJS WebAssembly sandbox, an LLM judge, HEXACO personality drift, and AgentMemory. The result is an agent swarm of personality-typed cells and a Zod-validated RunArtifact that can be replayed byte-for-byte or forked at any past turn.</desc>
5
5
 
6
6
  <style><![CDATA[
7
7
  :root {
@@ -342,7 +342,7 @@
342
342
  <rect width="190" height="100" rx="8" class="elevated-fill" stroke="var(--rust)" stroke-width="1.2" stroke-dasharray="4 2"/>
343
343
  <text x="14" y="18" class="rust-fill tiny mono">TOOL FORGE · sandbox</text>
344
344
  <text x="14" y="38" class="t1 small">Department invents a tool</text>
345
- <text x="14" y="56" class="t2 small">node:vm V8 sandbox</text>
345
+ <text x="14" y="56" class="t2 small">QuickJS WebAssembly</text>
346
346
  <text x="14" y="70" class="t2 small">Zod-validated function</text>
347
347
  <text x="14" y="86" class="t3 small">10s timeout · 128MB cap</text>
348
348
  </g>
@@ -8,11 +8,9 @@ import type { ScenarioPackage } from '../engine/types.js';
8
8
  */
9
9
  export declare const COMPILED_SUBDIR = "compiled";
10
10
  /**
11
- * Cap on the number of persisted compiled scenarios at any time. Oldest
12
- * (by mtime) evict FIFO when a 51st scenario tries to save. 50 is sized
13
- * for the public-demo use case: enough room for the entire interesting-
14
- * scenario tail, small enough that disk + boot-time recompile cost
15
- * stay bounded.
11
+ * Cap on the shared catalog's compiled scenarios and its saved drafts.
12
+ * Scenarios named by held runs stay in the catalog even above the cap;
13
+ * folder clean-up keeps compiled catalog entries and drafts loading at boot.
16
14
  */
17
15
  export declare const COMPILED_SCENARIOS_CAP = 50;
18
16
  /**
@@ -71,7 +69,8 @@ export interface PersistResult {
71
69
  /**
72
70
  * Save a compile-from-seed scenario to disk. Caller passes the fully-
73
71
  * compiled scenario; we persist a hook-stripped copy plus metadata.
74
- * Idempotent on the same id (overwrites the previous file).
72
+ * Idempotent on the same id (overwrites the previous file). The optional
73
+ * `keep` protects catalog entries and loading drafts from folder clean-up.
75
74
  *
76
75
  * @returns A {@link PersistResult} carrying the path written + the
77
76
  * exact meta block stored on disk so callers can mirror it into
@@ -80,7 +79,7 @@ export interface PersistResult {
80
79
  * catalog continue to serve the live run; persistence is a best-
81
80
  * effort enhancement, not a critical path).
82
81
  */
83
- export declare function persistCompiledScenario(scenarioDir: string, scenario: ScenarioPackage, seedText: string | null): PersistResult | null;
82
+ export declare function persistCompiledScenario(scenarioDir: string, scenario: ScenarioPackage, seedText: string | null, keep?: (id: string) => boolean): PersistResult | null;
84
83
  /**
85
84
  * Read the compiled-draft JSON files in the persistence dir, newest
86
85
  * first by mtime, and return at most `cap` of them
@@ -96,8 +95,7 @@ export declare function loadPersistedCompiledDrafts(scenarioDir: string, cap?: n
96
95
  * Remove a persisted draft by id. Returns true when a file was actually
97
96
  * deleted, false when no matching file existed or the id failed
98
97
  * validation (idempotent for callers that don't pre-check). Used by
99
- * the future `/scenario/delete` admin surface and by tests; production
100
- * server-app does not call this on the active path.
98
+ * catalog eviction, an admin disk save, the admin delete route and tests.
101
99
  *
102
100
  * Path-traversal guard: rejects any id that doesn't match the strict
103
101
  * kebab-slug shape AND verifies the resolved file path stays inside
@@ -1 +1 @@
1
- {"version":3,"file":"persisted-compiled-scenarios.d.ts","sourceRoot":"","sources":["../../src/cli/persisted-compiled-scenarios.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,aAAa,CAAC;AAE1C;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,KAAK,CAAC;AAEzC;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,4DAA4D;IAC5D,UAAU,EAAE,MAAM,CAAC;IACnB;+DAC2D;IAC3D,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,iEAAiE;AACjE,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX;6DACyD;IACzD,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,IAAI,EAAE,qBAAqB,CAAC;CAC7B;AAoBD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QAAsC,CAAC;AAEvE,0DAA0D;AAC1D,eAAO,MAAM,gBAAgB,yHAC2F,CAAC;AAEzH;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,OAAO,GAAG,EAAE,IAAI,MAAM,CAE1D;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAKxE;AAED;;;;;;GAMG;AACH,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,qBAAqB,CAAC;CAC7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,GACtB,aAAa,GAAG,IAAI,CAwBtB;AAED;;;;;;;;;GASG;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BAAqB,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,CACrC,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,eAAe,EACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,OAAO,GAC7B,aAAa,GAAG,IAAI,CAwBtB;AAED;;;;;;;;;GASG;AACH,wBAAgB,2BAA2B,CACzC,WAAW,EAAE,MAAM,EACnB,GAAG,GAAE,MAA+B,GACnC,sBAAsB,EAAE,CAgD1B;AAgCD;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,OAAO,CAkBxF"}
@@ -28,11 +28,9 @@ import { relative, resolve, sep } from 'node:path';
28
28
  */
29
29
  export const COMPILED_SUBDIR = 'compiled';
30
30
  /**
31
- * Cap on the number of persisted compiled scenarios at any time. Oldest
32
- * (by mtime) evict FIFO when a 51st scenario tries to save. 50 is sized
33
- * for the public-demo use case: enough room for the entire interesting-
34
- * scenario tail, small enough that disk + boot-time recompile cost
35
- * stay bounded.
31
+ * Cap on the shared catalog's compiled scenarios and its saved drafts.
32
+ * Scenarios named by held runs stay in the catalog even above the cap;
33
+ * folder clean-up keeps compiled catalog entries and drafts loading at boot.
36
34
  */
37
35
  export const COMPILED_SCENARIOS_CAP = 50;
38
36
  /** Resolve the `compiled/` subdir path under a scenario root. */
@@ -83,7 +81,8 @@ export function scenarioJsonPath(dir, id) {
83
81
  /**
84
82
  * Save a compile-from-seed scenario to disk. Caller passes the fully-
85
83
  * compiled scenario; we persist a hook-stripped copy plus metadata.
86
- * Idempotent on the same id (overwrites the previous file).
84
+ * Idempotent on the same id (overwrites the previous file). The optional
85
+ * `keep` protects catalog entries and loading drafts from folder clean-up.
87
86
  *
88
87
  * @returns A {@link PersistResult} carrying the path written + the
89
88
  * exact meta block stored on disk so callers can mirror it into
@@ -92,7 +91,7 @@ export function scenarioJsonPath(dir, id) {
92
91
  * catalog continue to serve the live run; persistence is a best-
93
92
  * effort enhancement, not a critical path).
94
93
  */
95
- export function persistCompiledScenario(scenarioDir, scenario, seedText) {
94
+ export function persistCompiledScenario(scenarioDir, scenario, seedText, keep) {
96
95
  if (!isSafeScenarioId(scenario.id)) {
97
96
  console.warn(`[scenarios] refusing to persist scenario with unsafe id: ${JSON.stringify(scenario.id)}`);
98
97
  return null;
@@ -110,7 +109,7 @@ export function persistCompiledScenario(scenarioDir, scenario, seedText) {
110
109
  };
111
110
  const filePath = resolve(dir, `${scenario.id}.json`);
112
111
  writeFileSync(filePath, JSON.stringify(payload, null, 2));
113
- enforceCompiledCap(dir, COMPILED_SCENARIOS_CAP);
112
+ enforceCompiledCap(dir, COMPILED_SCENARIOS_CAP, keep);
114
113
  return { filePath, meta };
115
114
  }
116
115
  catch (err) {
@@ -181,26 +180,33 @@ export function loadPersistedCompiledDrafts(scenarioDir, cap = COMPILED_SCENARIO
181
180
  }
182
181
  return out;
183
182
  }
184
- /**
185
- * FIFO eviction once the cap is exceeded. Oldest by mtime drops first.
186
- * Idempotent and safe to call after every persist — at-cap state is the
187
- * common case so the function returns quickly when nothing needs
188
- * eviction.
189
- */
190
- function enforceCompiledCap(dir, cap) {
183
+ /** Deletes the oldest saved drafts above the cap, except those the caller keeps. */
184
+ function enforceCompiledCap(dir, cap, keep) {
191
185
  if (!existsSync(dir))
192
186
  return;
193
187
  const files = readdirSync(dir, { withFileTypes: true })
194
- .filter((e) => e.isFile() && e.name.endsWith('.json'))
195
- .map((e) => {
188
+ .filter(e => e.isFile() && e.name.endsWith('.json'))
189
+ .flatMap(e => {
190
+ const id = e.name.slice(0, -5);
191
+ if (!isSafeScenarioId(id))
192
+ return [];
196
193
  const filePath = resolve(dir, e.name);
197
- return { filePath, mtime: statSync(filePath).mtimeMs };
194
+ try {
195
+ const draft = JSON.parse(readFileSync(filePath, 'utf-8'));
196
+ if (!draft || typeof draft !== 'object' || draft.id !== id)
197
+ return [];
198
+ return [{ id, filePath, mtime: statSync(filePath).mtimeMs }];
199
+ }
200
+ catch {
201
+ return []; // An unreadable file is not a saved draft we can remove.
202
+ }
198
203
  })
199
204
  .sort((a, b) => a.mtime - b.mtime);
200
205
  while (files.length > cap) {
201
- const drop = files.shift();
202
- if (!drop)
206
+ const index = files.findIndex(file => !keep?.(file.id));
207
+ if (index < 0)
203
208
  break;
209
+ const [drop] = files.splice(index, 1);
204
210
  try {
205
211
  unlinkSync(drop.filePath);
206
212
  }
@@ -213,8 +219,7 @@ function enforceCompiledCap(dir, cap) {
213
219
  * Remove a persisted draft by id. Returns true when a file was actually
214
220
  * deleted, false when no matching file existed or the id failed
215
221
  * validation (idempotent for callers that don't pre-check). Used by
216
- * the future `/scenario/delete` admin surface and by tests; production
217
- * server-app does not call this on the active path.
222
+ * catalog eviction, an admin disk save, the admin delete route and tests.
218
223
  *
219
224
  * Path-traversal guard: rejects any id that doesn't match the strict
220
225
  * kebab-slug shape AND verifies the resolved file path stays inside
@@ -1 +1 @@
1
- {"version":3,"file":"persisted-compiled-scenarios.js","sourceRoot":"","sources":["../../src/cli/persisted-compiled-scenarios.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,EACL,WAAW,EACX,YAAY,EACZ,aAAa,EACb,SAAS,EACT,UAAU,EACV,UAAU,EACV,QAAQ,GACT,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAGnD;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,UAAU,CAAC;AAE1C;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAyBzC,iEAAiE;AACjE,SAAS,WAAW,CAAC,WAAmB;IACtC,OAAO,OAAO,CAAC,WAAW,EAAE,eAAe,CAAC,CAAC;AAC/C,CAAC;AAED;;;;;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CAAC;YACH,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC5B,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,IAAI,CAAC,mCAAmC,IAAI,CAAC,QAAQ,GAAG,EAAE,GAAG,CAAC,CAAC;QACzE,CAAC;IACH,CAAC;AACH,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,+BAA+B,CAAC,WAAmB,EAAE,EAAU;IAC7E,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAAE,OAAO,KAAK,CAAC;IACxC,MAAM,GAAG,GAAG,WAAW,CAAC,WAAW,CAAC,CAAC;IACrC,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IAC5C,kEAAkE;IAClE,kEAAkE;IAClE,+CAA+C;IAC/C,IAAI,QAAQ,KAAK,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,GAAG,GAAG,GAAG,EAAE,CAAC,EAAE,CAAC;QACpF,OAAO,KAAK,CAAC;IACf,CAAC;IACD,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC;QAAE,OAAO,KAAK,CAAC;IACxC,IAAI,CAAC;QACH,UAAU,CAAC,QAAQ,CAAC,CAAC;QACrB,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,IAAI,CAAC,0DAA0D,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;QACnF,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
@@ -224,10 +224,10 @@ export declare const DEFAULT_EXECUTION: SimulationExecutionConfig;
224
224
  * The forged-code time limit a run holds: what the request names when
225
225
  * that is a positive number no greater than the default, and the default
226
226
  * (which is also the most the server allows) for anything else. A call of
227
- * forged code is synchronous, so a longer limit would let one run hold
228
- * the event loop for every other request. The engine applies the same
229
- * bound again where it builds the executor
230
- * (src/runtime/orchestrator/forged-code-executor.ts).
227
+ * forged code that computes holds the event loop until it returns or its
228
+ * deadline, so a longer limit would let one run hold it for every other
229
+ * request. The executor applies the same bound again, and caps a call's
230
+ * memory (src/runtime/orchestrator/forged-code-executor.ts).
231
231
  */
232
232
  export declare function boundedSandboxTimeoutMs(asked: unknown): number;
233
233
  /**
@@ -103,10 +103,10 @@ export const DEFAULT_EXECUTION = {
103
103
  * The forged-code time limit a run holds: what the request names when
104
104
  * that is a positive number no greater than the default, and the default
105
105
  * (which is also the most the server allows) for anything else. A call of
106
- * forged code is synchronous, so a longer limit would let one run hold
107
- * the event loop for every other request. The engine applies the same
108
- * bound again where it builds the executor
109
- * (src/runtime/orchestrator/forged-code-executor.ts).
106
+ * forged code that computes holds the event loop until it returns or its
107
+ * deadline, so a longer limit would let one run hold it for every other
108
+ * request. The executor applies the same bound again, and caps a call's
109
+ * memory (src/runtime/orchestrator/forged-code-executor.ts).
110
110
  */
111
111
  export function boundedSandboxTimeoutMs(asked) {
112
112
  const most = DEFAULT_EXECUTION.sandboxTimeoutMs;