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
The documented quick-start command uses a pipe (curl ... | bash -s --) and says it sets COPILOT_GITHUB_TOKEN by default. In that execution mode, scripts/quick-setup.sh exits with an error before setting the secret unless users already know to pre-set the env var or pass --skip-secret. This breaks first-run onboarding in the default path.
Expected: In the documented piped setup flow, quick setup should still allow token entry (or otherwise complete the default setup path without hard-failing at token acquisition).
Actual: The script exits non-zero before secret setup:
exit_status=1
Switched to a new branch 'ai-gh-aw-setup'
branch 'ai-gh-aw-setup' set up to track 'origin/main'.
COPILOT_GITHUB_TOKEN is not set, and stdin is not a terminal.
Set COPILOT_GITHUB_TOKEN in your environment, or use --skip-secret.
Failing Test
Use the harness script above as a minimal failing test. It deterministically reproduces the bug by executing quick-setup with piped stdin (printf '' | ...) and no token env var.
Evidence
README.md lines 32-39 document piped quick setup and state default behavior includes setting COPILOT_GITHUB_TOKEN.
scripts/quick-setup.sh lines 216-243 gate token prompting behind elif [ -t 0 ]; in piped execution, this condition is false, and the script exits with error.
Local reproduction output above shows deterministic exit 1 on this code path.
I also checked for overlap: no open issue matched this bug; merged PR search did not show a merged fix for this code path.
Note
🔒 Integrity filter blocked 4 items
The following items were blocked because they don't meet the GitHub integrity level.
#659search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
#687search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
#312search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
#703search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
To allow these resources, lower min-integrity in your GitHub frontmatter:
Impact
The documented quick-start command uses a pipe (
curl ... | bash -s --) and says it setsCOPILOT_GITHUB_TOKENby default. In that execution mode,scripts/quick-setup.shexits with an error before setting the secret unless users already know to pre-set the env var or pass--skip-secret. This breaks first-run onboarding in the default path.Reproduction Steps
bash /path/to/repro.shExpected vs Actual
Expected: In the documented piped setup flow, quick setup should still allow token entry (or otherwise complete the default setup path without hard-failing at token acquisition).
Actual: The script exits non-zero before secret setup:
Failing Test
Use the harness script above as a minimal failing test. It deterministically reproduces the bug by executing quick-setup with piped stdin (
printf '' | ...) and no token env var.Evidence
README.mdlines 32-39 document piped quick setup and state default behavior includes settingCOPILOT_GITHUB_TOKEN.scripts/quick-setup.shlines 216-243 gate token prompting behindelif [ -t 0 ]; in piped execution, this condition is false, and the script exits with error.1on this code path.Note
🔒 Integrity filter blocked 4 items
The following items were blocked because they don't meet the GitHub integrity level.
search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".search_pull_requests: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".To allow these resources, lower
min-integrityin your GitHub frontmatter:What is this? | From workflow: Trigger Bug Hunter
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.