chore(storage): bound build retention, caches and test resources

Track build ownership, qualified pins and bounded cache/log lifecycles. Move Vite fixtures to a job-owned server helper and preserve private outputs outside Git.
This commit is contained in:
DCCONSTRUCTIONS
2026-10-29 09:09:58 +03:00
parent 55f64f195b
commit 70ef3f9f1c
119 changed files with 3128 additions and 331 deletions
+72
View File
@@ -27,9 +27,36 @@ links to that record for monorepo, storage, resource and live-only telemetry rul
build-input packages per active build line; preserve separately designated
qualified releases and required rollback artifacts. Do not accumulate a new
full package after every iteration without retiring superseded intermediates.
- Build storage lifecycle is implemented by `scripts/packaging/build_retention.py`;
follow `docs/STORAGE_RETENTION.md`. New input generators return a persistent
active owner handle. After the remote job/transfer/qualification is confirmed
terminal, close only your own hold with `finish` (pin qualified/rollback
outcomes), review its plan and apply it as part of build completion. Never
expire active holds by age or declare unknown legacy inputs disposable.
- Run local Python validation through `scripts/check_python.py pytest|ruff|mypy`
(pass the usual file/selection arguments). It owns temporary caches, disables
persistent pytest/Ruff cache output, and cleans its own scratch after child
processes end. Never sweep another active job's cache or unknown crash residue.
- Runtime cache publication quotas and bounded service journals are defined in
`docs/STORAGE_RETENTION.md`. Existing replay/overlay data remains protected;
a full quota refuses a new copy rather than deleting recovery material.
- Check disk space before large builds or captures. Keep task scratch work
under `.runtime` and clean generated scratch at completion; do not scatter
temporary project folders through the parent repository directory.
- Owner amendment, 2026-10-19: completed simulation/urban-infrastructure
engineering experiments must not retain unlimited raw frames, render arrays
and step-by-step traces by default. At closeout preserve a compact textual
report, exact inputs/configuration/source identities, result/limitations and
regression evidence; archive text with verified hashes, then retire the
explicitly inventoried disposable derived files after all owners stop.
Use one content-addressed text copy for duplicates. Keep only the limited
visual evidence needed by the final report. Do not leave a complete new
media export after every iteration or require the owner to clean it manually.
This is a closeout obligation for engineering-owned scratch, not permission
to TTL-delete application runs, scans, accepted maps, working code, offline
dependencies, installers, qualified releases or pinned rollback. Unknown or
active ownership blocks removal; retain a deletion receipt and link the
archive from the report/Ops. See the amendment in docs/STORAGE_RETENTION.md.
- Other repositories, platform worktrees, infrastructure, DOC, workspace bridge,
Site/SEO, BIM Viewer, Device Core, Design Guideline, and Gaussian Pipeline are
separate ownership boundaries. Mission Core cleanup must not alter them.
@@ -39,6 +66,14 @@ links to that record for monorepo, storage, resource and live-only telemetry rul
monitoring requires an explicitly provisioned separate service; simulation
evidence and recordings have a separate lifecycle and must not be deleted as
part of telemetry cleanup.
- Owner amendment, 2026-10-20: new semantic-learning images, observations,
datasets, checkpoints and heavy experiments belong to a separate portable
persistent store on Worker 006, outside the source checkout and container
writable layer. Never accumulate them on the operator Mac or add a local
fallback. Core may keep viewer scenes, semantic results and bounded edit
metadata. Saving an edit is not dataset preparation or training acceptance;
retain the immutable algorithm result and human provenance separately.
See `docs/SEMANTIC_EDITOR.md` for the delivered scope and outstanding gates.
## Non-negotiable safety boundaries
@@ -254,3 +289,40 @@ decoders before BLE/Wi-Fi/data-session evidence exists.
- Spatial evidence uses 3D by default. Image-space reprojection may be offered
as a 2D diagnostic mode inside the same reusable viewer. Primary evidence
viewers must provide the canonical expand/restore action.
## Urban semantic agent contract — owner requirement, 2026-10-26
- Product foundation: read `docs/SCENE_SEMANTICS_PRODUCT_CONCEPT.md`. Each scan is
a standalone local scene, including unnamed/unmapped locations. Raw recorded
sensor points support localization; Gaussian observations support the current
semantic research. Never substitute Gaussian-derived geometry for raw points.
- No GPS/address/public-map prerequisite and no automatic cross-scan geographic
matching, overlap search, registration or merging. Those require a separate
explicit owner request. Named train/evaluation source lists do not authorize
geographic investigation. Preserve source lineage and evaluation honesty.
- Crosswalks are functionally important; the target includes all observed road
markings for scene context, interface/product value and difficult-task
validation. Do not reduce the scope to demo-only markings or crosswalks only.
- For automated infrastructure annotation, dataset preparation and learning,
begin with live Ops MISSIONCOR-93 (agent contract) and MISSIONCOR-88 (product),
then `docs/SEMANTIC_AGENT_OPERATING_CONTRACT.md`. Reuse the current hypothesis
register and existing experiments; a new chat does not reset the investigation.
- The owner explicitly requests MISSIONCOR-93 to hold current architecture,
rules, bounded next steps and portable handoff. This is the scoped exception
to the earlier delivered-results-only Ops rule. Keep raw logs/media in local
engineering evidence; update the current card blocks after meaningful changes.
- Root owns the useful outcome, real dispatch, integration and final decision.
Use one reusable critic and an optional bounded research scout, at most two
active helpers and no nested delegation. Send compact briefs, not full history.
- New annotation cycles use the v2 objective/dispatch contract. Approved partial
annotations are distinct from completing the enclosing product work package.
Handle introduced critical regressions within the session or revert/isolate
the change. Do not declare success merely because a ledger or test completed.
- Choose reusable pipelines against actual inputs/outputs and accumulated
evidence before narrow tuning. Every closed hypothesis states tested scope,
supporting artifacts and a substantive condition for reopening. Do not repeat
unchanged searches or model variants under a new name.
- Worker access/power/runtime authority comes from the owner's current session
instructions, never from the card or an old experiment's training allowance.