Canonical Host source contract
Source audit 2026-08-30: Prompthon Web App checkout HEAD f58570af7cc5f6d75e62faed31743fefd48a1cac; the files below were clean at inspection. This establishes source behavior only, not the deployed production release.
apps/social-media-manager-agent/src/ui/api.tsmaps logical/api/organizations/:orgId/social/:pathrequests into Hostoperation.executewithsocial.http.readorsocial.http.write.apps/web/src/app/api/agent-applications/workspaces/[workspaceId]/operations/route.tsaccepts signed-in request-user auth and a strict body containingoperationId,input,idempotencyKey,organizationId. It checks workspace/org and Host capability before dispatch.apps/web/src/services/agent-applications/transportService.tsresolves the application release, uses server-owned signing and stores idempotent operation receipts. Students must not call the app's signed endpoint or receive Host signing secrets.apps/social-media-manager-agent/src/server/social/socialHttpOperation.tsmaps path/method to the existing canonical service.socialCanonicalService.tsowns campaign/post/variant/schedule/delivery/audit behavior and readback shapes.apps/web/src/services/agent/localBridgeRequestAuth.tsexplicitly marks the former bridge request-auth helper deprecated and says product APIs use normal request-user auth. Do not assume the retained legacy bridge docs authorize a current production flow.
Browser request shape (same signed-in origin; cookies remain browser-owned):
json
{
"operationId": "social.http.read",