feat(run): add runtime agent resolution from config (ADR 0058 Phase 3)#2769
Conversation
PR Summary by QodoResolve
AI Description
Diagram
High-Level Assessment
Files changed (17)
|
|
🤖 Finished Review · ✅ Success · Started 3:32 AM UTC · Completed 3:47 AM UTC |
Code Review by Qodo
1. Config path escapes root
|
|
Looks good to me. All prior medium findings have been addressed:
Remaining low findings
Previous runReviewFindingsMedium
Low
Previous run (2)ReviewFindingsLow
Previous run (3)ReviewFindingsMedium
Low
Previous run (4)ReviewFindingsLow
Previous run (5)ReviewFindingsMedium
Low
Labels: PR modifies internal/cli (run command), internal/config (agent schema), internal/harness (agent fetch), and internal/layers (wrapper generation) for config-driven agent resolution feature Previous run (6)ReviewFindingsLow
Previous run (7)ReviewFindingsMedium
Low
Previous run (8)ReviewFindingsLow
Previous runReviewFindingsMedium
Low
Labels: PR modifies internal/cli (run command), internal/config (agent schema), internal/harness (agent fetch), and internal/layers (wrapper generation) for config-driven agent resolution feature Previous run (9)ReviewFindingsLow
Previous run (10)ReviewFindingsMedium
Low
Labels: PR modifies internal/cli (run command), internal/config (agent schema), internal/harness (agent fetch), and internal/layers (wrapper generation) for config-driven agent resolution feature |
afb34de to
1ab3afe
Compare
|
🤖 Finished Review · ❌ Failure · Started 4:12 AM UTC · Completed 4:35 AM UTC |
1ab3afe to
825d21b
Compare
Site previewPreview: https://e4119501-site.fullsend-ai.workers.dev Commit: |
|
🤖 Review · ❌ Terminated · Started 11:38 AM UTC · Ended 11:54 AM UTC |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
🤖 Finished Review · ✅ Success · Started 11:38 AM UTC · Completed 11:54 AM UTC |
825d21b to
f360b5a
Compare
|
🤖 Finished Review · ❌ Failure · Started 11:59 AM UTC · Completed 12:22 PM UTC |
f360b5a to
89c93d1
Compare
|
🤖 Finished Review · ❌ Failure · Started 12:31 PM UTC · Completed 12:49 PM UTC |
Signed-off-by: Claude <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
89c93d1 to
9a39f2e
Compare
|
🤖 Finished Review · ✅ Success · Started 1:02 PM UTC · Completed 1:23 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 8:53 PM UTC · Completed 9:01 PM UTC |
Retro: PR #2769 — Runtime agent resolution from config (ADR 0058 Phase 3)Timeline
What went well
What could go better
ProposalsNo new proposals. All identified improvement areas are covered by existing open issues:
This PR represents a well-executed human-authored workflow with solid code quality. The main inefficiency was review dispatch volume, which is a systemic issue already being tracked across multiple fronts. |
Summary
Implements Phase 3 of ADR 0058 — runtime agent resolution from config.
MergedAgents()helper that builds a merged agent set from scaffold defaults and config-registered agents, with config entries overriding scaffold entries by name (case-insensitive)FetchAgentHarness()to fetch URL-sourced agent harnesses using the existing ADR 0038 fetch/cache/integrity infrastructurefullsend runto resolve agents from the configagentslist before falling back to disk-based harness lookup: URL sources are fetched and cached, local path sources are resolved relative to the fullsend directoryHarnessWrappersLayerto skip wrapper generation for config-driven agents (they are resolved at runtime, not via wrappers)This builds on PR 1 (Phase 1) which added the config schema. Phase 2 (CLI) can proceed independently.
Test plan
go build ./...succeedsgo vet ./...passesmake lintpasses (all pre-commit hooks)internal/configtests pass (including new MergedAgents tests)internal/clitests pass (including new config agent resolution tests)internal/layerstests pass (including new config agent skip tests)internal/harnesstests pass🤖 Generated with Claude Code