import type { WorkflowRun } from '../engine/runtime.js'; import type { NativePortableState } from './native-portable-types.js'; import { inspectNativeSdkRun } from './native-runtime-ownership.js'; export { isNativeSdkCancellationComplete } from './native-sdk-cancellation.js'; export declare function inspectNativeSdkStatus(options: { projectRoot: string; name: string; details?: boolean; readOnly?: boolean; }): Promise<{ details?: { state: NativePortableState; } | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; cancellation: { status: "cancelled" | "cancelling"; reason: string | null; quiescent: boolean; cleanupRequired: boolean; cleanup: { reason: string; inspectionCommand: string; repairCommand: string; finishCommand: string; } | null; outstandingActions: { runId: string; actionId: string; stepId: string; attempt: number; inputHash: string; reason: string; }[]; outstandingRuns: string[]; }; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; archived: boolean; archiveRef: string; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; } | { details?: { state: NativePortableState; } | undefined; pendingRequirementDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; commandArgs: string[]; message: string; }[] | undefined; pendingVerifierDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; }[] | undefined; pendingBuilderDecisions?: { waitId: string; stepId: string; proposalHash: string; commandArgs: string[]; }[] | undefined; pendingEvidenceWaits?: { commandArgs: string[]; evidenceRequest: { operation: string; runId: string; expectedRevision: number; evidenceId: string; kind: string; ref: string; contentHash: string; submissionId: string; }; id: string; stepId: string; sequence: number; kind: string; status: "pending" | "resolved" | "invalidated" | "cancelled"; results: Record; receipt?: { ref: string; contentHash: string; submissionId: string; }; invalidation?: { ref: string; contentHash: string; submissionId: string; reason: string; }; }[] | undefined; pendingWaits?: { commandArgs: string[]; decisionRequests: { reason?: string | undefined; operation: string; runId: string; expectedRevision: number; waitId: string; proposalHash: string; decisionId: string; choice: string; }[]; choices: string[]; id: string; stepId: string; sequence: number; status: "pending" | "resolved" | "cancelled"; proposal: import("../engine/runtime-json.js").RuntimeValue; proposalHash: string; results: Record; decision?: { id: string; choice: string; proposalHash: string; reason?: string; }; }[] | undefined; pendingAction?: { inputRef?: string | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; } | undefined; pendingActions?: { input?: import("../engine/runtime-json.js").RuntimeValue | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; }[] | undefined; activeActions?: ({ markUnknownRequest?: undefined; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { markUnknownRequest: { reason: string; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { retryRequest: { reconciliation: { resolution: string; evidence: null; }; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; requiredInputs: string[]; markUnknownRequest?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; })[] | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; archived: boolean; archiveRef: string; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; } | { details?: { state: NativePortableState; } | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; cancellation: { status: "cancelled" | "cancelling"; reason: string | null; quiescent: boolean; cleanupRequired: boolean; cleanup: { reason: string; inspectionCommand: string; repairCommand: string; finishCommand: string; } | null; outstandingActions: { runId: string; actionId: string; stepId: string; attempt: number; inputHash: string; reason: string; }[]; outstandingRuns: string[]; }; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; preservedReportsDirectory: { ref: string; path: string; }; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; } | { details?: { state: NativePortableState; } | undefined; pendingRequirementDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; commandArgs: string[]; message: string; }[] | undefined; pendingVerifierDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; }[] | undefined; pendingBuilderDecisions?: { waitId: string; stepId: string; proposalHash: string; commandArgs: string[]; }[] | undefined; pendingEvidenceWaits?: { commandArgs: string[]; evidenceRequest: { operation: string; runId: string; expectedRevision: number; evidenceId: string; kind: string; ref: string; contentHash: string; submissionId: string; }; id: string; stepId: string; sequence: number; kind: string; status: "pending" | "resolved" | "invalidated" | "cancelled"; results: Record; receipt?: { ref: string; contentHash: string; submissionId: string; }; invalidation?: { ref: string; contentHash: string; submissionId: string; reason: string; }; }[] | undefined; pendingWaits?: { commandArgs: string[]; decisionRequests: { reason?: string | undefined; operation: string; runId: string; expectedRevision: number; waitId: string; proposalHash: string; decisionId: string; choice: string; }[]; choices: string[]; id: string; stepId: string; sequence: number; status: "pending" | "resolved" | "cancelled"; proposal: import("../engine/runtime-json.js").RuntimeValue; proposalHash: string; results: Record; decision?: { id: string; choice: string; proposalHash: string; reason?: string; }; }[] | undefined; pendingAction?: { inputRef?: string | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; } | undefined; pendingActions?: { input?: import("../engine/runtime-json.js").RuntimeValue | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; }[] | undefined; activeActions?: ({ markUnknownRequest?: undefined; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { markUnknownRequest: { reason: string; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { retryRequest: { reconciliation: { resolution: string; evidence: null; }; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; requiredInputs: string[]; markUnknownRequest?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; })[] | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; preservedReportsDirectory: { ref: string; path: string; }; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; }>; /** Business continuation without serializing the full diagnostic/history status packet. */ declare function projectNativeSdkTaskStatusOnce(options: { projectRoot: string; name: string; }, run: WorkflowRun, state: NativePortableState): Promise<{ continuation: import("./native-portable-continuation.js").NativePortableContinuation; cancellation: { status: "cancelled" | "cancelling"; reason: string | null; quiescent: boolean; cleanupRequired: boolean; cleanup: { reason: string; inspectionCommand: string; repairCommand: string; finishCommand: string; } | null; outstandingActions: { runId: string; actionId: string; stepId: string; attempt: number; inputHash: string; reason: string; }[]; outstandingRuns: string[]; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; } | { pendingRequirementDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; commandArgs: string[]; message: string; }[] | undefined; pendingVerifierDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; }[] | undefined; pendingBuilderDecisions?: { waitId: string; stepId: string; proposalHash: string; commandArgs: string[]; }[] | undefined; pendingEvidenceWaits?: { commandArgs: string[]; evidenceRequest: { operation: string; runId: string; expectedRevision: number; evidenceId: string; kind: string; ref: string; contentHash: string; submissionId: string; }; id: string; stepId: string; sequence: number; kind: string; status: "pending" | "resolved" | "invalidated" | "cancelled"; results: Record; receipt?: { ref: string; contentHash: string; submissionId: string; }; invalidation?: { ref: string; contentHash: string; submissionId: string; reason: string; }; }[] | undefined; pendingWaits?: { commandArgs: string[]; decisionRequests: { reason?: string | undefined; operation: string; runId: string; expectedRevision: number; waitId: string; proposalHash: string; decisionId: string; choice: string; }[]; choices: string[]; id: string; stepId: string; sequence: number; status: "pending" | "resolved" | "cancelled"; proposal: import("../engine/runtime-json.js").RuntimeValue; proposalHash: string; results: Record; decision?: { id: string; choice: string; proposalHash: string; reason?: string; }; }[] | undefined; pendingAction?: { inputRef?: string | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; } | undefined; pendingActions?: { input?: import("../engine/runtime-json.js").RuntimeValue | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; }[] | undefined; activeActions?: ({ markUnknownRequest?: undefined; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { markUnknownRequest: { reason: string; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { retryRequest: { reconciliation: { resolution: string; evidence: null; }; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; requiredInputs: string[]; markUnknownRequest?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; })[] | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; }>; export declare const projectNativeSdkTaskStatus: typeof projectNativeSdkTaskStatusOnce; /** Project one inspected or committed Run without synchronizing its state file again. */ export declare const projectNativeSdkStatus: typeof projectNativeSdkStatusOnce; declare function projectNativeSdkStatusOnce(options: { projectRoot: string; name: string; details?: boolean; portableArchiveRef?: string; }, { run, state, artifactRootRef: _artifactRootRef, application, }: Awaited>): Promise<{ details?: { state: NativePortableState; } | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; cancellation: { status: "cancelled" | "cancelling"; reason: string | null; quiescent: boolean; cleanupRequired: boolean; cleanup: { reason: string; inspectionCommand: string; repairCommand: string; finishCommand: string; } | null; outstandingActions: { runId: string; actionId: string; stepId: string; attempt: number; inputHash: string; reason: string; }[]; outstandingRuns: string[]; }; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; archived: boolean; archiveRef: string; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; } | { details?: { state: NativePortableState; } | undefined; pendingRequirementDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; commandArgs: string[]; message: string; }[] | undefined; pendingVerifierDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; }[] | undefined; pendingBuilderDecisions?: { waitId: string; stepId: string; proposalHash: string; commandArgs: string[]; }[] | undefined; pendingEvidenceWaits?: { commandArgs: string[]; evidenceRequest: { operation: string; runId: string; expectedRevision: number; evidenceId: string; kind: string; ref: string; contentHash: string; submissionId: string; }; id: string; stepId: string; sequence: number; kind: string; status: "pending" | "resolved" | "invalidated" | "cancelled"; results: Record; receipt?: { ref: string; contentHash: string; submissionId: string; }; invalidation?: { ref: string; contentHash: string; submissionId: string; reason: string; }; }[] | undefined; pendingWaits?: { commandArgs: string[]; decisionRequests: { reason?: string | undefined; operation: string; runId: string; expectedRevision: number; waitId: string; proposalHash: string; decisionId: string; choice: string; }[]; choices: string[]; id: string; stepId: string; sequence: number; status: "pending" | "resolved" | "cancelled"; proposal: import("../engine/runtime-json.js").RuntimeValue; proposalHash: string; results: Record; decision?: { id: string; choice: string; proposalHash: string; reason?: string; }; }[] | undefined; pendingAction?: { inputRef?: string | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; } | undefined; pendingActions?: { input?: import("../engine/runtime-json.js").RuntimeValue | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; }[] | undefined; activeActions?: ({ markUnknownRequest?: undefined; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { markUnknownRequest: { reason: string; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { retryRequest: { reconciliation: { resolution: string; evidence: null; }; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; requiredInputs: string[]; markUnknownRequest?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; })[] | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; archived: boolean; archiveRef: string; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; } | { details?: { state: NativePortableState; } | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; cancellation: { status: "cancelled" | "cancelling"; reason: string | null; quiescent: boolean; cleanupRequired: boolean; cleanup: { reason: string; inspectionCommand: string; repairCommand: string; finishCommand: string; } | null; outstandingActions: { runId: string; actionId: string; stepId: string; attempt: number; inputHash: string; reason: string; }[]; outstandingRuns: string[]; }; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; preservedReportsDirectory: { ref: string; path: string; }; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; } | { details?: { state: NativePortableState; } | undefined; pendingRequirementDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; commandArgs: string[]; message: string; }[] | undefined; pendingVerifierDecisions?: { waitId: string; proposalHash: string; proposal: import("../engine/runtime-json.js").RuntimeValue; }[] | undefined; pendingBuilderDecisions?: { waitId: string; stepId: string; proposalHash: string; commandArgs: string[]; }[] | undefined; pendingEvidenceWaits?: { commandArgs: string[]; evidenceRequest: { operation: string; runId: string; expectedRevision: number; evidenceId: string; kind: string; ref: string; contentHash: string; submissionId: string; }; id: string; stepId: string; sequence: number; kind: string; status: "pending" | "resolved" | "invalidated" | "cancelled"; results: Record; receipt?: { ref: string; contentHash: string; submissionId: string; }; invalidation?: { ref: string; contentHash: string; submissionId: string; reason: string; }; }[] | undefined; pendingWaits?: { commandArgs: string[]; decisionRequests: { reason?: string | undefined; operation: string; runId: string; expectedRevision: number; waitId: string; proposalHash: string; decisionId: string; choice: string; }[]; choices: string[]; id: string; stepId: string; sequence: number; status: "pending" | "resolved" | "cancelled"; proposal: import("../engine/runtime-json.js").RuntimeValue; proposalHash: string; results: Record; decision?: { id: string; choice: string; proposalHash: string; reason?: string; }; }[] | undefined; pendingAction?: { inputRef?: string | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; } | undefined; pendingActions?: { input?: import("../engine/runtime-json.js").RuntimeValue | undefined; executeRequest?: { operation: string; runId: string; expectedRevision: number; actionId: string; executorId: string; } | null | undefined; claimRequest?: { operation: string; runId: string; actionId: string; attempt: number; inputHash: string; executorId: string; sessionId: string; claimToken: string; } | undefined; sessionRequirements?: { independent: boolean; readOnly: boolean; mustDifferFromSessionId: string | null; resumeCommandArgs: string[]; instruction: string; } | undefined; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; commandArgs: string[]; originalRequest?: { source: string; text: string; } | undefined; id: string; stepId: string; type: string; ref: string | undefined; attempt: number; inputHash: string; mechanism: string; }[] | undefined; activeActions?: ({ markUnknownRequest?: undefined; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { markUnknownRequest: { reason: string; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; retryRequest?: undefined; requiredInputs?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; } | { retryRequest: { reconciliation: { resolution: string; evidence: null; }; runId: string; expectedRevision: number; actionId: string; attempt: number; operation: string; }; requiredInputs: string[]; markUnknownRequest?: undefined; resultRequest: { operation: "record-outcome"; receipt: string; result: { status: string; output: import("../engine/runtime-json.js").RuntimeValue; }; } | null; commandArgs: string[]; contextRequest?: { contextMode: "snapshot"; commandArgs: string[]; instruction: string; task?: string | undefined; operation?: "verify" | "edit" | undefined; phase: string; } | undefined; reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; input: import("../engine/runtime-json.js").RuntimeValue; type: string; ref: string | undefined; claim: import("../engine/runtime-action.js").RuntimeClaim | undefined; })[] | undefined; continuation: import("./native-portable-continuation.js").NativePortableContinuation; unresolvedAcceptanceIds: string[]; verificationResult: import("./native-portable-types.js").NativePortableVerificationResult; candidateId: string | null; blockers: { owner: NativePortableState["blockers"][number]["owner"]; reason: string; acceptance_ids: string[]; resolution_action: NativePortableState["blockers"][number]["resolution_action"]; }[]; workspace: { projectRoot: string; isolation: "current" | "branch" | "worktree"; bindingState: "aligned" | "mismatch"; changeBranch: string | null; targetBranch: string | null; finish: "push" | "merge" | "pull-request" | "keep" | null; message: string | null; }; run: { id: string; revision: number; status: "running" | "failed" | "cancelled" | "waiting" | "completed"; history: { detailsCommandArgs?: string[] | undefined; settledLimit: number; actions: { total: number; omitted: number; truncated: boolean; }; waits: { total: number; omitted: number; truncated: boolean; }; evidenceWaits: { total: number; omitted: number; truncated: boolean; }; }; actions: { reason?: string | undefined; id: string; stepId: string; status: import("../engine/runtime-action.js").RuntimeActionStatus; attempt: number; inputHash: string; }[]; waits: { id: string; stepId: string; status: "pending" | "cancelled" | "resolved"; proposalHash: string; choices: string[]; }[]; evidenceWaits: { id: string; stepId: string; kind: string; status: "pending" | "cancelled" | "resolved" | "invalidated"; }[]; }; childAcceptanceEvidence?: ({ runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; })[] | undefined; acceptanceEvidence?: { runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | { previousCandidate?: { candidateId: string; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; runId: string; candidateId: string | null; candidateCommit: string | null; projectRoot: string; child: null; items: { id: string; source: string; text: string; result: import("./native-portable-types.js").NativePortableAcceptanceResult; reason: string | null; evidence: string[]; builderStatus: "implemented-with-evidence" | "implemented-no-evidence" | "not-implemented" | "known-fail" | null; builderNote: string | null; checks: ({ reason?: string | undefined; acceptanceIds?: string[] | undefined; name: string; result: "timeout" | "unknown" | "failed" | "passed" | "not-run"; note: string | null; } & { stage: "build" | "verify"; })[]; gap: "no-candidate" | "no-linked-evidence" | null; }[]; } | undefined; language: "en" | "zh-CN"; phase: import("./native-portable-types.js").NativePortablePhase; status: "cancelled" | import("./native-portable-types.js").NativePortableStatus | "cancelling"; stateVersion: number; acceptance: { total: number; passed: number; failed: number; blocked: number; pending: number; }; warning?: { code: "NATIVE_REPORT_PENDING"; message: string; reportRef: string; } | undefined; preservedReports?: { ref: string; path: string; sha256: string; }[] | undefined; preservedReportsDirectory: { ref: string; path: string; }; name: string; application?: import("../workflow-application/types.js").ApplicationIdentity | undefined; skillWork?: { actionId: string; attempt: number; inputHash: string; binding: import("../workflow-application/types.js").ApplicationSkillBinding; skill: { id: string; root: string; contentHash: string; adapter: import("../workflow-application/types.js").SkillAdapterContract; files: Readonly>; }; }[] | undefined; schema: "comet.native.sdk-status.v1"; diagnostics: { stateReadable: boolean; executionReconciled: boolean; storageSettled: boolean; healthy: boolean; issues: { code: string; runId: string; message: string; nextCommand: string; }[]; }; runtimeFormat: "sdk"; }>; export type NativeSdkStatusProjection = Awaited>; //# sourceMappingURL=native-sdk-status.d.ts.map