docs: add Bring Your Own Agent guide and agent CLI reference - #5255
Conversation
d6e3327 to
d4ceaa5
Compare
PR Summary by QodoDocs: add Bring Your Own Agent (BYOA) guide
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
🤖 Finished Review · ✅ Success · Started 4:53 PM UTC · Completed 5:08 PM UTC |
Site previewPreview: https://c6bf5395-site.fullsend-ai.workers.dev Commit: |
Code Review by Qodo
1. No Prerequisites section
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
ReviewFindingsLow
Previous runReviewFindingsLow
Previous run (2)ReviewFindingsMedium
Low
Previous run (3)ReviewFindingsLow
Previous run (4)ReviewFindingsMedium
Low
Previous run (5)ReviewFindingsMedium
Labels: PR adds and modifies user-facing documentation guides and CLI reference Previous run (6)ReviewFindingsLow
Previous run (7)ReviewFindingsLow
Previous run (8)ReviewFindingsMedium
Low
Previous run (9)ReviewFindingsMedium
Low
|
d4ceaa5 to
370f87e
Compare
|
🤖 Review · |
370f87e to
a97a404
Compare
|
🤖 Finished Review · ✅ Success · Started 5:18 PM UTC · Completed 5:32 PM UTC |
Superseded by updated review
waynesun09
left a comment
There was a problem hiding this comment.
Review Squad Report — #5255
Agents dispatched: 4 (Claude coder, Claude researcher, Grok, Codex)
Models used: Claude, Grok, Codex
Total findings: 15 (after dedup + verification + UX walkthrough)
False positives removed: 3 (incl. sidebar entry — it IS in the PR)
Methodology
Code review findings from 4 parallel agents, verified against the codebase. UX findings from actually porting the gh-classify agent using this guide — discovered gaps firsthand.
Not in this diff but should be in this PR
docs/guides/user/building-custom-agents.md— deprecation banner says "register in config.yaml" but doesn't link to this new guide. Add:> For the current guide, see [Bring Your Own Agent](bring-your-own-agent.md).
Assisted-by: Claude (review), Grok (review)
waynesun09
left a comment
There was a problem hiding this comment.
Review Squad Report — CLI Reference (docs/cli/agent.md)
Agents dispatched: 4 (Claude coder, Claude researcher, Grok, Codex)
Models used: Claude, Grok, Codex
Total findings: 4 MEDIUM, 8 LOW (after dedup + verification)
False positives removed: 0
Positive notes
All 5 subcommands, flags, argument counts, and behavior claims verified against Go source (internal/cli/agent.go, internal/cli/migrate.go). No undocumented subcommands. Override classification table matches code exactly. Security properties (pinning, integrity hashes, path traversal validation) are sound.
LOW findings (not posted inline)
agent liststrips#sha256=...from displayed SOURCE — not documented (user may be confused when comparing to config.yaml)agent addvalidates local path existence — not documented as a constraint- README description truncates
migrate-customizationsto justmigrate— user might tryfullsend agent migrate (required)annotation in flag descriptions inconsistent with other CLI docs### Behaviorheading pattern unique to this doc — other CLI docs use inline proseagent listoutput format not shown with example- GitHub blob URL → raw URL transformation not detailed
integrity hashvsSHA-256terminology inconsistency (line 21 vs 37)
Assisted-by: Claude (review), Grok (review), Codex (review)
a97a404 to
6fb224c
Compare
|
🤖 Review · |
6fb224c to
e4fbf6d
Compare
|
🤖 Finished Review · ✅ Success · Started 7:30 PM UTC · Completed 7:42 PM UTC |
|
🤖 Finished Review · ❌ Failure · Started 2:13 PM UTC · Completed 2:29 PM UTC |
69c5d53 to
c1f7736
Compare
|
🤖 Review · |
waynesun09
left a comment
There was a problem hiding this comment.
I followed this guide literally end-to-end (created the exact files "Minimum viable agent" shows, ran the exact command "Testing locally" shows, in a scratch environment) rather than just reading it. A reader following it top-to-bottom will not succeed — three compounding blockers, each confirmed by actual reproduction. Inline comments mark where each one lives.
There's also a fourth, more significant finding that isn't part of this diff but is directly related: it turns out fullsend-ai/agents (the repo running-agents-locally.md now points --fullsend-dir at, per the just-merged #5287) has no profiles/ directory either — meaning the same "unsupported provider type" failure described in the third inline comment below will also hit anyone following the default agents locally with real GCP credentials, once they get past pre-script. I'll open a separate issue for that since it's not this PR's fault, but flagging here since it's the same root cause this PR's example surfaces.
Otherwise this is a strong, well-structured guide — the harness field reference, merge-rules table, and cross-reference updates all check out against the actual Go source.
c1f7736 to
bce12c3
Compare
|
🤖 Finished Review · ✅ Success · Started 2:43 PM UTC · Completed 2:57 PM UTC |
Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
bce12c3 to
162cd3a
Compare
|
🤖 Finished Review · ✅ Success · Started 3:04 PM UTC · Completed 3:20 PM UTC |
waynesun09
left a comment
There was a problem hiding this comment.
Re-verified all 3 findings end-to-end after the update, not just re-reading the diff.
- Directory naming:
.fullsend/now used consistently in the "Minimum viable agent" tree and every--fullsend-direxample — no more mismatch. fullsend init: removed, correctly replaced withfullsend github setup.- Missing
profiles/: addedprofiles/fullsend-vertex-ai.yamlwith real content — diffed it against the actual scaffold file, byte-identical except the cosmetic leading---marker.
Rebuilt the exact updated "Minimum viable agent" file tree in a scratch dir and ran the exact "Testing locally" command literally. It now proceeds through harness load → openshell/gateway checks → provider creation succeeds (✓ Provider ready: vertex-ai) → sandbox bootstrap. That's the full chain that was broken before.
Approving.
|
🤖 Finished Retro · ✅ Success · Started 3:51 PM UTC · Completed 4:01 PM UTC |
|
PR #5255 was a substantial docs-only PR (15 files, +719/-15 lines) adding a Bring Your Own Agent guide and CLI reference. It went through 13 review agent runs over ~22 hours, consuming approximately 187 minutes of agent compute. The review agent consistently produced low/medium severity findings (config validation mismatches, link consistency, terminology issues) but never surfaced a HIGH finding. Meanwhile, human reviewer waynesun09 found 16 HIGH and 27 MEDIUM findings using a multi-agent 'review squad' methodology plus hands-on reproduction, including security-relevant issues (production slug reuse in examples), non-existent CLI commands, and missing prerequisite files. The most critical blocking issues were only discoverable by literally following the guide's steps. The review agent did catch some valid issues the human missed (config validation regex details, platform field values), demonstrating complementary value. Three proposals target the most impactful gaps:
Related existing issues: #1480 (shallow docs feedback), #5157 (scale detail to complexity), #1900 (fast path for trivial docs changes). Proposals filed
|
Summary
docs/guides/user/bring-your-own-agent.md) covering how to build custom agents and configure existing ones — harness files, agent definitions, skills, scripts,basecomposition, registration, and migration from the deprecatedcustomized/directory overlay.fullsend agentsubcommands (docs/cli/agent.md):add,list,update,remove, andmigrate-customizations. Promotesfullsend agentfrom "Additional commands" to "Command groups" in the CLI overview and adds it to the VitePress sidebar.docs/agents/README.md,docs/glossary.md,docs/agents/topics/default-vs-custom.md, anddocs/guides/infrastructure/standalone-mint.mdto point to the new BYOA guide instead of the deprecatedbuilding-custom-agents.md.Test plan
#configuring-existing-agents,#field-merge-rules-for-base-and-forge)customizing-with-skills.md,customizing-with-agents-md.md, andstandalone-mint.mdresolve/cli/agentrenders correctly and appears in the CLI sidebar🤖 Generated with Claude Code