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
docs: composition seeks must finish loading before drawing a visible layer
Claude1a1b76e4ca45
diff --git a/.claude/skills/portos-music-video-code/SKILL.md b/.claude/skills/portos-music-video-code/SKILL.mdindex 56414eacd0..c0e92b9bd3 100644--- a/.claude/skills/portos-music-video-code/SKILL.md+++ b/.claude/skills/portos-music-video-code/SKILL.md@@ -42,6 +42,6 @@ Choose **Design and composition media** independently of **Authoring renderer**.In **Compose → Document**, choose **Three.js authored worlds → Generate authored 3D composition** for complete geometry scenes. Each section's `render(ctx, env)` receives `ctx.THREE`, a fresh `ctx.scene`, a perspective `ctx.camera`, and the transparent Canvas2D `ctx.text`. Author environments, articulated characters, props, lights, camera movement and dramatic actions from absolute song time. Every seek creates a fresh world; do not integrate physics or depend on earlier frames. This generated renderer currently composes geometry and typography only. Use the Canvas layered renderer or an imported document for selected images/video. Native **Code** remains a separate 720p Canvas capability, not the definition of code-only.-PortOS packages installed Three.js, license, local fonts, validated author functions and a dependency hash manifest in the immutable document version. It does not install packages, load CDNs or grant network access. Preview supports acyclic local static ES-module graphs (including inline module entrypoints); remote/bare/dynamic imports are unsupported. The same `portosComposition.seek(t)` drives preview, excerpt and final capture, normally 1080p24. Imported documents may declare supported motion blur; export honors that contract. A valid contract proves execution, not art quality: inspect authored characters/action and changing frames, then the existing treatment/proof workflow decides readiness.+PortOS packages installed Three.js, license, local fonts, validated author functions and a dependency hash manifest in the immutable document version. It does not install packages, load CDNs or grant network access. Preview supports acyclic local static ES-module graphs (including inline module entrypoints); remote/bare/dynamic imports are unsupported. The same `portosComposition.seek(t)` drives preview, excerpt and final capture, normally 1080p24. Finish every `await` (image decode, video `seeked`) before clearing, drawing or showing a layer: the render waits for the whole seek, but the live preview paints at each await, so clear-then-await flashes in the preview only. Imported documents may declare supported motion blur; export honors that contract. A valid contract proves execution, not art quality: inspect authored characters/action and changing frames, then the existing treatment/proof workflow decides readiness.Code-only autopilot preserves text direction and defaults to this document authoring path, retaining explicitly saved legacy Code choices. It never requests image guides or an image/video provider. Code-rendered prototypes and visual planning remain required by the production review workflow; skipping raster moodboard assets is not approval to skip art direction.diff --git a/docs/HTML_COMPOSITIONS.md b/docs/HTML_COMPOSITIONS.mdindex 0d0c223c99..1fea461189 100644--- a/docs/HTML_COMPOSITIONS.md+++ b/docs/HTML_COMPOSITIONS.md@@ -23,6 +23,12 @@ globalThis.portosComposition = {`seek(t)` must finish all asynchronous work for that frame before resolving.Drive animation from `t`, not wall-clock playback, CSS animation timers or randomstate. The renderer awaits each seek, then captures frame `n` at `n / fps`.+The in-app live preview is different: the browser paints whenever `seek`+yields, so every `await` inside it can reach the screen. Load and decode first+(`await img.decode()`, `seeked`), then clear, draw and toggle layer visibility+in one synchronous block. A page that fills a canvas or flips `visibility`+before awaiting an image flashes that half-drawn state in the preview (most+visibly in iPhone Safari, which decodes slowly) while the render stays clean.Duration is 1–120 seconds, fps is an integer from 12–60, and their product mustbe a whole number of frames. Dimensions are exactly 1920×1080, 1080×1920,1080×1080 or 1280×720. Invalid contracts name the field in the job error.