feat(studio): deliver asset authoring and automation workflows
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:
+6
-1
@@ -11,9 +11,14 @@ public record PackerDiagnosticDTO(
|
||||
PackerDiagnosticCategory category,
|
||||
String message,
|
||||
Path evidencePath,
|
||||
boolean blocking) {
|
||||
boolean blocking, String code, java.util.Map<String,Object> context) {
|
||||
|
||||
public PackerDiagnosticDTO(PackerDiagnosticSeverity severity,PackerDiagnosticCategory category,String message,Path evidencePath,boolean blocking) {
|
||||
this(severity,category,message,evidencePath,blocking,null,java.util.Map.of());
|
||||
}
|
||||
|
||||
public PackerDiagnosticDTO {
|
||||
context=context==null?java.util.Map.of():java.util.Collections.unmodifiableMap(new java.util.LinkedHashMap<>(context));
|
||||
Objects.requireNonNull(severity, "severity");
|
||||
Objects.requireNonNull(category, "category");
|
||||
message = Objects.requireNonNull(message, "message").trim();
|
||||
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package p.packer.dtos;
|
||||
|
||||
import java.nio.file.Path;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/** Preload entries come from the very same emitter used to build assets.pa. */
|
||||
public record PackerPackPlanDTO(List<Bank> banks,List<Preload> preload,List<PackerDiagnosticDTO> diagnostics) {
|
||||
public PackerPackPlanDTO {banks=List.copyOf(banks);preload=List.copyOf(preload);diagnostics=List.copyOf(diagnostics);}
|
||||
public record Bank(Integer assetId,String reference,Path root,String bankType,boolean buildSelected,boolean included,long contentCount,
|
||||
Map<String,String> metadata,List<Integer> coldDependencies) {
|
||||
public Bank(Integer assetId,String reference,Path root,String bankType,boolean included,long contentCount,Map<String,String> metadata,List<Integer> coldDependencies){this(assetId,reference,root,bankType,included,included,contentCount,metadata,coldDependencies);}
|
||||
public Bank{metadata=Map.copyOf(metadata);coldDependencies=List.copyOf(coldDependencies);}
|
||||
}
|
||||
public record Preload(int assetId,int slot,String bankType){}
|
||||
}
|
||||
Reference in New Issue
Block a user