Skip to content

feat(copilot): assess offline worker capability descriptors without granting dispatch #645

Closed

Description

@r4yharris-agent-coder

Outcome

Add a pure closed-schema offline capability assessment for the reviewed external-worker design. Descriptor-only preparation, not a production adapter or another event-protocol mock.

Parent #571 remains open; #570 still gates live integration. Spec: FEATURE_SPEC sections 5.2, 5.4, 5.5 and 5.8; honors sections 3 and 7. Node20 ESM, zero runtime dependencies, one writer in an isolated fresh-main feature worktree.

Allowed Files

  • src/lib/copilot-worker-capabilities.mjs (new)
  • tests/copilot-worker-capabilities.test.mjs (new)
  • docs/COPILOT_WORKER_DESIGN.md (readiness contract/evidence only)

Acceptance checks

  • Pure closed-schema parsing and assessment explicitly distinguish absent, unsupported and descriptor-reported controls; no reported descriptor is treated as actual physical qualification.
  • Unknown fields/values and builtin or unknown tools fail closed; launch, network, authentication and publication authority cannot be granted.
  • liveDispatch and publish remain false for every supported descriptor, including an apparently complete synthetic declaration.
  • Physical credential boundary, auth and hard-spend enforcement remain unproven; existing builtin/stub defaults and worker protocol behavior stay unchanged.
  • No production import/dispatch, onboarding/doctor/CLI/config/private-setting changes, process launch, model request, credential access, policy/workflow/vendor edits or dependency installation.
  • Focused tests cover valid, missing, malformed and unsupported controls and authority injection; direct related design documentation explains limits without claiming feat(copilot): adapt approved model turns to Roster-owned tools #571 delivered.

Review and identity

Child implementation model is unknown and must remain unknown. Independent parent review is required before publication; parent metadata describes only actual parent work/review and must not fabricate child model or response-backed usage. App-only publisher, no human commit/push. Separate verified, published and accepted states. No estimated completion time or human acceptance invented.

Activity

  1. r4yharris-agent-coder commented on Oct 14, 2026

    @r4yharris-agent-coder
    ContributorAuthor

    Independent parent review — 2026-10-14

    Reviewed the complete exact three-file candidate on base 9c816f3 with reviewed contracts 0050ada7184d7ef167310ef25b4312a024069505:

    • src/lib/copilot-worker-capabilities.mjs
    • tests/copilot-worker-capabilities.test.mjs
    • docs/COPILOT_WORKER_DESIGN.md

    No blocking defects identified in this descriptor-only scope. Verified plain closed data records, denied tool/authority injection, finite declared limits, separately recorded unknown/unsupported controls, deeply frozen independent snapshots and no production imports/dispatch. Every accepted descriptor retains liveDispatchEligible=false and publicationEligible=false. Declared controls are not physical enforcement.

    Independent Windows Node v20.19.5 command:
    node --test --test-reporter=tap tests/copilot-worker-capabilities.test.mjs tests/copilot-worker-contract.test.mjs tests/capabilities.test.mjs

    97 tests / 97 pass / 0 fail / 0 skip / 0 cancel, 1467.8426ms. git diff --cached --check passed before review; direct parent review evidence added to design docs.

    Child's earlier same-selector result: 97/97 pass, 2176.0346ms. Preliminary Node24 result remains separately qualified. Child served model is unknown; parent review does not retroactively identify it. No completed Roster seat/run or measured usage fabricated.

    Transition requested: In review, not Done. No commit, push, publisher invocation, merge, live provider call, physical qualification or human acceptance occurred during this review. Parent #571 and dependency #570 remain open; no auth/account/data/model/spend or production capability gate cleared.

    Product trace: FEATURE_SPEC 5.2/5.4/5.5/5.8; principles3 and boundaries7 preserved.

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

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions