apps/runner scaffold (app-tier, walking-skeleton story 04): WS server speaking @repo/core-runner-protocol. Every inbound/outbound frame is envelope-wrapped and zod-parsed; hello/ready handshake gates on the workspace-scoped token (constant-time compare, redacted token on rejection replies); named error events for version/schema/auth rejections. Config via env only (token never argv); port announced on stdout for the story-06 provisioner. Runtime deps: ws (the standard Node WS server; ADR-022 traces do not apply to app-tier) and zod. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK
16 lines
236 B
JSON
16 lines
236 B
JSON
{
|
|
"extends": ["//"],
|
|
"tags": ["app"],
|
|
"tasks": {
|
|
"test": {
|
|
"env": [
|
|
"RUNNER_HOST",
|
|
"RUNNER_PORT",
|
|
"RUNNER_TOKEN",
|
|
"RUNNER_WORKSPACE_DIR",
|
|
"RUNNER_HEARTBEAT_MS"
|
|
]
|
|
}
|
|
}
|
|
}
|