Skip to content

Scaffold fullsend-github-ro profile lacks the GraphQL endpoint the fleet profile has; generated agents fail on gh --json #7014

Description

@waynesun09

What happened

While reviewing the fullsend agent new reference example (fullsend-ai/agents#1167, part of #6966), a generated agent whose first step is gh pr view --json ... could not run: the profile the generator copies from fullsend's embedded scaffold, internal/scaffold/fullsend-repo/profiles/fullsend-github-ro.yaml, has no GraphQL endpoint. The fleet's copy in fullsend-ai/agents profiles/fullsend-github-ro.yaml does, and its own comment says "Endpoints mirror fullsend-github-code.yaml — keep both in sync".

Consequence: any custom agent that gets its profiles from the scaffold (every agent new user, and the CI workspace-preparation layer for per-repo installs) is blocked at egress on gh ... --json, gh pr view, gh issue view and anything else that goes through api.github.com/graphql, with a policy denial that looks like an agent bug.

What should happen

The scaffold profile should carry the same endpoint set as the fleet profile, and the two should have one source of truth. This is the same drift as #6981 (Vertex profile: credentials flag) and #6971 (Vertex profile: pi / claude.exe binaries), on a different profile with a larger blast radius.

Workaround used in the example: REST calls only (gh api repos/{owner}/{repo}/pulls/{n}/files), no --json.

Found by the multi-agent review of fullsend-ai/agents#1167. Related: #6966, #6971, #6981.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcomponent/sandboxOpenShell sandbox environmentpriority/highSignificant impact, address soonready-to-codeTriggers code agent dispatchtype/bugConfirmed defect in existing behavior

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions