Skip to content

Embedded package-registries and gitleaks profiles miss permissions the fleet copies have #8007

Closed

Description

@waynesun09

Summary

Since #7995, the profiles embedded in the binary are the authoritative definitions for built-in providers. fullsend-ai/agents#1596 switches the fleet harnesses to those built-in copies by bare name. Two embedded profiles lack permissions the fleet's own copies have:

Profile fullsend-ai/agents copy has Embedded copy (internal/scaffold/fullsend-repo/profiles/)
fullsend-package-registries allow_encoded_slash: true on the registry.npmjs.org and registry.yarnpkg.com endpoints (scoped npm package metadata uses %2F) missing
fullsend-package-registries binaries **/uv and **/uvx missing
fullsend-gitleaks binary **/git missing

vertex-ai, github-ro and github-artifacts are equivalent, apart from comments, descriptions and ordering. This is the drift #6978 already noted for uv/uvx.

Without this fix, once the fleet uses bare names, code and fix lose scoped npm installs and uv/uvx, and gitleaks runs lose git. Any repository that already uses the bare names on main is affected too.

Ask

Add those three permissions to the two embedded profiles. Pin them in a scaffold test so the built-in copies cannot drop them again: assert allow_encoded_slash on both registry endpoints and assert the **/uv, **/uvx and **/git binaries.

Order

This must merge before fullsend-ai/agents#1596. The agents go.mod fullsend pin (fullsend-ai/agents#1597) then moves to the merge commit of this change.

Activity

  1. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    🤖 Finished Triage · ✅ Success · Started 9:43 PM UTC · Completed 9:45 PM UTC

    Commit: e9690f2 · View workflow run →

    Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.26

  2. added
    ready-to-code
    on Oct 2, 2026
  3. fullsend-ai-triage commented on Oct 2, 2026

    @fullsend-ai-triage

    Triage confirmed the drift described here against the current embedded profiles and the fullsend-ai/agents copies: all three missing permissions are absent from the embedded copies and present in the fleet copies. No existing PR or blocking issue was found. The agents-side PRs (#1596 and the go.mod pin bump in #1597) depend on this change, not the other way around.

    Suggested approach

    • Edit fullsend-package-registries.yaml and fullsend-gitleaks.yaml under internal/scaffold/fullsend-repo/profiles/ as described in the issue.
    • Add the scaffold test modeled on TestScaffoldGitHubROProfile_GraphQLEndpoint in internal/scaffold/scaffold_test.go.
    • allow_encoded_slash is already documented in the customizing-agents guide, so no new docs should be needed. Confirm that the guide's example is consistent with the updated built-in profile.

    Proposed test case

    TestScaffoldPackageRegistriesProfile_Permissions:
      load profiles/fullsend-package-registries.yaml
      assert allow_encoded_slash == true for registry.npmjs.org and registry.yarnpkg.com
      assert binaries include **/uv and **/uvx
      assert allow_encoded_slash is not set on pypi.org
    TestScaffoldGitleaksProfile_Permissions:
      load profiles/fullsend-gitleaks.yaml
      assert binaries include **/git
    

    This change touches only profile YAML and Go tests, with no CI workflow files.


    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
  4. fullsend-ai-coder commented on Oct 2, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Finished Code · ✅ Success · Started 9:47 PM UTC · Completed 9:57 PM UTC

    Commit: e9690f2 · View workflow run →

    Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $0.99

  5. added 2 commits that reference this issue on Oct 2, 2026
  6. added a commit that references this issue on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugready-to-code

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions