@oscharko-dev/keiko 1.3.3 → 1.3.5
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/README.md +18 -0
- package/dist/ui/csp-hashes.json +6 -6
- package/dist/ui/static/404.html +1 -1
- package/dist/ui/static/__next.__PAGE__.txt +15 -15
- package/dist/ui/static/__next._full.txt +15 -15
- package/dist/ui/static/__next._index.txt +5 -5
- package/dist/ui/static/__next._tree.txt +2 -2
- package/dist/ui/static/_next/static/chunks/0-i2xjcha5mb7.js +1 -0
- package/dist/ui/static/_next/static/chunks/{36k6xayb_mepf.js → 06g3oe93r_678.js} +1 -1
- package/dist/ui/static/_next/static/chunks/0djrsx1yq9q3r.js +3 -0
- package/dist/ui/static/_next/static/chunks/{0hdqqtdtlw3ti.js → 0r77lkincf-_m.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1jw91zv_4zsq5.js → 0z_5240lhcdze.js} +1 -1
- package/dist/ui/static/_next/static/chunks/137dt5kr-1__b.js +1 -0
- package/dist/ui/static/_next/static/chunks/13ov-3t5gszyf.js +1 -0
- package/dist/ui/static/_next/static/chunks/1_rx0zd2gpqyu.js +1 -0
- package/dist/ui/static/_next/static/chunks/{0x35q9z0tiicw.js → 1buzq8xbrkl5r.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1fkf-yv61zx2b.js +1 -0
- package/dist/ui/static/_next/static/chunks/{2dxbsvbfd0b2d.js → 1i-keu61dby7z.js} +1 -1
- package/dist/ui/static/_next/static/chunks/1pqcljp4_2qe3.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1uly-k9l4q3bk.js → 2-i--dmljgxls.js} +1 -1
- package/dist/ui/static/_next/static/chunks/21y9ezefwidlf.js +1 -0
- package/dist/ui/static/_next/static/chunks/23azcdt9vudem.js +1 -0
- package/dist/ui/static/_next/static/chunks/{06d6c74v_hg_g.js → 28jbqfl7obckb.js} +1 -1
- package/dist/ui/static/_next/static/chunks/28os13ehcs0w8.js +1 -0
- package/dist/ui/static/_next/static/chunks/28qkmmimb75ae.css +4 -0
- package/dist/ui/static/_next/static/chunks/{2o7pr5mit74id.css → 29xkz3907owjy.css} +3 -3
- package/dist/ui/static/_next/static/chunks/{3l06hi3xkcn82.js → 2l7fx-klib93f.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{249nvi2mcd8y_.js → 2qrbagnu1-dgt.js} +1 -1
- package/dist/ui/static/_next/static/chunks/2rn7qy5l22wex.js +1 -0
- package/dist/ui/static/_next/static/chunks/2svyhwq3u6czg.js +1 -0
- package/dist/ui/static/_next/static/chunks/2tf596skd93nv.js +1 -0
- package/dist/ui/static/_next/static/chunks/2wfyqggh0fnqz.js +1 -0
- package/dist/ui/static/_next/static/chunks/35ha_z9n1aouj.js +4 -0
- package/dist/ui/static/_next/static/chunks/368errcbd6o_y.js +1 -0
- package/dist/ui/static/_next/static/chunks/371e736g0zot0.js +1 -0
- package/dist/ui/static/_next/static/chunks/37j3f91kw2ss1.js +1 -0
- package/dist/ui/static/_next/static/chunks/{1lx_k4r3_3_k8.js → 3apw-eem5wchc.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3chl41-ji247o.js +2 -0
- package/dist/ui/static/_next/static/chunks/3fvxpzfnyqrqy.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3_xj8v4_gq-15.js → 3jclkr9npha_g.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{1hv5i64znwlbu.js → 3ktuwnqu-kln5.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3p88bedlr67z3.js +1 -0
- package/dist/ui/static/_next/static/chunks/3pfzo7lskb82h.js +1 -0
- package/dist/ui/static/_next/static/chunks/{15iwz3570nbcl.js → 3ram28kwenqtb.js} +1 -1
- package/dist/ui/static/_next/static/chunks/3vcan7x5acmin.js +1 -0
- package/dist/ui/static/_next/static/chunks/3w2jrdn8n3a_q.js +1 -0
- package/dist/ui/static/_next/static/chunks/3xximf7pr40jh.js +1 -0
- package/dist/ui/static/_next/static/chunks/{3p6jy_na2pnh8.js → 42ujh8mqvkem7.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{32bpm9l-zxjtg.js → 431tcidb2ski1.js} +1 -1
- package/dist/ui/static/_next/static/chunks/{175-dw1j1dsnt.js → 44q6rup2gv3_v.js} +3 -3
- package/dist/ui/static/_not-found/__next._full.txt +5 -5
- package/dist/ui/static/_not-found/__next._index.txt +5 -5
- package/dist/ui/static/_not-found/__next._not-found.__PAGE__.txt +5 -5
- 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 +5 -5
- package/dist/ui/static/atlassian-connectors/__next._full.txt +5 -5
- package/dist/ui/static/atlassian-connectors/__next._index.txt +5 -5
- package/dist/ui/static/atlassian-connectors/__next._tree.txt +1 -1
- package/dist/ui/static/atlassian-connectors/__next.atlassian-connectors.__PAGE__.txt +5 -5
- package/dist/ui/static/atlassian-connectors.html +1 -1
- package/dist/ui/static/atlassian-connectors.txt +5 -5
- package/dist/ui/static/index.html +1 -1
- package/dist/ui/static/index.txt +15 -15
- package/dist/ui/static/launch/__next._full.txt +15 -15
- package/dist/ui/static/launch/__next._index.txt +5 -5
- package/dist/ui/static/launch/__next._tree.txt +2 -2
- package/dist/ui/static/launch/__next.launch.__PAGE__.txt +15 -15
- package/dist/ui/static/launch.html +1 -1
- package/dist/ui/static/launch.txt +15 -15
- package/dist/ui/static/local-knowledge/__next._full.txt +15 -15
- package/dist/ui/static/local-knowledge/__next._index.txt +5 -5
- package/dist/ui/static/local-knowledge/__next._tree.txt +2 -2
- package/dist/ui/static/local-knowledge/__next.local-knowledge.__PAGE__.txt +15 -15
- package/dist/ui/static/local-knowledge/capsule/__next._full.txt +7 -7
- package/dist/ui/static/local-knowledge/capsule/__next._index.txt +5 -5
- 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 +7 -7
- package/dist/ui/static/local-knowledge/capsule.html +1 -1
- package/dist/ui/static/local-knowledge/capsule.txt +7 -7
- package/dist/ui/static/local-knowledge.html +1 -1
- package/dist/ui/static/local-knowledge.txt +15 -15
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory-data.generated.json +27 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-code-inventory.generated.js +12 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/dist/reader/support-registry-history.generated.js +17 -1
- package/node_modules/@oscharko-dev/keiko-activity-log/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-cli/package.json +15 -15
- package/node_modules/@oscharko-dev/keiko-connectors/dist/version.d.ts +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 +44 -4
- 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 +58 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-failure-class-coverage.generated.json +383 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-identity.generated.js +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operation-surfaces.generated.json +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts +326 -11
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/activity-log-operations.generated.js +403 -4
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-delivery.js +9 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.d.ts +24 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-runtime-git.js +38 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts +17 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-safe-activity.js +23 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench-runtime-api.js +25 -8
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/coding-workbench.js +4 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts +21 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/diagnostics.js +64 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.d.ts +78 -2
- package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/draft-delivery.js +89 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts +3 -3
- package/node_modules/@oscharko-dev/keiko-contracts/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts +19 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-contracts/dist/task-workspace.js +49 -0
- package/node_modules/@oscharko-dev/keiko-contracts/dist/version.d.ts +2 -2
- 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/compaction-evidence.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/compaction-evidence.js +29 -53
- package/node_modules/@oscharko-dev/keiko-evidence/dist/index.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/index.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/index.js +1 -1
- package/node_modules/@oscharko-dev/keiko-evidence/dist/version.d.ts +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.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.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.js +1 -1
- package/node_modules/@oscharko-dev/keiko-local-knowledge/package.json +5 -5
- package/node_modules/@oscharko-dev/keiko-mcp/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-memory-capture/dist/version.d.ts +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.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.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.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.js +1 -1
- package/node_modules/@oscharko-dev/keiko-memory-vault/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/http.js +43 -4
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-token-accounting.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/prompt-token-accounting.js +4 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/rerank-adapter.js +5 -2
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/speech-to-text-adapter.js +52 -13
- package/node_modules/@oscharko-dev/keiko-model-gateway/dist/version.d.ts +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.js +1 -1
- package/node_modules/@oscharko-dev/keiko-security/package.json +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/activity-line-fields.js +23 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraChatMutation.js +6 -45
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/atlassian/jiraMutationResult.js +48 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-call.js +41 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-compaction-model-summary.js +138 -26
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-context-status.js +19 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.d.ts +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-checkpoint.js +85 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts +24 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-continuity-log.js +101 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-handlers.js +10 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-rehydration.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-rehydration.js +149 -52
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/chat-history-snapshot.js +20 -0
- 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 +52 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.d.ts +17 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/boundedRunRecords.js +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts +84 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodBinding.js +193 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts +37 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingJiraPodMcp.js +304 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeActivityOperations.d.ts +4 -4
- 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 +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiReadinessStore.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeCiRepairBudgetStore.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliverySource.js +3 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliveryStore.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeDraftDeliveryStore.js +14 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.d.ts +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeGitIpc.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeManager.d.ts +2 -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 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestrator.d.ts +1 -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 +15 -6
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeOrchestratorTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts +3 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingRuntimeStartConfirmation.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingSafeActivityProjection.js +45 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolApprovalBridge.d.ts +15 -2
- 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 +9 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolAuthorityPort.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacade.d.ts +6 -0
- 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 +112 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolFacadePorts.d.ts +16 -0
- 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 +10 -0
- 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 +30 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolNativeEffect.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/codingToolNativeEffect.js +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/devLaneRuntimeProcessBackend.js +10 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedSyncHeads.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedSyncHeads.js +3 -13
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.d.ts +38 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedTaskBranches.js +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/governedToolModelContent.js +28 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts +11 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/launchFailure.js +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/nativeRuntimeProcessBackend.js +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeLaunchProfile.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeContext.js +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeDeliveryTools.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.d.ts +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeMcp.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativePolicy.js +58 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeWorktree.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeNativeWorktree.js +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocol.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeProtocol.js +12 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRevert.js +10 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeAdapter.js +61 -44
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeRuntimeComposition.d.ts +5 -0
- 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 +21 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts +37 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/opencodeToolSchemas.js +23 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCiRepairRuntime.js +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts +13 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionCodingRuntimeResolver.js +95 -9
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryDependencies.js +122 -18
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionDraftDeliveryRuntime.js +11 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionManagedWorktreeTools.d.ts +6 -0
- 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 +164 -42
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeActivation.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionOpenCodeBackend.js +22 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeGitPreparation.js +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionRuntimeWorkspaceAuthority.js +30 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.d.ts +26 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionTaskBranchPort.js +36 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.d.ts +8 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/productionVerifiedCommitRuntime.js +17 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeAuthorityService.js +22 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/runtimeGatewayProcessSandbox.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-runtime/supervisedCodingPolicy.js +3 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/coding-sidecar-gateway.d.ts +8 -0
- 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 +199 -38
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/deps.js +74 -21
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/diagnostics-log.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-readiness.d.ts +45 -12
- 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 +239 -151
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-setup.js +18 -7
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gateway-startup.js +8 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciObservationService.js +7 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/ciReadinessSnapshot.js +5 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryChecksRefresh.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryEffects.js +39 -12
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.d.ts +17 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryFacts.js +79 -10
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryLedger.js +21 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.d.ts +8 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryService.js +152 -21
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.d.ts +31 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryServiceTestSupport.js +51 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts +6 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTemplate.js +9 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.d.ts +41 -3
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/draftDeliveryTypes.js +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/execution.d.ts +8 -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 +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyObservationService.d.ts +2 -2
- 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 +4 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.d.ts +2 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/journeyOutcome.js +4 -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 +5 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/prMarkReadyExecution.js +6 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.d.ts +74 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitBranch.js +188 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.d.ts +10 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/runtimeGitService.js +103 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.js +12 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.js +97 -14
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts +9 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitTypes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.d.ts +6 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitVerification.js +28 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-conversation-continuity.js +17 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/grounded-rerank-facade.js +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/mcp/mcpCredentialRelay.js +14 -27
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.d.ts +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/memory-embedding.js +10 -5
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/observability/route-template.js +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/routes.js +2 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatContinuity.js +85 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.d.ts +4 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearch.js +59 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.d.ts +2 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/chatHistorySearchSchema.js +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/codingHistoryIsolation.js +17 -4
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/db.js +5 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/legacySchemaTestFixture.js +14 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts +9 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/messages.js +76 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/schema.js +30 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts +27 -2
- package/node_modules/@oscharko-dev/keiko-server/dist/store/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/activity-log.d.ts +21 -1
- 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 +46 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.d.ts +7 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/canonical-root.js +21 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.d.ts +18 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.d.ts.map +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/folder-workspace.js +151 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts +7 -8
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/local-checkout.js +91 -53
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts +1 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/routes.js +40 -11
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/store.js +4 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts +16 -0
- package/node_modules/@oscharko-dev/keiko-server/dist/task-workspace/types.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-server/dist/tool-catalog/catalogToolFacadeBridge.js +8 -0
- package/node_modules/@oscharko-dev/keiko-server/package.json +25 -25
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tool-catalog/dist/opencode.js +34 -3
- package/node_modules/@oscharko-dev/keiko-tool-catalog/package.json +3 -3
- package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.d.ts.map +1 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/git-mutation-node.js +14 -1
- package/node_modules/@oscharko-dev/keiko-tools/dist/version.d.ts +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.js +1 -1
- package/node_modules/@oscharko-dev/keiko-workspace/package.json +3 -3
- package/node_modules/@sigstore/tuf/LICENSE +202 -0
- package/node_modules/@sigstore/tuf/README.md +69 -0
- package/node_modules/@sigstore/tuf/dist/appdata.d.ts +1 -0
- package/node_modules/@sigstore/tuf/dist/appdata.js +43 -0
- package/node_modules/@sigstore/tuf/dist/client.d.ts +23 -0
- package/node_modules/@sigstore/tuf/dist/client.js +116 -0
- package/node_modules/@sigstore/tuf/dist/error.d.ts +11 -0
- package/node_modules/@sigstore/tuf/dist/error.js +14 -0
- package/node_modules/@sigstore/tuf/dist/index.d.ts +10 -0
- package/node_modules/@sigstore/tuf/dist/index.js +56 -0
- package/node_modules/@sigstore/tuf/dist/target.d.ts +2 -0
- package/node_modules/@sigstore/tuf/dist/target.js +79 -0
- package/node_modules/@sigstore/tuf/package.json +33 -0
- package/node_modules/@sigstore/tuf/seeds.json +1 -0
- package/node_modules/@tufjs/models/LICENSE +21 -0
- package/node_modules/@tufjs/models/README.md +3 -0
- package/node_modules/@tufjs/models/dist/base.d.ts +37 -0
- package/node_modules/@tufjs/models/dist/base.js +96 -0
- package/node_modules/@tufjs/models/dist/delegations.d.ts +32 -0
- package/node_modules/@tufjs/models/dist/delegations.js +119 -0
- package/node_modules/@tufjs/models/dist/error.d.ts +12 -0
- package/node_modules/@tufjs/models/dist/error.js +27 -0
- package/node_modules/@tufjs/models/dist/file.d.ts +38 -0
- package/node_modules/@tufjs/models/dist/file.js +191 -0
- package/node_modules/@tufjs/models/dist/index.d.ts +10 -0
- package/node_modules/@tufjs/models/dist/index.js +24 -0
- package/node_modules/@tufjs/models/dist/key.d.ts +21 -0
- package/node_modules/@tufjs/models/dist/key.js +90 -0
- package/node_modules/@tufjs/models/dist/metadata.d.ts +47 -0
- package/node_modules/@tufjs/models/dist/metadata.js +165 -0
- package/node_modules/@tufjs/models/dist/role.d.ts +103 -0
- package/node_modules/@tufjs/models/dist/role.js +310 -0
- package/node_modules/@tufjs/models/dist/root.d.ts +29 -0
- package/node_modules/@tufjs/models/dist/root.js +119 -0
- package/node_modules/@tufjs/models/dist/signature.d.ts +20 -0
- package/node_modules/@tufjs/models/dist/signature.js +40 -0
- package/node_modules/@tufjs/models/dist/snapshot.d.ts +23 -0
- package/node_modules/@tufjs/models/dist/snapshot.js +72 -0
- package/node_modules/@tufjs/models/dist/targets.d.ts +20 -0
- package/node_modules/@tufjs/models/dist/targets.js +94 -0
- package/node_modules/@tufjs/models/dist/timestamp.d.ts +21 -0
- package/node_modules/@tufjs/models/dist/timestamp.js +59 -0
- package/node_modules/@tufjs/models/dist/utils/guard.d.ts +7 -0
- package/node_modules/@tufjs/models/dist/utils/guard.js +32 -0
- package/node_modules/@tufjs/models/dist/utils/index.d.ts +3 -0
- package/node_modules/@tufjs/models/dist/utils/index.js +38 -0
- package/node_modules/@tufjs/models/dist/utils/key.d.ts +8 -0
- package/node_modules/@tufjs/models/dist/utils/key.js +142 -0
- package/node_modules/@tufjs/models/dist/utils/oid.d.ts +1 -0
- package/node_modules/@tufjs/models/dist/utils/oid.js +26 -0
- package/node_modules/@tufjs/models/dist/utils/types.d.ts +4 -0
- package/node_modules/@tufjs/models/dist/utils/types.js +2 -0
- package/node_modules/@tufjs/models/dist/utils/verify.d.ts +3 -0
- package/node_modules/@tufjs/models/dist/utils/verify.js +13 -0
- package/node_modules/@tufjs/models/package.json +34 -0
- package/node_modules/tuf-js/LICENSE +21 -0
- package/node_modules/tuf-js/README.md +3 -0
- package/node_modules/tuf-js/dist/config.d.ts +15 -0
- package/node_modules/tuf-js/dist/config.js +16 -0
- package/node_modules/tuf-js/dist/error.d.ts +22 -0
- package/node_modules/tuf-js/dist/error.js +49 -0
- package/node_modules/tuf-js/dist/fetcher.d.ts +25 -0
- package/node_modules/tuf-js/dist/fetcher.js +131 -0
- package/node_modules/tuf-js/dist/index.d.ts +6 -0
- package/node_modules/tuf-js/dist/index.js +9 -0
- package/node_modules/tuf-js/dist/store.d.ts +18 -0
- package/node_modules/tuf-js/dist/store.js +219 -0
- package/node_modules/tuf-js/dist/updater.d.ts +35 -0
- package/node_modules/tuf-js/dist/updater.js +373 -0
- package/node_modules/tuf-js/dist/utils/tmpfile.d.ts +3 -0
- package/node_modules/tuf-js/dist/utils/tmpfile.js +25 -0
- package/node_modules/tuf-js/dist/utils/url.d.ts +1 -0
- package/node_modules/tuf-js/dist/utils/url.js +13 -0
- package/node_modules/tuf-js/package.json +35 -0
- package/package.json +42 -34
- package/release-impact.catalog.json +188 -23
- package/vendor/oscharko-dev-keiko-activity-log-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-cli-1.3.3.tgz → oscharko-dev-keiko-cli-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-connectors-1.3.3.tgz → oscharko-dev-keiko-connectors-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-evaluations-1.3.3.tgz → oscharko-dev-keiko-evaluations-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-git-1.3.3.tgz → oscharko-dev-keiko-git-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-harness-1.3.3.tgz → oscharko-dev-keiko-harness-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-local-knowledge-1.3.3.tgz → oscharko-dev-keiko-local-knowledge-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-mcp-1.3.3.tgz → oscharko-dev-keiko-mcp-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-capture-1.3.3.tgz → oscharko-dev-keiko-memory-capture-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-consolidation-1.3.3.tgz → oscharko-dev-keiko-memory-consolidation-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-governance-1.3.3.tgz → oscharko-dev-keiko-memory-governance-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-retrieval-1.3.3.tgz → oscharko-dev-keiko-memory-retrieval-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-memory-vault-1.3.3.tgz → oscharko-dev-keiko-memory-vault-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-quality-intelligence-1.3.3.tgz → oscharko-dev-keiko-quality-intelligence-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-sandbox-1.3.3.tgz → oscharko-dev-keiko-sandbox-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-security-1.3.3.tgz → oscharko-dev-keiko-security-1.3.5.tgz} +0 -0
- package/vendor/oscharko-dev-keiko-server-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.3.5.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.3.5.tgz +0 -0
- package/vendor/{oscharko-dev-keiko-verification-1.3.3.tgz → oscharko-dev-keiko-verification-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workflows-1.3.3.tgz → oscharko-dev-keiko-workflows-1.3.5.tgz} +0 -0
- package/vendor/{oscharko-dev-keiko-workspace-1.3.3.tgz → oscharko-dev-keiko-workspace-1.3.5.tgz} +0 -0
- package/vendor/runtime-7ee58e70ec82a5310a8cfa05-5.0.0.tgz +0 -0
- package/vendor/runtime-adfa266be16990cea397db57-5.0.0.tgz +0 -0
- package/vendor/runtime-eb2c4f536814543400a0bd7d-6.0.0.tgz +0 -0
- package/dist/ui/static/_next/static/chunks/0-vpa4wvwcpe-.js +0 -1
- package/dist/ui/static/_next/static/chunks/0_6mtgmkla9qu.js +0 -1
- package/dist/ui/static/_next/static/chunks/0e5tuea6tlug3.js +0 -2
- package/dist/ui/static/_next/static/chunks/0ertzbirk17sb.js +0 -1
- package/dist/ui/static/_next/static/chunks/0kez3eb30_y20.js +0 -1
- package/dist/ui/static/_next/static/chunks/0r7w4-ed85x8_.js +0 -1
- package/dist/ui/static/_next/static/chunks/0s7h6q8gvga7e.js +0 -1
- package/dist/ui/static/_next/static/chunks/0yubxb7rh1hd0.js +0 -1
- package/dist/ui/static/_next/static/chunks/113i2ed523uql.js +0 -1
- package/dist/ui/static/_next/static/chunks/14qun_iwmflef.js +0 -1
- package/dist/ui/static/_next/static/chunks/18k43109q6nsu.css +0 -4
- package/dist/ui/static/_next/static/chunks/1d_810phvbt-v.js +0 -1
- package/dist/ui/static/_next/static/chunks/1fcza2wdia5qm.js +0 -1
- package/dist/ui/static/_next/static/chunks/1h2_yob002hof.js +0 -1
- package/dist/ui/static/_next/static/chunks/1yozvmb5fguqg.js +0 -1
- package/dist/ui/static/_next/static/chunks/226y24czlj0wp.js +0 -1
- package/dist/ui/static/_next/static/chunks/2ejhbs16gist6.js +0 -1
- package/dist/ui/static/_next/static/chunks/2w1kh71cy7enz.js +0 -1
- package/dist/ui/static/_next/static/chunks/39thlt_b984p5.js +0 -1
- package/dist/ui/static/_next/static/chunks/3bjc67n5rtpdi.js +0 -1
- package/dist/ui/static/_next/static/chunks/3cxu95lv35pdr.js +0 -4
- package/dist/ui/static/_next/static/chunks/3f63ftrt4blps.js +0 -1
- package/dist/ui/static/_next/static/chunks/3gaq95iqa9klb.js +0 -3
- package/dist/ui/static/_next/static/chunks/3qabgkg9agmqc.js +0 -1
- package/dist/ui/static/_next/static/chunks/3t4_kygctsf_7.js +0 -1
- package/dist/ui/static/_next/static/chunks/3z6tj3bwv9zix.js +0 -1
- package/vendor/oscharko-dev-keiko-activity-log-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-contracts-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-evidence-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-model-gateway-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-sdk-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-server-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tool-catalog-1.3.3.tgz +0 -0
- package/vendor/oscharko-dev-keiko-tools-1.3.3.tgz +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_buildManifest.js +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_clientMiddlewareManifest.js +0 -0
- /package/dist/ui/static/_next/static/{KmFW5oN4Tu2nC9Ox3ukB4 → DvyH4zbpyM3K-9QY4w0ah}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { isSafeTaskBranchName } from "@oscharko-dev/keiko-contracts/runtime/coding-runtime-git";
|
|
2
|
+
import { gitDeliveryTargetIsProtectedBranch } from "@oscharko-dev/keiko-contracts/runtime/git-delivery";
|
|
3
|
+
import { readGitRevision, readGitWorktreeSnapshot, } from "@oscharko-dev/keiko-tools/internal/git-mutation";
|
|
4
|
+
import { executeGovernedMutation, KEIKO_DEFAULT_PROTECTED_BRANCH_PATTERNS, } from "./execution.js";
|
|
5
|
+
import { runtimeGitReadDeps } from "./runtimeGitRead.js";
|
|
6
|
+
/** The name checks alone: a safe ref name that cannot be read as an option and is not protected. */
|
|
7
|
+
export function taskBranchNameRefusal(name) {
|
|
8
|
+
if (!isSafeTaskBranchName(name))
|
|
9
|
+
return "invalid-name";
|
|
10
|
+
return gitDeliveryTargetIsProtectedBranch(name, KEIKO_DEFAULT_PROTECTED_BRANCH_PATTERNS)
|
|
11
|
+
? "protected-name"
|
|
12
|
+
: undefined;
|
|
13
|
+
}
|
|
14
|
+
function branchResult(status, reason, name) {
|
|
15
|
+
// The model's own argument is echoed back only when it is a safe, option-free ref name.
|
|
16
|
+
return {
|
|
17
|
+
kind: "branch",
|
|
18
|
+
status,
|
|
19
|
+
reason,
|
|
20
|
+
...(isSafeTaskBranchName(name) ? { branch: name } : {}),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function scopeRefusal(input) {
|
|
24
|
+
// Only a run standing on its own base branch can have a task branch made for it; a run that
|
|
25
|
+
// already works on a task branch keeps it.
|
|
26
|
+
if (input.context.headRef !== input.context.baseRef)
|
|
27
|
+
return "not-on-base";
|
|
28
|
+
if (input.port === undefined)
|
|
29
|
+
return "not-local-checkout";
|
|
30
|
+
const admission = input.port.admit();
|
|
31
|
+
return admission === "admitted" ? undefined : admission;
|
|
32
|
+
}
|
|
33
|
+
function governedDeps(input) {
|
|
34
|
+
return {
|
|
35
|
+
...runtimeGitReadDeps(input.context, input.execution),
|
|
36
|
+
processEnv: input.execution.processEnv,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
// The live snapshot the kernel judges the branch step against, read in the same hardened lane as
|
|
40
|
+
// the Git Client's own snapshots and refused outright once the run's authority has lapsed: this
|
|
41
|
+
// read sits immediately before each Git effect.
|
|
42
|
+
function readGuardedSnapshot(input) {
|
|
43
|
+
if (!input.context.stillAuthorized())
|
|
44
|
+
throw new Error("git-branch-authority-unavailable");
|
|
45
|
+
return readGitWorktreeSnapshot(governedDeps(input));
|
|
46
|
+
}
|
|
47
|
+
function guardedSnapshotReader(input) {
|
|
48
|
+
return () => readGuardedSnapshot(input);
|
|
49
|
+
}
|
|
50
|
+
function mutate(input, command) {
|
|
51
|
+
return executeGovernedMutation(command, { required: false }, input.context.workspace, input.mutationDeps, {
|
|
52
|
+
...input.execution,
|
|
53
|
+
signal: input.context.signal,
|
|
54
|
+
snapshotReader: guardedSnapshotReader(input),
|
|
55
|
+
}, input.context.correlationId);
|
|
56
|
+
}
|
|
57
|
+
/** The closed result of a kernel outcome that is not a success; undefined for a success. */
|
|
58
|
+
export function stoppedResult(outcome, name) {
|
|
59
|
+
switch (outcome.status) {
|
|
60
|
+
case "succeeded":
|
|
61
|
+
return undefined;
|
|
62
|
+
case "recovery-required":
|
|
63
|
+
return branchResult("recovery-required", "execution-uncertain", name);
|
|
64
|
+
case "failed":
|
|
65
|
+
return branchResult("failed", "execution-failed", name);
|
|
66
|
+
// A deployment policy pack that asks for approval is a policy block for this tool: it has no
|
|
67
|
+
// approval of its own.
|
|
68
|
+
case "approval-required":
|
|
69
|
+
return branchResult("blocked", "policy-block", name);
|
|
70
|
+
case "blocked":
|
|
71
|
+
if (outcome.category === "preflight-block")
|
|
72
|
+
return branchResult("blocked", "preflight-block", name);
|
|
73
|
+
return branchResult("blocked", outcome.blockReason === "authority-denied" ? "authority-denied" : "policy-block", name);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
// A kernel outcome, as the next step of the sequence or the closed result that stops it.
|
|
77
|
+
function stepOf(lifecycle, name) {
|
|
78
|
+
const result = stoppedResult(lifecycle.outcome, name);
|
|
79
|
+
return result === undefined ? { done: true } : { done: false, result };
|
|
80
|
+
}
|
|
81
|
+
// Whether the branch is already there. A branch at the very commit the run stands on is a retry of
|
|
82
|
+
// an earlier, interrupted step and is only switched to; one anywhere else is somebody's work and
|
|
83
|
+
// is refused. The current branch counts as existing, so the base branch can never be "created".
|
|
84
|
+
async function existingBranch(input) {
|
|
85
|
+
const snapshot = await readGuardedSnapshot(input);
|
|
86
|
+
if (input.branchName === snapshot.currentBranchName)
|
|
87
|
+
return "elsewhere";
|
|
88
|
+
if (!snapshot.existingLocalBranchNames.includes(input.branchName))
|
|
89
|
+
return "absent";
|
|
90
|
+
const tip = await readGitRevision(governedDeps(input), `refs/heads/${input.branchName}`);
|
|
91
|
+
return tip === input.headSha ? "at-head" : "elsewhere";
|
|
92
|
+
}
|
|
93
|
+
async function createAndSwitch(input, existing) {
|
|
94
|
+
const name = input.branchName;
|
|
95
|
+
if (existing === "absent") {
|
|
96
|
+
const created = stepOf(await mutate(input, {
|
|
97
|
+
kind: "branch-create",
|
|
98
|
+
branchName: name,
|
|
99
|
+
baseBranchName: input.context.baseRef,
|
|
100
|
+
startPointRefHash: input.headSha,
|
|
101
|
+
}), name);
|
|
102
|
+
if (!created.done)
|
|
103
|
+
return created;
|
|
104
|
+
}
|
|
105
|
+
return stepOf(await mutate(input, { kind: "branch-switch", branchName: name }), name);
|
|
106
|
+
}
|
|
107
|
+
// Puts the checkout back on the base branch after the run could not adopt the branch it was just
|
|
108
|
+
// switched to, so the workspace and the run's authority agree again. False when the kernel did not
|
|
109
|
+
// switch back: the checkout then stays off its base and no longer matches the run's record, which
|
|
110
|
+
// leaves the run unauthorized (fail closed) and is reported as such, never as a restored checkout.
|
|
111
|
+
async function switchBack(input) {
|
|
112
|
+
const back = await mutate(input, { kind: "branch-switch", branchName: input.context.baseRef });
|
|
113
|
+
return back.outcome.status === "succeeded";
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* A run that could not adopt the branch it was just switched to; the caller records the cause on
|
|
117
|
+
* its own log port. The adoption's cause stays the primary failure even when putting the checkout
|
|
118
|
+
* back failed too: `checkoutRestored` says whether the checkout is on its base again, and
|
|
119
|
+
* `switchBackCause` holds what the switch back threw, if it threw.
|
|
120
|
+
*/
|
|
121
|
+
export class TaskBranchAdoptionFailure extends Error {
|
|
122
|
+
checkoutRestored = false;
|
|
123
|
+
switchBackCause = undefined;
|
|
124
|
+
constructor(cause) {
|
|
125
|
+
super("task-branch-adoption-failed", { cause });
|
|
126
|
+
this.name = "TaskBranchAdoptionFailure";
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
/** The closed result the model reads when the run could not adopt its new branch. */
|
|
130
|
+
export function adoptionFailedResult(name) {
|
|
131
|
+
return branchResult("failed", "rebind-failed", name);
|
|
132
|
+
}
|
|
133
|
+
/** The closed result of a branch step whose checkout the kernel could not put back on its base. */
|
|
134
|
+
export function checkoutUncertainResult(name) {
|
|
135
|
+
return branchResult("recovery-required", "execution-uncertain", name);
|
|
136
|
+
}
|
|
137
|
+
// The failure of an adoption that threw or was refused, once the checkout has been put back as far
|
|
138
|
+
// as it can be.
|
|
139
|
+
async function settledAdoptionFailure(input, failure) {
|
|
140
|
+
try {
|
|
141
|
+
failure.checkoutRestored = await switchBack(input);
|
|
142
|
+
}
|
|
143
|
+
catch (error_) {
|
|
144
|
+
failure.switchBackCause = error_;
|
|
145
|
+
throw failure;
|
|
146
|
+
}
|
|
147
|
+
return failure;
|
|
148
|
+
}
|
|
149
|
+
async function adoptOrRestore(input) {
|
|
150
|
+
const name = input.branchName;
|
|
151
|
+
let adopted;
|
|
152
|
+
try {
|
|
153
|
+
adopted =
|
|
154
|
+
input.port?.adopt({
|
|
155
|
+
runId: input.context.runId,
|
|
156
|
+
workspaceDigest: input.context.workspaceDigest,
|
|
157
|
+
branch: name,
|
|
158
|
+
baseBranch: input.context.baseRef,
|
|
159
|
+
headSha: input.headSha,
|
|
160
|
+
}) === true;
|
|
161
|
+
}
|
|
162
|
+
catch (cause) {
|
|
163
|
+
throw await settledAdoptionFailure(input, new TaskBranchAdoptionFailure(cause));
|
|
164
|
+
}
|
|
165
|
+
if (adopted)
|
|
166
|
+
return branchResult("succeeded", "none", name);
|
|
167
|
+
// A refused adoption settles like a thrown one: a switch back that throws leaves the checkout off
|
|
168
|
+
// its base, which the caller reports as an uncertain execution.
|
|
169
|
+
const refused = await settledAdoptionFailure(input, new TaskBranchAdoptionFailure(new Error("task-branch-adoption-refused")));
|
|
170
|
+
return refused.checkoutRestored ? adoptionFailedResult(name) : checkoutUncertainResult(name);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Runs the whole governed task-branch step. A refusal is a result; a Git fault throws, and so does
|
|
174
|
+
* an adoption that threw (TaskBranchAdoptionFailure), after the checkout was put back.
|
|
175
|
+
*/
|
|
176
|
+
export async function runTaskBranch(input) {
|
|
177
|
+
const name = input.branchName;
|
|
178
|
+
const refusal = taskBranchNameRefusal(name) ?? scopeRefusal(input);
|
|
179
|
+
if (refusal !== undefined)
|
|
180
|
+
return branchResult("blocked", refusal, name);
|
|
181
|
+
const existing = await existingBranch(input);
|
|
182
|
+
if (existing === "elsewhere")
|
|
183
|
+
return branchResult("blocked", "branch-exists", name);
|
|
184
|
+
const stepped = await createAndSwitch(input, existing);
|
|
185
|
+
if (!stepped.done)
|
|
186
|
+
return stepped.result;
|
|
187
|
+
return adoptOrRestore(input);
|
|
188
|
+
}
|
|
@@ -4,6 +4,7 @@ import type { VerifiedCommitRunContext, VerifiedCommitServiceOptions } from "./v
|
|
|
4
4
|
import { type GitDeliveryApprovalBinding, type GitDeliveryIssuedApproval } from "./approvalStore.js";
|
|
5
5
|
import { type RuntimeGitRequest } from "../coding-runtime/codingRuntimeGitIpc.js";
|
|
6
6
|
import { type GitDeliverySyncSeams } from "./syncExecution.js";
|
|
7
|
+
import { type RuntimeGitTaskBranchPort } from "./runtimeGitBranch.js";
|
|
7
8
|
import type { CodingToolMutationGuard } from "../coding-runtime/codingToolFacadePorts.js";
|
|
8
9
|
import type { GovernedSyncHead } from "../coding-runtime/governedSyncHeads.js";
|
|
9
10
|
export interface RuntimeGitProposal {
|
|
@@ -36,10 +37,15 @@ interface RuntimeGitOptions extends VerifiedCommitServiceOptions {
|
|
|
36
37
|
readonly sync?: Pick<GitDeliverySyncSeams, "runner" | "now" | "maxBytes" | "timeoutMs">;
|
|
37
38
|
/** Records the head a governed fast-forward wrote (governedSyncHeads.ts). */
|
|
38
39
|
readonly recordGovernedSyncHead?: ((head: GovernedSyncHead) => void) | undefined;
|
|
40
|
+
/** The run's workspace for a governed task branch (runtimeGitBranch.ts, #3907). */
|
|
41
|
+
readonly taskBranch?: RuntimeGitTaskBranchPort | undefined;
|
|
42
|
+
/** Forgets what a branch change made stale: open commit and push proposals, verification (#3907). */
|
|
43
|
+
readonly invalidateDelivery?: (() => void) | undefined;
|
|
39
44
|
}
|
|
40
45
|
export declare class RuntimeGitService {
|
|
41
46
|
private readonly options;
|
|
42
47
|
private generation;
|
|
48
|
+
private branchStep;
|
|
43
49
|
private readonly proposals;
|
|
44
50
|
private leases;
|
|
45
51
|
constructor(options: RuntimeGitOptions);
|
|
@@ -51,11 +57,15 @@ export declare class RuntimeGitService {
|
|
|
51
57
|
consumeApproval(id: string): object | undefined;
|
|
52
58
|
invalidate(): void;
|
|
53
59
|
execute(input: RuntimeGitRequest, guard: CodingToolMutationGuard, signal?: AbortSignal): Promise<RuntimeGitOutcome>;
|
|
60
|
+
private enterBranchStep;
|
|
54
61
|
private failed;
|
|
55
62
|
private guardedContext;
|
|
56
63
|
private refusalCondition;
|
|
57
64
|
private dispatch;
|
|
58
65
|
private sync;
|
|
66
|
+
private branch;
|
|
67
|
+
private logBranchRebindFailure;
|
|
68
|
+
private invalidateAfterBranchChange;
|
|
59
69
|
private recordWrittenHead;
|
|
60
70
|
private pruneExpired;
|
|
61
71
|
private propose;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtimeGitService.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/runtimeGitService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"runtimeGitService.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/runtimeGitService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,sBAAsB,EAItB,mBAAmB,EACnB,2CAA2C,EAE5C,MAAM,+BAA+B,CAAC;AAavC,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGpF,OAAO,KAAK,EACV,wBAAwB,EACxB,4BAA4B,EAC7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAGL,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC/B,MAAM,oBAAoB,CAAC;AAkB5B,OAAO,EAEL,KAAK,iBAAiB,EAEvB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAoC,KAAK,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAEjG,OAAO,EAKL,KAAK,wBAAwB,EAC9B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AAC1F,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAiN/E,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAC3C,QAAQ,CAAC,OAAO,EAAE,eAAe,GAAG,iBAAiB,CAAC;IACtD,QAAQ,CAAC,MAAM,EAAE,2CAA2C,CAAC;IAC7D,QAAQ,CAAC,OAAO,EAAE,0BAA0B,CAAC;CAC9C;AACD;;;;;;;GAOG;AACH,MAAM,MAAM,uBAAuB,GAAG,mBAAmB,GAAG,kBAAkB,GAAG,kBAAkB,CAAC;AACpG,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAC;CAC1C;AACD,MAAM,MAAM,iBAAiB,GAAG,sBAAsB,GAAG,iBAAiB,CAAC;AAiB3E,UAAU,iBAAkB,SAAQ,4BAA4B;IAC9D,QAAQ,CAAC,IAAI,EAAE,MAAM,mBAAmB,GAAG,SAAS,CAAC;IACrD,QAAQ,CAAC,sBAAsB,EAAE,MAAM,IAAI,CAAC;IAC5C,+EAA+E;IAC/E,QAAQ,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,oBAAoB,EAAE,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,WAAW,CAAC,CAAC;IACxF,6EAA6E;IAC7E,QAAQ,CAAC,sBAAsB,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,gBAAgB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IACjF,mFAAmF;IACnF,QAAQ,CAAC,UAAU,CAAC,EAAE,wBAAwB,GAAG,SAAS,CAAC;IAC3D,qGAAqG;IACrG,QAAQ,CAAC,kBAAkB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACxD;AAmJD,qBAAa,iBAAiB;IAQT,OAAO,CAAC,QAAQ,CAAC,OAAO;IAP3C,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,UAAU,CAAoC;IACtD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAyC;IACnE,OAAO,CAAC,MAAM,CAGV;IACJ,YAAoC,OAAO,EAAE,iBAAiB,EAAI;IAClE,OAAO,CAAC,GAAG;IAGX,OAAO,CAAC,KAAK;IAGN,MAAM,CAAC,EAAE,EAAE,MAAM,GAAG,kBAAkB,GAAG,SAAS,CAUxD;IACM,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,yBAAyB,GAAG,SAAS,CAWtE;IACM,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAM1C;IACM,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CASrD;IACM,UAAU,IAAI,IAAI,CAIxB;IACY,OAAO,CAClB,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,uBAAuB,EAC9B,MAAM,CAAC,EAAE,WAAW,GACnB,OAAO,CAAC,iBAAiB,CAAC,CA2B5B;YAEa,eAAe;IAc7B,OAAO,CAAC,MAAM;IA6Bd,OAAO,CAAC,cAAc;IA8BtB,OAAO,CAAC,gBAAgB;YAUV,QAAQ;YAgCR,IAAI;YAqCJ,MAAM;IA2BpB,OAAO,CAAC,sBAAsB;IAgB9B,OAAO,CAAC,2BAA2B;YAUrB,iBAAiB;IAqB/B,OAAO,CAAC,YAAY;YAWN,OAAO;YA+CP,cAAc;YA2Bd,MAAM;IA2BpB,OAAO,CAAC,WAAW;IAWnB,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,YAAY;YASN,YAAY;YAaZ,YAAY;YAkBZ,WAAW;IA+BzB,OAAO,CAAC,MAAM;IAgBd,OAAO,CAAC,GAAG;CAcZ"}
|
|
@@ -10,6 +10,7 @@ import { admitStageSelection, admitUnstageSelection, reviewStageSelection, runti
|
|
|
10
10
|
import { snapshotRuntimeGitRequest, } from "../coding-runtime/codingRuntimeGitIpc.js";
|
|
11
11
|
import { buildSyncPreview, runSyncExecute } from "./syncExecution.js";
|
|
12
12
|
import { persistGitSyncResult } from "./syncEvidence.js";
|
|
13
|
+
import { adoptionFailedResult, checkoutUncertainResult, runTaskBranch, TaskBranchAdoptionFailure, } from "./runtimeGitBranch.js";
|
|
13
14
|
import { describeError } from "../diagnostics-log.js";
|
|
14
15
|
import { UNKNOWN_CORRELATION_ID } from "../correlation.js";
|
|
15
16
|
import { processServerLogSink } from "../process-log-sink.js";
|
|
@@ -58,6 +59,14 @@ const RUNTIME_GIT_REASON_FIELD = {
|
|
|
58
59
|
"run-not-live",
|
|
59
60
|
"guard-rejected",
|
|
60
61
|
"mode-unavailable",
|
|
62
|
+
// #3907: the closed reasons of a refused or failed `keiko_git_branch`.
|
|
63
|
+
"invalid-name",
|
|
64
|
+
"protected-name",
|
|
65
|
+
"branch-exists",
|
|
66
|
+
"not-on-base",
|
|
67
|
+
"not-local-checkout",
|
|
68
|
+
"executable-filters",
|
|
69
|
+
"rebind-failed",
|
|
61
70
|
],
|
|
62
71
|
};
|
|
63
72
|
const RUNTIME_GIT_FRAMES_FIELD = {
|
|
@@ -96,6 +105,7 @@ const RUNTIME_GIT_OPERATION = defineActivityLogOperation({
|
|
|
96
105
|
"unstage-execute",
|
|
97
106
|
"fetch",
|
|
98
107
|
"pull",
|
|
108
|
+
"branch",
|
|
99
109
|
],
|
|
100
110
|
},
|
|
101
111
|
runId: { type: "string", dataClass: "opaque-id", required: false, maxLength: 128 },
|
|
@@ -251,15 +261,25 @@ function syncEvidence(result) {
|
|
|
251
261
|
function resultOutcome(result) {
|
|
252
262
|
if (result.kind === "refused")
|
|
253
263
|
return "refused";
|
|
264
|
+
if (result.kind === "branch")
|
|
265
|
+
return branchOutcome(result);
|
|
254
266
|
return (result.kind === "fetch" || result.kind === "pull") &&
|
|
255
267
|
result.status !== "succeeded" &&
|
|
256
268
|
result.status !== "up-to-date"
|
|
257
269
|
? "refused"
|
|
258
270
|
: "ok";
|
|
259
271
|
}
|
|
272
|
+
// A task branch Keiko refused is a governance outcome; one it could not make is a failure.
|
|
273
|
+
function branchOutcome(result) {
|
|
274
|
+
if (result.status === "succeeded")
|
|
275
|
+
return "ok";
|
|
276
|
+
return result.status === "blocked" ? "refused" : "failed";
|
|
277
|
+
}
|
|
260
278
|
function resultEvidence(result) {
|
|
261
279
|
if (result.kind === "refused")
|
|
262
280
|
return { state: "refused", reason: result.reason };
|
|
281
|
+
if (result.kind === "branch")
|
|
282
|
+
return { state: result.status, reason: result.reason };
|
|
263
283
|
if (result.kind === "fetch" || result.kind === "pull")
|
|
264
284
|
return syncEvidence(result);
|
|
265
285
|
if (result.kind === "stage" || result.kind === "unstage")
|
|
@@ -285,6 +305,7 @@ function thrownGitCode(error) {
|
|
|
285
305
|
export class RuntimeGitService {
|
|
286
306
|
options;
|
|
287
307
|
generation = 0;
|
|
308
|
+
branchStep = Promise.resolve();
|
|
288
309
|
proposals = new Map();
|
|
289
310
|
leases = new WeakMap();
|
|
290
311
|
constructor(options) {
|
|
@@ -344,26 +365,45 @@ export class RuntimeGitService {
|
|
|
344
365
|
}
|
|
345
366
|
async execute(input, guard, signal) {
|
|
346
367
|
const request = snapshotRuntimeGitRequest(input);
|
|
368
|
+
// #3907 review: one task-branch step at a time. A queued call reads the live run context and
|
|
369
|
+
// the verified head only once the step before it has settled, so it sees the branch that step
|
|
370
|
+
// made and is refused as not-on-base instead of switching the checkout a second time.
|
|
371
|
+
const release = request.operation === "branch" ? await this.enterBranchStep() : undefined;
|
|
347
372
|
const phase = request.operation === "stage" || request.operation === "unstage"
|
|
348
373
|
? `${request.operation}-${request.phase}`
|
|
349
374
|
: request.operation;
|
|
350
|
-
const context = this.guardedContext(guard, signal, phase);
|
|
351
|
-
if (context === undefined)
|
|
352
|
-
return REFUSED_AUTHORITY;
|
|
353
375
|
try {
|
|
354
|
-
const
|
|
355
|
-
if (
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
376
|
+
const context = this.guardedContext(guard, signal, phase);
|
|
377
|
+
if (context === undefined)
|
|
378
|
+
return REFUSED_AUTHORITY;
|
|
379
|
+
try {
|
|
380
|
+
const result = await this.dispatch(context, request, guard);
|
|
381
|
+
if (result.kind !== "refused" && !isCodingRuntimeGitResult(result))
|
|
382
|
+
throw new Error("git-runtime-result-invalid");
|
|
383
|
+
this.log(context, phase, resultEvidence(result), resultOutcome(result));
|
|
384
|
+
if (context.stillAuthorized())
|
|
385
|
+
return result;
|
|
386
|
+
this.log(context, phase, { state: "withheld", reason: "authority-revoked" }, "refused");
|
|
387
|
+
return REFUSED_AUTHORITY;
|
|
388
|
+
}
|
|
389
|
+
catch (error) {
|
|
390
|
+
return this.failed(context, phase, error);
|
|
391
|
+
}
|
|
362
392
|
}
|
|
363
|
-
|
|
364
|
-
|
|
393
|
+
finally {
|
|
394
|
+
release?.();
|
|
365
395
|
}
|
|
366
396
|
}
|
|
397
|
+
// The turn of one task-branch step; the returned function hands the turn to the next call.
|
|
398
|
+
async enterBranchStep() {
|
|
399
|
+
const previous = this.branchStep;
|
|
400
|
+
let release = () => undefined;
|
|
401
|
+
this.branchStep = new Promise((resolve) => {
|
|
402
|
+
release = resolve;
|
|
403
|
+
});
|
|
404
|
+
await previous;
|
|
405
|
+
return release;
|
|
406
|
+
}
|
|
367
407
|
// A read that threw because authority closed under it (`git-runtime-authority-denied`,
|
|
368
408
|
// `verified-commit-authority-unavailable`) is the authority refusal, not a failed Git effect
|
|
369
409
|
// (CodeRabbit review, 2026-09-10): the model may read only `authority-revoked` as such. A stage
|
|
@@ -418,9 +458,11 @@ export class RuntimeGitService {
|
|
|
418
458
|
}
|
|
419
459
|
async dispatch(context, request, guard) {
|
|
420
460
|
const execution = this.options.execution ?? {};
|
|
421
|
-
await readVerifiedCommitFacts(context, execution);
|
|
461
|
+
const facts = await readVerifiedCommitFacts(context, execution);
|
|
422
462
|
if (request.operation === "status")
|
|
423
463
|
return runtimeGitStatus(context, execution);
|
|
464
|
+
if (request.operation === "branch")
|
|
465
|
+
return this.branch(context, request.branchName, facts.headSha);
|
|
424
466
|
if (request.operation === "fetch" || request.operation === "pull")
|
|
425
467
|
return this.sync(context, request.operation);
|
|
426
468
|
if (request.operation === "diff")
|
|
@@ -468,6 +510,53 @@ export class RuntimeGitService {
|
|
|
468
510
|
truncated: result.truncated,
|
|
469
511
|
};
|
|
470
512
|
}
|
|
513
|
+
// #3907: one governed task branch for a run standing on its base branch (runtimeGitBranch.ts).
|
|
514
|
+
// Whatever the branch change made stale, commit and push proposals and the verification they
|
|
515
|
+
// rest on, is invalidated here, after the run's branch has moved and not before.
|
|
516
|
+
async branch(context, branchName, headSha) {
|
|
517
|
+
let result;
|
|
518
|
+
try {
|
|
519
|
+
result = await runTaskBranch({
|
|
520
|
+
context,
|
|
521
|
+
mutationDeps: this.options.mutationDeps,
|
|
522
|
+
execution: this.options.execution ?? {},
|
|
523
|
+
port: this.options.taskBranch,
|
|
524
|
+
headSha,
|
|
525
|
+
branchName,
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
catch (error) {
|
|
529
|
+
if (!(error instanceof TaskBranchAdoptionFailure))
|
|
530
|
+
throw error;
|
|
531
|
+
// The cause of a failed adoption is not in the result the model reads; it goes to the log as
|
|
532
|
+
// the structured failure it is, under the same correlation, before the result line.
|
|
533
|
+
this.logBranchRebindFailure(context, error.cause);
|
|
534
|
+
return error.checkoutRestored
|
|
535
|
+
? adoptionFailedResult(branchName)
|
|
536
|
+
: checkoutUncertainResult(branchName);
|
|
537
|
+
}
|
|
538
|
+
if (result.status === "succeeded")
|
|
539
|
+
this.invalidateAfterBranchChange();
|
|
540
|
+
return result;
|
|
541
|
+
}
|
|
542
|
+
logBranchRebindFailure(context, cause) {
|
|
543
|
+
const detail = describeError(cause);
|
|
544
|
+
this.log(context, "branch", {
|
|
545
|
+
state: "failed",
|
|
546
|
+
reason: "rebind-failed",
|
|
547
|
+
failureKind: gitDeliveryActivityFailureKind(errorKindOf(cause)),
|
|
548
|
+
errorClass: detail.errorClass,
|
|
549
|
+
...(detail.frames === undefined ? {} : { frames: detail.frames }),
|
|
550
|
+
...(detail.causeChain === undefined ? {} : { causeChain: detail.causeChain }),
|
|
551
|
+
}, "failed");
|
|
552
|
+
}
|
|
553
|
+
invalidateAfterBranchChange() {
|
|
554
|
+
// Not `invalidate()`: that closes the generation this very call stands on.
|
|
555
|
+
this.proposals.clear();
|
|
556
|
+
this.leases = new WeakMap();
|
|
557
|
+
this.options.invalidateVerification();
|
|
558
|
+
this.options.invalidateDelivery?.();
|
|
559
|
+
}
|
|
471
560
|
// #3902 AC2: the fast-forward moved the run's branch to a head Keiko itself wrote. The workspace's
|
|
472
561
|
// verified head and the run's sync receipt both record it, so the run's authority stands on it as
|
|
473
562
|
// it stands on a head Keiko's verified commit wrote.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type GitDeliveryExecutionSeams } from "./execution.js";
|
|
2
2
|
import { type VerifiedCommitFacts, type VerifiedCommitRunContext } from "./verifiedCommitTypes.js";
|
|
3
|
+
export declare function untrackedOutsideCandidate(context: VerifiedCommitRunContext, facts: VerifiedCommitFacts): boolean;
|
|
3
4
|
export declare function verifiedCommitMessageDigest(message: string): string;
|
|
4
5
|
export declare function readVerifiedCommitFacts(context: VerifiedCommitRunContext, seams: GitDeliveryExecutionSeams): Promise<VerifiedCommitFacts>;
|
|
5
6
|
export declare function sameVerifiedCommitFacts(a: VerifiedCommitFacts, b: VerifiedCommitFacts): boolean;
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitFacts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifiedCommitFacts.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/verifiedCommitFacts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAiC,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAE/F,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC9B,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"verifiedCommitFacts.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/verifiedCommitFacts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAiC,KAAK,yBAAyB,EAAE,MAAM,gBAAgB,CAAC;AAE/F,OAAO,EAGL,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC9B,MAAM,0BAA0B,CAAC;AA6BlC,wBAAgB,yBAAyB,CACvC,OAAO,EAAE,wBAAwB,EACjC,KAAK,EAAE,mBAAmB,GACzB,OAAO,CAQT;AAED,wBAAgB,2BAA2B,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEnE;AAED,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,wBAAwB,EACjC,KAAK,EAAE,yBAAyB,GAC/B,OAAO,CAAC,mBAAmB,CAAC,CAiC9B;AAED,wBAAgB,uBAAuB,CAAC,CAAC,EAAE,mBAAmB,EAAE,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAS/F"}
|
|
@@ -20,6 +20,18 @@ function blockingPathsOf(changes) {
|
|
|
20
20
|
untracked: untracked.slice(0, VERIFIED_COMMIT_BLOCKING_PATHS_MAX).map((file) => file.path),
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
+
// Full access commits the staged candidate while untracked files lie outside it, as a plain `git
|
|
24
|
+
// commit` does (owner decision 2026-10-30, #3907): the parity lane's own `npm install` had left an
|
|
25
|
+
// untracked package-lock.json, and the model, which rightly kept it out of the commit, read
|
|
26
|
+
// candidate-not-staged until the run's deadline. Unstaged changes and unsaved buffers still refuse.
|
|
27
|
+
// The push of that commit re-reads the same facts and admits the same files (lab T17, round I).
|
|
28
|
+
export function untrackedOutsideCandidate(context, facts) {
|
|
29
|
+
const blocking = facts.blocking;
|
|
30
|
+
return (!facts.clean &&
|
|
31
|
+
blocking?.unstagedCount === 0 &&
|
|
32
|
+
blocking.untrackedCount > 0 &&
|
|
33
|
+
context.buffersClean());
|
|
34
|
+
}
|
|
23
35
|
export function verifiedCommitMessageDigest(message) {
|
|
24
36
|
return gitCommitMessageDigest(message);
|
|
25
37
|
}
|
package/node_modules/@oscharko-dev/keiko-server/dist/gitDelivery/verifiedCommitService.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifiedCommitService.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/verifiedCommitService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verifiedCommitService.d.ts","sourceRoot":"","sources":["../../src/gitDelivery/verifiedCommitService.ts"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAKV,qBAAqB,EACrB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAysClC,wBAAgB,2BAA2B,CACzC,OAAO,EAAE,4BAA4B,GACpC,qBAAqB,CAEvB"}
|