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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
Merge remote-tracking branch 'origin/main' into claim/issue-3481
[._.]/ Adam Eivy03f88bd69561
diff --cc .changelog/NEXT.mdindex 7ef50ed0cc,994d784b75..8c0c94b93d--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@@ -80,6 -86,8 +86,10 @@@## Three.js Models+- **[issue-3481] A generated model now tells you which of its own promises it did not actually build.** The spec check only ever proved that every feature the model listed pointed at a real part — so a spec could name eight defining features, aim all eight at the same box, and still validate clean: one fused mesh wearing a photograph. Each finished generation is now measured against its own inventory and the result is shown on the model's page: features collapsed onto a single shared part, geometry no feature claims, and features nothing was built for at all. Severity follows how much of the subject rides on the miss — a missing defining feature is an error, fine relief folded into the piece it sits on is called out as the correct modeling choice rather than a defect. When you hit Refine without typing your own notes, the refinement pass is now aimed at exactly those errors instead of a generic "improve it." The page states the check's honest limit alongside the findings: it proves the model built what its spec promised, never that the spec promised enough.+- **[issue-3483] Take a generated model apart and click any piece to find out what it is.** The preview used to render a finished model as one inert lump — the only way to check it was actually built from parts, rather than fused into a single shape, was to export the source and read it. An Explode slider now separates the assembly, and clicking any surface names the part it belongs to and lights up that whole component. Separation scales the layout outward from the model's centre instead of shoving every piece the same distance, so parts that were touching genuinely come apart, pieces sitting at the centre still clear their neighbours, and the camera re-frames to whatever the disassembly actually grew to. Surface detail — serrations, stria, trim, port floors — rides the part it belongs to instead of shattering into loose slivers, and clicking it selects that part; models are now generated with that distinction marked, and exported models carry it too.++ ## Internal++ - **[issue-3497] The Chief of Staff no longer re-reads and re-parses its task lists on every scheduler tick** — an unchanged list is served from memory instead, which matters most on installs whose task history has grown large. Edits made outside PortOS (a text editor, a restore, a sync peer) are still picked up immediately.diff --cc server/services/threejsModels/db.jsindex 9dd4531fdb,901ab98450..adcca2b84c--- a/server/services/threejsModels/db.js+++ b/server/services/threejsModels/db.js@@@ -63,12 -63,12 +63,16 @@@ export async function createModel(inputprompt: input.prompt || '',providerId: input.providerId,model: input.model || null,+ // Reasoning-effort override for effort-capable providers. Additive JSON+ // field — records written before this shipped simply read back `undefined`,+ // which every consumer treats the same as "no override".+ effort: input.effort || null,status: 'draft',spec: null,+ // Assembly-coverage findings for `spec`, written alongside it by+ // `evaluateThreejsPartCoverage`. Records written before this field existed+ // read back as undefined; every consumer treats that as "not evaluated".+ coverage: null,error: null,generationOperationId: null,runs: [],diff --cc server/services/threejsModels/index.jsindex 43c05df369,375441fbd0..fc9ba52e8e--- a/server/services/threejsModels/index.js+++ b/server/services/threejsModels/index.js@@@ -9,7 -9,7 +9,8 @@@ import { PATHS, resolveGalleryImage } fimport { runPromptThroughProvider } from '../../lib/promptRunner.js';import { extractJson } from '../../lib/jsonExtract.js';import { buildThreejsFactorySource, threejsSculptSpecSchema } from '../../lib/threejsModel.js';+import { buildThreejsCoverageFeedback, evaluateThreejsPartCoverage } from '../../lib/threejsModelCoverage.js';+ import { resolveCliEffort } from '../../lib/providerModels.js';import { getProviderById } from '../providers.js';import { buildThreejsGenerationPrompt } from './prompt.js';import * as store from './db.js';@@@ -169,10 -167,16 +176,20 @@@ export async function startGeneration(iconst operationId = randomUUID();const startedAt = new Date().toISOString();const effectivePrompt = prompt ?? current.prompt ?? '';+ // A refinement the user did not steer aims at the last pass's assembly-coverage+ // errors — the promises the model measurably did not build — instead of a+ // generic "improve it".+ const effectiveFeedback = (feedback || '').trim() || buildThreejsCoverageFeedback(current.coverage);+ // Absent (`undefined`) keeps whatever the record already had; an explicit+ // `null` — what the picker's "Default effort" choice sends — clears it.+ const requestedEffort = effort === undefined ? (current.effort || null) : (effort || null);+ // Persist what will ACTUALLY run, not what was asked for. The picker hides the+ // effort control for a provider/model with no tiers but keeps its last value,+ // so an unhonored level would otherwise be stored and rendered ("high effort")+ // for a run that never used one — with no way to clear it. resolveCliEffort+ // returns null for API/effort-less providers and clamps an out-of-range level+ // to the tier the chosen model really has, matching the CLI arg builders.+ const effectiveEffort = resolveCliEffort(requestedEffort, provider, model || provider.defaultModel || null);const generationPrompt = buildThreejsGenerationPrompt({sourcePath,name: current.name,@@@ -199,7 -204,8 +217,8 @@@status: 'running',providerId: provider.id,model: model || provider.defaultModel || null,+ effort: effectiveEffort,- feedback: feedback || null,+ feedback: effectiveFeedback || null,startedAt,completedAt: null,runId: null,