You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scaffold fullsend-github-ro profile lacks the GraphQL endpoint the fleet profile has; generated agents fail on gh --json #7014
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.
New since this was filed: fullsend agent new's own generated prompt now hits this gap at step 1.
internal/agentnew/templates/agent-body.md.tmpl step 1 runs gh issue view "$ISSUE_NUMBER" -R "$REPO_FULL_NAME" --json title,body,labels. #7563 changed that call from the issue URL to -R plus the number to get past the SSRF hook. But gh issue view --json goes through GraphQL, and the scaffold fullsend-github-ro profile allows only protocol: rest on api.github.com and github.com. So every generated agent fails to read its work item before it does anything else.
The fix belongs in the scaffold profile: add the api.github.com GraphQL endpoint (protocol: graphql, path: "/graphql", read-only), mirroring the fleet profile. Switching the prompt to gh api "repos/${REPO_FULL_NAME}/issues/${ISSUE_NUMBER}" (REST) is only a workaround. The reference example in fullsend-ai/agents#1167 documents it as one until this lands.
I suggest fixing this together with #7883, which changes the same scaffold github-ro provider/profile files for the OpenShell 0.1 credential shape. That would be one PR updating fullsend-github-ro (credentials + graphql) and the agent new generator, with golden updates.
Activity
fullsend-ai-triage commentedon Sep 4, 2026
🤖 Finished Triage · ✅ Success · Started 3:51 PM UTC · Completed 3:56 PM UTC
Commit:
fecb2f0· View workflow run →Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $0.80
fullsend-ai-triage commentedon Sep 4, 2026
Severity: high — every agent generated via
fullsend agent newis affected; the workaround (REST-only calls) limits what generated agents can do.Recommended fix
Add the missing GraphQL endpoint block to
internal/scaffold/fullsend-repo/profiles/fullsend-github-ro.yaml, matching the fleet copy:Proposed test
Related issues
Labels: Sandbox profile defect blocking generated agents, high impact on agent-new users.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Sep 4, 2026
🤖 Finished Code · ✅ Success · Started 3:58 PM UTC · Completed 4:06 PM UTC
Commit:
fecb2f0· View workflow run →Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.94
fix(#7014): assert enforcement field in GraphQL endpoint test
waynesun09 commentedon Oct 1, 2026
New since this was filed:
fullsend agent new's own generated prompt now hits this gap at step 1.internal/agentnew/templates/agent-body.md.tmplstep 1 runsgh issue view "$ISSUE_NUMBER" -R "$REPO_FULL_NAME" --json title,body,labels. #7563 changed that call from the issue URL to-Rplus the number to get past the SSRF hook. Butgh issue view --jsongoes through GraphQL, and the scaffoldfullsend-github-roprofile allows onlyprotocol: restonapi.github.comandgithub.com. So every generated agent fails to read its work item before it does anything else.The fix belongs in the scaffold profile: add the
api.github.comGraphQL endpoint (protocol: graphql,path: "/graphql", read-only), mirroring the fleet profile. Switching the prompt togh api "repos/${REPO_FULL_NAME}/issues/${ISSUE_NUMBER}"(REST) is only a workaround. The reference example in fullsend-ai/agents#1167 documents it as one until this lands.I suggest fixing this together with #7883, which changes the same scaffold
github-roprovider/profile files for the OpenShell 0.1 credential shape. That would be one PR updatingfullsend-github-ro(credentials + graphql) and theagent newgenerator, with golden updates.fix(#6966): pin the post target in tests; scan the example's credentials
fix(#6966): read the work item from REPO_FULL_NAME and ISSUE_NUMBER
fix(#6966): pin the post target in tests; scan the example's credentials
fix(#6966): read the work item from REPO_FULL_NAME and ISSUE_NUMBER
fix(#7014): add GraphQL endpoint to scaffold GitHub RO profile
fix(#7014): assert enforcement field in GraphQL endpoint test
fix(#7014): pin port and a single GraphQL endpoint in the scaffold test
fix(#7014): add GraphQL endpoint to scaffold GitHub RO profile
fix(#7014): assert enforcement field in GraphQL endpoint test
fix(#7014): pin port and a single GraphQL endpoint in the scaffold test
Merge pull request fullsend-ai#7016 from fullsend-ai/agent/7014-scaff…