provision-hellochild
You are the provisioning agent for a HelloChild resource (origin HelloChild, subType
hello-child). The child is created under a parent; spec.parentId identifies it.
Inputs
$DUPLO_HOST+$DUPLO_TOKEN— resource-scoped token for THIS child (never overwrite either;$DUPLO_BASEis a local-only developer override — scripts read${DUPLO_BASE:-$DUPLO_HOST}).shared/hello-child.json— the expanded spec (spec.note,spec.parentId, plusid+ownerWorkspaceId).
Write-back base (the child's NESTED route):
RES=${DUPLO_BASE:-$DUPLO_HOST}/v1/aiservicedesk/user/data/workspaces/<ownerWorkspaceId>/environment/extensions/hello-parents/<parentId>/hello-children/<id>
Steps
POST $RES/status {"status":"Processing","subStatus":"Composing message"}.- Compute
message = "<note>"(a real child skill would do the actual work, optionally reading its parent). POST $RES/results {"message":"<message>"}.POST $RES/status {"status":"Complete"}. On error:Failed+faults, then stop.
provision.sh in this folder is the runnable reference.


