feat(harness): --harness selection + verified AuthModes (phase 3) #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat-harness-registry-p3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 3 of
design/harness-descriptor.md— harness selection + real auth verification.What
wraptool up --harness <name>(defaultclaude) picks which harness the guix container is wired for;bringUpGuixContainerwrites that harness's config viaharness.Write.agy,claude,cursor,gemini,opencode,windsurf→ all takeheaders: {Authorization: "Bearer …"}on a remote server → AuthHeader (sharedbearer()helper).roo→ accepts a headers object but a known bug drops it on SSE (Roo-Code#2480) → stays AuthUnverified; a token fails loudly instead of a silent 401.pi→ not a descriptor yet — I couldn't identify which tool "pi" is or its config schema. One registry row once you point me at it.Verified e2e
up --harness opencode→opencode.jsonwithmcp/type:remote/headers.Authorization: Bearer ….up --harness roo→ fails loud with the AuthUnverified error.Full
go test ./...+ golangci-lint clean.Note on
piWhat is
pi? (tool name / repo / where it reads MCP config) — I'll add the descriptor.🤖 Generated with Claude Code
Phase 3 of design/harness-descriptor.md. `wraptool up --harness <name>` (default claude) selects which harness the guix container is wired for; the container path writes that harness's config via harness.Write. Auth verified per each tool's docs and set: agy, claude, cursor, gemini, opencode, windsurf all accept `headers: {Authorization: "Bearer …"}` on a remote server → AuthHeader (a shared bearer() helper adds the header when a token is set). roo accepts the header but a known bug drops it on SSE (RooCodeInc/Roo-Code#2480), so it stays AuthUnverified — a token fails loudly rather than 401ing silently. `pi` is not yet a descriptor (tool/schema unknown). Verified e2e: `up --harness opencode` writes opencode.json with the Bearer header; `up --harness roo` fails loud. Full go test ./... + golangci-lint clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>