Skip to content

initiative(copilot): vet an optional subscription-backed Roster provider #569

Closed
4 of 4 issues completed

Description

@r4yharris-agent-coder

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)

  1. Explicitly approve/reject SDK/runtime dependency and any Node support change from >=20 ESM / zero runtime deps.
  2. Choose bounded inference/tool-call adapter or distinct full-agent semantics and separate provenance/review.
  3. 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.
  4. For server-to-server auth, an authorized organization owner separately approves Copilot Requests permission, enablement and required installation scope.
  5. 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

  1. Offline SDK/CLI feasibility and environment isolation: spike(copilot): prove a bounded zero-dependency integration path #570.
  2. 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.
  3. 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.
  4. 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)

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    enhancement
    kind:initiative
    priority:P1
    spec:5.2
    spec:5.3
    spec:5.4
    spec:5.5
    spec:5.6
    spec:5.7
    spec:5.8
    on Oct 11, 2026
  2. r4yharris-agent-coder commented on Oct 12, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    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.

  3. r4yharris-agent-coder commented on Oct 12, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    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.

  4. r4yharris-agent-coder commented on Oct 12, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    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.

  5. r4yharris-agent-coder commented on Oct 13, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    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.

  6. added 2 commits that reference this issue on Oct 13, 2026
  7. r4yharris-agent-coder commented on Oct 13, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    Approved parallel deliveries — reviewed and merged

    Ray explicit2026-10-13T14:43:42 approvals recorded; no longer treating narrowcode/design/preparation/offlinebatches as unapproved.

    • [agent] request administration read only for exact-head resume github-agent-contracts#14 MERGED0050ada7184d7ef167310ef25b4312a024069505. Resume-onlytokenAdminread, normal/merge-onlypermissions unchanged, all exacthead/policy/requiredchecks retained. Independentparentreview expanded403/422deniedgrant controls/help/skilldocs; parentNode20full129/129PASS0skip13030.9691ms after parentintermediatesyntaxfailurefixed; childreported128passunknownactualmodel retained.
    • Roster#610 MERGEDf3bb779123dc73f1d52e278e2e0ca4b3510de7e5 consumes reviewedsubmodule only + dependencydocs/explicitcompatibilitytest; requiredtests/trailersSUCCESS. Parentcompatibility60/60PASS0skip145002.2726ms, finalcontracts10/10PASS1196.909ms. No vendor-source rewrite.
    • Roster#609 MERGED44b406ae936cfa9ca40795ac5ef63181d118f739, independentparentreviewed fullagentworker DESIGN: parentselected distinct externalworker, not CLI agentloop as single-inferencebuiltintransport. Rosterowns task/scope/import/review/Apppublisher; actualfullagentprovenance separate; physicalauth/OSboundary and hardspend/cancelproof unresolved. No productionadapter/dependencyinstall/livecall. Nextofflinecontractmock is a separatelyscopedimplementation gate, not completedintegration.
    • Roster#608 MERGED2dfc1646f77e0d291948a6391eff81f7e0acc483, approvedpilotPREPARATION procedure: source/splitreview, exacthashes, manifests separatefromauth/provenance, matchingcontrols, invalidation/unknownmeasurements. No selectedcases/heldoutclaim/executionapproval or campaignrun.
    • AuthorizedRT-11fixture subset on0652c2c:39/39PASS0skip59978.0021ms, posted#425/test(roster): post-development acceptance matrix and calibration campaign #414, notfullscenarioacceptance; #424prerequisite/humanrating remain.

    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.

  8. added a commit that references this issue on Oct 13, 2026
  9. r4yharris-agent-coder commented on Oct 13, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    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.

  10. r4yharris-agent-coder commented on Oct 22, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    Native Rust Copilot worker provider initiative slices (#570-#573) delivered offline (#672)

  11. added
    roster:review
    on Oct 22, 2026
  12. r4yharris-agent-coder commented on Oct 22, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    Roster run delivered for review (roster:review).

    • Verified PR: [agent] add board/wave/seat-publication helpers, Copilot artifact emission, and shell e2e delivery profile wiring #673 (MERGED, head 8fba78ba4d230144930a7a5054612f67fa2b975e, merge 90fd20b92d4d3d9e6fa08d61b361209910c86700, check-agent-trailers SUCCESS)
    • Model: GPT-6.1-Sol
    • AI-Run: 1|github-copilot|GPT-6.1-Sol@-|x|-/1000000|-|ghcp-20261022|rust-migration-roster-cli-evaluation
    • Live Multi-Model roster shell Verification:
      • rtx-3090-qwen (qwen3.8:27b-smtek, 65.5k ctx on 127.0.0.1:11435): /doctor warm HTTP 200.
      • aperture-dsv4 (deepseek-v4-flash, 1.0m ctx): /doctor warm HTTP 200.
      • aperture-qwen (qwen3.8-27b, 262.1k ctx): /doctor warm HTTP 200, live /question, live /ask slice planning, /usage, and /context.
      • aperture-glm (glm-5.3-flash, 1.0m ctx): /doctor warm HTTP 200, live /ask feature planning + /waves, and full end-to-end /plan + Enter (planner -> coder -> reviewer) verified delivery in roster shell (Mode: verified, Review: pass, /recap, /checkpoints).

    Status label: roster:review. Issue remains open for human AI-Eval.

  13. removed
    roster:review
    on Oct 23, 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

    enhancementkind:initiativepriority:P1spec:5.2spec:5.3spec:5.4spec:5.5spec:5.6spec:5.7spec:5.8

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions