feat(studio): deliver asset authoring and automation workflows
Test / Tests and coverage occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit

Add shared human/task asset batches with reviewed atomic publication, explicit
reference rebinds, ownership inspection and qualified glyph/scene budgets.
Expose the same authoring and capacity results through Assets and MCP.

Deliver isolated guest test targets, retained visual evidence and immutable
runtime lifecycle/control observations. Preserve provider qualification and
installed authoring examples alongside the completed discussion lessons.

Close AGD-106 coordination and the delivered discussion workflows through
housekeeping, updating lesson references and preserving qualification limits.
Sound remains outside the asset delivery wave.

Validation: 579 module tests and 31 additional desktop, process and installed
checks passed; native glyph/scene 16/17 boundaries qualified. Discussion
validation passed after housekeeping.
This commit is contained in:
2026-11-11 01:21:25 +00:00
parent b351f2e582
commit 1471b427f1
325 changed files with 61179 additions and 323 deletions
@@ -496,3 +496,50 @@ This specification is satisfied when the Studio `Assets` workspace:
Glyph-bank animation authoring, generated-source navigation, strict task-scoped MCP tools and preview use the shared animation service and validation contract. UI/MCP preserve project authority, expected revisions, conflict/cancellation/revocation and document handoff. Persist only the canonical animation sidecar; keep generated PBS read-only and neutral services independent of JavaFX/transports.
See the [complete animation contract](12.%20Animation%20Authoring%20Specification.md).
## Shared asset authoring and budget inspection
Human and task callers MUST use the same authority-aware authoring service and
packer operations. The initial batch contract covers authorized PNG import,
bank creation/registration, ordered glyph and canonical scene composition,
build inclusion, preload/contract updates, explicit palettes and append/reimport.
This wave covers glyph and scene banks. Sound authoring, packing and qualification
are deferred; existing unsupported sound diagnostics remain authoritative.
Every batch MUST present its expected revision, affected stable asset identities,
proposed file changes with before/after hashes, ownership/dependencies, affected
references, conflicts and complete producer diagnostics before explicit commit.
A stale revision, changed source bytes or unresolved incompatible rebind MUST
block publication. Identical reimport MUST preserve IDs, order, output hashes and
animation links; append MUST preserve existing artifact identities.
Assets MUST reuse its navigator, selection/order controls and local capacity
meters. Inspection MUST show revision/conflicts, references and generated-output
dependencies. Global capacity MUST be shown separately from bank content, with
distinct existing, build-included, final-preload and potential dynamic views.
Show used/required/limit and the selected profile or explicit unknown status in
readable text. A potential dynamic excess is a warning, not proof that all
potential banks are simultaneously resident. A grant permits human inspection
while keeping human mutation blocked.
FE and MCP MUST consume the same immutable preview/result/budget projection.
Neither surface may reconstruct missing producer facts from prose or maintain
its own capacity count. Existing per-bank meters remain visible. Preview,
explicit commit, stale conflict and rejected rebind MUST be usable in the actual
Assets flow, with actionable details readable at supported window sizes.
The inline capacity area above the existing navigator/details split MUST show
qualification, separate existing/build/preload/potential counts and producer
facts. Existing bank composition, palettes, contract and scene acceptance actions
use the shared preview and explicit publication dialog. Replacement artifact
choices MUST be explicit for every affected animation, scene or metadata use.
The PNG picker issues a project-bound source grant; it does not grant a task any
external filesystem access. Ownership declaration records an existing output and
its named inputs without running a producer.
A draft bank may be published before scene composition is accepted. A missing
canonical scene request is still a cartridge-blocking packer diagnostic. Draft
previews expose that fact with `cartridgeBlocking: true`; no draft publication
qualifies it for build or execution. Unrelated unfinished banks do not prevent
editing another bank. Invalid changed glyph compositions remain rejected.