Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: export persistentMindChosenName from server/lib barrel

atomanticagent4bf8c0363ae4
diff --git a/server/lib/README.md b/server/lib/README.md
index 70e6a6991f..bbac24a39f 100644
--- a/server/lib/README.md
+++ b/server/lib/README.md
@@ -60,6 +60,7 @@ The barrel `server/lib/index.js` is a machine-checkable enumeration of every pub
| `persistentMindPrompt.js` | Editable persistent-mind identity and operating-instructions schema/defaults; saving it never starts inference. |
| `persistentMindPublic.js` | `publicPersistentMindState(state)` — the sole client/socket projection of durable mind state: exposes lifecycle fields, queue count, and the derived next wake time; drops queued message bodies/active wake payloads, and replaces free-form provider errors with coarse safe reasons. |
| `persistentMindThinkingPresets.js` | Also owns bounded self-thinking request schemas, durable request normalization, and fixed switching limits. Saved named temporary thinking presets for the persistent mind (exact provider/model/effort alternates to its one home profile): default-empty durable shape, normalization that drops half-pinned entries, strict API schema, whole-list replace merge, preset lookup, strict accepted-selection schema/normalization, and route equality independent of labels. Storage only — saving or selecting a preset starts no inference. |
+| `persistentMindChosenName.js` | Extract a Persistent Mind chosen display name from protected identity memories (`extractPersistentMindChosenName`, `resolvePersistentMindChosenName`) to suggest an Eidoverse CoS join id (e.g. Helm) instead of the process id `portos-cos`. Suggestion only — mid-session rename is not supported by Eidoverse.
| `heavyJobClaim.js` | Cross-process, machine-wide accelerator claim: `claimHeavyLocalJob({ kind, id, timeoutMs? })` either acquires an ephemeral `data/` lock or reports its active holder; dead-PID claims are reclaimed, and a spawned child can take over the recorded PID across a server restart. |
| `agentValidation.js` | Social-bot agent schemas (personality, Moltbook/Moltworld accounts, automation schedules, agent tools + Moltworld payloads) and CoS Feature Agent definitions. |
| `autonomousJobTask.js` | `generatedJobTaskFields` — flattens a `generateTaskFromJob` result into the top-level keys the non-raw `cos.addTask` path maps onto metadata. One allowlist shared by the manual "Run now" endpoint and the quota-burn lane, so a key added to the generator cannot reach one and not the other. Pure. |
diff --git a/server/lib/index.js b/server/lib/index.js
index 3e2932daff..7feb505fc3 100644
--- a/server/lib/index.js
+++ b/server/lib/index.js
@@ -298,6 +298,7 @@ export * from './persistentMindMemory.js';
export * from './persistentMindPrompt.js';
export * from './persistentMindPublic.js';
export * from './persistentMindThinkingPresets.js';
+export * from './persistentMindChosenName.js';
export * from './agentScratchPaths.js';
export * from './agentSentinel.js';
export * from './bareUrl.js';