Skip to content

feat: DX polish — default local, embedded agent config, Quick Start#55

Merged
robbycochran merged 5 commits into
mainfrom
rc-audit
Jun 9, 2026
Merged

feat: DX polish — default local, embedded agent config, Quick Start#55
robbycochran merged 5 commits into
mainfrom
rc-audit

Conversation

@robbycochran

Copy link
Copy Markdown
Collaborator

Summary

  • --local default: harness up without flags now auto-deploys the local gateway. Previously required explicit --local or errored. One-line change (ensureLocal: !remote).
  • Embedded agent config: Default agent config (agents/default.yaml) is embedded in the binary via go:embed. Binary works standalone without an agents/ directory on disk. Disk configs take precedence over the builtin.
  • Quick Start README: New section at the top with binary download instructions, prerequisites, and harness up. Targets the app pack model — no repo clone needed.
  • TODOS.md: Tracks registerProviders agent-scoped filtering (outside voice finding).

Test plan

  • CGO_ENABLED=0 go test ./... — all pass (8 packages)
  • New test: TestUpLocal_EnsureLocal_DeploysGateway — covers the new default path
  • New tests: TestResolveAgentConfig_* (4 tests) — embedded fallback, disk override, explicit file no fallback, non-default name no fallback
  • Manual: harness up from repo root with local gateway running
  • Manual: binary from GitHub Releases in empty directory with GITHUB_TOKEN set

🤖 Generated with Claude Code

… Start

- Make --local the default for `harness up` (no flags = local gateway).
  Previously required explicit --local flag or errored with "no active gateway".

- Embed agents/default.yaml in the binary via go:embed. When no agents/
  directory exists on disk, the binary uses its embedded default config.
  Disk configs take precedence. Only falls back for the "default" agent name.

- Restructure README with Quick Start section: binary download, set
  GITHUB_TOKEN, harness up. Targets the app pack model where the binary
  is self-contained for the local case.

- Add TODOS.md with registerProviders agent-scoped filtering item.
…rtex

Embed agents/builtin.yaml (github, vertex-local, atlassian) instead of
the full default.yaml which includes GWS. GWS requires OAuth setup
too heavy for a Quick Start.

Update README Quick Start to show github + jira credentials explicitly
and note that missing credentials are skipped gracefully.
Builds CLI, sandbox image, and runner image silently (layer-cached),
pushes to registry, then runs harness with SANDBOX_IMAGE and
RUNNER_IMAGE set to the dev tags. SKIP_PUSH=1 for local-only dev.
@robbycochran robbycochran merged commit 0722243 into main Jun 9, 2026
6 checks passed
@robbycochran robbycochran deleted the rc-audit branch June 13, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant