Skip to content

feat: audit cleanup, headless tasks, policy via CLI, payload multi-upload#74

Merged
robbycochran merged 11 commits into
mainfrom
rc-audit-fixes
Jun 17, 2026
Merged

feat: audit cleanup, headless tasks, policy via CLI, payload multi-upload#74
robbycochran merged 11 commits into
mainfrom
rc-audit-fixes

Conversation

@robbycochran

@robbycochran robbycochran commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

From multi-agent project audit + implementation session:

New features:

  • --task "text" and --task @file flags on apply -- runs agent headlessly, outputs to stdout
  • --entrypoint flag on apply -- override agent entrypoint from CLI
  • kind: policy applied via openshell policy set after sandbox creation (hot-reload)
  • kind: payload with multi-upload (sandbox_path/local_path/content)
  • -o json|yaml on describe command

Removed:

  • start/stop commands (thin wrappers, use openshell directly)
  • Hidden --local/--remote deploy flags
  • Unused resolveSandboxName function
  • Speculative TODO items (fleet.yaml, policy suggest)

Fixed:

  • --no-git-ignore passed once not per upload
  • Deploy error message referenced deprecated teardown
  • expandEnvVar fallback semantics
  • Retry message uses actual sleep duration
  • Config path printed on apply (suppressed for -o yaml/json)
  • Gateway table uses separate ACTIVE column (no * prefix on name)

Docs:

  • README rewritten: honest OpenShell relationship, always explicit -f, task/entrypoint examples
  • dev-harness.sh uses CI image from GHCR (fixes macOS podman build issue)
  • Policy payloads removed (\ is read-only, use CLI instead)

Test plan

  • go build/test/vet all pass
  • Config suite: 23/23
  • Headless task verified: harness apply -f agent.yaml --task "review code" streams output
  • CI green

…ulation

From multi-agent audit:
- Remove start/stop commands (thin wrappers over openshell sandbox start/stop)
- Add -o json|yaml to describe command
- Fix ResolvePayloads return type (named struct instead of anonymous)
- Remove hidden --local/--remote deploy flags
- Move dev-harness.sh to scripts/
- Add mlflow.db and plan_file_ga.md to .gitignore
- Cut speculative TODO items (fleet.yaml, policy suggest, fleet management)
- Add harness init and pre-flight checks as deferred priorities
- Update README and SPEC (remove start/stop references, add -o to describe)
@robbycochran robbycochran changed the title refactor: audit cleanup -- remove wrappers, clean artifacts feat: audit cleanup, headless tasks, policy via CLI, payload multi-upload Jun 17, 2026
@robbycochran robbycochran reopened this Jun 17, 2026
@robbycochran robbycochran merged commit 0a29771 into main Jun 17, 2026
12 checks passed
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