Repository navigation
refactor(#1592): switch fleet harnesses to bare built-in providers - #1596
Conversation
|
🤖 Review · Commit: |
|
🤖 Review · Commit: |
|
🤖 Finished Review · ✅ Success · Started 9:21 PM UTC · Completed 9:40 PM UTC Commit: Runtime: pi · Model: openai/gpt-6.1-sol → gpt-6.1-sol · Effort: high · Cost: $2.77 |
|
Risk Assessment: moderate (2/5) DetailsLarge blast radius and a high protected-path count (21/28 files under harness/, profiles/, providers/, scripts/, skills/) push Tier 1 up, but no security-sensitive, CI, or dependency changes, a non-first-time bot author, and an exact match to a maintainer-authorized issue scope with no unresolved discussion pull the composite down to a moderate score of 2. Previous runRisk Assessment: moderate (2/5) DetailsTier 1 metadata bands are effectively unchanged from the prior assessment (26 files/440 lines vs. prior 24/442, 20 protected paths vs. prior 18, no CI or dependency changes, bot author), and Tier 2 git history shows moderate historical churn/fix-commit activity on the touched harness files offset by low revert/sentiment signals and recent code age, while Tier 3 shows the PR closely follows a well-scoped, label-free, same-day-opened issue with no feature flag but a bounded, additive-leaning config swap; the weighted composite (0.50×2.4 + 0.30×2.1 + 0.20×1.8 ≈ 2.2) rounds to 2, consistent with the prior moderate risk score. Previous run (2)Risk Assessment: moderate (2/5) DetailsThe 24-file, 442-line provider migration touches 18 protected paths and historically active harness files, but changes no CI or dependency files and largely follows a clearly defined linked issue, yielding a moderate composite score of 2 consistent with the prior assessment. Previous run (3)Risk Assessment: moderate (2/5) DetailsThe 26-file, 440-line migration touches many protected paths and historically high-churn harnesses, but has no CI or dependency-file changes and closely matches a well-defined linked issue with resolved discussions, yielding a moderate composite score of 2. |
ReviewFindingsMedium
Labels: The migration updates provider authoring guidance, version-pinning documentation, and example documentation. Previous runReviewFindingsHigh
Medium
Low
Next steps:
Previous run (2)ReviewFindingsHigh
Medium
Low
Next steps:
Previous run (3)ReviewFindingsMedium
Next steps:
|
|
/fs-fix-stop |
|
Fix agent disabled for this PR. Remove the |
|
🤖 Finished Fix · ✅ Success · Started 9:41 PM UTC · Completed 9:51 PM UTC Commit: Runtime: claude · Model: sonnet → claude-sonnet-5 · Effort: high · Cost: $2.21 |
🔧 Fix agent — iteration 1 (bot-triggered)Addressed the api-contract finding by restoring the pre-PR local package-registries provider/profile (byte-identical) for harness/code.yaml and harness/fix.yaml only, since those were the two harnesses the review flagged as losing allow_encoded_slash on the npm registries and the /uv//uvx binary allowances when switched to the bare built-in provider. Added a regression check to scripts/provider-credentials-test.sh pinning both the permissions and the harness wiring. The protected-path finding is the mandatory human-approval merge gate and does not request a content change, so no code action was taken for it directly (recorded as a disagreement with reasoning). Verified: YAML parses, the new and existing provider-credentials-test.sh checks pass (including a manual regression check that the new test actually catches a reintroduced gap), lint-agent-docs passes, and scan-secrets found nothing. pre-commit could not run due to a sandboxed network restriction on fetching hook repos; ran the equivalent hooks (check-yaml, end-of-file-fixer/trailing-whitespace, detect-private-key, check-added-large-files, check-merge-conflict, mixed-line-ending, lint-agent-docs) directly instead, all clean. shellcheck and Fixed (2):
Disagreed (1):
Tests: passed CI inspections (8):
Conflict update: skipped; strategy Decision points
Next steps:
|
…nesses Review on PR #1596 found that the bare built-in package-registries provider drops allow_encoded_slash on registry.npmjs.org and registry.yarnpkg.com, plus the **/uv and **/uvx binary allowances the code-implementation skill needs for uncached tooling installs. Keep a locally named provider/profile for package-registries in harness/code.yaml and harness/fix.yaml (the only two harnesses that use it) until the upstream profile is corrected, and pin the permissions with a regression check in provider-credentials-test.sh. vertex-ai and gitleaks are unaffected and stay on the bare built-in form. Addresses #1596 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
🤖 Finished Review · ✅ Success · Started 9:53 PM UTC · Completed 10:06 PM UTC Commit: Runtime: pi · Model: openai/gpt-6.1-sol → gpt-6.1-sol · Effort: high · Cost: $2.16 |
fullsend now ships embedded copies of the vertex-ai, github-ro, github-artifacts, gitleaks, and package-registries providers/profiles (fullsend-ai/fullsend#7995), reachable by bare provider name the same way `openai` already is in every harness file here. This repo shipped its own duplicate copies under the same ids, which had already drifted (fullsend#7268, #7014, #7883) and raced on a shared OpenShell gateway (fullsend#7973). Switch every harness/*.yaml that referenced the five duplicated providers (code, fix, prioritize, retro, review, scribe, triage) to the bare names, dropping the matching openshell.profiles entries — bare built-in providers need no local profile file, as openai already demonstrated. Delete the now-unreferenced providers/*.yaml and profiles/fullsend-*.yaml copies. github-code, gitlab-*, and jira-ro are not shipped by fullsend, so their providers/profiles files and harness references are unchanged. Update scripts/provider-credentials-test.sh to drop the assertions that checked the deleted files, and fix a comment in agents/prioritize.md that pointed at the now-deleted profiles/fullsend-github-ro.yaml. Closes #1592
The example is kept byte-identical to fullsend agent new output, so its harness is regenerated with a fullsend built from main (after fullsend-ai/fullsend#7995), with the same name, role, description, trigger, slug, image and validation loop. The only changes are bare vertex-ai and github-ro, plus the openai entry the generator now adds to every role, and no openshell.profiles. The example's providers/ and profiles/ copies are deleted. Its prompt, schema and post-script are unchanged. provider-credentials-test.sh drops the checks on the example's deleted copies, and check_provider_no_credentials, whose only caller was one of them. The examples README and the authoring-custom-agents skill describe bare names resolved from the binary, and drop the fullsend#7883 and #7014 workarounds, which no longer apply to the built-in providers. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
3f90f1f to
de2fd8e
Compare
|
🤖 Finished Review · ✅ Success · Started 10:38 PM UTC · Completed 10:54 PM UTC Commit: Runtime: pi · Model: openai/gpt-6.1-sol → gpt-6.1-sol · Effort: high · Cost: $2.76 |
… pins The fleet harnesses now name fullsend's built-in providers by bare name, so a base: pin to an agents main SHA needs a fullsend that resolves them (fullsend-ai/fullsend#7995 or later). docs/code.md, which the other base: instructions link to for choosing the SHA, now says so. The fullsend-github-code profile's sync comment pointed at the deleted local fullsend-github-ro.yaml; it now points at fullsend's built-in copy. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 11:15 PM UTC · Completed 11:27 PM UTC Commit: Runtime: pi · Model: openai/gpt-6.1-sol → gpt-6.1-sol · Effort: high · Cost: $2.70 |
Superseded by updated review
waynesun09
left a comment
There was a problem hiding this comment.
Approving at c657ac2, including the protected-path harness changes: the fleet harnesses switch to fullsend's built-in providers by bare name and the duplicate copies are deleted (#7268/#7995). The embedded profiles were brought to parity first in fullsend#8008. behaviour passes with the go.mod pin from #1597. Functional tests: code, fix and retro pass. Triage failed 1/10 on a pre-existing profile re-import race (fullsend#8018). Review passed every behavioural metric; only its LLM judge failed, on a 1M-token prompt limit, which is unrelated to provider names.
The behaviour tests build fullsend at the version go.mod pins, d8cbb9744 (2026-09-30). That predates fullsend-ai/fullsend#7995, which resolves bare built-in provider names to the definitions and profiles in the binary. Fleet harnesses that switch to bare names (fullsend-ai#1596) fail behaviour on the old pin: the triage run gets no Vertex or GitHub provider. Bump the pin to fullsend main e9690f264, which includes #7995, #7976 (GitHub providers declare GH_TOKEN) and #7016 (GraphQL endpoint in the built-in github-ro profile). go.sum gains only the two fullsend lines, as in the previous bump; go mod tidy cannot resolve fullsend's nested internal/mintcore module from the published module, and the behaviour workflow replaces both with the pinned checkout. Assisted-by: Claude Signed-off-by: Wayne Sun <gsun@redhat.com>
Summary
fullsend now ships embedded copies of the
vertex-ai,github-ro,github-artifacts,gitleaks, andpackage-registriesproviders/profiles (fullsend-ai/fullsend#7995), reachable by bare
provider name the same way
openaialready is in every harness filein this repo. This repo shipped its own duplicate copies of those five
under the same ids, which had already drifted
(fullsend-ai/fullsend#7268, #7014, #7883) and raced on a shared
OpenShell gateway (fullsend-ai/fullsend#7973).
harness/*.yamlthat referenced the five duplicatedproviders (
code,fix,prioritize,retro,review,scribe,triage) to the bare names, dropping the matchingopenshell.profilesentries — a bare built-in provider needs nolocal profile file, as
openaialready demonstrated.providers/*.yamlandprofiles/fullsend-*.yamlcopies for those five.github-code,gitlab-*, andjira-rountouched — fullsenddoes not ship these, so their provider/profile files and harness
references stay as-is.
scripts/provider-credentials-test.shto drop theassertions that checked the now-deleted files.
agents/prioritize.mdthat pointed at thenow-deleted
profiles/fullsend-github-ro.yaml.examples/link-check/harness/link-check.yamlwithfullsend agent newfrom fullsendmain(same name, role, description,trigger, slug, image and validation loop), so it stays byte-identical to
generator output: bare
vertex-aiandgithub-ro, plus theopenaientry the generator now adds, and no
openshell.profiles. Deleted theexample's own
providers/andprofiles/copies. Its prompt, schema andpost-script are unchanged.
and the
check_provider_no_credentialshelper whose only caller was oneof them. Updated
examples/README.mdand theauthoring-custom-agentsskill: providers are bare names resolved from the binary, and the
fullsend#7883 / #7014 workarounds no longer apply.
One intended behaviour change: the built-in
fullsend-vertex-aiprofile setsallow_uninspected_credentials: trueonapi.anthropic.comas well as*.googleapis.com(fullsend-ai/fullsend#6689, for ai-openshell/openshell#2904),while this repository's copy set it only on
*.googleapis.com. Moving thefleet to bare
vertex-aiadopts it.Built on fullsend-ai/fullsend#8008 (merged as
50f2fe691, fixing #8007) and#1597 (merged). This repository's
package-registriesandgitleakscopiesgranted permissions the built-in profiles lacked:
allow_encoded_slashon thenpm and yarn registries,
uv/uvx, andgit. #8008 adds them to the built-inprofiles, so deleting the copies loses nothing. #1597 moved the
go.modpinthat the
behaviourworkflow builds to fullsende9690f264, which includesfullsend-ai/fullsend#7995. The fix bot's commit that restored a local
package-registriescopy was dropped from this branch.Testing
bash scripts/provider-credentials-test.sh— passbash scripts/harness-jira-test.sh— passbash scripts/sandbox-credential-boundary-test.sh— passbash .github/scripts/select-eval-agents-test.sh— passbash hack/lint-agent-docs-test.sh— passscript-testsuite run directly withbash(the sandbox couldnot invoke
makeitself —/bin/shwas blocked by policy): allpass except two pre-existing failures unrelated to this change,
confirmed to also fail on unmodified
main:scripts/signoff-strip-test.sh(hardcoded bot-ID expectationmismatch) and
scripts/post-scribe-test.sh(missingbcbinary inthis sandbox).
uv tool run skillsaw@0.18.0 --strict(the pinned version from.skillsaw.yaml, run in place ofmake lint) — 0 errors, 0warnings.
(TLS/network policy); ran the pinned tool versions directly instead
(
check-yaml,end-of-file-fixer,trailing-whitespace-fixer,detect-private-key,check-added-large-files,check-merge-conflict,mixed-line-ending,gitleaks,shellcheck) against the changed files — all pass.Takeover verification
make lintandmake testpass. Locally this needs GNUsed, plusjsonschemaandgitlintonPATH.fullsend lock link-check --fullsend-dir <copy of examples/link-check> --offline:"Harness has no remote dependencies".
fullsend runof the fleet harnesses at this head, using a fullsendbuilt from
main(e9690f264, which includes feat(#7268)!: resolve every built-in provider from the fullsend binary fullsend#7995),--forge github --no-post-script --model sonnet, an emptyPUSH_TOKEN,and a throwaway target issue. The runs used an isolated OpenShell gateway
(its own port, state directory, PKI and client config), so the shared
gateway's profiles were not touched:
triage: built-invertex-aiandgithub-rodefinitions andprofiles; agent exit 0, validation passed, result
sufficient.code: built-invertex-ai,package-registriesandgitleaks,this repository's own
fullsend-github-codeprofile from the githuboverlay; agent exit 0, validation passed.
reserved for the definition built into fullsendor any provider or profile error.
Closes #1592
Post-script verification
agent/1592-bare-builtin-providers)1d103cad108996cb303f6ca1793420863c9531f4..HEAD)