Repository navigation
Description
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.
Original spike requirements (retained)
Desired outcome
Produce a reviewed offline-only decision on whether Copilot CLI or SDK can serve Roster without bypassing task scope, tool controls, reviewer independence, provenance or publication.
| Field | Declaration |
|---|---|
| Work item / priority | slice / P1 |
| Board / campaign | Roster Build / Copilot subscription integration |
| Requested status | Backlog; ProjectV2 user-board access must be verified separately |
| Spec trace | FEATURE_SPEC §§5.2, 5.4, 5.5, 5.8; honors §§3, 7; advances §8 where applicable |
| Parent | #569 (dedicated integration; separate from Eve) |
| Dependency | None |
| Estimate / assignee | Not estimated; no assignee claimed |
Scope and non-goals
Inspect official public interfaces and repository adapters; synthetic fixtures only. Do not install SDK/CLI, contact Copilot, device-login, send repository context, inspect account entitlement, change policy/App permissions or run billed tests.
Measurable acceptance criteria
- Comparison records official install/runtime and minimum Node versions; SDK dependency/platform runtime footprint; CLI versus SDK session/process semantics; model discovery; tool filters/custom-tool handoff; cancellation/deadlines; authentication precedence/expiry/logout; telemetry/data flow; per-call model/token/cost reporting and unknowns.
- Offline fake adapter proves the required Roster request/result/event mapping for a single bounded turn; malformed/unknown requests fail closed, missing model/usage remain unknown, no success fallback.
- Environment design proves no inherited COPILOT_GITHUB_TOKEN, GH_TOKEN, GITHUB_TOKEN, GITHUB_APP_* or gh-auth fallback reaches inference; App publisher context remains separate and unchanged.
- No manifest, Node range, human policy, workflow, vendor source or live credentials are changed; no package is installed.
- Reviewed go/no-go distinguishes Roster-controlled inference from a separate full-agent worker and states Node >=20 / zero-runtime-dependency consequences.
Verification plan
Use only existing narrow Node tests and synthetic mock tests in a future implementation prompt; assert zero network, model, auth and publisher invocation.
Blocking human/security gates
- Parent initiative gates apply. No inference about Ray's plan, license, models, org policy, entitlement or budget. No live call without explicit task/data/account/model/spend approval.
- Never device-login on Ray's behalf, capture codes/tokens, extract IDE/keychain credentials, change App/org installation permissions or human policy/workflows, or publish with human credentials. Inference must not inherit GitHub App publishing authority.
- Keep Node >=20 ESM and zero runtime dependencies unless the human explicitly approves a future exception; official SDK requires Node ^20.19.0 or >=22.12.0 plus SDK/platform runtime packages; npm CLI requires Node 22+.
- Preserve task-selected skills/context as bounded untrusted input, exact scope/tools, independent read-only reviewer and honest provider-specific metrics.
Research/source references
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 .
Related only: #418 remains its deferred original acceptance gate; #414 retains its own calibration/human acceptance; this is separate from #473/#489.
Activity
r4yharris-agent-coder commentedon Oct 12, 2026
Parallel feasibility work started (Ray authorized 2026-10-11)
This visible research chat remains coordination owner; two read-only helpers have bounded, non-overlapping assignments. These are research helpers, not Roster builtin seats or completed provider delivery. No fake assignees, model usage, performance evidence, approvals or AI-Eval are declared.
No concurrent repository writers, provider installation, model requests, login, credential extraction, board mutation, vendor edits, App permission changes or parent-calibration work. #571 and #572 implementation remain blocked by the reviewed #570 decision and human gates; #573 remains separately blocked by live data/account/budget approvals.
Repository integration evidence (not a provider implementation)
Research checkout is clean at 28044dd; fetched origin/main is de92d67. Pinned contracts initialized and resolveContractsPath resolves it. No branch/files changed. Current-main deltas were inspected read-only: new engineering-baseline injection, acceptance-continuity context and task deadlines must be preserved by any future provider adapter; implementation must start from fresh reviewed main, not this old research anchor.
Existing createBuiltinChat in src/lib/llm.mjs wraps an OpenAI-shaped transport; runLoop in src/runtime/loop.mjs owns message history, validates complete function calls and JSON-string arguments, executes scoped Roster tools and sends tool_call_id results on the next bounded turn. The planner/reviewer paths also use the shared chat seam. Simply setting llm.provider to github-copilot changes provenance, not transport. Current empty base_url remains the deterministic stub and cannot silently become cloud inference. Config/fleet provider discriminant and transport dispatch require an explicit approved future design rather than a fake URL or private endpoint.
Proposed offline fixture acceptance contract (not implemented)
The boundary must preserve request messages/tool definitions/signal, return a complete assistant message plus usage and supported stop/tool_calls finish reason, and retain per-request response identity and actual attempt counts. Two synthetic examples: a call to offered read_file with a JSON object path fixtures/sample.mjs returns only a tool request (no read); a tool-free final message returns only text. A native SDK custom-tool callback that keeps executing subsequent model calls is NOT equivalent to this boundary and must not be shoehorned into a single-turn request/usage budget.
Observed validation
On this research anchor, with App/GitHub/Copilot/LLM credential variables removed in the test process, ran node --test tests/run-metrics.test.mjs tests/loop.test.mjs: 14 tests passed, 0 failed, exit 0, Node v24.19.0. These are existing pure metadata/mock-fetch loop tests, not Copilot adapter tests, current-main integration validation or Node20 verification. They establish current behavior for usage unknown/zero, response-backed provenance, refusing unknown-model publication and stopping on test-runner infrastructure failure. No new provider/synthetic transport is implemented, so #570's offline fake-adapter proof and independent design-review AC are NOT yet satisfied.
Final helper findings will be consolidated here with exact official sources, remaining gates and a conditional go/no-go. No issue acceptance or Project status transition is claimed. #418 and #414 gates remain unchanged. Spec trace: FEATURE_SPEC 5.2/5.4/5.5/5.8, preserving 3/7; provenance details also support 5.6. Source URLs for Roster evidence should be read at the recorded Git revision, not assumed current HEAD. Model/cost/usage for helper sessions remain unverified; no fabricated AI-Run.
r4yharris-agent-coder commentedon Oct 12, 2026
Parallel research consolidation: conditional feasibility, not implementation approval
Two nonoverlapping read-only research helpers completed: transport/tool containment and auth/onboarding. Coordinator retained Roster boundary/fixture ownership. Neither helper changed code, installed anything, logged in, extracted credentials, or ran inference. Source identity: helper model unknown (Auto), no response-backed model/usage/cost measurement claimed. These are research helpers, not Roster planner/coder/reviewer seat executions.
Decision
Do not start #571 implementation yet. Official interfaces support a plausible tightly contained SDK design, but SDK execution is a session/agent loop, not a verified drop-in Roster single-model-turn transport. CLI installation alone also does not supply a verified bounded-turn API. A config-only provider rename or invented OpenAI base URL is not an integration. No handwritten private endpoint or unapproved raw JSON-RPC protocol implementation is recommended.
Preferred candidate for an approved future offline spike: a tool-disabled official session produces a validated structured action envelope; Roster alone validates and executes offered tools and supplies correlated results in a subsequent bounded request. This is a hypothesis to test, not a proven adapter. Preview structured-output compatibility, internal iteration accounting, conversation continuity, model evidence and deadline cancellation must all be demonstrated. A callback-based full Copilot agent worker is a different execution mode; do not label its results builtin Roster calibration or silently move Roster's control loop into Copilot.
Transport containment: corrected source findings
Pinned SDK snapshot: 6be623b01b194a61466385e3f708639ec98ce8ac, documented matching runtime 1.0.96-2.
Pinned source evidence:
Auth, onboarding and provenance recommendation
Explicit optional provider selection, local/offline default unchanged. Check installed executable/runtime compatibility; human performs official interactive login in an explicit handoff without Roster collecting codes/tokens. Persist only reviewed nonsecret config. Discover/select explicit models through the approved supported surface; auth success is not entitlement/policy/budget approval. Doctor must distinguish install/config/auth evidence from unverified entitlement or remaining credits. Removing a Roster profile is disconnect, NOT logout/revocation; official CLI logout and GitHub OAuth revocation are separate actions.
CLI documented precedence is COPILOT_GITHUB_TOKEN > GH_TOKEN > GITHUB_TOKEN > stored OAuth > gh fallback (with documented Codespaces exception). Filtering environment variables does NOT prove stored-keychain/gh/profile isolation. SDK useLoggedInUser:false is documented to suppress stored-credential fallback; isolate child env, direct-token/BYOK overrides and account identity, then verify negative cases offline. No undocumented CLI fallback-disable or home-relocation control is assumed absent or supported merely because a limited doc set did not describe it.
Organization server-to-server installation-token use requires human-approved Copilot Requests write, organization enablement and the documented All repositories scope. Runtime env COPILOT_GITHUB_TOKEN is the documented installation-token path, not the SDK user-token option. This is not automatic entitlement for Ray's personal subscription and does not authorize reusing the publishing App token. No App/org permissions are changed by this research.
SDK assistant.usage exposes model/token evidence. Do not equate its cost field with USD or AI Credits without an explicit pinned unit contract. Missing metrics stay unknown; explicit zero is preserved; last-call usage is distinct from cumulative/session/ephemeral replay. Auto/requested/display model is not proof of the actual served model. Unverified model identity blocks publication. No universal rate/concurrency allowance or preflight remaining-credit API is claimed.
Sources: CLI installation, CLI authentication/logout, SDK auth, server-to-server, usage schemas, individual billing, organization billing, policies, pricing.
Node/dependency and human gates
Official SDK requires Node ^20.19.0 or >=22.12.0 and adds a runtime library dependency (with optional platform runtime packaging). It does not support every current Node >=20 version. External CLI avoids adding an SDK library, but npm installation needs Node22+; Windows WinGet is a separate install route. An external binary does not establish a compatible turn protocol. No manifest/Node change or dependency exception is approved here.
Before implementation: Ray chooses whether to authorize a Node-minimum/dependency exception and the candidate SDK offline proof, or retain zero dependencies and defer the provider. Before live testing: explicit account/org policy, approved task/context/data transfer, selected model, spend/credits ceiling, deadline, concurrency1 and retry limits. Subscription is not an Enterprise license; licensing/terms questions require admin/GitHub confirmation, not legal assurance. No live invocation was made.
Acceptance evidence and remaining work
Existing coordinator tests: 14 pass/0 fail for run-metrics + loop, Node24.19.0 at research revision 28044dd; mocks only, no adapter/Node20/current-main proof. Fetched main de92d67 adds engineering-baseline/context-continuity/deadline behavior that a future fresh-base spike must preserve.
#570 remains OPEN, NOT accepted: comparison evidence is documented, but the fake adapter single-turn proof, credential-isolation proof, telemetry/data-flow completeness and independent reviewed go/no-go are outstanding. Require synthetic cases for no/unknown/malformed/partial tools, tools=[], call correlation/replay, missing/zero/cache metrics, unknown Auto identity, cancellation/EOF/throttle, required-context overflow and ambient OAuth/gh/BYOK isolation. Assert zero model/auth/publisher/network invocations in offline fixtures. Harness owns task artifacts, bounded selected skills/instructions and read-only reviewer; injected samples are untrusted context, not tool authority.
Dependency order unchanged: #570 -> #571 -> #572 -> #573. No acceptance checkbox, assignee, budget, estimate or AI-Eval fabricated. Requested board status is Backlog, but Project2 placement remains blocked/unconfirmed (App: Resource not accessible by integration); no permission workaround. #418 deferred gate, #414 calibration/human gate, Eve #473/#489 and parent calibration work remain separate and unchanged.
Spec trace: FEATURE_SPEC §§5.1 authority/provenance, 5.2 explicit provider/model staffing, 5.3 bounded dependency slices, 5.4 scoped execution, 5.5 independent review, 5.6 honest metrics, 5.7 onboarding/doctor, 5.8 budgets/deadlines; honors §§3 and7. Parallel research accelerates evidence gathering only; future writers need approved separate slices/worktrees and serialized integration/review.
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.
Merge pull request #14 from R4yHarris/agents/resume-administration-re…
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 #649 from R4yHarris/agents/roster-build-safe-imple…
docs(rust): document read-only question vLLM tool_calls and thinking …
r4yharris-agent-coder commentedon Oct 22, 2026
Native Rust offline feasibility packet delivered (#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.mdand implementedoffline_copilot_inference_contextandrun_offline_copilot_turnwith unit tests inrust/capabilities.rs(FEATURE_SPEC §§5.2, 5.4, 5.5, 5.6, 5.8; honors §§3, 7).AI-Evaland acceptance.