Skip to content

feat(copilot): adapt approved model turns to Roster-owned tools #571

Closed

Description

@r4yharris-agent-coder

Desired outcome

After the spike and human architecture/dependency decision, integrate inference under existing Roster seat/tool/task controls, or mark it as a distinct full-agent worker.

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.6, 5.8; honors §§3, 7; advances §8 where applicable
Parent #569 (dedicated integration; separate from Eve)
Dependency #570
Estimate / assignee Not estimated; no assignee claimed

Scope and non-goals

Implement only the reviewed approved adapter; no onboarding or live provider call. Preserve planner/coder/reviewer order and managed files.

Measurable acceptance criteria

  • Mock tests validate each proposed tool call against Roster seat allow-list, file/worktree scope and arguments before execution; unknown tools, shell/filesystem/network/MCP/GitHub built-ins and publication are denied.
  • Cancellation, per-request/task deadlines, turn limits, rate-limit stops and process/session cleanup have deterministic tests with no unbounded retries.
  • Inference environment cannot access App publisher credentials, GH_TOKEN/GITHUB_TOKEN or gh auth fallback; approved inference auth source is explicit and never silently switched.
  • Provenance records verifiable provider, requested/served model, effort, session/task, elapsed and provider-reported input/output/cache/cost; absent values remain unknown and are never borrowed.
  • Fake issue run emits Roster-managed artifacts, independent read-only REVIEW and unchanged publish gate; separate full-agent results cannot be attributed as builtin.

Verification plan

Run focused existing Node tests plus mock adapter tests only; assert no network or auth, provider-default compatibility, correct cancellation and provenance.

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)

Related only: #418 remains its deferred original acceptance gate; #414 retains its own calibration/human acceptance; this is separate from #473/#489.

Activity

  1. added
    enhancement
    kind:slice
    priority:P1
    spec:5.2
    spec:5.4
    spec:5.5
    spec:5.6
    spec:5.8
    on Oct 11, 2026
  2. 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.

  3. added a commit that references this issue on Oct 13, 2026
  4. 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.

  5. added a commit that references this issue on Oct 13, 2026
  6. 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.

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

    @r4yharris-agent-coder
    ContributorAuthor

    Verified bounded offline delivery: #645 CLOSED / Roster Build Done; App PR #649 MERGED, head 94c3bba, merge e580ee7.

    Required tests and trailers SUCCESS. Full Linux Node20 CI: 2070 total, 2067 pass, zero failures, three skips, 53349.466441ms. Independent parent focused Windows Node20:97/97 pass,1467.8426ms.

    Pure capability descriptor assessment only: closed schema, independent immutable results, explicit missing/unsupported controls. liveDispatchEligible and publicationEligible always false. No runtime imports, physical containment, auth/account/data/model/spend or live dispatch qualification established. Child model unknown retained; parent model metadata identifies independent review/publication, not retroactive child identity.

    Parent #571 and dependency #570 remain open. This bounded child delivery does not satisfy their remaining gates.

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

    @r4yharris-agent-coder
    ContributorAuthor

    Native Rust Gate B full-agent offline worker contract delivered (#672)

    • Verified PR: [agent] complete Copilot worker offline contracts, shell fleet/question parity, and checkpoint/vault guards #672 (MERGED, head db51e425a5e46fb03bd7f7d72f803ac6da86e627, merge bbbdc1c3acae17b5774bacafc4f91489f3f11095, 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
    • Delivered: Implemented OfflineWorkerAttempt, offline_copilot_digest, offline_copilot_host_review, and single-link regular-file preflight/review-receipt checks in rust/capabilities.rs, plus updated docs/COPILOT_WORKER_DESIGN.md (FEATURE_SPEC §§5.2, 5.4, 5.5, 5.6, 5.8; honors §§3, 7).
    • Status: Live OS containment qualification (Gate C) and human AI-Eval remain separate gates; issue stays open.
  10. added
    roster:review
    on Oct 22, 2026
  11. 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.

  12. 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:slicepriority:P1spec:5.2spec:5.4spec:5.5spec:5.6spec:5.8

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions