Repository navigation
Description
Problem: docs/agents.md says, adapter by adapter, that install commands, authentication, or the full non-interactive run are unverified for claude, agent (Cursor), agy, gemini, codex, copilot, droid, devin and opencode. The unit tests in tests/test_agents/ check the argv secfoo builds and parse canned output; none of them has seen the CLI's real stdout, real exit codes, a real timeout, or a real auth failure. Users find out in production that a flag was renamed or the JSON output changed shape.
Build:
- Recorded real transcripts. For each adapter, run one small skill (
secret-scanning --depth quickonexamples/) against the real CLI and commit the raw stdout/stderr/exit code undertests/fixtures/agents/<id>/<cli-version>/(secrets redacted; the recording script lives inscripts/record_agent.pyand refuses to save anything matching a key pattern). Add a test per adapter that feeds the recording throughextract_report()and the cost/token extraction and asserts the report parses and the numbers match what the CLI printed. - Failure transcripts too: not logged in, binary missing, timeout (short
--timeout), and the CLI refusing the working directory (trust prompts). Assert secfoo's status (failed,binary_not_found,timeout,not_configured) and that the error text names the cause. - Fix what you find. Expect flag drift and output-format changes; each fix goes in the adapter with a comment naming the CLI version it was verified against.
- A verification matrix in
docs/agents.md: CLI version, date, who verified, which of install / auth / run / timeout / cost were checked; replace each "unverified" sentence with the facts. Add the exact install command that worked. - Optional, if credentials can be arranged: a weekly
workflow_dispatchjob that re-runs the recordings for adapters whose CLI is installable on a runner and diffs the output shape.
Pick adapters you have access to; one well-verified adapter is a complete PR (the issue stays open until the matrix is full). Say in your claim comment which ones you will do.
Where to look: src/secfoo/agents/*.py, tests/test_agents/, tests/conftest.py (fake_popen), docs/agents.md, src/secfoo/runner.py (status mapping).
Done when: every adapter has at least one success and one failure recording with tests; docs/agents.md contains no "unverified" claims that are not dated and explained; adapter fixes are covered by the recordings.
Activity
Shruti070107 commentedon Nov 29, 2026
Claiming issue #116 for the
copilotadapter only.I've opened PR #214 with real GitHub Copilot CLI 1.0.117 recordings (success, auth failure, timeout, missing binary), the redacting recorder, replay tests, and a dated verification matrix. I'm deliberately not doing
opencodehere because upstream PR #207 already verifies it; the remaining adapters are left marked unverified in the matrix.feat(agents): verify the copilot adapter against the real CLI 1.0.117 (…