@oscharko-dev/keiko 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui/csp-hashes.json +7 -7
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +11 -11
- package/dist/ui/static/__next._full.txt +13 -13
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/01jy5ldd_0r_5.css +23 -0
- package/dist/ui/static/_next/static/chunks/04c8gos36pwl8.js +1 -0
- package/dist/ui/static/_next/static/chunks/06yzmh78cidsr.js +1 -0
- package/dist/ui/static/_next/static/chunks/08kdz_q929mef.js +1 -0
- package/dist/ui/static/_next/static/chunks/0mkhgmj9-jvu-.js +1 -0
- package/dist/ui/static/_next/static/chunks/0no8igw4lg7c2.js +1 -0
- package/dist/ui/static/_next/static/chunks/0qt-w4yzb50ov.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1fgcho9v65crw.js → 0rd6-ijqn28cg.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0w48lw1wvc7ig.js +1 -0
- package/dist/ui/static/_next/static/chunks/115f9zt0f5hm4.js +1 -0
- package/dist/ui/static/_next/static/chunks/18qf6y7a99idv.js +1 -0
- package/dist/ui/static/_next/static/chunks/1cjmlpaxzl17x.js +1 -0
- package/dist/ui/static/_next/static/chunks/1jfpuw9-h8iaq.js +1 -0
- package/dist/ui/static/_next/static/chunks/1mi566lu15tc0.js +1 -0
- package/dist/ui/static/_next/static/chunks/1oe16odh9-wem.js +1 -0
- package/dist/ui/static/_next/static/chunks/1ql6xdhcq4th6.js +1 -0
- package/dist/ui/static/_next/static/chunks/1rrylkj4wfhla.js +1 -0
- package/dist/ui/static/_next/static/chunks/1uxrq3q9n5v4y.js +1 -0
- package/dist/ui/static/_next/static/chunks/22yars17p-i_a.js +1 -0
- package/dist/ui/static/_next/static/chunks/2iehfums033xv.css +3 -0
- package/dist/ui/static/_next/static/chunks/2kh0qihno0n1w.js +1 -0
- package/dist/ui/static/_next/static/chunks/2p6x_6c78vqic.js +1 -0
- package/dist/ui/static/_next/static/chunks/2r-wzbygkv3rm.js +3 -0
- package/dist/ui/static/_next/static/chunks/2wtsqscjch4bx.js +1 -0
- package/dist/ui/static/_next/static/chunks/35q-v--ikwjcq.js +1 -0
- package/dist/ui/static/_next/static/chunks/36m_1433yesno.js +1 -0
- package/dist/ui/static/_next/static/chunks/37mtn-h7j8ygx.js +1 -0
- package/dist/ui/static/_next/static/chunks/37ti5e50bu145.js +1 -0
- package/dist/ui/static/_next/static/chunks/38lcc_6fqzw1l.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2vhgpp_064_st.js → 3gb3syh5vkuxt.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3gtstv3k7jsm2.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1mcajwmbse068.js → 3hs8v_qv53sil.js} +2 -2
- package/dist/ui/static/_next/static/chunks/3n4gsbv-im5ia.js +1 -0
- package/dist/ui/static/_next/static/chunks/3vnb2msty1ab4.js +1 -0
- package/dist/ui/static/_next/static/chunks/3zd1y0ze7hnsy.js +1 -0
- package/dist/ui/static/_next/static/chunks/412pf48_r8im3.js +1 -0
- package/dist/ui/static/_not-found/__next._full.txt +9 -9
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +8 -8
- package/dist/ui/static/_not-found/__next._tree.txt +1 -1
- package/dist/ui/static/_not-found.html +1 -1
- package/dist/ui/static/_not-found.txt +9 -9
- package/dist/ui/static/atlassian-connectors/__next._full.txt +11 -11
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +10 -10
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +11 -11
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +13 -13
- package/dist/ui/static/launch/__next._full.txt +13 -13
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +11 -11
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +13 -13
- package/dist/ui/static/local-knowledge/__next._full.txt +13 -13
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +11 -11
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +12 -12
- package/dist/ui/static/local-knowledge/capsule/__next._tree.txt +1 -1
- package/dist/ui/static/local-knowledge/capsule/__next.local-knowledge.capsule.__PAGE__.txt +10 -10
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +12 -12
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +13 -13
- package/node_modules/@oscharko-dev/keiko-cli/package.json +14 -14
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-connectors/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts +56 -16
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-contracts.js +81 -13
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts +724 -66
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-registry.generated.js +835 -47
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +45 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +133 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/editor-agent.js +13 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/gateway.js +4 -7
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.js +2 -2
- package/node_modules/@oscharko-dev/keiko-contracts/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-evaluations/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-git/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-git/package.json +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-harness/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-capture/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-consolidation/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-governance/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-retrieval/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts +15 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/config.js +32 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/openai-adapter.js +134 -24
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/output-token-limit.d.ts +17 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/output-token-limit.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/output-token-limit.js +32 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/readiness-probe.js +303 -14
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/package.json +4 -4
- package/node_modules/@oscharko-dev/keiko-quality-intelligence/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-sandbox/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-sdk/package.json +9 -9
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-security/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/client-diagnostics-routes.js +248 -15
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEditorMutationLeaseCoordinator.d.ts +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEditorMutationLeaseCoordinator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeEditorMutationLeaseCoordinator.js +26 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.js +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +14 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js +184 -53
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +6 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.js +27 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +4 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.js +24 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +0 -16
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts +8 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolIpc.js +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts +0 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolReadEditPorts.js +14 -20
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +11 -23
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.js +14 -23
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.d.ts +6 -19
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2ApprovalRequests.js +13 -208
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeV2HttpClient.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts +0 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionAuxiliaryPorts.js +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimePorts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimePorts.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.js +53 -51
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.js +129 -31
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-tool-facade.js +11 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/editor/agentRoutes.js +18 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-tool-calling-probe.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.js +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.js +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyRoutes.js +34 -28
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryReads.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryReads.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitRepositoryReads.js +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/provisioning.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/provisioning.js +9 -2
- package/node_modules/@oscharko-dev/keiko-server/package.json +22 -22
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/package.json +7 -7
- package/node_modules/@oscharko-dev/keiko-verification/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-workflows/package.json +10 -10
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/dist/version.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/package.json +26 -26
- package/release-impact.catalog.json +76 -0
- package/vendor/{oscharko-dev-keiko-cli-1.1.9.tgz → oscharko-dev-keiko-cli-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.1.9.tgz → oscharko-dev-keiko-connectors-1.1.10.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.1.10.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.1.9.tgz → oscharko-dev-keiko-evaluations-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-evidence-1.1.9.tgz → oscharko-dev-keiko-evidence-1.1.10.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.10.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.1.9.tgz → oscharko-dev-keiko-harness-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.1.9.tgz → oscharko-dev-keiko-local-knowledge-1.1.10.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-capture-1.1.10.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.1.9.tgz → oscharko-dev-keiko-memory-consolidation-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.1.9.tgz → oscharko-dev-keiko-memory-governance-1.1.10.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.1.10.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.1.9.tgz → oscharko-dev-keiko-memory-vault-1.1.10.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.10.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.1.9.tgz → oscharko-dev-keiko-quality-intelligence-1.1.10.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.10.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.1.10.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-security-1.1.9.tgz → oscharko-dev-keiko-security-1.1.10.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.10.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-tool-catalog-1.1.9.tgz → oscharko-dev-keiko-tool-catalog-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-tools-1.1.9.tgz → oscharko-dev-keiko-tools-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.1.9.tgz → oscharko-dev-keiko-verification-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.1.9.tgz → oscharko-dev-keiko-workflows-1.1.10.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.1.9.tgz → oscharko-dev-keiko-workspace-1.1.10.tgz} +0 -0
- package/dist/ui/static/_next/static/chunks/02i0eppipph7e.js +0 -1
- package/dist/ui/static/_next/static/chunks/03deeo56ud39g.js +0 -1
- package/dist/ui/static/_next/static/chunks/09jwu8wa22c1d.js +0 -1
- package/dist/ui/static/_next/static/chunks/0_8kv51rrhcg-.js +0 -1
- package/dist/ui/static/_next/static/chunks/0hc828_gdkyek.js +0 -3
- package/dist/ui/static/_next/static/chunks/0m0w3hleoejwg.js +0 -1
- package/dist/ui/static/_next/static/chunks/0n5hz6kjgs-3-.js +0 -1
- package/dist/ui/static/_next/static/chunks/0pgkz9ug1jhtt.js +0 -1
- package/dist/ui/static/_next/static/chunks/0qv7j1mski9o8.css +0 -17
- package/dist/ui/static/_next/static/chunks/0tt79fba99mv7.js +0 -1
- package/dist/ui/static/_next/static/chunks/0vtnpcijh-jqw.js +0 -1
- package/dist/ui/static/_next/static/chunks/0we68cbpsgepq.css +0 -1
- package/dist/ui/static/_next/static/chunks/0xxx56s32tn9r.css +0 -5
- package/dist/ui/static/_next/static/chunks/15wj80h_5chl0.js +0 -1
- package/dist/ui/static/_next/static/chunks/17lvph58d0v4m.js +0 -1
- package/dist/ui/static/_next/static/chunks/18-rkk8vbltb8.js +0 -1
- package/dist/ui/static/_next/static/chunks/19-9yyj6ksj8d.js +0 -1
- package/dist/ui/static/_next/static/chunks/1lj5se4u-t-e9.js +0 -1
- package/dist/ui/static/_next/static/chunks/1pxoon_tb72gi.js +0 -1
- package/dist/ui/static/_next/static/chunks/1unz12nl7ckz4.js +0 -1
- package/dist/ui/static/_next/static/chunks/2179tism08tgt.js +0 -1
- package/dist/ui/static/_next/static/chunks/23wd6f5u9_yck.js +0 -1
- package/dist/ui/static/_next/static/chunks/28qanioylwdin.js +0 -1
- package/dist/ui/static/_next/static/chunks/2dbr8ufwv1hwn.js +0 -1
- package/dist/ui/static/_next/static/chunks/2gfp5s1i_t9xw.js +0 -1
- package/dist/ui/static/_next/static/chunks/2iz4lys7fa5a6.js +0 -1
- package/dist/ui/static/_next/static/chunks/2l9ens2l3tayx.js +0 -1
- package/dist/ui/static/_next/static/chunks/2x2iahxszw6_z.css +0 -1
- package/dist/ui/static/_next/static/chunks/34-h9dto6z42f.js +0 -1
- package/dist/ui/static/_next/static/chunks/3408jbh7566qd.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ck5hnw0cy-nu.js +0 -1
- package/dist/ui/static/_next/static/chunks/3k6g7nzn589fs.js +0 -1
- package/dist/ui/static/_next/static/chunks/3ly6-f_52vfie.js +0 -1
- package/dist/ui/static/_next/static/chunks/3q_kn20qriqd7.js +0 -1
- package/dist/ui/static/_next/static/chunks/3s_vd83y41tei.css +0 -1
- package/dist/ui/static/_next/static/chunks/3zbk4r-6rxn7j.css +0 -2
- package/vendor/oscharko-dev-keiko-contracts-1.1.9.tgz +0 -0
- package/vendor/oscharko-dev-keiko-git-1.1.9.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-capture-1.1.9.tgz +0 -0
- package/vendor/oscharko-dev-keiko-memory-retrieval-1.1.9.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.1.9.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sandbox-1.1.9.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.1.9.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.1.9.tgz +0 -0
- /package/dist/ui/static/_next/static/{DrNOjw--SV8bpmzCpl4Sj → lA0N8Tc8KZpJTM4YAywwM}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{DrNOjw--SV8bpmzCpl4Sj → lA0N8Tc8KZpJTM4YAywwM}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{DrNOjw--SV8bpmzCpl4Sj → lA0N8Tc8KZpJTM4YAywwM}/_ssgManifest.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codingRuntimeOrchestrator.d.ts","sourceRoot":"","sources":["../../src/coding-runtime/codingRuntimeOrchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAItE,OAAO,KAAK,EAOV,2BAA2B,EAE3B,2CAA2C,EAE3C,qCAAqC,EACrC,mCAAmC,EAEnC,8BAA8B,IAAI,cAAc,EAGhD,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AA8CvC,OAAO,KAAK,EAEV,6BAA6B,EAC7B,+BAA+B,EAC/B,oCAAoC,EACrC,MAAM,qCAAqC,CAAC;AAgB7C,OAAO,KAAK,EACV,gCAAgC,EAChC,yBAAyB,EAC1B,MAAM,uCAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAEL,KAAK,0BAA0B,EAGhC,MAAM,oEAAoE,CAAC;AAM5E,YAAY,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"codingRuntimeOrchestrator.d.ts","sourceRoot":"","sources":["../../src/coding-runtime/codingRuntimeOrchestrator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAItE,OAAO,KAAK,EAOV,2BAA2B,EAE3B,2CAA2C,EAE3C,qCAAqC,EACrC,mCAAmC,EAEnC,8BAA8B,IAAI,cAAc,EAGhD,sBAAsB,EACvB,MAAM,+BAA+B,CAAC;AA8CvC,OAAO,KAAK,EAEV,6BAA6B,EA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B3B,OAAO,CAAC,4BAA4B;IAQpC,OAAO,CAAC,iBAAiB;IAmCzB,OAAO,CAAC,YAAY;IAmBpB,OAAO,CAAC,OAAO;IAGf,OAAO,CAAC,IAAI;IAGZ,OAAO,CAAC,MAAM;IAQd,OAAO,CAAC,WAAW;CAGpB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,IAAI,CAAC;AAC3C,eAAO,MAAM,4BAA4B,gXACsU,CAAC;AA0ChX,wBAAgB,+BAA+B,CAC7C,IAAI,EAAE,6BAA6B,EACnC,WAAW,CAAC,EAAE,+BAA+B,GAC5C,yBAAyB,CAE3B"}
|
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.js
CHANGED
|
@@ -254,6 +254,60 @@ const CODING_RUNTIME_APPROVAL_WAITING_OPERATION = defineActivityLogOperation({
|
|
|
254
254
|
proofIds: ["coding-runtime.approval.waiting.emitted-line"],
|
|
255
255
|
releaseImpact: "patch",
|
|
256
256
|
});
|
|
257
|
+
// 1.1.9 lab: the active approval's wait ran out without a human decision. The governed ask ends at
|
|
258
|
+
// the same instant (MAX_APPROVAL_CHALLENGE_TTL_MS is its human-decision wait), so the run stops
|
|
259
|
+
// waiting on it too. Before, the expired card stayed on screen, the model's next ask queued behind
|
|
260
|
+
// it, and neither reached a human. `replaced` names an ask that arrived after the expiry and took
|
|
261
|
+
// the expired one's place.
|
|
262
|
+
const CODING_RUNTIME_APPROVAL_RETIRED_OPERATION = defineActivityLogOperation({
|
|
263
|
+
contractKind: "activity-log-operation",
|
|
264
|
+
schemaVersion: 1,
|
|
265
|
+
op: "coding-runtime.approval.retired",
|
|
266
|
+
category: "process",
|
|
267
|
+
owner: "keiko-server",
|
|
268
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeApprovalRetired",
|
|
269
|
+
fields: {
|
|
270
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
271
|
+
revision: { type: "integer", dataClass: "count", required: true },
|
|
272
|
+
requestId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
273
|
+
reason: { type: "string", dataClass: "closed-enum", required: true, values: ["expired"] },
|
|
274
|
+
replaced: { type: "boolean", dataClass: "closed-enum", required: true },
|
|
275
|
+
},
|
|
276
|
+
causal: "correlation",
|
|
277
|
+
lifecycle: "end",
|
|
278
|
+
analyzerProjection: "timeline",
|
|
279
|
+
failureClasses: ["coding-runtime-approval-wait"],
|
|
280
|
+
proofIds: ["coding-runtime.approval.retired.emitted-line"],
|
|
281
|
+
releaseImpact: "patch",
|
|
282
|
+
});
|
|
283
|
+
// The human's decision on the run's active approval (lab 2026-09-26: an approval's POST left no
|
|
284
|
+
// coding-runtime line of its own, so approve and deny were not reconstructable from the log). A
|
|
285
|
+
// denial rejects that one step and the run goes on (owner decision 2026-09-26, ADR-0124 D6).
|
|
286
|
+
const CODING_RUNTIME_APPROVAL_DECIDED_OPERATION = defineActivityLogOperation({
|
|
287
|
+
contractKind: "activity-log-operation",
|
|
288
|
+
schemaVersion: 1,
|
|
289
|
+
op: "coding-runtime.approval.decided",
|
|
290
|
+
category: "process",
|
|
291
|
+
owner: "keiko-server",
|
|
292
|
+
emitter: "coding-runtime.codingRuntimeOrchestrator.recordRuntimeApprovalDecided",
|
|
293
|
+
fields: {
|
|
294
|
+
runId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
295
|
+
revision: { type: "integer", dataClass: "count", required: true },
|
|
296
|
+
requestId: { type: "string", dataClass: "opaque-id", required: true, maxLength: 128 },
|
|
297
|
+
decision: {
|
|
298
|
+
type: "string",
|
|
299
|
+
dataClass: "closed-enum",
|
|
300
|
+
required: true,
|
|
301
|
+
values: ["approved", "denied"],
|
|
302
|
+
},
|
|
303
|
+
},
|
|
304
|
+
causal: "correlation",
|
|
305
|
+
lifecycle: "end",
|
|
306
|
+
analyzerProjection: "timeline",
|
|
307
|
+
failureClasses: ["coding-runtime-approval-wait"],
|
|
308
|
+
proofIds: ["coding-runtime.approval.decided.emitted-line"],
|
|
309
|
+
releaseImpact: "patch",
|
|
310
|
+
});
|
|
257
311
|
const CODING_RUNTIME_RUN_OPERATOR_DECISION_OPERATION = defineActivityLogOperation({
|
|
258
312
|
contractKind: "activity-log-operation",
|
|
259
313
|
schemaVersion: 1,
|
|
@@ -786,13 +840,13 @@ function recordRuntimeLifecycleFailure(diagnostics, runId, reason) {
|
|
|
786
840
|
code: `stage=lifecycle:reason=${reason}`,
|
|
787
841
|
});
|
|
788
842
|
}
|
|
789
|
-
function
|
|
843
|
+
function recordApprovalExpiryFailure(diagnostics, runId, error) {
|
|
790
844
|
emitServerDiagnostic(diagnostics, serverDiagnosticFromError({
|
|
791
845
|
correlationId: runtimeDiagnosticCorrelationId(runId),
|
|
792
|
-
operation: "coding-runtime.
|
|
793
|
-
source: "coding-runtime-orchestrator.
|
|
846
|
+
operation: "coding-runtime.approval",
|
|
847
|
+
source: "coding-runtime-orchestrator.approval-expiry",
|
|
794
848
|
error,
|
|
795
|
-
redact: () => "Coding runtime
|
|
849
|
+
redact: () => "Coding runtime approval expiry failed.",
|
|
796
850
|
}));
|
|
797
851
|
}
|
|
798
852
|
function recordRuntimeRunStarted(activityLog, snapshot, effectiveMode, predecessorSelectionReason) {
|
|
@@ -853,6 +907,12 @@ function recordRuntimeApprovalWaiting(activityLog, runId, revision, permission,
|
|
|
853
907
|
...(queuePosition === undefined ? {} : { queuePosition }),
|
|
854
908
|
}));
|
|
855
909
|
}
|
|
910
|
+
function recordRuntimeApprovalRetired(activityLog, runId, revision, requestId, replaced) {
|
|
911
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_APPROVAL_RETIRED_OPERATION, { correlationId: runtimeDiagnosticCorrelationId(runId) }, { runId, revision, requestId, reason: "expired", replaced }));
|
|
912
|
+
}
|
|
913
|
+
function recordRuntimeApprovalDecided(activityLog, runId, revision, requestId, decision) {
|
|
914
|
+
activityLog?.write(activityLogEvent(CODING_RUNTIME_APPROVAL_DECIDED_OPERATION, { correlationId: runtimeDiagnosticCorrelationId(runId) }, { runId, revision, requestId, decision }));
|
|
915
|
+
}
|
|
856
916
|
/**
|
|
857
917
|
* The run's own record that a human decision is outstanding, and that it settled. This is what a
|
|
858
918
|
* customer's log has to reconstruct: WHICH decision blocked the run, at which revision it began
|
|
@@ -1076,6 +1136,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1076
1136
|
settledEffectiveModes = new Map();
|
|
1077
1137
|
approvals = new Map();
|
|
1078
1138
|
queuedApprovals = new Map();
|
|
1139
|
+
approvalExpiryTimers = new Map();
|
|
1079
1140
|
operations;
|
|
1080
1141
|
projection;
|
|
1081
1142
|
now;
|
|
@@ -1270,7 +1331,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1270
1331
|
const { runId } = admitted.current;
|
|
1271
1332
|
const approval = this.approvals.get(runId);
|
|
1272
1333
|
if (approval !== undefined && approval.expiresAt <= this.now().getTime()) {
|
|
1273
|
-
this.
|
|
1334
|
+
this.dropActiveApproval(runId);
|
|
1274
1335
|
return this.stopExpiredPausedRuntime(admitted.current);
|
|
1275
1336
|
}
|
|
1276
1337
|
const effectiveMode = admitted.requestedMode;
|
|
@@ -1287,6 +1348,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
1287
1348
|
this.activeEffectiveMode = effectiveModeAfterResume(transitioned, effectiveMode);
|
|
1288
1349
|
if (approval !== undefined) {
|
|
1289
1350
|
recordRuntimeApprovalWaiting(this.deps.activityLog, runId, transitioned.snapshot.revision, approval.permission);
|
|
1351
|
+
this.scheduleApprovalExpiry(runId, approval);
|
|
1290
1352
|
}
|
|
1291
1353
|
return transitioned;
|
|
1292
1354
|
}
|
|
@@ -1449,17 +1511,34 @@ export class CodingRuntimeOrchestrator {
|
|
|
1449
1511
|
if (rejection !== undefined)
|
|
1450
1512
|
return rejection;
|
|
1451
1513
|
}
|
|
1514
|
+
else {
|
|
1515
|
+
this.declineServerRaisedAsk(current.runId, challenge, actionKind);
|
|
1516
|
+
}
|
|
1452
1517
|
const permissionSettled = await this.resolveRuntimePermission(current.runId, challenge.permission.requestId, decision);
|
|
1453
1518
|
if (!permissionSettled)
|
|
1454
1519
|
return this.stopAfterApprovalFailure(current);
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
this.
|
|
1520
|
+
// A denial rejects this one step: the runtime already told the model, and the run goes on
|
|
1521
|
+
// with its next queued ask, or running (owner decision 2026-09-26, ADR-0124 D6).
|
|
1522
|
+
this.dropActiveApproval(current.runId);
|
|
1458
1523
|
const running = this.transition(current, "running");
|
|
1459
1524
|
if (!running.ok)
|
|
1460
1525
|
return running;
|
|
1461
1526
|
const live = this.current();
|
|
1462
|
-
|
|
1527
|
+
if (live === undefined)
|
|
1528
|
+
return running;
|
|
1529
|
+
recordRuntimeApprovalDecided(this.deps.activityLog, live.runId, live.revision, challenge.permission.requestId, decision);
|
|
1530
|
+
return this.promoteQueuedApproval(live);
|
|
1531
|
+
});
|
|
1532
|
+
}
|
|
1533
|
+
// A denied Git stage, commit, push or pull-request proposal was raised by the server itself, so no
|
|
1534
|
+
// child process is there to be told: its own wait is released by the decline, or the waiting call
|
|
1535
|
+
// would hold until the approval ceiling (ADR-0124 D6). Every other ask is settled by the permission
|
|
1536
|
+
// port below; the manager ignores it here.
|
|
1537
|
+
declineServerRaisedAsk(runId, challenge, actionKind) {
|
|
1538
|
+
this.deps.manager.declineApproval?.({
|
|
1539
|
+
runId,
|
|
1540
|
+
requestId: challenge.permission.requestId,
|
|
1541
|
+
actionKind,
|
|
1463
1542
|
});
|
|
1464
1543
|
}
|
|
1465
1544
|
async resolveRuntimePermission(runId, requestId, decision) {
|
|
@@ -1541,33 +1620,11 @@ export class CodingRuntimeOrchestrator {
|
|
|
1541
1620
|
return this.transition(current, "recovery-required", "recovery-required");
|
|
1542
1621
|
}
|
|
1543
1622
|
}
|
|
1544
|
-
async stopAfterPermissionDenied(current) {
|
|
1545
|
-
const stopping = this.transition(current, "stopping");
|
|
1546
|
-
if (!stopping.ok)
|
|
1547
|
-
return stopping;
|
|
1548
|
-
this.approvals.delete(current.runId);
|
|
1549
|
-
try {
|
|
1550
|
-
const stopped = await this.deps.manager.stop(current.runId);
|
|
1551
|
-
const live = this.current();
|
|
1552
|
-
if (live === undefined)
|
|
1553
|
-
return this.fail("runtime-failed");
|
|
1554
|
-
return stopped.ok
|
|
1555
|
-
? this.transition(live, "failed", "revoked")
|
|
1556
|
-
: this.transition(live, "recovery-required", "recovery-required");
|
|
1557
|
-
}
|
|
1558
|
-
catch (error) {
|
|
1559
|
-
recordRuntimeStopFailure(this.deps.diagnostics, current.runId, error);
|
|
1560
|
-
const live = this.current();
|
|
1561
|
-
return live === undefined
|
|
1562
|
-
? this.fail("runtime-failed")
|
|
1563
|
-
: this.transition(live, "recovery-required", "recovery-required");
|
|
1564
|
-
}
|
|
1565
|
-
}
|
|
1566
1623
|
stopAfterApprovalFailure(current, failureCode = "authority-resolution-failed") {
|
|
1567
1624
|
const stopping = this.transition(current, "stopping");
|
|
1568
1625
|
if (!stopping.ok)
|
|
1569
1626
|
return Promise.resolve(stopping);
|
|
1570
|
-
this.
|
|
1627
|
+
this.dropActiveApproval(current.runId);
|
|
1571
1628
|
this.queuedApprovals.delete(current.runId);
|
|
1572
1629
|
const live = this.current();
|
|
1573
1630
|
return live === undefined
|
|
@@ -1708,22 +1765,88 @@ export class CodingRuntimeOrchestrator {
|
|
|
1708
1765
|
return this.transition(current, "failed", "runtime-failed");
|
|
1709
1766
|
}
|
|
1710
1767
|
async ingestPermissionRequested(current, event) {
|
|
1711
|
-
|
|
1768
|
+
// An ask that arrives after the active one's wait ran out takes its place, never a queue slot
|
|
1769
|
+
// behind an approval nobody can decide any more (1.1.9 lab).
|
|
1770
|
+
const live = this.retireExpiredApproval(current, true);
|
|
1771
|
+
const challenge = this.approvalChallenge(live, event);
|
|
1712
1772
|
if (challenge === undefined)
|
|
1713
1773
|
return this.fail("invalid-intent");
|
|
1714
|
-
if (
|
|
1715
|
-
return await this.queueApproval(
|
|
1774
|
+
if (live.state === "awaiting-approval") {
|
|
1775
|
+
return await this.queueApproval(live, challenge);
|
|
1716
1776
|
}
|
|
1717
|
-
this.approvals.set(
|
|
1718
|
-
const next = this.transition(
|
|
1777
|
+
this.approvals.set(live.runId, challenge);
|
|
1778
|
+
const next = this.transition(live, "awaiting-approval");
|
|
1719
1779
|
if (!next.ok) {
|
|
1720
|
-
this.
|
|
1780
|
+
this.dropActiveApproval(live.runId);
|
|
1721
1781
|
}
|
|
1722
1782
|
else {
|
|
1723
|
-
recordRuntimeApprovalWaiting(this.deps.activityLog,
|
|
1783
|
+
recordRuntimeApprovalWaiting(this.deps.activityLog, live.runId, next.snapshot.revision, challenge.permission);
|
|
1784
|
+
this.scheduleApprovalExpiry(live.runId, challenge);
|
|
1724
1785
|
}
|
|
1725
1786
|
return next;
|
|
1726
1787
|
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Ends the wait on an active approval whose expiry passed without a decision: the governed ask
|
|
1790
|
+
* ended as expired at the same instant, so nothing can decide it any more. The run returns to
|
|
1791
|
+
* `running`, or to the next queued ask, under a new revision the Workbench reads. Any other state
|
|
1792
|
+
* is returned as it is.
|
|
1793
|
+
*/
|
|
1794
|
+
retireExpiredApproval(current, replaced) {
|
|
1795
|
+
const active = this.approvals.get(current.runId);
|
|
1796
|
+
if (current.state !== "awaiting-approval" ||
|
|
1797
|
+
active === undefined ||
|
|
1798
|
+
active.used ||
|
|
1799
|
+
active.expiresAt > this.now().getTime()) {
|
|
1800
|
+
return current;
|
|
1801
|
+
}
|
|
1802
|
+
this.dropActiveApproval(current.runId);
|
|
1803
|
+
const running = this.transition(current, "running");
|
|
1804
|
+
const live = this.current();
|
|
1805
|
+
if (!running.ok || live === undefined)
|
|
1806
|
+
return live ?? current;
|
|
1807
|
+
// A live queued ask is promoted first, so a late ask takes the expired one's place only when
|
|
1808
|
+
// none is waiting; otherwise it queues behind the promoted one (PR #3625 review).
|
|
1809
|
+
recordRuntimeApprovalRetired(this.deps.activityLog, live.runId, live.revision, active.permission.requestId, replaced && !this.hasLiveQueuedApproval(live.runId));
|
|
1810
|
+
this.promoteQueuedApproval(live);
|
|
1811
|
+
return this.current() ?? live;
|
|
1812
|
+
}
|
|
1813
|
+
hasLiveQueuedApproval(runId) {
|
|
1814
|
+
const nowMs = this.now().getTime();
|
|
1815
|
+
return (this.queuedApprovals.get(runId) ?? []).some((queued) => queued.expiresAt > nowMs);
|
|
1816
|
+
}
|
|
1817
|
+
// An approval that stops being the run's active one takes its expiry timer with it, so neither a
|
|
1818
|
+
// decision nor a settled run leaves a stale serialized callback behind (PR #3625 review).
|
|
1819
|
+
dropActiveApproval(runId) {
|
|
1820
|
+
this.approvals.delete(runId);
|
|
1821
|
+
clearTimeout(this.approvalExpiryTimers.get(runId));
|
|
1822
|
+
this.approvalExpiryTimers.delete(runId);
|
|
1823
|
+
}
|
|
1824
|
+
// The active approval's own expiry, so the run stops waiting at the instant its governed ask ends
|
|
1825
|
+
// (MAX_APPROVAL_CHALLENGE_TTL_MS), not only once the model asks again.
|
|
1826
|
+
scheduleApprovalExpiry(runId, challenge) {
|
|
1827
|
+
clearTimeout(this.approvalExpiryTimers.get(runId));
|
|
1828
|
+
const timer = setTimeout(() => {
|
|
1829
|
+
if (this.approvalExpiryTimers.get(runId) === timer)
|
|
1830
|
+
this.approvalExpiryTimers.delete(runId);
|
|
1831
|
+
this.serialValue(() => {
|
|
1832
|
+
this.expireActiveApproval(runId, challenge);
|
|
1833
|
+
}).catch((error) => {
|
|
1834
|
+
recordApprovalExpiryFailure(this.deps.diagnostics, runId, error);
|
|
1835
|
+
});
|
|
1836
|
+
}, Math.max(0, challenge.expiresAt - this.now().getTime()));
|
|
1837
|
+
timer.unref();
|
|
1838
|
+
this.approvalExpiryTimers.set(runId, timer);
|
|
1839
|
+
}
|
|
1840
|
+
expireActiveApproval(runId, challenge) {
|
|
1841
|
+
const current = this.current();
|
|
1842
|
+
if (current?.runId !== runId || this.approvals.get(runId) !== challenge)
|
|
1843
|
+
return;
|
|
1844
|
+
if (challenge.expiresAt > this.now().getTime()) {
|
|
1845
|
+
this.scheduleApprovalExpiry(runId, challenge);
|
|
1846
|
+
return;
|
|
1847
|
+
}
|
|
1848
|
+
this.retireExpiredApproval(current, false);
|
|
1849
|
+
}
|
|
1727
1850
|
approvalChallenge(current, event) {
|
|
1728
1851
|
if (!event.permissionRequest?.actionKind)
|
|
1729
1852
|
return undefined;
|
|
@@ -1760,32 +1883,40 @@ export class CodingRuntimeOrchestrator {
|
|
|
1760
1883
|
recordRuntimeApprovalWaiting(this.deps.activityLog, current.runId, current.revision, challenge.permission, queued.length);
|
|
1761
1884
|
return { ok: true, snapshot: this.publicSnapshotWithDescription(current) };
|
|
1762
1885
|
}
|
|
1763
|
-
|
|
1886
|
+
promoteQueuedApproval(current) {
|
|
1764
1887
|
const queued = this.queuedApprovals.get(current.runId);
|
|
1765
1888
|
if (queued === undefined) {
|
|
1766
1889
|
this.queuedApprovals.delete(current.runId);
|
|
1767
1890
|
return { ok: true, snapshot: this.publicSnapshotWithDescription(current) };
|
|
1768
1891
|
}
|
|
1769
|
-
const challenge =
|
|
1770
|
-
if (
|
|
1892
|
+
const challenge = this.nextLiveQueuedApproval(current, queued);
|
|
1893
|
+
if (queued.length === 0)
|
|
1771
1894
|
this.queuedApprovals.delete(current.runId);
|
|
1895
|
+
if (challenge === undefined) {
|
|
1772
1896
|
return { ok: true, snapshot: this.publicSnapshotWithDescription(current) };
|
|
1773
1897
|
}
|
|
1774
|
-
if (challenge.expiresAt <= this.now().getTime()) {
|
|
1775
|
-
this.queuedApprovals.delete(current.runId);
|
|
1776
|
-
return this.stopAfterApprovalFailure(current, "authority-expired");
|
|
1777
|
-
}
|
|
1778
|
-
if (queued.length === 0)
|
|
1779
|
-
this.queuedApprovals.delete(current.runId);
|
|
1780
1898
|
const promoted = { ...challenge, revision: current.revision + 1 };
|
|
1781
1899
|
this.approvals.set(current.runId, promoted);
|
|
1782
1900
|
const waiting = this.transition(current, "awaiting-approval");
|
|
1783
|
-
if (!waiting.ok)
|
|
1784
|
-
this.
|
|
1785
|
-
|
|
1786
|
-
|
|
1901
|
+
if (!waiting.ok) {
|
|
1902
|
+
this.dropActiveApproval(current.runId);
|
|
1903
|
+
return waiting;
|
|
1904
|
+
}
|
|
1905
|
+
recordRuntimeApprovalWaiting(this.deps.activityLog, current.runId, waiting.snapshot.revision, promoted.permission);
|
|
1906
|
+
this.scheduleApprovalExpiry(current.runId, promoted);
|
|
1787
1907
|
return waiting;
|
|
1788
1908
|
}
|
|
1909
|
+
// A queued ask whose wait already ran out is never shown: its governed ask ended as expired on
|
|
1910
|
+
// its own, so it is retired and the next live ask, if any, takes the card (PR #3625 review).
|
|
1911
|
+
nextLiveQueuedApproval(current, queued) {
|
|
1912
|
+
const nowMs = this.now().getTime();
|
|
1913
|
+
for (let challenge = queued.shift(); challenge !== undefined; challenge = queued.shift()) {
|
|
1914
|
+
if (challenge.expiresAt > nowMs)
|
|
1915
|
+
return challenge;
|
|
1916
|
+
recordRuntimeApprovalRetired(this.deps.activityLog, current.runId, current.revision, challenge.permission.requestId, false);
|
|
1917
|
+
}
|
|
1918
|
+
return undefined;
|
|
1919
|
+
}
|
|
1789
1920
|
ingestTaskSubmitted(current) {
|
|
1790
1921
|
if (current.state !== "running")
|
|
1791
1922
|
return this.transition(current, "running");
|
|
@@ -2839,7 +2970,7 @@ export class CodingRuntimeOrchestrator {
|
|
|
2839
2970
|
}
|
|
2840
2971
|
if (TERMINAL_STATES.has(state) || state === "recovery-required")
|
|
2841
2972
|
this.activeEffectiveMode = undefined;
|
|
2842
|
-
this.
|
|
2973
|
+
this.dropActiveApproval(next.runId);
|
|
2843
2974
|
this.queuedApprovals.delete(next.runId);
|
|
2844
2975
|
// Every settlement ends a run's continuation budget, not only the task-settlement path: a
|
|
2845
2976
|
// continued run that is stopped, taken over or moved to recovery must not keep its entry.
|
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js
CHANGED
|
@@ -751,15 +751,17 @@ const TERMINAL_TOOL_STATES = new Set([
|
|
|
751
751
|
// a call from the facade result, independently of OpenCode's part updates, and can do so before
|
|
752
752
|
// OpenCode's earlier pending or running update arrives over the event stream (a lab run of 1.1.8: a
|
|
753
753
|
// 10 ms read); only Keiko settles a call as denied or cancelled, which OpenCode then reports as a
|
|
754
|
-
// generic failure
|
|
755
|
-
//
|
|
756
|
-
//
|
|
754
|
+
// generic failure — or, since a declined or expired ask answers with the call's own refusal result
|
|
755
|
+
// (ADR-0124 D6), as a completed call. Each restates a state the call already passed and is kept as a
|
|
756
|
+
// no-op, not an omitted update (#3612). A settlement never restates pending or running, so one that
|
|
757
|
+
// tries is still a refused regression.
|
|
757
758
|
function staleOpenCodeRestatement(from, signal) {
|
|
758
759
|
if (signal.messageId === undefined || !TERMINAL_TOOL_STATES.has(from))
|
|
759
760
|
return false;
|
|
760
761
|
if (signal.state === "pending" || signal.state === "running")
|
|
761
762
|
return true;
|
|
762
|
-
return (from === "denied" || from === "cancelled") &&
|
|
763
|
+
return ((from === "denied" || from === "cancelled") &&
|
|
764
|
+
(signal.state === "failed" || signal.state === "succeeded"));
|
|
763
765
|
}
|
|
764
766
|
function allowedToolTransition(from, to) {
|
|
765
767
|
if (from === to)
|
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts
CHANGED
|
@@ -59,6 +59,8 @@ export interface CodingToolApprovalProofVerifier {
|
|
|
59
59
|
readonly consumeStage?: (runId: string, proposalId: string) => object | undefined;
|
|
60
60
|
readonly matchesCommit?: (runId: string, request: CommitToolRequest) => boolean;
|
|
61
61
|
readonly consumeCommit?: (runId: string, request: CommitToolRequest) => object | undefined;
|
|
62
|
+
/** Whether the operator declined this run's Git stage, commit, push or pull-request proposal. */
|
|
63
|
+
readonly proposalDeclined?: (runId: string, proposalId: string) => boolean;
|
|
62
64
|
readonly matches: (input: {
|
|
63
65
|
readonly runId: string;
|
|
64
66
|
readonly request: ApprovableToolRequest;
|
|
@@ -77,6 +79,11 @@ export interface CodingToolApprovalBridge extends CodingToolApprovalProofVerifie
|
|
|
77
79
|
readonly issueStage?: (runId: string, proposalId: string) => GitDeliveryIssuedApproval | undefined;
|
|
78
80
|
readonly issueCommit?: (runId: string, proposalId: string) => GitDeliveryIssuedApproval | undefined;
|
|
79
81
|
readonly commitService?: VerifiedCommitService;
|
|
82
|
+
/**
|
|
83
|
+
* Records the operator's "no" to one of this run's proposals, which the proposal's own server-side
|
|
84
|
+
* wait reads (ADR-0124 D6). A decline grants nothing: it only ends that run's wait for that id.
|
|
85
|
+
*/
|
|
86
|
+
readonly declineProposal?: (runId: string, proposalId: string) => void;
|
|
80
87
|
readonly observePermission: (input: CodingToolApprovalObservation) => boolean;
|
|
81
88
|
readonly activatePermission: (input: CodingToolApprovalActivation) => boolean;
|
|
82
89
|
readonly invalidateRun: (runId: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codingToolApprovalBridge.d.ts","sourceRoot":"","sources":["../../src/coding-runtime/codingToolApprovalBridge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAEjF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AACnF,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAGjF,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACvB,yBAAyB,EAC1B,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"codingToolApprovalBridge.d.ts","sourceRoot":"","sources":["../../src/coding-runtime/codingToolApprovalBridge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,M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EAClB,cAAc,CAAC,EAAE,MAAM,GACtB,MAAM,GAAG,SAAS,CAOpB"}
|
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.js
CHANGED
|
@@ -3,6 +3,7 @@ import { createHash, timingSafeEqual } from "node:crypto";
|
|
|
3
3
|
const MAX_PENDING_RECORDS = 64;
|
|
4
4
|
const MAX_APPROVED_RECORDS = 64;
|
|
5
5
|
const MAX_BINDING_RECORDS = 64;
|
|
6
|
+
const MAX_DECLINED_RECORDS = 64;
|
|
6
7
|
const DIGEST_PATTERN = /^[0-9a-f]{64}$/u;
|
|
7
8
|
/** The one predicate every caller uses to decide whether a request can carry a redeemable proof. */
|
|
8
9
|
export function isApprovableToolRequest(request) {
|
|
@@ -30,16 +31,22 @@ export function createCodingToolApprovalBridge(commitService, gitService, delive
|
|
|
30
31
|
const pending = new Map();
|
|
31
32
|
const approved = new Map();
|
|
32
33
|
const bindings = new Map();
|
|
34
|
+
const declined = new Set();
|
|
33
35
|
return {
|
|
34
36
|
...(commitService === undefined ? {} : commitApprovalMethods(commitService)),
|
|
35
37
|
...(gitService === undefined ? {} : stageApprovalMethods(gitService)),
|
|
36
38
|
...(deliveryService === undefined ? {} : deliveryApprovalMethods(deliveryService)),
|
|
39
|
+
declineProposal: (runId, proposalId) => {
|
|
40
|
+
recordDecline(declined, runId, proposalId);
|
|
41
|
+
},
|
|
42
|
+
proposalDeclined: (runId, proposalId) => declined.has(permissionKey(runId, proposalId)),
|
|
37
43
|
observePermission: (input) => observePermission(pending, approved, bindings, input),
|
|
38
44
|
activatePermission: (input) => activatePermission(pending, approved, bindings, input),
|
|
39
45
|
matches: (input) => matchesApprovedAction(approved, input),
|
|
40
46
|
consume: (input) => consumeApprovedAction(approved, input),
|
|
41
47
|
invalidateRun: (runId) => {
|
|
42
48
|
invalidateRun(pending, approved, bindings, runId);
|
|
49
|
+
forgetRunKeys(declined, runId);
|
|
43
50
|
commitService?.invalidate();
|
|
44
51
|
gitService?.invalidate();
|
|
45
52
|
deliveryService?.invalidate();
|
|
@@ -196,6 +203,26 @@ export function codingToolVerificationApprovalTargetId(verifierId, targetPathHas
|
|
|
196
203
|
}
|
|
197
204
|
return targetPathHash === undefined ? verifierId : undefined;
|
|
198
205
|
}
|
|
206
|
+
// Keyed by run and proposal, so a decline can only ever end that run's own wait for that id.
|
|
207
|
+
// Bounded like every other record here: the oldest decline goes first, and a run's declines leave
|
|
208
|
+
// with the run.
|
|
209
|
+
function recordDecline(declined, runId, proposalId) {
|
|
210
|
+
const key = permissionKey(runId, proposalId);
|
|
211
|
+
declined.delete(key);
|
|
212
|
+
declined.add(key);
|
|
213
|
+
if (declined.size <= MAX_DECLINED_RECORDS)
|
|
214
|
+
return;
|
|
215
|
+
const oldest = declined.values().next().value;
|
|
216
|
+
if (oldest !== undefined)
|
|
217
|
+
declined.delete(oldest);
|
|
218
|
+
}
|
|
219
|
+
function forgetRunKeys(keys, runId) {
|
|
220
|
+
const prefix = `${runId}\u0000`;
|
|
221
|
+
for (const key of keys) {
|
|
222
|
+
if (key.startsWith(prefix))
|
|
223
|
+
keys.delete(key);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
199
226
|
function permissionKey(runId, requestId) {
|
|
200
227
|
return `${runId}\u0000${requestId}`;
|
|
201
228
|
}
|
|
@@ -10,11 +10,9 @@ export interface CodingToolFacadeCreateOptions extends CodingToolFacadeOptions {
|
|
|
10
10
|
readonly catalogBridge?: CanonicalCatalogFacadeBridge | undefined;
|
|
11
11
|
}
|
|
12
12
|
export declare function createCodingToolFacade(ports: CodingToolFacadePorts, options?: CodingToolFacadeCreateOptions): CodingToolFacade;
|
|
13
|
-
/**
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
*/
|
|
18
|
-
export declare function staleEditBaseToolResult(staleFile: string): CodingToolResult;
|
|
13
|
+
/** The feedback a declined or expired step gives the model in place of the call (ADR-0124 D6). */
|
|
14
|
+
export declare function humanDecisionFeedback(outcome: "denied" | "expired"): string;
|
|
15
|
+
/** The result a declined or expired governed ask answers in place of its call (ADR-0124 D6). */
|
|
16
|
+
export declare function humanDecisionToolResult(outcome: "denied" | "expired"): CodingToolResult;
|
|
19
17
|
export {};
|
|
20
18
|
//# sourceMappingURL=codingToolFacade.d.ts.map
|
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codingToolFacade.d.ts","sourceRoot":"","sources":["../../src/coding-runtime/codingToolFacade.ts"],"names":[],"mappings":"AAoCA,OAAO,EAYL,KAAK,gBAAgB,
|
|
1
|
+
{"version":3,"file":"codingToolFacade.d.ts","sourceRoot":"","sources":["../../src/coding-runtime/codingToolFacade.ts"],"names":[],"mappings":"AAoCA,OAAO,EAYL,KAAK,gBAAgB,EAMtB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAEV,gBAAgB,EAEhB,uBAAuB,EACvB,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AAoDpC,QAAA,MAAM,kCAAkC,YACtC,gCAAgC,EAChC,mCAAmC,EACnC,qBAAqB,EACrB,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,CACd,CAAC;AACX,MAAM,MAAM,8BAA8B,GAAG,CAAC,OAAO,kCAAkC,CAAC,CAAC,MAAM,CAAC,CAAC;AAyCjG,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,4CAA4C,CAAC;AAM/F,MAAM,WAAW,6BAA8B,SAAQ,uBAAuB;IAC5E;;gGAE4F;IAC5F,QAAQ,CAAC,aAAa,CAAC,EAAE,4BAA4B,GAAG,SAAS,CAAC;CACnE;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,qBAAqB,EAC5B,OAAO,GAAE,6BAAkC,GAC1C,gBAAgB,CAalB;AAwpBD,kGAAkG;AAClG,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,QAAQ,GAAG,SAAS,GAAG,MAAM,CAE3E;AAED,gGAAgG;AAChG,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,QAAQ,GAAG,SAAS,GAAG,gBAAgB,CAMvF"}
|
|
@@ -14,7 +14,7 @@ import { validateAuxiliaryCapabilityOutcomeV1 } from "@oscharko-dev/keiko-contra
|
|
|
14
14
|
import { validateSkillDiscoveryResultV1 } from "@oscharko-dev/keiko-contracts/runtime/coding-skill-discovery";
|
|
15
15
|
import { isRootRelativeFileIdentifier } from "@oscharko-dev/keiko-contracts/runtime/editor-workspace-path";
|
|
16
16
|
import { isVerificationDependencySummary, isVerificationFailureLocation, VERIFICATION_DEPENDENCY_FAILURE_STATES, VERIFICATION_OUTPUT_EXCERPT_MAX_CHARS, } from "@oscharko-dev/keiko-contracts/runtime/verification";
|
|
17
|
-
import { CODING_TOOL_MAX_BODY_BYTES, CODING_TOOL_MAX_IN_FLIGHT, CODING_TOOL_MAX_READ_BYTES, CODING_TOOL_VERIFICATION_FAILURE_MAX_LOCATIONS, CODING_TOOL_VERIFICATION_SUMMARY_MAX_CHARS, dependencyBootstrapFailureSummary, isPermissionObservation, parseCodingToolRequest, } from "./codingToolIpc.js";
|
|
17
|
+
import { CODING_TOOL_MAX_BODY_BYTES, CODING_TOOL_MAX_IN_FLIGHT, CODING_TOOL_MAX_READ_BYTES, CODING_TOOL_VERIFICATION_FAILURE_MAX_LOCATIONS, CODING_TOOL_VERIFICATION_SUMMARY_MAX_CHARS, dependencyBootstrapFailureSummary, isPermissionObservation, parseCodingToolRequest, GOVERNED_ASK_DECLINED_REASON_CODE, } from "./codingToolIpc.js";
|
|
18
18
|
import { VERIFICATION_RUNNER_ERROR_CODES, } from "../editor/verificationRunnerErrors.js";
|
|
19
19
|
const READ_DIGEST = /^[a-f0-9]{64}$/u;
|
|
20
20
|
const VERIFICATION_FAILURE_SUMMARY = /^(?:test|targeted-test|typecheck|lint|build) failed; (?:0|[2-8]) structured failure locations$|^(?:test|targeted-test|typecheck|lint|build) failed; 1 structured failure location$/u;
|
|
@@ -449,6 +449,10 @@ function projectSearch(request, value) {
|
|
|
449
449
|
}
|
|
450
450
|
function projectGovernedFailure(request, value) {
|
|
451
451
|
const reasonCode = value.reasonCode;
|
|
452
|
+
// The operator declined a server-raised ask (a Git stage, commit, push or pull-request proposal):
|
|
453
|
+
// the same decision as a declined step, so the model reads why and goes on (ADR-0124 D6).
|
|
454
|
+
if (reasonCode === GOVERNED_ASK_DECLINED_REASON_CODE)
|
|
455
|
+
return humanDecisionToolResult("denied");
|
|
452
456
|
if (typeof reasonCode !== "string" || !GOVERNED_FAILURE_REASON_CODES.has(reasonCode)) {
|
|
453
457
|
return projected("failed");
|
|
454
458
|
}
|
|
@@ -617,6 +621,10 @@ function projectEditFailure(request, value) {
|
|
|
617
621
|
if (request.action !== "edit" || value.outcome !== "failed")
|
|
618
622
|
return undefined;
|
|
619
623
|
const reasonCode = value.reasonCode;
|
|
624
|
+
// The human rejected the change in its review, the only approval an edit asks for: the same
|
|
625
|
+
// decision as a declined step, so the model reads why and goes on without it (ADR-0124 D6).
|
|
626
|
+
if (reasonCode === "CHANGE_REJECTED")
|
|
627
|
+
return humanDecisionToolResult("denied");
|
|
620
628
|
const safeReasonCode = typeof reasonCode === "string" && EDIT_FAILURE_REASON_CODES.has(reasonCode)
|
|
621
629
|
? reasonCode
|
|
622
630
|
: undefined;
|
|
@@ -637,15 +645,22 @@ function editFailureCoaching(reasonCode, message) {
|
|
|
637
645
|
...(guidance === undefined ? {} : { guidance }),
|
|
638
646
|
};
|
|
639
647
|
}
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
648
|
+
// Owner decision 2026-09-26 (ADR-0124 D6): a human's "no" rejects one step, not the run. The model
|
|
649
|
+
// reads why the step did not happen and goes on without it.
|
|
650
|
+
const HUMAN_DECISION_GUIDANCE = {
|
|
651
|
+
denied: "The user declined this step, so it was not performed. Do not repeat it; continue with the rest of the task without it, or ask the user how to proceed.",
|
|
652
|
+
expired: "Nobody decided this approval in time, so the step was not performed. Continue with the rest of the task without it, or ask the user before trying it again.",
|
|
653
|
+
};
|
|
654
|
+
/** The feedback a declined or expired step gives the model in place of the call (ADR-0124 D6). */
|
|
655
|
+
export function humanDecisionFeedback(outcome) {
|
|
656
|
+
return HUMAN_DECISION_GUIDANCE[outcome];
|
|
657
|
+
}
|
|
658
|
+
/** The result a declined or expired governed ask answers in place of its call (ADR-0124 D6). */
|
|
659
|
+
export function humanDecisionToolResult(outcome) {
|
|
646
660
|
return {
|
|
647
|
-
|
|
648
|
-
|
|
661
|
+
status: outcome === "denied" ? "denied" : "cancelled",
|
|
662
|
+
evidence: [],
|
|
663
|
+
guidance: HUMAN_DECISION_GUIDANCE[outcome],
|
|
649
664
|
};
|
|
650
665
|
}
|
|
651
666
|
function projectAuxiliary(request, value) {
|
package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts
CHANGED
|
@@ -55,23 +55,7 @@ export interface CodingToolFacadeInput {
|
|
|
55
55
|
readonly headers?: Headers | Readonly<Record<string, string | undefined>> | undefined;
|
|
56
56
|
readonly signal?: AbortSignal | undefined;
|
|
57
57
|
}
|
|
58
|
-
/** What a governed read of an asked file answers for an edit ask's base check (#3612). */
|
|
59
|
-
export type CodingToolEditBaseRead = {
|
|
60
|
-
readonly kind: "digest";
|
|
61
|
-
readonly digest: string;
|
|
62
|
-
} | {
|
|
63
|
-
readonly kind: "unreadable";
|
|
64
|
-
} | {
|
|
65
|
-
readonly kind: "authority-denied";
|
|
66
|
-
};
|
|
67
58
|
export interface CodingToolFacade {
|
|
68
59
|
readonly execute: (input: CodingToolFacadeInput) => Promise<CodingToolResult>;
|
|
69
|
-
/**
|
|
70
|
-
* The digest a governed read of the file reports now (#3612), whether the read cannot answer for
|
|
71
|
-
* it, or whether the run's live authority, for this capability, does not admit the read at all.
|
|
72
|
-
* The governed ask checks a changeset's base digests with it before any human is asked; a facade
|
|
73
|
-
* without it leaves that check to the editor route after the approval.
|
|
74
|
-
*/
|
|
75
|
-
readonly editBaseDigest?: ((capability: string | undefined, relativePath: string, signal: AbortSignal) => Promise<CodingToolEditBaseRead>) | undefined;
|
|
76
60
|
}
|
|
77
61
|
//# sourceMappingURL=codingToolFacadePorts.d.ts.map
|