mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-06 05:33:38 -10:00
* Boxes edit on light copies; the farm renders from originals it fetches from the library itself A farm render now reads each light copy as its full-size original, resolved as it's sent (server/originals.ts): by its link in .raea-cloud/originals.json, which the farm fetches from the library, checks by hash and keeps in its cache; else by the original's file under footage/originals/, sent by its own hash. Nothing on the box ever takes a light copy's place, and the box never downloads, hashes or sends a 4K original. A light copy with neither is rendered as itself, printed as NO ORIGINAL, and recorded in the render's manifest (originals.read / originals.light), so raea cloud never shows what was made from it. footage/originals/ and the kept light copies (.raea-cloud/proxies/) no longer go in a render's tar: run 24's Dutch box packed 179 MB of kept light copies into every render. The farm takes an original of unknown size (0) when it comes with its link, checked by hash alone. docs/cloud.feature CL17-CL20; test/originals.ts, test/farm_media.py. * The farm's media list keeps each original by its link on every path; every render records what it read Review of #340: on the default path (a farm with a media cache) offload set the list to what went into the cache and dropped the originals' links, so the farm would have rendered the 540p light copies while the manifest said the originals were read. The list is now decided once, after every path (withOriginals), and what a farm can't take (an original by its file without the cache, one of unknown size on an older farm) is recorded light (settle). The record goes into the manifest for every render, checked or not, and beside a still that has none. footage/ originals/ is no longer excluded outright: an original no source names already stays, and one a composition names still goes. The by-name fallback matches only a light copy straight in footage/. An original of unknown size is refused past 40 GB as it downloads. * Originals by link: the farm says what it takes; a render's record holds only what it read Second review of #340. /v1/blobs/have answers links: 1 when the farm fetches an original of unknown size, and settle goes by that, not by the farm having a cache. The record goes into the --manifest and beside the output, narrowed to the sources the manifest names; a clean render clears an old one; one that can't be written is said aloud. A CPU render (no farm, or RAEA_CLOUD_GPU_FALLBACK=cpu) records every light copy as light and says NO ORIGINAL. footage/originals/ stays out even when no source names any media. Farm temp files get a random suffix (PIDs repeat across containers), and the size line counts what's fetched by link apart. --------- Co-authored-by: shinyobjectz <[email protected]>
docs
Documentation that spans more than one folder.
- settings.md: every setting raea reads (the agent's model provider, the optional API for generated music and speech, checks), and where they go.
Each folder's own README describes that part of the code. Behaviour specs written in Gherkin sit beside the code they
specify, for example sdk/shell/shell.feature and
sdk/raea/spec/motion.feature.