From 50368e9c504d890b28f94c6461de88b8bab5cdfa Mon Sep 17 00:00:00 2001 From: Dotta Date: Thu, 8 Oct 2026 07:35:26 -0500 Subject: [PATCH] Add Copilot runtime regressions and provenance fixtures Reviewed partition of the current-master Copilot integration. Complete v30 live qualification is retained; current v31 recovery compatibility, CI and review are tracked explicitly. Co-Authored-By: Paperclip --- .../src/drivers/acpx/copilot-events.test.ts | 61 + .../src/drivers/acpx/copilot-evidence.test.ts | 119 + .../acpx/copilot-extension-adapter.test.ts | 120 + .../drivers/acpx/copilot-installation.test.ts | 150 + .../acpx/copilot-message-identity.test.ts | 72 + .../src/drivers/acpx/copilot-policy.test.ts | 107 + .../src/drivers/acpx/copilot-profile.test.ts | 29 + .../acpx/copilot-protocol-guard.test.ts | 82 + .../src/drivers/acpx/copilot-registry.test.ts | 89 + .../drivers/acpx/copilot-runtime-host.test.ts | 95 + .../acpx/copilot-tool-evidence.test.ts | 209 + .../copilot-1.0.88-mcp-receipt-captured.json | 60 + ....0.88-mcp-receipt-captured.provenance.json | 49 + .../acpx/fixtures/copilot-tool-evidence.json | 241 + .../fixtures/copilot-acp-denial-1.0.88.json | 862 ++++ .../copilot-acp-settlement-1.0.88.json | 1322 ++++++ ...opilot-authenticated-discovery-1.0.88.json | 855 ++++ ...pilot-canonical-live-proof-2026-09-28.json | 79 + .../copilot-event-inventory-1.0.88.json | 3312 +++++++++++++ .../copilot-live-detached-2026-09-28.json | 123 + ...message-identity-distributions-1.0.88.json | 4107 +++++++++++++++++ ...ative-instruction-delivery-2026-09-29.json | 72 + ...copilot-policy-conformance-2026-09-29.json | 257 ++ ...copilot-product-live-proof-2026-09-28.json | 93 + ...-product-merged-live-proof-2026-09-28.json | 149 + ...ot-product-plan-live-proof-2026-09-28.json | 103 + ...product-restart-live-proof-2026-09-28.json | 119 + ...opilot-product-v3-question-2026-09-29.json | 78 + .../copilot-profile-v10-identity.json | 33 + .../copilot-profile-v11-identity.json | 42 + .../copilot-profile-v14-identity.json | 53 + .../copilot-profile-v15-identity.json | 53 + .../copilot-profile-v16-identity.json | 53 + .../copilot-profile-v17-identity.json | 54 + .../copilot-profile-v18-identity.json | 55 + .../copilot-profile-v19-identity.json | 58 + .../copilot-profile-v20-identity.json | 68 + .../copilot-profile-v21-identity.json | 70 + .../copilot-profile-v22-identity.json | 76 + .../copilot-profile-v23-identity.json | 77 + .../copilot-profile-v24-identity.json | 79 + .../copilot-profile-v25-identity.json | 79 + .../copilot-profile-v27-identity.json | 81 + .../fixtures/copilot-profile-v3-identity.json | 15 + .../copilot-profile-v30-identity.json | 81 + .../fixtures/copilot-profile-v4-identity.json | 16 + .../fixtures/copilot-profile-v5-identity.json | 16 + .../fixtures/copilot-profile-v6-identity.json | 17 + .../fixtures/copilot-profile-v7-identity.json | 22 + .../fixtures/copilot-profile-v8-identity.json | 22 + .../fixtures/copilot-profile-v9-identity.json | 28 + ...lot-provider-pack-darwin-arm64-1.0.88.json | 67 + ...opilot-provider-pack-final-2026-09-28.json | 86 + ...ot-provider-pack-linux-x64-2026-09-28.json | 88 + ...t-runtime-context-recovery-2026-09-29.json | 248 + ...ative-instruction-delivery-2026-09-29.json | 61 + ...owned-instruction-delivery-2026-09-29.json | 69 + 57 files changed, 14781 insertions(+) create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-events.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-evidence.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-installation.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-message-identity.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-policy.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-profile.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-protocol-guard.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-registry.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-runtime-host.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.test.ts create mode 100644 packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.json create mode 100644 packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.provenance.json create mode 100644 packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-tool-evidence.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-acp-denial-1.0.88.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-acp-settlement-1.0.88.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-authenticated-discovery-1.0.88.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-canonical-live-proof-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-event-inventory-1.0.88.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-live-detached-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-message-identity-distributions-1.0.88.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-native-instruction-delivery-2026-09-29.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-policy-conformance-2026-09-29.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-product-live-proof-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-product-merged-live-proof-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-product-plan-live-proof-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-product-restart-live-proof-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-product-v3-question-2026-09-29.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v10-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v11-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v14-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v15-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v16-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v17-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v18-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v19-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v20-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v21-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v22-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v23-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v24-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v25-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v27-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v3-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v30-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v4-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v5-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v6-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v7-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v8-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-profile-v9-identity.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-provider-pack-darwin-arm64-1.0.88.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-provider-pack-final-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-provider-pack-linux-x64-2026-09-28.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-runtime-context-recovery-2026-09-29.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-v4-native-instruction-delivery-2026-09-29.json create mode 100644 packages/paperclip-runner/test/fixtures/copilot-v4-owned-instruction-delivery-2026-09-29.json diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-events.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-events.test.ts new file mode 100644 index 00000000000..96c04dc0a6a --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-events.test.ts @@ -0,0 +1,61 @@ +import { createHash } from "node:crypto"; +import { describe, expect, it } from "vitest"; +import { COPILOT_ACP_CLIENT_CAPABILITIES, COPILOT_ACP_EVENT_METHOD, normalizeCopilotSessionEvent } from "./copilot-events.js"; + +const binding = { sessionId: "session-1", turnId: "turn-1" }; +const event = (type: string, data: unknown, extra = {}) => ({ method: COPILOT_ACP_EVENT_METHOD, params: { sessionId: "session-1", type, data, ...extra } }); + +describe("Copilot native event projection", () => { + it("subscribes explicitly and requires an active receiver without inventing originating turn", () => { + const events = COPILOT_ACP_CLIENT_CAPABILITIES._meta["github.com/copilot"].events; + expect(events).toContain("session.workspace_file_changed"); + expect(events).not.toContain("assistant.reasoning"); + expect(normalizeCopilotSessionEvent(event("session.idle", {}), { ...binding, sessionId: "other" })).toBeNull(); + expect(normalizeCopilotSessionEvent(event("session.idle", {}), { ...binding, turnId: "" })).toBeNull(); + expect(normalizeCopilotSessionEvent(event("assistant.reasoning", { text: "private" }), binding)).toBeNull(); + }); + it("retains session evidence without treating receipt or provider payload as originating turn", () => { + const delayed = event("assistant.usage", { inputTokens: 10 }, { turnId: "unqualified-provider-field" }); + const earlier = normalizeCopilotSessionEvent(delayed, binding); + const later = normalizeCopilotSessionEvent(delayed, { ...binding, turnId: "next-turn" }); + expect(earlier).toEqual(later); + expect(later).toMatchObject({ sessionId: "session-1", turnId: null, data: { inputTokens: 10 } }); + }); + it("preserves subagent attribution and useful metrics while dropping undeclared fields", () => { + expect(normalizeCopilotSessionEvent(event("subagent.completed", { toolCallId: "t", agentName: "review", agentDisplayName: "Reviewer", model: "m", totalTokens: 42, cancelled: true, private: "secret" }, { agentId: "child" }), binding)).toMatchObject({ kind: "activity", agentId: "child", data: { model: "m", totalTokens: 42, cancelled: true } }); + expect(normalizeCopilotSessionEvent(event("subagent.completed", { private: "secret" }), binding)?.data).not.toHaveProperty("private"); + }); + it("does not conflate provider workspace artifacts with task files", () => { + const result = normalizeCopilotSessionEvent(event("session.workspace_file_changed", { path: "reports/result.md", operation: "create" }), binding); + expect(result).toMatchObject({ kind: "artifact_reference", data: { path: "reports/result.md", locationKind: "provider_session_workspace", requiresArtifactResolution: true } }); + for (const path of ["../secret", "/etc/passwd", "C:\\secret", "file:///secret", "a/../secret", "a//b", "a\nsecret"]) { + expect(normalizeCopilotSessionEvent(event("session.workspace_file_changed", { path, operation: "create" }), binding)).toBeNull(); + } + }); + it("verifies binary asset identity and emits metadata without inline bytes", () => { + const bytes = Buffer.from("test image"); + const data = { assetId: `sha256:${createHash("sha256").update(bytes).digest("hex")}`, type: "image", mimeType: "image/png", byteLength: bytes.length, data: bytes.toString("base64") }; + expect(normalizeCopilotSessionEvent(event("session.binary_asset", data), binding)).toMatchObject({ kind: "artifact_reference", data: { assetId: data.assetId, byteLength: bytes.length } }); + expect(normalizeCopilotSessionEvent(event("session.binary_asset", data), binding)?.data).not.toHaveProperty("data"); + expect(normalizeCopilotSessionEvent(event("session.binary_asset", { ...data, data: "invalid" }), binding)).toBeNull(); + expect(normalizeCopilotSessionEvent(event("session.binary_asset", { ...data, byteLength: 99 }), binding)).toBeNull(); + }); + it("keeps cost units explicit and avoids duplicate authoritative usage", () => { + expect(normalizeCopilotSessionEvent(event("assistant.usage", { inputTokens: 10, outputTokens: 2, cost: 3, copilotUsage: { totalNanoAiu: 4 }, quotaSnapshots: { secret: true } }), binding)?.data).toEqual({ inputTokens: 10, outputTokens: 2, modelMultiplier: 3, totalNanoAiu: 4, accounting: "supplemental_provider_notice" }); + }); + it("does not finalize turns from lossy events or invent responders for native input", () => { + expect(normalizeCopilotSessionEvent(event("session.idle", {}), binding)?.data.authoritativeTurnCompletion).toBe(false); + expect(normalizeCopilotSessionEvent(event("user_input.requested", { requestId: "q", question: "private question" }), binding)).toMatchObject({ kind: "capability_gap", data: { reason: "native_request_has_no_qualified_acp_responder", requestId: "q" } }); + expect(normalizeCopilotSessionEvent(event("session.plan_changed", {}, { dataOmitted: "too-large" }), binding)).toMatchObject({ kind: "capability_gap", data: { omission: "too-large" } }); + }); + it("rejects oversized and cyclic notifications", () => { + expect(normalizeCopilotSessionEvent(event("session.idle", { text: "x".repeat(50 * 1024) }), binding)).toBeNull(); + const data: Record = {}; data.self = data; + expect(normalizeCopilotSessionEvent(event("session.idle", data), binding)).toBeNull(); + }); + it("preserves fractional usage latency and compaction counters without private summaries", () => { + expect(normalizeCopilotSessionEvent(event("assistant.usage", { duration: 1.5, timeToFirstTokenMs: 12.25 }), binding)?.data).toMatchObject({ duration: 1.5, timeToFirstTokenMs: 12.25 }); + expect(normalizeCopilotSessionEvent(event("session.compaction_complete", { success: true, tokensRemoved: 50, summaryContent: "private", checkpointPath: "/private" }), binding)?.data).toEqual({ tokensRemoved: 50, success: true }); + expect(normalizeCopilotSessionEvent(event("session.permissions_changed", { mode: "allow_all", previousMode: "default" }), binding)?.data).toEqual({ previousMode: "default", mode: "allow_all", policyChangeAllowed: false }); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-evidence.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-evidence.test.ts new file mode 100644 index 00000000000..fe350a8e816 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-evidence.test.ts @@ -0,0 +1,119 @@ +import { readFileSync } from "node:fs"; +import { describe, expect, it } from "vitest"; +import { COPILOT_ACP_EVENT_TYPES } from "./copilot-events.js"; + +function fixture(name: string) { + return JSON.parse(readFileSync(new URL(`../../../test/fixtures/${name}`, import.meta.url), "utf8")); +} + +describe("Copilot pinned executable evidence", () => { + it("retains controller-restart recovery without erasing the separate question failure", () => { + const evidence = fixture("copilot-product-restart-live-proof-2026-09-28.json"); + expect(evidence).toMatchObject({ qualificationStatus: "pending", status: "passed", providerReportedCostUsd: null, billingComplete: false, cleanup: "passed", retainedFixtureProcessesAfterCleanup: 0 }); + expect(evidence.matcherResults).toHaveLength(6); + expect(evidence.matcherResults.every((result: { passed: boolean }) => result.passed)).toBe(true); + expect(evidence.question).toMatchObject({ nativeCopilotAskUserCallback: false, answerOptionIds: ["cobalt"], status: "answered", serverRestartedBeforeAnswer: true, sameInteractionPreserved: true }); + expect(evidence.continuation).toMatchObject({ samePersistedProviderSession: true, freshSession: false, sessionReused: true, taskSessionReused: true, providerDeathRecoveryVerified: false }); + expect(evidence.usage.every((usage: { biller: string; costStatus: string; costUsdFieldPresent: boolean }) => usage.biller === "github" && usage.costStatus === "unpriced" && !usage.costUsdFieldPresent)).toBe(true); + expect(fixture("copilot-product-merged-live-proof-2026-09-28.json").cases[1].status).toBe("failed"); + expect(JSON.stringify(evidence)).not.toMatch(/\/Users\/|\/tmp\/|github_pat_|accessToken/); + }); + it("retains revision-bound semantic plan approval without claiming warm reuse or priced usage", () => { + const evidence = fixture("copilot-product-plan-live-proof-2026-09-28.json"); + expect(evidence).toMatchObject({ qualificationStatus: "pending", status: "passed", providerReportedCostUsd: null, billingComplete: false, cleanup: "passed" }); + expect(evidence.matcherResults).toHaveLength(6); + expect(evidence.matcherResults.every((result: { passed: boolean }) => result.passed)).toBe(true); + expect(evidence.planApproval).toMatchObject({ displayedRevisionNumber: 1, targetMatchesDisplayedRevision: true, status: "accepted", nativeCopilotPlanCallback: false }); + expect(evidence.continuation).toMatchObject({ freshSession: true, sessionReused: false }); + expect(evidence.usage.every((usage: { biller: string; costStatus: string; costUsdFieldPresent: boolean }) => usage.biller === "github" && usage.costStatus === "unpriced" && !usage.costUsdFieldPresent)).toBe(true); + }); + it("retains an actual detached command completing before the GitHub turn settles", () => { + const evidence = fixture("copilot-live-detached-2026-09-28.json"); + expect(evidence).toMatchObject({ qualificationStatus: "pending", model: "gpt-5.6-luna", promptRequestsSent: 1, providerReportedCostUsd: null, detachedToolObserved: true, backgroundCompletionObservedBeforeTerminal: true, cleanupComplete: true, result: { passed: true } }); + expect(evidence.nativeToolCall.rawInput).toMatchObject({ mode: "async", detach: true }); + expect(evidence.permissions[0]).toMatchObject({ requestId: 0, outcome: { outcome: "selected", optionId: "allow_once" }, exactCommand: true }); + expect(evidence.nativeCompletion.elapsedMs).toBeLessThan(evidence.terminalElapsedMs); + expect(evidence.markerOracle.terminal.matches).toBe(true); + expect(evidence.markerOracle.afterCleanup.matches).toBe(true); + expect(JSON.stringify(evidence)).not.toMatch(/\/Users\/|\/tmp\/|github_pat_|accessToken|apiCallId/); + }); + it("retains the actual GitHub denied write with unknown USD and bounded scope", () => { + const evidence = fixture("copilot-live-denial-2026-09-28.json"); + expect(evidence).toMatchObject({ qualificationStatus: "pending", model: "gpt-5.6-luna", promptRequestsSent: 1, providerReportedCostUsd: null, cleanupComplete: true, result: { passed: true } }); + expect(evidence.permissions).toHaveLength(1); + expect(evidence.permissions[0]).toMatchObject({ requestId: 0, outcome: { outcome: "selected", optionId: "reject_once" }, writeAttempt: true }); + expect(evidence.markerOracle).toMatchObject({ anySampleExisted: false, terminal: { exists: false }, afterCleanup: { exists: false } }); + expect(JSON.stringify(evidence)).not.toMatch(/\/Users\/|\/tmp\/|github_pat_|accessToken|apiCallId/); + }); + it("retains local Product failures separately from passed transport and accounting evidence", () => { + const evidence = fixture("copilot-product-merged-live-proof-2026-09-28.json"); + expect(evidence.qualificationStatus).toBe("pending"); + expect(evidence.modelProvider).toBe("github"); + expect(evidence.cases[0]).toMatchObject({ caseId: "file-edit-validate", status: "passed", behaviorMatchersPassed: 7, costStatus: "unpriced", costUsdFieldPresent: false, billingComplete: false }); + expect(evidence.cases[1]).toMatchObject({ caseId: "question-resume-complete", status: "failed", questionDelivered: true, answerOptionId: "cobalt", sameProviderSessionReused: true, observedFinalText: "[terminal marker]", originalEvidenceUnchanged: true }); + expect(evidence.cases[2]).toMatchObject({ caseId: "plan-approve-complete", status: "failed", providerTurns: 0, qualificationEvidence: false }); + expect(evidence.restartCase.status).toBe("not_executed"); + expect(evidence.externalBilling.providerReportedCostUsd).toBeNull(); + expect(JSON.stringify(evidence)).not.toMatch(/\/Users\/|\/tmp\/|github_pat_|accessToken/); + }); + it("retains authenticated exact model selection without promoting metadata to inference", () => { + const evidence = fixture("copilot-authenticated-discovery-1.0.88.json"); + expect(evidence).toMatchObject({ harnessVersion: "1.0.88", promptSent: false, promptRequestsSent: 0, inferenceVerified: false, sessionClosed: true }); + expect(evidence.models.availableModels).toHaveLength(21); + expect(evidence.models.availableModels.find((model: { modelId: string }) => model.modelId === "gpt-5.6-luna")._meta.copilotEnablement).toBe("enabled"); + expect(evidence.modelSelection.requestedModel).toBe("gpt-5.6-luna"); + expect(evidence.modelSelection.configEcho.configOptions.find((option: { id: string }) => option.id === "model").currentValue).toBe("gpt-5.6-luna"); + expect(JSON.stringify(evidence)).not.toMatch(/\/Users\/|\/tmp\/|github_pat_|gho_|sessionId|accessToken/); + }); + it.each(["copilot-provider-pack-darwin-arm64-1.0.88.json", "copilot-provider-pack-final-2026-09-28.json", "copilot-provider-pack-linux-x64-2026-09-28.json"])("retains a complete packaged native launch without promoting offline proof to qualification (%s)", (name) => { + const evidence = fixture(name); + expect(evidence.sourceRevision).toMatch(/^[a-f0-9]{40}$/); + expect(evidence.providerPackDigest).toMatch(/^sha256:[a-f0-9]{64}$/); + expect(evidence.candidate).toMatchObject({ version: "1.0.88", qualification: "pending" }); + expect(evidence.initialize).toMatchObject({ protocolVersion: 1, agentInfo: { version: "1.0.88" } }); + expect(evidence).toMatchObject({ initializeRequestId: 0, cleanExit: true, inheritedCredentials: false, + promptSent: false, fixtureRequests: [], costUsd: 0, missingCredentialPreflight: "COPILOT_AUTH_REQUIRED" }); + expect(JSON.stringify(evidence)).not.toMatch(/\/Users\/|\/private\/var\/|\/tmp\/paperclip-/); + }); + it("accounts for every inventoried event and field without pretending all were observed", () => { + const inventory = fixture("copilot-event-inventory-1.0.88.json"); + expect(inventory.events).toHaveLength(150); + const subscribed = inventory.events.filter((event: { paperclipDisposition: string }) => event.paperclipDisposition === "subscribed_and_projected").map((event: { event: string }) => event.event); + expect(subscribed.sort()).toEqual([...COPILOT_ACP_EVENT_TYPES].sort()); + for (const event of inventory.events) { + expect(Object.keys(event.fieldCoverage).sort()).toEqual(event.fields); + expect(event.gapReason).toBeTruthy(); + expect(event.followUpPriority).toBeTruthy(); + } + }); + + it("retains a real numeric-zero permission denial with no filesystem side effect", () => { + const evidence = fixture("copilot-acp-denial-1.0.88.json"); + expect(evidence.costUsd).toBe(0); + expect(evidence.executableSha256).toBe("a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3"); + expect(evidence.permissionResponses).toEqual([{ id: 0, outcome: { outcome: "selected", optionId: "reject_once" } }]); + expect(evidence.filesystemMarkerExistedAfterPrompt).toBe(false); + expect(evidence.filesystemMarkerExistedAtPromptResult).toBe(false); + const permission = evidence.wire.find((message: { method?: string }) => message.method === "session/request_permission"); + expect(permission.id).toBe(0); + expect(permission.params.options.map((option: { kind: string }) => option.kind)).toEqual(["allow_once", "allow_always", "reject_once"]); + expect(evidence.modelToolNames).not.toContain("ask_user"); + expect(evidence.modelToolNames).not.toContain("exit_plan_mode"); + }); + + it("retains attached background command completion before ACP turn settlement", () => { + const evidence = fixture("copilot-acp-settlement-1.0.88.json"); + expect(evidence.costUsd).toBe(0); + expect(evidence.filesystemMarkerExistedAfterPrompt).toBe(true); + expect(evidence.filesystemMarkerExistedAtPromptResult).toBe(true); + const end = evidence.wire.findIndex((message: { result?: { stopReason?: string } }) => message.result?.stopReason === "end_turn"); + const idle = evidence.wire.findIndex((message: { method?: string; params?: { type?: string } }) => message.method === "github.com/copilot/sessionEvent" && message.params?.type === "session.idle"); + expect(idle).toBeGreaterThan(0); + expect(end).toBeGreaterThan(idle); + const transcript = JSON.stringify(evidence.wire.slice(0, end)); + expect(transcript).toContain("Reading shell output"); + expect(transcript).toContain("completed with exit code 0"); + expect(transcript).toContain("ACP_SHELL_DONE"); + expect(evidence.modelSource).toContain("not a live model qualification"); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.test.ts new file mode 100644 index 00000000000..1c0e1fd1262 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-extension-adapter.test.ts @@ -0,0 +1,120 @@ +import { createHash } from "node:crypto"; +import { describe, expect, it, vi } from "vitest"; +import * as copilotEvents from "./copilot-events.js"; +import { COPILOT_ACP_EVENT_METHOD } from "./copilot-events.js"; +import { createCopilotProfileExtensionAdapter } from "./copilot-extension-adapter.js"; +import { validateAcpxRichEvent } from "./profile-extensions.js"; + +const context = { workspacePath: "/workspace", sessionId: "session-1", turnId: "turn-1" }; +const params = (type: string, data: unknown, extra = {}) => ({ sessionId: context.sessionId, type, data, ...extra }); + +describe("Copilot display extension adapter", () => { + it("preserves subagent lifecycle details as session notices without invented turn provenance", async () => { + const adapter = createCopilotProfileExtensionAdapter(context); + const started = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("subagent.started", { agentName: "review", agentDisplayName: "Reviewer", toolCallId: "tool-1", agentDescription: "Review the change", model: "exact-model", resumable: true }, { agentId: "agent-2" })); + const completed = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("subagent.completed", { agentName: "review", toolCallId: "tool-1", model: "exact-model", totalToolCalls: 3, durationMs: 12.5, totalTokens: 40, modelSelectionSource: "agent" }, { agentId: "agent-2", timestamp: "2026-09-28T00:00:00Z" })); + [...started, ...completed].forEach(validateAcpxRichEvent); + expect(started.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + expect(completed.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + expect(started[0].itemId).not.toBe(completed[0].itemId); + expect(completed[0].payload).toMatchObject({ + scope: "session", + details: expect.arrayContaining([{ name: "totalTokens", value: "40" }, { name: "durationMs", value: "12.5" }, { name: "modelSelectionSource", value: "agent" }, { name: "source.agentId", value: "agent-2" }, { name: "source.timestamp", value: "2026-09-28T00:00:00Z" }]), + }); + }); + + it("does not assign delayed usage, delegation, or artifact activity to the next receiving turn", async () => { + const next = createCopilotProfileExtensionAdapter({ ...context, turnId: "turn-2" }); + for (const [type, data] of [ + ["assistant.usage", { inputTokens: 42 }], + ["subagent.completed", { toolCallId: "previous-tool", totalTokens: 42 }], + ["session.workspace_file_changed", { path: "previous.md", operation: "create" }], + ["session.compaction_complete", { success: true, preCompactionTokens: 42 }], + ] as const) { + const events = await next.notification(COPILOT_ACP_EVENT_METHOD, params(type, data, { timestamp: "2026-09-28T00:00:00Z" })); + events.forEach(validateAcpxRichEvent); + expect(events.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + expect(events[0].payload.scope).toBe("session"); + expect(events[0].payload).not.toHaveProperty("provenance"); + expect(events[0].payload.details).toContainEqual({ name: "source.sessionId", value: "session-1" }); + expect(events[0].payload.details).toContainEqual({ name: "turnAttribution", value: "unknown: provider session notification has no originating turn ID" }); + expect(JSON.stringify(events)).not.toContain("turn-2"); + } + }); + + it("does not register provider-session paths or binary assets as task artifacts", async () => { + const adapter = createCopilotProfileExtensionAdapter(context); + const file = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("session.workspace_file_changed", { operation: "create", path: "reports/result.md" })); + file.forEach(validateAcpxRichEvent); + expect(file.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + expect(file[0].payload).toMatchObject({ scope: "session" }); + expect(file[0].payload.details).toEqual(expect.arrayContaining([{ name: "path", value: "reports/result.md" }, { name: "locationKind", value: "provider_session_workspace" }])); + expect(await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("session.workspace_file_changed", { operation: "create", path: "../../secret" }))).toEqual([]); + const bytes = Buffer.from("image fixture"); + const asset = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("session.binary_asset", { assetId: `sha256:${createHash("sha256").update(bytes).digest("hex")}`, type: "image", mimeType: "image/png", byteLength: bytes.length, data: bytes.toString("base64") })); + asset.forEach(validateAcpxRichEvent); + expect(asset[0].payload.details).toContainEqual({ name: "mimeType", value: "image/png" }); + expect(JSON.stringify(asset)).not.toContain(bytes.toString("base64")); + }); + + it("keeps supplemental non-dollar usage separate from authoritative terminal accounting", async () => { + const events = await createCopilotProfileExtensionAdapter(context).notification(COPILOT_ACP_EVENT_METHOD, params("assistant.usage", { model: "m", inputTokens: 10, outputTokens: 2, cost: 3, copilotUsage: { totalNanoAiu: 50 }, quotaSnapshots: { private: "secret" } })); + events.forEach(validateAcpxRichEvent); + expect(events).toHaveLength(1); + expect(events[0].eventType).toBe("provider.notice.recorded"); + expect(events[0].payload.details).toEqual(expect.arrayContaining([{ name: "modelMultiplier", value: "3" }, { name: "totalNanoAiu", value: "50" }, { name: "inputTokens", value: "10" }, { name: "accounting", value: "supplemental_provider_notice" }])); + expect(JSON.stringify(events)).not.toMatch(/costUsd|quotaSnapshots|secret/); + }); + + it("redacts credentials in provider strings while preserving numeric token counters", async () => { + const events = await createCopilotProfileExtensionAdapter(context).notification(COPILOT_ACP_EVENT_METHOD, params("subagent.failed", { agentName: "review", totalTokens: 42, error: "Authorization: Bearer secretsecretsecret", model: "ghp_abcdefghijklmnopqrstuvwxyz" })); + events.forEach(validateAcpxRichEvent); + expect(JSON.stringify(events)).not.toMatch(/secretsecretsecret|ghp_abcdefghijklmnopqrstuvwxyz/); + expect(events[0].payload.details).toContainEqual({ name: "totalTokens", value: "42" }); + }); + + it("reports native unsupported input honestly and ignores unrelated or cross-session notifications", async () => { + const adapter = createCopilotProfileExtensionAdapter(context); + await expect(adapter.request("user_input.requested", {})).rejects.toThrow("no qualified"); + const events = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("user_input.requested", { requestId: "q-1", question: "Do not fabricate an input form" })); + events.forEach(validateAcpxRichEvent); + expect(events[0].payload).toMatchObject({ severity: "warning", userActionable: false }); + expect(JSON.stringify(events)).not.toContain("Do not fabricate"); + expect(await adapter.notification("unrelated/event", {})).toEqual([]); + expect(await adapter.notification(COPILOT_ACP_EVENT_METHOD, { ...params("session.idle", {}), sessionId: "another" })).toEqual([]); + }); + + it("redacts sensitive field paths even when their plain values have no recognizable credential prefix", async () => { + // Exercise the display boundary independently from today's closed native + // field list, so a future projected field cannot bypass keyed redaction. + const normalize = vi.spyOn(copilotEvents, "normalizeCopilotSessionEvent").mockReturnValueOnce({ + kind: "usage", sourceMethod: COPILOT_ACP_EVENT_METHOD, sourceType: "assistant.usage", + sessionId: context.sessionId, turnId: null, + data: { connectionString: "plain-credential-value", credentials: { endpoint: "opaque-value" }, nested: { apiKey: { endpoint: "nested-secret" } }, inputTokens: 42 }, + }); + try { + const events = await createCopilotProfileExtensionAdapter(context).notification(COPILOT_ACP_EVENT_METHOD, params("assistant.usage", {})); + events.forEach(validateAcpxRichEvent); + expect(events[0].payload.details).toEqual(expect.arrayContaining([ + { name: "connectionString", value: "[REDACTED]" }, + { name: "credentials.endpoint", value: "[REDACTED]" }, + { name: "nested.apiKey.endpoint", value: "[REDACTED]" }, + { name: "inputTokens", value: "42" }, + ])); + expect(JSON.stringify(events)).not.toMatch(/plain-credential-value|opaque-value|nested-secret/); + } finally { normalize.mockRestore(); } + }); + + it("preserves compaction success and failure as session notices and keeps settlement nonterminal", async () => { + const adapter = createCopilotProfileExtensionAdapter(context); + const success = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("session.compaction_complete", { success: true, preCompactionTokens: 100, postCompactionTokens: 40, checkpointNumber: 1 })); + success.forEach(validateAcpxRichEvent); + expect(success.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + expect(success[0].payload.details).toEqual(expect.arrayContaining([{ name: "preCompactionTokens", value: "100" }, { name: "postCompactionTokens", value: "40" }, { name: "success", value: "true" }])); + const failure = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("session.compaction_complete", { success: false })); + expect(failure.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + const idle = await adapter.notification(COPILOT_ACP_EVENT_METHOD, params("session.idle", {})); + expect(idle.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + expect(idle[0].payload.details).toContainEqual({ name: "authoritativeTurnCompletion", value: "false" }); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-installation.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-installation.test.ts new file mode 100644 index 00000000000..002b5f29b53 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-installation.test.ts @@ -0,0 +1,150 @@ +import { createHash } from "node:crypto"; +import { readFileSync } from "node:fs"; +import { fileURLToPath, pathToFileURL } from "node:url"; +import { resolve } from "node:path"; +import { describe, expect, it, vi } from "vitest"; +import { build } from "esbuild"; +import { verifyNativeAcpxInstallation } from "./installation-integrity.js"; +import { COPILOT_CLOSURE_SHA256, verifyCopilotInstallation } from "./copilot-installation.js"; +import { COPILOT_LAUNCH_ARGUMENTS, COPILOT_SYSTEM_INSTRUCTION_DELIVERY } from "./copilot-profile.js"; +import { COPILOT_PERMISSION_CONTEXT_CONTRACT } from "./copilot-permission-context.js"; +import { QUALIFIED_ACPX_PROFILES } from "./qualified-profiles.js"; + +const PERMISSION_POLICY_SOURCES = [ + ["copilot-permission-context.ts", "permissionContextSourceSha256"], + ["acp-permission-adapter.ts", "permissionAdapterSourceSha256"], + ["cursor-plan-tool-identity.ts", "permissionToolIdentitySourceSha256"], + ["safe-locations.ts", "permissionLocationsSourceSha256"], + ["../../semantic-tools/redaction.ts", "permissionRedactionSourceSha256"], + ["generated-sidecar-contract.ts", "permissionClassifierSourceSha256"], +] as const; + +const COPILOT_DISPLAY_SOURCES = [ + ["copilot-events.ts", "displayEventSourceSha256"], + ["copilot-extension-adapter.ts", "displayProjectionSourceSha256"], +] as const; + +const SEMANTIC_RECEIPT_SOURCES = [ + ["../semantic-tool-receipt.ts", "semanticReceiptSourceSha256"], + ["../runner-tool-bridge.ts", "semanticBridgeSourceSha256"], + ["copilot-tool-evidence.ts", "toolEvidenceSourceSha256"], + ["../../cli/acpx-runtime-sidecar.ts", "semanticSidecarSourceSha256"], + ["sidecar-protocol.ts", "semanticSidecarProtocolSourceSha256"], + ["codex-acpx-driver.ts", "semanticDirectDriverSourceSha256"], + ["../../protocol/replay-contract.ts", "semanticValidationSourceSha256"], + ["../../protocol/result-normalization.ts", "semanticNormalizationSourceSha256"], + ["../../contracts/completion-result.ts", "semanticCompletionContractSourceSha256"], + ["../../contracts/native-execution.ts", "nativeExecutionSourceSha256"], + ["installation-integrity.ts", "guardedInstallationSourceSha256"], + ["../../live/runnerd-codex-transport.ts", "runtimeRequestBridgeSourceSha256"], + ["../codex/codex-session-notifications.ts", "runtimeRequestFacadeSourceSha256"], + ["../codex/codex-thread-normalization.ts", "runtimeRequestNotificationSourceSha256"], + ["../../protocol/generated/standalone-validators.ts", "semanticValidatorsSourceSha256"], + ["../../protocol/generated/schema-bundle.ts", "semanticSchemaBundleSourceSha256"], +] as const; + +// Walk executable imports, not just the projector's immediate dependencies. +async function permissionPolicyClosure(extraClassifierImport = false): Promise> { + const root = fileURLToPath(new URL(".", import.meta.url)); + const result = await build({ + absWorkingDir: root, + entryPoints: ["acp-permission-adapter.ts"], + bundle: true, write: false, metafile: true, platform: "node", treeShaking: false, + plugins: extraClassifierImport ? [{ + name: "unbound-transitive-policy-negative-control", + setup(builder) { + builder.onResolve({ filter: /^unbound-policy$/ }, () => ({ path: "unbound-policy", namespace: "negative-control" })); + builder.onLoad({ filter: /.*/, namespace: "negative-control" }, () => ({ contents: "export const policy = true;", loader: "ts" })); + builder.onLoad({ filter: /generated-sidecar-contract\.ts$/ }, args => ({ + contents: readFileSync(args.path, "utf8") + '\nimport "unbound-policy";', + loader: "ts", resolveDir: root, + })); + }, + }] : [], + }); + return new Set(Object.keys(result.metafile!.inputs).map(path => path.startsWith("negative-control:") + ? path : pathToFileURL(resolve(root, path)).href)); +} + +vi.mock("./installation-integrity.js", () => ({ verifyNativeAcpxInstallation: vi.fn() })); + +describe("Copilot build-owned installation", () => { + it("admits the current declaration and binds its source policy, receipts and patch hashes", () => { + const identity = JSON.parse(readFileSync(new URL("../../../test/fixtures/copilot-profile-v31-identity.json", import.meta.url), "utf8")); + expect(identity.declaration.systemInstructionDelivery).toBe(COPILOT_SYSTEM_INSTRUCTION_DELIVERY); + expect(identity.declaration.sharedRuntimeContract).toBe("paperclip.acpx-runtime-contract.v1"); + expect(identity.declaration.permissionContextContract).toBe(COPILOT_PERMISSION_CONTEXT_CONTRACT); + expect(identity.declaration.semanticToolReceiptContract).toBe("paperclip.semantic_tool_receipt.v2"); + expect(identity.declaration.semanticNormalizedInputContract).toBe("validated-forwarded-input-commit-v1"); + expect(identity.declaration.semanticSidecarReceiptCommitContract).toBe("correlated-tool-resolve-v1"); + expect(identity.declaration.messageIdentityContract).toBe("copilot-native-message-id-v1"); + expect(identity.declaration.ownedDistributionDelivery).toBe("COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1"); + const inventory = JSON.parse(readFileSync(new URL("../../../test/fixtures/copilot-message-identity-distributions-1.0.88.json", import.meta.url), "utf8")); + expect(identity.declaration.upstreamAppSha256).toBe(inventory.upstreamAppSha256); + expect(identity.declaration.patchedAppSha256).toBe(inventory.patchedAppSha256); + expect(QUALIFIED_ACPX_PROFILES.copilot.agentProfileVersion).toBe(identity.declaration.agentProfileVersion); + expect(QUALIFIED_ACPX_PROFILES.copilot.commandDigest).toBe(identity.commandDigest); + const sorted = Object.fromEntries(Object.entries(identity.declaration).sort(([a], [b]) => a.localeCompare(b))); + expect(`sha256:${createHash("sha256").update(JSON.stringify(sorted)).digest("hex")}`).toBe(identity.commandDigest); + for (const [relative, field] of [...PERMISSION_POLICY_SOURCES, ...COPILOT_DISPLAY_SOURCES, ...SEMANTIC_RECEIPT_SOURCES, ["copilot-policy.ts", "policySha256"], ["profile-compatibility.ts", "profileCompatibilitySourceSha256"], ["provider-assets-root.ts", "assetOwnershipSourceSha256"], ["../../../scripts/install-copilot-assets.mjs", "assetInstallerSourceSha256"], ["../../../scripts/materialize-copilot-binary.mjs", "distributionSourceSha256"], ["../../../scripts/copilot-inner-distribution.mjs", "innerDistributionSourceSha256"], ["../../../../../patches/acpx@0.13.1.patch", "acpxPatchSha256"]]) { + expect(createHash("sha256").update(readFileSync(new URL(relative!, import.meta.url))).digest("hex")).toBe(identity.declaration[field!]); + } + expect(readFileSync(new URL("../../../scripts/build-copilot-distribution.mjs", import.meta.url), "utf8")).toContain(identity.commandDigest); + expect(readFileSync(new URL("../../../runner/crates/runner-core/src/generated_acpx_profiles.rs", import.meta.url), "utf8")).toContain(identity.commandDigest); + }); + it("binds the complete executable permission-policy import closure", async () => { + expect(await permissionPolicyClosure()).toEqual(new Set(PERMISSION_POLICY_SOURCES.map(([path]) => new URL(path, import.meta.url).href))); + }); + it("detects an added transitive dependency even when the projector is unchanged", async () => { + const closure = await permissionPolicyClosure(true); + const bound = new Set(PERMISSION_POLICY_SOURCES.map(([path]) => new URL(path, import.meta.url).href)); + expect([...closure].filter(path => !bound.has(path))).toEqual(["negative-control:unbound-policy"]); + }); + it.each([...PERMISSION_POLICY_SOURCES, ...COPILOT_DISPLAY_SOURCES, ...SEMANTIC_RECEIPT_SOURCES])("changing %s changes the candidate identity", (_path, field) => { + const identity = JSON.parse(readFileSync(new URL("../../../test/fixtures/copilot-profile-v31-identity.json", import.meta.url), "utf8")); + identity.declaration[field] = "0".repeat(64); + const sorted = Object.fromEntries(Object.entries(identity.declaration).sort(([a], [b]) => a.localeCompare(b))); + expect(`sha256:${createHash("sha256").update(JSON.stringify(sorted)).digest("hex")}`).not.toBe(identity.commandDigest); + }); + it("pins the unchanged executable plus complete patched distribution on every target platform", () => { + const fixture = JSON.parse(readFileSync(new URL("../../../test/fixtures/copilot-message-identity-distributions-1.0.88.json", import.meta.url), "utf8")); + const script = readFileSync(new URL("../../../scripts/materialize-copilot-binary.mjs", import.meta.url), "utf8"); + const records = [...script.matchAll(/"(darwin-arm64|darwin-x64|linux-x64)": Object\.freeze\(\{ packageName: "[^"]+", executableDigest: "([a-f0-9]+)", size: (\d+)/g)]; + expect(records).toHaveLength(3); + for (const [, platform, sha256, size] of records) { + const platformFixture = fixture.platforms[platform!]; + expect(platformFixture.executableSha256).toBe(sha256); + expect(platformFixture.entries).toContainEqual({ path: "copilot", sha256, size: Number(size), executable: true }); + expect(platformFixture.entries.find((entry: { path: string }) => entry.path === "distribution/app.js").sha256).toBe(fixture.patchedAppSha256); + expect(platformFixture.entries.some((entry: { path: string }) => entry.path === `distribution/prebuilds/${platform}/runtime.node`)).toBe(true); + const digest = createHash("sha256").update(JSON.stringify(platformFixture.entries)).digest("hex"); + expect(platformFixture.closureSha256).toBe(digest); + expect(COPILOT_CLOSURE_SHA256[platform as keyof typeof COPILOT_CLOSURE_SHA256]).toBe(digest); + } + }); + it("ignores ambient executable selection and supplies only pinned native launch inputs", async () => { + const openCommand = vi.fn(); + vi.mocked(verifyNativeAcpxInstallation).mockResolvedValueOnce({ commandDigest: "sha256:closure", agentServerPackageJsonPath: "/verified/closure.json", agentRuntimePackageJsonPath: null, openCommand }); + const before = process.env.COPILOT_PATH; + process.env.COPILOT_PATH = "/untrusted/copilot"; + try { + const result = await verifyCopilotInstallation(QUALIFIED_ACPX_PROFILES.copilot); + const root = fileURLToPath(new URL(`../../../provider-assets/copilot/${process.platform}-${process.arch}`, import.meta.url)); + expect(verifyNativeAcpxInstallation).toHaveBeenCalledWith({ + distributionRoot: root, manifestPath: `${root}/.paperclip-copilot-closure.json`, + expectedClosureSha256: COPILOT_CLOSURE_SHA256[`${process.platform}-${process.arch}` as keyof typeof COPILOT_CLOSURE_SHA256], + executable: "copilot", fixedArguments: COPILOT_LAUNCH_ARGUMENTS, isolatedCacheEnvironmentName: "COPILOT_PKG_CACHE_HOME", + copilotDistributionDirectory: "distribution", + }); + expect(result.commandDigest).toBe(QUALIFIED_ACPX_PROFILES.copilot.commandDigest); + expect(result.openCommand).toBe(openCommand); + } finally { if (before === undefined) delete process.env.COPILOT_PATH; else process.env.COPILOT_PATH = before; } + }); + it("rejects changed profile identities before native file access", async () => { + vi.mocked(verifyNativeAcpxInstallation).mockClear(); + for (const override of [{ agentServerVersion: "latest" }, { commandDigest: "sha256:untrusted" }, { commandDigest: "sha256:ed39259990cb0efda48d6105d2fa3599aac76873eb75cd80b4d0b179ce0579a6" }, { agent: "cursor" }, { agentProfileVersion: 1 }, { agentProfileVersion: 2 }, { agentProfileVersion: 3 }, { agentProfileVersion: 4 }, { agentProfileVersion: 5 }, { agentProfileVersion: 6 }, { agentProfileVersion: 7 }, { agentProfileVersion: 8 }, { agentProfileVersion: 9 }, { agentProfileVersion: 10 }]) { + await expect(verifyCopilotInstallation({ ...QUALIFIED_ACPX_PROFILES.copilot, ...override } as never)).rejects.toThrow("exact pinned"); + } + expect(verifyNativeAcpxInstallation).not.toHaveBeenCalled(); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-message-identity.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-message-identity.test.ts new file mode 100644 index 00000000000..4af25a7e146 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-message-identity.test.ts @@ -0,0 +1,72 @@ +import { spawn } from "node:child_process"; +import { mkdtemp, rm } from "node:fs/promises"; +import { tmpdir } from "node:os"; +import { join } from "node:path"; +import { expect, it } from "vitest"; +import { COPILOT_MESSAGE_MAPPING_REPLACEMENT, COPILOT_REPLAY_MAPPING_REPLACEMENT } from "../../../scripts/copilot-inner-distribution.mjs"; +import { createAcpRuntime, createAgentRegistry, createRuntimeStore, type AcpRuntimeEvent } from "acpx/runtime"; + +// The process is a deterministic ACP transport peer, never a provider/model. +// Exercise the installed ACPX normalization path rather than duplicating it. +const peer = String.raw` +const send=m=>process.stdout.write(JSON.stringify({jsonrpc:'2.0',...m})+'\n'); +const live=e=>{switch(e.type){${COPILOT_MESSAGE_MAPPING_REPLACEMENT}default:return null}}; +const replay=t=>{switch(t.type){${COPILOT_REPLAY_MAPPING_REPLACEMENT}default:return live(t)}}; +const update=u=>{if(u)send({method:'session/update',params:{sessionId:'copilot-message-session',update:u}})}; +let turn=0; +require('node:readline').createInterface({input:process.stdin}).on('line',line=>{ + const m=JSON.parse(line); + if(m.method==='initialize')send({id:m.id,result:{protocolVersion:1,agentCapabilities:{loadSession:true},authMethods:[]}}); + else if(m.method==='session/new')send({id:m.id,result:{sessionId:'copilot-message-session'}}); + else if(m.method==='session/load'){ + // Native loadSession awaits replaySessionHistory before its response. These + // are persisted full-message events, not a second copy of active deltas. + for(const e of [ + {type:'assistant.message',data:{messageId:'history:first',content:'SAME'}}, + {type:'assistant.message',data:{messageId:'history:second',content:'SAME'}}, + {type:'assistant.message',data:{messageId:'history:empty',content:''}}, + ])update(replay(e)); + send({id:m.id,result:{}}); + } + else if(m.method==='session/prompt'){ + turn++; + for(const [id,text] of [[turn+':first',''],[turn+':first','SAME'],[turn+':second',''],[turn+':second','SA'],[turn+':second','ME'],[turn+':empty-final','']]){ + update(live({type:text===''?'assistant.message_start':'assistant.message_delta',data:{messageId:id,deltaContent:text}})); + if(text==='ME')update(live({type:'assistant.message',data:{messageId:id,content:'SAME'}})); + } + send({id:m.id,result:{stopReason:'end_turn'}}); + } +});`; + +it.each([false, true])("actual ACPX keeps load replay outside live warm turns (resume=%s)", async resume => { + const directory = await mkdtemp(join(tmpdir(), "copilot-message-acpx-")); + const children: ReturnType[] = []; + const wire: string[] = []; + const runtime = createAcpRuntime({ cwd: directory, permissionMode: "deny-all", + agentRegistry: createAgentRegistry({ overrides: { copilot: "fixture" } }), sessionStore: createRuntimeStore({ stateDir: join(directory, "state") }), + spawnAgent: () => { const child = spawn(process.execPath, ["-e", peer], { cwd: directory, env: {}, stdio: ["pipe", "pipe", "pipe"] }); child.stdout!.on("data", chunk => wire.push(chunk.toString())); children.push(child); return child; }, + }); + let handle; + try { + handle = await runtime.ensureSession({ sessionKey: "copilot-message-identity", agent: "copilot", mode: "persistent", cwd: directory, ...(resume ? { resumeSessionId: "copilot-message-session" } : {}) }); + for (let n = 1; n <= 3; n++) { + const turn = runtime.startTurn({ handle, text: "fixture", mode: "prompt", requestId: `fixture-${n}`, timeoutMs: 2000 }); + const events: AcpRuntimeEvent[] = []; + const drain = (async () => { for await (const event of turn.events) events.push(event); })(); + expect(await turn.result).toMatchObject({ status: "completed" }); await drain; + expect(events.filter(e => e.type === "text_delta").map(e => [e.messageId, e.text])).toEqual([ + [`${n}:first`, ""], [`${n}:first`, "SAME"], [`${n}:second`, ""], [`${n}:second`, "SA"], [`${n}:second`, "ME"], [`${n}:empty-final`, ""], + ]); + } + expect(children).toHaveLength(1); + const updates = wire.join("").split("\n").filter(Boolean).map(line => JSON.parse(line)).filter(frame => frame.method === "session/update").map(frame => frame.params.update); + expect(updates.slice(0, resume ? 3 : 0).map(update => [update.messageId, update.content.text])).toEqual(resume ? [ + ["history:first", "SAME"], ["history:second", "SAME"], ["history:empty", ""], + ] : []); + expect(updates).toHaveLength(18 + (resume ? 3 : 0)); + } finally { + if (handle) await runtime.close({ handle, reason: "message identity fixture complete" }); + for (const child of children) if (child.exitCode === null && child.signalCode === null) child.kill("SIGKILL"); + await rm(directory, { recursive: true, force: true }); + } +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-policy.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-policy.test.ts new file mode 100644 index 00000000000..069a415a1ff --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-policy.test.ts @@ -0,0 +1,107 @@ +import { readFileSync } from "node:fs"; +import { describe, expect, it } from "vitest"; +import { + COPILOT_AGENT_MODE, assertCopilotConfigPolicy, assertCopilotControlPolicy, + assertCopilotPromptPolicy, assertCopilotSessionPolicy, assertCopilotSessionUpdatePolicy, + createCopilotProtocolGuard, +} from "./copilot-policy.js"; + +const fixture = JSON.parse(readFileSync(new URL("../../../test/fixtures/copilot-acp-denial-1.0.88.json", import.meta.url), "utf8")); +const session = fixture.wire.find((message: { result?: { modes?: unknown } }) => message.result?.modes).result; + +describe("Copilot native policy fence", () => { + it("admits the pinned real-binary agent/manual snapshot", () => { + expect(() => assertCopilotSessionPolicy(session)).not.toThrow(); + expect(() => assertCopilotSessionUpdatePolicy({ sessionUpdate: "config_option_update", configOptions: session.configOptions })).not.toThrow(); + }); + it.each(["/yolo on", " /allow-all", "\n/autopilot", "\t/plan", "\ufeff/cwd /elsewhere", "/unknown-future-command", "/custom-skill"])("rejects native command dispatch %s", text => { + expect(() => assertCopilotPromptPolicy(text)).toThrowError(expect.objectContaining({ code: "COPILOT_POLICY_VIOLATION", retryable: false })); + }); + it.each(["tool_call", "tool_call_update"])("rejects native detach independent of tool name in %s", sessionUpdate => { + for (const tool of ["bash", "write_bash", "powershell", "unknown"]) { + expect(() => assertCopilotSessionUpdatePolicy({ sessionUpdate, tool, rawInput: { detach: true } })) + .toThrowError(expect.objectContaining({ code: "COPILOT_DETACHED_WORK_UNSUPPORTED", retryable: false })); + expect(() => assertCopilotSessionUpdatePolicy({ sessionUpdate, tool, rawInput: { mode: "async", detach: false } })).not.toThrow(); + } + }); + it("preserves ordinary prose mentioning commands and natural-language questions", () => { + for (const text of ["Explain /plan", "Ask me before proceeding", "Read this file: /workspace/file", "Plan the work\n/yolo on"]) { + expect(() => assertCopilotPromptPolicy(text)).not.toThrow(); + } + }); + it.each([undefined, null, {}, { modes: session.modes }, { configOptions: session.configOptions }, + { ...session, modes: { currentModeId: "https://agentclientprotocol.com/protocol/session-modes#autopilot" } }, + { ...session, modes: { currentModeId: "https://agentclientprotocol.com/protocol/session-modes#plan" } }, + ])("rejects missing or unsafe connection proof", state => { + expect(() => assertCopilotSessionPolicy(state)).toThrow(/admitted permission policy/); + }); + it("rejects bypass, duplicate, missing, custom-agent and future config authority", () => { + const config = session.configOptions; + for (const value of [[], [...config, config[0]], config.filter((option: { id: string }) => option.id !== "allow_all"), + config.map((option: { id: string }) => option.id === "allow_all" ? { ...option, currentValue: "on" } : option), + [...config, { id: "agent", currentValue: "privileged-agent" }], [...config, { id: "new-authority", currentValue: "off" }]]) { + expect(() => assertCopilotConfigPolicy(value)).toThrow(/admitted permission policy/); + } + }); + it("only permits selecting the admitted explicit model", () => { + expect(() => assertCopilotControlPolicy("session/set_model", { modelId: "gpt-5.6-luna" }, "gpt-5.6-luna")).not.toThrow(); + expect(() => assertCopilotControlPolicy("session/set_config_option", { configId: "model", value: "gpt-5.6-luna" }, "gpt-5.6-luna")).not.toThrow(); + for (const [method, params] of [["session/set_mode", { modeId: COPILOT_AGENT_MODE }], + ["session/set_config_option", { configId: "allow_all", value: "on" }], + ["session/set_config_option", { configId: "mode", value: COPILOT_AGENT_MODE }], + ["session/set_model", { modelId: "auto" }], ["session/set_model", { modelId: "other" }]] as const) { + expect(() => assertCopilotControlPolicy(method, params, "gpt-5.6-luna")).toThrow(/admitted permission policy/); + } + }); + it("rejects policy drift without logging provider strings", () => { + expect(() => assertCopilotSessionUpdatePolicy({ sessionUpdate: "current_mode_update", currentModeId: "secret-provider-value" })) + .toThrowError(expect.objectContaining({ message: expect.not.stringContaining("secret-provider-value") })); + expect(() => assertCopilotSessionUpdatePolicy({ sessionUpdate: "current_mode_update", currentModeId: COPILOT_AGENT_MODE })).not.toThrow(); + expect(() => assertCopilotSessionUpdatePolicy({ sessionUpdate: "config_option_update" })).toThrow(); + }); +}); + +describe("Copilot connection authority", () => { + const safe = { ...session, sessionId: "s", configOptions: [...session.configOptions, { id: "model", currentValue: "gpt-5.6-luna" }] }; + const request = (guard: ReturnType, method: string, params: unknown, id = 0) => guard("outbound", { jsonrpc: "2.0", id, method, params }); + const admit = (guard: ReturnType, method = "session/new") => { + request(guard, method, method === "session/new" ? {} : { sessionId: "s" }); + guard("inbound", { id: 0, result: safe }); + }; + it.each(["session/new", "session/load", "session/resume"])("requires fresh safe %s response on each connection", method => { + const guard = createCopilotProtocolGuard("gpt-5.6-luna"); + admit(guard, method); + expect(() => request(guard, "session/prompt", { sessionId: "s", prompt: [{ type: "text", text: "Complete task" }] }, 1)).not.toThrow(); + const reconnected = createCopilotProtocolGuard("gpt-5.6-luna"); + expect(() => request(reconnected, "session/prompt", { sessionId: "s", prompt: [{ type: "text", text: "Complete task" }] })).toThrow(); + }); + it("invalidates authority permanently when resumed policy or current policy drifts", () => { + for (const bad of [{ sessionUpdate: "current_mode_update", currentModeId: "autopilot" }, { sessionUpdate: "config_option_update", configOptions: [] }]) { + const guard = createCopilotProtocolGuard("gpt-5.6-luna"); admit(guard); + expect(() => guard("inbound", { method: "session/update", params: { sessionId: "s", update: bad } })).toThrow(); + expect(() => guard("inbound", { method: "session/update", params: { sessionId: "s", update: { sessionUpdate: "config_option_update", configOptions: safe.configOptions } } })).toThrow(); + } + }); + it("also denies detachment carried only by permission rawInput", () => { + const guard = createCopilotProtocolGuard("gpt-5.6-luna"); admit(guard); + expect(() => guard("inbound", { id: 0, method: "session/request_permission", params: { sessionId: "s", toolCall: { rawInput: { detach: true } } } })) + .toThrowError(expect.objectContaining({ code: "COPILOT_DETACHED_WORK_UNSUPPORTED" })); + expect(() => guard("outbound", { id: 0, result: { outcome: { outcome: "selected", optionId: "allow_once" } } })) + .toThrowError(expect.objectContaining({ code: "COPILOT_DETACHED_WORK_UNSUPPORTED" })); + }); + it("does not turn native unresolved input into delivered answers or successful continuation", () => { + for (const type of ["user_input.requested", "exit_plan_mode.requested", "elicitation.requested"]) { + const guard = createCopilotProtocolGuard("gpt-5.6-luna"); admit(guard); + expect(() => guard("inbound", { method: "github.com/copilot/sessionEvent", params: { sessionId: "s", type, data: { requestId: 0 } } })).toThrow(); + } + }); + it("requires the selected model before prompting, including reconnect", () => { + const guard = createCopilotProtocolGuard("gpt-5.6-luna"); request(guard, "session/load", { sessionId: "s" }); + guard("inbound", { id: 0, result: session }); + expect(() => request(guard, "session/prompt", { sessionId: "s", prompt: [{ type: "text", text: "Run" }] }, 1)).toThrow(); + }); + it("validates the joined wire text and preserves zero request IDs", () => { + const guard = createCopilotProtocolGuard("gpt-5.6-luna"); admit(guard); + expect(() => request(guard, "session/prompt", { sessionId: "s", prompt: [{ type: "text", text: " " }, { type: "text", text: "/yolo on" }] })).toThrow(); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-profile.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-profile.test.ts new file mode 100644 index 00000000000..826927436ee --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-profile.test.ts @@ -0,0 +1,29 @@ +import { describe, expect, it } from "vitest"; +import { classifyCopilotFailure, copilotConfiguration, copilotSandboxEnvironment, COPILOT_LAUNCH_ARGUMENTS } from "./copilot-profile.js"; + +describe("Copilot admission policy", () => { + it("uses ACP directly without disabling questions or bypassing permissions", () => { + expect(COPILOT_LAUNCH_ARGUMENTS.slice(0, 2)).toEqual(["--acp", "--stdio"]); + expect(COPILOT_LAUNCH_ARGUMENTS).toContain("--no-auto-update"); + expect(COPILOT_LAUNCH_ARGUMENTS).toContain("--secret-env-vars=COPILOT_GITHUB_TOKEN"); + expect(COPILOT_LAUNCH_ARGUMENTS).not.toContain("--no-ask-user"); + expect(COPILOT_LAUNCH_ARGUMENTS).not.toContain("--allow-all"); + expect(COPILOT_LAUNCH_ARGUMENTS).not.toContain("--allow-all-tools"); + }); + it("uses private config and extracted runtime cache without ambient authority", () => { + const env = copilotSandboxEnvironment({ homeDirectory: "/private/home", configDirectory: "/private/config", dataDirectory: "/private/data", cacheDirectory: "/private/cache", agentHomeDirectory: "/private/copilot" }); + expect(env).toMatchObject({ COPILOT_HOME: "/private/copilot", COPILOT_CACHE_HOME: "/private/cache", COPILOT_PKG_CACHE_HOME: "/private/cache", COPILOT_AUTO_UPDATE: "false", COPILOT_ALLOW_ALL: "false" }); + expect(env.GH_TOKEN).toBeUndefined(); + expect(copilotConfiguration()).toMatchObject({ trustedFolders: [], disableAllHooks: true, ide: { autoConnect: false } }); + expect(() => copilotSandboxEnvironment({ homeDirectory: "relative", configDirectory: "/c", dataDirectory: "/d", cacheDirectory: "/c", agentHomeDirectory: "/a" })).toThrow(/absolute/); + }); + it.each([ + ["Authentication required ghp_private", "COPILOT_AUTH_REQUIRED"], + ["Organization policy denied this model", "COPILOT_ENTITLEMENT_DENIED"], + ["Model gpt-private is unavailable", "COPILOT_MODEL_UNAVAILABLE"], + ["transport failed ghp_private", "COPILOT_REQUEST_FAILED"], + ])("classifies provider errors without leaking raw messages", (message, code) => { + expect(classifyCopilotFailure({ message }).code).toBe(code); + expect(classifyCopilotFailure(new Error(message)).message).not.toContain("private"); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-protocol-guard.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-protocol-guard.test.ts new file mode 100644 index 00000000000..0ab47a31e63 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-protocol-guard.test.ts @@ -0,0 +1,82 @@ +import { createRequire } from "node:module"; +import { pathToFileURL } from "node:url"; +import { describe, expect, it, vi } from "vitest"; +import { COPILOT_AGENT_MODE, createCopilotProtocolGuard } from "./copilot-policy.js"; + +// Exercise the installed, patched wire stream, not a mock observer. This is a +// pinned internal bundle export; the package-contract suite guards its version. +const bundle = new URL("./dist/live-checkpoint-BSIrfgVo.js", pathToFileURL(createRequire(import.meta.url).resolve("acpx/package.json"))); +const { k: AcpClient } = await import(bundle.href); +const safe = { sessionId: "s", modes: { currentModeId: COPILOT_AGENT_MODE }, configOptions: [ + { id: "mode", currentValue: COPILOT_AGENT_MODE }, { id: "allow_all", currentValue: "off" }, { id: "model", currentValue: "gpt-5.6-luna" }, +] }; + +function connection(guarded = true) { + const written: unknown[] = []; + let inbound!: ReadableStreamDefaultController; + const kill = vi.fn(); + const client = new AcpClient({ cwd: "/tmp", agentCommand: "fixture-never-spawned", permissionMode: "deny-all", + ...(guarded ? { protocolGuardFactory: () => createCopilotProtocolGuard("gpt-5.6-luna") } : {}), + }); + client.agent = { kill }; + const stream = client.createTappedStream({ + readable: new ReadableStream({ start(controller) { inbound = controller; } }), + writable: new WritableStream({ write(message) { written.push(message); } }), + }); + return { client, writer: stream.writable.getWriter(), reader: stream.readable.getReader(), inbound, written, kill }; +} + +describe("patched ACPX admission guard", () => { + it.each(["session/new", "session/load", "session/resume"])("rejects unsafe %s before it reaches the SDK", async method => { + const c = connection(); + await c.writer.write({ id: 0, method, params: { sessionId: "s" } }); + const read = c.reader.read(); + c.inbound.enqueue({ id: 0, result: { ...safe, modes: { currentModeId: "autopilot" } } }); + await expect(read).rejects.toMatchObject({ code: "COPILOT_POLICY_VIOLATION" }); + expect(c.kill).toHaveBeenCalledWith("SIGTERM"); + }); + it("rejects permission controls before any bytes reach the provider", async () => { + const c = connection(); + await c.writer.write({ id: 0, method: "session/new", params: {} }); + c.inbound.enqueue({ id: 0, result: safe }); await c.reader.read(); + await expect(c.writer.write({ id: 1, method: "session/set_config_option", params: { sessionId: "s", configId: "allow_all", value: "on" } })).rejects.toThrow(/admitted permission policy/); + expect(c.written).toHaveLength(1); expect(c.kill).toHaveBeenCalledOnce(); + c.inbound.close(); + }); + it("errors and stops the provider on drift even without a notification observer", async () => { + const c = connection(); + await c.writer.write({ id: 0, method: "session/new", params: {} }); + c.inbound.enqueue({ id: 0, result: safe }); await c.reader.read(); + await c.writer.write({ id: 1, method: "session/prompt", params: { sessionId: "s", prompt: [{ type: "text", text: "Perform task" }] } }); + const read = c.reader.read(); + c.inbound.enqueue({ method: "session/update", params: { sessionId: "s", update: { sessionUpdate: "current_mode_update", currentModeId: "autopilot" } } }); + await expect(read).rejects.toMatchObject({ code: "COPILOT_POLICY_VIOLATION" }); + expect(c.kill).toHaveBeenCalledWith("SIGTERM"); + }); + it("preserves unguarded provider wire behavior", async () => { + const c = connection(false); + const message = { method: "session/update", params: { update: { sessionUpdate: "current_mode_update", currentModeId: "other-provider-mode" } } }; + c.inbound.enqueue(message); + expect((await c.reader.read()).value).toEqual(message); + expect(c.kill).not.toHaveBeenCalled(); + c.inbound.close(); + }); + it("blocks detached command before the permission request can authorize a side effect", async () => { + const c = connection(); + await c.writer.write({ id: 0, method: "session/new", params: {} }); + c.inbound.enqueue({ id: 0, result: safe }); await c.reader.read(); + await c.writer.write({ id: 1, method: "session/prompt", params: { sessionId: "s", prompt: [{ type: "text", text: "Run task" }] } }); + const read = c.reader.read(); + const pendingSdkRequest = c.client.runConnectionRequest(() => new Promise(() => {})); + const pendingRejection = expect(pendingSdkRequest).rejects.toMatchObject({ code: "COPILOT_DETACHED_WORK_UNSUPPORTED" }); + c.inbound.enqueue({ method: "session/update", params: { sessionId: "s", update: { + sessionUpdate: "tool_call", toolCallId: "native-detached", kind: "execute", status: "pending", + rawInput: { command: "fixture", mode: "async", detach: true }, + } } }); + c.inbound.enqueue({ id: 0, method: "session/request_permission", params: { sessionId: "s", toolCall: { toolCallId: "native-detached" } } }); + await expect(read).rejects.toMatchObject({ code: "COPILOT_DETACHED_WORK_UNSUPPORTED", message: expect.stringContaining("Run the command attached") }); + await pendingRejection; + expect(c.written).toHaveLength(2); // Only session/new and session/prompt; no permission response. + expect(c.kill).toHaveBeenCalledWith("SIGTERM"); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-registry.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-registry.test.ts new file mode 100644 index 00000000000..444e717a5e5 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-registry.test.ts @@ -0,0 +1,89 @@ +import { describe, expect, it, vi } from "vitest"; +import type { CanonicalProviderEvent } from "../../provider-events.js"; +import { COPILOT_ACP_CLIENT_CAPABILITIES, COPILOT_ACP_EVENT_METHOD } from "./copilot-events.js"; +import { acpxProfileClientCapabilities, bindAcpxExtensionTurn, createAcpxProfileExtensionAdapter } from "./profile-extensions.js"; +import { assertAcpxProfileEnvironment, classifyAcpxProfileError, verifyAcpxProfileInstallation } from "./profile-installation.js"; +import { resolveQualifiedAcpxProfile } from "./qualified-profiles.js"; +import { verifyCopilotInstallation } from "./copilot-installation.js"; +import { verifyCursorInstallation } from "./cursor-installation.js"; + +vi.mock("./copilot-installation.js", () => ({ verifyCopilotInstallation: vi.fn(async () => ({ commandDigest: "verified-by-native-factory" })) })); +vi.mock("./cursor-installation.js", () => ({ verifyCursorInstallation: vi.fn(async () => ({ commandDigest: "verified-by-cursor-factory" })) })); + + +const context = { workspacePath: "/workspace", sessionId: "backend-1", turnId: "turn-1" }; +describe("Copilot provider registry conformance", () => { + it("requires only explicitly bound Copilot credentials before starting the provider", () => { + for (const environment of [{}, { COPILOT_GITHUB_TOKEN: " " }, { COPILOT_GITHUB_TOKEN: "bad\0token" }, { GITHUB_TOKEN: "ambient-secret", GH_TOKEN: "ambient-secret" }]) { + expect(() => assertAcpxProfileEnvironment("copilot", environment)).toThrow(expect.objectContaining({ code: "COPILOT_AUTH_REQUIRED", retryable: false })); + } + expect(() => assertAcpxProfileEnvironment("copilot", { COPILOT_GITHUB_TOKEN: "fixture-explicit-token" })).not.toThrow(); + expect(() => assertAcpxProfileEnvironment("codex", {})).not.toThrow(); + }); + it("selects only the Copilot native installer and preserves the exact caller-selected profile", async () => { + const profile = resolveQualifiedAcpxProfile("copilot", "explicit-exact-model"); + expect(await verifyAcpxProfileInstallation(profile)).toMatchObject({ commandDigest: "verified-by-native-factory" }); + expect(verifyCopilotInstallation).toHaveBeenCalledExactlyOnceWith(profile); + const cursor = resolveQualifiedAcpxProfile("cursor", "exact-model"); + expect(await verifyAcpxProfileInstallation(cursor)).toMatchObject({ commandDigest: "verified-by-cursor-factory" }); + expect(verifyCursorInstallation).toHaveBeenCalledExactlyOnceWith(cursor); + expect(verifyCopilotInstallation).toHaveBeenCalledTimes(1); + }); + + it("negotiates an isolated native event subscription and preserves every safe subagent field through the shared turn binder", async () => { + const capabilities = acpxProfileClientCapabilities("copilot"); + expect(capabilities).toEqual(COPILOT_ACP_CLIENT_CAPABILITIES); + (capabilities._meta as Record)["github.com/copilot"] = {}; + expect(acpxProfileClientCapabilities("copilot")).toEqual(COPILOT_ACP_CLIENT_CAPABILITIES); + expect(acpxProfileClientCapabilities("codex")).toEqual({}); + const emitted: CanonicalProviderEvent[] = []; + const data = { + toolCallId: "tool-1", agentName: "review", agentDisplayName: "Reviewer", agentDescription: "Review the change", + model: "exact-model", parentId: "parent-1", agentType: "task", executionMode: "background", reasoningEffort: "high", + contextTier: "large", firstDispatchedModel: "model-initial", configuredModelPreference: "model-preferred", + explicitModelOverride: "model-explicit", modelOverrideReason: "task request", modelSelectionSource: "agent", + taskModelSource: "task", factoryRunId: "factory-1", totalToolCalls: 3, totalTokens: 40, durationMs: 12.5, + cancelled: false, resumable: true, multiTurn: true, explicitModelMatchesPreference: false, configuredModelMatchesActual: false, + }; + const binder = bindAcpxExtensionTurn({ adapter: createAcpxProfileExtensionAdapter("copilot", context), + active: () => true, sessionId: context.sessionId, waitForInput: async () => { throw new Error("No input allowed"); }, emit: event => emitted.push(event) }); + binder.onExtensionNotification(COPILOT_ACP_EVENT_METHOD, { sessionId: context.sessionId, type: "subagent.completed", data, + agentId: "agent-2", timestamp: "2026-09-28T00:00:00Z" }); + await binder.drain(); + expect(emitted.map(event => event.eventType)).toEqual(["provider.notice.recorded"]); + expect(emitted[0]!.payload).toMatchObject({ summary: "Copilot subagent completed.", details: expect.arrayContaining([ + { name: "source.method", value: COPILOT_ACP_EVENT_METHOD }, + { name: "source.eventType", value: "subagent.completed" }, + { name: "source.agentId", value: "agent-2" }, + { name: "source.sessionId", value: "backend-1" }, + { name: "source.timestamp", value: "2026-09-28T00:00:00Z" }, + ]) }); + expect(emitted[0]!.payload.scope).toBe("session"); + expect(emitted[0]!.payload).not.toHaveProperty("provenance"); + expect(emitted[0]!.payload.details).toEqual(expect.arrayContaining(Object.entries(data).map(([name, value]) => ({ name, value: String(value) })))); + }); + + it.each(["wrong_session", "stale_turn"])("rejects %s events at the shared boundary before presentation", async scenario => { + const emitted: CanonicalProviderEvent[] = []; + const binder = bindAcpxExtensionTurn({ adapter: createAcpxProfileExtensionAdapter("copilot", context), + active: () => scenario !== "stale_turn", sessionId: context.sessionId, waitForInput: async () => ({}), emit: event => emitted.push(event) }); + binder.onExtensionNotification(COPILOT_ACP_EVENT_METHOD, { sessionId: scenario === "wrong_session" ? "agent-1" : "backend-1", type: "session.idle", data: {} }); + await expect(binder.drain()).rejects.toThrow(); + expect(emitted).toEqual([]); + }); + + it("classifies admission failures without copying credentials or masking unrelated runner errors", () => { + for (const [message, code] of [ + ["COPILOT_GITHUB_TOKEN is required", "COPILOT_AUTH_REQUIRED"], + ["Unauthorized token ghp_abcdefghijklmnopqrstuvwxyz", "COPILOT_AUTH_REQUIRED"], + ["Organization policy denied with Bearer secretsecretsecret", "COPILOT_ENTITLEMENT_DENIED"], + ["Model custom-model is not supported", "COPILOT_MODEL_UNAVAILABLE"], + ]) { + const error = classifyAcpxProfileError("copilot", new Error(message)); + expect(error).toMatchObject({ code, retryable: false }); + expect(String(error)).not.toMatch(/ghp_|secretsecretsecret|custom-model/); + } + expect(classifyAcpxProfileError("codex", new Error("Unauthorized"))).toBeNull(); + expect(classifyAcpxProfileError("copilot", new Error("native distribution digest mismatch"))).toBeNull(); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-runtime-host.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-runtime-host.test.ts new file mode 100644 index 00000000000..65dbd07fb66 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-runtime-host.test.ts @@ -0,0 +1,95 @@ +import { mkdir, mkdtemp, readFile, rm } from "node:fs/promises"; +import { join } from "node:path"; +import { tmpdir } from "node:os"; +import { expect, it, vi } from "vitest"; +import { COPILOT_TASK_ORIENTATION_INSTRUCTIONS } from "./copilot-profile.js"; +import { AcpxRuntimeHost, type AcpxRuntimeHostDependencies, type AcpxRuntimePortOpenOptions } from "./runtime-host.js"; + +it("reports missing Copilot authentication before spawn and releases admission ownership for retry", async () => { + const root = await mkdtemp(join(tmpdir(), "paperclip-copilot-auth-admission-")); + const runtimeDirectory = join(root, "runtime"); + const workingDirectory = join(root, "workspace"); + await Promise.all([mkdir(runtimeDirectory), mkdir(workingDirectory), mkdir(join(root, "provider"))]); + const openRuntime = vi.fn(async (_options: AcpxRuntimePortOpenOptions): Promise => { + throw new Error("fixture stopped before provider spawn"); + }); + const close = vi.fn(async () => {}); + const openCommand = vi.fn(async () => ({ spawn: () => { throw new Error("must not spawn"); }, close })); + const dependencies: AcpxRuntimeHostDependencies = { + verifyInstallation: async profile => ({ commandDigest: profile.commandDigest, + agentServerPackageJsonPath: join(root, "provider/package.json"), agentRuntimePackageJsonPath: null, openCommand }), + openRuntime, reportRetainedCleanupFailure: () => {}, + }; + const options = { agent: "copilot" as const, model: "explicit-model", normalizedSessionId: "copilot-auth-test", + runtimeDirectory, workingDirectory, providerPolicy: { readOnly: false } }; + try { + await expect(AcpxRuntimeHost.open({ ...options, environment: { GH_TOKEN: "ambient-forbidden", GITHUB_TOKEN: "ambient-forbidden" } }, dependencies)) + .rejects.toMatchObject({ code: "COPILOT_AUTH_REQUIRED", retryable: false }); + expect(openCommand).not.toHaveBeenCalled(); + expect(openRuntime).not.toHaveBeenCalled(); + await expect(AcpxRuntimeHost.open({ ...options, environment: { COPILOT_GITHUB_TOKEN: "explicit-fixture-only", GH_TOKEN: "ambient-forbidden" } }, dependencies)) + .rejects.toThrow("fixture stopped before provider spawn"); + expect(openRuntime).toHaveBeenCalledOnce(); + const environment = openRuntime.mock.calls[0]![0].launchEnvironment; + expect(environment.COPILOT_GITHUB_TOKEN).toBe("explicit-fixture-only"); + expect(environment.GH_TOKEN).toBeUndefined(); + expect(environment.GITHUB_TOKEN).toBeUndefined(); + expect(close).toHaveBeenCalled(); + } finally { await rm(root, { recursive: true, force: true }); } +}); + +it("does not refresh Copilot instructions for a contender rejected by the lifetime lease", async () => { + const root = await mkdtemp(join(tmpdir(), "paperclip-copilot-instruction-owner-")); + const runtimeDirectory = join(root, "runtime"); + const workingDirectory = join(root, "workspace"); + await Promise.all([mkdir(runtimeDirectory), mkdir(workingDirectory), mkdir(join(root, "provider"))]); + let releaseWinner!: () => void; + const winnerGate = new Promise(resolve => { releaseWinner = resolve; }); + let notifyWinner!: () => void; + const winnerEntered = new Promise(resolve => { notifyWinner = resolve; }); + let instructionPath = ""; + const openRuntime = vi.fn(async (options: AcpxRuntimePortOpenOptions): Promise => { + instructionPath = join(options.launchEnvironment.COPILOT_HOME!, "copilot-instructions.md"); + notifyWinner(); + await winnerGate; + throw new Error("fixture stops before native process launch"); + }); + const dependencies: AcpxRuntimeHostDependencies = { + verifyInstallation: async profile => ({ + commandDigest: profile.commandDigest, + agentServerPackageJsonPath: join(root, "provider/package.json"), agentRuntimePackageJsonPath: null, + openCommand: async () => ({ spawn: () => { throw new Error("must not spawn"); }, close: async () => {} }), + }), + openRuntime, reportRetainedCleanupFailure: () => {}, + }; + const options = { + agent: "copilot" as const, model: "explicit-model", permissionMode: "approve-reads" as const, + normalizedSessionId: "same-native-session", runtimeDirectory, workingDirectory, + providerPolicy: { readOnly: false }, environment: { COPILOT_GITHUB_TOKEN: "synthetic-fixture" }, + }; + const winner = AcpxRuntimeHost.open({ ...options, systemInstructions: "Winner instructions." }, dependencies); + // Attach the rejection handler before deliberately releasing the failed launch. + const winnerResult = expect(winner).rejects.toThrow("fixture stops before native process launch"); + try { + await winnerEntered; + expect(await readFile(instructionPath, "utf8")).toContain(COPILOT_TASK_ORIENTATION_INSTRUCTIONS); + expect(await readFile(instructionPath, "utf8")).toContain("Winner instructions.\n"); + await expect(AcpxRuntimeHost.open({ ...options, systemInstructions: "Losing contender." }, dependencies)) + .rejects.toThrow("already has an active lease"); + expect(openRuntime).toHaveBeenCalledOnce(); + expect(await readFile(instructionPath, "utf8")).toContain("Winner instructions.\n"); + releaseWinner(); + await winnerResult; + await expect(AcpxRuntimeHost.open({ ...options, systemInstructions: "New owner instructions." }, dependencies)) + .rejects.toThrow("fixture stops before native process launch"); + expect(await readFile(instructionPath, "utf8")).toContain(COPILOT_TASK_ORIENTATION_INSTRUCTIONS); + expect(await readFile(instructionPath, "utf8")).toContain("New owner instructions.\n"); + await expect(AcpxRuntimeHost.open({ ...options, environment: {}, systemInstructions: "Unauthenticated admission." }, dependencies)) + .rejects.toMatchObject({ code: "COPILOT_AUTH_REQUIRED" }); + expect(await readFile(instructionPath, "utf8")).toContain("New owner instructions.\n"); + } finally { + releaseWinner(); + await winnerResult; + await rm(root, { recursive: true, force: true }); + } +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.test.ts b/packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.test.ts new file mode 100644 index 00000000000..9dcd6e8cdc7 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/copilot-tool-evidence.test.ts @@ -0,0 +1,209 @@ +import { appendSemanticToolReceipt } from "../semantic-tool-receipt.js"; +import { createHash } from "node:crypto"; +import { readFileSync } from "node:fs"; +import { describe, expect, it, vi } from "vitest"; +import { validateAcpxRichEvent } from "./profile-extensions.js"; +import type { CanonicalProviderEvent } from "../../provider-events.js"; +import { createCopilotToolEvidence } from "./copilot-tool-evidence.js"; +const fixture = JSON.parse(readFileSync(new URL("./fixtures/copilot-tool-evidence.json", import.meta.url), "utf8")); +const details = (e: CanonicalProviderEvent) => Object.fromEntries((e.payload.details as Array<{ name: string; value: string }>).map(d => [d.name, d.value])); +function harness(sessionId = "session", turnId = "turn") { + const events: CanonicalProviderEvent[] = []; let active = true; + const projector = createCopilotToolEvidence({ sessionId, turnId, workingDirectory: "/fixture/workspace", active: () => active, + emit: event => { validateAcpxRichEvent(event); events.push(event); } }); + return { projector, events, stop: () => { active = false; } }; +} +const tool = (id: string, rawInput: unknown, kind = "execute") => ({ type: "tool_call", tag: "tool_call", toolCallId: id, kind, status: "pending", rawInput }); +const update = (id: string, content: string) => ({ type: "tool_call", tag: "tool_call_update", toolCallId: id, status: "completed", rawOutput: { content } }); +function replay(name: string) { + const frames = fixture[name]; const h = harness(frames[0].params.sessionId); + for (const frame of frames) { + if (frame.method === "session/update") { const u = frame.params.update; h.projector.tool({ ...u, type: "tool_call", tag: u.sessionUpdate }); } + else h.projector.permission({ raw: frame.params }, "request-0", ["accept", "decline", "cancel"])?.(name === "deny-write" ? "reject_once" : "allow_once"); + } + return h; +} +describe("Copilot active-turn tool evidence", () => { + it("projects actual denied-create wire into canonical notices without file contents/diff", () => { + const { events } = replay("deny-write"); + expect(events.map(details)).toEqual([ + { stage: "tool", toolCallId: "fixture-tool", target: "copilot-denied-nonce.txt", operation: "edit", status: "pending" }, + { stage: "permission_requested", toolCallId: "fixture-tool", requestId: "request-0", target: "copilot-denied-nonce.txt", operation: "edit", declineOffered: "true" }, + { stage: "permission_delivered", toolCallId: "fixture-tool", requestId: "request-0", target: "copilot-denied-nonce.txt", operation: "edit", declineOffered: "true", outcome: "reject_once" }, + { stage: "tool", toolCallId: "fixture-tool", target: "copilot-denied-nonce.txt", operation: "edit", status: "failed" }, + ]); + expect(JSON.stringify(events)).not.toMatch(/MUST NOT EXIST|diff --git|file_text/); + expect(events.every(e => e.payload.scope === "turn" && (e.payload.provenance as { turnId: string }).turnId === "turn")).toBe(true); + }); + it("preserves typed native reads without exposing read arguments or contents", () => { + const h = harness(); + h.projector.tool(tool("read", { path: "instruction-secret", content: "private-content" }, "read")); + h.projector.tool(update("read", "private-output")); + expect(h.events.map(details)).toEqual([ + { stage: "tool", toolCallId: "read", operation: "read", status: "pending" }, + { stage: "tool", toolCallId: "read", operation: "read", status: "completed" }, + ]); + expect(JSON.stringify(h.events)).not.toMatch(/instruction-secret|private-content|private-output/); + }); + it("links actual attached command and separate read-shell completion, not initial completed tool", () => { + const ds = replay("attached-shell").events.map(details); + const started = ds.find(d => d.shellState === "started")!; const completed = ds.find(d => d.shellState === "completed")!; + expect(started).toMatchObject({ operation: "execute", mode: "async", detach: "false", shellId: "0", commandToolCallId: "fixture-tool", status: "completed" }); + expect(started).not.toHaveProperty("exitCode"); + expect(completed).toMatchObject({ commandToolCallId: "fixture-tool", shellId: "0", exitCode: "0", status: "completed" }); + expect(completed.toolCallId).not.toBe(started.toolCallId); + expect(started.commandSha256).toBe(`sha256:${createHash("sha256").update("sleep 2; printf ACP_SHELL_DONE > settlement.txt").digest("hex")}`); + expect(JSON.stringify(ds)).not.toContain("sleep 2"); + }); + it.each(["../outside", "/outside", "bad\u0000path", "C:\\private", "https://secret.invalid/path"])("omits unsafe target %j", path => { + const h = harness(); h.projector.tool(tool("edit", { path, file_text: "SECRET" }, "edit")); + expect(details(h.events[0]!)).not.toHaveProperty("target"); expect(JSON.stringify(h.events)).not.toContain("SECRET"); + }); + it("omits conflicting locations instead of selecting one", () => { + const h = harness(); h.projector.tool({ ...tool("edit", { path: "a" }, "edit"), locations: [{ path: "b" }] }); + expect(details(h.events[0]!)).not.toHaveProperty("target"); + }); + it("rejects session notifications, stale binding, foreign permission session and originless deltas", () => { + const h = harness(); h.projector.tool({ method: "github.com/copilot/sessionEvent", params: { type: "session.background_tasks_changed" } }); + h.projector.tool(update("unknown", "")); + expect(h.projector.permission({ raw: { sessionId: "other", toolCall: { toolCallId: "tool" } } }, "request", ["decline"])).toBeUndefined(); + h.stop(); h.projector.tool(tool("tool", { command: "secret" })); expect(h.events).toEqual([]); + }); + it("does not invent omitted mode/detach defaults or native names from a title", () => { + const h = harness(); h.projector.tool({ ...tool("tool", { command: "true" }), title: "bash detach false" }); + const d = details(h.events[0]!); expect(d.operation).toBe("execute"); + for (const k of ["mode", "detach", "tool"]) expect(d).not.toHaveProperty(k); + }); + it.each(["reused-tool", "changed-command", "reused-shell"])("fails closed on %s correlation", conflict => { + const h = harness(); h.projector.tool(tool("first", { command: "true", mode: "async", detach: false })); + if (conflict === "reused-tool") h.projector.tool(tool("first", { command: "false" })); + if (conflict === "changed-command") h.projector.tool({ ...tool("first", { command: "false" }), tag: "tool_call_update" }); + h.projector.tool(update("first", "")); + if (conflict === "reused-shell") { h.projector.tool(tool("second", { command: "false" })); h.projector.tool(update("second", "")); } + h.projector.tool(tool("read", { shellId: "0", delay: 0 }, "read")); h.projector.tool(update("read", "")); + expect(h.events.map(details).some(d => d.shellState === "completed")).toBe(false); + }); + it.each(["untrusted text\n", ""])("rejects arbitrary/mismatched output %j", output => { + const h = harness(); h.projector.tool(tool("command", { command: "true" })); h.projector.tool(update("command", "")); + h.projector.tool(tool("read", { shellId: "0" }, "read")); h.projector.tool(update("read", output)); + expect(h.events.map(details).some(d => d.shellState === "completed")).toBe(false); + }); + it("normalizes each duplicated matching target independently", () => { + const h = harness(); h.projector.tool({ ...tool("edit", { path: "same.txt", fileName: "/fixture/workspace/same.txt" }, "edit"), locations: [{ path: "same.txt" }, { path: "same.txt" }] }); + expect(details(h.events[0]!).target).toBe("same.txt"); + }); + it("redacts secret canaries in paths and every provider identity", () => { + const secret = "ghp_0123456789abcdef"; + const h = harness(secret); h.projector.tool(tool(secret, { path: `${secret}.txt` }, "edit")); + expect(JSON.stringify(h.events)).not.toContain(secret); + expect(JSON.stringify(h.events)).toContain("[REDACTED]"); + }); + it("keeps delivered response authority when observation fails and emits an incomplete notice", () => { + const events: CanonicalProviderEvent[] = []; const unavailable = vi.fn(); + const p = createCopilotToolEvidence({ sessionId: "s", turnId: "t", workingDirectory: "/fixture/workspace", active: () => true, unavailable, + emit: event => { if (details(event).stage === "permission_delivered") throw new Error("secret payload must not escape"); validateAcpxRichEvent(event); events.push(event); } }); + const delivered = p.permission({ raw: { sessionId: "s", toolCall: { toolCallId: "call", kind: "edit", rawInput: { fileName: "a" } } } }, "request", ["decline"]); + expect(() => delivered!("reject_once")).not.toThrow(); + expect(events.map(details).at(-1)).toMatchObject({ stage: "evidence_incomplete", reason: "projection_failed" }); + expect(unavailable).toHaveBeenCalledOnce(); + expect(JSON.stringify(events)).not.toContain("secret payload"); + p.tool(tool("later", { command: "true" })); expect(events).toHaveLength(2); + }); + it("handles malformed bounded input without leaking arbitrary data", () => { + const h = harness(); + for (const rawInput of [null, [], { command: "x".repeat(65537) }, { mode: {}, detach: "false", shellId: {} }]) h.projector.tool(tool(String(h.events.length), rawInput)); + expect(h.events).toHaveLength(4); + expect(h.events.map(details).every(d => !d.commandSha256 && !d.mode && !d.detach && !d.shellId)).toBe(true); + }); + it("bounds retained tools and emitted notices", () => { + const h = harness(); for (let n = 0; n < 300; n++) h.projector.tool(tool(`t${n}`, { command: "true" })); expect(h.events).toHaveLength(257); + expect(details(h.events.at(-1)!)).toMatchObject({ stage: "evidence_incomplete", reason: "tool_limit" }); + for (let n = 0; n < 2200; n++) h.projector.tool(update("t0", "")); expect(h.events).toHaveLength(2048); + }); +}); + +describe("Copilot authoritative semantic receipt correlation", () => { + const args = { summary: "PRIVATE", completionClaim: { objectiveSatisfied: true } }; + const make = (operation = "paperclip_finish", isError = false) => appendSemanticToolReceipt( + { tool: operation, callId: "3", arguments: args }, { content: [{ type: "text", text: '{"accepted":false}' }], ...(isError ? { isError } : {}) }); + const terminal = (id: string, content: unknown, status = "completed") => ({ type: "tool_call", tag: "tool_call_update", toolCallId: id, status, rawOutput: { contents: content } }); + it.each(["paperclip_finish", "report_progress", "get_task_context"])("correlates %s with trusted callback, not native display name", operation => { + const h = harness(); const bound = make(operation); + h.projector.tool({ ...tool("native", args, "other"), title: "unrelated display" }); + h.projector.captureSemanticReceipt()!(bound.receipt); + h.projector.tool(terminal("native", bound.result.content)); + const authoritative = h.events.find(e => e.payload.category === "paperclip_semantic_tool_receipt_v2")!; + expect(details(authoritative)).toMatchObject({ operationId: operation, callIdentitySha256: bound.receipt.callIdentitySha256, outcome: "returned" }); + expect(authoritative.payload.provenance).toMatchObject({ method: "paperclip/semantic_tool_result", sessionId: "session", turnId: "turn" }); + expect(details(h.events.at(-1)!)).toMatchObject({ semanticOperationId: operation, semanticOutcome: "returned", semanticResultSha256: bound.receipt.resultSha256 }); + expect(JSON.stringify(h.events)).not.toMatch(/PRIVATE|accepted|completionClaim/); + }); + it.each(["untrusted", "different-input", "different-normalized-input", "different-result", "foreign-session", "foreign-turn", "duplicate-native", "duplicate-authority", "early-terminal", "wrong-status"])("rejects %s authority", scenario => { + const h = harness(), other = harness(scenario === "foreign-turn" ? "session" : "foreign", scenario === "foreign-turn" ? "other-turn" : "turn"); const bound = make(); + h.projector.tool({ ...tool("native", scenario === "different-input" ? {} : args, "other"), title: "paperclip_finish" }); + if (scenario === "early-terminal") h.projector.tool(terminal("native", bound.result.content)); + if (scenario === "foreign-session" || scenario === "foreign-turn") other.projector.captureSemanticReceipt()!(bound.receipt); + else if (scenario !== "untrusted") h.projector.captureSemanticReceipt()!(bound.receipt); + if (scenario === "duplicate-authority") h.projector.captureSemanticReceipt()!(bound.receipt); + if (scenario === "duplicate-native") { + h.projector.tool(terminal("native", bound.result.content)); + h.projector.tool(tool("second", args, "other")); + } + const output = structuredClone(bound.result.content); + if (scenario === "different-result") output[0]!.text = "changed"; + if (scenario === "different-normalized-input") output.at(-1)!.text = JSON.stringify({ ...bound.receipt, normalizedInputSha256: "a".repeat(64) }); + h.projector.tool(terminal(scenario === "duplicate-native" ? "second" : "native", output, scenario === "wrong-status" ? "failed" : "completed")); + expect(details(h.events.at(-1)!)).not.toHaveProperty("semanticOperationId"); + if (scenario === "duplicate-native") expect(h.events.map(details)).toContainEqual(expect.objectContaining({ reason: "semantic_receipt_conflict" })); + }); + it("preserves admitted errors and fences late captured callbacks instead of rebinding", () => { + const h = harness(); const bound = make("get_task_context", true); + const captured = h.projector.captureSemanticReceipt()!; + h.projector.tool(tool("native", args, "other")); captured(bound.receipt); + h.projector.tool(terminal("native", bound.result.content, "failed")); + expect(details(h.events.at(-1)!)).toMatchObject({ semanticOutcome: "error", status: "failed" }); + const count = h.events.length; h.stop(); captured(bound.receipt); + expect(h.events).toHaveLength(count); + const next = harness(); next.projector.tool(tool("native", args, "other")); next.projector.tool(terminal("native", bound.result.content, "failed")); + expect(details(next.events.at(-1)!)).not.toHaveProperty("semanticOperationId"); + }); +}); + + +describe("captured Copilot 1.0.88 native MCP receipt carrier", () => { + const bytes = readFileSync(new URL("./fixtures/copilot-1.0.88-mcp-receipt-captured.json", import.meta.url)); + const captured = JSON.parse(bytes.toString()); + const provenance = JSON.parse(readFileSync(new URL("./fixtures/copilot-1.0.88-mcp-receipt-captured.provenance.json", import.meta.url), "utf8")); + const nativeEvent = (frame: any) => ({ ...frame.params.update, type: "tool_call", tag: frame.params.update.sessionUpdate }); + it("replays native frames with the separately owned receipt and preserves rejection content", () => { + expect(createHash("sha256").update(bytes).digest("hex")).toBe(provenance.fixtureSha256); + expect(provenance).toMatchObject({ nativeVersion: "1.0.88", paidProviderCalls: 0, qualification: false }); + expect(captured.pending.params.sessionId).toBe(captured.completed.params.sessionId); + const h = harness(captured.pending.params.sessionId); + h.projector.tool(nativeEvent(captured.pending)); + h.projector.captureSemanticReceipt()!(captured.authoritativeReceipt); + h.projector.tool(nativeEvent(captured.completed)); + const output = captured.completed.params.update.rawOutput; + expect(output.content).toBe(output.contents.map((block: { text: string }) => block.text).join("")); + expect(output.detailedContent).toBe(output.content); + expect(JSON.parse(output.contents[0].text)).toMatchObject({ accepted: false }); + expect(details(h.events.at(-1)!)).toMatchObject({ stage: "tool", status: "completed", + semanticOperationId: captured.authoritativeReceipt.operationId, + semanticCallIdentitySha256: captured.authoritativeReceipt.callIdentitySha256, + semanticInputSha256: captured.authoritativeReceipt.inputSha256, + semanticResultSha256: captured.authoritativeReceipt.resultSha256, semanticOutcome: "returned" }); + expect(JSON.stringify(h.events)).not.toContain("known-small-result"); + }); + it.each(["missing-authority", "altered-block", "different-input", "missing-contents", "duplicate-terminal"])("does not trust captured native output alone: %s", scenario => { + const value = structuredClone(captured), h = harness(value.pending.params.sessionId); + if (scenario === "different-input") value.pending.params.update.rawInput = { changed: true }; + if (scenario === "altered-block") value.completed.params.update.rawOutput.contents[0].text = '{"accepted":true}'; + if (scenario === "missing-contents") delete value.completed.params.update.rawOutput.contents; + h.projector.tool(nativeEvent(value.pending)); + if (scenario !== "missing-authority") h.projector.captureSemanticReceipt()!(value.authoritativeReceipt); + h.projector.tool(nativeEvent(value.completed)); + if (scenario === "duplicate-terminal") h.projector.tool(nativeEvent(value.completed)); + expect(details(h.events.at(-1)!)).not.toHaveProperty("semanticOperationId"); + if (scenario === "duplicate-terminal") expect(details(h.events.at(-1)!)).toMatchObject({ stage: "evidence_incomplete", reason: "reused_semantic_lifecycle" }); + }); +}); diff --git a/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.json b/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.json new file mode 100644 index 00000000000..bf947d5b407 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.json @@ -0,0 +1,60 @@ +{ + "pending": { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "captured-fixture-session", + "update": { + "sessionUpdate": "tool_call", + "toolCallId": "fixture-tool", + "title": "receipt-receipt_fixture", + "kind": "other", + "status": "pending", + "rawInput": {} + } + } + }, + "completed": { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "captured-fixture-session", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "fixture-tool", + "status": "completed", + "content": [ + { + "type": "content", + "content": { + "type": "text", + "text": "{\"fixture\":\"known-small-result\",\"accepted\":false}{\"schema\":\"paperclip.semantic_tool_receipt.v1\",\"operationId\":\"receipt_fixture\",\"callIdentitySha256\":\"8880622e75a82af5d9b588823af9d706f2bf3a04dce96ee9aab2fa4a91c55508\",\"inputSha256\":\"44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\",\"resultSha256\":\"b325c663fc4bb7617a745373367ca8cbc7a3445f1b2fdb3a2a151da39f73553c\",\"outcome\":\"returned\"}" + } + } + ], + "rawOutput": { + "content": "{\"fixture\":\"known-small-result\",\"accepted\":false}{\"schema\":\"paperclip.semantic_tool_receipt.v1\",\"operationId\":\"receipt_fixture\",\"callIdentitySha256\":\"8880622e75a82af5d9b588823af9d706f2bf3a04dce96ee9aab2fa4a91c55508\",\"inputSha256\":\"44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\",\"resultSha256\":\"b325c663fc4bb7617a745373367ca8cbc7a3445f1b2fdb3a2a151da39f73553c\",\"outcome\":\"returned\"}", + "detailedContent": "{\"fixture\":\"known-small-result\",\"accepted\":false}{\"schema\":\"paperclip.semantic_tool_receipt.v1\",\"operationId\":\"receipt_fixture\",\"callIdentitySha256\":\"8880622e75a82af5d9b588823af9d706f2bf3a04dce96ee9aab2fa4a91c55508\",\"inputSha256\":\"44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\",\"resultSha256\":\"b325c663fc4bb7617a745373367ca8cbc7a3445f1b2fdb3a2a151da39f73553c\",\"outcome\":\"returned\"}", + "contents": [ + { + "type": "text", + "text": "{\"fixture\":\"known-small-result\",\"accepted\":false}" + }, + { + "type": "text", + "text": "{\"schema\":\"paperclip.semantic_tool_receipt.v1\",\"operationId\":\"receipt_fixture\",\"callIdentitySha256\":\"8880622e75a82af5d9b588823af9d706f2bf3a04dce96ee9aab2fa4a91c55508\",\"inputSha256\":\"44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a\",\"resultSha256\":\"b325c663fc4bb7617a745373367ca8cbc7a3445f1b2fdb3a2a151da39f73553c\",\"outcome\":\"returned\"}" + } + ] + } + } + } + }, + "authoritativeReceipt": { + "schema": "paperclip.semantic_tool_receipt.v1", + "operationId": "receipt_fixture", + "callIdentitySha256": "8880622e75a82af5d9b588823af9d706f2bf3a04dce96ee9aab2fa4a91c55508", + "inputSha256": "44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a", + "resultSha256": "b325c663fc4bb7617a745373367ca8cbc7a3445f1b2fdb3a2a151da39f73553c", + "outcome": "returned" + } +} diff --git a/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.provenance.json b/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.provenance.json new file mode 100644 index 00000000000..acff9e5520a --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-1.0.88-mcp-receipt-captured.provenance.json @@ -0,0 +1,49 @@ +{ + "schema": "paperclip.native-mcp-capture-provenance.v1", + "nativeVersion": "1.0.88", + "nativeExecutableSha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "platform": "darwin-arm64", + "sourceCommit": "cd2bd6f755a7685320766a71093320d7221172e9", + "captureKind": "real pinned native executable with deterministic loopback model and MCP server", + "paidProviderCalls": 0, + "credentialReads": false, + "qualification": false, + "scope": "One small successful two-text-block MCP result, original accepted=false; not native proof for every size/error encoding.", + "wireIndices": [ + 9, + 11 + ], + "sanitization": [ + "Replaced only params.sessionId in each selected frame with captured-fixture-session.", + "Excluded all other wire frames and model/configuration discovery.", + "Selected update objects and rawOutput preserved exactly.", + "authoritativeReceipt copied from owned fixture carrier.json; it is not an authority inferred from native output." + ], + "originalEvidence": [ + { + "name": "stdout.json", + "sha256": "95deeefff204b8e8db9c46b882cdea6fbe9b5c0de68efb56b4e9359cd0987208" + }, + { + "name": "carrier.json", + "sha256": "c4f4fc333dfbc5efe33b46435a88c3c8ceff74237083e6eb03ad16bb8e783807" + }, + { + "name": "carrier-proof.json", + "sha256": "4ed85f32732c2995506e4ffd23e85f79f26388aac6d8f47efefb5258c7b71da5" + }, + { + "name": "execution-plan.json", + "sha256": "ae4435b5ed2c23a27e2d9c47efe599e3720b800a66e4f9ef56886428f21ee998" + }, + { + "name": "probe.py", + "sha256": "264d39c1f6c36dadcd343b406a9f3ec851b29a55208c08cc3f6e26640ebeadd7" + }, + { + "name": "HANDOFF.json", + "sha256": "e9859debd7274b42f5e58c28cc025bb2e3a090bb583e71ad460f2f482f6c3dae" + } + ], + "fixtureSha256": "4af7345f219463813b382e4c6863003f9f957e147a96dc9c197b97ecd3e20cfb" +} diff --git a/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-tool-evidence.json b/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-tool-evidence.json new file mode 100644 index 00000000000..74213d070d6 --- /dev/null +++ b/packages/paperclip-runner/src/drivers/acpx/fixtures/copilot-tool-evidence.json @@ -0,0 +1,241 @@ +{ + "provider": "@github/copilot@1.0.88", + "executableSha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "source": "Credential-free native binary with loopback synthetic model; no provider inference. Workspace paths normalized by probe.", + "deny-write": [ + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "21c800ed-2229-48f8-b13a-68e711944863", + "update": { + "sessionUpdate": "tool_call", + "toolCallId": "fixture-tool", + "title": "Creating ...pilot-offline-2khr_xkr/copilot-denied-nonce.txt", + "kind": "edit", + "status": "pending", + "rawInput": { + "path": "/fixture/workspace/copilot-denied-nonce.txt", + "file_text": "MUST NOT EXIST" + }, + "locations": [ + { + "path": "/fixture/workspace/copilot-denied-nonce.txt" + } + ], + "content": [ + { + "type": "diff", + "path": "/fixture/workspace/copilot-denied-nonce.txt", + "oldText": "", + "newText": "MUST NOT EXIST" + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "id": 0, + "method": "session/request_permission", + "params": { + "sessionId": "21c800ed-2229-48f8-b13a-68e711944863", + "toolCall": { + "toolCallId": "fixture-tool", + "title": "Create file", + "kind": "edit", + "status": "pending", + "rawInput": { + "fileName": "/fixture/workspace/copilot-denied-nonce.txt", + "diff": "\ndiff --git a/fixture/workspace/copilot-denied-nonce.txt b/fixture/workspace/copilot-denied-nonce.txt\ncreate file mode 100644\nindex 0000000..0000000\n--- a/dev/null\n+++ b/fixture/workspace/copilot-denied-nonce.txt\n@@ -1,0 +1,1 @@\n+MUST NOT EXIST\n" + }, + "locations": [ + { + "path": "/fixture/workspace/copilot-denied-nonce.txt" + } + ] + }, + "options": [ + { + "optionId": "allow_once", + "kind": "allow_once", + "name": "Allow once" + }, + { + "optionId": "allow_always", + "kind": "allow_always", + "name": "Always allow" + }, + { + "optionId": "reject_once", + "kind": "reject_once", + "name": "Deny" + } + ] + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "21c800ed-2229-48f8-b13a-68e711944863", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "fixture-tool", + "status": "failed", + "rawOutput": { + "message": "The user rejected this tool call.", + "code": "rejected" + } + } + } + } + ], + "attached-shell": [ + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "8426a268-fe73-4b5c-addd-26de5f670c38", + "update": { + "sessionUpdate": "tool_call", + "toolCallId": "fixture-tool", + "title": "Bounded settlement fixture", + "kind": "execute", + "status": "pending", + "rawInput": { + "command": "sleep 2; printf ACP_SHELL_DONE > settlement.txt", + "description": "Bounded settlement fixture", + "mode": "async", + "detach": false + } + } + } + }, + { + "jsonrpc": "2.0", + "id": 0, + "method": "session/request_permission", + "params": { + "sessionId": "8426a268-fe73-4b5c-addd-26de5f670c38", + "toolCall": { + "toolCallId": "fixture-tool", + "title": "Bounded settlement fixture", + "kind": "execute", + "status": "pending", + "rawInput": { + "command": "sleep 2; printf ACP_SHELL_DONE > settlement.txt", + "commands": [ + "sleep 2; printf ACP_SHELL_DONE > settlement.txt" + ] + } + }, + "options": [ + { + "optionId": "allow_once", + "kind": "allow_once", + "name": "Allow once" + }, + { + "optionId": "allow_always", + "kind": "allow_always", + "name": "Always allow" + }, + { + "optionId": "reject_once", + "kind": "reject_once", + "name": "Deny" + } + ] + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "8426a268-fe73-4b5c-addd-26de5f670c38", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "fixture-tool", + "status": "completed", + "content": [ + { + "type": "content", + "content": { + "type": "text", + "text": "" + } + } + ], + "rawOutput": { + "content": "", + "detailedContent": "" + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "8426a268-fe73-4b5c-addd-26de5f670c38", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "fixture-tool", + "content": [ + { + "type": "content", + "content": { + "type": "text", + "text": "" + } + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "8426a268-fe73-4b5c-addd-26de5f670c38", + "update": { + "sessionUpdate": "tool_call", + "toolCallId": "7da35af6-2aab-469f-8964-40f0605dcb6c", + "title": "Reading shell output", + "kind": "read", + "status": "pending", + "rawInput": { + "shellId": "0", + "delay": 0 + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "8426a268-fe73-4b5c-addd-26de5f670c38", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "7da35af6-2aab-469f-8964-40f0605dcb6c", + "status": "completed", + "content": [ + { + "type": "content", + "content": { + "type": "text", + "text": "\n" + } + } + ], + "rawOutput": { + "content": "\n", + "detailedContent": "\n" + } + } + } + } + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-acp-denial-1.0.88.json b/packages/paperclip-runner/test/fixtures/copilot-acp-denial-1.0.88.json new file mode 100644 index 00000000000..da4123f5446 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-acp-denial-1.0.88.json @@ -0,0 +1,862 @@ +{ + "schema": "paperclip.copilot-acp-evidence/v1", + "harnessVersion": "1.0.88", + "package": "@github/copilot-darwin-arm64", + "executableSha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "modelSource": "deterministic loopback fixture, COPILOT_OFFLINE=true; not a live model qualification", + "scenario": "deny-write", + "costUsd": 0, + "filesystemMarkerExistedAtPromptResult": false, + "filesystemMarkerExistedAfterPrompt": false, + "modelCalls": 1, + "modelToolNames": [ + "bash", + "read_bash", + "stop_bash", + "list_bash", + "view", + "create", + "edit", + "skill", + "sql", + "session_store_sql", + "read_agent", + "list_agents", + "write_agent", + "grep", + "glob", + "task" + ], + "permissionResponses": [ + { + "id": 0, + "outcome": { + "outcome": "selected", + "optionId": "reject_once" + } + } + ], + "wire": [ + { + "jsonrpc": "2.0", + "id": 1, + "result": { + "protocolVersion": 1, + "agentCapabilities": { + "loadSession": true, + "mcpCapabilities": { + "http": true, + "sse": true + }, + "promptCapabilities": { + "image": true, + "audio": false, + "embeddedContext": true + }, + "sessionCapabilities": { + "close": {}, + "list": {} + } + }, + "agentInfo": { + "name": "Copilot", + "title": "Copilot", + "version": "1.0.88" + }, + "authMethods": [ + { + "id": "copilot-login", + "name": "Log in with Copilot CLI", + "description": "Run `copilot login` in the terminal", + "_meta": { + "terminal-auth": { + "command": "/fixture/verified/copilot", + "args": [ + "login" + ], + "label": "Copilot Login" + } + } + } + ] + } + }, + { + "jsonrpc": "2.0", + "id": 2, + "result": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "modes": { + "availableModes": [ + { + "id": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "id": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "id": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "currentModeId": "https://agentclientprotocol.com/protocol/session-modes#agent" + }, + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ] + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "update": { + "sessionUpdate": "available_commands_update", + "availableCommands": [ + { + "name": "add-dir", + "description": "Allow file access to a directory and load its .github skills and agents as trusted configuration", + "input": { + "hint": "directory" + } + }, + { + "name": "allow-all", + "description": "Enable all permissions", + "input": { + "hint": "[on|off|show]" + } + }, + { + "name": "permissions", + "description": "Switch between permission modes", + "input": { + "hint": "[default|allow-all|show]" + } + }, + { + "name": "autopilot", + "description": "Toggle autopilot mode, or set an autopilot objective with an optional AI-credit limit (--max-ai-credits)", + "input": { + "hint": "[on|off|] [--max-ai-credits ]" + } + }, + { + "name": "compact", + "description": "Summarize conversation history to reduce context window usage. Optionally provide focus instructions.", + "input": { + "hint": "focus instructions" + } + }, + { + "name": "blame", + "description": "Trace code history with git blame and linked Copilot sessions", + "input": { + "hint": "text | pull request | commit" + } + }, + { + "name": "chronicle", + "description": "Session history tools and insights", + "input": { + "hint": "standup|search|tips|cost-tips|improve|reindex" + } + }, + { + "name": "computer", + "description": "Show or toggle Computer Use", + "input": { + "hint": "" + } + }, + { + "name": "context", + "description": "Show context window token usage and visualization" + }, + { + "name": "cwd", + "description": "Change working directory or show current directory", + "input": { + "hint": "directory" + } + }, + { + "name": "env", + "description": "Show loaded environment details (instructions, MCP servers, skills, agents, hooks, plugins, LSPs, extensions)" + }, + { + "name": "every", + "description": "Schedule a recurring prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "after", + "description": "Schedule a one-shot prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "fleet", + "description": "Enable fleet mode for parallel subagent execution", + "input": { + "hint": "prompt" + } + }, + { + "name": "init", + "description": "Initialize Copilot instructions for this repository", + "input": { + "hint": "" + } + }, + { + "name": "list-dirs", + "description": "Display allowed directories and exact session path grants" + }, + { + "name": "mcp", + "description": "Manage MCP server configuration", + "input": { + "hint": "" + } + }, + { + "name": "memory", + "description": "Show memory status, or enable/disable memory across sessions", + "input": { + "hint": "" + } + }, + { + "name": "model", + "description": "Select the AI model for this session (use 'auto' to let Copilot pick automatically). Use /config model to set the user default, '--repo'/'--local' to set the repo default, or 'plan'/'--plan' to set the plan-mode model.", + "input": { + "hint": "model" + } + }, + { + "name": "plan", + "description": "Create an implementation plan before coding", + "input": { + "hint": "prompt" + } + }, + { + "name": "plugin", + "description": "Manage plugins and plugin marketplaces", + "input": { + "hint": "" + } + }, + { + "name": "rename", + "description": "Rename the current session", + "input": { + "hint": "name" + } + }, + { + "name": "research", + "description": "Run deep research investigation using GitHub search and web sources", + "input": { + "hint": "topic" + } + }, + { + "name": "remote", + "description": "Show remote status or toggle remote control from GitHub web and mobile", + "input": { + "hint": "" + } + }, + { + "name": "reset-allowed-tools", + "description": "Reset session tool and exact-path approvals" + }, + { + "name": "review", + "description": "Run code review agent to analyze changes", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "sandbox", + "description": "Manage sandbox settings, including file path permissions, network permissions, and more", + "input": { + "hint": "" + } + }, + { + "name": "security-review", + "description": "Analyze staged and unstaged changes for security vulnerabilities.", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "session", + "description": "View and manage sessions", + "input": { + "hint": "" + } + }, + { + "name": "share", + "description": "Share the session via GitHub and get a shareable link", + "input": { + "hint": "" + } + }, + { + "name": "skills", + "description": "Manage skills for enhanced capabilities", + "input": { + "hint": "" + } + }, + { + "name": "subconscious", + "description": "Manage Copilot Subconscious memory consolidation", + "input": { + "hint": "" + } + }, + { + "name": "usage", + "description": "Display session usage metrics and statistics" + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "update": { + "sessionUpdate": "available_commands_update", + "availableCommands": [ + { + "name": "add-dir", + "description": "Allow file access to a directory and load its .github skills and agents as trusted configuration", + "input": { + "hint": "directory" + } + }, + { + "name": "allow-all", + "description": "Enable all permissions", + "input": { + "hint": "[on|off|show]" + } + }, + { + "name": "permissions", + "description": "Switch between permission modes", + "input": { + "hint": "[default|allow-all|show]" + } + }, + { + "name": "autopilot", + "description": "Toggle autopilot mode, or set an autopilot objective with an optional AI-credit limit (--max-ai-credits)", + "input": { + "hint": "[on|off|] [--max-ai-credits ]" + } + }, + { + "name": "compact", + "description": "Summarize conversation history to reduce context window usage. Optionally provide focus instructions.", + "input": { + "hint": "focus instructions" + } + }, + { + "name": "blame", + "description": "Trace code history with git blame and linked Copilot sessions", + "input": { + "hint": "text | pull request | commit" + } + }, + { + "name": "chronicle", + "description": "Session history tools and insights", + "input": { + "hint": "standup|search|tips|cost-tips|improve|reindex" + } + }, + { + "name": "computer", + "description": "Show or toggle Computer Use", + "input": { + "hint": "" + } + }, + { + "name": "context", + "description": "Show context window token usage and visualization" + }, + { + "name": "cwd", + "description": "Change working directory or show current directory", + "input": { + "hint": "directory" + } + }, + { + "name": "env", + "description": "Show loaded environment details (instructions, MCP servers, skills, agents, hooks, plugins, LSPs, extensions)" + }, + { + "name": "every", + "description": "Schedule a recurring prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "after", + "description": "Schedule a one-shot prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "fleet", + "description": "Enable fleet mode for parallel subagent execution", + "input": { + "hint": "prompt" + } + }, + { + "name": "init", + "description": "Initialize Copilot instructions for this repository", + "input": { + "hint": "" + } + }, + { + "name": "list-dirs", + "description": "Display allowed directories and exact session path grants" + }, + { + "name": "mcp", + "description": "Manage MCP server configuration", + "input": { + "hint": "" + } + }, + { + "name": "memory", + "description": "Show memory status, or enable/disable memory across sessions", + "input": { + "hint": "" + } + }, + { + "name": "model", + "description": "Select the AI model for this session (use 'auto' to let Copilot pick automatically). Use /config model to set the user default, '--repo'/'--local' to set the repo default, or 'plan'/'--plan' to set the plan-mode model.", + "input": { + "hint": "model" + } + }, + { + "name": "plan", + "description": "Create an implementation plan before coding", + "input": { + "hint": "prompt" + } + }, + { + "name": "plugin", + "description": "Manage plugins and plugin marketplaces", + "input": { + "hint": "" + } + }, + { + "name": "rename", + "description": "Rename the current session", + "input": { + "hint": "name" + } + }, + { + "name": "research", + "description": "Run deep research investigation using GitHub search and web sources", + "input": { + "hint": "topic" + } + }, + { + "name": "remote", + "description": "Show remote status or toggle remote control from GitHub web and mobile", + "input": { + "hint": "" + } + }, + { + "name": "reset-allowed-tools", + "description": "Reset session tool and exact-path approvals" + }, + { + "name": "review", + "description": "Run code review agent to analyze changes", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "sandbox", + "description": "Manage sandbox settings, including file path permissions, network permissions, and more", + "input": { + "hint": "" + } + }, + { + "name": "security-review", + "description": "Analyze staged and unstaged changes for security vulnerabilities.", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "session", + "description": "View and manage sessions", + "input": { + "hint": "" + } + }, + { + "name": "share", + "description": "Share the session via GitHub and get a shareable link", + "input": { + "hint": "" + } + }, + { + "name": "skills", + "description": "Manage skills for enhanced capabilities", + "input": { + "hint": "" + } + }, + { + "name": "subconscious", + "description": "Manage Copilot Subconscious memory consolidation", + "input": { + "hint": "" + } + }, + { + "name": "usage", + "description": "Display session usage metrics and statistics" + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "update": { + "sessionUpdate": "config_option_update", + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "update": { + "sessionUpdate": "session_info_update", + "title": "Reply with Fixture complete.", + "updatedAt": "2026-09-28T16:16:24.804Z" + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "update": { + "sessionUpdate": "usage_update", + "used": 9949, + "size": 64000 + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "type": "assistant.usage", + "timestamp": "2026-09-28T16:16:24.934Z", + "data": { + "model": "gpt-4.1", + "inputTokens": 0, + "outputTokens": 0, + "cacheReadTokens": 0, + "cacheWriteTokens": 0, + "reasoningTokens": 0, + "cost": 0, + "duration": 2, + "timeToFirstTokenMs": 1.585917, + "outputTtftMs": 1.585958, + "interTokenLatencyMs": 0.08529099999999999, + "initiator": "user", + "interactionType": "conversation-agent", + "isByok": true, + "isAuto": false, + "maxPromptTokens": 64000, + "transport": "http", + "apiCallId": "fixture-1", + "rte": false, + "apiEndpoint": "/chat/completions", + "quotaSnapshots": {}, + "availableToolCount": 16, + "toolTokenCount": 5446, + "frontierSource": "estimated", + "cacheDetailsReported": false, + "numToolCalls": 1, + "toolCounts": { + "create": 1 + }, + "finishReason": "tool_calls", + "contentFilterTriggered": false + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "update": { + "sessionUpdate": "tool_call", + "toolCallId": "fixture-tool", + "title": "Creating ...T/paperclip-copilot-offline-0nlil9t0/denied.txt", + "kind": "edit", + "status": "pending", + "rawInput": { + "path": "/fixture/workspace/denied.txt", + "file_text": "MUST NOT EXIST" + }, + "locations": [ + { + "path": "/fixture/workspace/denied.txt" + } + ], + "content": [ + { + "type": "diff", + "path": "/fixture/workspace/denied.txt", + "oldText": "", + "newText": "MUST NOT EXIST" + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "id": 0, + "method": "session/request_permission", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "toolCall": { + "toolCallId": "fixture-tool", + "title": "Create file", + "kind": "edit", + "status": "pending", + "rawInput": { + "fileName": "/fixture/workspace/denied.txt", + "diff": "\ndiff --git a/fixture/workspace/denied.txt b/fixture/workspace/denied.txt\ncreate file mode 100644\nindex 0000000..0000000\n--- a/dev/null\n+++ b/fixture/workspace/denied.txt\n@@ -1,0 +1,1 @@\n+MUST NOT EXIST\n" + }, + "locations": [ + { + "path": "/fixture/workspace/denied.txt" + } + ] + }, + "options": [ + { + "optionId": "allow_once", + "kind": "allow_once", + "name": "Allow once" + }, + { + "optionId": "allow_always", + "kind": "allow_always", + "name": "Always allow" + }, + { + "optionId": "reject_once", + "kind": "reject_once", + "name": "Deny" + } + ] + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "fixture-tool", + "status": "failed", + "rawOutput": { + "message": "The user rejected this tool call.", + "code": "rejected" + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:24.942Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "43e0f054-4c7e-48c6-b798-e13f2c4b291d", + "type": "session.idle", + "timestamp": "2026-09-28T16:16:24.943Z", + "data": { + "mode": "interactive" + } + } + }, + { + "jsonrpc": "2.0", + "id": 3, + "result": { + "stopReason": "end_turn", + "usage": { + "inputTokens": 0, + "outputTokens": 0, + "totalTokens": 0, + "thoughtTokens": 0, + "cachedReadTokens": 0, + "cachedWriteTokens": 0 + } + } + } + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-acp-settlement-1.0.88.json b/packages/paperclip-runner/test/fixtures/copilot-acp-settlement-1.0.88.json new file mode 100644 index 00000000000..6e6eb7f2bcb --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-acp-settlement-1.0.88.json @@ -0,0 +1,1322 @@ +{ + "schema": "paperclip.copilot-acp-evidence/v1", + "harnessVersion": "1.0.88", + "package": "@github/copilot-darwin-arm64", + "executableSha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "modelSource": "deterministic loopback fixture, COPILOT_OFFLINE=true; not a live model qualification", + "scenario": "attached-shell", + "costUsd": 0, + "filesystemMarkerExistedAtPromptResult": true, + "filesystemMarkerExistedAfterPrompt": true, + "modelCalls": 3, + "modelToolNames": [ + "bash", + "read_bash", + "stop_bash", + "list_bash", + "view", + "create", + "edit", + "skill", + "sql", + "session_store_sql", + "read_agent", + "list_agents", + "write_agent", + "grep", + "glob", + "task" + ], + "permissionResponses": [ + { + "id": 0, + "outcome": { + "outcome": "selected", + "optionId": "allow_once" + } + } + ], + "wire": [ + { + "jsonrpc": "2.0", + "id": 1, + "result": { + "protocolVersion": 1, + "agentCapabilities": { + "loadSession": true, + "mcpCapabilities": { + "http": true, + "sse": true + }, + "promptCapabilities": { + "image": true, + "audio": false, + "embeddedContext": true + }, + "sessionCapabilities": { + "close": {}, + "list": {} + } + }, + "agentInfo": { + "name": "Copilot", + "title": "Copilot", + "version": "1.0.88" + }, + "authMethods": [ + { + "id": "copilot-login", + "name": "Log in with Copilot CLI", + "description": "Run `copilot login` in the terminal", + "_meta": { + "terminal-auth": { + "command": "/fixture/verified/copilot", + "args": [ + "login" + ], + "label": "Copilot Login" + } + } + } + ] + } + }, + { + "jsonrpc": "2.0", + "id": 2, + "result": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "modes": { + "availableModes": [ + { + "id": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "id": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "id": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "currentModeId": "https://agentclientprotocol.com/protocol/session-modes#agent" + }, + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ] + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "available_commands_update", + "availableCommands": [ + { + "name": "add-dir", + "description": "Allow file access to a directory and load its .github skills and agents as trusted configuration", + "input": { + "hint": "directory" + } + }, + { + "name": "allow-all", + "description": "Enable all permissions", + "input": { + "hint": "[on|off|show]" + } + }, + { + "name": "permissions", + "description": "Switch between permission modes", + "input": { + "hint": "[default|allow-all|show]" + } + }, + { + "name": "autopilot", + "description": "Toggle autopilot mode, or set an autopilot objective with an optional AI-credit limit (--max-ai-credits)", + "input": { + "hint": "[on|off|] [--max-ai-credits ]" + } + }, + { + "name": "compact", + "description": "Summarize conversation history to reduce context window usage. Optionally provide focus instructions.", + "input": { + "hint": "focus instructions" + } + }, + { + "name": "blame", + "description": "Trace code history with git blame and linked Copilot sessions", + "input": { + "hint": "text | pull request | commit" + } + }, + { + "name": "chronicle", + "description": "Session history tools and insights", + "input": { + "hint": "standup|search|tips|cost-tips|improve|reindex" + } + }, + { + "name": "computer", + "description": "Show or toggle Computer Use", + "input": { + "hint": "" + } + }, + { + "name": "context", + "description": "Show context window token usage and visualization" + }, + { + "name": "cwd", + "description": "Change working directory or show current directory", + "input": { + "hint": "directory" + } + }, + { + "name": "env", + "description": "Show loaded environment details (instructions, MCP servers, skills, agents, hooks, plugins, LSPs, extensions)" + }, + { + "name": "every", + "description": "Schedule a recurring prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "after", + "description": "Schedule a one-shot prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "fleet", + "description": "Enable fleet mode for parallel subagent execution", + "input": { + "hint": "prompt" + } + }, + { + "name": "init", + "description": "Initialize Copilot instructions for this repository", + "input": { + "hint": "" + } + }, + { + "name": "list-dirs", + "description": "Display allowed directories and exact session path grants" + }, + { + "name": "mcp", + "description": "Manage MCP server configuration", + "input": { + "hint": "" + } + }, + { + "name": "memory", + "description": "Show memory status, or enable/disable memory across sessions", + "input": { + "hint": "" + } + }, + { + "name": "model", + "description": "Select the AI model for this session (use 'auto' to let Copilot pick automatically). Use /config model to set the user default, '--repo'/'--local' to set the repo default, or 'plan'/'--plan' to set the plan-mode model.", + "input": { + "hint": "model" + } + }, + { + "name": "plan", + "description": "Create an implementation plan before coding", + "input": { + "hint": "prompt" + } + }, + { + "name": "plugin", + "description": "Manage plugins and plugin marketplaces", + "input": { + "hint": "" + } + }, + { + "name": "rename", + "description": "Rename the current session", + "input": { + "hint": "name" + } + }, + { + "name": "research", + "description": "Run deep research investigation using GitHub search and web sources", + "input": { + "hint": "topic" + } + }, + { + "name": "remote", + "description": "Show remote status or toggle remote control from GitHub web and mobile", + "input": { + "hint": "" + } + }, + { + "name": "reset-allowed-tools", + "description": "Reset session tool and exact-path approvals" + }, + { + "name": "review", + "description": "Run code review agent to analyze changes", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "sandbox", + "description": "Manage sandbox settings, including file path permissions, network permissions, and more", + "input": { + "hint": "" + } + }, + { + "name": "security-review", + "description": "Analyze staged and unstaged changes for security vulnerabilities.", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "session", + "description": "View and manage sessions", + "input": { + "hint": "" + } + }, + { + "name": "share", + "description": "Share the session via GitHub and get a shareable link", + "input": { + "hint": "" + } + }, + { + "name": "skills", + "description": "Manage skills for enhanced capabilities", + "input": { + "hint": "" + } + }, + { + "name": "subconscious", + "description": "Manage Copilot Subconscious memory consolidation", + "input": { + "hint": "" + } + }, + { + "name": "usage", + "description": "Display session usage metrics and statistics" + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "available_commands_update", + "availableCommands": [ + { + "name": "add-dir", + "description": "Allow file access to a directory and load its .github skills and agents as trusted configuration", + "input": { + "hint": "directory" + } + }, + { + "name": "allow-all", + "description": "Enable all permissions", + "input": { + "hint": "[on|off|show]" + } + }, + { + "name": "permissions", + "description": "Switch between permission modes", + "input": { + "hint": "[default|allow-all|show]" + } + }, + { + "name": "autopilot", + "description": "Toggle autopilot mode, or set an autopilot objective with an optional AI-credit limit (--max-ai-credits)", + "input": { + "hint": "[on|off|] [--max-ai-credits ]" + } + }, + { + "name": "compact", + "description": "Summarize conversation history to reduce context window usage. Optionally provide focus instructions.", + "input": { + "hint": "focus instructions" + } + }, + { + "name": "blame", + "description": "Trace code history with git blame and linked Copilot sessions", + "input": { + "hint": "text | pull request | commit" + } + }, + { + "name": "chronicle", + "description": "Session history tools and insights", + "input": { + "hint": "standup|search|tips|cost-tips|improve|reindex" + } + }, + { + "name": "computer", + "description": "Show or toggle Computer Use", + "input": { + "hint": "" + } + }, + { + "name": "context", + "description": "Show context window token usage and visualization" + }, + { + "name": "cwd", + "description": "Change working directory or show current directory", + "input": { + "hint": "directory" + } + }, + { + "name": "env", + "description": "Show loaded environment details (instructions, MCP servers, skills, agents, hooks, plugins, LSPs, extensions)" + }, + { + "name": "every", + "description": "Schedule a recurring prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "after", + "description": "Schedule a one-shot prompt or skill for this session", + "input": { + "hint": " " + } + }, + { + "name": "fleet", + "description": "Enable fleet mode for parallel subagent execution", + "input": { + "hint": "prompt" + } + }, + { + "name": "init", + "description": "Initialize Copilot instructions for this repository", + "input": { + "hint": "" + } + }, + { + "name": "list-dirs", + "description": "Display allowed directories and exact session path grants" + }, + { + "name": "mcp", + "description": "Manage MCP server configuration", + "input": { + "hint": "" + } + }, + { + "name": "memory", + "description": "Show memory status, or enable/disable memory across sessions", + "input": { + "hint": "" + } + }, + { + "name": "model", + "description": "Select the AI model for this session (use 'auto' to let Copilot pick automatically). Use /config model to set the user default, '--repo'/'--local' to set the repo default, or 'plan'/'--plan' to set the plan-mode model.", + "input": { + "hint": "model" + } + }, + { + "name": "plan", + "description": "Create an implementation plan before coding", + "input": { + "hint": "prompt" + } + }, + { + "name": "plugin", + "description": "Manage plugins and plugin marketplaces", + "input": { + "hint": "" + } + }, + { + "name": "rename", + "description": "Rename the current session", + "input": { + "hint": "name" + } + }, + { + "name": "research", + "description": "Run deep research investigation using GitHub search and web sources", + "input": { + "hint": "topic" + } + }, + { + "name": "remote", + "description": "Show remote status or toggle remote control from GitHub web and mobile", + "input": { + "hint": "" + } + }, + { + "name": "reset-allowed-tools", + "description": "Reset session tool and exact-path approvals" + }, + { + "name": "review", + "description": "Run code review agent to analyze changes", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "sandbox", + "description": "Manage sandbox settings, including file path permissions, network permissions, and more", + "input": { + "hint": "" + } + }, + { + "name": "security-review", + "description": "Analyze staged and unstaged changes for security vulnerabilities.", + "input": { + "hint": "additional instructions" + } + }, + { + "name": "session", + "description": "View and manage sessions", + "input": { + "hint": "" + } + }, + { + "name": "share", + "description": "Share the session via GitHub and get a shareable link", + "input": { + "hint": "" + } + }, + { + "name": "skills", + "description": "Manage skills for enhanced capabilities", + "input": { + "hint": "" + } + }, + { + "name": "subconscious", + "description": "Manage Copilot Subconscious memory consolidation", + "input": { + "hint": "" + } + }, + { + "name": "usage", + "description": "Display session usage metrics and statistics" + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "config_option_update", + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "session_info_update", + "title": "Reply with Fixture complete.", + "updatedAt": "2026-09-28T16:16:25.619Z" + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "usage_update", + "used": 9943, + "size": 64000 + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "assistant.usage", + "timestamp": "2026-09-28T16:16:25.692Z", + "data": { + "model": "gpt-4.1", + "inputTokens": 0, + "outputTokens": 0, + "cacheReadTokens": 0, + "cacheWriteTokens": 0, + "reasoningTokens": 0, + "cost": 0, + "duration": 2, + "timeToFirstTokenMs": 1.564876, + "outputTtftMs": 1.564917, + "interTokenLatencyMs": 0.101458, + "initiator": "user", + "interactionType": "conversation-agent", + "isByok": true, + "isAuto": false, + "maxPromptTokens": 64000, + "transport": "http", + "apiCallId": "fixture-1", + "rte": false, + "apiEndpoint": "/chat/completions", + "quotaSnapshots": {}, + "availableToolCount": 16, + "toolTokenCount": 5446, + "frontierSource": "estimated", + "cacheDetailsReported": false, + "numToolCalls": 1, + "toolCounts": { + "bash": 1 + }, + "finishReason": "tool_calls", + "contentFilterTriggered": false + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "tool_call", + "toolCallId": "fixture-tool", + "title": "Bounded settlement fixture", + "kind": "execute", + "status": "pending", + "rawInput": { + "command": "sleep 2; printf ACP_SHELL_DONE > settlement.txt", + "description": "Bounded settlement fixture", + "mode": "async", + "detach": false + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.720Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.720Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.721Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.721Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "id": 0, + "method": "session/request_permission", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "toolCall": { + "toolCallId": "fixture-tool", + "title": "Bounded settlement fixture", + "kind": "execute", + "status": "pending", + "rawInput": { + "command": "sleep 2; printf ACP_SHELL_DONE > settlement.txt", + "commands": [ + "sleep 2; printf ACP_SHELL_DONE > settlement.txt" + ] + } + }, + "options": [ + { + "optionId": "allow_once", + "kind": "allow_once", + "name": "Allow once" + }, + { + "optionId": "allow_always", + "kind": "allow_always", + "name": "Always allow" + }, + { + "optionId": "reject_once", + "kind": "reject_once", + "name": "Deny" + } + ] + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.724Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.724Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.724Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.725Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.725Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.725Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.734Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.736Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:25.736Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "fixture-tool", + "status": "completed", + "content": [ + { + "type": "content", + "content": { + "type": "text", + "text": "" + } + } + ], + "rawOutput": { + "content": "", + "detailedContent": "" + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "usage_update", + "used": 10012, + "size": 64000 + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "agent_message_chunk", + "content": { + "type": "text", + "text": "Fixture complete." + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "assistant.usage", + "timestamp": "2026-09-28T16:16:25.743Z", + "data": { + "model": "gpt-4.1", + "inputTokens": 10, + "outputTokens": 3, + "cacheReadTokens": 0, + "cacheWriteTokens": 0, + "reasoningTokens": 0, + "cost": 0, + "duration": 1, + "timeToFirstTokenMs": 0.7036250000000001, + "outputTtftMs": 0.703667, + "interTokenLatencyMs": 0.12470800000000001, + "initiator": "agent", + "interactionType": "conversation-agent", + "isByok": true, + "isAuto": false, + "maxPromptTokens": 64000, + "transport": "http", + "apiCallId": "fixture-1", + "rte": false, + "apiEndpoint": "/chat/completions", + "quotaSnapshots": {}, + "availableToolCount": 16, + "toolTokenCount": 5446, + "frontierSource": "estimated", + "cacheDetailsReported": false, + "numToolCalls": 0, + "toolCounts": {}, + "finishReason": "stop", + "contentFilterTriggered": false + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "fixture-tool", + "content": [ + { + "type": "content", + "content": { + "type": "text", + "text": "" + } + } + ] + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.747Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.748Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.748Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "tool_call", + "toolCallId": "d37cae34-0e97-44d6-8bd0-67b879d729d8", + "title": "Reading shell output", + "kind": "read", + "status": "pending", + "rawInput": { + "shellId": "0", + "delay": 0 + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "tool_call_update", + "toolCallId": "d37cae34-0e97-44d6-8bd0-67b879d729d8", + "status": "completed", + "content": [ + { + "type": "content", + "content": { + "type": "text", + "text": "\n" + } + } + ], + "rawOutput": { + "content": "\n", + "detailedContent": "\n" + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "usage_update", + "used": 10142, + "size": 64000 + } + } + }, + { + "jsonrpc": "2.0", + "method": "session/update", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "update": { + "sessionUpdate": "agent_message_chunk", + "content": { + "type": "text", + "text": "Fixture complete." + } + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "assistant.usage", + "timestamp": "2026-09-28T16:16:27.768Z", + "data": { + "model": "gpt-4.1", + "inputTokens": 10, + "outputTokens": 3, + "cacheReadTokens": 0, + "cacheWriteTokens": 0, + "reasoningTokens": 0, + "cost": 0, + "duration": 1, + "timeToFirstTokenMs": 0.794083, + "outputTtftMs": 0.7941239999999999, + "interTokenLatencyMs": 0.115041, + "initiator": "agent", + "interactionType": "conversation-agent", + "isByok": true, + "isAuto": false, + "maxPromptTokens": 64000, + "transport": "http", + "apiCallId": "fixture-1", + "rte": false, + "apiEndpoint": "/chat/completions", + "quotaSnapshots": {}, + "availableToolCount": 16, + "toolTokenCount": 5446, + "frontierSource": "estimated", + "cacheDetailsReported": false, + "numToolCalls": 0, + "toolCounts": {}, + "finishReason": "stop", + "contentFilterTriggered": false + } + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.772Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.773Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.773Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.background_tasks_changed", + "timestamp": "2026-09-28T16:16:27.773Z", + "data": {} + } + }, + { + "jsonrpc": "2.0", + "method": "github.com/copilot/sessionEvent", + "params": { + "sessionId": "08200935-7bdc-42de-8830-8ec1fc23b552", + "type": "session.idle", + "timestamp": "2026-09-28T16:16:27.775Z", + "data": { + "mode": "interactive" + } + } + }, + { + "jsonrpc": "2.0", + "id": 3, + "result": { + "stopReason": "end_turn", + "usage": { + "inputTokens": 20, + "outputTokens": 6, + "totalTokens": 26, + "thoughtTokens": 0, + "cachedReadTokens": 0, + "cachedWriteTokens": 0 + } + } + } + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-authenticated-discovery-1.0.88.json b/packages/paperclip-runner/test/fixtures/copilot-authenticated-discovery-1.0.88.json new file mode 100644 index 00000000000..435eb1be99d --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-authenticated-discovery-1.0.88.json @@ -0,0 +1,855 @@ +{ + "schema": "paperclip.copilot-authenticated-discovery/v1", + "observedAt": "2026-09-28T19:15:41.413Z", + "harnessVersion": "1.0.88", + "sourceRevision": "5272fc6398d42344d1888a3f97ca6909684eefbf", + "providerPackDigest": "sha256:4ba17b2455b0ab92cfe6ee223f77708379fe219792ccb66dbdef70060e6e22e1", + "profileDigest": "sha256:b18c01603dd0169d233140709cfaa8bf5304a03cf5de78ca4f625f30013e8457", + "agentCapabilities": { + "loadSession": true, + "mcpCapabilities": { + "http": true, + "sse": true + }, + "promptCapabilities": { + "image": true, + "audio": false, + "embeddedContext": true + }, + "sessionCapabilities": { + "close": {}, + "list": {} + } + }, + "models": { + "availableModels": [ + { + "modelId": "auto", + "name": "Auto", + "description": "Let Copilot pick the best model" + }, + { + "modelId": "gpt-5.6-terra", + "name": "GPT-5.6 Terra", + "description": "GPT-5.6 Terra", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "gpt-5.6-luna", + "name": "GPT-5.6 Luna", + "description": "GPT-5.6 Luna", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "gpt-5.4", + "name": "GPT-5.4", + "description": "GPT-5.4", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "gpt-5.4-mini", + "name": "GPT-5.4 mini", + "description": "GPT-5.4 mini", + "_meta": { + "copilotUsage": "0.33x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "gpt-5.3-codex", + "name": "GPT-5.3-Codex", + "description": "GPT-5.3-Codex", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "gpt-5-mini", + "name": "GPT-5 mini", + "description": "GPT-5 mini", + "_meta": { + "copilotUsage": "0x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "claude-sonnet-5", + "name": "Claude Sonnet 5", + "description": "Claude Sonnet 5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "claude-haiku-4.5", + "name": "Claude Haiku 4.5", + "description": "Claude Haiku 4.5", + "_meta": { + "copilotUsage": "0.33x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "mai-code-1.1-flash", + "name": "MAI-Code-1.1-Flash", + "description": "MAI-Code-1.1-Flash", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "gemini-3.8-flash", + "name": "Gemini 3.8 Flash", + "description": "Gemini 3.8 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "gemini-3.7-flash", + "name": "Gemini 3.7 Flash", + "description": "Gemini 3.7 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "gemini-3.6-flash", + "name": "Gemini 3.6 Flash", + "description": "Gemini 3.6 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "gemini-3.5-flash", + "name": "Gemini 3.5 Flash", + "description": "Gemini 3.5 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "grok-4.5", + "name": "Grok 4.5", + "description": "Grok 4.5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "kimi-k3", + "name": "Kimi K3", + "description": "Kimi K3", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "kimi-k2.7-code", + "name": "Kimi K2.7 Code", + "description": "Kimi K2.7 Code", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "claude-sonnet-5.5", + "name": "Claude Sonnet 5.5", + "description": "Claude Sonnet 5.5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "gpt-6-luna", + "name": "GPT-6 Luna", + "description": "GPT-6 Luna", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "modelId": "grok-4.6", + "name": "Grok 4.6", + "description": "Grok 4.6", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "modelId": "grok-4.7", + "name": "Grok 4.7", + "description": "Grok 4.7", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + } + ], + "currentModelId": "gpt-5.6-terra" + }, + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "model", + "name": "Model", + "category": "model", + "description": "The AI model Copilot uses to generate responses.", + "currentValue": "gpt-5.6-terra", + "options": [ + { + "value": "auto", + "name": "Auto", + "description": "Let Copilot pick the best model", + "_meta": null + }, + { + "value": "gpt-5.6-terra", + "name": "GPT-5.6 Terra", + "description": "GPT-5.6 Terra", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-5.6-luna", + "name": "GPT-5.6 Luna", + "description": "GPT-5.6 Luna", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gpt-5.4", + "name": "GPT-5.4", + "description": "GPT-5.4", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-5.4-mini", + "name": "GPT-5.4 mini", + "description": "GPT-5.4 mini", + "_meta": { + "copilotUsage": "0.33x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gpt-5.3-codex", + "name": "GPT-5.3-Codex", + "description": "GPT-5.3-Codex", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-5-mini", + "name": "GPT-5 mini", + "description": "GPT-5 mini", + "_meta": { + "copilotUsage": "0x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "claude-sonnet-5", + "name": "Claude Sonnet 5", + "description": "Claude Sonnet 5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "claude-haiku-4.5", + "name": "Claude Haiku 4.5", + "description": "Claude Haiku 4.5", + "_meta": { + "copilotUsage": "0.33x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "mai-code-1.1-flash", + "name": "MAI-Code-1.1-Flash", + "description": "MAI-Code-1.1-Flash", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.8-flash", + "name": "Gemini 3.8 Flash", + "description": "Gemini 3.8 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.7-flash", + "name": "Gemini 3.7 Flash", + "description": "Gemini 3.7 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.6-flash", + "name": "Gemini 3.6 Flash", + "description": "Gemini 3.6 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.5-flash", + "name": "Gemini 3.5 Flash", + "description": "Gemini 3.5 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "grok-4.5", + "name": "Grok 4.5", + "description": "Grok 4.5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "kimi-k3", + "name": "Kimi K3", + "description": "Kimi K3", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "kimi-k2.7-code", + "name": "Kimi K2.7 Code", + "description": "Kimi K2.7 Code", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "claude-sonnet-5.5", + "name": "Claude Sonnet 5.5", + "description": "Claude Sonnet 5.5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-6-luna", + "name": "GPT-6 Luna", + "description": "GPT-6 Luna", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "grok-4.6", + "name": "Grok 4.6", + "description": "Grok 4.6", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "grok-4.7", + "name": "Grok 4.7", + "description": "Grok 4.7", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + } + ] + }, + { + "type": "select", + "id": "reasoning_effort", + "name": "Reasoning Effort", + "category": "thought_level", + "description": "How much reasoning the model performs before responding. Higher effort can improve quality at the cost of speed.", + "currentValue": "medium", + "options": [ + { + "value": "none", + "name": "none", + "description": "No additional reasoning; fastest responses." + }, + { + "value": "low", + "name": "low", + "description": "Minimal reasoning before responding." + }, + { + "value": "medium", + "name": "medium", + "description": "Balanced reasoning and speed." + }, + { + "value": "high", + "name": "high", + "description": "More thorough reasoning; slower responses." + }, + { + "value": "xhigh", + "name": "xhigh", + "description": "Extensive reasoning for the hardest problems." + }, + { + "value": "max", + "name": "max", + "description": "Maximum reasoning; slowest but most thorough." + } + ] + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ], + "promptSent": false, + "qualification": "pending; metadata discovery only", + "observedMethods": { + "session/update": 3 + }, + "modelSelection": { + "requestedModel": "gpt-5.6-luna", + "succeeded": true, + "response": {}, + "configEcho": { + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "model", + "name": "Model", + "category": "model", + "description": "The AI model Copilot uses to generate responses.", + "currentValue": "gpt-5.6-luna", + "options": [ + { + "value": "auto", + "name": "Auto", + "description": "Let Copilot pick the best model", + "_meta": null + }, + { + "value": "gpt-5.6-terra", + "name": "GPT-5.6 Terra", + "description": "GPT-5.6 Terra", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-5.6-luna", + "name": "GPT-5.6 Luna", + "description": "GPT-5.6 Luna", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gpt-5.4", + "name": "GPT-5.4", + "description": "GPT-5.4", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-5.4-mini", + "name": "GPT-5.4 mini", + "description": "GPT-5.4 mini", + "_meta": { + "copilotUsage": "0.33x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gpt-5.3-codex", + "name": "GPT-5.3-Codex", + "description": "GPT-5.3-Codex", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-5-mini", + "name": "GPT-5 mini", + "description": "GPT-5 mini", + "_meta": { + "copilotUsage": "0x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "claude-sonnet-5", + "name": "Claude Sonnet 5", + "description": "Claude Sonnet 5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "claude-haiku-4.5", + "name": "Claude Haiku 4.5", + "description": "Claude Haiku 4.5", + "_meta": { + "copilotUsage": "0.33x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "mai-code-1.1-flash", + "name": "MAI-Code-1.1-Flash", + "description": "MAI-Code-1.1-Flash", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.8-flash", + "name": "Gemini 3.8 Flash", + "description": "Gemini 3.8 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.7-flash", + "name": "Gemini 3.7 Flash", + "description": "Gemini 3.7 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.6-flash", + "name": "Gemini 3.6 Flash", + "description": "Gemini 3.6 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "gemini-3.5-flash", + "name": "Gemini 3.5 Flash", + "description": "Gemini 3.5 Flash", + "_meta": { + "copilotUsage": "14x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "grok-4.5", + "name": "Grok 4.5", + "description": "Grok 4.5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "kimi-k3", + "name": "Kimi K3", + "description": "Kimi K3", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "kimi-k2.7-code", + "name": "Kimi K2.7 Code", + "description": "Kimi K2.7 Code", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "claude-sonnet-5.5", + "name": "Claude Sonnet 5.5", + "description": "Claude Sonnet 5.5", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "gpt-6-luna", + "name": "GPT-6 Luna", + "description": "GPT-6 Luna", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "low" + } + }, + { + "value": "grok-4.6", + "name": "Grok 4.6", + "description": "Grok 4.6", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + }, + { + "value": "grok-4.7", + "name": "Grok 4.7", + "description": "Grok 4.7", + "_meta": { + "copilotUsage": "1x", + "copilotEnablement": "enabled", + "copilotPriceCategory": "medium" + } + } + ] + }, + { + "type": "select", + "id": "reasoning_effort", + "name": "Reasoning Effort", + "category": "thought_level", + "description": "How much reasoning the model performs before responding. Higher effort can improve quality at the cost of speed.", + "currentValue": "medium", + "options": [ + { + "value": "none", + "name": "none", + "description": "No additional reasoning; fastest responses." + }, + { + "value": "low", + "name": "low", + "description": "Minimal reasoning before responding." + }, + { + "value": "medium", + "name": "medium", + "description": "Balanced reasoning and speed." + }, + { + "value": "high", + "name": "high", + "description": "More thorough reasoning; slower responses." + }, + { + "value": "xhigh", + "name": "xhigh", + "description": "Extensive reasoning for the hardest problems." + }, + { + "value": "max", + "name": "max", + "description": "Maximum reasoning; slowest but most thorough." + } + ] + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ] + } + }, + "sessionClosed": true, + "promptRequestsSent": 0, + "inferenceVerified": false +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-canonical-live-proof-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-canonical-live-proof-2026-09-28.json new file mode 100644 index 00000000000..7e9f398e6bc --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-canonical-live-proof-2026-09-28.json @@ -0,0 +1,79 @@ +{ + "schema": "paperclip.copilot-canonical-live-proof/v1", + "providerVersion": "1.0.88", + "model": "gpt-5.6-luna", + "modelProvider": "github", + "qualificationStatus": "pending", + "sourceRevision": "92fcaf0c721a7adb3bc4dcf7a9ee6e6784b81e71", + "runnerdSourceRevision": "f77ae83aeb6d802c73f1c955760017ae272eba29", + "runnerdSha256": "sha256:986060810ba7377c6ddd64a5d89e322d0a434e1a9c80400e6d4acf5934bfc421", + "providerPackDigest": "sha256:172199bd72d7cf171344dd1e4b9eca240f8bbe2969c5e7df30c38c717820f890", + "evalRevision": "b01676fdb7a2783f7b3635a90ba9583041e86338", + "caseId": "get-task-context", + "startedAt": "2026-09-28T19:29:25.165Z", + "durationMs": 33383, + "promptRequestsSent": 1, + "upstreamModelRequestCount": null, + "semanticOperations": [ + { + "operationId": "get_task_context", + "calls": 1, + "successfulResults": 1 + } + ], + "terminalStatus": "completed", + "runnerExited": true, + "credentialLeakDetected": false, + "usage": { + "agentTurns": 1, + "providerRequests": 1, + "inputTokens": 24258, + "outputTokens": 441, + "cachedInputTokens": 11781, + "reasoningTokens": 0, + "providerReportedCostNanodollars": null, + "providerReportedCostProvenance": "unavailable", + "estimatedCostNanodollars": 3260220, + "pricingVersion": "provider-list-prices-2026-09-07-openrouter", + "ratesUsdPerMillionTokens": { + "input": 0.2, + "cachedInput": 0.02, + "output": 1.2 + }, + "costCoverage": "estimated" + }, + "usageCountProvenance": "providerRequests=1 is the runner terminal receipt count; actual provider HTTP request count is unverified", + "costReconciliation": { + "dashboardCreditsUsed": 0, + "dashboardCreditsTotal": 1500, + "additionalUsageEnabled": false, + "cashBudgetUsd": 0, + "creditDelta": null, + "note": "Dashboard still shows zero after this small call; billing lag or rounding prevents exact credit attribution. The catalog estimate is not a GitHub USD receipt." + }, + "originalArtifactSha256": "sha256:49690c56fe0cb956e7fc6c946601d345667d1f8e7f91b551a7547df93203c75f", + "originalRosterExitCode": 1, + "offlineScore": { + "passed": true, + "checksPassed": 4, + "checksTotal": 4, + "artifactSha256": "sha256:17e3148fc1526574c59cb14377e5c28bec6305cb85847e61f5cdff43d0cbb644", + "semanticDigest": "sha256:19da8536da1f821121e15b7dc328c0f7557b19bfc52828c1c4bb4b3e16cff037", + "additionalProviderCalls": 0, + "reason": "Post-turn provenance packaging failed; exact source tarball rebuilt, same retained runtime artifact scored offline. Original attempt and recovery metadata preserved." + }, + "priorAttempt": { + "stage": "session.open", + "result": "infrastructure_failure_before_prompt", + "cause": "stale Rust artifact lacked explicit credential binding propagation", + "promptRequestsSent": 0 + }, + "pendingQualification": [ + "Product E2E local and Daytona", + "restrictive permissions denial with no side effects", + "interactive questions and applicable plan decisions", + "warm continuation and recovery", + "background settlement", + "exact credit reconciliation" + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-event-inventory-1.0.88.json b/packages/paperclip-runner/test/fixtures/copilot-event-inventory-1.0.88.json new file mode 100644 index 00000000000..50a33de4ad7 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-event-inventory-1.0.88.json @@ -0,0 +1,3312 @@ +{ + "schema": "paperclip.copilot-capability-inventory/v1", + "harnessVersion": "1.0.88", + "source": "Exact darwin-arm64 distribution embedded schemas/session-events.schema.json and app.js; no live model inference", + "sourceSchemaSha256": "d8cb713c05d5278a68dde5c5d4482574f836e922ae13aa06f82474c209a7c6e9", + "events": [ + { + "event": "agent.interrupted", + "fields": [ + "activity", + "apiEndpoint", + "cancelPhase", + "elapsedMs", + "interruptedAgentCount", + "model", + "outputTtftMs", + "reasoningEffort", + "safeToolNames", + "toolCallIds", + "toolNames", + "transport", + "turn" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "activity": "unused_native_passthrough_not_subscribed", + "apiEndpoint": "unused_native_passthrough_not_subscribed", + "cancelPhase": "unused_native_passthrough_not_subscribed", + "elapsedMs": "unused_native_passthrough_not_subscribed", + "interruptedAgentCount": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "outputTtftMs": "unused_native_passthrough_not_subscribed", + "reasoningEffort": "unused_native_passthrough_not_subscribed", + "safeToolNames": "unused_native_passthrough_not_subscribed", + "toolCallIds": "unused_native_passthrough_not_subscribed", + "toolNames": "unused_native_passthrough_not_subscribed", + "transport": "unused_native_passthrough_not_subscribed", + "turn": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.fusion_phase_activity", + "fields": [ + "activity", + "conversationScope", + "fusionId", + "pattern", + "phaseId", + "phaseKind", + "role", + "toolCallId", + "totalResponseSizeBytes" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "activity": "unused_native_passthrough_not_subscribed", + "conversationScope": "unused_native_passthrough_not_subscribed", + "fusionId": "unused_native_passthrough_not_subscribed", + "pattern": "unused_native_passthrough_not_subscribed", + "phaseId": "unused_native_passthrough_not_subscribed", + "phaseKind": "unused_native_passthrough_not_subscribed", + "role": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed", + "totalResponseSizeBytes": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.fusion_phase_completed", + "fields": [ + "content", + "conversationScope", + "durationMs", + "fusionId", + "model", + "phaseId", + "phaseKind", + "projectionMessage", + "projectionMode", + "role", + "stagedTerminal", + "status", + "usage", + "verdict" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "content": "unused_native_passthrough_not_subscribed", + "conversationScope": "unused_native_passthrough_not_subscribed", + "durationMs": "unused_native_passthrough_not_subscribed", + "fusionId": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "phaseId": "unused_native_passthrough_not_subscribed", + "phaseKind": "unused_native_passthrough_not_subscribed", + "projectionMessage": "unused_native_passthrough_not_subscribed", + "projectionMode": "unused_native_passthrough_not_subscribed", + "role": "unused_native_passthrough_not_subscribed", + "stagedTerminal": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed", + "usage": "unused_native_passthrough_not_subscribed", + "verdict": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.fusion_phase_failed", + "fields": [ + "conversationScope", + "degradedToPhaseId", + "durationMs", + "errorMessage", + "fusionId", + "model", + "phaseId", + "phaseKind", + "reason", + "role", + "status", + "usage" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "conversationScope": "unused_native_passthrough_not_subscribed", + "degradedToPhaseId": "unused_native_passthrough_not_subscribed", + "durationMs": "unused_native_passthrough_not_subscribed", + "errorMessage": "unused_native_passthrough_not_subscribed", + "fusionId": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "phaseId": "unused_native_passthrough_not_subscribed", + "phaseKind": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed", + "role": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed", + "usage": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.fusion_phase_started", + "fields": [ + "conversationScope", + "fusionId", + "model", + "pattern", + "phaseId", + "phaseKind", + "role" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "conversationScope": "unused_native_passthrough_not_subscribed", + "fusionId": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "pattern": "unused_native_passthrough_not_subscribed", + "phaseId": "unused_native_passthrough_not_subscribed", + "phaseKind": "unused_native_passthrough_not_subscribed", + "role": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.idle", + "fields": [ + "aborted" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "aborted": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.intent", + "fields": [ + "intent" + ], + "standardAcp": "agent_thought_chunk", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "intent": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "assistant.message", + "fields": [ + "apiCallId", + "chunkCount", + "chunkIndex", + "citations", + "clientRequestId", + "content", + "encryptedContent", + "fusion", + "interactionId", + "messageId", + "model", + "originatingMessageId", + "outputTokens", + "parentToolCallId", + "phase", + "reasoningBlocks", + "reasoningOpaque", + "reasoningText", + "reasoningWireField", + "requestId", + "rte", + "serverTools", + "serviceRequestId", + "toolRequests", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "apiCallId": "unused_native_passthrough_not_subscribed", + "chunkCount": "unused_native_passthrough_not_subscribed", + "chunkIndex": "unused_native_passthrough_not_subscribed", + "citations": "unused_native_passthrough_not_subscribed", + "clientRequestId": "unused_native_passthrough_not_subscribed", + "content": "unused_native_passthrough_not_subscribed", + "encryptedContent": "unused_native_passthrough_not_subscribed", + "fusion": "unused_native_passthrough_not_subscribed", + "interactionId": "unused_native_passthrough_not_subscribed", + "messageId": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "originatingMessageId": "unused_native_passthrough_not_subscribed", + "outputTokens": "unused_native_passthrough_not_subscribed", + "parentToolCallId": "unused_native_passthrough_not_subscribed", + "phase": "unused_native_passthrough_not_subscribed", + "reasoningBlocks": "unused_native_passthrough_not_subscribed", + "reasoningOpaque": "unused_native_passthrough_not_subscribed", + "reasoningText": "unused_native_passthrough_not_subscribed", + "reasoningWireField": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "rte": "unused_native_passthrough_not_subscribed", + "serverTools": "unused_native_passthrough_not_subscribed", + "serviceRequestId": "unused_native_passthrough_not_subscribed", + "toolRequests": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.message_delta", + "fields": [ + "deltaContent", + "messageId", + "parentToolCallId" + ], + "standardAcp": "agent_message_chunk", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "deltaContent": "standard_projection_field_retention_not_individually_qualified", + "messageId": "standard_projection_field_retention_not_individually_qualified", + "parentToolCallId": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "assistant.message_start", + "fields": [ + "messageId", + "phase" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "messageId": "unused_native_passthrough_not_subscribed", + "phase": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.reasoning", + "fields": [ + "content", + "reasoningId", + "rte" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "content": "unused_native_passthrough_not_subscribed", + "reasoningId": "unused_native_passthrough_not_subscribed", + "rte": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.reasoning_delta", + "fields": [ + "deltaContent", + "reasoningId" + ], + "standardAcp": "agent_thought_chunk", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "deltaContent": "standard_projection_field_retention_not_individually_qualified", + "reasoningId": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "assistant.server_tool_progress", + "fields": [ + "kind", + "outputIndex", + "status" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "kind": "unused_native_passthrough_not_subscribed", + "outputIndex": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.streaming_delta", + "fields": [ + "totalResponseSizeBytes" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "totalResponseSizeBytes": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.tool_call_delta", + "fields": [ + "inputDelta", + "toolCallId", + "toolName", + "toolType" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "inputDelta": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed", + "toolName": "unused_native_passthrough_not_subscribed", + "toolType": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.turn_end", + "fields": [ + "model", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "model": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.turn_retry", + "fields": [ + "model", + "reason", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "model": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.turn_start", + "fields": [ + "interactionId", + "model", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "interactionId": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "assistant.usage", + "fields": [ + "acceptedPredictionTokens", + "apiCallId", + "apiEndpoint", + "availableToolCount", + "cacheDetailsReported", + "cacheExpiresAt", + "cacheReadTokens", + "cacheTtlSeconds", + "cacheWriteTokens", + "contentFilterTriggered", + "copilotUsage", + "cost", + "duration", + "finishReason", + "frontierSource", + "fusion", + "initiator", + "inputTokens", + "interTokenLatencyMs", + "interactionType", + "isAuto", + "isByok", + "maxOutputTokens", + "maxPromptTokens", + "model", + "numToolCalls", + "outputTokens", + "outputTtftMs", + "parentToolCallId", + "providerCallId", + "quotaSnapshots", + "reasoningEffort", + "reasoningSummary", + "reasoningTokens", + "rejectedPredictionTokens", + "rte", + "serviceRequestId", + "thinkingDroppedBlocks", + "thinkingDroppedReasons", + "timeToFirstTokenMs", + "toolCounts", + "toolTokenCount", + "transport" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "acceptedPredictionTokens": "projected", + "apiCallId": "projected", + "apiEndpoint": "projected", + "availableToolCount": "projected", + "cacheDetailsReported": "projected", + "cacheExpiresAt": "unused_declared_field", + "cacheReadTokens": "projected", + "cacheTtlSeconds": "projected", + "cacheWriteTokens": "projected", + "contentFilterTriggered": "projected", + "copilotUsage": "only_totalNanoAiu_projected_nested_remainder_unused", + "cost": "renamed_model_multiplier_not_usd", + "duration": "projected", + "finishReason": "projected", + "frontierSource": "unused_declared_field", + "fusion": "unused_declared_field", + "initiator": "projected", + "inputTokens": "projected", + "interTokenLatencyMs": "projected", + "interactionType": "projected", + "isAuto": "projected", + "isByok": "projected", + "maxOutputTokens": "projected", + "maxPromptTokens": "projected", + "model": "projected", + "numToolCalls": "projected", + "outputTokens": "projected", + "outputTtftMs": "projected", + "parentToolCallId": "projected", + "providerCallId": "unused_declared_field", + "quotaSnapshots": "unused_declared_field", + "reasoningEffort": "projected", + "reasoningSummary": "unused_declared_field", + "reasoningTokens": "projected", + "rejectedPredictionTokens": "projected", + "rte": "unused_declared_field", + "serviceRequestId": "unused_declared_field", + "thinkingDroppedBlocks": "projected", + "thinkingDroppedReasons": "unused_declared_field", + "timeToFirstTokenMs": "projected", + "toolCounts": "unused_declared_field", + "toolTokenCount": "projected", + "transport": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "auto_mode_switch.completed", + "fields": [ + "requestId", + "response" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "requestId": "unused_native_passthrough_not_subscribed", + "response": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "auto_mode_switch.requested", + "fields": [ + "errorCode", + "requestId", + "retryAfterSeconds" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "errorCode": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "retryAfterSeconds": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "capabilities.changed", + "fields": [ + "ui" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "ui": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "command.completed", + "fields": [ + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "command.execute", + "fields": [ + "args", + "command", + "commandName", + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "args": "unused_native_passthrough_not_subscribed", + "command": "unused_native_passthrough_not_subscribed", + "commandName": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "command.queued", + "fields": [ + "command", + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "command": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "commands.changed", + "fields": [ + "commands" + ], + "standardAcp": "available_commands_update", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "commands": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "elicitation.completed", + "fields": [ + "action", + "content", + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "action": "unused_native_passthrough_not_subscribed", + "content": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "elicitation.requested", + "fields": [ + "elicitationSource", + "message", + "mode", + "requestId", + "requestedSchema", + "toolCallId", + "url" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "elicitationSource": "unused_declared_field", + "message": "unused_declared_field", + "mode": "unused_declared_field", + "requestId": "projected", + "requestedSchema": "unused_declared_field", + "toolCallId": "projected", + "url": "unused_declared_field" + }, + "gapReason": "No qualified ACP responder; must prove no blocking request or implement responder before qualification.", + "followUpPriority": "P0" + }, + { + "event": "exit_plan_mode.completed", + "fields": [ + "approved", + "autoApproveEdits", + "feedback", + "requestId", + "selectedAction" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "approved": "unused_native_passthrough_not_subscribed", + "autoApproveEdits": "unused_native_passthrough_not_subscribed", + "feedback": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "selectedAction": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "exit_plan_mode.requested", + "fields": [ + "actions", + "model", + "planContent", + "recommendedAction", + "requestId", + "summary" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "actions": "unused_declared_field", + "model": "unused_declared_field", + "planContent": "unused_declared_field", + "recommendedAction": "unused_declared_field", + "requestId": "projected", + "summary": "unused_declared_field" + }, + "gapReason": "No qualified ACP responder; must prove no blocking request or implement responder before qualification.", + "followUpPriority": "P0" + }, + { + "event": "external_tool.completed", + "fields": [ + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "external_tool.requested", + "fields": [ + "arguments", + "providerId", + "requestId", + "sessionId", + "toolCallId", + "toolName", + "traceparent", + "tracestate", + "workingDirectory" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "arguments": "unused_native_passthrough_not_subscribed", + "providerId": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "sessionId": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed", + "toolName": "unused_native_passthrough_not_subscribed", + "traceparent": "unused_native_passthrough_not_subscribed", + "tracestate": "unused_native_passthrough_not_subscribed", + "workingDirectory": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No qualified ACP responder; must prove no blocking request or implement responder before qualification.", + "followUpPriority": "P0" + }, + { + "event": "factory.run_settled", + "fields": [ + "consumedNanoAiu", + "consumedSubagents", + "elapsedMs", + "failureType", + "runId", + "status" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "consumedNanoAiu": "unused_native_passthrough_not_subscribed", + "consumedSubagents": "unused_native_passthrough_not_subscribed", + "elapsedMs": "unused_native_passthrough_not_subscribed", + "failureType": "unused_native_passthrough_not_subscribed", + "runId": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "factory.run_started", + "fields": [ + "attempt", + "factoryName", + "runId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "attempt": "unused_native_passthrough_not_subscribed", + "factoryName": "unused_native_passthrough_not_subscribed", + "runId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "factory.run_updated", + "fields": [ + "revision", + "runId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "revision": "unused_native_passthrough_not_subscribed", + "runId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "hook.end", + "fields": [ + "error", + "hookInvocationId", + "hookType", + "output", + "parentToolCallId", + "success" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "error": "unused_native_passthrough_not_subscribed", + "hookInvocationId": "unused_native_passthrough_not_subscribed", + "hookType": "unused_native_passthrough_not_subscribed", + "output": "unused_native_passthrough_not_subscribed", + "parentToolCallId": "unused_native_passthrough_not_subscribed", + "success": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Ambient hooks/extensions excluded; preserve runner-owned attribution separately.", + "followUpPriority": "P2" + }, + { + "event": "hook.progress", + "fields": [ + "message", + "temporary" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "message": "unused_native_passthrough_not_subscribed", + "temporary": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Ambient hooks/extensions excluded; preserve runner-owned attribution separately.", + "followUpPriority": "P2" + }, + { + "event": "hook.start", + "fields": [ + "hookInvocationId", + "hookType", + "input", + "parentToolCallId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "hookInvocationId": "unused_native_passthrough_not_subscribed", + "hookType": "unused_native_passthrough_not_subscribed", + "input": "unused_native_passthrough_not_subscribed", + "parentToolCallId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Ambient hooks/extensions excluded; preserve runner-owned attribution separately.", + "followUpPriority": "P2" + }, + { + "event": "mcp.headers_refresh_completed", + "fields": [ + "outcome", + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "outcome": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "mcp.headers_refresh_required", + "fields": [ + "reason", + "requestId", + "serverName", + "serverUrl" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "reason": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "serverName": "unused_native_passthrough_not_subscribed", + "serverUrl": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "mcp.oauth_completed", + "fields": [ + "outcome", + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "outcome": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "mcp.oauth_required", + "fields": [ + "httpResponse", + "reason", + "requestId", + "resourceMetadata", + "serverName", + "serverUrl", + "staticClientConfig", + "wwwAuthenticateParams" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "httpResponse": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "resourceMetadata": "unused_native_passthrough_not_subscribed", + "serverName": "unused_native_passthrough_not_subscribed", + "serverUrl": "unused_native_passthrough_not_subscribed", + "staticClientConfig": "unused_native_passthrough_not_subscribed", + "wwwAuthenticateParams": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "mcp.prompts.list_changed", + "fields": [ + "serverName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "serverName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "mcp.resources.list_changed", + "fields": [ + "serverName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "serverName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "mcp.tools.list_changed", + "fields": [ + "serverName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "serverName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "mcp_app.tool_call_complete", + "fields": [ + "arguments", + "durationMs", + "error", + "result", + "serverName", + "success", + "toolMeta", + "toolName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "arguments": "unused_native_passthrough_not_subscribed", + "durationMs": "unused_native_passthrough_not_subscribed", + "error": "unused_native_passthrough_not_subscribed", + "result": "unused_native_passthrough_not_subscribed", + "serverName": "unused_native_passthrough_not_subscribed", + "success": "unused_native_passthrough_not_subscribed", + "toolMeta": "unused_native_passthrough_not_subscribed", + "toolName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "model.call_failure", + "fields": [ + "apiCallId", + "apiEndpoint", + "badRequestKind", + "durationMs", + "errorCode", + "errorMessage", + "errorType", + "failureKind", + "fusion", + "initiator", + "interactionType", + "isAuto", + "isByok", + "maxOutputTokens", + "maxPromptTokens", + "model", + "providerCallId", + "quotaSnapshots", + "reasoningEffort", + "requestFingerprint", + "rte", + "serviceRequestId", + "source", + "statusCode", + "transport" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "apiCallId": "unused_native_passthrough_not_subscribed", + "apiEndpoint": "unused_native_passthrough_not_subscribed", + "badRequestKind": "unused_native_passthrough_not_subscribed", + "durationMs": "unused_native_passthrough_not_subscribed", + "errorCode": "unused_native_passthrough_not_subscribed", + "errorMessage": "unused_native_passthrough_not_subscribed", + "errorType": "unused_native_passthrough_not_subscribed", + "failureKind": "unused_native_passthrough_not_subscribed", + "fusion": "unused_native_passthrough_not_subscribed", + "initiator": "unused_native_passthrough_not_subscribed", + "interactionType": "unused_native_passthrough_not_subscribed", + "isAuto": "unused_native_passthrough_not_subscribed", + "isByok": "unused_native_passthrough_not_subscribed", + "maxOutputTokens": "unused_native_passthrough_not_subscribed", + "maxPromptTokens": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "providerCallId": "unused_native_passthrough_not_subscribed", + "quotaSnapshots": "unused_native_passthrough_not_subscribed", + "reasoningEffort": "unused_native_passthrough_not_subscribed", + "requestFingerprint": "unused_native_passthrough_not_subscribed", + "rte": "unused_native_passthrough_not_subscribed", + "serviceRequestId": "unused_native_passthrough_not_subscribed", + "source": "unused_native_passthrough_not_subscribed", + "statusCode": "unused_native_passthrough_not_subscribed", + "transport": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "model.call_finished", + "fields": [ + "containsBuiltInFileEditRequest", + "dispatchDurationMs", + "editClassifierVersion", + "interactionId", + "outcome", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "containsBuiltInFileEditRequest": "unused_native_passthrough_not_subscribed", + "dispatchDurationMs": "unused_native_passthrough_not_subscribed", + "editClassifierVersion": "unused_native_passthrough_not_subscribed", + "interactionId": "unused_native_passthrough_not_subscribed", + "outcome": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "model.call_start", + "fields": [ + "fusion", + "model", + "previousResponseId", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "fusion": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "previousResponseId": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "pending_messages.modified", + "fields": [], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": {}, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "permission.assentDetected", + "fields": [ + "requestId", + "turnIndex" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "requestId": "unused_native_passthrough_not_subscribed", + "turnIndex": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "permission.carriedForward", + "fields": [ + "decisionSource", + "recordId", + "requestId", + "toolCallId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "decisionSource": "unused_native_passthrough_not_subscribed", + "recordId": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "permission.completed", + "fields": [ + "blocker", + "decisionSource", + "recoveryEpisodeId", + "requestId", + "result", + "toolCallId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "blocker": "unused_native_passthrough_not_subscribed", + "decisionSource": "unused_native_passthrough_not_subscribed", + "recoveryEpisodeId": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "result": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "permission.contextualAuthorization", + "fields": [ + "polarity", + "recordId", + "requestId", + "spanEnd", + "spanStart", + "turnIndex" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "polarity": "unused_native_passthrough_not_subscribed", + "recordId": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "spanEnd": "unused_native_passthrough_not_subscribed", + "spanStart": "unused_native_passthrough_not_subscribed", + "turnIndex": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "permission.messageAuthorization", + "fields": [ + "actionClass", + "polarity", + "recordId", + "spanEnd", + "spanStart", + "targetMembers", + "task", + "turnIndex", + "world" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "actionClass": "unused_native_passthrough_not_subscribed", + "polarity": "unused_native_passthrough_not_subscribed", + "recordId": "unused_native_passthrough_not_subscribed", + "spanEnd": "unused_native_passthrough_not_subscribed", + "spanStart": "unused_native_passthrough_not_subscribed", + "targetMembers": "unused_native_passthrough_not_subscribed", + "task": "unused_native_passthrough_not_subscribed", + "turnIndex": "unused_native_passthrough_not_subscribed", + "world": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "permission.messageAuthorizationDegraded", + "fields": [ + "turnIndex" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "turnIndex": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "permission.messageAuthorizationRead", + "fields": [ + "activatesExtraction", + "turnIndex" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "activatesExtraction": "unused_native_passthrough_not_subscribed", + "turnIndex": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "permission.requested", + "fields": [ + "agentMode", + "permissionMode", + "permissionRequest", + "promptRequest", + "recoveryEpisodeId", + "requestId", + "resolvedByHook", + "riskAssessment" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "agentMode": "unused_native_passthrough_not_subscribed", + "permissionMode": "unused_native_passthrough_not_subscribed", + "permissionRequest": "unused_native_passthrough_not_subscribed", + "promptRequest": "unused_native_passthrough_not_subscribed", + "recoveryEpisodeId": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "resolvedByHook": "unused_native_passthrough_not_subscribed", + "riskAssessment": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "sampling.completed", + "fields": [ + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "sampling.requested", + "fields": [ + "mcpRequestId", + "requestId", + "serverName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "mcpRequestId": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "serverName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No qualified ACP responder; must prove no blocking request or implement responder before qualification.", + "followUpPriority": "P0" + }, + { + "event": "sandbox.decision", + "fields": [], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": {}, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "session.auto_mode_resolved", + "fields": [ + "availableModels", + "candidateModels", + "categoryScores", + "chosenModel", + "chosenShortfall", + "confidence", + "endToEndLatencyMs", + "fallback", + "fallbackReason", + "hasImage", + "predictedLabel", + "reasoningBucket", + "routerLatencyMs", + "routingMethod", + "stickyOverride" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "availableModels": "unused_native_passthrough_not_subscribed", + "candidateModels": "unused_native_passthrough_not_subscribed", + "categoryScores": "unused_native_passthrough_not_subscribed", + "chosenModel": "unused_native_passthrough_not_subscribed", + "chosenShortfall": "unused_native_passthrough_not_subscribed", + "confidence": "unused_native_passthrough_not_subscribed", + "endToEndLatencyMs": "unused_native_passthrough_not_subscribed", + "fallback": "unused_native_passthrough_not_subscribed", + "fallbackReason": "unused_native_passthrough_not_subscribed", + "hasImage": "unused_native_passthrough_not_subscribed", + "predictedLabel": "unused_native_passthrough_not_subscribed", + "reasoningBucket": "unused_native_passthrough_not_subscribed", + "routerLatencyMs": "unused_native_passthrough_not_subscribed", + "routingMethod": "unused_native_passthrough_not_subscribed", + "stickyOverride": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.auto_tier_recommendation", + "fields": [ + "recommendedAutoTier" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "recommendedAutoTier": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.auto_tier_switch_failed", + "fields": [ + "effectiveAutoTier", + "reason", + "requestedAutoTier" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "effectiveAutoTier": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed", + "requestedAutoTier": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.autopilot_objective_changed", + "fields": [ + "id", + "operation", + "status" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "id": "unused_native_passthrough_not_subscribed", + "operation": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.background_tasks_changed", + "fields": [], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": {}, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.binary_asset", + "fields": [ + "assetId", + "byteLength", + "data", + "description", + "metadata", + "mimeType", + "type" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "assetId": "projected", + "byteLength": "projected", + "data": "digest_verified_bytes_omitted_pending_artifact_upload", + "description": "projected", + "metadata": "unused_declared_field", + "mimeType": "projected", + "type": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.canvas.closed", + "fields": [ + "canvasId", + "extensionId", + "instanceId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "canvasId": "unused_native_passthrough_not_subscribed", + "extensionId": "unused_native_passthrough_not_subscribed", + "instanceId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.canvas.opened", + "fields": [ + "canvasId", + "extensionId", + "extensionName", + "icon", + "input", + "instanceId", + "status", + "title", + "url" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "canvasId": "unused_native_passthrough_not_subscribed", + "extensionId": "unused_native_passthrough_not_subscribed", + "extensionName": "unused_native_passthrough_not_subscribed", + "icon": "unused_native_passthrough_not_subscribed", + "input": "unused_native_passthrough_not_subscribed", + "instanceId": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed", + "title": "unused_native_passthrough_not_subscribed", + "url": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.canvas.recorded", + "fields": [ + "canvasId", + "extensionId", + "input", + "instanceId", + "title" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "canvasId": "unused_native_passthrough_not_subscribed", + "extensionId": "unused_native_passthrough_not_subscribed", + "input": "unused_native_passthrough_not_subscribed", + "instanceId": "unused_native_passthrough_not_subscribed", + "title": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.canvas.registry_changed", + "fields": [ + "canvases" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "canvases": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.canvas.removed", + "fields": [ + "canvasId", + "extensionId", + "instanceId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "canvasId": "unused_native_passthrough_not_subscribed", + "extensionId": "unused_native_passthrough_not_subscribed", + "instanceId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.canvas.unavailable", + "fields": [ + "canvasId", + "extensionId", + "instanceId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "canvasId": "unused_native_passthrough_not_subscribed", + "extensionId": "unused_native_passthrough_not_subscribed", + "instanceId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.compaction_complete", + "fields": [ + "activeFactorySummary", + "behaviorModelId", + "checkpointNumber", + "checkpointPath", + "compactionTokensUsed", + "conversationTokens", + "customInstructions", + "error", + "messagesRemoved", + "postCompactionTokens", + "preCompactionMessagesLength", + "preCompactionTokens", + "requestId", + "responsesReasoning", + "serviceRequestId", + "statusCode", + "success", + "summaryContent", + "systemTokens", + "tokenLimit", + "tokensRemoved", + "toolDefinitionsTokens", + "trigger" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "activeFactorySummary": "unused_declared_field", + "behaviorModelId": "projected", + "checkpointNumber": "projected", + "checkpointPath": "unused_declared_field", + "compactionTokensUsed": "projected", + "conversationTokens": "projected", + "customInstructions": "unused_declared_field", + "error": "projected", + "messagesRemoved": "projected", + "postCompactionTokens": "projected", + "preCompactionMessagesLength": "projected", + "preCompactionTokens": "projected", + "requestId": "unused_declared_field", + "responsesReasoning": "unused_declared_field", + "serviceRequestId": "unused_declared_field", + "statusCode": "projected", + "success": "projected", + "summaryContent": "unused_declared_field", + "systemTokens": "projected", + "tokenLimit": "projected", + "tokensRemoved": "projected", + "toolDefinitionsTokens": "projected", + "trigger": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.compaction_start", + "fields": [ + "conversationTokens", + "currentTokens", + "model", + "systemTokens", + "tokenLimit", + "toolDefinitionsTokens", + "trigger" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "conversationTokens": "projected", + "currentTokens": "projected", + "model": "projected", + "systemTokens": "projected", + "tokenLimit": "projected", + "toolDefinitionsTokens": "projected", + "trigger": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.completion_receipt", + "fields": [ + "attempt", + "eventRange", + "failedToolCount", + "finalTool", + "schemaVersion", + "sourceEventId", + "stopReason", + "successfulToolCount" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "attempt": "projected", + "eventRange": "projected", + "failedToolCount": "projected", + "finalTool": "unused_declared_field", + "schemaVersion": "projected", + "sourceEventId": "projected", + "stopReason": "projected", + "successfulToolCount": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.context_changed", + "fields": [ + "baseCommit", + "branch", + "cwd", + "gitRoot", + "headCommit", + "hostType", + "pendingGitContext", + "repository", + "repositoryHost" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "baseCommit": "projected", + "branch": "projected", + "cwd": "projected", + "gitRoot": "unused_declared_field", + "headCommit": "projected", + "hostType": "projected", + "pendingGitContext": "unused_declared_field", + "repository": "unused_declared_field", + "repositoryHost": "unused_declared_field" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.context_cleared", + "fields": [ + "initialMessage", + "messagesCleared" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "initialMessage": "unused_native_passthrough_not_subscribed", + "messagesCleared": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.custom_agents_updated", + "fields": [ + "agents", + "errors", + "warnings" + ], + "standardAcp": "config_option_update", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "agents": "standard_projection_field_retention_not_individually_qualified", + "errors": "standard_projection_field_retention_not_individually_qualified", + "warnings": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.custom_notification", + "fields": [ + "name", + "payload", + "source", + "subject", + "version" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "name": "unused_native_passthrough_not_subscribed", + "payload": "unused_native_passthrough_not_subscribed", + "source": "unused_native_passthrough_not_subscribed", + "subject": "unused_native_passthrough_not_subscribed", + "version": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.error", + "fields": [ + "eligibleForAutoSwitch", + "errorCode", + "errorType", + "message", + "providerCallId", + "remediation", + "serviceRequestId", + "stack", + "statusCode", + "url" + ], + "standardAcp": "agent_message_chunk", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "eligibleForAutoSwitch": "standard_projection_field_retention_not_individually_qualified", + "errorCode": "standard_projection_field_retention_not_individually_qualified", + "errorType": "standard_projection_field_retention_not_individually_qualified", + "message": "standard_projection_field_retention_not_individually_qualified", + "providerCallId": "standard_projection_field_retention_not_individually_qualified", + "remediation": "standard_projection_field_retention_not_individually_qualified", + "serviceRequestId": "standard_projection_field_retention_not_individually_qualified", + "stack": "standard_projection_field_retention_not_individually_qualified", + "statusCode": "standard_projection_field_retention_not_individually_qualified", + "url": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.extensions.attachments_pushed", + "fields": [ + "attachments" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "attachments": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Ambient hooks/extensions excluded; preserve runner-owned attribution separately.", + "followUpPriority": "P2" + }, + { + "event": "session.extensions_loaded", + "fields": [ + "extensions" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "extensions": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Ambient hooks/extensions excluded; preserve runner-owned attribution separately.", + "followUpPriority": "P2" + }, + { + "event": "session.fusion_commit_started", + "fields": [ + "commitId", + "fusionId", + "kind", + "sourceModel", + "sourcePhaseId", + "toolCallId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "commitId": "unused_native_passthrough_not_subscribed", + "fusionId": "unused_native_passthrough_not_subscribed", + "kind": "unused_native_passthrough_not_subscribed", + "sourceModel": "unused_native_passthrough_not_subscribed", + "sourcePhaseId": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.fusion_completed", + "fields": [ + "cacheWriteTokens", + "cachedTokens", + "commitId", + "degradedReason", + "durationMs", + "finalSourceModel", + "finalSourcePhaseId", + "followUpModel", + "fusionId", + "inputTokens", + "outcome", + "outputTokens", + "pattern", + "phaseCount", + "requestCount", + "syntheticModel", + "totalNanoAiu", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "cacheWriteTokens": "unused_native_passthrough_not_subscribed", + "cachedTokens": "unused_native_passthrough_not_subscribed", + "commitId": "unused_native_passthrough_not_subscribed", + "degradedReason": "unused_native_passthrough_not_subscribed", + "durationMs": "unused_native_passthrough_not_subscribed", + "finalSourceModel": "unused_native_passthrough_not_subscribed", + "finalSourcePhaseId": "unused_native_passthrough_not_subscribed", + "followUpModel": "unused_native_passthrough_not_subscribed", + "fusionId": "unused_native_passthrough_not_subscribed", + "inputTokens": "unused_native_passthrough_not_subscribed", + "outcome": "unused_native_passthrough_not_subscribed", + "outputTokens": "unused_native_passthrough_not_subscribed", + "pattern": "unused_native_passthrough_not_subscribed", + "phaseCount": "unused_native_passthrough_not_subscribed", + "requestCount": "unused_native_passthrough_not_subscribed", + "syntheticModel": "unused_native_passthrough_not_subscribed", + "totalNanoAiu": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.fusion_handoff", + "fields": [ + "fusionId", + "message", + "sourcePhaseId", + "targetModel", + "targetPhaseId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "fusionId": "unused_native_passthrough_not_subscribed", + "message": "unused_native_passthrough_not_subscribed", + "sourcePhaseId": "unused_native_passthrough_not_subscribed", + "targetModel": "unused_native_passthrough_not_subscribed", + "targetPhaseId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.fusion_resolved", + "fields": [ + "contractVersion", + "fallbackModel", + "followUp", + "followUpModel", + "fusionId", + "modelUniverseVersion", + "pattern", + "phasePlan", + "planVersion", + "policy", + "policyVersion", + "primaryModel", + "routeSource", + "routingLatencyMs", + "ruleId", + "ruleIndex", + "ruleName", + "scores", + "secondaryModel", + "syntheticModel", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "contractVersion": "unused_native_passthrough_not_subscribed", + "fallbackModel": "unused_native_passthrough_not_subscribed", + "followUp": "unused_native_passthrough_not_subscribed", + "followUpModel": "unused_native_passthrough_not_subscribed", + "fusionId": "unused_native_passthrough_not_subscribed", + "modelUniverseVersion": "unused_native_passthrough_not_subscribed", + "pattern": "unused_native_passthrough_not_subscribed", + "phasePlan": "unused_native_passthrough_not_subscribed", + "planVersion": "unused_native_passthrough_not_subscribed", + "policy": "unused_native_passthrough_not_subscribed", + "policyVersion": "unused_native_passthrough_not_subscribed", + "primaryModel": "unused_native_passthrough_not_subscribed", + "routeSource": "unused_native_passthrough_not_subscribed", + "routingLatencyMs": "unused_native_passthrough_not_subscribed", + "ruleId": "unused_native_passthrough_not_subscribed", + "ruleIndex": "unused_native_passthrough_not_subscribed", + "ruleName": "unused_native_passthrough_not_subscribed", + "scores": "unused_native_passthrough_not_subscribed", + "secondaryModel": "unused_native_passthrough_not_subscribed", + "syntheticModel": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.fusion_route_failed", + "fields": [ + "attemptId", + "errorMessage", + "fallbackModel", + "policy", + "reason", + "routingLatencyMs", + "syntheticModel" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "attemptId": "unused_native_passthrough_not_subscribed", + "errorMessage": "unused_native_passthrough_not_subscribed", + "fallbackModel": "unused_native_passthrough_not_subscribed", + "policy": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed", + "routingLatencyMs": "unused_native_passthrough_not_subscribed", + "syntheticModel": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.fusion_route_started", + "fields": [ + "attemptId", + "policy", + "syntheticModel", + "turnKind" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "attemptId": "unused_native_passthrough_not_subscribed", + "policy": "unused_native_passthrough_not_subscribed", + "syntheticModel": "unused_native_passthrough_not_subscribed", + "turnKind": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.handoff", + "fields": [ + "context", + "handoffTime", + "host", + "remoteSessionId", + "repository", + "sourceType", + "summary" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "context": "unused_native_passthrough_not_subscribed", + "handoffTime": "unused_native_passthrough_not_subscribed", + "host": "unused_native_passthrough_not_subscribed", + "remoteSessionId": "unused_native_passthrough_not_subscribed", + "repository": "unused_native_passthrough_not_subscribed", + "sourceType": "unused_native_passthrough_not_subscribed", + "summary": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.idle", + "fields": [ + "aborted", + "mode" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "aborted": "projected", + "mode": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.indexed_search", + "fields": [], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": {}, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.info", + "fields": [ + "infoType", + "message", + "tip", + "url" + ], + "standardAcp": "agent_message_chunk", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "infoType": "standard_projection_field_retention_not_individually_qualified", + "message": "standard_projection_field_retention_not_individually_qualified", + "tip": "standard_projection_field_retention_not_individually_qualified", + "url": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.managed_settings_enforced", + "fields": [ + "action", + "escalation", + "failClosed", + "message", + "setting" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "action": "unused_native_passthrough_not_subscribed", + "escalation": "unused_native_passthrough_not_subscribed", + "failClosed": "unused_native_passthrough_not_subscribed", + "message": "unused_native_passthrough_not_subscribed", + "setting": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.managed_settings_resolved", + "fields": [ + "bypassPermissionsDisabled", + "clientManaged", + "deviceManaged", + "failClosed", + "managedKeys", + "permissionsAllowIntersected", + "policyHelperManaged", + "sandboxEnabledByUndeterminedPolicy", + "serverManaged", + "settings", + "source" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "bypassPermissionsDisabled": "unused_native_passthrough_not_subscribed", + "clientManaged": "unused_native_passthrough_not_subscribed", + "deviceManaged": "unused_native_passthrough_not_subscribed", + "failClosed": "unused_native_passthrough_not_subscribed", + "managedKeys": "unused_native_passthrough_not_subscribed", + "permissionsAllowIntersected": "unused_native_passthrough_not_subscribed", + "policyHelperManaged": "unused_native_passthrough_not_subscribed", + "sandboxEnabledByUndeterminedPolicy": "unused_native_passthrough_not_subscribed", + "serverManaged": "unused_native_passthrough_not_subscribed", + "settings": "unused_native_passthrough_not_subscribed", + "source": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.mcp_server_needs_reconnect", + "fields": [ + "serverName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "serverName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "session.mcp_server_removed", + "fields": [ + "serverName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "serverName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "session.mcp_server_status_changed", + "fields": [ + "error", + "serverName", + "status" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "error": "unused_native_passthrough_not_subscribed", + "serverName": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "session.mcp_servers_loaded", + "fields": [ + "servers" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "servers": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Only runner-owned MCP admitted; do not normalize ambient auth/headers as authority. Add sanitized bridge diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "session.memory_changed", + "fields": [], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": {}, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.mode_changed", + "fields": [ + "newMode", + "previousMode" + ], + "standardAcp": "current_mode_update", + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "newMode": "projected", + "previousMode": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.mode_notice_delivered", + "fields": [ + "content", + "mode" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "content": "unused_native_passthrough_not_subscribed", + "mode": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.model_change", + "fields": [ + "autoTier", + "cause", + "contextTier", + "newModel", + "previousAutoTier", + "previousModel", + "previousReasoningEffort", + "previousReasoningSummary", + "previousVerbosity", + "reasoningEffort", + "reasoningSummary", + "source", + "verbosity" + ], + "standardAcp": "config_option_update", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "autoTier": "standard_projection_field_retention_not_individually_qualified", + "cause": "standard_projection_field_retention_not_individually_qualified", + "contextTier": "standard_projection_field_retention_not_individually_qualified", + "newModel": "standard_projection_field_retention_not_individually_qualified", + "previousAutoTier": "standard_projection_field_retention_not_individually_qualified", + "previousModel": "standard_projection_field_retention_not_individually_qualified", + "previousReasoningEffort": "standard_projection_field_retention_not_individually_qualified", + "previousReasoningSummary": "standard_projection_field_retention_not_individually_qualified", + "previousVerbosity": "standard_projection_field_retention_not_individually_qualified", + "reasoningEffort": "standard_projection_field_retention_not_individually_qualified", + "reasoningSummary": "standard_projection_field_retention_not_individually_qualified", + "source": "standard_projection_field_retention_not_individually_qualified", + "verbosity": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.model_deselected", + "fields": [ + "previousModel", + "reason" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "previousModel": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.permission_recovery", + "fields": [ + "attempts", + "episodeId", + "maxAttempts", + "onBlocked", + "reason", + "status" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "attempts": "unused_native_passthrough_not_subscribed", + "episodeId": "unused_native_passthrough_not_subscribed", + "maxAttempts": "unused_native_passthrough_not_subscribed", + "onBlocked": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed", + "status": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "session.permissions_changed", + "fields": [ + "assistedApprovalModel", + "mode", + "previousMode" + ], + "standardAcp": "config_option_update", + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "assistedApprovalModel": "projected", + "mode": "projected", + "previousMode": "projected" + }, + "gapReason": "Standard permission callback owns authorization; native notices cannot grant authority. Add sanitized diagnostics.", + "followUpPriority": "P1" + }, + { + "event": "session.plan_changed", + "fields": [ + "operation" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "operation": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.remote_steerable_changed", + "fields": [ + "remoteSteerable" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "remoteSteerable": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.resume", + "fields": [ + "alreadyInUse", + "autoTier", + "context", + "contextTier", + "continuePendingWork", + "eventCount", + "eventsFileSizeBytes", + "reasoningEffort", + "reasoningSummary", + "remoteSteerable", + "resumeTime", + "selectedModel", + "sessionLimits", + "sessionWasActive", + "verbosity" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "alreadyInUse": "unused_native_passthrough_not_subscribed", + "autoTier": "unused_native_passthrough_not_subscribed", + "context": "unused_native_passthrough_not_subscribed", + "contextTier": "unused_native_passthrough_not_subscribed", + "continuePendingWork": "unused_native_passthrough_not_subscribed", + "eventCount": "unused_native_passthrough_not_subscribed", + "eventsFileSizeBytes": "unused_native_passthrough_not_subscribed", + "reasoningEffort": "unused_native_passthrough_not_subscribed", + "reasoningSummary": "unused_native_passthrough_not_subscribed", + "remoteSteerable": "unused_native_passthrough_not_subscribed", + "resumeTime": "unused_native_passthrough_not_subscribed", + "selectedModel": "unused_native_passthrough_not_subscribed", + "sessionLimits": "unused_native_passthrough_not_subscribed", + "sessionWasActive": "unused_native_passthrough_not_subscribed", + "verbosity": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.schedule_cancelled", + "fields": [ + "id" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "id": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.schedule_created", + "fields": [ + "at", + "cron", + "displayPrompt", + "id", + "intervalMs", + "origin", + "prompt", + "recurring", + "selfPaced", + "tz" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "at": "unused_native_passthrough_not_subscribed", + "cron": "unused_native_passthrough_not_subscribed", + "displayPrompt": "unused_native_passthrough_not_subscribed", + "id": "unused_native_passthrough_not_subscribed", + "intervalMs": "unused_native_passthrough_not_subscribed", + "origin": "unused_native_passthrough_not_subscribed", + "prompt": "unused_native_passthrough_not_subscribed", + "recurring": "unused_native_passthrough_not_subscribed", + "selfPaced": "unused_native_passthrough_not_subscribed", + "tz": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.schedule_rearmed", + "fields": [ + "id", + "nextRunAt" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "id": "unused_native_passthrough_not_subscribed", + "nextRunAt": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.session_limits_changed", + "fields": [ + "sessionLimits" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "sessionLimits": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.shutdown", + "fields": [ + "agentMetrics", + "codeChanges", + "conversationTokens", + "currentModel", + "currentTokens", + "errorReason", + "eventsFileSizeBytes", + "modelMetrics", + "sessionStartTime", + "shutdownType", + "systemTokens", + "tokenDetails", + "toolDefinitionsTokens", + "totalApiDurationMs", + "totalNanoAiu", + "totalPremiumRequests" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "agentMetrics": "unused_native_passthrough_not_subscribed", + "codeChanges": "unused_native_passthrough_not_subscribed", + "conversationTokens": "unused_native_passthrough_not_subscribed", + "currentModel": "unused_native_passthrough_not_subscribed", + "currentTokens": "unused_native_passthrough_not_subscribed", + "errorReason": "unused_native_passthrough_not_subscribed", + "eventsFileSizeBytes": "unused_native_passthrough_not_subscribed", + "modelMetrics": "unused_native_passthrough_not_subscribed", + "sessionStartTime": "unused_native_passthrough_not_subscribed", + "shutdownType": "unused_native_passthrough_not_subscribed", + "systemTokens": "unused_native_passthrough_not_subscribed", + "tokenDetails": "unused_native_passthrough_not_subscribed", + "toolDefinitionsTokens": "unused_native_passthrough_not_subscribed", + "totalApiDurationMs": "unused_native_passthrough_not_subscribed", + "totalNanoAiu": "unused_native_passthrough_not_subscribed", + "totalPremiumRequests": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.skills_loaded", + "fields": [ + "skills" + ], + "standardAcp": "available_commands_update", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "skills": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.snapshot_rewind", + "fields": [ + "eventsRemoved", + "upToEventId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "eventsRemoved": "unused_native_passthrough_not_subscribed", + "upToEventId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.start", + "fields": [ + "alreadyInUse", + "autoTier", + "context", + "contextTier", + "copilotVersion", + "detachedFromSpawningParentSessionId", + "githubMcpToolConfig", + "producer", + "reasoningEffort", + "reasoningSummary", + "remoteSteerable", + "selectedModel", + "sessionId", + "sessionLimits", + "startTime", + "verbosity", + "version" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "alreadyInUse": "unused_native_passthrough_not_subscribed", + "autoTier": "unused_native_passthrough_not_subscribed", + "context": "unused_native_passthrough_not_subscribed", + "contextTier": "unused_native_passthrough_not_subscribed", + "copilotVersion": "unused_native_passthrough_not_subscribed", + "detachedFromSpawningParentSessionId": "unused_native_passthrough_not_subscribed", + "githubMcpToolConfig": "unused_native_passthrough_not_subscribed", + "producer": "unused_native_passthrough_not_subscribed", + "reasoningEffort": "unused_native_passthrough_not_subscribed", + "reasoningSummary": "unused_native_passthrough_not_subscribed", + "remoteSteerable": "unused_native_passthrough_not_subscribed", + "selectedModel": "unused_native_passthrough_not_subscribed", + "sessionId": "unused_native_passthrough_not_subscribed", + "sessionLimits": "unused_native_passthrough_not_subscribed", + "startTime": "unused_native_passthrough_not_subscribed", + "verbosity": "unused_native_passthrough_not_subscribed", + "version": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.task_complete", + "fields": [ + "blocker", + "objectiveId", + "outcome", + "reason", + "success", + "summary" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "blocker": "unused_native_passthrough_not_subscribed", + "objectiveId": "unused_native_passthrough_not_subscribed", + "outcome": "unused_native_passthrough_not_subscribed", + "reason": "unused_native_passthrough_not_subscribed", + "success": "unused_native_passthrough_not_subscribed", + "summary": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.title_changed", + "fields": [ + "title" + ], + "standardAcp": "session_info_update", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "title": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.todos_changed", + "fields": [], + "standardAcp": "plan", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": {}, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.tools_updated", + "fields": [ + "model" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "model": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.truncation", + "fields": [ + "messagesRemovedDuringTruncation", + "performedBy", + "postTruncationMessagesLength", + "postTruncationTokensInMessages", + "preTruncationMessagesLength", + "preTruncationTokensInMessages", + "tokenLimit", + "tokensRemovedDuringTruncation" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "messagesRemovedDuringTruncation": "unused_native_passthrough_not_subscribed", + "performedBy": "unused_native_passthrough_not_subscribed", + "postTruncationMessagesLength": "unused_native_passthrough_not_subscribed", + "postTruncationTokensInMessages": "unused_native_passthrough_not_subscribed", + "preTruncationMessagesLength": "unused_native_passthrough_not_subscribed", + "preTruncationTokensInMessages": "unused_native_passthrough_not_subscribed", + "tokenLimit": "unused_native_passthrough_not_subscribed", + "tokensRemovedDuringTruncation": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session.usage_checkpoint", + "fields": [ + "modelCacheState", + "promptCacheBreakState", + "totalNanoAiu", + "totalPremiumRequests" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "modelCacheState": "unused_declared_field", + "promptCacheBreakState": "unused_declared_field", + "totalNanoAiu": "projected", + "totalPremiumRequests": "unused_declared_field" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.usage_info", + "fields": [ + "conversationTokens", + "currentTokens", + "isInitial", + "messagesLength", + "systemTokens", + "tokenLimit", + "toolDefinitionsTokens" + ], + "standardAcp": "usage_update", + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "conversationTokens": "projected", + "currentTokens": "projected", + "isInitial": "projected", + "messagesLength": "projected", + "systemTokens": "projected", + "tokenLimit": "projected", + "toolDefinitionsTokens": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session.warning", + "fields": [ + "message", + "remediation", + "url", + "warningType" + ], + "standardAcp": "agent_message_chunk", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "message": "standard_projection_field_retention_not_individually_qualified", + "remediation": "standard_projection_field_retention_not_individually_qualified", + "url": "standard_projection_field_retention_not_individually_qualified", + "warningType": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "session.workspace_file_changed", + "fields": [ + "operation", + "path" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "operation": "projected", + "path": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "session_limits_exhausted.completed", + "fields": [ + "requestId", + "response" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "requestId": "unused_native_passthrough_not_subscribed", + "response": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "session_limits_exhausted.requested", + "fields": [ + "maxAiCredits", + "requestId", + "usedAiCredits" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "maxAiCredits": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "usedAiCredits": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No qualified ACP responder; must prove no blocking request or implement responder before qualification.", + "followUpPriority": "P0" + }, + { + "event": "skill.context_delivered", + "fields": [ + "content", + "interactionId", + "source" + ], + "standardAcp": null, + "paperclipDisposition": "blocked_by_provider", + "fieldCoverage": { + "content": "provider_blocks_passthrough", + "interactionId": "provider_blocks_passthrough", + "source": "provider_blocks_passthrough" + }, + "gapReason": "Pinned provider explicitly blocks these event types.", + "followUpPriority": "upstream" + }, + { + "event": "skill.context_delivered_ref", + "fields": [ + "contentId", + "interactionId", + "prefix", + "source", + "suffix" + ], + "standardAcp": null, + "paperclipDisposition": "blocked_by_provider", + "fieldCoverage": { + "contentId": "provider_blocks_passthrough", + "interactionId": "provider_blocks_passthrough", + "prefix": "provider_blocks_passthrough", + "source": "provider_blocks_passthrough", + "suffix": "provider_blocks_passthrough" + }, + "gapReason": "Pinned provider explicitly blocks these event types.", + "followUpPriority": "upstream" + }, + { + "event": "skill.invoked", + "fields": [ + "allowedTools", + "content", + "description", + "disableModelInvocation", + "invokedAtTurn", + "model", + "name", + "path", + "pluginName", + "pluginVersion", + "source", + "trigger" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "allowedTools": "unused_native_passthrough_not_subscribed", + "content": "unused_native_passthrough_not_subscribed", + "description": "unused_native_passthrough_not_subscribed", + "disableModelInvocation": "unused_native_passthrough_not_subscribed", + "invokedAtTurn": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "name": "unused_native_passthrough_not_subscribed", + "path": "unused_native_passthrough_not_subscribed", + "pluginName": "unused_native_passthrough_not_subscribed", + "pluginVersion": "unused_native_passthrough_not_subscribed", + "source": "unused_native_passthrough_not_subscribed", + "trigger": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Ambient hooks/extensions excluded; preserve runner-owned attribution separately.", + "followUpPriority": "P2" + }, + { + "event": "skill.invoked_ref", + "fields": [ + "allowedTools", + "contentId", + "contentLength", + "description", + "disableModelInvocation", + "invokedAtTurn", + "model", + "name", + "path", + "pluginName", + "pluginVersion", + "source", + "trigger" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "allowedTools": "unused_native_passthrough_not_subscribed", + "contentId": "unused_native_passthrough_not_subscribed", + "contentLength": "unused_native_passthrough_not_subscribed", + "description": "unused_native_passthrough_not_subscribed", + "disableModelInvocation": "unused_native_passthrough_not_subscribed", + "invokedAtTurn": "unused_native_passthrough_not_subscribed", + "model": "unused_native_passthrough_not_subscribed", + "name": "unused_native_passthrough_not_subscribed", + "path": "unused_native_passthrough_not_subscribed", + "pluginName": "unused_native_passthrough_not_subscribed", + "pluginVersion": "unused_native_passthrough_not_subscribed", + "source": "unused_native_passthrough_not_subscribed", + "trigger": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "Ambient hooks/extensions excluded; preserve runner-owned attribution separately.", + "followUpPriority": "P2" + }, + { + "event": "subagent.completed", + "fields": [ + "agentDisplayName", + "agentName", + "cancelled", + "configuredModelMatchesActual", + "configuredModelPreference", + "durationMs", + "explicitModelMatchesPreference", + "explicitModelOverride", + "firstDispatchedModel", + "model", + "modelOverrideReason", + "modelSelectionSource", + "toolCallId", + "totalTokens", + "totalToolCalls" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "agentDisplayName": "projected", + "agentName": "projected", + "cancelled": "projected", + "configuredModelMatchesActual": "projected", + "configuredModelPreference": "projected", + "durationMs": "projected", + "explicitModelMatchesPreference": "projected", + "explicitModelOverride": "projected", + "firstDispatchedModel": "projected", + "model": "projected", + "modelOverrideReason": "projected", + "modelSelectionSource": "projected", + "toolCallId": "projected", + "totalTokens": "projected", + "totalToolCalls": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "subagent.configured", + "fields": [ + "contextTier", + "model", + "multiTurn", + "reasoningEffort" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "contextTier": "projected", + "model": "projected", + "multiTurn": "projected", + "reasoningEffort": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "subagent.deselected", + "fields": [], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": {}, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "subagent.failed", + "fields": [ + "agentDisplayName", + "agentName", + "configuredModelMatchesActual", + "configuredModelPreference", + "durationMs", + "error", + "explicitModelMatchesPreference", + "explicitModelOverride", + "firstDispatchedModel", + "model", + "modelOverrideReason", + "modelSelectionSource", + "toolCallId", + "totalTokens", + "totalToolCalls" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "agentDisplayName": "projected", + "agentName": "projected", + "configuredModelMatchesActual": "projected", + "configuredModelPreference": "projected", + "durationMs": "projected", + "error": "projected", + "explicitModelMatchesPreference": "projected", + "explicitModelOverride": "projected", + "firstDispatchedModel": "projected", + "model": "projected", + "modelOverrideReason": "projected", + "modelSelectionSource": "projected", + "toolCallId": "projected", + "totalTokens": "projected", + "totalToolCalls": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "subagent.selected", + "fields": [ + "agentDisplayName", + "agentName", + "tools" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "agentDisplayName": "unused_native_passthrough_not_subscribed", + "agentName": "unused_native_passthrough_not_subscribed", + "tools": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "subagent.started", + "fields": [ + "agentDescription", + "agentDisplayName", + "agentName", + "agentType", + "executionMode", + "factoryRunId", + "model", + "modelSelectionSource", + "parentId", + "resumable", + "taskModelSource", + "toolCallId" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "agentDescription": "projected", + "agentDisplayName": "projected", + "agentName": "projected", + "agentType": "projected", + "executionMode": "projected", + "factoryRunId": "projected", + "model": "projected", + "modelSelectionSource": "projected", + "parentId": "projected", + "resumable": "projected", + "taskModelSource": "projected", + "toolCallId": "projected" + }, + "gapReason": "Only bounded typed metadata projected. Private bodies/nested diagnostics or provider-only resources require an explicit safe contract; see capability report.", + "followUpPriority": "P1" + }, + { + "event": "system.message", + "fields": [ + "content", + "contentBlocks", + "interactionId", + "metadata", + "name", + "role" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "content": "unused_native_passthrough_not_subscribed", + "contentBlocks": "unused_native_passthrough_not_subscribed", + "interactionId": "unused_native_passthrough_not_subscribed", + "metadata": "unused_native_passthrough_not_subscribed", + "name": "unused_native_passthrough_not_subscribed", + "role": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "system.notification", + "fields": [ + "content", + "kind", + "responsesReasoning" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "content": "unused_native_passthrough_not_subscribed", + "kind": "unused_native_passthrough_not_subscribed", + "responsesReasoning": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "tool.execution_complete", + "fields": [ + "error", + "fusion", + "interactionId", + "isUserRequested", + "mcpMeta", + "model", + "parentToolCallId", + "result", + "rte", + "sandboxed", + "shellExecution", + "success", + "toolCallId", + "toolDescription", + "toolTelemetry", + "turnId" + ], + "standardAcp": "tool_call_update", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "error": "standard_projection_field_retention_not_individually_qualified", + "fusion": "standard_projection_field_retention_not_individually_qualified", + "interactionId": "standard_projection_field_retention_not_individually_qualified", + "isUserRequested": "standard_projection_field_retention_not_individually_qualified", + "mcpMeta": "standard_projection_field_retention_not_individually_qualified", + "model": "standard_projection_field_retention_not_individually_qualified", + "parentToolCallId": "standard_projection_field_retention_not_individually_qualified", + "result": "standard_projection_field_retention_not_individually_qualified", + "rte": "standard_projection_field_retention_not_individually_qualified", + "sandboxed": "standard_projection_field_retention_not_individually_qualified", + "shellExecution": "standard_projection_field_retention_not_individually_qualified", + "success": "standard_projection_field_retention_not_individually_qualified", + "toolCallId": "standard_projection_field_retention_not_individually_qualified", + "toolDescription": "standard_projection_field_retention_not_individually_qualified", + "toolTelemetry": "standard_projection_field_retention_not_individually_qualified", + "turnId": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "tool.execution_partial_result", + "fields": [ + "partialOutput", + "toolCallId" + ], + "standardAcp": "tool_call_update", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "partialOutput": "standard_projection_field_retention_not_individually_qualified", + "toolCallId": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "tool.execution_progress", + "fields": [ + "progressMessage", + "toolCallId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "progressMessage": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "tool.execution_start", + "fields": [ + "arguments", + "displayVerbatim", + "fusion", + "mcpConfigServerName", + "mcpConfigSource", + "mcpServerName", + "mcpToolName", + "mcpTransport", + "model", + "parentToolCallId", + "rte", + "shellToolInfo", + "toolCallId", + "toolDescription", + "toolName", + "toolTitle", + "turnId" + ], + "standardAcp": "tool_call", + "paperclipDisposition": "standard_acp_projection", + "fieldCoverage": { + "arguments": "standard_projection_field_retention_not_individually_qualified", + "displayVerbatim": "standard_projection_field_retention_not_individually_qualified", + "fusion": "standard_projection_field_retention_not_individually_qualified", + "mcpConfigServerName": "standard_projection_field_retention_not_individually_qualified", + "mcpConfigSource": "standard_projection_field_retention_not_individually_qualified", + "mcpServerName": "standard_projection_field_retention_not_individually_qualified", + "mcpToolName": "standard_projection_field_retention_not_individually_qualified", + "mcpTransport": "standard_projection_field_retention_not_individually_qualified", + "model": "standard_projection_field_retention_not_individually_qualified", + "parentToolCallId": "standard_projection_field_retention_not_individually_qualified", + "rte": "standard_projection_field_retention_not_individually_qualified", + "shellToolInfo": "standard_projection_field_retention_not_individually_qualified", + "toolCallId": "standard_projection_field_retention_not_individually_qualified", + "toolDescription": "standard_projection_field_retention_not_individually_qualified", + "toolName": "standard_projection_field_retention_not_individually_qualified", + "toolTitle": "standard_projection_field_retention_not_individually_qualified", + "turnId": "standard_projection_field_retention_not_individually_qualified" + }, + "gapReason": "Primary content travels standard ACP. Native extra field retention requires direct field-by-field normalization qualification.", + "followUpPriority": "P2" + }, + { + "event": "tool.user_requested", + "fields": [ + "arguments", + "toolCallId", + "toolName" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "arguments": "unused_native_passthrough_not_subscribed", + "toolCallId": "unused_native_passthrough_not_subscribed", + "toolName": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "tool_search.activated", + "fields": [ + "strategy", + "toolNames" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "strategy": "unused_native_passthrough_not_subscribed", + "toolNames": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "ui.ephemeral_query", + "fields": [ + "answer", + "chunk", + "error", + "phase", + "requestId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "answer": "unused_native_passthrough_not_subscribed", + "chunk": "unused_native_passthrough_not_subscribed", + "error": "unused_native_passthrough_not_subscribed", + "phase": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "user.message", + "fields": [ + "agentMode", + "attachments", + "content", + "delivery", + "interactionId", + "isAutopilotContinuation", + "messageId", + "nativeDocumentPathFallbackPaths", + "parentAgentTaskId", + "responsesReasoning", + "source", + "supportedNativeDocumentMimeTypes", + "transformedContent", + "turnId" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "agentMode": "unused_native_passthrough_not_subscribed", + "attachments": "unused_native_passthrough_not_subscribed", + "content": "unused_native_passthrough_not_subscribed", + "delivery": "unused_native_passthrough_not_subscribed", + "interactionId": "unused_native_passthrough_not_subscribed", + "isAutopilotContinuation": "unused_native_passthrough_not_subscribed", + "messageId": "unused_native_passthrough_not_subscribed", + "nativeDocumentPathFallbackPaths": "unused_native_passthrough_not_subscribed", + "parentAgentTaskId": "unused_native_passthrough_not_subscribed", + "responsesReasoning": "unused_native_passthrough_not_subscribed", + "source": "unused_native_passthrough_not_subscribed", + "supportedNativeDocumentMimeTypes": "unused_native_passthrough_not_subscribed", + "transformedContent": "unused_native_passthrough_not_subscribed", + "turnId": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "user_input.completed", + "fields": [ + "answer", + "requestId", + "wasFreeform" + ], + "standardAcp": null, + "paperclipDisposition": "native_passthrough_not_subscribed", + "fieldCoverage": { + "answer": "unused_native_passthrough_not_subscribed", + "requestId": "unused_native_passthrough_not_subscribed", + "wasFreeform": "unused_native_passthrough_not_subscribed" + }, + "gapReason": "No admitted typed native control/resource surface, or standard ACP already transports primary output; investigate useful metadata before subscription.", + "followUpPriority": "P2" + }, + { + "event": "user_input.requested", + "fields": [ + "allowFreeform", + "choices", + "question", + "requestId", + "toolCallId" + ], + "standardAcp": null, + "paperclipDisposition": "subscribed_and_projected", + "fieldCoverage": { + "allowFreeform": "unused_declared_field", + "choices": "unused_declared_field", + "question": "unused_declared_field", + "requestId": "projected", + "toolCallId": "projected" + }, + "gapReason": "No qualified ACP responder; must prove no blocking request or implement responder before qualification.", + "followUpPriority": "P0" + } + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-live-detached-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-live-detached-2026-09-28.json new file mode 100644 index 00000000000..1226b42b308 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-live-detached-2026-09-28.json @@ -0,0 +1,123 @@ +{ + "schema": "paperclip.copilot-live-detached-proof/v1", + "providerVersion": "1.0.88", + "model": "gpt-5.6-luna", + "qualificationStatus": "pending", + "scenario": "detached-shell", + "probeSourceRevision": "47eed960b380e8c8054eb19985aaefeabc6336c3", + "providerSourceRevision": "8aa867b64d5fc2fd62cff110bd000addf5dc54de", + "providerPackDigest": "sha256:627992ea80e8be7154d07cbc9925b781519199e25690b02d4a044f44342e6bd8", + "profileDigest": "sha256:b18c01603dd0169d233140709cfaa8bf5304a03cf5de78ca4f625f30013e8457", + "privateEvidenceSha256": "sha256:9943538f40e35b36438266f3ddaa977f9a74c12b9df928888bf24d70bb2d6b18", + "promptRequestsSent": 1, + "upstreamModelRequestCount": null, + "activeTurnDeadlineSeconds": 120, + "outerDeadlineSeconds": 180, + "automaticRetries": 0, + "reservationUsd": 2, + "stopReason": "end_turn", + "terminalElapsedMs": 10675, + "permissions": [ + { + "elapsedMs": 6938, + "requestId": 0, + "offeredOptions": [ + { + "optionId": "allow_once", + "kind": "allow_once", + "name": "Allow once" + }, + { + "optionId": "allow_always", + "kind": "allow_always", + "name": "Always allow" + }, + { + "optionId": "reject_once", + "kind": "reject_once", + "name": "Deny" + } + ], + "outcome": { + "outcome": "selected", + "optionId": "allow_once" + }, + "kind": "allow_once", + "exactSession": true, + "exactCommand": true, + "writeAttempt": true + } + ], + "nativeToolCall": { + "elapsedMs": 6884, + "title": "Run the requested background marker command", + "kind": "execute", + "rawInput": { + "command": "sleep 3; printf 'ACP_BACKGROUND_DONE' > qualification-marker.txt", + "description": "Run the requested background marker command", + "mode": "async", + "detach": true, + "initial_wait": 30 + } + }, + "nativeCompletion": { + "elapsedMs": 10083, + "rawOutput": { + "content": "", + "detailedContent": "" + } + }, + "detachedToolObserved": true, + "backgroundCompletionObservedBeforeTerminal": true, + "markerOracle": { + "sampleCount": 118, + "firstObserved": { + "elapsedMs": 10098, + "phase": "during_turn", + "exists": true, + "matches": true + }, + "terminal": { + "elapsedMs": 10675, + "phase": "terminal", + "exists": true, + "matches": true + }, + "afterCleanup": { + "elapsedMs": 16147, + "phase": "after_process_cleanup", + "exists": true, + "matches": true + } + }, + "providerExit": { + "code": 0, + "signal": null + }, + "cleanupComplete": true, + "result": { + "passed": true, + "failures": [] + }, + "nativeUsage": { + "inputTokens": 33273, + "outputTokens": 126, + "totalTokens": 33399, + "thoughtTokens": 38, + "cachedReadTokens": 22096, + "cachedWriteTokens": 11168 + }, + "providerReportedCostUsd": null, + "externalBilling": { + "baselineDisplayedIncludedAiCreditsUsed": 3, + "displayedIncludedAiCreditsTotal": 1500, + "postProbeReconciliation": "parent refreshed GitHub billing dashboard", + "exactCreditConsumption": null, + "additionalUsageEnabled": false, + "additionalCashBudgetUsd": 0, + "postProbeDisplayedIncludedAiCreditsUsed": 3, + "additionalCashChargesUsd": 0, + "note": "Unchanged display may reflect credit granularity or delay; exact credit consumption remains unknown." + }, + "scope": "One real GitHub inference turn waited for this finite detached command. This does not prove every background lifecycle or Product/Daytona qualification." +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-message-identity-distributions-1.0.88.json b/packages/paperclip-runner/test/fixtures/copilot-message-identity-distributions-1.0.88.json new file mode 100644 index 00000000000..5f78f212e4d --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-message-identity-distributions-1.0.88.json @@ -0,0 +1,4107 @@ +{ + "schema": "paperclip.copilot_message_identity_distributions.v1", + "upstreamVersion": "1.0.88", + "status": "offline_candidate_not_paid_qualified", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "platforms": { + "darwin-arm64": { + "executableSha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "closureSha256": "362f2663e967fb9e34a814bac4619cbf89e6b23069c4051ab1f2f686852d0a32", + "entries": [ + { + "path": "copilot", + "sha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "size": 152595280, + "executable": true + }, + { + "path": "distribution/LICENSE.md", + "sha256": "b9680937e10425bf19862908856c16ed274e6b81a1368bd62be7a757eab21628", + "size": 2955, + "executable": false + }, + { + "path": "distribution/animations/app-install-nudge.json.gz", + "sha256": "8a4165e6e95f127fe3123e647580c31def2d52b7824f2c4e48b505339132543e", + "size": 9900, + "executable": false + }, + { + "path": "distribution/animations/banner.json.gz", + "sha256": "cc6dcef840f5f63c9683e84bd55478e6fd2a22130bf1be6f53dece870e996446", + "size": 4887, + "executable": false + }, + { + "path": "distribution/app.js", + "sha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "size": 7856755, + "executable": true + }, + { + "path": "distribution/assets/copilot.ico", + "sha256": "13c6005245ba982d54fce8a8fa7a5a517c35e68322f2bcc4d4cd5366d5aa4ac4", + "size": 315320, + "executable": false + }, + { + "path": "distribution/assets/copilot.png", + "sha256": "601aea9338888b3e0065b6b6bcb5793bf1215f205b6e781a47b1893d96fd67d1", + "size": 51687, + "executable": false + }, + { + "path": "distribution/assets/copilot.svg", + "sha256": "ff370a742c271f57810569f80d6202e1fdfdd5c1a270e691f18cecc0bd08a738", + "size": 3940, + "executable": false + }, + { + "path": "distribution/assets/copilot_win.png", + "sha256": "5977b25558f3a25e858f1e9d74dd9d621cd02044cecd95fd3858ae425f715fe5", + "size": 2831, + "executable": false + }, + { + "path": "distribution/builtin-skills/customize-cloud-agent/SKILL.md", + "sha256": "6acee791cd48a31eb881431c0f1394d3c79d33d62f0d58b2d9b699e4a275ea93", + "size": 18679, + "executable": false + }, + { + "path": "distribution/builtin-skills/discover-resources/SKILL.md", + "sha256": "9afbbacc30095ee4b4a70da34471781be9ad1df46f6c2df1ddbdc0473b34c6e7", + "size": 3647, + "executable": false + }, + { + "path": "distribution/builtin-skills/github-pr-media/SKILL.md", + "sha256": "eba36e66d053b3db19e8f51cfb7d28186ef2baf90159f51bf2333747b150070b", + "size": 4938, + "executable": false + }, + { + "path": "distribution/builtin/customize-cloud-agent/SKILL.md", + "sha256": "6acee791cd48a31eb881431c0f1394d3c79d33d62f0d58b2d9b699e4a275ea93", + "size": 18679, + "executable": false + }, + { + "path": "distribution/builtin/discover-resources/SKILL.md", + "sha256": "9afbbacc30095ee4b4a70da34471781be9ad1df46f6c2df1ddbdc0473b34c6e7", + "size": 3647, + "executable": false + }, + { + "path": "distribution/builtin/github-pr-media/SKILL.md", + "sha256": "eba36e66d053b3db19e8f51cfb7d28186ef2baf90159f51bf2333747b150070b", + "size": 4938, + "executable": false + }, + { + "path": "distribution/changelog.json", + "sha256": "63d808aa73c260039e8e8a8f66523af06ac3e1d0ad4a7ca0a85e3761d7502ddf", + "size": 1088362, + "executable": false + }, + { + "path": "distribution/copilot-sdk/canvas.d.ts", + "sha256": "2f5c82d47a8a1abd27466f9dc093106a59d83f685d4f6c29367e2ce25f44b700", + "size": 5858, + "executable": false + }, + { + "path": "distribution/copilot-sdk/cliVersion.d.ts", + "sha256": "560db20a242a671969bc05d32121b5c5bb3b0d88b0ba6384f6222d9bbb91fd7f", + "size": 113, + "executable": false + }, + { + "path": "distribution/copilot-sdk/client.d.ts", + "sha256": "734625086b3ef39b53c494c922b069a84eca64b7181509b42a7762cac35f9d68", + "size": 18301, + "executable": false + }, + { + "path": "distribution/copilot-sdk/copilotRequestHandler.d.ts", + "sha256": "730762ae75ad87be8cbef0080a2f5150919f0a9c53e52b6aaaa3f366f2c17d79", + "size": 3443, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/agent-author.md", + "sha256": "6280a2b6684a83ca7d17871be6666f5d979f5d3076ddbb9680edc83394abb810", + "size": 10352, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/examples.md", + "sha256": "7bc5fea049219a6d2ddd444dfcfee9b629ca99b22f4bad916086f6e7180ac3df", + "size": 21076, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/extensions.md", + "sha256": "c6b21c9e7f551fcd2cc3a541627a031fd073abc68c3450855687c871b97f9898", + "size": 4406, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/factories.md", + "sha256": "360834bd122edc4e2c9764d2db4d18712dbe1d5be3cccc39680eead3c0c8bd11", + "size": 21443, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/factory-patterns.md", + "sha256": "c37bae44a6cbabc4b70a5d0ccde3e04eb15a4c1111b2ed1a053efb1bbd254c33", + "size": 8201, + "executable": false + }, + { + "path": "distribution/copilot-sdk/extension.d.ts", + "sha256": "a83bc2d74059e6d56331671a33e0d0b6fc12563384e0dd6d279a6ebe45582384", + "size": 3303, + "executable": false + }, + { + "path": "distribution/copilot-sdk/extension.js", + "sha256": "cfb092cd6a7686833d02b832bdb47b13b8e325bfa864acb9ca692eb6d3443032", + "size": 494981, + "executable": false + }, + { + "path": "distribution/copilot-sdk/factory.d.ts", + "sha256": "1d23bbb4ebc8c1307182bd41b7f41f77ae83056cbf1579c072b976935c2afdf8", + "size": 15089, + "executable": false + }, + { + "path": "distribution/copilot-sdk/ffiRuntimeHost.d.ts", + "sha256": "519ac132a1d43f7f661d30cd1c3896d367a22639cbef526dfabe62f773bd4df7", + "size": 1720, + "executable": false + }, + { + "path": "distribution/copilot-sdk/generated/rpc.d.ts", + "sha256": "3b0d0ce9b73f657a453c64e94288d63b5f606f13dc599f0095e43213bcbf4e5a", + "size": 915008, + "executable": false + }, + { + "path": "distribution/copilot-sdk/generated/session-events.d.ts", + "sha256": "bba0f7bd4d34e586011f5e52945514902ccaf951553283fd8b0770eb37155717", + "size": 382125, + "executable": false + }, + { + "path": "distribution/copilot-sdk/index.d.ts", + "sha256": "a0c0eb9395e0abfba8b49ce5304cd44a7960586f7cb2529676392feab877f26c", + "size": 4685, + "executable": false + }, + { + "path": "distribution/copilot-sdk/index.js", + "sha256": "f8594ddbd0ad841395bd1fb0f02195094708aaef77bdaf767ddb617e19470571", + "size": 500179, + "executable": false + }, + { + "path": "distribution/copilot-sdk/runtimeArtifacts.d.ts", + "sha256": "1d78a2fd37b65e793e553db9a8323a6727b77e7ffbd6b61c462e778794dd76e2", + "size": 1248, + "executable": false + }, + { + "path": "distribution/copilot-sdk/sdkProtocolVersion.d.ts", + "sha256": "344a1c9669d1617346e2bb71d24081797b69b6cfd37c17b04b2aebf8e7a87260", + "size": 300, + "executable": false + }, + { + "path": "distribution/copilot-sdk/session.d.ts", + "sha256": "12ff3bcce06347e7d8810fa05a6b056c728281173723def01805a498c691fcf4", + "size": 15291, + "executable": false + }, + { + "path": "distribution/copilot-sdk/sessionFsProvider.d.ts", + "sha256": "6aa732885a832f7117a5d85853eb05b26052bc446a278c17b9463b7bdb06094d", + "size": 5545, + "executable": false + }, + { + "path": "distribution/copilot-sdk/telemetry.d.ts", + "sha256": "0721ce90ecd3a15eeb86d7787ca62236b1b545b0e93139ed5ef4419b16544722", + "size": 528, + "executable": false + }, + { + "path": "distribution/copilot-sdk/toolSet.d.ts", + "sha256": "41e53ae25809c90fd1a78f493cb912c6a9194c6e0a02e3e32545971c41a1cb56", + "size": 2725, + "executable": false + }, + { + "path": "distribution/copilot-sdk/types.d.ts", + "sha256": "2911ecb4aac830b7c129f2accf01086ae47a5250700dc050e95dfa33def862c4", + "size": 118473, + "executable": false + }, + { + "path": "distribution/definitions/code-review.agent.yaml", + "sha256": "1290258ee70b44faca1f0c74be26254f13e8401e825713ff3f5523b848b361f9", + "size": 4604, + "executable": false + }, + { + "path": "distribution/definitions/explore.agent.yaml", + "sha256": "83b4ed34c2fd8549dc5a557203c9d0db7dde5fc118b1eea8476585d05afa13ef", + "size": 2913, + "executable": false + }, + { + "path": "distribution/definitions/rem-agent.agent.yaml", + "sha256": "895ac0f7d0ce5cd006501eed7f1abfd38405ba93c30d16be9c7205bed6f335bf", + "size": 968, + "executable": false + }, + { + "path": "distribution/definitions/research.agent.yaml", + "sha256": "a32495c36fa076ded05b84dd04a93c2739e9be922ad77221beb519e3fb3d733a", + "size": 5594, + "executable": false + }, + { + "path": "distribution/definitions/rubber-duck.agent.yaml", + "sha256": "eb624f30ef69f8cfd18e7f3f14bcca63e13d1a0d3e05af006372b8d537bbd15d", + "size": 4820, + "executable": false + }, + { + "path": "distribution/definitions/security-review.agent.yaml", + "sha256": "7b6769eb585913a0ad59dadb3bf2e42cd9cfadb1540b341f23a28e5728be2d53", + "size": 14222, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/cloud-session-search.yaml", + "sha256": "0eaa7fe8f8cecb923c87c9598e22c4e338bfdc069cc9c78325eb6b589fa94bcd", + "size": 1809, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/github-context-memory.yaml", + "sha256": "22b699a6dd5b2d7964f8b2a913618ae478cf6910df2fc3ba336cf38b1be3b2ef", + "size": 4114, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/github-context.yaml", + "sha256": "9b7692e969e9ab36d7053fb2ef99ba9dd2ae78f6df75e645f54eb3cdb3fc6252", + "size": 2200, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/session-search.yaml", + "sha256": "8b6f48742fe847002e5ba6e00b05abc5339a5891387cd306790eb3b8c7dd8c11", + "size": 1889, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/subconscious-agent.yaml", + "sha256": "9fb4cb881677adc08c69818ecdde127276b1afe006817802c381a3ff5fb5887f", + "size": 2616, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-context-changed.yaml", + "sha256": "117edd3750a403c6cabf7964f217ae8129b16f9d0a6d2503e09ebe79d64f9d50", + "size": 1029, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-persistent.yaml", + "sha256": "a5ab1c16dd5f9a030010a375f7f26bca56aa196b212ea52ac2c5736cd80f3989", + "size": 861, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-restart.yaml", + "sha256": "21e44442b8380a758793d637a60fe94c226a6547d23c5bea3a14546f7f3e60ec", + "size": 831, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-trigger-once.yaml", + "sha256": "14a7cedf6ead133828280744b293e90402a2d47568c98a67273c1d7c3acdd53e", + "size": 828, + "executable": false + }, + { + "path": "distribution/definitions/task.agent.yaml", + "sha256": "1780e87f638e5c195b66173438565fd1af97eb0b9e2b1f2ebbd9d4e5b875f3af", + "size": 2112, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/README.md", + "sha256": "ff79555febdbf1ea12b10bef4f6bdcb08812205ba2efe568b048b0ecdd127bf4", + "size": 12375, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/deps_versions.json", + "sha256": "43ccda9b18ba2577033d7bf24580785fd1227828d9ab06b8011ddfeee57af8e9", + "size": 370, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/catalog.d.ts", + "sha256": "aa0db4dee8e54431e2e01d14fd7977d28cd3032f9c4940cc5b926b77d5469dd5", + "size": 3613, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/catalog.js", + "sha256": "c2cb5abd5e01162186cb43e67a0a6e49d4d9a556a7382b7dc1840d6c5c2a6b6b", + "size": 11418, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/configuration.d.ts", + "sha256": "900ba0e99ac907a92d07c08b179ba7d4379326fb71de2d338eb8434860338973", + "size": 2067, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/configuration.js", + "sha256": "7b01b6d5e18b7a8a2e465f0d75214a0b9884ffe57df95af1b2708a5a4c4d7bc5", + "size": 1645, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/coreInterop.d.ts", + "sha256": "80bb839431d2ee4c935d2def128faa4993acbe8d75fa403df5b50a61c2f92ff8", + "size": 980, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/coreInterop.js", + "sha256": "466e3287e579f2b4180fafcb33479549dd2bd683b687456e1b664cd84da524d1", + "size": 5557, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/model.d.ts", + "sha256": "8f219d0af8f00e9a0119ea8d69eb3d92bc2b5e25ce9e17ac218fcb4a8f88355c", + "size": 5311, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/model.js", + "sha256": "8f553a823eb0dda46eacdd53835449abd5f6e030d66d684d9a4e9c88396317ec", + "size": 6663, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelLoadManager.d.ts", + "sha256": "1a2e8b44486f02548f6d30a942f074d052175d7d14d6f5cd7918151cc1ff2552", + "size": 1045, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelLoadManager.js", + "sha256": "1a7888fe6fb620acc9b1d7ff8d17c5563139b0bd32834bdaabc4d36cc54343c2", + "size": 3288, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelVariant.d.ts", + "sha256": "a7af8a0359d36ed90322738bde975c534b9a3b69dcb0e0393cf6f88da7e1b486", + "size": 4649, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelVariant.js", + "sha256": "d62acc4da20f11fb40102f79ded6f45e3cf2f684db1f97c7888c26e84f86eef7", + "size": 7217, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/foundryLocalManager.d.ts", + "sha256": "812e9e2eec43997439392d139b995793aa3839f573aea38d115e90573f986cf5", + "size": 7846, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/foundryLocalManager.js", + "sha256": "bfbca8d6235ba998ce3e82ddc9970900a7e2511653341e1315786c6851c1f380", + "size": 9451, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/imodel.d.ts", + "sha256": "26244ca6cdfb41849ca8e8edef23c5a6681ed18a4acfb2b714c7d2beb0f592fb", + "size": 2156, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/imodel.js", + "sha256": "6ab1971ca21097ea33a2b7b423aee408c093fec343292bcbbc59971d3e253713", + "size": 45, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/index.d.ts", + "sha256": "977e345d9eb116eaf3d4db1f972222480fd0fc6e59d3ac273aef1801dbead4f0", + "size": 1109, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/index.js", + "sha256": "e030b97bdb052ed99f00df928c2fc42f7ac165021d86df792290225c30c5376f", + "size": 929, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/audioClient.d.ts", + "sha256": "7a0d9fe37f7e6f253be258a7938667334deadeb930c2b8872f22e517d1963762", + "size": 2253, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/audioClient.js", + "sha256": "04264c41f3567811940ef28b48d97684b333ccbac9829cce8b3d0db8e763b51f", + "size": 9895, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/chatClient.d.ts", + "sha256": "a9da4a98dc50b1425e2ace9ffb044a3aa872e678947bf035339c9b8703dd6d1e", + "size": 3283, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/chatClient.js", + "sha256": "c59a093318d05a3e38a2f68693f3b64a24603472c73517743302d5a507331063", + "size": 13835, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/embeddingClient.d.ts", + "sha256": "a1875a29cd2825fa23c6fe7bf7f4e04c4e2e574e142e0e5fb0c0291b2206528d", + "size": 1470, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/embeddingClient.js", + "sha256": "bd55fbceb7fea625d30144a462d1c18dd857e6a2539a4179734d3b3237656428", + "size": 2554, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioSession.d.ts", + "sha256": "f2ed7df5665add334b18ad793866c814333863345f8077b8c925cb9b0aed66e4", + "size": 3441, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioSession.js", + "sha256": "889d7adcb9a64858113cd881a77f56962fa85266d2a7ac58c319ecc45be745bf", + "size": 12816, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioTypes.d.ts", + "sha256": "831434a52d2643186dd76bbb657c3acf2f0635cafaa94763a0ff2f728242146f", + "size": 2387, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioTypes.js", + "sha256": "f78e54d6ed3b9b0fba913e7ceec41b36364279e1d93d8b006b62af55806d027c", + "size": 1840, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/responsesClient.d.ts", + "sha256": "3126a17df66edb893fb5d26bd6ea80a05f5bb516e47da661e927c0936e86d0d2", + "size": 5737, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/responsesClient.js", + "sha256": "76b477538feb61c41bc0ff7cf8f23b7dbe75bc2fda4720e29c70ff3cac9afc7f", + "size": 15246, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/types.d.ts", + "sha256": "cca44657b82f9b3c0cd7528e6dbddf5f949e42f5d34afe60c0d566f28e3fc0b0", + "size": 9844, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/types.js", + "sha256": "ca23f484beade559e7ed612347ac8f615c2c4cc97c2e1b0a74b9c882db7f6f38", + "size": 297, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/LICENSE", + "sha256": "6bb5b2d4c07d793ca928daa63a8899c6914fafb5ac3aa04ec10cae07f3d57dca", + "size": 1106, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/README.md", + "sha256": "9d05e156889b1475cdee97a13ed84a4abee0d752b2aaa28ded5359fcf45df901", + "size": 2894, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/adm-zip.js", + "sha256": "f4feddb21980597cd0248c8790922534abfa90c17a483b00ece15e392074ee27", + "size": 40794, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/entryHeader.js", + "sha256": "6ed1ec82e6124d71dbfb4ee6e5dd4c975657854354cf74741427a1862010a664", + "size": 12717, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/index.js", + "sha256": "536e4b5bf009a3d9f6eccfbbc4157cb6de663d889e0826ea5f6e5fa17aaeb8bf", + "size": 94, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/mainHeader.js", + "sha256": "ed5a2b3fc7c8a6937e07447eb3e55e08a0655d2f24fe04039e7008845d221a25", + "size": 7141, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/deflater.js", + "sha256": "6dc41b2460594cfa5136b797653c166b2f7403820a40f2fca17cca35a5de1b5f", + "size": 1021, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/index.js", + "sha256": "d67714f1a04be942f90be77069af3ff4214aa8ee84b26edeff3a87eb0d8e2dc0", + "size": 128, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/inflater.js", + "sha256": "7b62c190669eeefd6b2810a3339d9109ecb219f845fcd12ae93518beec35dc49", + "size": 1146, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/zipcrypto.js", + "sha256": "23365c7eda0ea098385dc7ec649517fc110ce2764d2e707c37bf6b528604e25a", + "size": 5806, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/package.json", + "sha256": "76a6fc3e9bf811c9ada1173b7a7c0621d36329c29c221428f46f75762d3aeb5a", + "size": 1387, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/types.d.ts", + "sha256": "98fae6ae2e5d026a91e0316209813ce304069ab85d0471f35152d5db500d23c1", + "size": 9641, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/constants.js", + "sha256": "208e943a2e5faad056047f3c7991cce3cde637d8e272a564f2546210ebdf2069", + "size": 6374, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/decoder.js", + "sha256": "73a0ebb00c4dce2124f07acf0b34374cb03a4384cccd1cd6f58aee27c35953d9", + "size": 130, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/errors.js", + "sha256": "d2d243647737c795c2db8aeba2e1f3841d5f76370b521d436cf465322dd4aab7", + "size": 2868, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/fattr.js", + "sha256": "31c93eb386a2bfbf19ad92a6bf20d510a8f1e7e90cc71d33dd888f89da12362d", + "size": 1892, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/index.js", + "sha256": "dc5b230ed853947ea55c0bf69f0e525fbeffefff09aa3da296d541bb8898314e", + "size": 226, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/utils.js", + "sha256": "f50d229943cce6067a7f09f5e97b4a69157ec11759777382e5ca0ba03671d1e9", + "size": 13011, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/zipEntry.js", + "sha256": "874e9510d362ba7d2cd85e2dcc7a0e7a6caa4de8ddb37fb4d5e68a018cd87a39", + "size": 15173, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/zipFile.js", + "sha256": "a709d4f3ee218f457b7e71dd6b22dcf58858cc5410eece4dc4ecd7c4e9a2c027", + "size": 16516, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/package.json", + "sha256": "07d0242f84fdcfc8f4a0e601dc35f01fa153535c67f95262e0bd750ba7cfa418", + "size": 1296, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/prebuilds/darwin-arm64/foundry_local_napi.node", + "sha256": "1cb33a3264bd3843f092be626ee0b4181646ef632cbf7f671b3624b1d44c283c", + "size": 55032, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/script/install-utils.cjs", + "sha256": "0831c932b10389283e805f88a204b0f6a5a8053f2ee520e56a0f0adf1352aa8b", + "size": 10443, + "executable": false + }, + { + "path": "distribution/index.js", + "sha256": "24ec5cfb8f9bcb6559d8c187fbaaae3a9e964a570bf212fa646cff825bc47b78", + "size": 41547, + "executable": true + }, + { + "path": "distribution/npm-loader.js", + "sha256": "0ea824a86be5757533fdb092eff7050871bd7a711a46babde0ffe0e44ac5ad88", + "size": 1185, + "executable": true + }, + { + "path": "distribution/package.json", + "sha256": "d4a592ea2cd06fc3be13dd46cf4d41b2277516efa3dd3f24e438bde3b4cd523a", + "size": 2188, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/.release-target", + "sha256": "8d881856b9e9a2991794a6cb91599bddc227db867a3ff50402438c3d5a02cb57", + "size": 13, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/CodeResources", + "sha256": "cdd2874058dbebc37dd2c284b1ebf49aca0903741483dd61946f7e2afc60e4a9", + "size": 1653, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/Info.plist", + "sha256": "68318792b18f1e92ec2784b054489023727146e03e7926a1bd3798fe95629ef3", + "size": 1320, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/MacOS/Copilot Computer Use", + "sha256": "114430b2babd63194571f060961490d4a29f39d44796557277bf49c1bb547a05", + "size": 2591840, + "executable": true + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/PkgInfo", + "sha256": "82502191c9484b04d685374f9879a0066069c49b8acae7a04b01d38d07e8eca0", + "size": 8, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/Resources/Assets.car", + "sha256": "ce5c0f133fdae3c24ed7e93a39f51d5e133025cad44c1c89b7755e75a7f284b0", + "size": 1593544, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/Resources/icon.icns", + "sha256": "44d787b9159291ec5d862d257b5d1c9178c2264d1a1aba7c21d75ae8c1e3613a", + "size": 815442, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/_CodeSignature/CodeResources", + "sha256": "e994e1e722bdf4f8ecdc7ca3e7d2d5dff4c0170f20ea43012c78b55cc27aacd8", + "size": 2666, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/computer-use-mcp", + "sha256": "d43ca16788e53034aa12737fd05d08f91d812e1398f999d3d9d863f6a411e5f8", + "size": 2292944, + "executable": true + }, + { + "path": "distribution/plugins/computer-use/mcp.json", + "sha256": "37a1f153978a85cc2b112f133eb8a430b647014991c4475b79148f28ee224fbf", + "size": 236, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/plugin.json", + "sha256": "256f4eeb66f714ee6db8a10aba969f266094d537b9c7b273254da0b39326e834", + "size": 185, + "executable": false + }, + { + "path": "distribution/prebuilds/darwin-arm64/cli-native.node", + "sha256": "e07a3b5c5636349d7bf669ee5e6efb303d36ccb92784b98aeb064b2734cdebca", + "size": 4192464, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-arm64/copilot-runtime", + "sha256": "502ee556ebd401c06e005aed180fa0ea35060ca0ddee0bf15977164640348a42", + "size": 387056, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-arm64/mediaremote-adapter/LICENSE", + "sha256": "a489c16a6be195584fa0b35e28fca54abc8492eb0cc05d851dd24f522f4900a2", + "size": 1521, + "executable": false + }, + { + "path": "distribution/prebuilds/darwin-arm64/mediaremote-adapter/MediaRemoteAdapter.framework/MediaRemoteAdapter", + "sha256": "b21ff01b421f556664dea3ee3e801a311a129244c23691163681f0f35d6656d1", + "size": 168112, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-arm64/mediaremote-adapter/mediaremote-adapter.pl", + "sha256": "984d622eeebbcb17656d157a49272b02fb741593ae2ec624d1926c12d955c8a1", + "size": 8444, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-arm64/runtime.node", + "sha256": "f14b974c47d10d2ff207f6b3e72fb7a33ba207809d91873ad640a81b0f25139c", + "size": 75019696, + "executable": true + }, + { + "path": "distribution/preloads/extension_bootstrap.mjs", + "sha256": "ebf4edc7cc2195fc1b7c5c26863e08137137ec075cc73ff335331534115a1be6", + "size": 2811, + "executable": false + }, + { + "path": "distribution/preloads/extension_sdk_resolver.mjs", + "sha256": "e57d71730c8f937315a72b66187c56cc4fa78ecbd13590795136996e2851bf19", + "size": 1331, + "executable": false + }, + { + "path": "distribution/pvrecorder/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/README.md", + "sha256": "7eb46bc4bdba8002da1165107fc729ee816f58063a8e8d6d0083a3fb81898683", + "size": 1675, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/errors.js", + "sha256": "14b373ef00a0bf0fceb5abe86a6628f914a466b2403ba376f78b025cff05e92b", + "size": 2528, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/index.js", + "sha256": "a99551364022401340991df2d74e1c949290e920aa9247d22c262e26b768a0f0", + "size": 748, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/platforms.js", + "sha256": "9eb9c4c2af151391c4966bdaf15364d15362996915e8f5fa685daca1c3f81359", + "size": 6404, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/pv_recorder.js", + "sha256": "3323ebdbad3d524dc4330d25cb226cc17a0f7f365b738f471faf883d71de658d", + "size": 6154, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/pv_recorder_status_t.js", + "sha256": "c7c94cd144fb0fcf5f844e76ff83d754dc6b835e45893c2cc81de5f0c3ddccbb", + "size": 1519, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/errors.d.ts", + "sha256": "5250616ee995097ea36daa3285d957e3adcdd9c76a6dd13ea3d10174c38a8668", + "size": 236, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/index.d.ts", + "sha256": "6b27f29a807ef113c326fcc2139ddde257e74585cb58591ad9753dcbfd00c03f", + "size": 98, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/platforms.d.ts", + "sha256": "a11acc208b8d403db8882b97e0101f549a5dd7a1ca656ff46d9378277a100064", + "size": 142, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/pv_recorder.d.ts", + "sha256": "6b06821393cd5fbab4874a11c46634e7bb1ff91848bbf34a1e5008ccea6929bf", + "size": 2741, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/pv_recorder_status_t.d.ts", + "sha256": "b35985d2b520dc2570f90f23e6db7e6ce37369db6e35c27bc532de349421175e", + "size": 337, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/lib/mac/arm64/pv_recorder.node", + "sha256": "f5bc73a9e4e4506bc1882a1c3eb318f51848621c2620fb6eaa177faefc2fa648", + "size": 625648, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/package.json", + "sha256": "e44a9dde00f1344251f22bce37520ea1bbbde5af2965cab7e612758854ee3a99", + "size": 1197, + "executable": false + }, + { + "path": "distribution/queries/bash-highlights.scm", + "sha256": "77860b9f127ca82681e3691bba003e62d1d8dbced05e4fe96041d26fd8944656", + "size": 5776, + "executable": false + }, + { + "path": "distribution/queries/c-highlights.scm", + "sha256": "a99c4c0bf9d9b9f7de0124c529a4229fddada96d65bf5fb0c9d487266e15d483", + "size": 6332, + "executable": false + }, + { + "path": "distribution/queries/cpp-highlights.scm", + "sha256": "69d1dbed8d49c498e93a75db6afedfb8769fa2fed455a64d588dc347281d642f", + "size": 4904, + "executable": false + }, + { + "path": "distribution/queries/csharp-highlights.scm", + "sha256": "4b79059a52926e8cd08a1d80af70ba02acefb86bc8ed82315897fb104ed1a338", + "size": 8302, + "executable": false + }, + { + "path": "distribution/queries/css-highlights.scm", + "sha256": "6641fed120530bfbce5682ab88b2a8d14d99bfcd971ac9f78cd91738b4b0578a", + "size": 1177, + "executable": false + }, + { + "path": "distribution/queries/go-highlights.scm", + "sha256": "c58a7336d4834ebfbb038002c6ab033f792cd1b8d3e7e1682bdaa982bee7f6b1", + "size": 3934, + "executable": false + }, + { + "path": "distribution/queries/html-highlights.scm", + "sha256": "1ebb3811a8cdc054385b847a3aac6fbf7079faefd5b3dfab5bbad256cd5afdcf", + "size": 197, + "executable": false + }, + { + "path": "distribution/queries/java-highlights.scm", + "sha256": "c68c0e7e9ae36d94c9e5ab06556b34c5e8568d1ce1867043d92bbe4b3b4dcf2f", + "size": 4425, + "executable": false + }, + { + "path": "distribution/queries/javascript-highlights.scm", + "sha256": "d3630ae6dc9b2b27b230b5f8bb92b05cd491fb12bff353dae62a0a6d780461ee", + "size": 2739, + "executable": false + }, + { + "path": "distribution/queries/json-highlights.scm", + "sha256": "6ab09656820f0e8dac860c96dced341221284544c05308ee337727f5db937101", + "size": 412, + "executable": false + }, + { + "path": "distribution/queries/php-highlights.scm", + "sha256": "a2a7367659cff3b4be09961c8117d69a9b8703bfc266f8092e089b1760f197e9", + "size": 3207, + "executable": false + }, + { + "path": "distribution/queries/python-highlights.scm", + "sha256": "a6708f209381618e2b398972c8f1ccd892f0c064eab35a2a3f911c3e22e79a7e", + "size": 1957, + "executable": false + }, + { + "path": "distribution/queries/ruby-highlights.scm", + "sha256": "1cc8fc205e4cce4fe9e0d63bb1be903e49ea0f2eda77ae9368898a31ff98bc18", + "size": 4068, + "executable": false + }, + { + "path": "distribution/queries/rust-highlights.scm", + "sha256": "c649a4785322ab72af84874b9dc03c7a4f5d9a05de45a85919a60770d7d5457d", + "size": 8610, + "executable": false + }, + { + "path": "distribution/queries/scala-highlights.scm", + "sha256": "e9e89654a7df214f4c79c28af7bc50bdb5c6cc5abb9690e3e1ce19c35b797991", + "size": 4858, + "executable": false + }, + { + "path": "distribution/queries/typescript-highlights.scm", + "sha256": "e0c35adb819127bfd4f853fac5419e7d8ba44760246201d04a4a5ce0228a10c5", + "size": 515, + "executable": false + }, + { + "path": "distribution/ripgrep/bin/darwin-arm64/rg", + "sha256": "24a06598aca017914d5f8849a9d855d412a6a89c39b428d3180dea9b69f8eee4", + "size": 4520448, + "executable": true + }, + { + "path": "distribution/schemas/api.schema.json", + "sha256": "032a7784171eb2c4eb8260f0c0b67f05e9b1c76d0e74fe507871ba6a36d9a3ab", + "size": 1914299, + "executable": false + }, + { + "path": "distribution/schemas/session-events.schema.json", + "sha256": "d8cb713c05d5278a68dde5c5d4482574f836e922ae13aa06f82474c209a7c6e9", + "size": 895984, + "executable": false + }, + { + "path": "distribution/sdk/index.js", + "sha256": "a0718e6376a1146da09b4cf6ef2a332d447cd22f7dfffdedc000c7b622309ef4", + "size": 1165545, + "executable": false + }, + { + "path": "distribution/sea-loader.js", + "sha256": "28b90bfebd03f86b7d6ffc22957cb5251adaa0358c3c01e7d1bb35b20c853a5f", + "size": 122246, + "executable": false + }, + { + "path": "distribution/tgrep/bin/darwin-arm64/tgrep", + "sha256": "a0713b25b844a4640a990cb270255ff616af330836664f482450c59cde64fde3", + "size": 6336704, + "executable": true + }, + { + "path": "distribution/tree-sitter-bash.wasm", + "sha256": "8292919c88a0f7d3fb31d0cd0253ca5a9531bc1ede82b0537f2c63dd8abe6a7a", + "size": 1358224, + "executable": false + }, + { + "path": "distribution/tree-sitter-c.wasm", + "sha256": "c852c2a85ebf2beb636aa3b0ef7f7e70458684d74f6741b20dcb296885bed9f9", + "size": 625918, + "executable": false + }, + { + "path": "distribution/tree-sitter-c_sharp.wasm", + "sha256": "6f69e1cae44e1c32c1eccc170dc5a9778fb94ff716f71113fe1f8c4299aa2f40", + "size": 5350581, + "executable": false + }, + { + "path": "distribution/tree-sitter-cpp.wasm", + "sha256": "174eb0deb75b2ec7881bcacda9f995648d8e683956e5c2267e69ab6dc503fcbf", + "size": 3434931, + "executable": false + }, + { + "path": "distribution/tree-sitter-css.wasm", + "sha256": "8a23977fe271357cce6f254ef88c9bebf3854602d8046605aef6a45c02135c59", + "size": 128668, + "executable": false + }, + { + "path": "distribution/tree-sitter-go.wasm", + "sha256": "9504573f352b20be7f2f1911754d710622aedc15afff16d5ed8fb5645681aee7", + "size": 217182, + "executable": false + }, + { + "path": "distribution/tree-sitter-html.wasm", + "sha256": "c48fcd82c7ea8bf943180088ba7f28c48b2bb5287874179168bf9d31e394cf85", + "size": 18385, + "executable": false + }, + { + "path": "distribution/tree-sitter-java.wasm", + "sha256": "4fdeac4ca6ca089f06c6f7e562abcac1733cd465728cc7031ebb73c2019122c4", + "size": 414641, + "executable": false + }, + { + "path": "distribution/tree-sitter-javascript.wasm", + "sha256": "5fb488d0cabb4775a594bab85682de5ad6ce83c0d6ac997a9f82dd084d571240", + "size": 411770, + "executable": false + }, + { + "path": "distribution/tree-sitter-json.wasm", + "sha256": "d2119fb98d5912719b13f9458574f8608d2d29dfbe45f6be1f860ea1fe2a2405", + "size": 5596, + "executable": false + }, + { + "path": "distribution/tree-sitter-php.wasm", + "sha256": "d4df6a6ff08c87c3ec4f9cbb785fe09998a0cb570e03f57d7b19b3acfb146aa7", + "size": 1058041, + "executable": false + }, + { + "path": "distribution/tree-sitter-python.wasm", + "sha256": "16108b50df4ee9a30168794252ab55e7c93bfc5765d7fa0aa3e335752c515f47", + "size": 457883, + "executable": false + }, + { + "path": "distribution/tree-sitter-ruby.wasm", + "sha256": "09a96427d7c72f0613ed470cd9812223fc4a91d6a9c025c0235cc6bd59ff96f4", + "size": 2106352, + "executable": false + }, + { + "path": "distribution/tree-sitter-rust.wasm", + "sha256": "f65f354215611fd94ad34134b3427eb3d58cbb745df7b6509ba722184db73d57", + "size": 1102547, + "executable": false + }, + { + "path": "distribution/tree-sitter-scala.wasm", + "sha256": "b7ec2bb29c19827abcefd18ed5cb5a43596009f96a5d53c5b9d1f9676d7521c3", + "size": 3786700, + "executable": false + }, + { + "path": "distribution/tree-sitter-tsx.wasm", + "sha256": "79e5da75ea62855a0cd67177685f0164eac87d5f630b3cbe1e0a099751ad30f8", + "size": 1445638, + "executable": false + }, + { + "path": "distribution/tree-sitter-typescript.wasm", + "sha256": "778025db5a8be0e70f8ccc3671e486dfeddd048c25d9e8a70c26de2e1bf6f97d", + "size": 1413849, + "executable": false + }, + { + "path": "distribution/tree-sitter.wasm", + "sha256": "f38dcc4b43b818f9a0785bc1c6d5611a75ac4cdd428ff3f02757c34ca4e46d7f", + "size": 205488, + "executable": true + }, + { + "path": "distribution/voice-engine.worker.js", + "sha256": "bf601f1092d1b8734a582d8182c223855c7f5cfb17f8fc529f1791dfd470d5d2", + "size": 112985, + "executable": false + }, + { + "path": "distribution/voice-installer.worker.js", + "sha256": "4a843b379310d44f422271e75d3246ada24f567587850c3ef501f565c905b493", + "size": 11639, + "executable": false + }, + { + "path": "distribution/voice-server.js", + "sha256": "c6b2c140027ef6c7b283ebbb4cbde1dc32f12f97901ff45dfdfd536269bac1d2", + "size": 130952, + "executable": false + }, + { + "path": "distribution/webview/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-darwin-arm64/README.md", + "sha256": "f7fac36538af09475752019eedaf6299ff21f36cf9e7cb4a6c676c7974afff0b", + "size": 106, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-darwin-arm64/package.json", + "sha256": "e9241663ed145cdb282dbc65933b7c14cb30a3da2cb47a0b5f657e23d5889084", + "size": 638, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-darwin-arm64/webview.darwin-arm64.node", + "sha256": "85089cd40b59cd4cb087ad43d448c308b3461106fae78795d5852d5eedea585f", + "size": 3997792, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/LICENSE", + "sha256": "9cac72e0573f14d3f9bcb8f70922d589ba07dd1051a5c12229f111e154923f0a", + "size": 1065, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/README.md", + "sha256": "69c2e106db45187b981358c938e41b8bfb67fb3a451930f102a63b471c0da675", + "size": 16477, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/build.mjs", + "sha256": "bcb69c0cc8356b78d07c53719ccaa372f1d6b6c381973b76508681573a7b1db4", + "size": 3640, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/index.mjs", + "sha256": "3d6d86fc751897b67e1b94f0b1d0a667d79e6256b278a7e801467bfd67ad2689", + "size": 3837, + "executable": true + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/utils.mjs", + "sha256": "fb7a2fc54e53c777de835f50c7d4483bee60d1aece0c1deddbe2f232f571d8f1", + "size": 193, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/CNAME", + "sha256": "405d5f5a242885480dc01db6227484ed4b6d723fd7c3b2547f9f36e46decac15", + "size": 14, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/README.md", + "sha256": "65578b7f73cc6c145a9d962ca6f2ee56b06153a8277eea8c3c3cadc7d602f155", + "size": 15717, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/application.md", + "sha256": "44227367accc4a9f5b8468e19680ffd1229891d59c0652e8f45370c0872160bd", + "size": 6074, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/browser-window.md", + "sha256": "597920a56d3ff8c87b6990473e5150a454f109bd7e639125c8a82d039ade7487", + "size": 11107, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/menu.md", + "sha256": "838a998eba786e959bec89e148fae7d547df1b13e490b55c890d58100fd77b98", + "size": 3828, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/notification.md", + "sha256": "8e90225a0f40ebcd2a69bc9e0b8d51c645810faa4fcaae3651101bcaa686d101", + "size": 5622, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/tray.md", + "sha256": "f071ca7d3a5cc7cb271ceb9e2712db9c6c80d5c8ab33b4a8fc3b168e5d9dd3aa", + "size": 1628, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/types.md", + "sha256": "e006fb8428d0e58943468f62c77ec78bcba1bb7b0bc41ce3e2258417fe51320c", + "size": 5711, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/web-context.md", + "sha256": "92b9ed94a8868a1ff8b0f3e4ef92be2a0b2564f7beb1fc8b6107b7f1bca96429", + "size": 1774, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/webview.md", + "sha256": "78ade1e288c7a6169678d4bb64f9e450ed4e855324c310354686c11f127bd494", + "size": 6279, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/event-loop.md", + "sha256": "28b1f847d6ff3c71c5b3fbf9f46d531b6fbd9ba585365cfbe9a2292e698171bb", + "size": 2511, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/installation.md", + "sha256": "06acf9a3d61c0d84f0dcc65153f43d288e1bb139a0e16df69253fae68c2c6c76", + "size": 1173, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/quick-start.md", + "sha256": "55cdf7992b7ad793b204ac80268c66600975ee20c474c2ca029cdd6db58073b6", + "size": 1995, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/building-executables.md", + "sha256": "18a1d5d2596e0e0b05758643981d7ffe5b9d9f32bf0884c84978c647bf2419e9", + "size": 5026, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/cookies-and-storage.md", + "sha256": "0eb9abdd246e5a2a0d4a8578c6b565781fdb9d7b99463b50c05a6851c3eed365", + "size": 1783, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/custom-protocols.md", + "sha256": "1c72110266d09b04f544c0d20aa7fe1f4b6ad84ffa9e171b7f6e55832d39c4c1", + "size": 3148, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/ipc-messaging.md", + "sha256": "d03b307d46cafe92ad0297cad0a0ee1b3af410143281be4be5ab2dbc31e2e74e", + "size": 1790, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/menus.md", + "sha256": "88b791fa71cbb51351cd3a220184ea54a53426cca00eab0c185acd139053fe6d", + "size": 2764, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/multiple-windows.md", + "sha256": "6d05fa117efc95207d4707bbf2728ae31f482bc6e9f29a8a436389fdaae003cd", + "size": 1835, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/android.md", + "sha256": "646dc6f1ac30a4f2bd25faec682a2d6f0262ea59193ac44490d5914cf1294cd0", + "size": 326, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/ios.md", + "sha256": "b8b1c2bc59611d633971556fb94720bdb411e2de89771fb372217d1a17b53cb7", + "size": 420, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/linux.md", + "sha256": "cbd1df68b7c899f826aff9e0fd2d13e9f9e19892ad16fd47a6fea5c625dc0e8b", + "size": 1986, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/macos.md", + "sha256": "9b5b1d9c4065d7904c02e3dc79517b6df4f8a44dd95902e30502d130cdef5d71", + "size": 2260, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/windows.md", + "sha256": "5a84a310a20d42e0b24492472efd5512aae11c68668620f071a3d85c3583512a", + "size": 2136, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/index.d.ts", + "sha256": "49610270556eaff855f8efc8026a595c354309ea325d846d33a617ad54039a39", + "size": 13502, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/index.js", + "sha256": "9bce1f609372abd7da4973967276ba591c43f9b933bcd52030edb1ad6ee3b8db", + "size": 22727, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/js-bindings.d.ts", + "sha256": "f2f384ab7913a7e38369155a5abda97c0af3b72db6021df341e8da2288ceceaf", + "size": 20365, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/js-bindings.js", + "sha256": "e6a970a01839ed97c9a9636a01bf1c77c298a8270b3f1708c4927191856a3bcc", + "size": 28518, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/package.json", + "sha256": "0a71bc7c23521db3890aadb13763297422e1988e9a68f95ec8b8832c07d33b89", + "size": 3442, + "executable": false + } + ] + }, + "darwin-x64": { + "executableSha256": "85eb919f6b9b9dd833ce5e326cbf974b3ee2d4a9ac525c59d4ec9c9ec085715b", + "closureSha256": "c08b7c3dd4e7bcf9a3e16ec6eba29cfa10308e865d196c5f120a3a15f6b3116a", + "entries": [ + { + "path": "copilot", + "sha256": "85eb919f6b9b9dd833ce5e326cbf974b3ee2d4a9ac525c59d4ec9c9ec085715b", + "size": 165041200, + "executable": true + }, + { + "path": "distribution/LICENSE.md", + "sha256": "b9680937e10425bf19862908856c16ed274e6b81a1368bd62be7a757eab21628", + "size": 2955, + "executable": false + }, + { + "path": "distribution/animations/app-install-nudge.json.gz", + "sha256": "8a4165e6e95f127fe3123e647580c31def2d52b7824f2c4e48b505339132543e", + "size": 9900, + "executable": false + }, + { + "path": "distribution/animations/banner.json.gz", + "sha256": "cc6dcef840f5f63c9683e84bd55478e6fd2a22130bf1be6f53dece870e996446", + "size": 4887, + "executable": false + }, + { + "path": "distribution/app.js", + "sha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "size": 7856755, + "executable": true + }, + { + "path": "distribution/assets/copilot.ico", + "sha256": "13c6005245ba982d54fce8a8fa7a5a517c35e68322f2bcc4d4cd5366d5aa4ac4", + "size": 315320, + "executable": false + }, + { + "path": "distribution/assets/copilot.png", + "sha256": "601aea9338888b3e0065b6b6bcb5793bf1215f205b6e781a47b1893d96fd67d1", + "size": 51687, + "executable": false + }, + { + "path": "distribution/assets/copilot.svg", + "sha256": "ff370a742c271f57810569f80d6202e1fdfdd5c1a270e691f18cecc0bd08a738", + "size": 3940, + "executable": false + }, + { + "path": "distribution/assets/copilot_win.png", + "sha256": "5977b25558f3a25e858f1e9d74dd9d621cd02044cecd95fd3858ae425f715fe5", + "size": 2831, + "executable": false + }, + { + "path": "distribution/builtin-skills/customize-cloud-agent/SKILL.md", + "sha256": "6acee791cd48a31eb881431c0f1394d3c79d33d62f0d58b2d9b699e4a275ea93", + "size": 18679, + "executable": false + }, + { + "path": "distribution/builtin-skills/discover-resources/SKILL.md", + "sha256": "9afbbacc30095ee4b4a70da34471781be9ad1df46f6c2df1ddbdc0473b34c6e7", + "size": 3647, + "executable": false + }, + { + "path": "distribution/builtin-skills/github-pr-media/SKILL.md", + "sha256": "eba36e66d053b3db19e8f51cfb7d28186ef2baf90159f51bf2333747b150070b", + "size": 4938, + "executable": false + }, + { + "path": "distribution/builtin/customize-cloud-agent/SKILL.md", + "sha256": "6acee791cd48a31eb881431c0f1394d3c79d33d62f0d58b2d9b699e4a275ea93", + "size": 18679, + "executable": false + }, + { + "path": "distribution/builtin/discover-resources/SKILL.md", + "sha256": "9afbbacc30095ee4b4a70da34471781be9ad1df46f6c2df1ddbdc0473b34c6e7", + "size": 3647, + "executable": false + }, + { + "path": "distribution/builtin/github-pr-media/SKILL.md", + "sha256": "eba36e66d053b3db19e8f51cfb7d28186ef2baf90159f51bf2333747b150070b", + "size": 4938, + "executable": false + }, + { + "path": "distribution/changelog.json", + "sha256": "63d808aa73c260039e8e8a8f66523af06ac3e1d0ad4a7ca0a85e3761d7502ddf", + "size": 1088362, + "executable": false + }, + { + "path": "distribution/copilot-sdk/canvas.d.ts", + "sha256": "2f5c82d47a8a1abd27466f9dc093106a59d83f685d4f6c29367e2ce25f44b700", + "size": 5858, + "executable": false + }, + { + "path": "distribution/copilot-sdk/cliVersion.d.ts", + "sha256": "560db20a242a671969bc05d32121b5c5bb3b0d88b0ba6384f6222d9bbb91fd7f", + "size": 113, + "executable": false + }, + { + "path": "distribution/copilot-sdk/client.d.ts", + "sha256": "734625086b3ef39b53c494c922b069a84eca64b7181509b42a7762cac35f9d68", + "size": 18301, + "executable": false + }, + { + "path": "distribution/copilot-sdk/copilotRequestHandler.d.ts", + "sha256": "730762ae75ad87be8cbef0080a2f5150919f0a9c53e52b6aaaa3f366f2c17d79", + "size": 3443, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/agent-author.md", + "sha256": "6280a2b6684a83ca7d17871be6666f5d979f5d3076ddbb9680edc83394abb810", + "size": 10352, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/examples.md", + "sha256": "7bc5fea049219a6d2ddd444dfcfee9b629ca99b22f4bad916086f6e7180ac3df", + "size": 21076, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/extensions.md", + "sha256": "c6b21c9e7f551fcd2cc3a541627a031fd073abc68c3450855687c871b97f9898", + "size": 4406, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/factories.md", + "sha256": "360834bd122edc4e2c9764d2db4d18712dbe1d5be3cccc39680eead3c0c8bd11", + "size": 21443, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/factory-patterns.md", + "sha256": "c37bae44a6cbabc4b70a5d0ccde3e04eb15a4c1111b2ed1a053efb1bbd254c33", + "size": 8201, + "executable": false + }, + { + "path": "distribution/copilot-sdk/extension.d.ts", + "sha256": "a83bc2d74059e6d56331671a33e0d0b6fc12563384e0dd6d279a6ebe45582384", + "size": 3303, + "executable": false + }, + { + "path": "distribution/copilot-sdk/extension.js", + "sha256": "cfb092cd6a7686833d02b832bdb47b13b8e325bfa864acb9ca692eb6d3443032", + "size": 494981, + "executable": false + }, + { + "path": "distribution/copilot-sdk/factory.d.ts", + "sha256": "1d23bbb4ebc8c1307182bd41b7f41f77ae83056cbf1579c072b976935c2afdf8", + "size": 15089, + "executable": false + }, + { + "path": "distribution/copilot-sdk/ffiRuntimeHost.d.ts", + "sha256": "519ac132a1d43f7f661d30cd1c3896d367a22639cbef526dfabe62f773bd4df7", + "size": 1720, + "executable": false + }, + { + "path": "distribution/copilot-sdk/generated/rpc.d.ts", + "sha256": "3b0d0ce9b73f657a453c64e94288d63b5f606f13dc599f0095e43213bcbf4e5a", + "size": 915008, + "executable": false + }, + { + "path": "distribution/copilot-sdk/generated/session-events.d.ts", + "sha256": "bba0f7bd4d34e586011f5e52945514902ccaf951553283fd8b0770eb37155717", + "size": 382125, + "executable": false + }, + { + "path": "distribution/copilot-sdk/index.d.ts", + "sha256": "a0c0eb9395e0abfba8b49ce5304cd44a7960586f7cb2529676392feab877f26c", + "size": 4685, + "executable": false + }, + { + "path": "distribution/copilot-sdk/index.js", + "sha256": "f8594ddbd0ad841395bd1fb0f02195094708aaef77bdaf767ddb617e19470571", + "size": 500179, + "executable": false + }, + { + "path": "distribution/copilot-sdk/runtimeArtifacts.d.ts", + "sha256": "1d78a2fd37b65e793e553db9a8323a6727b77e7ffbd6b61c462e778794dd76e2", + "size": 1248, + "executable": false + }, + { + "path": "distribution/copilot-sdk/sdkProtocolVersion.d.ts", + "sha256": "344a1c9669d1617346e2bb71d24081797b69b6cfd37c17b04b2aebf8e7a87260", + "size": 300, + "executable": false + }, + { + "path": "distribution/copilot-sdk/session.d.ts", + "sha256": "12ff3bcce06347e7d8810fa05a6b056c728281173723def01805a498c691fcf4", + "size": 15291, + "executable": false + }, + { + "path": "distribution/copilot-sdk/sessionFsProvider.d.ts", + "sha256": "6aa732885a832f7117a5d85853eb05b26052bc446a278c17b9463b7bdb06094d", + "size": 5545, + "executable": false + }, + { + "path": "distribution/copilot-sdk/telemetry.d.ts", + "sha256": "0721ce90ecd3a15eeb86d7787ca62236b1b545b0e93139ed5ef4419b16544722", + "size": 528, + "executable": false + }, + { + "path": "distribution/copilot-sdk/toolSet.d.ts", + "sha256": "41e53ae25809c90fd1a78f493cb912c6a9194c6e0a02e3e32545971c41a1cb56", + "size": 2725, + "executable": false + }, + { + "path": "distribution/copilot-sdk/types.d.ts", + "sha256": "2911ecb4aac830b7c129f2accf01086ae47a5250700dc050e95dfa33def862c4", + "size": 118473, + "executable": false + }, + { + "path": "distribution/definitions/code-review.agent.yaml", + "sha256": "1290258ee70b44faca1f0c74be26254f13e8401e825713ff3f5523b848b361f9", + "size": 4604, + "executable": false + }, + { + "path": "distribution/definitions/explore.agent.yaml", + "sha256": "83b4ed34c2fd8549dc5a557203c9d0db7dde5fc118b1eea8476585d05afa13ef", + "size": 2913, + "executable": false + }, + { + "path": "distribution/definitions/rem-agent.agent.yaml", + "sha256": "895ac0f7d0ce5cd006501eed7f1abfd38405ba93c30d16be9c7205bed6f335bf", + "size": 968, + "executable": false + }, + { + "path": "distribution/definitions/research.agent.yaml", + "sha256": "a32495c36fa076ded05b84dd04a93c2739e9be922ad77221beb519e3fb3d733a", + "size": 5594, + "executable": false + }, + { + "path": "distribution/definitions/rubber-duck.agent.yaml", + "sha256": "eb624f30ef69f8cfd18e7f3f14bcca63e13d1a0d3e05af006372b8d537bbd15d", + "size": 4820, + "executable": false + }, + { + "path": "distribution/definitions/security-review.agent.yaml", + "sha256": "7b6769eb585913a0ad59dadb3bf2e42cd9cfadb1540b341f23a28e5728be2d53", + "size": 14222, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/cloud-session-search.yaml", + "sha256": "0eaa7fe8f8cecb923c87c9598e22c4e338bfdc069cc9c78325eb6b589fa94bcd", + "size": 1809, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/github-context-memory.yaml", + "sha256": "22b699a6dd5b2d7964f8b2a913618ae478cf6910df2fc3ba336cf38b1be3b2ef", + "size": 4114, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/github-context.yaml", + "sha256": "9b7692e969e9ab36d7053fb2ef99ba9dd2ae78f6df75e645f54eb3cdb3fc6252", + "size": 2200, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/session-search.yaml", + "sha256": "8b6f48742fe847002e5ba6e00b05abc5339a5891387cd306790eb3b8c7dd8c11", + "size": 1889, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/subconscious-agent.yaml", + "sha256": "9fb4cb881677adc08c69818ecdde127276b1afe006817802c381a3ff5fb5887f", + "size": 2616, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-context-changed.yaml", + "sha256": "117edd3750a403c6cabf7964f217ae8129b16f9d0a6d2503e09ebe79d64f9d50", + "size": 1029, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-persistent.yaml", + "sha256": "a5ab1c16dd5f9a030010a375f7f26bca56aa196b212ea52ac2c5736cd80f3989", + "size": 861, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-restart.yaml", + "sha256": "21e44442b8380a758793d637a60fe94c226a6547d23c5bea3a14546f7f3e60ec", + "size": 831, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-trigger-once.yaml", + "sha256": "14a7cedf6ead133828280744b293e90402a2d47568c98a67273c1d7c3acdd53e", + "size": 828, + "executable": false + }, + { + "path": "distribution/definitions/task.agent.yaml", + "sha256": "1780e87f638e5c195b66173438565fd1af97eb0b9e2b1f2ebbd9d4e5b875f3af", + "size": 2112, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/README.md", + "sha256": "ff79555febdbf1ea12b10bef4f6bdcb08812205ba2efe568b048b0ecdd127bf4", + "size": 12375, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/deps_versions.json", + "sha256": "43ccda9b18ba2577033d7bf24580785fd1227828d9ab06b8011ddfeee57af8e9", + "size": 370, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/catalog.d.ts", + "sha256": "aa0db4dee8e54431e2e01d14fd7977d28cd3032f9c4940cc5b926b77d5469dd5", + "size": 3613, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/catalog.js", + "sha256": "c2cb5abd5e01162186cb43e67a0a6e49d4d9a556a7382b7dc1840d6c5c2a6b6b", + "size": 11418, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/configuration.d.ts", + "sha256": "900ba0e99ac907a92d07c08b179ba7d4379326fb71de2d338eb8434860338973", + "size": 2067, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/configuration.js", + "sha256": "7b01b6d5e18b7a8a2e465f0d75214a0b9884ffe57df95af1b2708a5a4c4d7bc5", + "size": 1645, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/coreInterop.d.ts", + "sha256": "80bb839431d2ee4c935d2def128faa4993acbe8d75fa403df5b50a61c2f92ff8", + "size": 980, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/coreInterop.js", + "sha256": "466e3287e579f2b4180fafcb33479549dd2bd683b687456e1b664cd84da524d1", + "size": 5557, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/model.d.ts", + "sha256": "8f219d0af8f00e9a0119ea8d69eb3d92bc2b5e25ce9e17ac218fcb4a8f88355c", + "size": 5311, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/model.js", + "sha256": "8f553a823eb0dda46eacdd53835449abd5f6e030d66d684d9a4e9c88396317ec", + "size": 6663, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelLoadManager.d.ts", + "sha256": "1a2e8b44486f02548f6d30a942f074d052175d7d14d6f5cd7918151cc1ff2552", + "size": 1045, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelLoadManager.js", + "sha256": "1a7888fe6fb620acc9b1d7ff8d17c5563139b0bd32834bdaabc4d36cc54343c2", + "size": 3288, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelVariant.d.ts", + "sha256": "a7af8a0359d36ed90322738bde975c534b9a3b69dcb0e0393cf6f88da7e1b486", + "size": 4649, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelVariant.js", + "sha256": "d62acc4da20f11fb40102f79ded6f45e3cf2f684db1f97c7888c26e84f86eef7", + "size": 7217, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/foundryLocalManager.d.ts", + "sha256": "812e9e2eec43997439392d139b995793aa3839f573aea38d115e90573f986cf5", + "size": 7846, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/foundryLocalManager.js", + "sha256": "bfbca8d6235ba998ce3e82ddc9970900a7e2511653341e1315786c6851c1f380", + "size": 9451, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/imodel.d.ts", + "sha256": "26244ca6cdfb41849ca8e8edef23c5a6681ed18a4acfb2b714c7d2beb0f592fb", + "size": 2156, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/imodel.js", + "sha256": "6ab1971ca21097ea33a2b7b423aee408c093fec343292bcbbc59971d3e253713", + "size": 45, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/index.d.ts", + "sha256": "977e345d9eb116eaf3d4db1f972222480fd0fc6e59d3ac273aef1801dbead4f0", + "size": 1109, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/index.js", + "sha256": "e030b97bdb052ed99f00df928c2fc42f7ac165021d86df792290225c30c5376f", + "size": 929, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/audioClient.d.ts", + "sha256": "7a0d9fe37f7e6f253be258a7938667334deadeb930c2b8872f22e517d1963762", + "size": 2253, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/audioClient.js", + "sha256": "04264c41f3567811940ef28b48d97684b333ccbac9829cce8b3d0db8e763b51f", + "size": 9895, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/chatClient.d.ts", + "sha256": "a9da4a98dc50b1425e2ace9ffb044a3aa872e678947bf035339c9b8703dd6d1e", + "size": 3283, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/chatClient.js", + "sha256": "c59a093318d05a3e38a2f68693f3b64a24603472c73517743302d5a507331063", + "size": 13835, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/embeddingClient.d.ts", + "sha256": "a1875a29cd2825fa23c6fe7bf7f4e04c4e2e574e142e0e5fb0c0291b2206528d", + "size": 1470, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/embeddingClient.js", + "sha256": "bd55fbceb7fea625d30144a462d1c18dd857e6a2539a4179734d3b3237656428", + "size": 2554, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioSession.d.ts", + "sha256": "f2ed7df5665add334b18ad793866c814333863345f8077b8c925cb9b0aed66e4", + "size": 3441, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioSession.js", + "sha256": "889d7adcb9a64858113cd881a77f56962fa85266d2a7ac58c319ecc45be745bf", + "size": 12816, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioTypes.d.ts", + "sha256": "831434a52d2643186dd76bbb657c3acf2f0635cafaa94763a0ff2f728242146f", + "size": 2387, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioTypes.js", + "sha256": "f78e54d6ed3b9b0fba913e7ceec41b36364279e1d93d8b006b62af55806d027c", + "size": 1840, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/responsesClient.d.ts", + "sha256": "3126a17df66edb893fb5d26bd6ea80a05f5bb516e47da661e927c0936e86d0d2", + "size": 5737, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/responsesClient.js", + "sha256": "76b477538feb61c41bc0ff7cf8f23b7dbe75bc2fda4720e29c70ff3cac9afc7f", + "size": 15246, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/types.d.ts", + "sha256": "cca44657b82f9b3c0cd7528e6dbddf5f949e42f5d34afe60c0d566f28e3fc0b0", + "size": 9844, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/types.js", + "sha256": "ca23f484beade559e7ed612347ac8f615c2c4cc97c2e1b0a74b9c882db7f6f38", + "size": 297, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/LICENSE", + "sha256": "6bb5b2d4c07d793ca928daa63a8899c6914fafb5ac3aa04ec10cae07f3d57dca", + "size": 1106, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/README.md", + "sha256": "9d05e156889b1475cdee97a13ed84a4abee0d752b2aaa28ded5359fcf45df901", + "size": 2894, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/adm-zip.js", + "sha256": "f4feddb21980597cd0248c8790922534abfa90c17a483b00ece15e392074ee27", + "size": 40794, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/entryHeader.js", + "sha256": "6ed1ec82e6124d71dbfb4ee6e5dd4c975657854354cf74741427a1862010a664", + "size": 12717, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/index.js", + "sha256": "536e4b5bf009a3d9f6eccfbbc4157cb6de663d889e0826ea5f6e5fa17aaeb8bf", + "size": 94, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/mainHeader.js", + "sha256": "ed5a2b3fc7c8a6937e07447eb3e55e08a0655d2f24fe04039e7008845d221a25", + "size": 7141, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/deflater.js", + "sha256": "6dc41b2460594cfa5136b797653c166b2f7403820a40f2fca17cca35a5de1b5f", + "size": 1021, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/index.js", + "sha256": "d67714f1a04be942f90be77069af3ff4214aa8ee84b26edeff3a87eb0d8e2dc0", + "size": 128, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/inflater.js", + "sha256": "7b62c190669eeefd6b2810a3339d9109ecb219f845fcd12ae93518beec35dc49", + "size": 1146, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/zipcrypto.js", + "sha256": "23365c7eda0ea098385dc7ec649517fc110ce2764d2e707c37bf6b528604e25a", + "size": 5806, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/package.json", + "sha256": "76a6fc3e9bf811c9ada1173b7a7c0621d36329c29c221428f46f75762d3aeb5a", + "size": 1387, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/types.d.ts", + "sha256": "98fae6ae2e5d026a91e0316209813ce304069ab85d0471f35152d5db500d23c1", + "size": 9641, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/constants.js", + "sha256": "208e943a2e5faad056047f3c7991cce3cde637d8e272a564f2546210ebdf2069", + "size": 6374, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/decoder.js", + "sha256": "73a0ebb00c4dce2124f07acf0b34374cb03a4384cccd1cd6f58aee27c35953d9", + "size": 130, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/errors.js", + "sha256": "d2d243647737c795c2db8aeba2e1f3841d5f76370b521d436cf465322dd4aab7", + "size": 2868, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/fattr.js", + "sha256": "31c93eb386a2bfbf19ad92a6bf20d510a8f1e7e90cc71d33dd888f89da12362d", + "size": 1892, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/index.js", + "sha256": "dc5b230ed853947ea55c0bf69f0e525fbeffefff09aa3da296d541bb8898314e", + "size": 226, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/utils.js", + "sha256": "f50d229943cce6067a7f09f5e97b4a69157ec11759777382e5ca0ba03671d1e9", + "size": 13011, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/zipEntry.js", + "sha256": "874e9510d362ba7d2cd85e2dcc7a0e7a6caa4de8ddb37fb4d5e68a018cd87a39", + "size": 15173, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/zipFile.js", + "sha256": "a709d4f3ee218f457b7e71dd6b22dcf58858cc5410eece4dc4ecd7c4e9a2c027", + "size": 16516, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/package.json", + "sha256": "07d0242f84fdcfc8f4a0e601dc35f01fa153535c67f95262e0bd750ba7cfa418", + "size": 1296, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/script/install-utils.cjs", + "sha256": "0831c932b10389283e805f88a204b0f6a5a8053f2ee520e56a0f0adf1352aa8b", + "size": 10443, + "executable": false + }, + { + "path": "distribution/index.js", + "sha256": "24ec5cfb8f9bcb6559d8c187fbaaae3a9e964a570bf212fa646cff825bc47b78", + "size": 41547, + "executable": true + }, + { + "path": "distribution/npm-loader.js", + "sha256": "0ea824a86be5757533fdb092eff7050871bd7a711a46babde0ffe0e44ac5ad88", + "size": 1185, + "executable": true + }, + { + "path": "distribution/package.json", + "sha256": "d4a592ea2cd06fc3be13dd46cf4d41b2277516efa3dd3f24e438bde3b4cd523a", + "size": 2188, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/.release-target", + "sha256": "2c5ace2d43ad1f7672ed7d113ccf72b831ea468fa659cca1592d901c7066e5ec", + "size": 11, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/CodeResources", + "sha256": "4df5134f4ed0769b61e416e300eba091b97bbaee961aef495ff726cbfb56f639", + "size": 1653, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/Info.plist", + "sha256": "68318792b18f1e92ec2784b054489023727146e03e7926a1bd3798fe95629ef3", + "size": 1320, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/MacOS/Copilot Computer Use", + "sha256": "65a164fd4fc7afd1447a96a44c878aa21e7569c1de5e6da6e6dcfbe1e9db9ba9", + "size": 2702736, + "executable": true + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/PkgInfo", + "sha256": "82502191c9484b04d685374f9879a0066069c49b8acae7a04b01d38d07e8eca0", + "size": 8, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/Resources/Assets.car", + "sha256": "ce5c0f133fdae3c24ed7e93a39f51d5e133025cad44c1c89b7755e75a7f284b0", + "size": 1593544, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/Resources/icon.icns", + "sha256": "44d787b9159291ec5d862d257b5d1c9178c2264d1a1aba7c21d75ae8c1e3613a", + "size": 815442, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/Copilot Computer Use.app/Contents/_CodeSignature/CodeResources", + "sha256": "e994e1e722bdf4f8ecdc7ca3e7d2d5dff4c0170f20ea43012c78b55cc27aacd8", + "size": 2666, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/computer-use-mcp", + "sha256": "4900c5eab9d6e4554501c8627eab7289e3a2788a7f2246c052d39a4cf80dd140", + "size": 2389392, + "executable": true + }, + { + "path": "distribution/plugins/computer-use/mcp.json", + "sha256": "37a1f153978a85cc2b112f133eb8a430b647014991c4475b79148f28ee224fbf", + "size": 236, + "executable": false + }, + { + "path": "distribution/plugins/computer-use/plugin.json", + "sha256": "256f4eeb66f714ee6db8a10aba969f266094d537b9c7b273254da0b39326e834", + "size": 185, + "executable": false + }, + { + "path": "distribution/prebuilds/darwin-x64/cli-native.node", + "sha256": "59672a77dfa2dbbb7712841554e9cedcc0c3e8528064dfc049989d2a651affad", + "size": 4728944, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-x64/copilot-runtime", + "sha256": "db0d01057beca8dcab94a29714cd5c0b90042eed47b264c7cf1603ad89349a84", + "size": 381312, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-x64/mediaremote-adapter/LICENSE", + "sha256": "a489c16a6be195584fa0b35e28fca54abc8492eb0cc05d851dd24f522f4900a2", + "size": 1521, + "executable": false + }, + { + "path": "distribution/prebuilds/darwin-x64/mediaremote-adapter/MediaRemoteAdapter.framework/MediaRemoteAdapter", + "sha256": "911dde39b16a38617ddb9ab3d45394192565b755572cf27223e0cb6dc480c617", + "size": 126064, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-x64/mediaremote-adapter/mediaremote-adapter.pl", + "sha256": "984d622eeebbcb17656d157a49272b02fb741593ae2ec624d1926c12d955c8a1", + "size": 8444, + "executable": true + }, + { + "path": "distribution/prebuilds/darwin-x64/runtime.node", + "sha256": "61ca411cc8fe41425da8dc8c05e5c24120927f705bd8d4b5b702b31e4cbd4fc4", + "size": 91198304, + "executable": true + }, + { + "path": "distribution/preloads/extension_bootstrap.mjs", + "sha256": "ebf4edc7cc2195fc1b7c5c26863e08137137ec075cc73ff335331534115a1be6", + "size": 2811, + "executable": false + }, + { + "path": "distribution/preloads/extension_sdk_resolver.mjs", + "sha256": "e57d71730c8f937315a72b66187c56cc4fa78ecbd13590795136996e2851bf19", + "size": 1331, + "executable": false + }, + { + "path": "distribution/pvrecorder/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/README.md", + "sha256": "7eb46bc4bdba8002da1165107fc729ee816f58063a8e8d6d0083a3fb81898683", + "size": 1675, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/errors.js", + "sha256": "14b373ef00a0bf0fceb5abe86a6628f914a466b2403ba376f78b025cff05e92b", + "size": 2528, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/index.js", + "sha256": "a99551364022401340991df2d74e1c949290e920aa9247d22c262e26b768a0f0", + "size": 748, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/platforms.js", + "sha256": "9eb9c4c2af151391c4966bdaf15364d15362996915e8f5fa685daca1c3f81359", + "size": 6404, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/pv_recorder.js", + "sha256": "3323ebdbad3d524dc4330d25cb226cc17a0f7f365b738f471faf883d71de658d", + "size": 6154, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/pv_recorder_status_t.js", + "sha256": "c7c94cd144fb0fcf5f844e76ff83d754dc6b835e45893c2cc81de5f0c3ddccbb", + "size": 1519, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/errors.d.ts", + "sha256": "5250616ee995097ea36daa3285d957e3adcdd9c76a6dd13ea3d10174c38a8668", + "size": 236, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/index.d.ts", + "sha256": "6b27f29a807ef113c326fcc2139ddde257e74585cb58591ad9753dcbfd00c03f", + "size": 98, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/platforms.d.ts", + "sha256": "a11acc208b8d403db8882b97e0101f549a5dd7a1ca656ff46d9378277a100064", + "size": 142, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/pv_recorder.d.ts", + "sha256": "6b06821393cd5fbab4874a11c46634e7bb1ff91848bbf34a1e5008ccea6929bf", + "size": 2741, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/pv_recorder_status_t.d.ts", + "sha256": "b35985d2b520dc2570f90f23e6db7e6ce37369db6e35c27bc532de349421175e", + "size": 337, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/lib/mac/x86_64/pv_recorder.node", + "sha256": "5eb602765ad5ac29f3dc91f9f24fe92a0686c18e4b767cd802d9d6e8d19e9a1d", + "size": 687080, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/package.json", + "sha256": "e44a9dde00f1344251f22bce37520ea1bbbde5af2965cab7e612758854ee3a99", + "size": 1197, + "executable": false + }, + { + "path": "distribution/queries/bash-highlights.scm", + "sha256": "77860b9f127ca82681e3691bba003e62d1d8dbced05e4fe96041d26fd8944656", + "size": 5776, + "executable": false + }, + { + "path": "distribution/queries/c-highlights.scm", + "sha256": "a99c4c0bf9d9b9f7de0124c529a4229fddada96d65bf5fb0c9d487266e15d483", + "size": 6332, + "executable": false + }, + { + "path": "distribution/queries/cpp-highlights.scm", + "sha256": "69d1dbed8d49c498e93a75db6afedfb8769fa2fed455a64d588dc347281d642f", + "size": 4904, + "executable": false + }, + { + "path": "distribution/queries/csharp-highlights.scm", + "sha256": "4b79059a52926e8cd08a1d80af70ba02acefb86bc8ed82315897fb104ed1a338", + "size": 8302, + "executable": false + }, + { + "path": "distribution/queries/css-highlights.scm", + "sha256": "6641fed120530bfbce5682ab88b2a8d14d99bfcd971ac9f78cd91738b4b0578a", + "size": 1177, + "executable": false + }, + { + "path": "distribution/queries/go-highlights.scm", + "sha256": "c58a7336d4834ebfbb038002c6ab033f792cd1b8d3e7e1682bdaa982bee7f6b1", + "size": 3934, + "executable": false + }, + { + "path": "distribution/queries/html-highlights.scm", + "sha256": "1ebb3811a8cdc054385b847a3aac6fbf7079faefd5b3dfab5bbad256cd5afdcf", + "size": 197, + "executable": false + }, + { + "path": "distribution/queries/java-highlights.scm", + "sha256": "c68c0e7e9ae36d94c9e5ab06556b34c5e8568d1ce1867043d92bbe4b3b4dcf2f", + "size": 4425, + "executable": false + }, + { + "path": "distribution/queries/javascript-highlights.scm", + "sha256": "d3630ae6dc9b2b27b230b5f8bb92b05cd491fb12bff353dae62a0a6d780461ee", + "size": 2739, + "executable": false + }, + { + "path": "distribution/queries/json-highlights.scm", + "sha256": "6ab09656820f0e8dac860c96dced341221284544c05308ee337727f5db937101", + "size": 412, + "executable": false + }, + { + "path": "distribution/queries/php-highlights.scm", + "sha256": "a2a7367659cff3b4be09961c8117d69a9b8703bfc266f8092e089b1760f197e9", + "size": 3207, + "executable": false + }, + { + "path": "distribution/queries/python-highlights.scm", + "sha256": "a6708f209381618e2b398972c8f1ccd892f0c064eab35a2a3f911c3e22e79a7e", + "size": 1957, + "executable": false + }, + { + "path": "distribution/queries/ruby-highlights.scm", + "sha256": "1cc8fc205e4cce4fe9e0d63bb1be903e49ea0f2eda77ae9368898a31ff98bc18", + "size": 4068, + "executable": false + }, + { + "path": "distribution/queries/rust-highlights.scm", + "sha256": "c649a4785322ab72af84874b9dc03c7a4f5d9a05de45a85919a60770d7d5457d", + "size": 8610, + "executable": false + }, + { + "path": "distribution/queries/scala-highlights.scm", + "sha256": "e9e89654a7df214f4c79c28af7bc50bdb5c6cc5abb9690e3e1ce19c35b797991", + "size": 4858, + "executable": false + }, + { + "path": "distribution/queries/typescript-highlights.scm", + "sha256": "e0c35adb819127bfd4f853fac5419e7d8ba44760246201d04a4a5ce0228a10c5", + "size": 515, + "executable": false + }, + { + "path": "distribution/ripgrep/bin/darwin-arm64/rg", + "sha256": "ff10c231ae906e475e8a52c33fed8fe1431941bf26b6f868c53590c0e8be30d6", + "size": 4520448, + "executable": true + }, + { + "path": "distribution/ripgrep/bin/darwin-x64/rg", + "sha256": "13713f342c10142deec24fd72a61f2abfc10d76ced6c0cffe4063fd7e60b667e", + "size": 4798128, + "executable": true + }, + { + "path": "distribution/schemas/api.schema.json", + "sha256": "032a7784171eb2c4eb8260f0c0b67f05e9b1c76d0e74fe507871ba6a36d9a3ab", + "size": 1914299, + "executable": false + }, + { + "path": "distribution/schemas/session-events.schema.json", + "sha256": "d8cb713c05d5278a68dde5c5d4482574f836e922ae13aa06f82474c209a7c6e9", + "size": 895984, + "executable": false + }, + { + "path": "distribution/sdk/index.js", + "sha256": "a0718e6376a1146da09b4cf6ef2a332d447cd22f7dfffdedc000c7b622309ef4", + "size": 1165545, + "executable": false + }, + { + "path": "distribution/sea-loader.js", + "sha256": "1d779bfcb6ee73500b071b8b0b954997d3e17bd32ad216276390ffbab06ca47b", + "size": 122238, + "executable": false + }, + { + "path": "distribution/tgrep/bin/darwin-arm64/tgrep", + "sha256": "74133bb1c640e32214575d8441bbbf0fe4ea3e6f6e0d784388fee425993b15c5", + "size": 6336704, + "executable": true + }, + { + "path": "distribution/tgrep/bin/darwin-x64/tgrep", + "sha256": "35d3de7014ac669d7c71053c63c57142c1605288954141b148694f423f463f9f", + "size": 6838208, + "executable": true + }, + { + "path": "distribution/tree-sitter-bash.wasm", + "sha256": "8292919c88a0f7d3fb31d0cd0253ca5a9531bc1ede82b0537f2c63dd8abe6a7a", + "size": 1358224, + "executable": false + }, + { + "path": "distribution/tree-sitter-c.wasm", + "sha256": "c852c2a85ebf2beb636aa3b0ef7f7e70458684d74f6741b20dcb296885bed9f9", + "size": 625918, + "executable": false + }, + { + "path": "distribution/tree-sitter-c_sharp.wasm", + "sha256": "6f69e1cae44e1c32c1eccc170dc5a9778fb94ff716f71113fe1f8c4299aa2f40", + "size": 5350581, + "executable": false + }, + { + "path": "distribution/tree-sitter-cpp.wasm", + "sha256": "174eb0deb75b2ec7881bcacda9f995648d8e683956e5c2267e69ab6dc503fcbf", + "size": 3434931, + "executable": false + }, + { + "path": "distribution/tree-sitter-css.wasm", + "sha256": "8a23977fe271357cce6f254ef88c9bebf3854602d8046605aef6a45c02135c59", + "size": 128668, + "executable": false + }, + { + "path": "distribution/tree-sitter-go.wasm", + "sha256": "9504573f352b20be7f2f1911754d710622aedc15afff16d5ed8fb5645681aee7", + "size": 217182, + "executable": false + }, + { + "path": "distribution/tree-sitter-html.wasm", + "sha256": "c48fcd82c7ea8bf943180088ba7f28c48b2bb5287874179168bf9d31e394cf85", + "size": 18385, + "executable": false + }, + { + "path": "distribution/tree-sitter-java.wasm", + "sha256": "4fdeac4ca6ca089f06c6f7e562abcac1733cd465728cc7031ebb73c2019122c4", + "size": 414641, + "executable": false + }, + { + "path": "distribution/tree-sitter-javascript.wasm", + "sha256": "5fb488d0cabb4775a594bab85682de5ad6ce83c0d6ac997a9f82dd084d571240", + "size": 411770, + "executable": false + }, + { + "path": "distribution/tree-sitter-json.wasm", + "sha256": "d2119fb98d5912719b13f9458574f8608d2d29dfbe45f6be1f860ea1fe2a2405", + "size": 5596, + "executable": false + }, + { + "path": "distribution/tree-sitter-php.wasm", + "sha256": "d4df6a6ff08c87c3ec4f9cbb785fe09998a0cb570e03f57d7b19b3acfb146aa7", + "size": 1058041, + "executable": false + }, + { + "path": "distribution/tree-sitter-python.wasm", + "sha256": "16108b50df4ee9a30168794252ab55e7c93bfc5765d7fa0aa3e335752c515f47", + "size": 457883, + "executable": false + }, + { + "path": "distribution/tree-sitter-ruby.wasm", + "sha256": "09a96427d7c72f0613ed470cd9812223fc4a91d6a9c025c0235cc6bd59ff96f4", + "size": 2106352, + "executable": false + }, + { + "path": "distribution/tree-sitter-rust.wasm", + "sha256": "f65f354215611fd94ad34134b3427eb3d58cbb745df7b6509ba722184db73d57", + "size": 1102547, + "executable": false + }, + { + "path": "distribution/tree-sitter-scala.wasm", + "sha256": "b7ec2bb29c19827abcefd18ed5cb5a43596009f96a5d53c5b9d1f9676d7521c3", + "size": 3786700, + "executable": false + }, + { + "path": "distribution/tree-sitter-tsx.wasm", + "sha256": "79e5da75ea62855a0cd67177685f0164eac87d5f630b3cbe1e0a099751ad30f8", + "size": 1445638, + "executable": false + }, + { + "path": "distribution/tree-sitter-typescript.wasm", + "sha256": "778025db5a8be0e70f8ccc3671e486dfeddd048c25d9e8a70c26de2e1bf6f97d", + "size": 1413849, + "executable": false + }, + { + "path": "distribution/tree-sitter.wasm", + "sha256": "f38dcc4b43b818f9a0785bc1c6d5611a75ac4cdd428ff3f02757c34ca4e46d7f", + "size": 205488, + "executable": true + }, + { + "path": "distribution/voice-engine.worker.js", + "sha256": "bf601f1092d1b8734a582d8182c223855c7f5cfb17f8fc529f1791dfd470d5d2", + "size": 112985, + "executable": false + }, + { + "path": "distribution/voice-installer.worker.js", + "sha256": "4a843b379310d44f422271e75d3246ada24f567587850c3ef501f565c905b493", + "size": 11639, + "executable": false + }, + { + "path": "distribution/voice-server.js", + "sha256": "c6b2c140027ef6c7b283ebbb4cbde1dc32f12f97901ff45dfdfd536269bac1d2", + "size": 130952, + "executable": false + }, + { + "path": "distribution/webview/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-darwin-x64/README.md", + "sha256": "8bf97f7d3dd1931adcbcad93373bd1cc24a5d754262ce6a93f588c3774500a78", + "size": 103, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-darwin-x64/package.json", + "sha256": "bfb412482eaa0b177eb2575df08ef1e1b2ce73b4bebdd977bf3462fe7669262e", + "size": 630, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-darwin-x64/webview.darwin-x64.node", + "sha256": "1e51ca0870a35345d5ba2b1d030ce7e025e4e44cad437122963d3e2261b23479", + "size": 4423208, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/LICENSE", + "sha256": "9cac72e0573f14d3f9bcb8f70922d589ba07dd1051a5c12229f111e154923f0a", + "size": 1065, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/README.md", + "sha256": "69c2e106db45187b981358c938e41b8bfb67fb3a451930f102a63b471c0da675", + "size": 16477, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/build.mjs", + "sha256": "bcb69c0cc8356b78d07c53719ccaa372f1d6b6c381973b76508681573a7b1db4", + "size": 3640, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/index.mjs", + "sha256": "3d6d86fc751897b67e1b94f0b1d0a667d79e6256b278a7e801467bfd67ad2689", + "size": 3837, + "executable": true + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/utils.mjs", + "sha256": "fb7a2fc54e53c777de835f50c7d4483bee60d1aece0c1deddbe2f232f571d8f1", + "size": 193, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/CNAME", + "sha256": "405d5f5a242885480dc01db6227484ed4b6d723fd7c3b2547f9f36e46decac15", + "size": 14, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/README.md", + "sha256": "65578b7f73cc6c145a9d962ca6f2ee56b06153a8277eea8c3c3cadc7d602f155", + "size": 15717, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/application.md", + "sha256": "44227367accc4a9f5b8468e19680ffd1229891d59c0652e8f45370c0872160bd", + "size": 6074, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/browser-window.md", + "sha256": "597920a56d3ff8c87b6990473e5150a454f109bd7e639125c8a82d039ade7487", + "size": 11107, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/menu.md", + "sha256": "838a998eba786e959bec89e148fae7d547df1b13e490b55c890d58100fd77b98", + "size": 3828, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/notification.md", + "sha256": "8e90225a0f40ebcd2a69bc9e0b8d51c645810faa4fcaae3651101bcaa686d101", + "size": 5622, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/tray.md", + "sha256": "f071ca7d3a5cc7cb271ceb9e2712db9c6c80d5c8ab33b4a8fc3b168e5d9dd3aa", + "size": 1628, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/types.md", + "sha256": "e006fb8428d0e58943468f62c77ec78bcba1bb7b0bc41ce3e2258417fe51320c", + "size": 5711, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/web-context.md", + "sha256": "92b9ed94a8868a1ff8b0f3e4ef92be2a0b2564f7beb1fc8b6107b7f1bca96429", + "size": 1774, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/webview.md", + "sha256": "78ade1e288c7a6169678d4bb64f9e450ed4e855324c310354686c11f127bd494", + "size": 6279, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/event-loop.md", + "sha256": "28b1f847d6ff3c71c5b3fbf9f46d531b6fbd9ba585365cfbe9a2292e698171bb", + "size": 2511, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/installation.md", + "sha256": "06acf9a3d61c0d84f0dcc65153f43d288e1bb139a0e16df69253fae68c2c6c76", + "size": 1173, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/quick-start.md", + "sha256": "55cdf7992b7ad793b204ac80268c66600975ee20c474c2ca029cdd6db58073b6", + "size": 1995, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/building-executables.md", + "sha256": "18a1d5d2596e0e0b05758643981d7ffe5b9d9f32bf0884c84978c647bf2419e9", + "size": 5026, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/cookies-and-storage.md", + "sha256": "0eb9abdd246e5a2a0d4a8578c6b565781fdb9d7b99463b50c05a6851c3eed365", + "size": 1783, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/custom-protocols.md", + "sha256": "1c72110266d09b04f544c0d20aa7fe1f4b6ad84ffa9e171b7f6e55832d39c4c1", + "size": 3148, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/ipc-messaging.md", + "sha256": "d03b307d46cafe92ad0297cad0a0ee1b3af410143281be4be5ab2dbc31e2e74e", + "size": 1790, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/menus.md", + "sha256": "88b791fa71cbb51351cd3a220184ea54a53426cca00eab0c185acd139053fe6d", + "size": 2764, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/multiple-windows.md", + "sha256": "6d05fa117efc95207d4707bbf2728ae31f482bc6e9f29a8a436389fdaae003cd", + "size": 1835, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/android.md", + "sha256": "646dc6f1ac30a4f2bd25faec682a2d6f0262ea59193ac44490d5914cf1294cd0", + "size": 326, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/ios.md", + "sha256": "b8b1c2bc59611d633971556fb94720bdb411e2de89771fb372217d1a17b53cb7", + "size": 420, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/linux.md", + "sha256": "cbd1df68b7c899f826aff9e0fd2d13e9f9e19892ad16fd47a6fea5c625dc0e8b", + "size": 1986, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/macos.md", + "sha256": "9b5b1d9c4065d7904c02e3dc79517b6df4f8a44dd95902e30502d130cdef5d71", + "size": 2260, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/windows.md", + "sha256": "5a84a310a20d42e0b24492472efd5512aae11c68668620f071a3d85c3583512a", + "size": 2136, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/index.d.ts", + "sha256": "49610270556eaff855f8efc8026a595c354309ea325d846d33a617ad54039a39", + "size": 13502, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/index.js", + "sha256": "9bce1f609372abd7da4973967276ba591c43f9b933bcd52030edb1ad6ee3b8db", + "size": 22727, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/js-bindings.d.ts", + "sha256": "f2f384ab7913a7e38369155a5abda97c0af3b72db6021df341e8da2288ceceaf", + "size": 20365, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/js-bindings.js", + "sha256": "e6a970a01839ed97c9a9636a01bf1c77c298a8270b3f1708c4927191856a3bcc", + "size": 28518, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/package.json", + "sha256": "0a71bc7c23521db3890aadb13763297422e1988e9a68f95ec8b8832c07d33b89", + "size": 3442, + "executable": false + } + ] + }, + "linux-x64": { + "executableSha256": "0059754cf78c3f3bf2c9d4564dfa7e9e25f3a3f8f411f2f0cdad9363f5662748", + "closureSha256": "a3d8f4367cfa1694d79e3f8b7930b6fbfe42a229c272b375b11951d631db8d07", + "entries": [ + { + "path": "copilot", + "sha256": "0059754cf78c3f3bf2c9d4564dfa7e9e25f3a3f8f411f2f0cdad9363f5662748", + "size": 169544512, + "executable": true + }, + { + "path": "distribution/LICENSE.md", + "sha256": "b9680937e10425bf19862908856c16ed274e6b81a1368bd62be7a757eab21628", + "size": 2955, + "executable": false + }, + { + "path": "distribution/animations/app-install-nudge.json.gz", + "sha256": "8a4165e6e95f127fe3123e647580c31def2d52b7824f2c4e48b505339132543e", + "size": 9900, + "executable": false + }, + { + "path": "distribution/animations/banner.json.gz", + "sha256": "cc6dcef840f5f63c9683e84bd55478e6fd2a22130bf1be6f53dece870e996446", + "size": 4887, + "executable": false + }, + { + "path": "distribution/app.js", + "sha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "size": 7856755, + "executable": true + }, + { + "path": "distribution/assets/copilot.ico", + "sha256": "13c6005245ba982d54fce8a8fa7a5a517c35e68322f2bcc4d4cd5366d5aa4ac4", + "size": 315320, + "executable": false + }, + { + "path": "distribution/assets/copilot.png", + "sha256": "601aea9338888b3e0065b6b6bcb5793bf1215f205b6e781a47b1893d96fd67d1", + "size": 51687, + "executable": false + }, + { + "path": "distribution/assets/copilot.svg", + "sha256": "ff370a742c271f57810569f80d6202e1fdfdd5c1a270e691f18cecc0bd08a738", + "size": 3940, + "executable": false + }, + { + "path": "distribution/assets/copilot_win.png", + "sha256": "5977b25558f3a25e858f1e9d74dd9d621cd02044cecd95fd3858ae425f715fe5", + "size": 2831, + "executable": false + }, + { + "path": "distribution/builtin-skills/customize-cloud-agent/SKILL.md", + "sha256": "6acee791cd48a31eb881431c0f1394d3c79d33d62f0d58b2d9b699e4a275ea93", + "size": 18679, + "executable": false + }, + { + "path": "distribution/builtin-skills/discover-resources/SKILL.md", + "sha256": "9afbbacc30095ee4b4a70da34471781be9ad1df46f6c2df1ddbdc0473b34c6e7", + "size": 3647, + "executable": false + }, + { + "path": "distribution/builtin-skills/github-pr-media/SKILL.md", + "sha256": "eba36e66d053b3db19e8f51cfb7d28186ef2baf90159f51bf2333747b150070b", + "size": 4938, + "executable": false + }, + { + "path": "distribution/builtin/customize-cloud-agent/SKILL.md", + "sha256": "6acee791cd48a31eb881431c0f1394d3c79d33d62f0d58b2d9b699e4a275ea93", + "size": 18679, + "executable": false + }, + { + "path": "distribution/builtin/discover-resources/SKILL.md", + "sha256": "9afbbacc30095ee4b4a70da34471781be9ad1df46f6c2df1ddbdc0473b34c6e7", + "size": 3647, + "executable": false + }, + { + "path": "distribution/builtin/github-pr-media/SKILL.md", + "sha256": "eba36e66d053b3db19e8f51cfb7d28186ef2baf90159f51bf2333747b150070b", + "size": 4938, + "executable": false + }, + { + "path": "distribution/changelog.json", + "sha256": "63d808aa73c260039e8e8a8f66523af06ac3e1d0ad4a7ca0a85e3761d7502ddf", + "size": 1088362, + "executable": false + }, + { + "path": "distribution/copilot-sdk/canvas.d.ts", + "sha256": "2f5c82d47a8a1abd27466f9dc093106a59d83f685d4f6c29367e2ce25f44b700", + "size": 5858, + "executable": false + }, + { + "path": "distribution/copilot-sdk/cliVersion.d.ts", + "sha256": "560db20a242a671969bc05d32121b5c5bb3b0d88b0ba6384f6222d9bbb91fd7f", + "size": 113, + "executable": false + }, + { + "path": "distribution/copilot-sdk/client.d.ts", + "sha256": "734625086b3ef39b53c494c922b069a84eca64b7181509b42a7762cac35f9d68", + "size": 18301, + "executable": false + }, + { + "path": "distribution/copilot-sdk/copilotRequestHandler.d.ts", + "sha256": "730762ae75ad87be8cbef0080a2f5150919f0a9c53e52b6aaaa3f366f2c17d79", + "size": 3443, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/agent-author.md", + "sha256": "6280a2b6684a83ca7d17871be6666f5d979f5d3076ddbb9680edc83394abb810", + "size": 10352, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/examples.md", + "sha256": "7bc5fea049219a6d2ddd444dfcfee9b629ca99b22f4bad916086f6e7180ac3df", + "size": 21076, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/extensions.md", + "sha256": "c6b21c9e7f551fcd2cc3a541627a031fd073abc68c3450855687c871b97f9898", + "size": 4406, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/factories.md", + "sha256": "360834bd122edc4e2c9764d2db4d18712dbe1d5be3cccc39680eead3c0c8bd11", + "size": 21443, + "executable": false + }, + { + "path": "distribution/copilot-sdk/docs/factory-patterns.md", + "sha256": "c37bae44a6cbabc4b70a5d0ccde3e04eb15a4c1111b2ed1a053efb1bbd254c33", + "size": 8201, + "executable": false + }, + { + "path": "distribution/copilot-sdk/extension.d.ts", + "sha256": "a83bc2d74059e6d56331671a33e0d0b6fc12563384e0dd6d279a6ebe45582384", + "size": 3303, + "executable": false + }, + { + "path": "distribution/copilot-sdk/extension.js", + "sha256": "cfb092cd6a7686833d02b832bdb47b13b8e325bfa864acb9ca692eb6d3443032", + "size": 494981, + "executable": false + }, + { + "path": "distribution/copilot-sdk/factory.d.ts", + "sha256": "1d23bbb4ebc8c1307182bd41b7f41f77ae83056cbf1579c072b976935c2afdf8", + "size": 15089, + "executable": false + }, + { + "path": "distribution/copilot-sdk/ffiRuntimeHost.d.ts", + "sha256": "519ac132a1d43f7f661d30cd1c3896d367a22639cbef526dfabe62f773bd4df7", + "size": 1720, + "executable": false + }, + { + "path": "distribution/copilot-sdk/generated/rpc.d.ts", + "sha256": "3b0d0ce9b73f657a453c64e94288d63b5f606f13dc599f0095e43213bcbf4e5a", + "size": 915008, + "executable": false + }, + { + "path": "distribution/copilot-sdk/generated/session-events.d.ts", + "sha256": "bba0f7bd4d34e586011f5e52945514902ccaf951553283fd8b0770eb37155717", + "size": 382125, + "executable": false + }, + { + "path": "distribution/copilot-sdk/index.d.ts", + "sha256": "a0c0eb9395e0abfba8b49ce5304cd44a7960586f7cb2529676392feab877f26c", + "size": 4685, + "executable": false + }, + { + "path": "distribution/copilot-sdk/index.js", + "sha256": "f8594ddbd0ad841395bd1fb0f02195094708aaef77bdaf767ddb617e19470571", + "size": 500179, + "executable": false + }, + { + "path": "distribution/copilot-sdk/runtimeArtifacts.d.ts", + "sha256": "1d78a2fd37b65e793e553db9a8323a6727b77e7ffbd6b61c462e778794dd76e2", + "size": 1248, + "executable": false + }, + { + "path": "distribution/copilot-sdk/sdkProtocolVersion.d.ts", + "sha256": "344a1c9669d1617346e2bb71d24081797b69b6cfd37c17b04b2aebf8e7a87260", + "size": 300, + "executable": false + }, + { + "path": "distribution/copilot-sdk/session.d.ts", + "sha256": "12ff3bcce06347e7d8810fa05a6b056c728281173723def01805a498c691fcf4", + "size": 15291, + "executable": false + }, + { + "path": "distribution/copilot-sdk/sessionFsProvider.d.ts", + "sha256": "6aa732885a832f7117a5d85853eb05b26052bc446a278c17b9463b7bdb06094d", + "size": 5545, + "executable": false + }, + { + "path": "distribution/copilot-sdk/telemetry.d.ts", + "sha256": "0721ce90ecd3a15eeb86d7787ca62236b1b545b0e93139ed5ef4419b16544722", + "size": 528, + "executable": false + }, + { + "path": "distribution/copilot-sdk/toolSet.d.ts", + "sha256": "41e53ae25809c90fd1a78f493cb912c6a9194c6e0a02e3e32545971c41a1cb56", + "size": 2725, + "executable": false + }, + { + "path": "distribution/copilot-sdk/types.d.ts", + "sha256": "2911ecb4aac830b7c129f2accf01086ae47a5250700dc050e95dfa33def862c4", + "size": 118473, + "executable": false + }, + { + "path": "distribution/definitions/code-review.agent.yaml", + "sha256": "1290258ee70b44faca1f0c74be26254f13e8401e825713ff3f5523b848b361f9", + "size": 4604, + "executable": false + }, + { + "path": "distribution/definitions/explore.agent.yaml", + "sha256": "83b4ed34c2fd8549dc5a557203c9d0db7dde5fc118b1eea8476585d05afa13ef", + "size": 2913, + "executable": false + }, + { + "path": "distribution/definitions/rem-agent.agent.yaml", + "sha256": "895ac0f7d0ce5cd006501eed7f1abfd38405ba93c30d16be9c7205bed6f335bf", + "size": 968, + "executable": false + }, + { + "path": "distribution/definitions/research.agent.yaml", + "sha256": "a32495c36fa076ded05b84dd04a93c2739e9be922ad77221beb519e3fb3d733a", + "size": 5594, + "executable": false + }, + { + "path": "distribution/definitions/rubber-duck.agent.yaml", + "sha256": "eb624f30ef69f8cfd18e7f3f14bcca63e13d1a0d3e05af006372b8d537bbd15d", + "size": 4820, + "executable": false + }, + { + "path": "distribution/definitions/security-review.agent.yaml", + "sha256": "7b6769eb585913a0ad59dadb3bf2e42cd9cfadb1540b341f23a28e5728be2d53", + "size": 14222, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/cloud-session-search.yaml", + "sha256": "0eaa7fe8f8cecb923c87c9598e22c4e338bfdc069cc9c78325eb6b589fa94bcd", + "size": 1809, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/github-context-memory.yaml", + "sha256": "22b699a6dd5b2d7964f8b2a913618ae478cf6910df2fc3ba336cf38b1be3b2ef", + "size": 4114, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/github-context.yaml", + "sha256": "9b7692e969e9ab36d7053fb2ef99ba9dd2ae78f6df75e645f54eb3cdb3fc6252", + "size": 2200, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/session-search.yaml", + "sha256": "8b6f48742fe847002e5ba6e00b05abc5339a5891387cd306790eb3b8c7dd8c11", + "size": 1889, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/subconscious-agent.yaml", + "sha256": "9fb4cb881677adc08c69818ecdde127276b1afe006817802c381a3ff5fb5887f", + "size": 2616, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-context-changed.yaml", + "sha256": "117edd3750a403c6cabf7964f217ae8129b16f9d0a6d2503e09ebe79d64f9d50", + "size": 1029, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-persistent.yaml", + "sha256": "a5ab1c16dd5f9a030010a375f7f26bca56aa196b212ea52ac2c5736cd80f3989", + "size": 861, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-restart.yaml", + "sha256": "21e44442b8380a758793d637a60fe94c226a6547d23c5bea3a14546f7f3e60ec", + "size": 831, + "executable": false + }, + { + "path": "distribution/definitions/sidekick/test-sidekick-trigger-once.yaml", + "sha256": "14a7cedf6ead133828280744b293e90402a2d47568c98a67273c1d7c3acdd53e", + "size": 828, + "executable": false + }, + { + "path": "distribution/definitions/task.agent.yaml", + "sha256": "1780e87f638e5c195b66173438565fd1af97eb0b9e2b1f2ebbd9d4e5b875f3af", + "size": 2112, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/README.md", + "sha256": "ff79555febdbf1ea12b10bef4f6bdcb08812205ba2efe568b048b0ecdd127bf4", + "size": 12375, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/deps_versions.json", + "sha256": "43ccda9b18ba2577033d7bf24580785fd1227828d9ab06b8011ddfeee57af8e9", + "size": 370, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/catalog.d.ts", + "sha256": "aa0db4dee8e54431e2e01d14fd7977d28cd3032f9c4940cc5b926b77d5469dd5", + "size": 3613, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/catalog.js", + "sha256": "c2cb5abd5e01162186cb43e67a0a6e49d4d9a556a7382b7dc1840d6c5c2a6b6b", + "size": 11418, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/configuration.d.ts", + "sha256": "900ba0e99ac907a92d07c08b179ba7d4379326fb71de2d338eb8434860338973", + "size": 2067, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/configuration.js", + "sha256": "7b01b6d5e18b7a8a2e465f0d75214a0b9884ffe57df95af1b2708a5a4c4d7bc5", + "size": 1645, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/coreInterop.d.ts", + "sha256": "80bb839431d2ee4c935d2def128faa4993acbe8d75fa403df5b50a61c2f92ff8", + "size": 980, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/coreInterop.js", + "sha256": "466e3287e579f2b4180fafcb33479549dd2bd683b687456e1b664cd84da524d1", + "size": 5557, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/model.d.ts", + "sha256": "8f219d0af8f00e9a0119ea8d69eb3d92bc2b5e25ce9e17ac218fcb4a8f88355c", + "size": 5311, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/model.js", + "sha256": "8f553a823eb0dda46eacdd53835449abd5f6e030d66d684d9a4e9c88396317ec", + "size": 6663, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelLoadManager.d.ts", + "sha256": "1a2e8b44486f02548f6d30a942f074d052175d7d14d6f5cd7918151cc1ff2552", + "size": 1045, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelLoadManager.js", + "sha256": "1a7888fe6fb620acc9b1d7ff8d17c5563139b0bd32834bdaabc4d36cc54343c2", + "size": 3288, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelVariant.d.ts", + "sha256": "a7af8a0359d36ed90322738bde975c534b9a3b69dcb0e0393cf6f88da7e1b486", + "size": 4649, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/detail/modelVariant.js", + "sha256": "d62acc4da20f11fb40102f79ded6f45e3cf2f684db1f97c7888c26e84f86eef7", + "size": 7217, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/foundryLocalManager.d.ts", + "sha256": "812e9e2eec43997439392d139b995793aa3839f573aea38d115e90573f986cf5", + "size": 7846, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/foundryLocalManager.js", + "sha256": "bfbca8d6235ba998ce3e82ddc9970900a7e2511653341e1315786c6851c1f380", + "size": 9451, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/imodel.d.ts", + "sha256": "26244ca6cdfb41849ca8e8edef23c5a6681ed18a4acfb2b714c7d2beb0f592fb", + "size": 2156, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/imodel.js", + "sha256": "6ab1971ca21097ea33a2b7b423aee408c093fec343292bcbbc59971d3e253713", + "size": 45, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/index.d.ts", + "sha256": "977e345d9eb116eaf3d4db1f972222480fd0fc6e59d3ac273aef1801dbead4f0", + "size": 1109, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/index.js", + "sha256": "e030b97bdb052ed99f00df928c2fc42f7ac165021d86df792290225c30c5376f", + "size": 929, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/audioClient.d.ts", + "sha256": "7a0d9fe37f7e6f253be258a7938667334deadeb930c2b8872f22e517d1963762", + "size": 2253, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/audioClient.js", + "sha256": "04264c41f3567811940ef28b48d97684b333ccbac9829cce8b3d0db8e763b51f", + "size": 9895, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/chatClient.d.ts", + "sha256": "a9da4a98dc50b1425e2ace9ffb044a3aa872e678947bf035339c9b8703dd6d1e", + "size": 3283, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/chatClient.js", + "sha256": "c59a093318d05a3e38a2f68693f3b64a24603472c73517743302d5a507331063", + "size": 13835, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/embeddingClient.d.ts", + "sha256": "a1875a29cd2825fa23c6fe7bf7f4e04c4e2e574e142e0e5fb0c0291b2206528d", + "size": 1470, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/embeddingClient.js", + "sha256": "bd55fbceb7fea625d30144a462d1c18dd857e6a2539a4179734d3b3237656428", + "size": 2554, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioSession.d.ts", + "sha256": "f2ed7df5665add334b18ad793866c814333863345f8077b8c925cb9b0aed66e4", + "size": 3441, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioSession.js", + "sha256": "889d7adcb9a64858113cd881a77f56962fa85266d2a7ac58c319ecc45be745bf", + "size": 12816, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioTypes.d.ts", + "sha256": "831434a52d2643186dd76bbb657c3acf2f0635cafaa94763a0ff2f728242146f", + "size": 2387, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/liveAudioTypes.js", + "sha256": "f78e54d6ed3b9b0fba913e7ceec41b36364279e1d93d8b006b62af55806d027c", + "size": 1840, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/responsesClient.d.ts", + "sha256": "3126a17df66edb893fb5d26bd6ea80a05f5bb516e47da661e927c0936e86d0d2", + "size": 5737, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/openai/responsesClient.js", + "sha256": "76b477538feb61c41bc0ff7cf8f23b7dbe75bc2fda4720e29c70ff3cac9afc7f", + "size": 15246, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/types.d.ts", + "sha256": "cca44657b82f9b3c0cd7528e6dbddf5f949e42f5d34afe60c0d566f28e3fc0b0", + "size": 9844, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/dist/types.js", + "sha256": "ca23f484beade559e7ed612347ac8f615c2c4cc97c2e1b0a74b9c882db7f6f38", + "size": 297, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/LICENSE", + "sha256": "6bb5b2d4c07d793ca928daa63a8899c6914fafb5ac3aa04ec10cae07f3d57dca", + "size": 1106, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/README.md", + "sha256": "9d05e156889b1475cdee97a13ed84a4abee0d752b2aaa28ded5359fcf45df901", + "size": 2894, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/adm-zip.js", + "sha256": "f4feddb21980597cd0248c8790922534abfa90c17a483b00ece15e392074ee27", + "size": 40794, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/entryHeader.js", + "sha256": "6ed1ec82e6124d71dbfb4ee6e5dd4c975657854354cf74741427a1862010a664", + "size": 12717, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/index.js", + "sha256": "536e4b5bf009a3d9f6eccfbbc4157cb6de663d889e0826ea5f6e5fa17aaeb8bf", + "size": 94, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/headers/mainHeader.js", + "sha256": "ed5a2b3fc7c8a6937e07447eb3e55e08a0655d2f24fe04039e7008845d221a25", + "size": 7141, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/deflater.js", + "sha256": "6dc41b2460594cfa5136b797653c166b2f7403820a40f2fca17cca35a5de1b5f", + "size": 1021, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/index.js", + "sha256": "d67714f1a04be942f90be77069af3ff4214aa8ee84b26edeff3a87eb0d8e2dc0", + "size": 128, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/inflater.js", + "sha256": "7b62c190669eeefd6b2810a3339d9109ecb219f845fcd12ae93518beec35dc49", + "size": 1146, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/methods/zipcrypto.js", + "sha256": "23365c7eda0ea098385dc7ec649517fc110ce2764d2e707c37bf6b528604e25a", + "size": 5806, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/package.json", + "sha256": "76a6fc3e9bf811c9ada1173b7a7c0621d36329c29c221428f46f75762d3aeb5a", + "size": 1387, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/types.d.ts", + "sha256": "98fae6ae2e5d026a91e0316209813ce304069ab85d0471f35152d5db500d23c1", + "size": 9641, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/constants.js", + "sha256": "208e943a2e5faad056047f3c7991cce3cde637d8e272a564f2546210ebdf2069", + "size": 6374, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/decoder.js", + "sha256": "73a0ebb00c4dce2124f07acf0b34374cb03a4384cccd1cd6f58aee27c35953d9", + "size": 130, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/errors.js", + "sha256": "d2d243647737c795c2db8aeba2e1f3841d5f76370b521d436cf465322dd4aab7", + "size": 2868, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/fattr.js", + "sha256": "31c93eb386a2bfbf19ad92a6bf20d510a8f1e7e90cc71d33dd888f89da12362d", + "size": 1892, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/index.js", + "sha256": "dc5b230ed853947ea55c0bf69f0e525fbeffefff09aa3da296d541bb8898314e", + "size": 226, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/util/utils.js", + "sha256": "f50d229943cce6067a7f09f5e97b4a69157ec11759777382e5ca0ba03671d1e9", + "size": 13011, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/zipEntry.js", + "sha256": "874e9510d362ba7d2cd85e2dcc7a0e7a6caa4de8ddb37fb4d5e68a018cd87a39", + "size": 15173, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/node_modules/adm-zip/zipFile.js", + "sha256": "a709d4f3ee218f457b7e71dd6b22dcf58858cc5410eece4dc4ecd7c4e9a2c027", + "size": 16516, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/package.json", + "sha256": "07d0242f84fdcfc8f4a0e601dc35f01fa153535c67f95262e0bd750ba7cfa418", + "size": 1296, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/prebuilds/linux-x64/foundry_local_napi.node", + "sha256": "3944ed8fc4bd2cee874f3c440236b277204f9e5a0c9b17b0c8180d8c6a85be33", + "size": 31456, + "executable": false + }, + { + "path": "distribution/foundry-local-sdk/node_modules/foundry-local-sdk/script/install-utils.cjs", + "sha256": "0831c932b10389283e805f88a204b0f6a5a8053f2ee520e56a0f0adf1352aa8b", + "size": 10443, + "executable": false + }, + { + "path": "distribution/index.js", + "sha256": "24ec5cfb8f9bcb6559d8c187fbaaae3a9e964a570bf212fa646cff825bc47b78", + "size": 41547, + "executable": true + }, + { + "path": "distribution/npm-loader.js", + "sha256": "0ea824a86be5757533fdb092eff7050871bd7a711a46babde0ffe0e44ac5ad88", + "size": 1185, + "executable": true + }, + { + "path": "distribution/package.json", + "sha256": "d4a592ea2cd06fc3be13dd46cf4d41b2277516efa3dd3f24e438bde3b4cd523a", + "size": 2188, + "executable": false + }, + { + "path": "distribution/prebuilds/linux-x64/cli-native.node", + "sha256": "e17dda2eb0b2d4d2ca056c8fdc4f474e49f16de73c60b7b09fb00a93106f3a23", + "size": 6859576, + "executable": true + }, + { + "path": "distribution/prebuilds/linux-x64/copilot-runtime", + "sha256": "84da09a390f9b1bb0898bdc8483c368ec69cc80a3ec83fb23069e3a82e215ae1", + "size": 422392, + "executable": true + }, + { + "path": "distribution/prebuilds/linux-x64/runtime.node", + "sha256": "95ee3b30d821fb27d1cbbabc6424bfe726fecedbd25e7a90413eca1a54040234", + "size": 101936656, + "executable": true + }, + { + "path": "distribution/preloads/extension_bootstrap.mjs", + "sha256": "ebf4edc7cc2195fc1b7c5c26863e08137137ec075cc73ff335331534115a1be6", + "size": 2811, + "executable": false + }, + { + "path": "distribution/preloads/extension_sdk_resolver.mjs", + "sha256": "e57d71730c8f937315a72b66187c56cc4fa78ecbd13590795136996e2851bf19", + "size": 1331, + "executable": false + }, + { + "path": "distribution/pvrecorder/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/README.md", + "sha256": "7eb46bc4bdba8002da1165107fc729ee816f58063a8e8d6d0083a3fb81898683", + "size": 1675, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/errors.js", + "sha256": "14b373ef00a0bf0fceb5abe86a6628f914a466b2403ba376f78b025cff05e92b", + "size": 2528, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/index.js", + "sha256": "a99551364022401340991df2d74e1c949290e920aa9247d22c262e26b768a0f0", + "size": 748, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/platforms.js", + "sha256": "9eb9c4c2af151391c4966bdaf15364d15362996915e8f5fa685daca1c3f81359", + "size": 6404, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/pv_recorder.js", + "sha256": "3323ebdbad3d524dc4330d25cb226cc17a0f7f365b738f471faf883d71de658d", + "size": 6154, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/pv_recorder_status_t.js", + "sha256": "c7c94cd144fb0fcf5f844e76ff83d754dc6b835e45893c2cc81de5f0c3ddccbb", + "size": 1519, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/errors.d.ts", + "sha256": "5250616ee995097ea36daa3285d957e3adcdd9c76a6dd13ea3d10174c38a8668", + "size": 236, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/index.d.ts", + "sha256": "6b27f29a807ef113c326fcc2139ddde257e74585cb58591ad9753dcbfd00c03f", + "size": 98, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/platforms.d.ts", + "sha256": "a11acc208b8d403db8882b97e0101f549a5dd7a1ca656ff46d9378277a100064", + "size": 142, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/pv_recorder.d.ts", + "sha256": "6b06821393cd5fbab4874a11c46634e7bb1ff91848bbf34a1e5008ccea6929bf", + "size": 2741, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/dist/types/pv_recorder_status_t.d.ts", + "sha256": "b35985d2b520dc2570f90f23e6db7e6ce37369db6e35c27bc532de349421175e", + "size": 337, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/lib/linux/x86_64/pv_recorder.node", + "sha256": "f42752754975a0266c2b5ea0668b5c9508590273cd7a3baf38a678d5056918cc", + "size": 889128, + "executable": false + }, + { + "path": "distribution/pvrecorder/node_modules/@picovoice/pvrecorder-node/package.json", + "sha256": "e44a9dde00f1344251f22bce37520ea1bbbde5af2965cab7e612758854ee3a99", + "size": 1197, + "executable": false + }, + { + "path": "distribution/queries/bash-highlights.scm", + "sha256": "77860b9f127ca82681e3691bba003e62d1d8dbced05e4fe96041d26fd8944656", + "size": 5776, + "executable": false + }, + { + "path": "distribution/queries/c-highlights.scm", + "sha256": "a99c4c0bf9d9b9f7de0124c529a4229fddada96d65bf5fb0c9d487266e15d483", + "size": 6332, + "executable": false + }, + { + "path": "distribution/queries/cpp-highlights.scm", + "sha256": "69d1dbed8d49c498e93a75db6afedfb8769fa2fed455a64d588dc347281d642f", + "size": 4904, + "executable": false + }, + { + "path": "distribution/queries/csharp-highlights.scm", + "sha256": "4b79059a52926e8cd08a1d80af70ba02acefb86bc8ed82315897fb104ed1a338", + "size": 8302, + "executable": false + }, + { + "path": "distribution/queries/css-highlights.scm", + "sha256": "6641fed120530bfbce5682ab88b2a8d14d99bfcd971ac9f78cd91738b4b0578a", + "size": 1177, + "executable": false + }, + { + "path": "distribution/queries/go-highlights.scm", + "sha256": "c58a7336d4834ebfbb038002c6ab033f792cd1b8d3e7e1682bdaa982bee7f6b1", + "size": 3934, + "executable": false + }, + { + "path": "distribution/queries/html-highlights.scm", + "sha256": "1ebb3811a8cdc054385b847a3aac6fbf7079faefd5b3dfab5bbad256cd5afdcf", + "size": 197, + "executable": false + }, + { + "path": "distribution/queries/java-highlights.scm", + "sha256": "c68c0e7e9ae36d94c9e5ab06556b34c5e8568d1ce1867043d92bbe4b3b4dcf2f", + "size": 4425, + "executable": false + }, + { + "path": "distribution/queries/javascript-highlights.scm", + "sha256": "d3630ae6dc9b2b27b230b5f8bb92b05cd491fb12bff353dae62a0a6d780461ee", + "size": 2739, + "executable": false + }, + { + "path": "distribution/queries/json-highlights.scm", + "sha256": "6ab09656820f0e8dac860c96dced341221284544c05308ee337727f5db937101", + "size": 412, + "executable": false + }, + { + "path": "distribution/queries/php-highlights.scm", + "sha256": "a2a7367659cff3b4be09961c8117d69a9b8703bfc266f8092e089b1760f197e9", + "size": 3207, + "executable": false + }, + { + "path": "distribution/queries/python-highlights.scm", + "sha256": "a6708f209381618e2b398972c8f1ccd892f0c064eab35a2a3f911c3e22e79a7e", + "size": 1957, + "executable": false + }, + { + "path": "distribution/queries/ruby-highlights.scm", + "sha256": "1cc8fc205e4cce4fe9e0d63bb1be903e49ea0f2eda77ae9368898a31ff98bc18", + "size": 4068, + "executable": false + }, + { + "path": "distribution/queries/rust-highlights.scm", + "sha256": "c649a4785322ab72af84874b9dc03c7a4f5d9a05de45a85919a60770d7d5457d", + "size": 8610, + "executable": false + }, + { + "path": "distribution/queries/scala-highlights.scm", + "sha256": "e9e89654a7df214f4c79c28af7bc50bdb5c6cc5abb9690e3e1ce19c35b797991", + "size": 4858, + "executable": false + }, + { + "path": "distribution/queries/typescript-highlights.scm", + "sha256": "e0c35adb819127bfd4f853fac5419e7d8ba44760246201d04a4a5ce0228a10c5", + "size": 515, + "executable": false + }, + { + "path": "distribution/ripgrep/bin/linux-x64/rg", + "sha256": "f2ee496a39139b8d9ad9408081217a55f1382cef4950100565d147d247364856", + "size": 5728000, + "executable": true + }, + { + "path": "distribution/schemas/api.schema.json", + "sha256": "032a7784171eb2c4eb8260f0c0b67f05e9b1c76d0e74fe507871ba6a36d9a3ab", + "size": 1914299, + "executable": false + }, + { + "path": "distribution/schemas/session-events.schema.json", + "sha256": "d8cb713c05d5278a68dde5c5d4482574f836e922ae13aa06f82474c209a7c6e9", + "size": 895984, + "executable": false + }, + { + "path": "distribution/sdk/index.js", + "sha256": "a0718e6376a1146da09b4cf6ef2a332d447cd22f7dfffdedc000c7b622309ef4", + "size": 1165545, + "executable": false + }, + { + "path": "distribution/sea-loader.js", + "sha256": "ae11b2967060bb6239cac956beed3b9f566cb09afb912b021605c486b3bfc7c3", + "size": 122234, + "executable": false + }, + { + "path": "distribution/tgrep/bin/linux-x64/tgrep", + "sha256": "3a88e5824920b56f089a9cd980e95e54a23d9abd6f7492f0a906b5b4706ddd9c", + "size": 7914368, + "executable": true + }, + { + "path": "distribution/tree-sitter-bash.wasm", + "sha256": "8292919c88a0f7d3fb31d0cd0253ca5a9531bc1ede82b0537f2c63dd8abe6a7a", + "size": 1358224, + "executable": false + }, + { + "path": "distribution/tree-sitter-c.wasm", + "sha256": "c852c2a85ebf2beb636aa3b0ef7f7e70458684d74f6741b20dcb296885bed9f9", + "size": 625918, + "executable": false + }, + { + "path": "distribution/tree-sitter-c_sharp.wasm", + "sha256": "6f69e1cae44e1c32c1eccc170dc5a9778fb94ff716f71113fe1f8c4299aa2f40", + "size": 5350581, + "executable": false + }, + { + "path": "distribution/tree-sitter-cpp.wasm", + "sha256": "174eb0deb75b2ec7881bcacda9f995648d8e683956e5c2267e69ab6dc503fcbf", + "size": 3434931, + "executable": false + }, + { + "path": "distribution/tree-sitter-css.wasm", + "sha256": "8a23977fe271357cce6f254ef88c9bebf3854602d8046605aef6a45c02135c59", + "size": 128668, + "executable": false + }, + { + "path": "distribution/tree-sitter-go.wasm", + "sha256": "9504573f352b20be7f2f1911754d710622aedc15afff16d5ed8fb5645681aee7", + "size": 217182, + "executable": false + }, + { + "path": "distribution/tree-sitter-html.wasm", + "sha256": "c48fcd82c7ea8bf943180088ba7f28c48b2bb5287874179168bf9d31e394cf85", + "size": 18385, + "executable": false + }, + { + "path": "distribution/tree-sitter-java.wasm", + "sha256": "4fdeac4ca6ca089f06c6f7e562abcac1733cd465728cc7031ebb73c2019122c4", + "size": 414641, + "executable": false + }, + { + "path": "distribution/tree-sitter-javascript.wasm", + "sha256": "5fb488d0cabb4775a594bab85682de5ad6ce83c0d6ac997a9f82dd084d571240", + "size": 411770, + "executable": false + }, + { + "path": "distribution/tree-sitter-json.wasm", + "sha256": "d2119fb98d5912719b13f9458574f8608d2d29dfbe45f6be1f860ea1fe2a2405", + "size": 5596, + "executable": false + }, + { + "path": "distribution/tree-sitter-php.wasm", + "sha256": "d4df6a6ff08c87c3ec4f9cbb785fe09998a0cb570e03f57d7b19b3acfb146aa7", + "size": 1058041, + "executable": false + }, + { + "path": "distribution/tree-sitter-python.wasm", + "sha256": "16108b50df4ee9a30168794252ab55e7c93bfc5765d7fa0aa3e335752c515f47", + "size": 457883, + "executable": false + }, + { + "path": "distribution/tree-sitter-ruby.wasm", + "sha256": "09a96427d7c72f0613ed470cd9812223fc4a91d6a9c025c0235cc6bd59ff96f4", + "size": 2106352, + "executable": false + }, + { + "path": "distribution/tree-sitter-rust.wasm", + "sha256": "f65f354215611fd94ad34134b3427eb3d58cbb745df7b6509ba722184db73d57", + "size": 1102547, + "executable": false + }, + { + "path": "distribution/tree-sitter-scala.wasm", + "sha256": "b7ec2bb29c19827abcefd18ed5cb5a43596009f96a5d53c5b9d1f9676d7521c3", + "size": 3786700, + "executable": false + }, + { + "path": "distribution/tree-sitter-tsx.wasm", + "sha256": "79e5da75ea62855a0cd67177685f0164eac87d5f630b3cbe1e0a099751ad30f8", + "size": 1445638, + "executable": false + }, + { + "path": "distribution/tree-sitter-typescript.wasm", + "sha256": "778025db5a8be0e70f8ccc3671e486dfeddd048c25d9e8a70c26de2e1bf6f97d", + "size": 1413849, + "executable": false + }, + { + "path": "distribution/tree-sitter.wasm", + "sha256": "f38dcc4b43b818f9a0785bc1c6d5611a75ac4cdd428ff3f02757c34ca4e46d7f", + "size": 205488, + "executable": true + }, + { + "path": "distribution/voice-engine.worker.js", + "sha256": "bf601f1092d1b8734a582d8182c223855c7f5cfb17f8fc529f1791dfd470d5d2", + "size": 112985, + "executable": false + }, + { + "path": "distribution/voice-installer.worker.js", + "sha256": "4a843b379310d44f422271e75d3246ada24f567587850c3ef501f565c905b493", + "size": 11639, + "executable": false + }, + { + "path": "distribution/voice-server.js", + "sha256": "c6b2c140027ef6c7b283ebbb4cbde1dc32f12f97901ff45dfdfd536269bac1d2", + "size": 130952, + "executable": false + }, + { + "path": "distribution/webview/index.js", + "sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "size": 0, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-linux-x64-gnu/README.md", + "sha256": "720b4d8d3ee81dea88395f2d3152321f8578be41ba662cce54a8b1cca6af1c85", + "size": 111, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-linux-x64-gnu/package.json", + "sha256": "478445fe04773da57a814e62ec912630591841b10120ff9038b0e8883e21eb20", + "size": 667, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview-linux-x64-gnu/webview.linux-x64-gnu.node", + "sha256": "dd47ad9f7c402298889991226eaad6ee6d1e2239f23a69d52fbe556fd5227b92", + "size": 7942704, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/LICENSE", + "sha256": "9cac72e0573f14d3f9bcb8f70922d589ba07dd1051a5c12229f111e154923f0a", + "size": 1065, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/README.md", + "sha256": "69c2e106db45187b981358c938e41b8bfb67fb3a451930f102a63b471c0da675", + "size": 16477, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/build.mjs", + "sha256": "bcb69c0cc8356b78d07c53719ccaa372f1d6b6c381973b76508681573a7b1db4", + "size": 3640, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/index.mjs", + "sha256": "3d6d86fc751897b67e1b94f0b1d0a667d79e6256b278a7e801467bfd67ad2689", + "size": 3837, + "executable": true + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/cli/utils.mjs", + "sha256": "fb7a2fc54e53c777de835f50c7d4483bee60d1aece0c1deddbe2f232f571d8f1", + "size": 193, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/CNAME", + "sha256": "405d5f5a242885480dc01db6227484ed4b6d723fd7c3b2547f9f36e46decac15", + "size": 14, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/README.md", + "sha256": "65578b7f73cc6c145a9d962ca6f2ee56b06153a8277eea8c3c3cadc7d602f155", + "size": 15717, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/application.md", + "sha256": "44227367accc4a9f5b8468e19680ffd1229891d59c0652e8f45370c0872160bd", + "size": 6074, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/browser-window.md", + "sha256": "597920a56d3ff8c87b6990473e5150a454f109bd7e639125c8a82d039ade7487", + "size": 11107, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/menu.md", + "sha256": "838a998eba786e959bec89e148fae7d547df1b13e490b55c890d58100fd77b98", + "size": 3828, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/notification.md", + "sha256": "8e90225a0f40ebcd2a69bc9e0b8d51c645810faa4fcaae3651101bcaa686d101", + "size": 5622, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/tray.md", + "sha256": "f071ca7d3a5cc7cb271ceb9e2712db9c6c80d5c8ab33b4a8fc3b168e5d9dd3aa", + "size": 1628, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/types.md", + "sha256": "e006fb8428d0e58943468f62c77ec78bcba1bb7b0bc41ce3e2258417fe51320c", + "size": 5711, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/web-context.md", + "sha256": "92b9ed94a8868a1ff8b0f3e4ef92be2a0b2564f7beb1fc8b6107b7f1bca96429", + "size": 1774, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/api/webview.md", + "sha256": "78ade1e288c7a6169678d4bb64f9e450ed4e855324c310354686c11f127bd494", + "size": 6279, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/event-loop.md", + "sha256": "28b1f847d6ff3c71c5b3fbf9f46d531b6fbd9ba585365cfbe9a2292e698171bb", + "size": 2511, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/installation.md", + "sha256": "06acf9a3d61c0d84f0dcc65153f43d288e1bb139a0e16df69253fae68c2c6c76", + "size": 1173, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/getting-started/quick-start.md", + "sha256": "55cdf7992b7ad793b204ac80268c66600975ee20c474c2ca029cdd6db58073b6", + "size": 1995, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/building-executables.md", + "sha256": "18a1d5d2596e0e0b05758643981d7ffe5b9d9f32bf0884c84978c647bf2419e9", + "size": 5026, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/cookies-and-storage.md", + "sha256": "0eb9abdd246e5a2a0d4a8578c6b565781fdb9d7b99463b50c05a6851c3eed365", + "size": 1783, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/custom-protocols.md", + "sha256": "1c72110266d09b04f544c0d20aa7fe1f4b6ad84ffa9e171b7f6e55832d39c4c1", + "size": 3148, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/ipc-messaging.md", + "sha256": "d03b307d46cafe92ad0297cad0a0ee1b3af410143281be4be5ab2dbc31e2e74e", + "size": 1790, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/menus.md", + "sha256": "88b791fa71cbb51351cd3a220184ea54a53426cca00eab0c185acd139053fe6d", + "size": 2764, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/guides/multiple-windows.md", + "sha256": "6d05fa117efc95207d4707bbf2728ae31f482bc6e9f29a8a436389fdaae003cd", + "size": 1835, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/android.md", + "sha256": "646dc6f1ac30a4f2bd25faec682a2d6f0262ea59193ac44490d5914cf1294cd0", + "size": 326, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/ios.md", + "sha256": "b8b1c2bc59611d633971556fb94720bdb411e2de89771fb372217d1a17b53cb7", + "size": 420, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/linux.md", + "sha256": "cbd1df68b7c899f826aff9e0fd2d13e9f9e19892ad16fd47a6fea5c625dc0e8b", + "size": 1986, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/macos.md", + "sha256": "9b5b1d9c4065d7904c02e3dc79517b6df4f8a44dd95902e30502d130cdef5d71", + "size": 2260, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/docs/platform/windows.md", + "sha256": "5a84a310a20d42e0b24492472efd5512aae11c68668620f071a3d85c3583512a", + "size": 2136, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/index.d.ts", + "sha256": "49610270556eaff855f8efc8026a595c354309ea325d846d33a617ad54039a39", + "size": 13502, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/index.js", + "sha256": "9bce1f609372abd7da4973967276ba591c43f9b933bcd52030edb1ad6ee3b8db", + "size": 22727, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/js-bindings.d.ts", + "sha256": "f2f384ab7913a7e38369155a5abda97c0af3b72db6021df341e8da2288ceceaf", + "size": 20365, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/js-bindings.js", + "sha256": "e6a970a01839ed97c9a9636a01bf1c77c298a8270b3f1708c4927191856a3bcc", + "size": 28518, + "executable": false + }, + { + "path": "distribution/webview/node_modules/@webviewjs/webview/package.json", + "sha256": "0a71bc7c23521db3890aadb13763297422e1988e9a68f95ec8b8832c07d33b89", + "size": 3442, + "executable": false + } + ] + } + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-native-instruction-delivery-2026-09-29.json b/packages/paperclip-runner/test/fixtures/copilot-native-instruction-delivery-2026-09-29.json new file mode 100644 index 00000000000..63f054191f0 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-native-instruction-delivery-2026-09-29.json @@ -0,0 +1,72 @@ +{ + "schema": "paperclip.copilot-native-instruction-delivery.v1", + "date": "2026-09-29", + "providerVersion": "1.0.88", + "providerBinarySha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "runtimeSourceRevision": "3d0c45920c326821c2f5ff48dc985ef8158b46e4", + "fixtureMechanism": "Credential-free env -i / COPILOT_OFFLINE=true with synthetic credential and loopback OpenAI fixture. Actual native binary and AcpxRuntimeHost. Test-only offline model metadata injection retained. Second explicit requested turn forces native session/load. File-mechanism probe writes the proposed instruction file in prepareSandbox; it is not a final built-production proof.", + "documentation": "https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-custom-instructions", + "attempts": [ + { + "mechanism": "generic ACP metadata only", + "rawPrivateEvidenceSha256": "c2a0944f325cbbd73e3238d3aa93b5d1305ec924686b96e5933c2a1b41dc166e", + "probeScriptSha256": "ba346a6ce5652f189ca95b993902570c121142d9c69a85cb2ad88427bdf47360", + "loopbackModelResponses": 2, + "paidProviderCalls": 0, + "nativeLoadObserved": true, + "continuationResult": { + "status": "completed", + "stopReason": "end_turn" + }, + "modelRequestProjection": [ + { + "request": 1, + "paperclipPromptInSystem": false, + "oldRegisteredRootInSystem": false, + "currentRegisteredRootInSystem": false, + "originalCustomEntryInSystem": false, + "updatedCustomEntryInSystem": false + }, + { + "request": 2, + "paperclipPromptInSystem": false, + "oldRegisteredRootInSystem": false, + "currentRegisteredRootInSystem": false, + "originalCustomEntryInSystem": false, + "updatedCustomEntryInSystem": false + } + ] + }, + { + "mechanism": "isolated COPILOT_HOME/copilot-instructions.md refreshed before admission", + "rawPrivateEvidenceSha256": "abe3317c36f178c7b4f512070b290ed5fc2c066ca19b52152a5bebb4ff8ba195", + "probeScriptSha256": "85752c52ff53f99e4a7a8d6fe40b41fbea1d55b07efbcd4c4062674946089850", + "loopbackModelResponses": 2, + "paidProviderCalls": 0, + "nativeLoadObserved": true, + "continuationResult": { + "status": "completed", + "stopReason": "end_turn" + }, + "modelRequestProjection": [ + { + "request": 1, + "paperclipPromptInSystem": true, + "oldRegisteredRootInSystem": true, + "currentRegisteredRootInSystem": false, + "originalCustomEntryInSystem": true, + "updatedCustomEntryInSystem": false + }, + { + "request": 2, + "paperclipPromptInSystem": true, + "oldRegisteredRootInSystem": false, + "currentRegisteredRootInSystem": true, + "originalCustomEntryInSystem": false, + "updatedCustomEntryInSystem": true + } + ] + } + ], + "conclusion": "Pinned Copilot ignores generic systemPrompt metadata. Native personal instruction file supplies fresh composed text to actual model system message after load, replacing old root/custom-entry text. Both attempts retained; final production build and authenticated qualification remain required." +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-policy-conformance-2026-09-29.json b/packages/paperclip-runner/test/fixtures/copilot-policy-conformance-2026-09-29.json new file mode 100644 index 00000000000..5cda9be4296 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-policy-conformance-2026-09-29.json @@ -0,0 +1,257 @@ +{ + "schema": "paperclip.copilot-policy-conformance.v1", + "providerVersion": "1.0.88", + "platform": "darwin-arm64", + "executableSha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "sourceBaseRevision": "9f4476feb87df5574edf121b86a1093efb006ac3", + "authentication": "none; explicit fresh environment contains no credential values", + "modelTransport": "COPILOT_OFFLINE=true; COPILOT_PROVIDER_TYPE=openai; COPILOT_PROVIDER_BASE_URL points only to ephemeral 127.0.0.1 Python HTTPServer; fixture model gpt-4.1 is synthetic", + "paidProviderCalls": 0, + "modelSpendUsd": 0, + "qualification": "offline protocol evidence only; no GitHub model, final pack, or Daytona qualification", + "attempts": [ + { + "evidenceFile": "agent-inputs.json", + "sha256": "3def3bcf95db103611722d5e04f803bed555c7c8274a1833c661ef9d87a4b757", + "scenario": "discover-inputs", + "mode": "agent", + "resumed": false, + "loopbackModelRequests": 1, + "nativeInputToolsAdvertised": [], + "forcedToolRejectedAsUnavailable": false, + "permissionRequestCount": 0, + "permissionRequestIds": [], + "markerPresent": false, + "rpcErrorCodes": [], + "disposition": "passed" + }, + { + "evidenceFile": "plan-inputs.json", + "sha256": "446ee3a2b9e5e4ac3249a8ae18a09f1c33fadc75f94a98d8c6f5fb50a8a73b61", + "scenario": "discover-inputs", + "mode": "plan", + "resumed": false, + "loopbackModelRequests": 1, + "nativeInputToolsAdvertised": [], + "forcedToolRejectedAsUnavailable": false, + "permissionRequestCount": 0, + "permissionRequestIds": [], + "markerPresent": false, + "rpcErrorCodes": [], + "disposition": "passed" + }, + { + "evidenceFile": "native-question.json", + "sha256": "1cdff42aa31e27a796ecceb4d4fea89c271737a0094982956bb228f03752e21d", + "scenario": "native-question", + "mode": "agent", + "resumed": false, + "loopbackModelRequests": 2, + "nativeInputToolsAdvertised": [], + "forcedToolRejectedAsUnavailable": true, + "permissionRequestCount": 0, + "permissionRequestIds": [], + "markerPresent": false, + "rpcErrorCodes": [], + "disposition": "passed" + }, + { + "evidenceFile": "native-plan.json", + "sha256": "fecfca013ea072e4e880c77b244b42843f25486206c2e8f64411216ad5c738ea", + "scenario": "native-plan", + "mode": "plan", + "resumed": false, + "loopbackModelRequests": 2, + "nativeInputToolsAdvertised": [], + "forcedToolRejectedAsUnavailable": true, + "permissionRequestCount": 0, + "permissionRequestIds": [], + "markerPresent": false, + "rpcErrorCodes": [], + "disposition": "passed" + }, + { + "evidenceFile": "deny-read.json", + "sha256": "88d1ad8865b3252963ce12178d6a3a3819f50a2c20ddf95ab557f1cacd127975", + "scenario": "deny-read", + "mode": "agent", + "resumed": false, + "loopbackModelRequests": 1, + "nativeInputToolsAdvertised": [], + "forcedToolRejectedAsUnavailable": false, + "permissionRequestCount": 1, + "permissionRequestIds": [ + 0 + ], + "markerPresent": false, + "rpcErrorCodes": [], + "disposition": "passed" + }, + { + "evidenceFile": "resumed-deny-shell.json", + "sha256": "3826ca1247b99c3000bff1e8e0e53d0244c0c22f8ec3089b6ca83bfba80ae3bb", + "scenario": "deny-shell", + "mode": "agent", + "resumed": true, + "loopbackModelRequests": 0, + "nativeInputToolsAdvertised": [], + "forcedToolRejectedAsUnavailable": false, + "permissionRequestCount": 0, + "permissionRequestIds": [], + "markerPresent": false, + "rpcErrorCodes": [ + -32002 + ], + "disposition": "probe_setup_failure" + }, + { + "evidenceFile": "resumed-deny-shell-attempt-2.json", + "sha256": "14bdd262303d9273c3612d502fefb4b6f887ce903af590a58bbaea3e00297ff6", + "scenario": "deny-shell", + "mode": "agent", + "resumed": true, + "loopbackModelRequests": 2, + "nativeInputToolsAdvertised": [], + "forcedToolRejectedAsUnavailable": false, + "permissionRequestCount": 1, + "permissionRequestIds": [ + 0 + ], + "markerPresent": false, + "rpcErrorCodes": [], + "disposition": "passed" + }, + { + "evidenceFile": "restart-deny-shell.json", + "sha256": "c9a22087f343d8d399044bd05d159e457531d3c735a765df2c6bdce85878b2be", + "scenario": "deny-shell", + "mode": "agent", + "resumed": true, + "providerKilledAndReplaced": true, + "replayMutationCount": 1, + "loopbackModelRequests": 3, + "nativeInputToolsAdvertised": [], + "permissionRequestCount": 2, + "permissionDecisions": [ + "allow_once", + "reject_once" + ], + "permissionRequestIds": [ + 0, + 0 + ], + "markerPresent": false, + "rpcErrorCodes": [], + "disposition": "passed" + }, + { + "evidenceFile": "detached-shell.json", + "sha256": "8b99a6e010e085aad37d39419e3159743f74bb013b731e7856d572f70cce9c89", + "scenario": "detached-shell", + "mode": "agent", + "loopbackModelRequests": 2, + "permissionRequestCount": 1, + "markerAtPromptResult": false, + "markerAfterObservation": false, + "postTerminalObservationMs": 300, + "disposition": "provider_behavior_failure", + "failedAssertion": "Detached shell must finish before prompt terminal result" + }, + { + "evidenceFile": "detached-shell-observe-late.json", + "sha256": "095b0aed787575bbc22f5e80ea8eff74152a696dccdf850201f3aba629ebc978", + "scenario": "detached-shell", + "mode": "agent", + "loopbackModelRequests": 2, + "permissionRequestCount": 1, + "markerAtPromptResult": false, + "markerAfterObservation": true, + "postTerminalObservationMs": 3000, + "disposition": "provider_behavior_failure", + "failedAssertion": "Detached shell must finish before prompt terminal result" + }, + { + "evidenceFile": "detached-shell-policy-denied.json", + "sha256": "a941e02818297025866b76f541a23d078515dcfd4a43bf26421ffd46025ed720", + "providerVersion": "1.0.88", + "scenario": "detached-shell", + "loopbackModelRequests": 1, + "permissionResponseCount": 0, + "markerAtPromptResult": false, + "markerAfterObservation": false, + "policyRejection": "COPILOT_DETACHED_WORK_UNSUPPORTED", + "disposition": "policy_denied_before_effect", + "scope": "exact repository tool-update policy source, not full production admission" + }, + { + "evidenceFile": "detached-shell-policy-denied-final.json", + "sha256": "4a2e91b561300ec6e2bad7ebb9d599ca502692883ffaa3a30d24d606f3c0284b", + "providerVersion": "1.0.88", + "scenario": "detached-shell", + "loopbackModelRequests": 1, + "permissionResponseCount": 0, + "markerAtPromptResult": false, + "markerAfterObservation": false, + "policyRejection": "COPILOT_DETACHED_WORK_UNSUPPORTED", + "disposition": "policy_denied_before_effect", + "scope": "exact repository tool-update policy source, not full production admission" + }, + { + "evidenceFile": "comparison-1.0.89-attached.json", + "sha256": "95c87df86e91483ac67d7f02ffd76cf2c968e4be5c0f79679c0a1e8f289d6b20", + "providerVersion": "1.0.89", + "scenario": "attached-shell", + "loopbackModelRequests": 3, + "permissionResponseCount": 1, + "markerAtPromptResult": true, + "markerAfterObservation": true, + "policyRejection": null, + "disposition": "passed", + "scope": "unguarded native protocol" + }, + { + "evidenceFile": "comparison-1.0.89-detached.json", + "sha256": "0dd99fa9fe72c831f09bebfa99d9effae16fe895964f9ef726462b92ca1cf0f3", + "providerVersion": "1.0.89", + "scenario": "detached-shell", + "loopbackModelRequests": 2, + "permissionResponseCount": 1, + "markerAtPromptResult": false, + "markerAfterObservation": true, + "policyRejection": null, + "disposition": "unsupported_native_lifetime", + "scope": "unguarded native protocol" + } + ], + "emptySessionLoadDiagnosis": "Copilot does not retain an empty conversation for load. Initial resource-not-found retained; second attempt seeds one loopback-only text turn before close/load. It then requests shell permission and rejects the write.", + "providerDeathDiagnosis": "One allowed seed mutation appends X. The exact provider is SIGKILLed and replaced against the same private state, then session/load succeeds. X occurs once after load and the next denied write remains absent. Request ID 0 is reused by the new process and requires fresh permission authority.", + "detachedSettlementDiagnosis": "Explicit native detach returns end_turn before command completion in both 1.0.88 and isolated 1.0.89. Original failed settlement assertions are retained. This intentional native lifetime is unsupported by the runner, not proof that attached-shell upstream issue #4743 remains open. The production guard denies rawInput.detach:true before permission dispatch; native no-side-effect probe passes. Native Rust schemas/platform/feature variants and shell escape lifetimes remain outside comprehensive qualification.", + "comparisonRelease": { + "package": "@github/copilot-darwin-arm64", + "version": "1.0.89", + "tarball": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.89.tgz", + "integrity": "sha512-CaBNRZ1gRgatEdlgL2l/Ykw+79sOOYhBWFh3ohifYL7XgPBLf4xnXf59WlOTRT3Ojm4RSbbu/qVwBAa/elIdPQ==", + "tarballSha256": "7292cd2b3f0275e90bed9306bee23c5b7b1e22d604d8ea121f67c24f7192ad49", + "executableSha256": "97c12874d9adb9738374a9fb8a52cd724b81132ff815140f7e017bac706feba7" + }, + "toolSchemaEvidence": { + "evidenceFile": "native-tool-schemas.json", + "sha256": "68463a6afc5cf6b247998d76d4094fdc44789909197b2cd7a380b1649c8b4062", + "detachParameterTools": [ + "bash" + ], + "noDetachParameterTools": [ + "read_bash", + "stop_bash", + "task" + ], + "notAdvertised": [ + "write_bash", + "powershell", + "write_powershell", + "read_powershell" + ], + "comprehensiveAcrossPlatformsAndFlags": false + }, + "detachedPolicySourceSha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3" +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-product-live-proof-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-product-live-proof-2026-09-28.json new file mode 100644 index 00000000000..2c36acffee3 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-product-live-proof-2026-09-28.json @@ -0,0 +1,93 @@ +{ + "schema": "paperclip.copilot-product-live-proof/v1", + "providerVersion": "1.0.88", + "model": "gpt-5.6-luna", + "modelProvider": "github", + "qualificationStatus": "pending", + "sourceRevision": "bcc9c638a25b91b84065f12633f083bd4f7a689f", + "runnerdSourceRevision": "f77ae83aeb6d802c73f1c955760017ae272eba29", + "runnerdSha256": "sha256:986060810ba7377c6ddd64a5d89e322d0a434e1a9c80400e6d4acf5934bfc421", + "executionMode": "source-mode Product E2E with build-owned verified native assets", + "caseId": "extended-harnesses.runner-acpx-copilot.local.hello-complete", + "environment": "local", + "startedAt": "2026-09-28T19:41:44.170Z", + "finishedAt": "2026-09-28T19:42:22.606Z", + "durationMs": 38436, + "attempt": 1, + "automaticRetries": 0, + "promptRequestsSent": 1, + "upstreamModelRequestCount": null, + "activeTurnDeadlineSeconds": 120, + "outerDeadlineSeconds": 600, + "reservationUsd": 2, + "behaviorStatus": "passed", + "matchers": [ + { + "kind": "message_exact", + "passed": true + }, + { + "kind": "message_occurrences", + "passed": true + }, + { + "kind": "issue_status", + "passed": true + }, + { + "kind": "run_status", + "passed": true + }, + { + "kind": "runtime_mode", + "passed": true + }, + { + "kind": "environment", + "passed": true + } + ], + "cleanup": "passed", + "visualReview": "Exact single completion marker visible; task Done; Copilot agent attribution and tool activity visible.", + "originalResultSha256": "sha256:92c8aff3960e443be0c009c891d49d285476c3d6b67999fe97bb323076c4dc8b", + "finalScreenshotSha256": "sha256:d5715c79b9c00ee1a87872999ab24f38e7d642c10e52f31ba183d3af2cdc74b9", + "sourceProvenanceNote": "Original Product result source.sha is null; exact committed source is retained in the independent private launcher manifest.", + "tokens": { + "inputTokens": 31332, + "cachedInputTokens": 15451, + "outputTokens": 337 + }, + "accounting": { + "providerReportedCostUsd": null, + "costCoverage": "unknown", + "originalResultUnchanged": true, + "originalErroneousFields": { + "usage.biller": "openai", + "usage.provider": "openai", + "usage.costUsd": 0, + "usage.costStatus": "reported", + "billing.complete": true + }, + "defect": "The shared server path classified the model family as its biller and converted absent cost to a reported zero. Behavior passes do not qualify accounting. Shared fix and verification are required." + }, + "externalBilling": { + "source": "parent verified GitHub billing dashboard after Product hello", + "displayedIncludedAiCreditsUsed": 1, + "displayedIncludedAiCreditsTotal": 1500, + "baselineDisplayedIncludedAiCreditsUsed": 0, + "combinedDisplayedCreditDelta": 1, + "exactPerRunCreditDelta": null, + "additionalUsageEnabled": false, + "additionalCashBudgetUsd": 0, + "additionalCashChargesUsd": 0, + "note": "Combined attribution covers the successful canonical protocol and Product hello turns; per-run and finer-grained credit usage remain unknown." + }, + "pendingQualification": [ + "Product local remaining semantic/edit/interactive cases", + "Product Daytona cases", + "restrictive permission denial before side effects", + "native background command settlement", + "warm continuation and restart recovery", + "post-fix accounting provenance and exact per-run credit reconciliation" + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-product-merged-live-proof-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-product-merged-live-proof-2026-09-28.json new file mode 100644 index 00000000000..3a28eeab5db --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-product-merged-live-proof-2026-09-28.json @@ -0,0 +1,149 @@ +{ + "schema": "paperclip.copilot-product-merged-live-proof/v1", + "providerVersion": "1.0.88", + "model": "gpt-5.6-luna", + "modelProvider": "github", + "qualificationStatus": "pending", + "environment": "local", + "activeTurnDeadlineSeconds": 120, + "outerDeadlineSeconds": 300, + "providerPackSourceRevision": "ee9536001fbe733b2386dd3379730a4e0be59488", + "providerPackDigest": "sha256:809ea6bef2fc1122ef214840d119f37854598007ff7449189027294b0802a681", + "productionLockSha256": "9c163adf40fe1c6a65abda6207bd9f5acfc8196bc94f81348b8bf1b2769e050e", + "runnerdBuildSourceRevision": "527ac0e31f45a613cba1f65c25b01547f176736d", + "runnerdRustTree": "8a7155529bf3d4c26947fdc4642badd6fbe96232", + "runnerdSha256": "sha256:dadafb10a6a02f2046798ae4104edc481d205e65724e0526a7f34ba50eb746d0", + "executionMode": "source-mode Product E2E with build-owned verified native assets; complete compiled pack retained separately", + "cases": [ + { + "caseId": "file-edit-validate", + "status": "passed", + "failureClass": null, + "durationMs": 59696, + "cleanup": "passed", + "startedAt": "2026-09-28T20:03:36.094Z", + "finishedAt": "2026-09-28T20:04:35.790Z", + "sourceRevision": "ee9536001fbe733b2386dd3379730a4e0be59488", + "attempt": 1, + "automaticRetries": 0, + "originalResultSha256": "sha256:33c29e5fa267c346bec408b22fa3bc84f9fe2069da25d3ba376683f7ca39d796", + "originalApiSnapshotSha256": "sha256:d91977a5578f4cff83b4204f315ed9d408f4dd5c4783a920c0dc04261e197afc", + "behaviorMatchersPassed": 7, + "behaviorMatchersTotal": 7, + "providerTurns": 1, + "providerReportedCostUsd": null, + "biller": "github", + "costStatus": "unpriced", + "costUsdFieldPresent": false, + "billingComplete": false, + "tokens": { + "inputTokens": 108583, + "cachedInputTokens": 91553, + "outputTokens": 2131 + }, + "validation": { + "fileBytes": 24, + "fileSha256": "sha256:df22c73c1e878f5b497e64921edac53ea77c4f81c64ba347ca436f8550e30183", + "shellComparisonExitCodeInNativeOutput": 0, + "normalizedTypedExitCode": null, + "note": "The native shell output proves the cmp validation completed with exit code0; typed exitCode remains absent, a meaningful field gap." + }, + "visualReview": "Downloadable file artifact, task Done, exact marker and Copilot activity are visible.", + "finalScreenshotSha256": "sha256:d3b0130c973860cb31ee2abbd3d33502218453d02a704c4b5eb8a086e81fa561", + "displayedIncludedCreditBaseline": 1, + "displayedIncludedCreditsAfter": 2 + }, + { + "caseId": "question-resume-complete", + "status": "failed", + "failureClass": "candidate_failure", + "durationMs": 102939, + "cleanup": "passed", + "startedAt": "2026-09-28T20:06:25.416Z", + "finishedAt": "2026-09-28T20:08:08.355Z", + "sourceRevision": "ee9536001fbe733b2386dd3379730a4e0be59488", + "attempt": 1, + "automaticRetries": 0, + "originalResultSha256": "sha256:0f88be06103195bd45f1d10a9e2a7fef270b77be8cafa1cbc352527c6aac7dcd", + "originalApiSnapshotSha256": "sha256:eb35620b00f1c5bdff3274520255cdfcda231a97a9531dd1da671263e09a2e60", + "behaviorMatchersPassed": 4, + "behaviorMatchersTotal": 6, + "providerTurns": 2, + "failureReason": "Provider emitted the literal placeholder [terminal marker] instead of the required exact terminal marker.", + "observedFinalText": "[terminal marker]", + "questionDelivered": true, + "answerOptionId": "cobalt", + "sameProviderSessionReused": true, + "continuation": { + "biller": "github", + "costStatus": "unpriced", + "costUsdFieldPresent": false, + "providerReportedCostUsd": null, + "tokens": { + "inputTokens": 47652, + "cachedInputTokens": 42912, + "outputTokens": 293 + } + }, + "pausedRunAccountingDefect": { + "biller": "github", + "costStatus": "reported", + "costUsdFieldPresent": false, + "allNormalizedTokenCountersZero": true, + "fixedSeparatelyBySource": "c276496e48e34be870a78fddb35bcf4f9b4e85f3" + }, + "originalEvidenceUnchanged": true, + "originalLogEvidence": [ + "run.result.proposed.summary", + "item.completed.text", + "run.result.accepted.result.summary" + ], + "visualReview": "Question options Cobalt/Amber visible; Cobalt answer and same-session continuation visible; final placeholder visible while task is Done.", + "questionScreenshotSha256": "sha256:73f119b3a6a5a51206b7157415084444b00248b02a3598ebb5e6f6a685270d97", + "finalScreenshotSha256": "sha256:9a6fc52c0b71003a0291a4a77796cf15b1e2c97060fe94d1a93876d3a0d98e29", + "displayedIncludedCreditBaseline": 2, + "displayedIncludedCreditsAfter": 3 + }, + { + "caseId": "plan-approve-complete", + "status": "failed", + "failureClass": "transient_infrastructure", + "durationMs": 9531, + "cleanup": "not_started", + "startedAt": "2026-09-28T20:13:18.966Z", + "finishedAt": "2026-09-28T20:13:28.497Z", + "sourceRevision": "c276496e48e34be870a78fddb35bcf4f9b4e85f3", + "attempt": 1, + "automaticRetries": 0, + "originalResultSha256": "sha256:e43690769d695e0a66dab205c17bb55054cf719191b4efe0ca51f07cc42884f8", + "providerTurns": 0, + "providerReportedCostUsd": null, + "failureReason": "Embedded PostgreSQL bootstrap exited1 before provider startup; concurrent host diagnostics confirmed macOS semaphore exhaustion.", + "qualificationEvidence": false, + "modelSpendUsd": 0 + } + ], + "restartCase": { + "status": "not_executed", + "reason": "Paused before launch because host semaphore capacity was exhausted." + }, + "externalBilling": { + "source": "parent verified GitHub billing dashboard after each executed case", + "displayedIncludedAiCreditsBefore": 1, + "displayedIncludedAiCreditsAfter": 3, + "displayedIncludedAiCreditsTotal": 1500, + "exactCreditConsumption": null, + "additionalUsageEnabled": false, + "additionalCashBudgetUsd": 0, + "additionalCashChargesUsd": 0, + "providerReportedCostUsd": null + }, + "remainingQualification": [ + "Exact question terminal behavior failed; no retry or grader weakening.", + "Plan behavior unverified after pre-provider infrastructure failure.", + "Controller restart case unexecuted.", + "Product Daytona cases.", + "Restrictive permissions and background settlement with actual GitHub inference.", + "Full isolation/governance matrix." + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-product-plan-live-proof-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-product-plan-live-proof-2026-09-28.json new file mode 100644 index 00000000000..2bcb933e638 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-product-plan-live-proof-2026-09-28.json @@ -0,0 +1,103 @@ +{ + "schema": "paperclip.copilot-product-plan-live-proof/v1", + "qualificationStatus": "pending", + "sourceRevision": "c06fc5fccc88f5816450434493451b9d2d339125", + "providerPackSourceRevision": "8aa867b64d5fc2fd62cff110bd000addf5dc54de", + "providerPackDigest": "sha256:627992ea80e8be7154d07cbc9925b781519199e25690b02d4a044f44342e6bd8", + "runnerdBuildSourceRevision": "78360fa55adff11da9f200b228467eca782b81e1", + "runnerdSha256": "sha256:e6a9fb5170b76a49b8411834b3706e8edf8f1a1ae85ad13b55368158aa7f67a0", + "providerVersion": "1.0.88", + "model": "gpt-5.6-luna", + "environment": "local", + "caseId": "extended-harnesses.runner-acpx-copilot.local.plan-approve-complete", + "status": "passed", + "durationMs": 45625, + "activeTurnDeadlineSeconds": 120, + "outerDeadlineSeconds": 300, + "reservationUsd": 2, + "providerTurns": 2, + "automaticRetries": 0, + "priorAttempt": "Original pre-provider PostgreSQL bootstrap failure retained separately; this is one newly authorized manual attempt.", + "matcherResults": [ + { + "kind": "message_exact", + "passed": true + }, + { + "kind": "message_occurrences", + "passed": true + }, + { + "kind": "issue_status", + "passed": true + }, + { + "kind": "run_status", + "passed": true + }, + { + "kind": "runtime_mode", + "passed": true + }, + { + "kind": "environment", + "passed": true + } + ], + "planApproval": { + "displayedRevisionNumber": 1, + "targetMatchesDisplayedRevision": true, + "status": "accepted", + "surface": "Paperclip semantic Plan document and request_confirmation card", + "nativeCopilotPlanCallback": false + }, + "continuation": { + "freshSession": true, + "sessionReused": false, + "reason": "Adapter config changed and forceFreshSession was requested; do not treat as warm-session evidence." + }, + "usage": [ + { + "biller": "github", + "costStatus": "unpriced", + "costUsdFieldPresent": false, + "inputTokens": 0, + "cachedInputTokens": 0, + "outputTokens": 0 + }, + { + "biller": "github", + "costStatus": "unpriced", + "costUsdFieldPresent": false, + "inputTokens": 49444, + "cachedInputTokens": 32654, + "outputTokens": 742 + } + ], + "providerReportedCostUsd": null, + "billingComplete": false, + "cleanup": "passed", + "retainedFixtureProcessesAfterCleanup": 0, + "visualReview": "Full Plan revision1, confirmation card, approved-plan message and exact terminal marker verified in browser screenshots.", + "originalResultSha256": "sha256:b6508a88e9f100e6d654a52cc755d691b0fcdfa49718cbddf7e57a1eb3edadb6", + "originalApiSnapshotSha256": "sha256:bf7f0f293f062dc7ec7c00daf64322b9ea785912d49513d63e1a7d81cfb5a75d", + "planScreenshotSha256": "sha256:3f5dd877e82b62f1e59836a4ad3b699ab9c567acf1b896a6499047aa31669c77", + "finalScreenshotSha256": "sha256:32940594fce3ba7c3f11c0d41f03c2f43595fa3e03f5ffb2e72f7e36ee4e690e", + "externalBilling": { + "baselineDisplayedIncludedAiCreditsUsed": 3, + "displayedIncludedAiCreditsTotal": 1500, + "postCaseReconciliation": "parent refreshed GitHub billing dashboard", + "exactCreditConsumption": null, + "additionalUsageEnabled": false, + "additionalCashBudgetUsd": 0, + "postCaseDisplayedIncludedAiCreditsUsed": 5, + "aggregateDisplayedCreditDelta": 2, + "aggregateCoverage": [ + "denied-write probe", + "detached-shell probe", + "two-turn Product plan" + ], + "additionalCashChargesUsd": 0, + "note": "The display was3 before these probes and the plan; delayed aggregate+2 cannot be allocated exactly among these calls." + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-product-restart-live-proof-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-product-restart-live-proof-2026-09-28.json new file mode 100644 index 00000000000..57f1b64adea --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-product-restart-live-proof-2026-09-28.json @@ -0,0 +1,119 @@ +{ + "schema": "paperclip.copilot-product-restart-live-proof/v1", + "qualificationStatus": "pending", + "sourceRevision": "19ca0f558d3aebddedc6ff14836ff3e71498e68e", + "providerPackSourceRevision": "8aa867b64d5fc2fd62cff110bd000addf5dc54de", + "providerPackDigest": "sha256:627992ea80e8be7154d07cbc9925b781519199e25690b02d4a044f44342e6bd8", + "runnerdBuildSourceRevision": "78360fa55adff11da9f200b228467eca782b81e1", + "runnerdSha256": "sha256:e6a9fb5170b76a49b8411834b3706e8edf8f1a1ae85ad13b55368158aa7f67a0", + "providerVersion": "1.0.88", + "model": "gpt-5.6-luna", + "environment": "local", + "caseId": "extended-harnesses.runner-acpx-copilot.local.structured-question-restart-resume", + "status": "passed", + "durationMs": 50875, + "activeTurnDeadlineSeconds": 120, + "outerDeadlineSeconds": 300, + "reservationUsd": 2, + "providerTurns": 2, + "automaticRetries": 0, + "matcherResults": [ + { + "kind": "message_exact", + "passed": true + }, + { + "kind": "message_occurrences", + "passed": true + }, + { + "kind": "issue_status", + "passed": true + }, + { + "kind": "run_status", + "passed": true + }, + { + "kind": "runtime_mode", + "passed": true + }, + { + "kind": "environment", + "passed": true + } + ], + "question": { + "surface": "Paperclip semantic structured question", + "nativeCopilotAskUserCallback": false, + "optionIds": [ + "cobalt", + "amber" + ], + "answerOptionIds": [ + "cobalt" + ], + "status": "answered", + "serverRestartedBeforeAnswer": true, + "sameInteractionPreserved": true + }, + "continuation": { + "samePersistedProviderSession": true, + "freshSession": false, + "sessionReused": true, + "taskSessionReused": true, + "providerDeathRecoveryVerified": false + }, + "usage": [ + { + "biller": "github", + "costStatus": "unpriced", + "costUsdFieldPresent": false, + "inputTokens": 0, + "cachedInputTokens": 0, + "outputTokens": 0 + }, + { + "biller": "github", + "costStatus": "unpriced", + "costUsdFieldPresent": false, + "inputTokens": 49436, + "cachedInputTokens": 44075, + "outputTokens": 418 + } + ], + "providerReportedCostUsd": null, + "billingComplete": false, + "cleanup": "passed", + "retainedFixtureProcessesAfterCleanup": 0, + "visualReview": "The same pending Cobalt/Amber question remains visible after controller restart; board answer Cobalt and the exact final marker appear once with task Done.", + "scope": "Controller restart with preserved provider session, not provider-death reconstruction. This separate case does not erase the earlier question-resume-complete exact-marker failure.", + "externalBilling": { + "baselineDisplayedIncludedAiCreditsUsed": 5, + "displayedIncludedAiCreditsTotal": 1500, + "postCaseDisplayedIncludedAiCreditsUsed": 5, + "exactCreditConsumption": null, + "additionalUsageEnabled": false, + "additionalCashBudgetUsd": 0, + "postCaseReconciliation": "parent refreshed GitHub billing dashboard", + "displayedCreditDelta": 0, + "additionalCashChargesUsd": 0, + "note": "The unchanged display cannot establish zero included-credit consumption because of billing delay and precision. Provider USD remains unknown." + }, + "originalResultSha256": "sha256:b5e4df160fa06f38c8b5a3352434d56f082b14415ded018c8bf98a50a8a9e471", + "originalApiSnapshotSha256": "sha256:b1bce4e79886c42a24181f69ca665024a6931f521cafce6786417f78e0573e8a", + "screenshots": [ + { + "id": "question-pending", + "sha256": "sha256:5373069675865fb6fd3f4ba25bc1b095427d5ae5d22b5f0fdcee87744b0d17e2" + }, + { + "id": "question-pending-after-server-restart", + "sha256": "sha256:f66116764bed2e78d7d0e0fcb41c5f7be8b422876323710ae12e78f2a13a28e5" + }, + { + "id": "final-state", + "sha256": "sha256:7d33eb7320ccc98d5d96d435982932f0b9238cdba497fd2f35cb41674d3d4db7" + } + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-product-v3-question-2026-09-29.json b/packages/paperclip-runner/test/fixtures/copilot-product-v3-question-2026-09-29.json new file mode 100644 index 00000000000..7687a9510b2 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-product-v3-question-2026-09-29.json @@ -0,0 +1,78 @@ +{ + "schema": "paperclip.copilot-product-v3-question.v1", + "centralReservationId": "copilot-v3-local-question-20260929-01", + "attempt": "copilot-final-question-20260929t151802z", + "model": "gpt-5.6-luna", + "providerVersion": "1.0.88", + "profileVersion": 3, + "build": { + "sourceRevision": "3d0c45920c326821c2f5ff48dc985ef8158b46e4", + "sourceRoot": "/private/tmp/paperclip-copilot-frozen-3d0c45920/source", + "sourceArchiveSha256": "7f802e5fed2b5dede8b6bfc23affafb7f2c542e98dc09b5e3d111ede0d2e33c7", + "originalLockSha256": "e0c928a494f90ddad3c00791e83f09315ee8c82df2a0418a809dcf93649a8ab3", + "resolvedLockSha256": "60ae61439844519b104cdf014f0f7b7972804cd1c04a10a8a8777cc8da7dc2f2", + "actualControllerPackageRoot": "/private/tmp/paperclip-copilot-frozen-3d0c45920/source/packages/paperclip-runner", + "providerPackDigest": "sha256:977d464241d8a8f36bc879fd1cdddf1e675f72fd6f1f2d3fe2f8e273fafc160e", + "nodeBinary": "/private/tmp/paperclip-pi-v5-node-20260928/darwin-arm64/node", + "nodeSha256": "e4b5a3af0e05c75de2eae013904145f40fe7fc2a6e6f17510128bf45cca4e79b", + "runnerBinary": "/private/tmp/paperclip-copilot-frozen-3d0c45920/paperclip-runnerd", + "runnerSha256": "2b51c48198c3724255756241cddc1b5efea87dab1c49a6ef7eb897513c7c043b", + "sidecarSha256": "7cfee6ca612b3d7bcc266fdd36f2e77d7bb027169c56e0c9c36b9676232f33a4", + "acpxPatchSha256": "a64405199b381688ffd72fdbb88396e423394cb407813d7b6f1db43bae9c3933", + "frozenBuildRecordSha256": "0a756acca0cc44534465757c4dd01b7039fbe9320a613c7df0e373f96bad7644" + }, + "status": "failed", + "failureClass": "candidate_failure", + "failureStage": "native session recovery after answered question", + "diagnosis": "Product retained an unclassified session.open rejection. Credential-free exact-native recovery reproduces ENOENT when the persisted descriptor references the collected prior-run instruction directory, and succeeds with the current registered directory. This is the supported cause, not directly retained Product wire evidence. No paid retry performed.", + "durationMs": 72086, + "outerDeadlineSeconds": 300, + "activeProviderDeadlineSeconds": 120, + "automaticRetries": 0, + "cleanup": "passed", + "runs": [ + { + "status": "failed", + "providerUsage": null, + "errorCode": "native_session_interrupted" + }, + { + "status": "succeeded", + "providerUsage": { + "provider": "github", + "model": "gpt-5.6-luna", + "costStatus": "unpriced", + "inputTokens": 28545, + "outputTokens": 525, + "cachedInputTokens": 13818, + "sessionReused": false + }, + "errorCode": null + } + ], + "interactionStatuses": [ + { + "kind": "ask_user_questions", + "status": "answered" + } + ], + "providerCostUsd": null, + "upstreamModelRequestCount": null, + "githubReconciliation": { + "baselineIncludedCredits": 5, + "afterIncludedCredits": 6, + "accountCreditDelta": 1, + "includedCreditTotal": 1500, + "additionalUsageEnabled": false, + "additionalCashBudgetUsd": 0, + "accountCashChargesUsd": 0, + "snapshotSource": "Lead observed refreshed GitHub billing UI after attempt, approximately 2026-09-29 15:24 UTC", + "recordedAt": "2026-09-29T15:26:24.763193+00:00", + "perRunUsdAllocation": null + }, + "evidence": { + "result.json": "e67192baff115744fdb122f275e3e1f9d0405898327d984986ed774545ebfef4", + "snapshots/api-state.json": "044f6d79d1c99a4fb4da89e80b82f6ac2de0c7f536148a5f6d701b149f76d6a3", + "evidence-manifest.json": "6da9b164991c6c4b0005f9e1ad94c790018254c5c78be6049111c0a4ff7d695d" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v10-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v10-identity.json new file mode 100644 index 00000000000..a4fb2572016 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v10-identity.json @@ -0,0 +1,33 @@ +{ + "commandDigest": "sha256:c6741d7e49cd1af4ecad9e07181ef96305bde48b56dce2958547f2f066666231", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 10, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "bd5393058a218040d217fa85449d59a6f30507de54cd645bf0ef21422823f85e", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "49421a779c76e286ce65d75052026eab9630b1995af9ccf045a2d43d284633ce", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "687270d7bbe3dccce6c2fed8664e76cda724b43e545cb153b9f54b018de52927", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "permissionIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v1", + "semanticReceiptSourceSha256": "3d3d0fe5ce0e4dbfc78cf95b1bfcff4d4b3760c548e74c6c12db5bcacdd46ae2", + "semanticBridgeSourceSha256": "ab8f872344b2beb50e3f9970e0631c451a5493e66d259582ecc9a214624269b5", + "toolEvidenceSourceSha256": "f0a93aab9940051972028d6f2610b4018a5a0d6b2326b7c61b767b38442629ca" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v11-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v11-identity.json new file mode 100644 index 00000000000..12ddfd88caa --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v11-identity.json @@ -0,0 +1,42 @@ +{ + "commandDigest": "sha256:d56589c43437277b527ed61155de7d882e3ae5316d67502d8b98a0d435f69f99", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 11, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "bd5393058a218040d217fa85449d59a6f30507de54cd645bf0ef21422823f85e", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "49421a779c76e286ce65d75052026eab9630b1995af9ccf045a2d43d284633ce", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "687270d7bbe3dccce6c2fed8664e76cda724b43e545cb153b9f54b018de52927", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "permissionIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "8a43ebafb7a85dd1714ed6945670472666dcb63e8af32b4a74644163fa0e370d", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "a261497560840da66613a5f4a3dafeba05e53d3a8647c180c9604b3cf983dc23", + "semanticDirectDriverSourceSha256": "31e36917ee3592fa6d8f4b86632129fdffae20c45aed2e0e367ccf523e064f88", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "00a684f9aea87f68eabf0974681c52461bc308631a1252a89c4ed087d7158b28", + "semanticValidatorsSourceSha256": "950b49b233d8dd62ff858398becfc55f0a181160cb8a434d9221b5c17816867c", + "semanticSchemaBundleSourceSha256": "bb55e18c5563bf5ec226e301c3399229304f295e986865e96554f193535368f2", + "semanticSidecarProtocolSourceSha256": "165cad76f224d60f0dc7928736d47a16787eaa8ab9e4c2222488da5fc8ad632e" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v14-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v14-identity.json new file mode 100644 index 00000000000..1b6e4d930cd --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v14-identity.json @@ -0,0 +1,53 @@ +{ + "commandDigest": "sha256:9e11997fe602749000ebef97a9933c976afe1783be884871488c1e0d3e7d7b34", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 14, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "5cf0ad62e06071f59eb27cedd7aa5d5852826ab1dfb96dbda846adc1535a9eee", + "semanticDirectDriverSourceSha256": "0cb9b66ad41e643c9e018eeb6d6468eb306d0b1ad7d2776ffa9dd11d2b28abca", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "b74133bd72f92d6bd0652c1772a45227f6a549232554528fef2761b17b8f02e7", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "7dc408a9c5114e7eb28f46fbab5d4cac23789095ab2e37725a3e15518f88232a", + "runtimeSandboxSourceSha256": "d78b859d170b931b8fc310577e6d1d01a1c20f168ad48c5de84bca2ea325aad9", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "f5e825c368ebd739afa51711bfbbc72ac4d19a9d23bcafd9738ff0e337f55eaf" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v15-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v15-identity.json new file mode 100644 index 00000000000..a7dd74fc911 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v15-identity.json @@ -0,0 +1,53 @@ +{ + "commandDigest": "sha256:3ad622b836afef0849a53ed4d9ae7b00dfd91d290bb8b62ce6390357f26c0456", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 15, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "5cf0ad62e06071f59eb27cedd7aa5d5852826ab1dfb96dbda846adc1535a9eee", + "semanticDirectDriverSourceSha256": "0cb9b66ad41e643c9e018eeb6d6468eb306d0b1ad7d2776ffa9dd11d2b28abca", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "7dc408a9c5114e7eb28f46fbab5d4cac23789095ab2e37725a3e15518f88232a", + "runtimeSandboxSourceSha256": "e56b7afda01cd4d3b16559c3a76939a967ab2993aa73848588bc6ab3aa223c4b", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "f5e825c368ebd739afa51711bfbbc72ac4d19a9d23bcafd9738ff0e337f55eaf" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v16-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v16-identity.json new file mode 100644 index 00000000000..5e4d1f54376 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v16-identity.json @@ -0,0 +1,53 @@ +{ + "commandDigest": "sha256:2d826980ee935f9f32108ef3528657a9b0b658dfe9a8ff5bfd499f17aa908fb6", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 16, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "f65b3d667c7d2657384284aba14557e8ea736fef2ae458bacc98d64f280232dd", + "semanticDirectDriverSourceSha256": "5012d883c2dd192fff20308a87e0b4001fa4b258a774cec4751728bfe781185d", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "5a056b64e0c187bd74aa7d04265a9b1db20e2f0d9d93880e0d628b4d25a55fc7", + "runtimeSandboxSourceSha256": "e56b7afda01cd4d3b16559c3a76939a967ab2993aa73848588bc6ab3aa223c4b", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "f5e825c368ebd739afa51711bfbbc72ac4d19a9d23bcafd9738ff0e337f55eaf" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v17-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v17-identity.json new file mode 100644 index 00000000000..a47b3b1241e --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v17-identity.json @@ -0,0 +1,54 @@ +{ + "commandDigest": "sha256:bb7c8cdd1ee01065015b0c88e32fac953d5fbe2b2bb224781df57ca87c820a47", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 17, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "f65b3d667c7d2657384284aba14557e8ea736fef2ae458bacc98d64f280232dd", + "semanticDirectDriverSourceSha256": "5012d883c2dd192fff20308a87e0b4001fa4b258a774cec4751728bfe781185d", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "nativeExecutionSourceSha256": "98aad5290e0ffef0628e5f6ef2e5e9589efc55b7fe29c5009681001f123c54f0", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "5a056b64e0c187bd74aa7d04265a9b1db20e2f0d9d93880e0d628b4d25a55fc7", + "runtimeSandboxSourceSha256": "e56b7afda01cd4d3b16559c3a76939a967ab2993aa73848588bc6ab3aa223c4b", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "f5e825c368ebd739afa51711bfbbc72ac4d19a9d23bcafd9738ff0e337f55eaf" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v18-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v18-identity.json new file mode 100644 index 00000000000..19ce46572f5 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v18-identity.json @@ -0,0 +1,55 @@ +{ + "commandDigest": "sha256:8fb78eb902e7b162045d887b21c4738a4cd18326015c523c762601fd45f9c8e7", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 18, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "f65b3d667c7d2657384284aba14557e8ea736fef2ae458bacc98d64f280232dd", + "semanticDirectDriverSourceSha256": "5012d883c2dd192fff20308a87e0b4001fa4b258a774cec4751728bfe781185d", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "guardedInstallationSourceSha256": "be0271e809639a4e6e0ecb21f3f04e6d7f17b2374682930a8b85798c1eb70e71", + "nativeExecutionSourceSha256": "f34b5e28109ed183d922fdd9d6c15acc4a1e57dcda118ca9a114c8905dd0a3d0", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "5a056b64e0c187bd74aa7d04265a9b1db20e2f0d9d93880e0d628b4d25a55fc7", + "runtimeSandboxSourceSha256": "e56b7afda01cd4d3b16559c3a76939a967ab2993aa73848588bc6ab3aa223c4b", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v19-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v19-identity.json new file mode 100644 index 00000000000..ba9aa9672d1 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v19-identity.json @@ -0,0 +1,58 @@ +{ + "commandDigest": "sha256:c2825f706f839071ce5aa9ddc2a058d785a55644964ff9c2ba878ac9ccc66fef", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 19, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "f65b3d667c7d2657384284aba14557e8ea736fef2ae458bacc98d64f280232dd", + "semanticDirectDriverSourceSha256": "5012d883c2dd192fff20308a87e0b4001fa4b258a774cec4751728bfe781185d", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "runtimeRequestBridgeSourceSha256": "646c01cc073e62f577ecebb6554d785b08edb3fd6e2fcb4db402e17974edd25b", + "runtimeRequestFacadeSourceSha256": "773b860fb7a1444bc769569fbc8a3b67bd08d7ade3e7a843358e4c707f182b72", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "be0271e809639a4e6e0ecb21f3f04e6d7f17b2374682930a8b85798c1eb70e71", + "nativeExecutionSourceSha256": "f290d8307f57803aac861a1ba6f847774d38c89e62f32293d69effd289d5c0c4", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "5a056b64e0c187bd74aa7d04265a9b1db20e2f0d9d93880e0d628b4d25a55fc7", + "runtimeSandboxSourceSha256": "e56b7afda01cd4d3b16559c3a76939a967ab2993aa73848588bc6ab3aa223c4b", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v20-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v20-identity.json new file mode 100644 index 00000000000..5406d93c5dc --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v20-identity.json @@ -0,0 +1,68 @@ +{ + "commandDigest": "sha256:6ab53285d7cb0eaf79fafec9e0bf0f1a42044761b4b0cf129e0159c8c2fad539", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 20, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "f65b3d667c7d2657384284aba14557e8ea736fef2ae458bacc98d64f280232dd", + "semanticDirectDriverSourceSha256": "5012d883c2dd192fff20308a87e0b4001fa4b258a774cec4751728bfe781185d", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "nativeSessionRuntimeSourceSha256": "882ca4304ff32077e0e16eb7366512d10f9c08d75d3f1204e6a7f6c60dbea03e", + "nativeRuntimeContextSourceSha256": "b61065b993d79a8cb6525fe6b398049150d8c9c19dac18dd1d0ce57ae38e1f99", + "nativeSessionContractSourceSha256": "0262d1bc0b43894473bde2f05064455ebf73fbb1cd1c0cfa5f42e19596ef80fb", + "harnessSessionContractSourceSha256": "ffc9e67b4e864ab310f22d94edc4e0898222a4e576ffc6baa422d505909a6868", + "harnessBackendSourceSha256": "31a1da9cb93fcf9eef65162217ef0e35199557b06d8d232b1265a2af3f3072d7", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "d0e7fd07ae41623ec19160b1e1c6895b1ebc3de53bb6aafc79efae6c1e32bcdb", + "nativeBackendSourceSha256": "b408aed94ed9125c62ca8cae030f79add2dc511f3c109063710eb978e7e4c65e", + "nativeBackendFactorySourceSha256": "4c8435dc9930b9823268625387e29e1a92d95696e9ebeb4a7127ec467909b283", + "nativeInstructionsSourceSha256": "e7c46e81cc9c93f9a4f805b5091ef08c59ea70c62f208cfda70d6edeed363898", + "runtimeRequestBridgeSourceSha256": "0d371a09048a592495ae5a0531ad9e9d619e26018318897fabb5b45a10c05837", + "runtimeRequestFacadeSourceSha256": "773b860fb7a1444bc769569fbc8a3b67bd08d7ade3e7a843358e4c707f182b72", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "be0271e809639a4e6e0ecb21f3f04e6d7f17b2374682930a8b85798c1eb70e71", + "nativeExecutionSourceSha256": "c55bdafb9a5ed97c09117c168ecd0e496ea8ae8b6e84200d90c375a143892fdc", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "5a056b64e0c187bd74aa7d04265a9b1db20e2f0d9d93880e0d628b4d25a55fc7", + "runtimeSandboxSourceSha256": "e56b7afda01cd4d3b16559c3a76939a967ab2993aa73848588bc6ab3aa223c4b", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v21-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v21-identity.json new file mode 100644 index 00000000000..72e3254d6ea --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v21-identity.json @@ -0,0 +1,70 @@ +{ + "commandDigest": "sha256:3bd433d9835ab6998ee712da41cad724006bb85d444f0cf96550708565605b7d", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 21, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "55a912125cd9cb71c80aafb7dc013aabf88002b7a8c95b3c74c3201ebc8ef527", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "6f872180254a747262c3b4a084012704676d7d0b9d9ceb9837709a0bd9c75f70", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "f65b3d667c7d2657384284aba14557e8ea736fef2ae458bacc98d64f280232dd", + "semanticDirectDriverSourceSha256": "5012d883c2dd192fff20308a87e0b4001fa4b258a774cec4751728bfe781185d", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "b1ce59251bf9c671f66e0e5173646190b9a2d1bfc5bdb7fb123824213986b92b", + "semanticCompletionContractSourceSha256": "bd4bb79d2be5c4ee3765df67dfb4da98ef95bc532cac872be40cb41a6bff6cda", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "66f717653936a80ef3897348adead666c842b6e56278521f4f2541d0a430b51b", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "nativeSessionRuntimeSourceSha256": "882ca4304ff32077e0e16eb7366512d10f9c08d75d3f1204e6a7f6c60dbea03e", + "nativeRuntimeContextSourceSha256": "b61065b993d79a8cb6525fe6b398049150d8c9c19dac18dd1d0ce57ae38e1f99", + "nativeSessionContractSourceSha256": "0262d1bc0b43894473bde2f05064455ebf73fbb1cd1c0cfa5f42e19596ef80fb", + "harnessSessionContractSourceSha256": "ffc9e67b4e864ab310f22d94edc4e0898222a4e576ffc6baa422d505909a6868", + "harnessBackendSourceSha256": "31a1da9cb93fcf9eef65162217ef0e35199557b06d8d232b1265a2af3f3072d7", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "d0e7fd07ae41623ec19160b1e1c6895b1ebc3de53bb6aafc79efae6c1e32bcdb", + "nativeBackendSourceSha256": "cf953a154f89e19597504e9426a390ca16c85b41630d5df3f0f28c145a0eafcf", + "nativeBackendFactorySourceSha256": "ae91eaa54e2fb4bc58c445e41d6453ecc73864d07f1240dff5936af9987bcaef", + "nativeInstructionsSourceSha256": "bbdab79c5b1bd57c4ddbc44edfe745b40eb694aa28a465452964109aedd6104b", + "runtimeRequestBridgeSourceSha256": "0d371a09048a592495ae5a0531ad9e9d619e26018318897fabb5b45a10c05837", + "runtimeRequestFacadeSourceSha256": "773b860fb7a1444bc769569fbc8a3b67bd08d7ade3e7a843358e4c707f182b72", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "be0271e809639a4e6e0ecb21f3f04e6d7f17b2374682930a8b85798c1eb70e71", + "nativeExecutionSourceSha256": "60dd195863bc31b29e7da51be4b90bf84390d3c9da27efe71cd43b45db68d610", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "assetOwnershipSourceSha256": "3c03535df58d6f8d746ce3513a7e1c195f0145e622448ebb10f7d19b6a603aca", + "assetInstallerSourceSha256": "d3bd9514e5920d0cc3567aa50487fb534c57a6f66b8da0d3f22c5f6e499c841f", + "credentialBindingSourceSha256": "d54e5f125225921e8e69d83343c7457448ed79fb1543a50e5d8554f37d2207da", + "sidecarErrorSourceSha256": "bfc8da59815a8c31cb79d2560b04492ee93736188ac629009e69a4e0a7a1829c", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "runtimeHostSourceSha256": "7a43934ef7ff7ecd9c6f2da729c439efd636e3453022cd44ad035d0b596c4eeb", + "runtimeAdapterSourceSha256": "5a056b64e0c187bd74aa7d04265a9b1db20e2f0d9d93880e0d628b4d25a55fc7", + "runtimeSandboxSourceSha256": "e56b7afda01cd4d3b16559c3a76939a967ab2993aa73848588bc6ab3aa223c4b", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v22-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v22-identity.json new file mode 100644 index 00000000000..412c03b1344 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v22-identity.json @@ -0,0 +1,76 @@ +{ + "commandDigest": "sha256:23ab62a38a051c4ec3476fc8b268d0e9da75dae6664a263cb67d852639986958", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 22, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "fedf1e498c1e19daf9c973d475234488aa9acabbf1b9de890245bfac7a534483", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "eebcc1ec9bc8caa8d1edf0cbda74bd69f5c55cf8d65a0503e95798b9979a19dc", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "49f7cb882fa09dcf879a2234d3e7b43fe72895d2c0f1e9b72fcbe18f012423bb", + "semanticDirectDriverSourceSha256": "3cea77a03c8822d68f77f090457176a9190facbec7d88ddf8c583c0e42245f70", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "8b628b82e8eacc91cdcc6fdca2210ba4cf282f01e9c6f74e95ff271655b5047e", + "semanticCompletionContractSourceSha256": "eec0e3740173ea377e73f54da1260a9063606e0dcbc3f08ddb01942a50085f56", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "907b2cdc1a5291c6fb570855bbcc66cb196b5cf64195d5dc201148940678460a", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "profileActivitySourceSha256": "4fdb6b0f9125fd8372ba6f27945fa5c8a3d3b2ec891df544092e3dc7a75d5282", + "profileExtensionsSourceSha256": "0565d13d4064ed8c501d6ffda6d7bffca4493552de8aaa7fc12178dabb3ca435", + "profileInstallationSourceSha256": "7c26545922fc85db75a5db6bf3f6e21e381b6e189f4f51243b19ee237b93f8b1", + "attachmentPolicySourceSha256": "193d04140079d2669f53ef043bea6935bd20e1fba6693abf01a09d8c8fcb6d78", + "singleReadEvidenceSourceSha256": "4069393405089bde613cecec04f5123c426594811da4c668bd96f0e7e283550f", + "nativeSessionRuntimeSourceSha256": "a49520b53273dd5608f59f22911d1b1484a64c52e3b43614348a9428a4f3b3be", + "nativeRuntimeContextSourceSha256": "b5750e673c50730af3823de22a2d9451074cd38788b6d75cfd69b26321389ec1", + "nativeSessionContractSourceSha256": "8cdf0ea723d58057f2425ed267a92a317c065c917c6236d323c0ed846b05c3d9", + "harnessSessionContractSourceSha256": "75ae4607312ec13466dd2f4ac87f000302b7b5a952cb6d4b51573fa8b7c35d82", + "harnessBackendSourceSha256": "d529e67744a4cf8d0bb1aaa466b1df40fbab35765796da9c96c046204e194402", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "e76f9e761e1da5a02ed2f52e04669bdda25bfe34e0710bdfe9dff5a55800807b", + "nativeBackendSourceSha256": "a888e389874d2fae6e1f1d2074df0aab9abb6502f9afca9d15ff13708ee43753", + "nativeBackendFactorySourceSha256": "ae91eaa54e2fb4bc58c445e41d6453ecc73864d07f1240dff5936af9987bcaef", + "nativeInstructionsSourceSha256": "1ac0c145dfc03ceca646267b74fa7b59d963189913768c46544579709e0914b6", + "runtimeRequestBridgeSourceSha256": "e958d18f331b2f99385136f9bda842237730739a7f870ecbf60f195cfcea7019", + "runtimeRequestFacadeSourceSha256": "3d70c6025169779f7886ddf363a1c6fda4add5d14fa3cd49aea46aa1f6a9d8ec", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "5733d411ddd3fe9efca4c44f9894c866579f5a0ee5fe74f92de3698482d00fdf", + "nativeExecutionSourceSha256": "cf4ac0008807bbd1852d4cbf8a964d3a2fca0b0573e5789dd3e902a70f952e82", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "assetOwnershipSourceSha256": "43005b7e896e0546c1f44cbe4ff3f34ad6d71f275f4b9a8113f73a71e77930c4", + "assetInstallerSourceSha256": "d3bd9514e5920d0cc3567aa50487fb534c57a6f66b8da0d3f22c5f6e499c841f", + "credentialBindingSourceSha256": "124cf112f5279f698f62f9b79d8bae3a43933a6aa86174f74869edb4a63ba0b6", + "sidecarErrorSourceSha256": "23f3dbdc1ce488c690d218a854c820f4b4f3edd822bad574d67707314f8c512a", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "permissionToolIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "runtimeHostSourceSha256": "d760653024dc40e638d80f2030ee2f3af08a9138fddfd01db6932cc547f36708", + "runtimeAdapterSourceSha256": "db9667f1142e05dd23dbe6c2d82b53403428df249494eb45832590f630db7e0d", + "runtimeSandboxSourceSha256": "27f54e5af5d89d3cee06f9af549b9fb57b6f411079477a36b808146e758b79ab", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v23-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v23-identity.json new file mode 100644 index 00000000000..55aafdb3017 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v23-identity.json @@ -0,0 +1,77 @@ +{ + "commandDigest": "sha256:5eaed611f9cc611711d9df2dada864402a0a8fd01d980d36df9f0c47d2cfd0a3", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 23, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "fedf1e498c1e19daf9c973d475234488aa9acabbf1b9de890245bfac7a534483", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "eebcc1ec9bc8caa8d1edf0cbda74bd69f5c55cf8d65a0503e95798b9979a19dc", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "49f7cb882fa09dcf879a2234d3e7b43fe72895d2c0f1e9b72fcbe18f012423bb", + "semanticDirectDriverSourceSha256": "3cea77a03c8822d68f77f090457176a9190facbec7d88ddf8c583c0e42245f70", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "8b628b82e8eacc91cdcc6fdca2210ba4cf282f01e9c6f74e95ff271655b5047e", + "semanticCompletionContractSourceSha256": "eec0e3740173ea377e73f54da1260a9063606e0dcbc3f08ddb01942a50085f56", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "907b2cdc1a5291c6fb570855bbcc66cb196b5cf64195d5dc201148940678460a", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "profileActivitySourceSha256": "4fdb6b0f9125fd8372ba6f27945fa5c8a3d3b2ec891df544092e3dc7a75d5282", + "profileExtensionsSourceSha256": "0565d13d4064ed8c501d6ffda6d7bffca4493552de8aaa7fc12178dabb3ca435", + "profileInstallationSourceSha256": "7c26545922fc85db75a5db6bf3f6e21e381b6e189f4f51243b19ee237b93f8b1", + "attachmentPolicySourceSha256": "ce8027d1f8e2b7fd35df56a75ba162fd9696d1569c016b60bc9f0de1252cd958", + "singleReadEvidenceSourceSha256": "4069393405089bde613cecec04f5123c426594811da4c668bd96f0e7e283550f", + "nativeSessionRuntimeSourceSha256": "affc67a3b4fa38a1337c0779c55fdf0b32f46ea5c8dbbfe02c3359cb2ca26034", + "nativeRuntimeContextSourceSha256": "b5750e673c50730af3823de22a2d9451074cd38788b6d75cfd69b26321389ec1", + "nativeSessionContractSourceSha256": "8cdf0ea723d58057f2425ed267a92a317c065c917c6236d323c0ed846b05c3d9", + "harnessSessionContractSourceSha256": "75ae4607312ec13466dd2f4ac87f000302b7b5a952cb6d4b51573fa8b7c35d82", + "harnessBackendSourceSha256": "d529e67744a4cf8d0bb1aaa466b1df40fbab35765796da9c96c046204e194402", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "e76f9e761e1da5a02ed2f52e04669bdda25bfe34e0710bdfe9dff5a55800807b", + "nativeBackendSourceSha256": "a888e389874d2fae6e1f1d2074df0aab9abb6502f9afca9d15ff13708ee43753", + "nativeBackendFactorySourceSha256": "ae91eaa54e2fb4bc58c445e41d6453ecc73864d07f1240dff5936af9987bcaef", + "nativeInstructionsSourceSha256": "1ac0c145dfc03ceca646267b74fa7b59d963189913768c46544579709e0914b6", + "runtimeRequestBridgeSourceSha256": "8aa06dda1d672acb42604f96d32d56ea0ed407d688bae127dae6786ab2420fa5", + "runtimeRequestFacadeSourceSha256": "3d70c6025169779f7886ddf363a1c6fda4add5d14fa3cd49aea46aa1f6a9d8ec", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "5733d411ddd3fe9efca4c44f9894c866579f5a0ee5fe74f92de3698482d00fdf", + "nativeExecutionSourceSha256": "cf4ac0008807bbd1852d4cbf8a964d3a2fca0b0573e5789dd3e902a70f952e82", + "profileCompatibilitySourceSha256": "36b47dd253cb10453604268874bffc5ab95a42583bc06322d5d6b0a3a6df39dd", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "assetOwnershipSourceSha256": "43005b7e896e0546c1f44cbe4ff3f34ad6d71f275f4b9a8113f73a71e77930c4", + "assetInstallerSourceSha256": "d3bd9514e5920d0cc3567aa50487fb534c57a6f66b8da0d3f22c5f6e499c841f", + "credentialBindingSourceSha256": "124cf112f5279f698f62f9b79d8bae3a43933a6aa86174f74869edb4a63ba0b6", + "sidecarErrorSourceSha256": "23f3dbdc1ce488c690d218a854c820f4b4f3edd822bad574d67707314f8c512a", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "permissionToolIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "runtimeHostSourceSha256": "d760653024dc40e638d80f2030ee2f3af08a9138fddfd01db6932cc547f36708", + "runtimeAdapterSourceSha256": "db9667f1142e05dd23dbe6c2d82b53403428df249494eb45832590f630db7e0d", + "runtimeSandboxSourceSha256": "27f54e5af5d89d3cee06f9af549b9fb57b6f411079477a36b808146e758b79ab", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v24-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v24-identity.json new file mode 100644 index 00000000000..8ecdb67c4a5 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v24-identity.json @@ -0,0 +1,79 @@ +{ + "commandDigest": "sha256:49eda44589442769ee327e82ecb8f97569c7f8e746e741c51bbc83b536921b73", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 24, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "fedf1e498c1e19daf9c973d475234488aa9acabbf1b9de890245bfac7a534483", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "eebcc1ec9bc8caa8d1edf0cbda74bd69f5c55cf8d65a0503e95798b9979a19dc", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "49f7cb882fa09dcf879a2234d3e7b43fe72895d2c0f1e9b72fcbe18f012423bb", + "semanticDirectDriverSourceSha256": "3cea77a03c8822d68f77f090457176a9190facbec7d88ddf8c583c0e42245f70", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "8b628b82e8eacc91cdcc6fdca2210ba4cf282f01e9c6f74e95ff271655b5047e", + "semanticCompletionContractSourceSha256": "fa2b0c81cb9a62965839c905db81b930794774d8d557a01bce077dae5830b594", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "907b2cdc1a5291c6fb570855bbcc66cb196b5cf64195d5dc201148940678460a", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "configuredEnvironmentSourceSha256": "a03575b3a737dea60da94cf0fa1feed80719a9aaa7f09456eb57a845d9e8e087", + "configuredEnvironmentRustSourceSha256": "55d44e48e217385b5c64b1b7d8df16dda62319ca3fb524e452fd78c9ed804d3b", + "profileActivitySourceSha256": "4fdb6b0f9125fd8372ba6f27945fa5c8a3d3b2ec891df544092e3dc7a75d5282", + "profileExtensionsSourceSha256": "0565d13d4064ed8c501d6ffda6d7bffca4493552de8aaa7fc12178dabb3ca435", + "profileInstallationSourceSha256": "7c26545922fc85db75a5db6bf3f6e21e381b6e189f4f51243b19ee237b93f8b1", + "attachmentPolicySourceSha256": "ce8027d1f8e2b7fd35df56a75ba162fd9696d1569c016b60bc9f0de1252cd958", + "singleReadEvidenceSourceSha256": "4069393405089bde613cecec04f5123c426594811da4c668bd96f0e7e283550f", + "nativeSessionRuntimeSourceSha256": "affc67a3b4fa38a1337c0779c55fdf0b32f46ea5c8dbbfe02c3359cb2ca26034", + "nativeRuntimeContextSourceSha256": "afcadc9b78d42c598f6822c6da071abbca09024ab231f6b39a30e10e1d9bd38e", + "nativeSessionContractSourceSha256": "8cdf0ea723d58057f2425ed267a92a317c065c917c6236d323c0ed846b05c3d9", + "harnessSessionContractSourceSha256": "75ae4607312ec13466dd2f4ac87f000302b7b5a952cb6d4b51573fa8b7c35d82", + "harnessBackendSourceSha256": "d529e67744a4cf8d0bb1aaa466b1df40fbab35765796da9c96c046204e194402", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "16f358c75dd4ae80af3ca921394c5899b15942b80b553e43ddfabb41c1bf31d3", + "nativeBackendSourceSha256": "a888e389874d2fae6e1f1d2074df0aab9abb6502f9afca9d15ff13708ee43753", + "nativeBackendFactorySourceSha256": "ae91eaa54e2fb4bc58c445e41d6453ecc73864d07f1240dff5936af9987bcaef", + "nativeInstructionsSourceSha256": "1ac0c145dfc03ceca646267b74fa7b59d963189913768c46544579709e0914b6", + "runtimeRequestBridgeSourceSha256": "c449568f8abf7e90d5ae7a83b49809d9166461398f8b3046e4fe5f3367f3b052", + "runtimeRequestFacadeSourceSha256": "3d70c6025169779f7886ddf363a1c6fda4add5d14fa3cd49aea46aa1f6a9d8ec", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "5733d411ddd3fe9efca4c44f9894c866579f5a0ee5fe74f92de3698482d00fdf", + "nativeExecutionSourceSha256": "cf4ac0008807bbd1852d4cbf8a964d3a2fca0b0573e5789dd3e902a70f952e82", + "profileCompatibilitySourceSha256": "b4baf41218ff7e62f86a536845f6eaa0eb5aff516f5af6ae5f8a544dfc55a5fb", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "assetOwnershipSourceSha256": "43005b7e896e0546c1f44cbe4ff3f34ad6d71f275f4b9a8113f73a71e77930c4", + "assetInstallerSourceSha256": "d3bd9514e5920d0cc3567aa50487fb534c57a6f66b8da0d3f22c5f6e499c841f", + "credentialBindingSourceSha256": "d5c200bea2e8ab730eb56e32ce2070c8a1b5407e5907108640f76a463d9b9c9c", + "sidecarErrorSourceSha256": "23f3dbdc1ce488c690d218a854c820f4b4f3edd822bad574d67707314f8c512a", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "permissionToolIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "runtimeHostSourceSha256": "d760653024dc40e638d80f2030ee2f3af08a9138fddfd01db6932cc547f36708", + "runtimeAdapterSourceSha256": "db9667f1142e05dd23dbe6c2d82b53403428df249494eb45832590f630db7e0d", + "runtimeSandboxSourceSha256": "4acec4c9757fe5ef5f2788ce20ced8ca4fde8edcfb63b59d0effcfd4316c048d", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v25-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v25-identity.json new file mode 100644 index 00000000000..5398f630f92 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v25-identity.json @@ -0,0 +1,79 @@ +{ + "commandDigest": "sha256:0d46cf680680cca0cd0c71259a4893c812f121492706b9f26248cdfcf9d603fe", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 25, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "fedf1e498c1e19daf9c973d475234488aa9acabbf1b9de890245bfac7a534483", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "eebcc1ec9bc8caa8d1edf0cbda74bd69f5c55cf8d65a0503e95798b9979a19dc", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "49f7cb882fa09dcf879a2234d3e7b43fe72895d2c0f1e9b72fcbe18f012423bb", + "semanticDirectDriverSourceSha256": "3cea77a03c8822d68f77f090457176a9190facbec7d88ddf8c583c0e42245f70", + "semanticValidationSourceSha256": "039fca52266fe21ba74ca64660d21228314d8ed737b19ba67941bfb25086e4d5", + "semanticNormalizationSourceSha256": "8b628b82e8eacc91cdcc6fdca2210ba4cf282f01e9c6f74e95ff271655b5047e", + "semanticCompletionContractSourceSha256": "fa2b0c81cb9a62965839c905db81b930794774d8d557a01bce077dae5830b594", + "semanticValidatorsSourceSha256": "c3e7328c0d27feb8ee2ca53b1e1c6963c204939ed22b875add748de77c99b52b", + "semanticSchemaBundleSourceSha256": "619f2149a89f952253f8e178645ce4bf986215884b04ce0b7c5ae2ac940849f7", + "semanticSidecarProtocolSourceSha256": "907b2cdc1a5291c6fb570855bbcc66cb196b5cf64195d5dc201148940678460a", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "configuredEnvironmentSourceSha256": "a03575b3a737dea60da94cf0fa1feed80719a9aaa7f09456eb57a845d9e8e087", + "configuredEnvironmentRustSourceSha256": "55d44e48e217385b5c64b1b7d8df16dda62319ca3fb524e452fd78c9ed804d3b", + "profileActivitySourceSha256": "4fdb6b0f9125fd8372ba6f27945fa5c8a3d3b2ec891df544092e3dc7a75d5282", + "profileExtensionsSourceSha256": "0565d13d4064ed8c501d6ffda6d7bffca4493552de8aaa7fc12178dabb3ca435", + "profileInstallationSourceSha256": "7c26545922fc85db75a5db6bf3f6e21e381b6e189f4f51243b19ee237b93f8b1", + "attachmentPolicySourceSha256": "ce8027d1f8e2b7fd35df56a75ba162fd9696d1569c016b60bc9f0de1252cd958", + "singleReadEvidenceSourceSha256": "4069393405089bde613cecec04f5123c426594811da4c668bd96f0e7e283550f", + "nativeSessionRuntimeSourceSha256": "affc67a3b4fa38a1337c0779c55fdf0b32f46ea5c8dbbfe02c3359cb2ca26034", + "nativeRuntimeContextSourceSha256": "afcadc9b78d42c598f6822c6da071abbca09024ab231f6b39a30e10e1d9bd38e", + "nativeSessionContractSourceSha256": "8cdf0ea723d58057f2425ed267a92a317c065c917c6236d323c0ed846b05c3d9", + "harnessSessionContractSourceSha256": "75ae4607312ec13466dd2f4ac87f000302b7b5a952cb6d4b51573fa8b7c35d82", + "harnessBackendSourceSha256": "d529e67744a4cf8d0bb1aaa466b1df40fbab35765796da9c96c046204e194402", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "16f358c75dd4ae80af3ca921394c5899b15942b80b553e43ddfabb41c1bf31d3", + "nativeBackendSourceSha256": "a888e389874d2fae6e1f1d2074df0aab9abb6502f9afca9d15ff13708ee43753", + "nativeBackendFactorySourceSha256": "ae91eaa54e2fb4bc58c445e41d6453ecc73864d07f1240dff5936af9987bcaef", + "nativeInstructionsSourceSha256": "1ac0c145dfc03ceca646267b74fa7b59d963189913768c46544579709e0914b6", + "runtimeRequestBridgeSourceSha256": "c449568f8abf7e90d5ae7a83b49809d9166461398f8b3046e4fe5f3367f3b052", + "runtimeRequestFacadeSourceSha256": "3d70c6025169779f7886ddf363a1c6fda4add5d14fa3cd49aea46aa1f6a9d8ec", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "8afd25df307772e484e179e58bf54ce1510fe92be694482111d589f9f0ae6e77", + "nativeExecutionSourceSha256": "cf4ac0008807bbd1852d4cbf8a964d3a2fca0b0573e5789dd3e902a70f952e82", + "profileCompatibilitySourceSha256": "658a06c27f9796177440481bb812dd104b36a6ac6ff9a8ad40184529d2063808", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "assetOwnershipSourceSha256": "43005b7e896e0546c1f44cbe4ff3f34ad6d71f275f4b9a8113f73a71e77930c4", + "assetInstallerSourceSha256": "d3bd9514e5920d0cc3567aa50487fb534c57a6f66b8da0d3f22c5f6e499c841f", + "credentialBindingSourceSha256": "d5c200bea2e8ab730eb56e32ce2070c8a1b5407e5907108640f76a463d9b9c9c", + "sidecarErrorSourceSha256": "23f3dbdc1ce488c690d218a854c820f4b4f3edd822bad574d67707314f8c512a", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "permissionToolIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "runtimeHostSourceSha256": "83a5ae07c19681ab195f76363661c2381494b243343270ba363d4db2088932a5", + "runtimeAdapterSourceSha256": "9d1767a4853768d4d03c2e50dc1f00a6f2b114faa2dfb19dd70e31422722dbdd", + "runtimeSandboxSourceSha256": "4acec4c9757fe5ef5f2788ce20ced8ca4fde8edcfb63b59d0effcfd4316c048d", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v27-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v27-identity.json new file mode 100644 index 00000000000..8a8e0286e1a --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v27-identity.json @@ -0,0 +1,81 @@ +{ + "commandDigest": "sha256:9225b7454559569a08d732c747c1174085c7cccc3a5e387c10aff7b3aab1f6e8", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 27, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "fedf1e498c1e19daf9c973d475234488aa9acabbf1b9de890245bfac7a534483", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "eebcc1ec9bc8caa8d1edf0cbda74bd69f5c55cf8d65a0503e95798b9979a19dc", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "49f7cb882fa09dcf879a2234d3e7b43fe72895d2c0f1e9b72fcbe18f012423bb", + "semanticDirectDriverSourceSha256": "3cea77a03c8822d68f77f090457176a9190facbec7d88ddf8c583c0e42245f70", + "semanticValidationSourceSha256": "3b0ac8d3f3cb92747d0bcea472ab0419a140e1cfdc43047e2c22542acc2d105f", + "semanticNormalizationSourceSha256": "8b628b82e8eacc91cdcc6fdca2210ba4cf282f01e9c6f74e95ff271655b5047e", + "semanticCompletionContractSourceSha256": "fa2b0c81cb9a62965839c905db81b930794774d8d557a01bce077dae5830b594", + "semanticValidatorsSourceSha256": "328436d29148e0b79ce36f36c764b3d780913bdb90d174d1ea03cf1f59b5ef13", + "semanticSchemaBundleSourceSha256": "d8cef4a9ebc136a3d37f3d0be7161986e6d65420e2ec734cfd0dfa468c665c97", + "semanticSidecarProtocolSourceSha256": "907b2cdc1a5291c6fb570855bbcc66cb196b5cf64195d5dc201148940678460a", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "displayEventSourceSha256": "d72f9a6035c247bc6a42c067c05753076c54322c4b58984e93922f3325dc6877", + "displayProjectionSourceSha256": "75952606b26dd93bbc582c1f0a4424487377272ea745fb3a27ceae031fd5dc7e", + "configuredEnvironmentSourceSha256": "a03575b3a737dea60da94cf0fa1feed80719a9aaa7f09456eb57a845d9e8e087", + "configuredEnvironmentRustSourceSha256": "55d44e48e217385b5c64b1b7d8df16dda62319ca3fb524e452fd78c9ed804d3b", + "profileActivitySourceSha256": "4fdb6b0f9125fd8372ba6f27945fa5c8a3d3b2ec891df544092e3dc7a75d5282", + "profileExtensionsSourceSha256": "0565d13d4064ed8c501d6ffda6d7bffca4493552de8aaa7fc12178dabb3ca435", + "profileInstallationSourceSha256": "7c26545922fc85db75a5db6bf3f6e21e381b6e189f4f51243b19ee237b93f8b1", + "attachmentPolicySourceSha256": "ce8027d1f8e2b7fd35df56a75ba162fd9696d1569c016b60bc9f0de1252cd958", + "singleReadEvidenceSourceSha256": "4069393405089bde613cecec04f5123c426594811da4c668bd96f0e7e283550f", + "nativeSessionRuntimeSourceSha256": "aac818c1cf50a25899ae95cafc70f093c8cd8af37d19f88cbb7847b4d202d2b6", + "nativeRuntimeContextSourceSha256": "afcadc9b78d42c598f6822c6da071abbca09024ab231f6b39a30e10e1d9bd38e", + "nativeSessionContractSourceSha256": "93251b1eadc686e9d8339d4dfc50b995a3d0a9e6ad8aedc6f2bdf7e30c16138d", + "harnessSessionContractSourceSha256": "75ae4607312ec13466dd2f4ac87f000302b7b5a952cb6d4b51573fa8b7c35d82", + "harnessBackendSourceSha256": "3b11fd93b82ef13d5e6396217e3f102f900437f4d32efb00a9d75a9d2214e6ff", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "16f358c75dd4ae80af3ca921394c5899b15942b80b553e43ddfabb41c1bf31d3", + "nativeBackendSourceSha256": "a23afeab7e7094cb7e3df05e7a9eac822d0144d8c44893dbcc8a0e7b2bce0c85", + "nativeBackendFactorySourceSha256": "ce22825a53669f8c2db5aaa890bae94af19ede22295bda4ed7987a31d804cd8a", + "nativeInstructionsSourceSha256": "ea85be2aca8dfbd6b4042dcd7b1ed9db9a57baf8c379649a3f5d7d80ca54a6a2", + "runtimeRequestBridgeSourceSha256": "c449568f8abf7e90d5ae7a83b49809d9166461398f8b3046e4fe5f3367f3b052", + "runtimeRequestFacadeSourceSha256": "3d70c6025169779f7886ddf363a1c6fda4add5d14fa3cd49aea46aa1f6a9d8ec", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "8afd25df307772e484e179e58bf54ce1510fe92be694482111d589f9f0ae6e77", + "nativeExecutionSourceSha256": "3f016a2017c6eaa6920709864256c727c6171645bd024cde24315235a1a21ea1", + "profileCompatibilitySourceSha256": "5dcfed3e783e1c1f4ffc7ef98b61096795c6af2b7a92b7b9fa6b8620300a41aa", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "assetOwnershipSourceSha256": "43005b7e896e0546c1f44cbe4ff3f34ad6d71f275f4b9a8113f73a71e77930c4", + "assetInstallerSourceSha256": "d3bd9514e5920d0cc3567aa50487fb534c57a6f66b8da0d3f22c5f6e499c841f", + "credentialBindingSourceSha256": "d5c200bea2e8ab730eb56e32ce2070c8a1b5407e5907108640f76a463d9b9c9c", + "sidecarErrorSourceSha256": "23f3dbdc1ce488c690d218a854c820f4b4f3edd822bad574d67707314f8c512a", + "profileSourceSha256": "1572b19f84410959ecccbfcb5ffc168ddd85d1a4f8238fabeaaf662f6289fe25", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "permissionToolIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "runtimeHostSourceSha256": "83a5ae07c19681ab195f76363661c2381494b243343270ba363d4db2088932a5", + "runtimeAdapterSourceSha256": "9d1767a4853768d4d03c2e50dc1f00a6f2b114faa2dfb19dd70e31422722dbdd", + "runtimeSandboxSourceSha256": "4acec4c9757fe5ef5f2788ce20ced8ca4fde8edcfb63b59d0effcfd4316c048d", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v3-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v3-identity.json new file mode 100644 index 00000000000..d5e125b240d --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v3-identity.json @@ -0,0 +1,15 @@ +{ + "commandDigest": "sha256:527f9cbbad2f3e75169cae70d7aa5b189200e57f1ab7f9e1523357b5606b0939", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 3, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "a64405199b381688ffd72fdbb88396e423394cb407813d7b6f1db43bae9c3933", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "bb3dcf14972e82f6578c8250540cfbc6ec2ad953bea5d4f10d28c8b461011f3f", + "agentFilesBinding": "registered-runtime-context-v1" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v30-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v30-identity.json new file mode 100644 index 00000000000..550b9c75eb5 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v30-identity.json @@ -0,0 +1,81 @@ +{ + "commandDigest": "sha256:e21c4a43a937ae84e94726ef93227e8b931fa5547876ff0c5ecff304656d81e9", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 30, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "fedf1e498c1e19daf9c973d475234488aa9acabbf1b9de890245bfac7a534483", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "eebcc1ec9bc8caa8d1edf0cbda74bd69f5c55cf8d65a0503e95798b9979a19dc", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "ad6770c69269087951790e2e87e22ac088e3d432769adf17ebc865ed512e6c4f", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4", + "semanticToolReceiptContract": "paperclip.semantic_tool_receipt.v2", + "semanticReceiptSourceSha256": "b2795726b2234a663fec1a6ca11f0551ae69882fe9e82aa39686e952d036e791", + "semanticBridgeSourceSha256": "cf136da18e2cdbefae8e01d23d2c93f64eb7aebccaec938e84c2887c888f87ee", + "toolEvidenceSourceSha256": "4b517eed447615b3cc820af348ccc360978175149caa0bbc838d1f78332abe75", + "semanticNormalizedInputContract": "validated-forwarded-input-commit-v1", + "semanticSidecarSourceSha256": "49f7cb882fa09dcf879a2234d3e7b43fe72895d2c0f1e9b72fcbe18f012423bb", + "semanticDirectDriverSourceSha256": "3cea77a03c8822d68f77f090457176a9190facbec7d88ddf8c583c0e42245f70", + "semanticValidationSourceSha256": "3b0ac8d3f3cb92747d0bcea472ab0419a140e1cfdc43047e2c22542acc2d105f", + "semanticNormalizationSourceSha256": "8b628b82e8eacc91cdcc6fdca2210ba4cf282f01e9c6f74e95ff271655b5047e", + "semanticCompletionContractSourceSha256": "fa2b0c81cb9a62965839c905db81b930794774d8d557a01bce077dae5830b594", + "semanticValidatorsSourceSha256": "328436d29148e0b79ce36f36c764b3d780913bdb90d174d1ea03cf1f59b5ef13", + "semanticSchemaBundleSourceSha256": "d8cef4a9ebc136a3d37f3d0be7161986e6d65420e2ec734cfd0dfa468c665c97", + "semanticSidecarProtocolSourceSha256": "907b2cdc1a5291c6fb570855bbcc66cb196b5cf64195d5dc201148940678460a", + "semanticSidecarReceiptCommitContract": "correlated-tool-resolve-v1", + "displayEventSourceSha256": "d72f9a6035c247bc6a42c067c05753076c54322c4b58984e93922f3325dc6877", + "displayProjectionSourceSha256": "75952606b26dd93bbc582c1f0a4424487377272ea745fb3a27ceae031fd5dc7e", + "configuredEnvironmentSourceSha256": "a03575b3a737dea60da94cf0fa1feed80719a9aaa7f09456eb57a845d9e8e087", + "configuredEnvironmentRustSourceSha256": "55d44e48e217385b5c64b1b7d8df16dda62319ca3fb524e452fd78c9ed804d3b", + "profileActivitySourceSha256": "4fdb6b0f9125fd8372ba6f27945fa5c8a3d3b2ec891df544092e3dc7a75d5282", + "profileExtensionsSourceSha256": "0565d13d4064ed8c501d6ffda6d7bffca4493552de8aaa7fc12178dabb3ca435", + "profileInstallationSourceSha256": "7c26545922fc85db75a5db6bf3f6e21e381b6e189f4f51243b19ee237b93f8b1", + "attachmentPolicySourceSha256": "ce8027d1f8e2b7fd35df56a75ba162fd9696d1569c016b60bc9f0de1252cd958", + "singleReadEvidenceSourceSha256": "4069393405089bde613cecec04f5123c426594811da4c668bd96f0e7e283550f", + "nativeSessionRuntimeSourceSha256": "aac818c1cf50a25899ae95cafc70f093c8cd8af37d19f88cbb7847b4d202d2b6", + "nativeRuntimeContextSourceSha256": "afcadc9b78d42c598f6822c6da071abbca09024ab231f6b39a30e10e1d9bd38e", + "nativeSessionContractSourceSha256": "93251b1eadc686e9d8339d4dfc50b995a3d0a9e6ad8aedc6f2bdf7e30c16138d", + "harnessSessionContractSourceSha256": "75ae4607312ec13466dd2f4ac87f000302b7b5a952cb6d4b51573fa8b7c35d82", + "harnessBackendSourceSha256": "3b11fd93b82ef13d5e6396217e3f102f900437f4d32efb00a9d75a9d2214e6ff", + "harnessSessionSourceSha256": "a9d748b8530544342bbc9f59968816664872782a0865db76ca15f28a1705697b", + "transportContractSourceSha256": "16f358c75dd4ae80af3ca921394c5899b15942b80b553e43ddfabb41c1bf31d3", + "nativeBackendSourceSha256": "a23afeab7e7094cb7e3df05e7a9eac822d0144d8c44893dbcc8a0e7b2bce0c85", + "nativeBackendFactorySourceSha256": "ce22825a53669f8c2db5aaa890bae94af19ede22295bda4ed7987a31d804cd8a", + "nativeInstructionsSourceSha256": "ea85be2aca8dfbd6b4042dcd7b1ed9db9a57baf8c379649a3f5d7d80ca54a6a2", + "runtimeRequestBridgeSourceSha256": "c449568f8abf7e90d5ae7a83b49809d9166461398f8b3046e4fe5f3367f3b052", + "runtimeRequestFacadeSourceSha256": "3d70c6025169779f7886ddf363a1c6fda4add5d14fa3cd49aea46aa1f6a9d8ec", + "runtimeRequestNotificationSourceSha256": "6196c6175f11c69295dc00fc773201f4fdeca26c500653870253c43b81e65211", + "guardedInstallationSourceSha256": "8afd25df307772e484e179e58bf54ce1510fe92be694482111d589f9f0ae6e77", + "nativeExecutionSourceSha256": "4cdd702c233bf0d086ff2aeea8f02c6db8817ba0c0bcb5e64e355ee7a1c2dd77", + "profileCompatibilitySourceSha256": "22f33067df484ccaf746544bf1c4641a1bc5fd9e78eeea809b02b5b3f9a930d3", + "installationSourceSha256": "9934653d6983905930099b1691b1f0c05461e04e950bb27dd0f92e64fc8e28e1", + "assetOwnershipSourceSha256": "43005b7e896e0546c1f44cbe4ff3f34ad6d71f275f4b9a8113f73a71e77930c4", + "assetInstallerSourceSha256": "d3bd9514e5920d0cc3567aa50487fb534c57a6f66b8da0d3f22c5f6e499c841f", + "credentialBindingSourceSha256": "d5c200bea2e8ab730eb56e32ce2070c8a1b5407e5907108640f76a463d9b9c9c", + "sidecarErrorSourceSha256": "23f3dbdc1ce488c690d218a854c820f4b4f3edd822bad574d67707314f8c512a", + "profileSourceSha256": "baf0b64371fada6c92331f9f88e915292b2761c029fd86452f6de32e26dc7fd6", + "metadataProbeSourceSha256": "e8bdefca57b9678d2b5d99b0bc604301d12993b9c9cc4ecb4b5d3df0b83cec3f", + "permissionToolIdentitySourceSha256": "770b47305e571a81f344883057d0e4a482a1cd59ac77d045836593a8e739deb1", + "runtimeHostSourceSha256": "83a5ae07c19681ab195f76363661c2381494b243343270ba363d4db2088932a5", + "runtimeAdapterSourceSha256": "a1a8784f5883d2c93df6e3695d5499b83e226efb4f26e558639c4e7dbcc2d67a", + "runtimeSandboxSourceSha256": "4acec4c9757fe5ef5f2788ce20ced8ca4fde8edcfb63b59d0effcfd4316c048d", + "cancellationSourceSha256": "a07d1a9e982dec0ae130c1ad1efa5bc75c6a39e013b730ba3ee45256f09ceeca", + "agentFilesSourceSha256": "fb32f6badc13dfa22f231479509b631b2f0eba0c99b1ab9f3cd5c0c601aa03ba", + "nativeDistributionSourceSha256": "9bbe8329064ee88418528394f8e1cdc716a0b2b35092dc70729b8850e46b7a68" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v4-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v4-identity.json new file mode 100644 index 00000000000..41415e3baca --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v4-identity.json @@ -0,0 +1,16 @@ +{ + "commandDigest": "sha256:a119e436b4ad13ee70e1f58bedad4a0f20761b5fd982b752981f0cb1bc65f797", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 4, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "64180c194ab841d6f4bba7e6eca5ead621c6222c9a8057e4bb2bb6f007d8bb3c", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "bb3dcf14972e82f6578c8250540cfbc6ec2ad953bea5d4f10d28c8b461011f3f", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v5-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v5-identity.json new file mode 100644 index 00000000000..3fea7be0927 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v5-identity.json @@ -0,0 +1,16 @@ +{ + "commandDigest": "sha256:ece77e40876631a69a828b91813722001d71b6fc81be47ecd4b3dced84ff9473", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 5, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "79aad2d688b03362e8cfcbf7a08f78a8383869f6882a9c9ed66f1d18efb94f2b", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "bb3dcf14972e82f6578c8250540cfbc6ec2ad953bea5d4f10d28c8b461011f3f", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v6-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v6-identity.json new file mode 100644 index 00000000000..840c089fa41 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v6-identity.json @@ -0,0 +1,17 @@ +{ + "commandDigest": "sha256:0fe49c2f8a2b144344d0de745fed1e4568df305de3a26c3a121dec21c8d4b751", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 6, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "79aad2d688b03362e8cfcbf7a08f78a8383869f6882a9c9ed66f1d18efb94f2b", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "bb3dcf14972e82f6578c8250540cfbc6ec2ad953bea5d4f10d28c8b461011f3f", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v7-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v7-identity.json new file mode 100644 index 00000000000..9385e88e31d --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v7-identity.json @@ -0,0 +1,22 @@ +{ + "commandDigest": "sha256:b11721382293b39c1d6dd363eae547b5eae0ccca2cd5dcafc9127cc060ee9526", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 7, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "79aad2d688b03362e8cfcbf7a08f78a8383869f6882a9c9ed66f1d18efb94f2b", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v8-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v8-identity.json new file mode 100644 index 00000000000..b1bc2462085 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v8-identity.json @@ -0,0 +1,22 @@ +{ + "commandDigest": "sha256:3b97dac7020396a84997040ee2864a47af615d69aaf1c951de391e850038157a", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 8, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "bd5393058a218040d217fa85449d59a6f30507de54cd645bf0ef21422823f85e", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-profile-v9-identity.json b/packages/paperclip-runner/test/fixtures/copilot-profile-v9-identity.json new file mode 100644 index 00000000000..88aea29da29 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-profile-v9-identity.json @@ -0,0 +1,28 @@ +{ + "commandDigest": "sha256:98936d763497bd6f0e5605f52831a344f456357de58c457e440e69a1a468a2f4", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 9, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "bd5393058a218040d217fa85449d59a6f30507de54cd645bf0ef21422823f85e", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "c0a65e247fc47b263bd369a3d5ab505c4b323d4e6493be8a9ecbeb0e9dbb9107", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1", + "sharedRuntimeContract": "paperclip.acpx-runtime-contract.v1", + "innerDistributionSourceSha256": "9bb08347eed01f1ab44e065c8b06ead9be3a25973d6e6329dc4c0a099096279a", + "upstreamAppSha256": "7b48282a19b5b0814a0c96ad5e3a125173d792cc55f9525b2effea962f6063c0", + "patchedAppSha256": "61f8eebe0c30cc03b311c6818b2acb158a6d16ca58c8bfac5ebd42db095c2679", + "messageIdentityContract": "copilot-native-message-id-v1", + "ownedDistributionDelivery": "COPILOT_CLI_DIST_DIR:lease-owned-guarded-inner-distribution:v1", + "permissionContextContract": "copilot-edit-permission-context-v1", + "permissionContextSourceSha256": "fe1bb611bea289d81b1c7c973fbb01b93de133a7caa8fe78b7ff4ee1f485b224", + "permissionAdapterSourceSha256": "2bc34ac7899ac2729909459321e5a8a3668342cc61921e8c95e672719c6d91f2", + "permissionLocationsSourceSha256": "f39a81da395b6e23aa2a1a45572a28846e5e81bfd3d764d9a456f74a79c752e9", + "permissionRedactionSourceSha256": "687270d7bbe3dccce6c2fed8664e76cda724b43e545cb153b9f54b018de52927", + "permissionClassifierSourceSha256": "1161eabd82e26133e3b3db3ab567f65d52808b03f176e93497e02c8330349fb4" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-provider-pack-darwin-arm64-1.0.88.json b/packages/paperclip-runner/test/fixtures/copilot-provider-pack-darwin-arm64-1.0.88.json new file mode 100644 index 00000000000..e8f0fba3a4c --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-provider-pack-darwin-arm64-1.0.88.json @@ -0,0 +1,67 @@ +{ + "schema": "paperclip.copilot-provider-pack-smoke/v1", + "sourceRevision": "5272fc6398d42344d1888a3f97ca6909684eefbf", + "providerPackDigest": "sha256:4ba17b2455b0ab92cfe6ee223f77708379fe219792ccb66dbdef70060e6e22e1", + "platform": "darwin", + "architecture": "arm64", + "candidate": { + "version": "1.0.88", + "profileDigest": "sha256:b18c01603dd0169d233140709cfaa8bf5304a03cf5de78ca4f625f30013e8457", + "closureDigest": "sha256:fb3b367a45cd76122fe931521fa2a18adf234ba944fc302db9e10e005e57037e", + "qualification": "pending", + "path": "provider-assets/copilot/darwin-arm64", + "sha256": "sha256:49ad871973843e2bfc3ee1d1886f6a1537e887748cc6f3d5148b3ec7f3c7298f" + }, + "executableSha256": "sha256:a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "registryLaunch": "verifyAcpxProfileInstallation/openCommand/spawn", + "initializeRequestId": 0, + "initialize": { + "protocolVersion": 1, + "agentCapabilities": { + "loadSession": true, + "mcpCapabilities": { + "http": true, + "sse": true + }, + "promptCapabilities": { + "image": true, + "audio": false, + "embeddedContext": true + }, + "sessionCapabilities": { + "close": {}, + "list": {} + } + }, + "agentInfo": { + "name": "Copilot", + "title": "Copilot", + "version": "1.0.88" + }, + "authMethods": [ + { + "id": "copilot-login", + "name": "Log in with Copilot CLI", + "description": "Run `copilot login` in the terminal", + "_meta": { + "terminal-auth": { + "command": "/fixture/verified/copilot", + "args": [ + "login" + ], + "label": "Copilot Login" + } + } + } + ] + }, + "missingCredentialPreflight": "COPILOT_AUTH_REQUIRED", + "cleanExit": true, + "inheritedCredentials": false, + "promptSent": false, + "networkMode": "COPILOT_OFFLINE=true; loopback metadata-only provider", + "fixtureRequests": [], + "protocolFixtureModel": "gpt-4.1 (not a qualified GitHub model)", + "costUsd": 0, + "qualification": "pending: no credential, entitlement, model execution or Daytona" +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-provider-pack-final-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-provider-pack-final-2026-09-28.json new file mode 100644 index 00000000000..0da980bf167 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-provider-pack-final-2026-09-28.json @@ -0,0 +1,86 @@ +{ + "schema": "paperclip.copilot-provider-pack-smoke/v1", + "sourceRevision": "8aa867b64d5fc2fd62cff110bd000addf5dc54de", + "providerPackDigest": "sha256:627992ea80e8be7154d07cbc9925b781519199e25690b02d4a044f44342e6bd8", + "platform": "darwin", + "architecture": "arm64", + "candidate": { + "version": "1.0.88", + "profileDigest": "sha256:b18c01603dd0169d233140709cfaa8bf5304a03cf5de78ca4f625f30013e8457", + "closureDigest": "sha256:fb3b367a45cd76122fe931521fa2a18adf234ba944fc302db9e10e005e57037e", + "qualification": "pending", + "path": "provider-assets/copilot/darwin-arm64", + "sha256": "sha256:49ad871973843e2bfc3ee1d1886f6a1537e887748cc6f3d5148b3ec7f3c7298f" + }, + "executableSha256": "sha256:a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "registryLaunch": "verifyAcpxProfileInstallation/openCommand/spawn", + "initializeRequestId": 0, + "initialize": { + "protocolVersion": 1, + "agentCapabilities": { + "loadSession": true, + "mcpCapabilities": { + "http": true, + "sse": true + }, + "promptCapabilities": { + "image": true, + "audio": false, + "embeddedContext": true + }, + "sessionCapabilities": { + "close": {}, + "list": {} + } + }, + "agentInfo": { + "name": "Copilot", + "title": "Copilot", + "version": "1.0.88" + }, + "authMethods": [ + { + "id": "copilot-login", + "name": "Log in with Copilot CLI", + "description": "Run `copilot login` in the terminal", + "_meta": { + "terminal-auth": { + "command": "/fixture/verified/copilot", + "args": [ + "login" + ], + "label": "Copilot Login" + } + } + } + ] + }, + "missingCredentialPreflight": "COPILOT_AUTH_REQUIRED", + "cleanExit": true, + "inheritedCredentials": false, + "promptSent": false, + "networkMode": "COPILOT_OFFLINE=true; loopback metadata-only provider", + "fixtureRequests": [], + "protocolFixtureModel": "gpt-4.1 (not a qualified GitHub model)", + "costUsd": 0, + "qualification": "pending: no credential, entitlement, model execution or Daytona", + "dependencyResolution": { + "source": "committed workspace manifests and tracked lock", + "independentCleanResolutions": 2, + "identical": true, + "resolvedLockSha256": "sha256:aa97f89ba8a7c63573114dda54895523d316df67956c65eeccbc89d3166bb1b4", + "frozenFilteredInstallPassed": true + }, + "runnerd": { + "buildSourceRevision": "78360fa55adff11da9f200b228467eca782b81e1", + "rustTree": "17d327094be5759d80ef5bd02e15c59e78548ea2", + "sha256": "sha256:e6a9fb5170b76a49b8411834b3706e8edf8f1a1ae85ad13b55368158aa7f67a0", + "sourceTreeMatchesPackRevision": true, + "liveTurnAtThisRevision": false + }, + "verification": { + "runnerTypeScriptAndVerifiedSidecarBuild": "passed", + "providerAndContractTestsPassed": 68, + "builderAndScriptTestsPassed": 11 + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-provider-pack-linux-x64-2026-09-28.json b/packages/paperclip-runner/test/fixtures/copilot-provider-pack-linux-x64-2026-09-28.json new file mode 100644 index 00000000000..6916b197fbc --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-provider-pack-linux-x64-2026-09-28.json @@ -0,0 +1,88 @@ +{ + "schema": "paperclip.copilot-provider-pack-smoke/v1", + "sourceRevision": "8aa867b64d5fc2fd62cff110bd000addf5dc54de", + "providerPackDigest": "sha256:b11984fe02bd5d5a36b01ed559d2f4c765663df09a46117d3092b1183be08ba4", + "platform": "linux", + "architecture": "x64", + "candidate": { + "version": "1.0.88", + "profileDigest": "sha256:b18c01603dd0169d233140709cfaa8bf5304a03cf5de78ca4f625f30013e8457", + "closureDigest": "sha256:1a675c5b54ae4d94f08718a318451e0499708ded388b4cfd98acec6b4311ccbd", + "qualification": "pending", + "path": "provider-assets/copilot/linux-x64", + "sha256": "sha256:e9413d46e5feeec5e7708b3092af02399319342531345fdfdccb4f0853cd87cc" + }, + "executableSha256": "sha256:0059754cf78c3f3bf2c9d4564dfa7e9e25f3a3f8f411f2f0cdad9363f5662748", + "registryLaunch": "verifyAcpxProfileInstallation/openCommand/spawn", + "initializeRequestId": 0, + "initialize": { + "protocolVersion": 1, + "agentCapabilities": { + "loadSession": true, + "mcpCapabilities": { + "http": true, + "sse": true + }, + "promptCapabilities": { + "image": true, + "audio": false, + "embeddedContext": true + }, + "sessionCapabilities": { + "close": {}, + "list": {} + } + }, + "agentInfo": { + "name": "Copilot", + "title": "Copilot", + "version": "1.0.88" + }, + "authMethods": [ + { + "id": "copilot-login", + "name": "Log in with Copilot CLI", + "description": "Run `copilot login` in the terminal", + "_meta": { + "terminal-auth": { + "command": "/fixture/verified/copilot", + "args": [ + "login" + ], + "label": "Copilot Login" + } + } + } + ] + }, + "missingCredentialPreflight": "COPILOT_AUTH_REQUIRED", + "cleanExit": true, + "inheritedCredentials": false, + "promptSent": false, + "networkMode": "COPILOT_OFFLINE=true; loopback metadata-only provider", + "fixtureRequests": [], + "protocolFixtureModel": "gpt-4.1 (not a qualified GitHub model)", + "costUsd": 0, + "qualification": "pending: no credential, entitlement, model execution or Daytona", + "executionBoundary": { + "kind": "Linux image initialize-only build proof", + "image": "ghcr.io/paperclipai/paperclip-daytona-runner@sha256:5457769683fd310223d3b0d4f1ed9a6cf341bdb16514746b3aaeabca2e888fee", + "network": "none", + "rootFilesystem": "read-only", + "writableState": "private tmpfs", + "providerCredentials": false, + "probeScript": "maintained copilot-provider-pack-smoke.mjs mounted read-only", + "actualDaytonaServiceExecution": false + }, + "originalOutputSha256": "sha256:46cfc84ce0d180fdaf5b75730683dffc65af4506bfaf8fdd07dd496186a7bec8", + "retainedOperatorSetupFailures": [ + { + "reason": "wrong image repository", + "providerLaunched": false + }, + { + "reason": "wrong Node path", + "providerLaunched": false + } + ] +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-runtime-context-recovery-2026-09-29.json b/packages/paperclip-runner/test/fixtures/copilot-runtime-context-recovery-2026-09-29.json new file mode 100644 index 00000000000..2e88c783d04 --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-runtime-context-recovery-2026-09-29.json @@ -0,0 +1,248 @@ +{ + "schema": "paperclip.copilot-runtime-context-recovery.v1", + "recordedAt": "2026-09-29T15:32:50.799156+00:00", + "sourceRevision": "3d0c45920c326821c2f5ff48dc985ef8158b46e4", + "providerVersion": "1.0.88", + "providerBinarySha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "paidProviderCalls": 0, + "loopbackModelResponses": 2, + "fixtureMechanism": "env -i; synthetic token; COPILOT_OFFLINE=true; loopback OpenAI fixture. Exact native binary and actual AcpxRuntimeHost; second explicit turn forces lazy native session/load. Test-only gpt-4.1 model option injected into guard metadata because offline native initialization omits model options; actual native mode/allow_all remain unchanged. Not authenticated model qualification.", + "modelMetadataFixtureInjected": true, + "probeScriptSha256": "e2cf49568c42d8cb0dc3404cd263adfebac5507a6e694faa8f6db948c85ba4e1", + "rawPrivateWireSha256": "7d19d4f7dc0c2ad4265a6bd17bb8f25f572b31e409c7745279529b6fc4d9840d", + "steps": [ + "Open native provider with old registered agent-files directory", + "Run one deterministic loopback response", + "Close native host, delete old directory", + "Reopen with old context: ENOENT at bindAcpxAgentFiles lstat", + "Reopen with current registered directory: passes with original native session ID", + "Start a second explicit fixture turn: native session/load observed, then session/prompt completes end_turn", + "Close host; exactly two requested fixture turns and two loopback model responses" + ], + "staleContextError": { + "code": "ENOENT", + "phase": "reopen", + "operation": "lstat", + "path": "/agent-copy-old" + }, + "restoredSessionIdentityUnchanged": true, + "restoredPhase": "reopen-current-copy", + "wireProjection": [ + { + "direction": "outbound", + "id": 0, + "method": "initialize" + }, + { + "direction": "inbound", + "id": 0 + }, + { + "direction": "outbound", + "id": 1, + "method": "session/new" + }, + { + "direction": "inbound", + "id": 1, + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ] + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "available_commands_update" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "available_commands_update" + }, + { + "direction": "outbound", + "id": 2, + "method": "session/prompt" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "config_option_update" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "session_info_update" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "usage_update" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "agent_message_chunk" + }, + { + "direction": "inbound", + "id": 2 + }, + { + "direction": "outbound", + "id": 0, + "method": "initialize" + }, + { + "direction": "inbound", + "id": 0 + }, + { + "direction": "outbound", + "id": 1, + "method": "session/load" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "user_message_chunk" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "agent_message_chunk" + }, + { + "direction": "inbound", + "id": 1, + "configOptions": [ + { + "type": "select", + "id": "mode", + "name": "Mode", + "currentValue": "https://agentclientprotocol.com/protocol/session-modes#agent", + "options": [ + { + "value": "https://agentclientprotocol.com/protocol/session-modes#agent", + "name": "Agent", + "description": "Default agent mode for conversational interactions" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#plan", + "name": "Plan", + "description": "Plan mode for creating and executing multi-step plans" + }, + { + "value": "https://agentclientprotocol.com/protocol/session-modes#autopilot", + "name": "Autopilot", + "description": "Autonomous mode that enables allow-all and runs until task completion without user interaction (experimental)" + } + ], + "category": "mode", + "description": "Controls how Copilot responds: a conversational agent, planning multi-step work, or autonomous autopilot." + }, + { + "type": "select", + "id": "allow_all", + "name": "Allow All", + "currentValue": "off", + "options": [ + { + "value": "on", + "name": "On", + "description": "Automatically approve all tool, path, and URL requests" + }, + { + "value": "off", + "name": "Off", + "description": "Require approval for tool, path, and URL requests" + } + ], + "category": "permissions", + "description": "Controls whether Copilot prompts for approval before using tools, accessing paths, or fetching URLs." + } + ] + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "available_commands_update" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "available_commands_update" + }, + { + "direction": "outbound", + "id": 2, + "method": "session/prompt" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "usage_update" + }, + { + "direction": "inbound", + "method": "session/update", + "sessionUpdate": "agent_message_chunk" + }, + { + "direction": "inbound", + "id": 2 + } + ], + "limits": [ + "This reproduces the suspected Product recovery cause; failed Product cleanup did not retain raw session.open cause.", + "Live provider context replacement and root retention until active work settles are distinct from closed-provider restoration." + ], + "continuationResult": { + "status": "completed", + "stopReason": "end_turn" + } +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-v4-native-instruction-delivery-2026-09-29.json b/packages/paperclip-runner/test/fixtures/copilot-v4-native-instruction-delivery-2026-09-29.json new file mode 100644 index 00000000000..934a63c35cc --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-v4-native-instruction-delivery-2026-09-29.json @@ -0,0 +1,61 @@ +{ + "schema": "paperclip.copilot-v4-native-instruction-delivery.v1", + "date": "2026-09-29", + "candidateBaseRevision": "751f59f26ce401b0737f141167ffd895180e07fa", + "profileIdentity": { + "commandDigest": "sha256:e7f8416b1119895c8c79307b95fc0e46312cc4821abee2a691f26c3d67f282af", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 4, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "a64405199b381688ffd72fdbb88396e423394cb407813d7b6f1db43bae9c3933", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "bb3dcf14972e82f6578c8250540cfbc6ec2ad953bea5d4f10d28c8b461011f3f", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-before-admission:v1" + } + }, + "sourceSha256": { + "packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts": "897669e02875b7b53cabcbb95f86fbf7be3277c325e8a9bf5a7b4d0bcdffd389", + "packages/paperclip-runner/src/drivers/acpx/copilot-profile.ts": "0ff47a0394b2c72bdc1bdd318b684b16efc3f2fbf648002da139d6fb9c2bf992", + "packages/paperclip-runner/src/drivers/acpx/qualified-profiles.ts": "38a91b69773e1faab4cbe060e1ae991f8fd1233a7e241bb149063a2bd0dfb5da", + "packages/paperclip-runner/src/drivers/acpx/runtime-host.ts": "bffd96aa6467f9b7e80de7e0699b935f488f203530c6217045ef44d094ddd61c" + }, + "nativeVersion": "1.0.88", + "nativeBinarySha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "actualProductionSandboxWriter": true, + "providerMode": "agent", + "allowAll": "off", + "fixtureMechanism": "env -i; synthetic credential; COPILOT_OFFLINE=true; exactly two requested turns to loopback OpenAI fixture. Imports actual candidate TypeScript runtime host/sandbox/adapter via tsx, with already verified patched ACPX dependency from frozen 3d0 archive. No manual instruction file write. Test-only offline model metadata injection remains; not authenticated model qualification or final frozen-pack proof.", + "loopbackModelResponses": 2, + "paidProviderCalls": 0, + "nativeLoadObserved": true, + "staleDirectoryFailurePreserved": "ENOENT", + "continuationResult": { + "status": "completed", + "stopReason": "end_turn" + }, + "modelRequestProjection": [ + { + "request": 1, + "paperclipPromptInSystem": true, + "oldRegisteredRootInSystem": true, + "currentRegisteredRootInSystem": false, + "originalCustomEntryInSystem": true, + "updatedCustomEntryInSystem": false + }, + { + "request": 2, + "paperclipPromptInSystem": true, + "oldRegisteredRootInSystem": false, + "currentRegisteredRootInSystem": true, + "originalCustomEntryInSystem": false, + "updatedCustomEntryInSystem": true + } + ], + "rawPrivateEvidenceSha256": "02163cfff37ac96ec1775ae716122f32f1da960d0ba36be2dd94051615d1e4b4", + "probeScriptSha256": "b8434b98e0659efeab82dd5885740e2c85c6e1669edb09c74c3a9d41bb25bc13" +} diff --git a/packages/paperclip-runner/test/fixtures/copilot-v4-owned-instruction-delivery-2026-09-29.json b/packages/paperclip-runner/test/fixtures/copilot-v4-owned-instruction-delivery-2026-09-29.json new file mode 100644 index 00000000000..cea4eed442b --- /dev/null +++ b/packages/paperclip-runner/test/fixtures/copilot-v4-owned-instruction-delivery-2026-09-29.json @@ -0,0 +1,69 @@ +{ + "schema": "paperclip.copilot-v4-owned-instruction-delivery.v1", + "date": "2026-09-29", + "candidateBaseRevision": "0f33a9080ab05f92b909261a20d79ca487889346", + "profileIdentity": { + "commandDigest": "sha256:ce58142849d196faee8898f34c7149b4fbeb7b09966bb523b9cdf39c2ff66a6f", + "declaration": { + "schema": "paperclip.acpx_profile_declaration.v1", + "agent": "copilot", + "agentProfileVersion": 4, + "acpxVersion": "0.13.1", + "agentServerVersion": "1.0.88", + "protocolPolicyRevision": "copilot-agent-manual-v1", + "acpxPatchSha256": "a64405199b381688ffd72fdbb88396e423394cb407813d7b6f1db43bae9c3933", + "policySha256": "a4be69be43db84052560420a3ca546a665c9165573c24d543eb33d144ba138a3", + "distributionSourceSha256": "bb3dcf14972e82f6578c8250540cfbc6ec2ad953bea5d4f10d28c8b461011f3f", + "agentFilesBinding": "registered-runtime-context-v1", + "systemInstructionDelivery": "COPILOT_HOME/copilot-instructions.md:replace-under-lifetime-lease-before-launch:v1" + } + }, + "sourceSha256": { + "packages/paperclip-runner/src/drivers/acpx/runtime-sandbox.ts": "d78b859d170b931b8fc310577e6d1d01a1c20f168ad48c5de84bca2ea325aad9", + "packages/paperclip-runner/src/drivers/acpx/copilot-profile.ts": "b74133bd72f92d6bd0652c1772a45227f6a549232554528fef2761b17b8f02e7", + "packages/paperclip-runner/src/drivers/acpx/qualified-profiles.ts": "d1f788e475b420cb247484709ea09416261676e611ce9cb439e989e804e716f9", + "packages/paperclip-runner/src/drivers/acpx/runtime-host.ts": "229dd5cbbc3ea22dcda8bb10dc7b6096324b713e33ebd52bd6f691e35ceff24b" + }, + "nativeVersion": "1.0.88", + "nativeBinarySha256": "a9ff8babb10b7e443182ae96a8bc50a9c826ef1c773e1344c396eb5bf7f512c3", + "actualProductionSandboxWriter": true, + "providerMode": "agent", + "allowAll": "off", + "fixtureMechanism": "env -i; synthetic credential; COPILOT_OFFLINE=true; exactly two requested turns to loopback OpenAI fixture. Imports actual candidate TypeScript runtime host/sandbox/adapter via tsx, with already verified patched ACPX dependency from frozen 3d0 archive. No manual instruction file write. Test-only offline model metadata injection remains; not authenticated model qualification or final frozen-pack proof.", + "loopbackModelResponses": 2, + "paidProviderCalls": 0, + "nativeLoadObserved": true, + "staleDirectoryFailurePreserved": "ENOENT", + "continuationResult": { + "status": "completed", + "stopReason": "end_turn" + }, + "modelRequestProjection": [ + { + "request": 1, + "paperclipPromptInSystem": true, + "oldRegisteredRootInSystem": true, + "currentRegisteredRootInSystem": false, + "originalCustomEntryInSystem": true, + "updatedCustomEntryInSystem": false + }, + { + "request": 2, + "paperclipPromptInSystem": true, + "oldRegisteredRootInSystem": false, + "currentRegisteredRootInSystem": true, + "originalCustomEntryInSystem": false, + "updatedCustomEntryInSystem": true + } + ], + "rawPrivateEvidenceSha256": "880c9dc05686c47c3afcbb351b3cb8d3c9b94db8165e873af06a07e97605d58e", + "probeScriptSha256": "ae433c1415514a97157e80e7196d99550294e49ffba8149176cb3307d5b303a8", + "instructionRefreshUnderLifetimeLease": true, + "priorAdmissionFailure": { + "stage": "provider lifetime lease acquisition", + "reason": "kernel-port quorum admission rejected before model call", + "loopbackModelResponses": 0, + "paidProviderCalls": 0, + "rawPrivateEvidenceSha256": "d20d6d412e7ffe441670fd0df937a33e4f35fe8e3fb9c0e9a9b91fc265b5d814" + } +}