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
@@ -111,13 +111,27 @@ public class StudioApplicationConfiguration {
}
@Bean
AssetPacking assetPacking(PackerWorkspaceService packer, OperationExecutor operations, p.studio.api.automation.ProjectAccess access) {
return new PackerAssetPacking(packer, operations, access);
p.studio.app.assets.AssetBudgetInspection assetBudgetInspection(ObjectMapper mapper,PackerWorkspaceService packer,ProjectLocalStudioSetupStore setup) {
return new p.studio.app.assets.AssetBudgetInspection(mapper,packer,setup::load);
}
@Bean
p.studio.core.assets.AssetBatchWorkspace assetBatchWorkspace(ObjectMapper mapper,PackerWorkspaceService packer,p.studio.app.assets.AssetBudgetInspection budgets) {
return new p.studio.app.assets.FileAssetBatchWorkspace(mapper,packer,budgets::inspect);
}
@Bean
p.studio.api.assets.AssetAuthoringService assetAuthoringService(p.studio.core.project.ProjectAccessRegistry projects,ProjectCatalog catalog,
p.studio.core.assets.AssetBatchWorkspace workspace,OperationExecutor operations) {
return new p.studio.core.assets.DefaultAssetAuthoringService(projects,catalog,workspace,operations);
}
@Bean
AssetPacking assetPacking(PackerWorkspaceService packer, OperationExecutor operations, p.studio.api.automation.ProjectAccess access,p.studio.app.assets.AssetBudgetInspection budgets) {
return new PackerAssetPacking(packer, operations, access).withAssetPreflight(budgets);
}
@Bean
AssetDetails assetDetails(PackerWorkspaceService packer) {
return new PackerAssetDetails(packer);
return new PackerAssetDetails(packer,false);
}
@Bean
@@ -146,8 +160,8 @@ public class StudioApplicationConfiguration {
}
@Bean
AssetMetadataService assetMetadataService(ObjectMapper mapper, p.studio.api.automation.ProjectAccess access) {
return new AssetStudioMetadataService(mapper, access);
AssetMetadataService assetMetadataService(ObjectMapper mapper, p.studio.api.automation.ProjectAccess access,PackerWorkspaceService packer) {
return new AssetStudioMetadataService(mapper, access,packer);
}
@Bean
@@ -197,8 +211,8 @@ public class StudioApplicationConfiguration {
@Bean
StudioShipperService shipper(CompilerBuildGateway compiler, PackerWorkspaceService packer, ObjectMapper mapper,
OperationExecutor operations, p.studio.api.automation.ProjectAccess access) {
return new StudioShipperService(compiler, packer, mapper, operations, access);
OperationExecutor operations, p.studio.api.automation.ProjectAccess access,p.studio.app.assets.AssetBudgetInspection budgets) {
return new StudioShipperService(compiler, packer, mapper, operations, access).withAssetPreflight(budgets);
}
@Bean(destroyMethod = "shutdown")
@@ -252,8 +266,13 @@ public class StudioApplicationConfiguration {
ProjectLocalStudioSetupStore setupStore, LspLifecyclePort lsp,
p.studio.core.project.ProjectAccessRegistry access, OperationExecutor operations,
p.studio.api.automation.AutomationConnectionLifecycle connections,
p.studio.api.automation.AgentIntegrationPreparation preparation) {
return new DefaultProjectSessionFactory(stateStore, setupStore, lsp, access, operations, connections, preparation);
p.studio.api.automation.AgentIntegrationPreparation preparation, p.studio.api.automation.EvidenceTools evidence,
p.studio.api.automation.GuestTestTools tests,p.studio.api.assets.AssetAuthoringService authoring) {
var factory = new DefaultProjectSessionFactory(stateStore, setupStore, lsp, access, operations, connections, preparation);
factory.setEvidenceTools(evidence);
factory.setGuestTestTools(tests);
factory.setAssetAuthoring(authoring);
return factory;
}
@Bean
@@ -350,14 +369,35 @@ public class StudioApplicationConfiguration {
return new p.studio.core.session.DefaultTaskTools(projects, catalog, shipper, headless);
}
@Bean
p.studio.api.automation.EvidenceTools evidenceTools(p.studio.core.project.ProjectAccessRegistry projects,
p.studio.api.automation.TaskTools tasks, ObjectMapper mapper) {
return new p.studio.core.session.DefaultEvidenceTools(projects, tasks,
new p.studio.app.evidence.FileEvidenceStore(mapper), new p.studio.app.evidence.PngEvidenceCodec());
}
@Bean(destroyMethod = "close")
p.studio.core.session.DefaultGuestTestTools guestTestTools(p.studio.core.project.ProjectAccessRegistry projects,
ProjectCatalog catalog, p.studio.core.shipper.SavedProjectPreparation shipper,
p.studio.core.runtime.HeadlessGateway gateway, ObjectMapper mapper, OperationExecutor operations) {
var support = new p.studio.app.runtime.GuestTestSupportAdapter(mapper,
new p.studio.app.evidence.FileEvidenceStore(mapper),new p.studio.app.evidence.PngEvidenceCodec());
return new p.studio.core.session.DefaultGuestTestTools(projects,catalog,shipper,gateway,support,
new p.studio.app.runtime.GuestEventDecoder(mapper),operations);
}
@Bean
p.studio.app.mcp.McpToolRegistry mcpToolRegistry(p.studio.app.mcp.McpToolCatalog catalog, ObjectMapper mapper,
p.studio.api.automation.ProjectKnowledge knowledge, p.studio.api.automation.LanguageQueries language,
p.studio.api.automation.TaskTools tasks, p.studio.api.assets.animation.AnimationTasks animations, java.util.Optional<p.studio.core.runtime.HeadlessGateway> headless) {
p.studio.api.automation.TaskTools tasks, p.studio.api.assets.animation.AnimationTasks animations,
p.studio.api.automation.EvidenceTools evidence, p.studio.api.automation.GuestTestTools tests,p.studio.api.assets.AssetAuthoringService assets, java.util.Optional<p.studio.core.runtime.HeadlessGateway> headless) {
var handlers = new java.util.LinkedHashMap<>(p.studio.app.mcp.McpProjectKnowledgeTools.handlers(knowledge, mapper));
handlers.putAll(p.studio.app.mcp.McpLanguageTools.handlers(language, mapper));
handlers.putAll(p.studio.app.mcp.McpTaskTools.handlers(tasks, mapper, headless.isPresent()));
handlers.putAll(p.studio.app.mcp.McpAnimationTools.handlers(animations, mapper));
handlers.putAll(p.studio.app.mcp.McpEvidenceTools.handlers(evidence, mapper));
if(headless.isPresent())handlers.putAll(p.studio.app.mcp.McpGuestTestTools.handlers(tests,mapper));
handlers.putAll(p.studio.app.mcp.McpAssetAuthoringTools.handlers(assets,mapper));
return new p.studio.app.mcp.McpToolRegistry(catalog, mapper, handlers);
}