PR #159 · SPEC-000 · Harness Foundation
feat(harness): SPEC-000 foundation contracts + SAM skeleton
What
Lays the SAM/CDK skeleton for the Fargate harness control plane: queues, dispatch table, ECS cluster, task definition, IAM roles, Lambda functions, and alarms.
Why now
AgentCore is shared and expensive for heavy turns. Fargate gives per-turn isolation, cost caps, and a self-hosted worker path.
What changed
think2earn-harness SAM stack; turn-kick + vm-action queues with DLQs; think2earn_turn_dispatch table; ECS cluster + task definition; skeleton Lambda functions (Node 22 .mjs); budget/CloudWatch alarms.
Risk / trade-off
Triggers disabled; stack is inert until SPEC-C1/C2/C4 wire the worker loop. Up-front infra cost is minimal.
Money & ops
Enables a second runtime backend behind a flag. Provides substrate for per-user concurrency caps and hard cost stops.
CEO decision
Approve. Merge as foundation. No production traffic yet.