Skip to content

v0.13.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 13:29
· 39 commits to main since this release
7732253

Highlights

  • Warm and cold agents: An idle agent shrinks its pods in place after 5 minutes and releases them after 30.
  • Demand-driven scaling: kora-agents sizes each agent's pods from its queued runs and the memory each pod reports.
  • Event spine: kora records platform events for each tenant on the new Events page.
  • Event triggers: A trigger can start a run from a platform event, such as a failed run.
  • Graders: A Grader scores an agent's ended runs against fixed questions.
  • ACP harnesses: Claude Code, Codex and OpenCode run over the Agent Client Protocol.
  • Runs console: The console opens on a live Runs list and starts runs from a chat page.
  • Run sources: A run started by a trigger links to the pull request, issue or alert behind it.
  • API key connections: An apikey Connection injects a static API key into requests to one host.
  • GitHub permission categories: GitHub grants use GitHub's permission categories for each repository (e.g., contents, pulls, ci).
  • Metrics: The inference gateway, kora-triggers and kora-agents export Prometheus metrics for spend, trigger outcomes, runs and agent wakes.

Action required

  • Rename maxConcurrentRunsPerPod to maxConcurrentRuns in declared Agents.
  • Rename max_concurrent_runs_per_pod to max_concurrent_runs in API and MCP calls.
  • Remove agents.manifestPatches entries that target a HorizontalPodAutoscaler or PodDisruptionBudget.
  • Set Istio's meshConfig.pathNormalization.normalization to a value other than NONE.
  • Replace repo:*, actions:* and checks:* in declared GitHub grants and roles with the new categories, such as contents, pulls and ci.
  • Label tenant-deployed workloads with spiffe.io/service: <name> in place of spiffe.io/agent.
  • Restart tenant workloads with an OPA sidecar, other than agent and sandbox pods.
  • Remove autoscaler annotations that block disruption from agents.workloads.common.podAnnotations and agents.sandboxWarming.podAnnotations.
  • Rolling back to 0.12.0 is not supported while agents run.

Changed behaviour

  • The session-manager memory limit defaults to 1Gi (agents.workloads.sessionManager.memory), down from 4Gi. Above 90% of it the newest run on the pod is killed.
  • Each tenant keeps 2 unbound pool pods at the full session-manager requests (agents.pool.size).
  • max_concurrent_runs is a total across an agent's pods, default 20.
  • agents.scheduling.minReplicas defaults to 1.
  • A run with no events for 15 minutes fails with run_stalled.
  • A pod that holds a run refuses eviction.
  • Terminating a run ends it as terminated.
  • Each message an agent receives starts with who sent it.

Hades @runkora/hades@0.13.0, SHA-256 85b0059768a01c6624dbae38d64aef6ac133e4211feb33795ac4b0d80a0da437. Published to GitHub Packages.

What's Changed

  • feat(events): event spine foundation with kora-events, the outbox relay and the event API by @justinwilkin in #928
  • feat(koramcp): add the events.list and events.get tools by @justinwilkin in #934
  • feat(events): record trigger, identity, policy, budget and declared failure events by @justinwilkin in #935
  • feat(agents): record run, sandbox, agent and environment events, and keep terminated runs by @justinwilkin in #936
  • feat(triggers): fire triggers on platform events with loop guards by @justinwilkin in #944
  • feat(hades): DataTable body state and server search box, and an xl Modal by @justinwilkin in #945
  • feat(events): add the Events page by @justinwilkin in #946
  • feat(events): forward the acting run through MCP so the loop guards cover agent actions by @justinwilkin in #949
  • feat(events): give every event type a payload schema, and check event triggers against it by @justinwilkin in #967
  • FAC-38: Stop recording a session event for every agent token exchange by @runkora[bot] in #980
  • FAC-6: ACP S2: ACP client core on acp-go-sdk by @runkora[bot] in #956
  • FAC-5: ACP S1: ADR for ACP as the single harness protocol by @runkora[bot] in #959
  • FAC-7: ACP S3: OpenCode ACP profile by @runkora[bot] in #977
  • FAC-8: ACP S4: Codex ACP profile by @justinwilkin in #982
  • FAC-9: ACP S5: Claude Code ACP profile by @justinwilkin in #983
  • FAC-10: ACP S6: Run every harness over ACP and delete the legacy runners by @justinwilkin in #984
  • FAC-31: Remove the autoscaler annotation defaults from the sandbox headroom placeholder by @runkora[bot] in #979
  • FAC-40: OpenCode MCP tool calls time out after 60 s, before a sandbox finishes provisioning by @runkora[bot] in #986
  • FAC-39: A message sent right after an interrupt can fail with a 500 while the session resumes by @runkora[bot] in #987
  • FAC-41: Make the supported agent harness list a single source by @runkora[bot] in #990
  • FAC-49: test that a person-started run's span carries no trigger name by @runkora[bot] in #994
  • FAC-50: Export trigger delivery outcomes as metrics by @runkora[bot] in #989
  • FAC-47: Emit token and cost counters from the inference gateway by @runkora[bot] in #991
  • docs: update references to trigger overview tab and CopyField filled prop by @runkora[bot] in #974
  • FAC-25: Run sources S1: Record run sources in kora-agents by @runkora[bot] in #965
  • FAC-27: Run sources S3: Show run sources in the UI by @runkora[bot] in #975
  • FAC-26: Run sources S2: Triggers send run sources by @runkora[bot] in #978
  • feat(agents): record the kind of trigger that started a run by @justinwilkin in #999
  • docs(run-page): PRD, ADR and Storybook designs for the run page by @justinwilkin in #1008
  • feat(frontend): the redesigned run page by @justinwilkin in #1010
  • feat: record message senders, trigger event summaries and budget stops on runs by @justinwilkin in #1011
  • FAC-64: API key adapter: ADR and adapter package by @runkora[bot] in #1014
  • FAC-65: API key adapter: gateway registration and injection by @runkora[bot] in #1016
  • FAC-66: API key adapter: Connection CRD and operator validation by @runkora[bot] in #1018
  • FAC-67: apikey adapter: sandbox placeholder env by @runkora[bot] in #1019
  • fix(runtime-mcp): send no response to JSON-RPC notifications by @justinwilkin in #998
  • FAC-68: Skills: make the concurrent reload test write the registry file atomically by @runkora[bot] in #1017
  • docs: update references to model spend metric and trigger coalescing by @runkora[bot] in #1007
  • fix(backend): bump Go to 1.26.11 to clear GO-2026-6859 by @runkora[bot] in #1020
  • fix(test): run the Postgres-backed tests on a kora_test database by @justinwilkin in #941
  • fix(chart): refuse run-prefixed inference gateway paths other than model calls by @justinwilkin in #954
  • fix(session-manager): drop the package pins in the ACP adapter build stages by @justinwilkin in #1028
  • FAC-24: Effective scopes: return vocabulary entries with descriptions by @runkora[bot] in #960
  • FAC-37: Session-manager leaves zombie agent processes after a harness is killed by @runkora[bot] in #993
  • FAC-71: Skills: dedupe skills found in more than one folder of a repo by @runkora[bot] in #1021
  • fix(identity): publish identity's routes so the edge admits its API by @justinwilkin in #1036
  • FAC-21: authz: egress-gateway qualifier-enumeration endpoint mints GitHub tokens with no policy check by @runkora[bot] in #976
  • FAC-20: Cross-tenant OPA bundle disclosure: authenticate the per-tenant bundle endpoint by @runkora[bot] in #962
  • FAC-51: ADR: demand-driven agent scaling by @runkora[bot] in #992
  • FAC-53: Session-manager memory chart value by @justinwilkin in #995
  • FAC-52: Rename max_concurrent_runs_per_pod to max_concurrent_runs by @justinwilkin in #996
  • FAC-54: Session-manager memory report and pressure kill by @justinwilkin in #997
  • FAC-55: Total cap and watermark placement by @justinwilkin in #1000
  • FAC-56: Start budget follows pod phase by @justinwilkin in #1001
  • FAC-57: Agent replica scaler, Parallel pod management and HPA removal by @justinwilkin in #1002
  • FAC-59: Local cluster scaling check by @justinwilkin in #1009
  • docs: update references to egress gateway injected credentials by @runkora[bot] in #1035
  • FAC-60: Start budget: treat more stuck pod states as not coming up by @runkora[bot] in #1022
  • fix(policy): limit the delegator requires projection to MCP tool scopes by @justinwilkin in #1032
  • FAC-17: Reject empty match lists on triggers instead of matching every event by @runkora[bot] in #958
  • FAC-22: policy: budgets are keyed by principal ID alone, so a HUMAN grant can change an agent, trigger or PAT budget by @runkora[bot] in #963
  • FAC-29: Operator preflight: fail when Istio path normalization is NONE by @runkora[bot] in #981
  • FAC-61: Run page: show no state label until the run's state is known by @runkora[bot] in #1013
  • FAC-19: Make StartRun idempotent on delivery_id so a duplicate trigger delivery starts one run by @runkora[bot] in #961
  • FAC-62: Run page: strip Slack mention markup from trigger event quotes by @runkora[bot] in #1015
  • test(githubapp): pin gh request classification and accept the route coverage ADR by @justinwilkin in #1027
  • fix(githubapp): classify GitHub REST by GitHub's published permission data by @justinwilkin in #1029
  • fix(githubapp): qualify node-id and repository-id requests by their resolved repository by @justinwilkin in #1031
  • fix(githubapp): deny requests the classifier does not recognize by @justinwilkin in #1033
  • build(deps): bump @anthropic-ai/claude-code from 2.1.318 to 2.1.325 in /backend/cmd/session-manager/agent-clis in the agent-clis group by @dependabot[bot] in #1042
  • build(deps): bump next from 16.4.3 to 16.4.5 in /frontend by @dependabot[bot] in #1040
  • build(deps): bump the base-images group across 3 directories with 3 updates by @dependabot[bot] in #1041
  • build(deps): bump docker/login-action from 4.7.0 to 4.8.0 in the actions group by @dependabot[bot] in #1043
  • docs(graders): add PRD, ADR and proposed UI mocks by @justinwilkin in #1051
  • feat(agents): add the pure grading package for Grader state and verdicts by @justinwilkin in #1052
  • feat(agents,identity): add the per-tenant grading principal by @justinwilkin in #1053
  • feat(agents): record a digest of the agent config on every run by @justinwilkin in #1054
  • feat(graders): add the Grader kind, its projection and storage by @justinwilkin in #1055
  • feat(inference): make the System One call usable for grading by @justinwilkin in #1059
  • feat(agents): grade ended runs with each Grader of their agent by @justinwilkin in #1062
  • feat(agents): read run grades, Grader summaries and Grader detail, and filter runs by grade by @justinwilkin in #1063
  • feat(frontend): show Grader results on the run rail, the Grades tab and the Grader page by @justinwilkin in #1064
  • FAC-93: Add Grader and grade read tools to the kora MCP by @runkora[bot] in #1065
  • FAC-94: Session-manager CPU request chart value by @runkora[bot] in #1067
  • FAC-91: kora-agents: session-manager client reuses connections to agent pods after their IP moves by @runkora[bot] in #1060
  • FAC-92: kora-agents: a run starts without its task when the first message fails to send by @runkora[bot] in #1061
  • docs(adr): amend demand-driven agent scaling with a one-pod floor and surge rollout by @justinwilkin in #1068
  • feat(agents): lower the pod floor to 1 and stop counting draining pods as coming up by @justinwilkin in #1069
  • feat(agents): add a surge pod before a roll and hold the old pods until it is Ready by @justinwilkin in #1070
  • test(agents): add a local cluster check for the surge rollout by @justinwilkin in #1071
  • fix(agents): retry the budget, Service and ServiceAccount updates on a conflict by @justinwilkin in #1073
  • fix(agents): count only live pods toward the floor and keep a Ready pod through an eviction by @justinwilkin in #1074
  • fix(operator): scope the sandbox Istio proxy to the services it calls by @justinwilkin in #1075
  • fix(chart): keep tenant Services out of kora-system Istio proxies by @justinwilkin in #1076
  • perf(agents): read the scaler's StatefulSets and pods from an informer cache and check agents in parallel by @justinwilkin in #1078
  • fix(operator): keep DNS over TCP in the agent pod proxy scope by @justinwilkin in #1079
  • fix(identity): refuse an agent SVID whose slug has no live agent by @justinwilkin in #1080
  • feat(identity): give unbound pool pods a pool SPIFFE ID and their tenant's policy bundle by @justinwilkin in #1081
  • feat(identity-proxy): serve a pool pod with no token until it is bound to an agent by @justinwilkin in #1082
  • feat(chart): let only kora-agents set a pod's agent label, once, as the pod leaves the pool by @justinwilkin in #1084
  • feat(agents): call session-managers at the pod IP with the agent Service as Host by @justinwilkin in #1085
  • feat(agents): keep a pool of unbound session-manager pods in each tenant by @justinwilkin in #1086
  • feat(agents): shrink idle agent pods in place and grow them before a run by @justinwilkin in #1088
  • feat(agents): bind pool pods to agents and retire the agent StatefulSet by @justinwilkin in #1091
  • feat(agents): delete an idle agent's pods after coldAfterSecs and wake it on a pool pod at its next run by @justinwilkin in #1092
  • feat(console): attribution on generic webhook sources by @justinwilkin in #1096
  • feat(triggers): attribution on generic webhook sources by @justinwilkin in #1097
  • FAC-73: Start budget: time out a pod that is Running but never Ready by @runkora[bot] in #1039
  • fix(operator): pin kora-identity's SAN for every pod in a tenant namespace by @justinwilkin in #1099
  • docs(adr): protect agent pods from eviction only while a run holds them by @justinwilkin in #1100
  • feat(agents): protect an agent pod from eviction only while a run holds it by @justinwilkin in #1101
  • docs(adr): align the busy-pod budget wording with the code by @justinwilkin in #1104
  • docs: Runs tab PRD and runs list live stream ADR by @justinwilkin in #1110
  • feat(agents): run list filters and placed, resumed and summarized run events by @justinwilkin in #1111
  • feat(events): let kora-agents read run events on the internal stream by @justinwilkin in #1112
  • feat(agents): live run list stream, GET /api/v1/runs/stream by @justinwilkin in #1113
  • feat(console): Runs tab with live updates in place of Dashboard by @justinwilkin in #1114
  • build(deps): bump the frontend group across 1 directory with 15 updates by @dependabot[bot] in #1108
  • build(deps): bump the actions group with 5 updates by @dependabot[bot] in #1107
  • docs: chat page PRD and ADR by @justinwilkin in #1116
  • feat(hades): Combobox on cmdk and a one-shot Reveal by @justinwilkin in #1117
  • feat(console): chat page that starts runs and replaces the start modal by @justinwilkin in #1118
  • docs(adr): amend the grants index and runs stream ADRs for console load times by @justinwilkin in #1121
  • perf(policy): index role scopes and find covering scopes by set lookup by @justinwilkin in #1122
  • perf(agents): check the edit ceiling by set lookup by @justinwilkin in #1123
  • perf(console): draw the first runs page before the stream opens by @justinwilkin in #1124
  • perf(console): prefetch sidebar routes on intent, not on render by @justinwilkin in #1125
  • docs: lead the README with the software factory headline by @justinwilkin in #1127
  • feat(sandbox): add the gh stack extension to kora-sandbox-dev by @justinwilkin in #1128
  • feat(agents): FAC-98 tell the agent who sent each message by @runkora[bot] in #1129
  • fix(build): declare GH_STACK_VERSION in docker-bake.hcl by @justinwilkin in #1131
  • fix(frontend): stop iOS zoom on input focus and sidebar taps being dropped by @runkora[bot] in #1133
  • feat(inferencegw): FAC-99 let a compatible InferenceProvider send additional request headers by @runkora[bot] in #1130
  • docs(graders): FAC-102 document Graders and run grading by @runkora[bot] in #1136
  • fix(agents): start spare pool pods at full session-manager size by @justinwilkin in #1151
  • fix(operator): pull the sandbox sidecar images in the image warmer by @justinwilkin in #1152
  • perf(console): send the agents list only the fields it draws by @justinwilkin in #1153
  • perf(chart): give the frontend server a larger young generation by @justinwilkin in #1154
  • docs(events): FAC-101 document the event spine and platform event triggers by @runkora[bot] in #1137
  • docs(runs): document the completing state by @runkora[bot] in #1138
  • docs(agents): FAC-104 document the agent pod pool, scaling and ACP runner profiles by @runkora[bot] in #1139
  • docs(docs): FAC-105 sweep concepts, architecture and reference pages against main by @runkora[bot] in #1140
  • docs(guides): FAC-106 sweep guides against main by @runkora[bot] in #1141
  • docs: update references to agent pods, provisioning and workspace volumes by @runkora[bot] in #1109
  • test(githubapp): FAC-139 pin classification of routes behind open GitHub denial reports by @runkora[bot] in #1146
  • docs(adr): FAC-140 document the qualifier-matching rule in the GitHub route-coverage ADR by @runkora[bot] in #1149
  • fix(triggers): FAC-115 record fires of a deleted trigger as cancelled, not failed by @runkora[bot] in #1142
  • fix(agents): FAC-113 fail silent active runs with a run_stalled run_error by @runkora[bot] in #1144
  • fix(inferencegw): refresh catalog before registering model scopes by @justinwilkin in #1134
  • build(deps): bump the base-images group across 2 directories with 2 updates by @dependabot[bot] in #1105
  • fix(agents): FAC-116 name the missing scope in a refused run start by @runkora[bot] in #1143
  • fix(egressgw): FAC-133 select the connection holding the ci grant for the Actions log host by @runkora[bot] in #1145
  • feat(egressgw): FAC-132 render Kubernetes-connection egress denials as a Status body by @runkora[bot] in #1148
  • docs(architecture): FAC-108 update and add architecture diagrams by @runkora[bot] in #1156
  • fix(agents): FAC-114 report sandbox pod state when the ready wait times out by @runkora[bot] in #1147
  • fix(session-manager): read the adapter's stderr to the end before Close returns by @justinwilkin in #1090
  • docs: list Events and Graders in the README and what-is-kora indexes by @runkora[bot] in #1158
  • fix(session-manager): record no run error when an interrupt cancels a turn by @justinwilkin in #1160

Full Changelog: v0.12.0...v0.13.0