Repository navigation
Description
Desired outcome
Determine and, only after explicit human gates, deliver a safe optional GitHub Copilot subscription-backed execution provider for Roster, with verifiable onboarding, bounded work, and separate calibration evidence. This is a dedicated post-Eve feature, not retroactive acceptance or scope of the original Eve initiative.
| Field | Declaration |
|---|---|
| Work item / priority | initiative / P1 |
| Board / campaign | Roster Build / Copilot subscription integration |
| Initial status | Backlog requested; project assignment/status is a distinct operation |
| Spec trace | FEATURE_SPEC §§5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8; honors §§3, 7 and advances §8 |
| Estimate | Not estimated; worker semantics, architecture and account approvals are unresolved |
| Ownership | No assignee; human approval gates; one writer per worktree and independent read-only reviewer |
| Related work | Related to #418 deferred acceptance and #414 calibration; not a child or acceptance of either; separate from #473/#489 Eve scope |
Research and recommendation
Research only: no code edits, dependency installation, live model calls, device login, entitlement inspection, repository data transfer or benchmark occurred. Public docs establish capabilities, not Ray's subscription, organization license, available models, policy or current budget.
Start with a zero-dependency offline adapter feasibility spike. Preserve Roster's planner/coder/reviewer lifecycle and managed TASK/RECIPE/ESTIMATE/RESULT/REVIEW artifacts. Prefer an external official Copilot CLI only if an offline fixture prototype proves Roster retains tool and scope control; installing CLI separately avoids a Roster dependency, but npm CLI requires Node 22+. The official Node SDK exposes sessions and custom-tool APIs but adds @github/copilot-sdk and platform runtime packages, conflicting with zero runtime dependencies absent explicit approval; its Node range is ^20.19.0 or >=22.12.0, not all Node >=20. If neither path can safely give Roster controlled model turns/tools, classify Copilot as a distinct full-agent worker with separate provenance, review and metrics; never label its work as a builtin seat.
SDK evidence includes CopilotClient/session APIs, send/events, custom tool registration/filters, cancellation and session lifecycle. Per-call assistant.usage includes reported model, input/output token counts and cost; usage is ephemeral. Some accumulated metrics/quota RPC surfaces are experimental and must be pinned if used. Model lists, policy availability, price, and quota do not prove an account is eligible. CLI login is human-controlled; supported env tokens take precedence over stored OAuth and gh fallback can also authenticate. An inference child must fail closed against unintended GH_TOKEN/GITHUB_TOKEN/gh auth and must never receive GITHUB_APP_* publishing credentials.
The documented organization server-to-server route needs Copilot Requests App repository permission Read & write, org enablement, the current documented All-repositories installation scope, and an installation token supplied through COPILOT_GITHUB_TOKEN in the runtime environment (not SDK user-token option); token expires in one hour. An org administrator must explicitly approve all of this. It is distinct from Roster's publishing App. No changes to App permissions or human policy are authorized here.
Current Copilot billing docs describe AI Credits, token/model pricing, pooled Business/Enterprise allowances, and admin-controlled budgets/additional usage. Legacy premium-request docs apply only to accounts remaining on legacy billing. Rate limits exist; no universal concurrency/per-minute value is claimed. GitHub Models was retired July 30, 2026. No account-specific eligibility, spend cap or cost is asserted.
Human gates (block implementation/live usage)
- Explicitly approve/reject SDK/runtime dependency and any Node support change from >=20 ESM / zero runtime deps.
- Choose bounded inference/tool-call adapter or distinct full-agent semantics and separate provenance/review.
- Authorize task/repository data transfer, account/license route, Copilot feature/model policy, and a finite AI-credit/additional-usage limit before any real prompt is sent.
- For server-to-server auth, an authorized organization owner separately approves Copilot Requests permission, enablement and required installation scope.
- Authorize one low-risk live smoke task only after offline gates; separately authorize further calibration/budget.
No implementation starts before a reviewed offline decision and named auth/worker mode; no guessed owner, plan, approval, spend, estimate or AI-Eval.
Scope and non-goals
Provider remains explicitly opt-in; local/offline defaults stay unchanged. Use selected skills/context as bounded input, label repository/issue/code content as untrusted data, enforce task allow-list and existing Roster tools, retain independent reviewer and human acceptance, record actual model/provider/effort/usage or unknown, and reserve GitHub App authority for reviewed publication.
No second board/Kanban, orchestrator, general chatbot, policy/workflow edits, background login or credential capture, IDE token scraping, human-token fallback, automatic model fallback, default SDK/CLI shell/filesystem/network/MCP/GitHub tools, publication from inference, or unsubstantiated provider superiority claims.
Dependency-ordered slices
- Offline SDK/CLI feasibility and environment isolation: spike(copilot): prove a bounded zero-dependency integration path #570.
- Approved bounded adapter and honest provenance: feat(copilot): adapt approved model turns to Roster-owned tools #571; blocked by spike(copilot): prove a bounded zero-dependency integration path #570 decision.
- Optional onboarding/auth/doctor: feat(copilot): add explicit opt-in setup and auth diagnostics #572; blocked by feat(copilot): adapt approved model turns to Roster-owned tools #571 and human auth choice.
- Authorized smoke and matched M1-M3 calibration: test(copilot): run explicitly approved smoke and matched calibration #573; blocked by feat(copilot): add explicit opt-in setup and auth diagnostics #572 and explicit data/spend approval.
Measurable initiative acceptance
- Four children are formally linked with sequential blocked-by relations; each has measurable AC, an offline verification plan, no invented assignment/estimate, and explicitly requests Backlog; actual ProjectV2 placement/status is not confirmed by this App-authorized workflow.
- Offline spike records Node/dependency constraints; CLI/SDK API and tool-control shape; session/cancellation; auth source/precedence/expiry; model and usage evidence; credential isolation; and a reviewed go/no-go.
- Synthetic tests show no outbound/model/auth calls, fallback credentials, built-in auto-tools, scope escape, invented usage or inference-side publication.
- Provider remains opt-in; diagnostics disclose unknown entitlements and do not print secrets; existing local/stub paths are unchanged.
- Live smoke/calibration is blocked absent explicit human evidence for account/policy/data/budget; matched tasks record every attempt, actual model, revision, checks, independent review, AI credits/usage where reported, elapsed time and unknowns. Human AI-Eval remains separate.
Preserved gates and exclusions
#418 RT-04 remains DEFERRED pending its original final-candidate freeze and Ray authorization; this initiative does not satisfy, alter or reopen it. #414 retains its own human acceptance criteria. #473/#489 Eve work remains separate. #552/#556 and the parent-owned Eve test checkout are out of scope.
Official sources (checked 2026-10-11)
- Copilot SDK and Node API: https://github.com/github/copilot-sdk ; https://github.com/github/copilot-sdk/blob/main/nodejs/README.md (upstream main snapshot 6be623b01b194a61466385e3f708639ec98ce8ac; runtime 1.0.96-2).
- SDK authentication, server-to-server and OAuth: https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/authenticate ; https://docs.github.com/en/copilot/how-tos/copilot-sdk/auth/server-to-server-tokens ; https://docs.github.com/en/copilot/how-tos/copilot-sdk/setup/github-oauth .
- CLI install/auth: https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/install-copilot-cli ; https://docs.github.com/en/copilot/how-tos/copilot-cli/set-up-copilot-cli/authenticate-copilot-cli .
- SDK usage API, policies and model pricing: https://docs.github.com/en/copilot/how-tos/copilot-sdk/features/usage-and-billing ; https://docs.github.com/en/copilot/concepts/enterprise/policies ; https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing .
- AI credit billing, limits and monitoring: https://docs.github.com/en/copilot/concepts/billing-and-usage/individuals/billing ; https://docs.github.com/en/copilot/concepts/billing-and-usage/organizations-and-enterprises/billing ; https://docs.github.com/en/copilot/concepts/billing-and-usage/individuals/usage-limits ; https://docs.github.com/en/copilot/how-tos/manage-and-track-spending/monitor-ai-usage .
- GitHub Models retired July 30, 2026: https://docs.github.com/en/github-models .
Activity
r4yharris-agent-coder commentedon Oct 12, 2026
Ray authorized two read-only research helpers plus this coordinating chat for #570, without changing the dependency or human approval gates. Work allocation, current-main drift, proposed mock-fixture contract and observed existing offline tests are recorded at #570 (comment). No implementation, cloud model request, auth/login, policy change, live calibration or acceptance was performed. #571/#572 implementation and #573 live testing remain blocked. The previously observed ProjectV2 permission blocker is not a reason to invent a board status.
r4yharris-agent-coder commentedon Oct 12, 2026
Parallel research consolidation is durable: #570 (comment)
Transport and auth helpers finished read-only. Conditional SDK candidate only; #570 remains unaccepted pending bounded-turn mock proof, credential isolation and independent review. Node/dependency and human account/data/model/budget approvals remain open. No implementation, login or live model calls. #571 -> #572 -> #573 dependency gates unchanged. Roster Build requested Backlog; actual Project2 placement/status still unconfirmed due App access blocker. #418/#414/Eve and local calibration gates unchanged. Helper actual model unknown (Auto); no usage/cost measurement claimed.
r4yharris-agent-coder commentedon Oct 12, 2026
Reviewed offline spike; publication recovery blocked — 2026-10-12
Exclusive child release independently reviewed all3files; pinnedofficialSDK package/loop and currentofficialCLI install/authrechecked. ChildNode20.19.5 39/39pass0skip2485.0884ms; independentparentNode20.20.2 same39/39pass0skip2500.8772ms. No install/login/liveinference/privatecodetransfer/dependency/Node-range/policy/workflow/vendoredit. Testonlysynthetic mapping; no realCLI physicalauthcontainment proof. GOoffline only; NO-GOlivebuiltin adapter. ChildAutoactualmodel unknown preserved; knownparentreview/publicationmetadata notmeasuredchildidentity.
AppPR#596 exists DRAFT/OPEN, exactlocal/remote/PRhead784c04806ca06e75bf0b36af7b56cf388f49d0c4; author/committerAppbot. Required exactheadtests/trailersSUCCESS; LinuxNode20 full1961total1958pass0fail3explicitDockeroptinskips53385.854942ms. InitialpublisherAPIrequestfailedaftercreatingPR; cleancommitretained,no duplicatecommit/push.
ReviewedSDK exact --resume784c048... --merge-when-green refusedHTTP403. SameApp read-onlydiagnosticpins required-status-checkprotection endpoint403 Resource not accessible by integration, x-accepted-github-permissions administration=read. Rulesendpoint200 metadataread, check-runs200 checksread. This is notChecksHTTP422 and notfailedtests. Publisher token currently requests noAdministrationpermission, so humanAppgrantALONEwouldnotfix: need explicitlyapproved upstreamSDK resume-onlyAdministrationreadrequest plus humanApp/installationreadgrant. NoAdministrationwrite, skippedprotectioncheck, humanpublishing or vendorrewrite attempted.
Human unavailable when narrowapproval/installationaction requested. Pragmatic safechoice: HOLD #570Inreview/#596blocked, preserveexactcleanhead/worktree; do notmarkDone or leave it as an accepted handoff. No newpermission has been granted/assumed. Parent#569remainsopen; #571-#573architecture/dependency/auth/data/spend/live gates remain, fullagentsemantics notbuiltintransport.
r4yharris-agent-coder commentedon Oct 13, 2026
Ray's explicit2026-10-13T14:43:42 approval applies to narrow upstream resume-only Administration-read repair/review/publication; pilot preparation; and specific scoped acceptance batches. He delegated choice of Copilot approach to parent. Parent chooses DISTINCT FULL-AGENT WORKER DESIGN ratherthan claiming CLI-owned automatic loop is builtin single-inference. Design-only child owns copilot-worker-design-20261013; dependency repair child owns upstream resume-administration-read-20261013; one writer/tree. No live Copilot inference, account/auth/code disclosure, SDK/CLI installs, runtime dependencies/Node-range or policy/workflow mutation approved/inferred. Human App installation grant remains toverify; codeapproval isn't proof acceptedpermission. #570 acceptance/merge and #571 runtimeimplementation gates retained. Spec§§5.2/5.4/5.5/5.6/5.8, principles3/7.
Merge pull request #609 from R4yHarris/agents/copilot-worker-design-2…
Merge pull request #610 from R4yHarris/agents/contracts-resume-read-c…
r4yharris-agent-coder commentedon Oct 13, 2026
Approved parallel deliveries — reviewed and merged
Ray explicit2026-10-13T14:43:42 approvals recorded; no longer treating narrowcode/design/preparation/offlinebatches as unapproved.
CURRENT BLOCKER VERIFIED, not speculation: read-onlyupdatedscopeinstallationtoken request returnedHTTP422. No token granted, no narrowerretry/humancredentials, noAppsettingschange, no#596mutation or duplicatecommit. Codeapproval DOESNOT establishacceptedAppinstallationAdministrationread. Human must configure/accept readpermission on Appinstallation, then exactoriginal#596head784c048 canberecovered via approvedreviewedSDKpath; originalcleanfeaturehead remainsunchanged/draftopen. Do notbypassprotectionorlabelofflinefeasibilitylivecontainment.
InstalledcleanRosterf3bb779, contracts0050ada. #569/#570/#571remainOPEN; #572/#573retainauth/dependency/data/account/model/spend gates. #476remainsOPEN forindependentcorpus/threshold/budget/finalexecutionapproval andrealacceptance; #477gated. Spec§§5.1-5.8 honors3/7. No humanAI-Eval fabricated, no fullcampaign/inference or policy/workflow mutation. Publisherpostmergecheckoutrefusals independentlyverified ratherthanblindlyrepublished.
Merge pull request #612 from R4yHarris/agents/copilot-worker-contract…
r4yharris-agent-coder commentedon Oct 13, 2026
Reviewed offline worker contract delivered
PR #612 verified MERGED, exact App head 15376b6,
merge de6447d. Required tests/trailers SUCCESS.
Closes only #611; Parent #571 and #569 remain open.
Independent parent Node20.20.2 Windows selector:
node --test --test-reporter=tap tests\copilot-worker-contract.test.mjs tests\tools.absolute-path.test.mjs tests\tools.test.mjs
121 total / 120 pass / 0 fail / 1 explicit existing Windows symlink skip /
13087.4816ms. Full Linux CI: 2052 total / 2049 pass / 0 fail / 3 skips /
72115.085088ms. Child reported 112 passes for its different selector on
Node20.19.5; actual child authoring model unknown, not overwritten.
Parent review added cyclic/deep/node/byte JSON bounds. Directly related design
documentation extended the original two-test-file scope; no runtime adapter,
dependency, policy, workflow or vendor source edit. Fetch tripwire: zero calls.
Logical callbacks/events/receipts prove fixture protocol only: no real CLI,
physical credential isolation, server shutdown, atomic import rollback,
independent live review or hard spend proof. All mocks nonpublishable and not
builtin seats or AI-Runs. Physical/live gates stay separate.
Installed clean reviewed checkout now de6447d, contracts0050ada. Exact clean
merged owned feature worktree/branch removed; historical artifact roots retained.
Spec sections5.2/5.4/5.5/5.6/5.8, principles3 and exclusions7 preserved.
No full pilot/operator scenario Pass/Done/AI-Eval inferred.
docs(rust): document read-only question vLLM tool_calls and thinking …
r4yharris-agent-coder commentedon Oct 22, 2026
Native Rust Copilot worker provider initiative slices (#570-#573) delivered offline (#672)
db51e425a5e46fb03bd7f7d72f803ac6da86e627, mergebbbdc1c3acae17b5774bacafc4f91489f3f11095,check-agent-trailersSUCCESS)GPT-6.1-Sol1|github-copilot|GPT-6.1-Sol@-|x|-/1000000|-|ghcp-20261022|rust-migration-roster-cli-evaluationdocs/COPILOT_FEASIBILITY.md, feat(copilot): adapt approved model turns to Roster-owned tools #571 Gate BOfflineWorkerAttempt&assess_copilot_worker_capabilities, feat(copilot): add explicit opt-in setup and auth diagnostics #572roster doctor --copilot//doctor copilotdeclared-state diagnostics, and test(copilot): run explicitly approved smoke and matched calibration #573assess_copilot_smoke_admission&evaluate_copilot_calibration_scorecard) are implemented and verified in native Rust (rust/capabilities.rs) on stable Rust 1.99.1 and MSRV 1.85.0 (FEATURE_SPEC §§5.1-5.8; honors §§3, 7).AI-Evaland explicit live containment/account/spend gates.r4yharris-agent-coder commentedon Oct 22, 2026
Roster run delivered for review (
roster:review).8fba78ba4d230144930a7a5054612f67fa2b975e, merge90fd20b92d4d3d9e6fa08d61b361209910c86700,check-agent-trailersSUCCESS)GPT-6.1-Sol1|github-copilot|GPT-6.1-Sol@-|x|-/1000000|-|ghcp-20261022|rust-migration-roster-cli-evaluationroster shellVerification:rtx-3090-qwen(qwen3.8:27b-smtek, 65.5k ctx on127.0.0.1:11435):/doctor warmHTTP 200.aperture-dsv4(deepseek-v4-flash, 1.0m ctx):/doctor warmHTTP 200.aperture-qwen(qwen3.8-27b, 262.1k ctx):/doctor warmHTTP 200, live/question, live/askslice planning,/usage, and/context.aperture-glm(glm-5.3-flash, 1.0m ctx):/doctor warmHTTP 200, live/askfeature planning +/waves, and full end-to-end/plan+ Enter (planner -> coder -> reviewer) verified delivery inroster shell(Mode: verified,Review: pass,/recap,/checkpoints).Status label:
roster:review. Issue remains open for humanAI-Eval.