Commit Graph

4 Commits

Author SHA1 Message Date
Bo f4162649b8 fix(agentops): remove api-print worker paths (#804)
## Summary
- replace AgentOps headless Claude print worker paths with Codex exec or
non-CLI providers
- switch compile auto-detect/default headless CLI runtime from
claude-cli to codex-cli
- fix two shellcheck blockers from the merged skill corpus and refresh
generated docs/hash metadata

## Validation
- bash /Users/bo/acfs/skill-pipeline/scripts/no-api-print-scan.sh
/Users/bo/dev/agentops/skills /Users/bo/dev/agentops/scripts
/Users/bo/dev/agentops/hooks
- shellcheck --severity=error skills/compile/scripts/compile.sh
scripts/eval-agent-harness.sh scripts/run-rpi-phases.sh
skills/agy-rules-workflows/scripts/close-guard.sh
skills/rch/scripts/mine_rch_history.sh
- cd cli && go test ./cmd/ao -run
'TestResolveCompileRuntime|TestPreflightCompileRuntime|TestCompileScriptOptionsPassesBatchFlags|TestRunCompile_EndToEnd_FixtureCorpus'
-count=1
- bash scripts/regen-all.sh --check
- PRE_PUSH_SKIP_MKDOCS=1 bash scripts/pre-push-gate.sh --fast

Note: unscoped
/Users/bo/acfs/skill-pipeline/scripts/no-api-print-scan.sh still flags
ACFS conformance-selftest fixture strings outside this repo; AgentOps
scoped roots are clean.
2026-06-07 00:08:59 -04:00
Boden Fuller 81066b6a16 fix(eval): remove unused vars flagged by shellcheck
Drop JSON_OUTPUT (parsed but unused) from harness, WORKBENCH (unused)
from suite runner, and self-assignment in single-mode case.
2026-05-04 15:04:20 -04:00
Boden Fuller e5defbb8e9 feat(eval): enhance agent harness with industry-proven eval patterns
Borrows four patterns from the eval landscape (Anthropic pass@k,
SkillsBench A/B, Aider retry-with-feedback, SWE-bench task prompts)
and adapts them to our 12-task workbench:

- Add task-specific prompt.md to all 12 tasks (lifts pass rate 50%→92%)
- Add --runs N flag for pass@k / pass^k statistical tracking
- Add --compare flag for with-skill vs without-skill A/B testing
- Add --retry flag for two-attempt with test failure feedback
- Add --generic-prompt flag for prompt sensitivity measurement
- New eval-agent-suite.sh orchestrator with mode selection
- Expand agent suite JSON from 3 cases to all 12
- Add prompt.md and agent suite coverage checks to CI gate
2026-05-04 14:31:48 -04:00
Boden Fuller dbbe159d2d feat(eval): add agent harness script and wire live runtime into eval CLI
Phase 1: scripts/eval-agent-harness.sh wraps setup → agent CLI → score
for any workbench task. Supports --dry-run, --hooks-disabled for A/B,
--timeout, and agent-not-found graceful handling.

Phase 2: extend parseEvalRuntime() to accept claude/codex alongside
static/mock/shell. Update flag help and shell completion. Add table-
driven test covering all 5 runtime values plus empty and unknown.

Closes soc-egdg, soc-eiy4.
2026-05-04 13:27:26 -04:00