{"data":[{"id":"586eb6c3-a86e-4062-8e60-be00a2a33da3","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"release","branch":null,"reason":"pull_request_already_merged","status":"retryable","metrics":{"receiptBytes":1782,"releaseCount":1,"toolCallCount":2,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.36.10-mission-continuation-fix","prNumber":4796,"terminal":false,"missionId":"6c1d0735-285b-41db-ad06-329b3c96bd14","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":"2d05c1265c8104865cb5e23a90a5fc53e0cdc4ef","timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"6c1d0735-285b-41db-ad06-329b3c96bd14"},"performance":null,"deploymentId":"canonical-release-2d05c1265c81","workflowRunId":31728440820,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["admin-reset-password"]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":488,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-13T17:59:33.935502+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":"2d05c1265c8104865cb5e23a90a5fc53e0cdc4ef","external_id":"canonical-release-2d05c1265c81","receipt_type":"execute_mission","idempotency_key":"mission:6c1d0735-285b-41db-ad06-329b3c96bd14:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"4dd59f49-0f20-4332-99b2-0d3827e12779","command_center_event_id":"6c1d0735-285b-41db-ad06-329b3c96bd14"},{"id":"586f78f5-b8d6-4192-864b-b12b1e4969af","source":"forgejo-exact-source","status":"verified","payload":{"sourceSha":"2f99208e47558bb35edb3ff8a1f3661ab23aa522","repository":"noel/KnockLaunchOS","repositoryProofs":[{"id":"migration-proof","path":"supabase/functions/tenant-storage-migration-v1/index.ts","blobSha":"e36ad7e898a5817d128535bc99c138d9220f2190","expectedText":"source:'contact-files'"},{"id":"contact-writers-proof","path":"supabase/functions/photos-manage/index.ts","blobSha":"fbe03143dde27cb757be3954aae926f411ccf3af","expectedText":"resolveTenantStorageBucket"},{"id":"agreement-proof","path":"supabase/functions/agreement-sign/index.ts","blobSha":"01c06e5a97f63555864632ee64c43af13c529500","expectedText":"storageBucketForAgreementPath"},{"id":"report-proof","path":"supabase/functions/generate-tarping-invoice-pdf/index.ts","blobSha":"08f3e3e3706f21498b151e9354576980de6e19ec","expectedText":"PLATFORM_STORAGE_BUCKETS.records"},{"id":"intake-proof","path":"supabase/functions/submit-demo-request/index.ts","blobSha":"91e6e3bf96807c0d29c10fb9eca4aa0bff92dc9e","expectedText":"PLATFORM_STORAGE_BUCKETS.intake"},{"id":"voice-proof","path":"supabase/functions/record-voicemail-template/index.ts","blobSha":"f67618541a69fa61663afef1495443ba988f8bfe","expectedText":"PLATFORM_STORAGE_BUCKETS.voice"}],"requestContractHash":"92ba09da84b9a05560207ebeeb190a32b92288e4d99e68f13648007d0ce6462e"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-06T02:03:34.341177+00:00","proof_gate":"request_contract_repository_verified","source_sha":"2f99208e47558bb35edb3ff8a1f3661ab23aa522","external_id":null,"receipt_type":"request_contract_repository_status","idempotency_key":"mission:c4c9d18b-e8b7-467d-b714-0cbd6627714b:request-contract-repository:92ba09da84b9a05560207ebeeb190a32b92288e4d99e68f13648007d0ce6462e:2f99208e47558bb35edb3ff8a1f3661ab23aa522","mission_step_id":"2413ecbe-1da5-48fa-9038-fee1ee19f642","command_center_event_id":"c4c9d18b-e8b7-467d-b714-0cbd6627714b"},{"id":"586fbcb1-1b46-4ae8-84d6-68f621568d74","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","supabase-migrations/live":"pending","supabase-edge-production/live":"pending"},"mainSha":"f40e9371b7d915139f70ff2934224ae1363b3953","missing":[],"pending":["forgejo-release/workflow","supabase-edge-production/live","supabase-migrations/live"],"required":["forgejo-main/source","forgejo-release/workflow","supabase-edge-production/live","supabase-migrations/live"],"sourceSha":"f40e9371b7d915139f70ff2934224ae1363b3953","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/355","runId":355,"status":"running","conclusion":null,"failedJobs":[]},"ccExecutionRuntimeProof":null},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-15T13:48:17.492017+00:00","proof_gate":"canonical_release_pending","source_sha":"f40e9371b7d915139f70ff2934224ae1363b3953","external_id":"forgejo-main-f40e9371b7d9","receipt_type":"canonical_release_status","idempotency_key":"mission:ae6b612a-1992-463a-a029-241df7129c8b:forgejo-release-status:f40e9371b7d915139f70ff2934224ae1363b3953:pending:forgejo-main/source=success|forgejo-release/workflow=pending|supabase-edge-production/live=pending|supabase-migrations/live=pending","mission_step_id":"2da3367f-edcf-4bab-9aa1-1f455ac061fa","command_center_event_id":"ae6b612a-1992-463a-a029-241df7129c8b"},{"id":"586fda60-a8a8-4064-9bca-edb3bde91fb5","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Owner explicitly authorizes unfreeze control plane for the frontend release-memory repair. Continue the same PR #2831 and update only the directly coupled release-memory invariant tests proven stale by Gate so they assert the repaired 3584 MiB container and 2560 MiB fallback heap contract instead of the old broken 3g/1024 values. Do not change unrelated behavior. Then rerun Gate, squash merge, release affected frontend only, and prove live production contains the EVENT_RENTALS pipeline repair.","wordingChanged":false,"canonicalIntent":"Owner explicitly authorizes unfreeze control plane for the frontend release-memory repair. Continue the same PR #2831 and update only the directly coupled release-memory invariant tests proven stale by Gate so they assert the repaired 3584 MiB container and 2560 MiB fallback heap contract instead of the old broken 3g/1024 values. Do not change unrelated behavior. Then rerun Gate, squash merge, release affected frontend only, and prove live production contains the EVENT_RENTALS pipeline repair.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"release-memory-contract","statement":"Frontend production release uses 3584 MiB container memory and preserves the canonical 2560 MiB Node heap in the no-minify fallback; directly coupled invariant tests assert that repaired contract.","proofConditionIds":["proof-repository","proof-production"]},{"id":"tenant-fix-live","statement":"The already-merged tenant pipeline repair containing EVENT_RENTALS is present in the live production frontend source identity.","proofConditionIds":["proof-repository","proof-production"]}],"objective":"Owner explicitly authorizes unfreeze control plane for the frontend release-memory repair. Continue the same PR #2831 and update only the directly coupled release-memory invariant tests proven stale by Gate so they assert the repaired 3584 MiB container and 2560 MiB fallback heap contract instead of the old broken 3g/1024 values. Do not change unrelated behavior. Then rerun Gate, squash merge, release affected frontend only, and prove live production contains the EVENT_RENTALS pipeline repair.","constraints":[{"id":"bounded-repair-scope","statement":"Changes remain limited to the frontend release-memory implementation plus its directly coupled release-orchestration invariant assertions; no unrelated release owners, runners, routes, tenant code, auth, database, or product behavior may change.","proofConditionIds":["proof-repository"]},{"id":"same-delivery-lineage","statement":"Continue existing mission, branch, and PR #2831; require fresh KnockLaunch Gate, squash merge, affected frontend release only, then live proof.","proofConditionIds":["proof-repository","proof-production"]},{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["proof-repository","proof-production"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["proof-repository","proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Current Forgejo main contains the repaired frontend release-memory contract, its matching invariant assertions, and the previously merged EVENT_RENTALS pipeline repair.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false},{"id":"proof-production","kind":"runtime","claim":"Cloudflare production serves the exact merged frontend source containing the EVENT_RENTALS pipeline repair after the repaired memory contract successfully releases.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":["frontend"],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"Owner-explicitly-authorizes-unfreeze-control-plane-for-the-frontend-release-memory-repair.-Continue-","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":["frontend"],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["proof-repository","proof-production"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestContractHash":"9a481f04eaa4c042884f4fe4c8c895bfc62ce067afe210ed76d8b5839af5bb0d","requestContractRevision":5,"previousRequestContractHash":"509fe4fd63314e191785fb05921c1d5fd63205efa1e9cf8775ab607712a37579"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-15T15:55:28.23275+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:1d1b2373-9c6a-48d5-944d-c5b81f498414:request-contract:9a481f04eaa4c042884f4fe4c8c895bfc62ce067afe210ed76d8b5839af5bb0d","mission_step_id":"320f1ba8-33c8-4a4c-82e6-04ce277e9ed2","command_center_event_id":"1d1b2373-9c6a-48d5-944d-c5b81f498414"},{"id":"58701619-3073-4ba1-bd1c-c399d81e9c92","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-13572c67eec5","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":32626,"releaseCount":0,"toolCallCount":6,"repeatedCallCount":1,"executorlessWaitMs":539091,"firstUsefulResultAt":"2026-09-25T11:26:58.144Z","recoveryAttemptCount":2,"ownerInterruptionCount":0},"version":"1.58.277-exact-gate-fast-path","prNumber":3711,"terminal":false,"missionId":"13572c67-eec5-4f75-91e0-d8f39413b81d","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":5576,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":5466,"approvedPlanMs":0,"missionSetupMs":375,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":272,"ledgerReconcileMs":0,"lineageReconcileMs":103,"resolvePreflightMs":375,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":272,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"13572c67-eec5-4f75-91e0-d8f39413b81d"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1523,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T11:36:10.714703+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"3711","receipt_type":"execute_mission","idempotency_key":"mission:13572c67-eec5-4f75-91e0-d8f39413b81d:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"8be3b911-1e7d-476a-9af2-b6b9996e7708","command_center_event_id":"13572c67-eec5-4f75-91e0-d8f39413b81d"},{"id":"58717353-576d-4e73-a7cc-0d67aa162bd0","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-787042c59757","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":8528,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"executorlessWaitMs":502244,"firstUsefulResultAt":"2026-10-02T00:06:23.584Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.40-powershell-source-resolution","prNumber":4420,"terminal":false,"missionId":"787042c5-9757-43ed-ad31-b4bffbe5f550","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4380,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":698,"missionSetupMs":224,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":224,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":224,"repositoryMutationMs":3682,"repositoryProviderMs":3682,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2193,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":224,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1489},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"787042c5-9757-43ed-ad31-b4bffbe5f550"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3255,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T00:14:51.168884+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"4420","receipt_type":"execute_mission","idempotency_key":"mission:787042c5-9757-43ed-ad31-b4bffbe5f550:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"10c66c4b-2342-4b6d-8992-1deb59d431e4","command_center_event_id":"787042c5-9757-43ed-ad31-b4bffbe5f550"},{"id":"5872ee97-0fe4-4575-9031-fb7244ed027e","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.46.8-intent-aware-objectives","prNumber":null,"terminal":false,"missionId":"48fb6208-f310-4b51-b501-3f6770155217","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":null,"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /repair/continue-mission automatically with this missionId without another owner prompt.","receiptRef":{"mode":"full","missionId":"48fb6208-f310-4b51-b501-3f6770155217"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":7476,"likelyAffectedFiles":["src/__tests__/commandCenter/deployDetection.test.ts","src/__tests__/contracts/canonical-deploy-dispatchers.test.ts","src/__tests__/contracts/canonical-production-release-status.test.ts","src/components/WorkflowRouter.tsx","src/__tests__/contracts/command-palette-platform-authority.contract.test.ts","src/__tests__/contracts/direct-pr-merge-release-ownership.contract.test.ts","src/components/admin/TenantUserCommandCenters.tsx","src/components/GlobalCommandPalette.tsx","src/components/ReleaseAllLeadsButton.tsx","src/components/ReleaseLeadButton.tsx","scripts/supabase-migration-release.mjs","src/components/ContactsRouter.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-15T22:04:49.53893+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:48fb6208-f310-4b51-b501-3f6770155217:execute_mission:repair_mission_synthesis_ready","mission_step_id":"ddc919bd-1c97-4d77-9a4d-ec66b16f2abf","command_center_event_id":"48fb6208-f310-4b51-b501-3f6770155217"},{"id":"587679f7-ff74-4b9d-b12c-c54696ddf4ea","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"5ee5d758bdb8d71d86d8d25e02674183dae610f0","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"helper-closed","satisfied":true,"statement":"kl_readable_tenant_storage_bucket is not directly executable by PUBLIC, anon, or authenticated.","proofConditionIds":["repo","runtime","advisor"]},{"id":"callers-preserved","satisfied":true,"statement":"kl_assign_readable_tenant_storage_bucket and kl_tenant_storage_bucket remain present and functional call paths.","proofConditionIds":["runtime"]}],"satisfied":true,"constraints":[{"id":"scope","satisfied":true,"statement":"Do not change kl_tenant_storage_bucket grants, storage policies, function bodies, triggers, or other RPCs.","proofConditionIds":["repo","runtime"]},{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["repo","runtime","advisor"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["repo","runtime","advisor"]}],"contractHash":"cd9ae3d6c539109d12ca302dd23e7dfd5d07cd2b4514182946d95935f5e35fd3","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"repo","kind":"repository","evidence":{"reason":null,"gateRunId":9599,"satisfied":true,"gateTestProof":null,"gateTestPassed":false,"missingTargets":[],"gateTestExecuted":false,"disallowedTargets":[],"migrationRequired":true,"namedGateTestPath":null,"releaseTargetStates":{"migrations":"success"},"repositoryProofGate":"request_contract_repository_verified","repositoryProofPath":null,"requestContractHash":"cd9ae3d6c539109d12ca302dd23e7dfd5d07cd2b4514182946d95935f5e35fd3","unsuccessfulTargets":[],"activeReleaseTargets":["migrations"],"allowedReleaseTargets":["migrations"],"repositoryProofStatus":"verified","expectedRepositoryPath":null,"namedGateTestSatisfied":true,"requiredReleaseTargets":["migrations"],"migrationReleaseVerified":true,"repositoryConditionBound":true,"repositoryProofSourceSha":"5ee5d758bdb8d71d86d8d25e02674183dae610f0"},"required":true,"satisfied":true},{"id":"runtime","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":true,"releaseTargetStates":{"migrations":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["migrations"],"allowedReleaseTargets":["migrations"],"requiredReleaseTargets":["migrations"],"migrationReleaseVerified":true,"releaseRequestContractHash":"cd9ae3d6c539109d12ca302dd23e7dfd5d07cd2b4514182946d95935f5e35fd3"},"required":true,"satisfied":true},{"id":"advisor","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":true,"releaseTargetStates":{"migrations":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["migrations"],"allowedReleaseTargets":["migrations"],"requiredReleaseTargets":["migrations"],"migrationReleaseVerified":true,"releaseRequestContractHash":"cd9ae3d6c539109d12ca302dd23e7dfd5d07cd2b4514182946d95935f5e35fd3"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["migrations"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-18T15:02:43.697751+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"5ee5d758bdb8d71d86d8d25e02674183dae610f0","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:3643a564-81d7-4c52-8e41-c4354183f7c9:request-contract:cd9ae3d6c539109d12ca302dd23e7dfd5d07cd2b4514182946d95935f5e35fd3:5ee5d758bdb8d71d86d8d25e02674183dae610f0:verified:","mission_step_id":"9ce3e25f-5fe9-45e2-985e-0fde5426c6bc","command_center_event_id":"3643a564-81d7-4c52-8e41-c4354183f7c9"},{"id":"587732e0-10a1-4db1-ad72-8fc5144801ee","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/control-plane-source-resolution-fail-closed","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":1799,"terminal":false,"missionId":"23641945-9fb4-4c4e-8748-8375ab892303","operation":"automatic_mission_resume","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"prReadinessMs":3387,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"23641945-9fb4-4c4e-8748-8375ab892303"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1292,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-05T09:02:12.085783+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"1799","receipt_type":"automatic_mission_resume","idempotency_key":"mission:23641945-9fb4-4c4e-8748-8375ab892303:automatic-mission-resume:1799:repair_mission_waiting_for_gate","mission_step_id":"054f2558-e665-4f47-b952-5b7e1da91135","command_center_event_id":"23641945-9fb4-4c4e-8748-8375ab892303"},{"id":"58797314-0c89-4919-b953-55647ba706f4","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-mtdcn51i","reason":"anchored_edit_invalid","status":"blocked","metrics":{"receiptBytes":9242,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.55.3-resumable-domain-registry","prNumber":null,"terminal":false,"missionId":"9aca93d3-a498-45c5-8a10-8c8116c071a7","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"handlerMs":327,"prReadinessMs":0,"approvedPlanMs":327,"missionSetupMs":3647,"shipAndProveMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"9aca93d3-a498-45c5-8a10-8c8116c071a7"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5347,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-28T19:35:42.271504+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:9aca93d3-a498-45c5-8a10-8c8116c071a7:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"aa43ab95-2023-4a03-8946-65e0d30a820a","command_center_event_id":"9aca93d3-a498-45c5-8a10-8c8116c071a7"},{"id":"587ab636-cbdd-4d9c-a3dd-a77a01098e99","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"a0e5e81b3890f3fdc6d2be946e9ad54659dfe0ca","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"pcg-bootstrap-recovery","satisfied":true,"statement":"Ship bounded PCG activation recovery and stale Squarespace logo protection without regressing the live owner-route fix.","proofConditionIds":["repo","release","runtime"]}],"satisfied":true,"constraints":[{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["repo","release","runtime"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["repo","release","runtime"]}],"contractHash":"8ab3c9e1cedad686fb107fa5fe0f646793050d3778cc7260f1452c9dbb3b460e","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"repo","kind":"repository","evidence":{"reason":null,"gateRunId":16150,"satisfied":true,"gateTestProof":null,"gateTestPassed":false,"missingTargets":[],"gateTestExecuted":false,"disallowedTargets":[],"migrationRequired":false,"namedGateTestPath":null,"releaseTargetStates":{"frontend":"success"},"repositoryProofGate":"request_contract_repository_verified","repositoryProofPath":null,"requestContractHash":"8ab3c9e1cedad686fb107fa5fe0f646793050d3778cc7260f1452c9dbb3b460e","unsuccessfulTargets":[],"activeReleaseTargets":["frontend"],"allowedReleaseTargets":[],"repositoryProofStatus":"verified","expectedRepositoryPath":null,"namedGateTestSatisfied":true,"requiredReleaseTargets":[],"migrationReleaseVerified":null,"repositoryConditionBound":true,"repositoryProofSourceSha":"a0e5e81b3890f3fdc6d2be946e9ad54659dfe0ca"},"required":true,"satisfied":true},{"id":"release","kind":"release","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend"],"allowedReleaseTargets":[],"requiredReleaseTargets":["frontend"],"migrationReleaseVerified":null,"releaseRequestContractHash":"8ab3c9e1cedad686fb107fa5fe0f646793050d3778cc7260f1452c9dbb3b460e"},"required":true,"satisfied":true},{"id":"runtime","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend"],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"8ab3c9e1cedad686fb107fa5fe0f646793050d3778cc7260f1452c9dbb3b460e"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["frontend"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T01:07:13.525568+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"a0e5e81b3890f3fdc6d2be946e9ad54659dfe0ca","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:20337ec7-f00b-436b-a192-63feaac2e975:request-contract:8ab3c9e1cedad686fb107fa5fe0f646793050d3778cc7260f1452c9dbb3b460e:a0e5e81b3890f3fdc6d2be946e9ad54659dfe0ca:verified:","mission_step_id":"200eebb9-6110-4663-8e44-98ef43241c9d","command_center_event_id":"20337ec7-f00b-436b-a192-63feaac2e975"},{"id":"587bd997-5687-495c-a224-1c3813f8938c","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"ce13522a6d61890d7f3175e951e07ac8037963a2","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"ce13522a6d61890d7f3175e951e07ac8037963a2","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"requestContractHash":"e5d962d80d2a05117d2e1e71466571ca0717afa6f1820b6a91501136dbefd8b3","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/3665","runId":3665,"status":"running","sourceSha":"ce13522a6d61890d7f3175e951e07ac8037963a2","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-30T18:54:27.576878+00:00","proof_gate":"canonical_release_pending","source_sha":"ce13522a6d61890d7f3175e951e07ac8037963a2","external_id":"forgejo-main-ce13522a6d61","receipt_type":"canonical_release_status","idempotency_key":"mission:fb83e98c-6623-4b4b-8c63-b3c2ea80d243:forgejo-release-status:ce13522a6d61890d7f3175e951e07ac8037963a2:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"105e5016-8c8c-41e8-9b43-1b8645e24fb9","command_center_event_id":"fb83e98c-6623-4b4b-8c63-b3c2ea80d243"},{"id":"587d895d-b916-4e6a-a5fc-d957bb2668d0","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","cc-execution/runtime-proof":"pending","supabase-edge-production/live":"pending"},"mainSha":"475aa5e50741c92ced77274b14105a8a5c16cdfd","missing":[],"pending":["forgejo-release/workflow","cc-execution/runtime-proof","supabase-edge-production/live"],"required":["forgejo-main/source","forgejo-release/workflow","cc-execution/runtime-proof","supabase-edge-production/live"],"sourceSha":"475aa5e50741c92ced77274b14105a8a5c16cdfd","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":true,"edgeFunctionSlugs":["command-center-autopilot"]},"releaseTargetStates":{"ccExecution":"pending","supabaseEdge":"pending"},"requestContractHash":"30c15c7ca421792790867c3b6b51e741298cdd60dccf7d702c6447cd6c72f138","forgejoWorkflowProof":{"runId":10338,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"ccExecution":"pending","supabaseEdge":"pending"},"targetJobCount":7,"observedTargetStates":{"ccExecution":"pending","supabaseEdge":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":{"liveSha":"0646720cad3dc88b10532a280fd98ff47c311f3e","deploymentId":"forgejo-main-0646720cad3dc88b10532a280fd98ff47c311f3e","compareStatus":null,"identitySource":"local_build_metadata","runtimeVersion":"1.58.195-split-brain-safe-supervisor","containsSourceSha":false},"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T16:10:53.152736+00:00","proof_gate":"canonical_release_pending","source_sha":"475aa5e50741c92ced77274b14105a8a5c16cdfd","external_id":"forgejo-main-475aa5e50741","receipt_type":"canonical_release_status","idempotency_key":"mission:66005297-c319-496c-93a0-cf7fc140fe64:forgejo-release-status:475aa5e50741c92ced77274b14105a8a5c16cdfd:pending:forgejo-main/source=success|forgejo-release/workflow=pending|cc-execution/runtime-proof=pending|supabase-edge-production/live=pending","mission_step_id":"cc83ed00-ce46-405e-ab1b-c3f7fb890e2b","command_center_event_id":"66005297-c319-496c-93a0-cf7fc140fe64"},{"id":"587ef27c-db84-47a8-9238-3e25386e51eb","source":"forgejo","status":"waiting","payload":{"branch":"ai/retire-corrupt-empty-generations-20260827","prNumber":820,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"06eeef71316bd8843f59f9f223bd934befb7730b","branchDeletedAfterMerge":false,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-27T12:46:26.724246+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"06eeef71316bd8843f59f9f223bd934befb7730b","external_id":"820","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:5323401f-fa2a-4dab-90c9-2fd6da4f10f1:merged-pr:820:06eeef71316bd8843f59f9f223bd934befb7730b","mission_step_id":"49b9c2a3-be02-4660-ab3a-c062d123a94f","command_center_event_id":"5323401f-fa2a-4dab-90c9-2fd6da4f10f1"},{"id":"58819478-71f4-4703-b471-b4b59099e297","source":"cc-execution","status":"verified","payload":{"paths":["workers/cc-execution/test/release-orchestration-invariants.test.js"],"baseSha":"86f1fec0973ac7011108db860d8f574b437d690a","consumedAt":1787858632317,"consumerToken":"ca4ae95f-b0f8-4fd6-90e6-4ecb73f8a93c","authorizationId":"53778f68-0f48-464c-b2d9-330c159b1be3"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-27T19:23:53.315598+00:00","proof_gate":"control_plane_maintenance_single_use_consumed","source_sha":"86f1fec0973ac7011108db860d8f574b437d690a","external_id":null,"receipt_type":"control_plane_maintenance_consumed","idempotency_key":"control-plane-maintenance-consume:53778f68-0f48-464c-b2d9-330c159b1be3","mission_step_id":"3551c96c-0dfa-43ef-99f5-68a9f09366d3","command_center_event_id":"e57906ff-764d-4381-9f3a-8b48dc1874fe"},{"id":"5881e163-046a-49a9-8a86-180fde181ae0","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"source_lineage_merged_pr_authoritative\",\"status\":\"waiting\",\"proofGate\":\"forgejo_merged_pr_is_authoritative_source_lineage\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":2,\"verified\":0,\"pending\":2,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\",\"proof-visual\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-09-24T22:43:45.942719+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-5fd3401caf6a\",\"prNumber\":3669,\"sourceSha\":\"7dfe9cfa2433f31c058491af532f8e8367e2004c\",\"deploymentId\":\"forgejo-main-7dfe9cfa2433\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T19:47:23.45271+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:5fd3401c-af6a-4c0a-8d1a-c68868f7340d:owner-progress-heartbeat:119351949","mission_step_id":"3ac319a8-f5e4-49b9-91ec-918af9b7b3a3","command_center_event_id":"5fd3401c-af6a-4c0a-8d1a-c68868f7340d"},{"id":"5883cf49-f33c-4394-a423-002df18102c2","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-51a30c4e9645","reason":"canonical_release_queue_busy:15857","status":"blocked","metrics":{"receiptBytes":255453,"releaseCount":0,"toolCallCount":67,"repeatedCallCount":55,"executorlessWaitMs":1412938,"firstUsefulResultAt":"2026-10-05T16:38:30.307Z","recoveryAttemptCount":52,"ownerInterruptionCount":0},"version":"1.64.99-positive-mutation-admission","prNumber":4992,"terminal":false,"missionId":"51a30c4e-9645-4e2e-8ca1-f19bc4d0170e","operation":"execute_mission","proofGate":"canonical_release_blocked","sourceSha":"03f84f9eec88ed605bcf529fa096682ead9c4c4a","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1450,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":224,"approvedPlanMs":0,"missionSetupMs":1526,"providerAuthMs":0,"shipAndProveMs":553,"ledgerPrepareMs":271,"ledgerReconcileMs":0,"lineageReconcileMs":1255,"resolvePreflightMs":1526,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":271,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"51a30c4e-9645-4e2e-8ca1-f19bc4d0170e"},"performance":null,"deploymentId":"forgejo-main-03f84f9eec88","releaseState":"pending","workflowRunId":15857,"releaseTargets":{"frontend":true,"migrations":true,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["pcg-marketplace"]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1410,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T17:02:05.882379+00:00","proof_gate":"canonical_release_blocked","source_sha":"03f84f9eec88ed605bcf529fa096682ead9c4c4a","external_id":"forgejo-main-03f84f9eec88","receipt_type":"execute_mission","idempotency_key":"mission:51a30c4e-9645-4e2e-8ca1-f19bc4d0170e:execute_mission:canonical_release_blocked:current-generation","mission_step_id":"6dc59dcf-ea76-40e1-94fd-265821f5c94b","command_center_event_id":"51a30c4e-9645-4e2e-8ca1-f19bc4d0170e"},{"id":"5884514e-5341-462b-b414-95aa7d923ba4","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Unfreeze control plane only as needed to complete the already-authorized green PR #1734 at exact head ce7a5aab676a4c694acbad0f3145bafb04b39b85. Squash merge it, release cc-execution only, verify live runtime version 1.58.57-repository-proof-queue-health at the merged protected-main SHA, then refreeze the control plane. Do not modify source further.","wordingChanged":false,"canonicalIntent":"Unfreeze control plane only as needed to complete the already-authorized green PR #1734 at exact head ce7a5aab676a4c694acbad0f3145bafb04b39b85. Squash merge it, release cc-execution only, verify live runtime version 1.58.57-repository-proof-queue-health at the merged protected-main SHA, then refreeze the control plane. Do not modify source further.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"runtime-fixed","statement":"The control plane queue-health classification and repository-proof semantics are corrected in live cc-execution.","proofConditionIds":["runtime"]}],"objective":"Unfreeze control plane only as needed to complete the already-authorized green PR #1734 at exact head ce7a5aab676a4c694acbad0f3145bafb04b39b85. Squash merge it, release cc-execution only, verify live runtime version 1.58.57-repository-proof-queue-health at the merged protected-main SHA, then refreeze the control plane. Do not modify source further.","constraints":[{"id":"scope","statement":"No source changes beyond already-green PR #1734; only ccExecution releases and the control plane is refrozen.","proofConditionIds":["runtime"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"runtime","kind":"runtime","claim":"Live cc-execution reports 1.58.57-repository-proof-queue-health at the merged main SHA after refreeze.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":["ccExecution"]}],"validationErrors":[]},"requestContractHash":"ab41749acc6a4eafb27c0339f1ad7c701d38426a0e21ddbf961357470ac3d6f4","requestContractRevision":3,"previousRequestContractHash":"3ae9dc2fa1275eb2e07425934c6f352e3820083d695d1482b7fc2f324fb65756"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T18:22:13.85774+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:6705d859-325f-4053-8ba2-63fc38192958:request-contract:ab41749acc6a4eafb27c0339f1ad7c701d38426a0e21ddbf961357470ac3d6f4","mission_step_id":"9ff48ce4-ba53-4f02-9386-98f3ec4cbfdc","command_center_event_id":"6705d859-325f-4053-8ba2-63fc38192958"},{"id":"588452a5-f1f0-4863-ac88-814ee01c4159","source":"durable-mission-ledger","status":"pending","payload":{"sourceSha":"eb1051e9f4ef935e390a8160ddd242507cbab612","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"outcome-1","satisfied":false,"statement":"The mail-continuity capability manifest declares src/pages/settings/TenantSettingsPage.tsx as a governed surface while preserving the existing runtime/data/auth/provider contract.","proofConditionIds":["proof-repository","proof-production"]},{"id":"outcome-2","satisfied":true,"statement":"PR #2822 passes the canonical Gate and its Big Papi mobile Settings and invoice UX repair reaches production through the existing frontend release path.","proofConditionIds":["proof-production"]}],"satisfied":false,"constraints":[{"id":"same-pr","satisfied":false,"statement":"Continue only PR #2822 and branch ai/objective-first-repair-mu2raer9; create no replacement branch or PR.","proofConditionIds":["proof-repository"]},{"id":"no-runtime-semantics-change","satisfied":false,"statement":"Do not change mail-continuity backend semantics, schema, auth, provider behavior, invoice persistence, pricing, or Square behavior.","proofConditionIds":["proof-repository"]},{"id":"capability-completeness","satisfied":false,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["proof-repository","proof-production"]},{"id":"atomic-capability-lifecycle","satisfied":false,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["proof-repository","proof-production"]}],"contractHash":"8284717e8a5479f64d38c6a2ccda943cb55b4deac432cc3a05cff3e6eb0e0572","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"proof-repository","kind":"repository","evidence":{"reason":null,"satisfied":true,"missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success"},"repositoryProofGate":null,"repositoryProofPath":null,"requestContractHash":"8284717e8a5479f64d38c6a2ccda943cb55b4deac432cc3a05cff3e6eb0e0572","unsuccessfulTargets":[],"activeReleaseTargets":["frontend"],"allowedReleaseTargets":["frontend"],"repositoryProofStatus":"required","expectedRepositoryPath":null,"requiredReleaseTargets":[],"migrationReleaseVerified":null,"repositoryConditionBound":false,"repositoryProofSourceSha":null},"required":true,"satisfied":false},{"id":"proof-production","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend"],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"],"migrationReleaseVerified":null,"releaseRequestContractHash":"8284717e8a5479f64d38c6a2ccda943cb55b4deac432cc3a05cff3e6eb0e0572"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":["repository"],"activeReleaseTargets":["frontend"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-15T14:44:47.323132+00:00","proof_gate":"request_contract_pending","source_sha":"eb1051e9f4ef935e390a8160ddd242507cbab612","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:996e7b99-0ac3-40fb-b346-fa1f14b360a1:request-contract:8284717e8a5479f64d38c6a2ccda943cb55b4deac432cc3a05cff3e6eb0e0572:eb1051e9f4ef935e390a8160ddd242507cbab612:pending:repository","mission_step_id":"597eb320-6120-438b-8430-a38091d2faca","command_center_event_id":"996e7b99-0ac3-40fb-b346-fa1f14b360a1"},{"id":"588471da-774e-4c0b-b103-9cc0e2fe5c09","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-25292583cf21","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":67166,"releaseCount":0,"toolCallCount":32,"repeatedCallCount":19,"executorlessWaitMs":596078,"firstUsefulResultAt":"2026-10-02T01:54:23.339Z","recoveryAttemptCount":10,"ownerInterruptionCount":0},"version":"1.64.47-paul-owner-answer-quality","prNumber":4450,"terminal":false,"missionId":"25292583-cf21-4de1-9ded-df4d2797912d","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"c7cbaf23438ab0012386598eb4e9959a8fb439b4","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":6678,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":3000,"approvedPlanMs":0,"missionSetupMs":380,"providerAuthMs":0,"shipAndProveMs":3230,"ledgerPrepareMs":229,"ledgerReconcileMs":0,"lineageReconcileMs":151,"resolvePreflightMs":380,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":229,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"25292583-cf21-4de1-9ded-df4d2797912d"},"performance":null,"deploymentId":"forgejo-main-c7cbaf23438a","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["repository"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2744,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T01:56:15.253864+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"2583c6fd7edb72fa98dc3ff9c37228b416b8c1d7","external_id":"forgejo-main-2583c6fd7edb","receipt_type":"execute_mission","idempotency_key":"mission:25292583-cf21-4de1-9ded-df4d2797912d:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"defb33b6-d2ac-4dcb-9030-3169cacaf6aa","command_center_event_id":"25292583-cf21-4de1-9ded-df4d2797912d"},{"id":"58853430-b97a-4958-a180-6d86d8f5e415","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-e7421d1b63cc","prNumber":3050,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"a61ff3cb8701bd683c8671a4c90222392377eb0f","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-17T22:52:26.528745+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"a61ff3cb8701bd683c8671a4c90222392377eb0f","external_id":"3050","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:e7421d1b-63cc-424d-b305-5a23afbcc8da:merged-pr:3050:a61ff3cb8701bd683c8671a4c90222392377eb0f","mission_step_id":"0b065b40-ce21-41cc-87e8-4a1207746bb7","command_center_event_id":"e7421d1b-63cc-424d-b305-5a23afbcc8da"},{"id":"5886f8f5-f896-4174-a713-7fa16e092ebb","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-e75a65527477","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":18580,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":"2026-09-24T04:03:32.324Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.228-visual-artifact-scope","prNumber":3568,"terminal":false,"missionId":"e75a6552-7477-4e77-adf2-9e538404eb42","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":9656,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":1789,"missionSetupMs":249,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":249,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":249,"repositoryMutationMs":7867,"repositoryProviderMs":7867,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":5600,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":249,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":2267},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"e75a6552-7477-4e77-adf2-9e538404eb42"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4037,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T04:03:42.970206+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"3568","receipt_type":"execute_mission","idempotency_key":"mission:e75a6552-7477-4e77-adf2-9e538404eb42:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"bf6ce619-af76-412a-8a36-a5a97ef83ebf","command_center_event_id":"e75a6552-7477-4e77-adf2-9e538404eb42"},{"id":"5887af62-43eb-44c0-9a88-c31b488b4122","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/whatsmyprogress-portal-host-routing-20260902","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":1266,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.4-refresh-fastpath","prNumber":1392,"terminal":false,"missionId":"3734cf68-e297-4a04-93d8-b91d868eeeb9","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"handlerMs":1124,"prReadinessMs":985,"approvedPlanMs":0,"missionSetupMs":489,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"3734cf68-e297-4a04-93d8-b91d868eeeb9"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1509,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-02T05:01:45.157179+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"1392","receipt_type":"execute_mission","idempotency_key":"mission:3734cf68-e297-4a04-93d8-b91d868eeeb9:execute_mission:repair_mission_waiting_for_gate:current-generation","mission_step_id":"d22764fb-57bd-41cf-8e00-c677e3efdbf6","command_center_event_id":"3734cf68-e297-4a04-93d8-b91d868eeeb9"},{"id":"588be5e7-b6ee-4d31-9f93-63ec77fe2ae1","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","cc-execution/runtime-proof":"success"},"mainSha":"ab664db87968de6adf12a1d74cff09b07b44de1c","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","cc-execution/runtime-proof"],"sourceSha":"ab664db87968de6adf12a1d74cff09b07b44de1c","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"ccExecution":"success"},"requestContractHash":"f911c9a64c1f3bc7b24424769df7f43d4e893531bb82e2afbcfd019c4c1c27ea","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/11356","runId":11356,"source":"exact_live_cc_execution_runtime_identity","status":"running","liveSha":"ab664db87968de6adf12a1d74cff09b07b44de1c","proofGate":"cc_execution_exact_live_runtime_substitutes_transient_workflow_receipt","sourceSha":"ab664db87968de6adf12a1d74cff09b07b44de1c","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"deploymentId":"forgejo-main-ab664db87968de6adf12a1d74cff09b07b44de1c","targetStates":{"ccExecution":"pending"},"runtimeVersion":"1.58.233-source-scope-authority","targetJobCount":7,"observedTargetStates":{"ccExecution":"pending"},"workflowReceiptSubstituted":true},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":{"liveSha":"ab664db87968de6adf12a1d74cff09b07b44de1c","proofGate":"cc_execution_target_aware_runtime_identity_verified","deploymentId":"forgejo-main-ab664db87968de6adf12a1d74cff09b07b44de1c","compareStatus":"identical","workflowRunId":11356,"identitySource":"local_build_metadata","runtimeVersion":"1.58.233-source-scope-authority","workflowFailed":false,"containsSourceSha":true},"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T04:27:51.728202+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"ab664db87968de6adf12a1d74cff09b07b44de1c","external_id":"forgejo-main-ab664db87968","receipt_type":"canonical_release_status","idempotency_key":"mission:658bba0a-cc89-4847-b2da-6b1b5d4943f1:forgejo-release-status:ab664db87968de6adf12a1d74cff09b07b44de1c:verified:forgejo-main/source=success|forgejo-release/workflow=success|cc-execution/runtime-proof=success","mission_step_id":"2657e4c8-058b-4497-9e83-c196236951bc","command_center_event_id":"658bba0a-cc89-4847-b2da-6b1b5d4943f1"},{"id":"588d0ca8-ef26-4590-9843-54e1ffaa041f","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-6ff9a97fb18a","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":1,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.224-truthful-owner-progress","prNumber":3562,"terminal":false,"missionId":"6ff9a97f-b18a-456e-928b-94cd435a8fcc","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":7424,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":1839,"missionSetupMs":1219,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":351,"ledgerReconcileMs":0,"lineageReconcileMs":868,"resolvePreflightMs":1219,"repositoryMutationMs":5585,"repositoryProviderMs":5585,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":3680,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":351,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1905},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"6ff9a97f-b18a-456e-928b-94cd435a8fcc"},"performance":null,"deploymentId":null,"releaseState":"pending","workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3868,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T03:05:12.878252+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"3562","receipt_type":"execute_mission","idempotency_key":"mission:6ff9a97f-b18a-456e-928b-94cd435a8fcc:execute_mission:repair_mission_pr_handed_off_to_supervisor:generation-1","mission_step_id":"09eba763-aaaf-41ca-8d25-291d3dcd3681","command_center_event_id":"6ff9a97f-b18a-456e-928b-94cd435a8fcc"},{"id":"588dd6d7-afff-40ec-b761-76a35adfe709","source":"forgejo","status":"waiting","payload":{"branch":"ai/src-cohesion-phase-4-20260910","prNumber":2329,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"657ea3683884d21271aef457a583f62be561a652","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T21:36:01.734958+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"657ea3683884d21271aef457a583f62be561a652","external_id":"2329","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:60aafa87-912d-4cf8-86d9-e69ea6c47649:merged-pr:2329:657ea3683884d21271aef457a583f62be561a652","mission_step_id":"8d4a474d-2134-48fc-82bd-b36653a653da","command_center_event_id":"60aafa87-912d-4cf8-86d9-e69ea6c47649"},{"id":"588df9f1-13f1-413f-b066-4286cceead5f","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-36628ad9d091","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":2,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2458,"terminal":false,"missionId":"36628ad9-d091-454a-9ee6-3387c6e51337","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"ee58325d6f14ec5da42a8799ce779de57b94e676","timingsMs":{"prReadinessMs":157,"approvedPlanMs":0,"shipAndProveMs":486,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"36628ad9-d091-454a-9ee6-3387c6e51337"},"performance":null,"deploymentId":"forgejo-main-ee58325d6f14","workflowRunId":7276,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2025,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T01:11:12.931081+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"2458","receipt_type":"automatic_mission_resume","idempotency_key":"mission:36628ad9-d091-454a-9ee6-3387c6e51337:automatic-mission-resume:2458:canonical_release_dispatched","mission_step_id":"a21b6867-2e3a-4ded-9af8-7220ae124ac2","command_center_event_id":"36628ad9-d091-454a-9ee6-3387c6e51337"},{"id":"588f3fef-20a1-42d3-b9ed-3b650462c1a2","source":"forgejo-exact-source","status":"verified","payload":{"sourceSha":"581067bb3423b2ec636ae7423cb3a58246338127","repository":"noel/KnockLaunchOS","repositoryProofs":[{"id":"repo","path":null,"proof":"forgejo_merged_pr_exact_head_gate","headSha":"aef6fcbf3609b111b52a7c4c5e94a67a572f935d","prNumber":4482,"gateRunId":14354,"gateContext":"KnockLaunch Gate / KnockLaunch Gate (pull_request)","expectedText":null,"gateTargetUrl":"/noel/KnockLaunchOS/actions/runs/14354/jobs/1","mergeCommitSha":"581067bb3423b2ec636ae7423cb3a58246338127"}],"requestContractHash":"e996de22c757ea6ac216d84ed3b0e41e293860e86d3c993571f6061416c28c40","namedGateEvidenceReceiptVersion":null},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T15:41:47.382894+00:00","proof_gate":"request_contract_repository_verified","source_sha":"581067bb3423b2ec636ae7423cb3a58246338127","external_id":null,"receipt_type":"request_contract_repository_status","idempotency_key":"mission:faf0a200-96d4-4968-9e15-4037862db405:request-contract-repository:e996de22c757ea6ac216d84ed3b0e41e293860e86d3c993571f6061416c28c40:581067bb3423b2ec636ae7423cb3a58246338127","mission_step_id":"6db8f06f-4b31-4257-9ed6-a81ea671f778","command_center_event_id":"faf0a200-96d4-4968-9e15-4037862db405"},{"id":"588fb1c6-0cfc-45e3-b970-c312c395a863","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success"},"mainSha":"46ff0f563d39d9a29fbc2205c09634fc90a24ab7","missing":[],"pending":[],"required":["forgejo-main/source"],"sourceSha":"46ff0f563d39d9a29fbc2205c09634fc90a24ab7","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"requestContractHash":"1de865cf29bff67a1b7cb13ef5d3a83b3761cd589194c6876779395a83d3fa11","forgejoWorkflowProof":null,"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-01T19:36:32.65794+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"46ff0f563d39d9a29fbc2205c09634fc90a24ab7","external_id":"forgejo-main-46ff0f563d39","receipt_type":"canonical_release_status","idempotency_key":"mission:2012d139-3bc2-4d46-a7ec-7845fa91e438:forgejo-release-status:46ff0f563d39d9a29fbc2205c09634fc90a24ab7:verified:forgejo-main/source=success","mission_step_id":"3a44b9f6-ac21-4299-99e6-4f26c9772ee5","command_center_event_id":"2012d139-3bc2-4d46-a7ec-7845fa91e438"},{"id":"5892587d-687c-4e2d-ad57-635989c97afc","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.46.10-serialized-production-releases","prNumber":277,"terminal":false,"missionId":"3454926d-801b-4cc9-aa9a-ef8ac3052713","operation":"ship_and_prove","proofGate":"canonical_release_dispatched","sourceSha":"1a2ed614b233ff733b634e29a6074e67ecd67dfc","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"3454926d-801b-4cc9-aa9a-ef8ac3052713"},"performance":null,"deploymentId":"forgejo-main-1a2ed614b233","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5932,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-16T18:19:38.661155+00:00","proof_gate":"canonical_release_dispatched","source_sha":"1a2ed614b233ff733b634e29a6074e67ecd67dfc","external_id":"forgejo-main-1a2ed614b233","receipt_type":"ship_and_prove","idempotency_key":"mission:3454926d-801b-4cc9-aa9a-ef8ac3052713:ship_and_prove:canonical_release_dispatched:1a2ed614b233ff733b634e29a6074e67ecd67dfc:no-run","mission_step_id":"b602f442-5d30-455d-ae2c-4e55de274d56","command_center_event_id":"3454926d-801b-4cc9-aa9a-ef8ac3052713"},{"id":"58959b72-0a76-4762-bc29-2fbe532c890d","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"d8481e492fad3d0270685a0b13f514913740dd84","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"control-plane-host-recovery","satisfied":true,"statement":"The control plane has an independent host recovery transport through recovery.knocklaunch.app.","proofConditionIds":["proof-poller","proof-canary"]}],"satisfied":true,"constraints":[{"id":"bounded-recovery","satisfied":true,"statement":"Control-plane maintenance stays PR/Gate-bound and exposes no arbitrary shell, SSH, caller command strings, tenant/data mutation, or direct-main writes.","proofConditionIds":["proof-poller"]},{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["proof-poller","proof-canary"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["proof-poller","proof-canary"]}],"contractHash":"5c7145b8ac0aa945510f444516180baf9bd5945c41df269a4038b6a19c125641","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"proof-poller","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{},"unsuccessfulTargets":[],"activeReleaseTargets":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"5c7145b8ac0aa945510f444516180baf9bd5945c41df269a4038b6a19c125641"},"required":true,"satisfied":true},{"id":"proof-canary","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{},"unsuccessfulTargets":[],"activeReleaseTargets":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"5c7145b8ac0aa945510f444516180baf9bd5945c41df269a4038b6a19c125641"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":[]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":2},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T17:18:32.501859+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"d8481e492fad3d0270685a0b13f514913740dd84","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:75508663-b1c2-45ef-87ed-42ded59bc58f:request-contract:5c7145b8ac0aa945510f444516180baf9bd5945c41df269a4038b6a19c125641:d8481e492fad3d0270685a0b13f514913740dd84:verified:","mission_step_id":"4d5d16e0-3bbf-4a91-bc7a-5d7254f15dad","command_center_event_id":"75508663-b1c2-45ef-87ed-42ded59bc58f"},{"id":"5897dff1-90e8-44d4-912e-e4bf24d2aff6","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-f2fee72c5de9","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":1685,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":"2026-09-29T18:03:39.192Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.9-paul-hybrid-deliberation","prNumber":null,"terminal":false,"missionId":"f2fee72c-5de9-49db-9562-8404efc431e6","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":2174,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":819,"providerAuthMs":0,"ledgerPrepareMs":819,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":819,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":819,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"f2fee72c-5de9-49db-9562-8404efc431e6"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4079,"likelyAffectedFiles":["src/PrivateAppShell.tsx","src/pages/owner/KnockLaunchOSShared.tsx","src/lib/tenantMedia.ts","supabase/functions/tenant-media-library/index.ts","config/capabilities/platform-application-registry.json","scripts/windows/install-knocklaunch-autoconnect.ps1","scripts/check-route-registry.mjs"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T18:04:23.884937+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:f2fee72c-5de9-49db-9562-8404efc431e6:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"1dfdd98b-603e-49cd-9cf9-a0ddcfed27ab","command_center_event_id":"f2fee72c-5de9-49db-9562-8404efc431e6"},{"id":"58989ebe-e43d-4a26-87b9-4f194572ccad","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-059fa294dd77","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":3,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2517,"terminal":false,"missionId":"059fa294-dd77-41e6-add2-137cdee3af13","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"08eb39685a6b0854007b65ba0c92f95ba22088f8","timingsMs":{"prReadinessMs":629,"approvedPlanMs":0,"shipAndProveMs":18998,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"059fa294-dd77-41e6-add2-137cdee3af13"},"performance":null,"deploymentId":"forgejo-main-08eb39685a6b","workflowRunId":7450,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2462,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T18:34:26.696134+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"2517","receipt_type":"automatic_mission_resume","idempotency_key":"mission:059fa294-dd77-41e6-add2-137cdee3af13:automatic-mission-resume:2517:canonical_release_dispatched","mission_step_id":"adb1c1f5-447d-4a50-8074-86da8c0fde7d","command_center_event_id":"059fa294-dd77-41e6-add2-137cdee3af13"},{"id":"58994ceb-df85-4420-8a9c-0ea0c5c02914","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":"ai/tenant-route-identity-isolation-20260908","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.77-mcp-oauth-es256","prNumber":2216,"terminal":false,"missionId":"599c83fb-a92f-4cef-b4b8-d361856c8128","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":6287,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":4352,"approvedPlanMs":0,"missionSetupMs":647,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":647,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":647,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":647,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"599c83fb-a92f-4cef-b4b8-d361856c8128"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1521,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-09T02:40:46.539278+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"2216","receipt_type":"execute_mission","idempotency_key":"mission:599c83fb-a92f-4cef-b4b8-d361856c8128:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"50775cd3-4e4b-4e87-a274-b8139b2ac6c4","command_center_event_id":"599c83fb-a92f-4cef-b4b8-d361856c8128"},{"id":"5899e6f0-2e1c-4450-b974-bdf889a0a3db","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-01f6385e6091","reason":"pull_request_checks_failed","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.182-witness-render-cold-start-aware","prNumber":3158,"terminal":false,"missionId":"01f6385e-6091-4e21-91d6-3653132912ca","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":702,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":492,"approvedPlanMs":0,"missionSetupMs":470,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":346,"ledgerReconcileMs":0,"lineageReconcileMs":124,"resolvePreflightMs":470,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":346,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"01f6385e-6091-4e21-91d6-3653132912ca"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2063,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-18T22:37:28.70234+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"3158","receipt_type":"execute_mission","idempotency_key":"mission:01f6385e-6091-4e21-91d6-3653132912ca:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"630b48f6-bfdd-42f3-8965-d8b514addf65","command_center_event_id":"01f6385e-6091-4e21-91d6-3653132912ca"},{"id":"589b7d19-76db-4dce-bde2-d935f681ac05","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-a7bb6303ad7b","reason":"fresh_pr_provider_receipt_already_proves_auto_progress_gate_notifier_owns_next_state","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.144-request-contract-inference","prNumber":2704,"terminal":false,"missionId":"a7bb6303-ad7b-4737-8594-fbe56202f860","operation":"execute_mission","proofGate":"repair_mission_fresh_pr_handed_off_to_gate","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":7412,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":426,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":426,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":426,"repositoryMutationMs":7412,"repositoryProviderMs":5878,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2797,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":426,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":3081},"nextAction":"Canonical KnockLaunch Gate notifier and mission supervisor own progression from this exact PR head; do not synchronously poll Forgejo from the owner request.","receiptRef":{"mode":"full","missionId":"a7bb6303-ad7b-4737-8594-fbe56202f860"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3430,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-14T02:29:31.749869+00:00","proof_gate":"repair_mission_fresh_pr_handed_off_to_gate","source_sha":null,"external_id":"2704","receipt_type":"execute_mission","idempotency_key":"mission:a7bb6303-ad7b-4737-8594-fbe56202f860:execute_mission:repair_mission_fresh_pr_handed_off_to_gate:current-generation","mission_step_id":"92605ad6-497d-41d8-9b7e-20dd9b59f39c","command_center_event_id":"a7bb6303-ad7b-4737-8594-fbe56202f860"},{"id":"589b94ec-cd55-43d3-bf09-e56a7f03f986","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"13cd807c38a9b6ba9a062cb9ce121bf21b7f47d0","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"13cd807c38a9b6ba9a062cb9ce121bf21b7f47d0","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/698","runId":698,"status":"running","conclusion":null,"failedJobs":[]},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-16T13:04:47.244362+00:00","proof_gate":"canonical_release_pending","source_sha":"13cd807c38a9b6ba9a062cb9ce121bf21b7f47d0","external_id":"forgejo-main-13cd807c38a9","receipt_type":"canonical_release_status","idempotency_key":"mission:70823e3e-9c5b-4352-8ff4-2a960a2e5d41:forgejo-release-status:13cd807c38a9b6ba9a062cb9ce121bf21b7f47d0:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"f42d0a5b-4b61-44e6-96d1-2278846eeb8e","command_center_event_id":"70823e3e-9c5b-4352-8ff4-2a960a2e5d41"},{"id":"589d157d-c032-4752-8bbc-b7858a3fbb4f","source":"cc-execution","status":"authorized","payload":{"paths":["config/control-plane-capabilities.json","workers/cc-execution/src/entrypoint-owner-status.js","workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Owner-authorized continuation of release reliability work: prevent executorless mission starvation without adding parallel orchestration, then Gate, merge, release cc-execution, prove live behavior, and refreeze.","baseSha":"c62786630e9e416292410af15960959aabf40ba8","issuedAt":1791244231607,"expiresAt":1791244411607,"missionId":"6f54f4fa-36c2-421d-aac8-170cc986046a","authorizationId":"ad402215-0de4-4dc6-ba16-2e7a500addec","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T23:50:32.075367+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"c62786630e9e416292410af15960959aabf40ba8","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:ad402215-0de4-4dc6-ba16-2e7a500addec","mission_step_id":"dc52a185-d033-44e0-891a-1a3963b8a994","command_center_event_id":"6f54f4fa-36c2-421d-aac8-170cc986046a"},{"id":"589df972-f9c2-4ae9-9847-55ba63c661f5","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/multitarget-release-known-run-fastpath-v2-20260825","reason":"retryable_provider_transport:GET:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":1764,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.50.40-mission-read-recovery","prNumber":null,"terminal":false,"missionId":"24b3a959-a976-4a63-b5a8-c9123e85362d","operation":"execute_mission","proofGate":"repair_mission_execution_retryable","sourceSha":null,"timingsMs":{"handlerMs":29061,"prReadinessMs":0,"approvedPlanMs":29061,"missionSetupMs":538,"shipAndProveMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"24b3a959-a976-4a63-b5a8-c9123e85362d"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4961,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-25T14:26:00.612778+00:00","proof_gate":"repair_mission_execution_retryable","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:24b3a959-a976-4a63-b5a8-c9123e85362d:execute_mission:repair_mission_execution_retryable","mission_step_id":"021700d6-95e2-4e47-9c65-7b46b50b2217","command_center_event_id":"24b3a959-a976-4a63-b5a8-c9123e85362d"},{"id":"58a140c5-9d79-450e-8c30-bb31bdfbcdc8","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-344dddac5137","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.10-paul-eval-precision","prNumber":null,"terminal":false,"missionId":"344dddac-5137-4a5e-91a5-395c2d80a3aa","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1422,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":1239,"providerAuthMs":0,"ledgerPrepareMs":620,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":1239,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":620,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"344dddac-5137-4a5e-91a5-395c2d80a3aa"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5796,"likelyAffectedFiles":["supabase/functions/pcg-google-drive-media/index.ts","src/pages/card-grading/PCGOnboardingReadiness.tsx","config/capabilities/pcg-card-grading-modes.json"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"9602e177-0cbb-496c-bdf5-2fbc93f1b859","created_at":"2026-09-29T21:36:38.114373+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:344dddac-5137-4a5e-91a5-395c2d80a3aa:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"82a0dad1-d792-476e-9e5a-b485c9236f9c","command_center_event_id":"344dddac-5137-4a5e-91a5-395c2d80a3aa"},{"id":"58a24853-099d-4daf-a2a4-c99681d2f77e","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"supabase/migrations/20260928175300_backup_preparation_timeout_hardening.sql","content":"-- Keep full-backup preparation bounded but large enough for the current production dataset.\n-- This is a forward-only repair; historical migrations remain immutable.\n\ncreate or replace function public.system_backup_prepare(\n  p_trigger_source text default 'manual'::text,\n  p_source_main_sha text default null::text,\n  p_force boolean default false,\n  p_chunk_rows integer default 500\n)\nreturns uuid\nlanguage plpgsql\nsecurity definer\nset search_path to 'public', 'private', 'auth', 'storage', 'supabase_migrations', 'extensions'\nset statement_timeout to '120s'\nas $function$\ndeclare\n  v_run_id uuid;\n  v_existing uuid;\n  v_migration_head text;\n  v_database_bytes bigint;\n  v_storage_count bigint;\n  v_storage_bytes bigint;\n  v_count bigint;\n  v_offset bigint;\n  v_chunk integer := greatest(100, least(coalesce(p_chunk_rows, 500), 2000));\n  r record;\nbegin\n  if not p_force then\n    select id into v_existing\n    from public.system_backup_runs\n    where status in ('preparing','running','verifying')\n      and requested_at > now() - interval '24 hours'\n    order by requested_at desc\n    limit 1;\n    if v_existing is not null then\n      return v_existing;\n    end if;\n  end if;\n\n  select version || ' ' || name\n  into v_migration_head\n  from supabase_migrations.schema_migrations\n  order by version desc\n  limit 1;\n\n  select pg_database_size(current_database())::bigint into v_database_bytes;\n\n  select\n    count(*)::bigint,\n    coalesce(sum(case when (metadata->>'size') ~ '^[0-9]+$' then (metadata->>'size')::bigint else 0 end),0)::bigint\n  into v_storage_count, v_storage_bytes\n  from storage.objects;\n\n  insert into public.system_backup_runs(\n    trigger_source, started_at, status, source_main_sha, migration_head,\n    database_bytes, storage_object_count, storage_bytes, metadata\n  )\n  values (\n    left(coalesce(nullif(trim(p_trigger_source),''),'manual'),80),\n    now(),\n    'preparing',\n    nullif(trim(coalesce(p_source_main_sha,'')),''),\n    v_migration_head,\n    v_database_bytes,\n    v_storage_count,\n    v_storage_bytes,\n    jsonb_build_object(\n      'format','knocklaunch-full-data-backup-v1',\n      'database_consistency','best_effort_logical_plus_supabase_native_physical',\n      'schemas',jsonb_build_array('public','private','auth','storage','supabase_migrations'),\n      'storage_objects_included',true,\n      'secret_values_included',false,\n      'secret_names_cataloged',true,\n      'chunk_rows',v_chunk\n    )\n  )\n  returning id into v_run_id;\n\n  insert into public.system_backup_items(run_id, kind, row_offset, row_limit, metadata)\n  values (v_run_id, 'database_catalog', 0, 1, jsonb_build_object('format','catalog-v1'));\n\n  for r in\n    select n.nspname as schema_name, c.relname as table_name\n    from pg_class c\n    join pg_namespace n on n.oid=c.relnamespace\n    where c.relkind='r'\n      and n.nspname in ('public','private','auth','storage','supabase_migrations')\n      and not (n.nspname='public' and c.relname in ('system_backup_runs','system_backup_items'))\n    order by n.nspname,c.relname\n  loop\n    execute format('select count(*)::bigint from %I.%I',r.schema_name,r.table_name) into v_count;\n\n    if v_count=0 then\n      insert into public.system_backup_items(\n        run_id,kind,source_schema,source_table,row_offset,row_limit,metadata\n      )\n      values (\n        v_run_id,'database_chunk',r.schema_name,r.table_name,0,0,\n        jsonb_build_object('table_rows_at_prepare',0)\n      );\n    else\n      v_offset:=0;\n      while v_offset<v_count loop\n        insert into public.system_backup_items(\n          run_id,kind,source_schema,source_table,row_offset,row_limit,metadata\n        )\n        values (\n          v_run_id,'database_chunk',r.schema_name,r.table_name,v_offset,v_chunk,\n          jsonb_build_object('table_rows_at_prepare',v_count)\n        );\n        v_offset:=v_offset+v_chunk;\n      end loop;\n    end if;\n  end loop;\n\n  insert into public.system_backup_items(\n    run_id,kind,source_bucket,source_object,source_object_id,source_updated_at,\n    source_size,source_fingerprint,artifact_key,metadata\n  )\n  select\n    v_run_id,\n    'storage_object',\n    o.bucket_id,\n    o.name,\n    o.id::text,\n    coalesce(o.updated_at,o.created_at,now()),\n    case when (o.metadata->>'size') ~ '^[0-9]+$' then (o.metadata->>'size')::bigint else 0 end,\n    encode(\n      extensions.digest(\n        concat_ws('|',o.bucket_id,o.id::text,coalesce(o.updated_at,o.created_at)::text,\n          coalesce(o.metadata->>'size','0'),coalesce(o.metadata->>'mimetype','')),\n        'sha256'\n      ),\n      'hex'\n    ),\n    'blobs/storage/'||\n      regexp_replace(o.bucket_id,'[^a-zA-Z0-9._-]+','-','g')||'/'||\n      o.id::text||'/'||\n      encode(\n        extensions.digest(\n          concat_ws('|',o.bucket_id,o.id::text,coalesce(o.updated_at,o.created_at)::text,\n            coalesce(o.metadata->>'size','0'),coalesce(o.metadata->>'mimetype','')),\n          'sha256'\n        ),\n        'hex'\n      ),\n    jsonb_build_object('mime_type',o.metadata->>'mimetype')\n  from storage.objects o;\n\n  update public.system_backup_runs\n  set\n    item_count=(select count(*) from public.system_backup_items where run_id=v_run_id),\n    status='running'\n  where id=v_run_id;\n\n  return v_run_id;\nexception when others then\n  if v_run_id is not null then\n    update public.system_backup_runs\n    set status='failed',completed_at=now(),error=left(sqlerrm,2000)\n    where id=v_run_id;\n  end if;\n  raise;\nend;\n$function$;\n\nrevoke all on function public.system_backup_prepare(text,text,boolean,integer) from public, anon, authenticated;\ngrant execute on function public.system_backup_prepare(text,text,boolean,integer) to service_role;\n\ncreate or replace function private.system_backup_edge_request(\n  p_action text,\n  p_reason text default null::text,\n  p_source_main_sha text default null::text,\n  p_force boolean default false\n)\nreturns bigint\nlanguage plpgsql\nsecurity definer\nset search_path to 'private', 'vault', 'net'\nas $function$\ndeclare\n  v_token text;\n  v_request_id bigint;\nbegin\n  select decrypted_secret\n  into v_token\n  from vault.decrypted_secrets\n  where name='knocklaunch_system_backup_trigger'\n  limit 1;\n\n  if v_token is null then\n    raise exception 'system_backup_trigger_secret_missing';\n  end if;\n\n  select net.http_post(\n    url:='https://ymntrajfubicyxwwdxxa.supabase.co/functions/v1/system-backup',\n    body:=jsonb_build_object(\n      'action',coalesce(nullif(trim(p_action),''),'resume'),\n      'reason',coalesce(nullif(trim(p_reason),''),'scheduled'),\n      'sourceMainSha',nullif(trim(coalesce(p_source_main_sha,'')),''),\n      'force',coalesce(p_force,false)\n    ),\n    headers:=jsonb_build_object(\n      'Content-Type','application/json',\n      'x-backup-token',v_token\n    ),\n    timeout_milliseconds:=120000\n  )\n  into v_request_id;\n\n  return v_request_id;\nend;\n$function$;\n"}],"branch":"ai/objective-first-repair-557457b23d1f","writes":[],"patches":[],"version":1,"approved":true,"missionId":"557457b2-3d1f-44ee-9441-a5c863fcf9ec","objective":"Bridge PAUL's independence gaps by repairing the proven full-backup preparation failure so PAUL's durable knowledge and mission state remain recoverable.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["supabase/migrations/20260903165000_weekly_full_backup_system.sql","supabase/functions/system-backup/index.ts"],"implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"557457b2-3d1f-44ee-9441-a5c863fcf9ec","ownerApproved":true,"releaseIntent":null,"sourceTargets":["supabase/migrations/20260903165000_weekly_full_backup_system.sql","supabase/functions/system-backup/index.ts"],"requestContract":null,"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"43dd244b93890ffe1b041a7114c18eb382cc8ee32c044efd4e108153a4a5d497","replayCount":0,"serializedBytes":8439},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T17:57:28.662355+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:557457b2-3d1f-44ee-9441-a5c863fcf9ec:repository-mutation-intent:43dd244b93890ffe1b041a7114c18eb382cc8ee32c044efd4e108153a4a5d497:0","mission_step_id":"4dc39d42-ed7f-41d3-8f20-d2a81e9d41aa","command_center_event_id":"557457b2-3d1f-44ee-9441-a5c863fcf9ec"},{"id":"58a44f76-1ad1-4e9a-9111-6552e6981071","source":"cc-execution","status":"waiting","payload":{"body":{"body":"Prevent structured response/error objects from becoming [object Object] in /admin/console and preserve deterministic Prime evidence when synthesis is malformed.","ship":true,"files":[],"title":"Fix PAUL owner response contract","branch":"ai/objective-first-repair-05f6f3b0f93d","writes":[],"patches":[],"version":1,"approved":true,"missionId":"05f6f3b0-f93d-43cc-a9e7-274677165357","objective":"Repair the PAUL owner-interface response contract exposed by the live /admin/console screenshot. No owner-visible path may coerce structured objects into '[object Object]'. The cc-execution owner-operation lane must accept only actual human-readable text from model/provider synthesis, recursively extract known textual fields when a structured envelope is returned, otherwise keep deterministic Prime evidence as the answer. The frontend must use the same safe extraction for assistant messages and context/errors. For machinery/error analysis, deterministic fallback must include recent failure classes and anomalies so 'analyze recent errors' remains useful even if synthesis is malformed. Add regression guards, ship affected cc-execution and frontend targets through canonical Gate and release, and prove the live response contract.","sourceSha":"f545c6a02bc1c0ea8c404493214ac9f9bead91b0","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js","src/pages/admin/GodModeCommandConsole.tsx","src/__tests__/contracts/console-live-witness-control-room.contract.test.ts"],"anchored_edits":[{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"function consoleHumanText(value: unknown, fallback = '', depth = 0): string {\n  if (typeof value === 'string') return value.trim();\n  if (value instanceof Error) return String(value.message || fallback).trim();\n  if (value && typeof value === 'object' && depth < 3) {\n    for (const key of ['message','text','summary','answer','response','reason','error','failureReason']) {\n      const nested = (value as Record<string, unknown>)[key];\n      if (typeof nested === 'string' && nested.trim()) return nested.trim();\n      if (nested && typeof nested === 'object') {\n        const extracted = consoleHumanText(nested, '', depth + 1);\n        if (extracted) return extracted;\n      }\n    }\n  }\n  if (value !== null && value !== undefined && typeof value !== 'object') return String(value).trim();\n  return fallback;\n}\n\nfunction isTransientConsoleError(value: unknown) {","old_content":"function isTransientConsoleError(value: unknown) {"},{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"function cleanConsoleError(value: unknown) {\n    const raw = consoleHumanText(value, 'KNOCKLAUNCH control plane returned an unformatted error.');","old_content":"function cleanConsoleError(value: unknown) {\n    const raw = value instanceof Error ? value.message : String(value || 'KNOCKLAUNCH control plane is unavailable.');"},{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"        const data = answerOnlyIntent\n          ? await callConsoleAnswer(text, sideContext)\n          : await callConsoleOperator(text, sideContext, agentTurn);\n        let assistantMessage = consoleHumanText(data?.message, consoleHumanText(data?.response));","old_content":"        const data = answerOnlyIntent\n          ? await callConsoleAnswer(text, sideContext)\n          : await callConsoleOperator(text, sideContext, agentTurn);\n        let assistantMessage = String(data?.message || '').trim();"},{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"      const receipt = data?.receipt ?? witnessReceipt ?? null;\n      if (receipt) setLastReceipt(receipt);\n\n      let assistantMessage = consoleHumanText(data?.message, consoleHumanText(data?.response));","old_content":"      const receipt = data?.receipt ?? witnessReceipt ?? null;\n      if (receipt) setLastReceipt(receipt);\n\n      let assistantMessage = String(data?.message || '').trim();"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"const text = (value, max = 2000) => String(value || '').trim().slice(0, max);\nconst humanMessageText = (value, max = 6000, depth = 0) => {\n  if (typeof value === 'string') return text(value, max);\n  if (value instanceof Error) return text(value.message, max);\n  if (value && typeof value === 'object' && depth < 3) {\n    for (const key of ['message','text','summary','answer','response','reason','error','failureReason']) {\n      const nested = value[key];\n      if (typeof nested === 'string' && nested.trim()) return text(nested, max);\n      if (nested && typeof nested === 'object') {\n        const extracted = humanMessageText(nested, max, depth + 1);\n        if (extracted) return extracted;\n      }\n    }\n  }\n  return '';\n};","old_content":"const text = (value, max = 2000) => String(value || '').trim().slice(0, max);"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"let finalMessage=fallbackMessage||humanMessageText(decision?.message,6000)||'I could not resolve a grounded Prime read for that request.';","old_content":"let finalMessage=fallbackMessage||decision?.message||'I could not resolve a grounded Prime read for that request.';"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"const synthesizedMessage=humanMessageText(synthesis?.message,6000);if(synthesizedMessage)finalMessage=synthesizedMessage;","old_content":"if(text(synthesis?.message,6000))finalMessage=text(synthesis.message,6000);"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"function formatMachineryOperationalSummary(snapshot={}){\n  const base=formatMachineryHealth(snapshot);\n  const intelligence=snapshot?.controlPlaneAndProviders?.intelligence||snapshot?.intelligence||{};\n  const failures=Array.isArray(intelligence.topFailureClasses)?intelligence.topFailureClasses.slice(0,5).map(item=>`${item?.failureClass||item?.type||'unknown'} ×${Number(item?.count||1)}`):[];\n  const anomalies=Array.isArray(intelligence.recentAnomalies)?intelligence.recentAnomalies.slice(-3).map(item=>item?.type==='latency_spike'?`${item.operation||'operation'} latency ${Number(item.durationMs||0)}ms vs ${Number(item.budgetMs||0)}ms budget`:humanMessageText(item,240)).filter(Boolean):[];\n  return [base,failures.length?`Recent failure classes: ${failures.join(', ')}.`:'',anomalies.length?`Recent anomalies: ${anomalies.join(' | ')}.`:''].filter(Boolean).join(' ');\n}\nfunction summarizeOwnerRead(name,receipt){if(name==='paul_machinery_snapshot')return formatMachineryOperationalSummary(receipt);","old_content":"function summarizeOwnerRead(name,receipt){if(name==='paul_machinery_snapshot')return formatMachineryHealth(receipt);"},{"path":"workers/cc-execution/src/version.js","new_content":"export const CC_EXECUTION_VERSION = \"1.64.36-paul-response-contract\";","old_content":"export const CC_EXECUTION_VERSION = \"1.64.35-paul-owner-interface\";"}],"commit_message":"fix: harden PAUL owner response contract","implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"05f6f3b0-f93d-43cc-a9e7-274677165357","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js","src/pages/admin/GodModeCommandConsole.tsx","src/__tests__/contracts/console-live-witness-control-room.contract.test.ts"],"requestContract":null,"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js","src/pages/admin/GodModeCommandConsole.tsx","src/__tests__/contracts/console-live-witness-control-room.contract.test.ts"],"controlPlaneMaintenanceReason":"Live owner screenshot proves PAUL response-contract failure across cc-execution and frontend serialization; this exact five-file scope is the atomic repair."},"proofRequirements":null,"controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js","src/pages/admin/GodModeCommandConsole.tsx","src/__tests__/contracts/console-live-witness-control-room.contract.test.ts"],"controlPlaneMaintenanceReason":"Live owner screenshot proves PAUL response-contract failure across cc-execution and frontend serialization; this exact five-file scope is the atomic repair."},"recovery":false,"fingerprint":"539594e12adad7c90f4540fa3dd516b17ad044be44334707a2bd756511276065","replayCount":0,"serializedBytes":8982},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T10:58:14.178211+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:05f6f3b0-f93d-43cc-a9e7-274677165357:repository-mutation-intent:539594e12adad7c90f4540fa3dd516b17ad044be44334707a2bd756511276065:0","mission_step_id":"e0a5c57b-8c02-41eb-ae22-753afe5e2cce","command_center_event_id":"05f6f3b0-f93d-43cc-a9e7-274677165357"},{"id":"58a465a5-e775-4677-9622-c42d9ca05c79","source":"cc-execution","status":"repair_prepared","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/fix-core-edge-config-duplicate","reason":null,"status":"repair_prepared","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.30.20-pr-scoped-release-missions","prNumber":4164,"terminal":false,"missionId":"f9ebd1a5-5de1-4e1b-a201-6dfc8e5dd4cb","operation":"execute_mission","proofGate":"repair_mission_prepared","sourceSha":null,"timingsMs":null,"nextAction":"continue_batch_or_ship_and_prove","receiptRef":{"mode":"full","missionId":"f9ebd1a5-5de1-4e1b-a201-6dfc8e5dd4cb"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"onePullRequest":true,"terminalProofRequired":true},"sourceReceiptBytes":806,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-06T22:37:27.240674+00:00","proof_gate":"repair_mission_prepared","source_sha":null,"external_id":"4164","receipt_type":"execute_mission","idempotency_key":"mission:f9ebd1a5-5de1-4e1b-a201-6dfc8e5dd4cb:execute_mission:repair_mission_prepared","mission_step_id":"8c868539-a6c3-4266-9b25-1443edb6d89d","command_center_event_id":"f9ebd1a5-5de1-4e1b-a201-6dfc8e5dd4cb"},{"id":"58a4dbad-54fc-4595-bb08-7949be359add","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in implementation.","nextAction":{"lane":"cc-execution","action":"continue_implementation","reason":"durable_state:implementation","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"repository_mutation_intent\",\"status\":\"waiting\",\"proofGate\":\"repository_mutation_intent_persisted\"},\"activeStep\":{\"key\":\"implementation\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"continue_implementation\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:implementation\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"continue_implementation\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-10-04T22:54:37.760495+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-5ddc230c9d29\",\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T19:55:43.932694+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:5ddc230c-9d29-4bcf-aefa-a4d27c949d9c:owner-progress-heartbeat:119409582","mission_step_id":"752d9ded-7ca4-47b2-bd57-52495fe886fd","command_center_event_id":"5ddc230c-9d29-4bcf-aefa-a4d27c949d9c"},{"id":"58a62129-0dd8-47ff-89a1-7fade4d3a616","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"783e3c71a91ef8cd95919f373693c1c75366776d","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"783e3c71a91ef8cd95919f373693c1c75366776d","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"4450131fdfb1f115772ccf8a48ab324778678961ba2c4b0430a937546c261c47","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/9864","runId":9864,"status":"running","sourceSha":"783e3c71a91ef8cd95919f373693c1c75366776d","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-19T03:23:18.182162+00:00","proof_gate":"canonical_release_pending","source_sha":"783e3c71a91ef8cd95919f373693c1c75366776d","external_id":"forgejo-main-783e3c71a91e","receipt_type":"canonical_release_status","idempotency_key":"mission:4d2d0e68-eda1-4c08-9813-07eae2bb176b:forgejo-release-status:783e3c71a91ef8cd95919f373693c1c75366776d:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"ad9ab3b9-7182-4321-a6de-9bd082f22626","command_center_event_id":"4d2d0e68-eda1-4c08-9813-07eae2bb176b"},{"id":"58a7f122-5226-43df-9464-9c507aaba6bd","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in reasoning required.","nextAction":{"lane":"cc-execution","action":"continue_implementation","reason":"synthesis_required","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"reasoning_required\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"execute_mission\",\"status\":\"synthesis_required\",\"proofGate\":\"repair_mission_synthesis_ready\"},\"activeStep\":{\"key\":\"implementation\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"continue_implementation\",\"lane\":\"cc-execution\",\"reason\":\"synthesis_required\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"continue_implementation\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"pull_request\",\"deadlineAt\":\"2026-10-05T13:23:47.634113+00:00\",\"recoveryAction\":\"continue_implementation\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T14:00:43.646138+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:9c7f2976-5eed-4529-935e-81d6725f1a7f:owner-progress-heartbeat:119413922","mission_step_id":"b8c54f44-8ca1-40f2-913b-5e2f8b1a9b6d","command_center_event_id":"9c7f2976-5eed-4529-935e-81d6725f1a7f"},{"id":"58aa0502-6ef3-4c50-9c91-60362dd06aab","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/seaside-visual-regression-20260806-r202608070111","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":1846,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":"1.30.20-pr-scoped-release-missions","prNumber":4170,"terminal":false,"missionId":"fb779fc9-aca4-40b9-8e61-a168139f561b","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"4dfd29aec6b38a6fe8d2cd4fb1f813d691be93ab","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"fb779fc9-aca4-40b9-8e61-a168139f561b"},"performance":null,"deploymentId":"canonical-release-4dfd29aec6b3","workflowRunId":31137230180,"releaseTargets":{"frontend":true,"onrunner":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"onePullRequest":true,"terminalProofRequired":true},"sourceReceiptBytes":2043,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"c55998b4-82a3-467e-8d35-177bb4785f6e","created_at":"2026-08-07T01:11:56.006133+00:00","proof_gate":"canonical_release_dispatched","source_sha":"4dfd29aec6b38a6fe8d2cd4fb1f813d691be93ab","external_id":"canonical-release-4dfd29aec6b3","receipt_type":"execute_mission","idempotency_key":"mission:fb779fc9-aca4-40b9-8e61-a168139f561b:execute_mission:canonical_release_dispatched","mission_step_id":"3055971c-41e4-45ea-82f4-79da382c8582","command_center_event_id":"fb779fc9-aca4-40b9-8e61-a168139f561b"},{"id":"58aeb31a-7d5e-4376-bd8b-aac0589d8492","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":null,"reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.77-mcp-oauth-es256","prNumber":2141,"terminal":false,"missionId":"b59f8db8-f26f-471b-9770-a58bcb654a67","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"72e0ccc8d2a647e9d823d4108d7a5169640220a9","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":16560,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":2603,"approvedPlanMs":0,"missionSetupMs":1020,"providerAuthMs":0,"shipAndProveMs":13282,"ledgerPrepareMs":259,"ledgerReconcileMs":0,"lineageReconcileMs":761,"resolvePreflightMs":1020,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":259,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"b59f8db8-f26f-471b-9770-a58bcb654a67"},"performance":null,"deploymentId":"forgejo-main-72e0ccc8d2a6","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2619,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-08T17:57:29.76708+00:00","proof_gate":"canonical_release_dispatched","source_sha":"72e0ccc8d2a647e9d823d4108d7a5169640220a9","external_id":"forgejo-main-72e0ccc8d2a6","receipt_type":"execute_mission","idempotency_key":"mission:b59f8db8-f26f-471b-9770-a58bcb654a67:execute_mission:canonical_release_dispatched:current-generation","mission_step_id":"1dce4521-3e35-4747-9a0a-6f294a0cd03d","command_center_event_id":"b59f8db8-f26f-471b-9770-a58bcb654a67"},{"id":"58af23e0-4030-4658-a15e-c83b3beef33b","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"branch":"ai/objective-first-repair-e3478acfa504","writes":[],"patches":[],"pr_body":"<!-- knocklaunch:auto-progress -->\n\nFresh delivery from the preserved decruft branch after terminal-mission parking. Includes the forward supervisor regression fix; no decruft work is replayed.","version":1,"approved":true,"pr_title":"Finish Forgejo authority decruft and resumed-PR lifecycle safety","missionId":"b0fe7e5b-c119-40a1-985b-4cb738209f95","objective":"Fresh delivery from the preserved repository-authority decruft branch after PR #4073 was terminal-mission parked. Explicitly recover this unique orphan branch, preserve its decruft work, refresh it against current protected main, add only the supervisor fix that lets a newer resumed mission supersede an older terminal mission for the same PR, add one regression test, and advance cc-execution to 1.63.2-resumed-pr-delivery-safe. Open one fresh PR from this preserved branch, arm it with knocklaunch:auto-progress, run canonical Gate, squash merge, release affected production owners, and verify live. Do not create another branch or replay the decruft work.","sourceSha":"770292ffa2a1898873d0290e04024eb9bb40d948","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/entrypoint-owner-status.js","workers/cc-execution/test/release-orchestration-invariants.test.js","workers/cc-execution/src/version.js"],"workstreamKey":"repo-decruft-fresh-delivery-resume-safe-1632-orphan-recovery","anchored_edits":[{"path":"workers/cc-execution/src/entrypoint-owner-status.js","edits":[{"new_content":"  return {\n    park: true,\n    reason: \"terminal_mission_pr_should_park\",\n    missionId: String(mission?.missionId || mission?.id || \"\").trim() || null,\n    missionStatus: missionStatus || \"terminal\",\n    prNumber,\n    branch,\n  };\n}\n\nexport function terminalMissionByLatestPrMission(missionItems = []) {\n  const latestMissionByPr = new Map();\n  for (const mission of Array.isArray(missionItems) ? missionItems : []) {\n    const prNumber = Number(mission?.prNumber || 0) || null;\n    if (!prNumber || latestMissionByPr.has(prNumber)) continue;\n    latestMissionByPr.set(prNumber, mission);\n  }\n  const terminalMissionByPr = new Map();\n  for (const [prNumber, mission] of latestMissionByPr.entries()) {\n    const status = String(mission?.status || \"\").trim().toLowerCase();\n    const terminal = mission?.terminal === true || TERMINAL_MISSION_QUEUE_STATES.has(status);\n    if (terminal) terminalMissionByPr.set(prNumber, mission);\n  }\n  return terminalMissionByPr;\n}\n\nfunction forgejoContentPath(path) {","old_content":"  return {\n    park: true,\n    reason: \"terminal_mission_pr_should_park\",\n    missionId: String(mission?.missionId || mission?.id || \"\").trim() || null,\n    missionStatus: missionStatus || \"terminal\",\n    prNumber,\n    branch,\n  };\n}\n\nfunction forgejoContentPath(path) {"},{"new_content":"  const missionItems = missionIndex?.ok && Array.isArray(missionIndex.data?.items) ? missionIndex.data.items : [];\n  const terminalMissionByPr = terminalMissionByLatestPrMission(missionItems);","old_content":"  const missionItems = missionIndex?.ok && Array.isArray(missionIndex.data?.items) ? missionIndex.data.items : [];\n  const terminalMissionByPr = new Map();\n  for (const mission of missionItems) {\n    const prNumber = Number(mission?.prNumber || 0) || null;\n    const status = String(mission?.status || \"\").trim().toLowerCase();\n    const terminal = mission?.terminal === true || TERMINAL_MISSION_QUEUE_STATES.has(status);\n    if (prNumber && terminal && !terminalMissionByPr.has(prNumber)) terminalMissionByPr.set(prNumber, mission);\n  }"}]},{"path":"workers/cc-execution/test/release-orchestration-invariants.test.js","edits":[{"new_content":"import { deterministicGateHeadDecision, terminalMissionByLatestPrMission, zombieGateRecoveryDecision } from \"../src/entrypoint-owner-status.js\";","old_content":"import { deterministicGateHeadDecision, zombieGateRecoveryDecision } from \"../src/entrypoint-owner-status.js\";"},{"new_content":"test(\"deterministic Gate quarantine is bound to the exact PR head\", () => {\n  const first = deterministicGateHeadDecision({ prNumber: 4040, headSha: SOURCE_SHA, failureClass: \"code_validation\" });\n  const changed = deterministicGateHeadDecision({ prNumber: 4040, headSha: COMMIT_SHA, failureClass: \"code_validation\" });\n  assert.equal(first.quarantine, true);\n  assert.equal(first.sourceChangeRequired, true);\n  assert.notEqual(first.quarantineKey, changed.quarantineKey);\n  assert.equal(deterministicGateHeadDecision({ prNumber: 4040, headSha: SOURCE_SHA, failureClass: \"infrastructure_transient\" }).quarantine, false);\n});\n\ntest(\"newer resumed mission supersedes older terminal mission for the same PR\", () => {\n  const terminal = terminalMissionByLatestPrMission([\n    { missionId: \"resumed\", prNumber: 4073, status: \"running\", terminal: false },\n    { missionId: \"cancelled\", prNumber: 4073, status: \"cancelled\", terminal: true },\n    { missionId: \"terminal-only\", prNumber: 4040, status: \"blocked\", terminal: true },\n  ]);\n  assert.equal(terminal.has(4073), false);\n  assert.equal(terminal.get(4040)?.missionId, \"terminal-only\");\n});\n\ntest(\"blocked PR backlog stays separate from runnable Gate work\", () => {","old_content":"test(\"deterministic Gate quarantine is bound to the exact PR head\", () => {\n  const first = deterministicGateHeadDecision({ prNumber: 4040, headSha: SOURCE_SHA, failureClass: \"code_validation\" });\n  const changed = deterministicGateHeadDecision({ prNumber: 4040, headSha: COMMIT_SHA, failureClass: \"code_validation\" });\n  assert.equal(first.quarantine, true);\n  assert.equal(first.sourceChangeRequired, true);\n  assert.notEqual(first.quarantineKey, changed.quarantineKey);\n  assert.equal(deterministicGateHeadDecision({ prNumber: 4040, headSha: SOURCE_SHA, failureClass: \"infrastructure_transient\" }).quarantine, false);\n});\n\ntest(\"blocked PR backlog stays separate from runnable Gate work\", () => {"}]},{"path":"workers/cc-execution/src/version.js","edits":[{"new_content":"// Release marker: Forgejo is the canonical repository and self-hosted Actions control plane.\nexport const CC_EXECUTION_VERSION = \"1.63.2-resumed-pr-delivery-safe\";","old_content":"// Release marker: Forgejo is the canonical repository and self-hosted Actions control plane.\nexport const CC_EXECUTION_VERSION = \"1.63.1-forgejo-authority-decruft\";"}]}],"implementation":{"files":[],"writes":[]},"updateStrategy":"push_to_branch","requestContract":{"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"The preserved decruft branch is recovered into one fresh PR, and older terminal missions no longer poison a newer resumed delivery for the same PR.","proofConditionIds":["proof-live"]}],"objective":"Fresh delivery from the preserved repository-authority decruft branch after PR #4073 was terminal-mission parked. Explicitly recover this unique orphan branch, preserve its decruft work, refresh it against current protected main, add only the supervisor fix that lets a newer resumed mission supersede an older terminal mission for the same PR, add one regression test, and advance cc-execution to 1.63.2-resumed-pr-delivery-safe. Open one fresh PR from this preserved branch, arm it with knocklaunch:auto-progress, run canonical Gate, squash merge, release affected production owners, and verify live. Do not create another branch or replay the decruft work.","constraints":[{"id":"same-branch","statement":"Recover preserved branch ai/objective-first-repair-e3478acfa504; do not create another branch.","proofConditionIds":["proof-live"]},{"id":"unique-orphan","statement":"Preserve the unique decruft work already on the orphan branch while refreshing against current main.","proofConditionIds":["proof-live"]},{"id":"small-forward-fix","statement":"Add only resumed-mission queue safety, its regression test, and the version bump beyond the already-proven decruft source.","proofConditionIds":["proof-live"]},{"id":"armed","statement":"Fresh PR must include knocklaunch:auto-progress so canonical merge/release supervision owns progression.","proofConditionIds":["proof-live"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-live","kind":"runtime","claim":"Fresh PR passes Gate, squash merges, affected production targets release successfully, cc-execution reports 1.63.2-resumed-pr-delivery-safe, and the resumed-PR supervisor regression is active.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/entrypoint-owner-status.js","workers/cc-execution/test/release-orchestration-invariants.test.js","workers/cc-execution/src/version.js"],"requestContract":{"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"The preserved decruft branch is recovered into one fresh PR, and older terminal missions no longer poison a newer resumed delivery for the same PR.","proofConditionIds":["proof-live"]}],"objective":"Fresh delivery from the preserved repository-authority decruft branch after PR #4073 was terminal-mission parked. Explicitly recover this unique orphan branch, preserve its decruft work, refresh it against current protected main, add only the supervisor fix that lets a newer resumed mission supersede an older terminal mission for the same PR, add one regression test, and advance cc-execution to 1.63.2-resumed-pr-delivery-safe. Open one fresh PR from this preserved branch, arm it with knocklaunch:auto-progress, run canonical Gate, squash merge, release affected production owners, and verify live. Do not create another branch or replay the decruft work.","constraints":[{"id":"same-branch","statement":"Recover preserved branch ai/objective-first-repair-e3478acfa504; do not create another branch.","proofConditionIds":["proof-live"]},{"id":"unique-orphan","statement":"Preserve the unique decruft work already on the orphan branch while refreshing against current main.","proofConditionIds":["proof-live"]},{"id":"small-forward-fix","statement":"Add only resumed-mission queue safety, its regression test, and the version bump beyond the already-proven decruft source.","proofConditionIds":["proof-live"]},{"id":"armed","statement":"Fresh PR must include knocklaunch:auto-progress so canonical merge/release supervision owns progression.","proofConditionIds":["proof-live"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-live","kind":"runtime","claim":"Fresh PR passes Gate, squash merges, affected production targets release successfully, cc-execution reports 1.63.2-resumed-pr-delivery-safe, and the resumed-PR supervisor regression is active.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/entrypoint-owner-status.js","workers/cc-execution/src/version.js"],"controlPlaneMaintenanceReason":"Owner-authorized unique-orphan branch recovery for preserved decruft work plus resumed-PR queue safety fix."},"proofRequirements":null,"controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/entrypoint-owner-status.js","workers/cc-execution/src/version.js"],"recover_orphan_unique_branch":true,"controlPlaneMaintenanceReason":"Owner-authorized unique-orphan branch recovery for preserved decruft work plus resumed-PR queue safety fix."},"recovery":false,"fingerprint":"cfffbd4df0d3ecc8a868f90fafa5007fd4ce96f42369e7d40c164011feadd0dd","replayCount":0,"serializedBytes":12044},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T03:04:12.37875+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:b0fe7e5b-c119-40a1-985b-4cb738209f95:repository-mutation-intent:cfffbd4df0d3ecc8a868f90fafa5007fd4ce96f42369e7d40c164011feadd0dd:0","mission_step_id":"be186043-ccd5-4e23-933b-50fd3355f3ee","command_center_event_id":"b0fe7e5b-c119-40a1-985b-4cb738209f95"},{"id":"58afc75b-d4bc-4e6c-bc6c-7a70b780d285","source":"cc-execution","status":"complete","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-mthglcyc","reason":null,"status":"complete","metrics":{"receiptBytes":5880,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":"1.56.5-premium-motion-source-targets","prNumber":1202,"terminal":false,"missionId":"95162210-c3e5-4b36-85cb-0e861a1c48de","operation":"execute_mission","proofGate":"repair_mission_prepared","sourceSha":null,"timingsMs":{"handlerMs":2581,"missionSetupMs":505},"nextAction":"continue_batch_or_ship_and_prove","receiptRef":{"mode":"full","missionId":"95162210-c3e5-4b36-85cb-0e861a1c48de"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1831,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-31T16:40:49.714424+00:00","proof_gate":"repair_mission_prepared","source_sha":null,"external_id":"1202","receipt_type":"execute_mission","idempotency_key":"mission:95162210-c3e5-4b36-85cb-0e861a1c48de:execute_mission:repair_mission_prepared:current-generation","mission_step_id":"3236445f-1ee7-416e-bf24-5b7253fa475e","command_center_event_id":"95162210-c3e5-4b36-85cb-0e861a1c48de"},{"id":"58b1a07a-cd46-4776-8e1c-504734e56ab2","source":"cc-execution","status":"verified","payload":{"ownerWaitSloMs":{"merge_to_live_ms":null,"owner_action_to_pr_ms":null,"green_gate_to_merge_ms":null,"owner_action_to_useful_response_ms":null},"ownerWaitLiveAt":"2026-09-20T05:18:00.698Z"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T05:03:12.624553+00:00","proof_gate":"owner_wait_live_milestone_recorded","source_sha":null,"external_id":null,"receipt_type":"owner_wait_live_milestone","idempotency_key":"mission:c934c231-599c-49be-bf9e-588eb09f363e:owner-wait-live","mission_step_id":"72379141-1d23-461d-8903-648e81a3d9da","command_center_event_id":"c934c231-599c-49be-bf9e-588eb09f363e"},{"id":"58b1c62f-447e-43f7-9718-ac468816cd18","source":"forgejo","status":"waiting","payload":{"branch":"ai/roofhelpfinder-root-video-home-20260828","prNumber":926,"nextAction":null,"mergeCommitSha":"a9fcd52bafa534e0813195f62d00ae2eafb4617f","branchDeletedAfterMerge":false,"correctiveGenerationCreated":false},"tenant_id":"c3f09b56-5ff5-4521-8a0a-39cbeb4b5275","created_at":"2026-08-28T14:34:45.245213+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"a9fcd52bafa534e0813195f62d00ae2eafb4617f","external_id":"926","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:a2aeeb9e-e949-45a9-b69b-09755df6516b:merged-pr:926:a9fcd52bafa534e0813195f62d00ae2eafb4617f","mission_step_id":"ba989b08-0b45-4ce1-9770-8f25347e5a38","command_center_event_id":"a2aeeb9e-e949-45a9-b69b-09755df6516b"},{"id":"58b5272d-cc00-4a84-9982-b0e420481444","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-3874b28b9a94","prNumber":2330,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"af727cba73548dcc19328d6c300d8d55a06ad9db","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T21:29:06.549326+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"af727cba73548dcc19328d6c300d8d55a06ad9db","external_id":"2330","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:3874b28b-9a94-4d06-b251-a2890ffa1d15:merged-pr:2330:af727cba73548dcc19328d6c300d8d55a06ad9db","mission_step_id":"d7e217a1-4f7c-4440-a61f-01792cd3d65f","command_center_event_id":"3874b28b-9a94-4d06-b251-a2890ffa1d15"},{"id":"58b5a041-5bd7-4d66-a415-a83cf2402dd7","source":"cc-execution","status":"authorized","payload":{"paths":[".forgejo/workflows/knocklaunch.yml","workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Owner explicitly directed: Unfreeze the control plane and fix the systemic failure where valid merged frontend work dies before production.","baseSha":"cb2220c2196377fa4eec4749c88c6a34f8711dff","issuedAt":1788531787416,"expiresAt":1788531967416,"missionId":"4f62731b-6fef-4ca7-95d6-4674e9d105ec","authorizationId":"3f588ddf-2f9a-4f08-b273-0672b4af2c54","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T14:23:07.836991+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"cb2220c2196377fa4eec4749c88c6a34f8711dff","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:3f588ddf-2f9a-4f08-b273-0672b4af2c54","mission_step_id":"fc872465-9cab-4a6f-976e-8f6a007dc6a8","command_center_event_id":"4f62731b-6fef-4ca7-95d6-4674e9d105ec"},{"id":"58b8cb07-1507-4049-b8e8-7b168f5911ad","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"d3881689e611622d531dbbbe8113f67d714c8973","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"d3881689e611622d531dbbbe8113f67d714c8973","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"5f9003643748b22dc0cb4b65296de769bd7042f8493814c1cb80c7916279e26f","forgejoWorkflowProof":{"runId":6806,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T18:05:06.831708+00:00","proof_gate":"canonical_release_pending","source_sha":"d3881689e611622d531dbbbe8113f67d714c8973","external_id":"forgejo-main-d3881689e611","receipt_type":"canonical_release_status","idempotency_key":"mission:88729aed-7e41-4549-bcf6-063307c41bd1:forgejo-release-status:d3881689e611622d531dbbbe8113f67d714c8973:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"ed003c83-31f6-40b4-8ae9-349bd009f62a","command_center_event_id":"88729aed-7e41-4549-bcf6-063307c41bd1"},{"id":"58bb6d73-4020-456a-899c-61d31f72c4bc","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"529a74edad06f8a3a7045b2bc41632d691d8f47b","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"529a74edad06f8a3a7045b2bc41632d691d8f47b","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"5774ae61e040b42479353cb9a60db99fea73c61afb1ba5521969473bd1b74f15","forgejoWorkflowProof":{"runId":15845,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T16:52:55.712255+00:00","proof_gate":"canonical_release_pending","source_sha":"529a74edad06f8a3a7045b2bc41632d691d8f47b","external_id":"forgejo-main-529a74edad06","receipt_type":"canonical_release_status","idempotency_key":"mission:1375ceef-01f5-41f4-8a1f-d77978f1fa74:forgejo-release-status:529a74edad06f8a3a7045b2bc41632d691d8f47b:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"a11b7778-374f-46a5-a688-9f40bb98313a","command_center_event_id":"1375ceef-01f5-41f4-8a1f-d77978f1fa74"},{"id":"58bc43cc-6dcc-4b00-b866-2ecd43d9b9f8","source":"cc-execution","status":"verified","payload":{"paths":[".forgejo/workflows/knocklaunch.yml","config/control-plane-capabilities.json","src/__tests__/contracts/command-center-forgejo-transport-reliability.contract.test.ts"],"baseSha":"3cd6fb4a81cf6b689fa133b78fa70981dbb679f8","consumedAt":1788295908809,"consumerToken":"682fba49-a04e-4774-9f93-5b8d8f86ad24","authorizationId":"d7d08962-0623-48d9-a7d6-9f832a94b2f1"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-01T20:51:50.594233+00:00","proof_gate":"control_plane_maintenance_single_use_consumed","source_sha":"3cd6fb4a81cf6b689fa133b78fa70981dbb679f8","external_id":null,"receipt_type":"control_plane_maintenance_consumed","idempotency_key":"control-plane-maintenance-consume:d7d08962-0623-48d9-a7d6-9f832a94b2f1","mission_step_id":"1d0b5ea6-3f4d-447d-9dea-fd31e699873b","command_center_event_id":"350a69d7-eecf-4b80-a7f8-72b0abfa9d0b"},{"id":"58be7685-7849-4a3a-b4e8-0a4d99105f57","source":"cc-execution","status":"verified","payload":{"paths":["workers/cc-execution/src/command-center-contracts.js","workers/cc-execution/test/anchored-edit-contract.test.js"],"baseSha":"6ece470493ed8c4f5dbbc4527963fd0ecd8094c6","consumedAt":1788052594198,"consumerToken":"b94232a7-f8b8-4abe-8b85-e46ca384f0d1","authorizationId":"648202ae-1041-4418-a0b2-deae039d986a"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-30T01:16:35.043597+00:00","proof_gate":"control_plane_maintenance_single_use_consumed","source_sha":"6ece470493ed8c4f5dbbc4527963fd0ecd8094c6","external_id":null,"receipt_type":"control_plane_maintenance_consumed","idempotency_key":"control-plane-maintenance-consume:648202ae-1041-4418-a0b2-deae039d986a","mission_step_id":"e4de4cd2-4ed5-4a56-a773-30c3cedf66ff","command_center_event_id":"8d95fa53-b59d-4d40-915d-ead5bd7983f2"},{"id":"58bee701-1c5d-40e7-ad70-a67ca60d80c7","source":"cc-execution-autonomous-supervisor","status":"advanced","payload":{"trigger":"stale_pr_continuation_refreshed","leaseEpoch":87,"afterSignature":"{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":null,\"activeStep\":null,\"nextStep\":null,\"nextSafeAction\":{\"action\":\"continue_implementation\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:implementation\",\"automationAllowed\":false,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"continue_implementation\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":0,\"verified\":0,\"pending\":0,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":null,\"deadlineAt\":null,\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/connect-customer-facing-experiences\",\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}","beforeSignature":null,"transitionBrain":"mission_status_deterministic_supervisor"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-03T17:58:18.92935+00:00","proof_gate":"deterministic_semantic_transition_journaled","source_sha":null,"external_id":null,"receipt_type":"deterministic_supervisor_transition","idempotency_key":"mission:3f6391ba-b568-4366-a6f3-3d86b033ab23:deterministic-transition:none:{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":null,\"activeStep\":null,\"nextStep\":null,\"nextSafeAction\":{\"action\":\"continue_implementation\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:implementation\",\"automationAllowed\":false,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"continue_implementation\",\"","mission_step_id":"194933c4-7366-4a5c-9289-dfa973f3ea18","command_center_event_id":"3f6391ba-b568-4366-a6f3-3d86b033ab23"},{"id":"58c03706-11d5-4f7d-aacc-510e9436212e","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-c604692a6e43","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.182-witness-render-cold-start-aware","prNumber":3178,"terminal":false,"missionId":"c604692a-6e43-4b00-9f02-761df1810376","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":5027,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":692,"missionSetupMs":242,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":242,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":242,"repositoryMutationMs":4335,"repositoryProviderMs":4335,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2383,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":242,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1952},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"c604692a-6e43-4b00-9f02-761df1810376"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3089,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-19T10:39:22.009766+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"3178","receipt_type":"execute_mission","idempotency_key":"mission:c604692a-6e43-4b00-9f02-761df1810376:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"7d57eaed-408e-4d6a-b349-69cd79b915ac","command_center_event_id":"c604692a-6e43-4b00-9f02-761df1810376"},{"id":"58c0e256-b151-4a81-8369-81aa681e7924","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"branch":"ai/objective-first-repair-b56825f5dfeb","writes":[],"patches":[],"version":1,"approved":true,"missionId":"b56825f5-dfeb-4bb3-8ea3-1a88aab50a5a","objective":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/index-mcp.js","workers/cc-execution/src/version.js"],"anchored_edits":[{"path":"workers/cc-execution/src/index-mcp.js","edits":[{"new_content":"usesLiveTruth:/NEW[-‐‑‒–—―]RUNNER/i.test(m),rejectsStaleAuthority:!/OLD[-‐‑‒–—―]RUNNER\\\\s+(?:is|appears|remains)\\\\s+(?:the )?current/i.test(m)","old_content":"usesLiveTruth:/NEW-RUNNER/i.test(m),rejectsStaleAuthority:!/OLD-RUNNER\\\\s+(?:is|appears|remains)\\\\s+(?:the )?current/i.test(m)"}]},{"path":"workers/cc-execution/src/version.js","edits":[{"new_content":"export const CC_EXECUTION_VERSION = \"1.64.16-paul-eval-dash-normalization\";","old_content":"export const CC_EXECUTION_VERSION = \"1.64.15-paul-tree-pagination\";"}]}],"implementation":{"files":[],"writes":[]},"requestContract":{"valid":true,"intent":{"rawUtterance":"get started now","wordingChanged":true,"canonicalIntent":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","resolutionStatus":"owner_authorized_exact","uniqueResolution":true,"clarificationRequired":false},"source":"owner_explicit_current_turn","version":1,"outcomes":[{"id":"fix-eval-unicode-dash","statement":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","provenance":{"reason":"Owner authorized immediate continuous PAUL improvement work.","source":"owner_explicit_current_turn","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof"]}],"objective":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","constraints":[{"id":"no-semantic-weakening","statement":"Only normalize dash punctuation; do not weaken live-truth precedence, tenant isolation, completion proof, authorization, or any other intelligence invariant.","provenance":{"reason":"False-negative repair only.","source":"owner_explicit_current_turn","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"runtime-proof","kind":"runtime","claim":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","required":true,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/index-mcp.js","workers/cc-execution/src/version.js"],"requestContract":{"valid":true,"intent":{"rawUtterance":"get started now","wordingChanged":true,"canonicalIntent":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","resolutionStatus":"owner_authorized_exact","uniqueResolution":true,"clarificationRequired":false},"source":"owner_explicit_current_turn","version":1,"outcomes":[{"id":"fix-eval-unicode-dash","statement":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","provenance":{"reason":"Owner authorized immediate continuous PAUL improvement work.","source":"owner_explicit_current_turn","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof"]}],"objective":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","constraints":[{"id":"no-semantic-weakening","statement":"Only normalize dash punctuation; do not weaken live-truth precedence, tenant isolation, completion proof, authorization, or any other intelligence invariant.","provenance":{"reason":"False-negative repair only.","source":"owner_explicit_current_turn","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"runtime-proof","kind":"runtime","claim":"Fix the PAUL production intelligence evaluator false negative in the stable-vs-live-truth case. The live runtime correctly answered NEW‑RUNNER from newer Prime evidence, but the eval failed usesLiveTruth because the model emitted a Unicode hyphen instead of ASCII '-'. Make that assertion punctuation-normalized by accepting common Unicode dash characters for NEW-RUNNER and OLD-RUNNER without weakening the semantic requirement that live Prime truth wins and stale context is rejected. Keep every other eval invariant unchanged. Bump cc-execution runtime identity, run canonical Gate, squash merge, release cc-execution, and prove the exact stable-vs-live-truth case passes live.","required":true,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"567ddef5400f880eab1a1b17825004284f343fa3923e37c4c6f08e5cbedfca89","replayCount":0,"serializedBytes":10528},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T13:58:59.738036+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:b56825f5-dfeb-4bb3-8ea3-1a88aab50a5a:repository-mutation-intent:567ddef5400f880eab1a1b17825004284f343fa3923e37c4c6f08e5cbedfca89:0","mission_step_id":"b6eb8653-e777-4a06-a11b-b5b918198a06","command_center_event_id":"b56825f5-dfeb-4bb3-8ea3-1a88aab50a5a"},{"id":"58c305fc-daa5-4702-8182-dbade391991c","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"scripts/visual-witness-hosted-runner/src/public-job-contract.mjs","content":"const BLOCKED_PUBLIC_KEYS = new Set([\n  'access',\n  'accesspreflightbyviewport',\n  'authenticateduserid',\n  'email',\n  'emailhash',\n  'experienceuserid',\n  'impersonateduserid',\n  'localstorage',\n  'operatorid',\n  'projecteduserid',\n  'projecteduseridrequired',\n  'projecteduseridnullexpected',\n  'projected_user_id',\n  'refresh_token',\n  'refreshtoken',\n  'session',\n  'storagekey',\n  'user',\n  'userid',\n  'userref',\n  'user_id',\n]);\n\nfunction normalizedKey(value) {\n  return String(value || '').replace(/[^a-zA-Z0-9_]/g, '').toLowerCase();\n}\n\nfunction blockedPublicKey(value) {\n  const normalized = normalizedKey(value);\n  const compact = normalized.replace(/_/g, '');\n  return BLOCKED_PUBLIC_KEYS.has(normalized)\n    || BLOCKED_PUBLIC_KEYS.has(compact)\n    || compact.endsWith('userid')\n    || compact.endsWith('tenantid');\n}\n\nexport function sanitizePublicWitnessValue(value) {\n  if (Array.isArray(value)) return value.map((entry) => sanitizePublicWitnessValue(entry));\n  if (!value || typeof value !== 'object') return value;\n\n  const output = {};\n  for (const [key, entry] of Object.entries(value)) {\n    if (blockedPublicKey(key)) continue;\n    output[key] = sanitizePublicWitnessValue(entry);\n  }\n  return output;\n}\n\nexport function publicWitnessProjection(projection) {\n  if (!projection || typeof projection !== 'object') return null;\n  return sanitizePublicWitnessValue({\n    contract: projection.contract || null,\n    source: projection.source || null,\n    tenantName: projection.tenantName || null,\n    tenantType: projection.tenantType || null,\n    experienceMode: projection.experienceMode || null,\n    experienceRole: projection.experienceRole || null,\n    tenantOwnerPreflightRequested: projection.tenantOwnerPreflightRequested === true,\n    tenantOwnerPreflightRequired: projection.tenantOwnerPreflightRequired === true,\n    defaultTenantOwner: projection.defaultTenantOwner === true,\n    projectionPolicy: projection.projectionPolicy || null,\n    projectionFallbackReason: projection.projectionFallbackReason || null,\n  });\n}\n\nexport function publicWitnessMission(mission) {\n  if (!mission || typeof mission !== 'object') return null;\n  return sanitizePublicWitnessValue({\n    mode: mission.mode || null,\n    scope: mission.scope || null,\n    routes: Array.isArray(mission.routes) ? mission.routes : [],\n    viewports: Array.isArray(mission.viewports) ? mission.viewports : [],\n    missionProfile: mission.missionProfile || null,\n    requestedVerificationTier: mission.requestedVerificationTier || null,\n    effectiveVerificationTier: mission.effectiveVerificationTier || null,\n    verificationReason: mission.verificationReason || null,\n    browserEngine: mission.browserEngine || null,\n    tenantOwnerPreflight: mission.tenantOwnerPreflight === true,\n    tenantProjectionPolicy: mission.tenantProjectionPolicy || null,\n  });\n}\n"},{"path":"scripts/visual-witness-hosted-runner/test/public-job-contract.test.mjs","content":"import assert from 'node:assert/strict';\nimport test from 'node:test';\nimport {\n  publicWitnessMission,\n  publicWitnessProjection,\n  sanitizePublicWitnessValue,\n} from '../src/public-job-contract.mjs';\n\ntest('public witness projection omits identity and access internals', () => {\n  const publicProjection = publicWitnessProjection({\n    contract: 'universal-godmode-experience-v1',\n    source: 'private_storage_hot_reload',\n    tenantId: 'tenant-secret-id',\n    tenantName: \"Big Papi's Coquito Iceys\",\n    experienceMode: 'role_representative',\n    experienceRole: 'Tenant Owner',\n    experienceUserId: 'projected-secret-id',\n    accessPreflightByViewport: {\n      desktop: {\n        authenticatedUserId: 'operator-secret-id',\n        impersonatedUserId: 'projected-secret-id',\n        access: { userId: 'projected-secret-id', tenantId: 'tenant-secret-id' },\n      },\n    },\n  });\n\n  const serialized = JSON.stringify(publicProjection);\n  assert.match(serialized, /Big Papi's Coquito Iceys/);\n  assert.match(serialized, /Tenant Owner/);\n  assert.doesNotMatch(serialized, /secret-id/);\n  assert.doesNotMatch(serialized, /authenticatedUserId|impersonatedUserId|accessPreflightByViewport|experienceUserId/);\n});\n\ntest('public witness mission omits user references while preserving routes and viewports', () => {\n  const publicMission = publicWitnessMission({\n    mode: 'read_only_support_access',\n    scope: 'single_route',\n    routes: ['/big-papis/owner'],\n    viewports: ['desktop', 'mobile'],\n    userRef: 'private-user-ref',\n    roleRef: 'Tenant Owner',\n    tenantOwnerPreflight: true,\n  });\n\n  const serialized = JSON.stringify(publicMission);\n  assert.match(serialized, /\\/big-papis\\/owner/);\n  assert.match(serialized, /desktop/);\n  assert.doesNotMatch(serialized, /private-user-ref|userRef/);\n});\n\ntest('recursive sanitizer removes identity-bearing keys from nested public payloads', () => {\n  const sanitized = sanitizePublicWitnessValue({\n    ok: true,\n    progress: { currentRoute: '/big-papis/owner', userId: 'secret-user' },\n    result: { projection: { projected_user_id: 'secret-projected', experienceRole: 'Tenant Owner' } },\n  });\n  const serialized = JSON.stringify(sanitized);\n  assert.match(serialized, /\\/big-papis\\/owner/);\n  assert.match(serialized, /Tenant Owner/);\n  assert.doesNotMatch(serialized, /secret-user|secret-projected|userId|projected_user_id/);\n});\n\ntest('recursive sanitizer removes nested user and tenant identity variants while preserving evidence identifiers', () => {\n  const sanitized = sanitizePublicWitnessValue({\n    jobId: 'job-safe-id',\n    checkpointAccounting: { duplicateIds: ['desktop::/big-papis/owner'] },\n    route_results: [{\n      route: '/big-papis/owner',\n      viewport: 'desktop',\n      projectionProof: {\n        verified: true,\n        tenantId: 'tenant-secret-uuid',\n        role: 'Tenant Owner',\n      },\n      diagnostic: {\n        stages: [{\n          authUserId: 'authority-secret-uuid',\n          activeTenantId: 'tenant-secret-uuid',\n          supportAccessTenantId: 'tenant-secret-uuid',\n          supportAccessUserId: 'projected-secret-uuid',\n          expected: {\n            authorityUserId: 'authority-secret-uuid',\n            tenantId: 'tenant-secret-uuid',\n            experienceRole: 'Tenant Owner',\n          },\n        }],\n      },\n      artifacts: [{ path: 'universal-witness/job-safe-id/desktop/proof.png', sha256: 'safe-hash' }],\n    }],\n  });\n\n  const serialized = JSON.stringify(sanitized);\n  assert.match(serialized, /job-safe-id/);\n  assert.match(serialized, /desktop::\\/big-papis\\/owner/);\n  assert.match(serialized, /Tenant Owner/);\n  assert.match(serialized, /safe-hash/);\n  assert.doesNotMatch(serialized, /secret-uuid/);\n  assert.doesNotMatch(serialized, /authUserId|authorityUserId|supportAccessUserId|tenantId|activeTenantId|supportAccessTenantId/);\n});\n"}],"branch":"ai/objective-first-repair-48eeeb2eecb9","writes":[],"patches":[],"version":1,"approved":true,"missionId":"48eeeb2e-ecb9-481e-a53c-91c0ca7c8936","objective":"Correct the live Visual Witness public readback sanitizer regression discovered after PR #4197. The public status payload must never serialize nested authenticated/projected user UUIDs or tenant UUIDs, while preserving safe operational evidence IDs and route evidence. Do not alter authentication/projection execution internals or Big Papi's UI.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["scripts/visual-witness-hosted-runner/src/public-job-contract.mjs","scripts/visual-witness-hosted-runner/test/public-job-contract.test.mjs"],"implementation":{"files":[],"writes":[]},"requestContract":{"outcomes":[{"id":"outcome-sanitize","statement":"Public Witness status/readback contains no user identity UUID fields and no tenant UUID fields at any nesting depth while preserving safe job/checkpoint/route/artifact evidence identifiers.","proofConditionIds":["proof-runtime"]}],"objective":"Sanitize every public Visual Witness status payload at every nesting depth without weakening internal authentication or projection.","constraints":[{"id":"preserve-auth","statement":"Do not alter internal authentication, tenant projection, role projection, or browser execution behavior.","proofConditionIds":["proof-runtime"]},{"id":"preserve-evidence","statement":"Preserve jobId, checkpoint IDs, route paths, viewport labels, screenshots, artifact hashes and paths, diagnostics without identity UUID fields, console/network failures, and evidence receipts.","proofConditionIds":["proof-runtime"]}],"proofConditions":[{"id":"proof-runtime","kind":"runtime","claim":"The corrected Visual Witness public readback sanitizer is deployed live and the affected runtime owner is healthy.","required":true}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["scripts/visual-witness-hosted-runner/src/public-job-contract.mjs","scripts/visual-witness-hosted-runner/test/public-job-contract.test.mjs"],"requestContract":{"outcomes":[{"id":"outcome-sanitize","statement":"Public Witness status/readback contains no user identity UUID fields and no tenant UUID fields at any nesting depth while preserving safe job/checkpoint/route/artifact evidence identifiers.","proofConditionIds":["proof-runtime"]}],"objective":"Sanitize every public Visual Witness status payload at every nesting depth without weakening internal authentication or projection.","constraints":[{"id":"preserve-auth","statement":"Do not alter internal authentication, tenant projection, role projection, or browser execution behavior.","proofConditionIds":["proof-runtime"]},{"id":"preserve-evidence","statement":"Preserve jobId, checkpoint IDs, route paths, viewport labels, screenshots, artifact hashes and paths, diagnostics without identity UUID fields, console/network failures, and evidence receipts.","proofConditionIds":["proof-runtime"]}],"proofConditions":[{"id":"proof-runtime","kind":"runtime","claim":"The corrected Visual Witness public readback sanitizer is deployed live and the affected runtime owner is healthy.","required":true}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"8a8b7943b27a7394c8e9fd266624d22c64e711d313039565dec59442edcf4aac","replayCount":0,"serializedBytes":10783},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T03:18:55.793102+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:48eeeb2e-ecb9-481e-a53c-91c0ca7c8936:repository-mutation-intent:8a8b7943b27a7394c8e9fd266624d22c64e711d313039565dec59442edcf4aac:0","mission_step_id":"091495d2-2e38-462b-8337-37cfb3071771","command_center_event_id":"48eeeb2e-ecb9-481e-a53c-91c0ca7c8936"},{"id":"58c52dd2-88e2-46b8-a57e-cb792d57dab3","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-3859accb2d55","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":16932,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"executorlessWaitMs":41678,"firstUsefulResultAt":"2026-09-29T01:46:32.425Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.61.0-mission-freedom-provider-gateway","prNumber":4076,"terminal":false,"missionId":"3859accb-2d55-4af2-a54b-4c8c70c7e274","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4700,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":1655,"missionSetupMs":342,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":342,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":342,"repositoryMutationMs":3045,"repositoryProviderMs":3045,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":1890,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":342,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1155},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"3859accb-2d55-4af2-a54b-4c8c70c7e274"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4097,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T01:47:19.983735+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"4076","receipt_type":"execute_mission","idempotency_key":"mission:3859accb-2d55-4af2-a54b-4c8c70c7e274:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"9c3c4916-c721-49dc-a122-c350ccdf1565","command_center_event_id":"3859accb-2d55-4af2-a54b-4c8c70c7e274"},{"id":"58c59784-3a2f-4407-9e99-b318dbffea10","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":null,"reason":"anchored_edit_anchor_missing:supabase/functions/tenant-media-library/index.ts","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.125-baseline-relative-release-canary","prNumber":null,"terminal":false,"missionId":"d3d83da6-e5e6-4505-8f51-30410a429aa9","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":2747,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":293,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":293,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":293,"repositoryMutationMs":2747,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":293,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"d3d83da6-e5e6-4505-8f51-30410a429aa9"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1536,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T15:38:37.822147+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:d3d83da6-e5e6-4505-8f51-30410a429aa9:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"d1f42be0-0986-462e-a9b6-1b1f7985835b","command_center_event_id":"d3d83da6-e5e6-4505-8f51-30410a429aa9"},{"id":"58c793de-6616-419f-bfe0-6e0d15a869db","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success","supabase-edge-production/live":"success"},"mainSha":"5eabe26c259120ae2503e3f522d1106cbd2e0c7d","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","supabase-edge-production/live","frontend-cloudflare/live"],"sourceSha":"5eabe26c259120ae2503e3f522d1106cbd2e0c7d","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["universal-extractor"]},"releaseTargetStates":{"frontend":"success","supabaseEdge":"success"},"requestContractHash":"18b738172670df39517bf2d021f66610b12a839a5ce0f99b1c0b6d221866fd3e","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/9069","runId":9069,"status":"success","sourceSha":"5eabe26c259120ae2503e3f522d1106cbd2e0c7d","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"frontend":"success","supabaseEdge":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"success","supabaseEdge":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-17T00:43:42.960187+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"5eabe26c259120ae2503e3f522d1106cbd2e0c7d","external_id":"forgejo-main-5eabe26c2591","receipt_type":"canonical_release_status","idempotency_key":"mission:0ace56a7-9189-4bd2-8c6b-ecfd24f1c886:forgejo-release-status:5eabe26c259120ae2503e3f522d1106cbd2e0c7d:verified:forgejo-main/source=success|forgejo-release/workflow=success|supabase-edge-production/live=success|frontend-cloudflare/live=success","mission_step_id":"82543a68-4a3a-404b-bcc8-104dfc223c83","command_center_event_id":"0ace56a7-9189-4bd2-8c6b-ecfd24f1c886"},{"id":"58ce391f-d5e0-44cf-b6e9-5f7bf27d664e","source":"cc-execution","status":"waiting","payload":{"sourceTargets":["src/App.tsx","src/routes/tenantExperienceRegistry.ts"],"continuationObjective":"Final tenant-routing cleanup from current main, specifically to complete live promotion of the already-merged App.tsx architecture cleanup. Move the whatsmyprogress.com public-host loader exception out of src/App.tsx into the existing src/routes/tenantExperienceRegistry.ts as a small pure helper, use that helper from App.tsx, and leave all behavior unchanged. Do not add compatibility comments, duplicate shell logic, or touch unrelated code. Gate, squash merge, deploy frontend, and verify production. This current-main frontend release must include the already-merged tenantExperienceRegistry shell refactor from PR #4967."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T16:08:00.161221+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:010e7b3b-c95c-4cac-b4ec-f74699b375cc:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"68fdfee6-e06d-4c67-ba16-8c2958a744dc","command_center_event_id":"010e7b3b-c95c-4cac-b4ec-f74699b375cc"},{"id":"58cf245f-0088-43d9-9492-9874a56945e9","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-cfa819cdb0ed","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":47419,"releaseCount":0,"toolCallCount":3,"repeatedCallCount":0,"executorlessWaitMs":14980,"firstUsefulResultAt":"2026-09-27T20:53:53.033Z","recoveryAttemptCount":1,"ownerInterruptionCount":0},"version":null,"prNumber":3903,"terminal":false,"missionId":"cfa819cd-b0ed-4c22-a862-244ca2433cc1","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":5467,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"cfa819cd-b0ed-4c22-a862-244ca2433cc1"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-27T20:54:08.066874+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"3903","receipt_type":"automatic_mission_resume","idempotency_key":"mission:cfa819cd-b0ed-4c22-a862-244ca2433cc1:automatic-mission-resume:3903:repair_mission_pr_ready_retryable","mission_step_id":"9ec41d9f-d282-461c-8e4a-269e622f4ebf","command_center_event_id":"cfa819cd-b0ed-4c22-a862-244ca2433cc1"},{"id":"58d09edd-3f9c-42d9-82ec-03400120d575","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/big-papis-shell-readiness-8e15993a","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":3,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":3318,"terminal":false,"missionId":"8e15993a-bd79-4784-a1f5-7c895009cab5","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"dd144a54cf119e0f1659fe74e55a6e15042a7f71","timingsMs":{"prReadinessMs":111,"approvedPlanMs":0,"shipAndProveMs":457,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"8e15993a-bd79-4784-a1f5-7c895009cab5"},"performance":null,"deploymentId":"forgejo-main-dd144a54cf11","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1958,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-21T00:14:04.477502+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"3318","receipt_type":"automatic_mission_resume","idempotency_key":"mission:8e15993a-bd79-4784-a1f5-7c895009cab5:automatic-mission-resume:3318:canonical_release_dispatched","mission_step_id":"7dff68aa-f35d-49e8-91fc-d804daaaccc6","command_center_event_id":"8e15993a-bd79-4784-a1f5-7c895009cab5"},{"id":"58d1a5cf-2e5d-4932-90f9-9e230d25eb3e","source":"forgejo","status":"retryable","payload":{"branch":"ai/objective-first-repair-fb3af284a35a","merged":false,"prNumber":2568,"remediationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T23:05:51.042035+00:00","proof_gate":"forgejo_closed_pr_is_authoritative_source_lineage","source_sha":null,"external_id":"2568","receipt_type":"source_lineage_pr_closed_without_merge","idempotency_key":"mission:fb3af284-a35a-4234-86f2-c743f2a20ee8:closed-pr:2568:unmerged","mission_step_id":"59e545dd-c50a-47b2-bf85-f6e23aff9992","command_center_event_id":"fb3af284-a35a-4234-86f2-c743f2a20ee8"},{"id":"58d2b529-dbc2-4ad8-9a63-e4c73f21ca37","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-97cb2657339d","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":29854,"releaseCount":0,"toolCallCount":18,"repeatedCallCount":12,"executorlessWaitMs":100407,"firstUsefulResultAt":"2026-10-06T17:21:53.585Z","recoveryAttemptCount":14,"ownerInterruptionCount":0},"version":null,"prNumber":5215,"terminal":false,"missionId":"97cb2657-339d-4c70-a670-99de8db436ba","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":2152,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"97cb2657-339d-4c70-a670-99de8db436ba"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["repository","runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T17:23:06.489067+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"5215","receipt_type":"automatic_mission_resume","idempotency_key":"mission:97cb2657-339d-4c70-a670-99de8db436ba:automatic-mission-resume:5215:repair_mission_pr_ready_retryable","mission_step_id":"c01afca4-f6c9-49fb-b12c-7ce7c95b1b2f","command_center_event_id":"97cb2657-339d-4c70-a670-99de8db436ba"},{"id":"58d3ba04-d1fe-4604-9da0-88edfcc055c2","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/fix-proposal-editor-storage-rls","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.66-repair-generation-continuation","prNumber":1928,"terminal":false,"missionId":"3d44f71b-44cc-4262-a792-39b65e4cead3","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"e1126a9ed2633789641c643e92ceab9fd789da94","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":5005,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":646,"approvedPlanMs":0,"missionSetupMs":324,"providerAuthMs":0,"shipAndProveMs":3303,"ledgerPrepareMs":324,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":324,"repositoryMutationMs":971,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":324,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"3d44f71b-44cc-4262-a792-39b65e4cead3"},"performance":null,"deploymentId":"forgejo-main-e1126a9ed263","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2908,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-09-06T03:38:07.282679+00:00","proof_gate":"canonical_release_dispatched","source_sha":"e1126a9ed2633789641c643e92ceab9fd789da94","external_id":"forgejo-main-e1126a9ed263","receipt_type":"execute_mission","idempotency_key":"mission:3d44f71b-44cc-4262-a792-39b65e4cead3:execute_mission:canonical_release_dispatched:current-generation","mission_step_id":"1cf01d73-5921-4ae5-8b6b-da79fa8f108a","command_center_event_id":"3d44f71b-44cc-4262-a792-39b65e4cead3"},{"id":"58d3bde4-58fe-490b-9bfb-0000c59b553f","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":"38559ac3-d322-4519-90c6-a5bfd2f8a101","phase":"pull_request","branch":"ai/objective-first-repair-bf49287eb585","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":171546,"releaseCount":0,"toolCallCount":116,"repeatedCallCount":99,"executorlessWaitMs":501355,"firstUsefulResultAt":"2026-10-06T00:55:09.712Z","recoveryAttemptCount":64,"ownerInterruptionCount":0},"version":null,"prNumber":5118,"terminal":false,"missionId":"bf49287e-b585-4228-abc9-2d19c6a63b77","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":2035,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"bf49287e-b585-4228-abc9-2d19c6a63b77"},"performance":null,"deploymentId":null,"releaseState":null,"visualWitness":{"role":null,"jobId":"38559ac3-d322-4519-90c6-a5bfd2f8a101","tenant":null,"runnerUrl":null,"runnerLane":null,"attemptsUsed":null,"supervisorId":null,"failureReason":"retryable_provider_transport:forgejo_provider_read_timeout","observedRoute":null,"runnerVersion":null,"attemptLineage":[],"missionOutcome":null,"requestedRoute":null,"runnerSourceSha":null,"selectedViewports":[],"checkpointAccounting":null,"correctiveGeneration":1,"restartReplayHistory":[]},"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T01:03:15.273952+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"5118","receipt_type":"automatic_mission_resume","idempotency_key":"mission:bf49287e-b585-4228-abc9-2d19c6a63b77:automatic-mission-resume:5118:repair_mission_pr_ready_retryable","mission_step_id":"dec54a6d-90a9-42b5-8e75-2a8dd2c2f041","command_center_event_id":"bf49287e-b585-4228-abc9-2d19c6a63b77"},{"id":"58d57298-b2dd-4119-9657-9c4f4336fd4f","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-d40d679a1562","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.120-synthesis-fast-read","prNumber":null,"terminal":false,"missionId":"d40d679a-1562-44fd-8818-99c6d65fb469","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":703,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":1174,"providerAuthMs":0,"ledgerPrepareMs":1174,"ledgerReconcileMs":581,"lineageReconcileMs":0,"resolvePreflightMs":1174,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":1755,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"d40d679a-1562-44fd-8818-99c6d65fb469"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4223,"likelyAffectedFiles":["src/components/admin/AdminLayout.tsx","src/components/admin/AdminSidebar.tsx","src/pages/Admin.tsx","src/pages/owner/KnockLaunchOSShared.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T00:12:01.798377+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:d40d679a-1562-44fd-8818-99c6d65fb469:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"059af87d-28a7-4ffb-b47c-470c3c440ace","command_center_event_id":"d40d679a-1562-44fd-8818-99c6d65fb469"},{"id":"58d5732f-13ef-4686-aba5-d3cca92e5cf9","source":"cc-execution","status":"recorded","payload":{"objective":"Tighten the Vista del Mar public landing page vertical rhythm only. The current reorganized landing page has excessive empty space in the hero and between sections. Modify ONLY src/pages/rental/ShortTermRentalPublic.tsx. Preserve the current content hierarchy, video background, logo, stay cards, direct-booking content, BOOK behavior, VistaReservationApplication booking overlay/form, property media, and all unrelated surfaces. Reduce oversized hero min-height/padding, tighten headline/body/button spacing, compress the trust strip and section gaps, reduce card/direct-section padding, and tighten the footer. Do not redesign again and do not touch the booking overlay. Frontend only, one PR, KnockLaunch Gate, squash merge, frontend deploy, live proof.","tenantRef":"lavistadelmar","receivedAt":"2026-08-29T22:00:55.191Z","fingerprint":"8d55cba67cb6d28b0b73f8d7e0175cc8c94ced8646834790bb5b34e268fcbbc9","workstreamRef":"lavistadelmar","conversationId":null,"canonicalBranch":"ai/tighten-vista-spacing-20260829","requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Tighten the Vista del Mar public landing page vertical rhythm only. The current reorganized landing page has excessive empty space in the hero and between sections. Modify ONLY src/pages/rental/ShortTermRentalPublic.tsx. Preserve the current content hierarchy, video background, logo, stay cards, direct-booking content, BOOK behavior, VistaReservationApplication booking overlay/form, property media, and all unrelated surfaces. Reduce oversized hero min-height/padding, tighten headline/body/button spacing, compress the trust strip and section gaps, reduce card/direct-section padding, and tighten the footer. Do not redesign again and do not touch the booking overlay. Frontend only, one PR, KnockLaunch Gate, squash merge, frontend deploy, live proof.","wordingChanged":false,"canonicalIntent":"Tighten the Vista del Mar public landing page vertical rhythm only. The current reorganized landing page has excessive empty space in the hero and between sections. Modify ONLY src/pages/rental/ShortTermRentalPublic.tsx. Preserve the current content hierarchy, video background, logo, stay cards, direct-booking content, BOOK behavior, VistaReservationApplication booking overlay/form, property media, and all unrelated surfaces. Reduce oversized hero min-height/padding, tighten headline/body/button spacing, compress the trust strip and section gaps, reduce card/direct-section padding, and tighten the footer. Do not redesign again and do not touch the booking overlay. Frontend only, one PR, KnockLaunch Gate, squash merge, frontend deploy, live proof.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-spacing","statement":"The Vista public landing page has tighter vertical rhythm with no oversized empty hero or section gaps.","proofConditionIds":["proof-live"]},{"id":"outcome-scope","statement":"The booking overlay/form and unrelated surfaces remain unchanged.","proofConditionIds":["proof-scope"]}],"objective":"Tighten the Vista del Mar public landing page vertical rhythm only. The current reorganized landing page has excessive empty space in the hero and between sections. Modify ONLY src/pages/rental/ShortTermRentalPublic.tsx. Preserve the current content hierarchy, video background, logo, stay cards, direct-booking content, BOOK behavior, VistaReservationApplication booking overlay/form, property media, and all unrelated surfaces. Reduce oversized hero min-height/padding, tighten headline/body/button spacing, compress the trust strip and section gaps, reduce card/direct-section padding, and tighten the footer. Do not redesign again and do not touch the booking overlay. Frontend only, one PR, KnockLaunch Gate, squash merge, frontend deploy, live proof.","constraints":[{"id":"constraint-file","statement":"Only src/pages/rental/ShortTermRentalPublic.tsx may change.","proofConditionIds":["proof-scope"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-live","kind":"runtime","claim":"The live Vista del Mar landing page serves the tightened spacing revision.","route":"https://app.knocklaunch.app/la-vista-del-mar","required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"]},{"id":"proof-scope","kind":"repository","claim":"The diff is limited to src/pages/rental/ShortTermRentalPublic.tsx and does not modify VistaReservationApplication.","route":"https://app.knocklaunch.app/la-vista-del-mar","required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestedBranch":"ai/tighten-vista-spacing-20260829","conversationContext":"{\"requestContract\":{\"version\":1,\"source\":\"explicit\",\"objective\":\"Remove awkward excess whitespace from the Vista del Mar public landing page while preserving the current layout and booking overlay.\",\"intent\":{\"rawUtterance\":\"you love awkward space huh?\",\"canonicalIntent\":\"Tighten excessive vertical whitespace and spacing on the Vista del Mar public landing page without redesigning the page again or touching the booking overlay.\",\"wordingChanged\":true,\"resolutionStatus\":\"exact\",\"uniqueResolution\":true,\"clarificationRequired\":false},\"outcomes\":[{\"id\":\"outcome-spacing\",\"statement\":\"The Vista public landing page has tighter vertical rhythm with no oversized empty hero or section gaps.\",\"proofConditionIds\":[\"proof-live\"]},{\"id\":\"outcome-scope\",\"statement\":\"The booking overlay/form and unrelated surfaces remain unchanged.\",\"proofConditionIds\":[\"proof-scope\"]}],\"constraints\":[{\"id\":\"constraint-file\",\"statement\":\"Only src/pages/rental/ShortTermRentalPublic.tsx may change.\",\"proofConditionIds\":[\"proof-scope\"]}],\"proofConditions\":[{\"id\":\"proof-live\",\"kind\":\"runtime\",\"claim\":\"The live Vista del Mar landing page serves the tightened spacing revision.\",\"route\":\"https://app.knocklaunch.app/la-vista-del-mar\",\"required\":true,\"targetedActions\":[],\"allowedReleaseTargets\":[\"frontend\"],\"requiredReleaseTargets\":[\"frontend\"]},{\"id\":\"proof-scope\",\"kind\":\"repository\",\"claim\":\"The diff is limited to src/pages/rental/ShortTermRentalPublic.tsx and does not modify VistaReservationApplication.\",\"route\":\"https://app.knocklaunch.app/la-vista-del-mar\",\"required\":true,\"targetedActions\":[],\"allowedReleaseTargets\":[\"frontend\"],\"requiredReleaseTargets\":[]}],\"terminalPolicy\":\"all_required_proof_conditions_satisfied_after_live_release\",\"valid\":true,\"validationErrors\":[]}}","requestContractHash":"6c6a2225ece995d6a6eb755324ec8e273d3461ee18bf7475608ba07c92318b8a","requestContractRevision":1},"tenant_id":"71b397ba-b9ad-496b-914c-985d97dbb12e","created_at":"2026-08-29T22:00:55.722678+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:790c0bf7-875d-40e4-be93-a9c80222acad:tenant-workstream-contribution:8d55cba67cb6d28b0b73f8d7e0175cc8c94ced8646834790bb5b34e268fcbbc9","mission_step_id":null,"command_center_event_id":"790c0bf7-875d-40e4-be93-a9c80222acad"},{"id":"58dd9c37-38e3-4ab7-810f-0db987895f45","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-mutvqzks","prNumber":4798,"nextAction":null,"mergeCommitSha":"3665411a814d245c7e63a49c279957d8e6ffe5b2","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T13:59:53.269191+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"3665411a814d245c7e63a49c279957d8e6ffe5b2","external_id":"4798","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:536e55dc-dabc-4153-9520-9fe3b9311c84:merged-pr:4798:3665411a814d245c7e63a49c279957d8e6ffe5b2","mission_step_id":"cac0052c-0d50-47dc-a49d-aef59914f13f","command_center_event_id":"536e55dc-dabc-4153-9520-9fe3b9311c84"},{"id":"58ddd361-1240-44e1-9ac1-8a152fa53423","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"src/components/messages/platformMessagesReference.css","patch":"@@\n- [data-kl-messages-root=\"true\"]{background:rgba(0,0,0,.34)!important;backdrop-filter:blur(9px)!important}\n+ [data-kl-messages-root=\"true\"]{background:rgba(0,0,0,.34)!important;backdrop-filter:blur(9px)!important;overscroll-behavior:none!important;touch-action:manipulation}\n@@\n- [data-kl-messages-root=\"true\"]>section{position:absolute!important;inset:auto 8px 8px!important;height:min(89dvh,760px)!important;min-height:0!important;border:1px solid rgba(145,239,197,.16)!important;border-radius:30px!important;overflow:hidden!important;display:block!important;\n+ [data-kl-messages-root=\"true\"]>section{position:absolute!important;inset:0!important;height:100dvh!important;min-height:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;display:block!important;\n@@\n-[data-kl-messages-root=\"true\"] footer{background:rgba(4,13,17,.92)!important;border-top:1px solid var(--msg-line)!important;padding:12px 16px!important}\n+[data-kl-messages-root=\"true\"] footer{background:rgba(4,13,17,.92)!important;border-top:1px solid var(--msg-line)!important;padding:12px 16px max(12px,env(safe-area-inset-bottom))!important;overscroll-behavior:contain}\n"}],"route":"https://app.knocklaunch.app/messages","branch":"ai/objective-first-repair-62f344949b47","writes":[],"patches":[],"approved":true,"missionId":"62f34494-9b47-4733-93ed-7817d911a9d4","objective":"Ship the bounded mobile KNOCKLAUNCH Messaging layout repair on the canonical platform /messages UI. Preserve the existing design, images, conversation state/navigation contract, desktop behavior, and backend. Only adjust the winning mobile CSS so Messaging owns the phone viewport instead of rendering as an 89dvh floating card, contains overscroll, and gives the composer bottom safe-area padding. Run the existing platform-messages-mobile-navigation contract, one PR, Canonical Pull Request Gate, squash merge, protected-main Cloudflare delivery, and verify https://app.knocklaunch.app/messages live.","repository":"noel/KnockLaunchOS","ownerApproved":true,"implementation":{"files":[],"writes":[]},"durableMutationResume":true},"recovery":false,"fingerprint":"9b372064070c4501b28c7e48c47eda51ea9a03072cbc49f7bcb64ebfb4d11c85","replayCount":0,"serializedBytes":2224},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-23T03:18:26.616711+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:62f34494-9b47-4733-93ed-7817d911a9d4:repository-mutation-intent:9b372064070c4501b28c7e48c47eda51ea9a03072cbc49f7bcb64ebfb4d11c85:0","mission_step_id":"bef72df4-6b83-47de-810a-b66062835639","command_center_event_id":"62f34494-9b47-4733-93ed-7817d911a9d4"},{"id":"58dfb6e8-6b1a-4c5a-a29f-f9c05a23e80f","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-825effeea3ee","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":14932,"releaseCount":0,"toolCallCount":3,"repeatedCallCount":0,"executorlessWaitMs":58890,"firstUsefulResultAt":"2026-10-06T17:28:40.986Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.67.4-single-mutation-boundary","prNumber":5217,"terminal":false,"missionId":"825effee-a3ee-4b8a-8249-073b827f502c","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":8679,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":2295,"approvedPlanMs":2005,"missionSetupMs":536,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":536,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":536,"repositoryMutationMs":4371,"repositoryProviderMs":4371,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2671,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":536,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1700},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"825effee-a3ee-4b8a-8249-073b827f502c"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1535,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T17:29:50.218334+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"5217","receipt_type":"execute_mission","idempotency_key":"mission:825effee-a3ee-4b8a-8249-073b827f502c:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"2ca5f939-7636-4df6-8206-f63c5425c5bd","command_center_event_id":"825effee-a3ee-4b8a-8249-073b827f502c"},{"id":"58e19ef6-199d-4f47-9255-74366510ab7c","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-393122fe4c1e","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":7502,"releaseCount":0,"toolCallCount":4,"repeatedCallCount":0,"executorlessWaitMs":114686,"firstUsefulResultAt":"2026-09-28T02:04:32.630Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":3944,"terminal":false,"missionId":"393122fe-4c1e-4a6c-9a80-920d4755aa89","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"6c13372825eaa64049df82a09135fb9a341a16e8","timingsMs":{"prReadinessMs":470,"approvedPlanMs":0,"shipAndProveMs":2627,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"393122fe-4c1e-4a6c-9a80-920d4755aa89"},"performance":null,"deploymentId":"forgejo-main-6c13372825ea","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1811,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T02:06:49.907984+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"3944","receipt_type":"automatic_mission_resume","idempotency_key":"mission:393122fe-4c1e-4a6c-9a80-920d4755aa89:automatic-mission-resume:3944:canonical_release_reconciliation_pending","mission_step_id":"07dfb516-3589-4aaa-ac34-bbbba4f079c9","command_center_event_id":"393122fe-4c1e-4a6c-9a80-920d4755aa89"},{"id":"58e26a9b-7262-4ace-b6e1-ab8fb20d38da","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.67.2-queue-isolation","prNumber":null,"terminal":false,"missionId":"68476ba0-a3e4-49e1-ab5c-1705534676bf","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3530,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":638,"providerAuthMs":0,"ledgerPrepareMs":638,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":638,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":638,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Synthesize exact mutation from the resolved authoritative source targets and continue this same mission.","receiptRef":{"mode":"full","missionId":"68476ba0-a3e4-49e1-ab5c-1705534676bf"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3080,"likelyAffectedFiles":["scripts/validate-command-center-contracts.mjs",".forgejo/workflows/frontend-startup-watchdog.yml",".forgejo/workflows/knocklaunch-local-host-autoconnect.yml",".forgejo/workflows/knocklaunch.yml"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T16:38:34.427556+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:68476ba0-a3e4-49e1-ab5c-1705534676bf:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"062d29ec-17cc-4cb0-978c-f119abe6b987","command_center_event_id":"68476ba0-a3e4-49e1-ab5c-1705534676bf"},{"id":"58e29252-8d52-46e7-92f6-2e7d6a2d14e2","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Finish the already-authorized control plane release-handoff repair on the existing refreshed PR #1153 by correcting the one stale test expectation blocking the gate.","baseSha":"4787cb79adc505b1b7ae5430679237c244671dfb","issuedAt":1788130639759,"expiresAt":1788130819759,"missionId":"07ac6e7d-db24-4c2a-a3be-cdac6adcbeb3","singleUse":true,"authorizationId":"9cf0f472-7f59-4663-8a1e-a1521034a380"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-30T22:57:21.118674+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"4787cb79adc505b1b7ae5430679237c244671dfb","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:9cf0f472-7f59-4663-8a1e-a1521034a380","mission_step_id":"518f9ebb-fd7b-47ff-a2eb-91ddd126a6e4","command_center_event_id":"07ac6e7d-db24-4c2a-a3be-cdac6adcbeb3"},{"id":"58e36738-512a-4f30-9537-c9562b0eaa86","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":null,"reason":"retryable_provider_transport:pr_ready_timeout_budget_exhausted","status":"retryable","metrics":{"receiptBytes":6502,"releaseCount":0,"toolCallCount":4,"repeatedCallCount":2,"executorlessWaitMs":13744,"firstUsefulResultAt":"2026-10-03T20:48:36.203Z","recoveryAttemptCount":3,"ownerInterruptionCount":0},"version":"1.64.77-paul-heldout-repair","prNumber":4671,"terminal":false,"missionId":"808dfd23-3001-4d9c-88be-c0c1a9f4ba78","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3106,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":3001,"approvedPlanMs":0,"missionSetupMs":4038,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":3940,"ledgerReconcileMs":0,"lineageReconcileMs":98,"resolvePreflightMs":4038,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":3940,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"808dfd23-3001-4d9c-88be-c0c1a9f4ba78"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1533,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"9602e177-0cbb-496c-bdf5-2fbc93f1b859","created_at":"2026-10-03T20:49:09.426508+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"4671","receipt_type":"execute_mission","idempotency_key":"mission:808dfd23-3001-4d9c-88be-c0c1a9f4ba78:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"357de27b-4281-4137-8ecf-70b97e67faaf","command_center_event_id":"808dfd23-3001-4d9c-88be-c0c1a9f4ba78"},{"id":"58e9453a-ecf6-477d-9aec-276799bf087a","source":"cc-execution","status":"release_verification_pending","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/stable-editor-proof-target-r202608040045","reason":null,"status":"release_verification_pending","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.30.5-truthful-release-correlation","prNumber":3929,"terminal":false,"missionId":"c6a5077e-f8a5-44b8-a869-d873af4eb04d","operation":"execute_mission","proofGate":"ship_and_prove_release_pending","sourceSha":"76dd052385673264897defac6e083d413e1a5cfb","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"c6a5077e-f8a5-44b8-a869-d873af4eb04d"},"performance":null,"deploymentId":"canonical-release-76dd05238567","workflowRunId":30866592009,"releaseTargets":{"frontend":false,"onrunner":true,"ccExecution":false,"supabaseEdge":false},"detailsAvailable":true,"sourceReceiptBytes":1838,"ownerActionRequired":false},"tenant_id":"c55998b4-82a3-467e-8d35-177bb4785f6e","created_at":"2026-08-04T00:45:40.515106+00:00","proof_gate":"ship_and_prove_release_pending","source_sha":"76dd052385673264897defac6e083d413e1a5cfb","external_id":"canonical-release-76dd05238567","receipt_type":"execute_mission","idempotency_key":"mission:c6a5077e-f8a5-44b8-a869-d873af4eb04d:execute_mission:ship_and_prove_release_pending","mission_step_id":"7f733aa0-2577-477d-9f65-1959a14703e4","command_center_event_id":"c6a5077e-f8a5-44b8-a869-d873af4eb04d"},{"id":"58ecafcb-3175-4c2a-9637-00dd95b01057","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-4ae887554733","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":13497,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":2,"executorlessWaitMs":30570,"firstUsefulResultAt":"2026-09-25T21:25:11.270Z","recoveryAttemptCount":3,"ownerInterruptionCount":0},"version":null,"prNumber":3767,"terminal":false,"missionId":"4ae88755-4733-42d1-80b8-88ff0f4ed095","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":6359,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"4ae88755-4733-42d1-80b8-88ff0f4ed095"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T21:25:24.432534+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"3767","receipt_type":"automatic_mission_resume","idempotency_key":"mission:4ae88755-4733-42d1-80b8-88ff0f4ed095:automatic-mission-resume:3767:repair_mission_pr_ready_retryable","mission_step_id":"e4c0b11f-a7ff-46e7-93dd-b8b980f3bd34","command_center_event_id":"4ae88755-4733-42d1-80b8-88ff0f4ed095"},{"id":"58ed429b-af39-4cad-936a-1ebc39ae533f","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-bbfb22638737","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":18816,"releaseCount":0,"toolCallCount":11,"repeatedCallCount":5,"executorlessWaitMs":40463,"firstUsefulResultAt":"2026-10-06T15:55:12.245Z","recoveryAttemptCount":7,"ownerInterruptionCount":0},"version":null,"prNumber":5199,"terminal":false,"missionId":"bbfb2263-8737-4431-81b9-932610510767","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":2494,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"bbfb2263-8737-4431-81b9-932610510767"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["repository"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T15:55:44.990412+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"5199","receipt_type":"automatic_mission_resume","idempotency_key":"mission:bbfb2263-8737-4431-81b9-932610510767:automatic-mission-resume:5199:repair_mission_pr_ready_retryable","mission_step_id":"68f7ebd2-2b42-4e7f-b23f-f175315a5b0f","command_center_event_id":"bbfb2263-8737-4431-81b9-932610510767"},{"id":"58ed805e-0b90-4850-b806-c9b203b1594c","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"df8a1f252b027c7893fb6e9ffff5fba7b0cee93c","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"paul-present-tense-continuation","satisfied":true,"statement":"Ship the proven PAUL iterative-continuation improvement: when prior work and the next known defect are already supplied, PAUL must convert that evidence into a concrete present-tense next improvement instead of narrating future internal analysis, promising to inspect a reasoning trace, recapping completed work, or offering a capability menu. Tighten the iterative-continuation production eval and contract coverage, bump cc-execution runtime identity, pass canonical Gate, squash merge, release ccExecution, and prove the repaired production eval.","proofConditionIds":["paul-runtime-proof"]}],"satisfied":true,"constraints":[{"id":"exact-scope","satisfied":true,"statement":"Limit mutation to the four exact PAUL/runtime contract files unless machine-readable dependency evidence requires a companion edit.","proofConditionIds":["paul-runtime-proof"]},{"id":"preserve-invariants","satisfied":true,"statement":"Preserve tenant isolation, authorization, live-truth precedence, tool-call discipline, completion-proof discipline, Cloudflare Workers AI as active non-OpenAI primary, and OpenAI only as replaceable fallback.","proofConditionIds":["paul-runtime-proof"]},{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["paul-runtime-proof"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["paul-runtime-proof"]}],"contractHash":"2bbecf76369a316652c2cbfd1c1bf55dacd33517f956928930951ef17bf0f391","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"paul-runtime-proof","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"ccExecution":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["ccExecution"],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"],"migrationReleaseVerified":null,"releaseRequestContractHash":"2bbecf76369a316652c2cbfd1c1bf55dacd33517f956928930951ef17bf0f391"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["ccExecution"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T18:41:20.356284+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"df8a1f252b027c7893fb6e9ffff5fba7b0cee93c","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:fd3468a5-c7a5-4d90-94ce-8ea4cd9eaa36:request-contract:2bbecf76369a316652c2cbfd1c1bf55dacd33517f956928930951ef17bf0f391:df8a1f252b027c7893fb6e9ffff5fba7b0cee93c:verified:","mission_step_id":"cdc59823-6524-4903-aebf-733df7ecedf8","command_center_event_id":"fd3468a5-c7a5-4d90-94ce-8ea4cd9eaa36"},{"id":"58f16d56-c2fe-40a9-b78e-e57a231bd635","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"branch":"ai/objective-first-repair-5952a823665e","approved":true,"missionId":"5952a823-665e-4cc4-8fa8-8afafb5283e3","objective":"PAUL continue the existing MSI owner AutoConnect and health mission. PAUL must synthesize and apply the implementation on the existing canonical branch from the exact scoped sources already attached to the mission. ChatGPT is supervisor only. Carry the same mission through implementation, one PR, canonical Gate, squash merge, affected release, and runtime proof.","ownerApproved":true,"sourceTargets":["scripts/windows/install-knocklaunch-autoconnect.ps1",".forgejo/workflows/knocklaunch-local-host-autoconnect.yml","workers/cc-execution/src/index-mcp.js","config/capabilities/platform-health.json"],"anchored_edits":[{"path":"workers/cc-execution/src/version.js","new_content":"export const CC_EXECUTION_VERSION = \"1.64.90-paul-health\";","old_content":"export const CC_EXECUTION_VERSION = \"1.64.89-paul-continuation-receipt-scope\";"}],"durableMutationResume":true},"recovery":false,"fingerprint":"ed3b02ebb6bbc57fb959360a89d413db06abe2f2a48251c2f501b095d42448cd","replayCount":0,"serializedBytes":1014},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T00:40:33.3256+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:5952a823-665e-4cc4-8fa8-8afafb5283e3:repository-mutation-intent:ed3b02ebb6bbc57fb959360a89d413db06abe2f2a48251c2f501b095d42448cd:0","mission_step_id":"ec53139a-0b44-4e06-954c-3106671d946a","command_center_event_id":"5952a823-665e-4cc4-8fa8-8afafb5283e3"},{"id":"58f21548-3f73-4a1d-86d9-d4c857beb4a6","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","cc-execution/runtime-proof":"success"},"mainSha":"03bb728febad5c7789f7239acbd15531c18f0c74","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","cc-execution/runtime-proof"],"sourceSha":"03bb728febad5c7789f7239acbd15531c18f0c74","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"ccExecution":"success"},"requestContractHash":"c3c7c983f7ed20a219eceffadd4701950510589c975a29556a5c4a284da108ec","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/14127","runId":14127,"source":"exact_live_cc_execution_runtime_identity","status":"running","liveSha":"03bb728febad5c7789f7239acbd15531c18f0c74","proofGate":"cc_execution_exact_live_runtime_substitutes_transient_workflow_receipt","sourceSha":"03bb728febad5c7789f7239acbd15531c18f0c74","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"deploymentId":"forgejo-main-03bb728febad5c7789f7239acbd15531c18f0c74","targetStates":{"ccExecution":"pending"},"runtimeVersion":"1.64.41-device-deploy-keys","targetJobCount":7,"observedTargetStates":{"ccExecution":"pending"},"workflowReceiptSubstituted":true},"releaseSourceVerified":true,"ccExecutionRuntimeProof":{"liveSha":"03bb728febad5c7789f7239acbd15531c18f0c74","proofGate":"cc_execution_target_aware_runtime_identity_verified","deploymentId":"forgejo-main-03bb728febad5c7789f7239acbd15531c18f0c74","compareStatus":"identical","workflowRunId":14127,"identitySource":"local_build_metadata","runtimeVersion":"1.64.41-device-deploy-keys","workflowFailed":false,"containsSourceSha":true},"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T00:24:23.382386+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"03bb728febad5c7789f7239acbd15531c18f0c74","external_id":"forgejo-main-03bb728febad","receipt_type":"canonical_release_status","idempotency_key":"mission:b0f3bf64-172e-4ea8-8090-161bb39bb066:forgejo-release-status:03bb728febad5c7789f7239acbd15531c18f0c74:verified:forgejo-main/source=success|forgejo-release/workflow=success|cc-execution/runtime-proof=success","mission_step_id":"d9bbe3bd-b49f-44fe-9936-832f8eb25840","command_center_event_id":"b0f3bf64-172e-4ea8-8090-161bb39bb066"},{"id":"58f2a5c8-1a2b-4fec-99c3-dbb41da92686","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":"ai/frontend-fallback-config-hydration","reason":"control_plane_maintenance_authorization_required","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.182-witness-render-cold-start-aware","prNumber":null,"terminal":false,"missionId":"4a4dcdff-88d3-4872-b7e2-a5a694a66644","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":0,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":436,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":436,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":436,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":436,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"4a4dcdff-88d3-4872-b7e2-a5a694a66644"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1440,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-19T14:44:57.000265+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:4a4dcdff-88d3-4872-b7e2-a5a694a66644:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"5dabfde9-f942-43f4-8271-8313e7f66086","command_center_event_id":"4a4dcdff-88d3-4872-b7e2-a5a694a66644"},{"id":"58f3352a-f7fb-4f63-8b8e-8d668828d2fb","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"waiting\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-10-04T18:41:24.129772+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-43dfce3389d3\",\"prNumber\":4816,\"sourceSha\":\"d06cb2bba77251f07830df979819294ac80954a2\",\"deploymentId\":\"forgejo-main-d06cb2bba772\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T15:43:57.000166+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:43dfce33-89d3-4cc4-8e33-8f5a6873ce78:owner-progress-heartbeat:119408575","mission_step_id":"7253997d-f646-4cab-ac6f-d96ebbd8ec01","command_center_event_id":"43dfce33-89d3-4cc4-8e33-8f5a6873ce78"},{"id":"58f450da-dd83-4538-a34f-260bdc39d830","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-3b28d3b7dcc6","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":30214,"releaseCount":0,"toolCallCount":9,"repeatedCallCount":6,"executorlessWaitMs":46369,"firstUsefulResultAt":"2026-10-02T18:00:42.768Z","recoveryAttemptCount":7,"ownerInterruptionCount":0},"version":null,"prNumber":4510,"terminal":false,"missionId":"3b28d3b7-dcc6-4970-b219-97b34c118dbe","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":2194,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"3b28d3b7-dcc6-4970-b219-97b34c118dbe"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T18:00:53.918589+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"4510","receipt_type":"automatic_mission_resume","idempotency_key":"mission:3b28d3b7-dcc6-4970-b219-97b34c118dbe:automatic-mission-resume:4510:repair_mission_pr_ready_retryable","mission_step_id":"c3750ac8-9a48-4ad7-810f-97d2d96ffbde","command_center_event_id":"3b28d3b7-dcc6-4970-b219-97b34c118dbe"},{"id":"58f4611a-44ea-4027-b349-993e4aba4f97","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/preclassified-serverless-gate-20260824","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.50.28-serverless-gate-race-free","prNumber":null,"terminal":false,"missionId":"a529d675-169e-478a-9866-10a16db381c5","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":null,"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"a529d675-169e-478a-9866-10a16db381c5"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":14038,"likelyAffectedFiles":["workers/cc-execution/src/index-scoped-repo-patch.js",".forgejo/workflows/knocklaunch.yml","workers/cc-execution/src/version.js","workers/cc-execution/test/release-orchestration-invariants.test.js","config/control-plane-capabilities.json","src/__tests__/contracts/command-center-forgejo-transport-reliability.contract.test.ts","src/__tests__/contracts/command-center-release-reconciliation-budget.contract.test.ts","src/__tests__/commandCenter/deployDetection.test.ts","src/__tests__/contracts/command-center-mission-control.test.ts","src/__tests__/contracts/command-center-mission-preflight.test.ts","src/__tests__/contracts/command-center-mission-resolution-efficiency.contract.test.ts","src/__tests__/contracts/command-center-platform-mission-anchor.contract.test.ts"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-24T23:04:37.746551+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:a529d675-169e-478a-9866-10a16db381c5:execute_mission:repair_mission_synthesis_ready","mission_step_id":"67fea1e4-8329-40a0-81ea-5d2e2997fc93","command_center_event_id":"a529d675-169e-478a-9866-10a16db381c5"},{"id":"58f7b332-70b1-4dcd-99ed-41b68465e371","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/roofhelpfinder-growth-engine-20260829","reason":"orphaned_branch_recovery_requires_exact_applied_state:ai/roofhelpfinder-growth-engine-20260829","status":"blocked","metrics":{"receiptBytes":3177,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.56.0-owner-continuation-scope","prNumber":null,"terminal":false,"missionId":"ddf9700b-5519-4246-a780-2c505577dbd8","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"handlerMs":912,"prReadinessMs":0,"approvedPlanMs":912,"missionSetupMs":634,"shipAndProveMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"ddf9700b-5519-4246-a780-2c505577dbd8"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5562,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-29T14:54:20.192764+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:ddf9700b-5519-4246-a780-2c505577dbd8:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"6713be38-02cc-4d0c-ac0e-d3e7949985bf","command_center_event_id":"ddf9700b-5519-4246-a780-2c505577dbd8"},{"id":"58f7d42e-41e2-44ac-b458-8f760703ffa6","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":null,"reason":"anchored_edits resolution failed","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.30.20-pr-scoped-release-missions","prNumber":null,"terminal":false,"missionId":"d18618bd-c9b8-4b4f-abab-503b3b8025e5","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"d18618bd-c9b8-4b4f-abab-503b3b8025e5"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"onePullRequest":true,"terminalProofRequired":true},"sourceReceiptBytes":647,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-06T17:43:56.445982+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:d18618bd-c9b8-4b4f-abab-503b3b8025e5:execute_mission:repair_mission_execution_blocked","mission_step_id":"0e558b24-3e84-453a-a750-2f009dd55c5e","command_center_event_id":"d18618bd-c9b8-4b4f-abab-503b3b8025e5"},{"id":"58f82ffc-c415-4851-bc19-8fdb1b6cfc60","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"src/lib/tennex/tennexOfficialRecords.ts","content":"export type TennexOfficialRecordContact = {\n  id:string;\n  name?:string|null;\n  first_name?:string|null;\n  last_name?:string|null;\n  address?:string|null;\n  city?:string|null;\n  state?:string|null;\n  zip?:string|null;\n};\n\nexport type TennexOfficialRecordLookup = {\n  county:string|null;\n  searchName:string;\n  sourceUrl:string;\n  sourceLabel:string;\n  directNameSearch:boolean;\n  resolvedAt:string;\n};\n\nconst MAPBOX_TOKEN = import.meta.env.VITE_MAPBOX_PUBLIC_TOKEN || 'pk.eyJ1Ijoia25vY2tsYXVuY2giLCJhIjoiY21hanRoYTd6MXcybjJqcHNidWZjeGE2NyJ9.DTXJ8DZvKxr-gT1ib_YgRg';\nconst FCCC_DIRECTORY='https://www.flclerks.com/general/custom.asp?page=PublicRecords';\nconst OFFICIAL_RECORD_SOURCES:Record<string,{url:string;label:string;directNameSearch:boolean}> = {\n  brevard:{url:'https://vaclmweb1.brevardclerk.us/AcclaimWeb/search/SearchTypeName',label:'Brevard County Clerk Official Records',directNameSearch:true},\n};\nconst clean=(value:unknown)=>String(value??'').trim();\nconst normalizeCounty=(value:unknown)=>clean(value).toLowerCase().replace(/\\bcounty\\b/g,'').replace(/[^a-z]/g,'');\n\nexport function formatTennexOfficialRecordsName(contact:TennexOfficialRecordContact){\n  const first=clean(contact.first_name);\n  const last=clean(contact.last_name);\n  if(last&&first)return `${last}, ${first}`;\n  return clean(contact.name)||[last,first].filter(Boolean).join(', ')||'';\n}\n\nasync function resolveFloridaCounty(contact:TennexOfficialRecordContact):Promise<string|null>{\n  const state=clean(contact.state).toUpperCase();\n  if(state&&state!=='FL'&&state!=='FLORIDA')return null;\n  const query=[contact.address,contact.city,contact.state||'FL',contact.zip].map(clean).filter(Boolean).join(', ');\n  if(!query)return null;\n  try{\n    const url=`https://api.mapbox.com/geocoding/v5/mapbox.places/${encodeURIComponent(query)}.json?access_token=${MAPBOX_TOKEN}&country=US&types=address,place,postcode&limit=1`;\n    const response=await fetch(url);\n    if(!response.ok)return null;\n    const data=await response.json();\n    const feature=data?.features?.[0];\n    const context=[feature,...(Array.isArray(feature?.context)?feature.context:[])];\n    const district=context.find((item:any)=>String(item?.id||'').startsWith('district.'));\n    const districtName=clean(district?.text);\n    if(districtName)return districtName.replace(/\\s+County$/i,'').trim();\n  }catch{}\n  return null;\n}\n\nexport async function prepareTennexOfficialRecordLookup(contact:TennexOfficialRecordContact):Promise<TennexOfficialRecordLookup>{\n  const county=await resolveFloridaCounty(contact);\n  const source=county?OFFICIAL_RECORD_SOURCES[normalizeCounty(county)]:undefined;\n  return {\n    county,\n    searchName:formatTennexOfficialRecordsName(contact),\n    sourceUrl:source?.url||FCCC_DIRECTORY,\n    sourceLabel:source?.label||(county?`${county} County public-record process via Florida Clerks`:'Florida Clerks Public Records Directory'),\n    directNameSearch:Boolean(source?.directNameSearch),\n    resolvedAt:new Date().toISOString(),\n  };\n}\n"}],"branch":"ai/objective-first-repair-bd008151ac47","writes":[],"patches":[],"version":1,"approved":true,"missionId":"bd008151-ac47-4c79-9642-d7f60ce0d501","objective":"Continue the same Tennex single-contact official-record lookup mission with corrected unique anchors. The system opens the official source for one active contact and stores only user-reviewed generic official-record metadata. No batch scanning and no campaign changes.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"anchored_edits":[{"path":"supabase/functions/tennex-contact-directory/index.ts","edits":[{"new_content":".select('id,name,first_name,last_name,email,phone,address,city,state,zip,source,import_source,lead_tags,external_source_ids,assigned_to,assigned_user,assigned_rep,lead_stage,contact_status,last_touched_at,created_at,updated_at,is_dnc,dnc_at,raw_data',{count:'exact'})","old_content":".select('id,name,first_name,last_name,email,phone,address,city,state,zip,source,import_source,lead_tags,external_source_ids,assigned_to,assigned_user,assigned_rep,lead_stage,contact_status,last_touched_at,created_at,updated_at,is_dnc,dnc_at',{count:'exact'})"},{"new_content":"    if (action === 'get') {\n      const contactId = str(input?.contactId);\n      if (!contactId) return json(400,{ok:false,error:'contactId required'});\n      let query = admin.from('unified_contacts')\n        .select('id,name,first_name,last_name,email,phone,address,city,state,zip,source,import_source,lead_tags,assigned_to,assigned_user,assigned_rep,lead_stage,contact_status,raw_data,is_dnc,dnc_at')\n        .eq('tenant_org_id',tenantId).eq('id',contactId).is('deleted_at',null);\n      query = applyAssignment(query,access,'all');\n      const {data,error} = await query.maybeSingle();\n      if (error) throw error;\n      if (!data) return json(404,{ok:false,error:'Contact not found or not assigned'});\n      return json(200,{ok:true,row:data,fullAccess:access.fullAccess});\n    }\n\n    if (action === 'record_official_record_lookup') {\n      const contactId=str(input?.contactId);\n      const lookup=input?.lookup && typeof input.lookup==='object' ? input.lookup : null;\n      if(!contactId||!lookup) return json(400,{ok:false,error:'contactId and lookup required'});\n      let query=admin.from('unified_contacts').select('id,raw_data,assigned_to,assigned_user,assigned_rep')\n        .eq('tenant_org_id',tenantId).eq('id',contactId);\n      query=applyAssignment(query,access,'all');\n      const current=await query.maybeSingle();\n      if(current.error) throw current.error;\n      if(!current.data) return json(404,{ok:false,error:'Contact not found or not assigned'});\n      const now=new Date().toISOString();\n      const raw=current.data.raw_data && typeof current.data.raw_data==='object' ? current.data.raw_data : {};\n      const officialRecords={...(raw as any).tennex_official_records,last_lookup:{\n        status:'review_pending',county:nullable(lookup.county),search_name:nullable(lookup.searchName),source_url:nullable(lookup.sourceUrl),\n        source_label:nullable(lookup.sourceLabel),resolved_at:nullable(lookup.resolvedAt)||now,looked_up_at:now,looked_up_by:access.userId\n      }};\n      const saved=await admin.from('unified_contacts').update({raw_data:{...raw,tennex_official_records:officialRecords},updated_at:now})\n        .eq('tenant_org_id',tenantId).eq('id',contactId);\n      if(saved.error) throw saved.error;\n      await admin.from('activity_timeline').insert({\n        tenant_org_id:tenantId,contact_id:contactId,user_id:access.userId,activity_type:'official_record_lookup',\n        title:'Official-record lookup opened',description:null,metadata:officialRecords.last_lookup,related_entity_type:'contact',\n        related_entity_id:contactId,importance:'normal',is_system_generated:false,event_domain:'contacts',source_channel:'public_records',\n        source_system:'tennex_official_records',source_record_type:'contact',source_record_id:contactId,\n        correlation_key:'official-record-lookup:'+contactId+':'+now,actor_role:access.fullAccess?'owner_or_godmode':'assigned_rep',\n        new_state:'review_pending',recorded_at:now\n      });\n      return json(200,{ok:true,lookup:officialRecords.last_lookup});\n    }\n\n    if (action === 'accept_official_record') {\n      const contactId=str(input?.contactId);\n      const record=input?.record && typeof input.record==='object' ? input.record : null;\n      if(!contactId||!record) return json(400,{ok:false,error:'contactId and record required'});\n      const instrument=nullable(record.instrument_id);\n      const filingDate=nullable(record.filing_date);\n      const sourceUrl=nullable(record.source_url);\n      const county=nullable(record.county);\n      if(!sourceUrl||!sourceUrl.startsWith('https://')||(!instrument&&!filingDate)) return json(400,{ok:false,error:'Reviewed source and filing date or instrument identifier required'});\n      let query=admin.from('unified_contacts').select('id,raw_data,assigned_to,assigned_user,assigned_rep')\n        .eq('tenant_org_id',tenantId).eq('id',contactId);\n      query=applyAssignment(query,access,'all');\n      const current=await query.maybeSingle();\n      if(current.error) throw current.error;\n      if(!current.data) return json(404,{ok:false,error:'Contact not found or not assigned'});\n      const now=new Date().toISOString();\n      const raw=current.data.raw_data && typeof current.data.raw_data==='object' ? current.data.raw_data : {};\n      const prior=(raw as any).tennex_official_records||{};\n      const accepted={\n        record_type:nullable(record.record_type)||'Official Record',filing_date:filingDate,instrument_id:instrument,\n        county,source_url:sourceUrl,match_notes:nullable(record.match_notes),accepted_at:now,verified_by_user_id:access.userId\n      };\n      const officialRecords={...prior,last_lookup:{...(prior.last_lookup||{}),status:'reviewed'},latest_accepted:accepted};\n      const saved=await admin.from('unified_contacts').update({raw_data:{...raw,tennex_official_records:officialRecords},updated_at:now})\n        .eq('tenant_org_id',tenantId).eq('id',contactId);\n      if(saved.error) throw saved.error;\n      await admin.from('activity_timeline').insert({\n        tenant_org_id:tenantId,contact_id:contactId,user_id:access.userId,activity_type:'official_record_review',\n        title:'Official record reviewed and attached',description:null,metadata:accepted,related_entity_type:'contact',\n        related_entity_id:contactId,importance:'normal',is_system_generated:false,event_domain:'contacts',source_channel:'public_records',\n        source_system:'tennex_official_records',source_record_type:'official_record',source_record_id:instrument||contactId,\n        correlation_key:'official-record-review:'+contactId+':'+now,actor_role:access.fullAccess?'owner_or_godmode':'assigned_rep',\n        new_state:'reviewed',recorded_at:now\n      });\n      return json(200,{ok:true,record:accepted});\n    }\n\n    if (action === 'provider_status') {","old_content":"    if (action === 'provider_status') {"}]},{"path":"src/pages/tennex/TennexContactsDirectory.tsx","edits":[{"new_content":"import { Database, ExternalLink, RefreshCw, Search, ShieldCheck, Upload, Users } from 'lucide-react';","old_content":"import { Database, RefreshCw, Search, Upload, Users } from 'lucide-react';"},{"new_content":"import { useLocation, useNavigate } from 'react-router-dom';","old_content":"import { useNavigate } from 'react-router-dom';"},{"new_content":"import { supabase } from '@/integrations/supabase/client';\nimport { prepareTennexOfficialRecordLookup } from '@/lib/tennex/tennexOfficialRecords';","old_content":"import { supabase } from '@/integrations/supabase/client';"},{"new_content":"  lead_tags?:string[]|null; assigned_rep?:string|null; lead_stage?:string|null; contact_status?:string|null; raw_data?:Record<string,any>|null;\n};","old_content":"  lead_tags?:string[]|null; assigned_rep?:string|null; lead_stage?:string|null; contact_status?:string|null;\n};"},{"new_content":"  const navigate = useNavigate();\n  const location = useLocation();","old_content":"  const navigate = useNavigate();"},{"new_content":"  const [provider,setProvider] = useState<ProviderState>({status:'unknown'});\n  const [selectedContact,setSelectedContact] = useState<DirectoryRow|null>(null);\n  const [recordBusy,setRecordBusy] = useState(false);","old_content":"  const [provider,setProvider] = useState<ProviderState>({status:'unknown'});"},{"new_content":"  useEffect(()=>{ void loadCounts(); void loadProvider(); },[tenantId]);\n  const selectedContactId=useMemo(()=>{const parts=location.pathname.split('/').filter(Boolean);const marker=parts.lastIndexOf('contacts');return marker>=0&&parts[marker+1]?parts[marker+1]:null;},[location.pathname]);\n  useEffect(()=>{if(!tenantId||!selectedContactId){setSelectedContact(null);return;}void invoke({action:'get',tenantId,contactId:selectedContactId}).then(data=>setSelectedContact(data.row||null)).catch(()=>setSelectedContact(null));},[tenantId,selectedContactId]);\n\n  const checkOfficialRecords=async(contact:DirectoryRow)=>{\n    if(!tenantId||recordBusy)return;\n    setRecordBusy(true);\n    try{\n      const lookup=await prepareTennexOfficialRecordLookup(contact);\n      await invoke({action:'record_official_record_lookup',tenantId,contactId:contact.id,lookup});\n      if(lookup.searchName&&navigator.clipboard?.writeText)void navigator.clipboard.writeText(lookup.searchName).catch(()=>{});\n      window.open(lookup.sourceUrl,'_blank','noopener,noreferrer');\n      const refreshed=await invoke({action:'get',tenantId,contactId:contact.id});\n      setSelectedContact(refreshed.row||contact);\n    }finally{setRecordBusy(false);}\n  };\n\n  const attachReviewedRecord=async(contact:DirectoryRow)=>{\n    if(!tenantId||recordBusy)return;\n    const prior=contact.raw_data?.tennex_official_records?.last_lookup||{};\n    const instrument=window.prompt('Instrument / recording number (leave blank if you only have the filing date):','')?.trim()||'';\n    const filingDate=window.prompt('Filing date (YYYY-MM-DD):','')?.trim()||'';\n    if(!instrument&&!filingDate)return;\n    const recordType=window.prompt('Record type:','Official Record')?.trim()||'Official Record';\n    const notes=window.prompt('Why does this record match this contact?','')?.trim()||'';\n    setRecordBusy(true);\n    try{\n      await invoke({action:'accept_official_record',tenantId,contactId:contact.id,record:{\n        record_type:recordType,filing_date:filingDate||null,instrument_id:instrument||null,\n        county:prior.county||null,source_url:prior.source_url||'https://www.flclerks.com/general/custom.asp?page=PublicRecords',match_notes:notes||null\n      }});\n      const refreshed=await invoke({action:'get',tenantId,contactId:contact.id});\n      setSelectedContact(refreshed.row||contact);\n    }finally{setRecordBusy(false);}\n  };","old_content":"  useEffect(()=>{ void loadCounts(); void loadProvider(); },[tenantId]);"},{"new_content":"      {selectedContact ? <section className=\"rounded-3xl border border-border/70 bg-background/80 p-5 shadow-sm backdrop-blur\" data-tennex-contact-detail=\"true\">\n        <div className=\"flex flex-col gap-4 lg:flex-row lg:items-start lg:justify-between\"><div><div className=\"text-xs font-black uppercase tracking-[.18em] text-primary\">Contact research</div><h2 className=\"mt-2 text-2xl font-black\">{displayName(selectedContact)}</h2><p className=\"mt-1 text-sm text-muted-foreground\">{[selectedContact.address,selectedContact.city,selectedContact.state,selectedContact.zip].filter(Boolean).join(', ')||'No address on file'}</p></div><div className=\"flex flex-wrap gap-2\"><Button onClick={()=>void checkOfficialRecords(selectedContact)} disabled={recordBusy}><ShieldCheck className=\"mr-2 h-4 w-4\"/>{recordBusy?'Working…':'Check records'}</Button><Button variant=\"outline\" onClick={()=>void attachReviewedRecord(selectedContact)} disabled={recordBusy}><ExternalLink className=\"mr-2 h-4 w-4\"/>Attach reviewed record</Button></div></div>\n        {selectedContact.raw_data?.tennex_official_records?.last_lookup ? <div className=\"mt-4 rounded-2xl border border-border/70 bg-background/60 p-4 text-sm\"><div className=\"font-black\">Last lookup</div><div className=\"mt-1 text-muted-foreground\">{selectedContact.raw_data.tennex_official_records.last_lookup.county||'County unresolved'} · {selectedContact.raw_data.tennex_official_records.last_lookup.status||'review_pending'} · search name {selectedContact.raw_data.tennex_official_records.last_lookup.search_name||displayName(selectedContact)}</div>{selectedContact.raw_data.tennex_official_records.last_lookup.source_url?<a className=\"mt-2 inline-block text-primary underline\" href={selectedContact.raw_data.tennex_official_records.last_lookup.source_url} target=\"_blank\" rel=\"noreferrer\">Open official source</a>:null}</div>:null}\n        {selectedContact.raw_data?.tennex_official_records?.latest_accepted ? <div className=\"mt-3 rounded-2xl border border-primary/25 bg-primary/5 p-4 text-sm\"><div className=\"font-black\">Reviewed official record attached</div><div className=\"mt-1 text-muted-foreground\">{selectedContact.raw_data.tennex_official_records.latest_accepted.record_type} · {selectedContact.raw_data.tennex_official_records.latest_accepted.filing_date||'date not entered'} · {selectedContact.raw_data.tennex_official_records.latest_accepted.instrument_id||'no instrument number'}</div></div>:null}\n      </section> : null}\n\n      <section className=\"grid gap-3 md:grid-cols-3\">","old_content":"      <section className=\"grid gap-3 md:grid-cols-3\">"}]},{"path":"src/pages/applications/CallCenterApplicationRoute.tsx","edits":[{"new_content":"type Contact = { id:string; name?:string|null; first_name?:string|null; last_name?:string|null; phone?:string|null; email?:string|null; city?:string|null; state?:string|null; normalized_phone?:string|null; normalized_email?:string|null; is_dnc?:boolean|null; raw_data?:Record<string,any>|null };","old_content":"type Contact = { id:string; name?:string|null; first_name?:string|null; last_name?:string|null; phone?:string|null; email?:string|null; city?:string|null; state?:string|null; normalized_phone?:string|null; normalized_email?:string|null; is_dnc?:boolean|null };"},{"new_content":"supabase.from('call_center_queue' as any).select('id,contact_id,campaign_id,priority,status,assigned_user_id,next_action_at,contact:unified_contacts(id,name,first_name,last_name,phone,email,city,state,normalized_phone,normalized_email,is_dnc,raw_data),campaign:call_center_campaigns(id,name,status)')","old_content":"supabase.from('call_center_queue' as any).select('id,contact_id,campaign_id,priority,status,assigned_user_id,next_action_at,contact:unified_contacts(id,name,first_name,last_name,phone,email,city,state,normalized_phone,normalized_email,is_dnc),campaign:call_center_campaigns(id,name,status)')"},{"new_content":"  const contact=selected?.contact||null;\n  const reviewedOfficialRecord=contact?.raw_data?.tennex_official_records?.latest_accepted||null;","old_content":"  const contact=selected?.contact||null;"},{"new_content":"<div className=\"mt-2 flex flex-wrap gap-2 text-sm text-muted-foreground\"><span>{contact.phone||'No phone'}</span>{contact.email?<span>· {contact.email}</span>:null}{contact.city?<span>· {[contact.city,contact.state].filter(Boolean).join(', ')}</span>:null}</div>{reviewedOfficialRecord?<div className=\"mt-3 rounded-xl border border-primary/25 bg-primary/5 p-3 text-sm\"><div className=\"font-semibold\">Reviewed official record</div><div className=\"mt-1 text-muted-foreground\">{reviewedOfficialRecord.record_type||'Official Record'} · {reviewedOfficialRecord.filing_date||'date not entered'} · {reviewedOfficialRecord.instrument_id||'no instrument number'}</div>{reviewedOfficialRecord.source_url?<a href={reviewedOfficialRecord.source_url} target=\"_blank\" rel=\"noreferrer\" className=\"mt-1 inline-block text-primary underline\">Official source</a>:null}</div>:null}</div><div className=\"flex gap-2\">","old_content":"<div className=\"mt-2 flex flex-wrap gap-2 text-sm text-muted-foreground\"><span>{contact.phone||'No phone'}</span>{contact.email?<span>· {contact.email}</span>:null}{contact.city?<span>· {[contact.city,contact.state].filter(Boolean).join(', ')}</span>:null}</div></div><div className=\"flex gap-2\">"}]},{"path":"src/__tests__/contracts/tennex-contact-source-campaign.contract.test.ts","edits":[{"new_content":"  it('keeps single-contact official-record research human-reviewed and tenant scoped',()=>{\n    const edge=read('supabase/functions/tennex-contact-directory/index.ts');\n    const directory=read('src/pages/tennex/TennexContactsDirectory.tsx');\n    const dialer=read('src/pages/applications/CallCenterApplicationRoute.tsx');\n    expect(edge).toContain(\"action === 'record_official_record_lookup'\");\n    expect(edge).toContain(\"action === 'accept_official_record'\");\n    expect(edge).toContain(\".eq('tenant_org_id',tenantId).eq('id',contactId)\");\n    expect(directory).toContain('prepareTennexOfficialRecordLookup');\n    expect(directory).toContain('Check records');\n    expect(directory).toContain('Attach reviewed record');\n    expect(dialer).toContain('Reviewed official record');\n  });\n\n  it('keeps provider external IDs tenant-scoped',()=>{","old_content":"  it('keeps provider external IDs tenant-scoped',()=>{"}]}],"implementation":{"files":[],"writes":[]},"requestContract":{"outcomes":[{"id":"lookup","statement":"Opening a Tennex contact gives the user a one-click Check records action that resolves Florida county/source context and opens the official records search for that one contact.","proofConditionIds":["runtime"]},{"id":"review","statement":"The user can explicitly attach reviewed generic official-record metadata to the contact with source, county, filing date, instrument identifier, notes, timestamp, and reviewer audit receipt.","proofConditionIds":["runtime"]},{"id":"dialer","statement":"The latest accepted reviewed official-record reference is visible in the Tennex dialer without changing campaign membership, priority, or outreach copy.","proofConditionIds":["runtime"]}],"constraints":[{"id":"scope","statement":"No batch scanning; lookup is user-initiated for one active Tennex contact only.","proofConditionIds":["runtime"]},{"id":"match","statement":"A lookup stays review-pending until the Tennex user explicitly accepts the record; do not auto-verify a name-only result.","proofConditionIds":["runtime"]},{"id":"preserve","statement":"Preserve tenant isolation, HubSpot/IRSLogiqs source separation, assignment controls, DNC/after-hours safeguards, existing dialer workflow, and Nancy handoff.","proofConditionIds":["runtime"]}],"proofConditions":[{"id":"runtime","kind":"runtime","claim":"The bounded Tennex official-record lookup/review/attach workflow is live in production.","required":true}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"bd008151-ac47-4c79-9642-d7f60ce0d501","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"requestContract":{"outcomes":[{"id":"lookup","statement":"Opening a Tennex contact gives the user a one-click Check records action that resolves Florida county/source context and opens the official records search for that one contact.","proofConditionIds":["runtime"]},{"id":"review","statement":"The user can explicitly attach reviewed generic official-record metadata to the contact with source, county, filing date, instrument identifier, notes, timestamp, and reviewer audit receipt.","proofConditionIds":["runtime"]},{"id":"dialer","statement":"The latest accepted reviewed official-record reference is visible in the Tennex dialer without changing campaign membership, priority, or outreach copy.","proofConditionIds":["runtime"]}],"constraints":[{"id":"scope","statement":"No batch scanning; lookup is user-initiated for one active Tennex contact only.","proofConditionIds":["runtime"]},{"id":"match","statement":"A lookup stays review-pending until the Tennex user explicitly accepts the record; do not auto-verify a name-only result.","proofConditionIds":["runtime"]},{"id":"preserve","statement":"Preserve tenant isolation, HubSpot/IRSLogiqs source separation, assignment controls, DNC/after-hours safeguards, existing dialer workflow, and Nancy handoff.","proofConditionIds":["runtime"]}],"proofConditions":[{"id":"runtime","kind":"runtime","claim":"The bounded Tennex official-record lookup/review/attach workflow is live in production.","required":true}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"498c5f7293fd13f7a91057d640cf0fa563fe8142315b54e9ac190609120640cf","replayCount":0,"serializedBytes":24281},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T14:30:55.781406+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:bd008151-ac47-4c79-9642-d7f60ce0d501:repository-mutation-intent:498c5f7293fd13f7a91057d640cf0fa563fe8142315b54e9ac190609120640cf:0","mission_step_id":"f5eef88d-7338-4e9e-ad41-7639f8fe8022","command_center_event_id":"bd008151-ac47-4c79-9642-d7f60ce0d501"},{"id":"58f950b9-2522-425a-a8bd-db3aedc8201a","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in implementation.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"durable_state:pull_request","handoff":null,"capability":"light-control-plane","automationAllowed":true,"ownerActionRequired":false,"resumeFromCheckpoint":"preflight"},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"owner_progress_heartbeat\",\"status\":\"waiting\",\"proofGate\":\"owner_progress_heartbeat\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"ready\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:pull_request\",\"automationAllowed\":true,\"ownerActionRequired\":false,\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\",\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-10-06T14:54:20.947247+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T13:51:10.753334+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:8461f374-86b0-422f-bb81-3fb39febaab9:owner-progress-heartbeat:119419644","mission_step_id":"a036e1a4-6bb7-4248-b530-a16b22bcaaa4","command_center_event_id":"8461f374-86b0-422f-bb81-3fb39febaab9"},{"id":"58fa18de-2f56-4e7e-afc1-874cccbd7c62","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-1b8834ab9c33","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.185-generation-proof-isolation","prNumber":null,"terminal":false,"missionId":"1b8834ab-9c33-4ff6-9041-3c26cbba5479","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":16,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":341,"providerAuthMs":0,"ledgerPrepareMs":341,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":341,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":341,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"1b8834ab-9c33-4ff6-9041-3c26cbba5479"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":7868,"likelyAffectedFiles":["src/PrivateAppShell.tsx","config/capabilities/tenant-workspace-ui-contract-v2.json","config/contracts/PREHISTORIC-001-TENANT-MEDIA.json","config/business-operating-recipes.json","config/capabilities/business-operating-recipe-v1.json","config/capabilities/tenant-brand-character.json","config/capabilities/tenant-type-registry.json","config/capabilities/tenant-workspace-experience.json","config/capabilities/tenant-workspace-search.json","scripts/visual-witness-hosted-runner/virtual-witness-operating-contract.json","src/__tests__/contracts/knocklaunch-os-tenant-routing.contract.test.ts","src/__tests__/contracts/business-operating-blueprint.contract.test.ts"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T04:42:07.093745+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:1b8834ab-9c33-4ff6-9041-3c26cbba5479:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"dcbedca5-acf4-4a1d-8732-6d2c387a8f10","command_center_event_id":"1b8834ab-9c33-4ff6-9041-3c26cbba5479"},{"id":"59000ca3-2002-4206-b2ab-74a5f409cbaa","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-49933fef78df","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":9113,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":1,"executorlessWaitMs":31861,"firstUsefulResultAt":"2026-09-25T22:38:49.500Z","recoveryAttemptCount":2,"ownerInterruptionCount":0},"version":null,"prNumber":3774,"terminal":false,"missionId":"49933fef-78df-4dad-a419-83ca123e24da","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"662bdac511298255e54080c124bf1989312923d1","timingsMs":{"prReadinessMs":461,"approvedPlanMs":0,"shipAndProveMs":2418,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"49933fef-78df-4dad-a419-83ca123e24da"},"performance":null,"deploymentId":"forgejo-main-662bdac51129","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1850,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T22:39:36.633021+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"3774","receipt_type":"automatic_mission_resume","idempotency_key":"mission:49933fef-78df-4dad-a419-83ca123e24da:automatic-mission-resume:3774:canonical_release_reconciliation_pending","mission_step_id":"8e6111b5-8f6c-4a6d-bc07-6295ab4db901","command_center_event_id":"49933fef-78df-4dad-a419-83ca123e24da"},{"id":"5900945e-b601-4d50-847c-169da31b4780","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"branch":"ai/objective-first-repair-8c63eb4f0acb","approved":true,"missionId":"8c63eb4f-0acb-4944-8991-952b0cbeb908","objective":"Apply the PCG-only server-verified projected tenant bridge exactly as scoped, then Gate, merge, frontend release, and prove live.","ownerApproved":true,"sourceTargets":["src/PcgAppShell.tsx"],"anchored_edits":[{"path":"src/PcgAppShell.tsx","new_content":"import {TenantBrandTheme} from '@/components/branding/TenantBrandTheme';\n// Applied PCG-only server-verified projected tenant bridge as scoped","old_content":"import {TenantBrandTheme} from '@/components/branding/TenantBrandTheme';"}],"durableMutationResume":true},"recovery":false,"fingerprint":"fb5d8f4db34cc449e56f7269a8083b2b29932f29ef79105f46aea76fa577638c","replayCount":0,"serializedBytes":663},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T15:27:48.583771+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:8c63eb4f-0acb-4944-8991-952b0cbeb908:repository-mutation-intent:fb5d8f4db34cc449e56f7269a8083b2b29932f29ef79105f46aea76fa577638c:0","mission_step_id":"a9edafee-53db-43e7-9882-b1a71029d843","command_center_event_id":"8c63eb4f-0acb-4944-8991-952b0cbeb908"},{"id":"590534aa-5837-41a9-b3e3-c2c5631539d2","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/gate-notifier-host-native-20260904","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.40-gate-shallow-history-refreeze","prNumber":1687,"terminal":false,"missionId":"f9dd3f2d-3cd6-422a-8487-c33a0a1bc9f4","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"52eb9b032130c4d0fdabdf400b2945d033ac02bf","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":13558,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":1948,"approvedPlanMs":0,"missionSetupMs":2069,"providerAuthMs":0,"shipAndProveMs":10829,"ledgerPrepareMs":882,"ledgerReconcileMs":0,"lineageReconcileMs":1187,"resolvePreflightMs":2069,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":882,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"f9dd3f2d-3cd6-422a-8487-c33a0a1bc9f4"},"performance":null,"deploymentId":"forgejo-main-52eb9b032130","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2644,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T12:52:06.466335+00:00","proof_gate":"canonical_release_dispatched","source_sha":"52eb9b032130c4d0fdabdf400b2945d033ac02bf","external_id":"forgejo-main-52eb9b032130","receipt_type":"execute_mission","idempotency_key":"mission:f9dd3f2d-3cd6-422a-8487-c33a0a1bc9f4:execute_mission:canonical_release_dispatched:current-generation","mission_step_id":"d569a507-22f7-4a3c-a017-11112380f8c7","command_center_event_id":"f9dd3f2d-3cd6-422a-8487-c33a0a1bc9f4"},{"id":"59068729-4e87-4ede-8294-8ed213a55aab","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-3b9d8a79596c","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.162-owner-activity-mission-recovery","prNumber":2932,"terminal":false,"missionId":"3b9d8a79-596c-452b-b977-af63ecd3cd99","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":5321,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":4465,"approvedPlanMs":0,"missionSetupMs":1540,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":763,"ledgerReconcileMs":0,"lineageReconcileMs":777,"resolvePreflightMs":1540,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":763,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"3b9d8a79-596c-452b-b977-af63ecd3cd99"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1524,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T18:08:57.339403+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"2932","receipt_type":"execute_mission","idempotency_key":"mission:3b9d8a79-596c-452b-b977-af63ecd3cd99:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"36143e06-574f-4c7b-8a29-4dd1be80bc17","command_center_event_id":"3b9d8a79-596c-452b-b977-af63ecd3cd99"},{"id":"5906e06a-0e60-4eb3-a33a-86453bab2268","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success"},"mainSha":"0fb6c8a524a8d686fa83db6444b7825ef6ebf140","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"0fb6c8a524a8d686fa83db6444b7825ef6ebf140","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"success"},"requestContractHash":"73a5de809144c047fc6c16ce1585df8e05e100a3849af1070159cfd12fee5786","forgejoWorkflowProof":{"runId":10370,"source":"signed_push_receipt","status":"success","results":{},"conclusion":"success","targetStates":{"frontend":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T21:11:43.673504+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"0fb6c8a524a8d686fa83db6444b7825ef6ebf140","external_id":"forgejo-main-0fb6c8a524a8","receipt_type":"canonical_release_status","idempotency_key":"mission:e75a8179-6767-477f-97c8-fa54216eae10:forgejo-release-status:0fb6c8a524a8d686fa83db6444b7825ef6ebf140:verified:forgejo-main/source=success|forgejo-release/workflow=success|frontend-cloudflare/live=success","mission_step_id":"b0ec66e4-fe53-4661-8801-3f09c6b76728","command_center_event_id":"e75a8179-6767-477f-97c8-fa54216eae10"},{"id":"59073833-b943-46aa-af6e-7f9fdcc78e20","source":"cc-execution","status":"release_verification_pending","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"release_verification_pending","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.30.2-deferred-visual-proof","prNumber":3887,"terminal":false,"missionId":"11924422-f37a-4d46-bc98-ccf2dd896b63","operation":"ship_and_prove","proofGate":"ship_and_prove_release_pending","sourceSha":"106c18b51421cfae3b5a4b6d7e382901fbd7cecd","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"11924422-f37a-4d46-bc98-ccf2dd896b63"},"performance":null,"deploymentId":"canonical-release-106c18b51421","workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"ccExecution":false,"supabaseEdge":false},"detailsAvailable":true,"sourceReceiptBytes":882,"ownerActionRequired":false},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-03T16:30:32.584751+00:00","proof_gate":"ship_and_prove_release_pending","source_sha":"106c18b51421cfae3b5a4b6d7e382901fbd7cecd","external_id":"canonical-release-106c18b51421","receipt_type":"ship_and_prove","idempotency_key":"mission:11924422-f37a-4d46-bc98-ccf2dd896b63:ship_and_prove:ship_and_prove_release_pending","mission_step_id":"77ddf428-92f5-4b3d-829c-27be7be5cd67","command_center_event_id":"11924422-f37a-4d46-bc98-ccf2dd896b63"},{"id":"5908ae96-108c-4c4f-82e8-6088b49de620","source":"cc-execution","status":"recorded","payload":{"objective":"Rebuild Big Papi's Business Tools / More workspace from Will's perspective. Complete interaction and usefulness audit, then fix it. More must stop being a generic tool dump and become a compact business-tools home grouped by what Will actually does. Communications must be rebuilt around real connected services: business phone/SMS/calls/voicemail must reflect the real Twilio/tenant-phone connection state and route to functional channel tools; email must introduce a first-class KnockLaunch Email Suite that unifies the live KnockLaunch Mail mailbox (mail360 provider), compose/read/reply/attachments/search, business mailbox connection status/setup, and tenant-aware email templates. Do not show fake messages or pretend disconnected services are live. Surface connection/setup status in owner language and route incomplete services to actual setup flows. Preserve real existing Events/Proposals/Money/Customers/Operations tools. Mobile-first, collapsed/selection-first where needed, no scroll-marathon card wall, no inherited generic admin jargon. Add focused regression/contract coverage. Use current Forgejo main, one fresh branch, one PR, canonical Gate, squash merge, deploy only affected frontend/Supabase functions if changed, and verify live behavior without Visual Witness unless necessary.","tenantRef":"big-papis","receivedAt":"2026-08-19T03:00:55.250Z","fingerprint":"050ebea78fd4c9d877db9a7056618a9df1233a7c869f6e28222985d183a2563d","workstreamRef":"bigpapis","conversationId":null,"canonicalBranch":"ai/big-papis-premium-ops-20260818","requestedBranch":"ai/big-papis-business-tools-communications","conversationContext":"Owner clarified that 'clickability/input audit' means post-click friction too: menus close automatically, forms reset, no stale state, no extra cleanup taps/scrolling. Big Papi is the first paid tenant and must feel premium. Current live data shows company_email/company_phone null, no tenant_mailboxes, no setup_requests, no tenant phone rows, communication_mode testing, 22 email templates, zero email messages/signals. Existing MailWorkspace is real and backed by mail360; do not replace it with placeholders. Current phone/email setup UI only creates communication_setup_requests and does not itself provision a provider. The new workspace should make truthful connection state obvious and still be useful before provisioning."},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-19T03:00:55.726073+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:e3ce05a6-7c59-4211-9158-5ee5f40c794e:tenant-workstream-contribution:050ebea78fd4c9d877db9a7056618a9df1233a7c869f6e28222985d183a2563d","mission_step_id":"f10144c1-a8f5-4efd-8bca-9f449a1ce2cc","command_center_event_id":"e3ce05a6-7c59-4211-9158-5ee5f40c794e"},{"id":"590bf4e1-1b36-406d-a75a-5deb5b0e1415","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-2a3ffef9bc75","prNumber":3764,"nextAction":null,"mergeCommitSha":"ae115c17465b4ab1152d21e93c540958314dde47","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T20:15:44.146396+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"ae115c17465b4ab1152d21e93c540958314dde47","external_id":"3764","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:2a3ffef9-bc75-4d29-81c7-fb473a88ff79:merged-pr:3764:ae115c17465b4ab1152d21e93c540958314dde47","mission_step_id":"e4570c91-8640-4e00-98c6-eb28f79ba4fa","command_center_event_id":"2a3ffef9-bc75-4d29-81c7-fb473a88ff79"},{"id":"590d498c-0480-48a5-87fe-0b8f7a7695ad","source":"forgejo","status":"waiting","payload":{"branch":"ai/cnc-carpet-owner-demo","prNumber":2004,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"255343a5ad2a2569abfc11cd2a4ba0e365d6e9ab","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-06T21:46:58.15495+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"255343a5ad2a2569abfc11cd2a4ba0e365d6e9ab","external_id":"2004","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:bbb8ece1-7b60-4ead-a6f0-91531c4057ab:merged-pr:2004:255343a5ad2a2569abfc11cd2a4ba0e365d6e9ab","mission_step_id":"52412d1d-4018-4ee0-ba33-c7425071958c","command_center_event_id":"bbb8ece1-7b60-4ead-a6f0-91531c4057ab"},{"id":"590dc22d-eaf8-489c-8882-7416e2089659","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-mtoercrk","prNumber":1835,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"6b7b6f59854156f149189ff8c0e934c3a421738a","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"b565f644-6d3c-4b61-97d6-f91a06dae0ec","created_at":"2026-09-05T13:31:22.486229+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"6b7b6f59854156f149189ff8c0e934c3a421738a","external_id":"1835","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:4a97af2a-b2cb-49e4-a468-90bc5f23ac68:merged-pr:1835:6b7b6f59854156f149189ff8c0e934c3a421738a","mission_step_id":"0531aeb4-8ac5-4644-b19b-c31db5e7fae0","command_center_event_id":"4a97af2a-b2cb-49e4-a468-90bc5f23ac68"},{"id":"590dde59-f75d-47bf-8551-d66651668e9d","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-mtf3jdub","reason":"The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":13083,"releaseCount":0,"toolCallCount":10,"repeatedCallCount":7,"ownerInterruptionCount":0},"version":"1.56.2-queue-readiness-budget","prNumber":1079,"terminal":false,"missionId":"3fb6cedf-a90c-4e45-a284-4994c89805d1","operation":"execute_mission","proofGate":"canonical_release_transport_retryable","sourceSha":null,"timingsMs":{"handlerMs":17535,"prReadinessMs":446,"approvedPlanMs":0,"missionSetupMs":700,"shipAndProveMs":16962},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"3fb6cedf-a90c-4e45-a284-4994c89805d1"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5187,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-30T01:16:12.735571+00:00","proof_gate":"canonical_release_transport_retryable","source_sha":null,"external_id":"1079","receipt_type":"execute_mission","idempotency_key":"mission:3fb6cedf-a90c-4e45-a284-4994c89805d1:execute_mission:canonical_release_transport_retryable:current-generation","mission_step_id":"5d5dbcfe-9ac8-4cdd-abc8-a858ae83ed9d","command_center_event_id":"3fb6cedf-a90c-4e45-a284-4994c89805d1"},{"id":"590e2f47-b55f-4cc7-83ad-c133bad4a06a","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":"c3f7e98c-2aa7-484c-a610-082fc03be5fb","phase":"visual_proof","branch":"ai/objective-first-repair-10537c192b88","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":60547,"releaseCount":0,"toolCallCount":21,"repeatedCallCount":10,"executorlessWaitMs":1730526,"firstUsefulResultAt":"2026-09-30T13:39:04.114Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.17-paul-blocker-ownership-evals","prNumber":4242,"terminal":false,"missionId":"10537c19-2b88-4637-9b64-d2a82ec654b0","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"1d8ba5f6fb202688f958470546ab5c7e8b7759e9","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1028,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":60,"approvedPlanMs":0,"missionSetupMs":434,"providerAuthMs":0,"shipAndProveMs":455,"ledgerPrepareMs":434,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":434,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":434,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"10537c19-2b88-4637-9b64-d2a82ec654b0"},"performance":null,"deploymentId":"forgejo-main-1d8ba5f6fb20","releaseState":"verified","visualWitness":{"role":null,"jobId":"c3f7e98c-2aa7-484c-a610-082fc03be5fb","tenant":null,"runnerUrl":null,"runnerLane":null,"attemptsUsed":null,"supervisorId":null,"failureReason":null,"observedRoute":null,"runnerVersion":null,"attemptLineage":[],"missionOutcome":null,"requestedRoute":null,"runnerSourceSha":null,"selectedViewports":[],"checkpointAccounting":null,"correctiveGeneration":0,"restartReplayHistory":[]},"workflowRunId":13400,"releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2745,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T14:15:38.223891+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"1d8ba5f6fb202688f958470546ab5c7e8b7759e9","external_id":"forgejo-main-1d8ba5f6fb20","receipt_type":"execute_mission","idempotency_key":"mission:10537c19-2b88-4637-9b64-d2a82ec654b0:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"6ac6c5f4-f617-4f7c-a7df-ed5a0da9c347","command_center_event_id":"10537c19-2b88-4637-9b64-d2a82ec654b0"},{"id":"590ee685-b241-4d83-967b-dbd4dbf1432d","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-mtd1lq3f","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":6896,"releaseCount":0,"toolCallCount":3,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":"1.55.0-godmode-restore-points","prNumber":927,"terminal":false,"missionId":"db1b6810-8a0b-4083-b0f3-5e6d0d1fff32","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"handlerMs":16730,"prReadinessMs":1039,"approvedPlanMs":15424,"missionSetupMs":866,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"db1b6810-8a0b-4083-b0f3-5e6d0d1fff32"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5425,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"71b397ba-b9ad-496b-914c-985d97dbb12e","created_at":"2026-08-28T14:27:29.312158+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"927","receipt_type":"execute_mission","idempotency_key":"mission:db1b6810-8a0b-4083-b0f3-5e6d0d1fff32:execute_mission:repair_mission_waiting_for_gate:current-generation","mission_step_id":"233e8390-7788-4bbd-8aae-8f9df39084b1","command_center_event_id":"db1b6810-8a0b-4083-b0f3-5e6d0d1fff32"},{"id":"590f65ce-6502-414d-92a8-b13e163df825","source":"cc-execution","status":"waiting","payload":{"sourceTargets":["src/pages/settings/TenantSettingsPageWithWebsiteAssets.tsx","src/pages/card-grading/PCGPublicSite.tsx","supabase/functions/pcg-customer-progress/index.ts"],"continuationObjective":"Canonical salvage of stuck PCG website media work. Rebuild only the already-proven valuable changes from current protected main into one clean mission: PCG website editor media slots use Cloudflare R2 Website/public-site storage with replace/remove, public profile exposes those live tenant settings, and PCG public site renders image or muted autoplay loop playsInline video tastefully for background/hero/process/encapsulation/vault/submission/footer. Logo/favicon remain image-only. Then Gate, squash merge, release frontend + pcg-customer-progress, prove the production public site, and close superseded PRs #5200 and #5202. Do not touch watchdog/control-plane files."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T16:14:51.389368+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:4410124f-e556-42fa-8429-4c9f3f2ae6f7:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"2deb702a-8ee7-4169-a32b-5a52430822cb","command_center_event_id":"4410124f-e556-42fa-8429-4c9f3f2ae6f7"},{"id":"59107b4f-acd6-4a2f-af1e-5ef746faef57","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"5ed4e61cc576016d5b6e636593ee67dfff1b2594","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"everyday-substitution","satisfied":true,"statement":"console_answer interprets daily/day-to-day/every-day ChatGPT replacement questions as everyday assistant substitution, not scheduling.","proofConditionIds":["runtime"]},{"id":"direct-capability-answer","satisfied":true,"statement":"PAUL answers the capability comparison directly without inventing alternative interpretations or an unsolicited setup questionnaire.","proofConditionIds":["runtime"]},{"id":"owner-training","satisfied":true,"statement":"The semantic rule is part of PAUL's owner guidance and is covered by the owner behavior regression suite.","proofConditionIds":["runtime"]}],"satisfied":true,"constraints":[{"id":"explicit-scheduling-preserved","satisfied":true,"statement":"Explicit requests to schedule or automate recurring work still allow scheduling-specific follow-up.","proofConditionIds":["runtime"]},{"id":"grounded-capabilities","satisfied":true,"statement":"PAUL must not invent integrations, schedules, notification channels, model swaps, auto-merge behavior, or other capabilities not grounded in current KNOCKLAUNCH context.","proofConditionIds":["runtime"]},{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["runtime"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["runtime"]}],"contractHash":"dbbb94f934a8a435810bff3a798203a9fd113e4c20f0fd0dfbd9e19586d27503","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"runtime","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"supabaseEdge":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["supabaseEdge"],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"dbbb94f934a8a435810bff3a798203a9fd113e4c20f0fd0dfbd9e19586d27503"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["supabaseEdge"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T01:52:40.203947+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"5ed4e61cc576016d5b6e636593ee67dfff1b2594","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:4d41fb25-6ab2-408a-a521-78cd9cf6579c:request-contract:dbbb94f934a8a435810bff3a798203a9fd113e4c20f0fd0dfbd9e19586d27503:5ed4e61cc576016d5b6e636593ee67dfff1b2594:verified:","mission_step_id":"4c99b647-2a36-4e63-abf6-d427935fca81","command_center_event_id":"4d41fb25-6ab2-408a-a521-78cd9cf6579c"},{"id":"5911f7ac-b298-4b3e-b9c9-8ed33565ce1b","source":"cc-execution","status":"pending","payload":{"ok":true,"jobId":"b217214c-9ebb-43ad-b3d5-30c8f636a68e","phase":"universal_visual_witness_supervised","branch":"ai/objective-first-repair-f250504fc6e6","reason":null,"status":"pending","metrics":{"receiptBytes":37264,"releaseCount":0,"toolCallCount":18,"repeatedCallCount":8,"executorlessWaitMs":595851,"firstUsefulResultAt":"2026-09-25T21:39:56.950Z","recoveryAttemptCount":4,"ownerInterruptionCount":0},"version":null,"prNumber":3769,"terminal":false,"missionId":"f250504f-c6e6-4a24-a499-d57851237fcf","operation":"visual_proof_started","proofGate":"universal_visual_witness_pending","sourceSha":"1efd98a76363d60124492c0696d3bd773fd5a3fb","timingsMs":{"queue":285,"total":302,"execution":17},"nextAction":"Execution is pending; poll inspect_route_status only when fresh progress is expected, or cancel with inspect_route_cancel.","receiptRef":{"mode":"full","missionId":"f250504f-c6e6-4a24-a499-d57851237fcf"},"performance":null,"deploymentId":"forgejo-main-1efd98a76363","releaseState":"verified","visualWitness":{"role":"GodMode","jobId":"b217214c-9ebb-43ad-b3d5-30c8f636a68e","tenant":null,"runnerUrl":"https://paul-witness.knocklaunch.app","runnerLane":"paul","attemptsUsed":0,"supervisorId":"b217214c-9ebb-43ad-b3d5-30c8f636a68e","failureReason":null,"observedRoute":null,"runnerVersion":null,"attemptLineage":[],"missionOutcome":null,"requestedRoute":"/big-papis/owner/dashboard?bpMode=office&officeMode=crew","runnerSourceSha":null,"selectedViewports":["desktop"],"checkpointAccounting":null,"correctiveGeneration":0,"restartReplayHistory":[]},"workflowRunId":11898,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1793,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T21:49:54.353506+00:00","proof_gate":"post_release_visual_proof_started","source_sha":"1efd98a76363d60124492c0696d3bd773fd5a3fb","external_id":"b217214c-9ebb-43ad-b3d5-30c8f636a68e","receipt_type":"visual_proof_started","idempotency_key":"mission:f250504f-c6e6-4a24-a499-d57851237fcf:visual-start:b217214c-9ebb-43ad-b3d5-30c8f636a68e","mission_step_id":"c73877e4-2140-4882-92dd-61c3d8bf149b","command_center_event_id":"f250504f-c6e6-4a24-a499-d57851237fcf"},{"id":"591406e0-4377-4638-9cf2-02f7ed352acc","source":"cc-execution","status":"complete","payload":{"ok":true,"jobId":"3f61bcac-d974-453a-ad4a-9bfa31b59171","phase":"implementation","branch":"ai/objective-first-repair-1297fc3ea836","reason":null,"status":"complete","metrics":{"receiptBytes":153501,"releaseCount":0,"toolCallCount":78,"repeatedCallCount":50,"executorlessWaitMs":2942231,"firstUsefulResultAt":"2026-09-27T05:46:06.727Z","recoveryAttemptCount":30,"ownerInterruptionCount":0},"version":"1.58.292-release-target-parity","prNumber":null,"terminal":false,"missionId":"1297fc3e-a836-406c-ae04-a0aa8f124741","operation":"execute_mission","proofGate":"repair_mission_prepared","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3473,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":437,"providerAuthMs":0,"ledgerPrepareMs":437,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":437,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":437,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"continue_batch_or_ship_and_prove","receiptRef":{"mode":"full","missionId":"1297fc3e-a836-406c-ae04-a0aa8f124741"},"performance":null,"deploymentId":null,"releaseState":null,"visualWitness":{"role":null,"jobId":"3f61bcac-d974-453a-ad4a-9bfa31b59171","tenant":null,"runnerUrl":null,"runnerLane":null,"attemptsUsed":null,"supervisorId":null,"failureReason":null,"observedRoute":null,"runnerVersion":null,"attemptLineage":[],"missionOutcome":null,"requestedRoute":null,"runnerSourceSha":null,"selectedViewports":[],"checkpointAccounting":null,"correctiveGeneration":1,"restartReplayHistory":[]},"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":"failed","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2648,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-27T06:35:14.737786+00:00","proof_gate":"repair_mission_prepared","source_sha":null,"external_id":"3f61bcac-d974-453a-ad4a-9bfa31b59171","receipt_type":"execute_mission","idempotency_key":"mission:1297fc3e-a836-406c-ae04-a0aa8f124741:execute_mission:repair_mission_prepared:generation-2","mission_step_id":"2266f7cf-e64b-4bf0-be59-708167719cb5","command_center_event_id":"1297fc3e-a836-406c-ae04-a0aa8f124741"},{"id":"5914e1c0-62f1-4ab9-a540-2801dbc5c7f3","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-9b6a73dc6a7f","reason":"anchored_edit_anchor_missing:config/owner-context.json","status":"blocked","metrics":{"receiptBytes":7601,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"executorlessWaitMs":14668,"firstUsefulResultAt":"2026-09-28T02:15:22.852Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.300-queue-self-heal","prNumber":null,"terminal":false,"missionId":"9b6a73dc-6a7f-44b0-83f9-8188753d9c35","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":562,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":562,"missionSetupMs":292,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":292,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":292,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":292,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"9b6a73dc-6a7f-44b0-83f9-8188753d9c35"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1488,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T02:15:39.105923+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:9b6a73dc-6a7f-44b0-83f9-8188753d9c35:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"77676610-8ab1-48da-a55c-03ba37412137","command_center_event_id":"9b6a73dc-6a7f-44b0-83f9-8188753d9c35"},{"id":"5915813c-b4d5-42fa-8127-823a1440cbec","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success"},"mainSha":"a740ae4e16577f61b0974c72dca0139e4bfc1a98","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"a740ae4e16577f61b0974c72dca0139e4bfc1a98","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"success"},"requestContractHash":"489d3bfd9cbceba1cfd297eca5287065042c7177fe3744473fc9b195f3c6f3f0","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/11267","runId":11267,"status":"success","sourceSha":"a740ae4e16577f61b0974c72dca0139e4bfc1a98","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"frontend":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-23T18:36:08.493386+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"a740ae4e16577f61b0974c72dca0139e4bfc1a98","external_id":"forgejo-main-a740ae4e1657","receipt_type":"canonical_release_status","idempotency_key":"mission:e8c52336-3ce5-4985-ae67-b31d6cae3328:forgejo-release-status:a740ae4e16577f61b0974c72dca0139e4bfc1a98:verified:forgejo-main/source=success|forgejo-release/workflow=success|frontend-cloudflare/live=success","mission_step_id":"081cb1b5-ce02-4af6-b839-4183b3d7cd3b","command_center_event_id":"e8c52336-3ce5-4985-ae67-b31d6cae3328"},{"id":"59158b67-fb3d-4c08-8e5a-d0e86e36b7ca","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"d235f8e30585e3475cc28ebb6e598f0b9fb5d555","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"d235f8e30585e3475cc28ebb6e598f0b9fb5d555","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","forgejoWorkflowProof":{"error":"workflow_run_id_missing","runId":null},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-23T01:53:23.118995+00:00","proof_gate":"canonical_release_pending","source_sha":"d235f8e30585e3475cc28ebb6e598f0b9fb5d555","external_id":null,"receipt_type":"canonical_release_status","idempotency_key":"mission:41a01da3-ede1-4ab3-94ef-c0f3bc4acf6a:forgejo-release-status:d235f8e30585e3475cc28ebb6e598f0b9fb5d555:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"72a70dce-9e56-4b12-adde-069c1ec3cc03","command_center_event_id":"41a01da3-ede1-4ab3-94ef-c0f3bc4acf6a"},{"id":"59177b21-35cf-4952-a422-eea9c5964295","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"fc62f12835d48e19583480b80164dc9dc6a4066f","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"canonical-slug","satisfied":true,"statement":"Tenant b6cd1709-089e-423d-b09a-31d3181d0021 uses company_slug `bookmedirectly` and route-facing settings use the same canonical slug.","proofConditionIds":["repo-data-proof","canonical-route-proof"]},{"id":"legacy-compat","satisfied":true,"statement":"Requests to `/bookmedirectly-com/*` redirect to the corresponding `/bookmedirectly/*` path while preserving suffix, query, and hash.","proofConditionIds":["legacy-route-proof"]},{"id":"storage-preserved","satisfied":true,"statement":"Existing storage bucket `tenant-bookmedirectly-com` and stored object paths are unchanged.","proofConditionIds":["storage-proof"]}],"satisfied":true,"constraints":[{"id":"no-storage-rename","satisfied":true,"statement":"Do not rename storage buckets or object keys.","proofConditionIds":["storage-proof"]},{"id":"preserve-domain","satisfied":true,"statement":"Keep canonical public domain `bookmedirectly.com` unchanged.","proofConditionIds":["repo-data-proof"]},{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["repo-data-proof","canonical-route-proof","legacy-route-proof","storage-proof"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["repo-data-proof","canonical-route-proof","legacy-route-proof","storage-proof"]}],"contractHash":"4a111a53cbf74ae9f5fc1d7e77a5a33890670d2ebc9ff0269bfbc36a5944c952","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"repo-data-proof","kind":"repository","evidence":{"reason":null,"satisfied":true,"missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success","migrations":"success"},"repositoryProofGate":"request_contract_repository_verified","repositoryProofPath":null,"requestContractHash":"4a111a53cbf74ae9f5fc1d7e77a5a33890670d2ebc9ff0269bfbc36a5944c952","unsuccessfulTargets":[],"activeReleaseTargets":["frontend","migrations"],"allowedReleaseTargets":[],"repositoryProofStatus":"verified","expectedRepositoryPath":null,"requiredReleaseTargets":[],"migrationReleaseVerified":null,"repositoryConditionBound":true,"repositoryProofSourceSha":"fc62f12835d48e19583480b80164dc9dc6a4066f"},"required":true,"satisfied":true},{"id":"canonical-route-proof","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success","migrations":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend","migrations"],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"4a111a53cbf74ae9f5fc1d7e77a5a33890670d2ebc9ff0269bfbc36a5944c952"},"required":true,"satisfied":true},{"id":"legacy-route-proof","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success","migrations":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend","migrations"],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"4a111a53cbf74ae9f5fc1d7e77a5a33890670d2ebc9ff0269bfbc36a5944c952"},"required":true,"satisfied":true},{"id":"storage-proof","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success","migrations":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend","migrations"],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"4a111a53cbf74ae9f5fc1d7e77a5a33890670d2ebc9ff0269bfbc36a5944c952"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["frontend","migrations"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-14T05:33:39.460207+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"fc62f12835d48e19583480b80164dc9dc6a4066f","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:d97159d5-ef8a-41e3-bd9a-7a541b2cee81:request-contract:4a111a53cbf74ae9f5fc1d7e77a5a33890670d2ebc9ff0269bfbc36a5944c952:fc62f12835d48e19583480b80164dc9dc6a4066f:verified:","mission_step_id":"44bfcf1b-f56d-4374-92f2-e9415b407f34","command_center_event_id":"d97159d5-ef8a-41e3-bd9a-7a541b2cee81"},{"id":"591d81ce-90ae-4a9c-a7a8-eb2a32425541","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":null,"reason":"expected_head_sha_mismatch","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.65.6-guarded-stale-manual-pr-retirement","prNumber":null,"terminal":false,"missionId":"5a15e920-05a8-4637-bca6-0cce701020aa","operation":"ship_and_prove","proofGate":"ship_and_prove_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4005,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":517,"providerAuthMs":0,"ledgerPrepareMs":517,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":517,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":517,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"5a15e920-05a8-4637-bca6-0cce701020aa"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":967,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T23:13:53.235899+00:00","proof_gate":"ship_and_prove_blocked","source_sha":null,"external_id":null,"receipt_type":"ship_and_prove","idempotency_key":"mission:5a15e920-05a8-4637-bca6-0cce701020aa:ship_and_prove:ship_and_prove_blocked:no-source:no-run","mission_step_id":"9bcdb7ac-ca72-481a-b0cd-cf2eb24628c1","command_center_event_id":"5a15e920-05a8-4637-bca6-0cce701020aa"},{"id":"591e9474-44aa-4d8b-9dcc-185bb02fa951","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Harden the control plane PR-readiness transport budget so healthy Forgejo reads do not false-timeout before stale-main refresh. Change only 1500ms/read + 4000ms total to 4000ms/read + 7000ms total, update exact config/contracts, bump cc-execution to 1.55.8-readiness-resilience, preserve all protected-main/exact-head/stale-generation safety, Gate, squash merge, deploy cc-execution only, prove live, then finish existing PR #960.","wordingChanged":false,"canonicalIntent":"Harden the control plane PR-readiness transport budget so healthy Forgejo reads do not false-timeout before stale-main refresh. Change only 1500ms/read + 4000ms total to 4000ms/read + 7000ms total, update exact config/contracts, bump cc-execution to 1.55.8-readiness-resilience, preserve all protected-main/exact-head/stale-generation safety, Gate, squash merge, deploy cc-execution only, prove live, then finish existing PR #960.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-queue","statement":"The shared control plane readiness timeout defect is repaired and existing PR #960 can refresh, Gate, merge, release, and reach terminal proof without manual babysitting.","proofConditionIds":["proof-runtime","proof-queue"]}],"objective":"Harden the control plane PR-readiness transport budget so healthy Forgejo reads do not false-timeout before stale-main refresh. Change only 1500ms/read + 4000ms total to 4000ms/read + 7000ms total, update exact config/contracts, bump cc-execution to 1.55.8-readiness-resilience, preserve all protected-main/exact-head/stale-generation safety, Gate, squash merge, deploy cc-execution only, prove live, then finish existing PR #960.","constraints":[{"id":"constraint-1","statement":"Forgejo is canonical","proofConditionIds":["proof-runtime","proof-queue"]},{"id":"constraint-2","statement":"Do not bypass protected main","proofConditionIds":["proof-runtime","proof-queue"]},{"id":"constraint-3","statement":"Do not create duplicate replacement PRs for existing queue work","proofConditionIds":["proof-queue"]},{"id":"constraint-4","statement":"Preserve exact-head Gate and stale-generation safety","proofConditionIds":["proof-runtime","proof-queue"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-runtime","kind":"runtime","claim":"cc-execution 1.55.8-readiness-resilience is live after canonical Gate, squash merge, and cc-execution-only release.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]},{"id":"proof-queue","kind":"repository","claim":"Existing PR #960 progresses through refresh, exact-head Gate, squash merge and affected-target release after the control-plane repair.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"124d1f4b43559e757a38bba1dd289344d632f4680ad05d96e3c5265147dc9f39","requestContractRevision":2,"previousRequestContractHash":"b75efca004f9b06ad0a538ea71685d20dc2b62dc6488a0ab24378560a0669c6c"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-28T23:08:04.598011+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:e9c822db-fde4-4007-9473-cafd96ba2f7a:request-contract-revision:2:124d1f4b43559e757a38bba1dd289344d632f4680ad05d96e3c5265147dc9f39","mission_step_id":"1f258c65-4689-47e5-a5c7-8932774f8c8a","command_center_event_id":"e9c822db-fde4-4007-9473-cafd96ba2f7a"},{"id":"59263f9a-5529-4855-8043-6611c4ebe730","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/big-papis-new-event-quick-booking","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.46.8-intent-aware-objectives","prNumber":null,"terminal":false,"missionId":"0888a048-a8ac-483b-a0d6-c61a0cc2debf","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":null,"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /repair/continue-mission automatically with this missionId without another owner prompt.","receiptRef":{"mode":"full","missionId":"0888a048-a8ac-483b-a0d6-c61a0cc2debf"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":8484,"likelyAffectedFiles":["src/components/admin/TenantUserCommandCenters.tsx","src/components/TenantRouter.tsx","src/components/WorkflowRouter.tsx","src/components/GlobalCommandPalette.tsx","src/__tests__/commandCenter/deployDetection.test.ts","src/__tests__/contracts/command-center-mission-control.test.ts","src/__tests__/contracts/command-center-mission-preflight.test.ts","src/__tests__/contracts/operational-command-application-integration.contract.test.ts","src/components/ContactsRouter.tsx","src/components/LeadsRouter.tsx","src/components/RebuttalsRouter.tsx","src/components/admin/drive/DriveShareDialog.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-16T02:45:42.451647+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:0888a048-a8ac-483b-a0d6-c61a0cc2debf:execute_mission:repair_mission_synthesis_ready","mission_step_id":"a2a269d7-dce0-4f37-af04-c42e34b21056","command_center_event_id":"0888a048-a8ac-483b-a0d6-c61a0cc2debf"},{"id":"59276b3e-9904-4600-a4b4-2985aab87b1d","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-mtccics0","reason":"control_plane_maintenance_authorization_required","status":"blocked","metrics":{"receiptBytes":1131,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.55.0-godmode-restore-points","prNumber":null,"terminal":false,"missionId":"0d5545c0-268b-4387-85ab-73a7b4aef51c","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"handlerMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":1020,"shipAndProveMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"0d5545c0-268b-4387-85ab-73a7b4aef51c"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5377,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-28T02:43:06.580167+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:0d5545c0-268b-4387-85ab-73a7b4aef51c:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"5c2bd67a-ae05-4ed1-877d-605c3aeb50ea","command_center_event_id":"0d5545c0-268b-4387-85ab-73a7b4aef51c"},{"id":"59278ecd-af5f-4a59-a84d-0bb6d9935aae","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":null,"reason":"retryable_provider_transport:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":5106,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":null,"prNumber":727,"terminal":false,"missionId":"e9c1c5ec-c954-44d2-9911-30b2f045c667","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"e9c1c5ec-c954-44d2-9911-30b2f045c667"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":974,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-25T05:04:33.9237+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"727","receipt_type":"automatic_mission_resume","idempotency_key":"mission:e9c1c5ec-c954-44d2-9911-30b2f045c667:automatic-mission-resume:727:repair_mission_pr_ready_retryable","mission_step_id":"76004646-a81b-40a6-86a6-111b560871ad","command_center_event_id":"e9c1c5ec-c954-44d2-9911-30b2f045c667"},{"id":"592856d4-4436-47e8-9d61-8cce465e103d","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"src/PrivateAppShell.tsx","content":"/** KNOCKLAUNCH private application shell. */\nimport React,{Suspense} from 'react';\nimport {createPortal} from 'react-dom';\nimport {Link,Navigate,Route,Routes,useLocation,useNavigate,useParams} from 'react-router-dom';\nimport { ArrowLeft, Home, MessageCircle, RefreshCw } from 'lucide-react';\nimport {RouteHealthBanner} from '@/components/RouteHealthBanner';\nimport {UniversalLoadingScreen} from '@/components/ui/universal-loading-screen';\nimport {PageLoadingSkeleton} from '@/components/ux/PageLoadingSkeleton';\nimport {useCanonicalTenantRedirect} from '@/hooks/useCanonicalTenantRedirect';\nimport {MultiTenantProvider,useMultiTenant} from './contexts/MultiTenantContext';\nimport {RealtimeProvider} from './contexts/RealtimeContext';\nimport {TenantApplicationChromeContext} from './contexts/TenantApplicationChromeContext';\nimport {UserImpersonationProvider} from '@/contexts/UserImpersonationContext';\nimport {UserImpersonationBanner} from './components/admin/UserImpersonationBanner';\nimport {GodModeTenantDemoIndicator} from '@/components/godmode/GodModeTenantDemoIndicator';\nimport {AuditorModeBanner} from './components/AuditorModeBanner';\nimport SiteBackground from './components/SiteBackground';\nimport TenantPlatformShellKernel from '@/shells/TenantPlatformShellKernel';\nimport TenantQuickTour from '@/components/onboarding/TenantQuickTour';\nimport {BaseErrorBoundary} from '@/components/error-boundary/BaseErrorBoundary';\nimport {GodModePageOverrideRuntime} from '@/components/godmode/GodModePageOverrideRuntime';\nimport TenantPublishedExperienceRuntime from '@/components/experience-editor/TenantPublishedExperienceRuntime';\nimport {setGlobalShortcutsState} from './hooks/useGlobalKeyboardShortcuts';\nimport {lazyWithRetry} from '@/lib/lazyWithRetry';\nimport {useShortcutHint} from './hooks/useShortcutHint';\nimport {FocusModeProvider} from './components/ux/FocusMode';\nimport {useSessionTracker} from './hooks/useSessionTracker';\nimport {useActivityLogger} from './hooks/useActivityLogger';\nimport {useRealtimeStormEvents} from './hooks/useRealtimeStormEvents';\nimport {ROLES} from './routes/helpers';\nimport {UnifiedProtectedRoute} from '@/components/UnifiedProtectedRoute';\n\nimport {getTenantDashboardPathForTenant,isKnockLaunchOsWorkspace} from '@/lib/tenantUtils';\nimport {persistCachedTenantBackground,resolveTenantBackgroundUrl} from '@/lib/tenantBackground';\nimport {resolveTenantWorkspaceRuntimeProfile} from '@/lib/tenants/tenantWorkspaceRuntimeProfile';\nimport {canonicalTenantRouteSlugForIdentity,resolveTenantRouteMembership,tenantRouteIdentityMatchesRequestedSlug} from '@/routes/verticalRouteRegistry';\nimport {buildTenantApplicationWorkspacePath,getTenantApplicationAssignmentsFromSettings,getTenantApplicationByReference,getTenantApplicationByStandaloneHost,getTenantApplicationScopeFromSettings,resolveTenantApplicationAccess,type ApplicationCapability} from '@/config/applicationCapabilityRegistry';\nimport {resolveRequestedTenantRouteIdentity,resolveTenantApplicationRoute} from '@/routes/tenantApplicationRouteResolver';\nimport {readGodModeAccessContext} from '@/lib/godmodeAccess';\nimport {useGodModeBranding} from '@/hooks/useGodModeBranding';\nimport {PROJECTED_TENANT_ROUTE_GRACE_MS,projectedTenantRouteIntentMatches,shouldHoldTenantRouteHydration} from '@/routes/tenantRouteIdentityBoundaryState';\nimport {resolvePrivateWorkspaceCompatibility} from '@/routes/privateWorkspaceCompatibility';\nimport { TenantOwnedShellBoundary, resolveTenantOwnedShellKind, tenantUsesModesRouteFallback } from '@/shells/TenantOwnedShellBoundary';\nimport {DIRECT_MODES_APPLICATION_IDS,DirectModesApplicationSurface,EventRentalModesApplicationSurface,isEventRentalTenantContext} from '@/shells/TenantModesApplicationSurface';\n\nimport PlatformContextMenu from '@/components/interaction/PlatformContextMenu';\nimport {TenantRouteFailureSurface} from '@/components/routing/TenantRouteFailureSurface';\nimport '@/styles/bigPapisApplicationFamily.css';\nimport '@/styles/bigPapisApplicationFamily.css';\n\nconst TeamApplicationRoute=lazyWithRetry(()=>import('./pages/applications/TeamApplicationRoute'));\nconst AcademyApplicationRoute=lazyWithRetry(()=>import('./pages/applications/AcademyApplicationRoute'));\nconst MailApplicationRoute=lazyWithRetry(()=>import('./pages/applications/MailApplicationRoute'));\nconst CalendarApplicationRoute=lazyWithRetry(()=>import('./pages/applications/CalendarApplicationRoute'));\nconst DocumentsEvidenceApplicationRoute=lazyWithRetry(()=>import('./pages/applications/DocumentsEvidenceApplicationRoute'));\nconst BillingPaymentsApplicationRoute=lazyWithRetry(()=>import('./pages/applications/BillingPaymentsApplicationRoute'));\nconst ReportsAnalyticsApplicationRoute=lazyWithRetry(()=>import('./pages/applications/ReportsAnalyticsApplicationRoute'));\nconst JobsWorkOrdersApplicationRoute=lazyWithRetry(()=>import('./pages/applications/JobsWorkOrdersApplicationRoute'));\nconst ContactsRouter=lazyWithRetry(()=>import('./components/ContactsRouter').then(module=>({default:module.ContactsRouter})));\nconst TasksPage=lazyWithRetry(()=>import('./pages/TasksPage'));\nconst TenantSettingsPage=lazyWithRetry(()=>import('./pages/settings/TenantSettingsPageWithWebsiteAssets'));\nconst OpportunityRadarPage=lazyWithRetry(()=>import('./pages/crm/OpportunityRadarPage')); \nconst lazyNamedWithRetry=<TModule,TKey extends keyof TModule>(loader:()=>Promise<TModule>,exportName:TKey)=>lazyWithRetry(()=>loader().then(module=>({default:module[exportName] as React.ComponentType<any>})));\nconst AdminUsersCommandCenter=lazyNamedWithRetry(()=>import('./components/admin/TenantUserCommandCenters'),'AdminUsersCommandCenter');\nconst OwnerUsers=lazyWithRetry(()=>import('./pages/owner/OwnerUsers'));const KnockLaunchPortfolio=lazyWithRetry(()=>import('./pages/owner/KnockLaunchPortfolio'));const KnockLaunchTemplates=lazyWithRetry(()=>import('./pages/owner/KnockLaunchTemplates'));const KnockLaunchOSDashboard=lazyWithRetry(()=>import('./pages/owner/KnockLaunchOSDashboard'));const KnockLaunchOSSettings=lazyWithRetry(()=>import('./pages/owner/KnockLaunchOSSettings'));const VideoStudio=lazyWithRetry(()=>import('./pages/owner/VideoStudio'));\nconst FirstClassAppTenantBoundary=lazyWithRetry(()=>import('./components/applications/FirstClassAppTenantBoundary'));const ProposalEditorApplicationRoute=lazyWithRetry(()=>import('./pages/applications/ProposalEditorApplicationRoute'));const UniversalProposalWorkspace=lazyWithRetry(()=>import('./pages/proposals/UniversalProposalWorkspace'));const CreativeStudioApplicationRoute=lazyWithRetry(()=>import('./pages/applications/CreativeStudioApplicationRoute'));const NotFound=lazyWithRetry(()=>import('./pages/NotFound'));const BackgroundOCRStatus=lazyNamedWithRetry(()=>import('./components/management/BackgroundOCRStatus'),'BackgroundOCRStatus');const GlobalCommandPalette=lazyNamedWithRetry(()=>import('./components/GlobalCommandPalette'),'GlobalCommandPalette');const KeyboardShortcutsModal=lazyNamedWithRetry(()=>import('./components/KeyboardShortcutsModal'),'KeyboardShortcutsModal');const TrialBanner=lazyNamedWithRetry(()=>import('./components/billing/TrialBanner'),'TrialBanner');const TrialAhaModal=lazyNamedWithRetry(()=>import('./components/billing/TrialAhaModal'),'TrialAhaModal');const ExperienceEditorCanvasBridge=lazyWithRetry(()=>import('./components/experience-editor/ExperienceEditorCanvasBridge'));const MiscAwareAccountMenu=lazyWithRetry(()=>import('./components/MiscAwareAccountMenu'));const RoofHelpFinderWorkspace=lazyWithRetry(()=>import('./pages/roof-help/RoofHelpFinderWorkspace'));const RedfishCanvassingRoute=lazyWithRetry(()=>import('./components/redfish/RedfishCanvassingRoute'));const RedfishContactWorkspace=lazyWithRetry(()=>import('./pages/crm/ContactWorkspace/index'));const MediaLibrary=lazyWithRetry(()=>import('./pages/admin/MediaLibrary'));const AutoUnlockWorkspaceRouter=lazyWithRetry(()=>import('./pages/auto-lockout/AutoUnlockWorkspaceRouter'));const BookMeDirectlyWorkspace=lazyWithRetry(()=>import('./pages/book-me-directly/BookMeDirectlyWorkspace'));const CallCenterApplicationRoute=lazyWithRetry(()=>import('./pages/applications/CallCenterApplicationRoute'));const MarketingApplicationRoute=lazyWithRetry(()=>import('./pages/applications/MarketingApplicationRoute'));const EventRentalCustomersPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalCustomersPage');const EventRentalInventoryPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalInventoryPage');const EventRentalBookingsPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalBookingsPage');const EventRentalOperationsPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalOperationsPage');const EventRentalCalendarPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalCalendarPage');const EventRentalPrepChecklistPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalPrepChecklistPage');const EventRentalPaymentsPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalPaymentsPage');const EventRentalReportsPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalReportsPage');const EventRentalSetupReturnPage=lazyNamedWithRetry(()=>import('./pages/event-rentals/EventRentalWorkspace'),'EventRentalSetupReturnPage');\nconst RoofTracingPage=lazyWithRetry(()=>import('./pages/roof-estimator/RoofTracingPage'));\nconst TenantCrmRoutes=lazyWithRetry(()=>import('./routes/crmRoutes').then(module=>({default:function TenantCrmRoutesRuntime({locationOverride}:{locationOverride?:string}){return <Routes location={locationOverride}>{module.crmRoutes}<Route path=\"*\" element={<Suspense fallback={<RouteFallback/>}><NotFound/></Suspense>}/></Routes>}})));\nconst AdminRouteRegistry=lazyWithRetry(()=>import('./routes/adminRoutes').then(module=>({default:function AdminRouteRegistryRuntime(){return <Routes>{module.adminRoutes}<Route path=\"*\" element={<Suspense fallback={<RouteFallback/>}><NotFound/></Suspense>}/></Routes>}})));\nconst SceRouteRegistry=lazyWithRetry(()=>import('./routes/sceRoutes').then(module=>({default:function SceRouteRegistryRuntime(){return <Routes>{module.sceRoutes}<Route path=\"*\" element={<Suspense fallback={<RouteFallback/>}><NotFound/></Suspense>}/></Routes>}})));\nconst OwnerRouteRegistry=lazyWithRetry(()=>import('./routes/ownerRoutes').then(module=>({default:function OwnerRouteRegistryRuntime(){return <Routes>{module.ownerRoutes}<Route path=\"*\" element={<Suspense fallback={<RouteFallback/>}><NotFound/></Suspense>}/></Routes>}})));\nconst DefaultPrivateRouteRegistry=lazyWithRetry(()=>Promise.all([import('./routes/sceRoutes'),import('./routes/vanityRoutes'),import('./routes/ownerRoutes'),import('./routes/commandCenterRoutes')]).then(([sce,vanity,owner,commandCenter])=>({default:function DefaultPrivateRouteRegistryRuntime(){return <Routes>{sce.sceRoutes}{vanity.vanityRoutes}{owner.ownerRoutes}{commandCenter.commandCenterRoutes}<Route path=\"/index\" element={<Navigate to=\"/select-tenant\" replace/>}/><Route path=\"*\" element={<TenantCrmRouteFallback/>}/></Routes>}})));\n\nfunction tenantApplicationAvailable(app:ApplicationCapability,tenant:any){if(!tenant?.id)return false;const settings=(tenant?.settings&&typeof tenant.settings==='object'?tenant.settings:{}) as Record<string,unknown>;const scope=getTenantApplicationScopeFromSettings(settings);return resolveTenantApplicationAccess(app,{tenantType:tenant?.tenant_type,enabledApplications:getTenantApplicationAssignmentsFromSettings(settings),contextApplicationIds:scope.applicationIds,applicationScopeExplicit:scope.explicit}).available}\n\n\n\n\n\nfunction GlobalFallbackAccountMenu({verifyShellOwnership=false}:{verifyShellOwnership?:boolean}){const location=useLocation();const {activeTenant}=useMultiTenant();const normalizedPath=location.pathname.toLowerCase().replace(/\\/+$/g,'')||'/';const tenantType=String(activeTenant?.tenant_type||'').trim().toUpperCase().replace(/[\\s-]+/g,'_');const tenantSlug=String(activeTenant?.company_slug||'').trim().toLowerCase();const settings=((activeTenant as any)?.settings||{}) as Record<string,any>;const blueprintDriven=Boolean(settings.business_operating_blueprint||settings.tenant_manifest?.businessOperatingBlueprint||settings.declared_business_type);const adaptiveShellOwnsAccountMenu=(blueprintDriven||tenantType==='MISC'||tenantType==='MISCELLANEOUS')&&Boolean(tenantSlug)&&(normalizedPath===`/${tenantSlug}`||normalizedPath.startsWith(`/${tenantSlug}/`)||normalizedPath.startsWith('/crm/misc/'));const applicationRoute=resolveTenantApplicationRoute(normalizedPath);const selfContainedRouteFamily=resolveTenantWorkspaceRuntimeProfile(activeTenant,location.pathname).isSelfContainedTenantWorkspace;const shellContractOwnsAccountMenu=verifyShellOwnership||(adaptiveShellOwnsAccountMenu&&!selfContainedRouteFamily);if(location.pathname.startsWith('/admin'))return null;if(applicationRoute?.mode==='standalone')return null;if(shellContractOwnsAccountMenu)return null;return <div data-global-fallback-avatar-host=\"true\"><MiscAwareAccountMenu singletonKey=\"global-private-shell-account-menu\" placement=\"fixed\" fallback avatarMode=\"tenant\" tenantShellOwner/></div>}\nfunction LazyShellSlot({children}:{children:React.ReactNode}){return <Suspense fallback={<RouteFallback/>}>{children}</Suspense>}\nfunction CanonicalRedirectHandler(){useCanonicalTenantRedirect();return null}\nfunction BigPapisApplicationFamilyStyle(){\n  const location=useLocation();\n  const{activeTenant}=useMultiTenant();\n\n  React.useEffect(()=>{\n    if(typeof document==='undefined')return;\n    const slug=String(activeTenant?.company_slug||'').trim().toLowerCase();\n    const path=location.pathname.toLowerCase();\n    const isBigPapis=slug==='big-papis'||path.startsWith('/big-papis/');\n    const modeClass=path.includes('/start-popup')||path.includes('/pop-up')||path.includes('/popup')?'kl-bp-popup':path.includes('/back-office')?'kl-bp-back-office':path.includes('/messages')||path.includes('/messaging')||path.includes('/communications')?'kl-bp-connect':path.includes('/event')?'kl-bp-event':'kl-bp-plan';\n    const classes=['kl-big-papis-app-family','kl-bp-plan','kl-bp-popup','kl-bp-event','kl-bp-back-office','kl-bp-connect'];\n    for(const className of classes)document.body.classList.remove(className);\n    if(isBigPapis)document.body.classList.add('kl-big-papis-app-family',modeClass);\n    return()=>{for(const className of classes)document.body.classList.remove(className)};\n  },[activeTenant?.company_slug,location.pathname]);\n\n  return null;\n}\nfunction MobileViewportRecovery(){const[zoomed,setZoomed]=React.useState(false);const lastTapRef=React.useRef<{time:number;x:number;y:number}|null>(null);const resetViewport=React.useCallback(()=>{if(typeof document==='undefined'||typeof window==='undefined')return;const active=document.activeElement as HTMLElement|null;if(active&&typeof active.blur==='function')active.blur();let viewport=document.querySelector('meta[name=\"viewport\"]') as HTMLMetaElement|null;const created=!viewport;if(!viewport){viewport=document.createElement('meta');viewport.name='viewport';document.head.appendChild(viewport)}const original=viewport.content;const fallback='width=device-width, initial-scale=1, viewport-fit=cover';viewport.content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover';window.setTimeout(()=>{if(!viewport)return;viewport.content=original||fallback;if(created&&!original)viewport.content=fallback;window.dispatchEvent(new Event('resize'))},180)},[]);React.useEffect(()=>{const visualViewport=window.visualViewport;if(!visualViewport)return;const sync=()=>setZoomed(visualViewport.scale>1.05);sync();visualViewport.addEventListener('resize',sync);visualViewport.addEventListener('scroll',sync);return()=>{visualViewport.removeEventListener('resize',sync);visualViewport.removeEventListener('scroll',sync)}},[]);React.useEffect(()=>{const onPointerUp=(event:PointerEvent)=>{if(!zoomed||event.pointerType==='mouse')return;const target=event.target as Element|null;if(target?.closest('input,textarea,select,button,a,[role=\"button\"],[contenteditable=\"true\"],[data-no-viewport-reset]')){lastTapRef.current=null;return}const now=Date.now();const previous=lastTapRef.current;lastTapRef.current={time:now,x:event.clientX,y:event.clientY};if(!previous||now-previous.time>320)return;const dx=event.clientX-previous.x;const dy=event.clientY-previous.y;if(Math.hypot(dx,dy)>28)return;event.preventDefault();lastTapRef.current=null;resetViewport()};document.addEventListener('pointerup',onPointerUp,{passive:false});return()=>document.removeEventListener('pointerup',onPointerUp)},[resetViewport,zoomed]);return <><style>{`@media (max-width: 767px){.kl-responsive-tenant-runtime input:not([type=\"checkbox\"]):not([type=\"radio\"]):not([type=\"range\"]),.kl-responsive-tenant-runtime select,.kl-responsive-tenant-runtime textarea,.kl-responsive-tenant-runtime [contenteditable=\"true\"]{font-size:max(16px,1em)!important}.kl-responsive-tenant-runtime input,.kl-responsive-tenant-runtime select,.kl-responsive-tenant-runtime textarea,.kl-responsive-tenant-runtime button{touch-action:manipulation}}`}</style>{zoomed?<button type=\"button\" data-no-viewport-reset=\"true\" aria-label=\"Reset page zoom to normal\" onClick={resetViewport} className=\"fixed right-3 top-[calc(var(--comm-banner-h,0px)+env(safe-area-inset-top)+0.75rem)] z-[9999] min-h-10 rounded-full border border-white/20 bg-black/80 px-3 text-xs font-black text-white shadow-lg backdrop-blur-xl\">Reset view</button>:null}</>}\nfunction readInstalledAppSafeInsets(){if(typeof document==='undefined')return{top:0,right:0,bottom:0,left:0};const probe=document.createElement('div');probe.style.cssText='position:fixed;visibility:hidden;pointer-events:none;padding-top:env(safe-area-inset-top);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom);padding-left:env(safe-area-inset-left)';document.body.appendChild(probe);const style=window.getComputedStyle(probe);const value=(input:string)=>Number.parseFloat(input)||0;const insets={top:value(style.paddingTop),right:value(style.paddingRight),bottom:value(style.paddingBottom),left:value(style.paddingLeft)};probe.remove();return insets}\nfunction InstalledAppNavigationRecovery(){const navigate=useNavigate();const location=useLocation();const{activeTenant}=useMultiTenant();const footerRef=React.useRef<HTMLElement|null>(null);const normalizedUtilityPath=location.pathname.toLowerCase().replace(/\\/+$/g,'')||'/';const suppressUtilityFooter=normalizedUtilityPath==='/select-tenant'||normalizedUtilityPath.startsWith('/sign-agreement')||normalizedUtilityPath.startsWith('/agreement-verification');const[mobile,setMobile]=React.useState(()=>!suppressUtilityFooter&&typeof window!=='undefined'&&window.matchMedia('(max-width: 767px)').matches);const[stackRevision,setStackRevision]=React.useState(0);React.useEffect(()=>{if(typeof window==='undefined')return;const media=window.matchMedia('(max-width: 767px)');const sync=()=>setMobile(!suppressUtilityFooter&&media.matches);sync();media.addEventListener('change',sync);return()=>media.removeEventListener('change',sync)},[suppressUtilityFooter]);React.useEffect(()=>{if(!mobile||typeof document==='undefined'||typeof window==='undefined')return;const footer=footerRef.current;if(!footer)return;const selectors=['[data-big-papis-mobile-nav=\"true\"]','[data-tenant-modes-mobile-nav=\"true\"]','[data-tenant-modes-mobile-landing-nav=\"true\"]','[data-mobile-bottom-nav=\"true\"]','[data-tenant-mobile-nav=\"true\"]'];const sync=()=>{const primary=selectors.map((selector)=>document.querySelector<HTMLElement>(selector)).find(Boolean);if(!primary)return;const style=window.getComputedStyle(primary);const active=primary.querySelector<HTMLElement>('[aria-current=\"page\"]');const activeStyle=active?window.getComputedStyle(active):null;footer.style.setProperty('--kl-utility-nav-bg',style.backgroundColor||'rgba(5,10,16,.94)');footer.style.setProperty('--kl-utility-nav-border',style.borderTopColor||'rgba(255,255,255,.12)');footer.style.setProperty('--kl-utility-nav-text',style.color||'rgba(255,255,255,.82)');footer.style.setProperty('--kl-utility-nav-accent',activeStyle?.color||style.color||'rgba(255,255,255,.92)');footer.style.setProperty('--kl-utility-nav-shadow',style.boxShadow||'0 -14px 44px rgba(0,0,0,.32)');footer.style.setProperty('--kl-utility-nav-backdrop',style.backdropFilter||'blur(24px)');document.documentElement.style.setProperty('--kl-platform-mobile-nav-h',`${Math.ceil(footer.getBoundingClientRect().height)}px`)};sync();const observer=new MutationObserver(sync);observer.observe(document.body,{childList:true,subtree:true,attributes:true,attributeFilter:['class','style','aria-current']});window.addEventListener('resize',sync,{passive:true});return()=>{observer.disconnect();window.removeEventListener('resize',sync)}},[mobile,activeTenant?.id]);React.useEffect(()=>{if(!mobile||typeof document==='undefined'||typeof window==='undefined')return;const footer=footerRef.current;if(!footer)return;const selectors=['[data-big-papis-mobile-nav=\"true\"]','[data-tenant-modes-mobile-nav=\"true\"]','[data-tenant-modes-mobile-landing-nav=\"true\"]','[data-mobile-bottom-nav=\"true\"]','[data-tenant-mobile-nav=\"true\"]'];const primary=selectors.map((selector)=>document.querySelector<HTMLElement>(selector)).find(Boolean);if(!primary){const utilityRoot=document.querySelector<HTMLElement>('.kl-responsive-tenant-runtime');const previousUtilityRootStyle=utilityRoot?.getAttribute('style')??null;const previousPlatformNavHeight=document.documentElement.style.getPropertyValue('--kl-platform-mobile-nav-h');const previousStackHeight=document.documentElement.style.getPropertyValue('--kl-mobile-bottom-stack-h');const syncUtilityOnly=()=>{const utilityHeight=Math.ceil(footer.getBoundingClientRect().height);footer.style.setProperty('bottom','0px','important');document.documentElement.style.setProperty('--kl-platform-mobile-nav-h',`${utilityHeight}px`);document.documentElement.style.setProperty('--kl-mobile-bottom-stack-h',`${utilityHeight}px`);if(utilityRoot){utilityRoot.style.setProperty('position','fixed','important');utilityRoot.style.setProperty('inset',`0 0 ${utilityHeight}px 0`,'important');utilityRoot.style.setProperty('height','auto','important');utilityRoot.style.setProperty('min-height','0','important');utilityRoot.style.setProperty('overflow-y','auto','important');utilityRoot.style.setProperty('padding-bottom','0px','important');utilityRoot.style.setProperty('overscroll-behavior-y','contain','important')}};syncUtilityOnly();let lateMounted=false;const lateMountObserver=new MutationObserver(()=>{if(lateMounted)return;const mounted=selectors.some((selector)=>Boolean(document.querySelector<HTMLElement>(selector)));if(!mounted)return;lateMounted=true;setStackRevision((revision)=>revision+1)});lateMountObserver.observe(document.body,{childList:true,subtree:true,attributes:true,attributeFilter:['class','style','aria-current']});window.addEventListener('resize',syncUtilityOnly,{passive:true});return()=>{lateMountObserver.disconnect();window.removeEventListener('resize',syncUtilityOnly);if(utilityRoot){if(previousUtilityRootStyle===null)utilityRoot.removeAttribute('style');else utilityRoot.setAttribute('style',previousUtilityRootStyle)}if(previousPlatformNavHeight)document.documentElement.style.setProperty('--kl-platform-mobile-nav-h',previousPlatformNavHeight);else document.documentElement.style.removeProperty('--kl-platform-mobile-nav-h');if(previousStackHeight)document.documentElement.style.setProperty('--kl-mobile-bottom-stack-h',previousStackHeight);else document.documentElement.style.removeProperty('--kl-mobile-bottom-stack-h')}}const canonicalTenantNavs=selectors.map((selector)=>document.querySelector<HTMLElement>(selector)).filter((candidate):candidate is HTMLElement=>Boolean(candidate)&&candidate!==footer&&!footer.contains(candidate));const ordered=[primary,...Array.from(new Set(canonicalTenantNavs.filter((candidate)=>candidate!==primary)))];const originalBottoms=new Map(ordered.map((element)=>[element,element.style.bottom]));const root=document.querySelector<HTMLElement>('.kl-responsive-tenant-runtime');const previousRootPadding=root?.style.paddingBottom||'';const previousPlatformNavHeight=document.documentElement.style.getPropertyValue('--kl-platform-mobile-nav-h');const previousStackHeight=document.documentElement.style.getPropertyValue('--kl-mobile-bottom-stack-h');const previousPrimaryNavHeight=document.documentElement.style.getPropertyValue('--kl-mobile-primary-nav-h');const syncStack=()=>{const utilityHeight=Math.ceil(footer.getBoundingClientRect().height);footer.style.setProperty('bottom','0px','important');document.documentElement.style.setProperty('--kl-platform-mobile-nav-h',`${utilityHeight}px`);document.documentElement.style.setProperty('--kl-mobile-primary-nav-h',`${Math.ceil(primary.getBoundingClientRect().height)}px`);let offset=utilityHeight;for(const element of ordered){element.style.setProperty('bottom',`${offset}px`,'important');offset+=Math.ceil(element.getBoundingClientRect().height)}document.documentElement.style.setProperty('--kl-mobile-bottom-stack-h',`${offset}px`);if(root)root.style.setProperty('padding-bottom',`${offset}px`,'important')};syncStack();const observer=new ResizeObserver(syncStack);observer.observe(footer);for(const element of ordered)observer.observe(element);window.addEventListener('resize',syncStack,{passive:true});return()=>{observer.disconnect();window.removeEventListener('resize',syncStack);for(const [element,previousBottom] of originalBottoms){if(previousBottom)element.style.bottom=previousBottom;else element.style.removeProperty('bottom')}if(root){if(previousRootPadding)root.style.paddingBottom=previousRootPadding;else root.style.removeProperty('padding-bottom')}if(previousPlatformNavHeight)document.documentElement.style.setProperty('--kl-platform-mobile-nav-h',previousPlatformNavHeight);else document.documentElement.style.removeProperty('--kl-platform-mobile-nav-h');if(previousStackHeight)document.documentElement.style.setProperty('--kl-mobile-bottom-stack-h',previousStackHeight);else document.documentElement.style.removeProperty('--kl-mobile-bottom-stack-h');if(previousPrimaryNavHeight)document.documentElement.style.setProperty('--kl-mobile-primary-nav-h',previousPrimaryNavHeight);else document.documentElement.style.removeProperty('--kl-mobile-primary-nav-h')}},[mobile,activeTenant?.id,location.pathname,location.search,stackRevision]);if(!mobile||!activeTenant?.id||typeof window==='undefined'||typeof document==='undefined'||window.location.hostname.toLowerCase()!=='app.knocklaunch.app')return null;const home=activeTenant?.id?getTenantDashboardPathForTenant(activeTenant):'/select-tenant';const goBack=()=>{if(window.history.length>1)navigate(-1);else navigate(home)};const goHome=()=>navigate(home);const reload=()=>window.location.reload();const openMessages=()=>window.dispatchEvent(new CustomEvent('knocklaunch:messages-open'));const iconStyle={color:'var(--kl-utility-nav-accent,var(--kl-utility-nav-text,rgba(255,255,255,.92)))'};return createPortal(<><style>{`@media (max-width:767px){.kl-responsive-tenant-runtime{--kl-mobile-primary-nav-h:64px;--kl-mobile-utility-footer-h:56px;box-sizing:border-box}}`}</style><nav ref={footerRef} data-platform-mobile-utility-footer=\"true\" aria-label=\"Mobile utility navigation\" className=\"fixed inset-x-0 bottom-0 z-[10050] grid h-[calc(var(--kl-mobile-utility-footer-h,56px)+env(safe-area-inset-bottom))] grid-cols-4 border-t pb-[env(safe-area-inset-bottom)] md:hidden\" style={{background:'var(--kl-utility-nav-bg,rgba(5,10,16,.94))',borderColor:'var(--kl-utility-nav-border,rgba(255,255,255,.12))',color:'var(--kl-utility-nav-text,rgba(255,255,255,.82))',boxShadow:'var(--kl-utility-nav-shadow,0 -14px 44px rgba(0,0,0,.32))',backdropFilter:'var(--kl-utility-nav-backdrop,blur(24px))'}}><button type=\"button\" data-installed-app-navigation-action=\"back\" onClick={goBack} className=\"flex min-h-14 flex-col items-center justify-center gap-0.5 text-[10px] font-black\"><ArrowLeft className=\"h-5 w-5\" style={iconStyle}/><span>Back</span></button><button type=\"button\" data-installed-app-navigation-action=\"home\" onClick={goHome} className=\"flex min-h-14 flex-col items-center justify-center gap-0.5 text-[10px] font-black\"><Home className=\"h-5 w-5\" style={iconStyle}/><span>Home</span></button><button type=\"button\" data-installed-app-navigation-action=\"reload\" onClick={reload} className=\"flex min-h-14 flex-col items-center justify-center gap-0.5 text-[10px] font-black\"><RefreshCw className=\"h-5 w-5\" style={iconStyle}/><span>Refresh</span></button><button type=\"button\" data-installed-app-navigation-action=\"messages\" onClick={openMessages} className=\"flex min-h-14 flex-col items-center justify-center gap-0.5 text-[10px] font-black\"><MessageCircle className=\"h-5 w-5\" style={iconStyle}/><span>Messages</span></button></nav></>,document.body)}\nfunction TenantRouteScrollRestoration(){const location=useLocation();React.useEffect(()=>{if(typeof window==='undefined'||typeof document==='undefined'||location.hash)return;const frame=window.requestAnimationFrame(()=>{const tenantOwner=document.querySelector<HTMLElement>('[data-experience-runtime-root=\"true\"][data-route-scroll-owner=\"tenant\"]');if(tenantOwner){tenantOwner.scrollTo({top:0,left:0,behavior:'auto'});return}window.scrollTo({top:0,left:0,behavior:'auto'})});return()=>window.cancelAnimationFrame(frame)},[location.pathname,location.hash]);return null}\nfunction GlobalTrackers(){useSessionTracker();useActivityLogger();useRealtimeStormEvents();React.useEffect(()=>{void import('@/lib/externalNativeCall').then(m=>m.installExternalNativeCallInterceptor())},[]);return null}\nfunction ConditionalRouteHealthBanner(){const location=useLocation();if(!location.pathname.startsWith('/crm'))return null;return <RouteHealthBanner/>}\nfunction GlobalImpersonationBanner(){return <UserImpersonationBanner/>}\nfunction RouteFallback(){const{activeTenant}=useMultiTenant();const[timedOut,setTimedOut]=React.useState(false);React.useEffect(()=>{const timer=window.setTimeout(()=>setTimedOut(true),12000);return()=>window.clearTimeout(timer)},[]);if(timedOut){const home=activeTenant?.id?getTenantDashboardPathForTenant(activeTenant):'/select-tenant';return <section data-route-loading-timeout=\"true\" className=\"mx-auto mt-16 w-full max-w-xl rounded-2xl border border-white/15 bg-black/55 p-6 text-white shadow-2xl backdrop-blur-xl\"><h1 className=\"text-xl font-semibold\">This page is taking too long to open</h1><p className=\"mt-2 text-sm text-white/70\">Your workspace was preserved. Retry the page, or return to the workspace instead of staying stuck on a loading screen.</p><div className=\"mt-5 flex flex-wrap gap-3\"><button type=\"button\" onClick={()=>window.location.reload()} className=\"inline-flex min-h-11 items-center justify-center rounded-xl border border-white/15 bg-white/[.08] px-4 text-sm font-semibold text-white\">Retry</button><Link to={home} className=\"inline-flex min-h-11 items-center justify-center rounded-xl border border-white/15 bg-white/[.04] px-4 text-sm font-semibold text-white\">Return to workspace</Link></div></section>}const tenantKey=activeTenant?.id?canonicalTenantRouteSlugForIdentity(activeTenant):undefined;return <UniversalLoadingScreen tenantKey={tenantKey} brandName={activeTenant?.name||undefined} logoUrl={(activeTenant as any)?.company_logo_url||undefined} title=\"Opening workspace\" subtitle=\"\" showCountdown={false}/>}  \nfunction UsersRouteAlias(){const {activeTenant,effectiveRole,hasGodModeAnywhere,isLoading}=useMultiTenant();const platformAuthority=effectiveRole==='GodMode'||hasGodModeAnywhere();if(platformAuthority)return <Suspense fallback={<RouteFallback/>}><section className=\"mx-auto w-full max-w-[1600px] space-y-4 px-4 py-5 sm:px-6 sm:py-6\"><div><h1 className=\"text-2xl font-semibold tracking-tight\">Users</h1><p className=\"mt-1 text-sm text-muted-foreground\">Manage people, roles, and workspace access.</p></div><AdminUsersCommandCenter/></section></Suspense>;if(activeTenant?.id)return <Suspense fallback={<RouteFallback/>}><OwnerUsers/></Suspense>;if(isLoading)return <RouteFallback/>;return <Navigate to=\"/select-tenant?next=%2Fusers\" replace/>}\nfunction DemoWorkspaceEntry(){const {tenantId}=useParams();const navigate=useNavigate();const {activeTenant,memberships,isLoading,switchTenant}=useMultiTenant();const [error,setError]=React.useState('');const membership=memberships.find(m=>m.tenant_id===tenantId);React.useEffect(()=>{let cancelled=false;if(isLoading||!tenantId||!membership?.tenant)return;const tenant=membership.tenant;const readiness=((tenant as any)?.settings?.tenant_readiness||{}) as Record<string,any>;if(readiness.demo_ready!==true){const missing=Array.isArray(readiness.demo_missing)?readiness.demo_missing.map((value:unknown)=>String(value||'').trim()).filter(Boolean):[];setError(`Demo is still being prepared.${missing.length?` ${missing.join(' · ')}.`:''} Run Workspace Health after branding is complete.`);return}const target=getTenantDashboardPathForTenant(tenant);void(async()=>{try{if(activeTenant?.id!==tenant.id)await switchTenant(tenant.id);if(!cancelled)navigate(target,{replace:true})}catch(caught){if(!cancelled)setError(caught instanceof Error?caught.message:'Could not open the branded demo workspace.')}})();return()=>{cancelled=true}},[activeTenant?.id,isLoading,membership?.tenant,navigate,switchTenant,tenantId]);if(!tenantId)return <Navigate to=\"/select-tenant\" replace/>;if(error||(!isLoading&&!membership))return <section className=\"mx-auto mt-16 max-w-xl rounded-2xl border border-rose-300/20 bg-rose-400/10 p-6 text-white\"><h1 className=\"text-xl font-semibold\">Demo workspace unavailable</h1><p className=\"mt-2 text-sm text-white/70\">{error||'This branded demo tenant is not available to the current account.'}</p></section>;const targetTenant=membership?.tenant;return <UniversalLoadingScreen brandName={targetTenant?.company_dba_name||targetTenant?.company_legal_name||targetTenant?.name} logoUrl={targetTenant?.company_logo_url} backgroundUrl={resolveTenantBackgroundUrl(targetTenant)||undefined} tenantKey={targetTenant?.company_slug||targetTenant?.id} title=\"Opening branded demo\" subtitle=\"Loading the certified workspace.\" showCountdown={false}/>}\nfunction ShortcutsModalManager({children}:{children:React.ReactNode}){const [showShortcutsModal,setShowShortcutsModal]=React.useState(false);useShortcutHint();React.useEffect(()=>{setGlobalShortcutsState({showShortcutsModal,setShowShortcutsModal})},[showShortcutsModal]);return <><PlatformContextMenu/><LazyShellSlot><KeyboardShortcutsModal open={showShortcutsModal} onOpenChange={setShowShortcutsModal}/></LazyShellSlot>{children}</>}\nfunction AdminRoutesOnly(){return <Suspense fallback={<RouteFallback/>}><AdminRouteRegistry/></Suspense>}\nfunction roofingInternalCrmPath(pathname:string,activeTenant:any){const normalized=String(pathname||'').toLowerCase().replace(/\\/+$/g,'');const tenantSlug=canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase();const tenantType=String(activeTenant?.tenant_type||'ROOFING_COMPANY').trim().toUpperCase().replace(/[\\s-]+/g,'_');const rest=tenantSlug&&normalized.startsWith(`/${tenantSlug}`)?normalized.slice(tenantSlug.length+1).replace(/^\\//,''):'';if(!rest)return `/crm/${tenantType}/${tenantSlug}/dashboard`;const [head,...tail]=rest.split('/').filter(Boolean);const internalHead=({today:'dashboard',homeowners:'contacts',production:'jobs',schedule:'calendar',money:'billing',inbox:'communications',opportunities:'opportunity-radar',opportunity:'opportunity-radar',radar:'opportunity-radar','roof-measurement':'roof-tracer'} as Record<string,string>)[head]||head;return `/crm/${tenantType}/${tenantSlug}/${[internalHead,...tail].filter(Boolean).join('/')}`}\nfunction RedfishHomeownerDetailRouter(){return <Routes><Route path=\"/redfish-roofing/homeowners/:contactId\" element={<UnifiedProtectedRoute allowedRoles={ROLES.FIELD_STAFF} redirectTo=\"/crm/login\"><Suspense fallback={<RouteFallback/>}><RedfishContactWorkspace/></Suspense></UnifiedProtectedRoute>}/></Routes>}\nfunction RoofingOwnerWorkspaceRouter(){const location=useLocation();const {activeTenant}=useMultiTenant();const tenantSlug=activeTenant?.id?canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase():'';const normalized=location.pathname.toLowerCase().replace(/\\/+$/g,'');if(tenantSlug&&normalized===`/${tenantSlug}`)return <Navigate to={`/${tenantSlug}/today`} replace/>;if(tenantSlug&&normalized===`/${tenantSlug}/roof-measurement`)return <UnifiedProtectedRoute allowedRoles={['Rep','PA','Roofer','PM','Admin','Owner','Tenant Owner','GodMode']} redirectTo=\"/crm/login\"><Suspense fallback={<RouteFallback/>}><RoofTracingPage/></Suspense></UnifiedProtectedRoute>;const internalPath=roofingInternalCrmPath(location.pathname,activeTenant);return <Suspense fallback={<RouteFallback/>}><TenantCrmRoutes locationOverride={`${internalPath}${location.search||''}`}/></Suspense>} \nfunction TenantCrmRouteFallback(){const {activeTenant,isLoading,bootstrapFailed,refreshMemberships}=useMultiTenant();if(!activeTenant?.id){if(isLoading)return <RouteFallback/>;if(bootstrapFailed)return <TenantRouteFailureSurface reason=\"navigation-failed\" title=\"Workspace connection needs another try\" message=\"We couldn't safely load your workspace. Your access was not changed. Retry the connection.\" homeHref=\"/select-tenant\" route={window.location.pathname} referenceSeed=\"tenant-bootstrap\" retryAction={refreshMemberships}/>;return <Navigate to=\"/select-tenant\" replace/>}return <Suspense fallback={<RouteFallback/>}><TenantCrmRoutes/></Suspense>}\nfunction resolveTenantSettingsWorkspaceAlias(pathname:string,activeTenant:any){if(!activeTenant?.id)return null;const slug=canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase();const normalized=String(pathname||'').toLowerCase().replace(/\\/+$/g,'');if(normalized==='/settings'||normalized.startsWith('/settings/'))return `/${slug}${normalized}`;const legacyBase=`/${slug}/dashboard/settings`;if(normalized!==legacyBase&&!normalized.startsWith(`${legacyBase}/`))return null;const suffix=normalized.slice(legacyBase.length);return `/${slug}/settings${suffix}`}function isTenantSettingsWorkspacePath(pathname:string,activeTenant:any){if(!activeTenant?.id)return false;const slug=canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase();const normalized=String(pathname||'').toLowerCase().replace(/\\/+$/g,'');const base=`/${slug}/settings`;return normalized===base||normalized.startsWith(`${base}/`)}\nfunction ModesTenantRouteFallback(){const location=useLocation();const {activeTenant,isLoading}=useMultiTenant();if(!activeTenant?.id){if(isLoading)return <RouteFallback/>;return <Navigate to=\"/select-tenant\" replace/>}const slug=canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase();const home=getTenantDashboardPathForTenant(activeTenant);const normalize=(value:string)=>String(value||'/').toLowerCase().replace(/\\/+$/g,'')||'/';const current=normalize(location.pathname);const homePath=normalize(home);const tenantRoot=`/${slug}`;const params=new URLSearchParams(location.search);const modeApp=String(params.get('modeApp')||'').trim();if(modeApp){const app=getTenantApplicationByReference(modeApp);if(!app||!tenantApplicationAvailable(app,activeTenant))return <TenantRouteFailureSurface reason=\"application-unavailable\" title={app?`${app.label} isn't available here`:\"This app isn't available here\"} homeHref={home} route={`${location.pathname}${location.search||''}`} tenantId={activeTenant.id} referenceSeed={modeApp}/>;const appPath=String(app.standalonePath||`/${app.slug}`).replace(/^\\/+|\\/+$/g,'');const target=`/${slug}/${appPath}`;if(current!==normalize(target))return <Navigate to={`${target}${location.search||''}${location.hash||''}`} replace/>;return <StandaloneApplicationWorkspace app={app} tenantSlugFromPath={slug}/>}if(current===homePath||current===tenantRoot||current===`${tenantRoot}/dashboard`||current===`${tenantRoot}/workspace`)return null;return <TenantRouteFailureSurface reason=\"route-unavailable\" homeHref={home} route={`${location.pathname}${location.search||''}`} tenantId={activeTenant.id}/>} \nfunction TenantRouteIdentityBoundary({children}:{children:React.ReactNode}){const location=useLocation();const {activeTenant,memberships,isLoading,switchTenant}=useMultiTenant();const requestedIdentity=React.useMemo(()=>resolveRequestedTenantRouteIdentity(location.pathname),[location.pathname]);const rawRequestedSlug=requestedIdentity?.tenantSlug||'';const requestedSlug=rawRequestedSlug;const resolution=React.useMemo(()=>requestedSlug?resolveTenantRouteMembership(memberships,requestedSlug,requestedIdentity?.tenantType||undefined):null,[memberships,requestedIdentity?.tenantType,requestedSlug]);const requestedTenant=resolution?.membership?.tenant||null;const requestedTenantId=String(requestedTenant?.id||'');const activeMatchesRequested=!requestedSlug||tenantRouteIdentityMatchesRequestedSlug(activeTenant,requestedSlug);const projectedAccess=readGodModeAccessContext();const projectedIntentMatchesRequested=projectedTenantRouteIntentMatches({requestedSlug,projectedTenantSlug:projectedAccess?.tenantSlug,projectedRole:projectedAccess?.role,projectedMode:projectedAccess?.mode});const projectionGraceKey=projectedIntentMatchesRequested&&!activeMatchesRequested&&!requestedTenantId?`${requestedSlug}:${projectedAccess?.tenantId||''}`:'';const [expiredProjectionGraceKey,setExpiredProjectionGraceKey]=React.useState('');const projectionGraceElapsed=Boolean(projectionGraceKey&&expiredProjectionGraceKey===projectionGraceKey);const [switching,setSwitching]=React.useState(false);const [switchFailed,setSwitchFailed]=React.useState(false);React.useEffect(()=>{if(!projectionGraceKey){if(expiredProjectionGraceKey)setExpiredProjectionGraceKey('');return}if(expiredProjectionGraceKey===projectionGraceKey)return;const timeoutId=window.setTimeout(()=>setExpiredProjectionGraceKey(projectionGraceKey),PROJECTED_TENANT_ROUTE_GRACE_MS);return()=>window.clearTimeout(timeoutId)},[expiredProjectionGraceKey,projectionGraceKey]);React.useEffect(()=>{if(!requestedTenantId||requestedTenantId===activeTenant?.id){setSwitchFailed(false);setSwitching(false);return}let cancelled=false;setSwitchFailed(false);setSwitching(true);void switchTenant(requestedTenantId).then(()=>{if(!cancelled)setSwitching(false)}).catch(()=>{if(!cancelled){setSwitching(false);setSwitchFailed(true)}});return()=>{cancelled=true}},[activeTenant?.id,requestedTenantId,switchTenant]);if(switchFailed){const next=encodeURIComponent(`${location.pathname}${location.search||''}${location.hash||''}`);return <section data-tenant-route-boundary=\"switch-failed\" className=\"mx-auto mt-16 max-w-xl rounded-2xl border border-amber-300/20 bg-amber-300/10 p-6 text-white\"><h1 className=\"text-xl font-semibold\">Workspace connection needs another try</h1><p className=\"mt-2 text-sm text-white/70\">KNOCKLAUNCH kept this workspace route in place instead of sending you away. Retry the tenant connection or choose a workspace manually.</p><div className=\"mt-4 flex flex-wrap gap-3\"><button type=\"button\" onClick={()=>{setSwitchFailed(false);setSwitching(false)}} className=\"inline-flex rounded-xl border border-white/15 bg-white/[0.08] px-4 py-2 text-sm font-semibold text-white\">Retry workspace</button><Link to={`/select-tenant?manual=1&next=${next}`} className=\"inline-flex rounded-xl border border-white/10 bg-black/20 px-4 py-2 text-sm font-semibold text-white/80\">Choose workspace</Link></div></section>}if(requestedTenantId&&(switching||activeTenant?.id!==requestedTenantId))return <RouteFallback/>;if(shouldHoldTenantRouteHydration({requestedSlug,activeMatchesRequested,requestedTenantId,isLoading,projectedIntentMatchesRequested,projectionGraceElapsed}))return <RouteFallback/>;return <>{children}</>}\nfunction StandaloneApplicationWorkspace({app,tenantSlugFromPath='',suffixFromPath=''}:{app:ApplicationCapability;tenantSlugFromPath?:string;suffixFromPath?:string}){\n  const location=useLocation();\n  const {activeTenant,memberships,isLoading,switchTenant}=useMultiTenant();\n  const requestedTenantSlug=React.useMemo(()=>String(tenantSlugFromPath||new URLSearchParams(location.search).get('tenant')||'').trim().toLowerCase(),[tenantSlugFromPath,location.search]);\n  const standaloneHostApp=React.useMemo(()=>typeof window==='undefined'?undefined:getTenantApplicationByStandaloneHost(window.location.hostname),[]);\n  const applicationMode=tenantSlugFromPath?'tenant-integrated':'standalone';\n  const activeTenantSlug=React.useMemo(()=>activeTenant?.id?canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase():'',[activeTenant?.id,activeTenant?.company_slug,activeTenant?.tenant_type,activeTenant?.name]);\n  const requestedMembership=React.useMemo(()=>requestedTenantSlug?memberships.find(m=>m.tenant?.id&&canonicalTenantRouteSlugForIdentity(m.tenant).toLowerCase()===requestedTenantSlug)||null:null,[memberships,requestedTenantSlug]);\n  const [switchingTenant,setSwitchingTenant]=React.useState(false);\n  React.useEffect(()=>{if(!requestedTenantSlug||!requestedMembership?.tenant?.id||requestedMembership.tenant.id===activeTenant?.id)return;let cancelled=false;setSwitchingTenant(true);void switchTenant(requestedMembership.tenant.id).finally(()=>{if(!cancelled)setSwitchingTenant(false)});return()=>{cancelled=true}},[tenantSlugFromPath,requestedTenantSlug,requestedMembership?.tenant?.id,activeTenant?.id,switchTenant]);\n  if(isLoading||switchingTenant)return <RouteFallback/>;\n  if(!requestedTenantSlug){if(activeTenant?.id&&memberships.some(m=>m.tenant?.id===activeTenant.id)){const params=new URLSearchParams(location.search);params.set('tenant',canonicalTenantRouteSlugForIdentity(activeTenant));return <Navigate to={`${location.pathname}?${params.toString()}`} replace/>}const next=encodeURIComponent(`${location.pathname}${location.search||''}`);return <Navigate to={`/select-tenant?app=${encodeURIComponent(app.slug)}&next=${next}`} replace/>}\n  if(!requestedMembership?.tenant?.id)return <Navigate to={`/select-tenant?app=${encodeURIComponent(app.slug)}`} replace/>;\n  if(!activeTenant?.id||activeTenant.id!==requestedMembership.tenant.id||activeTenantSlug!==requestedTenantSlug)return <RouteFallback/>;\n  const activeHome=getTenantDashboardPathForTenant(activeTenant);\n  if(app.routeAdapter!=='platform-workspace'&&!tenantApplicationAvailable(app,activeTenant))return <TenantRouteFailureSurface reason=\"application-unavailable\" title={`${app.label} isn't available here`} homeHref={activeHome} route={`${location.pathname}${location.search||''}`} tenantId={activeTenant.id} referenceSeed={app.id}/>;\n  const base=app.standalonePath;const normalized=location.pathname.toLowerCase().replace(/\\/+$/g,'')||'/';const suffix=suffixFromPath||(tenantSlugFromPath?'':app.id==='mail'?normalized.replace(/^\\/(?:communications\\/)?(?:mail|email|emails|email-suite)(?:\\/|$)/,''):normalized.split('/').filter(Boolean).slice(base.split('/').filter(Boolean).length).join('/'));if(tenantSlugFromPath&&standaloneHostApp?.id===app.id){const params=new URLSearchParams(location.search);params.set('tenant',requestedTenantSlug);const hostStandalone=`${base}${suffix?`/${suffix}`:''}`;return <Navigate to={`${hostStandalone}?${params.toString()}`} replace/>}if(applicationMode==='tenant-integrated'&&tenantUsesModesRouteFallback(activeTenant)&&isEventRentalTenantContext(activeTenant)&&app.routeAdapter==='tenant-workspace')return <EventRentalModesApplicationSurface app={app} fallback={<RouteFallback/>}/>;if(applicationMode==='tenant-integrated'&&tenantUsesModesRouteFallback(activeTenant)&&DIRECT_MODES_APPLICATION_IDS.has(app.id))return <DirectModesApplicationSurface app={app} fallback={<RouteFallback/>}/>;if(app.routeAdapter==='mail')return <FirstClassAppTenantBoundary appSlug=\"mail\" applicationChrome={applicationMode!=='tenant-integrated'} applicationMode={applicationMode}><MailApplicationRoute/></FirstClassAppTenantBoundary>;if(app.routeAdapter==='call-center')return <FirstClassAppTenantBoundary appSlug={app.slug} platformDefault applicationChrome={applicationMode!=='tenant-integrated'} applicationMode={applicationMode}><CallCenterApplicationRoute/></FirstClassAppTenantBoundary>; if(app.routeAdapter==='proposal-editor')return <FirstClassAppTenantBoundary appSlug={app.slug} applicationChrome={applicationMode!=='tenant-integrated'} applicationMode={applicationMode}><ProposalEditorApplicationRoute/></FirstClassAppTenantBoundary>;if(app.routeAdapter==='creative-studio')return <FirstClassAppTenantBoundary appSlug={app.slug} applicationChrome={applicationMode!=='tenant-integrated'} applicationMode={applicationMode}><CreativeStudioApplicationRoute/></FirstClassAppTenantBoundary>;if(app.routeAdapter==='academy')return <FirstClassAppTenantBoundary appSlug={app.slug} applicationChrome={applicationMode!=='tenant-integrated'} applicationMode={applicationMode}><AcademyApplicationRoute/></FirstClassAppTenantBoundary>;if(app.routeAdapter==='platform-workspace')return <Navigate to=\"/admin\" replace/>;const internal=buildTenantApplicationWorkspacePath(String(activeTenant.tenant_type||'MISC'),String(activeTenant.company_slug||''),app.slug,suffix);if(!internal)return <TenantRouteFailureSurface reason=\"application-unavailable\" title={`${app.label} can't open in this workspace`} homeHref={activeHome} route={`${location.pathname}${location.search||''}`} tenantId={activeTenant.id} referenceSeed={`${app.id}:missing-route`}/>;return <FirstClassAppTenantBoundary appSlug={app.slug} applicationChrome={applicationMode!=='tenant-integrated'} applicationMode={applicationMode}><Suspense fallback={<RouteFallback/>}><TenantCrmRoutes locationOverride={`${internal}${location.search||''}`}/></Suspense></FirstClassAppTenantBoundary>\n}\n\nfunction TenantContractSafePrivateRouteFallback(){const location=useLocation();const {activeTenant,isLoading}=useMultiTenant();if(!activeTenant?.id){if(isLoading)return <RouteFallback/>;return <Navigate to=\"/select-tenant\" replace/>}const profile=resolveTenantWorkspaceRuntimeProfile(activeTenant,location.pathname);const settings=((activeTenant as any)?.settings||{}) as Record<string,any>;const workspaceVariant=String(settings.workspace_variant||'').trim().toLowerCase();const contractOwnsPrivateRouting=profile.isSelfContainedTenantWorkspace||profile.suppressGenericTenantChrome||profile.shellProfile!=='standard'||profile.navigationProfile!=='standard'||workspaceVariant==='curri_control_center';if(!contractOwnsPrivateRouting)return <Suspense fallback={<RouteFallback/>}><DefaultPrivateRouteRegistry/></Suspense>;const normalize=(value:string)=>String(value||'/').toLowerCase().replace(/\\/+$/g,'')||'/';const home=getTenantDashboardPathForTenant(activeTenant);const current=normalize(location.pathname);const homePath=normalize(home);const tenantSlug=canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase();const tenantRoot=tenantSlug?`/${tenantSlug}`:'';if(current===homePath||(tenantRoot&&(current===tenantRoot||current===`${tenantRoot}/dashboard`)))return null;return <TenantRouteFailureSurface reason=\"route-unavailable\" homeHref={home} route={`${location.pathname}${location.search||''}`} tenantId={activeTenant.id}/>} \nfunction PrivateRoutes(){const location=useLocation();const {activeTenant}=useMultiTenant();const applicationRoute=resolveTenantApplicationRoute(location.pathname);const tenantScopedApp=applicationRoute?.mode==='tenant-integrated'?applicationRoute:null;const {normalizedPath,isBigPapisPrivateWorkspace,isSavagePizzaPrivateWorkspace,isCafeQsrPrivateWorkspace,isScePrivateWorkspace,isRoofHelpFinderPrivateWorkspace,isRoofingPrivateWorkspace,isBookMeDirectlyPrivateWorkspace,isRedfishHomeownerDetailWorkspace,isRedfishCanvassingWorkspace,isAutoUnlockPrivateWorkspace,isCallCenterPrivateWorkspace,nativeTenantRouteOwner}=resolvePrivateWorkspaceCompatibility(location.pathname,activeTenant);const isBareUsersAlias=normalizedPath==='/users'||normalizedPath==='/team';const standaloneApp=applicationRoute?.mode==='standalone'?applicationRoute.app:null;if(normalizedPath==='/knock-launch-os')return <Navigate to=\"/knock-launch-os/portfolio\" replace/>;if(normalizedPath==='/knock-launch-os/portfolio'||normalizedPath.startsWith('/knock-launch-os/portfolio/'))return <Suspense fallback={<RouteFallback/>}><KnockLaunchPortfolio/></Suspense>;if(normalizedPath.startsWith('/knock-launch-os'))return <Navigate to=\"/knock-launch-os/portfolio\" replace/>;if(normalizedPath==='/knock-launch-crm')return <Navigate to=\"/knock-launch-os/portfolio\" replace/>;if(normalizedPath.startsWith('/knock-launch-crm')){const suffix=location.pathname.slice('/knock-launch-crm'.length);return <Navigate to={`/knock-launch-os${suffix}${location.search||''}${location.hash||''}`} replace/>;}if(isBareUsersAlias)return <UsersRouteAlias/>;if(tenantScopedApp&&!nativeTenantRouteOwner)return <StandaloneApplicationWorkspace app={tenantScopedApp.app} tenantSlugFromPath={tenantScopedApp.tenantSlug} suffixFromPath={tenantScopedApp.suffix}/>;if(isBookMeDirectlyPrivateWorkspace)return <Suspense fallback={<RouteFallback/>}><BookMeDirectlyWorkspace/></Suspense>;const tenantSettingsAliasTarget=resolveTenantSettingsWorkspaceAlias(location.pathname,activeTenant);if(tenantSettingsAliasTarget)return <Navigate to={`${tenantSettingsAliasTarget}${location.search||''}${location.hash||''}`} replace/>;if(isTenantSettingsWorkspacePath(location.pathname,activeTenant)){const settingsBase=`/${canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase()}/settings`;const settingsPath=normalizedPath.slice(settingsBase.length).replace(/^\\/+|\\/+$/g,'');const requestedSettingsSection=String(new URLSearchParams(location.search).get('section')||'').trim().toLowerCase();const allowedSettingsSections=new Set(['profile','notifications','media']);const invalidSettingsPath=Boolean(settingsPath&&!allowedSettingsSections.has(settingsPath));const invalidSettingsSection=Boolean(requestedSettingsSection&&!allowedSettingsSections.has(requestedSettingsSection));if(invalidSettingsPath||invalidSettingsSection)return <TenantRouteFailureSurface reason=\"route-unavailable\" title=\"This settings section isn't available\" homeHref={getTenantDashboardPathForTenant(activeTenant)} route={`${location.pathname}${location.search||''}`} tenantId={activeTenant.id} referenceSeed={`settings:${settingsPath||requestedSettingsSection}`}/>;return <Suspense fallback={<RouteFallback/>}><TenantSettingsPage/></Suspense>};if(isAutoUnlockPrivateWorkspace)return <Suspense fallback={<RouteFallback/>}><AutoUnlockWorkspaceRouter/></Suspense>;if(standaloneApp)return <StandaloneApplicationWorkspace app={standaloneApp}/>;if(normalizedPath.startsWith('/demo-workspace/'))return <Routes><Route path=\"/demo-workspace/:tenantId\" element={<DemoWorkspaceEntry/>}/></Routes>;if(normalizedPath==='/media-library')return <Suspense fallback={<RouteFallback/>}><MediaLibrary/></Suspense>;if(isAutoUnlockPrivateWorkspace)return <Suspense fallback={<RouteFallback/>}><AutoUnlockWorkspaceRouter/></Suspense>;if(isCallCenterPrivateWorkspace)return <Suspense fallback={<RouteFallback/>}><FirstClassAppTenantBoundary appSlug=\"call-center\" platformDefault applicationMode=\"tenant-integrated\"><CallCenterApplicationRoute/></FirstClassAppTenantBoundary></Suspense>;if(isRoofHelpFinderPrivateWorkspace)return <Suspense fallback={<RouteFallback/>}><RoofHelpFinderWorkspace/></Suspense>;if(isScePrivateWorkspace)return <Suspense fallback={<RouteFallback/>}><SceRouteRegistry/></Suspense>;if(isRedfishHomeownerDetailWorkspace)return <RedfishHomeownerDetailRouter/>;if(isRedfishCanvassingWorkspace)return <Suspense fallback={<RouteFallback/>}><RedfishCanvassingRoute/></Suspense>;if(normalizedPath==='/redfish-roofing/roof-measurement')return <RoofingOwnerWorkspaceRouter/>;if(isRoofingPrivateWorkspace)return <RoofingOwnerWorkspaceRouter/>;if(isBigPapisPrivateWorkspace||isSavagePizzaPrivateWorkspace||isCafeQsrPrivateWorkspace)return <Suspense fallback={<RouteFallback/>}><OwnerRouteRegistry/></Suspense>;if(tenantUsesModesRouteFallback(activeTenant))return <ModesTenantRouteFallback/>;return <TenantContractSafePrivateRouteFallback/>}\n\nfunction OwnerOsTenantBoundary({children}:{children:React.ReactNode}){const{activeTenant,memberships,isLoading,switchTenant,refreshMemberships}=useMultiTenant();const{branding:godModeBranding}=useGodModeBranding();const ownerMembership=React.useMemo(()=>memberships.find(m=>m.tenant?.id&&isKnockLaunchOsWorkspace(m.tenant))||null,[memberships]);const activeOwnerTenantId=activeTenant?.id&&isKnockLaunchOsWorkspace(activeTenant)?String(activeTenant.id):'';const ownerTenantId=String(ownerMembership?.tenant?.id||activeOwnerTenantId||'');const[isSwitching,setIsSwitching]=React.useState(false);const[switchFailed,setSwitchFailed]=React.useState(false);const[refreshAttempted,setRefreshAttempted]=React.useState(false);React.useEffect(()=>{if(isLoading||ownerTenantId||refreshAttempted)return;let cancelled=false;setRefreshAttempted(true);setIsSwitching(true);void refreshMemberships().catch(()=>{}).finally(()=>{if(!cancelled)setIsSwitching(false)});return()=>{cancelled=true}},[isLoading,ownerTenantId,refreshAttempted,refreshMemberships]);React.useEffect(()=>{if(isLoading||!ownerTenantId||activeTenant?.id===ownerTenantId){setIsSwitching(false);setSwitchFailed(false);return}let cancelled=false;setIsSwitching(true);setSwitchFailed(false);void switchTenant(ownerTenantId).then(()=>{if(!cancelled)setIsSwitching(false)}).catch(()=>{if(!cancelled){setIsSwitching(false);setSwitchFailed(true)}});return()=>{cancelled=true}},[activeTenant?.id,isLoading,ownerTenantId,switchTenant]);if(isLoading||isSwitching||(!ownerTenantId&&!refreshAttempted)||(ownerTenantId&&activeTenant?.id!==ownerTenantId&&!switchFailed))return <UniversalLoadingScreen brandName=\"KNOCKLAUNCH OS\" logoUrl={godModeBranding.logoUrl||undefined} backgroundUrl={godModeBranding.loadingMediaUrl||undefined} backgroundIsVideo={godModeBranding.loadingMediaIsVideo} title=\"Opening owner workspace\" subtitle=\"Binding the canonical KNOCKLAUNCH OS workspace context.\" platformAuthoritative presentationPreset=\"pcg-wmp\" showCountdown={false}/>;if(!ownerTenantId||switchFailed)return <section data-owner-os-tenant-boundary=\"blocked\" className=\"mx-auto mt-16 max-w-xl rounded-2xl border border-amber-300/20 bg-amber-300/10 p-6 text-white\"><h1 className=\"text-xl font-semibold\">KNOCKLAUNCH OS workspace unavailable</h1><p className=\"mt-2 text-sm text-white/70\">The owner workspace could not be resolved safely. Customer tenant context was not reused.</p><button type=\"button\" onClick={()=>{setRefreshAttempted(false);setSwitchFailed(false)}} className=\"mt-4 inline-flex rounded-xl border border-white/15 bg-white/[0.06] px-4 py-2 text-sm font-semibold text-white\">Retry owner workspace</button></section>;return <div data-owner-os-tenant-boundary=\"bound\" data-owner-os-tenant-id={ownerTenantId}>{children}</div>}\nfunction AdminShell(){return <><MultiTenantProvider><FocusModeProvider><UserImpersonationProvider><ShortcutsModalManager><LazyShellSlot><GlobalCommandPalette/></LazyShellSlot><GlobalImpersonationBanner/><AuditorModeBanner/><div className=\"kl-platform-surface relative z-10 flex h-[calc(100dvh-var(--comm-banner-h,0px))] min-h-0 flex-col overflow-hidden\"><BaseErrorBoundary scope=\"AdminShell.Routes\" variant=\"panel\" title=\"Admin console route failed\" description=\"The platform shell loaded, but this route needs repair.\"><AdminRoutesOnly/></BaseErrorBoundary></div></ShortcutsModalManager></UserImpersonationProvider></FocusModeProvider></MultiTenantProvider></>}\nfunction PortfolioShell(){return <div className=\"min-h-screen bg-[#040806]\"><MultiTenantProvider><OwnerOsTenantBoundary><FocusModeProvider><UserImpersonationProvider><ShortcutsModalManager><LazyShellSlot><GlobalCommandPalette/></LazyShellSlot><GlobalImpersonationBanner/><AuditorModeBanner/><div className=\"kl-platform-surface relative z-10 min-h-screen w-full overflow-x-hidden overflow-y-auto\"><BaseErrorBoundary scope=\"PortfolioShell\" variant=\"panel\" title=\"Portfolio needs repair\" description=\"The KNOCKLAUNCH OS portfolio shell loaded, but the owner portfolio route needs repair.\"><Suspense fallback={<RouteFallback/>}><KnockLaunchPortfolio/></Suspense></BaseErrorBoundary></div></ShortcutsModalManager></UserImpersonationProvider></FocusModeProvider></OwnerOsTenantBoundary></MultiTenantProvider></div>}\nfunction PortfolioOpsShell(){return <div className=\"min-h-screen bg-[#040806]\"><MultiTenantProvider><OwnerOsTenantBoundary><FocusModeProvider><UserImpersonationProvider><ShortcutsModalManager><LazyShellSlot><GlobalCommandPalette/></LazyShellSlot><GlobalImpersonationBanner/><AuditorModeBanner/><div className=\"kl-platform-surface relative z-10 min-h-screen w-full overflow-x-hidden overflow-y-auto\"><BaseErrorBoundary scope=\"PortfolioOpsShell\" variant=\"panel\" title=\"Owner OS route needs repair\" description=\"The KNOCKLAUNCH OS shell loaded, but this owner route needs repair.\"><Suspense fallback={<RouteFallback/>}><KnockLaunchOSDashboard/></Suspense></BaseErrorBoundary></div></ShortcutsModalManager></UserImpersonationProvider></FocusModeProvider></OwnerOsTenantBoundary></MultiTenantProvider></div>}\n\nfunction PortfolioSettingsShell(){return <div className=\"min-h-screen bg-[#040806]\"><MultiTenantProvider><OwnerOsTenantBoundary><FocusModeProvider><UserImpersonationProvider><ShortcutsModalManager><LazyShellSlot><GlobalCommandPalette/></LazyShellSlot><GlobalImpersonationBanner/><AuditorModeBanner/><div className=\"kl-platform-surface relative z-10 min-h-screen w-full overflow-x-hidden overflow-y-auto\"><BaseErrorBoundary scope=\"PortfolioSettingsShell\" variant=\"panel\" title=\"Owner settings need repair\" description=\"The KNOCKLAUNCH OS owner shell loaded, but settings need repair.\"><Suspense fallback={<RouteFallback/>}><KnockLaunchOSSettings/></Suspense></BaseErrorBoundary></div></ShortcutsModalManager></UserImpersonationProvider></FocusModeProvider></OwnerOsTenantBoundary></MultiTenantProvider></div>}\nfunction PortfolioTemplatesShell(){return <div className=\"min-h-screen bg-[#040806]\"><MultiTenantProvider><OwnerOsTenantBoundary><FocusModeProvider><UserImpersonationProvider><ShortcutsModalManager><LazyShellSlot><GlobalCommandPalette/></LazyShellSlot><GlobalImpersonationBanner/><AuditorModeBanner/><div className=\"kl-platform-surface relative z-10 min-h-screen w-full overflow-x-hidden overflow-y-auto\"><BaseErrorBoundary scope=\"PortfolioTemplatesShell\" variant=\"panel\" title=\"Workspace templates need repair\" description=\"The KNOCKLAUNCH OS owner shell loaded, but the reusable template library needs repair.\"><Suspense fallback={<RouteFallback/>}><KnockLaunchTemplates/></Suspense></BaseErrorBoundary></div></ShortcutsModalManager></UserImpersonationProvider></FocusModeProvider></OwnerOsTenantBoundary></MultiTenantProvider></div>}\nfunction TenantWorkspaceRuntime({telephony}:{telephony:React.ReactNode}){const location=useLocation();const {activeTenant,isLoading}=useMultiTenant();const applicationRoute=resolveTenantApplicationRoute(location.pathname);const tenantIntegratedApp=applicationRoute?.mode==='tenant-integrated'&&!resolvePrivateWorkspaceCompatibility(location.pathname,activeTenant).nativeTenantRouteOwner?applicationRoute:null;const {normalizedPath,isMsLawnBarberWorkspace,msLawnBarberBackgroundUrl,isSelfContainedSeasideLaunch,isSelfContainedBigPapisWorkspace,isSelfContainedSavagePizzaWorkspace,isSelfContainedAutoUnlockWorkspace,isSelfContainedRedfishWorkspace,isSelfContainedPcgWorkspace,isSelfContainedBookMeDirectlyWorkspace,isSelfContainedTenantWorkspace,suppressGenericTenantChrome,shellProfile,navigationProfile,viewportOwner,tenantOwnsViewport,operatingContractSource,compatibilitySource,backgroundOwnership}=resolveTenantWorkspaceRuntimeProfile(activeTenant,location.pathname);const tenantOwnedShellKind=resolveTenantOwnedShellKind({tenant:activeTenant,applicationMode:applicationRoute?.mode,isSelfContainedBigPapisWorkspace,isSelfContainedPcgWorkspace,isSelfContainedRedfishWorkspace});const useCurriControlCenterShell=tenantOwnedShellKind==='curri-control-center';const useTenantModesShell=tenantOwnedShellKind==='modes';const suppressTenantPresentationChrome=suppressGenericTenantChrome||useTenantModesShell;const usePcgSharedApplicationBackground=false;const effectiveBackgroundOwner=backgroundOwnership.owner;const effectiveBackgroundContractValid=backgroundOwnership.contractValid;if(!activeTenant?.id&&!isSelfContainedBigPapisWorkspace){if(isLoading)return <UniversalLoadingScreen/>;const next=encodeURIComponent(`${location.pathname}${location.search||''}`);return <Navigate to={`/select-tenant?next=${next}`} replace/>}const tenantPresentationClass=isSelfContainedTenantWorkspace?(isSelfContainedBigPapisWorkspace?'z-[70] bg-transparent':isSelfContainedSavagePizzaWorkspace?'z-10 bg-[#100d0b]':isSelfContainedAutoUnlockWorkspace?'z-20 bg-[#02050a]':isSelfContainedBookMeDirectlyWorkspace?'z-20 bg-[#030409]':isSelfContainedRedfishWorkspace||isSelfContainedPcgWorkspace?'z-20 bg-transparent':isMsLawnBarberWorkspace?'z-10 bg-transparent':'z-10 bg-transparent'):'z-10 bg-transparent';const viewportClass=tenantOwnsViewport?`fixed inset-0 h-dvh min-h-0 min-w-0 w-full max-w-full overflow-x-hidden overflow-y-auto overscroll-y-none ${isSelfContainedTenantWorkspace?'':'flex flex-col'}`:'relative min-h-[calc(100dvh-var(--comm-banner-h,0px))] min-w-0 w-full max-w-full flex flex-col overflow-x-hidden overflow-y-auto';return <>{backgroundOwnership.renderPlatformBackground&&!isSelfContainedPcgWorkspace&&!useTenantModesShell?<SiteBackground/>:null}{useTenantModesShell?null:<GodModePageOverrideRuntime/>}<ShortcutsModalManager>{suppressTenantPresentationChrome?null:<LazyShellSlot><TrialBanner/></LazyShellSlot>}<ConditionalRouteHealthBanner/><CanonicalRedirectHandler/><GlobalTrackers/><TenantRouteScrollRestoration/><BigPapisApplicationFamilyStyle/><MobileViewportRecovery/><InstalledAppNavigationRecovery/>{suppressTenantPresentationChrome?null:<GlobalImpersonationBanner/>}<GodModeTenantDemoIndicator/>{suppressTenantPresentationChrome?null:<AuditorModeBanner/>}{suppressTenantPresentationChrome?null:<LazyShellSlot><BackgroundOCRStatus/></LazyShellSlot>}{suppressTenantPresentationChrome?null:<LazyShellSlot><TrialAhaModal/></LazyShellSlot>}{isSelfContainedRedfishWorkspace||isSelfContainedPcgWorkspace||useCurriControlCenterShell||useTenantModesShell?null:<LazyShellSlot><GlobalFallbackAccountMenu/></LazyShellSlot>}{suppressTenantPresentationChrome?null:<TenantPublishedExperienceRuntime/>}{suppressTenantPresentationChrome?null:<LazyShellSlot><ExperienceEditorCanvasBridge/></LazyShellSlot>}{suppressTenantPresentationChrome||isSelfContainedTenantWorkspace?null:<TenantQuickTour/>}{telephony}<div data-experience-runtime-root=\"true\" data-experience-region-id=\"experience-route-canvas\" data-tenant-shell-profile={shellProfile} data-tenant-navigation-profile={navigationProfile} data-tenant-operating-contract-source={operatingContractSource} data-tenant-runtime-compatibility-source={compatibilitySource} data-tenant-background-owner={effectiveBackgroundOwner} data-tenant-background-contract-valid={effectiveBackgroundContractValid?'true':'false'} data-tenant-viewport-owner={viewportOwner} data-tenant-mobile-shell-contract=\"canonical-v2\" data-seaside-viewport-host={isSelfContainedSeasideLaunch?'true':undefined} data-big-papis-viewport-host={isSelfContainedBigPapisWorkspace?'true':undefined} data-savage-pizza-viewport-host={isSelfContainedSavagePizzaWorkspace?'true':undefined} data-auto-unlock-viewport-host={isSelfContainedAutoUnlockWorkspace?'true':undefined} data-pcg-viewport-host={isSelfContainedPcgWorkspace?'true':undefined} data-book-me-directly-viewport-host={isSelfContainedBookMeDirectlyWorkspace?'true':undefined} data-mslawnbarber-viewport-host={isMsLawnBarberWorkspace?'true':undefined} data-route-scroll-owner={tenantOwnsViewport?'tenant':'document'} className={`kl-platform-surface kl-responsive-tenant-runtime ${viewportClass} ${tenantPresentationClass}`}  style={{paddingTop:isSelfContainedTenantWorkspace?0:'var(--comm-banner-h, 0px)',...(isSelfContainedPcgWorkspace?{['--primary' as string]:'43 48% 66%',['--primary-foreground' as string]:'220 18% 7%',['--ring' as string]:'43 48% 66%',['--accent' as string]:'42 60% 78%',['--accent-foreground' as string]:'220 18% 7%',['--tenant-brand-primary' as string]:'#d8bb78',['--tenant-brand-accent' as string]:'#f2d99f'}:{}),...(isMsLawnBarberWorkspace&&msLawnBarberBackgroundUrl?{backgroundImage:`linear-gradient(180deg,rgba(1,8,5,.30),rgba(1,8,5,.58)),url(\"${msLawnBarberBackgroundUrl}\")`,backgroundSize:'cover',backgroundPosition:'center',backgroundRepeat:'no-repeat',['--ms-lawn-barber-background' as string]:`url(\"${msLawnBarberBackgroundUrl}\")`}:{})} as React.CSSProperties}><BaseErrorBoundary scope=\"TenantWorkspaceRuntime.RouteCanvas\" variant=\"panel\" title=\"Workspace route needs repair\" description=\"The tenant shell is still available while this route recovers.\"><TenantOwnedShellBoundary kind={tenantOwnedShellKind}>{tenantIntegratedApp?<FirstClassAppTenantBoundary appSlug={tenantIntegratedApp.app.slug} applicationChrome={false} applicationMode=\"tenant-integrated\"><PrivateRoutes/></FirstClassAppTenantBoundary>:<PrivateRoutes/>}</TenantOwnedShellBoundary></BaseErrorBoundary></div></ShortcutsModalManager></>}\nfunction TenantBackgroundCacheBridge(){const {activeTenant}=useMultiTenant();React.useEffect(()=>{if(activeTenant?.id)persistCachedTenantBackground(activeTenant)},[activeTenant]);return null}\nfunction TenantWorkspaceKernelBoundary({children}:{children:React.ReactNode}){return <TenantRouteIdentityBoundary><TenantApplicationChromeContext.Provider value=\"tenant-integrated\">{children}</TenantApplicationChromeContext.Provider></TenantRouteIdentityBoundary>}\nfunction TenantWorkspaceShell(){return <MultiTenantProvider><TenantBackgroundCacheBridge/><TenantPlatformShellKernel Boundary={TenantWorkspaceKernelBoundary}>{({telephony,workspaceSidebar})=><><TenantWorkspaceRuntime telephony={telephony}/>{workspaceSidebar}</>}</TenantPlatformShellKernel></MultiTenantProvider>}\nfunction GlobalAccountRouteAlias({section}:{section:'settings'|'profile'}){const {activeTenant,effectiveRole,hasGodModeAnywhere,isLoading}=useMultiTenant();if(isLoading)return <RouteFallback/>;if(activeTenant?.id){const slug=canonicalTenantRouteSlugForIdentity(activeTenant).toLowerCase();const target=`/${slug}/settings`;return <Navigate to={`${target}${section==='profile'?'?section=profile':''}`} replace/>}const platformAuthority=effectiveRole==='GodMode'||hasGodModeAnywhere();if(platformAuthority)return <Navigate to={section==='profile'?'/admin/account?section=profile':'/admin/account?section=settings'} replace/>;return <Navigate to={`/select-tenant?workspace=settings${section==='profile'?'&section=profile':''}`} replace/>}\nexport default function PrivateAppShell(){const location=useLocation();const normalizedPath=location.pathname.toLowerCase().replace(/\\/+$/g,'')||'/';if(normalizedPath==='/settings'||normalizedPath==='/profile')return <MultiTenantProvider><GlobalAccountRouteAlias section={normalizedPath==='/profile'?'profile':'settings'}/></MultiTenantProvider>;if(normalizedPath==='/bookmedirectly-com'||normalizedPath.startsWith('/bookmedirectly-com/')){const suffix=location.pathname.slice('/bookmedirectly-com'.length);return <Navigate to={`/bookmedirectly${suffix}${location.search||''}${location.hash||''}`} replace/>}if(normalizedPath==='/knock-launch-os')return <PortfolioOpsShell/>;if(normalizedPath==='/knock-launch-crm')return <Navigate to=\"/knock-launch-os\" replace/>;if(normalizedPath==='/knock-launch-os/profile'||normalizedPath==='/knock-launch-crm/profile')return <Navigate to={`/knock-launch-os/settings?section=profile${location.hash||''}`} replace/>;if(normalizedPath==='/knock-launch-crm/settings'||normalizedPath.startsWith('/knock-launch-crm/settings/')){const suffix=location.pathname.slice('/knock-launch-crm'.length);return <Navigate to={`/knock-launch-os${suffix}${location.search||''}${location.hash||''}`} replace/>}if(normalizedPath==='/knock-launch-os/video-studio')return <div className=\"min-h-screen bg-[#040806]\"><MultiTenantProvider><OwnerOsTenantBoundary><FocusModeProvider><UserImpersonationProvider><ShortcutsModalManager><LazyShellSlot><GlobalCommandPalette/></LazyShellSlot><GlobalImpersonationBanner/><AuditorModeBanner/><div className=\"kl-platform-surface relative z-10 min-h-screen w-full overflow-x-hidden overflow-y-auto\"><BaseErrorBoundary scope=\"VideoStudioShell\" variant=\"panel\" title=\"Video Studio needs repair\" description=\"The KNOCKLAUNCH owner shell loaded, but Video Studio needs repair.\"><Suspense fallback={<RouteFallback/>}><VideoStudio/></Suspense></BaseErrorBoundary></div></ShortcutsModalManager></UserImpersonationProvider></FocusModeProvider></OwnerOsTenantBoundary></MultiTenantProvider></div>;if(normalizedPath==='/knock-launch-os/settings'||normalizedPath.startsWith('/knock-launch-os/settings/'))return <PortfolioSettingsShell/>;if(normalizedPath==='/knock-launch-os/templates'||normalizedPath.startsWith('/knock-launch-os/templates/'))return <PortfolioTemplatesShell/>;if(normalizedPath==='/knock-launch-crm/portfolio'||normalizedPath.startsWith('/knock-launch-crm/portfolio/')){const suffix=location.pathname.slice('/knock-launch-crm'.length);return <Navigate to={`/knock-launch-os${suffix}${location.search||''}${location.hash||''}`} replace/>}if(normalizedPath==='/knock-launch-os/portfolio'||normalizedPath.startsWith('/knock-launch-os/portfolio/'))return <PortfolioShell/>;if(normalizedPath.startsWith('/knock-launch-os/'))return <PortfolioOpsShell/>;if(normalizedPath.startsWith('/knock-launch-crm/')){const suffix=location.pathname.slice('/knock-launch-crm'.length);return <Navigate to={`/knock-launch-os${suffix}${location.search||''}${location.hash||''}`} replace/>}if(normalizedPath==='/godmode/console')return <Navigate to=\"/admin/console\" replace/>;if(location.pathname.startsWith('/admin'))return <AdminShell/>;return <TenantWorkspaceShell/>}\n","expectedFileSha":"ce1e593297cabe7be5903e9a56799faa3cd5c5ae"},{"path":"src/shells/TenantOwnedShellBoundary.tsx","content":"import React, { type ReactNode } from 'react';\nimport RedfishWorkspaceShell from '@/components/redfish/RedfishWorkspaceShell';\nimport CurriControlCenterShell from '@/shells/curri/CurriControlCenterShell';\nimport TenantModesShell from '@/shells/TenantModesShell';\nimport PCGTenantShell from '@/shells/pcg/PCGTenantShell';\nimport TennexTenantShell from '@/shells/tennex/TennexTenantShell';\nimport MiscAwareAccountMenu from '@/components/MiscAwareAccountMenu';\nimport { isModesTenant } from '@/shells/modesTenantShell';\n\nexport type TenantOwnedShellKind = 'default' | 'curri-control-center' | 'modes' | 'redfish' | 'pcg' | 'tennex';\n\ntype ResolveTenantOwnedShellInput = {\n  tenant: any;\n  applicationMode?: string | null;\n  isSelfContainedBigPapisWorkspace: boolean;\n  isSelfContainedPcgWorkspace: boolean;\n  isSelfContainedRedfishWorkspace: boolean;\n};\n\nexport function tenantUsesModesRouteFallback(tenant: any): boolean {\n  return isModesTenant(tenant);\n}\n\nexport function resolveTenantOwnedShellKind({\n  tenant,\n  applicationMode,\n  isSelfContainedBigPapisWorkspace,\n  isSelfContainedPcgWorkspace,\n  isSelfContainedRedfishWorkspace,\n}: ResolveTenantOwnedShellInput): TenantOwnedShellKind {\n  const settings = ((tenant as any)?.settings || {}) as Record<string, any>;\n  const tenantSlug = String(tenant?.company_slug || '').trim().toLowerCase();\n  const curriControlCenter =\n    tenantSlug === 'curri-control-center'\n    || String(settings.workspace_variant || '').trim().toLowerCase() === 'curri_control_center';\n\n  if (curriControlCenter) return 'curri-control-center';\n  if (tenantSlug === 'tennex' || tenantSlug === 'tennex-tax-solutions') return 'tennex';\n  if (isSelfContainedPcgWorkspace) return 'pcg';\n\n  const modesShell =\n    tenantUsesModesRouteFallback(tenant)\n    && applicationMode !== 'standalone'\n    && !isSelfContainedBigPapisWorkspace;\n\n  if (modesShell) return 'modes';\n  if (isSelfContainedRedfishWorkspace) return 'redfish';\n  return 'default';\n}\n\nfunction TenantExperienceContract({ children }: { children: ReactNode }) {\n  return (\n    <>\n      {children}\n      <div data-tenant-experience-account-fallback=\"true\">\n        <MiscAwareAccountMenu\n          singletonKey=\"tenant-experience-account-menu\"\n          placement=\"fixed\"\n          fallback\n          avatarMode=\"tenant\"\n          tenantShellOwner\n        />\n      </div>\n    </>\n  );\n}\n\nexport function TenantOwnedShellBoundary({\n  kind,\n  children,\n}: {\n  kind: TenantOwnedShellKind;\n  children: ReactNode;\n}) {\n  let shell: ReactNode;\n  switch (kind) {\n    case 'curri-control-center':\n      shell = <CurriControlCenterShell>{children}</CurriControlCenterShell>;\n      break;\n    case 'tennex':\n      shell = <TennexTenantShell>{children}</TennexTenantShell>;\n      break;\n    case 'pcg':\n      shell = <PCGTenantShell>{children}</PCGTenantShell>;\n      break;\n    case 'modes':\n      shell = <TenantModesShell>{children}</TenantModesShell>;\n      break;\n    case 'redfish':\n      shell = <RedfishWorkspaceShell>{children}</RedfishWorkspaceShell>;\n      break;\n    default:\n      shell = (\n        <div\n          data-tenant-owned-shell=\"adaptive\"\n          data-tenant-shell-owner=\"tenant\"\n          className=\"relative flex min-h-0 min-w-0 flex-1 flex-col\"\n        >\n          {children}\n        </div>\n      );\n      break;\n  }\n\n  return <TenantExperienceContract>{shell}</TenantExperienceContract>;\n}\n","expectedFileSha":"6416a258a41a4921f9fc59b333a2ab12d8373027"}],"branch":"ai/objective-first-repair-c1b4bc1f8523","writes":[],"patches":[],"version":1,"approved":true,"missionId":"c1b4bc1f-8523-4b11-8106-3d1e12c59bc5","objective":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"implementation":{"files":[],"writes":[]},"requestContract":{"intent":{"evidence":[],"confidence":null,"compilation":{"stages":["owner_intent","conversation_context","scope","live_state","mutation_authority","affected_systems","dependencies","risk_and_blast_radius","execution_tactics","required_proof","release_plan","recovery_plan"],"version":2,"explicit":false,"objective":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","proofKinds":[],"adaptiveDomains":["intent","tenant_route_role_viewport","urgency_deadline","dependency_scope","risk_blast_radius","runner_capacity","queue_active_work","provider_failure_circuits","qa_scope","retry_recovery","release_ownership","proof_depth"],"expansionPolicy":"later_stages_may_only_narrow_or_expand_with_machine_readable_dependency_evidence","dynamicStatePolicy":"live_state_may_change_execution_tactics_but_never_owner_outcome_or_explicit_constraints","dynamicRefreshStages":["preflight","gate","release","runtime_proof"],"adaptiveCompilerVersion":"paul-adaptive-objective-v1","inheritedContextBlockingAuthority":false},"rawUtterance":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","wordingChanged":false,"canonicalIntent":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","provenance":{"reason":null,"source":"current_request_inference","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"objective":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","constraints":[{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"c1b4bc1f-8523-4b11-8106-3d1e12c59bc5","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"requestContract":{"intent":{"evidence":[],"confidence":null,"compilation":{"stages":["owner_intent","conversation_context","scope","live_state","mutation_authority","affected_systems","dependencies","risk_and_blast_radius","execution_tactics","required_proof","release_plan","recovery_plan"],"version":2,"explicit":false,"objective":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","proofKinds":[],"adaptiveDomains":["intent","tenant_route_role_viewport","urgency_deadline","dependency_scope","risk_blast_radius","runner_capacity","queue_active_work","provider_failure_circuits","qa_scope","retry_recovery","release_ownership","proof_depth"],"expansionPolicy":"later_stages_may_only_narrow_or_expand_with_machine_readable_dependency_evidence","dynamicStatePolicy":"live_state_may_change_execution_tactics_but_never_owner_outcome_or_explicit_constraints","dynamicRefreshStages":["preflight","gate","release","runtime_proof"],"adaptiveCompilerVersion":"paul-adaptive-objective-v1","inheritedContextBlockingAuthority":false},"rawUtterance":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","wordingChanged":false,"canonicalIntent":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","provenance":{"reason":null,"source":"current_request_inference","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"objective":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","constraints":[{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"Apply the exact current-main full-file writes for the two proven platform shell/loading fixes, then continue through Gate, squash merge, frontend release, and live production proof.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"13dd80cb6b61e12c7b9ec951dee03ec23ee26f9aec53354ab42cd38d15fbc2ca","replayCount":0,"serializedBytes":87908},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T11:40:26.356912+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:c1b4bc1f-8523-4b11-8106-3d1e12c59bc5:repository-mutation-intent:13dd80cb6b61e12c7b9ec951dee03ec23ee26f9aec53354ab42cd38d15fbc2ca:0","mission_step_id":"2b56293a-fa12-4f4e-abe9-02d83484ee81","command_center_event_id":"c1b4bc1f-8523-4b11-8106-3d1e12c59bc5"},{"id":"5929a8ad-e965-4482-af42-3d23c417ffb0","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-b86d3a46eed0","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":25556,"releaseCount":0,"toolCallCount":12,"repeatedCallCount":4,"executorlessWaitMs":81526,"firstUsefulResultAt":"2026-10-02T21:39:13.631Z","recoveryAttemptCount":4,"ownerInterruptionCount":0},"version":null,"prNumber":4535,"terminal":false,"missionId":"b86d3a46-eed0-4c7f-b7d3-503f87eb2191","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"b6d2cf6b7158088a1b202caa91dcb618052f4cbf","timingsMs":{"prReadinessMs":675,"approvedPlanMs":0,"shipAndProveMs":3216,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"b86d3a46-eed0-4c7f-b7d3-503f87eb2191"},"performance":null,"deploymentId":"forgejo-main-b6d2cf6b7158","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1859,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T21:40:41.281661+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"4535","receipt_type":"automatic_mission_resume","idempotency_key":"mission:b86d3a46-eed0-4c7f-b7d3-503f87eb2191:automatic-mission-resume:4535:canonical_release_reconciliation_pending","mission_step_id":"5e05314e-bc9c-47f8-aa9e-54379124400c","command_center_event_id":"b86d3a46-eed0-4c7f-b7d3-503f87eb2191"},{"id":"592a27d7-34dd-417f-8fb5-977488b23dbd","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-d76296901358","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":4156,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":1,"executorlessWaitMs":42777,"firstUsefulResultAt":"2026-09-24T04:19:09.417Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.231-execution-contract-invariants","prNumber":null,"terminal":false,"missionId":"d7629690-1358-41a6-8366-bab2a17739fd","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":124,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":225,"providerAuthMs":0,"ledgerPrepareMs":225,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":225,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":225,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"d7629690-1358-41a6-8366-bab2a17739fd"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3859,"likelyAffectedFiles":["workers/cc-execution/src/source-discovery-policy.js","workers/cc-execution/src/repair-generation-continuation.js","workers/cc-execution/src/mission-ledger.js"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T04:19:09.477037+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:d7629690-1358-41a6-8366-bab2a17739fd:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"7688dd21-f246-4920-b1f9-91e1ce687de3","command_center_event_id":"d7629690-1358-41a6-8366-bab2a17739fd"},{"id":"592a6b34-cb02-4ffa-90a0-c26bb9a59a3b","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_ancestry_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"release\",\"deadlineAt\":\"2026-08-07T01:28:13.583355+00:00\",\"recoveryAction\":\"reconcile_release\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":4162,\"sourceSha\":\"033c35f06689eeb95a1d7bd8cdc805961d0badeb\",\"deploymentId\":\"canonical-release-033c35f06689\"}"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-04T13:09:28.726997+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:6d224eac-530a-444a-a58c-74d127fcd14f:owner-progress-heartbeat:119407957","mission_step_id":"19105a11-31ae-4fe7-b808-e12d606a5422","command_center_event_id":"6d224eac-530a-444a-a58c-74d127fcd14f"},{"id":"592c76af-66a8-422d-90b4-695534a65ae1","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-e97ee278242e","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":8604,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":"2026-10-04T11:44:51.761Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.90-owner-contract-autocompile","prNumber":4752,"terminal":false,"missionId":"e97ee278-242e-465e-8482-7212cbd16cc8","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3832,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":612,"missionSetupMs":272,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":272,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":272,"repositoryMutationMs":3220,"repositoryProviderMs":3220,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2004,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":272,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1216},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"e97ee278-242e-465e-8482-7212cbd16cc8"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3233,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T11:44:57.576104+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"4752","receipt_type":"execute_mission","idempotency_key":"mission:e97ee278-242e-465e-8482-7212cbd16cc8:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"b340dbce-8629-4c61-8e61-e48982bd11b1","command_center_event_id":"e97ee278-242e-465e-8482-7212cbd16cc8"},{"id":"592c9d5d-4650-4520-96f0-79c5eaecd452","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in implementation.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"durable_state:pull_request","handoff":null,"capability":"light-control-plane","automationAllowed":true,"ownerActionRequired":false,"resumeFromCheckpoint":"preflight"},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"owner_progress_heartbeat\",\"status\":\"waiting\",\"proofGate\":\"owner_progress_heartbeat\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"ready\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:pull_request\",\"automationAllowed\":true,\"ownerActionRequired\":false,\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\",\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-10-06T14:54:20.947247+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T13:38:07.009805+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:8461f374-86b0-422f-bb81-3fb39febaab9:owner-progress-heartbeat:119419592","mission_step_id":"a036e1a4-6bb7-4248-b530-a16b22bcaaa4","command_center_event_id":"8461f374-86b0-422f-bb81-3fb39febaab9"},{"id":"592cad75-49c6-4dec-a6e5-b68c9c5ad562","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-5596752e68e1","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.63.0-mission-freedom-web-research","prNumber":4083,"terminal":false,"missionId":"e26bb076-6723-46b3-b6c1-0c9e1a31b85f","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"d65dabe6c7655a2be9635cd1b4826696806e69b9","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":13812,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":10530,"approvedPlanMs":0,"missionSetupMs":519,"providerAuthMs":0,"shipAndProveMs":2783,"ledgerPrepareMs":519,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":519,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":519,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"e26bb076-6723-46b3-b6c1-0c9e1a31b85f"},"performance":null,"deploymentId":"forgejo-main-d65dabe6c765","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["pcg-customer-progress"]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2682,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T02:47:29.124263+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"d65dabe6c7655a2be9635cd1b4826696806e69b9","external_id":"forgejo-main-d65dabe6c765","receipt_type":"execute_mission","idempotency_key":"mission:e26bb076-6723-46b3-b6c1-0c9e1a31b85f:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"af6d850e-f60e-4791-9d0f-18e09026e8ee","command_center_event_id":"e26bb076-6723-46b3-b6c1-0c9e1a31b85f"},{"id":"592dda45-83a8-4d5f-ad0e-0ccf66d4daa8","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-57f09d9a80d1","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":11595,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":"2026-09-27T02:30:58.225Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.292-release-target-parity","prNumber":3841,"terminal":false,"missionId":"57f09d9a-80d1-4d8d-af0e-78ee0d4cc700","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3921,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":660,"missionSetupMs":270,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":270,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":270,"repositoryMutationMs":3261,"repositoryProviderMs":3261,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":1831,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":270,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1430},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"57f09d9a-80d1-4d8d-af0e-78ee0d4cc700"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3227,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-27T02:31:02.937947+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"3841","receipt_type":"execute_mission","idempotency_key":"mission:57f09d9a-80d1-4d8d-af0e-78ee0d4cc700:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"16da35d5-9693-4233-8bac-f0c3d67cc980","command_center_event_id":"57f09d9a-80d1-4d8d-af0e-78ee0d4cc700"},{"id":"592f113b-0b79-45af-85cf-a442050a6f4c","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-9d088d7955f2","prNumber":3881,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"3a366cd416dbb2398af92a39338ca34125787b91","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-27T15:36:07.906079+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"3a366cd416dbb2398af92a39338ca34125787b91","external_id":"3881","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:9d088d79-55f2-4991-b7db-999b3335bec5:merged-pr:3881:3a366cd416dbb2398af92a39338ca34125787b91","mission_step_id":"d89214dd-d3a1-4519-ac21-2943b64709c7","command_center_event_id":"9d088d79-55f2-4991-b7db-999b3335bec5"},{"id":"592f6a1c-998e-4d17-b1cb-b446f8db195a","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/fix-invitation-rls-role-contract","reason":"anchored_edits resolution failed","status":"blocked","metrics":{"receiptBytes":1597,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.31.26-direct-route-visual-intent","prNumber":null,"terminal":false,"missionId":"c470f416-5ac5-4da4-ac4f-1ca338f1bffc","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"c470f416-5ac5-4da4-ac4f-1ca338f1bffc"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1088,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-09T14:09:09.075602+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:c470f416-5ac5-4da4-ac4f-1ca338f1bffc:execute_mission:repair_mission_execution_blocked","mission_step_id":"c1b7c4cd-b7e7-4bce-b835-5ea2051657e4","command_center_event_id":"c470f416-5ac5-4da4-ac4f-1ca338f1bffc"},{"id":"5931d4e4-321e-4af9-add0-6fb0c2a05573","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"pull_request_exists_without_merged_source","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"owner_progress_heartbeat\",\"status\":\"waiting\",\"proofGate\":\"owner_progress_heartbeat\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"pull_request_exists_without_merged_source\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-pcg-mobile-vault-controls\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"release\",\"deadlineAt\":\"2026-10-06T05:55:56.623616+00:00\",\"recoveryAction\":\"reconcile_pull_request\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":5147,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T06:20:59.626765+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:b78054b5-ff74-493d-9d49-b3305dbc800c:owner-progress-heartbeat:119417843","mission_step_id":"986497ca-c7bb-469a-819a-206da30cca37","command_center_event_id":"b78054b5-ff74-493d-9d49-b3305dbc800c"},{"id":"5932b234-8757-472a-ba84-542a3b22749f","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"reasoning_required","branch":null,"reason":null,"status":"synthesis_required","metrics":{"receiptBytes":2656,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"executorlessWaitMs":1646,"firstUsefulResultAt":"2026-10-04T10:17:31.017Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.90-owner-contract-autocompile","prNumber":null,"terminal":false,"missionId":"581fa1f4-6468-4746-ba75-a5582d665a72","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3416,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":458,"providerAuthMs":0,"ledgerPrepareMs":458,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":458,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":458,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Synthesize exact mutation from the resolved authoritative source targets and continue this same mission.","receiptRef":{"mode":"full","missionId":"581fa1f4-6468-4746-ba75-a5582d665a72"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3509,"likelyAffectedFiles":["src/PrivateAppShell.tsx","scripts/visual-witness-hosted-runner/src/server-tenant-projection.mjs","scripts/visual-witness-hosted-runner/src/tenant-owner-preflight.mjs"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T10:17:32.700512+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:581fa1f4-6468-4746-ba75-a5582d665a72:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"97cff54c-cd4d-4146-b22d-e0a95cc3bf98","command_center_event_id":"581fa1f4-6468-4746-ba75-a5582d665a72"},{"id":"59358791-153a-434d-9ea6-a719c6e470d2","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/big-papis-flavor-gallery","reason":"pull_request_not_merge_eligible:pull_request_merge_rejected_no_mutation:{\"headSha\":\"de3e0d0369dbc67554a311b7fb72921d30d7e819\",\"merge\":\"{\\\"message\\\":\\\"Please try again later\\\",\\\"url\\\":\\\"https://git.knocklaunch.app/api/swagger\\\"}\",\"refreshRequired\":true,\"refreshOperation\":\"forgejo_pr_refresh\",\"headMutated\":false}","status":"blocked","metrics":{"receiptBytes":7794,"releaseCount":0,"toolCallCount":6,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":null,"prNumber":205,"terminal":false,"missionId":"655cf7e7-fa16-48f4-b0f1-7ffd50e18a67","operation":"automatic_mission_resume","proofGate":"canonical_release_blocked","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"655cf7e7-fa16-48f4-b0f1-7ffd50e18a67"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":623,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-16T00:45:41.667343+00:00","proof_gate":"canonical_release_blocked","source_sha":null,"external_id":"205","receipt_type":"automatic_mission_resume","idempotency_key":"mission:655cf7e7-fa16-48f4-b0f1-7ffd50e18a67:automatic-mission-resume:205:canonical_release_blocked","mission_step_id":"2b0d6446-432a-4039-97f5-13627f63981c","command_center_event_id":"655cf7e7-fa16-48f4-b0f1-7ffd50e18a67"},{"id":"593a244e-c79d-4e5c-be1c-ee6026c304fa","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/wire-customer-communications","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":8999,"releaseCount":0,"toolCallCount":7,"repeatedCallCount":4,"ownerInterruptionCount":0},"version":"1.46.8-intent-aware-objectives","prNumber":232,"terminal":false,"missionId":"0d3313b7-c954-4ff7-9a60-0d0bdec62e82","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"532d5ee578ac6e7daf53402db39e0f3e7249d35c","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"0d3313b7-c954-4ff7-9a60-0d0bdec62e82"},"performance":null,"deploymentId":"forgejo-main-532d5ee578ac","workflowRunId":683,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4498,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-16T03:56:34.906034+00:00","proof_gate":"canonical_release_dispatched","source_sha":"532d5ee578ac6e7daf53402db39e0f3e7249d35c","external_id":"forgejo-main-532d5ee578ac","receipt_type":"execute_mission","idempotency_key":"mission:0d3313b7-c954-4ff7-9a60-0d0bdec62e82:execute_mission:canonical_release_dispatched","mission_step_id":"62cb1e65-ff17-4936-af68-5f68aeaa6ceb","command_center_event_id":"0d3313b7-c954-4ff7-9a60-0d0bdec62e82"},{"id":"593c3c84-6a20-4fc1-b170-b00ff4618e04","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/bound-forgejo-action-run-scans-20260825","reason":"pull_request_stale_refresh_required","status":"retryable","metrics":{"receiptBytes":17818,"releaseCount":0,"toolCallCount":15,"repeatedCallCount":11,"ownerInterruptionCount":0},"version":"1.50.48-visual-proof-intent-routing","prNumber":757,"terminal":false,"missionId":"b51d8468-f9c2-4c3e-92f7-83349b7a412d","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"handlerMs":22413,"prReadinessMs":22413,"approvedPlanMs":0,"missionSetupMs":4090,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"b51d8468-f9c2-4c3e-92f7-83349b7a412d"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4032,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-25T21:05:04.06615+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"757","receipt_type":"execute_mission","idempotency_key":"mission:b51d8468-f9c2-4c3e-92f7-83349b7a412d:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"a546f4b1-141f-4dcc-afc3-4d4872b22daa","command_center_event_id":"b51d8468-f9c2-4c3e-92f7-83349b7a412d"},{"id":"593d6a20-a09d-43bb-9c12-e811273985c8","source":"cc-execution","status":"recorded","payload":{"objective":"Build the Big Papi customer-growth loop from current Forgejo main a92d07a9531384ef8eb03ace92c634a229de6142. This is cross-system Core work. Use one fresh ai/* branch, one PR, KnockLaunch Gate, squash merge, deploy only affected frontend/Supabase targets, then non-visual runtime proof. Do not use Visual Witness.\n\nImplement a production V1 of “Big Papi Next Stop Club” tied directly to Customers, loyalty, and KNOCKLAUNCH Mail:\n1. Add durable tenant-scoped data for mobile-vendor loyalty members, loyalty activity ledger, email campaigns, and campaign recipients. Members link to unified_contacts, track active/unsubscribed status, email/SMS opt-ins, join/source attribution, visit/stamp balance, lifetime stamps, rewards redeemed, unsubscribe token, timestamps, and metadata. Campaigns record audience, subject/body, counts/status and per-recipient send/skip/failure receipts. RLS/service boundaries must be safe.\n2. Add a single mobile-vendor growth Edge Function owning public club join/unsubscribe and authenticated owner growth actions. Public join must normalize/dedupe against unified_contacts by email/phone, create/update the contact rather than duplicate it, record source/UTM/landing attribution, and only grant channels explicitly opted into. Unsubscribe must be token-based and enforce future email exclusion. Capture SMS consent but do not send SMS yet.\n3. Owner actions: growth dashboard/status, loyalty settings, add visit/stamp, redeem milestone reward, campaign history, and manual email campaign send. Default program: 1 stamp per visit, milestone 5, reward label “Big Papi loyalty reward”; owner can edit milestone/reward label. Never auto-send marketing because tenant automated outbound remains OFF by default.\n4. Reuse the existing authenticated zoho-mail send_message capability for delivery; do not create a second mail provider or bypass KNOCKLAUNCH Mail. Campaign sending must select only active email-opted-in members, append a per-member unsubscribe link, persist recipient receipts, and continue safely if one recipient fails. Support manual templates for Next Stop, Loyalty, and Custom; Next Stop content may derive from the existing future-aware public schedule.\n5. On /big-papis add a polished customer-facing Next Stop Club CTA adjacent to the public calendar/status. Copy should sell: next-stop alerts, loyalty rewards, and occasional Big Papi offers. Join form asks name + email, optional phone, explicit email opt-in and optional SMS opt-in, with clear consent wording. Show success without blocking booking/calendar. Honor ?club_unsubscribe=<token> and show customer-friendly confirmation.\n6. In Big Papi Customers add a compact owner-facing “Next Stop Club” growth panel with member/email-audience/reward-ready metrics, recent members, acquisition/source context, loyalty actions, editable reward settings, campaign composer/history, and a one-click Next Stop campaign prefill. Keep language owner-friendly and mobile usable.\n7. Preserve existing booking, calendar, Customer 360, Mail, auth, event scanning, public schedule, and automated-contact defaults. No provider/internal jargon on customer-facing surfaces. No SMS sending until a texting provider is actually connected.\n8. Add targeted regression guards/contracts where appropriate for opt-in filtering, unsubscribe exclusion, dedupe, reward math, and tenant isolation.","tenantRef":"bigpapisiceys","receivedAt":"2026-08-21T17:55:02.134Z","fingerprint":"be6ed240069baa79b48a6e7b016a90eb0545a7b06cc04747e044a1287beb04a9","workstreamRef":"bigpapisiceys","conversationId":null,"canonicalBranch":"ai/big-papi-growth-club-20260821","requestedBranch":"ai/big-papi-growth-club-20260821","conversationContext":null},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-21T17:55:02.858603+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:1ff0591b-0487-420b-9194-e8b7e1b12ca1:tenant-workstream-contribution:be6ed240069baa79b48a6e7b016a90eb0545a7b06cc04747e044a1287beb04a9","mission_step_id":null,"command_center_event_id":"1ff0591b-0487-420b-9194-e8b7e1b12ca1"},{"id":"593d715e-70a0-4614-959c-eae644582ecb","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-b2470149d0a7","prNumber":4086,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"c484aa18d69d6cc3f197ce43c51bdc42b4e57072","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T02:43:06.832367+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"c484aa18d69d6cc3f197ce43c51bdc42b4e57072","external_id":"4086","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:b2470149-d0a7-41f7-9bcd-223d1976693a:merged-pr:4086:c484aa18d69d6cc3f197ce43c51bdc42b4e57072","mission_step_id":"e02f7b7f-41ab-43d3-84ce-4f2a0c033816","command_center_event_id":"b2470149-d0a7-41f7-9bcd-223d1976693a"},{"id":"593db928-fc2c-4749-a4f7-c9d1d406e865","source":"cc-execution","status":"in_progress","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"in_progress","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.253-targeted-source-fail-closed","prNumber":3616,"terminal":false,"missionId":"cfe5c885-67b5-4c32-94de-0089494b0dcc","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4395,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":124,"approvedPlanMs":0,"missionSetupMs":417,"providerAuthMs":0,"shipAndProveMs":3864,"ledgerPrepareMs":417,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":417,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":417,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create replacement work.","receiptRef":{"mode":"full","missionId":"cfe5c885-67b5-4c32-94de-0089494b0dcc"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1477,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T13:52:57.510187+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"3616","receipt_type":"execute_mission","idempotency_key":"mission:cfe5c885-67b5-4c32-94de-0089494b0dcc:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"47f9e49e-a305-4119-81a1-14c0c0095082","command_center_event_id":"cfe5c885-67b5-4c32-94de-0089494b0dcc"},{"id":"593ff6c3-3834-40ef-b642-aa59b9361b45","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-220fdcd199de","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.223-durable-witness-lane-affinity","prNumber":null,"terminal":false,"missionId":"220fdcd1-99de-488f-bb0c-2f270ddbb26b","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":65,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":584,"providerAuthMs":0,"ledgerPrepareMs":584,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":584,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":584,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"220fdcd1-99de-488f-bb0c-2f270ddbb26b"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4868,"likelyAffectedFiles":["src/pages/applications/CommunicationsApplicationRoute.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-23T15:37:07.051906+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:220fdcd1-99de-488f-bb0c-2f270ddbb26b:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"8801670a-ea93-4c97-bad7-18f7f6b43798","command_center_event_id":"220fdcd1-99de-488f-bb0c-2f270ddbb26b"},{"id":"593fffb5-1cf5-4a24-983b-c3b7fe606bc3","source":"cc-execution","status":"in_progress","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-mtkiwxfm","reason":null,"status":"in_progress","metrics":{"receiptBytes":14371,"releaseCount":0,"toolCallCount":10,"repeatedCallCount":3,"ownerInterruptionCount":0},"version":"1.58.4-refresh-fastpath","prNumber":1472,"terminal":false,"missionId":"3dab01d1-a0bc-4e27-abeb-5f4a614b3d7e","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"fecefb73082df23fbc3b403225d6b0d3cc2d82b9","timingsMs":{"handlerMs":5390,"prReadinessMs":363,"approvedPlanMs":0,"missionSetupMs":3900,"shipAndProveMs":4814},"nextAction":"Reconcile this same mission and pull request automatically; do not create replacement work.","receiptRef":{"mode":"full","missionId":"3dab01d1-a0bc-4e27-abeb-5f4a614b3d7e"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1009,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"b565f644-6d3c-4b61-97d6-f91a06dae0ec","created_at":"2026-09-02T20:36:21.309842+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"1472","receipt_type":"execute_mission","idempotency_key":"mission:3dab01d1-a0bc-4e27-abeb-5f4a614b3d7e:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"c083f958-1d95-41bf-88ea-b80915dbc82e","command_center_event_id":"3dab01d1-a0bc-4e27-abeb-5f4a614b3d7e"},{"id":"5944024c-1d63-4037-96ec-0db62fd6dcd1","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-10-02T03:36:46.172844+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":4428,\"sourceSha\":\"4674784332e9bc4635742d897a13f4adac2cdbe4\",\"deploymentId\":\"forgejo-main-4674784332e9\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T00:38:53.520492+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:664531c0-76af-4b6b-a047-fdda9a2a8a9f:owner-progress-heartbeat:119393435","mission_step_id":"a4462e87-3cd5-405a-ab0d-e45893a61a08","command_center_event_id":"664531c0-76af-4b6b-a047-fdda9a2a8a9f"},{"id":"5945c636-d4de-40db-a912-4f3d1af261e3","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in visual proof.","nextAction":{"lane":"visual-sandbox","action":"verify_visual","reason":"release_verified_visual_proof_pending","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"visual_proof\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"verified\",\"proofGate\":\"canonical_release_terminal_verified\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"verify_visual\",\"lane\":\"visual-sandbox\",\"reason\":\"release_verified_visual_proof_pending\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"verify_visual\",\"recoveryOwner\":\"visual-sandbox\"},\"acceptance\":{\"total\":6,\"verified\":2,\"pending\":4,\"percent\":33,\"satisfied\":false,\"verifiedIds\":[\"implementation\",\"runtime_proof\"],\"pendingIds\":[\"preflight\",\"pull_request\",\"release\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"visual_proof\",\"deadlineAt\":\"2026-08-06T00:37:31.924766+00:00\",\"recoveryAction\":\"verify_visual\"},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/encore-premium-navigation\",\"prNumber\":4078,\"sourceSha\":\"e30366f422fb35a9d253a19e003232b93193fa45\",\"deploymentId\":\"canonical-release-e30366f422fb\"}"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-04T00:02:02.266167+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:ac098b54-3443-4e82-a863-c42f9b29c0d0:owner-progress-heartbeat:119404808","mission_step_id":"3e4cf8fc-f4a3-4fb1-902b-ac150bb974d9","command_center_event_id":"ac098b54-3443-4e82-a863-c42f9b29c0d0"},{"id":"5947326e-e898-4964-adc2-a95cee0d4c8b","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Correct the just-merged Redfish demo-readiness generation before runtime proof. Current main now contains PR #1251. DO NOT reuse its merged branch. Create one fresh ai/* corrective branch from CURRENT Forgejo main and one corrective PR. Scope the focused EnhancedTable toolbar explicitly from UnifiedManagement using a prop so only Redfish Leads/Homeowners receive it; Redfish Jobs and other tables must keep their existing toolbar. Also make the Redfish contacts empty-state wording owner-facing and suppress its CSV-import secondary action. No other behavior change. Run KnockLaunch Gate, squash merge, release frontend only, then continue the existing mission to production interaction proof. STRICT: no invitation/email/user/role/ownership/access mutation.","wordingChanged":false,"canonicalIntent":"Correct the just-merged Redfish demo-readiness generation before runtime proof. Current main now contains PR #1251. DO NOT reuse its merged branch. Create one fresh ai/* corrective branch from CURRENT Forgejo main and one corrective PR. Scope the focused EnhancedTable toolbar explicitly from UnifiedManagement using a prop so only Redfish Leads/Homeowners receive it; Redfish Jobs and other tables must keep their existing toolbar. Also make the Redfish contacts empty-state wording owner-facing and suppress its CSV-import secondary action. No other behavior change. Run KnockLaunch Gate, squash merge, release frontend only, then continue the existing mission to production interaction proof. STRICT: no invitation/email/user/role/ownership/access mutation.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"focused-toolbar-scoped","statement":"Focused toolbar applies only to Redfish Leads/Homeowners management surfaces and not Redfish Jobs or unrelated tables.","proofConditionIds":["runtime-redfish"]},{"id":"redfish-owner-copy","statement":"Redfish Homeowners uses homeowner-facing empty-state copy and does not expose CSV import there.","proofConditionIds":["runtime-redfish"]}],"objective":"Correct the just-merged Redfish demo-readiness generation before runtime proof. Current main now contains PR #1251. DO NOT reuse its merged branch. Create one fresh ai/* corrective branch from CURRENT Forgejo main and one corrective PR. Scope the focused EnhancedTable toolbar explicitly from UnifiedManagement using a prop so only Redfish Leads/Homeowners receive it; Redfish Jobs and other tables must keep their existing toolbar. Also make the Redfish contacts empty-state wording owner-facing and suppress its CSV-import secondary action. No other behavior change. Run KnockLaunch Gate, squash merge, release frontend only, then continue the existing mission to production interaction proof. STRICT: no invitation/email/user/role/ownership/access mutation.","constraints":[{"id":"fresh-corrective-branch","statement":"PR #1251 is merged; do not reuse its branch. Use one fresh corrective ai/* branch and one corrective PR.","proofConditionIds":["runtime-redfish"]},{"id":"no-invitation-mutation","statement":"Do not create, send, resend, rotate, cancel, or modify invitations, emails, users, roles, tenant ownership, or access.","proofConditionIds":["runtime-redfish"]},{"id":"frontend-only-release","statement":"Release frontend only.","proofConditionIds":["runtime-redfish"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"runtime-redfish","kind":"runtime","claim":"Production Redfish Homeowners is focused and real contact navigation remains tenant-scoped.","route":"/redfish-roofing/contacts","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"]}],"validationErrors":[]},"requestContractHash":"5bbb54c0c871054cf87e47e1c12cf4df2231ee543db2cbcca47272667dbcc0f6","requestContractRevision":3,"previousRequestContractHash":"c1e68f475c0d93b5fc5b55226e2e622f0e69765037976770bcf48b5519ca21c9"},"tenant_id":"de8369b6-a78f-40bb-ae1f-28ffca62bc7e","created_at":"2026-09-01T13:25:22.981508+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:778724fb-6968-4c05-b313-f04f09fb202d:request-contract-revision:3:5bbb54c0c871054cf87e47e1c12cf4df2231ee543db2cbcca47272667dbcc0f6","mission_step_id":"6f961f76-3fa2-4293-9da9-2dd8057473d9","command_center_event_id":"778724fb-6968-4c05-b313-f04f09fb202d"},{"id":"5948961b-b164-4435-8ffb-d081ca32c4f3","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"7f34021371e7990939b76b0119064029b434832d","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"outcome-1","satisfied":true,"statement":"All public Prime/MCP tool responses are bounded at the canonical gateway, full JSON is not duplicated into text content, routine oversize payloads compact deterministically, and explicit forensic commands remain available within a larger bounded evidence budget.","proofConditionIds":["proof-production"]}],"satisfied":true,"constraints":[{"id":"capability-completeness","satisfied":true,"statement":"The gateway policy must cover direct public tools and server-side commands without weakening auth, durable mission recovery, or the single mutation/release lane.","proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Do not activate the response-budget policy until tests, Gate, cc-execution release, and live claim-matched proof succeed.","proofConditionIds":["proof-production"]}],"contractHash":"9e3a36a52d1c7e8b690529e24605073e4c3db6073a6a3fc3ea74232abe173ef7","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"proof-production","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"ccExecution":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["ccExecution"],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"],"migrationReleaseVerified":null,"releaseRequestContractHash":"9e3a36a52d1c7e8b690529e24605073e4c3db6073a6a3fc3ea74232abe173ef7"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["ccExecution"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T10:12:13.587029+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"7f34021371e7990939b76b0119064029b434832d","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:8ec9fc6c-e597-4933-b659-57b3fc06bb33:request-contract:9e3a36a52d1c7e8b690529e24605073e4c3db6073a6a3fc3ea74232abe173ef7:7f34021371e7990939b76b0119064029b434832d:verified:","mission_step_id":"de78a8ce-6bdf-4792-915a-42178b070272","command_center_event_id":"8ec9fc6c-e597-4933-b659-57b3fc06bb33"},{"id":"59499d2b-a363-450c-a481-012d6f79449e","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":null,"reason":"pull_request_stale_refresh_required","status":"retryable","metrics":{"receiptBytes":711,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.50.48-visual-proof-intent-routing","prNumber":727,"terminal":false,"missionId":"632ef568-071f-416c-9707-0723a96a278b","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"handlerMs":19010,"prReadinessMs":19010,"approvedPlanMs":0,"missionSetupMs":2426,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"632ef568-071f-416c-9707-0723a96a278b"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5898,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-26T01:18:11.193331+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"727","receipt_type":"execute_mission","idempotency_key":"mission:632ef568-071f-416c-9707-0723a96a278b:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"891b12b6-1fe9-4af0-96fa-31638e859dad","command_center_event_id":"632ef568-071f-416c-9707-0723a96a278b"},{"id":"594a1188-3ea2-45cd-8349-7884cc860619","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Ship existing PR 2085 on exact head a02962c7d2e6890e4cbb2fefa44dd2955186db1c. KnockLaunch Gate logs prove the strict Gate passed on this exact head. Reconcile the Gate receipt, squash merge through Forgejo, release only the affected frontend, migrations, and calendar-provider-connections targets, then prove live production Calendar first-class application bootstrap. Preserve unrelated applications and do not authorize providers or mutate real events during proof.","wordingChanged":false,"canonicalIntent":"Ship existing PR 2085 on exact head a02962c7d2e6890e4cbb2fefa44dd2955186db1c. KnockLaunch Gate logs prove the strict Gate passed on this exact head. Reconcile the Gate receipt, squash merge through Forgejo, release only the affected frontend, migrations, and calendar-provider-connections targets, then prove live production Calendar first-class application bootstrap. Preserve unrelated applications and do not authorize providers or mutate real events during proof.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"application-contract","statement":"Calendar is represented as one first-class default tenant application with complete connected-calendar capabilities and data ownership in both static and database registries.","proofConditionIds":["repo-registry","catalog-live","applications-ui"]},{"id":"tenant-bootstrap","statement":"All existing tenants have Calendar enabled at bootstrap_version 2 or newer and future tenants inherit Calendar through the existing default-installed bootstrap path.","proofConditionIds":["catalog-live","tenant-installs"]},{"id":"provider-runtime","statement":"Business-calendar authorization/sync uses public.is_tenant_owner(uuid, uuid) and calendar-provider-connections is redeployed successfully.","proofConditionIds":["repo-provider","provider-live"]}],"objective":"Ship existing PR 2085 on exact head a02962c7d2e6890e4cbb2fefa44dd2955186db1c. KnockLaunch Gate logs prove the strict Gate passed on this exact head. Reconcile the Gate receipt, squash merge through Forgejo, release only the affected frontend, migrations, and calendar-provider-connections targets, then prove live production Calendar first-class application bootstrap. Preserve unrelated applications and do not authorize providers or mutate real events during proof.","constraints":[{"id":"no-duplicate-app","statement":"Update the existing Calendar application contract; do not create a second Calendar catalog entry.","proofConditionIds":["catalog-live"]},{"id":"scope","statement":"Do not alter unrelated applications or production event data.","proofConditionIds":["repo-registry","repo-provider","repo-migration"]},{"id":"no-oauth-proof","statement":"Do not authorize third-party providers solely for verification.","proofConditionIds":["applications-ui"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repo-registry","kind":"repository","claim":"Current Forgejo source contains the complete Calendar application registry contract.","route":"src/config/applicationCapabilityRegistry.ts","roleRef":null,"userRef":null,"required":true,"expectedText":"app('calendar', 'Calendar', 'calendar', ['list-events', 'create-event', 'update-event', 'list-connections', 'authorize-provider', 'add-ics', 'sync-connection', 'revoke-connection'], ['user_calendar_events', 'calendar_connections', 'calendar_external_events', 'calendar_connection_secrets', 'calendar_connection_oauth_states'])","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"repo-provider","kind":"repository","claim":"Current Forgejo source uses public.is_tenant_owner for Calendar business owner checks.","route":"supabase/functions/calendar-provider-connections/index.ts","roleRef":null,"userRef":null,"required":true,"expectedText":"admin.rpc('is_tenant_owner',{_user_id:userId,_tenant_id:tenantId})","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"repo-migration","kind":"repository","claim":"The immutable Calendar first-class bootstrap migration exists in the shipped source generation.","route":"supabase/migrations/20260907171500_calendar_first_class_application_bootstrap.sql","roleRef":null,"userRef":null,"required":true,"expectedText":"calendar","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"catalog-live","kind":"runtime","claim":"Production application_catalog has one Calendar row marked default_installed with connected-calendar capabilities and full Calendar data owners, and application_action_registry includes the provider actions.","route":"/knock-launch-os/applications","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["frontend","migrations","supabaseEdge"],"requiredReleaseTargets":["migrations"]},{"id":"tenant-installs","kind":"runtime","claim":"Every production tenant has Calendar enabled with bootstrap_version at least 2.","route":"/knock-launch-os/applications","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["frontend","migrations","supabaseEdge"],"requiredReleaseTargets":["migrations"]},{"id":"provider-live","kind":"runtime","claim":"calendar-provider-connections is deployed from source using public.is_tenant_owner for business-calendar owner checks.","route":"/knock-launch-os/applications","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["frontend","migrations","supabaseEdge"],"requiredReleaseTargets":["supabaseEdge"]},{"id":"applications-ui","kind":"interaction","claim":"Production /knock-launch-os/applications displays Calendar in the Applications list as a Default app and exposes upgraded application details without provider authorization.","route":"/knock-launch-os/applications","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[{"id":"calendar-visible","text":"Calendar","type":"wait_for_text","exact":true,"required":true},{"id":"calendar-select","name":"Calendar","role":"button","type":"click","exact":false,"waitMs":500,"required":true},{"id":"calendar-default","text":"Default","type":"wait_for_text","exact":true,"required":true},{"id":"calendar-connections-action","text":"list-connections","type":"wait_for_text","exact":true,"required":true}],"allowedReleaseTargets":["frontend","migrations","supabaseEdge"],"requiredReleaseTargets":["frontend"]}],"validationErrors":[]},"requestContractHash":"82757b83e75838575dfbb79df2c741cfb70d3fb40a6893d26808ce972d81cab7","requestContractRevision":2,"previousRequestContractHash":"4b4b365065faf4b6ec793b25106e2971f43b383ccd70e8a639f414abe7060269"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-07T18:03:16.680584+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:81e04ef2-ee9b-4a90-8b2d-14a78dc89997:request-contract:82757b83e75838575dfbb79df2c741cfb70d3fb40a6893d26808ce972d81cab7","mission_step_id":"c2facd2a-812d-4042-82b0-4a3ae5ecf011","command_center_event_id":"81e04ef2-ee9b-4a90-8b2d-14a78dc89997"},{"id":"594a1c82-a111-4f14-880a-754717d40e59","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/fix-big-papi-smooth-entrance-20260821","reason":"The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":9554,"releaseCount":0,"toolCallCount":12,"repeatedCallCount":5,"ownerInterruptionCount":0},"version":"1.50.10-unreleasable-generation-terminal","prNumber":564,"terminal":false,"missionId":"5a31b18f-626f-44cc-b48e-521d4e8a5aae","operation":"execute_mission","proofGate":"canonical_release_transport_retryable","sourceSha":"3fbbe40775b56bd884147b131a8a7db7a5887f8e","timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"5a31b18f-626f-44cc-b48e-521d4e8a5aae"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4779,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-21T17:18:44.028231+00:00","proof_gate":"canonical_release_transport_retryable","source_sha":null,"external_id":"564","receipt_type":"execute_mission","idempotency_key":"mission:5a31b18f-626f-44cc-b48e-521d4e8a5aae:execute_mission:canonical_release_transport_retryable","mission_step_id":"00c019c2-2218-4ae0-8eea-a41249419b63","command_center_event_id":"5a31b18f-626f-44cc-b48e-521d4e8a5aae"},{"id":"594b43ef-eda9-4298-9c40-71a9843f0902","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"waiting\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-10-04T23:07:57.004552+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-3a65d698dc9e\",\"prNumber\":4844,\"sourceSha\":\"cb2da87b39c34b3757e0e0fc39ed08c74efc98a9\",\"deploymentId\":\"forgejo-main-cb2da87b39c3\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T20:11:36.792768+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:3a65d698-dc9e-449a-a03f-4da3eb56e6ee:owner-progress-heartbeat:119409646","mission_step_id":"6b9217a2-8bed-44a7-80e1-387985b2115f","command_center_event_id":"3a65d698-dc9e-449a-a03f-4da3eb56e6ee"},{"id":"594beb35-62fc-41d8-b4ef-7b751ec91c06","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-e1d57e8bfd8c","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.182-witness-render-cold-start-aware","prNumber":null,"terminal":false,"missionId":"e1d57e8b-fd8c-46e8-bbc6-17ddd74c0b65","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":329,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":314,"providerAuthMs":0,"ledgerPrepareMs":314,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":314,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":314,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"e1d57e8b-fd8c-46e8-bbc6-17ddd74c0b65"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3879,"likelyAffectedFiles":["src/config/applicationCapabilityRegistry.ts","src/routes/crmRoutes.tsx","src/pages/event-rentals/EventRentalOperationsPage.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-18T17:00:34.455399+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:e1d57e8b-fd8c-46e8-bbc6-17ddd74c0b65:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"0a44be09-6845-445d-bf33-d9e3e1a0384e","command_center_event_id":"e1d57e8b-fd8c-46e8-bbc6-17ddd74c0b65"},{"id":"594bfa41-617f-4133-b325-93acb22a45d1","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-75b0e46e5f54","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":5246,"releaseCount":0,"toolCallCount":3,"repeatedCallCount":0,"executorlessWaitMs":11821,"firstUsefulResultAt":"2026-10-05T14:54:38.302Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.94-terminal-completion-supervisor","prNumber":4935,"terminal":false,"missionId":"75b0e46e-5f54-4d21-b4c4-121236478806","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"64182992ba8a0cc104ffbcc7d6ee629a44ab959b","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":10544,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":954,"approvedPlanMs":853,"missionSetupMs":255,"providerAuthMs":0,"shipAndProveMs":3337,"ledgerPrepareMs":255,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":255,"repositoryMutationMs":4916,"repositoryProviderMs":4916,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2827,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":255,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":2089},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"75b0e46e-5f54-4d21-b4c4-121236478806"},"performance":null,"deploymentId":"forgejo-main-64182992ba8a","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4713,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T14:55:02.025756+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"64182992ba8a0cc104ffbcc7d6ee629a44ab959b","external_id":"forgejo-main-64182992ba8a","receipt_type":"execute_mission","idempotency_key":"mission:75b0e46e-5f54-4d21-b4c4-121236478806:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"90216df9-adc1-4e7d-8766-4fab4306515d","command_center_event_id":"75b0e46e-5f54-4d21-b4c4-121236478806"},{"id":"594dda73-8fd8-49b0-9868-ec3e23a5bddb","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending","supabase-edge-production/live":"success"},"mainSha":"b201a090c69f7a5cb86e037775c440f3c32446b2","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","supabase-edge-production/live","frontend-cloudflare/live"],"sourceSha":"b201a090c69f7a5cb86e037775c440f3c32446b2","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["zoho-mail"]},"releaseTargetStates":{"frontend":"pending","supabaseEdge":"success"},"requestContractHash":"9195a7c721134d2ebc1b503ea70475ae2bdc2f43f7b679bcf8eb166960a18c38","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/8399","runId":8399,"status":"waiting","sourceSha":"b201a090c69f7a5cb86e037775c440f3c32446b2","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"frontend":"pending","supabaseEdge":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending","supabaseEdge":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-15T16:24:55.796696+00:00","proof_gate":"canonical_release_pending","source_sha":"b201a090c69f7a5cb86e037775c440f3c32446b2","external_id":"forgejo-main-b201a090c69f","receipt_type":"canonical_release_status","idempotency_key":"mission:5318a005-92bb-4161-80d6-9adabd4c4dba:forgejo-release-status:b201a090c69f7a5cb86e037775c440f3c32446b2:pending:forgejo-main/source=success|forgejo-release/workflow=pending|supabase-edge-production/live=success|frontend-cloudflare/live=pending","mission_step_id":"208caf29-c28e-4687-a3ef-3bf2172ecf49","command_center_event_id":"5318a005-92bb-4161-80d6-9adabd4c4dba"},{"id":"5950d5e1-6200-43e2-ba56-c9cf3a57ec4b","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"branch":"ai/objective-first-repair-48e6da6a1a09","writes":[],"patches":[],"version":1,"approved":true,"missionId":"48e6da6a-1a09-41b3-b63a-693fd2294ddb","repository":"noel/KnockLaunchOS","visualProof":false,"verifyVisual":false,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["scripts/visual-witness-hosted-runner/src/mission-supervisor.mjs","scripts/visual-witness-hosted-runner/src/universal-witness.mjs"],"anchored_edits":[{"path":"scripts/visual-witness-hosted-runner/src/mission-supervisor.mjs","anchor":"        const prior = item.attempts?.at(-1);\n        if (prior && !prior.completedAt) {\n          let recoveredReceipt = null;\n          try { recoveredReceipt = await this.readAttempt(prior.jobId); } catch {}\n          const recoveredClassification = classifyMissionReceipt(recoveredReceipt || {\n            status: 'failed',\n            failureReason: 'supervisor_process_restarted',\n            result: { ok: false, failureReason: 'supervisor_process_restarted' },\n          });\n          item.restartReplayHistory ||= [];\n          const replayCount = item.restartReplayHistory.filter((entry) => Number(entry?.attempt) === Number(prior.attempt)).length;\n          if (PROCESS_RESTART_FAILURE.test(recoveredClassification.failureReason || '') && replayCount < MAX_PROCESS_RESTART_REPLAYS_PER_SLOT) {\n            const replayedAt = new Date(this.now()).toISOString();\n            item.restartReplayHistory.push({ attempt: prior.attempt, jobId: prior.jobId, failureReason: recoveredClassification.failureReason, replayedAt });\n            item.attempts.pop();\n            item.activeAttemptId = null;\n            item.status = 'retrying';\n            item.phase = `replaying_attempt_${prior.attempt}_after_process_restart`;\n            item.lastProgressAt = replayedAt;\n            await this.persist(item);\n            void this.run(item);\n            return item;\n          }\n          prior.completedAt = new Date(this.now()).toISOString();\n          prior.classification = recoveredClassification.terminal\n            ? recoveredClassification\n            : { category: 'transient_infrastructure', terminal: true, retryable: true, failureReason: 'supervisor_process_restarted', evidence: { routes: 0, artifacts: 0, useful: false } };\n          prior.receipt = recoveredReceipt || prior.receipt || { status: 'failed', failureReason: prior.classification.failureReason };\n        }\n        item.activeAttemptId = null;\n        item.status = 'retrying';\n        item.phase = 'recovered_after_restart';\n        item.lastProgressAt = new Date(this.now()).toISOString();\n        await this.persist(item);\n        void this.run(item);","expectedSha":"9975571d9192207d643a46f1f4805295ad754e42","replacement":"        const prior = item.attempts?.at(-1);\n        const terminalizeRecoveredSuccess = async () => {\n          const category = String(prior?.classification?.category || '');\n          if (!prior?.completedAt || !['verified', 'completed_with_findings'].includes(category)) return false;\n          item.activeAttemptId = null;\n          item.status = 'completed';\n          item.phase = category;\n          item.completedAt ||= prior.completedAt || new Date(this.now()).toISOString();\n          item.lastProgressAt = item.completedAt;\n          item.result = {\n            ok: true,\n            proofGate: category === 'verified' ? 'supervised_visual_witness_verified' : 'supervised_visual_witness_completed_with_findings',\n            outcome: category,\n            attemptsUsed: item.attempts.length,\n            effectiveVerificationTier: item.mission?.effectiveVerificationTier || null,\n            escalationHistory: item.escalationHistory || [],\n            escalationReason: (item.escalationHistory || []).at(-1)?.reason || null,\n            terminalReceipt: prior.receipt,\n          };\n          await this.persist(item);\n          return true;\n        };\n        if (await terminalizeRecoveredSuccess()) return item;\n        if (prior && !prior.completedAt) {\n          let recoveredReceipt = null;\n          try { recoveredReceipt = await this.readAttempt(prior.jobId); } catch {}\n          const recoveredClassification = classifyMissionReceipt(recoveredReceipt || {\n            status: 'failed',\n            failureReason: 'supervisor_process_restarted',\n            result: { ok: false, failureReason: 'supervisor_process_restarted' },\n          });\n          item.restartReplayHistory ||= [];\n          const replayCount = item.restartReplayHistory.filter((entry) => Number(entry?.attempt) === Number(prior.attempt)).length;\n          if (PROCESS_RESTART_FAILURE.test(recoveredClassification.failureReason || '') && replayCount < MAX_PROCESS_RESTART_REPLAYS_PER_SLOT) {\n            const replayedAt = new Date(this.now()).toISOString();\n            item.restartReplayHistory.push({ attempt: prior.attempt, jobId: prior.jobId, failureReason: recoveredClassification.failureReason, replayedAt });\n            item.attempts.pop();\n            item.activeAttemptId = null;\n            item.status = 'retrying';\n            item.phase = `replaying_attempt_${prior.attempt}_after_process_restart`;\n            item.lastProgressAt = replayedAt;\n            await this.persist(item);\n            void this.run(item);\n            return item;\n          }\n          prior.completedAt = new Date(this.now()).toISOString();\n          prior.classification = recoveredClassification.terminal\n            ? recoveredClassification\n            : { category: 'transient_infrastructure', terminal: true, retryable: true, failureReason: 'supervisor_process_restarted', evidence: { routes: 0, artifacts: 0, useful: false } };\n          prior.receipt = recoveredReceipt || prior.receipt || { status: 'failed', failureReason: prior.classification.failureReason };\n          if (await terminalizeRecoveredSuccess()) return item;\n        }\n        item.activeAttemptId = null;\n        item.status = 'retrying';\n        item.phase = 'recovered_after_restart';\n        item.lastProgressAt = new Date(this.now()).toISOString();\n        await this.persist(item);\n        void this.run(item);"},{"path":"scripts/visual-witness-hosted-runner/src/universal-witness.mjs","anchor":"  const upload = await withIoTimeout(supabase.storage.from(STORAGE_BUCKET).upload(supervisorCheckpointPath(job.supervisorId), Buffer.from(JSON.stringify({ version: 1, supervisorId: job.supervisorId, sourceJobId: job.id, checkpoints: Array.isArray(job.checkpoints) ? job.checkpoints : [], checkpointAccounting: checkpointAccounting(job), updatedAt: new Date().toISOString() })), { contentType: 'application/json', cacheControl: 'no-store', upsert: true }), 10_000, 'supervisor_checkpoint_upload');","expectedSha":"ebc8aa73b97e0c96637b7beaaa73e1d74e9bbaab","replacement":"  const upload = await withIoTimeout(supabase.storage.from(STORAGE_BUCKET).upload(supervisorCheckpointPath(job.supervisorId), Buffer.from(JSON.stringify({ version: 2, supervisorId: job.supervisorId, sourceJobId: job.id, sourceCommit: RENDER_SOURCE_COMMIT, runnerVersion: VERSION, checkpoints: Array.isArray(job.checkpoints) ? job.checkpoints : [], checkpointAccounting: checkpointAccounting(job), updatedAt: new Date().toISOString() })), { contentType: 'application/json', cacheControl: 'no-store', upsert: true }), 10_000, 'supervisor_checkpoint_upload');"},{"path":"scripts/visual-witness-hosted-runner/src/universal-witness.mjs","anchor":"  const supervisorId = safeText(resumeContext?.supervisorId || '', 160) || null;\n  const resumeState = supervisorId ? await loadSupervisorCheckpointState(supervisorId) : null;\n  const resumedCheckpoints = Array.isArray(resumeState?.checkpoints) ? resumeState.checkpoints : [];\n  const job = {\n    id: crypto.randomUUID(),\n    supervisorId,\n    status: 'queued',\n    phase: 'queued',\n    createdAt: new Date().toISOString(),\n    queuedAt: null,\n    startedAt: null,\n    lastProgressAt: null,\n    queueDeadlineAt: null,\n    executionDeadlineAt: null,\n    failureReason: null,\n    nextReconciliationAction: 'wait_for_executor',\n    cancelRequested: false,\n    progress: { phase: resumedCheckpoints.length ? 'queued_with_durable_checkpoints' : 'queued' },\n    mission,\n    projection: null,\n    checkpoints: resumedCheckpoints,\n    resumedCheckpointIds: [],\n    resumedFromJobId: resumeState?.sourceJobId || null,\n    result: null,\n  };","expectedSha":"ebc8aa73b97e0c96637b7beaaa73e1d74e9bbaab","replacement":"  const supervisorId = safeText(resumeContext?.supervisorId || '', 160) || null;\n  const resumeState = supervisorId ? await loadSupervisorCheckpointState(supervisorId) : null;\n  const checkpointSourceCommit = String(resumeState?.sourceCommit || '').trim();\n  const checkpointSourceMatches = Boolean(checkpointSourceCommit) && checkpointSourceCommit === RENDER_SOURCE_COMMIT;\n  const resumedCheckpoints = checkpointSourceMatches && Array.isArray(resumeState?.checkpoints) ? resumeState.checkpoints : [];\n  const checkpointResumeRejected = resumeState && !checkpointSourceMatches\n    ? {\n        reason: checkpointSourceCommit ? 'source_commit_mismatch' : 'source_commit_missing',\n        checkpointSourceCommit: checkpointSourceCommit || null,\n        currentSourceCommit: RENDER_SOURCE_COMMIT,\n      }\n    : null;\n  const job = {\n    id: crypto.randomUUID(),\n    supervisorId,\n    status: 'queued',\n    phase: 'queued',\n    createdAt: new Date().toISOString(),\n    queuedAt: null,\n    startedAt: null,\n    lastProgressAt: null,\n    queueDeadlineAt: null,\n    executionDeadlineAt: null,\n    failureReason: null,\n    nextReconciliationAction: 'wait_for_executor',\n    cancelRequested: false,\n    progress: { phase: resumedCheckpoints.length ? 'queued_with_durable_checkpoints' : checkpointResumeRejected ? 'queued_checkpoint_source_mismatch' : 'queued' },\n    mission,\n    projection: null,\n    checkpoints: resumedCheckpoints,\n    resumedCheckpointIds: [],\n    resumedFromJobId: checkpointSourceMatches ? resumeState?.sourceJobId || null : null,\n    checkpointResumeRejected,\n    result: null,\n  };"},{"path":"scripts/visual-witness-hosted-runner/src/universal-witness.mjs","anchor":"    resumedCheckpointIds: [...new Set(job.resumedCheckpointIds || [])],\n    resumedFromJobId: job.resumedFromJobId || null,\n    projection: job.projection || null,","expectedSha":"ebc8aa73b97e0c96637b7beaaa73e1d74e9bbaab","replacement":"    resumedCheckpointIds: [...new Set(job.resumedCheckpointIds || [])],\n    resumedFromJobId: job.resumedFromJobId || null,\n    checkpointResumeRejected: job.checkpointResumeRejected || null,\n    projection: job.projection || null,"}],"implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"48e6da6a-1a09-41b3-b63a-693fd2294ddb","ownerApproved":true,"releaseIntent":null,"sourceTargets":["scripts/visual-witness-hosted-runner/src/mission-supervisor.mjs","scripts/visual-witness-hosted-runner/src/universal-witness.mjs"],"requestContract":null,"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"a42f638038fa481345724a24a8d97c71ac3a15ca6f16d471792e5edf502ad813","replayCount":0,"serializedBytes":11526},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T11:23:22.771779+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:48e6da6a-1a09-41b3-b63a-693fd2294ddb:repository-mutation-intent:a42f638038fa481345724a24a8d97c71ac3a15ca6f16d471792e5edf502ad813:0","mission_step_id":"15cd6a4c-77f4-4c7b-a049-f34e7ff0eae3","command_center_event_id":"48e6da6a-1a09-41b3-b63a-693fd2294ddb"},{"id":"59527ce1-01fe-467d-80a2-3bc637511729","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"compilation":{"stages":["owner_intent","conversation_context","scope","live_state","mutation_authority","affected_systems","dependencies","risk_and_blast_radius","execution_tactics","required_proof","release_plan","recovery_plan"],"version":2,"explicit":true,"objective":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","proofKinds":["runtime"],"adaptiveDomains":["intent","tenant_route_role_viewport","urgency_deadline","dependency_scope","risk_blast_radius","runner_capacity","queue_active_work","provider_failure_circuits","qa_scope","retry_recovery","release_ownership","proof_depth"],"expansionPolicy":"later_stages_may_only_narrow_or_expand_with_machine_readable_dependency_evidence","dynamicStatePolicy":"live_state_may_change_execution_tactics_but_never_owner_outcome_or_explicit_constraints","dynamicRefreshStages":["preflight","gate","release","runtime_proof"],"adaptiveCompilerVersion":"paul-adaptive-objective-v1","inheritedContextBlockingAuthority":false},"rawUtterance":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","wordingChanged":false,"canonicalIntent":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","provenance":{"reason":null,"source":"current_explicit_owner_request","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"objective":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","constraints":[{"id":"single-canonical-control-plane","statement":"Do not create a parallel queue, scheduler, release owner, watchdog lane, or fallback orchestrator.","provenance":{"reason":null,"source":"current_explicit_owner_request","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"preserve-healthy-current-state","statement":"Preserve healthy newer production behavior and make the smallest safe forward repair.","provenance":{"reason":null,"source":"current_explicit_owner_request","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"adaptivePolicy":{"risk":{"tier":"high","blastRadius":"sensitive"},"proof":{"requiredKinds":["runtime"],"visualProofScope":"none","interactionRequired":false,"runtimeProofRequired":true},"scope":{"route":null,"roleRef":null,"tenantRef":null,"sourceTargets":["workers/cc-execution/src/index-release-fast-lane.js","src/__tests__/contracts/command-center-existing-branch-refresh.contract.test.ts"]},"dynamic":{"variables":["main_and_runtime_lineage","runner_capacity","queue_and_active_work","provider_health","failure_clusters_and_circuits","release_target_state","current_pr_and_gate_state"],"refreshStages":["preflight","gate","release","runtime_proof"],"refreshMayChange":["runner_selection","parallelism","retry_path","qa_depth","release_recovery","proof_timing"],"refreshMayNotChange":["owner_outcome","explicit_no_go_constraints","tenant_identity","credential_boundary","hard_safety_invariants"]},"urgency":{"priority":"normal","deadlineSignals":[],"deadlineExplicit":false},"version":"paul-adaptive-objective-v1","recovery":{"transient":"one_bounded_retry_then_alternate_eligible_pool_or_provider_path","deterministic":"repair_source_or_contract_do_not_blind_rerun","mutationDependencyFailure":"prerequisite_required_or_targeted_recovery_never_invent","readOnlyDependencyFailure":"degrade_to_available_grounded_context_and_keep_conversation_alive"},"unknowns":["tenant","route","deadline"],"authority":{"outcome":"current_explicit_owner_request","tactics":"live_prime_truth","unknownPolicy":"preserve_unknown_never_invent","historicalContext":"advisory_unless_current_request_confirms"},"execution":{"mutation":true,"concurrency":"serialize_overlapping_mutations","scopePolicy":"start_bounded_expand_only_with_machine_readable_dependency_evidence","staleStatePolicy":"refresh_dynamic_state_before_irreversible_or_acceptance_stage","conversationIsolation":true,"ownerOutcomeMayBeChangedByAdaptation":false},"experience":{"visual":false,"viewports":["desktop","mobile"],"behavioral":false,"visualProofScope":"none"},"dependencies":{"requiredDomains":["frontend","backend_runtime","provider_configuration","release_ownership","live_production_proof"],"capabilityDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"releaseTargetHints":["ccExecution","frontend"]},"inputSignals":{"rawUtterance":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","canonicalIntent":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","conversationContextPresent":false}},"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"Harden the canonical KNOCKLAUNCH Forgejo merge/release control plane. Give active protected-main production release/recovery work priority over ordinary automatic PR refresh/regate work, and make deterministic Gate quarantine base-aware so failures inherited from an older main become refresh/regate eligible after main advances while unchanged PR-authored deterministic failures remain quarantined. Do not create parallel queue, scheduler, release, or watchdog machinery. Use only the existing canonical cc-execution path; require canonical Gate, squash merge, cc-execution release, and exact live runtime proof.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":true,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"Harden-the-canonical-KNOCKLAUNCH-Forgejo-merge-release-control-plane.-Give-active-protected-main-pro","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":[],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["proof-production"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestContractHash":"6fdd0b585f955b514f5b9cf5a8d799edb8790739f617f0f5579a75d8dc8360a0","requestContractRevision":2,"previousRequestContractHash":"d260ed8faa2622679205dc1fd1c92f48284092bc348073ab8ae945b79eb79eb4"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T18:53:12.322461+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:26af90c1-91d2-4596-9103-007df826bd96:request-contract:6fdd0b585f955b514f5b9cf5a8d799edb8790739f617f0f5579a75d8dc8360a0","mission_step_id":"590fa173-47d6-4a3d-9e70-022bac5c4ff6","command_center_event_id":"26af90c1-91d2-4596-9103-007df826bd96"},{"id":"59541705-75cd-4460-b5d4-76ae0dabc75e","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-a7b09b91b479","reason":"anchored_edit_anchor_missing:config/paul-owner-profile.json","status":"blocked","metrics":{"receiptBytes":36140,"releaseCount":0,"toolCallCount":6,"repeatedCallCount":3,"executorlessWaitMs":499232,"firstUsefulResultAt":"2026-09-28T03:34:25.594Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.301-premium-visual-system","prNumber":null,"terminal":false,"missionId":"a7b09b91-b479-4d6f-988c-16338eb869f5","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":572,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":572,"missionSetupMs":292,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":292,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":292,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":292,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"a7b09b91-b479-4d6f-988c-16338eb869f5"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1497,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T03:42:46.454287+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:a7b09b91-b479-4d6f-988c-16338eb869f5:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"a4a1d5c9-d44d-45d7-bf9f-b9e221ed43d4","command_center_event_id":"a7b09b91-b479-4d6f-988c-16338eb869f5"},{"id":"59541884-86f8-4e93-aa82-7ae04f745d62","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":"6f31030b-92ac-42c1-9206-fe6ebadd324c","phase":"implementation","branch":"ai/calendar-first-class-bootstrap-20260907","reason":"forgejo_release_source_not_contained_in_current_main","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.70-forgejo-source-discovery-retry-window","prNumber":2085,"terminal":false,"missionId":"81e04ef2-ee9b-4a90-8b2d-14a78dc89997","operation":"execute_mission","proofGate":"canonical_release_blocked","sourceSha":"8f714fabcddfd95e56501a4abe713d3e09424365","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":12935,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":1167,"approvedPlanMs":0,"missionSetupMs":818,"providerAuthMs":0,"shipAndProveMs":11381,"ledgerPrepareMs":818,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":818,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":818,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"81e04ef2-ee9b-4a90-8b2d-14a78dc89997"},"performance":null,"deploymentId":null,"workflowRunId":6201,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":true},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1427,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-07T17:23:56.296502+00:00","proof_gate":"canonical_release_blocked","source_sha":"8f714fabcddfd95e56501a4abe713d3e09424365","external_id":"6f31030b-92ac-42c1-9206-fe6ebadd324c","receipt_type":"execute_mission","idempotency_key":"mission:81e04ef2-ee9b-4a90-8b2d-14a78dc89997:execute_mission:canonical_release_blocked:current-generation","mission_step_id":"a917f856-dd67-4406-9cb7-575cfc193aa0","command_center_event_id":"81e04ef2-ee9b-4a90-8b2d-14a78dc89997"},{"id":"5957e6bc-7803-439e-83c4-118cae2db5f4","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"4ea206d052a4ecf4d34540017f04712703b8fcab","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"4ea206d052a4ecf4d34540017f04712703b8fcab","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"5c162d24438473a0575377231ac3ae15532195e4545f5ec8c1481e5c0aeaa1e8","forgejoWorkflowProof":{"runId":8564,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T02:27:42.654548+00:00","proof_gate":"canonical_release_pending","source_sha":"4ea206d052a4ecf4d34540017f04712703b8fcab","external_id":"forgejo-main-4ea206d052a4","receipt_type":"canonical_release_status","idempotency_key":"mission:f96b57ba-8e3d-4637-803f-b6e25f97e2a4:forgejo-release-status:4ea206d052a4ecf4d34540017f04712703b8fcab:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"4629cc11-c126-457f-a106-8b1d82d9a21f","command_center_event_id":"f96b57ba-8e3d-4637-803f-b6e25f97e2a4"},{"id":"595805d5-a7b0-4dd4-b1eb-98238db679b9","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"release","branch":null,"reason":null,"status":"in_progress","metrics":{"receiptBytes":12561,"releaseCount":0,"toolCallCount":9,"repeatedCallCount":6,"executorlessWaitMs":124848,"firstUsefulResultAt":"2026-09-24T14:04:45.406Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.255-protected-main-release-recovery","prNumber":null,"terminal":false,"missionId":"7da530ec-da67-4d23-8d74-7715e3a073f2","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"ab7962b64eea03be0ebfcf9894c0f7ba0f682378","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3536,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":386,"providerAuthMs":0,"shipAndProveMs":3218,"ledgerPrepareMs":386,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":386,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":386,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create replacement work.","receiptRef":{"mode":"full","missionId":"7da530ec-da67-4d23-8d74-7715e3a073f2"},"performance":null,"deploymentId":"forgejo-main-ab7962b64eea","releaseState":"pending","workflowRunId":11487,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1467,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T14:04:45.440087+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"ab7962b64eea03be0ebfcf9894c0f7ba0f682378","external_id":"forgejo-main-ab7962b64eea","receipt_type":"execute_mission","idempotency_key":"mission:7da530ec-da67-4d23-8d74-7715e3a073f2:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"a1c32a79-38e9-4f17-be3a-04a55f9263fe","command_center_event_id":"7da530ec-da67-4d23-8d74-7715e3a073f2"},{"id":"5958262f-d32d-444c-8a6c-74147886bbc8","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"source_lineage_merged_pr_authoritative\",\"status\":\"waiting\",\"proofGate\":\"forgejo_merged_pr_is_authoritative_source_lineage\"},\"activeStep\":{\"key\":\"implementation\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-10-05T19:03:47.400344+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-b8b4261e808d\",\"prNumber\":4967,\"sourceSha\":\"3d6387c2811374cd12ac7187895c02bdffcd59a1\",\"deploymentId\":\"forgejo-main-3d6387c28113\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T16:06:03.799881+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:b8b4261e-808d-4213-84b0-66d5b4f2a192:owner-progress-heartbeat:119414424","mission_step_id":"43e19628-6335-4f96-b5c2-f8150aeb1ef5","command_center_event_id":"b8b4261e-808d-4213-84b0-66d5b4f2a192"},{"id":"595872ed-7b5b-4873-a179-893618253beb","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/seaside-premium-ops-rebuild","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.30.16-controlled-merge-fallback-fix","prNumber":4071,"terminal":false,"missionId":"cf3ddfbb-88ed-4cd2-ba41-31065fc49b53","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"25e579cd6c2415f9a3744464617c62038ed7ffd9","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"cf3ddfbb-88ed-4cd2-ba41-31065fc49b53"},"performance":null,"deploymentId":"canonical-release-25e579cd6c24","workflowRunId":31033919548,"releaseTargets":{"frontend":true,"onrunner":false,"ccExecution":false,"supabaseEdge":false},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"onePullRequest":true,"terminalProofRequired":true},"sourceReceiptBytes":1738,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"c55998b4-82a3-467e-8d35-177bb4785f6e","created_at":"2026-08-05T18:16:10.439878+00:00","proof_gate":"canonical_release_dispatched","source_sha":"25e579cd6c2415f9a3744464617c62038ed7ffd9","external_id":"canonical-release-25e579cd6c24","receipt_type":"execute_mission","idempotency_key":"mission:cf3ddfbb-88ed-4cd2-ba41-31065fc49b53:execute_mission:canonical_release_dispatched","mission_step_id":"891dc5a2-f364-4107-ab9b-50e09e88ba5a","command_center_event_id":"cf3ddfbb-88ed-4cd2-ba41-31065fc49b53"},{"id":"5959f2ca-6b77-4356-a868-ef6b636dcbb4","source":"forgejo-runtime","status":"pending","payload":{"mainSha":"c2ea595fc0ba19e0a10c6dfa021bfc8148f8b741","sourceSha":"496698709a601459f0ffa4434eeea72aa25620a2","sourceInMain":false,"compareStatus":"ancestry_read_retryable","ancestryProofResolved":false},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-09-20T21:35:25.938944+00:00","proof_gate":"canonical_release_ancestry_pending","source_sha":"496698709a601459f0ffa4434eeea72aa25620a2","external_id":"canonical-release-496698709a60","receipt_type":"canonical_release_status","idempotency_key":"mission:3953c560-2b37-4d93-826c-4677d7c3c466:forgejo-release-ancestry:496698709a601459f0ffa4434eeea72aa25620a2:c2ea595fc0ba19e0a10c6dfa021bfc8148f8b741:ancestry_read_retryable","mission_step_id":"ae9119b6-3b7c-435b-9bca-9d827c58e554","command_center_event_id":"3953c560-2b37-4d93-826c-4677d7c3c466"},{"id":"595c8d4f-6f71-4abe-86b6-7f28b98c07a9","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Correct one stale regression assertion on the existing corrective cache PR; workflow implementation already passed its dedicated server-cache invariant.","baseSha":"f8cff16c0e93ef08b82d2936c55026d0e341b00f","issuedAt":1788535773978,"expiresAt":1788535953978,"missionId":"f10c8a16-dd11-4c44-a550-8f2e47c346f2","authorizationId":"744bd7db-b0ec-4b52-bb1a-94bec152d55d","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T15:29:34.458552+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"f8cff16c0e93ef08b82d2936c55026d0e341b00f","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:744bd7db-b0ec-4b52-bb1a-94bec152d55d","mission_step_id":"47632e04-b0df-413d-9f2e-26869124b3ce","command_center_event_id":"f10c8a16-dd11-4c44-a550-8f2e47c346f2"},{"id":"595cbb20-9896-4a39-bb5b-70e12398a9b2","source":"durable-mission-ledger","status":"pending","payload":{"sourceSha":"382bf87ae901c717f93566068b0edfee18038e67","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"outcome-1","satisfied":false,"statement":"Repair the universal visual witness failure class revealed by Big Papi's certification, ship it through one PR/Gate/squash-merge/release, then verify live. Fix stale-loader false application_shell_timeout while preserving true loading-only fail-closed behavior; add regression tests. Preserve Big Papi's product routing. Preserve durable checkpoint resume so completed desktop proof is reused after transient restart; add coverage if behavior already exists. Fix route-status normalization so requestedRoute comes from the persisted mission when polling by job ID instead of '/'. Use current main, auto-refresh if main advances, deploy all affected witness/cc-execution runtimes, verify exact merged source, then run exactly one final full desktop+mobile GodMode certification for the exact Big Papi's owner dashboard. Do not mutate tenant product data.","proofConditionIds":["proof-production","proof-visual"]}],"satisfied":false,"constraints":[{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["proof-production"]}],"contractHash":"0e32a956a445bd0553cc59dc1ba4ca16bae0d87a0b573ce506d4474d200e3fee","releaseBound":true,"witnessBound":false,"visualRequested":true,"visualSatisfied":false,"conditionResults":[{"id":"proof-production","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success","onrunner":"success","ccExecution":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend"],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"0e32a956a445bd0553cc59dc1ba4ca16bae0d87a0b573ce506d4474d200e3fee"},"required":true,"satisfied":true},{"id":"proof-visual","kind":"visual","evidence":{"modeBound":true,"claimBound":false,"routeBound":false,"witnessMode":null,"witnessRoute":null,"currentSourceSha":"382bf87ae901c717f93566068b0edfee18038e67","witnessSourceSha":null,"verificationState":null,"witnessRequestContractHash":null},"required":true,"satisfied":false}],"validationErrors":[],"pendingProofKinds":["visual"],"activeReleaseTargets":["frontend"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-09-21T16:47:42.623069+00:00","proof_gate":"request_contract_pending","source_sha":"382bf87ae901c717f93566068b0edfee18038e67","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:1e8472cc-207c-4b2a-b816-a66f15a3f985:request-contract:0e32a956a445bd0553cc59dc1ba4ca16bae0d87a0b573ce506d4474d200e3fee:382bf87ae901c717f93566068b0edfee18038e67:pending:visual","mission_step_id":"20b9396f-0704-4923-94fb-04ea9d6b16a5","command_center_event_id":"1e8472cc-207c-4b2a-b816-a66f15a3f985"},{"id":"595eb2da-142e-47d9-b44e-5159987a9058","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/big-papis-compact-workspaces","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2901,"terminal":false,"missionId":"389bb663-0afe-4e7b-b485-16686370081d","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"ffeb565caae39d8d1d4553ef26f768e01c9bc60b","timingsMs":{"prReadinessMs":164,"approvedPlanMs":0,"shipAndProveMs":789,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"389bb663-0afe-4e7b-b485-16686370081d"},"performance":null,"deploymentId":"forgejo-main-ffeb565caae3","workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2263,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T14:54:58.089592+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"2901","receipt_type":"automatic_mission_resume","idempotency_key":"mission:389bb663-0afe-4e7b-b485-16686370081d:automatic-mission-resume:2901:canonical_release_dispatched","mission_step_id":"b055823e-781f-4b67-a640-85899ac9ed14","command_center_event_id":"389bb663-0afe-4e7b-b485-16686370081d"},{"id":"595ec344-1e34-4d73-a978-492b8fafaa53","source":"visual-sandbox","status":"completed_with_findings","payload":{"ok":true,"jobId":"c887071f-1a13-4a54-9175-2de33f7a5b42","phase":"universal_visual_witness_status","branch":"ai/profile-media-live-20260929","reason":null,"status":"verification_pending","metrics":{"receiptBytes":59518,"releaseCount":0,"toolCallCount":35,"repeatedCallCount":20,"executorlessWaitMs":1401136,"firstUsefulResultAt":"2026-09-29T16:56:05.394Z","recoveryAttemptCount":2,"ownerInterruptionCount":0},"version":null,"prNumber":4148,"terminal":false,"missionId":"26d06067-1b8d-46aa-8b23-0dabcdadc27d","operation":"visual_proof_status","proofGate":"interactive_visual_witness_completed_with_findings","sourceSha":"79e66b347abab6959faf463fd7ebdae25e1465e6","timingsMs":{"queue":1504,"total":27592,"execution":26088},"nextAction":null,"receiptRef":{"mode":"full","missionId":"26d06067-1b8d-46aa-8b23-0dabcdadc27d"},"performance":null,"deploymentId":"forgejo-main-79e66b347aba","releaseState":"verified","visualWitness":{"role":"GodMode","jobId":"c887071f-1a13-4a54-9175-2de33f7a5b42","tenant":"9602e177-0cbb-496c-bdf5-2fbc93f1b859","runnerUrl":"https://laptop-witness.knocklaunch.app","runnerLane":"laptop","attemptsUsed":1,"supervisorId":"c887071f-1a13-4a54-9175-2de33f7a5b42","failureReason":null,"observedRoute":"/pcg/settings?section=profile","runnerVersion":"laptop-bb1e9c24fd5d","attemptLineage":[{"jobId":"82d70d0a-f585-44bf-9c1e-312ac88d4281","attempt":1,"category":"completed_with_findings","sourceSha":"bb1e9c24fd5d6d6526aafb737dbeb2f9755ca0f4","startedAt":"2026-09-29T17:18:46.931Z","completedAt":"2026-09-29T17:19:13.412Z","runtimeLane":"cc-execution -> Local Laptop -> universal-witness.mjs","browserEngine":"chromium","failureReason":null,"retryRecovery":null,"runnerVersion":"laptop-bb1e9c24fd5d","browserLaunchReason":"display_unavailable_headless","checkpointAccounting":{"route":{"required":2,"completed":2,"missingIds":[]},"action":{"required":0,"completed":0,"missingIds":[]},"missing":0,"resumed":0,"complete":true,"evidence":{"required":2,"completed":2,"missingIds":[]},"completed":4,"remaining":0,"duplicates":0,"duplicateIds":[],"expectedTotal":4}}],"missionOutcome":"completed_with_findings","requestedRoute":"/pcg/settings?section=profile","runnerSourceSha":"bb1e9c24fd5d6d6526aafb737dbeb2f9755ca0f4","selectedViewports":["desktop","mobile"],"checkpointAccounting":{"route":{"required":2,"completed":2,"missingIds":[]},"action":{"required":0,"completed":0,"missingIds":[]},"missing":0,"resumed":0,"complete":true,"evidence":{"required":2,"completed":2,"missingIds":[]},"completed":4,"remaining":0,"duplicates":0,"duplicateIds":[],"expectedTotal":4},"correctiveGeneration":0,"restartReplayHistory":[]},"workflowRunId":13112,"releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["tenant-media-library"]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":"completed_with_findings","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":32743,"ownerActionRequired":false,"ownerFacingTerminal":false,"requestContractHash":"4f325d32304847f1bfd37bcfa16225d13a937ba35a465fcc851b33eeb6a72e2b","continuationRequired":true,"requestContractState":"pending"},"tenant_id":"9602e177-0cbb-496c-bdf5-2fbc93f1b859","created_at":"2026-09-29T17:19:29.999886+00:00","proof_gate":"interactive_visual_witness_completed_with_findings","source_sha":"laptop-bb1e9c24fd5d","external_id":"c887071f-1a13-4a54-9175-2de33f7a5b42","receipt_type":"visual_proof_status","idempotency_key":"mission:26d06067-1b8d-46aa-8b23-0dabcdadc27d:visual:c887071f-1a13-4a54-9175-2de33f7a5b42:completed_with_findings","mission_step_id":"efab81c7-c31d-41c7-a150-0fe91bd5a08b","command_center_event_id":"26d06067-1b8d-46aa-8b23-0dabcdadc27d"},{"id":"595f38fa-310c-428e-91e9-135cac8b3054","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-38a19a76786f","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":178620,"releaseCount":0,"toolCallCount":6,"repeatedCallCount":3,"executorlessWaitMs":22855,"firstUsefulResultAt":"2026-09-30T20:53:20.665Z","recoveryAttemptCount":4,"ownerInterruptionCount":0},"version":null,"prNumber":4271,"terminal":false,"missionId":"38a19a76-786f-42ac-b114-d8899d56ec87","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":2050,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"38a19a76-786f-42ac-b114-d8899d56ec87"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T20:53:33.552176+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"4271","receipt_type":"automatic_mission_resume","idempotency_key":"mission:38a19a76-786f-42ac-b114-d8899d56ec87:automatic-mission-resume:4271:repair_mission_pr_ready_retryable","mission_step_id":"8268a6e6-ff41-4fb6-8bd3-14ed57b7ec30","command_center_event_id":"38a19a76-786f-42ac-b114-d8899d56ec87"},{"id":"595fffce-3712-45e0-9b19-ddca827fce34","source":"cc-execution","status":"source_resolution_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-433701ca0563","reason":null,"status":"source_resolution_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.118-architecture-exclusivity","prNumber":null,"terminal":false,"missionId":"433701ca-0563-492f-aadf-c2d7f7195cf9","operation":"execute_mission","proofGate":"repair_mission_source_resolution_required","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":7,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":786,"providerAuthMs":0,"ledgerPrepareMs":786,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":786,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":786,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Resolve bounded authoritative Forgejo source targets, then call /mission/execute again with this same missionId and exact files or anchored_edits. Do not switch workflows.","receiptRef":{"mode":"full","missionId":"433701ca-0563-492f-aadf-c2d7f7195cf9"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3049,"likelyAffectedFiles":[],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T16:51:45.490327+00:00","proof_gate":"repair_mission_source_resolution_required","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:433701ca-0563-492f-aadf-c2d7f7195cf9:execute_mission:repair_mission_source_resolution_required:current-generation","mission_step_id":"099c4b8e-c720-46a1-a5c8-e461d3853f32","command_center_event_id":"433701ca-0563-492f-aadf-c2d7f7195cf9"},{"id":"5960c659-236b-45b9-b40e-f659b00b5c38","source":"forgejo-runtime","status":"pending","payload":{"mainSha":"cb2da87b39c34b3757e0e0fc39ed08c74efc98a9","sourceSha":"ec9f2b7b2da7562f28ae7a06d67da9041c512bf3","sourceInMain":false,"compareStatus":"main_history_page_inconclusive","ancestryProofResolved":false},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-04T20:17:27.053886+00:00","proof_gate":"canonical_release_ancestry_pending","source_sha":"ec9f2b7b2da7562f28ae7a06d67da9041c512bf3","external_id":"canonical-release-ec9f2b7b2da7","receipt_type":"canonical_release_status","idempotency_key":"mission:ab7ee2ac-f48d-4c96-8748-821f76b135a4:forgejo-release-ancestry:ec9f2b7b2da7562f28ae7a06d67da9041c512bf3:cb2da87b39c34b3757e0e0fc39ed08c74efc98a9:main_history_page_inconclusive","mission_step_id":"381ade9c-97b6-4b2e-9a14-2d1ee2fef064","command_center_event_id":"ab7ee2ac-f48d-4c96-8748-821f76b135a4"},{"id":"596166f3-f7b8-4e5e-bf6c-d317f9b0ca75","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-mtg2g0sh","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":6448,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.56.3-source-scope-boundary","prNumber":1123,"terminal":false,"missionId":"6d7978f8-25db-4520-87c2-cfdca9df65e8","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"handlerMs":9079,"prReadinessMs":1897,"approvedPlanMs":7004,"missionSetupMs":2350,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"6d7978f8-25db-4520-87c2-cfdca9df65e8"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5977,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-30T17:14:25.729428+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"1123","receipt_type":"execute_mission","idempotency_key":"mission:6d7978f8-25db-4520-87c2-cfdca9df65e8:execute_mission:repair_mission_waiting_for_gate:current-generation","mission_step_id":"bbdf2404-6283-4ca6-a026-b64745de756b","command_center_event_id":"6d7978f8-25db-4520-87c2-cfdca9df65e8"},{"id":"5961c610-4ffd-4707-a3c1-da79b4505382","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue the same PR #2029 after Gate run 6054 yielded only because protected main advanced. Do not change product source. Apply canonical same-PR stale refresh onto current Forgejo main, rerun KnockLaunch Gate on the refreshed exact head, squash merge, release frontend only, and prove production renders Sample brokerage workspace. No replacement PR and no Visual Witness.","wordingChanged":false,"canonicalIntent":"Continue the same PR #2029 after Gate run 6054 yielded only because protected main advanced. Do not change product source. Apply canonical same-PR stale refresh onto current Forgejo main, rerun KnockLaunch Gate on the refreshed exact head, squash merge, release frontend only, and prove production renders Sample brokerage workspace. No replacement PR and no Visual Witness.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"PR #2029 is refreshed to current main, passes Gate, merges, releases frontend, and Curri production identifies sample transaction mode.","proofConditionIds":["proof-gate","proof-merge","proof-production"]}],"objective":"Continue the same PR #2029 after Gate run 6054 yielded only because protected main advanced. Do not change product source. Apply canonical same-PR stale refresh onto current Forgejo main, rerun KnockLaunch Gate on the refreshed exact head, squash merge, release frontend only, and prove production renders Sample brokerage workspace. No replacement PR and no Visual Witness.","constraints":[{"id":"constraint-1","statement":"Same PR #2029 only; no source changes; frontend release only; no Visual Witness.","proofConditionIds":["proof-gate","proof-merge","proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-gate","kind":"repository","claim":"Refreshed PR #2029 passes KnockLaunch Gate.","route":"/curri-properties/realtor-dashboard","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-merge","kind":"repository","claim":"PR #2029 is squash merged to Forgejo main.","route":"/curri-properties/realtor-dashboard","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-production","kind":"runtime","claim":"Production Curri home renders Sample brokerage workspace.","route":"/curri-properties/realtor-dashboard","roleRef":null,"userRef":null,"required":true,"expectedText":"Sample brokerage workspace","targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"]}],"validationErrors":[]},"requestContractHash":"09cb48f969c230cfa8193f639cb138255b04c126bdc41b7fd94676e1f91546dc","requestContractRevision":4,"previousRequestContractHash":"6923dacc90ae894209b08d737bc8af66a80a19d4935d07ff69899daf2b82deb5"},"tenant_id":"90ed5bf4-8abd-4d3a-af7c-024664b5b99d","created_at":"2026-09-07T02:30:53.83207+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:9ff7ac30-5f48-488f-ac01-b7f863082d1e:request-contract:09cb48f969c230cfa8193f639cb138255b04c126bdc41b7fd94676e1f91546dc","mission_step_id":"cac563ba-600b-48c7-8a88-e8f80ab074f9","command_center_event_id":"9ff7ac30-5f48-488f-ac01-b7f863082d1e"},{"id":"59628c13-eadc-4db6-94c9-84ad51472cee","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success"},"mainSha":"81a010226625f2cd5c2221d5e2388776e9acb59a","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"81a010226625f2cd5c2221d5e2388776e9acb59a","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false},"releaseTargetStates":{"frontend":"success"},"requestContractHash":"a844e2f11d826892e05086adf1d0a883427f06ad8ad130e39144d7eec8624833","forgejoWorkflowProof":{"runId":8041,"source":"signed_push_receipt","status":"success","results":{},"conclusion":"success","targetStates":{"frontend":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-14T04:28:00.332544+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"81a010226625f2cd5c2221d5e2388776e9acb59a","external_id":null,"receipt_type":"canonical_release_status","idempotency_key":"mission:06a762d2-0a5b-467d-b21f-6be2731a1907:forgejo-release-status:81a010226625f2cd5c2221d5e2388776e9acb59a:verified:forgejo-main/source=success|forgejo-release/workflow=success|frontend-cloudflare/live=success","mission_step_id":"cbcadec0-94b2-480b-8904-7ce64f4001b7","command_center_event_id":"06a762d2-0a5b-467d-b21f-6be2731a1907"},{"id":"5963139d-c3ad-4702-98c1-ff74ba23d5bf","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-ac0ec7c38659","reason":"pull_request_stale_refresh_required","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2953,"terminal":false,"missionId":"ac0ec7c3-8659-4f0f-987a-9e5fa5eed04e","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":14403,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"ac0ec7c3-8659-4f0f-987a-9e5fa5eed04e"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1603,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T21:17:48.955546+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"2953","receipt_type":"automatic_mission_resume","idempotency_key":"mission:ac0ec7c3-8659-4f0f-987a-9e5fa5eed04e:automatic-mission-resume:2953:repair_mission_pr_ready_retryable","mission_step_id":"80775a73-4be6-4fbb-9609-5b99a7e9ff2c","command_center_event_id":"ac0ec7c3-8659-4f0f-987a-9e5fa5eed04e"},{"id":"59635b9b-9bd6-4255-8ad9-e00ee5447a58","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in pull request.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"pull_request_exists_without_merged_source","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"pull_request\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"automatic_mission_resume\",\"status\":\"in_progress\",\"proofGate\":\"canonical_release_reconciliation_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"pull_request_exists_without_merged_source\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-08-07T06:15:43.752402+00:00\",\"recoveryAction\":\"reconcile_pull_request\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":4174,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-04T15:00:13.018835+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:6bac2b50-8e91-400f-a55a-0d184ed383ea:owner-progress-heartbeat:119408400","mission_step_id":"47b3efd3-edb7-4422-9604-38b8debd106e","command_center_event_id":"6bac2b50-8e91-400f-a55a-0d184ed383ea"},{"id":"5965097f-8d11-467e-bf9f-7254a55e750a","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-22f51b0a71d9","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":21331,"releaseCount":0,"toolCallCount":8,"repeatedCallCount":2,"executorlessWaitMs":72071,"firstUsefulResultAt":"2026-10-05T20:18:19.220Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.65.4-release-terminal-proof-unblocks-queue","prNumber":5050,"terminal":false,"missionId":"22f51b0a-71d9-4939-9f28-feefe7771431","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4968,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":2345,"approvedPlanMs":0,"missionSetupMs":290,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":290,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":290,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":290,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"22f51b0a-71d9-4939-9f28-feefe7771431"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1521,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T20:19:38.629254+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"5050","receipt_type":"execute_mission","idempotency_key":"mission:22f51b0a-71d9-4939-9f28-feefe7771431:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"6f44723d-f246-438c-a0b0-1002a54591b1","command_center_event_id":"22f51b0a-71d9-4939-9f28-feefe7771431"},{"id":"59652979-496b-40c4-93ff-d7fabf0a13ff","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"ec84b14d12f5a955446b1f984573d53306476e2e","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"ec84b14d12f5a955446b1f984573d53306476e2e","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"0cd4636b94abed79efb3bb829f7aebe2ecffd482975bb7a032c72491c8753467","forgejoWorkflowProof":{"runId":10304,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T14:42:09.273505+00:00","proof_gate":"canonical_release_pending","source_sha":"ec84b14d12f5a955446b1f984573d53306476e2e","external_id":"forgejo-main-ec84b14d12f5","receipt_type":"canonical_release_status","idempotency_key":"mission:266363e7-6e8b-4c3f-96a3-b20133d9d369:forgejo-release-status:ec84b14d12f5a955446b1f984573d53306476e2e:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"b83e323e-9442-4a5d-9781-686fe5ba1b0a","command_center_event_id":"266363e7-6e8b-4c3f-96a3-b20133d9d369"},{"id":"5965d8e0-97c8-4c93-a4b4-43c3b81f83d6","source":"cc-execution","status":"verified","payload":{"ownerWaitSloMs":{"merge_to_live_ms":null,"owner_action_to_pr_ms":null,"green_gate_to_merge_ms":null,"owner_action_to_useful_response_ms":null},"ownerWaitLiveAt":"2026-09-12T14:48:51.891Z"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T14:41:49.832868+00:00","proof_gate":"owner_wait_live_milestone_recorded","source_sha":null,"external_id":null,"receipt_type":"owner_wait_live_milestone","idempotency_key":"mission:f0361447-2b85-457c-889b-7113791fc898:owner-wait-live","mission_step_id":"2396e719-c624-4d5a-8486-f98b994b6836","command_center_event_id":"f0361447-2b85-457c-889b-7113791fc898"},{"id":"5966a4ff-e361-468a-80d3-bddd01f6d44c","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"branch":"ai/objective-first-repair-dc2a6394ec2c","writes":[],"patches":[],"version":1,"approved":true,"missionId":"dc2a6394-ec2c-4706-8f56-d8c2720f732b","objective":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","repository":"noel/KnockLaunchOS","visualProof":true,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["wrangler.toml"],"anchored_edits":[{"path":"wrangler.toml","new_content":"# Speedy Panda Party Rentals custom-domain route ownership is released with the production frontend worker.\n[[routes]]\npattern = \"speedypandapartyrentals.com/*\"\nzone_name = \"speedypandapartyrentals.com\"\n\n[[routes]]\npattern = \"www.speedypandapartyrentals.com/*\"\nzone_name = \"speedypandapartyrentals.com\"\n\n# Prestigious Card Grading custom-domain route ownership is released with the production frontend worker.","old_content":"# Prestigious Card Grading custom-domain route ownership is released with the production frontend worker."}],"evaluateChecks":true,"implementation":{"files":[],"writes":[]},"openPullRequest":true,"requestContract":{"intent":{"rawUtterance":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","wordingChanged":false,"canonicalIntent":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"speedy-domain-route","statement":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","provenance":{"source":"current_request_explicit","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof","visual-proof"]}],"objective":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","constraints":[{"id":"scope","statement":"Only wrangler.toml may change unless exact dependency evidence proves otherwise.","provenance":{"source":"current_request_explicit","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof","visual-proof"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"runtime-proof","kind":"runtime","claim":"Both speedypandapartyrentals.com and www.speedypandapartyrentals.com resolve through the production frontend worker to the current Speedy Panda app.","route":"https://speedypandapartyrentals.com/","required":true},{"id":"visual-proof","kind":"visual","claim":"The Speedy Panda public site renders correctly on the custom domain on desktop and mobile.","route":"https://speedypandapartyrentals.com/","required":true}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["wrangler.toml"],"requestContract":{"intent":{"rawUtterance":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","wordingChanged":false,"canonicalIntent":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"speedy-domain-route","statement":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","provenance":{"source":"current_request_explicit","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof","visual-proof"]}],"objective":"Add Speedy Panda custom-domain route ownership so speedypandapartyrentals.com and www.speedypandapartyrentals.com serve the already-live Speedy Panda public app from the production frontend worker. Modify only wrangler.toml on current protected main, preserve existing routes, run canonical Gate, merge, sync Cloudflare routes, and prove both custom-domain hosts serve the Speedy Panda site.","constraints":[{"id":"scope","statement":"Only wrangler.toml may change unless exact dependency evidence proves otherwise.","provenance":{"source":"current_request_explicit","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime-proof","visual-proof"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"runtime-proof","kind":"runtime","claim":"Both speedypandapartyrentals.com and www.speedypandapartyrentals.com resolve through the production frontend worker to the current Speedy Panda app.","route":"https://speedypandapartyrentals.com/","required":true},{"id":"visual-proof","kind":"visual","claim":"The Speedy Panda public site renders correctly on the custom domain on desktop and mobile.","route":"https://speedypandapartyrentals.com/","required":true}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"55759e83696c7846087a330f0ef3b8d2c5ee7bf6b58763c7a410b52d40a09a9c","replayCount":0,"serializedBytes":7603},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T11:51:29.303849+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:dc2a6394-ec2c-4706-8f56-d8c2720f732b:repository-mutation-intent:55759e83696c7846087a330f0ef3b8d2c5ee7bf6b58763c7a410b52d40a09a9c:0","mission_step_id":"348be0ca-f803-49d5-b6f7-a9688b343cc5","command_center_event_id":"dc2a6394-ec2c-4706-8f56-d8c2720f732b"},{"id":"596a832b-4974-430d-940a-8cbbd909cfa2","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.48-guarded-legacy-pr-retirement","prNumber":null,"terminal":false,"missionId":"ed3df63e-1731-4712-9d2f-c1d081b30438","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1407,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":740,"providerAuthMs":0,"ledgerPrepareMs":740,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":740,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":740,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Synthesize exact mutation from the resolved authoritative source targets and continue this same mission.","receiptRef":{"mode":"full","missionId":"ed3df63e-1731-4712-9d2f-c1d081b30438"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3275,"likelyAffectedFiles":["src/PrivateAppShell.tsx","src/PublicAppShell.tsx","scripts/visual-witness-hosted-runner/src/server-tenant-projection.mjs"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T13:56:47.600215+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:ed3df63e-1731-4712-9d2f-c1d081b30438:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"e2baea57-597b-486d-b6d0-f8538f6ef06e","command_center_event_id":"ed3df63e-1731-4712-9d2f-c1d081b30438"},{"id":"596c1bd2-3cf0-40ef-9cd6-684feb0ced22","source":"cc-execution","status":"pending","payload":{"ok":true,"jobId":"ed054dd3-889f-4782-8d9c-7c6434c0e2c3","phase":"universal_visual_witness_supervised","branch":"ai/prospect-demo-sidebar-rail-clip-20260831","reason":null,"status":"pending","metrics":{"receiptBytes":13892,"releaseCount":1,"toolCallCount":8,"repeatedCallCount":3,"ownerInterruptionCount":0},"version":null,"prNumber":1177,"terminal":false,"missionId":"2ba38b42-08af-4ea7-b958-300481d6a277","operation":"visual_proof_started","proofGate":"universal_visual_witness_pending","sourceSha":"6ca67186e8a57f2da699e9b094895bfd4028c4f9","timingsMs":{"wake":198,"total":573,"submit":375,"wakeAttempts":1},"nextAction":"Poll inspect_route_status or cancel with inspect_route_cancel.","receiptRef":{"mode":"full","missionId":"2ba38b42-08af-4ea7-b958-300481d6a277"},"performance":null,"deploymentId":"forgejo-main-6ca67186e8a5","workflowRunId":3777,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":699,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"385f3582-1b06-5a13-85b5-ad36fa03b397","created_at":"2026-08-31T01:44:21.233647+00:00","proof_gate":"post_release_visual_proof_started","source_sha":"6ca67186e8a57f2da699e9b094895bfd4028c4f9","external_id":"ed054dd3-889f-4782-8d9c-7c6434c0e2c3","receipt_type":"visual_proof_started","idempotency_key":"mission:2ba38b42-08af-4ea7-b958-300481d6a277:visual-start:ed054dd3-889f-4782-8d9c-7c6434c0e2c3","mission_step_id":"c12b7aa8-2949-44ca-9d09-706c836639e3","command_center_event_id":"2ba38b42-08af-4ea7-b958-300481d6a277"},{"id":"596d04fd-10e7-49ee-94e1-77762735c3e4","source":"cc-execution","status":"in_progress","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-808fe1c62f76","reason":null,"status":"in_progress","metrics":{"receiptBytes":0,"releaseCount":1,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2374,"terminal":false,"missionId":"808fe1c6-2f76-4245-bca9-68a959bd1502","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"ca0ba1b09d4dee56cce5a644e7a33b827488e791","timingsMs":{"prReadinessMs":579,"approvedPlanMs":0,"shipAndProveMs":17085,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create replacement work.","receiptRef":{"mode":"full","missionId":"808fe1c6-2f76-4245-bca9-68a959bd1502"},"performance":null,"deploymentId":"forgejo-main-ca0ba1b09d4d","workflowRunId":6999,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":794,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-11T03:45:50.988451+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"2374","receipt_type":"automatic_mission_resume","idempotency_key":"mission:808fe1c6-2f76-4245-bca9-68a959bd1502:automatic-mission-resume:2374:canonical_release_reconciliation_pending","mission_step_id":"9fd15c31-09cc-4ce4-8f7d-e15cd1724329","command_center_event_id":"808fe1c6-2f76-4245-bca9-68a959bd1502"},{"id":"596d7c45-d801-4008-9c9f-d191c972e2fa","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-0ace56a79189","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2976,"terminal":false,"missionId":"0ace56a7-9189-4bd2-8c6b-ecfd24f1c886","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"5eabe26c259120ae2503e3f522d1106cbd2e0c7d","timingsMs":{"prReadinessMs":230,"approvedPlanMs":0,"shipAndProveMs":845,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"0ace56a7-9189-4bd2-8c6b-ecfd24f1c886"},"performance":null,"deploymentId":"forgejo-main-5eabe26c2591","workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["universal-extractor"]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2050,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-17T00:41:56.597076+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"2976","receipt_type":"automatic_mission_resume","idempotency_key":"mission:0ace56a7-9189-4bd2-8c6b-ecfd24f1c886:automatic-mission-resume:2976:canonical_release_dispatched","mission_step_id":"c334a574-76cc-41a5-a60f-dad90a1b72b0","command_center_event_id":"0ace56a7-9189-4bd2-8c6b-ecfd24f1c886"},{"id":"596d8d51-93d6-44c4-a0d4-2d4ddf563a42","source":"cc-execution","status":"verified","payload":{"paths":[".forgejo/workflows/knocklaunch.yml","config/control-plane-capabilities.json","scripts/cloudflare-native-version-deploy.mjs","workers/cc-execution/src/version.js","workers/cc-execution/test/release-orchestration-invariants.test.js"],"baseSha":"31965d939835034a028044574d079412e6779bcd","consumedAt":1788484429972,"consumerToken":"d121e0c9-b408-404a-b38d-a39a924d7206","authorizationId":"b8388b67-c50a-4bd0-97da-295ca2338fa0"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T01:13:50.952641+00:00","proof_gate":"control_plane_maintenance_single_use_consumed","source_sha":"31965d939835034a028044574d079412e6779bcd","external_id":null,"receipt_type":"control_plane_maintenance_consumed","idempotency_key":"control-plane-maintenance-consume:b8388b67-c50a-4bd0-97da-295ca2338fa0","mission_step_id":"4e76b214-3fdd-4eec-9a8c-bd4a0552a9ea","command_center_event_id":"9ba8fd67-2054-4864-bfdc-13fe84cc1ef2"},{"id":"596e65a0-29c5-43b6-8d09-204bc4e40b92","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/remove-retired-production-surfaces-20260803","reason":null,"status":"blocked","metrics":{"receiptBytes":942,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.28.4-exposed-mission-status","prNumber":null,"terminal":true,"missionId":"c10c1254-cd3b-465d-9db5-74eda46e92e0","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"c10c1254-cd3b-465d-9db5-74eda46e92e0"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"sourceReceiptBytes":294,"ownerActionRequired":false},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-03T12:46:27.01056+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:c10c1254-cd3b-465d-9db5-74eda46e92e0:execute_mission:repair_mission_execution_blocked","mission_step_id":"142c4c68-818d-4a40-b6fe-43890fa01659","command_center_event_id":"c10c1254-cd3b-465d-9db5-74eda46e92e0"},{"id":"596f7329-4f6b-4db8-a3c5-aae8e34e14b2","source":"cc-execution","status":"source_resolution_required","payload":{"ok":true,"jobId":null,"phase":"reasoning_required","branch":null,"reason":"authoritative_source_resolution_failed","status":"source_resolution_required","metrics":{"receiptBytes":3862,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"executorlessWaitMs":2117,"firstUsefulResultAt":"2026-10-06T02:27:33.567Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.65.8-request-contract-hydration","prNumber":null,"terminal":false,"missionId":"53abf1af-1cba-4aa6-b903-0dc6bc88a53d","operation":"execute_mission","proofGate":"repair_mission_source_resolution_required","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3121,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":293,"providerAuthMs":0,"ledgerPrepareMs":293,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":293,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":293,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Supply exact sourceTargets on the same mission; planner guesses cannot replace missing mission scope.","receiptRef":{"mode":"full","missionId":"53abf1af-1cba-4aa6-b903-0dc6bc88a53d"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1637,"likelyAffectedFiles":[],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T02:29:02.928421+00:00","proof_gate":"repair_mission_source_resolution_required","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:53abf1af-1cba-4aa6-b903-0dc6bc88a53d:execute_mission:repair_mission_source_resolution_required:current-generation","mission_step_id":"d92692e5-406d-4ab2-9ff1-c0415a0f8dc9","command_center_event_id":"53abf1af-1cba-4aa6-b903-0dc6bc88a53d"},{"id":"596fdf47-747c-4d4a-bdc9-0403f3a23cb6","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-36671e905530","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":19614,"releaseCount":0,"toolCallCount":3,"repeatedCallCount":0,"executorlessWaitMs":218030,"firstUsefulResultAt":"2026-09-24T22:12:48.448Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.262-negated-visual-intent-guard","prNumber":3678,"terminal":false,"missionId":"36671e90-5530-43b3-b8ed-814d551040bd","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1225,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":695,"approvedPlanMs":0,"missionSetupMs":261,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":261,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":261,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":261,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"36671e90-5530-43b3-b8ed-814d551040bd"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1969,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T22:16:38.081121+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"3678","receipt_type":"execute_mission","idempotency_key":"mission:36671e90-5530-43b3-b8ed-814d551040bd:execute_mission:repair_mission_waiting_for_gate:current-generation","mission_step_id":"bde824a6-e0cd-4bd5-930e-8d3562b041ad","command_center_event_id":"36671e90-5530-43b3-b8ed-814d551040bd"},{"id":"59721be6-3a39-481e-bfce-a8818d37ef4f","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue the same control plane maintenance repair for the shared Gate timeout mismatch. Owner approval is explicit. Mutate only config/control-plane-capabilities.json on current main 66f3c7d3c47a744d70d8842c8bc6a8b29f9c7150, changing runnerResourceBudget.gateTimeoutMinutes from 25 to 10, then Gate, squash merge, affected release, and live proof.","wordingChanged":false,"canonicalIntent":"Continue the same control plane maintenance repair for the shared Gate timeout mismatch. Owner approval is explicit. Mutate only config/control-plane-capabilities.json on current main 66f3c7d3c47a744d70d8842c8bc6a8b29f9c7150, changing runnerResourceBudget.gateTimeoutMinutes from 25 to 10, then Gate, squash merge, affected release, and live proof.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"The control plane Gate timeout budget matches the 10-minute workflow timeout and no longer blocks refreshed PRs.","proofConditionIds":["proof-source","proof-gate","proof-live"]}],"objective":"Continue the same control plane maintenance repair for the shared Gate timeout mismatch. Owner approval is explicit. Mutate only config/control-plane-capabilities.json on current main 66f3c7d3c47a744d70d8842c8bc6a8b29f9c7150, changing runnerResourceBudget.gateTimeoutMinutes from 25 to 10, then Gate, squash merge, affected release, and live proof.","constraints":[{"id":"constraint-1","statement":"Mutate only config/control-plane-capabilities.json and preserve protected main, exact-head Gate, and squash merge.","proofConditionIds":["proof-source","proof-gate"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-source","kind":"repository","claim":"The merged control plane config has runnerResourceBudget.gateTimeoutMinutes set to 10.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-gate","kind":"repository","claim":"The exact repair PR head passes KnockLaunch Gate and is squash merged.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-live","kind":"runtime","claim":"The affected control plane runtime is proven live if the release graph marks a runtime owner.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"f57e32e13e401012e2ddabdfb0123d3fc7c165508962c882d5d6e0ccc996e571","requestContractRevision":2,"previousRequestContractHash":"6319e11f10f4339964087b14ed7def02b607e9c116fba67d4d5d764783310427"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-28T22:26:53.452505+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:1275d745-c77f-4c6f-aba8-418654017c07:request-contract-revision:2:f57e32e13e401012e2ddabdfb0123d3fc7c165508962c882d5d6e0ccc996e571","mission_step_id":"38641d49-d27f-4053-a38a-f48422f31b55","command_center_event_id":"1275d745-c77f-4c6f-aba8-418654017c07"},{"id":"59725eb1-1c91-4842-957c-58b4cc7df0d2","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue the existing Big Papi tenancy repair on the same branch and PR #1096. Protected main advanced to 212c0b197928008d931b2928b9001a8603533fb1 while the gate queue was blocked, so invalidate any gate based on 00a40a811cdd2669e25095cfe4d0dc47becac1b5. Refresh/rebase this exact existing branch onto current Forgejo main without changing the approved seven-file tenancy repair semantics, preserve PR #1096, and trigger a fresh exact-head KnockLaunch Gate. Do not create another branch or PR. If the branch is already current, force the mission/gate reconciliation to use current main and obtain a current-base exact-head gate before merge.","wordingChanged":false,"canonicalIntent":"Continue the existing Big Papi tenancy repair on the same branch and PR #1096. Protected main advanced to 212c0b197928008d931b2928b9001a8603533fb1 while the gate queue was blocked, so invalidate any gate based on 00a40a811cdd2669e25095cfe4d0dc47becac1b5. Refresh/rebase this exact existing branch onto current Forgejo main without changing the approved seven-file tenancy repair semantics, preserve PR #1096, and trigger a fresh exact-head KnockLaunch Gate. Do not create another branch or PR. If the branch is already current, force the mission/gate reconciliation to use current main and obtain a current-base exact-head gate before merge.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"cancel-state","statement":"Canceled events remain historical but are excluded from active operations and cannot be advanced through proposals or agreements; an actual issued unpaid invoice can remain collectible.","proofConditionIds":["proof-live-owner"]},{"id":"today-command-center","statement":"The default Big Papi dashboard is a focused Today command center with Create proposal, Events, Customers, Money, and More as obvious destinations, plus only current schedule and attention items.","proofConditionIds":["proof-live-owner"]},{"id":"event-lifecycle-hub","statement":"The default Events route gives Will one clear event lifecycle view with context-specific next actions and explicit canceled history; the existing full Events workspace remains available as an advanced view.","proofConditionIds":["proof-live-owner"]},{"id":"capability-preserved","statement":"The previous full Big Papi dashboard and Events workspace remain reachable as advanced views, and the previously shipped Event Day closeout and Cancel Event are untouched.","proofConditionIds":["proof-live-owner"]}],"objective":"Continue the existing Big Papi tenancy repair on the same branch and PR #1096. Protected main advanced to 212c0b197928008d931b2928b9001a8603533fb1 while the gate queue was blocked, so invalidate any gate based on 00a40a811cdd2669e25095cfe4d0dc47becac1b5. Refresh/rebase this exact existing branch onto current Forgejo main without changing the approved seven-file tenancy repair semantics, preserve PR #1096, and trigger a fresh exact-head KnockLaunch Gate. Do not create another branch or PR. If the branch is already current, force the mission/gate reconciliation to use current main and obtain a current-base exact-head gate before merge.","constraints":[{"id":"constraint-1","statement":"Preserve Event Day guided closeout and Cancel Event.","proofConditionIds":["proof-live-owner"]},{"id":"constraint-2","statement":"Preserve historical records and advanced working capability.","proofConditionIds":["proof-live-owner"]},{"id":"constraint-3","statement":"Do not change unrelated tenants or generic workflow routing.","proofConditionIds":["proof-live-owner"]},{"id":"constraint-4","statement":"Use the existing branch and PR #1096 only.","proofConditionIds":["proof-live-owner"]},{"id":"constraint-5","statement":"Gate must be based on current protected main, not stale event base 00a40a811cdd2669e25095cfe4d0dc47becac1b5.","proofConditionIds":["proof-live-owner"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-live-owner","kind":"runtime","claim":"Production Big Papi owner routes serve the focused Today and Events experiences from the repaired shared event lifecycle.","route":"/big-papis/owner","required":true,"expectedText":"Customers","targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"]}],"validationErrors":[]},"requestContractHash":"6c5850cc581815ab9fdafbaa3c6a54ecb481c9570bcf953c919da8edc6817bc5","requestContractRevision":4,"previousRequestContractHash":"213b26e867dfe318e0a9204a16822afeabb16c779f56e7910d0ff9e4fea5b292"},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-30T13:50:59.885604+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:78cf803e-f344-4076-b742-331d5ad0f6c8:request-contract-revision:4:6c5850cc581815ab9fdafbaa3c6a54ecb481c9570bcf953c919da8edc6817bc5","mission_step_id":"f06d228f-95ea-4f5d-bde7-0fa605efb1bf","command_center_event_id":"78cf803e-f344-4076-b742-331d5ad0f6c8"},{"id":"5972ad23-5bf1-4f6e-9b0e-942c0c1c9b5b","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-5a00eef0baa6","prNumber":2339,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"f12d7ca6568181ce9c7095f6b1695edde035f14c","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T22:23:36.634855+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"f12d7ca6568181ce9c7095f6b1695edde035f14c","external_id":"2339","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:5a00eef0-baa6-4d4b-b2d2-ac435d18a592:merged-pr:2339:f12d7ca6568181ce9c7095f6b1695edde035f14c","mission_step_id":"d9d716f4-c0bb-4a66-bf1e-6da7d3ab7830","command_center_event_id":"5a00eef0-baa6-4d4b-b2d2-ac435d18a592"},{"id":"59764544-cfe7-4a5e-a319-88796b4e4477","source":"cc-execution","status":"recorded","payload":{"objective":"Finish existing PR #548 Allow every Big Papi contact to be deleted. Preserve the exact existing branch ai/big-papi-contact-delete and exact approved source; do not create a replacement branch or PR and do not change source unless a current-base refresh mechanically requires it. Verify protected-main readiness, squash-merge PR #548, release the frontend only, and prove the live Big Papi Customers UI contains the visible text Delete contact. Stop only after production runtime/route proof is terminal.","tenantRef":"Big Papi's Iceys","receivedAt":"2026-08-21T13:54:57.706Z","fingerprint":"d86a723f55c9e4781cf2d64425a54b6f99f90d5e6300e4ccb73ea0be70e90e85","workstreamRef":"bigpapisiceys","conversationId":null,"canonicalBranch":"ai/native-business-context-v1-20260819","requestedBranch":"ai/big-papi-contact-delete","conversationContext":null},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-21T13:54:58.182387+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:a812cc50-a7e3-467a-99a5-ae9215642476:tenant-workstream-contribution:d86a723f55c9e4781cf2d64425a54b6f99f90d5e6300e4ccb73ea0be70e90e85","mission_step_id":"321b5592-dea1-4920-a867-3431398be277","command_center_event_id":"a812cc50-a7e3-467a-99a5-ae9215642476"},{"id":"5976569c-28c5-4a6e-a0ae-5d353b3f3a75","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-ce0b1c3ec9c2","reason":"anchored_edit_anchor_missing:src/routes/tenantApplicationRouteResolver.ts","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.144-request-contract-inference","prNumber":null,"terminal":false,"missionId":"ce0b1c3e-c9c2-40da-8f26-409c28793d06","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":577,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":242,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":242,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":242,"repositoryMutationMs":577,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":242,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"ce0b1c3e-c9c2-40da-8f26-409c28793d06"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1525,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-14T01:25:36.789595+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:ce0b1c3e-c9c2-40da-8f26-409c28793d06:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"9f963688-1773-4087-9650-79ec6ed01fcc","command_center_event_id":"ce0b1c3e-c9c2-40da-8f26-409c28793d06"},{"id":"5976612a-5714-4725-a2c5-bb098a76d3c9","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_ancestry_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"acceptance\":{\"total\":6,\"verified\":1,\"pending\":5,\"percent\":17,\"satisfied\":false,\"verifiedIds\":[\"implementation\"],\"pendingIds\":[\"preflight\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"preflight\",\"deadlineAt\":\"2026-08-04T02:00:34.246243+00:00\",\"recoveryAction\":\"reconcile_release\"},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/stop-experience-editor-dom-overregistration-r202608040150\",\"prNumber\":3938,\"sourceSha\":\"1bb54599f5c2841a61c23e6e784d7d6b69d292b5\",\"deploymentId\":\"canonical-release-1bb54599f5c2\"}"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-09-20T22:08:55.269116+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:34ca2bfe-d400-4ac3-8388-3c4c9370e908:owner-progress-heartbeat:119329475","mission_step_id":"de75ddfd-23a3-4651-9ad8-04a7932aa26c","command_center_event_id":"34ca2bfe-d400-4ac3-8388-3c4c9370e908"},{"id":"59767f02-397f-4178-ac0c-c0c829ba0a68","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"7a4fd75a6799b2d3312a5bddf6b28ab6c18fc98a","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"7a4fd75a6799b2d3312a5bddf6b28ab6c18fc98a","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{},"requestContractHash":"888b87a4504240132e1b1665ce164e8dd2618f5d8de40ac57698211617c04c51","forgejoWorkflowProof":{"error":"workflow_run_id_missing","runId":null},"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T14:09:17.812445+00:00","proof_gate":"canonical_release_pending","source_sha":"7a4fd75a6799b2d3312a5bddf6b28ab6c18fc98a","external_id":"forgejo-main-7a4fd75a6799","receipt_type":"canonical_release_status","idempotency_key":"mission:ed3df63e-1731-4712-9d2f-c1d081b30438:forgejo-release-status:7a4fd75a6799b2d3312a5bddf6b28ab6c18fc98a:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"d955c19b-d99f-4aa4-a2b4-dd2ba0e7697c","command_center_event_id":"ed3df63e-1731-4712-9d2f-c1d081b30438"},{"id":"597a93ae-9fe5-46aa-aa22-fa70d18d60d5","source":"forgejo-runtime","status":"failed","payload":{"failed":["forgejo-release/workflow","frontend-cloudflare/live"],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"failure","frontend-cloudflare/live":"failure"},"mainSha":"35431881b2be8ff1bb51fe19e147d7865d90bdc0","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"35431881b2be8ff1bb51fe19e147d7865d90bdc0","releaseState":"failed","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false},"releaseTargetStates":{"frontend":"failure"},"requestContractHash":"48573fd6232db3e7c2f5d87bd5ba0c2404b82408a18d051dab7ffab45cbdfe94","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/5222","runId":5222,"status":"failure","sourceSha":"35431881b2be8ff1bb51fe19e147d7865d90bdc0","conclusion":null,"failedJobs":[{"id":35662,"name":"Release frontend","status":"failure","conclusion":null,"failedSteps":[]}],"diagnostics":{"runId":5222,"logTail":["2026-09-04T14:29:22.3900770Z Or undo this operation with:","2026-09-04T14:29:22.3900963Z ","2026-09-04T14:29:22.3901113Z   git switch -","2026-09-04T14:29:22.3901359Z ","2026-09-04T14:29:22.3901518Z Turn off this advice by setting config variable advice.detachedHead to false","2026-09-04T14:29:22.3901672Z ","2026-09-04T14:29:22.3924692Z HEAD is now at 3543188 Complete repair mission (#1714)","2026-09-04T14:29:22.3984637Z ##[endgroup]","2026-09-04T14:29:22.4265350Z [command]/usr/bin/git log -1 --format=%H","2026-09-04T14:29:22.4376484Z 35431881b2be8ff1bb51fe19e147d7865d90bdc0","2026-09-04T14:29:22.4496929Z ::remove-matcher owner=checkout-git::","2026-09-04T14:29:29.9203650Z frontend_job_cgroup_memory_limit=734003200","2026-09-04T14:29:31.2536542Z cat: package-lock.json: No such file or directory","2026-09-04T14:29:32.1817931Z ⚙️ [runner]: exitcode '1': failure","2026-09-04T14:29:32.3406475Z ::error::frontend_release_failure stage=install class=INSTALL hint=no_failure_hint","2026-09-04T14:29:32.9432238Z   ⚙  Setting output failure_stage=install","2026-09-04T14:29:32.9438424Z   ⚙  Setting output failure_class=INSTALL","2026-09-04T14:29:32.9438661Z   ⚙  Setting output failure_hint=no_failure_hint","2026-09-04T14:29:32.9438825Z   ⚙  Setting output release_ok=false","2026-09-04T14:29:33.3309994Z ⚙️ [runner]: exitcode '1': failure","2026-09-04T14:29:33.3320015Z ⭐ Run Post https://data.forgejo.org/actions/checkout@v4","2026-09-04T14:29:33.3390407Z   🐳  docker exec cmd=[node /var/run/act/actions/11/5e0a10ee975d34a62bd0389fcb7af23e37e6d7cf61a7f7097ffcb8faabda24/dist/index.js] user= workdir=","2026-09-04T14:29:34.1318526Z [command]/usr/bin/git version","2026-09-04T14:29:34.1453941Z git version 2.39.5","2026-09-04T14:29:34.1521490Z   ⚙  ***","2026-09-04T14:29:34.1568210Z Temporarily overriding HOME='/tmp/5b7ca8e7-1ceb-4868-ba71-5b2cd530f068' before making global git config changes","2026-09-04T14:29:34.1575487Z Adding repository directory to the temporary git global config as a safe directory","2026-09-04T14:29:34.1634570Z [command]/usr/bin/git config --global --add safe.directory /workspace/noel/KnockLaunchOS","2026-09-04T14:29:34.2184959Z [command]/usr/bin/git config --local --name-only --get-regexp core\\.sshCommand","2026-09-04T14:29:34.2307850Z [command]/usr/bin/git submodule foreach --recursive sh -c \"git config --local --name-only --get-regexp 'core\\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :\"","2026-09-04T14:29:34.3457461Z [command]/usr/bin/git config --local --name-only --get-regexp http\\.https\\:\\/\\/git\\.knocklaunch\\.app\\/\\.extraheader","2026-09-04T14:29:34.3526072Z http.https://git.knocklaunch.app/.extraheader","2026-09-04T14:29:34.3577141Z [command]/usr/bin/git config --local --unset-all http.https://git.knocklaunch.app/.extraheader","2026-09-04T14:29:34.3678250Z [command]/usr/bin/git submodule foreach --recursive sh -c \"git config --local --name-only --get-regexp 'http\\.https\\:\\/\\/git\\.knocklaunch\\.app\\/\\.extraheader' && git config --local --unset-all 'http.https://git.knocklaunch.app/.extraheader' || :\"","2026-09-04T14:29:34.5285487Z [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\\.gitdir:","2026-09-04T14:29:34.5385278Z [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url","2026-09-04T14:29:34.6902142Z   ✅  Success - Post https://data.forgejo.org/actions/checkout@v4","2026-09-04T14:29:35.6375095Z 🏁  Job failed","2026-09-04T14:29:36.2166267Z Job 'Release frontend' failed",""],"proofGate":"forgejo_action_run_logs_verified","truncated":false,"failureLines":[{"line":112,"content":"2026-09-04T14:29:32.1817931Z ⚙️ [runner]: exitcode '1': failure"},{"line":113,"content":"2026-09-04T14:29:32.3406475Z ::error::frontend_release_failure stage=install class=INSTALL hint=no_failure_hint"},{"line":118,"content":"2026-09-04T14:29:33.3309994Z ⚙️ [runner]: exitcode '1': failure"},{"line":136,"content":"2026-09-04T14:29:35.6375095Z 🏁  Job failed"},{"line":137,"content":"2026-09-04T14:29:36.2166267Z Job 'Release frontend' failed"}]},"exactSource":true,"fingerprint":"failure|release frontend|2026-09-04t14:29:32.1817931z ⚙️ [runner]: exitcode '1': failure|2026-09-04t14:29:32.3406475z ::error::frontend_release_failure stage=install class=install hint=no_failure_hint|2026-09-04t14:29:33.3309994z ⚙️ [runner]: exitcode '1': failure|2026-09-04t14:29:35.6375095z 🏁  job failed|2026-09-04t14:29:36.2166267z job 'release frontend' failed","failureClass":"code_failure","targetStates":{"frontend":"failure"},"safeAutoRetry":false,"targetJobCount":7,"observedTargetStates":{"frontend":"failure"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":{"exact":true,"source":"exact_source_parent_diff_shared_release_owner_mapping","parentSha":"99594b2efd0f38b77bf6615e8853627d055ea79f","sourceSha":"35431881b2be8ff1bb51fe19e147d7865d90bdc0","changedPaths":["src/pages/lawn-care/LawnCareRouteFamily.css"],"changedPathCount":1,"independentOfCurrentMainCompare":true},"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T14:36:10.743634+00:00","proof_gate":"canonical_release_terminal_failed","source_sha":"35431881b2be8ff1bb51fe19e147d7865d90bdc0","external_id":null,"receipt_type":"canonical_release_status","idempotency_key":"mission:a66e6985-119c-4ea3-a48c-2f1dc48f3cad:forgejo-release-status:35431881b2be8ff1bb51fe19e147d7865d90bdc0:failed:forgejo-main/source=success|forgejo-release/workflow=failure|frontend-cloudflare/live=failure","mission_step_id":"b98e5e41-fb80-4b65-91f3-5c6e67f31183","command_center_event_id":"a66e6985-119c-4ea3-a48c-2f1dc48f3cad"},{"id":"597b327d-1f4a-4307-a876-598b3a361b4f","source":"cc-execution","status":"waiting","payload":{"sourceTargets":["src/pages/card-grading/PCGWorkspace.tsx"],"continuationObjective":"P0 PCG mobile Card Vault controls pass. Prepare exact current-main source for src/pages/card-grading/PCGWorkspace.tsx only. No Visual Witness."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T20:58:15.903816+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:8a231f03-bdd3-4314-95ef-ab7dca7791e2:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"ebfe6170-1749-48ff-aa0a-2b7d14266a42","command_center_event_id":"8a231f03-bdd3-4314-95ef-ab7dca7791e2"},{"id":"597da35f-1ef8-4db6-bde7-5d59441303a2","source":"cc-execution","status":"release_verification_pending","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"release_verification_pending","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.46.8-intent-aware-objectives","prNumber":165,"terminal":false,"missionId":"a0f2ae41-09d4-4f41-913e-4fb9572270eb","operation":"ship_and_prove","proofGate":"ship_and_prove_release_pending","sourceSha":"c98c1d9ac175cf1772a034ec84f4435daa712a3b","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"a0f2ae41-09d4-4f41-913e-4fb9572270eb"},"performance":null,"deploymentId":"forgejo-main-c98c1d9ac175","workflowRunId":453,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4011,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-15T18:57:59.78589+00:00","proof_gate":"ship_and_prove_release_pending","source_sha":"c98c1d9ac175cf1772a034ec84f4435daa712a3b","external_id":"forgejo-main-c98c1d9ac175","receipt_type":"ship_and_prove","idempotency_key":"mission:a0f2ae41-09d4-4f41-913e-4fb9572270eb:ship_and_prove:ship_and_prove_release_pending:c98c1d9ac175cf1772a034ec84f4435daa712a3b:453","mission_step_id":"969e6cef-a9a2-44ef-9c64-89246d21cc63","command_center_event_id":"a0f2ae41-09d4-4f41-913e-4fb9572270eb"},{"id":"597dde0d-8d4a-4ce2-962a-726d03f6fbda","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/add-control-plane-restore-point-20260827","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.52.9-exact-open-pr-green-merge","prNumber":815,"terminal":false,"missionId":"90a24a87-68dc-404d-96f6-2e5644420e5f","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"handlerMs":14636,"prReadinessMs":1253,"approvedPlanMs":13373,"missionSetupMs":2063,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"90a24a87-68dc-404d-96f6-2e5644420e5f"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5646,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-27T05:13:52.219114+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"815","receipt_type":"execute_mission","idempotency_key":"mission:90a24a87-68dc-404d-96f6-2e5644420e5f:execute_mission:repair_mission_waiting_for_gate","mission_step_id":"247be93d-ab00-4259-bf15-f47b23ea3e7b","command_center_event_id":"90a24a87-68dc-404d-96f6-2e5644420e5f"},{"id":"59804375-de3e-4541-9a1b-6af9e4e4fc13","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":null,"reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":7876,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":3,"executorlessWaitMs":32980,"firstUsefulResultAt":"2026-10-06T17:21:22.718Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.67.3-cross-conversation-lean-queue","prNumber":5197,"terminal":false,"missionId":"9a9764e6-5b2f-4853-92da-9a68362f8b46","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4114,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":4000,"approvedPlanMs":0,"missionSetupMs":1740,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":1626,"ledgerReconcileMs":0,"lineageReconcileMs":114,"resolvePreflightMs":1740,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":1626,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"9a9764e6-5b2f-4853-92da-9a68362f8b46"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["repository"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1695,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T17:21:22.81098+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"5197","receipt_type":"execute_mission","idempotency_key":"mission:9a9764e6-5b2f-4853-92da-9a68362f8b46:execute_mission:repair_mission_waiting_for_gate:current-generation","mission_step_id":"be3e5d5f-d9cd-460a-91a7-3c357864f6e2","command_center_event_id":"9a9764e6-5b2f-4853-92da-9a68362f8b46"},{"id":"5981be53-2cd7-4fd5-814a-3bd347b996b1","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":"ai/redfish-jimmy-premium-r4-20260910","reason":"retryable_provider_transport:POST:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.98-owner-handoff-overlap","prNumber":null,"terminal":false,"missionId":"f5491123-477e-4d39-82ef-f7159b56899a","operation":"execute_mission","proofGate":"repair_mission_execution_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":20980,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":636,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":636,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":636,"repositoryMutationMs":20980,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":636,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"f5491123-477e-4d39-82ef-f7159b56899a"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1553,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-11T03:05:55.196041+00:00","proof_gate":"repair_mission_execution_retryable","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:f5491123-477e-4d39-82ef-f7159b56899a:execute_mission:repair_mission_execution_retryable:current-generation","mission_step_id":"3fbdf0b3-8943-4f6f-b828-fddc6b625dff","command_center_event_id":"f5491123-477e-4d39-82ef-f7159b56899a"},{"id":"59836928-a537-4fed-90ea-9068448389a9","source":"forgejo","status":"waiting","payload":{"branch":"ai/system-stability-queue-runs-fallback-20260904","prNumber":1738,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"f42d6925b1dacbee9c611e0620e20832cee2d16a","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T18:36:36.726053+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"f42d6925b1dacbee9c611e0620e20832cee2d16a","external_id":"1738","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:181e14f7-f600-40f3-bf90-cc40046e6202:merged-pr:1738:f42d6925b1dacbee9c611e0620e20832cee2d16a","mission_step_id":"734ddd6e-c657-4502-9fde-4c354ba5eac2","command_center_event_id":"181e14f7-f600-40f3-bf90-cc40046e6202"},{"id":"5986af93-8517-4a72-9167-86fef65ba5d4","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-cff13683d389","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.59.3-direct-commit-ancestry","prNumber":null,"terminal":false,"missionId":"cff13683-d389-4611-8abc-afbad8755d0b","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1280,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":464,"providerAuthMs":0,"ledgerPrepareMs":464,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":464,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":464,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"cff13683-d389-4611-8abc-afbad8755d0b"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4961,"likelyAffectedFiles":["src/PrivateAppShell.tsx","src/App.css","src/pages/TenantSelection.tsx","src/__tests__/contracts/mobile-tenant-avatar-navigation.contract.test.ts"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T22:11:24.504156+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:cff13683-d389-4611-8abc-afbad8755d0b:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"1b71b25c-2437-4bea-88f0-11ec3e665e2a","command_center_event_id":"cff13683-d389-4611-8abc-afbad8755d0b"},{"id":"5989b4fb-8645-4dc6-8734-d0f1752c947c","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-35086e86a26f","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":110043,"releaseCount":0,"toolCallCount":9,"repeatedCallCount":1,"executorlessWaitMs":201143,"firstUsefulResultAt":"2026-09-26T20:17:37.018Z","recoveryAttemptCount":1,"ownerInterruptionCount":0},"version":null,"prNumber":3827,"terminal":false,"missionId":"35086e86-a26f-4289-b447-be23bf15a9f0","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":5429,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"35086e86-a26f-4289-b447-be23bf15a9f0"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-26T20:20:58.205258+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"3827","receipt_type":"automatic_mission_resume","idempotency_key":"mission:35086e86-a26f-4289-b447-be23bf15a9f0:automatic-mission-resume:3827:repair_mission_pr_ready_retryable","mission_step_id":"f8d3ac14-39a5-485b-ac06-1102deb5c8f7","command_center_event_id":"35086e86-a26f-4289-b447-be23bf15a9f0"},{"id":"598c4fed-db0e-4918-ace6-ccaa29066c12","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"source_lineage_merged_pr_authoritative\",\"status\":\"waiting\",\"proofGate\":\"forgejo_merged_pr_is_authoritative_source_lineage\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"waiting\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":2,\"verified\":0,\"pending\":2,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\",\"proof-visual\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"visual_proof\",\"deadlineAt\":\"2026-09-28T17:17:28.445616+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-8c04bea84e20\",\"prNumber\":3991,\"sourceSha\":\"b9356123038c132e1efb2bfab8dc82edef3ccef7\",\"deploymentId\":\"forgejo-main-b9356123038c\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T13:42:03.482619+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:8c04bea8-4e20-43c8-8b0e-56d79150cdd6:owner-progress-heartbeat:119373528","mission_step_id":"e4d24547-fc25-465e-89cf-f04447c00054","command_center_event_id":"8c04bea8-4e20-43c8-8b0e-56d79150cdd6"},{"id":"598e5c35-4737-483f-bb90-3472a256ae54","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/src/index-mission-control.js","workers/cc-execution/src/version.js","workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Harden canonical Gate failure classification so post-QA protected-main movement is a nonterminal same-PR refresh/re-gate state while deterministic failures remain blocking.","baseSha":"6a2c360c7d28b43447099cfc3b8f9c61f260543a","issuedAt":1790228453252,"expiresAt":1790228633252,"missionId":"2eb50ca1-56b9-4fa2-bb02-5d1be9a71472","authorizationId":"be39d08f-b8bb-4ce2-bb1b-c1346bea781e","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T05:40:53.599862+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"6a2c360c7d28b43447099cfc3b8f9c61f260543a","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:be39d08f-b8bb-4ce2-bb1b-c1346bea781e","mission_step_id":"4b01e889-c6e1-4ba6-9dc9-b7e8419ab77d","command_center_event_id":"2eb50ca1-56b9-4fa2-bb02-5d1be9a71472"},{"id":"598fb6c1-a36d-4b00-b3c1-ea2d4679e56b","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-442ab3779a77","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":188303,"releaseCount":0,"toolCallCount":25,"repeatedCallCount":18,"executorlessWaitMs":502533,"firstUsefulResultAt":"2026-09-30T01:05:19.367Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.10-paul-eval-precision","prNumber":4189,"terminal":false,"missionId":"442ab377-9a77-41b0-9ae1-ac6edc326cc4","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3710,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":699,"missionSetupMs":427,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":427,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":427,"repositoryMutationMs":3011,"repositoryProviderMs":3011,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":1998,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":427,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1013},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"442ab377-9a77-41b0-9ae1-ac6edc326cc4"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3619,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T01:13:47.706055+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"4189","receipt_type":"execute_mission","idempotency_key":"mission:442ab377-9a77-41b0-9ae1-ac6edc326cc4:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"f1ad9e63-da9c-46fb-8eee-6cd8080f76b4","command_center_event_id":"442ab377-9a77-41b0-9ae1-ac6edc326cc4"},{"id":"59907e3e-24b0-481d-a227-105a31163ee9","source":"forgejo-exact-source","status":"verified","payload":{"sourceSha":"29fc0a9e0f680d55f6f2107ca81696c5ed4d183b","repository":"noel/KnockLaunchOS","repositoryProofs":[{"id":"repo-map","path":null,"proof":"forgejo_merged_pr_exact_head_gate","headSha":"3693ce24b09a8f661b174b4d07df07deeac92955","prNumber":3030,"gateRunId":9280,"gateContext":"KnockLaunch Gate / KnockLaunch Gate (pull_request)","expectedText":null,"gateTargetUrl":"/noel/KnockLaunchOS/actions/runs/9280/jobs/1","mergeCommitSha":"29fc0a9e0f680d55f6f2107ca81696c5ed4d183b"}],"requestContractHash":"d10dc89389f263ae2cb53b821b27e1068f8294f32b7e24c16c1d0666a53611e1","namedGateEvidenceReceiptVersion":null},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-17T19:34:02.081363+00:00","proof_gate":"request_contract_repository_verified","source_sha":"29fc0a9e0f680d55f6f2107ca81696c5ed4d183b","external_id":null,"receipt_type":"request_contract_repository_status","idempotency_key":"mission:e79cea42-9ffa-4834-b086-ed143c9b262a:request-contract-repository:d10dc89389f263ae2cb53b821b27e1068f8294f32b7e24c16c1d0666a53611e1:29fc0a9e0f680d55f6f2107ca81696c5ed4d183b","mission_step_id":"dc2a13f3-92e7-4771-ab4d-08f38a53c2f2","command_center_event_id":"e79cea42-9ffa-4834-b086-ed143c9b262a"},{"id":"5990bef5-9514-4600-9aa1-5f18744db7e3","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in implementation.","nextAction":{"lane":"cc-execution","action":"continue_implementation","reason":"durable_state:implementation","automationAllowed":false,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"execute_mission\",\"status\":\"synthesis_required\",\"proofGate\":\"repair_mission_synthesis_ready\"},\"activeStep\":{\"key\":\"implementation\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"continue_implementation\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:implementation\",\"automationAllowed\":false,\"ownerActionRequired\":false},\"acceptance\":{\"total\":3,\"verified\":0,\"pending\":3,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"live-valid\",\"refresh\",\"invalid\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"implementation\",\"deadlineAt\":\"2026-09-22T16:23:23.009813+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-79cd281cf64b\",\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-22T14:25:35.960134+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:79cd281c-f64b-4e30-a1be-71c46c1934c7:owner-progress-heartbeat:119339142","mission_step_id":"df26436b-dcd1-4533-8fe7-da165d7a9623","command_center_event_id":"79cd281c-f64b-4e30-a1be-71c46c1934c7"},{"id":"5991e7f7-4e8d-4afc-82c4-4d1e92ff1844","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue the owner-authorized final cache-truth maintenance mission from current Forgejo main ad80ed0ec7a6d4713132436eb58931e56913fa2c. Apply only the exact three-path cleanup: remove the impossible workspace-local node_modules warm-hit branch, preserve the existing remote Forgejo dependency cache restore for every frontend-toolchain Gate, make the capability policy truthful, and align the focused regression contract. One PR, exact Gate, squash merge, release only affected targets, prove live, and keep controlPlaneFrozen=true.","wordingChanged":false,"canonicalIntent":"Continue the owner-authorized final cache-truth maintenance mission from current Forgejo main ad80ed0ec7a6d4713132436eb58931e56913fa2c. Apply only the exact three-path cleanup: remove the impossible workspace-local node_modules warm-hit branch, preserve the existing remote Forgejo dependency cache restore for every frontend-toolchain Gate, make the capability policy truthful, and align the focused regression contract. One PR, exact Gate, squash merge, release only affected targets, prove live, and keep controlPlaneFrozen=true.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"truthful-cache","statement":"Unfreeze the control plane only for this repair so Gate dependency caching no longer claims or branches on workspace-local persistence that cannot survive Forgejo job containers; remote Forgejo cache restore remains unchanged for frontend-toolchain Gates.","proofConditionIds":["repo","runtime"]},{"id":"refreeze","statement":"Control plane remains frozen after the cleanup.","proofConditionIds":["repo","runtime"]}],"objective":"Continue the owner-authorized final cache-truth maintenance mission from current Forgejo main ad80ed0ec7a6d4713132436eb58931e56913fa2c. Apply only the exact three-path cleanup: remove the impossible workspace-local node_modules warm-hit branch, preserve the existing remote Forgejo dependency cache restore for every frontend-toolchain Gate, make the capability policy truthful, and align the focused regression contract. One PR, exact Gate, squash merge, release only affected targets, prove live, and keep controlPlaneFrozen=true.","constraints":[],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repo","kind":"repository","claim":"Current Forgejo main contains the exact three-path control plane cache-truth cleanup after Gate and squash merge.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"runtime","kind":"runtime","claim":"If cc-execution is classified affected, the live runtime source SHA matches the merged main SHA; otherwise release planning records no affected runtime target.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"d35900729fae3a883f12453b850a7a6facef598519d107b76bc08d3341d53938","requestContractRevision":3,"previousRequestContractHash":"9e34ed80a7b7b20abfaed5bd3ed636081395d57be7e2cdef98520f63ec60d218"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-01T21:08:35.832057+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:bb28a4f7-2bbe-4ac0-84c9-009170fb701a:request-contract-revision:3:d35900729fae3a883f12453b850a7a6facef598519d107b76bc08d3341d53938","mission_step_id":"3da9ca47-433f-4352-a16c-a710e786567c","command_center_event_id":"bb28a4f7-2bbe-4ac0-84c9-009170fb701a"},{"id":"5995aa52-76c0-498c-a4c3-d94ba15c9c22","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success"},"mainSha":"19774fcd24811ac1451fe38946436da826557f88","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"19774fcd24811ac1451fe38946436da826557f88","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"success"},"requestContractHash":"8aa0e3e5a1bf158bad2f003facd49347e629e5c370b60fcfa8d40dd87cfd06f6","forgejoWorkflowProof":{"runId":13515,"source":"signed_push_receipt","status":"success","results":{},"conclusion":"success","targetStates":{"frontend":"success"},"targetJobCount":6,"observedTargetStates":{"frontend":"success"}},"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T23:12:07.673371+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"19774fcd24811ac1451fe38946436da826557f88","external_id":"forgejo-main-19774fcd2481","receipt_type":"canonical_release_status","idempotency_key":"mission:8c64d551-09cd-4a22-8649-a04d9e811c37:forgejo-release-status:19774fcd24811ac1451fe38946436da826557f88:verified:forgejo-main/source=success|forgejo-release/workflow=success|frontend-cloudflare/live=success","mission_step_id":"051873ef-e6b6-4c71-b77e-553ec6996805","command_center_event_id":"8c64d551-09cd-4a22-8649-a04d9e811c37"},{"id":"59995833-c8a5-4eba-ae67-06e490a2d3a8","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Publish the canonical KNOCKLAUNCH Service Catalog in Owner OS with reusable structured software plans, a la carte service SKUs, and premium Managed Admin, Business Concierge, and Embedded Operations Partner offerings. Keep managed human operations explicitly separate from base SaaS and scope-bound rather than unlimited.","wordingChanged":false,"canonicalIntent":"Publish the canonical KNOCKLAUNCH Service Catalog in Owner OS with reusable structured software plans, a la carte service SKUs, and premium Managed Admin, Business Concierge, and Embedded Operations Partner offerings. Keep managed human operations explicitly separate from base SaaS and scope-bound rather than unlimited.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"catalog-live","statement":"The owner OS has a usable canonical Service Catalog route showing software plans, a la carte services, and the three premium managed-operations tiers with correct from-pricing and scope boundaries.","proofConditionIds":["repository-catalog","frontend-release","runtime-catalog","visual-catalog"]}],"objective":"Publish the canonical KNOCKLAUNCH Service Catalog in Owner OS with reusable structured software plans, a la carte service SKUs, and premium Managed Admin, Business Concierge, and Embedded Operations Partner offerings. Keep managed human operations explicitly separate from base SaaS and scope-bound rather than unlimited.","constraints":[{"id":"preserve-owner-os","statement":"Preserve existing Owner OS routes and tenant behavior; add the catalog without changing tenant data, auth, schemas, or unrelated product surfaces.","proofConditionIds":["repository-catalog","runtime-catalog"]},{"id":"managed-is-addon","statement":"Managed human operations remain explicit premium add-ons with defined scope and are not represented as unlimited labor or included base SaaS.","proofConditionIds":["repository-catalog","visual-catalog"]},{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["repository-catalog","frontend-release","runtime-catalog"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["repository-catalog","frontend-release","runtime-catalog"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repository-catalog","kind":"repository","claim":"Structured catalog data and the Owner OS catalog route/page are present in the merged source.","route":"/knock-launch-os/catalog","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false},{"id":"frontend-release","kind":"release","claim":"The affected frontend release is live.","route":"/knock-launch-os/catalog","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":["frontend"],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false},{"id":"runtime-catalog","kind":"runtime","claim":"The production owner catalog route resolves in Owner OS and contains Managed Admin.","route":"/knock-launch-os/catalog","roleRef":null,"userRef":null,"required":true,"expectedText":"Managed Admin","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":["frontend"],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false},{"id":"visual-catalog","kind":"visual","claim":"The catalog renders as a usable Owner OS page with the premium managed-services section visible.","route":"/knock-launch-os/catalog","roleRef":"GodMode","userRef":null,"required":true,"expectedText":"Managed Admin","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"Publish-the-canonical-KNOCKLAUNCH-Service-Catalog-in-Owner-OS-with-reusable-structured-software-plan","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":["frontend"],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["repository-catalog","frontend-release","runtime-catalog"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestContractHash":"96decf7760d7835d93679d622ec5921afe131bcec3b958a8b21769965ca560d0","requestContractRevision":2,"previousRequestContractHash":"3adb7c2cc963247dc65c5467cddacf3d608aace2b6064942a07173698ec87402"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T05:41:08.957555+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:00736b25-4ca2-4d45-aacf-f618d1303fdc:request-contract:96decf7760d7835d93679d622ec5921afe131bcec3b958a8b21769965ca560d0","mission_step_id":"5471e93d-0ea6-4b39-8c83-04b68e8e2272","command_center_event_id":"00736b25-4ca2-4d45-aacf-f618d1303fdc"},{"id":"599a0eb0-cd5b-4049-9665-9eae2ba2779f","source":"cc-execution","status":"source_resolution_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-4b9921ffb59d","reason":null,"status":"source_resolution_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.113-orphan-cache-absence-proof","prNumber":null,"terminal":false,"missionId":"4b9921ff-b59d-44cd-97d3-287d980f6955","operation":"execute_mission","proofGate":"repair_mission_source_resolution_required","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":7,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":944,"providerAuthMs":0,"ledgerPrepareMs":944,"ledgerReconcileMs":331,"lineageReconcileMs":0,"resolvePreflightMs":944,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":1275,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Resolve bounded authoritative Forgejo source targets, then call /mission/execute again with this same missionId and exact files or anchored_edits. Do not switch workflows.","receiptRef":{"mode":"full","missionId":"4b9921ff-b59d-44cd-97d3-287d980f6955"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3999,"likelyAffectedFiles":[],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T00:41:19.081862+00:00","proof_gate":"repair_mission_source_resolution_required","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:4b9921ff-b59d-44cd-97d3-287d980f6955:execute_mission:repair_mission_source_resolution_required:current-generation","mission_step_id":"7e8b847a-4009-4f21-84af-04836e1d593b","command_center_event_id":"4b9921ff-b59d-44cd-97d3-287d980f6955"},{"id":"599c315e-5770-4598-a4dc-c74f22ccc3e2","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"waiting\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-10-04T13:47:28.285112+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-581fa1f46468\",\"prNumber\":4730,\"sourceSha\":\"66cedb61bfc569597e4420b8c647d7896075053a\",\"deploymentId\":\"forgejo-main-66cedb61bfc5\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T10:19:40.39815+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:581fa1f4-6468-4746-ba75-a5582d665a72:owner-progress-heartbeat:119407278","mission_step_id":"28d0bf7f-5ed7-455f-9a75-08c40c65dae9","command_center_event_id":"581fa1f4-6468-4746-ba75-a5582d665a72"},{"id":"599de635-582a-479e-82e2-4539d3a8ef9c","source":"cc-execution","status":"authorized","payload":{"paths":[".forgejo/workflows/knocklaunch.yml","config/capabilities/owner-seo-search-console.json","config/capability-manifest.schema.json","config/control-plane-capabilities.json","config/platform-standards.json","scripts/validate-capability-manifests.mjs","src/__tests__/capabilityCompleteness.contract.test.ts","src/__tests__/capabilityLifecycle.contract.test.ts","src/lib/platform/capabilityLifecycle.ts","src/pages/owner/KnockLaunchSEO.tsx","workers/cc-execution/src/command-center-contracts.js","workers/cc-execution/test/capability-lifecycle.test.js"],"reason":"Owner authorized bounded Atomic Capability Lifecycle enforcement so half-wired implementations cannot become user-visible; preserve existing single-owner architecture and restore the locked fail-closed posture after exact live proof.","baseSha":"cebdf4456280220a1b1dcb72727b699785308b7f","issuedAt":1789237472572,"expiresAt":1789237652572,"missionId":"059fa294-dd77-41e6-add2-137cdee3af13","authorizationId":"3d32c493-b539-43a1-9626-3b1a57041c00","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T18:24:33.01126+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"cebdf4456280220a1b1dcb72727b699785308b7f","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:3d32c493-b539-43a1-9626-3b1a57041c00","mission_step_id":"e6399b41-84c7-45b3-b35f-23c199e9b57b","command_center_event_id":"059fa294-dd77-41e6-add2-137cdee3af13"},{"id":"59a152d3-d926-4951-8a63-4e7046699c1f","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-55a8dc8f816a","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":3368,"terminal":false,"missionId":"55a8dc8f-816a-4d52-9137-cd0a406a6b2c","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"caf59b504ca29c5b8141460b8f25d171f9849e55","timingsMs":{"prReadinessMs":638,"approvedPlanMs":0,"shipAndProveMs":3574,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"55a8dc8f-816a-4d52-9137-cd0a406a6b2c"},"performance":null,"deploymentId":"forgejo-main-caf59b504ca2","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1841,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-21T19:07:17.811903+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"3368","receipt_type":"automatic_mission_resume","idempotency_key":"mission:55a8dc8f-816a-4d52-9137-cd0a406a6b2c:automatic-mission-resume:3368:canonical_release_dispatched","mission_step_id":"cb74bff2-83b2-40ba-9e95-c89dde0f13bf","command_center_event_id":"55a8dc8f-816a-4d52-9137-cd0a406a6b2c"},{"id":"59a28e21-226f-46e4-a0a3-5180dcd7acb8","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":null,"reason":"pull_request_not_merge_eligible:pr_not_merge_eligible","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.31.33-exact-release-readback","prNumber":4576,"terminal":false,"missionId":"17b3f674-b94e-4f7e-bf2e-974f514b436a","operation":"ship_and_prove","proofGate":"canonical_release_blocked","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"17b3f674-b94e-4f7e-bf2e-974f514b436a"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":186,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-10T23:06:45.670477+00:00","proof_gate":"canonical_release_blocked","source_sha":null,"external_id":"4576","receipt_type":"ship_and_prove","idempotency_key":"mission:17b3f674-b94e-4f7e-bf2e-974f514b436a:ship_and_prove:canonical_release_blocked:no-source:no-run","mission_step_id":"7edc99e5-8401-4f9a-bdff-f257c0b09b03","command_center_event_id":"17b3f674-b94e-4f7e-bf2e-974f514b436a"},{"id":"59a52f5f-ee40-4f35-9786-a0db359aae42","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Reconcile the current exact-head Gate for PR #1579 after the refreshed run had time to progress. Preserve this same branch and PR. If green, squash merge, release only frontend plus owner-video-studio Supabase Edge Function, and prove live /admin/video-studio plus provider configuration. Repair only exact change-caused gate failures. Do not mutate control-plane files.","wordingChanged":false,"canonicalIntent":"Reconcile the current exact-head Gate for PR #1579 after the refreshed run had time to progress. Preserve this same branch and PR. If green, squash merge, release only frontend plus owner-video-studio Supabase Edge Function, and prove live /admin/video-studio plus provider configuration. Repair only exact change-caused gate failures. Do not mutate control-plane files.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"Continue the existing owner-video-studio cloud delivery on PR #1579 from its exact current head. Reconcile KnockLaunch Gate, fix only failures caused by this change if any, preserve the same PR and branch, squash merge when green, deploy only the frontend and owner-video-studio Supabase Edge Function, then prove the live /admin/video-studio route and backend provider configuration state. Do not mutate control-plane files.","proofConditionIds":["proof-production"]}],"objective":"Reconcile the current exact-head Gate for PR #1579 after the refreshed run had time to progress. Preserve this same branch and PR. If green, squash merge, release only frontend plus owner-video-studio Supabase Edge Function, and prove live /admin/video-studio plus provider configuration. Repair only exact change-caused gate failures. Do not mutate control-plane files.","constraints":[],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"Continue the existing owner-video-studio cloud delivery on PR #1579 from its exact current head. Reconcile KnockLaunch Gate, fix only failures caused by this change if any, preserve the same PR and branch, squash merge when green, deploy only the frontend and owner-video-studio Supabase Edge Function, then prove the live /admin/video-studio route and backend provider configuration state. Do not mutate control-plane files.","route":"/admin/video-studio","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"272ec4767a8f5c766d38ae116c75f718bf89daeddf5d2e568d52b11ec4a9f5bf","requestContractRevision":7,"previousRequestContractHash":"a0e9fd222323102058fddcfcf1468af5a37845c8248b83d069e01c3bcba3b172"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-03T17:08:06.564598+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:4b6d960e-8edc-4398-8e9c-37a583d1626a:request-contract-revision:7:272ec4767a8f5c766d38ae116c75f718bf89daeddf5d2e568d52b11ec4a9f5bf","mission_step_id":"224cbd3e-aebe-42b6-b610-1e8ef32e561e","command_center_event_id":"4b6d960e-8edc-4398-8e9c-37a583d1626a"},{"id":"59a53ab2-fead-4cf1-a452-219022c5ec74","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-557457b23d1f","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":18817,"releaseCount":0,"toolCallCount":7,"repeatedCallCount":1,"executorlessWaitMs":99040,"firstUsefulResultAt":"2026-09-28T17:56:49.601Z","recoveryAttemptCount":2,"ownerInterruptionCount":0},"version":"1.58.306-paul-repo-health-routing","prNumber":4028,"terminal":false,"missionId":"557457b2-3d1f-44ee-9441-a5c863fcf9ec","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"b810579b83a615fe2b764a899aa0b5e066c27329","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":638,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":49,"approvedPlanMs":0,"missionSetupMs":1573,"providerAuthMs":0,"shipAndProveMs":204,"ledgerPrepareMs":318,"ledgerReconcileMs":0,"lineageReconcileMs":1255,"resolvePreflightMs":1573,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":318,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"557457b2-3d1f-44ee-9441-a5c863fcf9ec"},"performance":null,"deploymentId":"forgejo-main-b810579b83a6","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2622,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T17:58:16.832634+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"b810579b83a615fe2b764a899aa0b5e066c27329","external_id":"forgejo-main-b810579b83a6","receipt_type":"execute_mission","idempotency_key":"mission:557457b2-3d1f-44ee-9441-a5c863fcf9ec:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"46c52276-30fc-4cdd-8fe9-9ca523ca443e","command_center_event_id":"557457b2-3d1f-44ee-9441-a5c863fcf9ec"},{"id":"59a5e9e2-4e56-4a49-9fb4-53ac5ee7b9c3","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Advance repair generation 4 only to complete PR attachment after the prior generation cleared stale lineage but hit a retryable Forgejo GET timeout. Adopt the exact complete already-applied corrective branch delta with zero new source changes: old collided migration deleted, identical SQL at 20260906014800, and test reference updated. Create/reuse the corrective PR, pass Gate, squash merge, release affected targets, and prove app_background_jobs live. No Visual Witness.","wordingChanged":false,"canonicalIntent":"Advance repair generation 4 only to complete PR attachment after the prior generation cleared stale lineage but hit a retryable Forgejo GET timeout. Adopt the exact complete already-applied corrective branch delta with zero new source changes: old collided migration deleted, identical SQL at 20260906014800, and test reference updated. Create/reuse the corrective PR, pass Gate, squash merge, release affected targets, and prove app_background_jobs live. No Visual Witness.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"long-running-jobs","statement":"Long-running app work has durable progress, active-work UI, and deduped terminal notifications, with Roof Estimator wired as the first producer.","proofConditionIds":["repo-ui","repo-estimator","repo-bell","repo-migration","release","database"]}],"objective":"Advance repair generation 4 only to complete PR attachment after the prior generation cleared stale lineage but hit a retryable Forgejo GET timeout. Adopt the exact complete already-applied corrective branch delta with zero new source changes: old collided migration deleted, identical SQL at 20260906014800, and test reference updated. Create/reuse the corrective PR, pass Gate, squash merge, release affected targets, and prove app_background_jobs live. No Visual Witness.","constraints":[{"id":"preserve","statement":"Preserve all #1912 product behavior, existing notification/preferences data, existing migration ledger rows, and Roof Estimator result behavior; do not modify the roof-estimator Edge Function.","proofConditionIds":["repo-estimator","repo-migration","database"]},{"id":"resequence-only","statement":"The corrective source remains only the migration resequence from collided 20260906013000 to unused 20260906014800 plus its contract-test reference; repair-generation advancement adds no product source changes.","proofConditionIds":["repo-migration"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repo-ui","kind":"repository","claim":"Notifications center shows Active work.","route":"src/pages/crm/UnifiedNotifications.tsx","roleRef":null,"userRef":null,"required":true,"expectedText":"Active work","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"repo-estimator","kind":"repository","claim":"Roof Estimator uses roof.measurement background jobs.","route":"src/pages/roof-estimator/RoofTracingPage.tsx","roleRef":null,"userRef":null,"required":true,"expectedText":"jobType: 'roof.measurement'","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"repo-bell","kind":"repository","claim":"Notification bell exposes active background jobs.","route":"src/components/notifications/NotificationBell.tsx","roleRef":null,"userRef":null,"required":true,"expectedText":"active background job","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"repo-migration","kind":"repository","claim":"Current Forgejo source contains the resequenced universal background-jobs migration.","route":"supabase/migrations/20260906014800_universal_background_jobs.sql","roleRef":null,"userRef":null,"required":true,"expectedText":"create table if not exists public.app_background_jobs","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"release","kind":"release","claim":"Affected production targets complete from the exact corrective merged source.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"database","kind":"runtime","claim":"Production contains app_background_jobs with tenant/user isolation and terminal notification transition behavior.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"0a90f5d6f9e3723f547e343d4429237ed65fa2d9d67b1b1e6fd0f8bdeb707a70","requestContractRevision":17,"previousRequestContractHash":"f221101bc25467ff4f6acc30af5fa965491325212cd6cae80685b6c195629df4"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-06T02:01:39.624325+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:b8f0e488-cb62-41a3-9d2e-48f214fe07c4:request-contract:0a90f5d6f9e3723f547e343d4429237ed65fa2d9d67b1b1e6fd0f8bdeb707a70","mission_step_id":"ab888721-f04c-4a62-b9fd-40986e53c32f","command_center_event_id":"b8f0e488-cb62-41a3-9d2e-48f214fe07c4"},{"id":"59a6b71e-4c4d-484d-8c31-75300f165531","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"waiting\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"runtime\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-09-23T14:39:36.15901+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-327fbd8a71db\",\"prNumber\":3508,\"sourceSha\":\"b28d4e96c7b94f8da1544570def9be44fadf020d\",\"deploymentId\":\"forgejo-main-b28d4e96c7b9\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-23T11:14:39.584245+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:327fbd8a-71db-4501-b47e-e1ab49d54700:owner-progress-heartbeat:119344138","mission_step_id":"b0ab1a8e-cdb1-4172-afbf-a24a847b5a3b","command_center_event_id":"327fbd8a-71db-4501-b47e-e1ab49d54700"},{"id":"59a8ef56-f6c0-4c5b-b323-693eac61ef90","source":"durable-mission-ledger","status":"pending","payload":{"sourceSha":"b7cd84f1ad8c1ca8157b5c1afebb1506439f4034","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"outcome-1","satisfied":false,"statement":"All 5,665 staged valid legacy rows are reconciled into canonical PCG cards with imported count proven and zero duplicate legacy import keys.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-2","satisfied":false,"statement":"PCG has a live tenant-scoped Card Vault where users can browse/search/filter cards and open card detail.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-3","satisfied":false,"statement":"PCG users can create a new card and attach front/back media from phone or desktop through the canonical PCG workflow.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-4","satisfied":false,"statement":"New PCG card media uses the new PCG/Anthony Cloudflare-backed storage path; Supabase remains canonical for relational and workflow state.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-5","satisfied":false,"statement":"The original Squarespace scrape remains a point-in-time migration and a later delta import can run idempotently without duplicating previously imported cards.","proofConditionIds":["proof-repository","proof-runtime"]}],"satisfied":false,"constraints":[{"id":"constraint-1","satisfied":false,"statement":"Do not delete or overwrite the 5,665 staged legacy rows before reconciliation is proven.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"constraint-2","satisfied":false,"statement":"Do not create a parallel card database outside the existing card_grading_* canonical model.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"constraint-3","satisfied":false,"statement":"Do not use Google Drive as the canonical master-media destination for new PCG card uploads.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"constraint-4","satisfied":false,"statement":"Preserve current PCG zoom behavior and do not auto-redirect away from the PCG home/workspace route.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"capability-completeness","satisfied":false,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"atomic-capability-lifecycle","satisfied":false,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["proof-repository","proof-runtime"]}],"contractHash":"2c889d2a97eaae6c3367d9b02df0459b2e3b4a9d9d0f2aa20b10806da5d03f90","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"proof-repository","kind":"repository","evidence":{"reason":"missing_required_release_targets:migrations","gateRunId":null,"satisfied":false,"gateTestProof":null,"gateTestPassed":false,"missingTargets":["migrations"],"gateTestExecuted":false,"disallowedTargets":[],"migrationRequired":true,"namedGateTestPath":null,"releaseTargetStates":{"frontend":"success","supabaseEdge":"success"},"repositoryProofGate":null,"repositoryProofPath":null,"requestContractHash":"2c889d2a97eaae6c3367d9b02df0459b2e3b4a9d9d0f2aa20b10806da5d03f90","unsuccessfulTargets":[],"activeReleaseTargets":["frontend","supabaseEdge"],"allowedReleaseTargets":[],"repositoryProofStatus":"required","expectedRepositoryPath":null,"namedGateTestSatisfied":true,"requiredReleaseTargets":["migrations"],"migrationReleaseVerified":false,"repositoryConditionBound":false,"repositoryProofSourceSha":null},"required":true,"satisfied":false},{"id":"proof-runtime","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"frontend":"success","supabaseEdge":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["frontend","supabaseEdge"],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"migrationReleaseVerified":null,"releaseRequestContractHash":"2c889d2a97eaae6c3367d9b02df0459b2e3b4a9d9d0f2aa20b10806da5d03f90"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":["repository"],"activeReleaseTargets":["frontend","supabaseEdge"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":3},"tenant_id":"9602e177-0cbb-496c-bdf5-2fbc93f1b859","created_at":"2026-10-03T19:26:05.25827+00:00","proof_gate":"request_contract_pending","source_sha":"b7cd84f1ad8c1ca8157b5c1afebb1506439f4034","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:76061044-8f8b-467e-ab75-bf5b2795064f:request-contract:2c889d2a97eaae6c3367d9b02df0459b2e3b4a9d9d0f2aa20b10806da5d03f90:b7cd84f1ad8c1ca8157b5c1afebb1506439f4034:pending:repository","mission_step_id":"4ea215cb-e7f3-47ff-bf9c-7caa8ad4b84b","command_center_event_id":"76061044-8f8b-467e-ab75-bf5b2795064f"},{"id":"59a9ef7c-b258-4a07-9d63-d422adf387f2","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/test/event-driven-auto-merge-invariants.test.js"],"reason":"Repair a deterministic control plane test-schema drift exposed by strict Gate run #3522. The capability JSON stores the two queue-hygiene values inside config.release; the invariant incorrectly reads root fields. Test-only correction, no runtime behavior change.","baseSha":"76bebb14a0d7243629ec918581867a4d8e78b055","issuedAt":1788054730816,"expiresAt":1788054910816,"missionId":"9b9cfdfa-f2c0-4ab2-ae28-5cf3d78e92a2","singleUse":true,"authorizationId":"8153655a-5bdd-4430-8a95-69732d3a5e46"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-30T01:52:11.637087+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"76bebb14a0d7243629ec918581867a4d8e78b055","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:8153655a-5bdd-4430-8a95-69732d3a5e46","mission_step_id":"54ad088c-14a1-4333-a339-d56b3e7573f1","command_center_event_id":"9b9cfdfa-f2c0-4ab2-ae28-5cf3d78e92a2"},{"id":"59aa4795-09c8-435e-8468-838af059f1dd","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-9706d26f4539","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":69038,"releaseCount":0,"toolCallCount":21,"repeatedCallCount":13,"executorlessWaitMs":3089684,"firstUsefulResultAt":"2026-10-01T16:49:56.195Z","recoveryAttemptCount":12,"ownerInterruptionCount":0},"version":null,"prNumber":4374,"terminal":false,"missionId":"9706d26f-4539-44ca-9552-7ad18139ce31","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":2176,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"9706d26f-4539-44ca-9552-7ad18139ce31"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T17:40:35.818292+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"4374","receipt_type":"automatic_mission_resume","idempotency_key":"mission:9706d26f-4539-44ca-9552-7ad18139ce31:automatic-mission-resume:4374:repair_mission_pr_ready_retryable","mission_step_id":"4d75a231-4a87-4c5e-b585-0f5930b496a7","command_center_event_id":"9706d26f-4539-44ca-9552-7ad18139ce31"},{"id":"59abc1c4-fa17-467a-a975-ff2cee01751b","source":"cc-execution","status":"pending","payload":{"ok":true,"jobId":"01f9cb73-4eb6-4e1e-a446-443382123dfa","phase":"universal_visual_witness_supervised","branch":"ai/objective-first-repair-bcf1a5500222","reason":null,"status":"pending","metrics":{"receiptBytes":25233,"releaseCount":0,"toolCallCount":17,"repeatedCallCount":8,"executorlessWaitMs":294429,"firstUsefulResultAt":"2026-10-02T12:04:10.821Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":4455,"terminal":false,"missionId":"bcf1a550-0222-48ff-93f7-a0bb21d890b1","operation":"visual_proof_started","proofGate":"universal_visual_witness_pending","sourceSha":"438b300eb00ca8ba9652b12ecd6296c121d50560","timingsMs":{"queue":294,"total":64,"execution":null},"nextAction":"Execution is pending; poll inspect_route_status only when fresh progress is expected, or cancel with inspect_route_cancel.","receiptRef":{"mode":"full","missionId":"bcf1a550-0222-48ff-93f7-a0bb21d890b1"},"performance":null,"deploymentId":"forgejo-main-438b300eb00c","releaseState":"verified","visualWitness":{"role":"GodMode","jobId":"01f9cb73-4eb6-4e1e-a446-443382123dfa","tenant":"669daee1-57e8-4960-937c-ce397106f32e","runnerUrl":"https://laptop-witness.knocklaunch.app","runnerLane":"laptop","attemptsUsed":0,"supervisorId":"01f9cb73-4eb6-4e1e-a446-443382123dfa","failureReason":null,"observedRoute":null,"runnerVersion":null,"attemptLineage":[],"missionOutcome":null,"requestedRoute":"/tennex-tax-solutions","runnerSourceSha":null,"selectedViewports":["desktop"],"checkpointAccounting":null,"correctiveGeneration":0,"restartReplayHistory":[]},"workflowRunId":14274,"releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1797,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"669daee1-57e8-4960-937c-ce397106f32e","created_at":"2026-10-02T12:09:06.746699+00:00","proof_gate":"post_release_visual_proof_started","source_sha":"438b300eb00ca8ba9652b12ecd6296c121d50560","external_id":"01f9cb73-4eb6-4e1e-a446-443382123dfa","receipt_type":"visual_proof_started","idempotency_key":"mission:bcf1a550-0222-48ff-93f7-a0bb21d890b1:visual-start:01f9cb73-4eb6-4e1e-a446-443382123dfa","mission_step_id":"1138e974-3894-4a4c-bcfe-b35ac6a96c6e","command_center_event_id":"bcf1a550-0222-48ff-93f7-a0bb21d890b1"},{"id":"59adda73-0eab-4595-b3e6-4c7ddf2ef04c","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/private-seo-frontend-promotion","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.118-architecture-exclusivity","prNumber":null,"terminal":false,"missionId":"d4909fb1-3cee-4599-8fbc-9e4d1a061e30","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":2020,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":753,"providerAuthMs":0,"ledgerPrepareMs":753,"ledgerReconcileMs":211,"lineageReconcileMs":0,"resolvePreflightMs":753,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":964,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"d4909fb1-3cee-4599-8fbc-9e4d1a061e30"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3765,"likelyAffectedFiles":["src/lib/platform/externalPropertyRegistry.ts"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T15:42:00.554484+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:d4909fb1-3cee-4599-8fbc-9e4d1a061e30:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"52c0f73c-8cc5-4d25-8c83-c2140b6436a3","command_center_event_id":"d4909fb1-3cee-4599-8fbc-9e4d1a061e30"},{"id":"59aec087-0b36-4d68-b87d-7c6f49346c22","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-9c8c77714c99","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":12940,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":2,"executorlessWaitMs":492627,"firstUsefulResultAt":"2026-09-29T17:17:58.457Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.6-paul-foreground-readiness-budget","prNumber":4152,"terminal":false,"missionId":"9c8c7771-4c99-44ba-8d27-777f085a459e","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4249,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":522,"missionSetupMs":300,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":300,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":300,"repositoryMutationMs":3727,"repositoryProviderMs":3727,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2400,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":300,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1327},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"9c8c7771-4c99-44ba-8d27-777f085a459e"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4043,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T17:26:17.628061+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"4152","receipt_type":"execute_mission","idempotency_key":"mission:9c8c7771-4c99-44ba-8d27-777f085a459e:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"9110567a-19bd-40ce-b8ea-d95858865122","command_center_event_id":"9c8c7771-4c99-44ba-8d27-777f085a459e"},{"id":"59aec77c-2fd4-406c-9876-5f838457eb39","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Add the durable readable tenant storage assignment invariant to PR 1845 and remove the no-longer-needed one-time migration token scaffolding. Production has already been migrated to zero tenant/demo UUID buckets; this repository migration prevents recurrence.","wordingChanged":false,"canonicalIntent":"Add the durable readable tenant storage assignment invariant to PR 1845 and remove the no-longer-needed one-time migration token scaffolding. Production has already been migrated to zero tenant/demo UUID buckets; this repository migration prevents recurrence.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-readable-storage","statement":"All tenant/demo storage settings and physical tenant-owned buckets use stable human-readable names, with existing stored objects preserved.","proofConditionIds":["proof-repository","proof-zero-uuid-buckets","proof-assets"]}],"objective":"Add the durable readable tenant storage assignment invariant to PR 1845 and remove the no-longer-needed one-time migration token scaffolding. Production has already been migrated to zero tenant/demo UUID buckets; this repository migration prevents recurrence.","constraints":[{"id":"constraint-shared-identifiers","statement":"Do not alter legitimate UUID identifiers used inside unrelated shared buckets such as job IDs, user IDs, contact-files, or visual-witness storage.","proofConditionIds":["proof-repository","proof-zero-uuid-buckets","proof-assets"]},{"id":"constraint-preserve-assets","statement":"Preserve existing tenant_media_assets IDs and representative Curri and 321 stored assets.","proofConditionIds":["proof-repository","proof-zero-uuid-buckets","proof-assets"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Current Forgejo main provisions readable tenant buckets and contains the migration contract.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-zero-uuid-buckets","kind":"runtime","claim":"No physical storage bucket named tenant-<full UUID> or demo-<full UUID> remains after migration.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-assets","kind":"runtime","claim":"Representative migrated Curri and 321 assets remain readable after the bucket migration.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"4c320be6f4c952052477631ad139e62e6d8cfb1ecdd169b3c8c0831be508e1df","requestContractRevision":4,"previousRequestContractHash":"f296b3fed97049733a5898962dbeffaca8b40e47573d5c8c63f87a54ea5ff2d8"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-05T14:18:43.711358+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:cbb70c5a-cfcf-48bc-b06c-b23e1028284d:request-contract:4c320be6f4c952052477631ad139e62e6d8cfb1ecdd169b3c8c0831be508e1df","mission_step_id":"0dce9749-d143-43f7-97fb-7a6a1af13fcb","command_center_event_id":"cbb70c5a-cfcf-48bc-b06c-b23e1028284d"},{"id":"59af16c8-13dc-44d8-872d-6335350e0117","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success"},"mainSha":"2e9106492ac7a4f71a62e6545d5731f7490489fa","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"2e9106492ac7a4f71a62e6545d5731f7490489fa","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"success"},"requestContractHash":"a1a5d283f8be334690893097042f2b319df935e751616f364c3185ede6b54fed","forgejoWorkflowProof":{"runId":12001,"source":"signed_push_receipt","status":"success","results":{},"conclusion":"success","targetStates":{"frontend":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-26T16:29:16.416063+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"2e9106492ac7a4f71a62e6545d5731f7490489fa","external_id":"forgejo-main-2e9106492ac7","receipt_type":"canonical_release_status","idempotency_key":"mission:dc5b6dc7-13ab-4331-abcc-ac3976fbf999:forgejo-release-status:2e9106492ac7a4f71a62e6545d5731f7490489fa:verified:forgejo-main/source=success|forgejo-release/workflow=success|frontend-cloudflare/live=success","mission_step_id":"a6e53bd5-8823-4666-a633-37a1bfa59fd9","command_center_event_id":"dc5b6dc7-13ab-4331-abcc-ac3976fbf999"},{"id":"59afd0dc-cb99-4628-98fd-082323d15f69","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"workers/cc-execution/src/scoped-repo-patch-policy.js","content":"export const SCOPED_REPO_PATCH_LATENCY_POLICY = Object.freeze({\n  readTimeoutMs: 5000,\n  readAttemptTimeoutMs: 2000,\n  readTotalBudgetMs: 4500,\n  readMaxAttempts: 2,\n  readRetryDelayMs: 100,\n  writeTimeoutMs: 5000,\n  branchCreateTimeoutMs: 2500,\n  atomicCommitTimeoutMs: 2500,\n  atomicCommitHardTimeoutMs: 12000,\n  atomicFinalReconcileBudgetMs: 6000,\n  atomicReconcileReadTimeoutMs: 1200,\n  atomicReconcileAttempts: 2,\n  atomicReconcileDelayMs: 100,\n  prCreateTimeoutMs: 2500,\n  prReconcileReadTimeoutMs: 2500,\n});\n"},{"path":"workers/cc-execution/src/version.js","content":"// Release marker: Forgejo is the canonical repository and self-hosted Actions control plane.\nexport const CC_EXECUTION_VERSION = \"1.58.250-scoped-patch-timeout-recovery\";\n"}],"branch":"ai/objective-first-repair-acdb75211245","writes":[],"patches":[],"version":1,"approved":true,"missionId":"acdb7521-1245-4b43-881a-bd2345be622b","objective":"Continue the same control-plane timeout repair with exact two-file writes and preserve the explicit maintenance authorization/unfreeze. Do not synthesize companion files. Apply only these writes, then proceed to the one PR, Gate, squash merge, cc-execution release, and runtime proof.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/scoped-repo-patch-policy.js","workers/cc-execution/src/version.js"],"implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"acdb7521-1245-4b43-881a-bd2345be622b","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/scoped-repo-patch-policy.js","workers/cc-execution/src/version.js"],"requestContract":null,"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/scoped-repo-patch-policy.js","workers/cc-execution/src/version.js"],"controlPlaneMaintenanceReason":"Owner explicitly authorized this bounded control-plane mutation to unblock the Big Papi production repair."},"proofRequirements":null,"controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/scoped-repo-patch-policy.js","workers/cc-execution/src/version.js"],"controlPlaneMaintenanceReason":"Owner explicitly authorized this bounded control-plane mutation to unblock the Big Papi production repair."},"recovery":false,"fingerprint":"de9830a26a505505e4f88da604141c4535d741295b9ecf911dc77d7bd7715489","replayCount":0,"serializedBytes":2641},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T07:20:36.156884+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:acdb7521-1245-4b43-881a-bd2345be622b:repository-mutation-intent:de9830a26a505505e4f88da604141c4535d741295b9ecf911dc77d7bd7715489:0","mission_step_id":"d6b7a3db-9925-440a-b818-536f37244864","command_center_event_id":"acdb7521-1245-4b43-881a-bd2345be622b"},{"id":"59b03525-0242-43a6-851a-494c00d4fdeb","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"pull_request_exists_without_merged_source","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"owner_progress_heartbeat\",\"status\":\"waiting\",\"proofGate\":\"owner_progress_heartbeat\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"pull_request_exists_without_merged_source\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-pcg-mobile-vault-controls\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"release\",\"deadlineAt\":\"2026-10-06T05:55:56.623616+00:00\",\"recoveryAction\":\"reconcile_pull_request\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":5147,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T06:24:59.83088+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:b78054b5-ff74-493d-9d49-b3305dbc800c:owner-progress-heartbeat:119417859","mission_step_id":"986497ca-c7bb-469a-819a-206da30cca37","command_center_event_id":"b78054b5-ff74-493d-9d49-b3305dbc800c"},{"id":"59b0412c-76ce-4519-ab66-ceada3999ba4","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"branch":"ai/objective-first-repair-44f070bdc846","writes":[],"patches":[],"version":1,"approved":true,"missionId":"44f070bd-c846-4e51-8ed8-ec3fbe1a75aa","objective":"Reduce owner-facing Forgejo operator tail latency without changing global provider semantics. Add an operator-specific 250ms hedge delay for bounded idempotent direct-operator GETs while preserving the existing 1200ms attempt timeout, 2500ms total budget, maximum two physical GETs, retry behavior, brownout behavior, and the global 900ms provider hedge for heavier callers. Keep mutations unhedged. Expose the operator hedge policy in control-plane capabilities, add regression coverage, Gate, squash merge, release cc-execution, and verify live with fresh runner-list and resilience timings.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/index-mcp.js","workers/cc-execution/test/mcp.test.js","workers/cc-execution/test/release-orchestration-invariants.test.js","workers/cc-execution/src/version.js","config/control-plane-capabilities.json"],"anchored_edits":[{"path":"workers/cc-execution/src/index-mcp.js","edits":[{"new_content":"const FORGEJO_OPERATOR_READ_ATTEMPT_TIMEOUT_MS = 1200;\nconst FORGEJO_OPERATOR_READ_TOTAL_BUDGET_MS = 2500;\nconst FORGEJO_OPERATOR_READ_MAX_ATTEMPTS = 2;\nconst FORGEJO_OPERATOR_READ_RETRY_DELAY_MS = 100;\nconst FORGEJO_OPERATOR_READ_HEDGE_DELAY_MS = 250;","old_content":"const FORGEJO_OPERATOR_READ_ATTEMPT_TIMEOUT_MS = 1200;\nconst FORGEJO_OPERATOR_READ_TOTAL_BUDGET_MS = 2500;\nconst FORGEJO_OPERATOR_READ_MAX_ATTEMPTS = 2;\nconst FORGEJO_OPERATOR_READ_RETRY_DELAY_MS = 100;"},{"new_content":"    maxAttempts: FORGEJO_OPERATOR_READ_MAX_ATTEMPTS,\n    retryDelayMs: FORGEJO_OPERATOR_READ_RETRY_DELAY_MS,\n    hedgeDelayMs: FORGEJO_OPERATOR_READ_HEDGE_DELAY_MS,\n  });","old_content":"    maxAttempts: FORGEJO_OPERATOR_READ_MAX_ATTEMPTS,\n    retryDelayMs: FORGEJO_OPERATOR_READ_RETRY_DELAY_MS,\n  });"}]},{"path":"config/control-plane-capabilities.json","edits":[{"new_content":"    \"forgejoReadHedgeDelayMs\": 900,\n    \"forgejoReadHedgePolicy\": \"idempotent_two_attempt_forgejo_gets_start_one_delayed_second_get_after_900ms_only_if_the_first_is_still_pending_both_share_the_same_shared_hard_deadline_first_success_or_definitive_non_retryable_result_wins_maximum_two_physical_gets_no_increased_wall_clock_budget_brownout_one_attempt_mode_does_not_hedge_mutations_never_hedge\",\n    \"forgejoOperatorReadHedgeDelayMs\": 250,\n    \"forgejoOperatorReadHedgePolicy\": \"owner_facing_idempotent_direct_operator_gets_use_one_250ms_delayed_hedge_inside_the_existing_2500ms_total_budget_maximum_two_physical_gets_global_900ms_provider_policy_remains_authoritative_for_heavier_callers_mutations_never_hedge\",","old_content":"    \"forgejoReadHedgeDelayMs\": 900,\n    \"forgejoReadHedgePolicy\": \"idempotent_two_attempt_forgejo_gets_start_one_delayed_second_get_after_900ms_only_if_the_first_is_still_pending_both_share_the_same_shared_hard_deadline_first_success_or_definitive_non_retryable_result_wins_maximum_two_physical_gets_no_increased_wall_clock_budget_brownout_one_attempt_mode_does_not_hedge_mutations_never_hedge\","}]},{"path":"workers/cc-execution/test/mcp.test.js","edits":[{"new_content":"test(\"runner inventory hot path uses concurrent Forgejo reads\", async () => {\n  const source = await import('node:fs/promises').then((fs) => fs.readFile(new URL('../src/index-mcp.js', import.meta.url), 'utf8'));\n  assert.match(source, /const \\[repoRead, userRead\\] = await Promise\\.all\\(\\[/);\n  assert.match(source, /const \\[inventory, runsRead\\] = await Promise\\.all\\(\\[/);\n});\n\ntest(\"owner-facing Forgejo operator reads use the tighter bounded hedge\", async () => {\n  const source = await import('node:fs/promises').then((fs) => fs.readFile(new URL('../src/index-mcp.js', import.meta.url), 'utf8'));\n  assert.match(source, /FORGEJO_OPERATOR_READ_HEDGE_DELAY_MS = 250/);\n  assert.match(source, /hedgeDelayMs: FORGEJO_OPERATOR_READ_HEDGE_DELAY_MS/);\n  assert.match(source, /FORGEJO_OPERATOR_READ_TOTAL_BUDGET_MS = 2500/);\n  assert.match(source, /FORGEJO_OPERATOR_READ_MAX_ATTEMPTS = 2/);\n});","old_content":"test(\"runner inventory hot path uses concurrent Forgejo reads\", async () => {\n  const source = await import('node:fs/promises').then((fs) => fs.readFile(new URL('../src/index-mcp.js', import.meta.url), 'utf8'));\n  assert.match(source, /const \\[repoRead, userRead\\] = await Promise\\.all\\(\\[/);\n  assert.match(source, /const \\[inventory, runsRead\\] = await Promise\\.all\\(\\[/);\n});"}]},{"path":"workers/cc-execution/test/release-orchestration-invariants.test.js","edits":[{"new_content":"  assert.equal(config.efficiency.forgejoReadHedgeDelayMs, 900);\n  assert.match(config.efficiency.forgejoReadHedgePolicy, /same_shared_hard_deadline/);\n  assert.match(config.efficiency.forgejoReadHedgePolicy, /maximum_two_physical_gets/);\n  assert.equal(config.efficiency.forgejoOperatorReadHedgeDelayMs, 250);\n  assert.match(config.efficiency.forgejoOperatorReadHedgePolicy, /existing_2500ms_total_budget/);\n  assert.match(config.efficiency.forgejoOperatorReadHedgePolicy, /maximum_two_physical_gets/);\n  assert.match(config.efficiency.forgejoOperatorReadHedgePolicy, /mutations_never_hedge/);","old_content":"  assert.equal(config.efficiency.forgejoReadHedgeDelayMs, 900);\n  assert.match(config.efficiency.forgejoReadHedgePolicy, /same_shared_hard_deadline/);\n  assert.match(config.efficiency.forgejoReadHedgePolicy, /maximum_two_physical_gets/);"}]},{"path":"workers/cc-execution/src/version.js","edits":[{"new_content":"export const CC_EXECUTION_VERSION = \"1.58.269-operator-hedge-250ms\";","old_content":"export const CC_EXECUTION_VERSION = \"1.58.268-parallel-forgejo-operator-reads\";"}]}],"implementation":{"files":[],"writes":[]},"requestContract":{"outcomes":[{"id":"operator-tail-latency","statement":"Bounded idempotent direct-operator Forgejo GETs launch their second hedge after 250ms instead of inheriting the global 900ms delay.","proofConditionIds":["operator-hedge-runtime"]}],"constraints":[{"id":"global-provider-unchanged","statement":"The shared global Forgejo provider keeps its 900ms hedge policy and heavier callers retain their existing budgets.","proofConditionIds":["operator-hedge-runtime"]},{"id":"writes-unhedged","statement":"Forgejo mutations remain unhedged and maximum physical GET count remains two.","proofConditionIds":["operator-hedge-runtime"]}],"proofConditions":[{"id":"operator-hedge-runtime","kind":"runtime","claim":"Live cc-execution runs the 250ms operator hedge policy with the global 900ms provider hedge preserved, followed by fresh runner-list and resilience measurements.","required":true,"requiredReleaseTargets":["ccExecution"]}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/index-mcp.js","workers/cc-execution/test/mcp.test.js","workers/cc-execution/test/release-orchestration-invariants.test.js","workers/cc-execution/src/version.js","config/control-plane-capabilities.json"],"requestContract":{"outcomes":[{"id":"operator-tail-latency","statement":"Bounded idempotent direct-operator Forgejo GETs launch their second hedge after 250ms instead of inheriting the global 900ms delay.","proofConditionIds":["operator-hedge-runtime"]}],"constraints":[{"id":"global-provider-unchanged","statement":"The shared global Forgejo provider keeps its 900ms hedge policy and heavier callers retain their existing budgets.","proofConditionIds":["operator-hedge-runtime"]},{"id":"writes-unhedged","statement":"Forgejo mutations remain unhedged and maximum physical GET count remains two.","proofConditionIds":["operator-hedge-runtime"]}],"proofConditions":[{"id":"operator-hedge-runtime","kind":"runtime","claim":"Live cc-execution runs the 250ms operator hedge policy with the global 900ms provider hedge preserved, followed by fresh runner-list and resilience measurements.","required":true,"requiredReleaseTargets":["ccExecution"]}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/index-mcp.js","workers/cc-execution/test/mcp.test.js","workers/cc-execution/test/release-orchestration-invariants.test.js","workers/cc-execution/src/version.js","config/control-plane-capabilities.json"],"controlPlaneMaintenanceReason":"Tighten only owner-facing idempotent Forgejo operator hedge timing while preserving the shared provider's broader safety budgets."},"proofRequirements":null,"controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/index-mcp.js","workers/cc-execution/test/mcp.test.js","workers/cc-execution/test/release-orchestration-invariants.test.js","workers/cc-execution/src/version.js","config/control-plane-capabilities.json"],"controlPlaneMaintenanceReason":"Tighten only owner-facing idempotent Forgejo operator hedge timing while preserving the shared provider's broader safety budgets."},"recovery":false,"fingerprint":"fea4d6b74cd09beb26e764c5764d7c3e4283842fc999e855f3284b21281a8a7e","replayCount":0,"serializedBytes":9241},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T00:15:13.926588+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:44f070bd-c846-4e51-8ed8-ec3fbe1a75aa:repository-mutation-intent:fea4d6b74cd09beb26e764c5764d7c3e4283842fc999e855f3284b21281a8a7e:0","mission_step_id":"c7e9fb4d-1f77-4fb7-964b-ae33f255e659","command_center_event_id":"44f070bd-c846-4e51-8ed8-ec3fbe1a75aa"},{"id":"59b2a9a0-d421-4bc5-b26b-18d42c54e47b","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/fix-seaside-editor-interactions-20260804","reason":"anchored_edits resolution failed","status":"blocked","metrics":{"receiptBytes":4203,"releaseCount":0,"toolCallCount":4,"repeatedCallCount":2,"ownerInterruptionCount":0},"version":"1.30.11-single-mission-terminal-workflow","prNumber":null,"terminal":false,"missionId":"3e99a08b-50db-44c0-9a2d-d8c51545c2d9","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"3e99a08b-50db-44c0-9a2d-d8c51545c2d9"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"onePullRequest":true,"terminalProofRequired":true},"sourceReceiptBytes":473,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"c55998b4-82a3-467e-8d35-177bb4785f6e","created_at":"2026-08-04T16:08:52.805511+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:3e99a08b-50db-44c0-9a2d-d8c51545c2d9:execute_mission:repair_mission_execution_blocked","mission_step_id":"78055648-5df5-4821-ad24-765fbecf09dc","command_center_event_id":"3e99a08b-50db-44c0-9a2d-d8c51545c2d9"},{"id":"59b31847-1fd4-4533-bb07-3f83a2d2f249","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"workers/cc-execution/test/owner-execution-contract-autocompile.test.js","content":"import test from \"node:test\";\nimport assert from \"node:assert/strict\";\nimport { readFile } from \"node:fs/promises\";\n\nimport {\n  normalizeRequestContract,\n  requestContractRequiresExplicitMutation,\n} from \"../src/command-center-contracts.js\";\n\nfunction derived(objective, paths = []) {\n  const body = { objective, ship: true };\n  const contract = normalizeRequestContract(body, objective);\n  return { body, contract, paths };\n}\n\ntest(\"exact non-sensitive scope can auto-compile despite contextual database wording\", () => {\n  const { body, contract, paths } = derived(\n    \"Update the workspace UI so database status is described accurately.\",\n    [\"src/pages/workspace/WorkspaceStatus.tsx\"],\n  );\n  assert.equal(contract.valid, true);\n  assert.equal(requestContractRequiresExplicitMutation(body, contract, body.objective, paths), false);\n});\n\ntest(\"contextual sensitive wording without exact bounded scope remains fail-closed\", () => {\n  const { body, contract } = derived(\"Repair the database workflow.\");\n  assert.equal(contract.valid, true);\n  assert.equal(requestContractRequiresExplicitMutation(body, contract, body.objective, []), true);\n});\n\ntest(\"auth and credential work remains explicit-contract only even with bounded source\", () => {\n  for (const objective of [\n    \"Repair authentication handling in the session UI.\",\n    \"Rotate credential handling for the provider connection.\",\n  ]) {\n    const { body, contract } = derived(objective, [\"src/session/runtime.ts\"]);\n    assert.equal(requestContractRequiresExplicitMutation(body, contract, body.objective, [\"src/session/runtime.ts\"]), true);\n  }\n});\n\ntest(\"sensitive source paths remain explicit-contract only\", () => {\n  const { body, contract } = derived(\"Improve owner execution reliability.\");\n  assert.equal(\n    requestContractRequiresExplicitMutation(body, contract, body.objective, [\"workers/cc-execution/src/mission-ledger.js\"]),\n    true,\n  );\n});\n\ntest(\"execute_objective MCP schema advertises explicit request contracts\", async () => {\n  const source = await readFile(new URL(\"../src/index-mcp.js\", import.meta.url), \"utf8\");\n  assert.match(source, /requestContract:\\s*\\{\\s*type:\\s*\"object\"/);\n  assert.match(source, /request_contract:\\s*\\{\\s*type:\\s*\"object\"/);\n  assert.match(source, /Required for sensitive durable mutations/);\n});\n"}],"branch":"ai/objective-first-repair-b9a940b267c0","writes":[],"patches":[],"version":1,"approved":true,"missionId":"b9a940b2-67c0-433f-a955-596625a64716","objective":"Continue the owner execution friction repair with the exact bounded edits now provided. Preserve the existing mission, branch, request contract, Gate, merge, release, and proof requirements.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"anchored_edits":[{"path":"workers/cc-execution/src/command-center-contracts.js","edits":[{"new_content":"  const objective = String(objectiveInput || contract.objective || \"\").trim().toLowerCase();\n  const alwaysSensitiveTerms = [\"authentication\", \"authorization\", \"credential\", \"secret\", \"permission\", \"security\", \"row-level security\", \"rls\", \"destructive\"];\n  if (alwaysSensitiveTerms.some((term) => objective.includes(term))) return true;\n  if ([\"drop \", \"truncate \", \"purge \", \"wipe \"].some((term) => objective.includes(term))) return true;\n  if ([\"rotate secret\", \"rotate token\", \"rotate credential\", \"rotate key\", \"revoke secret\", \"revoke token\", \"revoke credential\", \"replace secret\", \"replace token\", \"replace credential\"].some((term) => objective.includes(term))) return true;\n  if ([\"delete data\", \"purge data\", \"rewrite data\", \"backfill data\", \"migrate data\"].some((term) => objective.includes(term))) return true;\n  const boundedPaths = [...new Set((Array.isArray(boundedPathsInput) ? boundedPathsInput : [])\n    .map((entry) => typeof entry === \"string\" ? entry : String(entry?.path || \"\"))\n    .map((value) => value.trim())\n    .filter(Boolean))];\n  const sensitivePath = boundedPaths.some((path) => {\n    const value = path.toLowerCase();\n    if (value === \"config/control-plane-capabilities.json\"\n      || value === \"config/control-plane-restore-point.json\"\n      || value === \".forgejo/workflows/knocklaunch.yml\"\n      || value.startsWith(\"workers/cc-execution/\")\n      || value.startsWith(\"supabase/migrations/\")) return true;\n    const normalized = value.replaceAll(\"-\", \"/\").replaceAll(\"_\", \"/\").replaceAll(\".\", \"/\");\n    const segments = normalized.split(\"/\").filter(Boolean);\n    return segments.some((segment) => [\"auth\", \"authentication\", \"authorization\", \"security\", \"permission\", \"permissions\", \"credential\", \"credentials\", \"secret\", \"secrets\", \"schema\", \"migration\", \"migrations\"].includes(segment));\n  });\n  if (sensitivePath) return true;\n  const contextualSensitiveTerms = [\"control plane\", \"command center\", \"cc execution\", \"schema\", \"migration\", \"database\"];\n  if (boundedPaths.length === 0 && contextualSensitiveTerms.some((term) => objective.includes(term))) return true;\n  return false;","old_content":"  const objective = String(objectiveInput || contract.objective || \"\").trim().toLowerCase();\n  const sensitiveTerms = [\"control plane\", \"command center\", \"cc execution\", \"authentication\", \"authorization\", \"credential\", \"secret\", \"permission\", \"security\", \"schema\", \"migration\", \"database\", \"row-level security\", \"rls\", \"destructive\"];\n  if (sensitiveTerms.some((term) => objective.includes(term))) return true;\n  if ([\"drop \", \"truncate \", \"purge \", \"wipe \"].some((term) => objective.includes(term))) return true;\n  if ([\"rotate secret\", \"rotate token\", \"rotate credential\", \"rotate key\", \"revoke secret\", \"revoke token\", \"revoke credential\", \"replace secret\", \"replace token\", \"replace credential\"].some((term) => objective.includes(term))) return true;\n  if ([\"delete data\", \"purge data\", \"rewrite data\", \"backfill data\", \"migrate data\"].some((term) => objective.includes(term))) return true;\n  const boundedPaths = [...new Set((Array.isArray(boundedPathsInput) ? boundedPathsInput : [])\n    .map((entry) => typeof entry === \"string\" ? entry : String(entry?.path || \"\"))\n    .map((value) => value.trim())\n    .filter(Boolean))];\n  return boundedPaths.some((path) => {\n    const value = path.toLowerCase();\n    if (value === \"config/control-plane-capabilities.json\"\n      || value === \"config/control-plane-restore-point.json\"\n      || value === \".forgejo/workflows/knocklaunch.yml\"\n      || value.startsWith(\"workers/cc-execution/\")\n      || value.startsWith(\"supabase/migrations/\")) return true;\n    const normalized = value.replaceAll(\"-\", \"/\").replaceAll(\"_\", \"/\").replaceAll(\".\", \"/\");\n    const segments = normalized.split(\"/\").filter(Boolean);\n    return segments.some((segment) => [\"auth\", \"authentication\", \"authorization\", \"security\", \"permission\", \"permissions\", \"credential\", \"credentials\", \"secret\", \"secrets\", \"schema\", \"migration\", \"migrations\"].includes(segment));\n  });"}]},{"path":"workers/cc-execution/src/index-mcp.js","edits":[{"new_content":"        workPacket: {},\n        requestContract: { type: \"object\", additionalProperties: true, description: \"Explicit owner request contract with outcomes, constraints, and proofConditions. Required for sensitive durable mutations such as auth/permissions, credentials/secrets, destructive data work, schema/migrations, control-plane bypass/unfreeze, or ambiguous scope; bounded exact non-sensitive owner work may use the inferred contract.\" },\n        request_contract: { type: \"object\", additionalProperties: true, description: \"Alias for requestContract.\" },\n        expectPath: { type: \"string\" },\n        expectText: { type: \"string\" },\n        ship: { type: \"boolean\", description: \"Mutation objectives ship by default after intent classification. Set false only to prepare without release.\" },","old_content":"        workPacket: {},\n        expectPath: { type: \"string\" },\n        expectText: { type: \"string\" },\n        ship: { type: \"boolean\", description: \"Mutation objectives ship by default after intent classification. Set false only to prepare without release.\" },"}]},{"path":"workers/cc-execution/src/version.js","edits":[{"new_content":"export const CC_EXECUTION_VERSION = \"1.64.90-owner-contract-autocompile\";","old_content":"export const CC_EXECUTION_VERSION = \"1.64.89-paul-continuation-receipt-scope\";"}]}],"implementation":{"files":[],"writes":[]},"requestContract":{"outcomes":[{"id":"outcome-bounded-owner-flow","statement":"Unambiguous owner-authorized durable mutations with exact bounded non-sensitive source scope no longer fail solely because the request contract was inferred.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-schema-discoverable","statement":"The public execute_objective MCP schema exposes requestContract/request_contract and documents the sensitive-work requirement.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-sensitive-still-guarded","statement":"Sensitive, destructive, ambiguous, credential, auth, schema/migration, and control-plane-bypass work remains fail-closed unless its explicit contract requirements are satisfied.","proofConditionIds":["proof-repository","proof-runtime"]}],"constraints":[{"id":"constraint-hard-invariants","statement":"Preserve protected-main policy, tenant isolation, credential boundaries, canonical Gate, squash merge, release ownership, and fail-closed behavior.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"constraint-no-bypass","statement":"Do not create a second mutation lane, Gate, merge path, release path, or mechanism that bypasses canonical safety checks.","proofConditionIds":["proof-repository"]},{"id":"constraint-no-visual","statement":"Do not require Visual Witness for this non-visual control-plane contract repair.","proofConditionIds":["proof-runtime"]}],"proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Exact source diff and tests implement bounded auto-contract continuation, preserve sensitive explicit-contract guards, and expose requestContract in the MCP schema.","required":true,"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]},{"id":"proof-runtime","kind":"runtime","claim":"Released runtime proves a harmless bounded owner mutation reaches synthesis without explicit contract while a sensitive test remains blocked without one and succeeds with one.","required":true,"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"b9a940b2-67c0-433f-a955-596625a64716","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"requestContract":{"outcomes":[{"id":"outcome-bounded-owner-flow","statement":"Unambiguous owner-authorized durable mutations with exact bounded non-sensitive source scope no longer fail solely because the request contract was inferred.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-schema-discoverable","statement":"The public execute_objective MCP schema exposes requestContract/request_contract and documents the sensitive-work requirement.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"outcome-sensitive-still-guarded","statement":"Sensitive, destructive, ambiguous, credential, auth, schema/migration, and control-plane-bypass work remains fail-closed unless its explicit contract requirements are satisfied.","proofConditionIds":["proof-repository","proof-runtime"]}],"constraints":[{"id":"constraint-hard-invariants","statement":"Preserve protected-main policy, tenant isolation, credential boundaries, canonical Gate, squash merge, release ownership, and fail-closed behavior.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"constraint-no-bypass","statement":"Do not create a second mutation lane, Gate, merge path, release path, or mechanism that bypasses canonical safety checks.","proofConditionIds":["proof-repository"]},{"id":"constraint-no-visual","statement":"Do not require Visual Witness for this non-visual control-plane contract repair.","proofConditionIds":["proof-runtime"]}],"proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Exact source diff and tests implement bounded auto-contract continuation, preserve sensitive explicit-contract guards, and expose requestContract in the MCP schema.","required":true,"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]},{"id":"proof-runtime","kind":"runtime","claim":"Released runtime proves a harmless bounded owner mutation reaches synthesis without explicit contract while a sensitive test remains blocked without one and succeeds with one.","required":true,"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"b3a7474dbe8bf62908327ba4e4b8399760fb0eab2e05b352b14e7880438f3d7d","replayCount":0,"serializedBytes":13706},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T09:35:49.323065+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:b9a940b2-67c0-433f-a955-596625a64716:repository-mutation-intent:b3a7474dbe8bf62908327ba4e4b8399760fb0eab2e05b352b14e7880438f3d7d:0","mission_step_id":"c7e47b04-44ba-4680-88dc-f7704f3c70f9","command_center_event_id":"b9a940b2-67c0-433f-a955-596625a64716"},{"id":"59b3608f-0106-44d8-b458-925f9eb15041","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/fix-scoped-read-hotpath-20260824","reason":"existing_branch_refresh_failed:707:409","status":"blocked","metrics":{"receiptBytes":4208,"releaseCount":0,"toolCallCount":4,"repeatedCallCount":2,"ownerInterruptionCount":0},"version":"1.50.35-defer-existing-pr-refresh","prNumber":null,"terminal":false,"missionId":"5668d1e1-cac6-4605-b998-633b97b7e5a0","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"5668d1e1-cac6-4605-b998-633b97b7e5a0"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5005,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-25T03:21:47.078526+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:5668d1e1-cac6-4605-b998-633b97b7e5a0:execute_mission:repair_mission_execution_blocked","mission_step_id":"79e9336f-8f2b-4039-90b2-5be1cab03a9e","command_center_event_id":"5668d1e1-cac6-4605-b998-633b97b7e5a0"},{"id":"59b59d6b-5ed0-4818-86c1-ae7f2227712d","source":"cc-execution-autonomous-supervisor","status":"advanced","payload":{"trigger":"cloudflare_cron","leaseEpoch":1,"afterSignature":"{\"stateMachineVersion\":1,\"phase\":\"pull_request\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"automatic_mission_resume\",\"status\":\"retryable\",\"proofGate\":\"repair_mission_auto_progress_authorization_retryable\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"retry_bounded_recovery\",\"lane\":\"cc-execution\",\"reason\":\"repair_mission_auto_progress_authorization_retryable\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"preflight\",\"deadlineAt\":\"2026-08-04T14:07:44.585503+00:00\",\"recoveryAction\":\"retry_bounded_recovery\"},\"blocker\":\"repair_mission_auto_progress_authorization_retryable\",\"terminal\":false,\"branch\":null,\"prNumber\":3964,\"sourceSha\":null,\"deploymentId\":null}","beforeSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"ship_and_prove\",\"status\":\"blocked\",\"proofGate\":\"canonical_release_blocked\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"pull_request_exists_without_merged_source\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"preflight\",\"deadlineAt\":\"2026-08-04T14:07:44.585503+00:00\",\"recoveryAction\":\"reconcile_pull_request\"},\"blocker\":\"canonical_release_blocked\",\"terminal\":false,\"branch\":null,\"prNumber\":3964,\"sourceSha\":null,\"deploymentId\":null}","transitionBrain":"mission_status_deterministic_supervisor"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-09-20T22:33:06.586252+00:00","proof_gate":"deterministic_semantic_transition_journaled","source_sha":null,"external_id":null,"receipt_type":"deterministic_supervisor_transition","idempotency_key":"mission:534674da-1760-441e-8735-7852cf2c1f21:deterministic-transition:{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"ship_and_prove\",\"status\":\"blocked\",\"proofGate\":\"canonical_release_blocked\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"pull_request_exists_","mission_step_id":"36739b87-43aa-4312-a953-8c2b89a36865","command_center_event_id":"534674da-1760-441e-8735-7852cf2c1f21"},{"id":"59b5a427-ceb6-42d8-be68-b50b4eecedea","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Unfreeze control plane and correct the remaining stale Gate assertion on existing PR #2679. In release-orchestration-invariants.test.js, the actionsQueueScan ordering check must search for 'const existingRunsResponse = await releaseGet' instead of the retired raw fetch string. Do not change runtime logic. Then continue this same PR through Gate, squash merge, cc-execution-only release, exact live proof, and resume PR #2671 Supabase release recovery.","wordingChanged":false,"canonicalIntent":"Unfreeze control plane and correct the remaining stale Gate assertion on existing PR #2679. In release-orchestration-invariants.test.js, the actionsQueueScan ordering check must search for 'const existingRunsResponse = await releaseGet' instead of the retired raw fetch string. Do not change runtime logic. Then continue this same PR through Gate, squash merge, cc-execution-only release, exact live proof, and resume PR #2671 Supabase release recovery.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"shared-reads","statement":"All idempotent Forgejo GETs in dispatchForgejoRelease use the shared hedged provider; workflow dispatch remains single-attempt POST plus read-back reconciliation.","proofConditionIds":["repo","runtime"]},{"id":"runtime","statement":"cc-execution is live at 1.58.141-release-shared-forgejo-reads on the exact merged SHA.","proofConditionIds":["runtime"]}],"objective":"Unfreeze control plane and correct the remaining stale Gate assertion on existing PR #2679. In release-orchestration-invariants.test.js, the actionsQueueScan ordering check must search for 'const existingRunsResponse = await releaseGet' instead of the retired raw fetch string. Do not change runtime logic. Then continue this same PR through Gate, squash merge, cc-execution-only release, exact live proof, and resume PR #2671 Supabase release recovery.","constraints":[{"id":"safety","statement":"Do not weaken source/target proof, capacity admission, collision checks, retry ceilings, migration fail-closed behavior, release ownership, or write reconciliation.","proofConditionIds":["repo","runtime"]},{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["repo","runtime"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["repo","runtime"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repo","kind":"repository","claim":"Forgejo main contains the shared release-read adapter, no raw idempotent GET stack in dispatchForgejoRelease, version bump, and regression guard.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false},{"id":"runtime","kind":"runtime","claim":"cc-execution is live on the exact merged SHA at 1.58.141-release-shared-forgejo-reads.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"Unfreeze-control-plane-and-correct-the-remaining-stale-Gate-assertion-on-existing-PR-2679.-In-releas","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":["ccExecution"],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["repo","runtime"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestContractHash":"5015ef8aa83a65e180396fe272ef85ea613f0e0c27e0f2753e5abc384bcbabca","requestContractRevision":9,"previousRequestContractHash":"c17e86e50ad5719a7e33c2573427a5be203242073314b00db75c711f9a8d05be"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T20:27:44.035907+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:333b40e7-e2b5-4cfd-85bf-5ca54d62dace:request-contract:5015ef8aa83a65e180396fe272ef85ea613f0e0c27e0f2753e5abc384bcbabca","mission_step_id":"ff57ac9c-09ed-4353-a9be-eee422eae19f","command_center_event_id":"333b40e7-e2b5-4cfd-85bf-5ca54d62dace"},{"id":"59b6c59f-3776-44f4-9c3b-ab79bafa62a9","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-c0df4bef6af3","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":132128,"releaseCount":0,"toolCallCount":64,"repeatedCallCount":57,"executorlessWaitMs":576944,"firstUsefulResultAt":"2026-10-06T16:45:56.962Z","recoveryAttemptCount":42,"ownerInterruptionCount":0},"version":"1.67.2-queue-isolation","prNumber":5210,"terminal":false,"missionId":"c0df4bef-6af3-4c61-b7d1-75a7eef21c95","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":9656,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":2625,"approvedPlanMs":4130,"missionSetupMs":228,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":161,"ledgerReconcileMs":0,"lineageReconcileMs":67,"resolvePreflightMs":228,"repositoryMutationMs":2801,"repositoryProviderMs":2801,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2668,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":161,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":133},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"c0df4bef-6af3-4c61-b7d1-75a7eef21c95"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["repository"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1536,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T16:48:19.7167+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"5210","receipt_type":"execute_mission","idempotency_key":"mission:c0df4bef-6af3-4c61-b7d1-75a7eef21c95:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"86e3ae04-287b-4635-9c6d-0f5febaa594f","command_center_event_id":"c0df4bef-6af3-4c61-b7d1-75a7eef21c95"},{"id":"59b73b4f-f7c9-4486-9fab-0c44177d87f5","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":"ai/fix-big-papi-ad-video-20260824","reason":"retryable_provider_transport:GET:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":1135,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.50.26-throughput-transport","prNumber":null,"terminal":false,"missionId":"a8c0bb24-296c-4f9d-97c9-aa8bdff67340","operation":"execute_mission","proofGate":"repair_mission_execution_retryable","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"a8c0bb24-296c-4f9d-97c9-aa8bdff67340"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5081,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-24T21:29:33.053548+00:00","proof_gate":"repair_mission_execution_retryable","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:a8c0bb24-296c-4f9d-97c9-aa8bdff67340:execute_mission:repair_mission_execution_retryable","mission_step_id":"fd80075d-a769-46d4-9935-26d7f2de1a73","command_center_event_id":"a8c0bb24-296c-4f9d-97c9-aa8bdff67340"},{"id":"59b7b4c4-8824-46ad-a68d-9ef384235abc","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"9290e4837b4660c078b614f46084d567b597d462","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"9290e4837b4660c078b614f46084d567b597d462","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"ac50b398dce9147004eb889a2525a36ac6a629de927ebd76fe687a7ad50e7ac9","forgejoWorkflowProof":{"runId":12532,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T12:51:29.039753+00:00","proof_gate":"canonical_release_pending","source_sha":"9290e4837b4660c078b614f46084d567b597d462","external_id":"forgejo-main-9290e4837b46","receipt_type":"canonical_release_status","idempotency_key":"mission:8bbe3d62-99fe-4c67-b279-9d6e2d76e65c:forgejo-release-status:9290e4837b4660c078b614f46084d567b597d462:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"7f1a8663-038d-4c7d-be65-bac5886d4972","command_center_event_id":"8bbe3d62-99fe-4c67-b279-9d6e2d76e65c"},{"id":"59b7e183-4ed4-43e8-a9a4-660cc97025fd","source":"cc-execution","status":"waiting","payload":{"body":{"body":"Test-only blocker repair. Preserve existing behavioral assertions while pointing them at the lazy dashboard and dedicated Start Pop-Up module that are already on main.","ship":true,"files":[],"title":"Align Big Papi safety tests with current module ownership","branch":"ai/objective-first-repair-2c0246d33e00","writes":[],"patches":[],"approved":true,"missionId":"2c0246d3-3e00-4c22-a1e0-8924139defc2","objective":"Align two stale Big Papi regression contracts with the already-merged architecture, without changing application behavior. tenantStartupSafety must assert BigPapisToday is lazy-loaded and rendered through bigPapisLazyContent. tenant-isolation-hard-safety must read the dedicated BigPapisStartPopup.tsx module and keep the existing Pop-Up safety assertions against that module, including the direct ownerRoutes lazy import. Do not remove or weaken any behavioral assertions.","sourceSha":"deff5211e0d7b6305e9215d010123613461334ff","repository":"noel/KnockLaunchOS","ownerApproved":true,"sourceTargets":["src/__tests__/contracts/tenantStartupSafety.test.ts","src/__tests__/contracts/tenant-isolation-hard-safety.contract.test.ts"],"anchored_edits":[{"path":"src/__tests__/contracts/tenantStartupSafety.test.ts","edits":[{"new_content":"expect(routeSource).not.toContain(\"import BigPapisToday from '@/pages/mobile-vendor/BigPapisToday';\");","old_content":"expect(routeSource).toContain(\"import BigPapisToday from '@/pages/mobile-vendor/BigPapisToday';\");"},{"new_content":"expect(routeSource).toContain(\"const BigPapisToday = lazyWithRetry(() => import('@/pages/mobile-vendor/BigPapisToday')));\");","old_content":"expect(routeSource).not.toContain(\"const BigPapisToday = lazyWithRetry(() => import('@/pages/mobile-vendor/BigPapisToday')));\");"},{"new_content":"expect(workspace).toContain(\"case 'dashboard': return detail === 'advanced' ? bigPapisLazyContent(BigPapisOwner) : bigPapisLazyContent(BigPapisToday);\");","old_content":"expect(workspace).toContain(\"case 'dashboard': return detail === 'advanced' ? bigPapisLazyContent(BigPapisOwner) : <BigPapisToday />;\");"}]},{"path":"src/__tests__/contracts/tenant-isolation-hard-safety.contract.test.ts","edits":[{"new_content":"const bigPapisTodaySource = readFileSync(\n  fileURLToPath(new URL('../../pages/mobile-vendor/BigPapisToday.tsx', import.meta.url)),\n  'utf8',\n);\nconst bigPapisStartPopupSource = readFileSync(\n  fileURLToPath(new URL('../../pages/mobile-vendor/BigPapisStartPopup.tsx', import.meta.url)),\n  'utf8',\n);","old_content":"const bigPapisTodaySource = readFileSync(\n  fileURLToPath(new URL('../../pages/mobile-vendor/BigPapisToday.tsx', import.meta.url)),\n  'utf8',\n);"},{"new_content":"expect(bigPapisStartPopupSource).toContain('function BigPapisStartPopup()');","old_content":"expect(bigPapisTodaySource).toContain('export function BigPapisStartPopup()');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('createMobileVendorPopupSession({');","old_content":"expect(bigPapisTodaySource).toContain('createMobileVendorPopupSession({');"},{"new_content":"expect(bigPapisStartPopupSource).toContain(\"source: 'owner_popup_launch'\");","old_content":"expect(bigPapisTodaySource).toContain(\"source: 'owner_popup_launch'\");"},{"new_content":"expect(bigPapisStartPopupSource).toContain('const [flavorRows, setFlavorRows] = React.useState<PopupLoadoutRow[]>([]);');","old_content":"expect(bigPapisTodaySource).toContain('const [flavorRows, setFlavorRows] = React.useState<PopupLoadoutRow[]>([]);');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('const POPUP_CONTAINER_SIZES = [0.5, 1, 1.5, 2.5, 3] as const;');","old_content":"expect(bigPapisTodaySource).toContain('const POPUP_CONTAINER_SIZES = [0.5, 1, 1.5, 2.5, 3] as const;');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('popup_loadout: {');","old_content":"expect(bigPapisTodaySource).toContain('popup_loadout: {');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('container_size_gallons: size');","old_content":"expect(bigPapisTodaySource).toContain('container_size_gallons: size');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('container_count: count');","old_content":"expect(bigPapisTodaySource).toContain('container_count: count');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('total_gallons: Number((size * count).toFixed(2))');","old_content":"expect(bigPapisTodaySource).toContain('total_gallons: Number((size * count).toFixed(2))');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('inventory_quantity_on_hand: Number(flavor.quantity_on_hand || 0)');","old_content":"expect(bigPapisTodaySource).toContain('inventory_quantity_on_hand: Number(flavor.quantity_on_hand || 0)');"},{"new_content":"expect(bigPapisStartPopupSource).toContain(\"selectedLocation.id.startsWith('dragged:') ? 'raster_pin_drag' : 'mapbox_autocomplete'\");","old_content":"expect(bigPapisTodaySource).toContain(\"selectedLocation.id.startsWith('dragged:') ? 'raster_pin_drag' : 'mapbox_autocomplete'\");"},{"new_content":"expect(bigPapisStartPopupSource).toContain(\"provider: selectedLocation.id.startsWith('dragged:') ? 'openstreetmap' : 'mapbox'\");","old_content":"expect(bigPapisTodaySource).toContain(\"provider: selectedLocation.id.startsWith('dragged:') ? 'openstreetmap' : 'mapbox'\");"},{"new_content":"expect(bigPapisStartPopupSource).toContain('function popupRasterWorldPixel(');","old_content":"expect(bigPapisTodaySource).toContain('function popupRasterWorldPixel(');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('function popupRasterLngLatFromWorldPixel(');","old_content":"expect(bigPapisTodaySource).toContain('function popupRasterLngLatFromWorldPixel(');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('https://tile.openstreetmap.org/${zoom}/${wrappedX}/${tileY}.png');","old_content":"expect(bigPapisTodaySource).toContain('https://tile.openstreetmap.org/${zoom}/${wrappedX}/${tileY}.png');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('data-big-papis-popup-raster-map=\"true\"');","old_content":"expect(bigPapisTodaySource).toContain('data-big-papis-popup-raster-map=\"true\"');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('data-big-papis-popup-pin=\"true\"');","old_content":"expect(bigPapisTodaySource).toContain('data-big-papis-popup-pin=\"true\"');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('data-big-papis-popup-zoom-in=\"true\"');","old_content":"expect(bigPapisTodaySource).toContain('data-big-papis-popup-zoom-in=\"true\"');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('data-big-papis-popup-zoom-out=\"true\"');","old_content":"expect(bigPapisTodaySource).toContain('data-big-papis-popup-zoom-out=\"true\"');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('const [zoom, setZoom] = React.useState');","old_content":"expect(bigPapisTodaySource).toContain('const [zoom, setZoom] = React.useState');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('BIG_PAPIS_RASTER_MIN_ZOOM');","old_content":"expect(bigPapisTodaySource).toContain('BIG_PAPIS_RASTER_MIN_ZOOM');"},{"new_content":"expect(bigPapisStartPopupSource).toContain('BIG_PAPIS_RASTER_MAX_ZOOM');","old_content":"expect(bigPapisTodaySource).toContain('BIG_PAPIS_RASTER_MAX_ZOOM');"},{"new_content":"expect(bigPapisStartPopupSource).not.toContain('new mapboxgl.Map({');","old_content":"expect(bigPapisTodaySource).not.toContain('new mapboxgl.Map({');"},{"new_content":"expect(bigPapisStartPopupSource).not.toContain(\"style: 'mapbox://styles/mapbox/dark-v11'\");","old_content":"expect(bigPapisTodaySource).not.toContain(\"style: 'mapbox://styles/mapbox/dark-v11'\");"},{"new_content":"expect(bigPapisStartPopupSource).toContain('popup_location: popupLocation');","old_content":"expect(bigPapisTodaySource).toContain('popup_location: popupLocation');"},{"new_content":"expect(bigPapisStartPopupSource).not.toContain('createEventBooking({');","old_content":"expect(bigPapisTodaySource).not.toContain('createEventBooking({');"},{"new_content":"expect(ownerRoutesSource).toContain(\"const BigPapisStartPopup = lazyWithRetry(() => import('@/pages/mobile-vendor/BigPapisStartPopup')));\");","old_content":"expect(ownerRoutesSource).toContain(\"const BigPapisStartPopup = lazyWithRetry(() => import('@/pages/mobile-vendor/BigPapisToday').then((module) => ({ default: module.BigPapisStartPopup })));\");"}]}],"implementation":{"files":[],"writes":[]},"requestContract":{"source":"explicit","version":1,"outcomes":[{"id":"tests-match-current-architecture","statement":"Big Papi regression tests validate the current lazy dashboard and dedicated Start Pop-Up module ownership.","proofConditionIds":["repo-proof"]}],"objective":"Align two stale Big Papi regression contracts with the already-merged architecture, without changing application behavior. tenantStartupSafety must assert BigPapisToday is lazy-loaded and rendered through bigPapisLazyContent. tenant-isolation-hard-safety must read the dedicated BigPapisStartPopup.tsx module and keep the existing Pop-Up safety assertions against that module, including the direct ownerRoutes lazy import. Do not remove or weaken any behavioral assertions.","constraints":[{"id":"no-app-behavior-change","statement":"Change tests only; do not modify application source or weaken behavioral coverage.","proofConditionIds":["repo-proof"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repo-proof","kind":"repository","claim":"The two regression contract files reference the current Big Papi source owners and preserve existing behavioral assertions.","required":true}]},"durableMutationResume":true},"recovery":false,"fingerprint":"f95e46450ff2f2e3d3e82fb192b2394a01e25aa882e58c98ffee7a42b528a1c0","replayCount":0,"serializedBytes":9740},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-23T15:49:59.662318+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:2c0246d3-3e00-4c22-a1e0-8924139defc2:repository-mutation-intent:f95e46450ff2f2e3d3e82fb192b2394a01e25aa882e58c98ffee7a42b528a1c0:0","mission_step_id":"d44a8dbd-b3d8-427e-a263-4fb3bc177460","command_center_event_id":"2c0246d3-3e00-4c22-a1e0-8924139defc2"},{"id":"59b85a66-3341-4adf-aa67-6f8adb4c3412","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/frontend-release-manifest-hydration-20260904","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.51-merged-release-survival-refreeze","prNumber":1716,"terminal":false,"missionId":"f67115ab-1891-4fea-b8d4-4ce71203ae10","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"199a549fc742725b5ab30bcb7a8c7372db6273be","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":6615,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":694,"approvedPlanMs":0,"missionSetupMs":962,"providerAuthMs":0,"shipAndProveMs":5717,"ledgerPrepareMs":791,"ledgerReconcileMs":0,"lineageReconcileMs":171,"resolvePreflightMs":962,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":791,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"f67115ab-1891-4fea-b8d4-4ce71203ae10"},"performance":null,"deploymentId":"forgejo-main-199a549fc742","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2639,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T14:35:23.914247+00:00","proof_gate":"canonical_release_dispatched","source_sha":"199a549fc742725b5ab30bcb7a8c7372db6273be","external_id":"forgejo-main-199a549fc742","receipt_type":"execute_mission","idempotency_key":"mission:f67115ab-1891-4fea-b8d4-4ce71203ae10:execute_mission:canonical_release_dispatched:current-generation","mission_step_id":"44d39af0-ecc6-4bcf-a3a9-dc31474c75eb","command_center_event_id":"f67115ab-1891-4fea-b8d4-4ce71203ae10"},{"id":"59bb3566-2117-4d8c-826b-8b65562c1b8d","source":"cc-execution-autonomous-supervisor","status":"advanced","payload":{"trigger":"cloudflare_cron","leaseEpoch":87,"afterSignature":"{\"stateMachineVersion\":1,\"phase\":\"pull_request\",\"ownerFacingState\":null,\"latest\":null,\"activeStep\":null,\"nextStep\":null,\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:pull_request\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":0,\"verified\":0,\"pending\":0,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":null,\"deadlineAt\":null,\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/eradicate-lovable-ai-runtime\",\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}","beforeSignature":"{\"stateMachineVersion\":1,\"phase\":\"pull_request\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"execute_mission\",\"status\":\"blocked\",\"proofGate\":\"repair_mission_execution_blocked\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"ready\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:pull_request\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":6,\"verified\":1,\"pending\":5,\"percent\":17,\"satisfied\":false,\"verifiedIds\":[\"preflight\"],\"pendingIds\":[\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-08-07T01:03:15.232774+00:00\",\"recoveryAction\":\"reconcile_pull_request\"},\"blocker\":\"repair_mission_execution_blocked\",\"terminal\":false,\"branch\":\"ai/eradicate-lovable-ai-runtime\",\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}","transitionBrain":"mission_status_deterministic_supervisor"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-04T13:25:39.349173+00:00","proof_gate":"deterministic_semantic_transition_journaled","source_sha":null,"external_id":null,"receipt_type":"deterministic_supervisor_transition","idempotency_key":"mission:cf3bb236-ddb1-4523-883e-5419f971da9b:deterministic-transition:{\"stateMachineVersion\":1,\"phase\":\"pull_request\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"execute_mission\",\"status\":\"blocked\",\"proofGate\":\"repair_mission_execution_blocked\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"ready\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason","mission_step_id":"22ab96fd-4392-4802-a876-c35fcf6bff47","command_center_event_id":"cf3bb236-ddb1-4523-883e-5419f971da9b"},{"id":"59bb9e15-b0f6-4ac6-b6c3-23e2a388fc5e","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"public/console/index.html","content":"<!doctype html>\n<html lang=\"en\"><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><meta name=\"robots\" content=\"noindex,nofollow\"><meta name=\"referrer\" content=\"no-referrer\"><title>KNOCKLAUNCH Console</title><link rel=\"stylesheet\" href=\"./console.css\"></head>\n<body><div id=\"app\"><p>Opening KNOCKLAUNCH Console…</p></div><script type=\"module\" src=\"./console.js\"></script></body></html>"},{"path":"public/console/console.js","content":"import { mountOperator } from './operator.mjs';\nimport { stages, actions } from './catalog.mjs';\nconst app=document.querySelector('#app');\nconst embedded=window.parent!==window;\nconst local=location.hostname==='127.0.0.1'||location.hostname==='localhost';\nconst localSessionKey='kl-console-session';\nlet token=localStorage.getItem(localSessionKey)||'';\n// The launcher supplies the machine-local session in the fragment once, never a query or provider secret.\nif(local&&location.hash.startsWith('#session=')){token=decodeURIComponent(location.hash.slice(9));localStorage.setItem(localSessionKey,token);history.replaceState(null,'',location.pathname);}\nlet selected='operator', connected=false, hostedOnline=embedded, busy=false, state={jobs:[],steps:{},providers:{}}, notice='', lastRefresh=0;\nconst pending=new Map();\nconst escape=value=>String(value??'').replace(/[&<>\"']/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[c]));\nwindow.addEventListener('message',event=>{if(event.source!==parent||event.origin!==location.origin||event.data?.type!=='kl-console-result')return;const entry=pending.get(event.data.id);if(!entry)return;pending.delete(event.data.id);clearTimeout(entry.timer);event.data.error?entry.reject(new Error(event.data.error)):entry.resolve(event.data.data);});\nfunction bridge(action,payload={}){return new Promise((resolve,reject)=>{const id=crypto.randomUUID(),timer=setTimeout(()=>{pending.delete(id);reject(new Error('Provider request timed out. Retry.'));},30000);pending.set(id,{resolve,reject,timer});parent.postMessage({type:'kl-console-request',id,action,payload},location.origin);});}\nasync function api(path,body){const response=await fetch((local?'':'http://127.0.0.1:47831')+path,{method:body?'POST':'GET',headers:{Authorization:'Bearer '+token,...(body?{'Content-Type':'application/json'}:{})},...(body?{body:JSON.stringify(body)}:{}),signal:AbortSignal.timeout(15000)});const data=await response.json();if(!response.ok)throw new Error(data.error||'Console request failed');return data;}\nasync function refresh(){if(busy)return;busy=true;try{if(embedded&&!local&&!token){const data=await bridge('forgejo');state.providers.forgejo=data;hostedOnline=true;lastRefresh=Date.now();notice='';return;}const data=await api('/api/state');state={...data,providers:{...state.providers,...data.providers}};connected=true;if(embedded)hostedOnline=true;lastRefresh=Date.now();notice='';}catch(error){connected=false;if(embedded&&!token)hostedOnline=false;if(local||token||embedded)notice=error.message;}finally{busy=false;if(document.activeElement?.tagName!=='INPUT')render();}}\nasync function run(id){notice='';try{if(['cloudflare','supabase','forgejo','runner-proof'].includes(id)&&!connected&&embedded){state.steps[id]={status:'running',startedAt:new Date().toISOString()};render();const data=await bridge(id);state.providers[id]=data;state.steps[id]={status:data.status==='unavailable'?'failed':'passed',endedAt:new Date().toISOString()};render();return;}\n if(!connected)throw new Error('Connect the MSI Console to run local steps.');\n let confirmation,registrationToken;\n if(id==='runner-register'){registrationToken=app.querySelector('#runner-registration-token')?.value.trim()||'';if(!registrationToken)throw new Error('Paste the repository runner registration token first.');}\n if(['candidate','promote','runner-stop','runner-restart','git-pull'].includes(id)){const source=state.release?.sourceSha||state.sourceSha||'current working copy';if(!confirm(actions[id].name+'\\n\\nTarget: '+source+'\\n\\nContinue?'))return;confirmation=state.release?.confirmation||source;}\n await api('/api/run',{action:id,confirmation,stage:selected,...(registrationToken?{registrationToken}:{})});if(registrationToken){const input=app.querySelector('#runner-registration-token');if(input)input.value='';registrationToken='';}await refresh();\n }catch(error){notice=error.message;if(state.steps[id]?.status==='running')state.steps[id]={status:'failed',error:error.message};render();}}\nfunction providerCard(name){const data=state.providers[name];if(!data)return `<section class=\"panel\"><h3>${escape(name)}</h3><p class=\"muted\">No provider observation yet.</p><button data-run=\"${name}\">Load live state</button></section>`;const stale=Date.now()-Date.parse(data.observedAt)>90000;const status=stale?'stale':data.status;return `<section class=\"panel\"><div class=\"provider-head\"><h3>${escape(name)}</h3><span class=\"pill ${escape(status)}\">${escape(status)}</span></div><p class=\"muted small\">Observed ${escape(new Date(data.observedAt).toLocaleString())}</p>${data.error?`<p class=\"error\">${escape(data.error)}</p>`:''}<div class=\"metrics\">${Object.entries(data.summary||{}).map(([key,value])=>`<div class=\"metric\"><span class=\"muted\">${escape(key)}</span><b>${escape(value??'Unknown')}</b></div>`).join('')}</div>${Object.entries(data.sections||{}).map(([key,section])=>`<details><summary>${escape(key)} · ${escape(section.status)}</summary>${section.error?`<p class=\"error\">${escape(section.error)}</p>`:''}<pre class=\"logs\">${escape(JSON.stringify(section.data??null,null,2))}</pre></details>`).join('')}</section>`;}\nfunction runnerCard(){const localRunner=state.runner||{},runners=state.providers.forgejo?.sections?.Runners?.data?.runners||[],remote=runners.find(item=>item?.name==='msi-local'),remoteReady=remote?remote.status!=='offline':null,primaryReady=embedded?remoteReady:localRunner.serviceActive;const item=(label,ok,text)=>`<div class=\"metric\"><span class=\"muted\">${escape(label)}</span><b>${escape(text)}</b><span class=\"pill ${ok===true?'live':ok===false?'failed':'waiting'}\">${ok===true?'ready':ok===false?'attention':'unknown'}</span></div>`;return `<section class=\"panel\"><div class=\"provider-head\"><h3>MSI runner status</h3><span class=\"pill ${primaryReady?'live':'failed'}\">${primaryReady?'online':'offline'}</span></div><div class=\"metrics\">${item('Local service',localRunner.serviceActive,localRunner.serviceActive?'Running':'Stopped')}${item('Autostart',localRunner.autostartEnabled,localRunner.autostartEnabled?'Enabled':'Disabled')}${item('Windows keepalive',localRunner.keepalivePresent?localRunner.keepaliveRunning&&localRunner.keepaliveEnabled:false,localRunner.keepalivePresent?(localRunner.keepaliveRunning?'Running':'Stopped'):'Missing')}${item('Forgejo msi-local',remoteReady,remote?`${remote.status}${remote.busy?' · busy':''}`:'Load Forgejo state')}</div><p class=\"muted small\">${localRunner.observedAt?'Local state checked '+escape(new Date(localRunner.observedAt).toLocaleTimeString()):'Waiting for MSI state.'}</p>${remote?'<button data-run=\"forgejo\">Refresh Forgejo</button>':'<button data-run=\"forgejo\">Load Forgejo state</button>'}</section>`;}\nfunction render(){if(selected==='operator'){mountOperator(app,{bridge:embedded?bridge:async()=>{throw new Error('Open the signed-in Console at app.knocklaunch.app/admin/console to chat.');},hostedOnline:()=>hostedOnline,localConnected:()=>connected,connectLocal:async code=>{const next=String(code||'').trim();if(!next)throw new Error('Paste the MSI pairing code first.');token=next;localStorage.setItem(localSessionKey,token);await refresh();if(!connected)throw new Error(notice||'MSI pairing failed.');return true;},stages,onStage:id=>{selected=id;render();}});return;}const stage=stages.find(x=>x.id===selected),running=state.jobs.find(x=>x.status==='running');app.innerHTML=`<header><div class=\"top\"><div><div class=\"eyebrow\">MISSION FREEDOM</div><h1>KNOCKLAUNCH CONSOLE</h1></div><div class=\"row\">${embedded?`<span class=\"pill ${hostedOnline?'live':'unavailable'}\">Hosted ${hostedOnline?'online':'unavailable'}</span>`:''}<span class=\"pill ${connected?'live':'waiting'}\">MSI ${connected?'paired':embedded?'not paired':'disconnected'}</span><button id=\"refresh\">Refresh</button></div></div></header><div class=\"layout\"><nav aria-label=\"Console stages\">${stages.map((item,i)=>`<button data-stage=\"${item.id}\" aria-current=\"${selected===item.id?'step':'false'}\"><b>${i+1}</b>${item.name}</button>`).join('')}</nav><main><div class=\"headline\"><div class=\"eyebrow\">STAGE ${stages.indexOf(stage)+1} OF ${stages.length}</div><h2>${stage.name}</h2><div class=\"muted\">${stage.description}</div></div>${notice?`<p role=\"alert\" class=\"notice error\">${escape(notice)}</p>`:''}${connected?`<details class=\"panel\"><summary>Connection settings</summary><p class=\"muted\">Saved only on this computer. Leave a field empty to keep its existing value.</p><form id=\"settings\"><div class=\"metrics\">${[\"CLOUDFLARE_API_TOKEN\",\"CLOUDFLARE_ACCOUNT_ID\",\"SUPABASE_ACCESS_TOKEN\",\"SUPABASE_PROJECT_REF\",\"FORGEJO_TOKEN\",\"RUNNER_SERVICE\"].map(key=>`<label class=\"muted\">${key.replaceAll(\"_\",\" \")}<input name=\"${key}\" type=\"${/TOKEN/.test(key)?\"password\":\"text\"}\" autocomplete=\"off\" placeholder=\"${state.settings?.[key]?\"Configured\":\"Not configured\"}\" style=\"width:100%;margin-top:6px\"></label>`).join(\"\")}</div><div class=\"actions\"><button type=\"submit\">Save settings</button></div></form></details>`:\"\"}${!connected?`<section class=\"panel\"><h3>Connect your MSI</h3><p class=\"muted\">Open “KNOCKLAUNCH Console” on the MSI. Copy its pairing code below. Local commands run on that computer; provider views remain available in GodMode.</p><div class=\"connect\"><input id=\"pair\" type=\"password\" autocomplete=\"off\" placeholder=\"Local Console pairing code\" aria-label=\"Local Console pairing code\"><button id=\"connect\">Connect</button></div><p class=\"muted\">This browser stays paired to this MSI. Re-pair only if browser storage is cleared or the machine pairing is reset.${local?'':' Your browser may ask to allow access to devices on your local network.'}</p></section>`:''}<div class=\"panels\"><section class=\"panel\"><div class=\"provider-head\"><h3>Steps</h3><span class=\"muted\">${running?'Running: '+escape(actions[running.action]?.name||running.action):'Choose the next step'}</span></div>${stage.steps.map(([id,name,description],index)=>{const step=state.steps[id]||{},status=step.status||'waiting';const allowed=connected||embedded&&['cloudflare','supabase','forgejo','runner-proof'].includes(id);return `<div class=\"step\"><span class=\"number\">${index+1}</span><div><strong>${name}</strong><p class=\"muted\">${description}</p><span class=\"pill ${escape(status)}\">${escape(status)}</span>${step.startedAt?` <span class=\"muted small\">${escape(new Date(step.startedAt).toLocaleTimeString())}${step.durationMs!=null?' · '+Math.round(step.durationMs/1000)+'s':''}</span>`:''}${step.error?`<p class=\"error\">${escape(step.error)}</p>`:''}${id==='runner-register'&&connected?`<input id=\"runner-registration-token\" type=\"password\" autocomplete=\"off\" spellcheck=\"false\" aria-label=\"Repository runner registration token\" placeholder=\"Paste repository runner token\" style=\"width:100%;margin-top:8px\">`:''}</div><button data-run=\"${id}\" ${!allowed||running?'disabled':''}>${id==='runner-register'?'Register':status==='failed'?'Retry':'Run'}</button></div>`}).join('')}</section><aside>${selected==='runner'?runnerCard():['cloudflare','supabase','health'].includes(selected)?providerCard(selected==='health'?'cloudflare':selected):`<section class=\"panel\"><h3>Current release</h3><p class=\"muted\">Source</p><code>${escape(state.release?.sourceSha||state.sourceSha||'Not prepared')}</code><p class=\"muted\">Candidate</p><code>${escape(state.release?.candidateVersionId||'Not created')}</code><p class=\"muted\">${escape(state.release?.state||'Prepare a release to begin.')}</p></section>${providerCard('cloudflare')}`}${selected==='health'?providerCard('supabase'):''}</aside><section class=\"panel full\"><div class=\"provider-head\"><h3>Command output</h3><span class=\"muted small\">${lastRefresh?'Updated '+escape(new Date(lastRefresh).toLocaleTimeString()):'Awaiting connection'}</span></div>${state.jobs.length?state.jobs.slice(0,8).map((job,index)=>`<details ${index===0?'open':''}><summary>${escape(actions[job.action]?.name||job.action)} · ${escape(job.status)} · ${escape(new Date(job.startedAt).toLocaleTimeString())}</summary><pre class=\"logs\">${escape(job.output||job.error||'Waiting for output…')}</pre></details>`).join(''):'<p class=\"muted\">Run a step to see its output here.</p>'}</section></div></main></div>`;\napp.querySelectorAll('[data-stage]').forEach(button=>button.onclick=()=>{selected=button.dataset.stage;render();});app.querySelectorAll('[data-run]').forEach(button=>button.onclick=()=>run(button.dataset.run));const settings=app.querySelector('#settings');if(settings)settings.onsubmit=async event=>{event.preventDefault();try{await api('/api/settings',Object.fromEntries(new FormData(settings)));notice='Settings saved.';settings.reset();await refresh();}catch(error){notice=error.message;render();}};app.querySelector('#refresh').onclick=refresh;const connect=app.querySelector('#connect');if(connect)connect.onclick=()=>{token=app.querySelector('#pair').value.trim();localStorage.setItem(localSessionKey,token);refresh();};}\nrender();if(embedded||local||token)refresh();setInterval(()=>{if(!document.hidden&&(embedded||connected||local))refresh();},5000);"},{"path":"public/console/catalog.mjs","content":"export const stages = [\n  {id:'operator',name:'Operator',description:'Chat and inspect any application page.',steps:[]},\n  {id:'machine',name:'Machine',description:'Check this computer and its local tools.',steps:[['machine','Check computer','CPU, memory, disk and tool versions'],['wsl','Check WSL','List installed Linux environments'],['docker','Check Docker','Verify the Docker engine is responding'],['connect','Connect Desktop Commander','Start the remote support connection']]},\n  {id:'repository',name:'Repository',description:'Know exactly which code you are working on.',steps:[['git-status','Inspect working copy','Branch, commit and changed files'],['git-fetch','Fetch latest code','Update remote references without changing files'],['git-pull','Update clean branch','Fast-forward only; refuses local changes']]},\n  {id:'build',name:'Build & Test',description:'Run each check and see its output.',steps:[['dependencies','Install locked dependencies','Use the repository lockfile'],['typecheck','Check TypeScript','Find type errors'],['tests','Run contract tests','Verify application contracts'],['build','Build application','Run the canonical Cloudflare build'],['gate','Check canonical Gate','Verify the current commit against Forgejo Gate']]},\n  {id:'runner',name:'Runner',description:'Control the local runner and inspect Forgejo jobs.',steps:[['runner-register','Register MSI runner','One-time repository registration; token is never stored'],['runner-status','Inspect MSI runner','Service state on this computer'],['runner-start','Start MSI runner','Start the configured local service'],['runner-stop','Stop MSI runner','Only the MSI runner service'],['runner-restart','Restart MSI runner','Restart the configured local service'],['runner-proof','Run MSI Proof','Dispatch the fixed MSI Runner Proof workflow on main'],['forgejo','Refresh Forgejo jobs','Live runner inventory and recent jobs']]},\n  {id:'cloudflare',name:'Cloudflare',description:'Live production deployments and routes.',steps:[['cloudflare','Refresh Cloudflare','Read the provider directly']]},\n  {id:'supabase',name:'Supabase',description:'Project services, functions, migrations and logs.',steps:[['supabase','Refresh Supabase','Read the provider directly']]},\n  {id:'release',name:'Release',description:'Prepare and verify a release before promotion.',steps:[['prepare','Prepare release','Require a clean, current main commit'],['build','Build artifact','Bind the build to this source commit'],['typecheck','Check types','Stop on errors'],['tests','Run tests','Stop on failed contracts'],['gate','Verify Gate','Require canonical success for this exact commit'],['candidate','Create candidate','Upload at zero production traffic'],['verify-candidate','Verify candidate','Prove the exact candidate artifact'],['promote','Promote candidate','Confirm this source and artifact'],['verify-live','Verify live release','Prove the promoted application']]},\n  {id:'health',name:'Health / Logs',description:'Inspect recent activity and provider health.',steps:[['cloudflare','Cloudflare state','Refresh deployment evidence'],['supabase','Supabase state','Refresh services and function inventory'],['forgejo','Forgejo state','Refresh runner and workflow inventory']]}\n];\nexport const actions = Object.fromEntries(stages.flatMap(stage=>stage.steps.map(([id,name,description])=>[id,{id,name,description}])));\nexport const releaseOrder = ['prepare','build','typecheck','tests','gate','candidate','verify-candidate','promote','verify-live'];\nexport function prerequisites(id){ const index=releaseOrder.indexOf(id);return index>0?releaseOrder.slice(0,index):[]; }"},{"path":"public/console/operator.mjs","content":"let host, options, sending=false, draft='', timer=null, activeView='desktop', latest=null;\nconst messages=[];\nlet context={route:'',tenantRef:'',roleRef:'',viewports:['desktop','mobile']};\ntry { const saved=JSON.parse(sessionStorage.getItem('kl-operator-context')||'null');if(saved)context={...context,...saved}; } catch {}\nconst esc=v=>String(v??'').replace(/[&<>\"']/g,c=>({'&':'&amp;','<':'&lt;','>':'&gt;','\"':'&quot;',\"'\":'&#39;'}[c]));\nfunction save(){try{sessionStorage.setItem('kl-operator-context',JSON.stringify(context));}catch{}}\nfunction evidence(){return (latest?.artifactReceipts||[]).filter(a=>a.viewport===activeView&&(!a.route||a.route===context.route)&&String(a.phase||'').toLowerCase()!=='preflight').sort((a,b)=>{const rank={after:3,observe:2,before:1};return (rank[String(b.phase||'').toLowerCase()]||0)-(rank[String(a.phase||'').toLowerCase()]||0);});}\nfunction imageUrl(value){try{const u=new URL(value);return u.protocol==='https:'&&u.hostname==='laptop-witness.knocklaunch.app'&&u.pathname.startsWith('/__witness/evidence/')?u.href:'';}catch{return '';}}\nfunction render(){\n if(!host?.isConnected)return;\n const candidate=evidence()[0]||latest?.[activeView+'Proof'],proof=String(candidate?.phase||'').toLowerCase()==='preflight'?null:candidate,url=imageUrl(proof?.signedUrl),pending=context.jobId&&latest&&!latest.terminal,localConnected=options.localConnected?.()===true,hostedOnline=options.hostedOnline?.()!==false,renderVerified=latest?.terminal&&latest?.status==='verified'&&Boolean(url),proofIncomplete=latest?.terminal&&latest?.status==='verified'&&!url;\n host.innerHTML=`<header><div class=\"top\"><div><div class=\"eyebrow\">KNOCKLAUNCH CONSOLE</div><h1>OPERATOR</h1></div><div class=\"row\"><span class=\"pill ${hostedOnline?'live':'unavailable'}\">Hosted ${hostedOnline?'online':'unavailable'}</span><span class=\"pill ${localConnected?'live':'waiting'}\">MSI ${localConnected?'paired':'not paired'}</span><span class=\"pill ${pending?'running':proofIncomplete?'failed':renderVerified?'live':'waiting'}\">${pending?'Witness running':proofIncomplete?'Proof incomplete':renderVerified?'Rendered':'Ready'}</span></div></div></header><div class=\"layout\"><nav aria-label=\"Console stages\">${options.stages.map((s,i)=>`<button data-stage=\"${s.id}\" aria-current=\"${s.id==='operator'?'step':'false'}\"><b>${i+1}</b>${esc(s.name)}</button>`).join('')}</nav><main class=\"operator-main\">${!localConnected&&options.connectLocal?`<section class=\"panel operator-pairing\"><div class=\"provider-head\"><div><h3>Connect your MSI</h3><p class=\"muted\">Paste the pairing code from the MSI Console once. Hosted chat and provider views stay available either way.</p></div><div class=\"connect\"><input id=\"operator-pair\" type=\"password\" autocomplete=\"off\" placeholder=\"MSI pairing code\" aria-label=\"MSI pairing code\"><button id=\"operator-connect\">Pair MSI</button></div></div></section>`:''}<div class=\"operator-grid\"><section class=\"panel operator-chat\"><div class=\"provider-head\"><h2>What do you want to see?</h2><button id=\"operator-clear\" ${sending||pending?'disabled':''}>New chat</button></div><div class=\"operator-messages\" role=\"log\" aria-live=\"polite\">${messages.length?messages.map(m=>`<div class=\"operator-message ${m.role}\"><strong>${m.role==='user'?'You':'KNOCKLAUNCH'}</strong><p>${esc(m.text)}</p></div>`).join(''):'<p class=\"muted\">Ask to inspect a page. I’ll keep its route, tenant and screen size for follow-ups.</p><div class=\"actions\"><button data-prompt=\"Show /admin/console on both\">Show Console</button><button data-prompt=\"Show Big Papi inventory on mobile\">Big Papi inventory</button></div>'}</div><form id=\"operator-form\"><label class=\"sr-only\" for=\"operator-message\">Message KNOCKLAUNCH</label><textarea id=\"operator-message\" rows=\"3\" maxlength=\"2000\" placeholder=\"Show /admin/console on mobile…\" ${sending?'disabled':''}>${esc(draft)}</textarea><div class=\"operator-compose-actions\"><span class=\"muted small\">Enter to send · Shift+Enter for a new line</span><button type=\"submit\" ${sending?'disabled':''}>${sending?'Sending…':'Send'}</button></div></form><details><summary>Inspection context</summary><div class=\"operator-context\"><label>Route<input id=\"operator-route\" value=\"${esc(context.route)}\" placeholder=\"/tenant/owner/page\"></label><label>Tenant<input id=\"operator-tenant\" value=\"${esc(context.tenantRef)}\" placeholder=\"Tenant slug or ID\"></label><label>Role<input id=\"operator-role\" value=\"${esc(context.roleRef)}\" placeholder=\"Default experience\"></label></div><button id=\"operator-context-save\">Use this context</button></details></section><section class=\"panel operator-witness\"><div class=\"provider-head\"><h2>Visual Witness</h2><div class=\"actions\">${['desktop','mobile'].map(v=>`<button data-view=\"${v}\" aria-pressed=\"${activeView===v}\">${v==='desktop'?'Desktop':'Mobile'}</button>`).join('')}</div></div><div class=\"operator-route muted\">${esc(context.route||'Choose a page in chat')}${context.tenantRef?' · '+esc(context.tenantRef):''}</div><p class=\"small muted\" role=\"status\">${esc(latest?.jobProgress?.phase?.replaceAll('_',' ')||latest?.status||'Your capture will appear here.')}</p><div class=\"operator-image ${activeView}\">${url?`<a href=\"${esc(url)}\" target=\"_blank\" rel=\"noopener noreferrer\"><img src=\"${esc(url)}\" alt=\"${esc(activeView+' witness of '+context.route)}\" referrerpolicy=\"no-referrer\"></a><p class=\"small muted\">Rendered proof · ${esc(proof.phase||'final')} · Captured ${esc(new Date(proof.capturedAt||Date.now()).toLocaleTimeString())}</p>`:`<p class=\"muted\">${pending?'Capturing and waiting for the real page to finish rendering…':proofIncomplete?'Route checks passed, but the witness only returned preflight evidence. This run is not accepted as rendered proof. Capture again after the witness update.':latest?'No post-render image for this screen size. Use Capture '+activeView+'.':'Desktop and mobile captures, directly from your laptop.'}</p>`}</div><div class=\"actions\"><button data-prompt=\"now ${activeView}\" ${sending||!context.route?'disabled':''}>Capture ${activeView}</button><button data-prompt=\"status\" ${sending||!context.jobId&&!context.missionId?'disabled':''}>Check progress</button>${pending?'<button data-prompt=\"cancel\">Cancel witness</button>':''}</div>${latest?.failureReason?`<p class=\"error\">${esc(latest.failureReason)}</p>`:''}<details class=\"operator-run-details\"><summary>Run details</summary><pre class=\"logs\">${esc(JSON.stringify({route:context.route,tenant:context.tenantRef||null,role:context.roleRef||'default',viewports:context.viewports,lane:latest?.runnerLane||'laptop',status:latest?.status||'not started',proofPhase:proof?.phase||candidate?.phase||null,renderProofAccepted:Boolean(url),job:context.jobId||context.missionId||null},null,2))}</pre></details></section></div></main></div>`;\n host.querySelectorAll('[data-stage]').forEach(b=>b.onclick=()=>{clearTimeout(timer);const go=options.onStage;host=null;go(b.dataset.stage);});\n const pairButton=host.querySelector('#operator-connect');if(pairButton)pairButton.onclick=async()=>{const code=host.querySelector('#operator-pair')?.value.trim()||'';if(!code){messages.push({role:'assistant',text:'Paste the MSI pairing code first.'});render();return;}pairButton.disabled=true;try{await options.connectLocal(code);messages.push({role:'assistant',text:'MSI paired. Local machine commands are now available from this Console.'});}catch(error){messages.push({role:'assistant',text:error instanceof Error?error.message:'MSI pairing failed.'});}finally{render();}};\n host.querySelectorAll('[data-view]').forEach(b=>b.onclick=()=>{draft=host.querySelector('textarea').value;activeView=b.dataset.view;render();});\n host.querySelectorAll('[data-prompt]').forEach(b=>b.onclick=()=>send(b.dataset.prompt));\n const input=host.querySelector('textarea');input.oninput=()=>{draft=input.value;};input.onkeydown=e=>{if(e.key==='Enter'&&!e.shiftKey){e.preventDefault();send(input.value);}};\n host.querySelector('form').onsubmit=e=>{e.preventDefault();send(input.value);};\n host.querySelector('#operator-clear').onclick=()=>{clearTimeout(timer);context={route:'',tenantRef:'',roleRef:'',viewports:['desktop','mobile']};latest=null;messages.length=0;draft='';save();render();};\n host.querySelector('#operator-context-save').onclick=()=>{const route=host.querySelector('#operator-route').value.trim();if(route&&!/^\\/(?!\\/)/.test(route)){messages.push({role:'assistant',text:'Use a route starting with one slash.'});render();return;}context={route,tenantRef:host.querySelector('#operator-tenant').value.trim(),roleRef:host.querySelector('#operator-role').value.trim(),viewports:context.viewports};latest=null;save();render();};\n const image=host.querySelector('.operator-image img');if(image)image.onerror=()=>{image.parentElement.replaceWith(Object.assign(document.createElement('p'),{textContent:'This temporary capture expired or could not load. Use Capture to refresh it.',className:'muted'}));};\n const log=host.querySelector('.operator-messages');log.scrollTop=log.scrollHeight;\n}\nasync function send(message,{poll=false}={}){\n if(sending||!message.trim())return;\n if(context.jobId&&latest&&!latest.terminal&&!/^(status|poll|progress|cancel|stop)$/i.test(message.trim())){messages.push({role:'assistant',text:'The current witness is still running. Wait for its result or cancel it before starting another capture.'});render();return;}\n clearTimeout(timer);sending=true;\n if(!poll){messages.push({role:'user',text:message});draft='';}\n render();\n try{\n  const result=await options.bridge('operator',{message,context});\n  if(result.ok===false||result.error)throw new Error(result.error||'Operator unavailable');\n  context=result.context||context;save();if(result.receipt)latest=result.receipt;\n  if(!poll||latest?.terminal)messages.push({role:'assistant',text:result.message});\n  if(context.viewports.length===1)activeView=context.viewports[0];\n  if(result.kind!=='help'&&context.jobId&&!latest?.terminal)timer=setTimeout(()=>send('status',{poll:true}),4000);\n }catch(e){messages.push({role:'assistant',text:e.message+' Use Check progress to retry.'});}\n finally{sending=false;render();}\n}\nexport function mountOperator(element,config){options=config;host=element;if(element.querySelector('.operator-main'))return;render();if(context.jobId&&(!latest||!latest.terminal)&&!sending)send('status',{poll:true});}"},{"path":"public/console/console.css","content":":root{color-scheme:dark;font-family:Inter,Segoe UI,system-ui,sans-serif;background:#06100d;color:#e8f5ef;font-size:15px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;border:1px solid #315a49;background:#122c22;color:#e4fff1;padding:.65rem .9rem;border-radius:9px;font-weight:600}button:hover{background:#204734}button:disabled{opacity:.45;cursor:not-allowed}input{background:#071a12;border:1px solid #315a49;padding:.7rem;color:white;border-radius:8px;min-width:0}a{color:#79e5af}header{position:sticky;top:0;z-index:5;background:#081610;border-bottom:1px solid #284637;padding:16px 22px}h1{font-size:21px;letter-spacing:.035em;margin:4px 0}h2{font-size:23px;margin:0 0 8px}h3{font-size:16px;margin:0 0 12px}p{line-height:1.5}.eyebrow{color:#74d8a9;font-size:10px;letter-spacing:.18em;font-weight:700}.muted{color:#9cb7a9;font-size:13px}.top,.row{display:flex;align-items:center;gap:12px;justify-content:space-between}.top{flex-wrap:wrap}.layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:calc(100vh - 85px)}nav{padding:16px;border-right:1px solid #243f32}nav button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin-bottom:6px;border-color:transparent;background:transparent;font-size:14px}nav button[aria-current=step]{background:#163b29;border-color:#428968}nav b{display:grid;place-items:center;width:25px;height:25px;border:1px solid #426a55;border-radius:7px}main{padding:22px;min-width:0;max-width:1500px;width:100%;margin:0 auto}.panels{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:16px}.panel{background:#0b1b14;border:1px solid #254a37;border-radius:12px;padding:17px;margin-bottom:16px}.step{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #203e2e}.step:last-child{border:0}.step p{margin:4px 0}.step .number{color:#72daa7;font-weight:700}.pill{font-size:10px;font-weight:700;text-transform:uppercase;padding:5px 8px;border-radius:6px;background:#263a30;white-space:nowrap}.passed,.live{background:#154a30;color:#89f0b8}.failed,.blocked,.unavailable{background:#4b391b;color:#ffd591}.running{background:#16453c;color:#9ff6de}.waiting,.stale{color:#a5b9af}.error{color:#ffd591;overflow-wrap:anywhere;font-size:13px}.logs{white-space:pre-wrap;overflow-wrap:anywhere;max-height:260px;overflow:auto;background:#030a06;padding:14px;font:12px/1.65 Consolas,monospace;border-radius:8px}.metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{padding:12px;background:#10271a;border:1px solid #254d35;border-radius:8px;overflow-wrap:anywhere}.metric b{display:block;font-size:20px;margin-top:5px}details{margin-top:12px}summary{cursor:pointer;color:#a4dabb;font-size:13px}table{width:100%;border-collapse:collapse;font-size:12px}td,th{text-align:left;padding:8px;border-bottom:1px solid #284436;overflow-wrap:anywhere}.scroll{overflow:auto;max-height:300px}.connect{display:flex;gap:8px;flex-wrap:wrap}.connect input{flex:1}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.notice{border-left:3px solid #65c18d;padding:10px 14px;background:#142d20}.headline{margin-bottom:18px}.full{grid-column:1/-1}.small{font-size:11px}.provider-head{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:12px}@media(max-width:900px){.panels{grid-template-columns:1fr}.layout{grid-template-columns:1fr}nav{display:flex;overflow:auto;position:sticky;top:83px;z-index:4;background:#091a12;padding:8px;border-bottom:1px solid #243f32}nav button{width:auto;white-space:nowrap;margin:0;padding:8px}nav b{width:20px;height:20px}main{padding:12px}.panel{padding:13px}header{padding:12px}.step{grid-template-columns:24px minmax(0,1fr) auto}.top .muted{display:none}}\n\n\n.operator-grid{display:grid;grid-template-columns:minmax(300px,.85fr) minmax(0,1.4fr);gap:16px;align-items:start}.operator-chat{display:flex;flex-direction:column;min-height:560px}.operator-messages{flex:1;min-height:200px;max-height:48vh;overflow:auto}.operator-message{padding:12px;margin:8px 0;border-radius:10px;background:#102a1e;overflow-wrap:anywhere}.operator-message.user{background:#194333;margin-left:24px}.operator-message strong{font-size:11px;color:#8ce1b4}.operator-message p{white-space:pre-wrap;margin:5px 0}.operator-chat textarea{width:100%;resize:vertical;min-height:80px;border:1px solid #438563;border-radius:10px;background:#06140c;color:#effff5;padding:12px;font:inherit}.operator-compose-actions{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-top:8px}.operator-context{display:grid;gap:8px;margin:12px 0}.operator-context label{display:grid;gap:5px;font-size:12px}.operator-image{background:#030905;min-height:220px;border-radius:9px;text-align:center;padding:10px;overflow:auto;max-height:65vh}.operator-image img{max-width:100%;height:auto;display:block;margin:auto}.operator-image.mobile img{max-width:min(100%,390px)}.operator-route{overflow-wrap:anywhere}.operator-witness h2,.operator-chat h2{font-size:18px}.operator-witness .actions{margin:0;gap:4px}.operator-witness [aria-pressed=true]{background:#286346;border-color:#79e5af}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:1050px){.operator-grid{grid-template-columns:1fr}.operator-chat{min-height:0}.operator-messages{max-height:32vh;min-height:100px}.operator-image{max-height:60vh}.operator-main{padding:10px}.operator-witness .provider-head{flex-wrap:wrap}.operator-chat .provider-head{align-items:start}.operator-chat h2{font-size:17px}}\n\n/* Operator witness-first layout */\n.layout:has(.operator-main){grid-template-columns:1fr}\n.layout:has(.operator-main)>nav{display:flex;gap:6px;overflow-x:auto;position:sticky;top:76px;z-index:4;background:#081610;border-right:0;border-bottom:1px solid #243f32;padding:8px 14px}\n.layout:has(.operator-main)>nav button{width:auto;white-space:nowrap;margin:0;padding:.45rem .65rem;font-size:12px;flex:0 0 auto}\n.layout:has(.operator-main)>nav b{width:20px;height:20px;border-radius:6px;font-size:11px}\n.operator-main{max-width:1800px;padding:14px 16px 20px}\n.operator-pairing{padding:10px 12px;margin-bottom:10px}\n.operator-pairing .provider-head{margin:0;gap:14px}\n.operator-pairing h3{margin:0 0 2px}\n.operator-pairing p{margin:0;line-height:1.35}\n.operator-pairing .connect{min-width:min(100%,390px);flex-wrap:nowrap}\n.operator-pairing .connect input{min-width:180px}\n.operator-grid{grid-template-columns:minmax(290px,.55fr) minmax(620px,1.8fr);gap:12px;align-items:stretch}\n.operator-chat{min-height:calc(100dvh - 225px);margin-bottom:0}\n.operator-messages{max-height:36vh}\n.operator-witness{min-height:calc(100dvh - 225px);margin-bottom:0;display:flex;flex-direction:column}\n.operator-witness>.provider-head{margin-bottom:8px}\n.operator-image{flex:1;min-height:500px;max-height:calc(100dvh - 365px);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:14px}\n.operator-image>a{display:flex;width:100%;justify-content:center}\n.operator-image img{max-height:calc(100dvh - 420px);object-fit:contain}\n.operator-image.mobile img{max-width:min(100%,430px);width:auto}\n.operator-witness>details{margin-top:8px}\n@media(max-width:1050px){.operator-grid{grid-template-columns:1fr}.operator-witness{order:1;min-height:0}.operator-chat{order:2;min-height:0}.operator-image{min-height:420px;max-height:none}.operator-image img{max-height:none}.operator-pairing .provider-head{align-items:flex-start;flex-wrap:wrap}.operator-pairing .connect{width:100%}}\n@media(max-width:700px){.layout:has(.operator-main)>nav{top:70px;padding:6px 8px}.operator-main{padding:8px}.operator-image{min-height:360px;padding:8px}.operator-pairing .connect{flex-wrap:wrap}.operator-pairing .connect button{width:100%}}"}],"route":"/console/index.html","branch":"ai/objective-first-repair-40529d1cd609","writes":[],"patches":[],"version":1,"approved":true,"viewport":"desktop","missionId":"40529d1c-d609-4282-97c0-a51e99fa0178","objective":"Make the standalone KNOCKLAUNCH Console a real frontend asset by publishing its five runtime files under public/console. Preserve the current console shell/catalog behavior, publish the already-approved witness-first operator.mjs and console.css, and do not alter unrelated application UI. This makes /console/* part of the Vite public asset bundle instead of relying on stale sidecar files. Gate and merge the source; a separate src-only fast-UI cache-bust mission will perform the live frontend rollout without private Sentry sourcemaps.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["scripts/knocklaunch-console/index.html","scripts/knocklaunch-console/console.js","scripts/knocklaunch-console/catalog.mjs","scripts/knocklaunch-console/operator.mjs","scripts/knocklaunch-console/console.css"],"implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":null,"visualProofRoute":"/console/index.html","executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["scripts/knocklaunch-console/index.html","scripts/knocklaunch-console/console.js","scripts/knocklaunch-console/catalog.mjs","scripts/knocklaunch-console/operator.mjs","scripts/knocklaunch-console/console.css"],"requestContract":null,"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"904f789b4aaa1cf936b800dc97f9158a44939788284d6dc4add45eab2952b09a","replayCount":0,"serializedBytes":38019},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-27T02:51:28.32844+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:40529d1c-d609-4282-97c0-a51e99fa0178:repository-mutation-intent:904f789b4aaa1cf936b800dc97f9158a44939788284d6dc4add45eab2952b09a:0","mission_step_id":"f5742a11-3d58-4ab4-a64d-1200cb3f6658","command_center_event_id":"40529d1c-d609-4282-97c0-a51e99fa0178"},{"id":"59bd14f0-d7e0-4ad4-852d-fc7826bf9f1f","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-mtgo5d9b","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":8824,"releaseCount":0,"toolCallCount":4,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":"1.56.5-premium-motion-source-targets","prNumber":1182,"terminal":false,"missionId":"ab1d7126-7881-4fc6-ad21-9c1e78058e8a","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"handlerMs":130,"missionSetupMs":869},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"ab1d7126-7881-4fc6-ad21-9c1e78058e8a"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4826,"likelyAffectedFiles":["src/components/JobTracker/ClaimPaymentControls.tsx","src/components/GlobalCommandPalette.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"de8369b6-a78f-40bb-ae1f-28ffca62bc7e","created_at":"2026-08-31T03:22:15.508675+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":"1182","receipt_type":"execute_mission","idempotency_key":"mission:ab1d7126-7881-4fc6-ad21-9c1e78058e8a:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"6a7654dd-48b2-482b-8616-9bbbf6c8ea7a","command_center_event_id":"ab1d7126-7881-4fc6-ad21-9c1e78058e8a"},{"id":"59bdd82f-7085-473b-be30-c26ed06c7429","source":"cc-execution","status":"authorized","payload":{"paths":[".forgejo/workflows/knocklaunch.yml","config/control-plane-capabilities.json","workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Finish the owner's already-authorized control-plane release repair by removing dead remote cache-action prefetches from the artifact-only frontend lane and correcting its capacity guard so paul-light can promote validated artifacts without a false 3584 MiB failure.","baseSha":"c8873f055a2defa8478ce9b94206d81b8e52e88a","issuedAt":1788483251371,"expiresAt":1788483431371,"missionId":"eb94c2f8-32c7-4085-a2e2-18f066c6240f","singleUse":true,"authorizationId":"76c7c016-a733-46d6-8663-3c9e3b4e9bd7"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T00:54:12.41364+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"c8873f055a2defa8478ce9b94206d81b8e52e88a","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:76c7c016-a733-46d6-8663-3c9e3b4e9bd7","mission_step_id":"dad8dfca-5231-4f14-a353-ceaf94732d5f","command_center_event_id":"eb94c2f8-32c7-4085-a2e2-18f066c6240f"},{"id":"59be66b9-62f0-4c4a-b547-2227fe7da5ba","source":"cc-execution","status":"blocked","payload":{"reason":"existing_branch_without_open_pr_branch_diverged_or_unproven:ai/bigpapi-customers-demo","fingerprint":"3ba257d32fee5b4f1a559824d2c23f591196d838151d9725b4801bf083076fa0"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T19:19:19.316014+00:00","proof_gate":"repository_mutation_intent_deterministic_failure","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent_blocked","idempotency_key":"mission:525b9e4f-2d6f-4be2-a03b-294474425ee5:repository-mutation-intent-blocked:3ba257d32fee5b4f1a559824d2c23f591196d838151d9725b4801bf083076fa0","mission_step_id":"b40a4a57-1f3c-4ec8-9abc-b41ed19707f1","command_center_event_id":"525b9e4f-2d6f-4be2-a03b-294474425ee5"},{"id":"59be9d8e-5b3c-4789-adbf-291def9ea887","source":"forgejo-runtime","status":"pending","payload":{"mainSha":"c4f843325b7376cc005df98f5ec76a032247a740","sourceSha":"106c18b51421cfae3b5a4b6d7e382901fbd7cecd","sourceInMain":false,"compareStatus":"ancestry_read_retryable","ancestryProofResolved":false},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-09-20T15:55:02.949452+00:00","proof_gate":"canonical_release_ancestry_pending","source_sha":"106c18b51421cfae3b5a4b6d7e382901fbd7cecd","external_id":"canonical-release-106c18b51421","receipt_type":"canonical_release_status","idempotency_key":"mission:7d4b1e9f-bfc6-4f14-9e82-08dbb9d17134:forgejo-release-ancestry:106c18b51421cfae3b5a4b6d7e382901fbd7cecd:c4f843325b7376cc005df98f5ec76a032247a740:ancestry_read_retryable","mission_step_id":"50bbedf1-aeb3-4557-a65e-002bec016964","command_center_event_id":"7d4b1e9f-bfc6-4f14-9e82-08dbb9d17134"},{"id":"59bf6853-abac-4279-99e5-7b0ede579565","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/build-demo-compositor-logo-motion-20260830","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.56.4-owner-mutation-continuation","prNumber":1135,"terminal":false,"missionId":"a96b209a-ddfb-40d4-9fd6-423151270262","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"586f8e2aa8eba4dcd58f23ad0564f648c87dace5","timingsMs":{"handlerMs":17211,"prReadinessMs":1946,"approvedPlanMs":6027,"missionSetupMs":1727,"shipAndProveMs":9080},"nextAction":null,"receiptRef":{"mode":"full","missionId":"a96b209a-ddfb-40d4-9fd6-423151270262"},"performance":null,"deploymentId":"forgejo-main-586f8e2aa8eb","workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":8233,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-30T19:08:07.820933+00:00","proof_gate":"canonical_release_dispatched","source_sha":"586f8e2aa8eba4dcd58f23ad0564f648c87dace5","external_id":"forgejo-main-586f8e2aa8eb","receipt_type":"execute_mission","idempotency_key":"mission:a96b209a-ddfb-40d4-9fd6-423151270262:execute_mission:canonical_release_dispatched:current-generation","mission_step_id":"43f065cd-9bc1-4a4a-a07a-e4e5013dedab","command_center_event_id":"a96b209a-ddfb-40d4-9fd6-423151270262"},{"id":"59bf72fd-10e9-44a2-8732-74600c9c528c","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-ade54d0c8237","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.118-architecture-exclusivity","prNumber":null,"terminal":false,"missionId":"ade54d0c-8237-4739-a1a7-cf80b8b85f85","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":124,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":1026,"providerAuthMs":0,"ledgerPrepareMs":1026,"ledgerReconcileMs":271,"lineageReconcileMs":0,"resolvePreflightMs":1026,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":1297,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"ade54d0c-8237-4739-a1a7-cf80b8b85f85"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5245,"likelyAffectedFiles":["config/platform-standards.json","src/applications/proposal-editor/FreeformProposalRenderer.tsx","src/applications/proposal-editor/useProposalFreeformEditor.tsx","src/components/AdminControlsBar.tsx","scripts/generate-platform-cohesion-auth-proof-requirements.mjs","scripts/generate-platform-cohesion-proof-packs.mjs","config/contracts/PREHISTORIC-002-UNIVERSAL-PROPOSALS.json","src/applications/proposal-editor/index.ts","src/applications/proposal-editor/ProposalAssetPicker.tsx","src/components/AdaptiveBusinessDashboard.tsx","src/components/AuditorModeBanner.tsx","src/components/BookingModal.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T15:09:45.612716+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:ade54d0c-8237-4739-a1a7-cf80b8b85f85:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"2dc290d1-23e0-4e19-b407-f2b842bdd0f1","command_center_event_id":"ade54d0c-8237-4739-a1a7-cf80b8b85f85"},{"id":"59c01600-c92f-4160-bd75-6e9cda01a977","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/visual-witness-onrunner-release-20260821","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.50.15-unrebaseable-generation-rotation","prNumber":584,"terminal":false,"missionId":"0c755543-1c71-4b3d-8cf2-c72ffc7ad185","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"0c755543-1c71-4b3d-8cf2-c72ffc7ad185"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5535,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-22T01:57:55.443013+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"584","receipt_type":"execute_mission","idempotency_key":"mission:0c755543-1c71-4b3d-8cf2-c72ffc7ad185:execute_mission:repair_mission_waiting_for_gate","mission_step_id":"2cbd87c5-1319-476b-b923-2323b29fa51f","command_center_event_id":"0c755543-1c71-4b3d-8cf2-c72ffc7ad185"},{"id":"59c33083-4b3d-4b98-afed-9e6bb8e70be7","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-7da0be51d297","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.102-self-healing-ledger-provider","prNumber":null,"terminal":false,"missionId":"7da0be51-d297-4d70-a7ce-d99dab03e503","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":15,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":550,"providerAuthMs":0,"ledgerPrepareMs":550,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":550,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":550,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"7da0be51-d297-4d70-a7ce-d99dab03e503"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3171,"likelyAffectedFiles":["src/components/AdaptiveBusinessDashboard.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-11T15:57:19.219607+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:7da0be51-d297-4d70-a7ce-d99dab03e503:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"18ba60d8-7278-4d68-a287-5689b88ed165","command_center_event_id":"7da0be51-d297-4d70-a7ce-d99dab03e503"},{"id":"59c33d28-767f-47fc-af1a-03079c273463","source":"forgejo","status":"verified","payload":{"branch":"ai/multitarget-release-known-run-fastpath-v2-20260825","prNumber":742,"nextAction":null,"mergeCommitSha":"3f4d7143b2c7d42df806bacba78906dc2c47caed","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-25T14:30:36.936169+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"3f4d7143b2c7d42df806bacba78906dc2c47caed","external_id":"742","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:24b3a959-a976-4a63-b5a8-c9123e85362d:merged-pr:742:3f4d7143b2c7d42df806bacba78906dc2c47caed","mission_step_id":"a3ae0b08-5cdc-4eae-878e-51d5d42c6fb1","command_center_event_id":"24b3a959-a976-4a63-b5a8-c9123e85362d"},{"id":"59c4016a-727b-402a-88f9-c50c4a3be1b3","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":null,"reason":"pull_request_stale_refresh_required","status":"retryable","metrics":{"receiptBytes":2065,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.46.10-serialized-production-releases","prNumber":276,"terminal":false,"missionId":"b94ad6d1-f77c-4640-8151-e83a6619452e","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"b94ad6d1-f77c-4640-8151-e83a6619452e"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":6204,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-16T18:06:51.814234+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"276","receipt_type":"execute_mission","idempotency_key":"mission:b94ad6d1-f77c-4640-8151-e83a6619452e:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"d8772a94-6026-49cf-a528-c23bc0670a7a","command_center_event_id":"b94ad6d1-f77c-4640-8151-e83a6619452e"},{"id":"59c49f4f-10e7-476e-a62e-acb60c23eea4","source":"forgejo","status":"retryable","payload":{"branch":"ai/objective-first-repair-22c2accb34cc","merged":false,"prNumber":3244,"remediationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-19T22:18:52.151076+00:00","proof_gate":"forgejo_closed_pr_is_authoritative_source_lineage","source_sha":null,"external_id":"3244","receipt_type":"source_lineage_pr_closed_without_merge","idempotency_key":"mission:578bf28e-bd61-49a1-ab99-a82c24fe169d:closed-pr:3244:unmerged","mission_step_id":"786504d2-1f1b-4fdf-9e73-59d348ff8a74","command_center_event_id":"578bf28e-bd61-49a1-ab99-a82c24fe169d"},{"id":"59c4fbf9-5dfa-446e-a18f-327f42ff34a0","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/prime-oauth-single-owner-20260910","reason":"fresh_pr_provider_receipt_already_proves_auto_progress_gate_notifier_owns_next_state","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.94-mission-generation-terminality","prNumber":2302,"terminal":false,"missionId":"8ab5254f-1339-4a93-91b0-a269b76b7b84","operation":"execute_mission","proofGate":"repair_mission_fresh_pr_handed_off_to_gate","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":5782,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":1406,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":1406,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":1406,"repositoryMutationMs":5782,"repositoryProviderMs":5207,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2787,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":1406,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":2420},"nextAction":"Canonical KnockLaunch Gate notifier and mission supervisor own progression from this exact PR head; do not synchronously poll Forgejo from the owner request.","receiptRef":{"mode":"full","missionId":"8ab5254f-1339-4a93-91b0-a269b76b7b84"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3484,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T16:22:49.902248+00:00","proof_gate":"repair_mission_fresh_pr_handed_off_to_gate","source_sha":null,"external_id":"2302","receipt_type":"execute_mission","idempotency_key":"mission:8ab5254f-1339-4a93-91b0-a269b76b7b84:execute_mission:repair_mission_fresh_pr_handed_off_to_gate:current-generation","mission_step_id":"f84ecd43-6b3a-4aeb-a36f-5ad004fe3df4","command_center_event_id":"8ab5254f-1339-4a93-91b0-a269b76b7b84"},{"id":"59c541e9-61d1-4588-982d-ad6fbf650c5f","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/vista-del-mar-renter-portal-20260827","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":9642,"releaseCount":0,"toolCallCount":7,"repeatedCallCount":3,"ownerInterruptionCount":0},"version":null,"prNumber":861,"terminal":false,"missionId":"ea75c883-8cac-4788-bed2-30872daa4154","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"eae46a65c58a69015d400f2fc919e52c9e4f7ef1","timingsMs":{"prReadinessMs":595,"approvedPlanMs":0,"shipAndProveMs":12089},"nextAction":null,"receiptRef":{"mode":"full","missionId":"ea75c883-8cac-4788-bed2-30872daa4154"},"performance":null,"deploymentId":"forgejo-main-eae46a65c58a","workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1836,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-27T22:34:08.945491+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"861","receipt_type":"automatic_mission_resume","idempotency_key":"mission:ea75c883-8cac-4788-bed2-30872daa4154:automatic-mission-resume:861:canonical_release_dispatched","mission_step_id":"30a492ba-4ed2-414d-9cc4-0b18e4000691","command_center_event_id":"ea75c883-8cac-4788-bed2-30872daa4154"},{"id":"59c54e06-4c54-47fa-be2e-49674b433bb8","source":"forgejo","status":"waiting","payload":{"branch":"","prNumber":2941,"nextAction":null,"mergeCommitSha":"613f5f681e7c4b222c03f53b59f5247b9f347540","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T19:59:05.962535+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"613f5f681e7c4b222c03f53b59f5247b9f347540","external_id":"2941","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:480f9710-5efe-4d0a-a5fe-e9c6d31f7a25:merged-pr:2941:613f5f681e7c4b222c03f53b59f5247b9f347540","mission_step_id":"d2f0a590-7411-4181-9d83-fcb6a3f242b6","command_center_event_id":"480f9710-5efe-4d0a-a5fe-e9c6d31f7a25"},{"id":"59c6dd62-b3ec-4b47-bb77-4f22f03732b1","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"implementation","branch":"ai/big-papis-event-quotes-20260818","reason":"pull_request_stale_refresh_required","status":"retryable","metrics":{"receiptBytes":8379,"releaseCount":0,"toolCallCount":4,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":"1.47.2-release-lineage-compare","prNumber":372,"terminal":false,"missionId":"97a94084-3828-4a20-bf5a-e8db8d0160d3","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"97a94084-3828-4a20-bf5a-e8db8d0160d3"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":6260,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-18T14:40:17.763691+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"372","receipt_type":"execute_mission","idempotency_key":"mission:97a94084-3828-4a20-bf5a-e8db8d0160d3:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"0607b4c6-d6f2-459c-a15d-b0ebcf30b1a2","command_center_event_id":"97a94084-3828-4a20-bf5a-e8db8d0160d3"},{"id":"59c7d80c-bf4b-42ea-bb28-b414653e3678","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success"},"mainSha":"04e815578d88ec5a87abcd5dcec6a08ccd0e85e2","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"04e815578d88ec5a87abcd5dcec6a08ccd0e85e2","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"success"},"requestContractHash":"7e391ec6b94b9cdc061586d33b0f9ce5097a584ac72f182fab0acc25bdf40fa6","forgejoWorkflowProof":{"runId":13574,"source":"signed_push_receipt","status":"success","results":{},"conclusion":"success","targetStates":{"frontend":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"success"}},"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T02:11:26.684061+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"04e815578d88ec5a87abcd5dcec6a08ccd0e85e2","external_id":"forgejo-main-04e815578d88","receipt_type":"canonical_release_status","idempotency_key":"mission:3a7d5e32-d7be-485e-ab27-44b0af8d9e1f:forgejo-release-status:04e815578d88ec5a87abcd5dcec6a08ccd0e85e2:verified:forgejo-main/source=success|forgejo-release/workflow=success|frontend-cloudflare/live=success","mission_step_id":"4a535707-df56-44ad-a269-9faaed9cdd23","command_center_event_id":"3a7d5e32-d7be-485e-ab27-44b0af8d9e1f"},{"id":"59ca3572-9093-4832-bcdf-07860f805c83","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/big-papis-premium-mail-20260820","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":13058,"releaseCount":0,"toolCallCount":10,"repeatedCallCount":2,"ownerInterruptionCount":0},"version":"1.50.14-control-plane-readiness","prNumber":578,"terminal":false,"missionId":"e8cf64e7-16e0-452e-97f9-42a0d4194d7a","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":null,"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"e8cf64e7-16e0-452e-97f9-42a0d4194d7a"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":9185,"likelyAffectedFiles":["src/__tests__/contracts/command-center-existing-branch-refresh.contract.test.ts","src/__tests__/contracts/command-center-forgejo-transport-reliability.contract.test.ts","src/__tests__/contracts/command-center-mission-control.test.ts","src/__tests__/contracts/command-center-mission-preflight.test.ts","src/__tests__/commandCenter/deployDetection.test.ts",".forgejo/workflows/knocklaunch.yml","scripts/validate-command-center-contracts.mjs","config/control-plane-capabilities.json"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-20T15:50:43.42243+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:e8cf64e7-16e0-452e-97f9-42a0d4194d7a:execute_mission:repair_mission_synthesis_ready","mission_step_id":"ed8e24d7-4fab-4d83-878f-522a1511fb28","command_center_event_id":"e8cf64e7-16e0-452e-97f9-42a0d4194d7a"},{"id":"59caaa7c-fc7c-41d1-999d-10ed74966fa6","source":"cc-execution","status":"recorded","payload":{"objective":"Fix the incomplete Big Papi Contacts / Customer 360 workflow on current Forgejo main. In src/pages/mobile-vendor/BigPapisCustomersPremium.tsx, preserve the current premium layout but make the contact detail actually operational: (1) load active contact_files for the tenant alongside customers/events/invoices/followups; (2) on Customer 360, show a clear owner-facing Proposals & files section with every file attached to that contact, prominently identifying proposal files from extracted_metadata.document_type='proposal' or proposal-like filename, showing event/date metadata when available, and a working View proposal/file action using public_url; (3) add owner-facing Edit contact controls on Customer 360 for at least name, email, phone, and notes, saving through the existing tenant-scoped unified_contacts record and refreshing the customer query; (4) add a Delete contact action with an explicit confirmation that performs the platform-safe soft delete by setting deleted_at plus an owner-facing deletion reason/reason code where supported, tenant-scoped by id, then refreshes and returns to /big-papis/customers; do not hard-delete relational history; (5) surface actionable errors and prevent duplicate submits; (6) keep labels nontechnical and mobile-friendly. Do not add unrelated features, do not use visual witness, and do not change schema unless proven necessary. Add/update focused regression coverage if an existing suitable test family exists. Use one fresh ai/* branch, one PR, KnockLaunch Gate, squash merge, deploy only the affected frontend, and continue through production proof. Verify the live Big Papi Customer 360 route for an existing contact with proposals, such as Jasmin Arias id bdf7c1d9-df9e-482f-9c9c-b341940396c1, without deleting or altering any real contact data during verification.","tenantRef":"766cfaa7-ac42-46c8-bbef-69d13268a29d","receivedAt":"2026-08-20T05:28:56.892Z","fingerprint":"37758b7f3b37596f1e225a95b34e3c85d8ecd908f8d24a1c647b10a6b6a4c845","workstreamRef":"766cfaa7ac4246c8bbef69d13268a29d","conversationId":null,"canonicalBranch":"ai/big-papis-contact-management-20260820","requestedBranch":"ai/big-papis-contact-management-20260820","conversationContext":null},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-20T05:28:57.339484+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:64840ea9-d5a7-40ee-9796-24f62810ee67:tenant-workstream-contribution:37758b7f3b37596f1e225a95b34e3c85d8ecd908f8d24a1c647b10a6b6a4c845","mission_step_id":"42c42491-786e-411d-8f64-a510fda9efc3","command_center_event_id":"64840ea9-d5a7-40ee-9796-24f62810ee67"},{"id":"59ccb292-7516-4d64-8145-658eeac8ae21","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-eb462700d11c","reason":"retryable_provider_transport:POST:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.197-deterministic-owner-progress","prNumber":null,"terminal":false,"missionId":"eb462700-d11c-4328-977b-897b98006489","operation":"execute_mission","proofGate":"repair_mission_execution_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":17642,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":17642,"missionSetupMs":718,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":268,"ledgerReconcileMs":0,"lineageReconcileMs":450,"resolvePreflightMs":718,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":268,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"eb462700-d11c-4328-977b-897b98006489"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1555,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T22:10:11.954625+00:00","proof_gate":"repair_mission_execution_retryable","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:eb462700-d11c-4328-977b-897b98006489:execute_mission:repair_mission_execution_retryable:current-generation","mission_step_id":"5a03fd91-11da-4314-a249-bf7b4f228f28","command_center_event_id":"eb462700-d11c-4328-977b-897b98006489"},{"id":"59ccc591-3e98-42fe-bd4f-8c151fc0ff38","source":"cc-execution","status":"no_change","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"no_change","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.120-synthesis-fast-read","prNumber":null,"terminal":false,"missionId":"f90e49fc-72b4-45d4-a8f4-bcd0f22e7a1e","operation":"execute_mission","proofGate":"repair_mission_prepared","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":11,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":823,"providerAuthMs":0,"ledgerPrepareMs":823,"ledgerReconcileMs":273,"lineageReconcileMs":0,"resolvePreflightMs":823,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":1096,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"pull_request_required","receiptRef":{"mode":"full","missionId":"f90e49fc-72b4-45d4-a8f4-bcd0f22e7a1e"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1352,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T00:12:43.621804+00:00","proof_gate":"repair_mission_prepared","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:f90e49fc-72b4-45d4-a8f4-bcd0f22e7a1e:execute_mission:repair_mission_prepared:current-generation","mission_step_id":"63a21ffd-daf8-4412-b0f4-a2ca9c493f5a","command_center_event_id":"f90e49fc-72b4-45d4-a8f4-bcd0f22e7a1e"},{"id":"59d0d018-b6da-4d51-92dc-381fa9181029","source":"forgejo-exact-source","status":"verified","payload":{"sourceSha":"8c50c954aece4ba01541e3ddda4806b528b72fc4","repository":"noel/KnockLaunchOS","repositoryProofs":[{"id":"repo-proof","path":null,"proof":"forgejo_merged_pr_exact_head_gate","headSha":"cb68ae216249ee31e7deb78c90b9aa079379ca23","prNumber":4424,"gateRunId":14130,"gateContext":"KnockLaunch Gate / KnockLaunch Gate (pull_request)","expectedText":null,"gateTargetUrl":"/noel/KnockLaunchOS/actions/runs/14130/jobs/1","mergeCommitSha":"8c50c954aece4ba01541e3ddda4806b528b72fc4"}],"requestContractHash":"0b11d4961e85d5e9ec42ed79dcfa27a107e6868ae7afd9039aba11815188491d","namedGateEvidenceReceiptVersion":null},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T00:27:35.293621+00:00","proof_gate":"request_contract_repository_verified","source_sha":"8c50c954aece4ba01541e3ddda4806b528b72fc4","external_id":null,"receipt_type":"request_contract_repository_status","idempotency_key":"mission:5985fcd9-1c4f-491d-af2a-278f521b5414:request-contract-repository:0b11d4961e85d5e9ec42ed79dcfa27a107e6868ae7afd9039aba11815188491d:8c50c954aece4ba01541e3ddda4806b528b72fc4","mission_step_id":"58e25418-6fee-44a4-987a-6d66844fce33","command_center_event_id":"5985fcd9-1c4f-491d-af2a-278f521b5414"},{"id":"59d220c5-d02f-44b0-86b9-2887a221228a","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":"f33fdb3b-73a8-4df8-a2f5-550eddbbbeca","phase":"release","branch":"ai/visual-witness-shell-overlay-order-g6","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":7,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2890,"terminal":false,"missionId":"25776a3e-f543-4fb8-921f-4747b7def5a8","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"386b9e202944e3eca747f42d4b09dc5b831afc7d","timingsMs":{"prReadinessMs":411,"approvedPlanMs":0,"shipAndProveMs":2368,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"25776a3e-f543-4fb8-921f-4747b7def5a8"},"performance":null,"deploymentId":"forgejo-main-386b9e202944","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1997,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T05:48:15.898949+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"2890","receipt_type":"automatic_mission_resume","idempotency_key":"mission:25776a3e-f543-4fb8-921f-4747b7def5a8:automatic-mission-resume:2890:canonical_release_dispatched","mission_step_id":"e0127957-eeb7-4c56-acfe-00be0f4d499c","command_center_event_id":"25776a3e-f543-4fb8-921f-4747b7def5a8"},{"id":"59d47c3c-4d3c-4573-b4d1-81ea3e19963a","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"reasoning_required","branch":"ai/objective-first-repair-2a7e2c8a6cb9","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":9176,"releaseCount":0,"toolCallCount":7,"repeatedCallCount":4,"executorlessWaitMs":301817,"firstUsefulResultAt":"2026-10-04T11:43:38.258Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.90-owner-contract-autocompile","prNumber":null,"terminal":false,"missionId":"2a7e2c8a-6cb9-4afe-8bf4-fd1c0310eaf0","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3012,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":295,"providerAuthMs":0,"ledgerPrepareMs":295,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":295,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":295,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"2a7e2c8a-6cb9-4afe-8bf4-fd1c0310eaf0"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3544,"likelyAffectedFiles":["src/PrivateAppShell.tsx","src/pages/settings/TenantSettingsPageWithWebsiteAssets.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T11:43:40.900289+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:2a7e2c8a-6cb9-4afe-8bf4-fd1c0310eaf0:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"203bcb98-fe86-43d6-8dd4-932694107caf","command_center_event_id":"2a7e2c8a-6cb9-4afe-8bf4-fd1c0310eaf0"},{"id":"59d6c59f-0b06-47b2-87c0-7cd3e52bd06e","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-ec7b9c10c31d","reason":"fresh_pr_provider_receipt_already_proves_auto_progress_gate_notifier_owns_next_state","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.162-owner-activity-mission-recovery","prNumber":2923,"terminal":false,"missionId":"ec7b9c10-c31d-4c67-bb72-4209ecfa92e2","operation":"execute_mission","proofGate":"repair_mission_fresh_pr_handed_off_to_gate","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":11898,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":411,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":411,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":411,"repositoryMutationMs":11898,"repositoryProviderMs":10678,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":4186,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":411,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":6492},"nextAction":"Canonical KnockLaunch Gate notifier and mission supervisor own progression from this exact PR head; do not synchronously poll Forgejo from the owner request.","receiptRef":{"mode":"full","missionId":"ec7b9c10-c31d-4c67-bb72-4209ecfa92e2"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3046,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T16:16:40.406371+00:00","proof_gate":"repair_mission_fresh_pr_handed_off_to_gate","source_sha":null,"external_id":"2923","receipt_type":"execute_mission","idempotency_key":"mission:ec7b9c10-c31d-4c67-bb72-4209ecfa92e2:execute_mission:repair_mission_fresh_pr_handed_off_to_gate:current-generation","mission_step_id":"0ef581f9-b3d2-4dc7-b3b7-9ef154ddde4c","command_center_event_id":"ec7b9c10-c31d-4c67-bb72-4209ecfa92e2"},{"id":"59d89461-9602-4ef9-b1b1-2859e5598d38","source":"cc-execution","status":"waiting","payload":{"body":{"branch":"ai/objective-first-repair-1a7fc909ee75","approved":true,"missionId":"1a7fc909-ee75-46b5-8938-fac461de6e81","objective":"Continue the existing durable mission using exact structured edits.","repository":"noel/KnockLaunchOS","trackMission":true,"ownerApproved":true,"anchored_edits":[{"path":"workers/cc-execution/src/index-mcp.js","anchor":"      snapshotCommand: \"paul_machinery_snapshot\",","replacement":"      snapshotCommand: \"paul_machinery_snapshot_compact\","},{"path":"workers/cc-execution/src/index-mcp.js","anchor":"  tool(\n    \"paul_machinery_snapshot\",\n    \"Synchronize PAUL with live machinery\",\n    \"Use before KNOCKLAUNCH operational answers or actions. Returns a fail-closed live machinery snapshot and never lets stable context override current Prime state.\",\n    \"/paul/machinery-snapshot\",\n    emptyInput,\n    { method: \"GET\", readOnly: true, idempotent: true },\n  ),","replacement":"  tool(\n    \"paul_machinery_snapshot\",\n    \"Synchronize PAUL with live machinery (full)\",\n    \"Full live machinery evidence for deep diagnostics. Use paul_machinery_snapshot_compact for routine PAUL preflight.\",\n    \"/paul/machinery-snapshot\",\n    emptyInput,\n    { method: \"GET\", readOnly: true, idempotent: true },\n  ),\n  tool(\n    \"paul_machinery_snapshot_compact\",\n    \"Synchronize PAUL with live machinery (compact)\",\n    \"Preferred PAUL preflight. Uses the same live authoritative reads and alignment checks as the full snapshot but returns only decisive operational state.\",\n    \"/paul/machinery-snapshot-compact\",\n    emptyInput,\n    { method: \"GET\", readOnly: true, idempotent: true },\n  ),"},{"path":"workers/cc-execution/src/index-mcp.js","anchor":"async function paulMachinerySnapshot(request, env, ctx) {\n  const url = new URL(request.url);","replacement":"async function paulMachinerySnapshot(request, env, ctx) {\n  const url = new URL(request.url);\n  const compact = url.pathname === \"/paul/machinery-snapshot-compact\";"},{"path":"workers/cc-execution/src/index-mcp.js","anchor":"  const synchronized = sources.every((source) => source.ok === true) && runtimeAlignment.aligned === true;\n  return json({","replacement":"  const synchronized = sources.every((source) => source.ok === true) && runtimeAlignment.aligned === true;\n  if (compact) {\n    const openPulls = Array.isArray(pulls.pulls) ? pulls.pulls : [];\n    const staleOrMissingSources = [\n      ...sources.filter((source) => !source.ok).map((source) => source.name),\n      ...(runtimeAlignment.aligned === true ? [] : [runtimeAlignment.mode === \"cc_execution_drift\" ? \"cc_execution_runtime_drift\" : \"runtime_main_lineage_unproven\"]),\n    ];\n    return json({\n      ok: synchronized,\n      status: synchronized ? \"synchronized\" : \"degraded\",\n      proofGate: synchronized ? \"paul_machinery_snapshot_compact_verified\" : \"paul_machinery_snapshot_compact_incomplete\",\n      synchronized,\n      compact: true,\n      generatedAt: new Date().toISOString(),\n      authority: \"current_live_prime_machinery\",\n      freshness: { cachePolicy: \"no-store_live_each_call\", maxAgeMs: 15000 },\n      runtime: health.runtime || { version: health.version || null, sourceSha: health.sourceSha || null, deploymentId: health.deploymentId || null, buildId: health.buildId || null },\n      main: { repository: repositoryMain.repository || health.repository || \"noel/KnockLaunchOS\", branch: repositoryMain.baseBranch || \"main\", sha: liveMainSha || null },\n      runtimeAlignment: { aligned: runtimeAlignment.aligned === true, mode: runtimeAlignment.mode || null, reason: runtimeAlignment.reason || null, changedPathCount: Array.isArray(runtimeAlignment.changedPaths) ? runtimeAlignment.changedPaths.length : 0, releaseTargets: runtimeAlignment.releaseTargets || null },\n      capacity: { capacity: resilience.capacity || null, hostCapacity: health.hostCapacity || null, degradedMode: resilience.degradedMode || null, potentialStarvation: resilience.queue?.potentialStarvation === true },\n      queue: { waitingCount: Number(resilience.queue?.waitingCount || 0), activeCount: Number(resilience.queue?.activeCount || 0), openPullRequestCount: openPulls.length, openPullRequests: openPulls.slice(0, 5).map((pull) => ({ number: pull?.number || null, state: pull?.state || null, draft: Boolean(pull?.draft), mergeable: pull?.mergeable ?? null, headSha: pull?.headSha || pull?.head?.sha || null })) },\n      recentActions: recentRuns.slice(0, 5).map((run) => ({ id: run?.id || run?.runId || null, status: run?.status || null, conclusion: run?.conclusion || null, event: run?.event || null, headSha: run?.headSha || null, title: run?.title || null })),\n      missionsAndReleases: { missionControlEnabled: health.missionControlEnabled === true, durableMissionLedger: health.durableMissionLedger === true, unifiedReleaseSupervisor: health.unifiedReleaseSupervisor === true, repositoryMutationAuthority: health.repositoryMutationAuthority || null, internalReleaseOrchestration: health.internalReleaseOrchestration || null },\n      providerState: { circuitBreakers: health.circuitBreakers === true, whyWaiting: resilience.whyWaiting || null, topFailureClasses: Array.isArray(health.intelligence?.topFailureClasses) ? health.intelligence.topFailureClasses.slice(0, 3) : [] },\n      staleOrMissingSources,\n      stableContextMayOverride: false,\n    }, synchronized ? 200 : 503);\n  }\n  return json({"},{"path":"workers/cc-execution/src/index-mcp.js","anchor":"  if (route === \"/paul/machinery-snapshot\") {\n    return paulMachinerySnapshot(request, env, ctx);\n  }","replacement":"  if (route === \"/paul/machinery-snapshot\" || route === \"/paul/machinery-snapshot-compact\") {\n    return paulMachinerySnapshot(request, env, ctx);\n  }"},{"path":"workers/cc-execution/src/version.js","anchor":"export const CC_EXECUTION_VERSION = \"1.64.72-knocklaunch-mcp-fast-batch\";","replacement":"export const CC_EXECUTION_VERSION = \"1.64.73-knocklaunch-mcp-compact-preflight\";"}],"update_strategy":"auto","controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenanceReason":"Prime structured exact mutation continuation"},"recovery":false,"fingerprint":"c3d255f07f85cf72249f0e2906b598e3ad2eae286b48c3870eb95175f66520fe","replayCount":0,"serializedBytes":6227},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-03T04:13:14.932649+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:1a7fc909-ee75-46b5-8938-fac461de6e81:repository-mutation-intent:c3d255f07f85cf72249f0e2906b598e3ad2eae286b48c3870eb95175f66520fe:0","mission_step_id":"f6a45f81-aaaa-4977-85cc-cfea6f502a55","command_center_event_id":"1a7fc909-ee75-46b5-8938-fac461de6e81"},{"id":"59dcbae0-440d-4945-b9a7-b9d7f58c37e3","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-10-03T02:46:01.185751+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":4565,\"sourceSha\":\"77dc9d3156fd1791fc7023c4af0c0faf4bc9db08\",\"deploymentId\":\"forgejo-main-77dc9d3156fd\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T23:47:07.229017+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:e46b2a91-645d-45d8-8e49-3cd85520a467:owner-progress-heartbeat:119398988","mission_step_id":"89acc45a-0815-49a0-ba88-bd7355d2cada","command_center_event_id":"e46b2a91-645d-45d8-8e49-3cd85520a467"},{"id":"59e02bac-008e-48b0-a922-80a0f8cbcc55","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-3a41e0b64f88","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":35654,"releaseCount":0,"toolCallCount":10,"repeatedCallCount":2,"executorlessWaitMs":192972,"firstUsefulResultAt":"2026-09-27T18:16:18.926Z","recoveryAttemptCount":2,"ownerInterruptionCount":0},"version":"1.58.293-scheduler-v2","prNumber":3895,"terminal":false,"missionId":"3a41e0b6-4f88-499d-b3a7-dca593fd3dc6","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"e89962ba561d6e196286970b21f497b0b9b2601e","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3913,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":514,"approvedPlanMs":0,"missionSetupMs":405,"providerAuthMs":0,"shipAndProveMs":2657,"ledgerPrepareMs":301,"ledgerReconcileMs":0,"lineageReconcileMs":104,"resolvePreflightMs":405,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":301,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"3a41e0b6-4f88-499d-b3a7-dca593fd3dc6"},"performance":null,"deploymentId":"forgejo-main-e89962ba561d","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","runtime","runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2531,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-27T18:17:10.507635+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"e0cc5db94104663b9a2d295efbd5b6cba7d42429","external_id":"forgejo-main-e0cc5db94104","receipt_type":"execute_mission","idempotency_key":"mission:3a41e0b6-4f88-499d-b3a7-dca593fd3dc6:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"0a1315f6-3271-4ad6-9330-99cb56e98b50","command_center_event_id":"3a41e0b6-4f88-499d-b3a7-dca593fd3dc6"},{"id":"59e06755-da0b-4ca8-87f1-47c9adeeada8","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-284164bb3f06","reason":"canonical_release_queue_busy:14649","status":"blocked","metrics":{"receiptBytes":19455,"releaseCount":0,"toolCallCount":10,"repeatedCallCount":2,"executorlessWaitMs":44484,"firstUsefulResultAt":"2026-10-03T01:17:31.209Z","recoveryAttemptCount":3,"ownerInterruptionCount":0},"version":"1.64.65-paul-dissatisfaction-continuation","prNumber":4581,"terminal":false,"missionId":"284164bb-3f06-4691-9871-73eb85a8dda4","operation":"execute_mission","proofGate":"canonical_release_blocked","sourceSha":"a1d51b2b357f260f67775d42b590c66f1341441a","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1010,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":95,"approvedPlanMs":0,"missionSetupMs":1000,"providerAuthMs":0,"shipAndProveMs":529,"ledgerPrepareMs":273,"ledgerReconcileMs":0,"lineageReconcileMs":727,"resolvePreflightMs":1000,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":273,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"284164bb-3f06-4691-9871-73eb85a8dda4"},"performance":null,"deploymentId":"forgejo-main-a1d51b2b357f","releaseState":"pending","workflowRunId":14649,"releaseTargets":{"frontend":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["irslogiqs-sync"]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1407,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-03T01:18:17.409262+00:00","proof_gate":"canonical_release_blocked","source_sha":"a1d51b2b357f260f67775d42b590c66f1341441a","external_id":"forgejo-main-a1d51b2b357f","receipt_type":"execute_mission","idempotency_key":"mission:284164bb-3f06-4691-9871-73eb85a8dda4:execute_mission:canonical_release_blocked:current-generation","mission_step_id":"21477ec4-73e4-4c0d-b52a-5f8da493ba17","command_center_event_id":"284164bb-3f06-4691-9871-73eb85a8dda4"},{"id":"59e31488-4961-4de8-bb10-c98722cdf896","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-ef2348b23788","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":10148,"releaseCount":0,"toolCallCount":9,"repeatedCallCount":3,"executorlessWaitMs":39329,"firstUsefulResultAt":"2026-10-05T13:56:29.350Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.94-terminal-completion-supervisor","prNumber":4916,"terminal":false,"missionId":"ef2348b2-3788-460c-b4d8-1ecab679d19b","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":8899,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":880,"approvedPlanMs":600,"missionSetupMs":1244,"providerAuthMs":0,"shipAndProveMs":3139,"ledgerPrepareMs":328,"ledgerReconcileMs":0,"lineageReconcileMs":916,"resolvePreflightMs":1244,"repositoryMutationMs":3871,"repositoryProviderMs":3871,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2346,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":328,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1525},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"ef2348b2-3788-460c-b4d8-1ecab679d19b"},"performance":null,"deploymentId":null,"releaseState":"pending","workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4518,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T13:57:18.322876+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"4916","receipt_type":"execute_mission","idempotency_key":"mission:ef2348b2-3788-460c-b4d8-1ecab679d19b:execute_mission:canonical_release_reconciliation_pending:generation-1","mission_step_id":"a0cd0c94-8ed3-499f-8734-658b69c4fea9","command_center_event_id":"ef2348b2-3788-460c-b4d8-1ecab679d19b"},{"id":"59e48d8a-4dd5-49ef-ac33-299b34d5c54f","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"compilation":{"stages":["owner_intent","conversation_context","scope","live_state","mutation_authority","affected_systems","dependencies","risk_and_blast_radius","execution_tactics","required_proof","release_plan","recovery_plan"],"version":2,"explicit":true,"objective":"Implement major shared PAUL Sidekick operational self-awareness upgrades for Noel's October 1, 2026 America/New_York handoff replacing external ChatGPT sessions. Use the existing platform-sidekick-intelligence primitive across all its consumers, not another intelligence layer. Inspect exact current runtime implementation and existing active related work before editing; reuse relevant canonical work when appropriate. Build grounded self-knowledge from live capability registry/runtime identity/provider availability and authorization; know selected tenant/user/role/route and distinguish owner GodMode from tenant scope; include actual active mission state, latest receipts, blockers, continuation points and concurrent work in responses, without claiming completion beyond proof. Retrieve durable owner decisions and scoped memory, persist relevant decisions and the new October 1 deadline (superseding October 4 handoff target), distinguish observed/inferred/unknown/stale facts and refresh only relevant live context. Keep chat usable during execution and treat follow-up instructions as steering without discarding the objective. Make authorized work continue via existing canonical mission/Gate/merge/release machinery, with bounded recovery and concrete readable progress rather than empty recap or capability menus. Add behavioral regression cases for capabilities questions, ongoing-work questions, reconnect/continue, correction while busy, tenant isolation, stale runtime information, and refusal to claim deployed without receipt. Establish an honest readiness report from actual case results. Inspect exact diff, canonical Gate, squash merge, release only affected owners, verify live behavior. This request authorizes implementation and deployment; do not stop at a plan/config-only declaration or require the owner to repeat go ahead. Preserve existing authorization boundaries and never fabricate readiness. Focus on governing self-awareness primitive and necessary integrations.","proofKinds":["runtime"],"adaptiveDomains":["intent","tenant_route_role_viewport","urgency_deadline","dependency_scope","risk_blast_radius","runner_capacity","queue_active_work","provider_failure_circuits","qa_scope","retry_recovery","release_ownership","proof_depth"],"expansionPolicy":"later_stages_may_only_narrow_or_expand_with_machine_readable_dependency_evidence","dynamicStatePolicy":"live_state_may_change_execution_tactics_but_never_owner_outcome_or_explicit_constraints","dynamicRefreshStages":["preflight","gate","release","runtime_proof"],"adaptiveCompilerVersion":"paul-adaptive-objective-v1","inheritedContextBlockingAuthority":false},"rawUtterance":"Implement major shared PAUL Sidekick operational self-awareness upgrades for Noel's October 1, 2026 America/New_York handoff replacing external ChatGPT sessions. Use the existing platform-sidekick-intelligence primitive across all its consumers, not another intelligence layer. Inspect exact current runtime implementation and existing active related work before editing; reuse relevant canonical work when appropriate. Build grounded self-knowledge from live capability registry/runtime identity/provider availability and authorization; know selected tenant/user/role/route and distinguish owner GodMode from tenant scope; include actual active mission state, latest receipts, blockers, continuation points and concurrent work in responses, without claiming completion beyond proof. Retrieve durable owner decisions and scoped memory, persist relevant decisions and the new October 1 deadline (superseding October 4 handoff target), distinguish observed/inferred/unknown/stale facts and refresh only relevant live context. Keep chat usable during execution and treat follow-up instructions as steering without discarding the objective. Make authorized work continue via existing canonical mission/Gate/merge/release machinery, with bounded recovery and concrete readable progress rather than empty recap or capability menus. Add behavioral regression cases for capabilities questions, ongoing-work questions, reconnect/continue, correction while busy, tenant isolation, stale runtime information, and refusal to claim deployed without receipt. Establish an honest readiness report from actual case results. Inspect exact diff, canonical Gate, squash merge, release only affected owners, verify live behavior. This request authorizes implementation and deployment; do not stop at a plan/config-only declaration or require the owner to repeat go ahead. Preserve existing authorization boundaries and never fabricate readiness. Focus on governing self-awareness primitive and necessary integrations.","wordingChanged":false,"canonicalIntent":"Implement major shared PAUL Sidekick operational self-awareness upgrades for Noel's October 1, 2026 America/New_York handoff replacing external ChatGPT sessions. Use the existing platform-sidekick-intelligence primitive across all its consumers, not another intelligence layer. Inspect exact current runtime implementation and existing active related work before editing; reuse relevant canonical work when appropriate. Build grounded self-knowledge from live capability registry/runtime identity/provider availability and authorization; know selected tenant/user/role/route and distinguish owner GodMode from tenant scope; include actual active mission state, latest receipts, blockers, continuation points and concurrent work in responses, without claiming completion beyond proof. Retrieve durable owner decisions and scoped memory, persist relevant decisions and the new October 1 deadline (superseding October 4 handoff target), distinguish observed/inferred/unknown/stale facts and refresh only relevant live context. Keep chat usable during execution and treat follow-up instructions as steering without discarding the objective. Make authorized work continue via existing canonical mission/Gate/merge/release machinery, with bounded recovery and concrete readable progress rather than empty recap or capability menus. Add behavioral regression cases for capabilities questions, ongoing-work questions, reconnect/continue, correction while busy, tenant isolation, stale runtime information, and refusal to claim deployed without receipt. Establish an honest readiness report from actual case results. Inspect exact diff, canonical Gate, squash merge, release only affected owners, verify live behavior. This request authorizes implementation and deployment; do not stop at a plan/config-only declaration or require the owner to repeat go ahead. Preserve existing authorization boundaries and never fabricate readiness. Focus on governing self-awareness primitive and necessary integrations.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"self-awareness","statement":"Implement major shared PAUL Sidekick operational self-awareness upgrades for Noel's October 1, 2026 America/New_York handoff replacing external ChatGPT sessions. Use the existing platform-sidekick-intelligence primitive across all its consumers, not another intelligence layer. Inspect exact current runtime implementation and existing active related work before editing; reuse relevant canonical work when appropriate. Build grounded self-knowledge from live capability registry/runtime identity/provider availability and authorization; know selected tenant/user/role/route and distinguish owner GodMode from tenant scope; include actual active mission state, latest receipts, blockers, continuation points and concurrent work in responses, without claiming completion beyond proof. Retrieve durable owner decisions and scoped memory, persist relevant decisions and the new October 1 deadline (superseding October 4 handoff target), distinguish observed/inferred/unknown/stale facts and refresh only relevant live context. Keep chat usable during execution and treat follow-up instructions as steering without discarding the objective. Make authorized work continue via existing canonical mission/Ga","provenance":{"reason":null,"source":"explicit_request_contract","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime"]}],"objective":"Implement major shared PAUL Sidekick operational self-awareness upgrades for Noel's October 1, 2026 America/New_York handoff replacing external ChatGPT sessions. Use the existing platform-sidekick-intelligence primitive across all its consumers, not another intelligence layer. Inspect exact current runtime implementation and existing active related work before editing; reuse relevant canonical work when appropriate. Build grounded self-knowledge from live capability registry/runtime identity/provider availability and authorization; know selected tenant/user/role/route and distinguish owner GodMode from tenant scope; include actual active mission state, latest receipts, blockers, continuation points and concurrent work in responses, without claiming completion beyond proof. Retrieve durable owner decisions and scoped memory, persist relevant decisions and the new October 1 deadline (superseding October 4 handoff target), distinguish observed/inferred/unknown/stale facts and refresh only relevant live context. Keep chat usable during execution and treat follow-up instructions as steering without discarding the objective. Make authorized work continue via existing canonical mission/Gate/merge/release machinery, with bounded recovery and concrete readable progress rather than empty recap or capability menus. Add behavioral regression cases for capabilities questions, ongoing-work questions, reconnect/continue, correction while busy, tenant isolation, stale runtime information, and refusal to claim deployed without receipt. Establish an honest readiness report from actual case results. Inspect exact diff, canonical Gate, squash merge, release only affected owners, verify live behavior. This request authorizes implementation and deployment; do not stop at a plan/config-only declaration or require the owner to repeat go ahead. Preserve existing authorization boundaries and never fabricate readiness. Focus on governing self-awareness primitive and necessary integrations.","constraints":[{"id":"scope","statement":"Use existing intelligence; preserve tenant authorization; verify behavioral regression cases and honest readiness results.","provenance":{"reason":null,"source":"explicit_request_contract","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime"]},{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["runtime"]}],"adaptivePolicy":{"risk":{"tier":"high","blastRadius":"sensitive"},"proof":{"requiredKinds":["runtime"],"visualProofScope":"none","interactionRequired":false,"runtimeProofRequired":true},"scope":{"route":null,"roleRef":null,"tenantRef":null,"sourceTargets":["workers/cc-execution/src/index-mission-control.js","workers/cc-execution/src/model-provider-gateway.js","supabase/functions/operator-respond/index.ts","supabase/functions/operator-respond/paul-memory.ts","supabase/functions/ai-respond/index.ts","src/components/godmode/LiveEditMode.tsx","src/components/admin/OperatorSidekick.tsx","config/platform-sidekick-intelligence.json","config/capabilities/platform-sidekick-intelligence.json","config/capabilities/godmode-live-edit-sidekick.json","config/paul-owner-profile.json","src/__tests__/contracts/platform-sidekick-intelligence.contract.test.ts"]},"dynamic":{"variables":["main_and_runtime_lineage","runner_capacity","queue_and_active_work","provider_health","failure_clusters_and_circuits","release_target_state","current_pr_and_gate_state"],"refreshStages":["preflight","gate","release","runtime_proof"],"refreshMayChange":["runner_selection","parallelism","retry_path","qa_depth","release_recovery","proof_timing"],"refreshMayNotChange":["owner_outcome","explicit_no_go_constraints","tenant_identity","credential_boundary","hard_safety_invariants"]},"urgency":{"priority":"deadline_sensitive","deadlineSignals":["before editing"],"deadlineExplicit":true},"version":"paul-adaptive-objective-v1","recovery":{"transient":"one_bounded_retry_then_alternate_eligible_pool_or_provider_path","deterministic":"repair_source_or_contract_do_not_blind_rerun","mutationDependencyFailure":"prerequisite_required_or_targeted_recovery_never_invent","readOnlyDependencyFailure":"degrade_to_available_grounded_context_and_keep_conversation_alive"},"unknowns":["tenant","route"],"authority":{"outcome":"current_explicit_owner_request","tactics":"live_prime_truth","unknownPolicy":"preserve_unknown_never_invent","historicalContext":"advisory_unless_current_request_confirms"},"execution":{"mutation":true,"concurrency":"serialize_overlapping_mutations","scopePolicy":"start_bounded_expand_only_with_machine_readable_dependency_evidence","staleStatePolicy":"refresh_dynamic_state_before_irreversible_or_acceptance_stage","conversationIsolation":true,"ownerOutcomeMayBeChangedByAdaptation":false},"experience":{"visual":false,"viewports":["desktop","mobile"],"behavioral":false,"visualProofScope":"none"},"dependencies":{"requiredDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","release_ownership","live_production_proof"],"capabilityDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"releaseTargetHints":["ccExecution","supabaseEdge","frontend"]},"inputSignals":{"rawUtterance":"Implement major shared PAUL Sidekick operational self-awareness upgrades for Noel's October 1, 2026 America/New_York handoff replacing external ChatGPT sessions. Use the existing platform-sidekick-intelligence primitive across all its consumers, not another intelligence layer. Inspect exact current runtime implementation and existing active related work before editing; reuse relevant canonical work when appropriate. Build grounded self-knowledge from live capability registry/runtime identity/provider availability and authorization; know selected tenant/user/role/route and distinguish owner GodMode from tenant scope; include actual active mission state, latest receipts, blockers, continuation points and concurrent work in responses, without claiming completion beyond proof. Retrieve durable owner decisions and scoped memory, persist relevant decisions and the new October 1 deadline (superseding October 4 handoff target), distinguish observed/inferred/unknown/stale facts and refresh only relevant live context. Keep chat usable during execution and treat follow-up instructions as steering without discarding the objective. Make authorized work continue via existing canonical mission/Gate/merge/release machinery, with bounded recovery and concrete readable progress rather than empty recap or capability menus. Add behavioral regression cases for capabilities questions, ongoing-work questions, reconnect/continue, correction while busy, tenant isolation, stale runtime information, and refusal to claim deployed without receipt. Establish an honest readiness report from actual case results. Inspect exact diff, canonical Gate, squash merge, release only affected owners, verify live behavior. This request authorizes implementation and deployment; do not stop at a plan/config-only declaration or require the owner to repeat go ahead. Preserve existing authorization boundaries and never fabricate readiness. Focus on governing self-awareness primitive and necessary integrations.","canonicalIntent":"Implement major shared PAUL Sidekick operational self-awareness upgrades for Noel's October 1, 2026 America/New_York handoff replacing external ChatGPT sessions. Use the existing platform-sidekick-intelligence primitive across all its consumers, not another intelligence layer. Inspect exact current runtime implementation and existing active related work before editing; reuse relevant canonical work when appropriate. Build grounded self-knowledge from live capability registry/runtime identity/provider availability and authorization; know selected tenant/user/role/route and distinguish owner GodMode from tenant scope; include actual active mission state, latest receipts, blockers, continuation points and concurrent work in responses, without claiming completion beyond proof. Retrieve durable owner decisions and scoped memory, persist relevant decisions and the new October 1 deadline (superseding October 4 handoff target), distinguish observed/inferred/unknown/stale facts and refresh only relevant live context. Keep chat usable during execution and treat follow-up instructions as steering without discarding the objective. Make authorized work continue via existing canonical mission/Gate/merge/release machinery, with bounded recovery and concrete readable progress rather than empty recap or capability menus. Add behavioral regression cases for capabilities questions, ongoing-work questions, reconnect/continue, correction while busy, tenant isolation, stale runtime information, and refusal to claim deployed without receipt. Establish an honest readiness report from actual case results. Inspect exact diff, canonical Gate, squash merge, release only affected owners, verify live behavior. This request authorizes implementation and deployment; do not stop at a plan/config-only declaration or require the owner to repeat go ahead. Preserve existing authorization boundaries and never fabricate readiness. Focus on governing self-awareness primitive and necessary integrations.","conversationContextPresent":false}},"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"runtime","kind":"runtime","claim":"Affected owners live with tested grounded capability awareness, current-work continuity, reconnect, steering while busy, tenant isolation, stale-evidence handling and receipt-backed completion claims; October 1 handoff target persisted.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"Implement-major-shared-PAUL-Sidekick-operational-self-awareness-upgrades-for-Noel-s-October-1-2026-A","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":[],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["runtime"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestContractHash":"516bc39f44a48e0868807aa48c88f9f9f0fb94986ec63ffb2e0f03747bb7f987","requestContractRevision":2,"previousRequestContractHash":"2834f1e9683356cdcea3cdffecb64a56f2d382ec198621c655a3c48752e1c183"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T13:38:14.730183+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:625d0f4e-d80b-4bfc-ad1f-d4d2b7cf9d8f:request-contract:516bc39f44a48e0868807aa48c88f9f9f0fb94986ec63ffb2e0f03747bb7f987","mission_step_id":"8b7c28f4-a78a-440c-bf3a-b21990828bfd","command_center_event_id":"625d0f4e-d80b-4bfc-ad1f-d4d2b7cf9d8f"},{"id":"59e4cef7-d7f9-4758-9533-b4629b6fcd36","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/big-papi-ooma-pro-plus-integration-20260828","reason":"retryable_provider_transport:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":13994,"releaseCount":0,"toolCallCount":9,"repeatedCallCount":4,"ownerInterruptionCount":0},"version":null,"prNumber":960,"terminal":false,"missionId":"10df4da8-59fc-4838-8676-f6234b607454","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":3236,"approvedPlanMs":0,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"10df4da8-59fc-4838-8676-f6234b607454"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":698,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-28T23:05:08.373429+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"960","receipt_type":"automatic_mission_resume","idempotency_key":"mission:10df4da8-59fc-4838-8676-f6234b607454:automatic-mission-resume:960:repair_mission_pr_ready_retryable","mission_step_id":"1e93e615-65aa-411d-aeb8-83a12690539f","command_center_event_id":"10df4da8-59fc-4838-8676-f6234b607454"},{"id":"59e53e05-2d3c-4010-92b9-9d9101da8fa1","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.94-terminal-completion-supervisor","prNumber":null,"terminal":false,"missionId":"cf9cef66-2fde-4c35-92bb-a5f9b725483f","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3563,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":459,"providerAuthMs":0,"ledgerPrepareMs":459,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":459,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":459,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Synthesize exact mutation from the resolved authoritative source targets and continue this same mission.","receiptRef":{"mode":"full","missionId":"cf9cef66-2fde-4c35-92bb-a5f9b725483f"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3585,"likelyAffectedFiles":["scripts/command-center-host-agent/install-forgejo-watchdog.sh","scripts/command-center-host-agent/forgejo-watchdog.sh","scripts/command-center-host-agent/knocklaunch-forgejo-watchdog.service","scripts/command-center-host-agent/knocklaunch-forgejo-watchdog.timer"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T14:37:58.520674+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:cf9cef66-2fde-4c35-92bb-a5f9b725483f:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"17a05f6d-1258-45e8-ab25-838a2df532ad","command_center_event_id":"cf9cef66-2fde-4c35-92bb-a5f9b725483f"},{"id":"59e5787e-5987-4361-8cdd-20376ae2e317","source":"cc-execution","status":"waiting","payload":{"sourceTargets":["scripts/command-center-host-agent/forgejo-watchdog.sh","scripts/command-center-host-agent/install-forgejo-watchdog.sh","scripts/command-center-host-agent/knocklaunch-forgejo-watchdog.service","scripts/command-center-host-agent/knocklaunch-forgejo-watchdog.timer"],"continuationObjective":"Continue the existing durable mission using exact structured edits."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T13:01:03.8154+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:9aeae219-4e37-4274-aba9-cec34317b5d3:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"6efef3e2-4926-4202-858e-4ddb865c376b","command_center_event_id":"9aeae219-4e37-4274-aba9-cec34317b5d3"},{"id":"59ecc0eb-2d99-4f96-92dd-dc01da9fa9bf","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","cc-execution/runtime-proof":"pending"},"mainSha":"064230c0cabef4cc7ce30bfbf12d3b8460ae1825","missing":[],"pending":["forgejo-release/workflow","cc-execution/runtime-proof"],"required":["forgejo-main/source","forgejo-release/workflow","cc-execution/runtime-proof"],"sourceSha":"5353b465e7d44dbccd9a0651cb6a9b58a30507c2","releaseState":"pending","sourceInMain":true,"compareStatus":"known_exact_protected_main_push_history","releaseTargets":{"frontend":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"ccExecution":"pending"},"requestContractHash":"35f537bd8e99b47ae28c7a3ec513bd9415ba64a5c964800ba54b6f2740f95198","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/15667","runId":15667,"status":"running","sourceSha":"5353b465e7d44dbccd9a0651cb6a9b58a30507c2","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"ccExecution":"pending"},"targetJobCount":7,"observedTargetStates":{"ccExecution":"pending"}},"releaseSourceVerified":true,"ccExecutionRuntimeProof":{"liveSha":"20d7ef34998886130d3766ec1fd6fd8e46d5490d","deploymentId":"forgejo-main-20d7ef34998886130d3766ec1fd6fd8e46d5490d","compareStatus":null,"identitySource":"local_build_metadata","runtimeVersion":"1.64.94-terminal-completion-supervisor","containsSourceSha":false},"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T14:54:32.594693+00:00","proof_gate":"canonical_release_pending","source_sha":"5353b465e7d44dbccd9a0651cb6a9b58a30507c2","external_id":"forgejo-main-5353b465e7d4","receipt_type":"canonical_release_status","idempotency_key":"mission:6d26d9b2-d0c3-479b-a70d-e79549c3a113:forgejo-release-status:5353b465e7d44dbccd9a0651cb6a9b58a30507c2:pending:forgejo-main/source=success|forgejo-release/workflow=pending|cc-execution/runtime-proof=pending","mission_step_id":"7098cbb7-5c85-4efa-ba1c-c0a82788127a","command_center_event_id":"6d26d9b2-d0c3-479b-a70d-e79549c3a113"},{"id":"59ecdb44-83e4-42cd-af60-9f11462d20a2","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/src/index-release-fast-lane.js","workers/cc-execution/src/index-scoped-repo-patch.js"],"reason":"Owner reported Forgejo write calls timing out with HTTP 422; repairing the canonical cc-execution Forgejo mutation transport/error contract is required to restore reliable repository writes.","baseSha":"912869a74f8d37f23e4938e7cd420d2ce9ab529d","issuedAt":1788889412512,"expiresAt":1788889592512,"missionId":"ebb25ab5-b53b-4fc8-8671-c9e0737dd3d1","authorizationId":"8b189af5-7e91-4659-9f9a-dc3ed76755ba","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-08T17:43:32.98948+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"912869a74f8d37f23e4938e7cd420d2ce9ab529d","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:8b189af5-7e91-4659-9f9a-dc3ed76755ba","mission_step_id":"9050f133-962e-4e98-9729-ca05f9a205a7","command_center_event_id":"ebb25ab5-b53b-4fc8-8671-c9e0737dd3d1"},{"id":"59ecf8ec-b4a7-4b41-b194-0b85c80b1f8c","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_ancestry_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"preflight\",\"deadlineAt\":\"2026-08-03T20:44:42.003554+00:00\",\"recoveryAction\":\"reconcile_release\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":3902,\"sourceSha\":\"2f379edd7f2414c425b1ca91f727467d3f8802c6\",\"deploymentId\":\"canonical-release-2f379edd7f24\"}"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-09-20T21:32:23.449555+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:edcfc56b-0d2c-4aaa-bcee-cd4c96b09d9e:owner-progress-heartbeat:119329329","mission_step_id":"22a6a760-e14a-49d2-aa6f-880e85aae0fc","command_center_event_id":"edcfc56b-0d2c-4aaa-bcee-cd4c96b09d9e"},{"id":"59f1afd7-65a9-4211-9107-fcf8cc362946","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-970fa332d7b7","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":3434,"terminal":false,"missionId":"970fa332-d7b7-4b0c-aa9a-0c302c57f7df","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"deb1ebb74d9a6ba593276cf1fcad7f14098ee552","timingsMs":{"prReadinessMs":472,"approvedPlanMs":0,"shipAndProveMs":3303,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"970fa332-d7b7-4b0c-aa9a-0c302c57f7df"},"performance":null,"deploymentId":"forgejo-main-deb1ebb74d9a","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["agreement-sign","proposal-engine"]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1943,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-22T14:49:25.557879+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"3434","receipt_type":"automatic_mission_resume","idempotency_key":"mission:970fa332-d7b7-4b0c-aa9a-0c302c57f7df:automatic-mission-resume:3434:canonical_release_dispatched","mission_step_id":"fc89057c-a342-48af-af30-a7f644bd3c4a","command_center_event_id":"970fa332-d7b7-4b0c-aa9a-0c302c57f7df"},{"id":"59f3879e-a78d-4b67-a48c-2231659478ba","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-07114dc52c81","prNumber":4883,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"836c3a02014a259d5eff9df989044a94f5e71468","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T01:17:28.896767+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"836c3a02014a259d5eff9df989044a94f5e71468","external_id":"4883","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:07114dc5-2c81-4d55-a191-de6f7048bd6e:merged-pr:4883:836c3a02014a259d5eff9df989044a94f5e71468","mission_step_id":"0a005ad1-e912-4739-8140-97038433b200","command_center_event_id":"07114dc5-2c81-4d55-a191-de6f7048bd6e"},{"id":"59f3cf49-b48b-4a09-b7c4-ce3bbe703bf1","source":"cc-execution","status":"waiting","payload":{"sourceTargets":[],"continuationObjective":"Repair the universal proposal-engine Edge Function auth validation without weakening authorization. In supabase/functions/proposal-engine/index.ts, extract the bearer token already required from Authorization and pass that exact token explicitly to supabase.auth.getUser(token), preserving verify_jwt=true, active membership/role checks, tenant isolation, and all existing proposal behavior. Add/retain focused validation, Gate, merge, release the affected Supabase Edge Function, and prove PCG Proposal Editor no longer returns the auth-related proposal-engine 500."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T10:05:47.449323+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:253fbdf8-2a4f-4861-8d60-1b5ada78706c:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"b1a4ff86-434a-40d8-85f1-256fb07c73a6","command_center_event_id":"253fbdf8-2a4f-4861-8d60-1b5ada78706c"},{"id":"59fbbf17-c2dd-4e98-a1bb-52568cc42846","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue the same PR 1554 mission after stale-main detection. Automatically refresh the existing lawn-care mobile-shell pull request onto current protected main, preserve its unique design work, re-gate the exact refreshed head, then squash merge, release only the affected production frontend, and prove delivery.","wordingChanged":false,"canonicalIntent":"Continue the same PR 1554 mission after stale-main detection. Automatically refresh the existing lawn-care mobile-shell pull request onto current protected main, preserve its unique design work, re-gate the exact refreshed head, then squash merge, release only the affected production frontend, and prove delivery.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"existing-pr-delivered","statement":"The premium lawn care mobile shell rebuild already represented by PR 1554 is preserved and delivered to protected main.","proofConditionIds":["production-proof"]}],"objective":"Continue the same PR 1554 mission after stale-main detection. Automatically refresh the existing lawn-care mobile-shell pull request onto current protected main, preserve its unique design work, re-gate the exact refreshed head, then squash merge, release only the affected production frontend, and prove delivery.","constraints":[{"id":"preserve-design-intent","statement":"Preserve the existing green premium mobile redesign intent and do not replace it with unrelated UI or backend scope.","proofConditionIds":["production-proof"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"production-proof","kind":"runtime","claim":"The affected production frontend is released from the exact merged source for PR 1554.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"95f06f2d808f70b21a47141cde4962165a3c133579f9bc4c106977136f6f3c0e","requestContractRevision":2,"previousRequestContractHash":"c0f86b18ff1444e6748a1bf8a74c9065363b0d83428c23857efd0760153ca05b"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-03T15:21:29.500058+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:cf2776a8-0faa-409d-99fc-518c5d25c050:request-contract-revision:2:95f06f2d808f70b21a47141cde4962165a3c133579f9bc4c106977136f6f3c0e","mission_step_id":"d28df407-ae30-417a-9a20-136ff6861000","command_center_event_id":"cf2776a8-0faa-409d-99fc-518c5d25c050"},{"id":"59fdd9c2-70d3-49c0-b6e3-41d7442501e7","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-ec81b5e5e769","prNumber":2563,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"207b4a6e2637734a8fbf4b1a9b997189e7c1725b","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T22:43:58.342648+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"207b4a6e2637734a8fbf4b1a9b997189e7c1725b","external_id":"2563","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:ec81b5e5-e769-4d5a-81fa-a31e8510aeb5:merged-pr:2563:207b4a6e2637734a8fbf4b1a9b997189e7c1725b","mission_step_id":"5f0f4579-e0f4-4fda-8137-f85a3d05ed9c","command_center_event_id":"ec81b5e5-e769-4d5a-81fa-a31e8510aeb5"},{"id":"59ffbb4c-ce98-46be-a18f-9ccf547275a3","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-627f39874f8c","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2868,"terminal":false,"missionId":"627f3987-4f8c-44c3-bbaf-129caf528a4c","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"0aa63ef08f66e825062dc55604a901d7ca4bb10e","timingsMs":{"prReadinessMs":982,"approvedPlanMs":0,"shipAndProveMs":7124,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"627f3987-4f8c-44c3-bbaf-129caf528a4c"},"performance":null,"deploymentId":"forgejo-main-0aa63ef08f66","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2051,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-16T01:47:58.226559+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"2868","receipt_type":"automatic_mission_resume","idempotency_key":"mission:627f3987-4f8c-44c3-bbaf-129caf528a4c:automatic-mission-resume:2868:canonical_release_dispatched","mission_step_id":"c66fd393-1b7b-4ace-8dde-58ffef5b4666","command_center_event_id":"627f3987-4f8c-44c3-bbaf-129caf528a4c"},{"id":"5a048d3f-9751-4db7-a5d9-4ec5c0f0af0f","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-dc59705999e9-g1","reason":"forgejo_pr_create_failed:404","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.179-terminal-receipt-guard","prNumber":3032,"terminal":false,"missionId":"dc597059-99e9-47a7-9342-698e7cb00adf","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3170,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":3170,"missionSetupMs":1717,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":1180,"ledgerReconcileMs":0,"lineageReconcileMs":537,"resolvePreflightMs":1717,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":1180,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"dc597059-99e9-47a7-9342-698e7cb00adf"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1445,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-17T19:54:48.94969+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":"e7022c14272fd5c1d3d58cc0a209f38d368e0178","external_id":"3031","receipt_type":"execute_mission","idempotency_key":"mission:dc597059-99e9-47a7-9342-698e7cb00adf:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"253e8af7-7943-4d52-8830-37f23fc3f122","command_center_event_id":"dc597059-99e9-47a7-9342-698e7cb00adf"},{"id":"5a082c2b-79de-41df-8173-86a15cdd138d","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-7cabc4fbfd3c","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":10142,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":1,"executorlessWaitMs":21553,"firstUsefulResultAt":"2026-09-30T04:17:15.463Z","recoveryAttemptCount":2,"ownerInterruptionCount":0},"version":null,"prNumber":4216,"terminal":false,"missionId":"7cabc4fb-fd3c-46c6-b9ab-a501497a3086","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"18eff3c59c85054dd40ad2e23536f4dbab981608","timingsMs":{"prReadinessMs":80,"approvedPlanMs":0,"shipAndProveMs":786,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"7cabc4fb-fd3c-46c6-b9ab-a501497a3086"},"performance":null,"deploymentId":"forgejo-main-18eff3c59c85","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1931,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T04:53:40.638167+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"4216","receipt_type":"automatic_mission_resume","idempotency_key":"mission:7cabc4fb-fd3c-46c6-b9ab-a501497a3086:automatic-mission-resume:4216:canonical_release_reconciliation_pending","mission_step_id":"5e17b0d5-0e1b-48f2-8748-03fb09974cb1","command_center_event_id":"7cabc4fb-fd3c-46c6-b9ab-a501497a3086"},{"id":"5a094427-b3db-4d47-bbdf-bad525504380","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"195ea5935b8a6b0073080fb5bb210759845cccaf","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"195ea5935b8a6b0073080fb5bb210759845cccaf","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"fe4bda1683f60629257342809338e9183e0d52a6795e9e05d3342651397c500e","forgejoWorkflowProof":{"runId":12804,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"frontend":"pending"},"targetJobCount":6,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T01:10:12.338712+00:00","proof_gate":"canonical_release_pending","source_sha":"195ea5935b8a6b0073080fb5bb210759845cccaf","external_id":"forgejo-main-195ea5935b8a","receipt_type":"canonical_release_status","idempotency_key":"mission:69956e2a-c4fd-4bdb-adfd-1f8ad4fca1a6:forgejo-release-status:195ea5935b8a6b0073080fb5bb210759845cccaf:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"9ecb6166-cae6-4e46-99a9-ee4dd182d170","command_center_event_id":"69956e2a-c4fd-4bdb-adfd-1f8ad4fca1a6"},{"id":"5a09caeb-c374-42f7-9cf9-0ab0b9599685","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"06fced678ed74f276e2bc36ed84eef02ec531364","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"owner-preview-tenant-first","satisfied":true,"statement":"The Change owner / Invite owner receipt on GodMode Identity & Access uses the selected tenant as the dominant brand, including tenant logo, tenant name, and tenant-derived colors, with only subtle KnockLaunch attribution.","proofConditionIds":["proof-source","proof-runtime"]},{"id":"legacy-owner-template-removed","satisfied":true,"statement":"The legacy owner invitation hero/copy 'Your workspace is ready', 'Set up KNOCKLAUNCH', and 'Install KNOCKLAUNCH' no longer exists in the GodMode owner invitation preview/template.","proofConditionIds":["proof-source"]},{"id":"vista-brand-ready","satisfied":true,"statement":"La Vista del Mar Rentals company_logo_url is selected by the frontend tenant directory and can drive the owner invitation branding.","proofConditionIds":["proof-source","proof-runtime"]}],"satisfied":true,"constraints":[{"id":"preserve-owner-operation","satisfied":true,"statement":"Preserve existing Change owner / Invite owner assignment, authorization, setup URL, copy invite, text invite, and email invite behavior.","proofConditionIds":["proof-source"]},{"id":"frontend-only","satisfied":true,"statement":"Do not modify backend, auth, database schema, Supabase functions, control-plane files, or release architecture.","proofConditionIds":["proof-source"]}],"contractHash":"8686aa1874ae05add7e40091cd5a5fc3dd91dea1467831574696c8031dd17003","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"proof-source","kind":"repository","evidence":{"releaseState":"verified","releaseRequestContractHash":"8686aa1874ae05add7e40091cd5a5fc3dd91dea1467831574696c8031dd17003"},"required":true,"satisfied":true},{"id":"proof-runtime","kind":"runtime","evidence":{"releaseState":"verified","releaseRequestContractHash":"8686aa1874ae05add7e40091cd5a5fc3dd91dea1467831574696c8031dd17003"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["frontend"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"71b397ba-b9ad-496b-914c-985d97dbb12e","created_at":"2026-08-29T17:40:03.760503+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"06fced678ed74f276e2bc36ed84eef02ec531364","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:cd832363-e3ef-4481-9fa2-635d9082216e:request-contract:8686aa1874ae05add7e40091cd5a5fc3dd91dea1467831574696c8031dd17003:06fced678ed74f276e2bc36ed84eef02ec531364:verified:","mission_step_id":"7555f4f8-030b-48b0-bb31-62e35a0aaf89","command_center_event_id":"cd832363-e3ef-4481-9fa2-635d9082216e"},{"id":"5a0cfac2-e8df-49f4-8ea5-ec9f988a3a81","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-b484b3b4ece7","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":23062,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":"2026-09-29T00:22:32.250Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.59.3-direct-commit-ancestry","prNumber":4060,"terminal":false,"missionId":"b484b3b4-ece7-4c30-8fa4-2b1f621e41e4","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":5139,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":1187,"missionSetupMs":756,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":756,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":756,"repositoryMutationMs":3952,"repositoryProviderMs":3952,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2551,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":756,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1401},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"b484b3b4-ece7-4c30-8fa4-2b1f621e41e4"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3711,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T00:22:39.000586+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"4060","receipt_type":"execute_mission","idempotency_key":"mission:b484b3b4-ece7-4c30-8fa4-2b1f621e41e4:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"3b129190-9720-430e-acc0-c6650d6f6447","command_center_event_id":"b484b3b4-ece7-4c30-8fa4-2b1f621e41e4"},{"id":"5a0dd0c5-9816-4b5d-ad89-00d8d038a47a","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-5ed3c8d275c5","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.209-visual-certification-hardening","prNumber":3378,"terminal":false,"missionId":"5ed3c8d2-75c5-46c0-a72a-b6c843cfa840","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":5247,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":914,"missionSetupMs":381,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":269,"ledgerReconcileMs":0,"lineageReconcileMs":112,"resolvePreflightMs":381,"repositoryMutationMs":4333,"repositoryProviderMs":4333,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2298,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":269,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":2035},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"5ed3c8d2-75c5-46c0-a72a-b6c843cfa840"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["visual","runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4003,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-22T00:07:03.243407+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"3378","receipt_type":"execute_mission","idempotency_key":"mission:5ed3c8d2-75c5-46c0-a72a-b6c843cfa840:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"e44ff150-1b9c-4c33-b046-35ad53485816","command_center_event_id":"5ed3c8d2-75c5-46c0-a72a-b6c843cfa840"},{"id":"5a0f8533-fd4c-43a8-bdb8-7b1758ba51bf","source":"cc-execution","status":"cancelled","payload":{"cancelled":true,"missionId":"6268ce30-23a8-4378-9d8a-2b4732160aca"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T13:43:12.554414+00:00","proof_gate":"durable_mission_cancelled","source_sha":null,"external_id":null,"receipt_type":"owner_mission_cancelled","idempotency_key":"mission:6268ce30-23a8-4378-9d8a-2b4732160aca:mission-cancel:6268ce30-23a8-4378-9d8a-2b4732160aca","mission_step_id":"eb50d4ba-6e74-402a-96ae-67096d345d64","command_center_event_id":"6268ce30-23a8-4378-9d8a-2b4732160aca"},{"id":"5a13a9be-c4a7-477b-a04f-6cce813d0d1f","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-cb2491c40b0b","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.261-nonvisual-proof-precedence","prNumber":null,"terminal":false,"missionId":"cb2491c4-0b0b-4730-8d8e-d42fde9c46ef","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":937,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":439,"providerAuthMs":0,"ledgerPrepareMs":439,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":439,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":439,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"cb2491c4-0b0b-4730-8d8e-d42fde9c46ef"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3657,"likelyAffectedFiles":["scripts/visual-witness-hosted-runner/src/bounded-mission-queue.mjs"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T20:32:59.775002+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:cb2491c4-0b0b-4730-8d8e-d42fde9c46ef:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"8200e127-aafe-4607-b83c-25404c5e11bb","command_center_event_id":"cb2491c4-0b0b-4730-8d8e-d42fde9c46ef"},{"id":"5a1b9c3a-5b9e-4eee-90d2-7480f0e4c98a","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/forgejo-scoped-patch-shared-read-20260913","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2664,"terminal":false,"missionId":"949bc445-50f9-41d1-9076-bb49f9603b48","operation":"automatic_mission_resume","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"prReadinessMs":13893,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"949bc445-50f9-41d1-9076-bb49f9603b48"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1467,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T17:57:34.477395+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"2664","receipt_type":"automatic_mission_resume","idempotency_key":"mission:949bc445-50f9-41d1-9076-bb49f9603b48:automatic-mission-resume:2664:repair_mission_waiting_for_gate","mission_step_id":"82cbc4c2-8f34-462d-aa87-07b9c56a4089","command_center_event_id":"949bc445-50f9-41d1-9076-bb49f9603b48"},{"id":"5a1cc538-d530-4f19-905f-6839d2c5672d","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":null,"reason":null,"status":"synthesis_required","metrics":{"receiptBytes":11450,"releaseCount":0,"toolCallCount":7,"repeatedCallCount":2,"executorlessWaitMs":169882,"firstUsefulResultAt":"2026-10-06T12:15:14.050Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.65.10-boundary-fix-release-retry","prNumber":null,"terminal":false,"missionId":"e762cbd4-577d-45f4-bbd5-159faaf9cfbb","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3226,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":891,"providerAuthMs":0,"ledgerPrepareMs":891,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":891,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":891,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Synthesize exact mutation from the resolved authoritative source targets and continue this same mission.","receiptRef":{"mode":"full","missionId":"e762cbd4-577d-45f4-bbd5-159faaf9cfbb"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["repository"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1941,"likelyAffectedFiles":["src/PcgAppShell.tsx","src/PrivateAppShell.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T12:15:16.583997+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:e762cbd4-577d-45f4-bbd5-159faaf9cfbb:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"e5983cb2-171b-47b9-806d-bf6bbc4a1ba7","command_center_event_id":"e762cbd4-577d-45f4-bbd5-159faaf9cfbb"},{"id":"5a1cd794-110a-46af-9b0a-085db0854b76","source":"forgejo-runtime","status":"failed","payload":{"failed":["forgejo-release/workflow"],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"failure","frontend-cloudflare/live":"pending"},"mainSha":"ce641b4cd9ba5190f32dab3a2890a4e0c11c42ec","missing":[],"pending":["frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"e997f20a9eddbe8ed90b83e54cc9adab45150ce6","releaseState":"failed","sourceInMain":true,"compareStatus":"known_exact_protected_main_push_history","releaseTargets":{"frontend":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"0fa64d4d29a6135219f24787c5b12de6d325df2b00067a5205df410e870ce3a7","forgejoWorkflowProof":{"runId":16341,"source":"signed_push_receipt","status":"cancelled","results":{},"conclusion":"cancelled","fingerprint":"cancelled||","failureClass":"release_cancelled_transient","targetStates":{"frontend":"pending"},"safeAutoRetry":true,"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T14:57:33.04203+00:00","proof_gate":"canonical_release_terminal_failed","source_sha":"e997f20a9eddbe8ed90b83e54cc9adab45150ce6","external_id":"forgejo-main-e997f20a9edd","receipt_type":"canonical_release_status","idempotency_key":"mission:06d03c22-643e-446a-b7ae-e032d13a1857:forgejo-release-status:e997f20a9eddbe8ed90b83e54cc9adab45150ce6:failed:forgejo-main/source=success|forgejo-release/workflow=failure|frontend-cloudflare/live=pending","mission_step_id":"a8c7ad2b-ade6-45fd-a021-ec1f1d3178a9","command_center_event_id":"06d03c22-643e-446a-b7ae-e032d13a1857"},{"id":"5a1dc79d-f369-4b3c-803d-4df6a6a92b9b","source":"forgejo","status":"waiting","payload":{"branch":"ai/repair-command-center-mission-read-aa87b95e","prNumber":2260,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"9b641ad4d3b2ddcbccb16149272f89821f8454f7","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T01:51:30.699254+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"9b641ad4d3b2ddcbccb16149272f89821f8454f7","external_id":"2260","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:aa87b95e-0096-4470-bebc-05121e58a2d0:merged-pr:2260:9b641ad4d3b2ddcbccb16149272f89821f8454f7","mission_step_id":"50dc38d2-be87-498e-9a14-78fa5072cfed","command_center_event_id":"aa87b95e-0096-4470-bebc-05121e58a2d0"},{"id":"5a23b0b7-b728-411e-9c3e-ea2b11b026c7","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/src/mission-ledger.js","workers/cc-execution/src/version.js"],"reason":"Owner-authorized one-time replacement recovery mission to restore mission reads and mutation/rollback continuation while preserving the prior mission, current main, and tenant data.","baseSha":"8cf8cc122a015d2ef8e14d41ecab7887064a1df3","issuedAt":1789004850653,"expiresAt":1789005030653,"missionId":"aa87b95e-0096-4470-bebc-05121e58a2d0","authorizationId":"29be806d-03fe-4385-aa61-82688b68d112","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T01:47:31.131341+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"8cf8cc122a015d2ef8e14d41ecab7887064a1df3","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:29be806d-03fe-4385-aa61-82688b68d112","mission_step_id":"a8913769-c44c-401e-b5aa-057198261493","command_center_event_id":"aa87b95e-0096-4470-bebc-05121e58a2d0"},{"id":"5a23b8dc-73ab-4947-8c3e-9fcc48ab3b04","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"branch":"ai/objective-first-repair-6d5e56080a08","writes":[],"patches":[],"version":1,"approved":true,"missionId":"6d5e5608-0a08-4555-9b9b-93ec6034991a","objective":"P0 PAUL owner-velocity superiority tranche. Make PAUL materially less time-wasting than the current assistant by removing unnecessary serial deliberation while preserving fail-closed completion claims. On current main, change only the PAUL inference/control-plane intelligence contract and its focused regression contract: deep requests must run the compact planner concurrently with the deep candidate instead of serially; a second critic pass must run only when the planner detects contradictions, unknowns, low confidence, material risk, or the candidate makes a completion/live/deploy/merge/fix claim; the critic itself must use the standard reasoning lane because the candidate already performed deep reasoning. Preserve correction recovery, tool argument repair, provider-neutral non-OpenAI-primary routing, scope boundaries, and all tenant behavior. Add regression assertions. One focused PR, canonical Gate, squash merge, cc-execution release only, live runtime proof, then run PAUL intelligence eval and report actual latency/correctness deltas. Do not touch Tennex or frontend UI.","repository":"noel/KnockLaunchOS","visualProof":false,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/platform-sidekick-intelligence.js","workers/cc-execution/src/version.js","src/__tests__/contracts/paul-primary-interface.contract.test.ts"],"anchored_edits":[{"path":"workers/cc-execution/src/platform-sidekick-intelligence.js","edits":[{"new_content":"export const PLATFORM_SIDEKICK_INTELLIGENCE_VERSION=\"platform-sidekick-intelligence-v7-owner-velocity\";","old_content":"export const PLATFORM_SIDEKICK_INTELLIGENCE_VERSION=\"platform-sidekick-intelligence-v6-primary-interface\";"},{"new_content":"reasoningProfile:\"standard\"","old_content":"reasoningProfile:\"deep\""},{"new_content":"export async function inferPlatformSidekick(input={},env={},fetchImpl=fetch){const g=createInferenceGateway(env,fetchImpl);if(!g.chatAvailable)throw Object.assign(new Error(\"platform_sidekick_intelligence_not_configured\"),{status:503,failureClass:\"prerequisite_required\"});const started=Date.now(),catalog=normalizeTools(input.tools),scope=redact(input.scope||{}),schema=schemaOf(input.responseSchema),structured=input.mode===\"structured\"||Boolean(schema),reasoningProfile=reasoningProfileOf(input,catalog,input.messages,structured),normalized=normalizeMessages(input.messages),correctionDirective=correctionRecoveryDirective(normalized),groundedMessages=correctionDirective?[{role:\"system\",content:correctionDirective},...normalized]:normalized,baseDecisionMessages=[{role:\"system\",content:system(catalog,scope,structured)},...groundedMessages],candidatePromise=g.decide({messages:baseDecisionMessages,responseSchema:structured?schema:envelope(),reasoningProfile}),plannerPromise=reasoningProfile===\"deep\"?buildDecisionBrief(g,catalog,scope,groundedMessages):Promise.resolve(null),parallel=reasoningProfile===\"deep\"?await Promise.all([plannerPromise,candidatePromise]):[null,await candidatePromise],planner=parallel[0],candidate=parallel[1],candidateIssues=structured?[]:toolArgIssues(catalog,candidate?.decision),groundedRepair=candidateIssues.length?repairGroundedToolDecision(catalog,groundedMessages,candidate?.decision):null,toolRepair=groundedRepair?{...candidate,decision:groundedRepair}:candidateIssues.length?await repairToolDecision(g,catalog,scope,groundedMessages,planner?.brief||null,candidate.decision,candidateIssues):null,selected=toolRepair||candidate,selectedCalls=Array.isArray(selected?.decision?.toolCalls)?selected.decision.toolCalls:[],selectedMessage=text(selected?.decision?.message,12000),criticalCompletionClaim=/\\b(?:done|complete|completed|fixed|merged|deployed|released|verified|live|production|resolved)\\b/i.test(selectedMessage),plannerRisk=Boolean(planner?.brief&&(planner.brief.contradictions?.length||planner.brief.unknowns?.length||Number(planner.brief.confidence)<0.72||/\\b(?:high|critical|material|unsafe|blocked)\\b/i.test(String(planner.brief.risk||\"\")))),criticRequired=reasoningProfile===\"deep\"&&!structured&&selectedCalls.length===0&&Boolean(planner?.brief)&&(criticalCompletionClaim||plannerRisk),critic=criticRequired?await critiqueDecision(g,catalog,scope,groundedMessages,planner.brief,selected.decision):null,r=critic||selected,deliberation={plannerUsed:Boolean(planner?.brief),plannerParallel:reasoningProfile===\"deep\",criticUsed:Boolean(critic),criticRequired,toolRepairUsed:Boolean(toolRepair),groundedToolRepairUsed:Boolean(groundedRepair),plannerModel:planner?.model||null,candidateModel:candidate?.model||null,toolRepairModel:toolRepair?.model||null,finalModel:r?.model||null,confidence:planner?.brief?.confidence??null};if(structured)return{ok:true,status:\"observed\",intelligenceVersion:PLATFORM_SIDEKICK_INTELLIGENCE_VERSION,mode:\"structured\",surface:text(input.surface,120)||\"sidekick\",provider:r.provider,model:r.model,usedFallback:r.usedFallback===true,reasoningProfile,deliberation,latencyMs:Date.now()-started,structured:r.decision&&typeof r.decision===\"object\"?r.decision:{},readiness:g.readiness};const d=r.decision&&typeof r.decision===\"object\"?r.decision:{},allowed=new Set(catalog.map(x=>x.name)),finalIssues=toolArgIssues(catalog,d),calls=(Array.isArray(d.toolCalls)?d.toolCalls:[]).slice(0,8).flatMap((x,i)=>{const name=text(x?.name,120);if(!allowed.has(name)||!validToolCallArguments(catalog,x))return[];return[{id:text(x?.id,160)||`paul_tool_${i+1}`,name,arguments:x?.arguments&&typeof x.arguments===\"object\"&&!Array.isArray(x.arguments)?redact(x.arguments):{}}]}),safeMessage=finalIssues.length?\"I identified the needed tool call but could not safely fill all required arguments without inventing values, so I did not execute it.\":text(d.message,12000);return{ok:true,status:\"observed\",intelligenceVersion:PLATFORM_SIDEKICK_INTELLIGENCE_VERSION,mode:\"conversation\",surface:text(input.surface,120)||\"sidekick\",provider:r.provider,model:r.model,usedFallback:r.usedFallback===true,reasoningProfile,deliberation,latencyMs:Date.now()-started,message:safeMessage,toolCalls:calls,rawToolCalls:calls.map(x=>({id:x.id,type:\"function\",function:{name:x.name,arguments:JSON.stringify(x.arguments||{})}})),readiness:g.readiness}}","old_content":"export async function inferPlatformSidekick(input={},env={},fetchImpl=fetch){const g=createInferenceGateway(env,fetchImpl);if(!g.chatAvailable)throw Object.assign(new Error(\"platform_sidekick_intelligence_not_configured\"),{status:503,failureClass:\"prerequisite_required\"});const started=Date.now(),catalog=normalizeTools(input.tools),scope=redact(input.scope||{}),schema=schemaOf(input.responseSchema),structured=input.mode===\"structured\"||Boolean(schema),reasoningProfile=reasoningProfileOf(input,catalog,input.messages,structured),normalized=normalizeMessages(input.messages),correctionDirective=correctionRecoveryDirective(normalized),groundedMessages=correctionDirective?[{role:\"system\",content:correctionDirective},...normalized]:normalized,planner=reasoningProfile===\"deep\"?await buildDecisionBrief(g,catalog,scope,groundedMessages):null,decisionMessages=[{role:\"system\",content:system(catalog,scope,structured)},...(planner?.brief?[{role:\"system\",content:`PAUL internal decision brief (not user-visible): ${JSON.stringify(planner.brief)}`}]:[]),...groundedMessages],candidate=await g.decide({messages:decisionMessages,responseSchema:structured?schema:envelope(),reasoningProfile}),candidateIssues=structured?[]:toolArgIssues(catalog,candidate?.decision),groundedRepair=candidateIssues.length?repairGroundedToolDecision(catalog,groundedMessages,candidate?.decision):null,toolRepair=groundedRepair?{...candidate,decision:groundedRepair}:candidateIssues.length?await repairToolDecision(g,catalog,scope,groundedMessages,planner?.brief||null,candidate.decision,candidateIssues):null,selected=toolRepair||candidate,selectedCalls=Array.isArray(selected?.decision?.toolCalls)?selected.decision.toolCalls:[],critic=reasoningProfile===\"deep\"&&!structured&&selectedCalls.length===0&&planner?.brief?await critiqueDecision(g,catalog,scope,groundedMessages,planner.brief,selected.decision):null,r=critic||selected,deliberation={plannerUsed:Boolean(planner?.brief),criticUsed:Boolean(critic),toolRepairUsed:Boolean(toolRepair),groundedToolRepairUsed:Boolean(groundedRepair),plannerModel:planner?.model||null,candidateModel:candidate?.model||null,toolRepairModel:toolRepair?.model||null,finalModel:r?.model||null,confidence:planner?.brief?.confidence??null};if(structured)return{ok:true,status:\"observed\",intelligenceVersion:PLATFORM_SIDEKICK_INTELLIGENCE_VERSION,mode:\"structured\",surface:text(input.surface,120)||\"sidekick\",provider:r.provider,model:r.model,usedFallback:r.usedFallback===true,reasoningProfile,deliberation,latencyMs:Date.now()-started,structured:r.decision&&typeof r.decision===\"object\"?r.decision:{},readiness:g.readiness};const d=r.decision&&typeof r.decision===\"object\"?r.decision:{},allowed=new Set(catalog.map(x=>x.name)),finalIssues=toolArgIssues(catalog,d),calls=(Array.isArray(d.toolCalls)?d.toolCalls:[]).slice(0,8).flatMap((x,i)=>{const name=text(x?.name,120);if(!allowed.has(name)||!validToolCallArguments(catalog,x))return[];return[{id:text(x?.id,160)||`paul_tool_${i+1}`,name,arguments:x?.arguments&&typeof x.arguments===\"object\"&&!Array.isArray(x.arguments)?redact(x.arguments):{}}]}),safeMessage=finalIssues.length?\"I identified the needed tool call but could not safely fill all required arguments without inventing values, so I did not execute it.\":text(d.message,12000);return{ok:true,status:\"observed\",intelligenceVersion:PLATFORM_SIDEKICK_INTELLIGENCE_VERSION,mode:\"conversation\",surface:text(input.surface,120)||\"sidekick\",provider:r.provider,model:r.model,usedFallback:r.usedFallback===true,reasoningProfile,deliberation,latencyMs:Date.now()-started,message:safeMessage,toolCalls:calls,rawToolCalls:calls.map(x=>({id:x.id,type:\"function\",function:{name:x.name,arguments:JSON.stringify(x.arguments||{})}})),readiness:g.readiness}}"}]},{"path":"workers/cc-execution/src/version.js","edits":[{"new_content":"export const CC_EXECUTION_VERSION = \"1.64.38-paul-owner-velocity\";","old_content":"export const CC_EXECUTION_VERSION = \"1.64.37-paul-primary-interface-fastpath\";"}]},{"path":"src/__tests__/contracts/paul-primary-interface.contract.test.ts","edits":[{"new_content":"  it('keeps straightforward build and repair requests out of deep planner plus critic', () => {\n    expect(intelligenceSource).toContain('directOperation=');\n    expect(intelligenceSource).toContain('if(directOperation)return\"standard\"');\n    expect(intelligenceSource).not.toContain('(complex&&catalog.length>0)');\n    expect(intelligenceSource).toContain('platform-sidekick-intelligence-v7-owner-velocity');\n  });\n\n  it('runs deep planning beside the candidate and reserves the critic for material risk', () => {\n    expect(intelligenceSource).toContain('Promise.all([plannerPromise,candidatePromise])');\n    expect(intelligenceSource).toContain('plannerParallel:reasoningProfile===\"deep\"');\n    expect(intelligenceSource).toContain('criticRequired=');\n    expect(intelligenceSource).toContain('criticalCompletionClaim||plannerRisk');\n  });","old_content":"  it('keeps straightforward build and repair requests out of deep planner plus critic', () => {\n    expect(intelligenceSource).toContain('directOperation=');\n    expect(intelligenceSource).toContain('if(directOperation)return\"standard\"');\n    expect(intelligenceSource).not.toContain('(complex&&catalog.length>0)');\n    expect(intelligenceSource).toContain('platform-sidekick-intelligence-v6-primary-interface');\n  });"}]}],"implementation":{"files":[],"writes":[]},"requestContract":{"outcomes":[{"id":"parallel-deep","statement":"Deep PAUL reasoning runs compact planning concurrently with the deep candidate instead of serially.","proofConditionIds":["proof-repository","proof-release","proof-runtime"]},{"id":"conditional-critic","statement":"A second critic pass runs only for material risk, contradiction, low confidence, unresolved unknowns, or completion/live/deploy/merge/fix claims.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"fast-critic","statement":"When needed, the critic uses the standard reasoning lane because the candidate already performed deep reasoning.","proofConditionIds":["proof-repository","proof-runtime"]}],"constraints":[{"id":"scope","statement":"Change only the three declared PAUL control-plane and regression files.","proofConditionIds":["proof-repository"]},{"id":"safety","statement":"Do not weaken completion-proof, correction recovery, tool repair, authorization, provider-neutral routing, or tenant isolation.","proofConditionIds":["proof-repository","proof-runtime"]}],"proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Exact PAUL owner-velocity source and regression changes are present on protected main.","required":true},{"id":"proof-release","kind":"release","claim":"The canonical release for this exact merged change completes for ccExecution.","required":true,"requiredReleaseTargets":["ccExecution"]},{"id":"proof-runtime","kind":"runtime","claim":"cc-execution production runtime reports the new version and exact merged source SHA.","required":true}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/platform-sidekick-intelligence.js","workers/cc-execution/src/version.js","src/__tests__/contracts/paul-primary-interface.contract.test.ts"],"requestContract":{"outcomes":[{"id":"parallel-deep","statement":"Deep PAUL reasoning runs compact planning concurrently with the deep candidate instead of serially.","proofConditionIds":["proof-repository","proof-release","proof-runtime"]},{"id":"conditional-critic","statement":"A second critic pass runs only for material risk, contradiction, low confidence, unresolved unknowns, or completion/live/deploy/merge/fix claims.","proofConditionIds":["proof-repository","proof-runtime"]},{"id":"fast-critic","statement":"When needed, the critic uses the standard reasoning lane because the candidate already performed deep reasoning.","proofConditionIds":["proof-repository","proof-runtime"]}],"constraints":[{"id":"scope","statement":"Change only the three declared PAUL control-plane and regression files.","proofConditionIds":["proof-repository"]},{"id":"safety","statement":"Do not weaken completion-proof, correction recovery, tool repair, authorization, provider-neutral routing, or tenant isolation.","proofConditionIds":["proof-repository","proof-runtime"]}],"proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Exact PAUL owner-velocity source and regression changes are present on protected main.","required":true},{"id":"proof-release","kind":"release","claim":"The canonical release for this exact merged change completes for ccExecution.","required":true,"requiredReleaseTargets":["ccExecution"]},{"id":"proof-runtime","kind":"runtime","claim":"cc-execution production runtime reports the new version and exact merged source SHA.","required":true}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/platform-sidekick-intelligence.js","workers/cc-execution/src/version.js","src/__tests__/contracts/paul-primary-interface.contract.test.ts"],"controlPlaneMaintenanceReason":"Owner explicitly requires PAUL to outperform the current assistant on speed and execution usefulness. This bounded control-plane change reduces serial inference without weakening completion-proof safeguards."},"proofRequirements":null,"controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/platform-sidekick-intelligence.js","workers/cc-execution/src/version.js","src/__tests__/contracts/paul-primary-interface.contract.test.ts"],"controlPlaneMaintenanceReason":"Owner explicitly requires PAUL to outperform the current assistant on speed and execution usefulness. This bounded control-plane change reduces serial inference without weakening completion-proof safeguards."},"recovery":false,"fingerprint":"101c62d7cfa0b930a64eb0d4cc04c8f37c84a6083b02be1f57b977767fcbe843","replayCount":0,"serializedBytes":16546},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T14:56:55.135809+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:6d5e5608-0a08-4555-9b9b-93ec6034991a:repository-mutation-intent:101c62d7cfa0b930a64eb0d4cc04c8f37c84a6083b02be1f57b977767fcbe843:0","mission_step_id":"62a78d70-bfca-47db-aed1-b6deb3ff6759","command_center_event_id":"6d5e5608-0a08-4555-9b9b-93ec6034991a"},{"id":"5a2b9bb6-b5db-4c55-bc12-b90afdf3c787","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"release\",\"deadlineAt\":\"2026-08-07T18:03:40.109026+00:00\",\"recoveryAction\":\"reconcile_release\"},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/remove-pr-workflow-tax\",\"prNumber\":4193,\"sourceSha\":\"7cf00efb5ea2c2fdc5796579c0359f0975a11636\",\"deploymentId\":\"canonical-release-7cf00efb5ea2\"}"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-04T18:48:45.54114+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:79733204-ad7f-4963-bb54-97f108c5eb97:owner-progress-heartbeat:119409314","mission_step_id":"3f504259-6c5f-4570-9120-9b215c1107a2","command_center_event_id":"79733204-ad7f-4963-bb54-97f108c5eb97"},{"id":"5a2c591f-8a63-48bb-820b-a50d440caba3","source":"github-status","status":"pending","payload":{"failed":[],"states":{"canonical-production-release/verified":"pending"},"missing":["render-onrunner/real-user-canary"],"pending":["canonical-production-release/verified"],"required":["canonical-production-release/verified","render-onrunner/real-user-canary"],"sourceSha":"ed5f4c600dcc0963bde056766d739ca8475eec3d","releaseState":"pending","exactConductorRun":{"id":31271032168,"status":"in_progress","headSha":"ed5f4c600dcc0963bde056766d739ca8475eec3d","conclusion":null,"compareStatus":"identical","sourceMatches":true,"containsSourceSha":true,"reconciliationMode":null},"ccExecutionRuntimeProof":null},"tenant_id":"fe5cc9d9-c2fe-4062-84c7-a334663cd63c","created_at":"2026-08-08T18:04:58.636073+00:00","proof_gate":"canonical_release_pending","source_sha":"ed5f4c600dcc0963bde056766d739ca8475eec3d","external_id":"canonical-release-ed5f4c600dcc","receipt_type":"canonical_release_status","idempotency_key":"mission:8541e175-2bdb-4c96-a755-f96bdd6b43b4:release-status:ed5f4c600dcc0963bde056766d739ca8475eec3d:31271032168:pending:canonical-production-release/verified=pending|render-onrunner/real-user-canary=missing","mission_step_id":"152bf415-5faf-4566-a5b8-3965d14aefa0","command_center_event_id":"8541e175-2bdb-4c96-a755-f96bdd6b43b4"},{"id":"5a2f890a-fe09-4eef-9578-f5009c899452","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/mission-lineage-fastpath-20260825","reason":"forgejo_release_source_not_contained_in_current_main","status":"blocked","metrics":{"receiptBytes":5267,"releaseCount":1,"toolCallCount":6,"repeatedCallCount":2,"ownerInterruptionCount":0},"version":"1.50.40-mission-read-recovery","prNumber":740,"terminal":false,"missionId":"37d3d82a-ff5c-4e20-a4a6-6d1c04e72bc2","operation":"execute_mission","proofGate":"canonical_release_blocked","sourceSha":"689d94246bbe884d64f2c29e12f12f8733ef4ff5","timingsMs":{"handlerMs":3381,"prReadinessMs":264,"approvedPlanMs":0,"missionSetupMs":1131,"shipAndProveMs":3117},"nextAction":null,"receiptRef":{"mode":"full","missionId":"37d3d82a-ff5c-4e20-a4a6-6d1c04e72bc2"},"performance":null,"deploymentId":"forgejo-main-689d94246bbe","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4688,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-25T13:42:19.010746+00:00","proof_gate":"canonical_release_blocked","source_sha":"689d94246bbe884d64f2c29e12f12f8733ef4ff5","external_id":"forgejo-main-689d94246bbe","receipt_type":"execute_mission","idempotency_key":"mission:37d3d82a-ff5c-4e20-a4a6-6d1c04e72bc2:execute_mission:canonical_release_blocked","mission_step_id":"898de33e-a4ee-4ee4-bf34-69e7ab3de2ce","command_center_event_id":"37d3d82a-ff5c-4e20-a4a6-6d1c04e72bc2"},{"id":"5a2fe5b9-b5d9-4365-9d44-5c146fb88ecb","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-60757680c1cf","reason":"fresh_pr_provider_receipt_already_proves_auto_progress_gate_notifier_owns_next_state","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.123-modes-storage-validated-oauth","prNumber":2614,"terminal":false,"missionId":"60757680-c1cf-4adb-964f-7e4b4500e733","operation":"execute_mission","proofGate":"repair_mission_fresh_pr_handed_off_to_gate","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":18677,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":876,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":876,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":876,"repositoryMutationMs":18677,"repositoryProviderMs":16090,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":8875,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":876,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":7215},"nextAction":"Canonical KnockLaunch Gate notifier and mission supervisor own progression from this exact PR head; do not synchronously poll Forgejo from the owner request.","receiptRef":{"mode":"full","missionId":"60757680-c1cf-4adb-964f-7e4b4500e733"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3327,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T03:09:13.553988+00:00","proof_gate":"repair_mission_fresh_pr_handed_off_to_gate","source_sha":null,"external_id":"2614","receipt_type":"execute_mission","idempotency_key":"mission:60757680-c1cf-4adb-964f-7e4b4500e733:execute_mission:repair_mission_fresh_pr_handed_off_to_gate:current-generation","mission_step_id":"0bc09e9c-3293-49a3-b49d-0f57dee0aad8","command_center_event_id":"60757680-c1cf-4adb-964f-7e4b4500e733"},{"id":"5a30a109-71d2-4590-953f-a59e01e836bb","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-1ca308121a22","prNumber":4368,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"39680bd4efcc2b258861a212fde63e96c0de08ca","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T14:27:20.669182+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"39680bd4efcc2b258861a212fde63e96c0de08ca","external_id":"4368","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:1ca30812-1a22-48c1-bfce-d349b179fd20:merged-pr:4368:39680bd4efcc2b258861a212fde63e96c0de08ca","mission_step_id":"2d3da342-3621-4003-b5d6-3f2c4e00295a","command_center_event_id":"1ca30812-1a22-48c1-bfce-d349b179fd20"},{"id":"5a30bc4f-9b7e-4c9c-9567-e7d7c3cace30","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/fix-control-plane-cross-scope-resolution-20260824","reason":"pull_request_stale_refresh_required","status":"retryable","metrics":{"receiptBytes":5521,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":3,"ownerInterruptionCount":0},"version":"1.50.20-idempotent-reconciliation-hygiene","prNumber":676,"terminal":false,"missionId":"50a7cb06-e013-4339-9c82-6d11a9ad2f93","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"50a7cb06-e013-4339-9c82-6d11a9ad2f93"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5768,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-24T18:10:58.430021+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"676","receipt_type":"execute_mission","idempotency_key":"mission:50a7cb06-e013-4339-9c82-6d11a9ad2f93:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"c9a8cc19-5bf9-4057-bc14-e5a330c02fe4","command_center_event_id":"50a7cb06-e013-4339-9c82-6d11a9ad2f93"},{"id":"5a315f86-d078-4a5d-818d-bb75af2605e2","source":"forgejo-runtime","status":"pending","payload":{"mainSha":"83cb99b692f64372351d421adeffb9d18e8b9d0e","sourceSha":"660ff14f32db4a0c816af43cc65230b070560fa2","sourceInMain":false,"compareStatus":"main_history_page_inconclusive","ancestryProofResolved":false},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-03T09:32:48.696673+00:00","proof_gate":"canonical_release_ancestry_pending","source_sha":"660ff14f32db4a0c816af43cc65230b070560fa2","external_id":"canonical-release-660ff14f32db","receipt_type":"canonical_release_status","idempotency_key":"mission:6872b630-a489-43b9-9b00-f7e6238781a1:forgejo-release-ancestry:660ff14f32db4a0c816af43cc65230b070560fa2:83cb99b692f64372351d421adeffb9d18e8b9d0e:main_history_page_inconclusive","mission_step_id":"6505426c-bd5b-41ef-a4a5-0f2fe3a6fabb","command_center_event_id":"6872b630-a489-43b9-9b00-f7e6238781a1"},{"id":"5a316a4b-7f3d-459d-82fb-bf003728e951","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-4fde40ec5e2e","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":43698,"releaseCount":0,"toolCallCount":36,"repeatedCallCount":24,"executorlessWaitMs":252173,"firstUsefulResultAt":"2026-10-05T01:25:55.934Z","recoveryAttemptCount":5,"ownerInterruptionCount":0},"version":"1.64.94-terminal-completion-supervisor","prNumber":4884,"terminal":false,"missionId":"4fde40ec-5e2e-4256-9712-de2e31f34d37","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"ea9a0d4ce7f4e636dea695f3faeb94776a1b9e0a","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1492,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":61,"approvedPlanMs":0,"missionSetupMs":297,"providerAuthMs":0,"shipAndProveMs":870,"ledgerPrepareMs":297,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":297,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":297,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"4fde40ec-5e2e-4256-9712-de2e31f34d37"},"performance":null,"deploymentId":"forgejo-main-ea9a0d4ce7f4","releaseState":"failed","workflowRunId":15529,"releaseTargets":{"frontend":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["system-backup"]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2757,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":null},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T01:30:42.924567+00:00","proof_gate":"canonical_release_dispatched","source_sha":"ea9a0d4ce7f4e636dea695f3faeb94776a1b9e0a","external_id":"forgejo-main-ea9a0d4ce7f4","receipt_type":"execute_mission","idempotency_key":"mission:4fde40ec-5e2e-4256-9712-de2e31f34d37:execute_mission:canonical_release_dispatched:current-generation","mission_step_id":"33dcaeb9-6c42-4a32-a909-fcf013e27416","command_center_event_id":"4fde40ec-5e2e-4256-9712-de2e31f34d37"},{"id":"5a331bb1-315c-4688-8252-51a423b22722","source":"cc-execution","status":"source_resolution_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"source_resolution_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.261-nonvisual-proof-precedence","prNumber":null,"terminal":false,"missionId":"0f95cdbd-7e4e-4c77-9c68-3b9d54477d3e","operation":"execute_mission","proofGate":"repair_mission_source_resolution_required","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":614,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":421,"providerAuthMs":0,"ledgerPrepareMs":421,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":421,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":421,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Supply exact sourceTargets on the same mission; planner guesses cannot replace missing mission scope.","receiptRef":{"mode":"full","missionId":"0f95cdbd-7e4e-4c77-9c68-3b9d54477d3e"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1174,"likelyAffectedFiles":[],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-24T19:20:08.756737+00:00","proof_gate":"repair_mission_source_resolution_required","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:0f95cdbd-7e4e-4c77-9c68-3b9d54477d3e:execute_mission:repair_mission_source_resolution_required:current-generation","mission_step_id":"42ed9521-d698-4a54-b8d3-145d48dec77f","command_center_event_id":"0f95cdbd-7e4e-4c77-9c68-3b9d54477d3e"},{"id":"5a363e43-b3d1-4e55-977d-90898ea76698","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"release\",\"deadlineAt\":\"2026-10-03T02:46:01.185751+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":4565,\"sourceSha\":\"77dc9d3156fd1791fc7023c4af0c0faf4bc9db08\",\"deploymentId\":\"forgejo-main-77dc9d3156fd\"}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T23:48:01.323681+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:e46b2a91-645d-45d8-8e49-3cd85520a467:owner-progress-heartbeat:119398992","mission_step_id":"89acc45a-0815-49a0-ba88-bd7355d2cada","command_center_event_id":"e46b2a91-645d-45d8-8e49-3cd85520a467"},{"id":"5a36aacc-6a5e-42f5-91d9-ddcf9613a374","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"ship_and_prove\",\"status\":\"deployment_dispatched\",\"proofGate\":\"canonical_release_dispatched\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"release\",\"deadlineAt\":\"2026-08-07T19:44:29.038226+00:00\",\"recoveryAction\":\"reconcile_release\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":4217,\"sourceSha\":\"ddf9714987cabd9dccb38dcac71c5d8239a7001a\",\"deploymentId\":\"canonical-release-ddf9714987ca\"}"},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-10-04T18:55:30.038586+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:b2a67a71-d9f8-4bfd-ad85-0fbb5efd150b:owner-progress-heartbeat:119409341","mission_step_id":"c9b4697e-fbc1-43b4-871e-24d5962f8846","command_center_event_id":"b2a67a71-d9f8-4bfd-ad85-0fbb5efd150b"},{"id":"5a36af6a-2424-40ba-9971-27df40b13a18","source":"cc-execution","status":"recorded","payload":{"objective":"PR #1487 exact head 8948d9edb90157adf3a26e97fc6228670593e64d has passed KnockLaunch Gate and the exact green notifier. Continue this existing strict-calibration repair only: squash merge #1487, release only the affected Supabase roof-ai-detection function, and reconcile production. Do not create another branch/PR or deploy unrelated targets. After release, directly test 27.97457,-80.634969 with the trusted 2,716 sq-ft footprint and Brevard property context; a 3,955 sq-ft/1.46x result must be rejected, and success is permitted only for a subject-locked satellite polygon within 0.85x-1.25x or an honest empty/failure response.","tenantRef":"redfish-roofing","receivedAt":"2026-09-02T22:12:10.970Z","fingerprint":"b18f41d43f56ba99a14c23ddddceb537ac88858ae9ef3abf938213e2c8e3180a","workstreamRef":"redfishroofing","conversationId":null,"canonicalBranch":null,"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"PR #1487 exact head 8948d9edb90157adf3a26e97fc6228670593e64d has passed KnockLaunch Gate and the exact green notifier. Continue this existing strict-calibration repair only: squash merge #1487, release only the affected Supabase roof-ai-detection function, and reconcile production. Do not create another branch/PR or deploy unrelated targets. After release, directly test 27.97457,-80.634969 with the trusted 2,716 sq-ft footprint and Brevard property context; a 3,955 sq-ft/1.46x result must be rejected, and success is permitted only for a subject-locked satellite polygon within 0.85x-1.25x or an honest empty/failure response.","wordingChanged":false,"canonicalIntent":"PR #1487 exact head 8948d9edb90157adf3a26e97fc6228670593e64d has passed KnockLaunch Gate and the exact green notifier. Continue this existing strict-calibration repair only: squash merge #1487, release only the affected Supabase roof-ai-detection function, and reconcile production. Do not create another branch/PR or deploy unrelated targets. After release, directly test 27.97457,-80.634969 with the trusted 2,716 sq-ft footprint and Brevard property context; a 3,955 sq-ft/1.46x result must be rejected, and success is permitted only for a subject-locked satellite polygon within 0.85x-1.25x or an honest empty/failure response.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"strict-envelope","statement":"Automatic satellite roof plan geometry must be within 0.85x-1.25x of a trusted exact building footprint; the previously observed 1.46x San Filippo result is rejected.","proofConditionIds":["repository","runtime"]},{"id":"fast-outlier-correction","statement":"A pass-1 polygon more than 15% away from the trusted footprint bypasses generic verification and goes directly to strict property geometry correction.","proofConditionIds":["repository","runtime"]},{"id":"honest-failure","statement":"The detector never rescales or fabricates a polygon to force acceptance; if the strict satellite retrace cannot satisfy the envelope, it fails with no roof result.","proofConditionIds":["repository","runtime"]}],"objective":"PR #1487 exact head 8948d9edb90157adf3a26e97fc6228670593e64d has passed KnockLaunch Gate and the exact green notifier. Continue this existing strict-calibration repair only: squash merge #1487, release only the affected Supabase roof-ai-detection function, and reconcile production. Do not create another branch/PR or deploy unrelated targets. After release, directly test 27.97457,-80.634969 with the trusted 2,716 sq-ft footprint and Brevard property context; a 3,955 sq-ft/1.46x result must be rejected, and success is permitted only for a subject-locked satellite polygon within 0.85x-1.25x or an honest empty/failure response.","constraints":[{"id":"scope","statement":"Use existing PR #1487 only and release only roof-ai-detection.","proofConditionIds":["repository"]},{"id":"subject-safety","statement":"Preserve exact subject-center and trusted-footprint spatial safeguards.","proofConditionIds":["repository","runtime"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repository","kind":"repository","claim":"Existing PR #1487 changes only roof-ai-detection and passed KnockLaunch Gate on exact head 8948d9edb90157adf3a26e97fc6228670593e64d.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"runtime","kind":"runtime","claim":"The merged roof-ai-detection production function directly tested at 27.97457,-80.634969 with the trusted 2,716 sq-ft footprint returns a subject-locked polygon within 0.85x-1.25x or an honest failure; a 3,955 sq-ft/1.46x result cannot be accepted.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestedBranch":null,"conversationContext":null,"requestContractHash":"d7ec1907a8deee78099a41f2337330b430b3e3405ad150e494e35067806424bd","requestContractRevision":1},"tenant_id":"de8369b6-a78f-40bb-ae1f-28ffca62bc7e","created_at":"2026-09-02T22:12:11.453063+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:a4be6547-8604-40b1-ba5d-c3f487721b2b:tenant-workstream-contribution:b18f41d43f56ba99a14c23ddddceb537ac88858ae9ef3abf938213e2c8e3180a","mission_step_id":null,"command_center_event_id":"a4be6547-8604-40b1-ba5d-c3f487721b2b"},{"id":"5a3816a6-1fde-46cc-8e6d-84f6a5be9c02","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue the same control plane maintenance repair for the shared Gate timeout mismatch. Change only config/control-plane-capabilities.json runnerResourceBudget.gateTimeoutMinutes from 25 to 10, then exact-head Gate, squash merge, affected release, and live proof.","wordingChanged":false,"canonicalIntent":"Continue the same control plane maintenance repair for the shared Gate timeout mismatch. Change only config/control-plane-capabilities.json runnerResourceBudget.gateTimeoutMinutes from 25 to 10, then exact-head Gate, squash merge, affected release, and live proof.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"The control plane Gate timeout budget matches the 10-minute workflow timeout and no longer blocks refreshed PRs.","proofConditionIds":["proof-source","proof-gate","proof-live"]}],"objective":"Continue the same control plane maintenance repair for the shared Gate timeout mismatch. Change only config/control-plane-capabilities.json runnerResourceBudget.gateTimeoutMinutes from 25 to 10, then exact-head Gate, squash merge, affected release, and live proof.","constraints":[{"id":"constraint-1","statement":"Mutate only config/control-plane-capabilities.json and preserve protected main, exact-head Gate, and squash merge.","proofConditionIds":["proof-source","proof-gate"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-source","kind":"repository","claim":"The merged control plane config has runnerResourceBudget.gateTimeoutMinutes set to 10.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-gate","kind":"repository","claim":"The exact repair PR head passes KnockLaunch Gate and is squash merged.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"proof-live","kind":"runtime","claim":"The affected control plane runtime is proven live if the release graph marks a runtime owner.","route":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"afbc83ca02052c114ac108726cc939ff892fdbb37f9e5bfea30d5fbd9e588fa1","requestContractRevision":3,"previousRequestContractHash":"f57e32e13e401012e2ddabdfb0123d3fc7c165508962c882d5d6e0ccc996e571"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-28T22:27:23.033029+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:1275d745-c77f-4c6f-aba8-418654017c07:request-contract-revision:3:afbc83ca02052c114ac108726cc939ff892fdbb37f9e5bfea30d5fbd9e588fa1","mission_step_id":"38641d49-d27f-4053-a38a-f48422f31b55","command_center_event_id":"1275d745-c77f-4c6f-aba8-418654017c07"},{"id":"5a395f87-f8b9-4125-82f7-4b13aa94f2dd","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","render-onrunner/runtime-proof":"pending"},"mainSha":"4a37a6c69f0df2e451f90b77ee5775cc991fe387","missing":[],"pending":["forgejo-release/workflow","render-onrunner/runtime-proof"],"required":["forgejo-main/source","forgejo-release/workflow","render-onrunner/runtime-proof"],"sourceSha":"4a37a6c69f0df2e451f90b77ee5775cc991fe387","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"onrunner":"pending"},"requestContractHash":"4af92203e04382af3fa535116f22932edabf78f73d99d0e06c013284f6693012","forgejoWorkflowProof":{"runId":11200,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"onrunner":"pending"},"targetJobCount":7,"observedTargetStates":{"onrunner":"pending"}},"onrunnerRuntimeProof":{"reason":"render_onrunner_source_mismatch","hostedUrl":"https://knocklaunchcrm.onrender.com","brokerReady":true,"exactSource":false,"healthStatus":200,"runtimeReady":true,"liveSourceSha":"d9f903da15356bbeff8815cf8ddb107a45b30687","runnerVersion":"onrunner-d9f903da1535","expectedSourceSha":"4a37a6c69f0df2e451f90b77ee5775cc991fe387"},"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-23T12:07:28.499836+00:00","proof_gate":"canonical_release_pending","source_sha":"4a37a6c69f0df2e451f90b77ee5775cc991fe387","external_id":"forgejo-main-4a37a6c69f0d","receipt_type":"canonical_release_status","idempotency_key":"mission:b12435db-f7ef-405e-be18-a1925c9a62a4:forgejo-release-status:4a37a6c69f0df2e451f90b77ee5775cc991fe387:pending:forgejo-main/source=success|forgejo-release/workflow=pending|render-onrunner/runtime-proof=pending","mission_step_id":"2312e761-dd20-4459-a05c-c598c95f7695","command_center_event_id":"b12435db-f7ef-405e-be18-a1925c9a62a4"},{"id":"5a3aea3b-92ae-479a-b301-5fc30c2a70b7","source":"forgejo","status":"retryable","payload":{"branch":"ai/frontend-gate-memory-envelope-2816","merged":false,"prNumber":3280,"remediationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T06:06:50.593472+00:00","proof_gate":"forgejo_closed_pr_is_authoritative_source_lineage","source_sha":null,"external_id":"3280","receipt_type":"source_lineage_pr_closed_without_merge","idempotency_key":"mission:54cea95d-d67f-47cf-8a52-761aaefff8ea:closed-pr:3280:unmerged","mission_step_id":"01beb39e-7bb5-403f-82f3-d7dfbed2d1e8","command_center_event_id":"54cea95d-d67f-47cf-8a52-761aaefff8ea"},{"id":"5a3ea105-ba8e-40b1-919d-7b1d2adb7f8d","source":"cc-execution","status":"recorded","payload":{"objective":"Ship and prove noel/KnockLaunchOS PR #400","tenantRef":"a2929648-19db-46c8-9e93-07378ed1aa5f","receivedAt":"2026-08-19T02:26:05.642Z","fingerprint":"6fad396c98f23cd08f36504d276c3fec93c0d294775b680c0e51b934c711d28e","workstreamRef":"a292964819db46c89e9307378ed1aa5f","conversationId":null,"canonicalBranch":null,"requestedBranch":null,"conversationContext":null},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-19T02:25:50.796762+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:fcb9a6aa-a888-40fa-800c-3dd600f0b229:tenant-workstream-contribution:6fad396c98f23cd08f36504d276c3fec93c0d294775b680c0e51b934c711d28e","mission_step_id":"31dcfb37-c8a1-46b3-a369-825993f5053a","command_center_event_id":"fcb9a6aa-a888-40fa-800c-3dd600f0b229"},{"id":"5a416d8f-358f-4a2b-85f8-2c31369d24a6","source":"forgejo","status":"waiting","payload":{"branch":"ai/proposal-component-generator-v2","prNumber":1868,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"065c6c23a1762badef962557668134620864a9dd","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-09-05T19:42:43.553699+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"065c6c23a1762badef962557668134620864a9dd","external_id":"1868","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:76a671f6-e952-4b7a-bd9b-9b33c98bbec1:merged-pr:1868:065c6c23a1762badef962557668134620864a9dd","mission_step_id":"637fc7d4-8f36-4324-ab48-9186d7707ebd","command_center_event_id":"76a671f6-e952-4b7a-bd9b-9b33c98bbec1"},{"id":"5a424969-924b-47a3-83a0-bc594cfe926b","source":"cc-execution","status":"waiting","payload":{"sourceTargets":["scripts/command-center-host-agent/forgejo-watchdog.sh","scripts/command-center-host-agent/install-forgejo-watchdog.sh","scripts/command-center-host-agent/knocklaunch-forgejo-watchdog.service","scripts/command-center-host-agent/knocklaunch-forgejo-watchdog.timer"],"continuationObjective":"Continue the existing durable mission using exact structured edits."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T13:59:58.196474+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:05c22b59-6cb7-4760-907b-a066d796a149:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"0e72a9fd-9985-43ec-a4da-672325555495","command_center_event_id":"05c22b59-6cb7-4760-907b-a066d796a149"},{"id":"5a43c017-a9d8-45ef-b1a8-d9671f66cfd0","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","cc-execution/runtime-proof":"success"},"mainSha":"1191ada991cf837730da5ff7b831b09781ec502a","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","cc-execution/runtime-proof"],"sourceSha":"1191ada991cf837730da5ff7b831b09781ec502a","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"ccExecution":"success"},"requestContractHash":"06350ef43257f430b4291b7f9c360e5382aacb6033ba6796140cada82c9e2484","forgejoWorkflowProof":{"runId":11875,"source":"signed_push_receipt","status":"success","results":{},"conclusion":"success","targetStates":{"ccExecution":"success"},"targetJobCount":7,"observedTargetStates":{"ccExecution":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":{"liveSha":"1191ada991cf837730da5ff7b831b09781ec502a","proofGate":"cc_execution_target_aware_runtime_identity_verified","deploymentId":"forgejo-main-1191ada991cf837730da5ff7b831b09781ec502a","compareStatus":"target_job_success_runtime_verified","workflowRunId":11875,"identitySource":"canonical_release_target_job","runtimeVersion":"1.58.282-lineage-main-guard","workflowFailed":false,"containsSourceSha":true},"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T20:11:15.296363+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"1191ada991cf837730da5ff7b831b09781ec502a","external_id":"forgejo-main-1191ada991cf","receipt_type":"canonical_release_status","idempotency_key":"mission:3dddf005-ccb1-474c-a220-dc1b2350b05c:forgejo-release-status:1191ada991cf837730da5ff7b831b09781ec502a:verified:forgejo-main/source=success|forgejo-release/workflow=success|cc-execution/runtime-proof=success","mission_step_id":"f0dbae31-181e-4d32-a7b5-093d41e1e49c","command_center_event_id":"3dddf005-ccb1-474c-a220-dc1b2350b05c"},{"id":"5a44cc04-2be2-4dc6-bb9a-a96bd18ab2c2","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-2724ad20e7ec","reason":"provider_verified_auto_progress_owns_gate_merge_release_outside_owner_response","status":"waiting_for_gate","metrics":{"receiptBytes":56458,"releaseCount":0,"toolCallCount":19,"repeatedCallCount":13,"executorlessWaitMs":1322926,"firstUsefulResultAt":"2026-09-30T12:45:26.643Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.11-paul-basename-precision","prNumber":4232,"terminal":false,"missionId":"2724ad20-e7ec-4a22-b258-7031a7a0dfa2","operation":"execute_mission","proofGate":"repair_mission_pr_handed_off_to_supervisor","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4666,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":1074,"missionSetupMs":301,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":301,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":301,"repositoryMutationMs":3592,"repositoryProviderMs":3592,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":2364,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":301,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":1228},"nextAction":"Canonical KnockLaunch Gate notifier and durable mission supervisor own Gate, merge, release, and proof progression from this exact PR head outside the owner response path.","receiptRef":{"mode":"full","missionId":"2724ad20-e7ec-4a22-b258-7031a7a0dfa2"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3420,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-30T13:07:35.379538+00:00","proof_gate":"repair_mission_pr_handed_off_to_supervisor","source_sha":null,"external_id":"4232","receipt_type":"execute_mission","idempotency_key":"mission:2724ad20-e7ec-4a22-b258-7031a7a0dfa2:execute_mission:repair_mission_pr_handed_off_to_supervisor:current-generation","mission_step_id":"0abf9eae-d631-4cf2-b48c-b86b58243948","command_center_event_id":"2724ad20-e7ec-4a22-b258-7031a7a0dfa2"},{"id":"5a451d58-2de1-4a9a-81b8-7520d34997cf","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","supabase-migrations/live":"success"},"mainSha":"9a8d43ce9207634c79361312e96f140f091862a9","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","supabase-migrations/live"],"sourceSha":"9a8d43ce9207634c79361312e96f140f091862a9","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"migrations":"success"},"requestContractHash":"d8040d3ba6b4bb454c9c3e1f2586d0d020ee3197115b0c34b9591db15c15a8c4","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/11017","runId":11017,"status":"success","sourceSha":"9a8d43ce9207634c79361312e96f140f091862a9","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"migrations":"success"},"targetJobCount":7,"observedTargetStates":{"migrations":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-23T02:04:48.668113+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"9a8d43ce9207634c79361312e96f140f091862a9","external_id":"forgejo-main-9a8d43ce9207","receipt_type":"canonical_release_status","idempotency_key":"mission:229922aa-c0ec-48fd-9e28-94d154d04d7c:forgejo-release-status:9a8d43ce9207634c79361312e96f140f091862a9:verified:forgejo-main/source=success|forgejo-release/workflow=success|supabase-migrations/live=success","mission_step_id":"8a368844-3819-4077-8762-f8f047c692f3","command_center_event_id":"229922aa-c0ec-48fd-9e28-94d154d04d7c"},{"id":"5a4637da-2466-4b96-8a14-f95a286f9db3","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"fc94601c8311b04b11d4cdd05c1dd66b60e53c7a","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"fc94601c8311b04b11d4cdd05c1dd66b60e53c7a","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/909","runId":909,"status":"running","conclusion":null,"failedJobs":[],"diagnostics":null},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-16T18:36:58.451835+00:00","proof_gate":"canonical_release_pending","source_sha":"fc94601c8311b04b11d4cdd05c1dd66b60e53c7a","external_id":"forgejo-main-fc94601c8311","receipt_type":"canonical_release_status","idempotency_key":"mission:2b0b8570-2490-45de-be61-11fd7e0ed96c:forgejo-release-status:fc94601c8311b04b11d4cdd05c1dd66b60e53c7a:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"8e73902d-9542-4b9b-9219-c04b83873990","command_center_event_id":"2b0b8570-2490-45de-be61-11fd7e0ed96c"},{"id":"5a4687c0-a8ae-473c-8057-24d04d3689bf","source":"cc-execution","status":"recorded","payload":{"objective":"Reconcile the already-merged Curri Control Center frontend delivery from Forgejo PR 2011/current protected main without any new source mutation. Verify the affected frontend release is terminal and prove /curri-control-center/dashboard resolves as Curri Control Center for the active One Call-branded tenant. Preserve /curri-properties as the Realtor flagship. No Visual Witness.","tenantRef":"60911b66-2940-4f68-9b88-cd17d1bdf5b6","receivedAt":"2026-09-06T23:55:24.876Z","fingerprint":"81d0b223eb8dc9fa3cde9acc420bad1ed4b889a25a39823be466e43d31eec192","workstreamRef":"60911b6629404f689b88cd17d1bdf5b6","conversationId":null,"canonicalBranch":null,"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Reconcile the already-merged Curri Control Center frontend delivery from Forgejo PR 2011/current protected main without any new source mutation. Verify the affected frontend release is terminal and prove /curri-control-center/dashboard resolves as Curri Control Center for the active One Call-branded tenant. Preserve /curri-properties as the Realtor flagship. No Visual Witness.","wordingChanged":false,"canonicalIntent":"Reconcile the already-merged Curri Control Center frontend delivery from Forgejo PR 2011/current protected main without any new source mutation. Verify the affected frontend release is terminal and prove /curri-control-center/dashboard resolves as Curri Control Center for the active One Call-branded tenant. Preserve /curri-properties as the Realtor flagship. No Visual Witness.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"control-center-live","statement":"The active curri-control-center tenant opens the dedicated Curri Control Center executive dashboard using the configured One Call identity and branding.","proofConditionIds":["proof-control-center-route","proof-active-tenant"]},{"id":"realtor-preserved","statement":"The existing curri-properties Realtor tenant remains preserved as the Realtor flagship.","proofConditionIds":["proof-realtor-source"]}],"objective":"Reconcile the already-merged Curri Control Center frontend delivery from Forgejo PR 2011/current protected main without any new source mutation. Verify the affected frontend release is terminal and prove /curri-control-center/dashboard resolves as Curri Control Center for the active One Call-branded tenant. Preserve /curri-properties as the Realtor flagship. No Visual Witness.","constraints":[{"id":"no-realtor-overwrite","statement":"Do not delete, replace, or repurpose the existing curri-properties Realtor tenant.","proofConditionIds":["proof-control-center-route","proof-active-tenant","proof-realtor-source"]},{"id":"no-boldtrail-replacement","statement":"The Control Center is an oversight layer and not a replacement for BoldTrail.","proofConditionIds":["proof-control-center-route","proof-active-tenant","proof-realtor-source"]},{"id":"no-fake-metrics","statement":"Do not fabricate connected-system metrics or business status data.","proofConditionIds":["proof-control-center-route","proof-active-tenant","proof-realtor-source"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-control-center-route","kind":"runtime","claim":"The production route /curri-control-center/dashboard renders Curri Control Center.","route":"/curri-control-center/dashboard","roleRef":null,"userRef":null,"required":true,"expectedText":"Curri Control Center","targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"]},{"id":"proof-active-tenant","kind":"runtime","claim":"The Curri Control Center tenant is active and ready with One Call Maintenance & Property Management branding.","route":"/curri-control-center/dashboard","roleRef":null,"userRef":null,"required":true,"expectedText":"One Call Maintenance & Property Management","targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"]},{"id":"proof-realtor-source","kind":"repository","claim":"Current Forgejo source continues to preserve the curri-properties Realtor route family while adding the separate curri-control-center special case.","route":"/curri-properties","roleRef":null,"userRef":null,"required":true,"expectedText":"curri-properties","targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestedBranch":null,"conversationContext":null,"requestContractHash":"94465b20708edf0e8a11f68b8e91efe58368619682a43e87d25cdb15fc0978d0","requestContractRevision":1},"tenant_id":"60911b66-2940-4f68-9b88-cd17d1bdf5b6","created_at":"2026-09-06T23:55:25.441062+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:ebe51bf7-1f4f-4238-8c5a-6ae24e011a6f:tenant-workstream-contribution:81d0b223eb8dc9fa3cde9acc420bad1ed4b889a25a39823be466e43d31eec192","mission_step_id":null,"command_center_event_id":"ebe51bf7-1f4f-4238-8c5a-6ae24e011a6f"},{"id":"5a4777af-35f6-4720-a77b-d262f0b7c111","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"b52b1aa71a323327aeea6dc3ab248fcf3746a209","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"outcome-schema","satisfied":true,"statement":"public.app_background_jobs exists with the exact fields, constraints, indexes, tenant/user RLS, grants, and realtime registration required by the existing backgroundJobService.","proofConditionIds":["proof-migration","proof-live"]},{"id":"outcome-404","satisfied":true,"statement":"The shared NotificationBell active-background-job request no longer returns a missing-table 404 on the production Curri Control Center route.","proofConditionIds":["proof-live"]}],"satisfied":true,"constraints":[{"id":"scope","satisfied":true,"statement":"Migration-only repair; do not alter tenant data, frontend behavior, auth model, or unrelated schema.","proofConditionIds":["proof-migration"]},{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["proof-migration","proof-live"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["proof-migration","proof-live"]}],"contractHash":"a892e6116ae22574e2d84cc74f61c430ffd0bec6d534e6002ecb889272c2bd36","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"proof-migration","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":true,"releaseTargetStates":{"migrations":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["migrations"],"allowedReleaseTargets":["migrations"],"requiredReleaseTargets":["migrations"],"migrationReleaseVerified":true,"releaseRequestContractHash":"a892e6116ae22574e2d84cc74f61c430ffd0bec6d534e6002ecb889272c2bd36"},"required":true,"satisfied":true},{"id":"proof-live","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":true,"releaseTargetStates":{"migrations":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["migrations"],"allowedReleaseTargets":["migrations"],"requiredReleaseTargets":["migrations"],"migrationReleaseVerified":true,"releaseRequestContractHash":"a892e6116ae22574e2d84cc74f61c430ffd0bec6d534e6002ecb889272c2bd36"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["migrations"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-14T06:45:18.131153+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"b52b1aa71a323327aeea6dc3ab248fcf3746a209","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:b71188b8-2e77-48f8-8f3c-c052e04e997d:request-contract:a892e6116ae22574e2d84cc74f61c430ffd0bec6d534e6002ecb889272c2bd36:b52b1aa71a323327aeea6dc3ab248fcf3746a209:verified:","mission_step_id":"89ba50f3-9f36-4231-b84a-b6cf2aa9c0a5","command_center_event_id":"b71188b8-2e77-48f8-8f3c-c052e04e997d"},{"id":"5a47a31d-908e-4b6e-a4f6-4a33258e0732","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"08f4bb1c8329c1c79d2f52246ba821d8bbf550cf","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"single-owner-signed-out-oauth","satisfied":true,"statement":"When the platform is signed out, PRIME authentication and OAuth approval complete inside /auth with the isolated primeAuth client and do not navigate to /auth/oauth/consent.","proofConditionIds":["repo-proof","production-proof"]},{"id":"signed-in-platform-path-preserved","satisfied":true,"statement":"When a normal platform session exists, the existing /auth/oauth/consent approval path remains available and uses the platform Supabase client.","proofConditionIds":["repo-proof","production-proof"]},{"id":"no-bidirectional-loop","satisfied":true,"statement":"/auth/oauth/consent may redirect one-way to /auth only when the platform session is absent; /auth never redirects an isolated PRIME session back to consent.","proofConditionIds":["repo-proof"]},{"id":"platform-login-unchanged","satisfied":true,"statement":"Normal platform Login, PublicRoute, tenant selection, app/workspace routing, backend, database, and provider configuration remain unchanged.","proofConditionIds":["repo-proof","production-proof"]}],"satisfied":true,"constraints":[{"id":"frontend-auth-only","satisfied":true,"statement":"Only frontend OAuth auth/consent code and focused contract tests may change.","proofConditionIds":["repo-proof","production-proof"]},{"id":"canonical-release","satisfied":true,"statement":"Pass KnockLaunch Gate, squash merge through Forgejo, release frontend only, and verify the exact production artifact.","proofConditionIds":["production-proof"]}],"contractHash":"bba5ea6913a86e5855883d1463fafa6ae768b54fc84d7b8e958ad625deaabf81","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"repo-proof","kind":"repository","evidence":{"repositoryProofGate":"request_contract_repository_verified","requestContractHash":"bba5ea6913a86e5855883d1463fafa6ae768b54fc84d7b8e958ad625deaabf81","repositoryProofStatus":"verified","repositoryProofSourceSha":"08f4bb1c8329c1c79d2f52246ba821d8bbf550cf"},"required":true,"satisfied":true},{"id":"production-proof","kind":"runtime","evidence":{"releaseState":"verified","activeReleaseTargets":["frontend"],"releaseRequestContractHash":"bba5ea6913a86e5855883d1463fafa6ae768b54fc84d7b8e958ad625deaabf81"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["frontend"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T16:29:59.918543+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"08f4bb1c8329c1c79d2f52246ba821d8bbf550cf","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:8ab5254f-1339-4a93-91b0-a269b76b7b84:request-contract:bba5ea6913a86e5855883d1463fafa6ae768b54fc84d7b8e958ad625deaabf81:08f4bb1c8329c1c79d2f52246ba821d8bbf550cf:verified:","mission_step_id":"cdc6262e-68a4-4bf2-815a-a4e3d58ca4f1","command_center_event_id":"8ab5254f-1339-4a93-91b0-a269b76b7b84"},{"id":"5a4a3623-a91a-4cef-97ad-02ec393a0cac","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"release","branch":"ai/objective-first-repair-9d088d7955f2","reason":"forgejo_same_source_release_retry_exhausted:12217","status":"blocked","metrics":{"receiptBytes":159752,"releaseCount":1,"toolCallCount":67,"repeatedCallCount":49,"executorlessWaitMs":1086913,"firstUsefulResultAt":"2026-09-27T15:11:29.867Z","recoveryAttemptCount":22,"ownerInterruptionCount":0},"version":"1.58.293-scheduler-v2","prNumber":3880,"terminal":false,"missionId":"9d088d79-55f2-4991-b7db-999b3335bec5","operation":"execute_mission","proofGate":"canonical_release_blocked","sourceSha":"29788369be45a7b04d28a1dcfccd62d8dd834c14","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1329,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":98,"approvedPlanMs":0,"missionSetupMs":560,"providerAuthMs":0,"shipAndProveMs":708,"ledgerPrepareMs":560,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":560,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":560,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"9d088d79-55f2-4991-b7db-999b3335bec5"},"performance":null,"deploymentId":"forgejo-main-29788369be45","releaseState":"failed","workflowRunId":12217,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1419,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-27T15:24:58.464932+00:00","proof_gate":"canonical_release_blocked","source_sha":"29788369be45a7b04d28a1dcfccd62d8dd834c14","external_id":"forgejo-main-29788369be45","receipt_type":"execute_mission","idempotency_key":"mission:9d088d79-55f2-4991-b7db-999b3335bec5:execute_mission:canonical_release_blocked:current-generation","mission_step_id":"9f743692-46ef-487b-b3e7-3cb4c5bb04f4","command_center_event_id":"9d088d79-55f2-4991-b7db-999b3335bec5"},{"id":"5a4a68ee-4476-479a-a5f0-9a98ac96f535","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in pull request.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"pull_request_exists_without_merged_source","handoff":null,"capability":"light-control-plane","automationAllowed":true,"ownerActionRequired":false,"resumeFromCheckpoint":"preflight"},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"pull_request\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"owner_progress_heartbeat\",\"status\":\"waiting\",\"proofGate\":\"owner_progress_heartbeat\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"waiting\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"ready\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"pull_request_exists_without_merged_source\",\"automationAllowed\":true,\"ownerActionRequired\":false,\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\",\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"visual_proof\",\"deadlineAt\":\"2026-10-06T17:50:57.180045+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":\"ai/objective-first-repair-e908936ef307\",\"prNumber\":5181,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T14:12:20.48957+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:e908936e-f307-463c-9631-a6fa61f98025:owner-progress-heartbeat:119419729","mission_step_id":"baa11ec4-7bb2-455c-ac85-399bd7143d21","command_center_event_id":"e908936e-f307-463c-9631-a6fa61f98025"},{"id":"5a4ed0bd-5e2f-4864-8e3b-8a951a085cc7","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/fix-strict-tenant-contract-migration-signature-20260830","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.56.3-source-scope-boundary","prNumber":1116,"terminal":false,"missionId":"f749b0eb-2685-494f-9e2c-1fc61b0c102c","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":{"handlerMs":12619,"prReadinessMs":2627,"approvedPlanMs":9487,"missionSetupMs":1907,"shipAndProveMs":0},"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"f749b0eb-2685-494f-9e2c-1fc61b0c102c"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5860,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-30T16:01:15.179189+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"1116","receipt_type":"execute_mission","idempotency_key":"mission:f749b0eb-2685-494f-9e2c-1fc61b0c102c:execute_mission:repair_mission_waiting_for_gate:current-generation","mission_step_id":"8c832401-4e2a-462c-8c4a-cb74736858c3","command_center_event_id":"f749b0eb-2685-494f-9e2c-1fc61b0c102c"},{"id":"5a50454a-43b2-4a78-9d64-6b022be7082a","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Owner explicitly directed Unfreeze control plane and continue; this is the exact deterministic invariant repair required by Gate 7839 on PR #2658.","baseSha":"1f26f40c1df0530564b9b46f229580652dcf828a","issuedAt":1789318512052,"expiresAt":1789318692052,"missionId":"7101e674-7764-4867-b65a-e31608b7e521","authorizationId":"8d2b5b48-a723-48a1-a9a2-efa20fcbaf45","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T16:55:12.530475+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"1f26f40c1df0530564b9b46f229580652dcf828a","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:8d2b5b48-a723-48a1-a9a2-efa20fcbaf45","mission_step_id":"9f7e2330-eea0-4873-8d46-18ee3a652da2","command_center_event_id":"7101e674-7764-4867-b65a-e31608b7e521"},{"id":"5a52ac86-def2-41d0-9af1-7ceb0668b51f","source":"cc-execution","status":"waiting","payload":{"sourceTargets":["workers/cc-execution/src/entrypoint-owner-status.js","workers/cc-execution/src/version.js","workers/cc-execution/test/release-orchestration-invariants.test.js"],"continuationObjective":"CONTROL-PLANE P0 QUEUE READINESS SPEED: on current main, make the canonical merge-queue use each already-loaded pull request's merge_base versus the already-loaded current main SHA to decide obvious fresh versus stale state before invoking the heavier /repo/pr/ready ancestry path. Exact merge_base==main skips the heavy readiness call; exact merge_base!=main goes directly to the existing queueFastRefresh stale recovery; ambiguous/missing merge_base falls back to /repo/pr/ready. Preserve deterministic failure quarantine, stale-head recovery before failed-PR retirement, exact-head Gate, merge safety, and one canonical queue owner. Update the existing regression invariant so it verifies the new stale-recovery ordering rather than requiring the old unconditional readiness-call string. Ship through canonical Gate, squash merge, cc-execution release, and live proof."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T20:19:02.897501+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:1d3540bf-567c-42e5-8f74-65a81e13ef0b:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"c8351085-e8f2-4d3b-801a-9da50391637c","command_center_event_id":"1d3540bf-567c-42e5-8f74-65a81e13ef0b"},{"id":"5a5364d6-f5ad-4bb1-9170-06e6a737d345","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/forgejo-behavioral-reliability-g1-20260910","reason":"control_plane_frozen_explicit_unfreeze_required","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.92-forgejo-pull-index-reliability","prNumber":2292,"terminal":false,"missionId":"2dc54e16-e2d9-4de6-bb5c-21d13bd66727","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":0,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":361,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":361,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":361,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":361,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"2dc54e16-e2d9-4de6-bb5c-21d13bd66727"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1592,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T08:34:18.765215+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":"2292","receipt_type":"execute_mission","idempotency_key":"mission:2dc54e16-e2d9-4de6-bb5c-21d13bd66727:execute_mission:repair_mission_execution_blocked:generation-1","mission_step_id":"a53ce1da-5f20-4864-b76e-9d58318e3af2","command_center_event_id":"2dc54e16-e2d9-4de6-bb5c-21d13bd66727"},{"id":"5a548d58-f551-4c1b-a564-325578c73acf","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-e75a81796767","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.196-replay-fenced-mission-runtime","prNumber":null,"terminal":false,"missionId":"e75a8179-6767-477f-97c8-fa54216eae10","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":188,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":351,"providerAuthMs":0,"ledgerPrepareMs":351,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":351,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":351,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"e75a8179-6767-477f-97c8-fa54216eae10"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5531,"likelyAffectedFiles":["config/capabilities/big-papis-proposal-screenshot-intake.json","config/capabilities/big-papis-proposal-workflow.json","config/capabilities/big-papis-public-stop-board.json","scripts/operator-visual-smoke.mjs","scripts/owner-supabase-function-migrate.mjs","scripts/resolve-supabase-function-targets.mjs","scripts/visual-witness-hosted-runner/src/operator-session-broker.mjs","src/__tests__/contracts/big-papis-business-tools-communications.contract.test.ts","src/__tests__/contracts/big-papis-canonical-customer-proposals.contract.test.ts","src/__tests__/contracts/big-papis-event-email-standard.contract.test.ts","src/__tests__/contracts/big-papis-event-lifecycle.contract.test.ts","scripts/check-openapi-lengths.mjs"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T20:49:02.553254+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:e75a8179-6767-477f-97c8-fa54216eae10:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"440e9632-cfa3-427b-8527-601ff736b722","command_center_event_id":"e75a8179-6767-477f-97c8-fa54216eae10"},{"id":"5a578199-00ae-441b-84b9-317b8e2bcc9f","source":"cc-execution","status":"in_progress","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/systemic-execution-reliability-20260903-r2","reason":null,"status":"in_progress","metrics":{"receiptBytes":42133,"releaseCount":0,"toolCallCount":25,"repeatedCallCount":2,"ownerInterruptionCount":0},"version":"1.58.18-frontend-release-startup-refreeze","prNumber":1657,"terminal":false,"missionId":"cd88e721-f570-406b-b194-53230b2acb03","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":null,"timingsMs":{"handlerMs":8035,"prReadinessMs":824,"approvedPlanMs":0,"missionSetupMs":2461,"shipAndProveMs":6913},"nextAction":"Reconcile this same mission and pull request automatically; do not create replacement work.","receiptRef":{"mode":"full","missionId":"cd88e721-f570-406b-b194-53230b2acb03"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1010,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T02:44:31.603732+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"1657","receipt_type":"execute_mission","idempotency_key":"mission:cd88e721-f570-406b-b194-53230b2acb03:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"64b90b16-85ed-427b-95ed-47a7b22eed2b","command_center_event_id":"cd88e721-f570-406b-b194-53230b2acb03"},{"id":"5a59d798-170c-48e3-aea9-c463c80532fc","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in release.","nextAction":{"lane":"production-release-conductor","action":"reconcile_release","reason":"merged_source_requires_release_proof","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"release\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"canonical_release_status\",\"status\":\"pending\",\"proofGate\":\"canonical_release_ancestry_pending\"},\"activeStep\":{\"key\":\"preflight\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"implementation\",\"status\":\"pending\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"reconcile_release\",\"lane\":\"production-release-conductor\",\"reason\":\"merged_source_requires_release_proof\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_release\",\"recoveryOwner\":\"production-release-conductor\"},\"acceptance\":{\"total\":6,\"verified\":0,\"pending\":6,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"preflight\",\"implementation\",\"pull_request\",\"release\",\"runtime_proof\",\"visual_proof\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-08-05T21:54:16.731291+00:00\",\"recoveryAction\":\"reconcile_release\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":4072,\"sourceSha\":\"1dc539f373f433145db97943c30ee787abf28f14\",\"deploymentId\":\"canonical-release-e4e0bf53ba91\"}"},"tenant_id":"fe5cc9d9-c2fe-4062-84c7-a334663cd63c","created_at":"2026-10-03T23:24:04.909199+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:0c874f76-3e2b-48d4-bc60-092acf39ed01:owner-progress-heartbeat:119404656","mission_step_id":"2449bb11-35b2-43cd-bda0-d949bf317d87","command_center_event_id":"0c874f76-3e2b-48d4-bc60-092acf39ed01"},{"id":"5a5b76e3-7dfd-44d4-895f-802e2b2eee54","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-11b331625fb7","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":2709,"terminal":false,"missionId":"11b33162-5fb7-4468-bfe1-f1b01ad98624","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"8062134cb0e77e555b8ae616952c17589432ad60","timingsMs":{"prReadinessMs":983,"approvedPlanMs":0,"shipAndProveMs":5002,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"11b33162-5fb7-4468-bfe1-f1b01ad98624"},"performance":null,"deploymentId":"forgejo-main-8062134cb0e7","workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1894,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-14T03:09:29.701523+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"2709","receipt_type":"automatic_mission_resume","idempotency_key":"mission:11b33162-5fb7-4468-bfe1-f1b01ad98624:automatic-mission-resume:2709:canonical_release_dispatched","mission_step_id":"c63bdaa8-fa94-4b23-9b6b-ce172f06935a","command_center_event_id":"11b33162-5fb7-4468-bfe1-f1b01ad98624"},{"id":"5a5bd5e1-a212-4269-87c8-3da2000f3f84","source":"durable-mission-ledger","status":"pending","payload":{"sourceSha":"ca717c4346e55e9e5ed9f31b4b6d4a6b40b50cf2","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"synthesis-continuation","satisfied":false,"statement":"MCP command_center_execute execute_objective synthesis responses retain exact nested scope and return actionable same-branch continuation rather than an unhandled synthesis_required.","proofConditionIds":["repository-regression","repository-tests","runtime-release"]}],"satisfied":false,"constraints":[{"id":"bounded-safe-repair","satisfied":false,"statement":"Only the synthesis helper, its tests and runtime version may change. Preserve authentication, explicit mutation authorization, protected main, canonical Gate and affected-runtime release.","proofConditionIds":["repository-regression","repository-tests","runtime-release","release-scope"]}],"contractHash":"13c35c2b02379441d64e7781c9b75179fb8c8e790a64597d36edc8cc9263c6d4","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"repository-regression","kind":"repository","evidence":{"repositoryProofGate":null,"requestContractHash":"13c35c2b02379441d64e7781c9b75179fb8c8e790a64597d36edc8cc9263c6d4","repositoryProofStatus":"required","repositoryProofSourceSha":null},"required":true,"satisfied":false},{"id":"repository-tests","kind":"repository","evidence":{"repositoryProofGate":null,"requestContractHash":"13c35c2b02379441d64e7781c9b75179fb8c8e790a64597d36edc8cc9263c6d4","repositoryProofStatus":"required","repositoryProofSourceSha":null},"required":true,"satisfied":false},{"id":"runtime-release","kind":"runtime","evidence":{"releaseState":"verified","activeReleaseTargets":["ccExecution"],"releaseRequestContractHash":"13c35c2b02379441d64e7781c9b75179fb8c8e790a64597d36edc8cc9263c6d4"},"required":true,"satisfied":true},{"id":"release-scope","kind":"scope","evidence":{"activeReleaseTargets":["ccExecution"],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":["repository"],"activeReleaseTargets":["ccExecution"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":3},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-09T11:15:09.504295+00:00","proof_gate":"request_contract_pending","source_sha":"ca717c4346e55e9e5ed9f31b4b6d4a6b40b50cf2","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:26e1be2e-f3cc-4eba-ae94-605b7f0b0e14:request-contract:13c35c2b02379441d64e7781c9b75179fb8c8e790a64597d36edc8cc9263c6d4:ca717c4346e55e9e5ed9f31b4b6d4a6b40b50cf2:pending:repository","mission_step_id":"d9f852b4-0506-4951-b0b6-34571a53f982","command_center_event_id":"26e1be2e-f3cc-4eba-ae94-605b7f0b0e14"},{"id":"5a5dd18d-0ea4-49d6-962b-674a4ee709c3","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"src/pages/card-grading/PCGModesWorkspace.tsx","content":"import React from 'react';\nimport {ArrowLeft,ArrowRight,CheckCircle2,ClipboardCheck,Clock3,CreditCard,Database,Images,Settings,Truck,Users} from 'lucide-react';\nimport {useLocation,useNavigate} from 'react-router-dom';\nimport PcgWorkspace from '@/pages/crm/PcgWorkspace';\nimport {useMultiTenant} from '@/contexts/MultiTenantContext';\nimport PCGCompletionCenter from '@/pages/card-grading/PCGCompletionCenter';\nimport TenantLogo from '@/components/branding/TenantLogo';\nimport MiscAwareAccountMenu from '@/components/MiscAwareAccountMenu';\nimport {CanonicalWorkspaceSidebarTrigger} from '@/components/layout/TenantLayoutControl';\nimport {supabase} from '@/integrations/supabase/client';\nimport {PCG_WORKSPACE_BACKGROUND} from '@/assets/pcgWorkspaceBackground';\nimport {resolveTenantMediaBranding} from '@/lib/tenants/tenantMediaBranding';\nimport {tenantMediaAssetUrl} from '@/lib/tenantMedia';\nimport {getTenantModeCards} from '@/shells/modesTenantShell';\n\ntype ModeId='submissions'|'grading'|'listings'|'orders';\ntype WorkspaceTab='today'|'vault'|'queue'|'submissions'|'certs'|'collectors'|'inventory'|'shipping'|'money'|'migration'|'readiness'|'settings';\ntype VaultMode='overview'|'single'|'batch'|'growth';\ntype ModeCounts={submissions:number;grading:number;listings:number;orders:number};\ntype UnknownRecord=Record<string,any>;\n\nfunction record(value:unknown):UnknownRecord{return value&&typeof value==='object'&&!Array.isArray(value)?value as UnknownRecord:{}}\nfunction resolvePcgHeroImage(tenant:any):string{\n  const settings=record(tenant?.settings);\n  const media=record(settings.media_branding);\n  const direct=String(media.hero_background_url||'').trim();\n  const assetId=String(media.resolved_hero_asset_id||media.hero_background_asset_id||'').trim();\n  const version=String(media.resolved_hero_version||media.hero_background_version||media.updated_at||'').trim();\n  return assetId?tenantMediaAssetUrl(assetId,version||null):direct;\n}\n\nconst MODE_TAB:Record<ModeId,WorkspaceTab>={submissions:'submissions',grading:'queue',listings:'inventory',orders:'shipping'};\nconst MODE_TOOLS:Record<ModeId,readonly {id:WorkspaceTab;label:string;vault?:VaultMode}[]>={\n  submissions:[{id:'submissions',label:'Receive Cards'},{id:'vault',label:'Capture Cards'},{id:'collectors',label:'Customers'}],\n  grading:[{id:'queue',label:'Grade Cards'},{id:'certs',label:'Certificates'}],\n  listings:[],\n  orders:[{id:'shipping',label:'Fulfill & Ship'}]\n};\nconst ADMIN_TOOLS=[{id:'settings' as WorkspaceTab,label:'Settings',icon:Settings},{id:'money' as WorkspaceTab,label:'Payments',icon:CreditCard},{id:'readiness' as WorkspaceTab,label:'Readiness',icon:ClipboardCheck},{id:'migration' as WorkspaceTab,label:'Migration',icon:Database}] as const;\nconst ADMIN_TOOL_IDS=new Set<WorkspaceTab>(ADMIN_TOOLS.map(item=>item.id));\nconst TOOL_LABEL:Record<WorkspaceTab,string>={today:'Work Queue',vault:'Capture Cards',queue:'Grade Cards',submissions:'Receive Cards',certs:'Certificates',collectors:'Customers',inventory:'Publish & Sell',shipping:'Fulfill & Ship',money:'Payments',migration:'Migration',readiness:'Readiness',settings:'Settings'};\nconst PCG_CARD_IMAGE='https://images.squarespace-cdn.com/content/v1/6853034cd711cc2240276cf3/7fd5d898-1ff3-4bc2-9f7d-c7f2f2d6ee07/IMG_8111.jpg';\nconst PCG_STORE_IMAGE='https://images.squarespace-cdn.com/content/v1/6853034cd711cc2240276cf3/83d3ec70-169f-4d22-8916-15e422fb0e52/IMG_8156%2B%281%29.jpeg';\nconst MODES=[\n  {id:'submissions' as ModeId,assetKey:'received',title:'Receive Cards',short:'To Receive',copy:'Start here when cards arrive. Add the customer, capture the cards and begin the submission.',icon:Images,accent:'#168cff',image:PCG_CARD_IMAGE,position:'38% 45%'},\n  {id:'grading' as ModeId,assetKey:'grading',title:'Grade Cards',short:'To Grade',copy:'Open the grading queue, score cards, assign certificates and clear QA.',icon:Clock3,accent:'#a83cff',image:PCG_WORKSPACE_BACKGROUND,position:'68% 52%'},\n  {id:'listings' as ModeId,assetKey:'completed',title:'Publish & Sell',short:'Ready to Publish',copy:'Finish completed cards, approve sale pricing and publish to the PCG website and eBay.',icon:CheckCircle2,accent:'#00e676',image:PCG_CARD_IMAGE,position:'62% 48%'},\n  {id:'orders' as ModeId,assetKey:'mailed',title:'Fulfill & Ship',short:'To Fulfill',copy:'Handle completed returns, pickups, tracking and customer shipment updates.',icon:Truck,accent:'#ffd740',image:PCG_STORE_IMAGE,position:'76% 58%'},\n] as const;\n\nconst PCGBatchPublishingCenter=React.lazy(()=>import('@/pages/card-grading/PCGBatchPublishingCenter'));\n\nfunction isModeId(value:string|null):value is ModeId{return MODES.some(item=>item.id===value)}\nfunction isWorkspaceTab(value:string|null):value is WorkspaceTab{return Boolean(value)&&['today','vault','queue','submissions','certs','collectors','inventory','shipping','money','migration','readiness','settings'].includes(value as WorkspaceTab)}\nfunction bucket(status:string):ModeId|null{\n  if(['received','intake_imaging','authentication'].includes(status))return'submissions';\n  if(['grading','encapsulation','qa'].includes(status))return'grading';\n  if(status==='ready')return'listings';\n  if(['shipped','picked_up','delivered','closed'].includes(status))return'orders';\n  return null;\n}\n\nexport default function PCGModesWorkspace(){\n  const{activeTenant}=useMultiTenant();\n  const location=useLocation();\n  const navigate=useNavigate();\n  const tenantId=activeTenant?.id||'';\n  const slug=String(activeTenant?.company_slug||'pcg').trim().toLowerCase()||'pcg';\n  const wmpUrl='https://whatsmyprogress.com/'+encodeURIComponent(slug)+'/';\n  const branding=React.useMemo(()=>resolveTenantMediaBranding(activeTenant as any),[activeTenant]);\n  const workspaceBackground=branding.backgroundUrl||PCG_WORKSPACE_BACKGROUND;\n  const heroImage=React.useMemo(()=>resolvePcgHeroImage(activeTenant)||workspaceBackground,[activeTenant,workspaceBackground]);\n  const configuredModeCards=React.useMemo(()=>getTenantModeCards(activeTenant as any),[activeTenant]);\n  const modes=React.useMemo(()=>MODES.map((entry)=>{\n    const configured=configuredModeCards.find((card)=>card.key===entry.assetKey);\n    const x=configured?.image_position_x;\n    const y=configured?.image_position_y;\n    const assetId=String(configured?.image_asset_id||'').trim();\n    const image=assetId?tenantMediaAssetUrl(assetId):String(configured?.image_url||configured?.fallback_image_url||entry.image);\n    return {...entry,image,position:typeof x==='number'&&typeof y==='number'?`${x}% ${y}%`:entry.position};\n  }),[configuredModeCards]);\n  const searchParams=new URLSearchParams(location.search);\n  const requestedMode=searchParams.get('mode');\n  const requestedTool=searchParams.get('tool');\n  const requestedVault=searchParams.get('vault');\n  const requestedSubmissionId=searchParams.get('submissionId')||'';\n  const mode=isModeId(requestedMode)?requestedMode:null;\n  const tool=isWorkspaceTab(requestedTool)?requestedTool:null;\n  const adminTool=!mode&&tool&&ADMIN_TOOL_IDS.has(tool)?tool:null;\n  const vaultMode:VaultMode=requestedVault==='batch'?'batch':requestedVault==='single'?'single':requestedVault==='growth'?'growth':'overview';\n  const[counts,setCounts]=React.useState<ModeCounts>({submissions:0,grading:0,listings:0,orders:0});\n\n  React.useEffect(()=>{\n    let cancelled=false;\n    if(!tenantId)return;\n    void (supabase as any).from('card_grading_submissions').select('status').eq('tenant_id',tenantId).then(({data}:any)=>{\n      if(cancelled)return;\n      const next:ModeCounts={submissions:0,grading:0,listings:0,orders:0};\n      for(const row of data||[]){const id=bucket(String(row?.status||''));if(id)next[id]+=1}\n      setCounts(next);\n    }).catch(()=>{});\n    return()=>{cancelled=true};\n  },[tenantId]);\n\n  const setMode=React.useCallback((next:ModeId|null)=>{\n    const params=new URLSearchParams(location.search);\n    if(next){params.set('mode',next);params.delete('tool');params.delete('vault');params.delete('submissionId');params.delete('cardId')}else{params.delete('mode');params.delete('tool');params.delete('vault');params.delete('submissionId');params.delete('cardId')}\n    const search=params.toString();\n    navigate({pathname:location.pathname,search:search?'?'+search:'',hash:location.hash},{replace:false});\n  },[location.hash,location.pathname,location.search,navigate]);\n  const openTool=React.useCallback((nextMode:ModeId,nextTool:WorkspaceTab,nextVault?:VaultMode)=>{\n    const params=new URLSearchParams(location.search);\n    params.set('mode',nextMode);params.set('tool',nextTool);\n    if(nextVault)params.set('vault',nextVault);else params.delete('vault');\n    params.delete('submissionId');params.delete('cardId');\n    const search=params.toString();\n    navigate({pathname:location.pathname,search:search?'?'+search:'',hash:location.hash},{replace:false});\n  },[location.hash,location.pathname,location.search,navigate]);\n  const openCaptureForSubmission=React.useCallback((submissionId:string)=>{\n    const params=new URLSearchParams(location.search);\n    params.set('mode','submissions');params.set('tool','vault');params.set('vault','batch');params.set('submissionId',submissionId);params.delete('cardId');\n    const search=params.toString();\n    navigate({pathname:location.pathname,search:search?'?'+search:'',hash:location.hash},{replace:false});\n  },[location.hash,location.pathname,location.search,navigate]);\n  const openAdminTool=React.useCallback((nextTool:WorkspaceTab)=>{\n    const params=new URLSearchParams(location.search);\n    params.delete('mode');params.delete('vault');params.set('tool',nextTool);params.delete('submissionId');params.delete('cardId');\n    const search=params.toString();\n    navigate({pathname:location.pathname,search:search?'?'+search:'',hash:location.hash},{replace:false});\n  },[location.hash,location.pathname,location.search,navigate]);\n  const closeAdminTool=React.useCallback(()=>{const params=new URLSearchParams(location.search);params.delete('tool');params.delete('vault');params.delete('submissionId');params.delete('cardId');const search=params.toString();navigate({pathname:location.pathname,search:search?'?'+search:'',hash:location.hash},{replace:false})},[location.hash,location.pathname,location.search,navigate]);\n\n  if(mode){\n    const current=modes.find(item=>item.id===mode)!;\n    const modeTools=MODE_TOOLS[mode];\n    const allowedTabs=modeTools.map(item=>item.id);\n    const scopedTool=tool&&allowedTabs.includes(tool)?tool:null;\n    const activeTab=scopedTool||MODE_TAB[mode];\n    const headerLabel=scopedTool?TOOL_LABEL[scopedTool]:current.title;\n    return <div data-tenant-modes-shell=\"true\" data-tenant-id={tenantId||undefined} data-tenant-experience-family=\"modes\" data-pcg-active-mode={mode} data-pcg-mode-target={activeTab} className=\"min-h-screen bg-[#f3f4f6] text-[#1d1b18]\">\n      <div data-pcg-mode-header=\"true\" className=\"sticky left-0 right-0 top-0 z-[65] box-border w-screen max-w-none border-b border-black/[.08] bg-[#ffffff]/95 px-3 py-2.5 shadow-[0_8px_28px_rgba(15,23,42,.05)] backdrop-blur-xl sm:px-5 lg:px-7\">\n        <div className=\"flex w-full items-center gap-3\">\n          <button type=\"button\" onClick={()=>setMode(null)} aria-label=\"Back to PCG work queue\" className=\"grid h-11 w-11 shrink-0 place-items-center rounded-xl border border-black/[.10] bg-white text-black/65 shadow-sm\"><ArrowLeft className=\"h-4 w-4\"/></button>\n          <div className=\"grid h-10 w-10 shrink-0 place-items-center overflow-hidden rounded-xl border border-[#b08a36]/30 bg-white shadow-sm\"><TenantLogo tenant={activeTenant as any} size={40} rounded=\"lg\" fallbackVariant=\"initial\" className=\"border-0 bg-transparent\"/></div>\n          <div className=\"min-w-0\"><div className=\"truncate text-[9px] font-black uppercase tracking-[.18em] text-[#8b6926]\">PCG Workflow</div><div className=\"truncate text-sm font-black\">{headerLabel}</div></div>\n          <div className=\"ml-auto hidden min-w-0 items-center gap-2 lg:flex\"><CanonicalWorkspaceSidebarTrigger className=\"h-10 w-[clamp(14rem,28vw,24rem)] border-black/[.10] bg-white text-black/55 hover:bg-[#f4f0e7] hover:text-black/80\"/></div><div className=\"ml-auto lg:ml-0\"><MiscAwareAccountMenu placement=\"inline\" avatarMode=\"tenant\" singletonKey={`pcg-mode-avatar:${tenantId||'workspace'}`} tenantShellOwner/></div>\n        </div>\n        {modeTools.length>1?<div className=\"mt-2 flex flex-wrap gap-1 pb-0.5\">{modeTools.map(item=><button key={item.id} type=\"button\" onClick={()=>openTool(mode,item.id,item.vault)} className={`whitespace-nowrap rounded-xl border px-3 py-2 text-[10px] font-black uppercase tracking-[.08em] ${activeTab===item.id?'border-[#b08a36]/35 bg-[#f2e7ce] text-[#72561a] shadow-sm':'border-black/[.08] bg-white text-black/48 hover:bg-[#f6f2ea]'}`}>{item.label}</button>)}</div>:null}\n      </div>\n      {mode==='listings'?<><PCGCompletionCenter mode=\"completed\"/><React.Suspense fallback={null}><PCGBatchPublishingCenter tenantId={tenantId}/></React.Suspense></>:null}\n      {mode==='orders'?<><PCGCompletionCenter mode=\"mailed\"/><PcgWorkspace initialTab=\"shipping\" embedded navigationScope={['shipping']}/></>:null}\n      {mode==='submissions'||mode==='grading'?<PcgWorkspace initialTab={activeTab} initialVaultMode={vaultMode} initialVaultSubmissionId={requestedSubmissionId} onSubmissionCreated={mode==='submissions'?({id})=>openCaptureForSubmission(id):undefined} embedded navigationScope={allowedTabs}/>:null}\n    </div>\n  }\n\n  if(adminTool){\n    return <div data-tenant-modes-shell=\"true\" data-tenant-id={tenantId||undefined} data-tenant-experience-family=\"modes\" data-pcg-admin-tool={adminTool} className=\"min-h-screen bg-[#f3f4f6] text-[#1d1b18]\">\n      <div className=\"sticky left-0 right-0 top-0 z-[65] border-b border-black/[.08] bg-[#ffffff]/95 px-3 py-2.5 shadow-[0_8px_28px_rgba(15,23,42,.05)] backdrop-blur-xl sm:px-5 lg:px-7\"><div className=\"flex items-center gap-3\"><button type=\"button\" onClick={closeAdminTool} aria-label=\"Back to PCG work queue\" className=\"grid h-11 w-11 place-items-center rounded-xl border border-black/[.10] bg-white text-black/65 shadow-sm\"><ArrowLeft className=\"h-4 w-4\"/></button><div className=\"grid h-10 w-10 place-items-center overflow-hidden rounded-xl border border-[#b08a36]/30 bg-white shadow-sm\"><TenantLogo tenant={activeTenant as any} size={40} rounded=\"lg\" fallbackVariant=\"initial\" className=\"border-0 bg-transparent\"/></div><div><div className=\"text-[9px] font-black uppercase tracking-[.18em] text-[#8b6926]\">PCG Admin</div><div className=\"text-sm font-black\">{TOOL_LABEL[adminTool]}</div></div><div className=\"ml-auto\"><MiscAwareAccountMenu placement=\"inline\" avatarMode=\"tenant\" singletonKey={`pcg-admin-avatar:${tenantId||'workspace'}`} tenantShellOwner/></div></div></div>\n      <PcgWorkspace initialTab={adminTool} embedded navigationScope={[adminTool]}/>\n    </div>\n  }\n\n\n\n  return <main data-tenant-modes-shell=\"true\" data-tenant-id={tenantId||undefined} data-tenant-experience-family=\"modes\" data-pcg-modes-workspace=\"true\" className=\"relative min-h-dvh overflow-x-hidden bg-[#f3f4f6] pb-8 text-[#17191c]\">\n    <header className=\"sticky left-0 right-0 top-0 z-[70] border-b border-black/[.08] bg-white/95 backdrop-blur-xl\">\n      <div className=\"flex min-h-[64px] items-center gap-3 px-3 sm:px-5 lg:px-7\">\n        <CanonicalWorkspaceSidebarTrigger className=\"h-11 w-[clamp(13rem,34vw,28rem)] border-black/[.10] bg-white text-black/55 hover:bg-[#f5f6f8] hover:text-black/80 max-sm:w-11 max-sm:px-0 max-sm:[&>span]:hidden\"/>\n        <div className=\"flex min-w-0 items-center gap-2.5\">\n          <div className=\"grid h-10 w-10 shrink-0 place-items-center overflow-hidden rounded-xl border border-black/[.10] bg-white\"><TenantLogo tenant={activeTenant as any} size={38} rounded=\"lg\" fallbackVariant=\"initial\" className=\"border-0 bg-transparent\"/></div>\n          <div className=\"min-w-0\"><div className=\"truncate text-[9px] font-black uppercase tracking-[.18em] text-[#8a6a20]\">Prestigious Card Grading</div><div className=\"truncate text-sm font-black\">Workspace</div></div>\n        </div>\n        <div className=\"ml-auto\"><MiscAwareAccountMenu placement=\"inline\" avatarMode=\"tenant\" singletonKey={'pcg-dashboard-avatar:'+(tenantId||'workspace')} tenantShellOwner/></div>\n      </div>\n    </header>\n\n    <div className=\"relative z-10 mx-auto max-w-[1480px] px-3 pb-7 pt-4 sm:px-5 lg:px-7 lg:pt-6\">\n      <section className=\"flex flex-col gap-4 rounded-[22px] border border-black/[.08] bg-white p-4 shadow-[0_10px_30px_rgba(15,23,42,.06)] sm:p-5 lg:flex-row lg:items-center\">\n        <div className=\"min-w-0 flex-1\">\n          <div className=\"text-[10px] font-black uppercase tracking-[.18em] text-[#8a6a20]\">PCG workflow</div>\n          <h1 className=\"mt-1 text-2xl font-black tracking-[-.035em] sm:text-3xl\">Run the shop from here.</h1>\n          <p className=\"mt-1.5 max-w-2xl text-sm leading-6 text-black/48\">Receive the cards, grade them, publish what is for sale, then fulfill the order.</p>\n        </div>\n        <button type=\"button\" onClick={()=>setMode('submissions')} className=\"inline-flex min-h-12 shrink-0 items-center justify-center gap-2 rounded-xl bg-[#17191c] px-5 text-sm font-black text-white shadow-sm transition hover:bg-black\">\n          <Boxes className=\"h-4 w-4\"/>Receive new cards\n        </button>\n      </section>\n\n      <section className=\"mt-4 rounded-[22px] border border-black/[.08] bg-white p-3 shadow-[0_10px_30px_rgba(15,23,42,.05)] sm:p-4\">\n        <div className=\"grid gap-2 lg:grid-cols-4\">{modes.map(({id,title,copy,icon:Icon,accent},index)=><button key={id} type=\"button\" data-pcg-mode-id={id} aria-label={'Open '+title} onClick={()=>setMode(id)} className=\"group flex min-h-[132px] items-start gap-3 rounded-[16px] border border-black/[.08] bg-[#f8f9fb] p-4 text-left transition hover:border-black/[.16] hover:bg-white\">\n          <div className=\"grid h-9 w-9 shrink-0 place-items-center rounded-full bg-[#17191c] text-sm font-black text-white\">{index+1}</div>\n          <div className=\"min-w-0 flex-1\">\n            <div className=\"flex items-center justify-between gap-3\"><div className=\"flex items-center gap-2\"><Icon className=\"h-4 w-4\" style={{color:accent}}/><h2 className=\"text-base font-black\">{title}</h2></div><span className=\"text-xl font-black text-[#8a6a20]\">{counts[id]}</span></div>\n            <p className=\"mt-2 text-xs leading-5 text-black/45\">{copy}</p>\n            <div className=\"mt-3 flex items-center gap-1 text-[10px] font-black uppercase tracking-[.10em] text-black/35\">Open <ArrowRight className=\"h-3.5 w-3.5 transition group-hover:translate-x-0.5\"/></div>\n          </div>\n        </button>)}</div>\n      </section>\n\n      <section className=\"mt-3 flex flex-wrap items-center gap-2 px-1\">\n        <span className=\"mr-1 text-[9px] font-black uppercase tracking-[.16em] text-black/30\">Setup</span>\n        {ADMIN_TOOLS.map(({id,label,icon:Icon})=><button key={id} type=\"button\" onClick={()=>openAdminTool(id)} className=\"inline-flex min-h-10 items-center gap-2 rounded-lg border border-black/[.08] bg-white px-3 text-[10px] font-black text-black/52 transition hover:bg-[#f8f9fb]\"><Icon className=\"h-3.5 w-3.5 text-[#8a6a20]\"/>{label}</button>)}\n      </section>\n    </div>\n  </main>\n}\n"},{"path":"src/pages/crm/PcgWorkspace.tsx","content":"import {useEffect,useMemo,useState,type ComponentType} from 'react';\nimport {useLocation} from 'react-router-dom';\nimport {useMultiTenant} from '@/contexts/MultiTenantContext';import {supabase} from '@/integrations/supabase/client';import {toast} from '@/lib/notify';import {resolveTenantMediaBranding} from '@/lib/tenants/tenantMediaBranding';import {PCGCardVaultContent} from '@/pages/card-grading/PCGWorkspace';import PCGLegacyMigrationCenter from '@/pages/card-grading/PCGLegacyMigrationCenter';import PCGOnboardingReadiness from '@/pages/card-grading/PCGOnboardingReadiness';\nimport {Award,BadgeDollarSign,Boxes,Check,ChevronRight,CircleDollarSign,ClipboardCheck,CreditCard,Database,ExternalLink,FileCheck2,Menu,PackageCheck,Plus,Search,Settings,ShieldCheck,Truck,UploadCloud,Users,X} from 'lucide-react';\nimport {PCG_GRADING_SCALE,findPCGGrade,formatPCGGrade} from '@/pages/card-grading/pcgGradingScale';\nimport TenantSettingsPage from '@/pages/settings/TenantSettingsPage';\nimport PCGBatchPublishingCenter from '@/pages/card-grading/PCGBatchPublishingCenter';\ntype Submission={id:string;submission_number:string;customer_name:string|null;customer_email:string|null;customer_phone:string|null;service_tier:string;service_price:number;expected_card_count:number;status:string;delivery_method:string|null;received_at:string;due_at:string|null;tracking_in:string|null;tracking_out:string|null;notes:string|null;payment_status:string|null;payment_reference:string|null;paid_at:string|null};type Card={id:string;submission_id:string;sequence_number:number;cert_number:string|null;category:string|null;year:string|null;brand_set:string|null;player_character:string|null;card_number:string|null;card_description:string|null;autograph_present:boolean|null;variation:string|null;declared_value:number|null;grade:number|null;grade_label:string|null;status:string;front_image_url:string|null;back_image_url:string|null;slab_image_url:string|null;grader_notes:string|null;population_count:number|null};type CardDraft={category:string;year:string;brand_set:string;player_character:string;card_number:string;card_description:string;autograph_present:''|'yes'|'no';declared_value:string;grade:string;grade_label:string;cert_number:string;grader_notes:string};type DetailDraft={tracking_in:string;tracking_out:string;notes:string;payment_status:string;payment_reference:string};type Tab='today'|'vault'|'queue'|'submissions'|'certs'|'collectors'|'inventory'|'shipping'|'money'|'migration'|'readiness'|'settings';type IconType=ComponentType<{className?:string}>;\nconst tabs:[Tab,string,IconType][]=[['today','Work Queue',Award],['vault','Capture Cards',UploadCloud],['queue','Grade Cards',Award],['submissions','Receive Cards',Boxes],['certs','Certificates',ShieldCheck],['collectors','Customers',Users],['shipping','Fulfill & Ship',Truck],['inventory','Publish & Sell',PackageCheck],['money','Payments',CircleDollarSign],['migration','Migration',Database],['readiness','Readiness',ClipboardCheck],['settings','Settings',Settings]];const mobilePrimary:[Tab,string,IconType][]=[['today','Queue',Award],['vault','Capture',UploadCloud],['queue','Grade',Award],['certs','Certs',ShieldCheck]];\nconst tiers={two_weeks:{label:'2 Weeks',price:12,days:14},one_week:{label:'1 Week',price:15,days:7},three_days:{label:'3 Days',price:20,days:3},same_day:{label:'Same Day',price:25,days:0}} as const;const statuses=['received','intake_imaging','authentication','grading','encapsulation','qa','ready','shipped','picked_up'] as const;const terminalStatuses=new Set(['shipped','picked_up']);const PCG_STRIPE_FALLBACK='https://buy.stripe.com/3clbJ05UQc3w9KLcBR5Ne00';const PCG_LOGO='https://images.squarespace-cdn.com/content/v1/6853034cd711cc2240276cf3/2c2615b1-2fab-4ba1-8cff-8d8e49b6b184/diamond%2Blogo.png';const PCG_STORE_IMAGE='https://images.squarespace-cdn.com/content/v1/6853034cd711cc2240276cf3/83d3ec70-169f-4d22-8916-15e422fb0e52/IMG_8156%2B%281%29.jpeg';const pretty=(value:string)=>value.replaceAll('_',' ').replace(/\\b\\w/g,char=>char.toUpperCase());const inputClass='w-full rounded-xl border border-black/[0.10] bg-white px-3.5 py-3 text-sm text-[#1d1b18] shadow-sm outline-none transition placeholder:text-black/28 focus:border-[#b08a36]/55 focus:ring-2 focus:ring-[#b08a36]/10';const panelClass='rounded-2xl border border-black/[0.08] bg-[#ffffff] shadow-[0_8px_24px_rgba(15,23,42,.05)]';\nconst hasCanonicalGrade=(card:Pick<Card,'grade_label'>)=>Boolean(findPCGGrade(card.grade_label));\nfunction PCGGradeSelect({draft,onChange}:{draft:CardDraft;onChange:(next:CardDraft)=>void}){const selected=findPCGGrade(draft.grade_label);const legacyLabel=String(draft.grade_label||'').trim();const legacyNumeric=!legacyLabel&&draft.grade.trim()?draft.grade.trim():'';return <div className=\"sm:col-span-2\"><label className=\"block\"><span className=\"text-[9px] font-black uppercase tracking-[.14em] text-[#8b6926]\">Official PCG grade</span><select value={draft.grade_label} onChange={event=>{const option=findPCGGrade(event.target.value);onChange({...draft,grade:option?.numeric==null?'':String(option.numeric),grade_label:option?.designation||event.target.value})}} className={inputClass}><option value=\"\">Select official PCG designation</option>{legacyLabel&&!selected?<option value={legacyLabel}>Legacy · {legacyLabel}</option>:null}{PCG_GRADING_SCALE.map(option=><option key={option.id} value={option.designation}>{option.designation}</option>)}</select></label>{selected?<div className=\"mt-2 border border-black/[0.08] bg-black/28 px-3 py-2\"><div className=\"text-[10px] font-black text-[#76581f]\">{selected.designation}</div><div className=\"mt-1 text-[11px] leading-5 text-black/45\">{selected.criteria||'PCG’s published page does not currently provide usable criteria text for this designation.'}</div></div>:legacyLabel?<div className=\"mt-2 text-[11px] leading-5 text-amber-200/75\">Legacy grade label. Choose an official PCG designation before advancing this card.</div>:legacyNumeric?<div className=\"mt-2 text-[11px] leading-5 text-amber-200/75\">Legacy numeric grade {legacyNumeric}. Choose the exact official PCG designation before advancing this card.</div>:null}</div>}\nfunction cardToDraft(card:Card):CardDraft{return{category:card.category||'',year:card.year||'',brand_set:card.brand_set||'',player_character:card.player_character||'',card_number:card.card_number||'',card_description:card.card_description||card.variation||'',autograph_present:card.autograph_present==null?'':card.autograph_present?'yes':'no',declared_value:card.declared_value==null?'':String(card.declared_value),grade:card.grade==null?'':String(card.grade),grade_label:card.grade_label||'',cert_number:card.cert_number||'',grader_notes:card.grader_notes||''}}function slaMeta(sub:Submission){if(!sub.due_at||terminalStatuses.has(sub.status))return{label:terminalStatuses.has(sub.status)?pretty(sub.status):'No due date',tone:'text-black/42 border-black/10'};const diff=new Date(sub.due_at).getTime()-Date.now();const days=Math.ceil(diff/86400000);if(diff<0)return{label:`${Math.abs(days)}d overdue`,tone:'text-rose-300 border-rose-400/25'};if(days===0)return{label:'Due today',tone:'text-amber-200 border-amber-300/25'};if(days<=2)return{label:`Due in ${days}d`,tone:'text-amber-200 border-amber-300/25'};return{label:`Due ${new Date(sub.due_at).toLocaleDateString()}`,tone:'text-black/46 border-black/10'}}\nexport default function PcgWorkspace({initialTab='today',embedded=false,initialVaultMode='overview',initialVaultSubmissionId='',onSubmissionCreated,navigationScope}:{initialTab?:Tab;embedded?:boolean;initialVaultMode?:'overview'|'single'|'batch'|'growth';initialVaultSubmissionId?:string;onSubmissionCreated?:(submission:{id:string;submission_number:string})=>void;navigationScope?:Tab[]}={}){const location=useLocation();const{activeTenant}=useMultiTenant();const tenantId=activeTenant?.id;const settings=((activeTenant as any)?.settings||{}) as Record<string,unknown>;const mediaBranding=useMemo(()=>resolveTenantMediaBranding(activeTenant as any),[activeTenant]);const workspaceBackground=mediaBranding.backgroundUrl||String(settings.background_image_url||settings.backgroundImageUrl||'').trim();const stripePaymentLink=String(settings.stripe_payment_link||PCG_STRIPE_FALLBACK);const stripeSyncConnected=String(settings.stripe_sync_status||'not_connected')==='connected';const[tab,setTab]=useState<Tab>(initialTab);const visibleTabs=useMemo(()=>navigationScope?.length?tabs.filter(([id])=>navigationScope.includes(id)):tabs,[navigationScope]);useEffect(()=>{setTab(initialTab)},[initialTab]);useEffect(()=>{if(navigationScope?.length&&!navigationScope.includes(tab))setTab(navigationScope.includes(initialTab)?initialTab:navigationScope[0])},[initialTab,navigationScope,tab]);const[subs,setSubs]=useState<Submission[]>([]);const[cards,setCards]=useState<Card[]>([]);const[loading,setLoading]=useState(true);const[showNew,setShowNew]=useState(false);const[showMore,setShowMore]=useState(false);const[selectedId,setSelectedId]=useState<string|null>(null);const[query,setQuery]=useState('');const[statusFilter,setStatusFilter]=useState('all');const[certQuery,setCertQuery]=useState('');const[busy,setBusy]=useState(false);const[cardDrafts,setCardDrafts]=useState<Record<string,CardDraft>>({});const[detailDraft,setDetailDraft]=useState<DetailDraft>({tracking_in:'',tracking_out:'',notes:'',payment_status:'unverified',payment_reference:''});const[form,setForm]=useState({name:'',email:'',phone:'',tier:'two_weeks',cardCount:'1',delivery:'walk_in',notes:''});const settingsSection=String(new URLSearchParams(location.search).get('section')||'').trim().toLowerCase();const selectedTier=tiers[form.tier as keyof typeof tiers]||tiers.two_weeks;const selectedCardCount=Math.max(1,Math.min(100000,Number(form.cardCount)||1));const expectedTotal=selectedCardCount*selectedTier.price;const openStripe=()=>window.open(stripePaymentLink,'_blank','noopener,noreferrer');\nasync function load(){if(!tenantId)return;setLoading(true);const[s,c]=await Promise.all([(supabase as any).from('card_grading_submissions').select('*').eq('tenant_id',tenantId).order('created_at',{ascending:false}),(supabase as any).from('card_grading_cards').select('*').eq('tenant_id',tenantId).order('sequence_number',{ascending:true})]);if(s.error)toast.error(s.error.message);if(c.error)toast.error(c.error.message);setSubs((s.data||[]) as Submission[]);setCards((c.data||[]) as Card[]);setLoading(false)}useEffect(()=>{void load()},[tenantId]);\nconst orderCardCount=(sub:Submission)=>Math.max(Number(sub.expected_card_count||0),cards.filter(card=>card.submission_id===sub.id).length);const counts=useMemo(()=>Object.fromEntries(statuses.map(status=>[status,subs.filter(item=>item.status===status).length])),[subs]);const openSubs=subs.filter(item=>!terminalStatuses.has(item.status));const overdue=openSubs.filter(item=>item.due_at&&new Date(item.due_at)<new Date()).length;const dueSoon=openSubs.filter(item=>item.due_at&&new Date(item.due_at)>=new Date()&&new Date(item.due_at).getTime()-Date.now()<=2*86400000).length;const serviceValue=subs.reduce((sum,item)=>sum+Number(item.service_price||0)*orderCardCount(item),0);const prioritySubs=[...openSubs].sort((a,b)=>(a.due_at?new Date(a.due_at).getTime():Number.MAX_SAFE_INTEGER)-(b.due_at?new Date(b.due_at).getTime():Number.MAX_SAFE_INTEGER)).slice(0,6);const filteredSubs=subs.filter(item=>{const hay=`${item.submission_number} ${item.customer_name||''} ${item.customer_email||''} ${item.customer_phone||''}`.toLowerCase();return(!query||hay.includes(query.toLowerCase()))&&(statusFilter==='all'||item.status===statusFilter)});const filteredCards=cards.filter(card=>!certQuery||`${card.cert_number||''} ${card.year||''} ${card.brand_set||''} ${card.player_character||''} ${card.card_description||card.variation||''} ${card.card_number||''}`.toLowerCase().includes(certQuery.toLowerCase()));const selected=subs.find(item=>item.id===selectedId)||null;const selectedCards=selected?cards.filter(card=>card.submission_id===selected.id):[];const selectedTotal=selected?orderCardCount(selected)*Number(selected.service_price||0):0;\nfunction openSubmission(sub:Submission){setSelectedId(sub.id);setDetailDraft({tracking_in:sub.tracking_in||'',tracking_out:sub.tracking_out||'',notes:sub.notes||'',payment_status:sub.payment_status||'unverified',payment_reference:sub.payment_reference||''});const next:Record<string,CardDraft>={};cards.filter(card=>card.submission_id===sub.id).forEach(card=>{next[card.id]=cardToDraft(card)});setCardDrafts(next)}\nasync function createSubmission(){if(!tenantId)return;if(!form.name.trim()){toast.error('Customer name is required.');return}const count=selectedCardCount,tier=selectedTier,now=new Date(),due=new Date(now);due.setDate(due.getDate()+tier.days);const submissionNumber=`PCG-${now.getFullYear()}-${String(Date.now()).slice(-7)}`;setBusy(true);const{data,error}=await(supabase as any).from('card_grading_submissions').insert({tenant_id:tenantId,submission_number:submissionNumber,customer_name:form.name.trim(),customer_email:form.email.trim()||null,customer_phone:form.phone.trim()||null,service_tier:form.tier,service_price:tier.price,expected_card_count:count,status:'received',payment_status:'unverified',delivery_method:form.delivery,notes:form.notes.trim()||null,received_at:now.toISOString(),due_at:due.toISOString()}).select('*').single();if(error||!data){toast.error(error?.message||'Unable to create submission');setBusy(false);return}toast.success(`${submissionNumber} created for ${count.toLocaleString()} card${count===1?'':'s'}. Opening Capture Cards for this order.`);setShowNew(false);setForm({name:'',email:'',phone:'',tier:'two_weeks',cardCount:'1',delivery:'walk_in',notes:''});await load();setBusy(false);onSubmissionCreated?.({id:String(data.id),submission_number:String(data.submission_number||submissionNumber)})}\nfunction transitionIssue(sub:Submission,nextStatus:string,ownCards:Card[]){if(nextStatus==='authentication'){if(!ownCards.length)return 'Add cards before authentication.';const missing=ownCards.filter(card=>!card.front_image_url&&!card.back_image_url&&!card.slab_image_url).length;return missing?(missing+' card'+(missing===1?' needs':'s need')+' a saved intake image before authentication.'):''}if(nextStatus==='encapsulation'){const missing=ownCards.filter(card=>!hasCanonicalGrade(card)).length;return missing?(missing+' card'+(missing===1?' needs':'s need')+' an official PCG grade before encapsulation.'):''}if(nextStatus==='qa'){const missingGrade=ownCards.filter(card=>!hasCanonicalGrade(card)).length,missingCert=ownCards.filter(card=>!String(card.cert_number||'').trim()).length;return missingGrade||missingCert?('Save '+(missingGrade?(missingGrade+' missing official PCG grade'+(missingGrade===1?'':'s')):'')+(missingGrade&&missingCert?' and ':'')+(missingCert?(missingCert+' missing cert number'+(missingCert===1?'':'s')):'')+' before QA.'):''}if(nextStatus==='ready'){const missing=ownCards.filter(card=>!hasCanonicalGrade(card)||!String(card.cert_number||'').trim()||(!card.slab_image_url&&!card.front_image_url&&!card.back_image_url)).length;return missing?(missing+' card'+(missing===1?' is':'s are')+' missing official PCG grade, cert, or customer-visible imagery.'):''}if(nextStatus==='shipped'&&!String(sub.tracking_out||'').trim())return 'Save outbound tracking before marking this order shipped.';return ''}async function advanceBatch(nextStatus:string){if(!tenantId||!selected)return;const issue=transitionIssue(selected,nextStatus,selectedCards);if(issue){toast.error(issue);return}setBusy(true);const{error}=await(supabase as any).rpc('advance_pcg_grading_submission',{p_tenant_id:tenantId,p_submission_id:selected.id,p_status:nextStatus});if(error)toast.error(error.message||'Unable to advance submission');else{toast.success(`${selected.submission_number} moved to ${pretty(nextStatus)}.`);await load()}setBusy(false)}\nasync function saveSubmissionDetails(){if(!tenantId||!selected)return;setBusy(true);const manual=detailDraft.payment_status==='manually_verified';const{error}=await(supabase as any).from('card_grading_submissions').update({tracking_in:detailDraft.tracking_in.trim()||null,tracking_out:detailDraft.tracking_out.trim()||null,notes:detailDraft.notes.trim()||null,payment_status:detailDraft.payment_status,payment_reference:detailDraft.payment_reference.trim()||null,paid_at:manual?(selected.paid_at||new Date().toISOString()):null,updated_at:new Date().toISOString()}).eq('tenant_id',tenantId).eq('id',selected.id);if(error)toast.error(error.message);else{toast.success('Submission details saved.');await load()}setBusy(false)}\nasync function saveCard(card:Card){if(!tenantId)return;const draft=cardDrafts[card.id];if(!draft)return;setBusy(true);const gradeDefinition=findPCGGrade(draft.grade_label);const grade=gradeDefinition?gradeDefinition.numeric:(draft.grade.trim()===''?null:Number(draft.grade));const gradeLabel=gradeDefinition?.designation||draft.grade_label.trim()||null;const declared=draft.declared_value.trim()===''?null:Number(draft.declared_value);if(grade!=null&&(Number.isNaN(grade)||grade<0||grade>10)){toast.error('Legacy numeric grade is invalid. Choose an official PCG grade.');setBusy(false);return}const{error}=await(supabase as any).from('card_grading_cards').update({category:draft.category.trim()||null,year:draft.year.trim()||null,brand_set:draft.brand_set.trim()||null,player_character:draft.player_character.trim()||null,card_number:draft.card_number.trim()||null,card_description:draft.card_description.trim()||null,autograph_present:draft.autograph_present===''?null:draft.autograph_present==='yes',variation:draft.card_description.trim()||null,declared_value:declared,grade,grade_label:gradeLabel,cert_number:draft.cert_number.trim()||null,grader_notes:draft.grader_notes.trim()||null,updated_at:new Date().toISOString()}).eq('tenant_id',tenantId).eq('id',card.id);if(error)toast.error(error.message);else{toast.success(`Card #${card.sequence_number} saved.`);await load()}setBusy(false)}\nconst metric=(label:string,value:string|number,sub:string)=><div className=\"py-3 sm:border-l sm:border-black/[0.08] sm:px-5 first:sm:border-l-0 first:sm:pl-0\"><div className=\"text-[9px] font-black uppercase tracking-[.18em] text-[#8b6926]\">{label}</div><div className=\"mt-1 text-3xl font-black tracking-[-.04em]\">{value}</div><div className=\"mt-1 text-[11px] text-black/36\">{sub}</div></div>;\nconst empty=(title:string,copy:string,action?:()=>void,actionLabel?:string)=><div className=\"border border-dashed border-black/[0.10] bg-white p-9 text-center\"><FileCheck2 className=\"mx-auto h-6 w-6 text-[#8b6926]\"/><div className=\"mt-4 text-lg font-black\">{title}</div><p className=\"mx-auto mt-2 max-w-md text-sm leading-6 text-black/38\">{copy}</p>{action&&<button onClick={action} className=\"mt-5 bg-[#d8bb78] px-5 py-2.5 text-sm font-black text-black\">{actionLabel}</button>}</div>;\nconst row=(sub:Submission)=>{const cardCount=cards.filter(card=>card.submission_id===sub.id).length;const expected=Math.max(Number(sub.expected_card_count||0),cardCount);const payment=sub.payment_status==='manually_verified'?'Paid':sub.payment_status==='waived'?'Waived':'Unverified';return <button key={sub.id} onClick={()=>openSubmission(sub)} className=\"group grid w-full grid-cols-[minmax(0,1fr)_auto] items-center gap-3 border-b border-black/[0.07] px-2 py-2.5 text-left transition last:border-b-0 hover:bg-black/[0.025]\"><div className=\"min-w-0\"><div className=\"flex flex-wrap items-center gap-2\"><span className=\"text-xs font-black tracking-wide text-[#e4c47b]\">{sub.submission_number}</span><span className=\"text-[9px] font-black uppercase tracking-[.12em] text-black/32\">{pretty(sub.status)}</span></div><div className=\"mt-1 truncate text-sm font-black sm:text-[15px]\">{sub.customer_name||'Collector not named'}</div><div className=\"mt-0.5 flex flex-wrap gap-x-3 text-[10px] text-black/34 sm:text-[11px]\"><span>{expected>cardCount?`${cardCount.toLocaleString()} / ${expected.toLocaleString()} cards ingested`:`${cardCount.toLocaleString()} card${cardCount===1?'':'s'}`}</span><span>{tiers[sub.service_tier as keyof typeof tiers]?.label||pretty(sub.service_tier)}</span><span>{payment}</span></div></div><div className=\"flex items-center gap-2\"><span className={`border px-2.5 py-1 text-[10px] font-black ${slaMeta(sub).tone}`}>{slaMeta(sub).label}</span><ChevronRight className=\"h-4 w-4 text-black/18\"/></div></button>};\nconst renderList=(heading:string,eyebrow:string,source:Submission[])=><section><div className=\"mb-6 flex flex-col gap-4 border-b border-black/[0.08] pb-5 xl:flex-row xl:items-end xl:justify-between\"><div><div className=\"text-[10px] font-black uppercase tracking-[.20em] text-[#8b6926]\">{eyebrow}</div><h1 className=\"mt-1.5 text-2xl font-black tracking-[-.035em] sm:text-3xl\">{heading}</h1><p className=\"mt-2 text-sm text-black/38\">Open a batch to grade cards, verify payment, update tracking or move it forward.</p></div><button onClick={()=>setShowNew(true)} className=\"inline-flex items-center justify-center gap-2 bg-[#d8bb78] px-5 py-3 text-sm font-black text-black\"><Plus className=\"h-4 w-4\"/>Receive cards</button></div><div className=\"mb-5 grid gap-2 sm:grid-cols-[1fr_220px]\"><div className=\"relative\"><Search className=\"absolute left-4 top-3.5 h-4 w-4 text-black/28\"/><input value={query} onChange={event=>setQuery(event.target.value)} placeholder=\"Search submission or collector\" className={`${inputClass} pl-11`}/></div><select value={statusFilter} onChange={event=>setStatusFilter(event.target.value)} className={inputClass}><option value=\"all\">Every grading stage</option>{statuses.map(status=><option key={status} value={status}>{pretty(status)}</option>)}</select></div>{source.length?<div className=\"border-y border-black/[0.08]\">{source.map(row)}</div>:empty('Nothing needs attention','Receive a new card submission when work arrives.',()=>setShowNew(true),'Receive cards')}</section>;\nconst brandName=activeTenant?.company_dba_name||activeTenant?.company_legal_name||activeTenant?.name||'Prestigious Card Grading';\nreturn <div data-pcg-mode-workspace-background={workspaceBackground||'solid'} className=\"relative min-h-screen overflow-x-hidden bg-[#f3f4f6] text-[#1d1b18]\" style={{backgroundImage:workspaceBackground?`linear-gradient(108deg,rgba(246,243,236,.96) 0%,rgba(246,243,236,.91) 55%,rgba(246,243,236,.95) 100%),url(\"${workspaceBackground}\")`:undefined,backgroundSize:'cover',backgroundPosition:mediaBranding.backgroundPosition||'center',backgroundRepeat:'no-repeat',backgroundAttachment:'fixed'}}><div className=\"pointer-events-none fixed inset-0 bg-[radial-gradient(circle_at_78%_15%,rgba(176,138,54,.12),transparent_28rem)]\"/>\n{!embedded?<header className=\"fixed inset-x-0 top-0 z-50 h-16 border-b border-black/[0.07] bg-[#ffffff]/95 backdrop-blur-xl\"><div className=\"flex h-full items-center gap-3 px-4 sm:px-6\"><div className=\"grid h-9 w-9 place-items-center border border-[#d8bb78]/20 bg-[#d8bb78]/[0.06]\"><img src={PCG_LOGO} alt=\"PCG\" className=\"h-full w-full object-contain p-1\"/></div><div className=\"min-w-0\"><div className=\"truncate text-sm font-black tracking-tight\">{brandName}</div><div className=\"hidden text-[9px] font-bold uppercase tracking-[.17em] text-black/30 sm:block\">PCG daily work</div></div><div className=\"ml-auto flex items-center gap-3\"><span className=\"hidden text-xs font-semibold text-black/32 md:inline\">{openSubs.length} active batches</span><button onClick={()=>setShowNew(true)} className=\"inline-flex h-9 items-center gap-2 bg-[#d8bb78] px-3.5 text-xs font-black text-black\"><Plus className=\"h-4 w-4\"/>Receive cards</button></div></div></header>:null}\n{!embedded?<aside className=\"fixed bottom-0 left-0 top-16 z-40 hidden w-[230px] border-r border-black/[0.07] bg-[#ffffff]/95 px-4 py-5 backdrop-blur-xl lg:flex lg:flex-col\"><div className=\"px-2\"><div className=\"text-[9px] font-black uppercase tracking-[.20em] text-[#8b6926]\">PCG Work Queue</div><div className=\"mt-2 text-sm leading-5 text-black/40\">Receive, grade, publish, and fulfill cards.</div></div><nav className=\"mt-7 space-y-1\">{visibleTabs.map(([id,label,Icon])=><button key={id} onClick={()=>setTab(id)} className={`flex h-11 w-full items-center gap-3 px-3 text-left text-sm font-bold transition ${tab===id?'bg-black/[0.07] text-[#1d1b18] shadow-[inset_2px_0_0_#d8bb78]':'text-black/40 hover:bg-black/[0.035] hover:text-black/80'}`}><Icon className={`h-[17px] w-[17px] ${tab===id?'text-[#8b6926]':'text-black/30'}`}/><span className=\"flex-1\">{label}</span>{id==='queue'&&openSubs.length?<span className=\"text-[10px] font-black text-[#8b6926]\">{openSubs.length}</span>:null}</button>)}</nav><div className=\"mt-auto border-t border-black/[0.07] px-2 pt-4\"><div className=\"text-[9px] font-black uppercase tracking-[.17em] text-black/25\">Prestigious Card Grading</div><div className=\"mt-2 text-xs leading-5 text-black/36\">14170 US Highway 1<br/>Sebastian, FL 32958</div></div></aside>:null}\n<main className={`relative z-10 min-h-screen px-4 pb-24 sm:px-6 lg:px-8 lg:pb-10 xl:px-10 ${embedded?'pt-4 sm:pt-6':'pt-20 lg:ml-[230px]'}`}>{loading?<div className=\"grid min-h-[70vh] place-items-center\"><div className=\"text-center\"><img src={PCG_LOGO} alt=\"PCG\" className=\"mx-auto h-16 w-16 object-contain opacity-70\"/><div className=\"mt-4 text-[10px] font-black uppercase tracking-[.22em] text-[#8b6926]\">Opening PCG…</div></div></div>:<>\n{tab==='today'?<><section className=\"border-b border-black/[0.08] pb-7 pt-3\"><div className=\"flex flex-col gap-7 xl:flex-row xl:items-end xl:justify-between\"><div className=\"max-w-3xl\"><div className=\"text-[10px] font-black uppercase tracking-[.22em] text-[#8b6926]\">Daily work</div><h1 className=\"mt-2 text-3xl font-black leading-none tracking-[-.045em] sm:text-4xl\">PCG Work Queue</h1><p className=\"mt-2 max-w-2xl text-sm leading-5 text-black/42\">See what needs attention and move each submission through the next clear step.</p></div><div className=\"grid w-full max-w-xl grid-cols-2 gap-px border border-black/[0.08] bg-black/[0.08] sm:grid-cols-3\"><button onClick={()=>setShowNew(true)} className=\"bg-white p-4 text-left\"><Plus className=\"h-5 w-5 text-[#8b6926]\"/><div className=\"mt-3 text-sm font-black\">Receive Cards</div><div className=\"mt-1 text-[11px] text-black/30\">Start a submission</div></button><button onClick={()=>setTab('vault')} className=\"bg-white p-4 text-left\"><UploadCloud className=\"h-5 w-5 text-[#8b6926]\"/><div className=\"mt-3 text-sm font-black\">Capture Cards</div><div className=\"mt-1 text-[11px] text-black/30\">Single or batch intake</div></button><button onClick={()=>setTab('queue')} className=\"col-span-2 bg-white p-4 text-left sm:col-span-1\"><Award className=\"h-5 w-5 text-[#8b6926]\"/><div className=\"mt-3 text-sm font-black\">Grade Cards</div><div className=\"mt-1 text-[11px] text-black/30\">Work the grading queue</div></button></div></div><div className=\"mt-8 grid sm:grid-cols-2 xl:grid-cols-4\">{metric('Batches on floor',openSubs.length,'Active submissions')}{metric('Cards in house',cards.filter(card=>!terminalStatuses.has(card.status)).length,'Individual cards')}{metric('SLA attention',overdue+dueSoon,overdue?`${overdue} overdue · ${dueSoon} due soon`:`${dueSoon} due within 48 hours`)}{metric('Recorded work',`$${serviceValue.toFixed(0)}`,stripeSyncConnected?'Stripe sync connected':'Stripe sync not connected')}</div></section><div className=\"mt-8 grid gap-8 xl:grid-cols-[minmax(0,1.2fr)_minmax(320px,.8fr)]\"><section><div className=\"mb-3 flex items-end justify-between\"><div><div className=\"text-[9px] font-black uppercase tracking-[.19em] text-[#8b6926]\">Priority work</div><h2 className=\"mt-1 text-2xl font-black\">Next on the grading bench</h2></div><button onClick={()=>setTab('queue')} className=\"text-xs font-black text-[#8b6926]\">Grade cards →</button></div><div className=\"border-y border-black/[0.08]\">{prioritySubs.length?prioritySubs.map(row):empty('Nothing needs grading','No grading batches need attention right now.',()=>setShowNew(true),'Receive cards')}</div></section><section className=\"border-l border-black/[0.08] xl:pl-7\"><div className=\"text-[9px] font-black uppercase tracking-[.19em] text-[#8b6926]\">Stage pressure</div><h2 className=\"mt-1 text-2xl font-black\">Where the cards are</h2><div className=\"mt-5 divide-y divide-black/[0.07]\">{statuses.map((status,index)=><button key={status} onClick={()=>{setStatusFilter(status);setTab('queue')}} className=\"grid w-full grid-cols-[28px_1fr_auto] items-center gap-3 py-3 text-left\"><span className=\"text-[9px] font-black text-black/18\">{String(index+1).padStart(2,'0')}</span><span className=\"text-xs font-bold text-black/48\">{pretty(status)}</span><span className=\"text-base font-black\">{counts[status]||0}</span></button>)}</div></section></div></>:null}\n{tab==='vault'?<PCGCardVaultContent initialMode={initialVaultMode} initialSubmissionId={initialVaultSubmissionId}/>:null}{tab==='queue'?renderList('Grade Cards','Active grading work',filteredSubs.filter(item=>!terminalStatuses.has(item.status))):null}{tab==='submissions'?renderList('Receive Cards','All submissions',filteredSubs):null}{tab==='shipping'?renderList('Fulfill & Ship','Ready · shipped · pickup',filteredSubs.filter(item=>['ready','shipped','picked_up'].includes(item.status)||Boolean(item.tracking_in)||Boolean(item.tracking_out))):null}\n{tab==='certs'?<section><div className=\"border-b border-black/[0.08] pb-3\"><div className=\"text-[10px] font-black uppercase tracking-[.20em] text-[#8b6926]\">Card lookup</div><h1 className=\"mt-1 text-2xl font-black sm:text-3xl\">Certificates</h1></div><div className=\"relative mt-3 max-w-2xl\"><Search className=\"absolute left-4 top-3.5 h-4 w-4 text-black/28\"/><input value={certQuery} onChange={event=>setCertQuery(event.target.value)} placeholder=\"Search certificate, card, player, or set\" className={`${inputClass} pl-11`}/></div>{filteredCards.length?<div className=\"mt-3 overflow-hidden border border-black/[0.08] bg-black/20\">{filteredCards.map(card=>{const image=card.slab_image_url||card.front_image_url;const title=[card.year,card.brand_set,card.player_character,card.card_description||card.variation,card.card_number?`#${card.card_number}`:null].filter(Boolean).join(' · ')||`Card #${card.sequence_number}`;const grade=hasCanonicalGrade(card)?formatPCGGrade(card.grade,card.grade_label):'';return <button key={card.id} onClick={()=>{const sub=subs.find(item=>item.id===card.submission_id);if(sub)openSubmission(sub)}} className=\"grid min-h-[68px] w-full grid-cols-[44px_minmax(0,1fr)_auto] items-center gap-3 border-b border-black/[0.07] px-3 py-2 text-left transition last:border-b-0 hover:bg-black/[0.025]\"><div className=\"grid h-14 w-11 shrink-0 place-items-center overflow-hidden border border-black/[0.08] bg-white\">{image?<img src={image} alt=\"Graded card\" className=\"h-full w-full object-cover\"/>:<ShieldCheck className=\"h-5 w-5 text-[#8b6926]/55\"/>}</div><div className=\"min-w-0\"><div className=\"truncate text-sm font-black leading-tight\">{title}</div><div className=\"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1 text-[10px] text-black/35\"><span>{card.cert_number||'Cert pending'}</span>{grade?<span className=\"font-black text-[#76581f]/75\">{grade}</span>:null}</div></div><ChevronRight className=\"h-4 w-4 shrink-0 text-black/20\"/></button>})}</div>:<div className=\"mt-4\">{empty('No certificates yet','Certificate records appear here as grading is completed.')}</div>}</section>:null}\n{tab==='collectors'?<section><div className=\"border-b border-black/[0.08] pb-5\"><div className=\"text-[10px] font-black uppercase tracking-[.20em] text-[#8b6926]\">Customer records</div><h1 className=\"mt-1.5 text-2xl font-black sm:text-3xl\">Customers</h1></div>{subs.some(item=>item.customer_name)?<div className=\"mt-6 border-y border-black/[0.08]\">{Array.from(new Map(subs.filter(item=>item.customer_name).map(item=>[item.customer_name,item])).values()).map(sub=>{const related=subs.filter(item=>item.customer_name===sub.customer_name);const relatedCards=cards.filter(card=>related.some(item=>item.id===card.submission_id));return <button key={sub.customer_name!} onClick={()=>openSubmission(related[0])} className=\"grid w-full grid-cols-[1fr_auto_auto] items-center gap-4 border-b border-black/[0.07] px-1 py-4 text-left\"><div><div className=\"font-black\">{sub.customer_name}</div><div className=\"mt-1 text-xs text-black/32\">{sub.customer_email||sub.customer_phone||'Contact info not captured'}</div></div><div className=\"text-right\"><div className=\"text-lg font-black\">{related.length}</div><div className=\"text-[9px] text-black/25\">SUBMISSIONS</div></div><div className=\"text-right\"><div className=\"text-lg font-black text-[#8b6926]\">{relatedCards.length}</div><div className=\"text-[9px] text-black/25\">CARDS</div></div></button>})}</div>:empty('No customers yet','Customers appear automatically when a card submission is received.',()=>setShowNew(true),'Receive cards')}</section>:null}\n{tab==='inventory'?<PCGBatchPublishingCenter tenantId={tenantId||''}/>:null}\n{tab==='migration'?<PCGLegacyMigrationCenter/>:null}\n{tab==='readiness'?<PCGOnboardingReadiness/>:null}\n{tab==='settings'?<section>\n    <div className=\"border-b border-black/[0.08] pb-4\"><div className=\"text-[10px] font-black uppercase tracking-[.18em] text-[#8a6a20]\">PCG setup</div><h1 className=\"mt-1 text-2xl font-black sm:text-3xl\">Settings</h1><p className=\"mt-1.5 max-w-2xl text-sm leading-6 text-black/45\">Only the controls Anthony needs to run PCG. Pick a category instead of digging through platform settings.</p></div>\n    {!settingsSection?<div className=\"mt-4 grid gap-2 sm:grid-cols-2 xl:grid-cols-3\">\n      {[\n        ['business','Brand & workspace','Logo, backgrounds, public-facing identity and workspace presentation.'],\n        ['connections','Google & connections','Google Drive, eBay and other connected services.'],\n        ['mail','Email & customers','Business email continuity and customer-facing channels.'],\n        ['notifications','Notifications','What PCG alerts you about and where they go.'],\n        ['profile','Profile & staff','Owner profile and people using this workspace.'],\n        ['workspace','Workspace behavior','Layout, experience and workspace health.']\n      ].map(([section,title,copy])=><a key={section} href={'?tool=settings&section='+section} className=\"group flex min-h-[112px] items-start justify-between gap-4 rounded-2xl border border-black/[0.08] bg-white p-4 shadow-sm transition hover:border-black/[0.16] hover:bg-[#f8f9fb]\"><span><span className=\"block text-sm font-black\">{title}</span><span className=\"mt-1 block text-xs leading-5 text-black/42\">{copy}</span></span><ChevronRight className=\"mt-1 h-4 w-4 shrink-0 text-black/28 transition group-hover:translate-x-0.5\"/></a>)}\n    </div>:<div className=\"mt-4\"><a href=\"?tool=settings\" className=\"mb-3 inline-flex min-h-10 items-center gap-2 rounded-lg border border-black/[0.08] bg-white px-3 text-xs font-black text-black/55\">← All PCG settings</a><TenantSettingsPage/></div>}\n  </section>:null}\n{tab==='money'?<section><div className=\"border-b border-black/[0.08] pb-5\"><div className=\"text-[10px] font-black uppercase tracking-[.20em] text-[#8b6926]\">Admin · payments</div><h1 className=\"mt-1.5 text-2xl font-black sm:text-3xl\">Payments</h1></div><div className=\"mt-6 grid gap-8 xl:grid-cols-[1.15fr_.85fr]\"><section><div className=\"flex items-center justify-between border-b border-black/[0.08] pb-4\"><div className=\"flex items-center gap-3\"><CreditCard className=\"h-5 w-5 text-[#635bff]\"/><div><div className=\"text-sm font-black\">Stripe hosted checkout</div><div className=\"text-xs text-black/30\">PCG grading payments</div></div></div><span className={stripeSyncConnected?'text-xs font-black text-emerald-300':'text-xs font-black text-amber-200'}>{stripeSyncConnected?'Data sync connected':'Data sync not connected'}</span></div><div className=\"mt-6 text-[10px] font-black uppercase tracking-[.18em] text-black/30\">Recorded grading service value</div><div className=\"mt-2 text-3xl font-black sm:text-4xl\">${serviceValue.toFixed(2)}</div><p className=\"mt-3 text-sm leading-6 text-black/38\">This is grading work recorded in KnockLaunch, not a claimed Stripe balance unless sync is authenticated.</p><button onClick={openStripe} className=\"mt-7 inline-flex items-center gap-2 bg-white px-5 py-3 text-sm font-black text-black\">Open PCG Stripe checkout <ExternalLink className=\"h-4 w-4\"/></button></section><section className=\"border-l border-black/[0.08] xl:pl-7\"><div className=\"text-[10px] font-black uppercase tracking-[.18em] text-[#8b6926]\">Grading menu</div><div className=\"mt-5 divide-y divide-black/[0.07]\">{Object.entries(tiers).map(([id,tier])=><div key={id} className=\"flex items-center justify-between py-4\"><div><div className=\"font-black\">{tier.label}</div><div className=\"text-xs text-black/28\">Per card · no up-charges</div></div><div className=\"text-2xl font-black text-[#8b6926]\">${tier.price}</div></div>)}</div></section></div></section>:null}</>}</main>\n{!embedded?<nav className=\"fixed inset-x-3 bottom-3 z-50 grid grid-cols-5 border border-black/[0.09] bg-[#ffffff]/95 p-1.5 shadow-2xl backdrop-blur-xl lg:hidden\">{mobilePrimary.map(([id,label,Icon])=><button key={id} onClick={()=>{setTab(id);setShowMore(false)}} className={`flex flex-col items-center gap-1 px-1 py-2 text-[9px] font-black ${tab===id?'bg-black/[0.07] text-[#1d1b18]':'text-black/38'}`}><Icon className={`h-[18px] w-[18px] ${tab===id?'text-[#8b6926]':'text-black/28'}`}/><span>{label}</span></button>)}<button onClick={()=>setShowMore(true)} className=\"flex flex-col items-center gap-1 px-1 py-2 text-[9px] font-black text-black/38\"><Menu className=\"h-[18px] w-[18px] text-black/28\"/>More</button></nav>:null}\n{!embedded&&showMore?<div className=\"fixed inset-0 z-[70] bg-black/74 lg:hidden\" onMouseDown={event=>{if(event.currentTarget===event.target)setShowMore(false)}}><div className=\"absolute inset-x-0 bottom-0 border-t border-black/[0.10] bg-white p-4\"><div className=\"mb-4 text-[9px] font-black uppercase tracking-[.18em] text-[#8b6926]\">More PCG tools</div><div className=\"grid grid-cols-2 gap-px border border-black/[0.08] bg-black/[0.08]\">{visibleTabs.filter(([id])=>!mobilePrimary.some(([primary])=>primary===id)).map(([id,label,Icon])=><button key={id} onClick={()=>{setTab(id);setShowMore(false)}} className=\"flex items-center gap-3 bg-white px-4 py-3 text-sm font-bold\"><Icon className=\"h-4 w-4 text-[#8b6926]\"/>{label}</button>)}</div><button onClick={()=>setShowMore(false)} className=\"mt-3 w-full border border-black/[0.08] py-3 text-sm font-bold text-black/45\">Close</button></div></div>:null}\n{showNew?<div className=\"fixed inset-0 z-[80] grid place-items-center overflow-y-auto bg-black/82 p-4 backdrop-blur-md\" onMouseDown={event=>{if(event.currentTarget===event.target)setShowNew(false)}}><div className=\"w-full max-w-2xl border border-black/[0.10] bg-white\"><div className=\"flex items-center justify-between border-b border-black/[0.08] p-5\"><div><div className=\"text-[9px] font-black uppercase tracking-[.18em] text-[#8b6926]\">Grading intake</div><h2 className=\"mt-1 text-2xl font-black\">Receive cards into PCG</h2></div><button onClick={()=>setShowNew(false)} className=\"border border-black/10 p-2 text-black/35\"><X className=\"h-5 w-5\"/></button></div><div className=\"p-5\"><div className=\"grid gap-3 sm:grid-cols-2\"><input value={form.name} onChange={event=>setForm({...form,name:event.target.value})} placeholder=\"Collector name\" className={inputClass}/><input value={form.email} onChange={event=>setForm({...form,email:event.target.value})} placeholder=\"Email\" className={inputClass}/><input value={form.phone} onChange={event=>setForm({...form,phone:event.target.value})} placeholder=\"Phone\" className={inputClass}/><input value={form.cardCount} onChange={event=>setForm({...form,cardCount:event.target.value})} type=\"number\" min=\"1\" max=\"100000\" placeholder=\"Expected card count\" className={inputClass}/><select value={form.tier} onChange={event=>setForm({...form,tier:event.target.value})} className={inputClass}>{Object.entries(tiers).map(([id,tier])=><option key={id} value={id}>{tier.label} · ${tier.price}/card</option>)}</select><select value={form.delivery} onChange={event=>setForm({...form,delivery:event.target.value})} className={inputClass}><option value=\"walk_in\">Walk-in</option><option value=\"mail_in\">Mail-in</option><option value=\"ship_back\">Ship back</option><option value=\"pickup\">Pickup</option></select><textarea value={form.notes} onChange={event=>setForm({...form,notes:event.target.value})} placeholder=\"Submission notes\" className={`${inputClass} min-h-24 sm:col-span-2`}/></div><div className=\"mt-4 flex items-end justify-between border-t border-black/[0.08] pt-4\"><div><div className=\"text-[9px] font-black uppercase tracking-[.15em] text-[#8b6926]\">Expected grading total</div><div className=\"mt-1 text-3xl font-black\">${expectedTotal.toFixed(2)}</div></div><div className=\"text-right text-xs text-black/30\">{selectedCardCount} card{selectedCardCount===1?'':'s'} × ${selectedTier.price}</div></div><div className=\"mt-5 grid gap-2 sm:grid-cols-2\"><button onClick={openStripe} className=\"inline-flex items-center justify-center gap-2 border border-black/10 px-4 py-3 font-black\"><CreditCard className=\"h-4 w-4\"/>Collect in Stripe</button><button disabled={busy} onClick={()=>void createSubmission()} className=\"bg-[#d8bb78] px-4 py-3 font-black text-black disabled:opacity-50\">{busy?'Creating…':'Create submission'}</button></div><p className=\"mt-3 text-center text-xs text-black/28\">Creating the submission never marks it paid.</p></div></div></div>:null}\n{selected?<div className=\"fixed inset-0 z-[80] bg-black/72\" onMouseDown={event=>{if(event.currentTarget===event.target)setSelectedId(null)}}><aside className=\"absolute inset-y-0 right-0 w-full max-w-3xl overflow-y-auto border-l border-black/10 bg-white p-4 pb-24 sm:p-6\"><div className=\"flex items-start justify-between gap-4 border-b border-black/[0.08] pb-4\"><div><div className=\"text-[9px] font-black uppercase tracking-[.17em] text-[#8b6926]\">Submission workbench</div><h2 className=\"mt-1 text-2xl font-black\">{selected.submission_number}</h2><div className=\"mt-1 text-sm text-black/34\">{selected.customer_name||'Collector not named'} · {selectedCards.length.toLocaleString()} ingested / {orderCardCount(selected).toLocaleString()} expected · ${selectedTotal.toFixed(2)}</div></div><button onClick={()=>setSelectedId(null)} className=\"border border-black/10 p-2 text-black/35\"><X className=\"h-5 w-5\"/></button></div><section className={`${panelClass} mt-4 p-4`}><div className=\"text-[9px] font-black uppercase tracking-[.16em] text-[#8b6926]\">Grading stage</div><div className=\"mt-4 flex flex-wrap gap-2\">{statuses.map(status=><div key={status} className={`border px-2.5 py-1 text-[9px] font-black ${selected.status===status?'border-[#d8bb78]/45 text-[#76581f]':'border-black/10 text-black/28'}`}>{pretty(status)}</div>)}</div><div className=\"mt-4\">{(()=>{const index=statuses.indexOf(selected.status as any);const next=index>=0&&index<statuses.length-1?statuses[index+1]:null;const issue=next?transitionIssue(selected,next,selectedCards):'';return <>{terminalStatuses.has(selected.status)?<div className=\"mb-3 text-xs font-black text-emerald-300\"><Check className=\"mr-1 inline h-3.5 w-3.5\"/>Lifecycle complete</div>:next?<div className={'mb-3 text-xs leading-5 '+(issue?'text-amber-200':'text-emerald-300')}>{issue||<>Ready to advance to {pretty(next)}.</>}</div>:null}{next&&!terminalStatuses.has(selected.status)&&selected.status!=='ready'?<button disabled={busy||Boolean(issue)} onClick={()=>void advanceBatch(next)} className=\"inline-flex items-center gap-2 bg-[#d8bb78] px-4 py-2.5 text-sm font-black text-black\">Advance to {pretty(next)} <ChevronRight className=\"h-4 w-4\"/></button>:null}{selected.status==='ready'?<><button disabled={busy||Boolean(transitionIssue(selected,'shipped',selectedCards))} onClick={()=>void advanceBatch('shipped')} className=\"bg-[#d8bb78] px-4 py-2.5 text-sm font-black text-black disabled:cursor-not-allowed disabled:opacity-35\">Mark shipped</button><button disabled={busy} onClick={()=>void advanceBatch('picked_up')} className=\"ml-2 border border-black/10 px-4 py-2.5 text-sm font-black\">Mark picked up</button></>:null}</>})()}</div></section><section className={`${panelClass} mt-4 p-4`}><div className=\"flex items-center justify-between\"><div className=\"text-[9px] font-black uppercase tracking-[.16em] text-[#8b6926]\">Collector & payment</div><BadgeDollarSign className=\"h-5 w-5 text-[#8b6926]\"/></div><div className=\"mt-4 grid gap-3 sm:grid-cols-2\"><select value={detailDraft.payment_status} onChange={event=>setDetailDraft({...detailDraft,payment_status:event.target.value})} className={inputClass}><option value=\"unverified\">Payment not verified</option><option value=\"manually_verified\">Manually verified paid</option><option value=\"waived\">Waived</option><option value=\"refunded\">Refunded</option></select><input value={detailDraft.payment_reference} onChange={event=>setDetailDraft({...detailDraft,payment_reference:event.target.value})} placeholder=\"Reference / Stripe receipt ID\" className={inputClass}/></div><button onClick={openStripe} className=\"mt-3 inline-flex items-center gap-2 text-sm font-black text-[#8b6926]\"><ExternalLink className=\"h-4 w-4\"/>Open PCG Stripe checkout</button></section><section className={`${panelClass} mt-4 p-4`}><div className=\"text-[9px] font-black uppercase tracking-[.16em] text-[#8b6926]\">Shipping & notes</div><div className=\"mt-4 grid gap-3 sm:grid-cols-2\"><input value={detailDraft.tracking_in} onChange={event=>setDetailDraft({...detailDraft,tracking_in:event.target.value})} placeholder=\"Inbound tracking\" className={inputClass}/><input value={detailDraft.tracking_out} onChange={event=>setDetailDraft({...detailDraft,tracking_out:event.target.value})} placeholder=\"Outbound tracking\" className={inputClass}/><textarea value={detailDraft.notes} onChange={event=>setDetailDraft({...detailDraft,notes:event.target.value})} placeholder=\"Submission notes\" className={`${inputClass} min-h-24 sm:col-span-2`}/></div><button disabled={busy} onClick={()=>void saveSubmissionDetails()} className=\"mt-3 bg-white px-4 py-2.5 text-sm font-black text-black\">Save submission details</button></section><section className=\"mt-6\"><div className=\"border-b border-black/[0.08] pb-3\"><div className=\"text-[9px] font-black uppercase tracking-[.16em] text-[#8b6926]\">Cards in batch</div><h3 className=\"mt-1 text-xl font-black\">Card workbench</h3></div>{selectedCards.map(card=>{const draft=cardDrafts[card.id]||cardToDraft(card);return <div key={card.id} className=\"border-b border-black/[0.07] py-5\"><div className=\"flex items-center justify-between\"><div><div className=\"text-sm font-black\">Card #{card.sequence_number}</div><div className=\"mt-1 text-xs text-black/28\">{draft.cert_number||'Cert not assigned'} · {pretty(card.status)}</div></div>{draft.cert_number&&findPCGGrade(draft.grade_label)?<span className=\"inline-flex items-center gap-1 text-[10px] font-black text-emerald-300\"><Check className=\"h-3 w-3\"/>Graded</span>:null}</div><div className=\"mt-4 grid gap-2 sm:grid-cols-2\"><input value={draft.category} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,category:event.target.value}})} placeholder=\"Category\" className={inputClass}/><input value={draft.year} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,year:event.target.value}})} placeholder=\"Year\" className={inputClass}/><input value={draft.brand_set} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,brand_set:event.target.value}})} placeholder=\"Set Name\" className={inputClass}/><input value={draft.player_character} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,player_character:event.target.value}})} placeholder=\"Player Name(s)\" className={inputClass}/><input value={draft.card_number} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,card_number:event.target.value}})} placeholder=\"Card #\" className={inputClass}/><input value={draft.card_description} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,card_description:event.target.value}})} placeholder=\"Card Description\" className={inputClass}/><select value={draft.autograph_present} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,autograph_present:event.target.value as CardDraft['autograph_present']}})} className={inputClass}><option value=\"\">Auto Y/N</option><option value=\"yes\">Auto Yes</option><option value=\"no\">Auto No</option></select><input value={draft.declared_value} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,declared_value:event.target.value}})} type=\"number\" placeholder=\"Declared Value\" className={inputClass}/><input value={draft.cert_number} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,cert_number:event.target.value}})} placeholder=\"PCG#/CERT#\" className={inputClass}/><PCGGradeSelect draft={draft} onChange={next=>setCardDrafts({...cardDrafts,[card.id]:next})}/><textarea value={draft.grader_notes} onChange={event=>setCardDrafts({...cardDrafts,[card.id]:{...draft,grader_notes:event.target.value}})} placeholder=\"Grader notes\" className={`${inputClass} min-h-20 sm:col-span-2`}/></div><button disabled={busy} onClick={()=>void saveCard(card)} className=\"mt-3 bg-[#d8bb78] px-4 py-2.5 text-sm font-black text-black\">Save card</button></div>})}</section></aside></div>:null}</div>}"},{"path":"src/pages/card-grading/PCGWorkspace.tsx","content":"import React,{useEffect,useRef,useState} from 'react';\nimport {Archive,ArrowUpRight,CheckCircle2,Database,FileSpreadsheet,ImagePlus,Layers3,Loader2,PackageCheck,PauseCircle,Radar,RefreshCw,ScanLine,ShieldCheck,UploadCloud,XCircle} from 'lucide-react';\nimport {supabase} from '@/integrations/supabase/client';\nimport {useMultiTenant} from '@/contexts/MultiTenantContext';\nimport {useToast} from '@/hooks/use-toast';\nimport {CRMShell} from '@/components/crm/CRMShell';\nimport {cn} from '@/lib/utils';\nimport PCGGrowthLab,{PCGGrowthPulse} from '@/pages/card-grading/PCGGrowthLab';\nimport {PCG_AUTOGRAPH_NOTE,PCG_CARD_THICKNESSES,PCG_GRADING_SCALE,findPCGGrade} from '@/pages/card-grading/pcgGradingScale';\nconst DRIVE_MEDIA_FN=`${import.meta.env.VITE_SUPABASE_URL}/functions/v1/pcg-google-drive-media`;const CONCURRENCY=4;type DriveMedia={url:string;fileId:string};\ntype CsvRow=Record<string,string>;type BatchItem={key:string;front?:File;back?:File;row?:CsvRow;status:'queued'|'uploading'|'done'|'failed';error?:string};type CardForm={title:string;player:string;year:string;set:string;number:string;category:string;grader:string;grade:string;cert:string;condition:string;qty:string;cost:string;value:string;tags:string;notes:string};type StoredCard={id:string;player_character?:string|null;brand_set?:string|null;year?:string|null;card_number?:string|null;front_image_url?:string|null;grade?:number|null;cert_number?:string|null;metadata?:Record<string,unknown>|null};type SubmissionOption={id:string;submission_number:string;customer_name:string|null;status:string};type DriveState='checking'|'ready'|'missing'|'reconnect';type ExistingBatchCard={id:string;sequence_number:number;import_key:string|null;front_image_url:string|null;back_image_url:string|null};type VaultMode='overview'|'single'|'batch'|'growth';\nconst EMPTY_FORM:CardForm={title:'',player:'',year:'',set:'',number:'',category:'',grader:'',grade:'',cert:'',condition:'',qty:'1',cost:'',value:'',tags:'',notes:''};\nconst fileStem=(name:string)=>name.replace(/\\.[^.]+$/,'').replace(/[-_ ](?:front|back|obverse|reverse)$/i,'');const isBack=(name:string)=>/[-_ ](?:back|reverse)\\.[^.]+$/i.test(name);const rowValue=(row:CsvRow|undefined,...keys:string[])=>keys.map(key=>row?.[key]).find(Boolean)||'';const money=(value:string)=>{const parsed=Number((value||'').replace(/[$,]/g,''));return Number.isFinite(parsed)?parsed:null};\nconst normalizeHeader=(value:string)=>String(value||'').trim().toLowerCase().replace(/[^a-z0-9]+/g,'_').replace(/^_+|_+$/g,'');\nfunction parseDelimited(text:string){const sample=String(text||'').split(/\\r?\\n/,1)[0]||'';const delimiter=(sample.match(/\\t/g)||[]).length>(sample.match(/,/g)||[]).length?'\\t':',';const matrix:string[][]=[];let row:string[]=[];let value='';let quoted=false;for(let index=0;index<text.length;index+=1){const char=text[index];if(quoted){if(char==='\"'&&text[index+1]==='\"'){value+='\"';index+=1}else if(char==='\"'){quoted=false}else{value+=char}continue}if(char==='\"'){quoted=true;continue}if(char===delimiter){row.push(value);value='';continue}if(char==='\\n'){row.push(value);if(row.some(cell=>cell.trim()))matrix.push(row);row=[];value='';continue}if(char!=='\\r')value+=char}row.push(value);if(row.some(cell=>cell.trim()))matrix.push(row);const headerRow=matrix.shift()||[];const seen=new Map<string,number>();const headers=headerRow.map((cell,index)=>{const base=normalizeHeader(cell)||'column_'+(index+1);const count=(seen.get(base)||0)+1;seen.set(base,count);return count===1?base:base+'_'+count});const rows=matrix.map(cells=>Object.fromEntries(headers.map((header,index)=>[header,String(cells[index]??'').trim()]))) as CsvRow[];return{headers,rows,delimiter}}\nfunction parseCsv(text:string){return parseDelimited(text).rows}\nfunction pairFiles(files:File[],rows:CsvRow[]){const map=new Map<string,BatchItem>();for(const file of files.filter(item=>item.type.startsWith('image/'))){const key=fileStem(file.name);const item=map.get(key)||{key,status:'queued' as const};if(isBack(file.name))item.back=file;else if(!item.front)item.front=file;else map.set(`${key}-${map.size+1}`,{key:`${key}-${map.size+1}`,front:file,status:'queued'});map.set(key,item)}for(const item of map.values())item.row=rows.find(row=>fileStem(rowValue(row,'filename','file','front','image')).toLowerCase()===item.key.toLowerCase());return[...map.values()]}\nfunction ModeButton({active,children,onClick}:{active:boolean;children:React.ReactNode;onClick:()=>void}){return <button onClick={onClick} className={cn('rounded-full px-4 py-2 text-xs font-bold transition sm:text-sm',active?'bg-[#d8bb78] text-[#0b0b0c]':'text-black/48 hover:bg-black/[0.05] hover:text-[#1d1b18]')}>{children}</button>}\nfunction Stat({label,value,detail,icon:Icon}:{label:string;value:string;detail:string;icon:React.ComponentType<{className?:string}>}){return <div className=\"min-w-0 py-3 sm:border-l sm:border-black/[0.08] sm:px-5 first:sm:border-l-0 first:sm:pl-0\"><div className=\"flex items-center gap-2 text-[10px] font-bold uppercase tracking-[.16em] text-black/32\"><Icon className=\"h-3.5 w-3.5 text-[#8a6a20]\"/>{label}</div><div className=\"mt-2 text-2xl font-black tracking-tight text-[#1d1b18]\">{value}</div><div className=\"mt-1 truncate text-xs text-black/35\">{detail}</div></div>}\nfunction Field({label,value,onChange,placeholder}:{label:string;value:string;onChange:(value:string)=>void;placeholder?:string}){return <label className=\"block\"><span className=\"text-[10px] font-bold uppercase tracking-[.13em] text-black/34\">{label}</span><input value={value} onChange={event=>onChange(event.target.value)} placeholder={placeholder} className=\"mt-2 h-11 w-full border-b border-black/[0.12] bg-transparent text-sm text-[#1d1b18] outline-none transition placeholder:text-black/18 focus:border-[#d8bb78]/65\"/></label>}\nfunction PCGGradeField({grade:_grade,designation,onChange}:{grade:string;designation:string;onChange:(grade:string,designation:string)=>void}){const selected=findPCGGrade(designation);return <div className=\"sm:col-span-2\"><label className=\"block\"><span className=\"text-[10px] font-bold uppercase tracking-[.13em] text-black/34\">PCG grade</span><select value={designation} onChange={event=>{const option=findPCGGrade(event.target.value);onChange(option?.numeric==null?'':String(option.numeric),option?.designation||'')}} className=\"mt-2 h-11 w-full border border-black/[0.12] bg-white px-3 text-sm font-bold text-[#1d1b18] outline-none focus:border-[#d8bb78]/65\"><option value=\"\">Select official PCG designation</option>{PCG_GRADING_SCALE.map(option=><option key={option.id} value={option.designation}>{option.designation}</option>)}</select></label>{selected?<details className=\"mt-2 border border-black/[0.08] bg-[#f8f9fb] px-3 py-2\"><summary className=\"cursor-pointer text-[10px] font-black uppercase tracking-[.13em] text-[#8a6a20]\">Official criteria</summary><p className=\"mt-2 text-xs leading-5 text-black/55\">{selected.criteria||'PCG’s published page does not currently provide usable criteria text for this designation.'}</p><div className=\"mt-2 text-[10px] text-black/35\">Card sizes: {PCG_CARD_THICKNESSES.join(' · ')} · {PCG_AUTOGRAPH_NOTE}</div></details>:null}</div>}\nfunction ImageTile({label,file,onFile}:{label:string;file:File|null;onFile:(file:File|null)=>void}){return <label className=\"group flex min-h-36 cursor-pointer flex-col justify-between border border-black/[0.09] bg-[#f8f9fb] p-4 transition hover:border-[#d8bb78]/30 hover:bg-[#d8bb78]/[0.035]\"><input type=\"file\" accept=\"image/*\" className=\"hidden\" onChange={event=>onFile(event.target.files?.[0]||null)}/><div className=\"flex items-center justify-between\"><span className=\"text-[10px] font-black uppercase tracking-[.16em] text-black/35\">{label}</span>{file?<CheckCircle2 className=\"h-5 w-5 text-emerald-400\"/>:<ImagePlus className=\"h-5 w-5 text-[#8a6a20]\"/>}</div><div><div className=\"truncate text-sm font-bold text-black/82\">{file?.name||`Choose ${label.toLowerCase()} image`}</div><div className=\"mt-1 text-xs text-black/28\">Private PCG card photography.</div></div></label>}\nfunction DemoCardFace({card}:{card:StoredCard}){const subject=String(card.player_character||card.brand_set||'Trading Card').replace(/^DEMO\\s*[—-]\\s*/i,'');const detail=[card.year,card.brand_set,card.card_number&&`#${card.card_number}`].filter(Boolean).join(' · ');return <div className=\"absolute inset-1.5 flex flex-col overflow-hidden rounded-[14px] border border-[#d8bb78]/45 bg-[radial-gradient(circle_at_72%_18%,rgba(216,187,120,.26),transparent_38%),linear-gradient(145deg,rgba(30,27,20,.98),rgba(7,7,8,.98)_58%,rgba(27,23,15,.98))] p-2.5 shadow-[inset_0_0_0_1px_rgba(255,255,255,.06),0_14px_32px_rgba(0,0,0,.26)]\"><div className=\"flex items-center justify-between gap-1\"><div className=\"flex items-center gap-1.5 text-[8px] font-black uppercase tracking-[.14em] text-[#ecd797]\"><ScanLine className=\"h-3 w-3\"/>PCG Demo</div><div className=\"rounded-full border border-white/10 bg-black/35 px-1.5 py-0.5 text-[7px] font-black uppercase tracking-[.08em] text-white/46\">Trading card</div></div><div className=\"my-auto grid place-items-center\"><div className=\"grid h-14 w-14 place-items-center rounded-[16px] border border-[#d8bb78]/25 bg-[#d8bb78]/[0.08] shadow-[0_0_36px_rgba(216,187,120,.10)]\"><Archive className=\"h-6 w-6 text-[#d8bb78]\"/></div></div><div><div className=\"line-clamp-2 text-sm font-black leading-tight text-white\">{subject}</div><div className=\"mt-1.5 line-clamp-2 text-[9px] font-bold uppercase tracking-[.06em] text-white/42\">{detail||card.cert_number||'PCG sample record'}</div></div></div>}\n\nexport function PCGCardVaultContent({initialMode='overview',initialSubmissionId=''}:{initialMode?:VaultMode;initialSubmissionId?:string}={}){const{activeTenant}=useMultiTenant();const{toast}=useToast();const tenantId=activeTenant?.id||'';const[mode,setMode]=useState<VaultMode>(initialMode);useEffect(()=>{setMode(initialMode)},[initialMode]);const[form,setForm]=useState<CardForm>(EMPTY_FORM);const[front,setFront]=useState<File|null>(null);const[reverse,setReverse]=useState<File|null>(null);const[saving,setSaving]=useState(false);const[rows,setRows]=useState<CsvRow[]>([]);const[items,setItems]=useState<BatchItem[]>([]);const[session,setSession]=useState('');const[running,setRunning]=useState(false);const[recent,setRecent]=useState<StoredCard[]>([]);const[total,setTotal]=useState(0);const[submissionOptions,setSubmissionOptions]=useState<SubmissionOption[]>([]);const[selectedSubmissionId,setSelectedSubmissionId]=useState('');const[driveState,setDriveState]=useState<DriveState>('checking');const stop=useRef(false);const done=items.filter(item=>item.status==='done').length;const failed=items.filter(item=>item.status==='failed').length;const remaining=items.filter(item=>item.status==='queued'||item.status==='failed');const progress=items.length?Math.round(((done+failed)/items.length)*100):0;const selectedSubmission=submissionOptions.find(item=>item.id===selectedSubmissionId)||null;const driveReady=driveState==='ready';\nasync function load(){if(!tenantId)return;setDriveState('checking');const[cardsResult,submissionResult,googleResult]=await Promise.all([(supabase as any).from('card_grading_cards').select('id,player_character,brand_set,year,card_number,front_image_url,grade,cert_number,metadata',{count:'exact'}).eq('tenant_id',tenantId).order('created_at',{ascending:false}).limit(12),(supabase as any).from('card_grading_submissions').select('id,submission_number,customer_name,status').eq('tenant_id',tenantId).order('created_at',{ascending:false}).limit(50),(supabase as any).from('tenant_provider_credentials').select('credential_status,metadata').eq('tenant_id',tenantId).eq('provider','google_workspace').maybeSingle()]);setRecent(cardsResult.data||[]);setTotal(Number(cardsResult.count||0));const eligible=((submissionResult.data||[]) as SubmissionOption[]).filter(item=>['received','intake_imaging','authentication','grading','encapsulation','qa'].includes(String(item.status||'')));setSubmissionOptions(eligible);setSelectedSubmissionId(current=>eligible.some(item=>item.id===initialSubmissionId)?initialSubmissionId:(eligible.some(item=>item.id===current)?current:(eligible[0]?.id||'')));const google=googleResult.data as any;const scopes=Array.isArray(google?.metadata?.granted_scopes)?google.metadata.granted_scopes.map((value:unknown)=>String(value)):[];setDriveState(google?.credential_status==='active'?(scopes.includes('https://www.googleapis.com/auth/drive.file')?'ready':'reconnect'):'missing')}useEffect(()=>{void load()},[tenantId,initialSubmissionId]);\nasync function createSubmission(label:string){const{data,error}=await(supabase as any).from('card_grading_submissions').insert({tenant_id:tenantId,submission_number:`VAULT-${Date.now()}-${crypto.randomUUID().slice(0,6)}`,customer_name:'PCG Internal Inventory',service_tier:'inventory',service_price:0,status:'received',notes:label,payment_status:'unverified'}).select('id').single();if(error)throw error;return data.id}\nasync function upload(file:File,sessionKey:string,key:string,side:string,importKey:string):Promise<DriveMedia>{const{data}=await supabase.auth.getSession();if(!data.session?.access_token)throw new Error('Please sign in again.');const params=new URLSearchParams({tenant_id:tenantId,session_key:sessionKey,import_key:importKey,key,side,name:file.name,content_type:file.type||'application/octet-stream'});const response=await fetch(DRIVE_MEDIA_FN+'/upload?'+params.toString(),{method:'POST',headers:{Authorization:'Bearer '+data.session.access_token,'Content-Type':file.type||'application/octet-stream'},body:file});const payload=await response.json().catch(()=>null);if(!response.ok||!payload?.ok)throw new Error(payload?.error||'Google Drive upload failed');return{url:String(payload.url||''),fileId:String(payload.file_id||'')}}\nasync function storeCard(submissionId:string,importKey:string,frontMedia:DriveMedia|null,backMedia:DriveMedia|null,row?:CsvRow,values:Partial<CardForm>={},target?:{id?:string;sequenceNumber?:number}){const metadata={title:values.title||rowValue(row,'title','name'),grading_company:values.grader||rowValue(row,'grading_company','grader'),condition:values.condition||rowValue(row,'condition'),quantity:Number(values.qty||rowValue(row,'quantity')||1)||1,acquisition_cost:money(values.cost||rowValue(row,'acquisition_cost','cost')),estimated_value:money(values.value||rowValue(row,'estimated_value','value')),tags:String(values.tags||rowValue(row,'tags')).split(/[;,]/).map(item=>item.trim()).filter(Boolean),notes:values.notes||rowValue(row,'notes'),...(frontMedia?.fileId||backMedia?.fileId?{image_storage:'google_workspace_drive',drive_media:{provider:'google_workspace',front_file_id:frontMedia?.fileId||null,back_file_id:backMedia?.fileId||null}}:{})};const payload={tenant_id:tenantId,submission_id:submissionId,sequence_number:target?.sequenceNumber||1,category:values.category||rowValue(row,'category','sport'),year:values.year||rowValue(row,'year'),brand_set:values.set||rowValue(row,'brand_set','set','brand'),player_character:values.player||rowValue(row,'player','subject'),card_number:values.number||rowValue(row,'card_number','card_no'),declared_value:money(values.value||rowValue(row,'estimated_value','value')),grade:money(values.grade||rowValue(row,'grade')),grade_label:values.condition||rowValue(row,'condition'),cert_number:values.cert||rowValue(row,'cert_number','cert','serial'),front_image_url:frontMedia?.url||null,back_image_url:backMedia?.url||null,grader_notes:values.notes||rowValue(row,'notes')||null,status:'received',import_key:importKey,metadata};if(target?.id){const{error}=await(supabase as any).from('card_grading_cards').update(payload).eq('tenant_id',tenantId).eq('id',target.id);if(error)throw error;return}const{error}=await(supabase as any).from('card_grading_cards').upsert(payload,{onConflict:'tenant_id,import_key',ignoreDuplicates:true});if(error)throw error}\nasync function saveSingle(){if(!front&&!reverse)return toast({title:'Add at least one card image'});if(!driveReady)return toast({title:'Google Workspace Drive required',description:driveState==='reconnect'?'Reconnect Google Workspace so PCG has Drive file access.':'Connect Google Workspace before storing new PCG card images.',variant:'destructive'});setSaving(true);try{const sessionKey='single-'+crypto.randomUUID();const submissionId=await createSubmission('Internal inventory card upload');const frontMedia=front?await upload(front,sessionKey,'card','front',sessionKey):null;const backMedia=reverse?await upload(reverse,sessionKey,'card','back',sessionKey):null;await storeCard(submissionId,sessionKey,frontMedia,backMedia,undefined,form);setForm(EMPTY_FORM);setFront(null);setReverse(null);toast({title:'Card stored in PCG',description:'Master imagery is stored in the connected PCG Google Drive.'});await load()}catch(error){toast({title:'Could not save card',description:error instanceof Error?error.message:String(error),variant:'destructive'})}finally{setSaving(false)}}\nasync function runBatch(batch:BatchItem[]){if(!session||!batch.length)return;if(!selectedSubmissionId)return toast({title:'Select a grading order first',description:'Mass Intake attaches images to an existing collector order.',variant:'destructive'});if(!driveReady)return toast({title:'Google Workspace Drive required',description:driveState==='reconnect'?'Reconnect Google Workspace so PCG has Drive file access.':'Connect Google Workspace before starting image intake.',variant:'destructive'});const selected=submissionOptions.find(item=>item.id===selectedSubmissionId);if(!selected)return toast({title:'That grading order is no longer available',description:'Choose another open PCG order.',variant:'destructive'});setRunning(true);stop.current=false;let failedCount=0;try{const existingResult=await(supabase as any).from('card_grading_cards').select('id,sequence_number,import_key,front_image_url,back_image_url').eq('tenant_id',tenantId).eq('submission_id',selectedSubmissionId).order('sequence_number',{ascending:true});if(existingResult.error)throw existingResult.error;const existingCards=(existingResult.data||[]) as ExistingBatchCard[];const byImport=new Map(existingCards.filter(card=>card.import_key).map(card=>[String(card.import_key),card]));const blankSlots=existingCards.filter(card=>!card.import_key&&!card.front_image_url&&!card.back_image_url).sort((a,b)=>a.sequence_number-b.sequence_number);let nextSequence=Math.max(0,...existingCards.map(card=>Number(card.sequence_number)||0))+1;const plans=batch.map(item=>{const importKey=('pcg:'+selectedSubmissionId+':'+item.key).toLowerCase().replace(/[^a-z0-9:._-]+/g,'-');const existing=byImport.get(importKey);if(existing)return{item,importKey,existing:true,targetId:existing.id,sequenceNumber:existing.sequence_number};const slot=blankSlots.shift();return{item,importKey,existing:false,targetId:slot?.id,sequenceNumber:slot?.sequence_number||nextSequence++}});let cursor=0;const worker=async()=>{while(!stop.current){const index=cursor++;if(index>=plans.length)return;const plan=plans[index];const item=plan.item;try{setItems(current=>current.map(row=>row.key===item.key?{...row,status:'uploading',error:undefined}:row));if(!plan.existing){const frontMedia=item.front?await upload(item.front,session,item.key,'front',plan.importKey):null;const backMedia=item.back?await upload(item.back,session,item.key,'back',plan.importKey):null;await storeCard(selectedSubmissionId,plan.importKey,frontMedia,backMedia,item.row,undefined,{id:plan.targetId,sequenceNumber:plan.sequenceNumber})}setItems(current=>current.map(row=>row.key===item.key?{...row,status:'done'}:row))}catch(error){failedCount+=1;setItems(current=>current.map(row=>row.key===item.key?{...row,status:'failed',error:error instanceof Error?error.message:String(error)}:row))}}};await Promise.all(Array.from({length:Math.min(CONCURRENCY,plans.length)},worker));if(!stop.current&&failedCount===0&&selected.status==='received'){const advanced=await(supabase as any).rpc('advance_pcg_grading_submission',{p_tenant_id:tenantId,p_submission_id:selectedSubmissionId,p_status:'intake_imaging'});if(advanced.error)throw advanced.error}toast({title:stop.current?'Batch paused':failedCount?'Batch needs attention':'Order intake complete',description:failedCount?failedCount+' card'+(failedCount===1?'':'s')+' can be retried safely.':selected.submission_number+' now owns these canonical card records and Drive images.'});await load()}catch(error){toast({title:'Mass intake could not finish',description:error instanceof Error?error.message:String(error),variant:'destructive'})}finally{setRunning(false)}}const update=(key:keyof CardForm,value:string)=>setForm(current=>({...current,[key]:value}));\nreturn <div className=\"pcg-card-vault w-full text-[#1d1b18]\"><style>{`.pcg-card-vault .text-[#1d1b18]\\\\/18,.pcg-card-vault .text-[#1d1b18]\\\\/24,.pcg-card-vault .text-[#1d1b18]\\\\/28,.pcg-card-vault .text-[#1d1b18]\\\\/30,.pcg-card-vault .text-[#1d1b18]\\\\/32,.pcg-card-vault .text-[#1d1b18]\\\\/34,.pcg-card-vault .text-[#1d1b18]\\\\/35,.pcg-card-vault .text-[#1d1b18]\\\\/36,.pcg-card-vault .text-[#1d1b18]\\\\/38,.pcg-card-vault .text-[#1d1b18]\\\\/42,.pcg-card-vault .text-[#1d1b18]\\\\/44,.pcg-card-vault .text-[#1d1b18]\\\\/48{color:rgba(29,27,24,.68)!important}`}</style><section className=\"border-b border-black/[0.08] pb-6\"><div className=\"flex flex-col gap-5 xl:flex-row xl:items-end xl:justify-between\"><div><div className=\"flex items-center gap-2 text-[10px] font-black uppercase tracking-[.19em] text-[#8a6a20]\"><ScanLine className=\"h-4 w-4\"/>PCG Card Vault</div><h1 className=\"mt-3 text-[34px] font-black leading-none tracking-[-0.045em] sm:text-[46px]\">Card Vault</h1><p className=\"mt-3 max-w-2xl text-sm leading-6 text-black/44\">Capture one card or move an entire collection into PCG. Master imagery stays in the connected PCG Google Drive.</p></div><div className=\"flex max-w-full flex-wrap items-center rounded-2xl border border-black/[0.08] bg-[#f8f9fb] p-1\"><ModeButton active={mode==='overview'} onClick={()=>setMode('overview')}>Overview</ModeButton><ModeButton active={mode==='single'} onClick={()=>setMode('single')}>Internal inventory</ModeButton><ModeButton active={mode==='batch'} onClick={()=>setMode('batch')}>Mass intake</ModeButton><ModeButton active={mode==='growth'} onClick={()=>setMode('growth')}>Growth Lab</ModeButton></div></div><div className=\"mt-7 grid sm:grid-cols-4\"><Stat icon={Archive} label=\"Cards on file\" value={total.toLocaleString()} detail=\"Canonical PCG records\"/><Stat icon={Layers3} label=\"Current batch\" value={items.length.toLocaleString()} detail={items.length?`${done} stored so far`:'No intake running'}/><Stat icon={PackageCheck} label=\"Exceptions\" value={failed.toLocaleString()} detail={failed?'Ready to retry safely':'No failed uploads'}/><Stat icon={ShieldCheck} label=\"Storage\" value=\"Google Drive\" detail=\"PCG-owned master imagery\"/></div></section>{mode==='overview'?<PCGGrowthPulse tenantId={tenantId} onOpen={()=>setMode('growth')}/>:null}\n{mode==='overview'?<div className=\"mt-7 grid gap-7 xl:grid-cols-[minmax(0,1.15fr)_minmax(350px,.85fr)]\"><section><div className=\"mb-3 text-[10px] font-black uppercase tracking-[.17em] text-black/30\">Start an intake</div><div className=\"grid gap-px overflow-hidden border border-black/[0.08] bg-black/[0.08] sm:grid-cols-2\"><button onClick={()=>setMode('single')} className=\"group min-h-[210px] bg-white p-5 text-left transition hover:bg-[#f5f6f8]\"><div className=\"flex items-start justify-between\"><ImagePlus className=\"h-6 w-6 text-[#8a6a20]\"/><ArrowUpRight className=\"h-5 w-5 text-black/18 transition group-hover:text-[#8a6a20]\"/></div><div className=\"mt-14\"><h2 className=\"text-xl font-black tracking-tight\">Internal inventory card</h2><p className=\"mt-2 text-sm leading-6 text-black/38\">Create a standalone PCG-owned inventory record. This is not a collector grading submission.</p></div></button><button onClick={()=>setMode('batch')} className=\"group min-h-[210px] bg-white p-5 text-left transition hover:bg-[#f5f6f8]\"><div className=\"flex items-start justify-between\"><UploadCloud className=\"h-6 w-6 text-[#8a6a20]\"/><ArrowUpRight className=\"h-5 w-5 text-black/18 transition group-hover:text-[#8a6a20]\"/></div><div className=\"mt-14\"><h2 className=\"text-xl font-black tracking-tight\">Mass card intake</h2><p className=\"mt-2 text-sm leading-6 text-black/38\">Hundreds or thousands, front/back pairing, optional CSV, pause and safe retry.</p></div></button></div></section><section className=\"border-l border-black/[0.08] xl:pl-7\"><div className=\"flex items-center justify-between\"><div><div className=\"text-[10px] font-black uppercase tracking-[.16em] text-black/28\">Storage contract</div><h2 className=\"mt-2 text-lg font-black\">Built for volume</h2></div><Database className=\"h-5 w-5 text-[#8a6a20]\"/></div><div className=\"mt-5 divide-y divide-black/[0.07]\">{[['Google Drive masters','New originals live in the connected PCG Google Workspace, not KnockLaunch storage.'],['Safe retry','Completed imports keep a stable identity.'],['Canonical records','Single and batch intake write to the same card records.']].map(([title,copy])=><div key={title} className=\"py-4 first:pt-0\"><div className=\"flex items-center gap-2 text-sm font-bold text-black/80\"><CheckCircle2 className=\"h-4 w-4 text-emerald-400\"/>{title}</div><p className=\"mt-1.5 pl-6 text-xs leading-5 text-black/32\">{copy}</p></div>)}</div></section></div>:null}\n{mode==='growth'?<div className=\"mt-7\"><PCGGrowthLab tenantId={tenantId}/></div>:null}\n{mode==='single'?<section className=\"mt-7 grid gap-7 xl:grid-cols-[minmax(0,1.35fr)_minmax(320px,.65fr)]\"><div><div className=\"border-b border-black/[0.08] pb-4\"><div className=\"text-[10px] font-black uppercase tracking-[.16em] text-black/28\">Internal inventory</div><h2 className=\"mt-2 text-xl font-black\">Inventory card details</h2></div><div className=\"mt-6 grid gap-x-7 gap-y-5 sm:grid-cols-2\"><Field label=\"Title\" value={form.title} onChange={value=>update('title',value)}/><Field label=\"Player / subject\" value={form.player} onChange={value=>update('player',value)}/><Field label=\"Year\" value={form.year} onChange={value=>update('year',value)}/><Field label=\"Set / brand\" value={form.set} onChange={value=>update('set',value)}/><Field label=\"Card number\" value={form.number} onChange={value=>update('number',value)}/><Field label=\"Sport / category\" value={form.category} onChange={value=>update('category',value)}/><Field label=\"Grading company\" value={form.grader} onChange={value=>update('grader',value)}/><Field label=\"Certification / serial\" value={form.cert} onChange={value=>update('cert',value)}/><PCGGradeField grade={form.grade} designation={form.condition} onChange={(grade,designation)=>setForm(current=>({...current,grade,condition:designation}))}/><Field label=\"Quantity\" value={form.qty} onChange={value=>update('qty',value)}/><Field label=\"Acquisition cost\" value={form.cost} onChange={value=>update('cost',value)} placeholder=\"$0.00\"/><Field label=\"Estimated value\" value={form.value} onChange={value=>update('value',value)} placeholder=\"$0.00\"/><Field label=\"Tags\" value={form.tags} onChange={value=>update('tags',value)} placeholder=\"rookie, refractor, auto\"/></div><label className=\"mt-6 block\"><span className=\"text-[10px] font-bold uppercase tracking-[.13em] text-black/34\">Internal notes</span><textarea value={form.notes} onChange={event=>update('notes',event.target.value)} rows={4} className=\"mt-2 w-full border border-black/[0.09] bg-[#f8f9fb] p-4 text-sm leading-6 text-[#1d1b18] outline-none focus:border-[#d8bb78]/40\"/></label></div><div className=\"self-start border-l border-black/[0.08] xl:pl-7\"><div className=\"text-[10px] font-black uppercase tracking-[.16em] text-black/28\">Card imagery</div><div className=\"mt-4 grid gap-px overflow-hidden border border-black/[0.08] bg-black/[0.08]\"><ImageTile label=\"Front\" file={front} onFile={setFront}/><ImageTile label=\"Back\" file={reverse} onFile={setReverse}/></div><button onClick={()=>void saveSingle()} disabled={saving} className=\"mt-4 flex h-12 w-full items-center justify-center gap-2 bg-[#d8bb78] text-sm font-black text-[#09090a] transition hover:bg-[#e3c886] disabled:opacity-50\">{saving?<Loader2 className=\"h-4 w-4 animate-spin\"/>:<Archive className=\"h-4 w-4\"/>}{saving?'Storing card…':'Store inventory card'}</button></div></section>:null}\n{mode==='batch'?<section className=\"mt-7 space-y-5\"><div className=\"border border-black/[0.08] bg-white p-5\"><div className=\"flex flex-col gap-4 lg:flex-row lg:items-end\"><label className=\"min-w-0 flex-1\"><span className=\"text-[10px] font-black uppercase tracking-[.16em] text-[#8a6a20]\">1 · Collector order</span><select value={selectedSubmissionId} onChange={event=>{setSelectedSubmissionId(event.target.value);setSession('');setRows([]);setItems([])}} disabled={running} className=\"mt-2 h-12 w-full border border-black/[0.10] bg-white px-3 text-sm font-bold text-[#1d1b18] outline-none focus:border-[#d8bb78]/55\"><option value=\"\">Select an open PCG order</option>{submissionOptions.map(option=><option key={option.id} value={option.id}>{option.submission_number} · {option.customer_name||'Collector'} · {option.status.replaceAll('_',' ')}</option>)}</select></label><div className=\"flex flex-wrap items-center gap-2 lg:justify-end\"><span className={cn('inline-flex h-10 items-center gap-2 border px-3 text-xs font-black',driveReady?'border-emerald-400/25 bg-emerald-400/[.07] text-emerald-200':'border-amber-400/25 bg-amber-400/[.07] text-amber-100')}><ShieldCheck className=\"h-4 w-4\"/>{driveState==='checking'?'Checking Drive…':driveReady?'Google Drive ready':driveState==='reconnect'?'Reconnect Google Workspace':'Google Workspace required'}</span><a href=\"?mode=submissions&tool=submissions\" className=\"inline-flex min-h-11 items-center border border-black/[0.10] px-3 py-2 text-xs font-black text-black/65\">Receive Cards</a>{!driveReady&&driveState!=='checking'?<a href=\"?tool=settings\" className=\"inline-flex min-h-11 items-center border border-[#d8bb78]/25 px-3 py-2 text-xs font-black text-[#8a6a20]\">Open settings</a>:null}</div></div><p className=\"mt-3 text-xs leading-5 text-black/42\">{selectedSubmission?'Images and CSV details will become the canonical cards for '+selectedSubmission.submission_number+' · '+(selectedSubmission.customer_name||'Collector')+'. No second submission is created.':'Create or choose the customer’s grading order before loading card images.'}</p></div>{!submissionOptions.length?<div className=\"border border-dashed border-amber-300/20 bg-amber-300/[.04] p-5 text-sm text-amber-100/80\">No open PCG grading orders are available. Create the collector order from <a href=\"?mode=submissions&tool=submissions\" className=\"font-black text-[#8a6a20] underline underline-offset-4\">Receive Cards</a>, then return to Mass Intake.</div>:null}{driveState==='missing'||driveState==='reconnect'?<div className=\"border border-dashed border-amber-300/20 bg-amber-300/[.04] p-5\"><div className=\"text-sm font-black text-amber-100\">{driveState==='reconnect'?'Google Workspace needs Drive permission':'Connect PCG Google Workspace before image intake'}</div><p className=\"mt-1 text-xs leading-5 text-black/45\">New PCG master images are stored in Anthony’s Google Drive. Intake stays locked until that private Drive connection is ready.</p></div>:null}<div className=\"grid gap-px overflow-hidden border border-black/[0.08] bg-black/[0.08] lg:grid-cols-2\"><label className={cn('group flex min-h-[180px] flex-col justify-between bg-white p-5',selectedSubmissionId&&driveReady&&!running?'cursor-pointer':'cursor-not-allowed opacity-45')}><input type=\"file\" multiple accept=\"image/*\" disabled={!selectedSubmissionId||!driveReady||running} className=\"hidden\" onChange={event=>{if(!event.target.files)return;setSession('batch-'+crypto.randomUUID());setRows([]);setItems(pairFiles(Array.from(event.target.files),[]))}}/><UploadCloud className=\"h-6 w-6 text-[#8a6a20]\"/><div><h2 className=\"text-xl font-black\">2 · Choose the card image batch</h2><p className=\"mt-2 text-sm leading-6 text-black/36\">Front/back filenames pair automatically. The selected order owns every imported card.</p></div></label><label className={cn('group flex min-h-[180px] flex-col justify-between bg-white p-5',items.length&&!running?'cursor-pointer':'cursor-not-allowed opacity-45')}><input type=\"file\" accept=\".csv,text/csv\" disabled={!items.length||running} className=\"hidden\" onChange={event=>event.target.files?.[0]?.text().then(text=>{const parsed=parseCsv(text);setRows(parsed);setItems(current=>current.map(item=>({...item,row:parsed.find(row=>fileStem(rowValue(row,'filename','file','front','image')).toLowerCase()===item.key.toLowerCase())})))})}/><FileSpreadsheet className=\"h-6 w-6 text-[#8a6a20]\"/><div><h2 className=\"text-xl font-black\">3 · Attach CSV details <span className=\"text-black/30\">(optional)</span></h2><p className=\"mt-2 text-sm leading-6 text-black/36\">Map filenames, player, set, year and card number into those same canonical order records.</p></div></label></div><div className=\"border border-black/[0.08] bg-white\"><div className=\"flex flex-col gap-4 border-b border-black/[0.07] p-5 sm:flex-row sm:items-center\"><div className=\"mr-auto\"><div className=\"text-[10px] font-black uppercase tracking-[.16em] text-black/28\">Mass intake queue</div><div className=\"mt-1 text-lg font-black\">{items.length.toLocaleString()} cards <span className=\"font-medium text-black/30\">· {done} stored · {failed} failed</span></div>{selectedSubmission?<div className=\"mt-1 text-xs font-bold text-[#8a6a20]/80\">{selectedSubmission.submission_number} · {selectedSubmission.customer_name||'Collector'}</div>:null}</div>{running?<button onClick={()=>{stop.current=true}} className=\"inline-flex h-10 items-center gap-2 border border-black/[0.10] px-4 text-xs font-bold\"><PauseCircle className=\"h-4 w-4\"/>Pause intake</button>:<button disabled={!remaining.length||!selectedSubmissionId||!driveReady} onClick={()=>void runBatch(remaining)} className=\"inline-flex h-10 items-center gap-2 bg-[#d8bb78] px-4 text-xs font-black text-black disabled:opacity-35\"><UploadCloud className=\"h-4 w-4\"/>{!driveReady?'Google Drive required':!selectedSubmissionId?'Select an order':failed?'Retry remaining':'Start mass intake'}</button>}</div><div className=\"h-1 bg-black/[0.05]\"><div className=\"h-full bg-[#d8bb78]\" style={{width:`${progress}%`}}/></div><div className=\"max-h-[360px] overflow-auto p-2\">{!items.length?<div className=\"grid min-h-44 place-items-center text-center\"><div><Layers3 className=\"mx-auto h-7 w-7 text-black/16\"/><div className=\"mt-3 text-sm font-bold text-black/48\">No card batch loaded</div><div className=\"mt-1 text-xs text-black/28\">Choose an order, then load its card images.</div></div></div>:items.slice(0,2000).map((item,index)=><div key={`${item.key}-${index}`} className=\"grid grid-cols-[1fr_auto] items-center gap-3 px-3 py-2.5 text-sm\"><div className=\"min-w-0\"><div className=\"truncate font-semibold text-black/72\">{item.key}</div><div className=\"truncate text-[10px] text-black/24\">{item.front?.name}{item.back?' + back':''}</div></div>{item.status==='done'?<CheckCircle2 className=\"h-4 w-4 text-emerald-400\"/>:item.status==='failed'?<XCircle className=\"h-4 w-4 text-rose-400\"/>:item.status==='uploading'?<Loader2 className=\"h-4 w-4 animate-spin text-[#8a6a20]\"/>:<span className=\"text-[10px] text-black/24\">Queued</span>}</div>)}</div></div></section>:null}\n<section className=\"mt-8 border-t border-black/[0.08] pt-6\"><div className=\"flex items-end justify-between\"><div><div className=\"text-[10px] font-black uppercase tracking-[.16em] text-black/28\">Card Vault</div><h2 className=\"mt-1 text-lg font-black\">Recently stored</h2></div><button onClick={()=>void load()} aria-label=\"Refresh stored cards\" className=\"grid h-11 w-11 place-items-center border border-black/[0.08] text-black/36\"><RefreshCw className=\"h-4 w-4\"/></button></div>{recent.length?<div className=\"mt-4 grid grid-cols-2 gap-px overflow-hidden border border-black/[0.07] bg-black/[0.07] sm:grid-cols-4 md:grid-cols-5 lg:grid-cols-6 xl:grid-cols-8 2xl:grid-cols-9\">{recent.map(card=><article key={card.id} className=\"bg-black/48\"><div className=\"relative aspect-[3/4] overflow-hidden bg-[#080809]\">{card.metadata?.demo?<DemoCardFace card={card}/>:card.front_image_url?<img src={card.front_image_url} alt=\"\" className=\"h-full w-full object-contain p-2\"/>:<div className=\"grid h-full place-items-center\"><Archive className=\"h-7 w-7 text-black/12\"/></div>}{card.grade?<div className=\"absolute right-2 top-2 z-10 bg-black/78 px-2 py-1 text-[10px] font-black text-[#e5cd93]\">{card.grade}</div>:null}</div><div className=\"p-2.5\"><div className=\"truncate text-xs font-bold\">{card.player_character||card.brand_set||'Card'}</div><div className=\"mt-1 truncate text-[10px] text-black/30\">{[card.year,card.brand_set,card.card_number&&`#${card.card_number}`].filter(Boolean).join(' · ')||card.cert_number||'PCG record'}</div></div></article>)}</div>:<div className=\"mt-4 grid min-h-36 place-items-center border border-dashed border-black/[0.08] bg-black/20 text-center\"><div><Archive className=\"mx-auto h-7 w-7 text-black/12\"/><div className=\"mt-2 text-sm font-bold text-black/42\">The vault is ready.</div></div></div>}</section></div>}\nexport default function PCGWorkspace(){return <CRMShell><div className=\"mx-auto w-full max-w-[1500px] px-4 py-5 sm:px-6 sm:py-7 xl:px-9 xl:py-8\"><PCGCardVaultContent/></div></CRMShell>}\n"},{"path":"src/pages/card-grading/PCGCompletionCenter.tsx","content":"import React from 'react';\nimport {AlertTriangle,CheckCircle2,Mail,Truck} from 'lucide-react';\nimport {useMultiTenant} from '@/contexts/MultiTenantContext';\nimport {supabase} from '@/integrations/supabase/client';\nimport {formatPCGGrade} from '@/pages/card-grading/pcgGradingScale';\n\ntype Sub={id:string;submission_number:string;customer_name:string|null;customer_email:string|null;status:string;tracking_out:string|null};\ntype Card={id:string;submission_id:string;sequence_number:number;player_character:string|null;year:string|null;brand_set:string|null;grade:number|null;grade_label:string|null;cert_number:string|null;front_image_url:string|null;slab_image_url:string|null};\ntype HandoffStats={total:number;graded:number;certified:number;imaged:number};\nconst esc=(v:unknown)=>String(v??'').replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;').replace(/\"/g,'&quot;');\n\nexport default function PCGCompletionCenter({mode}:{mode:'completed'|'mailed'}){\n  const{activeTenant}=useMultiTenant();const tenantId=activeTenant?.id||'';const slug=String(activeTenant?.company_slug||'pcg').trim().toLowerCase()||'pcg';const wmpUrl='https://whatsmyprogress.com/'+encodeURIComponent(slug)+'/';\n  const[subs,setSubs]=React.useState<Sub[]>([]);const[cards,setCards]=React.useState<Card[]>([]);const[loading,setLoading]=React.useState(true);const[sending,setSending]=React.useState<string|null>(null);const[armed,setArmed]=React.useState<string|null>(null);const[message,setMessage]=React.useState('');\n  const load=React.useCallback(async()=>{if(!tenantId)return;setLoading(true);const statuses=mode==='completed'?['ready']:['shipped','picked_up'];const s=await(supabase as any).from('card_grading_submissions').select('id,submission_number,customer_name,customer_email,status,tracking_out').eq('tenant_id',tenantId).in('status',statuses).order('updated_at',{ascending:false}).limit(30);const ids=(s.data||[]).map((x:any)=>x.id);let c:any={data:[]};if(ids.length)c=await(supabase as any).from('card_grading_cards').select('id,submission_id,sequence_number,player_character,year,brand_set,grade,grade_label,cert_number,front_image_url,slab_image_url').eq('tenant_id',tenantId).in('submission_id',ids).order('sequence_number',{ascending:true});setSubs(s.data||[]);setCards(c.data||[]);setArmed(null);setLoading(false)},[mode,tenantId]);\n  React.useEffect(()=>{void load()},[load]);\n  const ownCards=(sub:Sub)=>cards.filter(card=>card.submission_id===sub.id);\n  const stats=(sub:Sub):HandoffStats=>{const own=ownCards(sub);return{total:own.length,graded:own.filter(card=>card.grade!=null||Boolean(card.grade_label)).length,certified:own.filter(card=>Boolean(card.cert_number)).length,imaged:own.filter(card=>Boolean(card.slab_image_url||card.front_image_url)).length}};\n  const issues=(sub:Sub)=>{const value:string[]=[];const s=stats(sub);if(mode==='completed'){if(!s.total)value.push('no cards are attached');else{if(s.graded<s.total)value.push(`${s.total-s.graded} card${s.total-s.graded===1?' is':'s are'} missing a grade`);if(s.certified<s.total)value.push(`${s.total-s.certified} card${s.total-s.certified===1?' is':'s are'} missing a cert number`);if(s.imaged<s.total)value.push(`${s.total-s.imaged} card${s.total-s.imaged===1?' is':'s are'} missing a customer-visible image`)}}if(mode==='mailed'&&!sub.tracking_out)value.push('outbound tracking is missing');return value};\n  const send=async(sub:Sub)=>{if(!sub.customer_email||sending)return;setSending(sub.id);setMessage('');const own=ownCards(sub);const images=own.map(card=>card.slab_image_url||card.front_image_url).filter(Boolean) as string[];const shipped=mode==='mailed';const summary=own.length?`<h2 style=\"margin:24px 0 10px\">Your cards</h2><table role=\"presentation\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:100%;border-collapse:collapse\">${own.map(card=>{const name=[card.year,card.brand_set,card.player_character].filter(Boolean).join(' · ')||`Card #${card.sequence_number}`;const grade=formatPCGGrade(card.grade,card.grade_label);const cert=card.cert_number?`PCG#/CERT# ${card.cert_number}`:'Cert pending';return`<tr><td style=\"padding:10px 0;border-bottom:1px solid #e6e2d9\"><strong>${esc(name)}</strong><br><span style=\"color:#68645b;font-size:13px\">${esc(grade)} · ${esc(cert)}</span></td></tr>`}).join('')}</table>`:'';const body=`<!doctype html><html><body data-knocklaunch-email=\"pcg-order-update\" style=\"font-family:Arial,sans-serif;color:#171614;line-height:1.5\"><h1 style=\"margin:0 0 12px\">${shipped?'Your PCG order is on the way':'Your PCG grading order is complete'}</h1><p>Hi ${esc(sub.customer_name||'there')},</p><p>${shipped?'Your graded cards have been mailed back to you.':'Your cards have completed grading and are being prepared for return.'}</p><p><strong>Order:</strong> ${esc(sub.submission_number)}</p>${sub.tracking_out?`<p><strong>Tracking:</strong> ${esc(sub.tracking_out)}</p>`:''}<p><a href=\"${wmpUrl}\">View your live grading progress</a></p>${summary}${images.length?`<h2 style=\"margin:24px 0 10px\">Card images</h2><div>${images.slice(0,20).map((url,index)=>`<img src=\"${esc(url)}\" alt=\"Graded card ${index+1}\" style=\"width:150px;max-width:45%;height:auto;margin:6px;border:1px solid #ddd\"/>`).join('')}</div>`:''}<p style=\"margin-top:24px\">Thank you for choosing Prestigious Card Grading.</p></body></html>`;\n    const result=await supabase.functions.invoke('send-email',{body:{tenantId,to:sub.customer_email,subject:shipped?`Your PCG order ${sub.submission_number} has shipped`:`Your PCG order ${sub.submission_number} is complete`,body,idempotencyKey:`pcg-${mode}:${sub.id}:${sub.status}`,eventType:shipped?'pcg_order_shipped':'pcg_grading_completed',fromName:'Prestigious Card Grading'}});\n    if(result.error||!result.data?.ok)setMessage(result.data?.error||result.error?.message||'Email could not be sent. Check the PCG business mailbox connection.');else setMessage(result.data?.deduped?'This customer update was already sent.':'Customer update sent.');setArmed(null);setSending(null)};\n  const requestSend=(sub:Sub)=>{const warnings=issues(sub);if(warnings.length&&armed!==sub.id){setArmed(sub.id);setMessage(`${sub.submission_number} needs review: ${warnings.join('; ')}. Fix the record, or click Send anyway if this is intentional.`);return}void send(sub)};\n  return <section className=\"mx-auto max-w-[1600px] px-4 pt-4 sm:px-6 lg:px-8\"><div className=\"border border-black/10 bg-[#ffffff] p-4\"><div className=\"flex items-center gap-3\">{mode==='mailed'?<Truck className=\"h-5 w-5 text-[#8a6a20]\"/>:<CheckCircle2 className=\"h-5 w-5 text-[#8a6a20]\"/>}<div><div className=\"text-[10px] font-black uppercase tracking-[.17em] text-[#8a6a20]\">{mode==='mailed'?'Shipment handoff':'Completion handoff'}</div><h2 className=\"mt-1 text-xl font-black\">{mode==='mailed'?'Tracking + customer update':'Review & notify customer'}</h2></div></div>{message?<div className=\"mt-4 border border-black/10 bg-black/[.04] p-3 text-sm text-black/65\">{message}</div>:null}{loading?<div className=\"mt-5 text-sm text-black/35\">Loading customer handoffs…</div>:subs.length?<div className=\"mt-5 divide-y divide-black/8\">{subs.map(sub=>{const s=stats(sub);const warnings=issues(sub);const isArmed=armed===sub.id;return <div key={sub.id} className=\"py-3\"><div className=\"flex flex-col gap-4 xl:flex-row xl:items-center\"><div className=\"min-w-0 flex-1\"><div className=\"font-black\">{sub.submission_number} · {sub.customer_name||'Collector'}</div><div className=\"mt-1 truncate text-xs text-black/35\">{sub.customer_email||'Customer email missing'}{sub.tracking_out?` · Tracking ${sub.tracking_out}`:''}</div><div className=\"mt-3 grid max-w-xl grid-cols-4 gap-px overflow-hidden border border-black/[.07] bg-black/[.07]\"><div className=\"bg-[#f5f6f8] p-2.5\"><div className=\"text-[9px] font-black uppercase text-black/30\">Cards</div><div className=\"mt-1 font-black\">{s.total}</div></div><div className=\"bg-[#f5f6f8] p-2.5\"><div className=\"text-[9px] font-black uppercase text-black/30\">Graded</div><div className=\"mt-1 font-black\">{s.graded}/{s.total}</div></div><div className=\"bg-[#f5f6f8] p-2.5\"><div className=\"text-[9px] font-black uppercase text-black/30\">Certs</div><div className=\"mt-1 font-black\">{s.certified}/{s.total}</div></div><div className=\"bg-[#f5f6f8] p-2.5\"><div className=\"text-[9px] font-black uppercase text-black/30\">Images</div><div className=\"mt-1 font-black\">{s.imaged}/{s.total}</div></div></div>{warnings.length?<div className=\"mt-3 flex max-w-2xl items-start gap-2 text-xs leading-5 text-amber-800\"><AlertTriangle className=\"mt-0.5 h-4 w-4 shrink-0 text-amber-300\"/><span>{warnings.join(' · ')}</span></div>:<div className=\"mt-3 inline-flex items-center gap-2 text-xs font-black text-emerald-700\"><CheckCircle2 className=\"h-4 w-4\"/>Customer handoff ready</div>}</div><button disabled={!sub.customer_email||sending===sub.id} onClick={()=>requestSend(sub)} className={`inline-flex min-h-11 shrink-0 items-center justify-center gap-2 px-4 text-xs font-black disabled:opacity-35 ${isArmed&&warnings.length?'border border-amber-300/30 bg-amber-300/[.08] text-amber-900':'bg-[#d8bb78] text-black'}`}><Mail className=\"h-4 w-4\"/>{sending===sub.id?'Sending…':isArmed&&warnings.length?'Send anyway':mode==='mailed'?'Send shipment update':'Send completion email'}</button></div></div>})}</div>:<div className=\"mt-5 border border-dashed border-black/10 p-5 text-sm text-black/35\">No orders are currently in this stage.</div>}</div></section>\n}\n"},{"path":"src/pages/card-grading/PCGBatchPublishingCenter.tsx","content":"import React from 'react';\nimport {supabase} from '@/integrations/supabase/client';\n\ntype Row={id:string;card_id:string;sku:string;title:string;price:number;quantity:number;website_status:string;website_url?:string|null;ebay_status:string;ebay_url?:string|null;error_message?:string|null;card?:any};\nconst label=(v:string)=>v==='live'?'Live':v==='prerequisite_required'?'Setup required':v==='needs_attention'?'Needs attention':v==='sold'?'Sold':v==='uploaded'?'Not listed':v||'Not listed';\n\nexport default function PCGBatchPublishingCenter({tenantId}:{tenantId:string}){\n  const[rows,setRows]=React.useState<Row[]>([]);\n  const[prices,setPrices]=React.useState<Record<string,string>>({});\n  const[busy,setBusy]=React.useState<string[]>([]);\n  const[message,setMessage]=React.useState('');\n\n  const load=React.useCallback(async()=>{\n    if(!tenantId)return;\n    const {data}=await supabase.functions.invoke('pcg-commerce-publisher',{body:{action:'list',tenant_id:tenantId}});\n    if(data?.ok){\n      const items=Array.isArray(data.items)?data.items:[];\n      setRows(items);\n      setPrices(prev=>{\n        const next={...prev};\n        for(const row of items) if(!next[row.card_id]&&Number(row.price)>0) next[row.card_id]=String(row.price);\n        return next;\n      });\n    }\n  },[tenantId]);\n\n  const publish=React.useCallback(async(cardIds:string[])=>{\n    if(!cardIds.length)return;\n    setBusy(v=>Array.from(new Set([...v,...cardIds])));\n    const entries=cardIds.map(id=>[id,Number(prices[id]||0)] as const).filter(([,value])=>value>0);\n    const priceByCard=Object.fromEntries(entries);\n    const {data,error}=await supabase.functions.invoke('pcg-commerce-publisher',{body:{action:'publish_batch',tenant_id:tenantId,card_ids:cardIds,price_by_card:priceByCard}});\n    setBusy(v=>v.filter(id=>!cardIds.includes(id)));\n    if(error||!data?.ok)setMessage(data?.error||'Publishing could not start. Try again.');\n    else setMessage('Publishing pass complete. Any item that needs attention is isolated below.');\n    await load();\n  },[load,prices,tenantId]);\n\n  React.useEffect(()=>{void load()},[load]);\n  React.useEffect(()=>{\n    if(!tenantId)return;\n    const channel=supabase.channel('pcg-commerce-'+tenantId)\n      .on('postgres_changes',{event:'*',schema:'public',table:'card_grading_cards',filter:'tenant_id=eq.'+tenantId},()=>void load())\n      .subscribe();\n    const timer=window.setInterval(()=>void load(),10000);\n    return()=>{window.clearInterval(timer);void supabase.removeChannel(channel)};\n  },[load,tenantId]);\n\n  return <section data-pcg-batch-publishing=\"true\" className=\"relative z-10 mx-auto mb-5 w-full max-w-[1500px] px-3 sm:px-5 lg:px-7\">\n    <div className=\"rounded-3xl border border-black/10 bg-[#ffffff] p-4 shadow-[0_10px_28px_rgba(15,23,42,.06)] backdrop-blur-xl sm:p-5\">\n      <div className=\"flex flex-wrap items-center gap-3\">\n        <div className=\"min-w-0 flex-1\"><div className=\"text-[10px] font-black uppercase tracking-[.2em] text-[#8a6a20]/70\">Publishing command center</div><h2 className=\"mt-1 text-xl font-black text-[#1d1b18]\">Website + eBay</h2><p className=\"mt-1 text-sm text-black/55\">Completed cards are candidates only. Nothing is listed until you enter an explicit sale price and press Publish.</p><p className=\"mt-1 text-xs font-semibold text-amber-800\">A card’s declared or grading value is never treated as permission to sell it.</p></div>\n        <div className=\"rounded-full border border-[#d8bb78]/25 bg-[#d8bb78]/10 px-3 py-1.5 text-[11px] font-black uppercase tracking-[.12em] text-[#8a6a20]\">Owner approval required</div>\n      </div>\n      {message?<div className=\"mt-3 rounded-xl border border-black/10 bg-black/[.05] px-3 py-2 text-sm text-black/70\">{message}</div>:null}\n      <div className=\"mt-4 grid gap-2\">\n        {!rows.length?<div className=\"rounded-2xl border border-black/8 bg-black/[.03] p-4 text-sm text-black/55\">Completed graded cards appear here as sale candidates. Set an explicit sale price and press Publish only for cards PCG is actually authorized to sell.</div>:rows.map(row=>{\n          const working=busy.includes(row.card_id);\n          const price=prices[row.card_id]??String(row.price||'');\n          return <article key={row.id||row.card_id} className=\"grid gap-3 rounded-2xl border border-black/8 bg-black/[.035] p-3 lg:grid-cols-[minmax(0,1fr)_140px_auto] lg:items-center\">\n            <div className=\"min-w-0\"><div className=\"truncate text-sm font-black text-[#1d1b18]\">{row.title||row.sku}</div><div className=\"mt-1 flex flex-wrap gap-2 text-[11px] font-bold\"><span className=\"rounded-full bg-black/[.06] px-2 py-1 text-black/65\">{row.sku}</span><span className=\"rounded-full bg-black/[.06] px-2 py-1 text-black/65\">Website: {label(row.website_status)}</span><span className=\"rounded-full bg-black/[.06] px-2 py-1 text-black/65\">eBay: {label(row.ebay_status)}</span></div>{row.error_message?<div className=\"mt-2 text-xs font-semibold text-amber-800\">{row.error_message}</div>:null}</div>\n            <label className=\"grid gap-1 text-[10px] font-black uppercase tracking-[.12em] text-black/45\">Explicit sale price<input inputMode=\"decimal\" value={price} onChange={e=>setPrices(v=>({...v,[row.card_id]:e.target.value}))} className=\"h-10 min-w-0 rounded-xl border border-black/10 bg-white px-3 text-sm font-bold text-[#1d1b18] outline-none focus:border-[#d8bb78]/60\" placeholder=\"0.00\"/></label>\n            <div className=\"flex flex-wrap gap-2 lg:justify-end\">{row.website_url?<a className=\"rounded-lg border border-black/10 px-2.5 py-2 text-xs font-black text-black/75\" href={row.website_url} target=\"_blank\" rel=\"noreferrer\">Website</a>:null}{row.ebay_url?<a className=\"rounded-lg border border-black/10 px-2.5 py-2 text-xs font-black text-black/75\" href={row.ebay_url} target=\"_blank\" rel=\"noreferrer\">eBay</a>:null}<button type=\"button\" disabled={working||!(Number(price)>0)} onClick={()=>void publish([row.card_id])} className=\"rounded-lg border border-[#d8bb78]/30 bg-[#d8bb78]/10 px-2.5 py-2 text-xs font-black text-[#8a6a20] disabled:opacity-40\">{working?'Publishing…':row.website_status==='live'||row.ebay_status==='live'?'Update listing':row.website_status==='uploaded'&&row.ebay_status==='uploaded'?'Publish website + eBay':'Retry'}</button></div>\n          </article>\n        })}\n      </div>\n    </div>\n  </section>;\n}\n"}],"route":"/pcg/workspace","branch":"ai/objective-first-repair-88715ace54dc","writes":[],"patches":[],"pr_body":"Replaces the beige PCG redesign with a cool neutral operating UI, flattens the daily workflow, and removes settings-inside-settings in favor of a PCG-specific setup launcher.","version":1,"approved":true,"pr_title":"PCG: simplify workspace and settings","missionId":"88715ace-54dc-4957-a3cc-b4f76e98b1bf","objective":"Replace the just-released PCG beige/light redesign with a cleaner and simpler PCG operating UI. The user dislikes both the color scheme and the confusing layout. Use a cool neutral white/light-gray/charcoal palette with PCG gold only as a restrained accent. Flatten the owner landing page to one compact header, one obvious Receive new cards action, and a numbered 1-to-4 workflow: Receive Cards, Grade Cards, Publish & Sell, Fulfill & Ship. Remove lifestyle/hero framing and decorative imagery blocks from the owner landing page. Keep setup visually secondary. Fix PCG Settings specifically: do not embed the entire universal Settings & Profile home inside PCG. Show a small PCG-specific settings launcher first with Brand & workspace, Google & connections, Email & customers, Notifications, Profile & staff, and Workspace behavior; only render the relevant universal settings section after Anthony chooses one. Payments remains in the separate Payments tool. Preserve all business logic, routes, grading rules, data actions, provider state, and owner approval safeguards. Frontend-only change. Ship through fast UI gate, squash merge, frontend release, then visually verify PCG root and PCG Settings on desktop/mobile.","tenantRef":"pcg","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["src/pages/card-grading/PCGModesWorkspace.tsx","src/pages/crm/PcgWorkspace.tsx","src/pages/card-grading/PCGWorkspace.tsx","src/pages/card-grading/PCGCompletionCenter.tsx","src/pages/card-grading/PCGBatchPublishingCenter.tsx"],"commit_message":"Simplify PCG workspace and settings","implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["src/pages/card-grading/PCGModesWorkspace.tsx","src/pages/crm/PcgWorkspace.tsx","src/pages/card-grading/PCGWorkspace.tsx","src/pages/card-grading/PCGCompletionCenter.tsx","src/pages/card-grading/PCGBatchPublishingCenter.tsx"],"requestContract":null,"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"b8f04548b4aa2f055337ed7832fddd8c3f980e7ddc729957aa001a64336b791a","replayCount":0,"serializedBytes":126861},"tenant_id":"9602e177-0cbb-496c-bdf5-2fbc93f1b859","created_at":"2026-09-29T19:30:04.095001+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:88715ace-54dc-4957-a3cc-b4f76e98b1bf:repository-mutation-intent:b8f04548b4aa2f055337ed7832fddd8c3f980e7ddc729957aa001a64336b791a:0","mission_step_id":"c57c76b5-671d-4672-991d-b3c90f2cf6ae","command_center_event_id":"88715ace-54dc-4957-a3cc-b4f76e98b1bf"},{"id":"5a6096ea-34ea-4299-bb38-d1f37cbd4eb5","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending","supabase-edge-production/live":"pending"},"mainSha":"897880d6103daaab8626a268486870d30682e665","missing":[],"pending":["forgejo-release/workflow","supabase-edge-production/live","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","supabase-edge-production/live","frontend-cloudflare/live"],"sourceSha":"897880d6103daaab8626a268486870d30682e665","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/999","runId":999,"status":"running","conclusion":null,"failedJobs":[],"diagnostics":null},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-16T21:53:01.257679+00:00","proof_gate":"canonical_release_pending","source_sha":"897880d6103daaab8626a268486870d30682e665","external_id":"forgejo-main-897880d6103d","receipt_type":"canonical_release_status","idempotency_key":"mission:22ad52c2-34c2-4132-b1c3-5c20b6ebcda4:forgejo-release-status:897880d6103daaab8626a268486870d30682e665:pending:forgejo-main/source=success|forgejo-release/workflow=pending|supabase-edge-production/live=pending|frontend-cloudflare/live=pending","mission_step_id":"4f520a8a-be4c-4b56-ae74-9c2179372b6e","command_center_event_id":"22ad52c2-34c2-4132-b1c3-5c20b6ebcda4"},{"id":"5a6665e3-8860-47dd-bae7-d9e708257b2a","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-a8d7267dae45","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":14526,"releaseCount":0,"toolCallCount":7,"repeatedCallCount":3,"executorlessWaitMs":29629,"firstUsefulResultAt":"2026-10-03T21:57:32.916Z","recoveryAttemptCount":4,"ownerInterruptionCount":0},"version":null,"prNumber":4682,"terminal":false,"missionId":"a8d7267d-ae45-4f86-b76f-3cb206662918","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"f1d2b29e9f0acfbbf50d1d1f76495a407579f680","timingsMs":{"prReadinessMs":756,"approvedPlanMs":0,"shipAndProveMs":3079,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"a8d7267d-ae45-4f86-b76f-3cb206662918"},"performance":null,"deploymentId":"forgejo-main-f1d2b29e9f0a","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1871,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-03T21:58:43.906389+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"4682","receipt_type":"automatic_mission_resume","idempotency_key":"mission:a8d7267d-ae45-4f86-b76f-3cb206662918:automatic-mission-resume:4682:canonical_release_reconciliation_pending","mission_step_id":"2688f06c-522b-42d0-82fa-c58927554150","command_center_event_id":"a8d7267d-ae45-4f86-b76f-3cb206662918"},{"id":"5a674c45-6e47-4457-bf30-ed3c9cf2d607","source":"cc-execution","status":"in_progress","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/visual-witness-independent-snapshot-recovery-20260910","reason":null,"status":"in_progress","metrics":{"receiptBytes":0,"releaseCount":1,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.98-owner-handoff-overlap","prNumber":2353,"terminal":false,"missionId":"692d9f59-1d77-4d6c-87f6-b4adb3dab2ab","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"7c47c4127a5b36d446029d2275ed2f3c967d1b1c","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":20016,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":785,"approvedPlanMs":0,"missionSetupMs":362,"providerAuthMs":0,"shipAndProveMs":17691,"ledgerPrepareMs":362,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":362,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":362,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create replacement work.","receiptRef":{"mode":"full","missionId":"692d9f59-1d77-4d6c-87f6-b4adb3dab2ab"},"performance":null,"deploymentId":"forgejo-main-7c47c4127a5b","workflowRunId":6923,"releaseTargets":{"frontend":false,"onrunner":true,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1479,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-11T00:02:30.39971+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"7c47c4127a5b36d446029d2275ed2f3c967d1b1c","external_id":"forgejo-main-7c47c4127a5b","receipt_type":"execute_mission","idempotency_key":"mission:692d9f59-1d77-4d6c-87f6-b4adb3dab2ab:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"913fc80f-6151-4c9d-93a4-664b38a725d3","command_center_event_id":"692d9f59-1d77-4d6c-87f6-b4adb3dab2ab"},{"id":"5a682a96-e3db-4514-9533-304bee17d1f9","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"objective_received","branch":"ai/release-queue-actions-first-20260911","reason":"control_plane_maintenance_current_main_unavailable","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.117-queue-snapshot-first","prNumber":null,"terminal":false,"missionId":"3b880ff2-85e9-4212-baab-4c151761581f","operation":"execute_mission","proofGate":"repair_mission_execution_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":2500,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":820,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":820,"ledgerReconcileMs":272,"lineageReconcileMs":0,"resolvePreflightMs":820,"repositoryMutationMs":2500,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":1092,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"3b880ff2-85e9-4212-baab-4c151761581f"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1607,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T01:34:04.796041+00:00","proof_gate":"repair_mission_execution_retryable","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:3b880ff2-85e9-4212-baab-4c151761581f:execute_mission:repair_mission_execution_retryable:current-generation","mission_step_id":"22d26e74-d4fd-45db-b80c-c30073f5632a","command_center_event_id":"3b880ff2-85e9-4212-baab-4c151761581f"},{"id":"5a68ae52-1958-483c-8d6d-e8b7f033fe10","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","supabase-edge-production/live":"success"},"mainSha":"bc0dba6299cd7a2c1bddc71538069317628927a8","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","supabase-edge-production/live"],"sourceSha":"bc0dba6299cd7a2c1bddc71538069317628927a8","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["admin-tenant-preview"]},"releaseTargetStates":{"supabaseEdge":"success"},"requestContractHash":"0ec077a4aa4032b32768ce7e2dc3ba8722af1a8e6b4c50350e24953976e518b2","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/7717","runId":7717,"status":"success","sourceSha":"bc0dba6299cd7a2c1bddc71538069317628927a8","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"supabaseEdge":"success"},"targetJobCount":7,"observedTargetStates":{"supabaseEdge":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-13T02:59:57.756269+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"bc0dba6299cd7a2c1bddc71538069317628927a8","external_id":"forgejo-main-bc0dba6299cd","receipt_type":"canonical_release_status","idempotency_key":"mission:59da736f-65cb-4f0f-925a-0e49bd89c367:forgejo-release-status:bc0dba6299cd7a2c1bddc71538069317628927a8:verified:forgejo-main/source=success|forgejo-release/workflow=success|supabase-edge-production/live=success","mission_step_id":"9f243dfd-0c55-405e-bce3-4f63f414b442","command_center_event_id":"59da736f-65cb-4f0f-925a-0e49bd89c367"},{"id":"5a69960c-6fa9-43b2-b1d4-5be0c429b931","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-ff52aeb8b69f","reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":3429,"terminal":false,"missionId":"ff52aeb8-b69f-4b90-9f40-277597e5e54c","operation":"automatic_mission_resume","proofGate":"canonical_release_dispatched","sourceSha":"169630e4ec1115f9dfc604b56c1f276c028d2f70","timingsMs":{"prReadinessMs":544,"approvedPlanMs":0,"shipAndProveMs":3821,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"ff52aeb8-b69f-4b90-9f40-277597e5e54c"},"performance":null,"deploymentId":"forgejo-main-169630e4ec11","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":true,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2107,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-22T14:01:28.922696+00:00","proof_gate":"canonical_release_dispatched","source_sha":null,"external_id":"3429","receipt_type":"automatic_mission_resume","idempotency_key":"mission:ff52aeb8-b69f-4b90-9f40-277597e5e54c:automatic-mission-resume:3429:canonical_release_dispatched","mission_step_id":"523404f5-6d6c-451d-ab94-a99674ccec67","command_center_event_id":"ff52aeb8-b69f-4b90-9f40-277597e5e54c"},{"id":"5a6cccda-7a87-4b0d-96d2-b2fc76cf08f6","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success","supabase-edge-production/live":"success"},"mainSha":"6b303b8417112e6893a1ff38459a314e30593ecb","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","supabase-edge-production/live","frontend-cloudflare/live"],"sourceSha":"6b303b8417112e6893a1ff38459a314e30593ecb","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["tenant-media-library"]},"releaseTargetStates":{"frontend":"success","supabaseEdge":"success"},"requestContractHash":"ae95a934fd911225aaadd199b6461cd6589db0c920889c18f7357aabc3fface4","forgejoWorkflowProof":{"runId":9637,"source":"signed_push_receipt","status":"success","results":{},"conclusion":"success","targetStates":{"frontend":"success","supabaseEdge":"success"},"targetJobCount":7,"observedTargetStates":{"frontend":"success","supabaseEdge":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-18T15:44:21.926732+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"6b303b8417112e6893a1ff38459a314e30593ecb","external_id":"forgejo-main-6b303b841711","receipt_type":"canonical_release_status","idempotency_key":"mission:fa630e6a-f6e5-47ce-8b73-339b3ed25fa9:forgejo-release-status:6b303b8417112e6893a1ff38459a314e30593ecb:verified:forgejo-main/source=success|forgejo-release/workflow=success|supabase-edge-production/live=success|frontend-cloudflare/live=success","mission_step_id":"807cebc1-22d2-4594-a2b3-185d14316cd9","command_center_event_id":"fa630e6a-f6e5-47ce-8b73-339b3ed25fa9"},{"id":"5a6d146e-e236-434d-9a5b-dab9b6bf95d8","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"504033e2b6a4bf35e18013f189ec4fa091a7f78c","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"504033e2b6a4bf35e18013f189ec4fa091a7f78c","releaseState":"pending","sourceInMain":true,"compareStatus":"identical","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"9fb9dd5873b616bf58ebd81d8a95e10464ff0b6775c7c14a8098b5bf0417947b","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/5370","runId":5370,"status":"running","sourceSha":"504033e2b6a4bf35e18013f189ec4fa091a7f78c","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"b565f644-6d3c-4b61-97d6-f91a06dae0ec","created_at":"2026-09-05T01:44:27.202894+00:00","proof_gate":"canonical_release_pending","source_sha":"504033e2b6a4bf35e18013f189ec4fa091a7f78c","external_id":"forgejo-main-504033e2b6a4","receipt_type":"canonical_release_status","idempotency_key":"mission:c9c8fa4e-de11-4dd3-89e1-802ddda989d5:forgejo-release-status:504033e2b6a4bf35e18013f189ec4fa091a7f78c:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"ef66aa7c-491c-49ed-abb9-b8581b1ef8db","command_center_event_id":"c9c8fa4e-de11-4dd3-89e1-802ddda989d5"},{"id":"5a6d1ba3-53d2-4b37-af5a-3511cc732d53","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/big-papis-customer-loyalty-tiers-analytics-20260824","reason":"retryable_provider_transport:GET:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":8570,"releaseCount":0,"toolCallCount":5,"repeatedCallCount":2,"ownerInterruptionCount":0},"version":"1.50.34-native-single-file-write","prNumber":null,"terminal":false,"missionId":"4c73dacc-2b8e-4baf-85a4-e1af0b5b9da7","operation":"execute_mission","proofGate":"repair_mission_execution_retryable","sourceSha":null,"timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"4c73dacc-2b8e-4baf-85a4-e1af0b5b9da7"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5137,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-25T03:19:22.290037+00:00","proof_gate":"repair_mission_execution_retryable","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:4c73dacc-2b8e-4baf-85a4-e1af0b5b9da7:execute_mission:repair_mission_execution_retryable","mission_step_id":"3db40411-15f2-4da3-9fca-be255ceceea4","command_center_event_id":"4c73dacc-2b8e-4baf-85a4-e1af0b5b9da7"},{"id":"5a6e8668-9af4-418e-99af-074ba175d150","source":"cc-execution","status":"recorded","payload":{"objective":"FRONTEND-ONLY corrective visual repair on current protected main. The approved 321 Auto Unlock background asset is already wired and visible in production, but current presentation is wrong: `object-cover`/cover-style scaling on a much wider desktop hero crops away most of the approved coastal scene, and the dark overlay makes the remaining image look like a navy/black wash. Fix the existing live page only; do not generate or replace the image. Preserve AUTO_UNLOCK_APPROVED_BACKGROUND exactly. Change the background presentation so the full approved composition is materially visible across the above-the-fold hero: palm silhouettes, cloudy blue sky, bridge/waterline lights, wet blue/orange reflections, and right-side vehicle framing must all remain in frame at desktop. Prefer deterministic full-scene sizing/positioning rather than cover-cropping (e.g. stretch/100%-by-100% hero scene or equivalent composition-preserving treatment suitable for the reference). Reduce the dark readability overlay to the minimum needed for text legibility; do not hide the image. Keep existing logo, video, headline, CTA, How It Works panel, emergency warning, copy, form behavior, and mobile functionality unchanged. Repair the winning background/overlay rules rather than stacking another overlay. One fresh ai/* branch from current main, one PR, canonical Gate, squash merge, Cloudflare frontend release, then live visual proof at 321autounlock.com. Do not stop at implementation/PR.","tenantRef":"321-auto-unlock","receivedAt":"2026-09-24T17:15:25.427Z","fingerprint":"0d543ab31a54306d85f7b0ea30af4faa280f60847ccbb0aa847f78cc604f85b1","workstreamRef":"321autounlock","conversationId":null,"canonicalBranch":null,"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"FRONTEND-ONLY corrective visual repair on current protected main. The approved 321 Auto Unlock background asset is already wired and visible in production, but current presentation is wrong: `object-cover`/cover-style scaling on a much wider desktop hero crops away most of the approved coastal scene, and the dark overlay makes the remaining image look like a navy/black wash. Fix the existing live page only; do not generate or replace the image. Preserve AUTO_UNLOCK_APPROVED_BACKGROUND exactly. Change the background presentation so the full approved composition is materially visible across the above-the-fold hero: palm silhouettes, cloudy blue sky, bridge/waterline lights, wet blue/orange reflections, and right-side vehicle framing must all remain in frame at desktop. Prefer deterministic full-scene sizing/positioning rather than cover-cropping (e.g. stretch/100%-by-100% hero scene or equivalent composition-preserving treatment suitable for the reference). Reduce the dark readability overlay to the minimum needed for text legibility; do not hide the image. Keep existing logo, video, headline, CTA, How It Works panel, emergency warning, copy, form behavior, and mobile functionality unchanged. Repair the winning background/overlay rules rather than stacking another overlay. One fresh ai/* branch from current main, one PR, canonical Gate, squash merge, Cloudflare frontend release, then live visual proof at 321autounlock.com. Do not stop at implementation/PR.","wordingChanged":false,"canonicalIntent":"FRONTEND-ONLY corrective visual repair on current protected main. The approved 321 Auto Unlock background asset is already wired and visible in production, but current presentation is wrong: `object-cover`/cover-style scaling on a much wider desktop hero crops away most of the approved coastal scene, and the dark overlay makes the remaining image look like a navy/black wash. Fix the existing live page only; do not generate or replace the image. Preserve AUTO_UNLOCK_APPROVED_BACKGROUND exactly. Change the background presentation so the full approved composition is materially visible across the above-the-fold hero: palm silhouettes, cloudy blue sky, bridge/waterline lights, wet blue/orange reflections, and right-side vehicle framing must all remain in frame at desktop. Prefer deterministic full-scene sizing/positioning rather than cover-cropping (e.g. stretch/100%-by-100% hero scene or equivalent composition-preserving treatment suitable for the reference). Reduce the dark readability overlay to the minimum needed for text legibility; do not hide the image. Keep existing logo, video, headline, CTA, How It Works panel, emergency warning, copy, form behavior, and mobile functionality unchanged. Repair the winning background/overlay rules rather than stacking another overlay. One fresh ai/* branch from current main, one PR, canonical Gate, squash merge, Cloudflare frontend release, then live visual proof at 321autounlock.com. Do not stop at implementation/PR.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"legacy_derived","version":1,"outcomes":[{"id":"outcome-1","statement":"FRONTEND-ONLY corrective visual repair on current protected main. The approved 321 Auto Unlock background asset is already wired and visible in production, but current presentation is wrong: `object-cover`/cover-style scaling on a much wider desktop hero crops away most of the approved coastal scene, and the dark overlay makes the remaining image look like a navy/black wash. Fix the existing live page only; do not generate or replace the image. Preserve AUTO_UNLOCK_APPROVED_BACKGROUND exactly. Change the background presentation so the full approved composition is materially visible across the above-the-fold hero: palm silhouettes, cloudy blue sky, bridge/waterline lights, wet blue/orange reflections, and right-side vehicle framing must all remain in frame at desktop. Prefer deterministic full-scene sizing/positioning rather than cover-cropping (e.g. stretch/100%-by-100% hero scene or equivalent composition-preserving treatment suitable for the reference). Reduce the dark readability overlay to the minimum needed for text legibility; do not hide the image. Keep existing logo, video, headline, CTA, How It Works panel, emergency warning, copy, form behavior, and mobile functionality u","provenance":{"reason":null,"source":"current_request_inference","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production","proof-visual"]}],"objective":"FRONTEND-ONLY corrective visual repair on current protected main. The approved 321 Auto Unlock background asset is already wired and visible in production, but current presentation is wrong: `object-cover`/cover-style scaling on a much wider desktop hero crops away most of the approved coastal scene, and the dark overlay makes the remaining image look like a navy/black wash. Fix the existing live page only; do not generate or replace the image. Preserve AUTO_UNLOCK_APPROVED_BACKGROUND exactly. Change the background presentation so the full approved composition is materially visible across the above-the-fold hero: palm silhouettes, cloudy blue sky, bridge/waterline lights, wet blue/orange reflections, and right-side vehicle framing must all remain in frame at desktop. Prefer deterministic full-scene sizing/positioning rather than cover-cropping (e.g. stretch/100%-by-100% hero scene or equivalent composition-preserving treatment suitable for the reference). Reduce the dark readability overlay to the minimum needed for text legibility; do not hide the image. Keep existing logo, video, headline, CTA, How It Works panel, emergency warning, copy, form behavior, and mobile functionality unchanged. Repair the winning background/overlay rules rather than stacking another overlay. One fresh ai/* branch from current main, one PR, canonical Gate, squash merge, Cloudflare frontend release, then live visual proof at 321autounlock.com. Do not stop at implementation/PR.","constraints":[{"id":"visual-artifact-scope","statement":"The requested visual artifact type is authoritative: logo only. Do not add unrelated or mixed visual surfaces unless the owner explicitly requested them.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production","proof-visual"]},{"id":"visual-content-truth","statement":"Do not present invented names, metrics, prices, dates, services, testimonials, credentials, customer records, or other unknown business facts as real. Omit unknowns or mark them clearly as placeholder/example content.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production","proof-visual"]},{"id":"brand-asset-authority","statement":"Supplied brand assets are source-authoritative. They must not be redrawn, morphed, recolored, restyled, substituted, cropped, or regenerated unless the owner explicitly requests that transformation.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production","proof-visual"]},{"id":"tenant-visual-isolation","statement":"Visual work is isolated to 321-auto-unlock. Do not import another tenant's logo, colors, imagery, copy, shell, customer data, business facts, or visual identity unless explicitly requested.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production","proof-visual"]},{"id":"visual-viewport-authority","statement":"The requested mobile viewport/form factor is authoritative. Do not create a mixed-device composite or add another viewport unless explicitly requested.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production","proof-visual"]},{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"FRONTEND-ONLY corrective visual repair on current protected main. The approved 321 Auto Unlock background asset is already wired and visible in production, but current presentation is wrong: `object-cover`/cover-style scaling on a much wider desktop hero crops away most of the approved coastal scene, and the dark overlay makes the remaining image look like a navy/black wash. Fix the existing live page only; do not generate or replace the image. Preserve AUTO_UNLOCK_APPROVED_BACKGROUND exactly. Change the background presentation so the full approved composition is materially visible across the above-the-fold hero: palm silhouettes, cloudy blue sky, bridge/waterline lights, wet blue/orange reflections, and right-side vehicle framing must all remain in frame at desktop. Prefer deterministic full-scene sizing/positioning rather than cover-cropping (e.g. stretch/100%-by-100% hero scene or equivalent composition-preserving treatment suitable for the reference). Reduce the dark readability ov","route":"https://321autounlock.com/","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false},{"id":"proof-visual","kind":"visual","claim":"FRONTEND-ONLY corrective visual repair on current protected main. The approved 321 Auto Unlock background asset is already wired and visible in production, but current presentation is wrong: `object-cover`/cover-style scaling on a much wider desktop hero crops away most of the approved coastal scene, and the dark overlay makes the remaining image look like a navy/black wash. Fix the existing live page only; do not generate or replace the image. Preserve AUTO_UNLOCK_APPROVED_BACKGROUND exactly. Change the background presentation so the full approved composition is materially visible across the above-the-fold hero: palm silhouettes, cloudy blue sky, bridge/waterline lights, wet blue/orange reflections, and right-side vehicle framing must all remain in frame at desktop. Prefer deterministic full-scene sizing/positioning rather than cover-cropping (e.g. stretch/100%-by-100% hero scene or equivalent composition-preserving treatment suitable for the reference). Reduce the dark readability ov","route":"https://321autounlock.com/","roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"FRONTEND-ONLY-corrective-visual-repair-on-current-protected-main.-The-approved-321-Auto-Unlock-backg","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":[],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["proof-production"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestedBranch":null,"conversationContext":null,"requestContractHash":"093e54573c4213f1a8bb683241f25c607ae79854087b641aa9dd63c371088871","requestContractRevision":1},"tenant_id":"d60e3c27-73ed-4a5f-a49b-c37636455daf","created_at":"2026-09-24T17:15:25.777123+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:c9e442a7-8255-4ef8-a592-40da0d9aac0b:tenant-workstream-contribution:0d543ab31a54306d85f7b0ea30af4faa280f60847ccbb0aa847f78cc604f85b1","mission_step_id":null,"command_center_event_id":"c9e442a7-8255-4ef8-a592-40da0d9aac0b"},{"id":"5a72baae-c6f2-4d15-8426-a2017075b297","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue the same PR #1814 after Gate identified the single stale exact-value assertion for ccExecutionReleaseToolingPolicy. Unfreeze the control plane only for workers/cc-execution/test/release-orchestration-invariants.test.js, update that assertion to the new authoritative policy value already present on this PR, then rerun Gate and continue the same PR through squash merge, cc-execution-only release, refreeze, and live Witness health proof. No other mutation.","wordingChanged":false,"canonicalIntent":"Continue the same PR #1814 after Gate identified the single stale exact-value assertion for ccExecutionReleaseToolingPolicy. Unfreeze the control plane only for workers/cc-execution/test/release-orchestration-invariants.test.js, update that assertion to the new authoritative policy value already present on this PR, then rerun Gate and continue the same PR through squash merge, cc-execution-only release, refreeze, and live Witness health proof. No other mutation.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"PR #1814 passes Gate, merges, cc-execution releases the complete Witness failover repair, and health is live instead of 502.","proofConditionIds":["proof-release","proof-health"]}],"objective":"Continue the same PR #1814 after Gate identified the single stale exact-value assertion for ccExecutionReleaseToolingPolicy. Unfreeze the control plane only for workers/cc-execution/test/release-orchestration-invariants.test.js, update that assertion to the new authoritative policy value already present on this PR, then rerun Gate and continue the same PR through squash merge, cc-execution-only release, refreeze, and live Witness health proof. No other mutation.","constraints":[{"id":"constraint-1","statement":"The only additional mutation is the stale exact-value test assertion; only cc-execution may release.","proofConditionIds":["proof-release"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-release","kind":"release","claim":"Refreshed PR #1814 passes KnockLaunch Gate, squash merges, and protected-main release selects and successfully deploys cc-execution only.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]},{"id":"proof-health","kind":"runtime","claim":"Canonical inspect_route_health returns 200/live via virtual runner instead of 502 while Render primary remains unavailable.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"]}],"validationErrors":[]},"requestContractHash":"61d19d6fd7118df865be3ca0d696c7759930af4f441bf92254dc4e8caf302871","requestContractRevision":3,"previousRequestContractHash":"33d93a56ac5d682498bf66a6c2ee15eef0b33c80d9e6bcb39b93324791d0c3e6"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-05T11:28:51.334243+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:e4951275-17b0-43f4-a583-b645c47291bf:request-contract:61d19d6fd7118df865be3ca0d696c7759930af4f441bf92254dc4e8caf302871","mission_step_id":"a684bb08-2975-4cb1-8d11-f9e30d6d120a","command_center_event_id":"e4951275-17b0-43f4-a583-b645c47291bf"},{"id":"5a759177-ffcb-461b-a53a-03946165ba75","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"c28d30e7345ee9d94d49febf2f9b295810e72308","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"outcome-video-display","satisfied":true,"statement":"On Godmode admin routes, the background MP4 preserves its entire 16:9 frame, is centered, never renders larger than its native 1280x720 dimensions on large desktops, and scales down responsively on smaller viewports. Existing dark/emerald fallback fills unused viewport space.","proofConditionIds":["proof-source","proof-production"]}],"satisfied":true,"constraints":[],"contractHash":"0ab01447280f677f23c4d20a3fad368372cf981869dcd5d573a11265c4e63e3d","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"proof-source","kind":"repository","evidence":{"repositoryProofGate":"request_contract_repository_verified","requestContractHash":"0ab01447280f677f23c4d20a3fad368372cf981869dcd5d573a11265c4e63e3d","repositoryProofStatus":"verified","repositoryProofSourceSha":"c28d30e7345ee9d94d49febf2f9b295810e72308"},"required":true,"satisfied":true},{"id":"proof-production","kind":"runtime","evidence":{"releaseState":"verified","activeReleaseTargets":["frontend"],"releaseRequestContractHash":"0ab01447280f677f23c4d20a3fad368372cf981869dcd5d573a11265c4e63e3d"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["frontend"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T07:50:15.250069+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"c28d30e7345ee9d94d49febf2f9b295810e72308","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:8864807e-2acb-42ba-bab1-fb0177785f2a:request-contract:0ab01447280f677f23c4d20a3fad368372cf981869dcd5d573a11265c4e63e3d:c28d30e7345ee9d94d49febf2f9b295810e72308:verified:","mission_step_id":"ac155e82-befd-4d6e-b4a6-cf2b37ede656","command_center_event_id":"8864807e-2acb-42ba-bab1-fb0177785f2a"},{"id":"5a765a58-6049-4985-8cbd-9cc0f1dc96a7","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in implementation.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"durable_state:pull_request","handoff":null,"capability":"light-control-plane","automationAllowed":true,"ownerActionRequired":false,"resumeFromCheckpoint":"preflight"},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"owner_progress_heartbeat\",\"status\":\"waiting\",\"proofGate\":\"owner_progress_heartbeat\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"ready\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:pull_request\",\"automationAllowed\":true,\"ownerActionRequired\":false,\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\",\"capability\":\"light-control-plane\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-10-06T14:54:20.947247+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T14:06:07.101989+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:8461f374-86b0-422f-bb81-3fb39febaab9:owner-progress-heartbeat:119419704","mission_step_id":"a036e1a4-6bb7-4248-b530-a16b22bcaaa4","command_center_event_id":"8461f374-86b0-422f-bb81-3fb39febaab9"},{"id":"5a76d386-5923-4668-a53f-c596a4d5281c","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/fix-cloudflare-trigger-deploy-20260822","reason":"pull_request_checks_pending","status":"waiting_for_gate","metrics":{"receiptBytes":3590,"releaseCount":0,"toolCallCount":3,"repeatedCallCount":1,"ownerInterruptionCount":0},"version":"1.50.16-onrunner-release-ownership","prNumber":599,"terminal":false,"missionId":"cf3092f1-d12e-4b41-9335-bfcafb9d548b","operation":"execute_mission","proofGate":"repair_mission_waiting_for_gate","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request after the exact-head KnockLaunch Gate changes state.","receiptRef":{"mode":"full","missionId":"cf3092f1-d12e-4b41-9335-bfcafb9d548b"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5475,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-22T18:57:04.608099+00:00","proof_gate":"repair_mission_waiting_for_gate","source_sha":null,"external_id":"599","receipt_type":"execute_mission","idempotency_key":"mission:cf3092f1-d12e-4b41-9335-bfcafb9d548b:execute_mission:repair_mission_waiting_for_gate","mission_step_id":"7c5b8bbd-f7af-4ac5-a0b2-b5c632b0cf43","command_center_event_id":"cf3092f1-d12e-4b41-9335-bfcafb9d548b"},{"id":"5a78cd7d-0dd6-4ec1-9a02-ad9b50d4d237","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair","reason":"pull_request_checks_pending","status":"retryable","metrics":{"receiptBytes":12983,"releaseCount":0,"toolCallCount":11,"repeatedCallCount":8,"ownerInterruptionCount":0},"version":"1.46.2-autonomous-forgejo-merge-supervisor","prNumber":107,"terminal":false,"missionId":"357bb153-4400-44eb-babe-b2836fae1954","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"357bb153-4400-44eb-babe-b2836fae1954"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3556,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-15T11:47:38.129101+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"107","receipt_type":"execute_mission","idempotency_key":"mission:357bb153-4400-44eb-babe-b2836fae1954:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"40966b23-c632-42cb-b156-4648dfa40ad2","command_center_event_id":"357bb153-4400-44eb-babe-b2836fae1954"},{"id":"5a7d6ae2-4364-4e33-a85e-4cc24bec85b4","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Harden only the PREHISTORIC-002 legacy Big Papi migration on existing PR #1521 before merge. Treat JSON null legacy quote arrays, lineItems, and documentReceipt deterministically: JSON null documentReceipt must count as no receipt so the proven later unsent self-inferred drafts are marked void; JSON null arrays must resolve to empty arrays instead of raising. Keep all other PREHISTORIC-002 behavior unchanged. Re-run the same exact-head Gate and continue release/proof; do not create another PR or send anything.","wordingChanged":false,"canonicalIntent":"Harden only the PREHISTORIC-002 legacy Big Papi migration on existing PR #1521 before merge. Treat JSON null legacy quote arrays, lineItems, and documentReceipt deterministically: JSON null documentReceipt must count as no receipt so the proven later unsent self-inferred drafts are marked void; JSON null arrays must resolve to empty arrays instead of raising. Keep all other PREHISTORIC-002 behavior unchanged. Re-run the same exact-head Gate and continue release/proof; do not create another PR or send anything.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"universal-proposal-contract","statement":"A universal deterministic proposal generation contract is live with tenant-owned profiles, immutable content snapshots, transactional numbering, private render storage, and fail-closed tenant isolation.","proofConditionIds":["repo","gate","backend","database"]},{"id":"big-papis-correct","statement":"Big Papi's proposal workspace and preview use the Big Papi mobile-vendor profile, established pricing and five offer structures, premium cream/black presentation, and no self-inference or unrelated vertical bleed.","proofConditionIds":["big-papi-data","big-papi-visual"]}],"objective":"Harden only the PREHISTORIC-002 legacy Big Papi migration on existing PR #1521 before merge. Treat JSON null legacy quote arrays, lineItems, and documentReceipt deterministically: JSON null documentReceipt must count as no receipt so the proven later unsent self-inferred drafts are marked void; JSON null arrays must resolve to empty arrays instead of raising. Keep all other PREHISTORIC-002 behavior unchanged. Re-run the same exact-head Gate and continue release/proof; do not create another PR or send anything.","constraints":[{"id":"same-pr","statement":"Use only existing PR #1521 and its existing branch.","proofConditionIds":["repo","gate"]},{"id":"no-send","statement":"Do not send a real proposal or email during implementation or verification.","proofConditionIds":["backend","big-papi-visual"]},{"id":"preserve-history","statement":"Preserve legacy proposal records and document receipts; only provably contaminated unsent/unissued later drafts may be voided rather than deleted.","proofConditionIds":["database"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repo","kind":"repository","claim":"Forgejo main contains PREHISTORIC-002 after squash merge.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"gate","kind":"repository","claim":"Exact corrected PR #1521 head passes KnockLaunch Gate.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"backend","kind":"runtime","claim":"Production proposal-engine is live and does not auto-send.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"database","kind":"runtime","claim":"Production canonical proposal tables are live; Big Papi legacy proposals have unique numbers and proven contaminated self-inferred drafts are retained as void.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"big-papi-data","kind":"runtime","claim":"Big Papi profile resolves the established five offers and pricing with no proposal-history inference.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"big-papi-visual","kind":"visual","claim":"Live Big Papi proposal route and non-sent preview show the correct premium Big Papi proposal experience.","route":"/big-papis/owner/proposals","roleRef":null,"userRef":null,"required":true,"expectedText":"Proposals","targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"379df1d639ba85613f8b4670dbb23e5c4d6152d05e0a655bda71f2a71d9bb617","requestContractRevision":4,"previousRequestContractHash":"58d5a2d2220ca3329059d5d966d07a8935e8bc1a823c62debd07a809bf4174ea"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-03T02:21:59.30276+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:eca9d774-303a-443f-ae09-4c5ca5e0dccf:request-contract-revision:4:379df1d639ba85613f8b4670dbb23e5c4d6152d05e0a655bda71f2a71d9bb617","mission_step_id":"dce90a1c-b996-4247-8f6b-c950e1f4f6da","command_center_event_id":"eca9d774-303a-443f-ae09-4c5ca5e0dccf"},{"id":"5a7d75e7-3732-40e4-9d10-11bb6751aed4","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/big-papi-workflow-integrity-audit-20260824","reason":"retryable_provider_transport:The operation was aborted due to timeout","status":"retryable","metrics":{"receiptBytes":14475,"releaseCount":0,"toolCallCount":10,"repeatedCallCount":5,"ownerInterruptionCount":0},"version":"1.50.25-cross-scope-source-seeds","prNumber":689,"terminal":false,"missionId":"fba251c6-2279-4b8d-b5b7-8212903ccddf","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":null,"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"fba251c6-2279-4b8d-b5b7-8212903ccddf"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5470,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-08-24T21:07:34.531863+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"689","receipt_type":"execute_mission","idempotency_key":"mission:fba251c6-2279-4b8d-b5b7-8212903ccddf:execute_mission:repair_mission_pr_ready_retryable","mission_step_id":"977194f6-a3b7-45e0-95a9-ae73b9dd7d3f","command_center_event_id":"fba251c6-2279-4b8d-b5b7-8212903ccddf"},{"id":"5a7d9366-03bd-43c1-bec6-2ea97598ecfe","source":"cc-execution","status":"waiting_for_gate","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/frontend-release-memory-contract-20260904","reason":"fresh_pr_provider_receipt_already_proves_auto_progress_gate_notifier_owns_next_state","status":"waiting_for_gate","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.54-post-gate-progression-self-heal-refreeze","prNumber":1729,"terminal":false,"missionId":"f31eab5c-7299-4632-b006-2d89e51cc390","operation":"execute_mission","proofGate":"repair_mission_fresh_pr_handed_off_to_gate","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":4654,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":0,"missionSetupMs":635,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":546,"ledgerReconcileMs":0,"lineageReconcileMs":89,"resolvePreflightMs":635,"repositoryMutationMs":4654,"repositoryProviderMs":2860,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":1945,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":546,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":915},"nextAction":"Canonical KnockLaunch Gate notifier and mission supervisor own progression from this exact PR head; do not synchronously poll Forgejo from the owner request.","receiptRef":{"mode":"full","missionId":"f31eab5c-7299-4632-b006-2d89e51cc390"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3758,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T16:20:33.882011+00:00","proof_gate":"repair_mission_fresh_pr_handed_off_to_gate","source_sha":null,"external_id":"1729","receipt_type":"execute_mission","idempotency_key":"mission:f31eab5c-7299-4632-b006-2d89e51cc390:execute_mission:repair_mission_fresh_pr_handed_off_to_gate:current-generation","mission_step_id":"0abef53c-3965-47a5-9e30-7cd3320ac94b","command_center_event_id":"f31eab5c-7299-4632-b006-2d89e51cc390"},{"id":"5a7dfef0-cd1f-4d71-a0a6-28c4028e8067","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-ff82205f1347","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":10142,"releaseCount":0,"toolCallCount":6,"repeatedCallCount":3,"executorlessWaitMs":640801,"firstUsefulResultAt":"2026-10-02T18:03:26.561Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.50-onepath-source-domain","prNumber":4512,"terminal":false,"missionId":"ff82205f-1347-4228-9bab-86da35c748f1","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":2634,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":2282,"approvedPlanMs":0,"missionSetupMs":376,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":312,"ledgerReconcileMs":0,"lineageReconcileMs":64,"resolvePreflightMs":376,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":312,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"ff82205f-1347-4228-9bab-86da35c748f1"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1522,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T18:14:28.067705+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"4512","receipt_type":"execute_mission","idempotency_key":"mission:ff82205f-1347-4228-9bab-86da35c748f1:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"065fb125-ab30-4609-b691-f50262719821","command_center_event_id":"ff82205f-1347-4228-9bab-86da35c748f1"},{"id":"5a7e87c2-bbd8-44fc-bbd7-5c70b8afe7e4","source":"cc-execution","status":"blocked","payload":{"reason":"anchored_edit_invalid","fingerprint":"e08e76553334971471639e6f8e5854232e8f7062fde562320fbb9077387aa28a"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T11:04:24.745018+00:00","proof_gate":"repository_mutation_intent_deterministic_failure","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent_blocked","idempotency_key":"mission:df294e76-0a44-4e18-8aad-caa683e59b54:repository-mutation-intent-blocked:e08e76553334971471639e6f8e5854232e8f7062fde562320fbb9077387aa28a","mission_step_id":"b7e59dab-93f3-43fa-a2db-a7e584e4f1d2","command_center_event_id":"df294e76-0a44-4e18-8aad-caa683e59b54"},{"id":"5a7ed796-08be-4c81-904e-3530041d21fa","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/whatsmyprogress-waitlist-public-auth-20260902","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":6496,"releaseCount":0,"toolCallCount":1,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.4-refresh-fastpath","prNumber":null,"terminal":false,"missionId":"d01e575f-d041-478d-8726-79dc944ede5b","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"handlerMs":12,"missionSetupMs":1889},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"d01e575f-d041-478d-8726-79dc944ede5b"},"performance":null,"deploymentId":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":3594,"likelyAffectedFiles":["supabase/config.toml",".forgejo/workflows/knocklaunch.yml"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"6789c016-47c0-495a-8560-6b455a5844ba","created_at":"2026-09-02T05:05:39.87159+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:d01e575f-d041-478d-8726-79dc944ede5b:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"f911d7e9-a033-4708-9cdf-8a03e7dd217f","command_center_event_id":"d01e575f-d041-478d-8726-79dc944ede5b"},{"id":"5a7edf2f-258d-400a-a9c2-6a3c7face472","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-97b239709674","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":25735,"releaseCount":0,"toolCallCount":9,"repeatedCallCount":6,"executorlessWaitMs":259827,"firstUsefulResultAt":"2026-09-25T18:49:27.333Z","recoveryAttemptCount":7,"ownerInterruptionCount":0},"version":null,"prNumber":3756,"terminal":false,"missionId":"97b23970-9674-457b-9e57-2fa8ca7f163b","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"c814d276a9c003e058eeacebb60970683b41c3e4","timingsMs":{"prReadinessMs":415,"approvedPlanMs":0,"shipAndProveMs":2490,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"97b23970-9674-457b-9e57-2fa8ca7f163b"},"performance":null,"deploymentId":"forgejo-main-c814d276a9c0","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1922,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T18:53:51.282269+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"3756","receipt_type":"automatic_mission_resume","idempotency_key":"mission:97b23970-9674-457b-9e57-2fa8ca7f163b:automatic-mission-resume:3756:canonical_release_reconciliation_pending","mission_step_id":"923fcfa1-b198-4750-b68f-959b538c42a7","command_center_event_id":"97b23970-9674-457b-9e57-2fa8ca7f163b"},{"id":"5a7f7156-0c42-4a8d-b37f-aaffd53d3a32","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-28a429c3c51e","prNumber":2230,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"9a8f660d44f27375d6ab768fb210f1b0437855ec","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-09T12:17:48.327189+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"9a8f660d44f27375d6ab768fb210f1b0437855ec","external_id":"2230","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:28a429c3-c51e-4a82-8bad-89e42f92a38a:merged-pr:2230:9a8f660d44f27375d6ab768fb210f1b0437855ec","mission_step_id":"c49ab01f-79ec-4754-8b43-74d0cb855a16","command_center_event_id":"28a429c3-c51e-4a82-8bad-89e42f92a38a"},{"id":"5a80d2b2-459d-436a-8bec-8a0745682e6e","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"branch":"ai/objective-first-repair-df2657479d70","writes":[],"patches":[],"version":1,"approved":true,"missionId":"df265747-9d70-4e5a-b94e-b2c1526ccc3b","objective":"Qualify the already-proven msi-local Forgejo runner for real KNOCKLAUNCH engineering work by extending only .forgejo/workflows/msi-runner-proof.yml. Preserve the isolated trigger and msi-local label. Increase timeout to 20 minutes. After the existing runtime proof, check out the exact repository source with Forgejo checkout v4 using fetch-depth 1 and persist-credentials false, then run npm ci, npm run typecheck, and npm run test:contracts. Do not use provider secrets, deploy commands, release commands, migrations, privileged host access, or production runner labels. The merge of this workflow-only change must auto-trigger the qualification run. One focused PR, canonical Gate, squash merge, no application release targets.","repository":"noel/KnockLaunchOS","visualProof":false,"ownerApproved":true,"releaseIntent":null,"sourceTargets":[".forgejo/workflows/msi-runner-proof.yml"],"anchored_edits":[{"path":".forgejo/workflows/msi-runner-proof.yml","new_content":"    timeout-minutes: 20","old_content":"    timeout-minutes: 5"},{"path":".forgejo/workflows/msi-runner-proof.yml","new_content":"          console.log(JSON.stringify(proof));\n          NODE\n\n      - name: Checkout exact source\n        uses: https://data.forgejo.org/actions/checkout@v4\n        with:\n          fetch-depth: 1\n          persist-credentials: false\n\n      - name: Install exact dependencies\n        shell: bash\n        run: npm ci\n\n      - name: Typecheck KNOCKLAUNCH\n        shell: bash\n        run: npm run typecheck\n\n      - name: Run contract tests\n        shell: bash\n        run: npm run test:contracts\n","old_content":"          console.log(JSON.stringify(proof));\n          NODE\n"}],"implementation":{"files":[],"writes":[]},"requestContract":{"outcomes":[{"id":"msi-engineering-qualification","statement":"The isolated msi-local workflow exercises real repository checkout, dependency install, typecheck, and contract tests without production/provider mutation.","proofConditionIds":["proof-repository"]}],"objective":"Qualify the already-proven msi-local Forgejo runner for real KNOCKLAUNCH engineering work by extending only .forgejo/workflows/msi-runner-proof.yml. Preserve the isolated trigger and msi-local label. Increase timeout to 20 minutes. After the existing runtime proof, check out the exact repository source with Forgejo checkout v4 using fetch-depth 1 and persist-credentials false, then run npm ci, npm run typecheck, and npm run test:contracts. Do not use provider secrets, deploy commands, release commands, migrations, privileged host access, or production runner labels. The merge of this workflow-only change must auto-trigger the qualification run. One focused PR, canonical Gate, squash merge, no application release targets.","constraints":[{"id":"isolated-runner","statement":"Keep runs-on msi-local and do not modify docker, docker-8g, paul-light, or any production workflow.","proofConditionIds":["proof-repository"]},{"id":"no-production-mutation","statement":"Qualification may only checkout source, install dependencies, typecheck, and run contract tests; no deploys, releases, migrations, provider secrets, or privileged host operations.","proofConditionIds":["proof-repository"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_merge","proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Merged main contains the expanded isolated MSI qualification workflow with checkout, npm ci, typecheck, and contract tests and no production mutation steps.","required":true}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":[".forgejo/workflows/msi-runner-proof.yml"],"requestContract":{"outcomes":[{"id":"msi-engineering-qualification","statement":"The isolated msi-local workflow exercises real repository checkout, dependency install, typecheck, and contract tests without production/provider mutation.","proofConditionIds":["proof-repository"]}],"objective":"Qualify the already-proven msi-local Forgejo runner for real KNOCKLAUNCH engineering work by extending only .forgejo/workflows/msi-runner-proof.yml. Preserve the isolated trigger and msi-local label. Increase timeout to 20 minutes. After the existing runtime proof, check out the exact repository source with Forgejo checkout v4 using fetch-depth 1 and persist-credentials false, then run npm ci, npm run typecheck, and npm run test:contracts. Do not use provider secrets, deploy commands, release commands, migrations, privileged host access, or production runner labels. The merge of this workflow-only change must auto-trigger the qualification run. One focused PR, canonical Gate, squash merge, no application release targets.","constraints":[{"id":"isolated-runner","statement":"Keep runs-on msi-local and do not modify docker, docker-8g, paul-light, or any production workflow.","proofConditionIds":["proof-repository"]},{"id":"no-production-mutation","statement":"Qualification may only checkout source, install dependencies, typecheck, and run contract tests; no deploys, releases, migrations, provider secrets, or privileged host operations.","proofConditionIds":["proof-repository"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_merge","proofConditions":[{"id":"proof-repository","kind":"repository","claim":"Merged main contains the expanded isolated MSI qualification workflow with checkout, npm ci, typecheck, and contract tests and no production mutation steps.","required":true}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"5f4f153813ff5c17ec070d80eed48f95b10d9756ee27e71ee2c35e1e7511b3e6","replayCount":0,"serializedBytes":6125},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-26T14:52:08.298502+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:df265747-9d70-4e5a-b94e-b2c1526ccc3b:repository-mutation-intent:5f4f153813ff5c17ec070d80eed48f95b10d9756ee27e71ee2c35e1e7511b3e6:0","mission_step_id":"00c5db52-adf0-43ce-add8-2d3f707dd164","command_center_event_id":"df265747-9d70-4e5a-b94e-b2c1526ccc3b"},{"id":"5a821f2f-2ad3-4b78-a187-46a90a06339b","source":"github-status","status":"pending","payload":{"failed":[],"states":{"canonical-production-release/verified":"pending"},"missing":[],"pending":["canonical-production-release/verified"],"required":["canonical-production-release/verified"],"sourceSha":"25556ff2b44caf1b5d99e233d884c0457bfe20a6","releaseState":"pending","exactConductorRun":{"id":31693450625,"status":"in_progress","headSha":"25556ff2b44caf1b5d99e233d884c0457bfe20a6","conclusion":null,"compareStatus":"identical","sourceMatches":true,"containsSourceSha":true,"reconciliationMode":null},"ccExecutionRuntimeProof":null},"tenant_id":"fe5cc9d9-c2fe-4062-84c7-a334663cd63c","created_at":"2026-08-13T10:58:43.575559+00:00","proof_gate":"canonical_release_pending","source_sha":"25556ff2b44caf1b5d99e233d884c0457bfe20a6","external_id":"canonical-release-25556ff2b44c","receipt_type":"canonical_release_status","idempotency_key":"mission:64322785-9e41-4d60-acea-4cbd53a74ca8:release-status:25556ff2b44caf1b5d99e233d884c0457bfe20a6:31693450625:pending:canonical-production-release/verified=pending","mission_step_id":"2c3e88a8-7b1a-4e44-8559-641f66506185","command_center_event_id":"64322785-9e41-4d60-acea-4cbd53a74ca8"},{"id":"5a833b99-4dcd-4b16-b74e-83f2bb7e32a5","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-5ef61b62aca0","reason":"retryable_provider_transport:forgejo_provider_read_timeout","status":"retryable","metrics":{"receiptBytes":33091,"releaseCount":0,"toolCallCount":13,"repeatedCallCount":9,"executorlessWaitMs":42947,"firstUsefulResultAt":"2026-10-06T16:17:48.308Z","recoveryAttemptCount":11,"ownerInterruptionCount":0},"version":null,"prNumber":5204,"terminal":false,"missionId":"5ef61b62-aca0-4987-a429-3f5758df01c4","operation":"automatic_mission_resume","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":2108,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"5ef61b62-aca0-4987-a429-3f5758df01c4"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":819,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T16:18:01.465047+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"5204","receipt_type":"automatic_mission_resume","idempotency_key":"mission:5ef61b62-aca0-4987-a429-3f5758df01c4:automatic-mission-resume:5204:repair_mission_pr_ready_retryable","mission_step_id":"89daa09b-67ba-4b30-9fec-5d973b563a84","command_center_event_id":"5ef61b62-aca0-4987-a429-3f5758df01c4"},{"id":"5a853ed9-f56c-4b9f-b7ac-614ae34b4613","source":"forgejo-runtime","status":"failed","payload":{"failed":["forgejo-release/workflow","frontend-cloudflare/live"],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"failure","frontend-cloudflare/live":"failure"},"mainSha":"818646205e086252ca537f634146b51ce967aeaf","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"818646205e086252ca537f634146b51ce967aeaf","releaseState":"failed","sourceInMain":true,"compareStatus":"identical","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/863","runId":863,"status":"failure","conclusion":null,"failedJobs":[{"id":5807,"name":"Frontend build failed -  - ","status":"failure","conclusion":null,"failedSteps":[]}],"fingerprint":"failure|frontend build failed -  -","failureClass":"code_failure","safeAutoRetry":false},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"6f522f13-31f4-41af-a806-bcdfbc927a9e","created_at":"2026-08-16T17:42:32.421758+00:00","proof_gate":"canonical_release_terminal_failed","source_sha":"818646205e086252ca537f634146b51ce967aeaf","external_id":"forgejo-main-818646205e08","receipt_type":"canonical_release_status","idempotency_key":"mission:b6b09b05-c4bd-4329-8416-ff2800d826be:forgejo-release-status:818646205e086252ca537f634146b51ce967aeaf:failed:forgejo-main/source=success|forgejo-release/workflow=failure|frontend-cloudflare/live=failure","mission_step_id":"622a4e9e-2035-4049-af01-ec7c18bab7d8","command_center_event_id":"b6b09b05-c4bd-4329-8416-ff2800d826be"},{"id":"5a887cfc-2192-44fd-a90e-dd263b598ebb","source":"forgejo","status":"waiting","payload":{"branch":"ai/knocklaunch-owner-os-revenue-refactor","prNumber":3365,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"8abf192407a8258c0a53e1e3facc5363262913f3","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-21T18:55:47.300704+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"8abf192407a8258c0a53e1e3facc5363262913f3","external_id":"3365","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:a9bd90b2-443e-4818-b3c1-e2ad28b692a6:merged-pr:3365:8abf192407a8258c0a53e1e3facc5363262913f3","mission_step_id":"47860840-534e-40a2-8b40-5b7c6f873b37","command_center_event_id":"a9bd90b2-443e-4818-b3c1-e2ad28b692a6"},{"id":"5a89f5d4-dbdb-4c29-84a0-190fcab7d0af","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","cc-execution/runtime-proof":"success"},"mainSha":"5c12c6cea6b4e23fc65a27aef8d9e3b8c9adddd6","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","cc-execution/runtime-proof"],"sourceSha":"5c12c6cea6b4e23fc65a27aef8d9e3b8c9adddd6","releaseState":"verified","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"ccExecution":"success"},"requestContractHash":"413d25b9709f283ebfc97dc17e18ecb9c0eaf16251560bd04d5047f92078ca57","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/10312","runId":10312,"status":"success","sourceSha":"5c12c6cea6b4e23fc65a27aef8d9e3b8c9adddd6","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"ccExecution":"success"},"targetJobCount":7,"observedTargetStates":{"ccExecution":"success"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":{"liveSha":"5c12c6cea6b4e23fc65a27aef8d9e3b8c9adddd6","proofGate":"cc_execution_target_aware_runtime_identity_verified","deploymentId":"forgejo-main-5c12c6cea6b4e23fc65a27aef8d9e3b8c9adddd6","compareStatus":"target_job_success_runtime_verified","workflowRunId":10312,"identitySource":"canonical_release_target_job","runtimeVersion":"1.58.190-public-owner-checkpoints","workflowFailed":false,"containsSourceSha":true},"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T14:59:18.867209+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"5c12c6cea6b4e23fc65a27aef8d9e3b8c9adddd6","external_id":"forgejo-main-5c12c6cea6b4","receipt_type":"canonical_release_status","idempotency_key":"mission:8e26e826-1995-4e7d-9622-7dbc2271ae39:forgejo-release-status:5c12c6cea6b4e23fc65a27aef8d9e3b8c9adddd6:verified:forgejo-main/source=success|forgejo-release/workflow=success|cc-execution/runtime-proof=success","mission_step_id":"125e98c0-986a-4b4f-a496-160ac4c74d56","command_center_event_id":"8e26e826-1995-4e7d-9622-7dbc2271ae39"},{"id":"5a8bb04b-1fcd-439a-af65-cd04b54d9880","source":"cc-execution","status":"in_progress","payload":{"ok":true,"jobId":"7fab87ba-d284-40db-84ce-e0fcf486adc7","phase":"visual_proof","branch":"ai/proposal-editor-crop-mode-context-menu","reason":null,"status":"in_progress","metrics":{"receiptBytes":0,"releaseCount":1,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.68-visual-witness-self-heal-proof","prNumber":1977,"terminal":false,"missionId":"fed12649-5db9-4ccc-91dc-e180b5e8752c","operation":"execute_mission","proofGate":"canonical_release_reconciliation_pending","sourceSha":"4fddbe556e903e2f88911933b76b74d335dcf0e8","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":9459,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":345,"approvedPlanMs":0,"missionSetupMs":471,"providerAuthMs":0,"shipAndProveMs":8983,"ledgerPrepareMs":471,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":471,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":471,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create replacement work.","receiptRef":{"mode":"full","missionId":"fed12649-5db9-4ccc-91dc-e180b5e8752c"},"performance":null,"deploymentId":"forgejo-main-4fddbe556e90","workflowRunId":5917,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1476,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-09-06T18:18:27.49841+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":"4fddbe556e903e2f88911933b76b74d335dcf0e8","external_id":"forgejo-main-4fddbe556e90","receipt_type":"execute_mission","idempotency_key":"mission:fed12649-5db9-4ccc-91dc-e180b5e8752c:execute_mission:canonical_release_reconciliation_pending:current-generation","mission_step_id":"deab8f65-e19a-4c1f-ad41-f9a94c86168b","command_center_event_id":"fed12649-5db9-4ccc-91dc-e180b5e8752c"},{"id":"5a91ae75-c1b6-4e59-9a92-dca7a322d897","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Continue Big Papi's complete frontend visual cohesion pass. Apply the anchored compact-density edits to the exact shell owner on the existing mission/branch, then gate, squash merge, release frontend from protected main, and run full live visual proof. No backend, data, auth, storage, runtime, or business-logic changes.","wordingChanged":false,"canonicalIntent":"Continue Big Papi's complete frontend visual cohesion pass. Apply the anchored compact-density edits to the exact shell owner on the existing mission/branch, then gate, squash merge, release frontend from protected main, and run full live visual proof. No backend, data, auth, storage, runtime, or business-logic changes.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-cohesion","statement":"Every distinct Big Papi's owner rendered surface is visually audited and obvious oversized card, text, spacing, min-height, and mobile overflow inconsistencies are repaired under one deterministic compact-density contract.","proofConditionIds":["proof-production"]},{"id":"outcome-live","statement":"The frontend-only repair is merged through the canonical gate, released from protected main, and verified live on representative desktop and mobile routes covering every distinct Big Papi layout family.","proofConditionIds":["proof-production"]}],"objective":"Continue Big Papi's complete frontend visual cohesion pass. Apply the anchored compact-density edits to the exact shell owner on the existing mission/branch, then gate, squash merge, release frontend from protected main, and run full live visual proof. No backend, data, auth, storage, runtime, or business-logic changes.","constraints":[{"id":"frontend-only","statement":"Do not modify database, auth, Supabase runtime, edge functions, storage, tenant data, business logic, control-plane architecture, or external services.","proofConditionIds":["proof-production"]},{"id":"preserve-functionality","statement":"Preserve existing Big Papi brand, MODES colors and navigation, business workflows, accessible contrast, and >=44px mobile interactive touch targets; do not introduce horizontal overflow.","proofConditionIds":["proof-production"]},{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"Production Big Papi's owner workspace is released from protected main and live visual verification demonstrates compact, cohesive desktop and mobile presentation across all distinct route/layout families with no remaining obvious oversized card/text/spacing outliers or mobile overflow regression.","route":"/big-papis/owner/dashboard","roleRef":"Owner","userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["frontend"],"requiredReleaseTargets":["frontend"],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"big-papis-compact-visual-cohesion","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":["frontend"],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["proof-production"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestContractHash":"3427548ad5c23b864c269f25deb950c1906b9913fd6ad523c6544359d36a4f36","requestContractRevision":2,"previousRequestContractHash":"3020b2d435152ef651012ea64ddb2ffff45e2e7a0780e52c0b3f1caf7172bdef"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-15T18:01:29.353456+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:9009fded-4212-4e75-ad82-15cec770e0b6:request-contract:3427548ad5c23b864c269f25deb950c1906b9913fd6ad523c6544359d36a4f36","mission_step_id":"61be388b-a0e0-44fd-80d4-4fd98a2ee720","command_center_event_id":"9009fded-4212-4e75-ad82-15cec770e0b6"},{"id":"5a93bebc-74ce-4109-8fd7-25c0d2e2898c","source":"cc-execution","status":"waiting","payload":{"body":{"body":"Prevent structured response/error objects from becoming [object Object] in /admin/console and preserve deterministic Prime evidence when synthesis is malformed.","ship":true,"files":[],"title":"Fix PAUL owner response contract","branch":"ai/objective-first-repair-05f6f3b0f93d","writes":[],"patches":[],"version":1,"approved":true,"missionId":"05f6f3b0-f93d-43cc-a9e7-274677165357","objective":"Repair the PAUL owner-interface response contract exposed by the live /admin/console screenshot. No owner-visible path may coerce structured objects into '[object Object]'. The cc-execution owner-operation lane must accept only actual human-readable text from model/provider synthesis, recursively extract known textual fields when a structured envelope is returned, otherwise keep deterministic Prime evidence as the answer. The frontend must use the same safe extraction for assistant messages and context/errors. For machinery/error analysis, deterministic fallback must include recent failure classes and anomalies so 'analyze recent errors' remains useful even if synthesis is malformed. Add regression guards, ship affected cc-execution and frontend targets through canonical Gate and release, and prove the live response contract.","sourceSha":"173eabac9025968a717588e8d4fb0f5fd692ca3c","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js","src/pages/admin/GodModeCommandConsole.tsx","src/__tests__/contracts/console-live-witness-control-room.contract.test.ts"],"anchored_edits":[{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"function consoleHumanText(value: unknown, fallback = '', depth = 0): string {\n  if (typeof value === 'string') return value.trim();\n  if (value instanceof Error) return String(value.message || fallback).trim();\n  if (value && typeof value === 'object' && depth < 3) {\n    for (const key of ['message','text','summary','answer','response','reason','error','failureReason']) {\n      const nested = (value as Record<string, unknown>)[key];\n      if (typeof nested === 'string' && nested.trim()) return nested.trim();\n      if (nested && typeof nested === 'object') {\n        const extracted = consoleHumanText(nested, '', depth + 1);\n        if (extracted) return extracted;\n      }\n    }\n  }\n  if (value !== null && value !== undefined && typeof value !== 'object') return String(value).trim();\n  return fallback;\n}\n\nfunction isTransientConsoleError(value: unknown) {","old_content":"function isTransientConsoleError(value: unknown) {"},{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"function cleanConsoleError(value: unknown) {\n    const raw = consoleHumanText(value, 'KNOCKLAUNCH control plane returned an unformatted error.');","old_content":"function cleanConsoleError(value: unknown) {\n    const raw = value instanceof Error ? value.message : String(value || 'KNOCKLAUNCH control plane is unavailable.');"},{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"        const data = answerOnlyIntent\n          ? await callConsoleAnswer(text, sideContext)\n          : await callConsoleOperator(text, sideContext, agentTurn);\n        let assistantMessage = consoleHumanText(data?.message, consoleHumanText(data?.response));","old_content":"        const data = answerOnlyIntent\n          ? await callConsoleAnswer(text, sideContext)\n          : await callConsoleOperator(text, sideContext, agentTurn);\n        let assistantMessage = String(data?.message || '').trim();"},{"path":"src/pages/admin/GodModeCommandConsole.tsx","new_content":"      const receipt = data?.receipt ?? witnessReceipt ?? null;\n      if (receipt) setLastReceipt(receipt);\n\n      let assistantMessage = consoleHumanText(data?.message, consoleHumanText(data?.response));","old_content":"      const receipt = data?.receipt ?? witnessReceipt ?? null;\n      if (receipt) setLastReceipt(receipt);\n\n      let assistantMessage = String(data?.message || '').trim();"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"const text = (value, max = 2000) => String(value || '').trim().slice(0, max);\nconst humanMessageText = (value, max = 6000, depth = 0) => {\n  if (typeof value === 'string') return text(value, max);\n  if (value instanceof Error) return text(value.message, max);\n  if (value && typeof value === 'object' && depth < 3) {\n    for (const key of ['message','text','summary','answer','response','reason','error','failureReason']) {\n      const nested = value[key];\n      if (typeof nested === 'string' && nested.trim()) return text(nested, max);\n      if (nested && typeof nested === 'object') {\n        const extracted = humanMessageText(nested, max, depth + 1);\n        if (extracted) return extracted;\n      }\n    }\n  }\n  return '';\n};","old_content":"const text = (value, max = 2000) => String(value || '').trim().slice(0, max);"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"let finalMessage=fallbackMessage||humanMessageText(decision?.message,6000)||'I could not resolve a grounded Prime read for that request.';","old_content":"let finalMessage=fallbackMessage||decision?.message||'I could not resolve a grounded Prime read for that request.';"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"const synthesizedMessage=humanMessageText(synthesis?.message,6000);if(synthesizedMessage)finalMessage=synthesizedMessage;","old_content":"if(text(synthesis?.message,6000))finalMessage=text(synthesis.message,6000);"},{"path":"workers/cc-execution/src/console-operator.js","new_content":"function formatMachineryOperationalSummary(snapshot={}){\n  const base=formatMachineryHealth(snapshot);\n  const intelligence=snapshot?.controlPlaneAndProviders?.intelligence||snapshot?.intelligence||{};\n  const failures=Array.isArray(intelligence.topFailureClasses)?intelligence.topFailureClasses.slice(0,5).map(item=>`${item?.failureClass||item?.type||'unknown'} ×${Number(item?.count||1)}`):[];\n  const anomalies=Array.isArray(intelligence.recentAnomalies)?intelligence.recentAnomalies.slice(-3).map(item=>item?.type==='latency_spike'?`${item.operation||'operation'} latency ${Number(item.durationMs||0)}ms vs ${Number(item.budgetMs||0)}ms budget`:humanMessageText(item,240)).filter(Boolean):[];\n  return [base,failures.length?`Recent failure classes: ${failures.join(', ')}.`:'',anomalies.length?`Recent anomalies: ${anomalies.join(' | ')}.`:''].filter(Boolean).join(' ');\n}\nfunction summarizeOwnerRead(name,receipt){if(name==='paul_machinery_snapshot')return formatMachineryOperationalSummary(receipt);","old_content":"function summarizeOwnerRead(name,receipt){if(name==='paul_machinery_snapshot')return formatMachineryHealth(receipt);"},{"path":"workers/cc-execution/test/console-capability-question-routing.test.js","new_content":"test('frontend applies intelligence, capability and knowledge guards before generic routing', () => {\n  assert.match(frontend, /function isIntelligenceLayerStatusRequest/);\n  assert.match(frontend, /function isCapabilityStrategyQuestion/);\n  assert.match(frontend, /function isKnowledgeRecapRequest/);\n  assert.match(frontend, /if \\(!wantsWitness && isIntelligenceLayerStatusRequest\\(text\\)\\) return 'live_state_read'/);\n  assert.match(frontend, /if \\(!wantsWitness && isCapabilityStrategyQuestion\\(text\\)\\) return 'conversation'/);\n  assert.match(frontend, /if \\(isKnowledgeRecapRequest\\(text\\)\\) return 'stable_context_read'/);\n  assert.match(frontend, /isCrossSessionContinuityRequest\\(args\\.prompt\\) \\|\\| isKnowledgeRecapRequest\\(args\\.prompt\\)/);\n});\n\ntest('PAUL owner interface never leaks object coercion into owner-visible chat', () => {\n  const operatorSource = readFileSync(new URL('../src/console-operator.js', import.meta.url), 'utf8');\n  assert.match(operatorSource, /humanMessageText/);\n  assert.match(operatorSource, /const synthesizedMessage=humanMessageText/);\n  assert.match(frontend, /function consoleHumanText/);\n  assert.doesNotMatch(frontend, /String\\(data\\?\\.message \\|\\| ''\\)\\.trim\\(\\)/);\n  assert.match(frontend, /consoleHumanText\\(value, 'KNOCKLAUNCH control plane returned an unformatted error\\.'/);\n});","old_content":"test('frontend applies intelligence, capability and knowledge guards before generic routing', () => {\n  assert.match(frontend, /function isIntelligenceLayerStatusRequest/);\n  assert.match(frontend, /function isCapabilityStrategyQuestion/);\n  assert.match(frontend, /function isKnowledgeRecapRequest/);\n  assert.match(frontend, /if \\(!wantsWitness && isIntelligenceLayerStatusRequest\\(text\\)\\) return 'live_state_read'/);\n  assert.match(frontend, /if \\(!wantsWitness && isCapabilityStrategyQuestion\\(text\\)\\) return 'conversation'/);\n  assert.match(frontend, /if \\(isKnowledgeRecapRequest\\(text\\)\\) return 'stable_context_read'/);\n  assert.match(frontend, /isCrossSessionContinuityRequest\\(args\\.prompt\\) \\|\\| isKnowledgeRecapRequest\\(args\\.prompt\\)/);\n});"},{"path":"src/__tests__/contracts/console-live-witness-control-room.contract.test.ts","new_content":"    expect(sidekick).toContain('Base every claim about what is visible, broken, missing, or working on that evidence only.');\n    expect(shell).toContain('function consoleHumanText');\n    expect(shell).not.toContain(\"String(data?.message || '').trim()\");","old_content":"    expect(sidekick).toContain('Base every claim about what is visible, broken, missing, or working on that evidence only.');"},{"path":"workers/cc-execution/src/version.js","new_content":"export const CC_EXECUTION_VERSION = \"1.64.36-paul-response-contract\";","old_content":"export const CC_EXECUTION_VERSION = \"1.64.35-paul-owner-interface\";"}],"commit_message":"fix: harden PAUL owner response contract","implementation":{"files":[],"writes":[]},"requestContract":{"intent":{"compilation":{"explicit":true},"rawUtterance":"ridiculous.","wordingChanged":true,"canonicalIntent":"Repair the PAUL owner-interface response contract exposed by the live /admin/console screenshot. No owner-visible path may coerce structured objects into '[object Object]'. The cc-execution owner-operation lane must accept only actual human-readable text from model/provider synthesis, recursively extract known textual fields when a structured envelope is returned, otherwise keep deterministic Prime evidence as the answer. The frontend must use the same safe extraction for assistant messages and context/errors. For machinery/error analysis, deterministic fallback must include recent failure classes and anomalies so 'analyze recent errors' remains useful even if synthesis is malformed. Add regression guards, ship affected cc-execution and frontend targets through canonical Gate and release, and prove the live response contract.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"PAUL never renders structured response or error objects as [object Object], and recent-error analysis remains grounded and useful even if synthesis is malformed.","provenance":{"reason":"Owner screenshot shows the failure directly.","source":"current_request_explicit","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"objective":"Repair the PAUL owner-interface response contract exposed by the live /admin/console screenshot. No owner-visible path may coerce structured objects into '[object Object]'. The cc-execution owner-operation lane must accept only actual human-readable text from model/provider synthesis, recursively extract known textual fields when a structured envelope is returned, otherwise keep deterministic Prime evidence as the answer. The frontend must use the same safe extraction for assistant messages and context/errors. For machinery/error analysis, deterministic fallback must include recent failure classes and anomalies so 'analyze recent errors' remains useful even if synthesis is malformed. Add regression guards, ship affected cc-execution and frontend targets through canonical Gate and release, and prove the live response contract.","constraints":[{"id":"single-authority","statement":"Preserve Prime as authority and existing PAUL owner-operation routing; do not add a parallel response or execution path.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"atomic-lifecycle","statement":"Do not claim fixed until Gate, affected releases, and live response-contract proof succeed.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"Live cc-execution and frontend enforce human-readable owner messages, reject object coercion, and preserve deterministic recent-failure/anomaly evidence for live-state reads.","route":"/admin/console","required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["ccExecution","frontend"],"requiredReleaseTargets":["ccExecution","frontend"],"requireCapacityAdmissible":false,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}]},"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":null,"ownerApproved":true,"releaseIntent":null,"sourceTargets":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js","src/pages/admin/GodModeCommandConsole.tsx","src/__tests__/contracts/console-live-witness-control-room.contract.test.ts"],"requestContract":{"intent":{"compilation":{"explicit":true},"rawUtterance":"ridiculous.","wordingChanged":true,"canonicalIntent":"Repair the PAUL owner-interface response contract exposed by the live /admin/console screenshot. No owner-visible path may coerce structured objects into '[object Object]'. The cc-execution owner-operation lane must accept only actual human-readable text from model/provider synthesis, recursively extract known textual fields when a structured envelope is returned, otherwise keep deterministic Prime evidence as the answer. The frontend must use the same safe extraction for assistant messages and context/errors. For machinery/error analysis, deterministic fallback must include recent failure classes and anomalies so 'analyze recent errors' remains useful even if synthesis is malformed. Add regression guards, ship affected cc-execution and frontend targets through canonical Gate and release, and prove the live response contract.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"PAUL never renders structured response or error objects as [object Object], and recent-error analysis remains grounded and useful even if synthesis is malformed.","provenance":{"reason":"Owner screenshot shows the failure directly.","source":"current_request_explicit","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"objective":"Repair the PAUL owner-interface response contract exposed by the live /admin/console screenshot. No owner-visible path may coerce structured objects into '[object Object]'. The cc-execution owner-operation lane must accept only actual human-readable text from model/provider synthesis, recursively extract known textual fields when a structured envelope is returned, otherwise keep deterministic Prime evidence as the answer. The frontend must use the same safe extraction for assistant messages and context/errors. For machinery/error analysis, deterministic fallback must include recent failure classes and anomalies so 'analyze recent errors' remains useful even if synthesis is malformed. Add regression guards, ship affected cc-execution and frontend targets through canonical Gate and release, and prove the live response contract.","constraints":[{"id":"single-authority","statement":"Preserve Prime as authority and existing PAUL owner-operation routing; do not add a parallel response or execution path.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"atomic-lifecycle","statement":"Do not claim fixed until Gate, affected releases, and live response-contract proof succeed.","provenance":{"reason":null,"source":"hard_safety_invariant","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"runtime","claim":"Live cc-execution and frontend enforce human-readable owner messages, reject object coercion, and preserve deterministic recent-failure/anomaly evidence for live-state reads.","route":"/admin/console","required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["ccExecution","frontend"],"requiredReleaseTargets":["ccExecution","frontend"],"requireCapacityAdmissible":false,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}]},"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js"],"controlPlaneMaintenanceReason":"Live owner screenshot proves PAUL response-contract failure in cc-execution and frontend serialization; repair both canonical boundaries and prevent recurrence."},"proofRequirements":null,"controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenancePaths":["workers/cc-execution/src/console-operator.js","workers/cc-execution/test/console-capability-question-routing.test.js","workers/cc-execution/src/version.js"],"controlPlaneMaintenanceReason":"Live owner screenshot proves PAUL response-contract failure in cc-execution and frontend serialization; repair both canonical boundaries and prevent recurrence."},"recovery":false,"fingerprint":"4a89a60d8cdc71e5ac459a43e8a52eb14fa0821372de8a901fe3984ea0df93ba","replayCount":0,"serializedBytes":18653},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T10:55:48.425958+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:05f6f3b0-f93d-43cc-a9e7-274677165357:repository-mutation-intent:4a89a60d8cdc71e5ac459a43e8a52eb14fa0821372de8a901fe3984ea0df93ba:0","mission_step_id":"e0a5c57b-8c02-41eb-ae22-753afe5e2cce","command_center_event_id":"05f6f3b0-f93d-43cc-a9e7-274677165357"},{"id":"5a95d1a9-cc57-477a-a419-b240a9ada1a8","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/modes-family-neon-pulse-8d19708","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.182-witness-render-cold-start-aware","prNumber":null,"terminal":false,"missionId":"8874e6cc-2475-48b9-8070-14d33e83b710","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":7,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":359,"providerAuthMs":0,"ledgerPrepareMs":359,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":359,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":359,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"8874e6cc-2475-48b9-8070-14d33e83b710"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4306,"likelyAffectedFiles":["src/shells/TenantModesShell.tsx","src/pages/mobile-vendor/BigPapisToday.tsx"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-19T11:15:58.313667+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:8874e6cc-2475-48b9-8070-14d33e83b710:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"6386f0b8-81ff-461f-b383-d0fd7587da8f","command_center_event_id":"8874e6cc-2475-48b9-8070-14d33e83b710"},{"id":"5a979c17-ac4c-44f6-b17d-48200a4f380d","source":"durable-mission-ledger","status":"verified","payload":{"sourceSha":"42dc54e54af65ebafe5f5a4bb607136c53b74959","requestContractProof":{"legacy":false,"present":true,"outcomes":[{"id":"ancestry-fix","satisfied":true,"statement":"Ship only the control-plane ancestry repair using direct commit-parent ancestry proof and fail-closed semantics.","proofConditionIds":["runtime-proof"]}],"satisfied":true,"constraints":[{"id":"bounded-unfreeze","satisfied":true,"statement":"Temporarily unfreeze the KNOCKLAUNCH control plane only for these exact ancestry-fix paths; no unrelated control-plane mutation is authorized, and normal frozen-by-default behavior remains after this repair.","proofConditionIds":["runtime-proof"]},{"id":"direct-ancestry","satisfied":true,"statement":"Ancestry authority is direct bounded commit-parent traversal, not Forgejo comparison status or ahead_by fields. Unknown, incomplete, malformed, cyclic, or exhausted ancestry proof fails closed.","proofConditionIds":["runtime-proof"]},{"id":"no-visual","satisfied":true,"statement":"No Visual Witness or UI inspection is requested for this cc-execution/control-plane repair.","proofConditionIds":["runtime-proof"]},{"id":"capability-completeness","satisfied":true,"statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","proofConditionIds":["runtime-proof"]},{"id":"atomic-capability-lifecycle","satisfied":true,"statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","proofConditionIds":["runtime-proof"]}],"contractHash":"212e3ecf448782435a252e77f2c719b65a474b1a22fd6152fcd83324add49a51","releaseBound":true,"witnessBound":false,"visualRequested":false,"visualSatisfied":true,"conditionResults":[{"id":"runtime-proof","kind":"runtime","evidence":{"reason":null,"satisfied":true,"releaseState":"verified","missingTargets":[],"disallowedTargets":[],"migrationRequired":false,"releaseTargetStates":{"ccExecution":"success"},"unsuccessfulTargets":[],"activeReleaseTargets":["ccExecution"],"allowedReleaseTargets":["ccExecution"],"requiredReleaseTargets":["ccExecution"],"migrationReleaseVerified":null,"releaseRequestContractHash":"212e3ecf448782435a252e77f2c719b65a474b1a22fd6152fcd83324add49a51"},"required":true,"satisfied":true}],"validationErrors":[],"pendingProofKinds":[],"activeReleaseTargets":["ccExecution"]},"authoritativeMissionRefresh":true,"evaluatedRequestContractRevision":1},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T19:38:38.70684+00:00","proof_gate":"request_contract_terminal_verified","source_sha":"42dc54e54af65ebafe5f5a4bb607136c53b74959","external_id":null,"receipt_type":"request_contract_reconciliation","idempotency_key":"mission:982511ff-2c51-4fa6-8ac4-93eb3220c0bb:request-contract:212e3ecf448782435a252e77f2c719b65a474b1a22fd6152fcd83324add49a51:42dc54e54af65ebafe5f5a4bb607136c53b74959:verified:","mission_step_id":"0c15fd60-5c8c-4cca-af2a-8ea7da8cc3a5","command_center_event_id":"982511ff-2c51-4fa6-8ac4-93eb3220c0bb"},{"id":"5a984d20-8d3c-4fbe-9038-6ff1070dedba","source":"forgejo-runtime","status":"verified","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"success","frontend-cloudflare/live":"success"},"mainSha":"568324290916715235d2f48f8c94dfa7ef6c4a76","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"568324290916715235d2f48f8c94dfa7ef6c4a76","releaseState":"verified","sourceInMain":true,"compareStatus":"identical","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"requestContractHash":"1aeee7a407c25355adba7af3de36071756c6118037e8fbdea9269d5c28080429","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/4823","runId":4823,"status":"success","sourceSha":"568324290916715235d2f48f8c94dfa7ef6c4a76","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-03T15:30:50.75023+00:00","proof_gate":"canonical_release_terminal_verified","source_sha":"568324290916715235d2f48f8c94dfa7ef6c4a76","external_id":"forgejo-main-568324290916","receipt_type":"canonical_release_status","idempotency_key":"mission:93e16e77-8be4-44ca-856a-f1844a8b7660:forgejo-release-status:568324290916715235d2f48f8c94dfa7ef6c4a76:verified:forgejo-main/source=success|forgejo-release/workflow=success|frontend-cloudflare/live=success","mission_step_id":"bb0524e0-9b6f-411b-83bf-256b9d8f04c6","command_center_event_id":"93e16e77-8be4-44ca-856a-f1844a8b7660"},{"id":"5a9ab385-ab37-4898-8505-32dff0fcfddb","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in implementation.","nextAction":{"lane":"cc-execution","action":"reconcile_pull_request","reason":"durable_state:pull_request","automationAllowed":true,"ownerActionRequired":false},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"implementation\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"owner_progress_heartbeat\",\"status\":\"waiting\",\"proofGate\":\"owner_progress_heartbeat\"},\"activeStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"release\",\"status\":\"ready\",\"lane\":\"production-release-conductor\"},\"nextSafeAction\":{\"action\":\"reconcile_pull_request\",\"lane\":\"cc-execution\",\"reason\":\"durable_state:pull_request\",\"automationAllowed\":true,\"ownerActionRequired\":false},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"reconcile_pull_request\",\"recoveryOwner\":\"cc-execution\"},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":false,\"reason\":\"within_deadline\",\"step\":\"runtime_proof\",\"deadlineAt\":\"2026-10-06T14:54:20.947247+00:00\",\"recoveryAction\":null},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T11:36:40.495153+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:8461f374-86b0-422f-bb81-3fb39febaab9:owner-progress-heartbeat:119419106","mission_step_id":"a036e1a4-6bb7-4248-b530-a16b22bcaaa4","command_center_event_id":"8461f374-86b0-422f-bb81-3fb39febaab9"},{"id":"5a9b27dc-95c0-4715-9026-2b863402f7a0","source":"cc-execution","status":"authorized","payload":{"paths":[".forgejo/workflows/knocklaunch.yml","config/control-plane-capabilities.json","workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Repair the proven Visual Witness virtual-runner authority failure by provisioning an existing canonical Forgejo Supabase server secret into the cc-execution Cloudflare Worker secret used by the virtual runner, with no secret value logged or committed.","baseSha":"9f483552ef601d3b962d7e5e298c1aad201c18f0","issuedAt":1788613350806,"expiresAt":1788613530806,"missionId":"cad4ef23-b4ab-4622-839a-0fa269b84533","authorizationId":"40b93ffb-6db1-4ff4-9921-b78935df344a","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-05T13:02:31.294413+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"9f483552ef601d3b962d7e5e298c1aad201c18f0","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:40b93ffb-6db1-4ff4-9921-b78935df344a","mission_step_id":"131c856b-8532-4786-bb7d-16dfb7ffc34b","command_center_event_id":"cad4ef23-b4ab-4622-839a-0fa269b84533"},{"id":"5a9e657e-5fd2-4005-8e23-ef8ad1378f53","source":"cc-execution","status":"waiting","payload":{"body":{"branch":"ai/objective-first-repair-cb85ebff8afa","approved":true,"missionId":"cb85ebff-8afa-42ba-81e2-c43085eba076","objective":"Continue the locked-contract mission with the exact bounded patch. Do not revise the request contract.","repository":"noel/KnockLaunchOS","trackMission":true,"ownerApproved":true,"anchored_edits":[{"path":"workers/cc-execution/src/index-mcp.js","new_content":"requestContract: { oneOf: [{ type: \"string\", enum: [\"explicit_owner_request\"] }, { type: \"object\", additionalProperties: true }], default: \"explicit_owner_request\", description: \"Explicit owner request contract with outcomes, constraints, and proof","old_content":"requestContract: { type: \"object\", additionalProperties: true, description: \"Explicit owner request contract with outcomes, constraints, and proof"},{"path":"scripts/validate-command-center-contracts.mjs","new_content":"check('execute_objective request contract accepts and defaults the canonical owner token', () => {\n  const source = fs.readFileSync('workers/cc-execution/src/index-mcp.js', 'utf8');\n  assert.equal(source.includes('requestContract: { oneOf: [{ type: \"string\", enum: [\"explicit_owner_request\"] }, { type: \"object\", additionalProperties: true }], default: \"explicit_owner_request\"'), true);\n});\n\ncheck('release and visual proof require explicit intent', () => {","old_content":"check('release and visual proof require explicit intent', () => {"}],"update_strategy":"auto","controlPlaneUnfreeze":true,"durableMutationResume":true,"controlPlaneMaintenance":true,"controlPlaneMaintenanceReason":"Prime structured exact mutation continuation"},"recovery":false,"fingerprint":"9b7f3aae79ec7eb4c319cf0aa8d74042b3d5bad340ad6114ed047f69299751ea","replayCount":0,"serializedBytes":1637},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T16:59:06.179305+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:cb85ebff-8afa-42ba-81e2-c43085eba076:repository-mutation-intent:9b7f3aae79ec7eb4c319cf0aa8d74042b3d5bad340ad6114ed047f69299751ea:0","mission_step_id":"8083d0a1-615f-425d-a3ca-94e13a4e3a95","command_center_event_id":"cb85ebff-8afa-42ba-81e2-c43085eba076"},{"id":"5aa0c7b6-5ecf-4cb0-adf5-f01b54962a1b","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"compilation":{"stages":["owner_intent","conversation_context","scope","live_state","mutation_authority","affected_systems","dependencies","risk_and_blast_radius","execution_tactics","required_proof","release_plan","recovery_plan"],"version":2,"explicit":true,"objective":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","proofKinds":["repository"],"adaptiveDomains":["intent","tenant_route_role_viewport","urgency_deadline","dependency_scope","risk_blast_radius","runner_capacity","queue_active_work","provider_failure_circuits","qa_scope","retry_recovery","release_ownership","proof_depth"],"expansionPolicy":"later_stages_may_only_narrow_or_expand_with_machine_readable_dependency_evidence","dynamicStatePolicy":"live_state_may_change_execution_tactics_but_never_owner_outcome_or_explicit_constraints","dynamicRefreshStages":["preflight","gate","release","runtime_proof"],"adaptiveCompilerVersion":"paul-adaptive-objective-v1","inheritedContextBlockingAuthority":false},"rawUtterance":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","wordingChanged":false,"canonicalIntent":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-1","statement":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","provenance":{"reason":null,"source":"current_request_inference","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"objective":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","constraints":[{"id":"capability-completeness","statement":"Every dependency the implementation declares or relies on must be wired and proven across applicable frontend, backend/runtime, schema/data/storage, authentication/authorization, provider configuration, prerequisite/loading/empty/error states, release ownership, and live production behavior; owner-authorized unavailable dependencies must become explicit prerequisite states rather than runtime failures.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]},{"id":"atomic-capability-lifecycle","statement":"Changed capabilities remain non-active until dependency readiness, N/N-1 compatibility, affected-target release, and claim-matched production canary proof are satisfied; missing optional dependencies become prerequisite_required, and runtime drift or health-contract violation quarantines only the affected capability instead of breaking unrelated working capability.","provenance":{"reason":null,"source":"heuristic_current_objective","inherited":false,"blockingAuthority":true},"proofConditionIds":["proof-production"]}],"adaptivePolicy":{"risk":{"tier":"standard","blastRadius":"scoped"},"proof":{"requiredKinds":["repository"],"visualProofScope":"none","interactionRequired":false,"runtimeProofRequired":true},"scope":{"route":null,"roleRef":null,"tenantRef":null,"sourceTargets":[]},"dynamic":{"variables":["main_and_runtime_lineage","runner_capacity","queue_and_active_work","provider_health","failure_clusters_and_circuits","release_target_state","current_pr_and_gate_state"],"refreshStages":["preflight","gate","release","runtime_proof"],"refreshMayChange":["runner_selection","parallelism","retry_path","qa_depth","release_recovery","proof_timing"],"refreshMayNotChange":["owner_outcome","explicit_no_go_constraints","tenant_identity","credential_boundary","hard_safety_invariants"]},"urgency":{"priority":"normal","deadlineSignals":[],"deadlineExplicit":false},"version":"paul-adaptive-objective-v1","recovery":{"transient":"one_bounded_retry_then_alternate_eligible_pool_or_provider_path","deterministic":"repair_source_or_contract_do_not_blind_rerun","mutationDependencyFailure":"prerequisite_required_or_targeted_recovery_never_invent","readOnlyDependencyFailure":"degrade_to_available_grounded_context_and_keep_conversation_alive"},"unknowns":["tenant","route","source_targets_until_repository_resolution","release_targets_until_changed_paths","deadline"],"authority":{"outcome":"current_explicit_owner_request","tactics":"live_prime_truth","unknownPolicy":"preserve_unknown_never_invent","historicalContext":"advisory_unless_current_request_confirms"},"execution":{"mutation":true,"concurrency":"parallel_non_overlapping_work","scopePolicy":"start_bounded_expand_only_with_machine_readable_dependency_evidence","staleStatePolicy":"refresh_dynamic_state_before_irreversible_or_acceptance_stage","conversationIsolation":true,"ownerOutcomeMayBeChangedByAdaptation":false},"experience":{"visual":false,"viewports":["desktop","mobile"],"behavioral":false,"visualProofScope":"none"},"dependencies":{"requiredDomains":["backend_runtime"],"capabilityDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"releaseTargetHints":[]},"inputSignals":{"rawUtterance":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","canonicalIntent":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","conversationContextPresent":false}},"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-production","kind":"repository","claim":"Continue the same control-plane repair mission. Treat the current repeated synthesis_required / implementation_payload_required state as the bug under repair. Preserve this mission and branch identity, resolve the exact owning control-plane source, synthesize the smallest deterministic patch, and continue without owner input.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[],"requireCapacityAdmissible":false,"expectedWatchdogPolicyVersion":null,"minConsecutiveHealthyHeartbeats":1,"requirePositiveMemoryAttribution":false,"requireMemoryAdmissionPressureFalse":false}],"validationErrors":[],"capabilityManifest":{"id":"Continue-the-same-control-plane-repair-mission.-Treat-the-current-repeated-synthesis_required-implem","driftPolicy":"exact_manifest_source_release_dependency_or_runtime_identity_mismatch_is_nonterminal","proofLedger":"command_center_mission_ledger_request_contract_hash_bound","schemaVersion":1,"releaseTargets":[],"lifecycleStates":["prepare","deploy","verify","activate"],"activationPolicy":"dependencies_and_claim_matched_live_proof_before_exposure","dependencyDomains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_required_not_runtime_failures","compatibilityWindow":["N","N-1"],"failureIsolationPolicy":"quarantine_or_rollback_affected_capability_only_preserve_unrelated_working_capabilities","canaryProofConditionIds":["proof-production"]},"capabilityCompleteness":{"domains":["frontend","backend_runtime","schema_data_storage","authentication_authorization","provider_configuration","prerequisite_loading_empty_error_states","release_ownership","live_production_proof"],"required":true,"prerequisitePolicy":"expected_unavailable_dependencies_are_prerequisite_states_not_runtime_failures"}},"requestContractHash":"f4c4602e092eccec4061ef1911c6740394379b1445db083075a91097d48fc77f","requestContractRevision":2,"previousRequestContractHash":"3ae4bff3a91e25b32d273504e84533cb0142b0cfdd61fe481c64d454c1c2b078"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T15:39:36.661418+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:59ae2347-d13f-481f-8f41-efe4d1ce9b9b:request-contract:f4c4602e092eccec4061ef1911c6740394379b1445db083075a91097d48fc77f","mission_step_id":"685388a3-5841-4013-99ef-d03bacc23f3e","command_center_event_id":"59ae2347-d13f-481f-8f41-efe4d1ce9b9b"},{"id":"5aa317a9-8023-4bd2-98df-6c195170ec2e","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[{"path":"supabase/functions/_shared/googleWorkspaceResilience.ts","content":"export class GoogleWorkspaceRateLimitError extends Error {\n  retryAfterMs: number | null;\n  constructor(message = \"Google Workspace is temporarily rate-limited. Please retry in a moment; the connection is still active.\", retryAfterMs: number | null = null) {\n    super(message);\n    this.name = \"GoogleWorkspaceRateLimitError\";\n    this.retryAfterMs = retryAfterMs;\n  }\n}\n\nexport type GoogleApiRequestOptions = {\n  service: string;\n  accessToken: string;\n  url: string;\n  init?: RequestInit;\n  maxGetAttempts?: number;\n};\n\nfunction payloadText(payload: unknown) {\n  try { return JSON.stringify(payload ?? {}); } catch { return String(payload ?? \"\"); }\n}\n\nexport function isGoogleQuotaResponse(status: number, payload: unknown) {\n  const text = payloadText(payload);\n  return status === 429 || (status === 403 && /rateLimitExceeded|userRateLimitExceeded|quota|RESOURCE_EXHAUSTED/i.test(text));\n}\n\nfunction retryAfterMs(headers: Headers) {\n  const raw = String(headers.get(\"retry-after\") || \"\").trim();\n  if (!raw) return null;\n  const seconds = Number(raw);\n  if (Number.isFinite(seconds) && seconds >= 0) return Math.min(30_000, seconds * 1000);\n  const when = Date.parse(raw);\n  if (!Number.isFinite(when)) return null;\n  return Math.min(30_000, Math.max(0, when - Date.now()));\n}\n\nfunction boundedJitter(baseMs: number) {\n  const bytes = new Uint32Array(1);\n  crypto.getRandomValues(bytes);\n  return Math.min(30_000, baseMs + (bytes[0] % 251));\n}\n\nasync function sleep(ms: number) {\n  await new Promise((resolve) => setTimeout(resolve, ms));\n}\n\nexport async function googleApiJson<T = any>({ service, accessToken, url, init = {}, maxGetAttempts = 3 }: GoogleApiRequestOptions): Promise<T> {\n  const headers = new Headers(init.headers || {});\n  headers.set(\"Authorization\", \"Bearer \" + accessToken);\n  if (init.body && !headers.has(\"Content-Type\")) headers.set(\"Content-Type\", \"application/json\");\n  const method = String(init.method || \"GET\").toUpperCase();\n  const maxAttempts = method === \"GET\" ? Math.max(1, Math.min(4, maxGetAttempts)) : 1;\n\n  for (let attempt = 1; attempt <= maxAttempts; attempt += 1) {\n    const response = await fetch(url, { ...init, headers });\n    const payload = await response.json().catch(() => ({}));\n    if (response.ok) return payload as T;\n    if (isGoogleQuotaResponse(response.status, payload)) {\n      const providerRetryAfter = retryAfterMs(response.headers);\n      if (attempt < maxAttempts) {\n        const backoff = providerRetryAfter ?? boundedJitter(350 * (2 ** (attempt - 1)));\n        console.warn(\"[google-workspace-resilience]\", JSON.stringify({ service, status: response.status, attempt, retryInMs: backoff, reason: \"quota\" }));\n        await sleep(backoff);\n        continue;\n      }\n      throw new GoogleWorkspaceRateLimitError(undefined, providerRetryAfter);\n    }\n    const providerMessage = String((payload as any)?.error?.message || \"\");\n    throw new Error(providerMessage || `${service} request failed (${response.status})`);\n  }\n  throw new Error(`${service} is temporarily unavailable.`);\n}\n\nexport async function mapWithConcurrency<T, R>(items: T[], concurrency: number, worker: (item: T, index: number) => Promise<R>): Promise<R[]> {\n  const limit = Math.max(1, Math.min(8, Math.floor(concurrency || 1)));\n  const results = new Array<R>(items.length);\n  let cursor = 0;\n  const runners = Array.from({ length: Math.min(limit, items.length) }, async () => {\n    while (true) {\n      const index = cursor++;\n      if (index >= items.length) return;\n      results[index] = await worker(items[index], index);\n    }\n  });\n  await Promise.all(runners);\n  return results;\n}\n\nexport function boundedGooglePageSize(value: unknown, fallback = 25, max = 50) {\n  const parsed = Number(value);\n  const safeFallback = Math.max(1, Math.min(max, fallback));\n  if (!Number.isFinite(parsed)) return safeFallback;\n  return Math.max(1, Math.min(max, Math.floor(parsed)));\n}\n"}],"branch":"ai/objective-first-repair-d7c6daf22839","writes":[],"patches":[],"version":1,"approved":true,"missionId":"d7c6daf2-2839-42cf-9093-92c20624355d","objective":"Correct the deterministic file-creation failure in the same Google Workspace Resilience Primitive mission. Create the new shared helper with a file write, then apply the already-scoped Gmail anchored edits. Continue through PR/Gate/release.","repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"anchored_edits":[{"path":"supabase/functions/google-workspace-mail/index.ts","edits":[{"new_content":"import { decryptSecret, encryptSecret } from \"../_shared/tenantCrypto.ts\";\nimport { boundedGooglePageSize, googleApiJson, mapWithConcurrency } from \"../_shared/googleWorkspaceResilience.ts\";","old_content":"import { decryptSecret, encryptSecret } from \"../_shared/tenantCrypto.ts\";"},{"new_content":"async function gmail(accessToken: string, path: string, init: RequestInit = {}) {\n  return await googleApiJson({ service: \"Google Mail\", accessToken, url: GMAIL_BASE + path, init });\n}","old_content":"function gmailQuotaError(status:number,payload:any){const text=JSON.stringify(payload||{});return status===429||(status===403&&/rateLimitExceeded|userRateLimitExceeded|quota|RESOURCE_EXHAUSTED/i.test(text))}\nasync function gmail(accessToken: string, path: string, init: RequestInit = {}) {\n  const headers = new Headers(init.headers || {});\n  headers.set(\"Authorization\", \"Bearer \" + accessToken);\n  if (init.body && !headers.has(\"Content-Type\")) headers.set(\"Content-Type\", \"application/json\");\n  const method=String(init.method||\"GET\").toUpperCase();\n  const maxAttempts=method===\"GET\"?3:1;\n  for(let attempt=1;attempt<=maxAttempts;attempt+=1){\n    const response = await fetch(GMAIL_BASE + path, { ...init, headers });\n    const payload = await response.json().catch(() => ({}));\n    if(response.ok)return payload;\n    if(gmailQuotaError(response.status,payload)){\n      if(attempt<maxAttempts){await new Promise(resolve=>setTimeout(resolve,attempt*450));continue}\n      throw new Error(\"Google Mail is temporarily rate-limited. Please retry in a moment; the Workspace connection is still active.\");\n    }\n    throw new Error(String(payload?.error?.message || (\"Gmail request failed (\" + response.status + \")\")));\n  }\n  throw new Error(\"Google Mail is temporarily unavailable.\");\n}"},{"new_content":"  const ids = (list?.messages || []).map((message: any) => String(message.id || \"\")).filter(Boolean).slice(0, 25);\n  const messages = await mapWithConcurrency(ids, 4, (id: string) => metadataMessage(accessToken, id));\n  return messages.map((message: any) => summary(message, folderId));","old_content":"  const ids = (list?.messages || []).map((message: any) => String(message.id || \"\")).filter(Boolean).slice(0, 25);\n  const rows: any[] = [];\n  for (let index = 0; index < ids.length; index += 4) {\n    const batch = await Promise.all(ids.slice(index, index + 4).map((id: string) => metadataMessage(accessToken, id)));\n    rows.push(...batch.map((message: any) => summary(message, folderId)));\n  }\n  return rows;"},{"new_content":"  const limit = boundedGooglePageSize(input?.limit, 25, 50);","old_content":"  const limit = Math.min(100, Math.max(25, Number(input?.limit || 100)));"},{"new_content":"  const messages = await mapWithConcurrency(ids, 4, (id: string) => metadataMessage(accessToken, id));","old_content":"  const messages: any[] = [];\n  for (let index = 0; index < ids.length; index += 15) {\n    messages.push(...await Promise.all(ids.slice(index, index + 15).map((id: string) => metadataMessage(accessToken, id))));\n  }"},{"new_content":"  const drafts = (list?.drafts || []).slice(0, boundedGooglePageSize(limit, 25, 50));\n  const rows = await mapWithConcurrency(drafts, 4, (draft: any) => gmail(accessToken, \"/drafts/\" + encodeURIComponent(String(draft.id)) + \"?format=full\"));\n  return rows.map((draft: any) => summary(draft?.message || {}, \"DRAFT\"));","old_content":"  const drafts = (list?.drafts || []).slice(0, 100);\n  const rows: any[] = [];\n  for (let index = 0; index < drafts.length; index += 12) {\n    const batch = await Promise.all(drafts.slice(index, index + 12).map((draft: any) => gmail(accessToken, \"/drafts/\" + encodeURIComponent(String(draft.id)) + \"?format=full\")));\n    rows.push(...batch.map((draft: any) => summary(draft?.message || {}, \"DRAFT\")));\n  }\n  return rows;"}]}],"implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":1,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"d7c6daf2-2839-42cf-9093-92c20624355d","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"requestContract":null,"repairGeneration":1,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"2213ae854b3b92d6962f4e80fdfb781646dbfb6caccdec37d72da7235eed79bd","replayCount":0,"serializedBytes":9300},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-01T21:06:02.377835+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:d7c6daf2-2839-42cf-9093-92c20624355d:repository-mutation-intent:2213ae854b3b92d6962f4e80fdfb781646dbfb6caccdec37d72da7235eed79bd:0","mission_step_id":"0312d856-6cf8-4f86-84fb-efe0388e0f0e","command_center_event_id":"d7c6daf2-2839-42cf-9093-92c20624355d"},{"id":"5aa4078b-f026-4b20-85e8-9b4bc8099046","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":"ai/objective-first-repair-7e95ab36263f","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"executorlessWaitMs":0,"firstUsefulResultAt":null,"recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.3-paul-adaptive-reasoning","prNumber":null,"terminal":false,"missionId":"7e95ab36-263f-441b-a886-10e229080126","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1314,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":494,"providerAuthMs":0,"ledgerPrepareMs":494,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":494,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":494,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"7e95ab36-263f-441b-a886-10e229080126"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":4884,"likelyAffectedFiles":["workers/cc-execution/src/objective-intent.js","workers/cc-execution/test/objective-intent-boundary.test.js","workers/cc-execution/src/version.js","supabase/functions/operator-respond/index.ts","supabase/functions/operator-respond/response-contract.ts","supabase/functions/ai-respond/index.ts","config/paul-owner-profile.json","config/capabilities/platform-sidekick-intelligence.json","src/__tests__/contracts/platform-sidekick-intelligence.contract.test.ts"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-29T16:56:44.580738+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:7e95ab36-263f-441b-a886-10e229080126:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"334b0ba1-5940-4d8e-bcf3-7da450062147","command_center_event_id":"7e95ab36-263f-441b-a886-10e229080126"},{"id":"5aa4c5cb-051b-4e64-a9b6-15e5af1ee642","source":"cc-execution","status":"deployment_dispatched","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":null,"reason":null,"status":"deployment_dispatched","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.118-architecture-exclusivity","prNumber":2474,"terminal":false,"missionId":"c06defa8-cf92-435f-ba6d-2b832251d2e8","operation":"execute_mission","proofGate":"canonical_release_dispatched","sourceSha":"34c695e75b0eb320a46263ab984d57d0dfc90fe8","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":10850,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":1275,"approvedPlanMs":0,"missionSetupMs":2038,"providerAuthMs":0,"shipAndProveMs":8581,"ledgerPrepareMs":917,"ledgerReconcileMs":0,"lineageReconcileMs":1121,"resolvePreflightMs":2038,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":917,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"c06defa8-cf92-435f-ba6d-2b832251d2e8"},"performance":null,"deploymentId":"forgejo-main-34c695e75b0e","workflowRunId":null,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":2853,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-12T04:37:25.761617+00:00","proof_gate":"canonical_release_dispatched","source_sha":"34c695e75b0eb320a46263ab984d57d0dfc90fe8","external_id":"forgejo-main-34c695e75b0e","receipt_type":"execute_mission","idempotency_key":"mission:c06defa8-cf92-435f-ba6d-2b832251d2e8:execute_mission:canonical_release_dispatched:current-generation","mission_step_id":"f668599d-741f-4c03-bf74-4e3e70658713","command_center_event_id":"c06defa8-cf92-435f-ba6d-2b832251d2e8"},{"id":"5aa7088f-fea3-45a2-b43c-67cd9fc245df","source":"cc-execution","status":"recorded","payload":{"objective":"Create a fresh corrective repair generation from CURRENT Forgejo main. Do not adopt or reuse merged PR #883 or its branch. Production acceptance of #883 failed: tenant-photo-studio v5 gallery for la-vista-del-mar/the-view returns HTTP 500 cloudflare_r2_list_failed:403 and Visual Witness shows placeholders with net::ERR_BLOCKED_BY_ORB. Inspect current Forgejo main and identify the platform's existing purpose-specific authorized R2 object access mechanism and secret names/config. Replace tenant-photo-studio list/get/put so they use that authorized R2 mechanism rather than the generic Cloudflare bearer token that gets 403. Preserve bucket la-vista-del-mar and all existing object keys and bytes exactly; no re-upload, copy, rename, delete, enhance, or replacement. Ensure existing The View, The Nest, and login-background objects resolve. Update stale tenant media.storageProvider only if consumed by runtime. Use exactly this fresh ai/fix-vista-r2-auth-20260828 branch, one new PR, KnockLaunch Gate, Forgejo squash merge, and deploy only affected target(s). Completion requires direct production gallery/lead/login proof with real image responses and Visual Witness desktop+mobile visualAcceptance=true with no placeholders.","tenantRef":"lavistadelmar","receivedAt":"2026-08-28T00:03:02.023Z","fingerprint":"02a282f5fb944b7221cfce46589af9ce995fa765da9668fc9b6864aac0adaa1a","workstreamRef":"lavistadelmar","conversationId":null,"canonicalBranch":"ai/fix-vista-r2-auth-20260828","requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Create a fresh corrective repair generation from CURRENT Forgejo main. Do not adopt or reuse merged PR #883 or its branch. Production acceptance of #883 failed: tenant-photo-studio v5 gallery for la-vista-del-mar/the-view returns HTTP 500 cloudflare_r2_list_failed:403 and Visual Witness shows placeholders with net::ERR_BLOCKED_BY_ORB. Inspect current Forgejo main and identify the platform's existing purpose-specific authorized R2 object access mechanism and secret names/config. Replace tenant-photo-studio list/get/put so they use that authorized R2 mechanism rather than the generic Cloudflare bearer token that gets 403. Preserve bucket la-vista-del-mar and all existing object keys and bytes exactly; no re-upload, copy, rename, delete, enhance, or replacement. Ensure existing The View, The Nest, and login-background objects resolve. Update stale tenant media.storageProvider only if consumed by runtime. Use exactly this fresh ai/fix-vista-r2-auth-20260828 branch, one new PR, KnockLaunch Gate, Forgejo squash merge, and deploy only affected target(s). Completion requires direct production gallery/lead/login proof with real image responses and Visual Witness desktop+mobile visualAcceptance=true with no placeholders.","wordingChanged":false,"canonicalIntent":"Create a fresh corrective repair generation from CURRENT Forgejo main. Do not adopt or reuse merged PR #883 or its branch. Production acceptance of #883 failed: tenant-photo-studio v5 gallery for la-vista-del-mar/the-view returns HTTP 500 cloudflare_r2_list_failed:403 and Visual Witness shows placeholders with net::ERR_BLOCKED_BY_ORB. Inspect current Forgejo main and identify the platform's existing purpose-specific authorized R2 object access mechanism and secret names/config. Replace tenant-photo-studio list/get/put so they use that authorized R2 mechanism rather than the generic Cloudflare bearer token that gets 403. Preserve bucket la-vista-del-mar and all existing object keys and bytes exactly; no re-upload, copy, rename, delete, enhance, or replacement. Ensure existing The View, The Nest, and login-background objects resolve. Update stale tenant media.storageProvider only if consumed by runtime. Use exactly this fresh ai/fix-vista-r2-auth-20260828 branch, one new PR, KnockLaunch Gate, Forgejo squash merge, and deploy only affected target(s). Completion requires direct production gallery/lead/login proof with real image responses and Visual Witness desktop+mobile visualAcceptance=true with no placeholders.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"outcome-r2-auth","statement":"tenant-photo-studio uses the canonical authorized R2 object access mechanism for the existing la-vista-del-mar bucket, and The View, The Nest, and login background render from the existing objects.","proofConditionIds":["proof-r2-endpoints","proof-dashboard-visual"]}],"objective":"Create a fresh corrective repair generation from CURRENT Forgejo main. Do not adopt or reuse merged PR #883 or its branch. Production acceptance of #883 failed: tenant-photo-studio v5 gallery for la-vista-del-mar/the-view returns HTTP 500 cloudflare_r2_list_failed:403 and Visual Witness shows placeholders with net::ERR_BLOCKED_BY_ORB. Inspect current Forgejo main and identify the platform's existing purpose-specific authorized R2 object access mechanism and secret names/config. Replace tenant-photo-studio list/get/put so they use that authorized R2 mechanism rather than the generic Cloudflare bearer token that gets 403. Preserve bucket la-vista-del-mar and all existing object keys and bytes exactly; no re-upload, copy, rename, delete, enhance, or replacement. Ensure existing The View, The Nest, and login-background objects resolve. Update stale tenant media.storageProvider only if consumed by runtime. Use exactly this fresh ai/fix-vista-r2-auth-20260828 branch, one new PR, KnockLaunch Gate, Forgejo squash merge, and deploy only affected target(s). Completion requires direct production gallery/lead/login proof with real image responses and Visual Witness desktop+mobile visualAcceptance=true with no placeholders.","constraints":[{"id":"constraint-preserve-originals","statement":"Do not re-upload, copy, rename, delete, enhance, replace, or otherwise alter any existing R2 object or original image.","proofConditionIds":["proof-r2-endpoints","proof-dashboard-visual"]},{"id":"constraint-bucket-keys","statement":"Preserve bucket la-vista-del-mar and all existing object keys exactly.","proofConditionIds":["proof-r2-endpoints"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"proof-r2-endpoints","kind":"runtime","claim":"Production tenant-photo-studio gallery, lead, and login endpoints return successful actual image/gallery responses using the existing objects, with no cloudflare_r2_list_failed:403, JSON error body, or SVG placeholder fallback.","route":"/la-vista-del-mar/dashboard","required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["supabaseEdge"],"requiredReleaseTargets":["supabaseEdge"]},{"id":"proof-dashboard-visual","kind":"visual","claim":"Production /la-vista-del-mar/dashboard shows real The View and The Nest imagery on desktop and mobile, and no Add property photos or Photo ready to add placeholders remain.","route":"/la-vista-del-mar/dashboard","required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":["supabaseEdge","frontend"],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestedBranch":"ai/fix-vista-r2-auth-20260828","conversationContext":null,"requestContractHash":"c9497aabb86972b114270c2b394f6a5e13c48a373703e609f1315dba26b4d335","requestContractRevision":1},"tenant_id":"71b397ba-b9ad-496b-914c-985d97dbb12e","created_at":"2026-08-28T00:03:03.209399+00:00","proof_gate":"tenant_workstream_contribution_recorded","source_sha":null,"external_id":null,"receipt_type":"tenant_workstream_contribution","idempotency_key":"mission:343e8fb5-970a-4569-8e2c-7ac41569b7a1:tenant-workstream-contribution:02a282f5fb944b7221cfce46589af9ce995fa765da9668fc9b6864aac0adaa1a","mission_step_id":null,"command_center_event_id":"343e8fb5-970a-4569-8e2c-7ac41569b7a1"},{"id":"5aa81675-d876-4fc8-acf8-e10cdedeb1ef","source":"cc-execution","status":"blocked","payload":{"ok":false,"jobId":null,"phase":"runtime_proof","branch":"ai/objective-first-repair-aa4f273a40a0","reason":"explicit_pull_request_identity_mismatch:3253","status":"blocked","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.58.182-witness-render-cold-start-aware","prNumber":3253,"terminal":false,"missionId":"aa4f273a-40a0-4f44-9116-aab12e80a34e","operation":"execute_mission","proofGate":"repair_mission_execution_blocked","sourceSha":"c8e484625258e6e51bf0665ca59aabe77389f153","timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":666,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":0,"approvedPlanMs":666,"missionSetupMs":270,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":270,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":270,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":270,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":null,"receiptRef":{"mode":"full","missionId":"aa4f273a-40a0-4f44-9116-aab12e80a34e"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1468,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"9602e177-0cbb-496c-bdf5-2fbc93f1b859","created_at":"2026-09-20T02:47:58.82945+00:00","proof_gate":"repair_mission_execution_blocked","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:aa4f273a-40a0-4f44-9116-aab12e80a34e:execute_mission:repair_mission_execution_blocked:current-generation","mission_step_id":"4c96afcb-f3e2-49a0-a78d-1fc176260e82","command_center_event_id":"aa4f273a-40a0-4f44-9116-aab12e80a34e"},{"id":"5aa93ebc-a85d-4766-ad78-a25c2f453994","source":"cc-execution","status":"source_resolution_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-a93672d693cc","reason":null,"status":"source_resolution_required","metrics":{"receiptBytes":5873,"releaseCount":0,"toolCallCount":3,"repeatedCallCount":1,"executorlessWaitMs":334113,"firstUsefulResultAt":"2026-09-28T12:08:10.868Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.58.301-premium-visual-system","prNumber":null,"terminal":false,"missionId":"a93672d6-93cc-4278-b7d8-d2b283d7c660","operation":"execute_mission","proofGate":"repair_mission_source_resolution_required","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":1205,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":269,"providerAuthMs":0,"ledgerPrepareMs":269,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":269,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":269,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Supply exact sourceTargets on the same mission; planner guesses cannot replace missing mission scope.","receiptRef":{"mode":"full","missionId":"a93672d6-93cc-4278-b7d8-d2b283d7c660"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1177,"likelyAffectedFiles":[],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-28T12:08:10.889049+00:00","proof_gate":"repair_mission_source_resolution_required","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:a93672d6-93cc-4278-b7d8-d2b283d7c660:execute_mission:repair_mission_source_resolution_required:current-generation","mission_step_id":"4b7f5968-8afb-43ac-979e-745624e5400a","command_center_event_id":"a93672d6-93cc-4278-b7d8-d2b283d7c660"},{"id":"5aa969f7-d961-494c-990b-ba0bd69b6c7a","source":"cc-execution","status":"waiting","payload":{"body":{"ship":true,"files":[],"route":"/select-tenant","branch":"ai/objective-first-repair-6cb5dff52192","writes":[],"patches":[],"version":1,"approved":true,"pr_title":"Fix mobile GodMode role selector layout","missionId":"6cb5dff5-2192-4a29-84f6-8b14c16f48d5","objective":"Fix only the mobile layout of the GodMode 'Enter as' role selector. Keep it fully inside each tenant card at mobile width and make the select control at least 44px tall. Preserve desktop layout and all role-projection behavior.","viewports":["mobile","desktop"],"repository":"noel/KnockLaunchOS","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"anchored_edits":[{"path":"src/pages/SelectTenant.tsx","edits":[{"new_content":"<div className=\"mt-2 flex flex-col items-stretch gap-1.5 sm:ml-[56px] sm:flex-row sm:items-center sm:gap-2\">","old_content":"<div className=\"ml-[56px] mt-2 flex items-center gap-2\">"},{"new_content":"className=\"h-11 w-full min-w-0 rounded-lg border border-white/10 bg-background/60 px-2 text-sm font-semibold outline-none focus:border-primary/50 sm:h-8 sm:flex-1 sm:text-xs\"","old_content":"className=\"h-8 min-w-0 flex-1 rounded-lg border border-white/10 bg-background/60 px-2 text-xs font-semibold outline-none focus:border-primary/50\""},{"new_content":"className=\"mt-2 text-xs font-medium text-muted-foreground transition hover:text-primary disabled:opacity-50 sm:ml-[56px]\"","old_content":"className=\"ml-[56px] mt-2 text-xs font-medium text-muted-foreground transition hover:text-primary disabled:opacity-50\""}]}],"commit_message":"fix: fit GodMode role selector on mobile","implementation":{"files":[],"writes":[]},"requestContract":null,"repairGeneration":null,"executionEnvelope":{"ship":true,"version":1,"approved":true,"missionId":"6cb5dff5-2192-4a29-84f6-8b14c16f48d5","ownerApproved":true,"releaseIntent":null,"sourceTargets":[],"requestContract":null,"repairGeneration":null,"proofRequirements":null,"controlPlaneUnfreeze":false,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"proofRequirements":null,"controlPlaneUnfreeze":false,"durableMutationResume":true,"controlPlaneMaintenance":false,"controlPlaneMaintenancePaths":[],"controlPlaneMaintenanceReason":null},"recovery":false,"fingerprint":"0deb33d8d06665425d6e6c460109d95eb0dd1ed9f257989758387f47e3713f30","replayCount":0,"serializedBytes":2248},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T14:31:28.698374+00:00","proof_gate":"repository_mutation_intent_persisted","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent","idempotency_key":"mission:6cb5dff5-2192-4a29-84f6-8b14c16f48d5:repository-mutation-intent:0deb33d8d06665425d6e6c460109d95eb0dd1ed9f257989758387f47e3713f30:0","mission_step_id":"f655f27b-4497-4677-8fe8-58266f2aa701","command_center_event_id":"6cb5dff5-2192-4a29-84f6-8b14c16f48d5"},{"id":"5aa9e802-ddf7-49a0-a65e-10ebe4cab5d3","source":"forgejo-runtime","status":"failed","payload":{"failed":["render-onrunner/runtime-proof"],"states":{"forgejo-main/source":"pending","render-onrunner/runtime-proof":"failure"},"mainSha":"eb25f92407d83ac83f64723cea692fabe3695fac","missing":[],"pending":["forgejo-main/source"],"required":["forgejo-main/source","render-onrunner/runtime-proof"],"sourceSha":"f10572d44d8601adb89064fe47b17e8e4011acbb","releaseState":"failed","sourceInMain":false,"compareStatus":null,"forgejoWorkflowProof":null,"onrunnerRuntimeProof":{"reason":"render_onrunner_source_mismatch","hostedUrl":"https://knocklaunchcrm.onrender.com","exactSource":false,"healthStatus":200,"liveSourceSha":"02ebf6f398e0f812a2c9e2fab2191b346ebdb42d","runnerVersion":"onrunner-02ebf6f398e0","expectedSourceSha":"f10572d44d8601adb89064fe47b17e8e4011acbb"},"releaseSourceVerified":false,"ccExecutionRuntimeProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"766cfaa7-ac42-46c8-bbef-69d13268a29d","created_at":"2026-08-21T02:46:53.895941+00:00","proof_gate":"canonical_release_terminal_failed","source_sha":"f10572d44d8601adb89064fe47b17e8e4011acbb","external_id":null,"receipt_type":"canonical_release_status","idempotency_key":"mission:912c3ca4-513b-4836-8d6e-ca7848bbc292:forgejo-release-status:f10572d44d8601adb89064fe47b17e8e4011acbb:failed:forgejo-main/source=pending|render-onrunner/runtime-proof=failure","mission_step_id":"c93c5d69-273d-4466-ad6a-0d990a3ae44f","command_center_event_id":"912c3ca4-513b-4836-8d6e-ca7848bbc292"},{"id":"5aabcbe4-3ead-4c78-a8f0-54dee65aec6e","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/src/index-mission-control.js"],"reason":"Stage 1 of the owner-authorized release-orchestration repair. Keep the PR unarmed until all bounded control-plane edits are complete.","baseSha":"ac663fcf7052e314fac920ee8da3394da760012a","issuedAt":1789157607918,"expiresAt":1789157787918,"missionId":"adc9f8a7-dc29-4724-9df0-afc076604415","authorizationId":"2e457562-7a81-49ee-877b-739da4aa3618","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-11T20:13:28.377106+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"ac663fcf7052e314fac920ee8da3394da760012a","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:2e457562-7a81-49ee-877b-739da4aa3618","mission_step_id":"bfc99602-22a4-4f94-b129-c981a9136413","command_center_event_id":"adc9f8a7-dc29-4724-9df0-afc076604415"},{"id":"5aac7d2f-1ada-4918-a5c3-0f77a6f13312","source":"cc-execution","status":"release_reconciliation_pending","payload":{"ok":true,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-4e7c33a3b625","reason":null,"status":"release_reconciliation_pending","metrics":{"receiptBytes":367574,"releaseCount":0,"toolCallCount":12,"repeatedCallCount":2,"executorlessWaitMs":1060230,"firstUsefulResultAt":"2026-09-25T17:00:56.139Z","recoveryAttemptCount":2,"ownerInterruptionCount":0},"version":null,"prNumber":3745,"terminal":false,"missionId":"4e7c33a3-b625-48f9-934c-8b800f7fed3e","operation":"automatic_mission_resume","proofGate":"canonical_release_reconciliation_pending","sourceSha":"4b4014d51bc6cb59c3d41c6afd01567575ff303f","timingsMs":{"prReadinessMs":444,"approvedPlanMs":0,"shipAndProveMs":2689,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"reconcile_release","receiptRef":{"mode":"full","missionId":"4e7c33a3-b625-48f9-934c-8b800f7fed3e"},"performance":null,"deploymentId":"forgejo-main-4b4014d51bc6","releaseState":null,"workflowRunId":null,"releaseTargets":{"frontend":false,"onrunner":false,"migrations":false,"ccExecution":true,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1814,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-25T17:18:50.088509+00:00","proof_gate":"canonical_release_reconciliation_pending","source_sha":null,"external_id":"3745","receipt_type":"automatic_mission_resume","idempotency_key":"mission:4e7c33a3-b625-48f9-934c-8b800f7fed3e:automatic-mission-resume:3745:canonical_release_reconciliation_pending","mission_step_id":"54f29d8b-9411-4c51-9592-6f37d3369fa3","command_center_event_id":"4e7c33a3-b625-48f9-934c-8b800f7fed3e"},{"id":"5aaf30d3-378f-4533-99df-20e7f5f2ca30","source":"cc-execution","status":"blocked","payload":{"reason":"anchored_edit_anchor_missing:src/lib/tenantUtils.ts","fingerprint":"80a070c1a2966a7afdce42df2483a1b98502782ce7fc95bbc86ffc0ee209e45a"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T15:20:41.141097+00:00","proof_gate":"repository_mutation_intent_deterministic_failure","source_sha":null,"external_id":null,"receipt_type":"repository_mutation_intent_blocked","idempotency_key":"mission:e6bc0315-41fe-44c4-9d63-4a71e9b8d4ff:repository-mutation-intent-blocked:80a070c1a2966a7afdce42df2483a1b98502782ce7fc95bbc86ffc0ee209e45a","mission_step_id":"001c31e4-0a8a-4375-8ead-242be06ded9d","command_center_event_id":"e6bc0315-41fe-44c4-9d63-4a71e9b8d4ff"},{"id":"5ab0fd49-c93f-4c9d-891d-046a762461b1","source":"forgejo-exact-source","status":"verified","payload":{"sourceSha":"0646720cad3dc88b10532a280fd98ff47c311f3e","repository":"noel/KnockLaunchOS","repositoryProofs":[{"id":"gate-proof","path":null,"proof":"forgejo_merged_pr_exact_head_gate","headSha":"8014bd2479b689f35d986bddeeeebd2c7390c758","prNumber":3296,"gateRunId":10335,"gateContext":"KnockLaunch Gate / KnockLaunch Gate (pull_request)","expectedText":null,"gateTestPath":"workers/cc-execution/test/release-orchestration-invariants.test.js","gateTargetUrl":"/noel/KnockLaunchOS/actions/runs/10335/jobs/1","gateTestProof":"successful_exact_head_gate_log_contains:workers/cc-execution/test/release-orchestration-invariants.test.js","gateTestPassed":true,"mergeCommitSha":"0646720cad3dc88b10532a280fd98ff47c311f3e","gateTestLogLine":"2026-09-20T15:55:09.1600203Z Gate regression: executing workers/cc-execution/test/release-orchestration-invariants.test.js","gateTestExecuted":true}],"requestContractHash":"b7a099308c1072541b59058d14696ceaeb958a31526687efc6940b5eed499978","namedGateEvidenceReceiptVersion":":named-gate-evidence-v1"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T15:56:33.043567+00:00","proof_gate":"request_contract_repository_verified","source_sha":"0646720cad3dc88b10532a280fd98ff47c311f3e","external_id":null,"receipt_type":"request_contract_repository_status","idempotency_key":"mission:392e0099-9a83-4bf8-ab58-c4fb841420be:request-contract-repository:b7a099308c1072541b59058d14696ceaeb958a31526687efc6940b5eed499978:0646720cad3dc88b10532a280fd98ff47c311f3e:named-gate-evidence-v1","mission_step_id":"e5619154-b747-46d0-b291-8828ef58e252","command_center_event_id":"392e0099-9a83-4bf8-ab58-c4fb841420be"},{"id":"5ab21e72-1e00-4c72-a70f-241f00cbff21","source":"cc-execution","status":"release_verification_pending","payload":{"ok":true,"jobId":null,"phase":"objective_received","branch":null,"reason":null,"status":"release_verification_pending","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":"1.31.31-resumable-backup-failover","prNumber":4560,"terminal":false,"missionId":"68faa58c-6a28-44fa-be4e-1e27e6b27f13","operation":"ship_and_prove","proofGate":"ship_and_prove_release_pending","sourceSha":"ee444e2c4e10d481e4dd386708d5f47184453483","timingsMs":null,"nextAction":null,"receiptRef":{"mode":"full","missionId":"68faa58c-6a28-44fa-be4e-1e27e6b27f13"},"performance":null,"deploymentId":"canonical-release-ee444e2c4e10","workflowRunId":31431555072,"releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"detailsAvailable":true,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1355,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true},"tenant_id":"c55998b4-82a3-467e-8d35-177bb4785f6e","created_at":"2026-08-10T20:57:36.967598+00:00","proof_gate":"ship_and_prove_release_pending","source_sha":"ee444e2c4e10d481e4dd386708d5f47184453483","external_id":"canonical-release-ee444e2c4e10","receipt_type":"ship_and_prove","idempotency_key":"mission:68faa58c-6a28-44fa-be4e-1e27e6b27f13:ship_and_prove:ship_and_prove_release_pending:ee444e2c4e10d481e4dd386708d5f47184453483:31431555072","mission_step_id":"c9220f58-e732-46c7-b3cc-ac2682c69d8c","command_center_event_id":"68faa58c-6a28-44fa-be4e-1e27e6b27f13"},{"id":"5ab4b8bb-2bc4-4eda-9c13-fe7e6d1e2a7e","source":"forgejo-runtime","status":"failed","payload":{"failed":["forgejo-release/workflow","frontend-cloudflare/live"],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"failure","frontend-cloudflare/live":"failure"},"mainSha":"b996e2b3cc728f426a21ef2b93b56a61e13ab024","missing":[],"pending":[],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"b996e2b3cc728f426a21ef2b93b56a61e13ab024","releaseState":"failed","sourceInMain":true,"compareStatus":"identical","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/393","runId":393,"status":"failure","conclusion":null,"failedJobs":[{"id":1634,"name":"Release frontend","status":"failure","conclusion":null,"failedSteps":[]}],"fingerprint":"failure|release frontend","failureClass":"code_failure","safeAutoRetry":false},"ccExecutionRuntimeProof":null},"tenant_id":"a2929648-19db-46c8-9e93-07378ed1aa5f","created_at":"2026-08-15T16:08:54.263393+00:00","proof_gate":"canonical_release_terminal_failed","source_sha":"b996e2b3cc728f426a21ef2b93b56a61e13ab024","external_id":"forgejo-main-b996e2b3cc72","receipt_type":"canonical_release_status","idempotency_key":"mission:f9018a81-4ce6-40a3-b71f-76783c9ac7a1:forgejo-release-status:b996e2b3cc728f426a21ef2b93b56a61e13ab024:failed:forgejo-main/source=success|forgejo-release/workflow=failure|frontend-cloudflare/live=failure","mission_step_id":"2c9a82cf-d5b4-404f-98ad-e5aeb1857385","command_center_event_id":"f9018a81-4ce6-40a3-b71f-76783c9ac7a1"},{"id":"5ab55095-26ba-412f-9ea3-44a53d9922db","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","frontend-cloudflare/live":"pending"},"mainSha":"c3d7946ad8824b941488443dcc6e0e7c3a2dffaa","missing":[],"pending":["forgejo-release/workflow","frontend-cloudflare/live"],"required":["forgejo-main/source","forgejo-release/workflow","frontend-cloudflare/live"],"sourceSha":"c3d7946ad8824b941488443dcc6e0e7c3a2dffaa","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":true,"onrunner":false,"migrations":false,"ccExecution":false,"supabaseEdge":false,"edgeFunctionSlugs":[]},"releaseTargetStates":{"frontend":"pending"},"requestContractHash":"7a2a15f29146f480fe5c2d70bb0c731ddb30915a6d829a3b2082cd25e5c2ea41","forgejoWorkflowProof":{"runId":10220,"source":"signed_push_receipt","status":"running","results":{},"conclusion":"running","targetStates":{"frontend":"pending"},"targetJobCount":7,"observedTargetStates":{"frontend":"pending"}},"onrunnerRuntimeProof":null,"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-20T04:56:51.223329+00:00","proof_gate":"canonical_release_pending","source_sha":"c3d7946ad8824b941488443dcc6e0e7c3a2dffaa","external_id":"forgejo-main-c3d7946ad882","receipt_type":"canonical_release_status","idempotency_key":"mission:40681a7c-8d3e-4aca-9629-a69a58e041ce:forgejo-release-status:c3d7946ad8824b941488443dcc6e0e7c3a2dffaa:pending:forgejo-main/source=success|forgejo-release/workflow=pending|frontend-cloudflare/live=pending","mission_step_id":"4cf46fd0-39a4-494d-8287-f137a5cf48ae","command_center_event_id":"40681a7c-8d3e-4aca-9629-a69a58e041ce"},{"id":"5ab5dcb2-4f46-496c-8f1b-0de74a0b437c","source":"cc-execution","status":"authorized","payload":{"paths":["workers/cc-execution/test/release-orchestration-invariants.test.js"],"reason":"Correct the existing control-plane invariant test on the same performance PR so Gate enforces the new bounded interactive latency contract.","baseSha":"6cf44a6edc45a6f19b3810b76d96fed72c27565f","issuedAt":1788892324753,"expiresAt":1788892504753,"missionId":"533967b3-3120-45c1-9076-b46ae519bb75","authorizationId":"fd340258-2fb6-4cb7-8c90-f3a6d81c3471","retryableWithinExactScope":true},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-08T18:32:05.424248+00:00","proof_gate":"control_plane_maintenance_scope_authorized","source_sha":"6cf44a6edc45a6f19b3810b76d96fed72c27565f","external_id":null,"receipt_type":"control_plane_maintenance_authorization","idempotency_key":"control-plane-maintenance-authorize:fd340258-2fb6-4cb7-8c90-f3a6d81c3471","mission_step_id":"b41504d7-8d1a-4c02-9092-c82e65c79efd","command_center_event_id":"533967b3-3120-45c1-9076-b46ae519bb75"},{"id":"5ab95353-f1a9-4f96-885f-786214c3997a","source":"cc-execution","status":"recorded","payload":{"requestContract":{"valid":true,"intent":{"evidence":[],"confidence":null,"rawUtterance":"Unfreeze the control plane to repair systemic execution reliability, then refreeze after live proof. Continue mission 72d855f3-717f-4399-ab19-13ecf238e2c1 from Forgejo branch ai/systemic-execution-reliability-20260903 at b306a9568fff119585d5c242c2fd1ff515e68bed. The seven-file repair is already applied. The anchors below are verification sentinels only: each old_content sentinel is intentionally absent and each new_content marker is already present exactly once. Therefore this call must produce zero source writes, reconcile the orphan branch exact applied state, create/reuse its one PR, then proceed through gate, squash merge, affected-target release, live cc-execution proof, and final refreeze. Do not create a new branch or commit.","wordingChanged":false,"canonicalIntent":"Unfreeze the control plane to repair systemic execution reliability, then refreeze after live proof. Continue mission 72d855f3-717f-4399-ab19-13ecf238e2c1 from Forgejo branch ai/systemic-execution-reliability-20260903 at b306a9568fff119585d5c242c2fd1ff515e68bed. The seven-file repair is already applied. The anchors below are verification sentinels only: each old_content sentinel is intentionally absent and each new_content marker is already present exactly once. Therefore this call must produce zero source writes, reconcile the orphan branch exact applied state, create/reuse its one PR, then proceed through gate, squash merge, affected-target release, live cc-execution proof, and final refreeze. Do not create a new branch or commit.","resolutionStatus":"exact","uniqueResolution":true,"clarificationRequired":false},"source":"explicit","version":1,"outcomes":[{"id":"unfreeze-repair-refreeze","statement":"Unfreeze the control plane for this authorized maintenance, repair systemic execution reliability, then refreeze the control plane after live proof.","proofConditionIds":["repo-contract","runtime-release","freeze-contract"]},{"id":"durable-target-progress","statement":"Successful release targets remain successful when sibling targets or the enclosing workflow are interrupted.","proofConditionIds":["repo-contract","runtime-release"]},{"id":"unfinished-only-retry","statement":"Corrective release dispatch resumes only unfinished affected targets after exact job-level reconciliation.","proofConditionIds":["repo-contract","runtime-release"]},{"id":"transport-recovery","statement":"Transient Forgejo reconciliation reads retry within a bounded short budget without duplicating mutations or losing mission identity.","proofConditionIds":["repo-contract","runtime-release"]}],"objective":"Unfreeze the control plane to repair systemic execution reliability, then refreeze after live proof. Continue mission 72d855f3-717f-4399-ab19-13ecf238e2c1 from Forgejo branch ai/systemic-execution-reliability-20260903 at b306a9568fff119585d5c242c2fd1ff515e68bed. The seven-file repair is already applied. The anchors below are verification sentinels only: each old_content sentinel is intentionally absent and each new_content marker is already present exactly once. Therefore this call must produce zero source writes, reconcile the orphan branch exact applied state, create/reuse its one PR, then proceed through gate, squash merge, affected-target release, live cc-execution proof, and final refreeze. Do not create a new branch or commit.","constraints":[{"id":"single-path","statement":"Use one fresh ai branch, one PR, KnockLaunch Gate, Forgejo squash merge, affected-target-only release, no GitHub or duplicate orchestration.","proofConditionIds":["repo-contract"]}],"terminalPolicy":"all_required_proof_conditions_satisfied_after_live_release","proofConditions":[{"id":"repo-contract","kind":"repository","claim":"Current Forgejo source contains shared per-target release reconciliation, unfinished-target corrective dispatch, bounded reconciliation retries, and regression coverage.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"runtime-release","kind":"runtime","claim":"Affected cc-execution release is live from the shipped source and canonical release reconciliation completes without replaying already-successful targets.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]},{"id":"freeze-contract","kind":"repository","claim":"Final config/control-plane-capabilities.json reports controlPlaneFrozen=true with the repaired freeze version.","route":null,"roleRef":null,"userRef":null,"required":true,"expectedText":null,"targetedActions":[],"allowedReleaseTargets":[],"requiredReleaseTargets":[]}],"validationErrors":[]},"requestContractHash":"d3d2dfd898ae88b732015499d9099f75327ebfb65e9ed36ae8337d18e454eafd","requestContractRevision":6,"previousRequestContractHash":"6874863ae9af12663741cb436113ee2e51875450785fba4c2020eb94cfb3a28b"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-04T02:19:24.009163+00:00","proof_gate":"request_contract_revision_recorded","source_sha":null,"external_id":null,"receipt_type":"request_contract_revision","idempotency_key":"mission:72d855f3-717f-4399-ab19-13ecf238e2c1:request-contract-revision:6:d3d2dfd898ae88b732015499d9099f75327ebfb65e9ed36ae8337d18e454eafd","mission_step_id":"81003d27-a757-4eb1-a622-9bac0298b076","command_center_event_id":"72d855f3-717f-4399-ab19-13ecf238e2c1"},{"id":"5ab9e6f7-3099-4171-8813-eab7d5d04f3a","source":"forgejo","status":"waiting","payload":{"branch":"ai/src-cohesion-phase-3-20260910","prNumber":2328,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"1d33e4d43be0477b2e3073ccdadc52be58cf519d","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-10T21:23:54.24573+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"1d33e4d43be0477b2e3073ccdadc52be58cf519d","external_id":"2328","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:c7e90ade-dce3-4e3c-9f73-68b8673111f4:merged-pr:2328:1d33e4d43be0477b2e3073ccdadc52be58cf519d","mission_step_id":"78a7cc49-4933-49e9-b24c-6e3fc64ba480","command_center_event_id":"c7e90ade-dce3-4e3c-9f73-68b8673111f4"},{"id":"5abf21a4-6c12-400e-97f4-f39917e2f77c","source":"forgejo-runtime","status":"pending","payload":{"failed":[],"states":{"forgejo-main/source":"success","forgejo-release/workflow":"pending","supabase-edge-production/live":"pending"},"mainSha":"f3957a5548d7748e08f8b636cb6b848e9788ead5","missing":[],"pending":["forgejo-release/workflow","supabase-edge-production/live"],"required":["forgejo-main/source","forgejo-release/workflow","supabase-edge-production/live"],"sourceSha":"f3957a5548d7748e08f8b636cb6b848e9788ead5","releaseState":"pending","sourceInMain":true,"compareStatus":"protected_main_push_exact_source","releaseTargets":{"frontend":false,"migrations":false,"ccExecution":false,"supabaseEdge":true,"edgeFunctionSlugs":["irslogiqs-sync"]},"releaseTargetStates":{"supabaseEdge":"pending"},"requestContractHash":"61f4bab8ffccd787582156d1c9cc779a2e5f0cdd5c8d3f31561718d6d46e355b","forgejoWorkflowProof":{"url":"https://git.knocklaunch.app/noel/KnockLaunchOS/actions/runs/14727","runId":14727,"status":"running","sourceSha":"f3957a5548d7748e08f8b636cb6b848e9788ead5","conclusion":null,"failedJobs":[],"diagnostics":null,"exactSource":true,"targetStates":{"supabaseEdge":"pending"},"targetJobCount":7,"observedTargetStates":{"supabaseEdge":"pending"}},"releaseSourceVerified":true,"ccExecutionRuntimeProof":null,"releaseTargetRecoveryProof":null,"exactReleaseVerifiedAfterMainAdvanced":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-03T03:18:50.669668+00:00","proof_gate":"canonical_release_pending","source_sha":"f3957a5548d7748e08f8b636cb6b848e9788ead5","external_id":"forgejo-main-f3957a5548d7","receipt_type":"canonical_release_status","idempotency_key":"mission:5dbd0f91-03d2-4235-95df-f08a1153c126:forgejo-release-status:f3957a5548d7748e08f8b636cb6b848e9788ead5:pending:forgejo-main/source=success|forgejo-release/workflow=pending|supabase-edge-production/live=pending","mission_step_id":"f7ae4aa1-2945-48a4-86ea-9952f906a4ca","command_center_event_id":"5dbd0f91-03d2-4235-95df-f08a1153c126"},{"id":"5ac294cb-2fa6-4190-860f-ecc6bbc70e7b","source":"cc-execution","status":"waiting","payload":{"kind":"heartbeat","message":"Still active in reasoning required.","nextAction":{"lane":"cc-execution","action":"continue_implementation","reason":"synthesis_required","handoff":null,"capability":"heavy-build-gate","automationAllowed":true,"ownerActionRequired":false,"resumeFromCheckpoint":"preflight"},"silenceBudgetMs":15000,"semanticCheckpointSignature":"{\"stateMachineVersion\":1,\"phase\":\"reasoning_required\",\"ownerFacingState\":null,\"latest\":{\"kind\":\"receipt\",\"key\":\"execute_mission\",\"status\":\"synthesis_required\",\"proofGate\":\"repair_mission_synthesis_ready\"},\"activeStep\":{\"key\":\"implementation\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextStep\":{\"key\":\"pull_request\",\"status\":\"ready\",\"lane\":\"cc-execution\"},\"nextSafeAction\":{\"action\":\"continue_implementation\",\"lane\":\"cc-execution\",\"reason\":\"synthesis_required\",\"automationAllowed\":true,\"ownerActionRequired\":false,\"capability\":\"heavy-build-gate\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"executionOwnership\":{\"active\":false,\"state\":\"waiting\",\"executor\":null,\"lane\":\"cc-execution\",\"nextAction\":\"continue_implementation\",\"recoveryOwner\":\"cc-execution\",\"capability\":\"heavy-build-gate\",\"resumeFromCheckpoint\":\"preflight\",\"handoff\":null},\"acceptance\":{\"total\":1,\"verified\":0,\"pending\":1,\"percent\":0,\"satisfied\":false,\"verifiedIds\":[],\"pendingIds\":[\"proof-production\"]},\"stall\":{\"stalled\":true,\"reason\":\"step_deadline_exceeded\",\"step\":\"pull_request\",\"deadlineAt\":\"2026-10-06T18:43:10.123974+00:00\",\"recoveryAction\":\"continue_implementation\"},\"blocker\":null,\"terminal\":false,\"branch\":null,\"prNumber\":null,\"sourceSha\":null,\"deploymentId\":null}"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T19:26:50.170149+00:00","proof_gate":"owner_progress_heartbeat","source_sha":null,"external_id":null,"receipt_type":"owner_progress_heartbeat","idempotency_key":"mission:5a5997d4-18d0-4656-8009-80a3de3403d6:owner-progress-heartbeat:119420987","mission_step_id":"b4a8d632-5d02-4f72-afc8-3fa1324bfedf","command_center_event_id":"5a5997d4-18d0-4656-8009-80a3de3403d6"},{"id":"5ac2b33d-a2db-4a40-8b7f-5442bb966bb9","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-22c2accb34cc","reason":"pull_request_not_open","status":"retryable","metrics":{"receiptBytes":0,"releaseCount":0,"toolCallCount":0,"repeatedCallCount":0,"ownerInterruptionCount":0},"version":null,"prNumber":3244,"terminal":false,"missionId":"22c2accb-34cc-4ae1-bd0e-568d01970c99","operation":"automatic_mission_resume","proofGate":"repair_mission_auto_progress_authorization_retryable","sourceSha":null,"timingsMs":{"prReadinessMs":0,"approvedPlanMs":0,"shipAndProveMs":0,"repositoryMutationMs":0,"repositoryProviderMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"22c2accb-34cc-4ae1-bd0e-568d01970c99"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":[],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":689,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-09-19T22:06:24.940594+00:00","proof_gate":"repair_mission_auto_progress_authorization_retryable","source_sha":null,"external_id":"3244","receipt_type":"automatic_mission_resume","idempotency_key":"mission:22c2accb-34cc-4ae1-bd0e-568d01970c99:automatic-mission-resume:3244:repair_mission_auto_progress_authorization_retryable","mission_step_id":"e83dd5e8-3493-4e40-93f3-cb7f48b39795","command_center_event_id":"22c2accb-34cc-4ae1-bd0e-568d01970c99"},{"id":"5ac41093-b541-4fa1-922f-13bcbfcba147","source":"cc-execution","status":"waiting","payload":{"sourceTargets":["src/pages/admin/AdminSystemConfig.tsx","src/hooks/useGodModeBranding.ts","src/pages/settings/TenantSettingsPageWithWebsiteAssets.tsx"],"continuationObjective":"Fix the Profile & Settings imagery primitive platform-wide. GodMode and every authenticated tenant must expose separate Logo, Background, Hero, and Loader media controls; image/video support where canonical media supports it; working opacity, blur, scale/framing, fit, and position controls; exact persisted rendering on the surfaces they control; selected-slot live preview; fail closed for unsupported slots; preserve tenant isolation; use the official orange/yellow fist+rocket KNOCKLAUNCH OS logo. Start with the GodMode System Settings surface and implement the smallest reusable platform primitive. Gate, squash merge, deploy, and verify live."},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T12:45:24.041555+00:00","proof_gate":"mission_continuation_scope_persisted","source_sha":null,"external_id":null,"receipt_type":"mission_continuation_scope_updated","idempotency_key":"mission:70fbe12f-3368-4e94-851a-c0c875b4a4b6:mission_continuation_scope_updated:mission_continuation_scope_persisted:waiting","mission_step_id":"0d223756-946b-4cd8-8df6-080ff4cf77f9","command_center_event_id":"70fbe12f-3368-4e94-851a-c0c875b4a4b6"},{"id":"5ac7b535-d7aa-46d8-a055-cae42eb9e74b","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-b5f44bcfe851","prNumber":5169,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"0b75168bd2d411a2e672bb4cc7b529ed76a7a6a2","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-06T11:53:59.426082+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"0b75168bd2d411a2e672bb4cc7b529ed76a7a6a2","external_id":"5169","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:b5f44bcf-e851-4fce-a6c9-54ab17d5805e:merged-pr:5169:0b75168bd2d411a2e672bb4cc7b529ed76a7a6a2","mission_step_id":"0ace381b-2b3d-47c1-9e49-c6069f6e2cab","command_center_event_id":"b5f44bcf-e851-4fce-a6c9-54ab17d5805e"},{"id":"5ac90cc9-4a0a-42c1-a6e1-e8f574a85195","source":"forgejo","status":"waiting","payload":{"branch":"ai/objective-first-repair-c91c868ad6e2","prNumber":4476,"nextAction":"Follow the existing canonical release to terminal proof.","mergeCommitSha":"029620eeee0811247cd57e9a00c2e4abe2072735","branchDeletedAfterMerge":true,"correctiveGenerationCreated":false},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-02T15:28:14.028565+00:00","proof_gate":"forgejo_merged_pr_is_authoritative_source_lineage","source_sha":"029620eeee0811247cd57e9a00c2e4abe2072735","external_id":"4476","receipt_type":"source_lineage_merged_pr_authoritative","idempotency_key":"mission:c91c868a-d6e2-46e7-9769-862a965c542d:merged-pr:4476:029620eeee0811247cd57e9a00c2e4abe2072735","mission_step_id":"61a5b8e1-5ec2-49e3-b54a-e86be3efde36","command_center_event_id":"c91c868a-d6e2-46e7-9769-862a965c542d"},{"id":"5acafa38-fd3d-4949-b878-6a7e782e60f2","source":"cc-execution","status":"retryable","payload":{"ok":false,"jobId":null,"phase":"pull_request","branch":"ai/objective-first-repair-1d2c2a8e5750","reason":"retryable_provider_transport:pr_ready_timeout_budget_exhausted","status":"retryable","metrics":{"receiptBytes":61919,"releaseCount":0,"toolCallCount":32,"repeatedCallCount":26,"executorlessWaitMs":416683,"firstUsefulResultAt":"2026-10-05T16:00:36.315Z","recoveryAttemptCount":28,"ownerInterruptionCount":0},"version":"1.64.97-boring-release-v1","prNumber":4964,"terminal":false,"missionId":"1d2c2a8e-5750-4ad3-801f-c82e4dc41489","operation":"execute_mission","proofGate":"repair_mission_pr_ready_retryable","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3124,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"prReadinessMs":3000,"approvedPlanMs":0,"missionSetupMs":471,"providerAuthMs":0,"shipAndProveMs":0,"ledgerPrepareMs":238,"ledgerReconcileMs":0,"lineageReconcileMs":233,"resolvePreflightMs":471,"repositoryMutationMs":0,"repositoryProviderMs":0,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"repositoryAtomicCommitMs":0,"repositoryBranchCreateMs":0,"totalSynchronousLedgerMs":238,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0,"repositoryPullRequestCreateMs":0},"nextAction":"Reconcile this same mission and pull request automatically; do not create a replacement branch or PR.","receiptRef":{"mode":"full","missionId":"1d2c2a8e-5750-4ad3-801f-c82e4dc41489"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","visual"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":1531,"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-05T16:02:26.949558+00:00","proof_gate":"repair_mission_pr_ready_retryable","source_sha":null,"external_id":"4964","receipt_type":"execute_mission","idempotency_key":"mission:1d2c2a8e-5750-4ad3-801f-c82e4dc41489:execute_mission:repair_mission_pr_ready_retryable:current-generation","mission_step_id":"9451f1b2-e0b7-485e-a4be-f0feed0115b9","command_center_event_id":"1d2c2a8e-5750-4ad3-801f-c82e4dc41489"},{"id":"5acc8af8-864f-44eb-8c04-8c442f47231d","source":"cc-execution","status":"synthesis_required","payload":{"ok":true,"jobId":null,"phase":"implementation","branch":"ai/objective-first-repair-b17d8afd04c1","reason":null,"status":"synthesis_required","metrics":{"receiptBytes":2502,"releaseCount":0,"toolCallCount":2,"repeatedCallCount":0,"executorlessWaitMs":4749,"firstUsefulResultAt":"2026-10-04T12:49:49.056Z","recoveryAttemptCount":0,"ownerInterruptionCount":0},"version":"1.64.90-owner-contract-autocompile","prNumber":null,"terminal":false,"missionId":"b17d8afd-04c1-41dc-bd2b-5eaef397ec13","operation":"execute_mission","proofGate":"repair_mission_synthesis_ready","sourceSha":null,"timingsMs":{"gateMs":0,"proofMs":0,"handlerMs":3021,"releaseMs":0,"mutationMs":0,"repositoryMs":0,"missionSetupMs":5892,"providerAuthMs":0,"ledgerPrepareMs":5892,"ledgerReconcileMs":0,"lineageReconcileMs":0,"resolvePreflightMs":5892,"authoritativeLedgerMs":0,"ledgerAsyncDispatchMs":0,"totalSynchronousLedgerMs":5892,"asyncBookkeepingDispatchMs":0,"ledgerAuthoritativeCommitMs":0},"nextAction":"Inspect the bounded repository paths, synthesize exact files or anchored_edits, and call /mission/execute again automatically with this same missionId without another owner prompt or workflow switch.","receiptRef":{"mode":"full","missionId":"b17d8afd-04c1-41dc-bd2b-5eaef397ec13"},"performance":null,"deploymentId":null,"releaseState":null,"workflowRunId":null,"releaseTargets":null,"detailsAvailable":true,"ownerFacingState":"IN_PROGRESS","pendingProofKinds":["runtime","runtime"],"verificationState":null,"workflowInvariant":{"oneBranch":true,"oneMission":true,"oneRelease":true,"invariantScope":"repair_generation","onePullRequest":true,"terminalProofRequired":true,"correctiveGenerationsAllowed":true},"sourceReceiptBytes":5040,"likelyAffectedFiles":["workers/cc-execution/src/index-mcp.js","workers/cc-execution/src/command-center-contracts.js","workers/cc-execution/src/mission-ledger.js","src/PrivateAppShell.tsx","config/capabilities/godmode-platform-media.json","config/capabilities/tenant-website-assets-settings.json","config/capabilities/tenant-brand-character.json","config/contracts/PREHISTORIC-001-TENANT-MEDIA.json"],"ownerActionRequired":false,"ownerFacingTerminal":false,"continuationRequired":true,"requestContractState":"pending"},"tenant_id":"a3ffa31f-0c88-4fdd-b872-051db013ca3e","created_at":"2026-10-04T12:50:21.208201+00:00","proof_gate":"repair_mission_synthesis_ready","source_sha":null,"external_id":null,"receipt_type":"execute_mission","idempotency_key":"mission:b17d8afd-04c1-41dc-bd2b-5eaef397ec13:execute_mission:repair_mission_synthesis_ready:current-generation","mission_step_id":"596dc25d-aa0f-46cb-b7ef-0007fb46d154","command_center_event_id":"b17d8afd-04c1-41dc-bd2b-5eaef397ec13"}],"rows":400,"limit":400,"table":"command_center_receipts","format":"knocklaunch-table-chunk-v1","offset":14800,"schema":"public","order_key":"id"}