19438d6aa4
P0 freezes the concept boundary between HWLAB (business session/workspace) and AgentRun (tenant/policy/execution): - HWLAB adapter now always uses DEFAULT_HWLAB_AGENTRUN_PROJECT_ID / DEFAULT_HWLAB_AGENTRUN_PROVIDER_ID / DEFAULT_HWLAB_AGENTRUN_BACKEND_PROFILE on AgentRun runPayload, regardless of caller options. Business projectId belongs in workspaceRef only, not in AgentRun projectId. - commandPayload.projectId is now always set to the HWLAB-fixed DEFAULT_HWLAB_AGENTRUN_PROJECT_ID, never undefined and never derived from caller options. - client agent send --session-id <SES> --conversation-id <CONV> without --provider-profile now looks up the explicit session record to inherit providerProfile / threadId / conversationId. Mismatched --conversation-id against the session record aborts with session_conversation_mismatch before dispatching to AgentRun (prevents stale session state from being used as a new conversation). Contract tests added (all 4 passing): - internal/agent/agentrun-dispatch.test.mjs: HWLAB AgentRun assembly fixes tenantId/projectId/providerId/backendProfile regardless of options; command payload does not leak business projectId into AgentRun command projectId. - tools/hwlab-cli/client.test.ts: send --session-id + --conversation-id inherits explicit session providerProfile; fails with session_conversation_mismatch when the session points at a different conversation. P2 (CLI/trace result segregation) and P3 (state machine convergence) remain for follow-up. Tracked via #792 comment chain. Tracked-by: pikasTech/HWLAB#792