instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
Kiln-AI__Kiln__1091
Kiln-AI/Kiln
1,091
defect
544ee18c569d01a5d678458fedfa8c276adf561c
5837326a8bed4c46cfa19537c71191731ffc7040
Add thinking-level to KilnAgentRunConfig
## What does this PR do? Adding thinking level so users can explicitly control a model’s reasoning effort per run while preserving existing defaults and compatibility. * Add model-level thinking metadata (available_thinking_levels, default_thinking_level) and expose it via the provider API. * Retired the existi...
diff --git a/app/desktop/studio_server/provider_api.py b/app/desktop/studio_server/provider_api.py index 8162dc9bb6..0b98efb07b 100644 --- a/app/desktop/studio_server/provider_api.py +++ b/app/desktop/studio_server/provider_api.py @@ -161,6 +161,8 @@ class ModelDetails(BaseModel): multimodal_mime_types: List[str] ...
15
7
3
[{"id": "G0", "claim": "update_thinking_level_if_needed can be simplified by using the already-available reactive current_model_details variable instead of recomputing model details from its parameters (and the call site updated accordingly).", "category": "maintainability", "verdict": "supported", "priority": "P2", "s...
null
Kiln-AI__Kiln__1108
Kiln-AI/Kiln
1,108
defect
f18aa3bcd6c8764ea7488c1f07e931a6348ce9d5
8870face2745e5087c9dbfc2693c668677781ebb
Skills data model
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Adds project-scoped Skills (name, description, instruction body) with runtime Skill tooling, a CRUD API, toolset discovery integration, and Tools-selector/run-config support; frontend Skills man...
diff --git a/.planning/projects/skills_KIL-443/implementation_plan.md b/.planning/projects/skills_KIL-443/implementation_plan.md new file mode 100644 index 0000000000..59a1b4dd75 --- /dev/null +++ b/.planning/projects/skills_KIL-443/implementation_plan.md @@ -0,0 +1,59 @@ +# KIL-443: Agent Skills Implementation Plan + ...
25
7
5
[{"id": "G0", "claim": "The planning documents use `skill_name`/`skill_description` while the implemented Skill model uses `name`/`description`, so the plans and the API/frontend contract they specify should be updated to consistently use `name`/`description` (the plan snippets as written would hit runtime errors on th...
null
Kiln-AI__Kiln__1109
Kiln-AI/Kiln
1,109
defect
90080be137886ac6e82f29f8c0f476ad88f824ba
5b2487eab568ea8c729332f4d9c9fd36a7ba09b6
Skills tool
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Skills now appear as a separate "Skills" group in tool selection; multiple selected skills run as a consolidated skill tool. Task-specific skills are loaded and supplied to generation, repair, a...
diff --git a/.planning/projects/skills_KIL-443/implementation_plan.md b/.planning/projects/skills_KIL-443/implementation_plan.md index 9c96ab0684..99ea846d49 100644 --- a/.planning/projects/skills_KIL-443/implementation_plan.md +++ b/.planning/projects/skills_KIL-443/implementation_plan.md @@ -41,11 +41,11 @@ The imple...
11
9
6
[{"id": "G0", "claim": "skill_id_from_tool_id does not validate the extracted skill ID for path traversal characters, so a crafted tool ID (e.g. kiln_tool::skill::../../etc/passwd) could potentially load files outside the intended directory when the ID is used for filesystem lookup; it also suggests rejecting empty ski...
null
Kiln-AI__Kiln__1114
Kiln-AI/Kiln
1,114
defect
da8503d250257b3f14b5c9488ed750a223894e6e
8ce99f865c150b27088cd1b2a5d97a9f6d282f92
Add model deprecation support
## What does this PR do? Adds model deprecation support and marks gemini_3_pro_preview as deprecated. Updated model dropdown UX to: - group deprecated models under Deprecated Models, - disable selection for deprecated models, - show deprecation warning when a deprecated model is selected via run config. <im...
diff --git a/app/desktop/studio_server/provider_api.py b/app/desktop/studio_server/provider_api.py index f14ad8d92f..a090fe1c1a 100644 --- a/app/desktop/studio_server/provider_api.py +++ b/app/desktop/studio_server/provider_api.py @@ -168,6 +168,7 @@ class ModelDetails(BaseModel): task_filter: List[str] | None = F...
13
9
4
[{"id": "G0", "claim": "The deprecated flag is hardcoded to False for Ollama and Docker Model Runner models instead of being propagated from ollama_provider.deprecated / docker_provider.deprecated, so deprecation does not work for those provider-backed sources even though the data is available.", "category": "correctne...
null
Kiln-AI__Kiln__1120
Kiln-AI/Kiln
1,120
defect
68d93640667a3bca376b769e9a2484d1130dc618
7b885e2fddb5a339ac10a35525c7cfd544253d54
Skills references backend support
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **New Features** * Skills now support reference files with on-demand loading capabilities * Added optional resource parameter to load specific files from within skills * Implemented security ...
diff --git a/app/desktop/studio_server/skill_api.py b/app/desktop/studio_server/skill_api.py index fa905287e1..5742f9b9ff 100644 --- a/app/desktop/studio_server/skill_api.py +++ b/app/desktop/studio_server/skill_api.py @@ -18,6 +18,10 @@ class SkillUpdateRequest(BaseModel): is_archived: bool | None = None +cla...
8
1
0
[{"id": "G0", "claim": "The reference endpoints return bare dicts so the GET response generates as `{ [key: string]: unknown }` in the TypeScript schema; declare Pydantic response models (e.g. ReferenceContent) with response_model= on the FastAPI routes so the web client gets type-safe access.", "category": "design", "...
null
Kiln-AI__Kiln__1134
Kiln-AI/Kiln
1,134
defect
11b4645bf111ae42c039ca39bfee15baa43b20c3
4910cf9a0e42e53908f8281ce72d20dfaa2e30f3
Fireworks fine tune requires exampleCount to start new job
## What does this PR do? Fireworks fine tune now requires `exampleCount` field. Got an error during testing. ``` Unexpected error: Failed to create dataset: [400] { "code": 9, "details": [], "message": "error validating dataset: example_count is required for uploaded datasets" } ``` ## Checklists - [x] ...
diff --git a/libs/core/kiln_ai/adapters/fine_tune/fireworks_finetune.py b/libs/core/kiln_ai/adapters/fine_tune/fireworks_finetune.py index 383788b73d..1a6925ff38 100644 --- a/libs/core/kiln_ai/adapters/fine_tune/fireworks_finetune.py +++ b/libs/core/kiln_ai/adapters/fine_tune/fireworks_finetune.py @@ -238,9 +238,11 @@ ...
2
1
0
[{"id": "G0", "claim": "The test should compute the expected exampleCount dynamically from the mock_dataset fixture instead of hardcoding the value 3.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The example_count computation should fail fast ...
null
Kiln-AI__Kiln__1137
Kiln-AI/Kiln
1,137
defect
03e9079a5db26b965b9dca66e036f967a0ba6c9e
95709c7c2c9f1cb07a7cec792e03537172e05bbd
Dataset with tools shouldn't be included in a fine tune when no tools are selected.
## What does this PR do? Previously, leaving tools and skills empty in the fine-tune flow could still include runs with tools and allow reuse of datasets that were not actually tool-free. This was caused by empty selections not being preserved consistently through the UI/API flow, and by mixed tool/skill datasets be...
diff --git a/app/desktop/studio_server/finetune_api.py b/app/desktop/studio_server/finetune_api.py index aa5b690165..1867c0f9a3 100644 --- a/app/desktop/studio_server/finetune_api.py +++ b/app/desktop/studio_server/finetune_api.py @@ -5,6 +5,10 @@ import httpx from fastapi import FastAPI, HTTPException, Query from f...
2
1
1
[{"id": "G0", "claim": "The new dataset-filter loop in finetune_dataset_info could be expressed more concisely and idiomatically as a list comprehension with the same logic.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In download_dataset_json...
null
Kiln-AI__Kiln__1144
Kiln-AI/Kiln
1,144
defect
9be4f348d1abf5a469835d4e428c886012872b11
b7fd6dd0a1d4fbd8e64d212ee06ec35855ca3294
Fix structured_output for Anthropic models
## What does this PR do? Fix Anthropic structured output failures caused by object schemas missing `additionalProperties: false`. - add a shared recursive JSON schema normalizer for object schemas - use normalized schemas in LiteLLM structured output paths - replace ad hoc schema-closing logic in data generatio...
diff --git a/libs/core/kiln_ai/adapters/data_gen/data_gen_task.py b/libs/core/kiln_ai/adapters/data_gen/data_gen_task.py index 2b1c8d6f7d..2a05c45dd5 100644 --- a/libs/core/kiln_ai/adapters/data_gen/data_gen_task.py +++ b/libs/core/kiln_ai/adapters/data_gen/data_gen_task.py @@ -5,6 +5,7 @@ from kiln_ai.adapters.prom...
3
2
1
[{"id": "G0", "claim": "The recursive `_normalize` in `close_object_schemas` calls `deepcopy` on every dict it visits, causing redundant O(n^2) copying; it should deep-copy once at the entry point and mutate in place (or build new dicts without the inner copy).", "category": "performance", "verdict": "uncertain", "prio...
null
Kiln-AI__Kiln__1145
Kiln-AI/Kiln
1,145
defect
9be4f348d1abf5a469835d4e428c886012872b11
a7b1ece30608509ad1d6294378870e638262664a
MCP tool server cannot be archived when it fails to connect
## What does this PR do? Fix MCP tool server archiving when the server is broken. - Add new archive end point - Update tool server page to use the new end point. ## Checklists - [x] Tests have been run locally and passed - [x] New tests have been added to any work in /lib <!-- This is an auto-generate...
diff --git a/app/desktop/studio_server/test_tool_api.py b/app/desktop/studio_server/test_tool_api.py index 720f213424..3215b811d5 100644 --- a/app/desktop/studio_server/test_tool_api.py +++ b/app/desktop/studio_server/test_tool_api.py @@ -3296,6 +3296,46 @@ async def test_edit_remote_mcp( assert loaded_too...
4
3
2
[{"id": "G0", "claim": "update_archive should destructure and check the { error } field of the openapi-fetch POST/PATCH archive response before applying the optimistic state update, because openapi-fetch does not throw on HTTP failures and lines 370-376 currently apply the archived state even when the request failed.",...
null
Kiln-AI__Kiln__1147
Kiln-AI/Kiln
1,147
defect
9be4f348d1abf5a469835d4e428c886012872b11
614787de7ad06c3e5e1e17173d07831be902ef08
refactor: model list refreshing
## What does this PR do? SDK clients should be able to trigger the model list refreshing (using remote_config) on their own - we currently only refresh the model list. Changes: - refactor: extract the core logic for pulling and merging the remote config with local model list, and make it async - refactor: decou...
diff --git a/app/desktop/desktop_server.py b/app/desktop/desktop_server.py index e7ebf96dd0..cf1e9dc027 100644 --- a/app/desktop/desktop_server.py +++ b/app/desktop/desktop_server.py @@ -10,7 +10,10 @@ import kiln_server.server as kiln_server import uvicorn from fastapi import FastAPI -from kiln_ai.adapters.remote_c...
6
3
3
[{"id": "G0", "claim": "Overlapping refresh_model_list() calls fetch concurrently because refresh_lock is acquired only after the await, so whichever response finishes last overwrites the shared lists, and refresh_model_list_background() spawns an un-deduplicated daemon thread per call; the reviewer asks that the whole...
null
Kiln-AI__Kiln__1152
Kiln-AI/Kiln
1,152
defect
9be4f348d1abf5a469835d4e428c886012872b11
2306570cd82f9ad384e9a9763fc0c59343c01e01
fix: sanitize truncated Kiln model folders
## What does this PR do? The folder names for base models are truncated to 32 chars long, but the truncated string can end with a trailing space, which breaks on Windows. Changes: - fix: use `string_to_valid_name` on the truncated folder name ## Checklists - [x] Tests have been run locally and passed - [x...
diff --git a/libs/core/kiln_ai/datamodel/basemodel.py b/libs/core/kiln_ai/datamodel/basemodel.py index c29f11f7e7..2afb9f657d 100644 --- a/libs/core/kiln_ai/datamodel/basemodel.py +++ b/libs/core/kiln_ai/datamodel/basemodel.py @@ -565,7 +565,8 @@ def build_child_dirname(self) -> Path: path = self.id n...
1
1
1
[{"id": "G0", "claim": "If the first 32 characters of the name sanitize to an empty string, `name_part` is empty and the built path still ends with a trailing space, reintroducing the problem this PR set out to fix; only append the name part (or otherwise guard) when it is non-empty.", "category": "correctness", "verdi...
null
Kiln-AI__Kiln__1160
Kiln-AI/Kiln
1,160
defect
8bd374b2b1797166e71c99109d2d2acfe9b2e623
78b7278ec29056133c8758f93599925526c6042b
References subdirectory fix for skills
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added first-class support for an assets directory so users can store and load arbitrary asset files (CSV, JSON, TXT, etc.). * Resources (references and assets) now support nested subdirectorie...
diff --git a/libs/core/kiln_ai/datamodel/skill.py b/libs/core/kiln_ai/datamodel/skill.py index e5309f0628..efb91dd421 100644 --- a/libs/core/kiln_ai/datamodel/skill.py +++ b/libs/core/kiln_ai/datamodel/skill.py @@ -71,19 +71,21 @@ def references_dir(self) -> Path: ) return self.path.parent / "refe...
3
3
2
[{"id": "G0", "claim": "Path validation should resolve the requested path to its canonical form and verify it stays inside the intended resource directory, because the string-based check does not stop traversal through symbolic links (a symlink in references/ could expose files like /etc/passwd).", "category": "securit...
null
Kiln-AI__Kiln__1174
Kiln-AI/Kiln
1,174
defect
c46041a35314293f68b337c11a3cad8e3f4ff9d8
b527a9d21d6f654d15391803a2c28c921201603f
Increase timeout for spec and add timeout error
## What does this PR do? Increase timeout for copilot from 300s to 900s. I've seen requests run for more than 10 minutes. Add custom error for httpx timeout. ## Checklists - [x] Tests have been run locally and passed - [x] New tests have been added to any work in /lib <!-- This is an auto-generated comm...
diff --git a/app/desktop/studio_server/api_client/kiln_server_client.py b/app/desktop/studio_server/api_client/kiln_server_client.py index 0089705bb4..81ec93d9a0 100644 --- a/app/desktop/studio_server/api_client/kiln_server_client.py +++ b/app/desktop/studio_server/api_client/kiln_server_client.py @@ -46,7 +46,7 @@ def...
2
2
1
[{"id": "G0", "claim": "The 408 timeout response should not expose `raw_error` (str(exc), which can reveal internal URLs) in the API response; the full exception should be logged server-side and the test asserting `raw_error` in the body updated accordingly.", "category": "security", "verdict": "supported", "priority":...
null
Kiln-AI__Kiln__1185
Kiln-AI/Kiln
1,185
defect
e0222093dce46bf78bdfdca4ea865d27765d635b
6b9936b70e3da49ae1e77906c952aa5f04142952
Fix OpenAI SDG structured output schemas missing required fields
## What does this PR do? Re-implement https://github.com/Kiln-AI/Kiln/pull/1146 - OpenAI strict mode requires required on every object schema — without it, the API rejects the request - Added a strict parameter to close_object_schemas() that adds required with all property keys when enabled - Only applied in Op...
diff --git a/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py b/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py index 976fd19dd9..04f8b6c25e 100644 --- a/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py +++ b/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py @@ -392,7 +39...
1
1
0
[{"id": "G0", "claim": "Verify that `properties` is a dictionary before accessing its keys so close_object_schemas handles unexpected input types gracefully instead of raising a potential `AttributeError`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kiln-AI__Kiln__1192
Kiln-AI/Kiln
1,192
defect
84522adc1200000d46d738cd34eac4cd27ea6194
4c015e23a06610a18d266e5af94ee647ecde3f92
Sync eval name when spec name is updated
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Spec names now automatically synchronize with their associated evaluation names when updated. * Evaluation name changes are rolled back if spec persistence fails, preventing data inconsistencies....
diff --git a/libs/server/kiln_server/spec_api.py b/libs/server/kiln_server/spec_api.py index 6ecdcc2890..df15b819bb 100644 --- a/libs/server/kiln_server/spec_api.py +++ b/libs/server/kiln_server/spec_api.py @@ -142,6 +142,15 @@ async def update_spec( spec.tags = request.tags spec.save_to_file() ...
8
4
2
[{"id": "G0", "claim": "When a spec's name is synced to the eval, the output scores that were named after the spec should also be updated (and the test should verify matching scores change while others stay), to keep the persisted names consistent.", "category": "correctness", "verdict": "opposed", "priority": "P1", "s...
null
Kiln-AI__Kiln__1193
Kiln-AI/Kiln
1,193
defect
9c10c04fdcb707071ea9a98e95a80d441110f669
5321b48929d379189f0ff19ce686634e34413cbd
Kiln project export broken with skills
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Skills referenced in project task configurations are now detected and automatically exported during packaging. * Tool validation expanded to recognize and correctly accept skill-type tools a...
diff --git a/libs/core/kiln_ai/cli/commands/package_project.py b/libs/core/kiln_ai/cli/commands/package_project.py index 6acfbe64de..14fdd630c8 100644 --- a/libs/core/kiln_ai/cli/commands/package_project.py +++ b/libs/core/kiln_ai/cli/commands/package_project.py @@ -16,15 +16,18 @@ from kiln_ai.datamodel.prompt import...
7
5
3
[{"id": "G0", "claim": "Using shutil.copytree without dirs_exist_ok=True will make the export fail with FileExistsError when multiple skills share the same parent directory.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Hardcoding \"skill.kiln\" as...
null
Kiln-AI__Kiln__1200
Kiln-AI/Kiln
1,200
defect
e5a314020b9c4754052de3288ab04c1ec8bbdb2c
ce48a631442f6d026b13885b45c1206f0f26ab68
Add retry to AsyncJobRunner
## What does this PR do? Running eval has 1-2% failures and the current AsyncJobRunner doesn't have a retry mechanism meaning the batch would always fail. - Add retry mechanism to AsyncJobRunner to allow retries on failures. This is done at a lower level than EvalRunner since AsyncJobRunner is shared by RAG as w...
diff --git a/libs/core/kiln_ai/adapters/eval/eval_runner.py b/libs/core/kiln_ai/adapters/eval/eval_runner.py index 18e313eb49..d7ed16a646 100644 --- a/libs/core/kiln_ai/adapters/eval/eval_runner.py +++ b/libs/core/kiln_ai/adapters/eval/eval_runner.py @@ -188,6 +188,7 @@ async def run(self, concurrency: int = 25) -> Asy...
10
4
4
[{"id": "G0", "claim": "Retries fire immediately in a tight loop with no delay, hammering rate-limited or flaky dependencies; add a (configurable) delay between retry attempts.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new retry-test observ...
null
Kiln-AI__Kiln__1207
Kiln-AI/Kiln
1,207
defect
5de609427b3bb10d9864a396cc09c1ed1f81363b
4fd3665221e1dce80b8efecca5d6bbeade138a88
fix: error when Skill ref or asset path points to a dir
## What does this PR do? Sometimes the LLM can (wrongly) call a `SkillTool` with an incorrect path that points to a directory - when that happens, things like `read_text(path)` throw and crash the whole loop. ## Checklists - [x] Tests have been run locally and passed - [x] New tests have been added to any wor...
diff --git a/libs/core/kiln_ai/datamodel/skill.py b/libs/core/kiln_ai/datamodel/skill.py index 0bfdb84ba5..9ea6657674 100644 --- a/libs/core/kiln_ai/datamodel/skill.py +++ b/libs/core/kiln_ai/datamodel/skill.py @@ -56,6 +56,8 @@ def skill_md_raw(self) -> str: md_path = self.skill_md_path() if not md_p...
4
2
1
[{"id": "G0", "claim": "The `resolved.exists()` check in `_read_resource` is redundant because `Path.is_dir()` returns False for non-existent paths, so it should be dropped.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`skill_md_raw()` raising...
null
Kiln-AI__Kiln__1214
Kiln-AI/Kiln
1,214
defect
cbf12d70ddd125686211afca921459b234914e9d
2906d0302d9e7b6bc784eea7f9fe1660608d82e9
feat: enforce min client version and add error code system
## What does this PR do? Add `code` on the Kiln error, so we can have structured errors coming from the server for known scenarios we want to handle in a specific way. Here we do it for showing a message to the user that they need to update the client if the server requires it. ## Checklists - [x] Tests have b...
diff --git a/app/desktop/studio_server/chat/routes.py b/app/desktop/studio_server/chat/routes.py index 5f1fbfc950..b8077c4e9d 100644 --- a/app/desktop/studio_server/chat/routes.py +++ b/app/desktop/studio_server/chat/routes.py @@ -41,7 +41,13 @@ def _raise_upstream_error(detailed: KilnResponse) -> NoReturn: bo...
2
1
0
[{"id": "G0", "claim": "The upstream error handling may lose the top-level `code` when the upstream error response's `detail` is a dictionary, because the code is only merged when `detail` is a string, so the code is not propagated in the detail passed to HTTPException.", "category": "correctness", "verdict": "uncertai...
null
Kiln-AI__Kiln__1229
Kiln-AI/Kiln
1,229
defect
823ca2ff8df13f3105759b16e3bd8770f41d3b33
08fe63e0388c3fcd8b5267e7d48716989c6fe76b
Add is_error to ToolCallResult
## What does this PR do? Currently when an MCP tool returns `isError: true`, we serialized it as JSON in the output string and treating it as a success. This is not the correct way of handling the error per MCP guideline. - Add `is_error` & `error_message` to `ToolCallResult` - Render tool errors in the trace U...
diff --git a/app/web_ui/src/lib/api_schema.d.ts b/app/web_ui/src/lib/api_schema.d.ts index 096c130012..bd7de2f3f7 100644 --- a/app/web_ui/src/lib/api_schema.d.ts +++ b/app/web_ui/src/lib/api_schema.d.ts @@ -3043,6 +3043,10 @@ export interface components { tool_call_id: string; /** Kiln Task To...
3
1
1
[{"id": "G0", "claim": "The ternary `result.is_error if result.is_error else None` is redundant because `result.is_error` is already a boolean, so the adapter should assign the fields directly (`is_error=result.is_error, error_message=result.error_message`).", "category": "maintainability", "verdict": "uncertain", "pri...
null
Kiln-AI__Kiln__1250
Kiln-AI/Kiln
1,250
defect
a6064a5503acf08728cdc167edbf9996850a1dc3
2c8b0cb15c50f70922606a4f345d0aa822236590
Better Signup Flow, automatically create / saves API key
## What does this PR do? Updated Kiln copilot sign up flow to skip the step of needing the user to manually copy the API key. Backend server side has a new endpoint that does authentication (after sign in) and creates API key automatically. This PR adds the new api_client that contains that endpoint. **New in...
diff --git a/app/desktop/studio_server/api_client/kiln_ai_server_client/api/auth/create_api_key_v1_create_api_key_post.py b/app/desktop/studio_server/api_client/kiln_ai_server_client/api/auth/create_api_key_v1_create_api_key_post.py new file mode 100644 index 0000000000..03f17ec126 --- /dev/null +++ b/app/desktop/studi...
9
4
3
[{"id": "G0", "claim": "The error-parsing block should catch json.JSONDecodeError instead of a broad `except Exception:`, which masks unexpected errors and makes debugging harder.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "After a successful POS...
null
Kiln-AI__Kiln__1263
Kiln-AI/Kiln
1,263
defect
4e4bc93f7160666d9d85f5942229d4472099c198
6e4081f3195bedde29a1a0e34a061600ffdbebd7
fix: whitelist tools and tool_choice in allowed params in adapter
## What does this PR do? LiteLLM drops tool definitions in model calls where it believes the model does not support tools. We need to whitelist `tools` and `tool_choice` to bypass the `drop_params` behavior of LiteLLM's completion logic. We could get away with hardcoding this list and always passing it into the `...
diff --git a/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py b/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py index 3bee6bf9e8..fd58037a16 100644 --- a/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py +++ b/libs/core/kiln_ai/adapters/model_adapters/litellm_adapter.py @@ -577,6 +57...
2
2
1
[{"id": "G0", "claim": "The current implementation overwrites any existing allowed_openai_params that might have been provided via additional_body_options or extra_body; it is safer to merge the lists so user-defined whitelisted parameters are preserved.", "category": "correctness", "verdict": "supported", "priority": ...
null
Kiln-AI__Kiln__1267
Kiln-AI/Kiln
1,267
defect
e682c0e1ecd9cbbe8e7ad936dc1766e1eec07c2f
7f3e448772803db4eb334e5ace2722c9750e2551
KIL-534 Add Feedback data model on TaskRun
Linear ticket: https://linear.app/kiln-ai/issue/KIL-534/improve-feedback-on-taskrun ## Description Replace the single `user_feedback` string field on TaskRun with a proper Feedback data model that supports multiple feedback entries per task run. ### Changes - **New `Feedback` model** (`libs/core/kiln_ai/datamodel/f...
diff --git a/app/desktop/studio_server/api_client/kiln_ai_server_client/models/examples_with_feedback_item.py b/app/desktop/studio_server/api_client/kiln_ai_server_client/models/examples_with_feedback_item.py index 317e068fe9..95bfe9bdd7 100644 --- a/app/desktop/studio_server/api_client/kiln_ai_server_client/models/exa...
5
1
1
[{"id": "G0", "claim": "Removing the user_feedback assignment from create_task_run_from_reviewed without an alternative implementation discards feedback from ReviewedExample in the spec builder flow, causing data loss.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
Kiln-AI__Kiln__1271
Kiln-AI/Kiln
1,271
defect
e87d1a25a1e98e0821b3b9a2162c3a7117501fb8
ac588ac091adcffa772df7fe09fd798ed0f40fc5
KIL-537 Replace repair UI with feedback UI
Linear ticket: https://linear.app/kiln_ai/issue/KIL-537/replace-repair-ui-with-feedback-ui ## Description Replace the repair UI with a new feedback UI that uses the Feedback data model added in KIL-534. - Remove all repair UI code (repair form, edit form, review/accept/delete flows) - Delete `output_repair_edit_form...
diff --git a/app/web_ui/src/lib/types.ts b/app/web_ui/src/lib/types.ts index b2277a6633..f304912a47 100644 --- a/app/web_ui/src/lib/types.ts +++ b/app/web_ui/src/lib/types.ts @@ -138,6 +138,8 @@ export type DocumentLibraryState = components["schemas"]["DocumentLibraryState"] export type Spec = components["schemas"]["S...
4
3
2
[{"id": "G0", "claim": "The load_feedback function suffers a race condition when the user switches runs quickly (stale responses can overwrite newer data), fires redundant requests whenever the reactive trigger runs even when the run id is unchanged, and shows the previous run's stale feedback until the new request com...
null
Kiln-AI__Kiln__217
Kiln-AI/Kiln
217
defect
d78563e003f54c8277e7ea8b8c1b2fcea6886ade
c15af686cfd61b2d75a64dde0c6ab62ce62d85fa
chore: set up logging
## What does this PR do? Add config for logging to file / console / both in the uvicorn server. The files are rotated when they reach a max size and default settings can be overwritten via environment variables. Add new environment variables: - `KILN_LOG_LEVEL`: Sets logging level (defaults to ~~"INFO"~~ "ERROR"...
diff --git a/app/desktop/custom_tray.py b/app/desktop/custom_tray.py index 10c67a4a50..cdb254c329 100644 --- a/app/desktop/custom_tray.py +++ b/app/desktop/custom_tray.py @@ -1,8 +1,11 @@ import io +import logging import sys import pystray +logger = logging.getLogger(__name__) + class KilnTray(pystray.Icon): ...
7
6
0
[{"id": "G0", "claim": "The existing `print` statements do not go into the log file, so they should be moved to proper log calls with an associated level.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The default log level should be `ERROR` rathe...
null
Kiln-AI__Kiln__304
Kiln-AI/Kiln
304
defect
e738f95551dfbb06cd757e583a33259189f777b9
db53babbb4bb616d7f99b7c8e89432f42dca6b39
RAG: base extractor and gemini
## What does this PR do? This PR adds a `BaseExtractor` abstract class and the `GeminiExtractor` that implements it. ## Related Issues Part of the overarching RAG issue: https://github.com/Kiln-AI/Kiln/issues/21 ## Checklists - [x] Tests have been run locally and passed - [x] New tests have been added t...
diff --git a/libs/core/kiln_ai/adapters/extractors/__init__.py b/libs/core/kiln_ai/adapters/extractors/__init__.py new file mode 100644 index 0000000000..900ac6c728 --- /dev/null +++ b/libs/core/kiln_ai/adapters/extractors/__init__.py @@ -0,0 +1,6 @@ +from . import base_extractor, gemini_extractor + +__all__ = [ + "...
29
20
5
[{"id": "G0", "claim": "The google.genai import paths are wrong and will raise ModuleNotFoundError at runtime; the PR should import from google.generativeai instead.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "file_utils.py should gain a module-lev...
null
Kiln-AI__Kiln__310
Kiln-AI/Kiln
310
defect
328fd2092a29f02f5294921a678191f047a81c57
2bb3393dc42557d083f095b65a70d5a079d985cc
refactor: extract job runner into own class
## What does this PR do? Extract job runner logic out of `EvalRunner` to make the same pattern reusable. ## Related Issues N/A ## Checklists - [x] Tests have been run locally and passed - [x] New tests have been added to any work in /lib <!-- This is an auto-generated comment: release notes by codera...
diff --git a/libs/core/kiln_ai/adapters/eval/eval_runner.py b/libs/core/kiln_ai/adapters/eval/eval_runner.py index c8a30753f6..50c1019321 100644 --- a/libs/core/kiln_ai/adapters/eval/eval_runner.py +++ b/libs/core/kiln_ai/adapters/eval/eval_runner.py @@ -1,4 +1,3 @@ -import asyncio import logging from dataclasses imp...
7
4
4
[{"id": "G0", "claim": "Validate the `concurrency` argument up-front because a value of 0 or negative spawns no workers and makes the runner hang.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If `run_job` raises, the exception bubbles up, no entry...
null
Kiln-AI__Kiln__313
Kiln-AI/Kiln
313
defect
328207e019bf3d85cb592d373f9054bebacb151b
3a73a6584bbcc610c1420d421ead56749090018b
refactor: ExtractionConfig datamodel
## What does this PR do? - add datamodel for `ExtractorConfig` (inheriting from `KilnBaseModel`) - refactor `BaseExtractor` and `GeminiExtractor` to use `ExtractorConfig` - update tests ## Checklists - [x] Tests have been run locally and passed - [x] New tests have been added to any work in /lib <!-- Thi...
diff --git a/libs/core/kiln_ai/adapters/__init__.py b/libs/core/kiln_ai/adapters/__init__.py index b69056d242..752d1b9654 100644 --- a/libs/core/kiln_ai/adapters/__init__.py +++ b/libs/core/kiln_ai/adapters/__init__.py @@ -19,6 +19,7 @@ from . import ( data_gen, eval, + extraction, fine_tune, ml...
17
7
1
[{"id": "G0", "claim": "Hydrating GeminiProperties from raw JSON may leave prompt_for_kind with string keys, so the Kind-keyed lookup returns None and users get a cryptic 'No prompt found for kind' error despite supplying a prompt.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduce...
null
Kiln-AI__Kiln__314
Kiln-AI/Kiln
314
defect
1742f3f508521b3f923c1d6fd5297490870bd494
773a45d8984f6e078f2e075309a09e9e363415f6
Add a 'short' prompt generator
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new "Short" prompt generator option that includes only the main task instruction, excluding requirements and examples. - **Bug Fixes** - Improved conditional display and wording ...
diff --git a/app/web_ui/src/routes/(app)/prompts/[project_id]/[task_id]/generator_details/[generator_id]/+page.svelte b/app/web_ui/src/routes/(app)/prompts/[project_id]/[task_id]/generator_details/[generator_id]/+page.svelte index f15e6d4e6b..3a8c5d5b26 100644 --- a/app/web_ui/src/routes/(app)/prompts/[project_id]/[tas...
1
1
0
[{"id": "G0", "claim": "The Short prompt generator's description string in prompt_api.py contains a typo: 'It will include the only the task instruction' should read 'It will include only the task instruction'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kiln-AI__Kiln__326
Kiln-AI/Kiln
326
defect
ed59f74f7cb5948d9df0802dff5d73bb6489fe55
dc35cd8d724e23552b9d5036e0ac416e9c3e4e92
Make prompt_id required for adapters.
Making it optional led to a major bug in evals -- we want to caller to provide it, and never default. Caller can decide if default is appropriate <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Introduced explicit prompt selection for AI task ada...
diff --git a/app/desktop/studio_server/data_gen_api.py b/app/desktop/studio_server/data_gen_api.py index 484a88912e..56e4b2c640 100644 --- a/app/desktop/studio_server/data_gen_api.py +++ b/app/desktop/studio_server/data_gen_api.py @@ -9,6 +9,7 @@ ) from kiln_ai.adapters.model_adapters.base_adapter import AdapterConfi...
3
2
2
[{"id": "G0", "claim": "Make the prompt_id signatures consistent: run_simple_test still allows prompt_id=None and passes it to run_simple_task, which the PR changed to require a non-None prompt_id, risking a type error, and obsolete None-handling logic remains.", "category": "correctness", "verdict": "supported", "prio...
null
Kiln-AI__Kiln__364
Kiln-AI/Kiln
364
defect
aa9a4f5858f4707d4eff8c1646d5b2150fb41edb
f92fae4eedeb2163846f1fea952f9d34632c8916
fix: allow non-ascii in model names
## What does this PR do? The `NAME_FIELD` and `SHORT_NAME_FIELD` Pydantic fields we reuse across different `KilnBaseModel` implementations are more restrictive than they need to be as they reject a range of values that would be valid filenames (e.g. non-ASCII letters from other languages like Chinese, Japanese, etc....
diff --git a/app/web_ui/src/lib/api_schema.d.ts b/app/web_ui/src/lib/api_schema.d.ts index 601fcfba4c..0ab7e736e6 100644 --- a/app/web_ui/src/lib/api_schema.d.ts +++ b/app/web_ui/src/lib/api_schema.d.ts @@ -1047,7 +1047,7 @@ export interface components { ApiPrompt: { /** * Name - ...
12
2
0
[{"id": "G0", "claim": "Consider allowing '.' and ',' in names since they are legal in filenames on all major platforms and may be useful to users, unless there is a platform-specific reason not to.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Remove t...
null
Kiln-AI__Kiln__366
Kiln-AI/Kiln
366
defect
aa9a4f5858f4707d4eff8c1646d5b2150fb41edb
015c23a78ee8281fdf5a331255bc149640c1a340
Adding latest Deepseek 0528 model from FW, and Llama 4 Scout and Maverick
## What does this PR do? Adding new FW models ## Checklists - [X] Tests have been run locally and passed - [ ] New tests have been added to any work in /lib <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added support for three ne...
diff --git a/libs/core/kiln_ai/adapters/ml_model_list.py b/libs/core/kiln_ai/adapters/ml_model_list.py index ff879f0d94..1a1e8485f0 100644 --- a/libs/core/kiln_ai/adapters/ml_model_list.py +++ b/libs/core/kiln_ai/adapters/ml_model_list.py @@ -46,6 +46,8 @@ class ModelName(str, Enum): llama_3_2_11b = "llama_3_2_11b...
6
1
1
[{"id": "G0", "claim": "DeepSeek R1 0528 takes more than 10 minutes to run, so the paid tests cannot run on it — the author asks whether to bump the timeout or wait for Fireworks to make it faster.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ...
null
Kiln-AI__Kiln__372
Kiln-AI/Kiln
372
defect
f43557109e49dce0ad18bf7bf0f73efdfa75f263
81a629fb4eb6a99233186c6f1fc25af9926da428
feat: async remote config loading
## Summary - rename remote_model_list to remote_config - publish serialized config via GitHub workflow - fetch remote config in the background on server startup - update tests for new remote_config module ## Testing - `uvx ruff check --select I` - `uvx ruff format --check .` - `uv run pyright .` - `uv run python3 -m p...
diff --git a/.github/workflows/publish_remote_config.yml b/.github/workflows/publish_remote_config.yml new file mode 100644 index 0000000000..2f7fa0be1a --- /dev/null +++ b/.github/workflows/publish_remote_config.yml @@ -0,0 +1,49 @@ +name: Publish Remote Config + +on: + workflow_dispatch: + +permissions: + contents:...
9
2
2
[{"id": "G0", "claim": "The KILN_SKIP_REMOTE_MODEL_LIST check misses values such as \"True\", \"TRUE\" or \"1\"; the comparison should be case-insensitive.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Catching Exception and passing silently discar...
null
Kiln-AI__Kiln__446
Kiln-AI/Kiln
446
defect
4f511b4896c95667e4edcfaf4c7b32c5635c6981
02c137d4bbeea083cb7a72e15dac1ebecc903777
feat: add qwen 3 32B, remove deprecated model, fix reasoning
What does this PR do? - Add support for `Qwen/Qwen3-32B` on Groq, both non-thinking and thinking (ref: https://groq.com/pricing) - Remove `qwen-qwq-32b`, which has been decommissioned on Groq - Add `none` value for `thinking_level` because this is how Groq supports disabling thinking for Qwen3 models (ref: https:/...
diff --git a/libs/core/kiln_ai/adapters/ml_model_list.py b/libs/core/kiln_ai/adapters/ml_model_list.py index f0227476ff..472fe4c33c 100644 --- a/libs/core/kiln_ai/adapters/ml_model_list.py +++ b/libs/core/kiln_ai/adapters/ml_model_list.py @@ -198,7 +198,7 @@ class KilnModelProvider(BaseModel): require_openrouter_r...
1
1
0
[{"id": "G0", "claim": "The hard-coded `allowed_openai_params` overwrite may silently discard caller-supplied values injected via LiteLlmConfig.additional_body_options, making the adapter brittle.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Kiln-AI__Kiln__470
Kiln-AI/Kiln
470
defect
95aa4d0d5e1098ba9125d88f97f1a72891b7c702
599ba543afe0516da6b0e45ae73dd873bd0e33a5
tools scaffolding
- IDs setup and ready for pydantic validation - Base abstract tool definition - Base helper definition for implementing with code, helpers for schema/props - Examples tools for math (add, subtract, etc) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New ...
diff --git a/libs/core/kiln_ai/datamodel/json_schema.py b/libs/core/kiln_ai/datamodel/json_schema.py index 7720b20f12..1ae4df9528 100644 --- a/libs/core/kiln_ai/datamodel/json_schema.py +++ b/libs/core/kiln_ai/datamodel/json_schema.py @@ -84,25 +84,40 @@ def schema_from_json_str(v: str) -> Dict: """ try: ...
5
2
1
[{"id": "G0", "claim": "In schema_from_json_str the new type check is wrong: it tests the input string `v` instead of the parsed object and raises when it IS a dict, so the intended not-a-dict validation is inverted and never fires as written.", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
Kiln-AI__Kiln__481
Kiln-AI/Kiln
481
defect
167339f5f00bd8177f3b5caa93e1448aac78a44b
d1e01d5d2113e44b0cbe9477fef521857f2a9256
Don't require built in model names to be in the enum, since we now push new models OTA
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved error handling when selecting unavailable models or providers, ensuring the system returns no result instead of raising errors. * **Tests** * Added and updated tests to verify that miss...
diff --git a/libs/core/kiln_ai/adapters/provider_tools.py b/libs/core/kiln_ai/adapters/provider_tools.py index 3a0460ac16..f4ebfe0770 100644 --- a/libs/core/kiln_ai/adapters/provider_tools.py +++ b/libs/core/kiln_ai/adapters/provider_tools.py @@ -5,7 +5,6 @@ from kiln_ai.adapters.ml_model_list import ( KilnModel,...
3
2
1
[{"id": "G0", "claim": "The docstring of builtin_model_from still says it returns a tuple of (provider, model), which does not match the KilnModelProvider | None the method actually returns.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The metho...
null
Kiln-AI__Kiln__490
Kiln-AI/Kiln
490
defect
0eb20b2aa9feec42cf5e10bf24066048aa72dd0d
cd7461d328a2d505e7d4b9eb56331d1e331c85d2
Add basic UI to allow external tool management
## What does this PR do? Add basic UI to allow user to connect external tools under settings. * Add "Manage Tools" page under settings * Add "Detail Tool" page based on tool id * Add "Add Tool" page. * Update connect_remote_MCP API to allow empty headers. * Add new API `get_tool` which takes a tool id and ret...
diff --git a/app/desktop/studio_server/test_tools_api.py b/app/desktop/studio_server/test_tools_api.py index a31024ef0b..e9e6b53945 100644 --- a/app/desktop/studio_server/test_tools_api.py +++ b/app/desktop/studio_server/test_tools_api.py @@ -64,7 +64,7 @@ def test_create_tool_no_headers(client, test_project): ...
47
33
1
[{"id": "G0", "claim": "The `$:` reactive assignment for project_id is unnecessary on the add-tools page (and the same pattern elsewhere); read `$page.params.project_id` directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `$:` reactive ...
null
Kiln-AI__Kiln__509
Kiln-AI/Kiln
509
defect
675be7c25ef624cb71e2a74690518dd72d9919dc
f92b7c579e65e09cab9d3f9a89bbb6a03a748544
add a proper trace to our datamodel following OpenAI types
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Added richer, OpenAI-compatible run traces showing system, user, assistant, and tool steps and preserved with runs. - Improved tool-call handling so assistant/tool outputs and final answers are cl...
diff --git a/libs/core/kiln_ai/adapters/chat/chat_formatter.py b/libs/core/kiln_ai/adapters/chat/chat_formatter.py index b95386fbb0..6c41529e95 100644 --- a/libs/core/kiln_ai/adapters/chat/chat_formatter.py +++ b/libs/core/kiln_ai/adapters/chat/chat_formatter.py @@ -106,14 +106,12 @@ def next_turn(self, previous_output...
8
1
1
[{"id": "G0", "claim": "CI fails on Python 3.10 with ImportError because libs/core/kiln_ai/utils/open_ai_types.py imports Required from typing, which is only available on Python 3.11+; import Required from typing_extensions or avoid it altogether.", "category": "correctness", "verdict": "supported", "priority": "P0", "...
null
Kiln-AI__Kiln__549
Kiln-AI/Kiln
549
defect
6166b1f7508c3be8b5c74e0ecd3655c8b222864f
bef28e6042fbbe62a08b7b8c76c50902f02cd08e
Add ability to delete Tool Servers
## What does this PR do? Add new delete API for tool server. Add delete button under Tool Server page. <img width="2494" height="1175" alt="image" src="https://github.com/user-attachments/assets/8c532368-6117-40cf-b9d3-2c0b85fa11b6" /> ## Checklists - [x] Tests have been run locally and passed - [x] New...
diff --git a/app/desktop/studio_server/test_tool_api.py b/app/desktop/studio_server/test_tool_api.py index 43af83eda7..efde151c6e 100644 --- a/app/desktop/studio_server/test_tool_api.py +++ b/app/desktop/studio_server/test_tool_api.py @@ -2,7 +2,7 @@ from unittest.mock import AsyncMock, patch import pytest -from fa...
9
1
0
[{"id": "G0", "claim": "Rename libs/core/kiln_ai/datamodel/test_exteral_tool_server.py to test_external_tool_server.py to fix the file-name typo.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Type the delete_dialog bind:this ref as InstanceTy...
null
Kiln-AI__Kiln__617
Kiln-AI/Kiln
617
defect
f2b78b9b6876775062b15eb0a557c64bfc4c4623
c4def1e462c6606b18bd293263e37722139e1e99
feat: add archiving / unarchiving for RagConfig
## What does this PR do? Issue: - users have no way of deleting or disabling RAG Configs; they are very likely to click around just to see what it does, and should have a way of disabling the configs they no longer want to avoid wasted requests / time - SSE appears to monopolize the browser after only 6 open reque...
diff --git a/app/desktop/studio_server/test_tool_api.py b/app/desktop/studio_server/test_tool_api.py index 1a7b63e8d3..6c72650524 100644 --- a/app/desktop/studio_server/test_tool_api.py +++ b/app/desktop/studio_server/test_tool_api.py @@ -5807,3 +5807,88 @@ async def test_get_available_tools_with_rag_and_mcp(client, te...
15
5
2
[{"id": "G0", "claim": "The SSE 'complete' handler in rag_progress_store.ts can dereference an undefined previous_progress_state (e.g. when the server sends 'complete' first), which will throw and unnecessarily downgrade a finished run to the error path; it should be guarded against undefined/partial progress.", "categ...
null
Kiln-AI__Kiln__618
Kiln-AI/Kiln
618
defect
f2b78b9b6876775062b15eb0a557c64bfc4c4623
01c6eefaa722be839dc6c3c3397bc3682c9e48ac
fix: PDF page splitting is blocking the event loop
## What does this PR do? Issue: - at high concurrency and with large PDFs (many pages), it becomes apparent that the PDF splitting is interfering with the server's ability to handle incoming requests - appears to be due to the PDF splitting being synchronous and blocking the event loop Fix: - changed context m...
diff --git a/libs/core/kiln_ai/adapters/extractors/litellm_extractor.py b/libs/core/kiln_ai/adapters/extractors/litellm_extractor.py index e8cebd51b3..5ad0cd840a 100644 --- a/libs/core/kiln_ai/adapters/extractors/litellm_extractor.py +++ b/libs/core/kiln_ai/adapters/extractors/litellm_extractor.py @@ -118,7 +118,7 @@ d...
4
1
1
[{"id": "G0", "claim": "PdfReader(...) initialization and pdf_writer.write(...) remain synchronous inside the now-async split_pdf_into_pages and can stall the event loop for large PDFs; offload the per-page write (and optionally reader init) to a thread with asyncio.to_thread.", "category": "performance", "verdict": "s...
null
Kiln-AI__Kiln__646
Kiln-AI/Kiln
646
defect
da99d26ba151c70a4d6e06546c11398d6bde1132
12d89d4ffab81027f68d43bb6657a8a82a47b12c
chore: add inference and embedding models
## What does this PR do? Add: - `DeepSeek 3.1 Terminus` on OpenRouter - Add SiliconFlow and Together for `Qwen3-Next-80B-A3B-Instruct` - Add SiliconFlow for `Qwen3-Next-80B-A3B-Thinking` (Together has it too, but could not get it to work correctly) - Add Qwen3 embedding models (0.6B, 4B, 8B variants) on ollama, ...
diff --git a/conftest.py b/conftest.py index 65bec32f32..4fefe83abd 100644 --- a/conftest.py +++ b/conftest.py @@ -163,8 +163,6 @@ def create_file(mime_type: MockFileFactoryMimeType) -> Path: filename = test_data_dir / "document_ice_cubes.html" case MockFileFactoryMimeType.MD: ...
3
1
0
[{"id": "G0", "claim": "The skip guard compares a MockFileFactoryMimeType enum against multimodal_mime_types so membership may always be false; also guard the None case and use clearer naming.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ExtractionI...
null
Kiln-AI__Kiln__655
Kiln-AI/Kiln
655
defect
b5cb7b316d562bd3232790192a2d320e2ed2dafa
64f3274778fd670891d11060240b5a82fe4f4404
feat: allow rename docs and description
## What does this PR do? 1. Allow renaming and updating the description for documents. 2. Sanitizing of filenames now replaces forbidden characters with spaces instead of underscores. Implementation of renaming: - the `Document.name` must be a valid filename because it goes into the folder name on the filesyst...
diff --git a/app/web_ui/src/lib/api_schema.d.ts b/app/web_ui/src/lib/api_schema.d.ts index 757ea53a42..ca0b81a10e 100644 --- a/app/web_ui/src/lib/api_schema.d.ts +++ b/app/web_ui/src/lib/api_schema.d.ts @@ -2681,6 +2681,11 @@ export interface components { * @description A name to identify the document. ...
9
1
0
[{"id": "G0", "claim": "The EditDialog subtitle \"REPLACE THIS\" is user-visible; provide a concise, helpful subtitle instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In bulk create, trim names[i] and fall back to file.filename when it is empty af...
null
Kiln-AI__Kiln__703
Kiln-AI/Kiln
703
defect
a64eda3679d549eba63954a51698707aa207731d
5a8ce277651bcc49fe34ccc21e9e245bf00e738d
Fixes [KIL-125] Remove eval run config default
<img width="639" height="324" alt="Screenshot 2025-10-06 at 6 30 44 PM" src="https://github.com/user-attachments/assets/0da82a5a-5f43-4b28-8f4e-521b35953598" /> <img width="360" height="183" alt="Screenshot 2025-10-06 at 7 17 54 PM" src="https://github.com/user-attachments/assets/b66456cb-f7ac-421e-8115-3c157b53da0f...
diff --git a/app/desktop/studio_server/eval_api.py b/app/desktop/studio_server/eval_api.py index dc93345968..0120a27f55 100644 --- a/app/desktop/studio_server/eval_api.py +++ b/app/desktop/studio_server/eval_api.py @@ -154,8 +154,6 @@ class EvalProgress(BaseModel): golden_dataset_fully_rated_count: int # The ...
3
2
0
[{"id": "G0", "claim": "The new_run_config_created callback should await the async get_task_run_configs() call for clearer async control flow.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The 'Compare Run Configurations' button text is too lon...
null
Kiln-AI__Kiln__707
Kiln-AI/Kiln
707
defect
6f6af02d08aaa5b96073ee08c6249c2be3895f1e
0055d982743b90a003a9311d2f0aa3a7bd1e4107
feat: add dynamic doc tags
## What does this PR do? Follow up on https://github.com/Kiln-AI/Kiln/pull/602 to add the same dynamic tagging typeahead to docs. Changes: - add a `document_tag_store.ts`; since that logic does not need coupling with the task run tags - refactor the `TagDropdown` component to handle both docs and task run tags;...
diff --git a/app/web_ui/src/lib/api_schema.d.ts b/app/web_ui/src/lib/api_schema.d.ts index 74673b9671..e222947cb4 100644 --- a/app/web_ui/src/lib/api_schema.d.ts +++ b/app/web_ui/src/lib/api_schema.d.ts @@ -437,6 +437,23 @@ export interface paths { patch?: never; trace?: never; }; + "/api/proj...
3
2
0
[{"id": "G0", "claim": "In increment_document_tag the `if (tag_counts)` check is redundant (always true after the early return) and the function should use an immutable update pattern instead of mutating tag_counts in place.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
Kiln-AI__Kiln__728
Kiln-AI/Kiln
728
defect
eda17fa56b3ac2b1550e2ee6526ab1f6c980da9d
c44044db2ac1f2a8df602421978189cc853dbfe3
Add ability to archive tool server instead of deleting
## What does this PR do? Previously users can only delete a tool server, which is problematic when a tool server is used in many of the run-configs. This PR adds the ability to archive a tool server so user could easily re-enable one. <img width="1512" height="703" alt="image" src="https://github.com/user-attach...
diff --git a/app/desktop/studio_server/test_tool_api.py b/app/desktop/studio_server/test_tool_api.py index 160a730679..86df2b07e6 100644 --- a/app/desktop/studio_server/test_tool_api.py +++ b/app/desktop/studio_server/test_tool_api.py @@ -142,6 +142,7 @@ async def test_create_tool_server_success(client, test_project): ...
9
1
1
[{"id": "G0", "claim": "The local and remote MCP edit forms hardcode is_archived: false in the save payload, which will silently unarchive an archived tool server when it is edited; they should track and pass through the existing archive state instead.", "category": "correctness", "verdict": "supported", "priority": "P...
null
Kiln-AI__Kiln__748
Kiln-AI/Kiln
748
defect
b6bf9e1652fc7cf9fcb04fea35b5750d5ff4dfa8
31cd9a7b6fb4f22b81fa720ef0dd611bf92b9314
Use unique name for GCP bucket
## What does this PR do? Vertex fine-tune is broken because we are using the same `kiln-ai-data` as bucket name for all clients. This needs to be globally unique. Fix the bucket name logic to include the vertex project id which is also globally unique. Verified with a successful vertex fine-tune session. <img w...
diff --git a/libs/core/kiln_ai/adapters/fine_tune/test_vertex_finetune.py b/libs/core/kiln_ai/adapters/fine_tune/test_vertex_finetune.py index 46780ec058..dce2789a8e 100644 --- a/libs/core/kiln_ai/adapters/fine_tune/test_vertex_finetune.py +++ b/libs/core/kiln_ai/adapters/fine_tune/test_vertex_finetune.py @@ -276,7 +27...
3
1
1
[{"id": "G0", "claim": "_unique_bucket_name should validate that vertex_project_id is configured (not None or empty) before constructing the bucket name, as an unset id would yield an invalid name like \"kiln-ai-data-None\".", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
Kiln-AI__Kiln__761
Kiln-AI/Kiln
761
defect
50dfc88ae054242f16e733e420dabbadd6a06f46
582ee897d58a6c1e77153b41e676027cc62da39f
feat: add Qwen3-VL models on ollama, fireworks, siliconflow
## What does this PR do? Changes: - add `Qwen3-VL` models from Ollama, Fireworks, SIliconflow.cn There are two versions of each model: thinking and non-thinking (instruct). Some providers (Fireworks, Siliconflow) expose the two variants as different models with different slugs; others like Ollama can be given a ...
diff --git a/libs/core/kiln_ai/adapters/ml_model_list.py b/libs/core/kiln_ai/adapters/ml_model_list.py index 195afdb935..570e53bc5c 100644 --- a/libs/core/kiln_ai/adapters/ml_model_list.py +++ b/libs/core/kiln_ai/adapters/ml_model_list.py @@ -171,7 +171,16 @@ class ModelName(str, Enum): qwen_3_235b_a22b = "qwen_3_...
9
3
1
[{"id": "G0", "claim": "The qwen_3_vl_4b 'Thinking' variant sets reasoning_capable=False, contradicting its variant name and the other thinking variants, so it should be reasoning_capable=True.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comm...
null
Kiln-AI__Kiln__784
Kiln-AI/Kiln
784
defect
f7441869ee08a70cca116b2f39120bbb33b89d9f
4e29588994b869db1cd82557f642b4c51c0832ef
feat: add more reranker models
## What does this PR do? Follow up to https://github.com/Kiln-AI/Kiln/pull/757, https://github.com/Kiln-AI/Kiln/pull/762, https://github.com/Kiln-AI/Kiln/pull/777, https://github.com/Kiln-AI/Kiln/pull/780 Changes: - add more rerankers : - Together.ai: `Salesforce/Llama-Rank-V1` - Google Vertex AI: `seman...
diff --git a/libs/core/kiln_ai/adapters/reranker_list.py b/libs/core/kiln_ai/adapters/reranker_list.py index b50b4cd359..380aaa1222 100644 --- a/libs/core/kiln_ai/adapters/reranker_list.py +++ b/libs/core/kiln_ai/adapters/reranker_list.py @@ -12,6 +12,9 @@ class KilnRerankerModelFamily(str, Enum): """ llama...
10
4
2
[{"id": "G0", "claim": "The Vertex fast model's model_id lacks the vertex_ai/ prefix, so litellm_model_slug resolves to 'semantic-ranker-fast-004' and LiteLLM would route the call to the default OpenAI provider and the request would fail (404); it should be 'vertex_ai/semantic-ranker-fast-004'.", "category": "correctne...
null
Kiln-AI__Kiln__844
Kiln-AI/Kiln
844
defect
e33b8b0b3580ba3811ae012b6823cefbbff89055
c1a5e7f597d70acdf5a0abcb3c3e29b7e78e65ec
wandb missing "entity" key
## What does this PR do? When wandb is connected, fireworks fine tune will pull the information. We had 2 errors. "message": "wandb project 'Kiln_AI' is invalid. Must be lowercase alphanumeric with hyphens/underscores only" "message": "wandb entity is required when wandb is enabled" Fixed by using lower case...
diff --git a/app/desktop/studio_server/provider_api.py b/app/desktop/studio_server/provider_api.py index 977c32389d..3a1e43f293 100644 --- a/app/desktop/studio_server/provider_api.py +++ b/app/desktop/studio_server/provider_api.py @@ -482,12 +482,16 @@ async def connect_api_key(payload: dict): # Wandb is not...
4
3
3
[{"id": "G0", "claim": "The new guard in _start raises a ValueError whenever a previously connected W&B user has no entity stored, which breaks fine-tuning for all existing users who don't have entity.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
Kiln-AI__Kiln__868
Kiln-AI/Kiln
868
defect
4adf7f4cc19d2b3b7800455a9ad27fee4c6739a5
c5c1be49b4243983824e06f3023dffa491a24fb0
Eval with new fine-tune data model
## What does this PR do? This PR fixes 2 issues uncovered when testing eval with the new fine-tune work. * eval needs to be able to look up run configurations from a finetune. * for some models, parsers needs to be set. ## Checklists - [x] Tests have been run locally and passed - [x] New tests have been...
diff --git a/app/desktop/studio_server/eval_api.py b/app/desktop/studio_server/eval_api.py index 3679add8f0..a2cf0848b1 100644 --- a/app/desktop/studio_server/eval_api.py +++ b/app/desktop/studio_server/eval_api.py @@ -4,6 +4,10 @@ from fastapi import FastAPI, HTTPException, Query from fastapi.responses import Stream...
11
3
2
[{"id": "G0", "claim": "parser_from_finetune looks up the base model with builtin_model_from by Kiln model name, but fine_tune.base_model_id holds the provider's model ID, so the lookup never matches and the parser falls back to data_strategy; the author should change how the built-in list is iterated, add tests using ...
null
Kiln-AI__Kiln__869
Kiln-AI/Kiln
869
defect
7e9cb7cdf66951296bc8d33cc4574db16c0ce54d
ae2eb0e2d629e978288223470fef37d210639e55
KIL-311: Add format validation for eval score names
## Summary This PR fixes a bug where eval score names with invalid formatting (e.g., trailing whitespace like "Correctness ") would cause validation errors when used to create TaskRequirement objects in the rating UI. ## Changes - Changed `EvalOutputScore.name` from `str` to `FilenameStringShort` - This enforces the s...
diff --git a/libs/core/kiln_ai/datamodel/eval.py b/libs/core/kiln_ai/datamodel/eval.py index d8978ab7da..a5094f86df 100644 --- a/libs/core/kiln_ai/datamodel/eval.py +++ b/libs/core/kiln_ai/datamodel/eval.py @@ -9,6 +9,7 @@ from kiln_ai.datamodel.basemodel import ( ID_TYPE, FilenameString, + FilenameString...
2
1
0
[{"id": "G0", "claim": "The repeated invalid-name cases in test_eval_output_score_name_validation should be parametrized and a positive case for a name of exactly 32 characters should be added to pin the max-length boundary.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
Kiln-AI__Kiln__902
Kiln-AI/Kiln
902
defect
28d2bf6dfc8bf88df8424c1efbc0a8dc1dbb9593
3f2daea9ee8cc6a8f6c5af41f0c26d50ba9d8865
Add full trace toggle on spec templates and removed some dead code
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added "Advanced Options" when creating/refining specs, including a toggle to evaluate using the full conversation trace. * Form draft persistence for spec creation/refinement so saved spec for...
diff --git a/app/desktop/studio_server/eval_api.py b/app/desktop/studio_server/eval_api.py index ca4f7eff24..81d5d3769f 100644 --- a/app/desktop/studio_server/eval_api.py +++ b/app/desktop/studio_server/eval_api.py @@ -244,12 +244,6 @@ class RunConfigEvalScoresSummary(BaseModel): mean_usage: MeanUsage | None = Non...
3
2
0
[{"id": "G0", "claim": "Type the JSON.parse result so the formData fields are not untyped across the three spec pages, and keep in mind sessionStorage's ~5MB per-domain limit may or may not matter depending on stored volume.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existi...
null
Kiln-AI__Kiln__922
Kiln-AI/Kiln
922
defect
7add6cafbfe45fcb76bb921e51a8dc5a3d7c6262
e1085fd3ea84a731bac43c80ed59ee572bf9272b
Merge dchiang/KIL-236/kinde-auth into sfierro/specs
Merge dchiang/KIL-236/kinde-auth into sfierro/specs
diff --git a/app/desktop/studio_server/provider_api.py b/app/desktop/studio_server/provider_api.py index 7e75bce799..f3b5a12ee5 100644 --- a/app/desktop/studio_server/provider_api.py +++ b/app/desktop/studio_server/provider_api.py @@ -1,4 +1,5 @@ import logging +import os from dataclasses import dataclass from datet...
4
1
1
[{"id": "G0", "claim": "The connect_kiln_copilot httpx call is not wrapped in try/except so network errors will raise an unhandled exception and produce a 500, and the broad `except Exception:` for JSON decoding masks unexpected errors; it should catch httpx.RequestError and a specific decode error and return user-frie...
null
Kiln-AI__Kiln__925
Kiln-AI/Kiln
925
defect
60828b61d079e8b6a1bd92c9a8b34575fd47b702
63a8e203a6fd80d19ef74225a6f75ceb0533763e
Authenticated copilot client + 3 APIs
Not ready to merge until server sdk is updated <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Copilot integration with three new endpoints for spec clarification, refinement, and batch generation; app startup now wires the Copilot connection ...
diff --git a/app/desktop/desktop_server.py b/app/desktop/desktop_server.py index 8cdcea8be4..73c99c6949 100644 --- a/app/desktop/desktop_server.py +++ b/app/desktop/desktop_server.py @@ -14,6 +14,7 @@ from kiln_ai.utils.logging import setup_litellm_logging from app.desktop.log_config import log_config +from app.des...
5
3
1
[{"id": "G0", "claim": "RefineSpecApiInput should use the typed Pydantic models (TaskInfo, SpecInfo, ExampleWithFeedback) for its fields instead of generic dict/list[dict], which would also make the manual from_dict conversion in refine_spec unnecessary.", "category": "maintainability", "verdict": "supported", "priorit...
null
Kiln-AI__Kiln__927
Kiln-AI/Kiln
927
defect
b6431e1d8c4a270584994b07f7ecc7f37d7eeb08
0bdb400797d1aa646484118b49c1a42c04cca70e
fix: auto truncate filenames on upload
## What does this PR do? We enforce a limit on filename length, but in the case of RAG, users do not have control over the filenames - we take the name from the original file they upload, which may be longer than our limit. In this case, it makes more sense to truncate the name than to reject the upload. We save the...
diff --git a/libs/core/kiln_ai/datamodel/basemodel.py b/libs/core/kiln_ai/datamodel/basemodel.py index 25751684ee..78b2ecea99 100644 --- a/libs/core/kiln_ai/datamodel/basemodel.py +++ b/libs/core/kiln_ai/datamodel/basemodel.py @@ -61,6 +61,8 @@ class ReadOnlyMutationError(RuntimeError): FORBIDDEN_CHARS_REGEX = r"[/\\?...
4
3
3
[{"id": "G0", "claim": "The truncated result is not stripped again, so a sliced string can end in trailing whitespace, dots or underscores and then fail FilenameString validation, re-breaking uploads for long filenames.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
Kiln-AI__Kiln__985
Kiln-AI/Kiln
985
defect
c1b5de63cb7792e965d7f306cd070faaee5d8acf
54000eb1171f14f98f03b2199fd283f584832ba1
Structured data schema update and UI fixes
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added JSON syntax highlighting for review example content in the Spec Builder for improved readability. * **Chores** * Updated internal API models and schema definitions to improve data struc...
diff --git a/app/desktop/studio_server/api_client/kiln_ai_server_client/models/__init__.py b/app/desktop/studio_server/api_client/kiln_ai_server_client/models/__init__.py index fbb940736a..7fa4a7706c 100644 --- a/app/desktop/studio_server/api_client/kiln_ai_server_client/models/__init__.py +++ b/app/desktop/studio_serv...
3
2
2
[{"id": "G0", "claim": "formatExpandedContent returns raw unescaped non-JSON data and the template always renders it with {@html}, enabling XSS if row.input or row.output contain HTML.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The component uses <...
null
Kiln-AI__Kiln__987
Kiln-AI/Kiln
987
defect
54000eb1171f14f98f03b2199fd283f584832ba1
507a2398623ececa1db5b89fbe0816a7f6492031
Use new questions API on client.
<!-- CURSOR_SUMMARY --> > [!NOTE] > Migrates Copilot question and refine endpoints to new request/response models. > > - Replace `SpecQuestionerInput` with `SpecQuestionerApiInput` (adds nested `target_task_info`) across client, server (`copilot_api.py`), and web UI (`+page.svelte`, OpenAPI `api_schema.d.ts`, and `typ...
diff --git a/app/desktop/studio_server/api_client/kiln_ai_server_client/api/copilot/question_spec_v1_copilot_question_spec_post.py b/app/desktop/studio_server/api_client/kiln_ai_server_client/api/copilot/question_spec_v1_copilot_question_spec_post.py index dbb9c828bd..f3e2e0b3c2 100644 --- a/app/desktop/studio_server/a...
2
2
1
[{"id": "G0", "claim": "Use TaskInfoApi (a nested target_task_info) in the questions input model instead of the three flat task properties, so copilot_api.py can send input directly via a dump without the field-by-field mapping, updating +page.svelte where this is called too.", "category": "design", "verdict": "support...
null
Kiln-AI__Kiln__993
Kiln-AI/Kiln
993
defect
444b8f793d5e6c42daf457285d5482c9981b21aa
f22195f0b860dca69d34c6a4473985f2ac4a9a41
Spec generate batch and clarify spec numbers updates
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Enhanced copilot analysis with expanded sample processing (samples per topic increased from 5 to 20; total topics increased from 10 to 15) for improved coverage * Improved spec analysis with ...
diff --git a/app/desktop/studio_server/utils/copilot_utils.py b/app/desktop/studio_server/utils/copilot_utils.py index dda101fd90..1749ce8f41 100644 --- a/app/desktop/studio_server/utils/copilot_utils.py +++ b/app/desktop/studio_server/utils/copilot_utils.py @@ -39,11 +39,9 @@ KILN_COPILOT_MODEL_NAME = "kiln-copilot" ...
3
1
0
[{"id": "G0", "claim": "The repeated creation of all_examples across multiple test methods in TestCreateDatasetTaskRuns should be extracted into a pytest fixture to reduce duplication and improve maintainability.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id":...
null
Kiln-AI__Kiln__994
Kiln-AI/Kiln
994
defect
d65bc1f6b0c6cd335a9f8d6f55fcc57a7e38520a
b1dd133a2528ad9fefd66f508dc4b80cc339990d
pass though server error message when it has an explicit user_message
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Centralized API response checking to surface clearer, consistent error details to users. * **Bug Fixes** * Standardized and simplified error messages across clarify/refine/generate/question f...
diff --git a/app/desktop/studio_server/copilot_api.py b/app/desktop/studio_server/copilot_api.py index e0db534060..09cfe82f57 100644 --- a/app/desktop/studio_server/copilot_api.py +++ b/app/desktop/studio_server/copilot_api.py @@ -43,6 +43,7 @@ TaskInfoApi, ) from app.desktop.studio_server.utils.copilot_utils im...
4
2
1
[{"id": "G0", "claim": "The createKilnError helper checks for message and details properties while the API error object carries the server message in detail, so the server's user-friendly error message is not displayed; createKilnError should be updated to check e.detail.", "category": "correctness", "verdict": "oppose...
null
Kilo-Org__kilocode__1349
Kilo-Org/kilocode
1,349
defect
f9ba1996d6e58ccbfc99e639ef7879e16b1a5220
06c589405a2fb1752c24eb46221b42a602de6317
Fix prompt enhancement doesn't work with some providers
The `singleCompletionHandler` now gracefully falls back to using `createMessage` when the API provider does not support `completePrompt`. This ensures that providers like Claude, which may not have a dedicated prompt enhancement method, can still stream responses. ![2025-07-16 11 14 46](https://github.com/user-attac...
diff --git a/.changeset/hot-friends-swim.md b/.changeset/hot-friends-swim.md new file mode 100644 index 000000000000..9faaa6d9c7da --- /dev/null +++ b/.changeset/hot-friends-swim.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fix Enhance Prompt feature doesn't work with Claude Code provider diff --git a/src/utils/...
3
2
1
[{"id": "G0", "claim": "The catch block in streamResponseFromHandler silently swallows streaming errors; the error should be logged or reported so streaming failures can be debugged (e.g. via the error reporting used in webviewMessageHandler).", "category": "correctness", "verdict": "supported", "priority": "P1", "scop...
null
Kilo-Org__kilocode__1750
Kilo-Org/kilocode
1,750
defect
b8f3267e584ea0399e1bdb89b2b03fd08b8c1f1b
f1cd4e9ccec50df5dc74be2c176e0593c8ea3873
Claude Code support on Windows
## Context Resolve #1503 This PR adds Windows support for the Claude Code integration by implementing a file-based approach for passing system prompts. This addresses command line length limitations on Windows platforms and also handles cases where system prompts exceed a defined maximum length. ## Implementa...
diff --git a/.changeset/forty-houses-share.md b/.changeset/forty-houses-share.md new file mode 100644 index 00000000000..5eac4f647a0 --- /dev/null +++ b/.changeset/forty-houses-share.md @@ -0,0 +1,5 @@ +--- +"kilo-code": minor +--- + +Introduce Claude Code support on Windows diff --git a/src/integrations/claude-code/ru...
4
2
1
[{"id": "G0", "claim": "The unlink failure handler should use console.error with context about what failed instead of console.log.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The temporary file is created in a shared directory without secure ...
null
Kilo-Org__kilocode__3305
Kilo-Org/kilocode
3,305
defect
fab8e329367f69da9ab0480520c9246b95feeb6f
2a36a23ea276225bd2516154073dc6edb3b26a03
feat(cli): add custom modes support and refactor implementation
This PR resolves #3304 by adding support for custom modes and refactoring the implementation based on code review feedback. It also includes fixes for several TypeScript type errors that arose during development.
diff --git a/.changeset/custom-modes-support.md b/.changeset/custom-modes-support.md new file mode 100644 index 00000000000..ca383b6bfff --- /dev/null +++ b/.changeset/custom-modes-support.md @@ -0,0 +1,8 @@ +--- +"@kilocode/cli": patch +"kilo-code": patch +--- + +feat(cli): add custom modes support and refactor implem...
1
1
0
[{"id": "G0", "claim": "Remove the semicolons the pull request added at the ends of lines (~250 of them) so the diff shows only the actual changes.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Kilo-Org__kilocode__4586
Kilo-Org/kilocode
4,586
defect
074f311c225ad69098ebcb30d94add3c265b317a
e9bdb3cb2533e6dd881ae97558ca3791823a618e
fix: capture shell PATH for CLI spawn on macOS (#4579)
## Summary - Fixes Agent Manager failing to start local agent on macOS with "Session creation timed out - CLI did not respond" - Captures login shell PATH and uses it when spawning CLI process ...
diff --git a/src/core/kilocode/agent-manager/AgentManagerProvider.ts b/src/core/kilocode/agent-manager/AgentManagerProvider.ts index 00ad935cd61..6c740f21df3 100644 --- a/src/core/kilocode/agent-manager/AgentManagerProvider.ts +++ b/src/core/kilocode/agent-manager/AgentManagerProvider.ts @@ -3,27 +3,27 @@ import * as f...
3
1
1
[{"id": "G0", "claim": "The EACCES check `e.message.startsWith(\"EACCES\")` may not reliably detect EACCES errors, which typically carry a `code` property (`e.code === \"EACCES\"`) rather than a message starting with the code.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, ...
null
Kilo-Org__kilocode__5139
Kilo-Org/kilocode
5,139
defect
c2af72c274f559185250029347daea0a28864a37
608fc3e6b5f5d8d56e38ad171ed69fae1a77e1d0
fix(gemini): prevent sending thinkingLevel to budget-only models
## Summary - Models like `gemini-2.5-flash` only support `thinkingBudget`, not `thinkingLevel` - When `shouldUseReasoningBudget()` returned false, the code was incorrectly falling through to effort-based logic and sending `thinkingLevel`, causing a 400 INVALID_ARGUMENT error - Added a check for `model.supportsReasoning...
diff --git a/src/api/transform/__tests__/reasoning.spec.ts b/src/api/transform/__tests__/reasoning.spec.ts index 352aac8e7bb..5a22bd9cd22 100644 --- a/src/api/transform/__tests__/reasoning.spec.ts +++ b/src/api/transform/__tests__/reasoning.spec.ts @@ -838,6 +838,63 @@ describe("reasoning.ts", () => { const result ...
1
1
0
[{"id": "G0", "claim": "Delimit the code this fork-change adds — the !model.supportsReasoningEffort guard in reasoning.ts and the two added budget-only-model tests in the spec — with '// kilocode_change start' and '// kilocode_change end' marker comments so it can be kept in sync with upstream, as proposed in the three...
null
Kilo-Org__kilocode__5885
Kilo-Org/kilocode
5,885
defect
b710afb1a49ede29dfcecf39d9fbad0aea00ff4e
913a39ae5548807f08028405a00212d541341d4f
fix: cap qwen3-max-thinking max_tokens to provider limit
## Summary - cap qwen3-max-thinking output tokens at 32,768 in model max-token resolution - preserve existing 20% context-window cap behavior for all other models - add unit tests for both capped and lower-context scenarios ## Why qwen/qwen3-max-thinking can error with: Range of max_tokens should be [1, 32768] when th...
diff --git a/src/shared/__tests__/api.spec.ts b/src/shared/__tests__/api.spec.ts index 9f85b19e33b..0857f785c46 100644 --- a/src/shared/__tests__/api.spec.ts +++ b/src/shared/__tests__/api.spec.ts @@ -211,6 +211,42 @@ describe("getModelMaxOutputTokens", () => { }) }) + test("should cap qwen3-max-thinking to prov...
1
1
0
[{"id": "G0", "claim": "The newly added qwen3-max-thinking logic, constant and tests in src/ should be annotated with `// kilocode_change` (start/end) markers so future upstream Roo merges can isolate the Kilo-specific changes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
Kilo-Org__kilocode__5969
Kilo-Org/kilocode
5,969
defect
5031ac7cf1a1fc31764c351c4828f81f8ff45b00
d12ed1d606e793f57a2596edd210df7deca7875a
fix(vertex): normalize Claude Opus 4.6 legacy model-id aliases
## Summary - switch the Vertex Claude Opus 4.6 catalog entry to canonical claude-opus-4-6 - add ormalizeVertexModelId in types to map legacy aliases (claude-opus-4-6@default, claude-opus-4-6@vertex) to the canonical ID - use normalization in Vertex runtime handlers and webview selected-model hook so saved legacy confi...
diff --git a/packages/types/src/providers/__tests__/vertex.spec.ts b/packages/types/src/providers/__tests__/vertex.spec.ts new file mode 100644 index 000000000000..5eb71f3ebc2b --- /dev/null +++ b/packages/types/src/providers/__tests__/vertex.spec.ts @@ -0,0 +1,16 @@ +import { normalizeVertexModelId } from "../vertex.j...
11
8
0
[{"id": "G0", "claim": "The getModel() changes in the Vertex runtime handlers (src/api/providers/anthropic-vertex.ts and src/api/providers/vertex.ts) that use normalizeVertexModelId are not marked with kilocode_change comments, and the modified lines should be annotated so this fork-specific behavior is easy to identif...
null
Kilo-Org__kilocode__6540
Kilo-Org/kilocode
6,540
defect
b9e62056ebe0332025266da2a62eb530a0eae84e
307043c303dce6e041a0230e2a026398d62e064f
docs(cli): clarify hidden .kilo install artifact behavior
## Summary This PR clarifies the hidden `.kilo` file that some users see after npm-based CLI installs, and adds a small regression test around install artifact behavior. ## What changed - Added a short README note explaining: - what `.kilo` is, - why it may appear, - why size can vary by platform/npm mode, - a...
diff --git a/README.md b/README.md index d393f1ff3c0..97a3a4c2832 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,16 @@ npx @kilocode/cli Then run `kilo` in any project directory to start. +<!-- kilocode_change start --> +### npm Install Note: Hidden `.kilo` File + +On some systems and npm versions, installing...
2
2
1
[{"id": "G0", "claim": "The test's fs.mkdtemp temporary directory is never cleaned up after the test completes, so repeated runs (especially in CI) accumulate orphaned directories; add cleanup in a finally block or afterEach.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
Kilo-Org__kilocode__6565
Kilo-Org/kilocode
6,565
defect
573459ad56cefa48d53c45df57b7155374d0bcd8
50227192ddd914144ee151fc65a75891769b16be
fix: ask mode respects user permission config for edit tools
## Summary Fixes #6235 — ask mode could make edits when a user had global permission config containing specific-pattern `edit` rules (e.g. `edit: { "src/log.ts": "allow" }`). ## Root cause The ask agent built its permission ruleset as `merge(defaults, askRules, user)`. With `user` last, a specific-path `edit` rule f...
diff --git a/packages/opencode/src/agent/agent.ts b/packages/opencode/src/agent/agent.ts index dcdea10a6d2..e65d9c9e0d9 100644 --- a/packages/opencode/src/agent/agent.ts +++ b/packages/opencode/src/agent/agent.ts @@ -173,6 +173,7 @@ export namespace Agent { options: {}, permission: PermissionNext.merg...
2
1
1
[{"id": "G0", "claim": "The three evalPerm assertions use pattern \"*\", which never matches the user config's specific \"src/output.log\" allow, so they would pass even without the fix; the test should add an explicit assertion like expect(PermissionNext.evaluate(\"edit\", \"src/output.log\", ask!.permission).action)....
null
Kilo-Org__kilocode__7549
Kilo-Org/kilocode
7,549
defect
e475f715914ded29f4508d50aea422ec158dead2
77e533e3b8a6cc3a3aa0aa35d61b25b4586f6e74
fix(cli): respect configured model for subagents
## Context Fixes #6904 ## Implementation - Respect the model configurations in `~/.local/state/kilo/model.json` for subagents in the CLI (related: https://github.com/Kilo-Org/kilocode/issues/9184) Currently the Task tool within the CLI does not look at the models in `~/.local/state/kilo/model.json`, it onl...
diff --git a/packages/app/e2e/actions.ts b/packages/app/e2e/actions.ts index bcd0a1b5cab..cfbbeb6d35e 100644 --- a/packages/app/e2e/actions.ts +++ b/packages/app/e2e/actions.ts @@ -525,7 +525,7 @@ export async function seedSessionTask( `Use this JSON input: ${JSON.stringify({ description: input.description,...
7
5
4
[{"id": "G0", "claim": "For subtask commands, passing the command-level model through Agent.taskmodel() lets the agent's configured model override it, silently regressing the old precedence in which an explicit command-level model won.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "int...
null
Kilo-Org__kilocode__8494
Kilo-Org/kilocode
8,494
defect
def64b89133550689ecaa53692be405efdc8fd0a
79afbba8809558200c1b35ece7f4da2db541c7dd
Sessions - Add session_status ingest message for status tracking
## Summary - Add `session_status` message type to the ingest queue for tracking session status (idle/busy/question/permission/retry) - Subscribe to SessionStatus, Question, and Permission events to sync status changes to ingest - Add test coverage for stable key coalescing behavior
diff --git a/packages/opencode/src/kilo-sessions/ingest-queue.ts b/packages/opencode/src/kilo-sessions/ingest-queue.ts index 47e1839c757..4949370d669 100644 --- a/packages/opencode/src/kilo-sessions/ingest-queue.ts +++ b/packages/opencode/src/kilo-sessions/ingest-queue.ts @@ -48,6 +48,10 @@ export namespace IngestQueue...
2
1
1
[{"id": "G0", "claim": "Status sync fires deriveAndSyncStatus() without ordering, so a quickly-following reply event can have its idle status overwritten by the slower, older ask path, and because session_status is a coalesced keyed entry the stale status is what ingest reports.", "category": "correctness", "verdict": ...
null
Kilo-Org__kilocode__8671
Kilo-Org/kilocode
8,671
defect
f118011ab687dac80c322906dd9855022c36e4c1
0e685ac69dff449b2396a4ddff4789a6a17941be
fix(cli): stop config protection from blocking skill reads
## Why The agent couldn't reliably find global CLI commands or read skill files without hitting permission prompts. Bash commands could also silently delete global config files, and editing config files had no validation. ## What changed Reading files under `~/.config/kilo/` no longer triggers a permission prompt — ...
diff --git a/packages/opencode/src/kilocode/permission/config-paths.ts b/packages/opencode/src/kilocode/permission/config-paths.ts index facd70987ca..933358224cc 100644 --- a/packages/opencode/src/kilocode/permission/config-paths.ts +++ b/packages/opencode/src/kilocode/permission/config-paths.ts @@ -80,22 +80,13 @@ exp...
1
1
1
[{"id": "G0", "claim": "Removing the `external_directory` branch from ConfigProtection.isRequest drops the last guard that prompts before global config reads, letting a user permanently allow access to ~/.config/kilo/* (provider API keys, MCP env vars and other secrets) and opening a secret-exposure path.", "category":...
null
Kilo-Org__kilocode__8976
Kilo-Org/kilocode
8,976
defect
bd4d85229e82dd3ddd26e490e0b8536b0b54cb26
cc81584879b30efbc5a38c7a749bb657bad51cbe
feat(agent-manager): enable /sessions command to browse and resume session history
## Summary - Enable the `/sessions` slash command in the agent manager, which was previously excluded - Add a full-screen history view (Local/Cloud tabs, search, date grouping) that replaces the chat area when activated - Selecting a session from history opens it as a local session in the agent manager via `openLoca...
diff --git a/packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx b/packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx index da51d775c96..07e66681c9d 100644 --- a/packages/kilo-vscode/webview-ui/agent-manager/AgentManagerApp.tsx +++ b/packages/kilo-vscode/webview-ui/agent-manager/AgentManage...
2
2
2
[{"id": "G0", "claim": "Selecting a cloud session from the history view only calls onBack without switching the agent manager's selection to LOCAL, so the chat body shows the cloud preview while the sidebar/tab bar and toolbar stay pinned to the previously selected worktree until an import happens.", "category": "corre...
null
Kilo-Org__kilocode__9023
Kilo-Org/kilocode
9,023
defect
0650d6bd32cd6ea2c24e426e051bc3af53af0c9d
ab5a93cf2a753c25ce7f6c4f6ea58db499d458fa
Add folder mentions
## Summary - Add folder results to prompt @ mentions so users can attach directories from the VS Code extension. - Resolve folder searches against the active chat session directory so Agent Manager worktrees stay isolated. - Expand folder attachments with the existing CLI read flow, including top-level file contents...
diff --git a/.changeset/folder-mentions.md b/.changeset/folder-mentions.md new file mode 100644 index 00000000000..2d7a9983a2e --- /dev/null +++ b/.changeset/folder-mentions.md @@ -0,0 +1,6 @@ +--- +"kilo-code": minor +"@kilocode/cli": patch +--- + +Support mentioning folders in the prompt with @ references, including ...
2
1
1
[{"id": "G0", "claim": "Directory reads follow symlinked files outside the approved tree: readDirectoryEntries() emits symlinked entries as plain entries and stat() follows the link, so reading a trusted directory inlines the contents of any symlink target (e.g. folder/secret -> /etc/passwd) even though assertExternalD...
null
Kilo-Org__kilocode__9026
Kilo-Org/kilocode
9,026
defect
0650d6bd32cd6ea2c24e426e051bc3af53af0c9d
1b7241ddb27bc1c5457f715313e010ade4aaa5e4
Add @git-changes mention
## Summary Add an `@git-changes` prompt mention that attaches working-tree or worktree-scoped git diffs (including untracked file contents and repos without an initial commit). Route Agent Manager local/worktree tabs through the existing worktree diff API so the attached diff matches the diff viewer. Context is ga...
diff --git a/.changeset/green-lizards-mention.md b/.changeset/green-lizards-mention.md new file mode 100644 index 00000000000..ae3a3394530 --- /dev/null +++ b/.changeset/green-lizards-mention.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Support attaching Git changes and folders from prompt mentions in the VS Cod...
2
2
2
[{"id": "G0", "claim": "@git-changes fails in repositories without an initial commit because `git diff HEAD` exits with `fatal: ambiguous argument 'HEAD'` on an unborn branch; it should fall back to diffing against the empty tree or explicitly handle the no-commit case so uncommitted files still work in freshly initial...
null
Kilo-Org__kilocode__9029
Kilo-Org/kilocode
9,029
defect
36c5d9e5918673af23050a7e4691905439a84a04
18ac639ba18ada1be97916303e526c202c87f376
fix(vscode): avoid stale queued message state
## Summary - Fix queued-state detection so a finished assistant update without `time.completed` does not keep the previous user turn active. - Add a regression test and patch changeset for prompts sent immediately after a completed response. ## Regression source - Regressed after the Kilo OpenCode v1.3.4 merge: https:...
diff --git a/.changeset/fix-queued-message-state.md b/.changeset/fix-queued-message-state.md new file mode 100644 index 00000000000..8da3bef4a24 --- /dev/null +++ b/.changeset/fix-queued-message-state.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fix queued-state detection so prompts sent after a completed respon...
1
1
1
[{"id": "G0", "claim": "The new `msg.finish && msg.finish !== \"tool-calls\"` skip incorrectly treats assistant updates with finish reason \"unknown\" as completed, so a prompt sent while the previous turn is still unresolved can be shown as active instead of queued; it should only skip known-terminal finish reasons (e...
null
Kilo-Org__kilocode__9118
Kilo-Org/kilocode
9,118
defect
1526a4b8a890e01c0c890b4e17b595f35bfd745b
343455b87895a0551760b5710b1ffe58fae21efd
fix(cli): preserve per-agent model overrides
## Why If an agent had a model set in your config, picking a different model for that agent in the TUI didn't stick — the UI quietly snapped back to the configured one. This made it impossible to try a different model on, say, the `plan` agent without editing your config file. Reported in #9050. ## What changed The ...
diff --git a/.changeset/fix-per-agent-model-override.md b/.changeset/fix-per-agent-model-override.md new file mode 100644 index 00000000000..a58ec1106fd --- /dev/null +++ b/.changeset/fix-per-agent-model-override.md @@ -0,0 +1,6 @@ +--- +"@kilocode/cli": patch +"kilo-code": patch +--- + +Respect per-agent model selecti...
2
1
1
[{"id": "G0", "claim": "It is unclear from the changeset whether a new model can still be re-selected when a per-agent model is already configured.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The kilocode_change markers around the auto-apply ef...
null
Kilo-Org__kilocode__9119
Kilo-Org/kilocode
9,119
defect
952b3096dc7d3904e442f8884d47e3009f9e813c
95671406c36d8dc41c7214cc7f5eb94f5d16f9f7
fix(cli): fix hanging sessions on huge-file diffs
## Why The CLI could appear to lock up after a turn — typing would stop responding, ESC would not interrupt, and live updates would freeze. This happened when a file you edited was very large (tens of thousands of lines). On top of that, the file diff preview for large files came back empty, so you could not see wha...
diff --git a/.changeset/snapshot-diff-freeze.md b/.changeset/snapshot-diff-freeze.md new file mode 100644 index 00000000000..a7c623cd77c --- /dev/null +++ b/.changeset/snapshot-diff-freeze.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Prevent the CLI from freezing when a changed file has tens of thousands of line...
11
8
7
[{"id": "G0", "claim": "The worker result/error handlers resolve silently and none of the catch/error paths log, making this a prime spot for swallowed errors; debug logs should be added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tracke...
null
Kilo-Org__kilocode__9137
Kilo-Org/kilocode
9,137
defect
a2ddeba4a48dffd90decad0cbc250c8bd5c4ee33
3072dbf5d7c6299383a9214b2cb719637d97b6b1
fix(cli): log stream error on log rotation
## Context Fixes #8252 ## Implementation - Removes unnecessary concatenation of log dir to avoid duplication. - Adds a safety condition to avoid emitting an error if the original file doesn't exist (encountered during real usage after fixing the original bug) ## How to Test - Have a long running session...
diff --git a/packages/opencode/src/util/log.ts b/packages/opencode/src/util/log.ts index acf0b71db45a..35907752b99b 100644 --- a/packages/opencode/src/util/log.ts +++ b/packages/opencode/src/util/log.ts @@ -1,4 +1,5 @@ import path from "path" +import { existsSync, writeFileSync } from "fs" // kilocode_change import f...
2
1
1
[{"id": "G0", "claim": "The fixture's wait only proves dev.log exists, so on a slower CI worker the first 10 MB may not have flushed before the unlink and the missing-file rotation path may never run while the test still passes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
Kilo-Org__kilocode__9199
Kilo-Org/kilocode
9,199
defect
7db99c37eb9a8ff254259f5342f049ef32b624e7
7a1388d8d5849aac017a02a33527603c48d0b0a4
fix(cli): release session busy state while suggest tool waits
## Why When the assistant offered a suggestion and the user never answered it (for example, they closed VS Code while it was showing), the session would get stuck thinking it was still busy. Any new messages the user typed would sit as queued forever and the worktree tab would show the session as still running, even t...
diff --git a/.changeset/suggest-tool-stuck-session.md b/.changeset/suggest-tool-stuck-session.md new file mode 100644 index 00000000000..305bc24b2bc --- /dev/null +++ b/.changeset/suggest-tool-stuck-session.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Fix a stuck session state when the suggest tool was left open...
2
2
2
[{"id": "G0", "claim": "After the tool marks the session idle while waiting, an accepted suggestion can leave the session reported as idle while the assistant is actively generating the follow-up response, since SessionProcessor only sets busy on the initial start event; busy should be restored once an action is accept...
null
Kilo-Org__kilocode__9298
Kilo-Org/kilocode
9,298
defect
60a1f3c36d0553147edfd84b346aac6a1a68baa4
2ba203b6bdad1b759b26501e74d278d13f77f69b
fix(cli): render suggest above an active input
## Why When the CLI agent offered a suggestion (for example, "start a code review?"), the main chat box disappeared and the suggestion took over the screen. You had to answer the suggestion before you could keep talking to the agent. The VS Code extension already kept the chat box usable while a suggestion was showi...
diff --git a/.changeset/cli-suggest-non-blocking.md b/.changeset/cli-suggest-non-blocking.md new file mode 100644 index 00000000000..2e4930063d5 --- /dev/null +++ b/.changeset/cli-suggest-non-blocking.md @@ -0,0 +1,5 @@ +--- +"@kilocode/cli": patch +--- + +CLI suggestions now render above an active input prompt. You ca...
4
2
1
[{"id": "G0", "claim": "Once suggestions are emitted non-blocking with the prompt kept focused, keyboard-only users can no longer accept a suggestion — arrow keys, enter and escape are ignored while the main input has focus, and the inline bar offers no keyboard path to accept an option.", "category": "correctness", "v...
null
Kilo-Org__kilocode__9341
Kilo-Org/kilocode
9,341
defect
2a963723cce336b8061288c9e03e0326d84744fa
6f4c1c718baf617bb59dfa7a5a1cb589e6ae76d7
perf(streaming): four fixes that unfreeze long-session streaming
## TL;DR Four independent perf fixes that collectively unfreeze LLM token streaming in long sessions. Measured impact from a re-profile of the same scenario (single streaming session, ~200 messages): | Metric | Pre-fix | Post-fix | Change | | --- | --- | --- | --- | | Main-thread idle % during streaming | 36% | **72%...
diff --git a/.changeset/streaming-perf.md b/.changeset/streaming-perf.md new file mode 100644 index 00000000000..21d8e0bd989 --- /dev/null +++ b/.changeset/streaming-perf.md @@ -0,0 +1,7 @@ +--- +"kilo-code": patch +"@opencode-ai/ui": patch +"@kilocode/kilo-ui": patch +--- + +Significantly speed up LLM token streaming ...
3
3
2
[{"id": "G0", "claim": "The branch removes the test:webview-reactivity CI step and deletes the benchmark plus all four regression tests, leaving the streaming perf fixes without automated regression coverage.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "...
null
Kilo-Org__kilocode__9409
Kilo-Org/kilocode
9,409
defect
55fcb5725ac47ecf663ad50cfa9fffe26894cd6a
59d54806f6c3018451c82c9c3bb37b8b808e7df6
feat(cli): add kilodev launcher + dev-alias helper
## TL;DR; Run `npm run dev-setup` from root of repository and follow instructions. ## Why Running the in-repo CLI from another project folder used to need a handcrafted shell function pointing at this checkout. That was fiddly, broke when users passed subcommands, duplicated itself on re-install, and silently ...
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d7950ddfe8f..89439278c0a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,6 +48,39 @@ To run Kilo CLI in the root of the repo itself: bun dev . ``` +### Running Kilo CLI from any folder + +`bin/kilodev` is a self-locating launcher that runs this checkout...
4
1
1
[{"id": "G0", "claim": "bin/kilodev passes `--project` even though the TUI command only accepts a positional `project`, so bare `kilodev` fails under strict yargs and the documented no-subcommand flow is broken.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
Kilo-Org__kilocode__9450
Kilo-Org/kilocode
9,450
defect
dd7b3c894fd47730ad5fca199c3edb7f641f3693
2032fe4c4e574aa0664a1ab91e34633ce5b261f9
fix(vscode): fix hanging sessions for permissions bug
## Why Fixes https://github.com/Kilo-Org/kilocode/issues/9283 Sometimes a permission pop-up stayed on screen after it was already answered somewhere else. That left broken buttons behind and could also make settings save fail for no good reason. ## What changed Permission replies now go back to the workspac...
diff --git a/.changeset/fix-permission-reply-hang.md b/.changeset/fix-permission-reply-hang.md new file mode 100644 index 00000000000..fe4a6784983 --- /dev/null +++ b/.changeset/fix-permission-reply-hang.md @@ -0,0 +1,6 @@ +--- +"kilo-code": patch +"@kilocode/cli": patch +--- + +Fix a session hang that could occur when...
2
2
1
[{"id": "G0", "claim": "permissionDirectories is only pruned when a permission.replied event arrives, so the new stale-404 recovery path (which clears the prompt via permissionError) can leave its requestID in the map for the rest of the provider lifetime, growing the map indefinitely when that flow repeats.", "categor...
null
Kilo-Org__kilocode__9460
Kilo-Org/kilocode
9,460
defect
2a963723cce336b8061288c9e03e0326d84744fa
67a9670ede4ee8d5da776f06828333729c05e909
fix: scope commit prompt config to project
## Summary - Persist custom commit message prompts to project config so repository conventions do not leak globally. - Fix project config updates to write to loaded `.kilo/kilo.json` or existing project config files. - Add coverage for project config write targets and roundtrip loading.
diff --git a/.changeset/commit-prompt-project-scope.md b/.changeset/commit-prompt-project-scope.md new file mode 100644 index 00000000000..eeb0978f269 --- /dev/null +++ b/.changeset/commit-prompt-project-scope.md @@ -0,0 +1,6 @@ +--- +"@kilocode/cli": patch +"kilo-code": patch +--- + +Scope the custom commit message pr...
2
2
2
[{"id": "G0", "claim": "Config.update()'s candidate list only checks the current directory, so in a nested workspace where Config.get() can load a repo-root kilo.json/.kilo/kilo.json via ConfigPaths, Config.update() will create a new local .kilo/kilo.json instead of updating the file that was actually loaded.", "catego...
null
Kilo-Org__kilocode__9613
Kilo-Org/kilocode
9,613
defect
fbee6d7ba981d8409b53a1154e3d142d3ccd9579
0e47003650dde06e329fa845a6e2035d834835f5
fix(cli): keep semantic indexing startup responsive
## Summary - Make semantic indexing publish an initial in-progress status before long-running initialization completes. - Guard indexing managers from starting background scans after disposal during startup. - Restore full server/bootstrap coverage for the indexing startup tests. Fixes #9573. ## Validation - `env -u ...
diff --git a/.changeset/brave-indexing-startup.md b/.changeset/brave-indexing-startup.md new file mode 100644 index 00000000000..7cfc082bed5 --- /dev/null +++ b/.changeset/brave-indexing-startup.md @@ -0,0 +1,5 @@ +--- +"@kilocode/kilo-indexing": patch +--- + +Keep semantic indexing startup responsive while the index i...
2
2
2
[{"id": "G0", "claim": "In-flight recovery can still restart indexing after disposal: the disposed guard in recoverFromError() only blocks new calls, and if dispose() happens while runRecovery() is already awaiting _recreateServices() or waitForRetry(), the recovery task continues after the await, can recreate services...
null
Kilo-Org__kilocode__9625
Kilo-Org/kilocode
9,625
defect
28a0eae4b0b940482222f6671a6885b575b2ad9c
1e01ac3ce09070a42c079daf0ff8f07a0e6f7b23
Respect configured agent models on CLI restart
## Summary - Respect configured agent model defaults when reopening the CLI or switching projects, even if stale per-agent picks exist in `model.json`. - Keep manual configured-agent model switches process-local while preserving persistence for agents without configured models. - Prevent restored prompt history from wr...
diff --git a/.changeset/fix-agent-model-default-restart.md b/.changeset/fix-agent-model-default-restart.md new file mode 100644 index 00000000000..b996e06ab76 --- /dev/null +++ b/.changeset/fix-agent-model-default-restart.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Respect configured agent models when reopening...
2
2
2
[{"id": "G0", "claim": "The changeset bumps the wrong package (`kilo-code`, the VS Code extension) instead of `@kilocode/cli`, leaving the CLI fix without the correct release note/version bump.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Process-...
null
Kilo-Org__kilocode__9626
Kilo-Org/kilocode
9,626
defect
28a0eae4b0b940482222f6671a6885b575b2ad9c
ae2f41ce5e929573a0d14812b2579a34657c7b7e
fix(cli): honor read-only external directory allows
## Summary - Reproduce #8391 with backend-driven permission checks for external config reads. - Allow explicitly allowed read-only Bash external-directory access to Kilo config paths without prompting. - Preserve protected prompts for write or unknown Bash access to Kilo config paths. Closes #8391
diff --git a/.changeset/external-directory-read-prompts.md b/.changeset/external-directory-read-prompts.md new file mode 100644 index 00000000000..46c284dfc11 --- /dev/null +++ b/.changeset/external-directory-read-prompts.md @@ -0,0 +1,5 @@ +--- +"@kilocode/cli": patch +--- + +Honor allowed read-only external-directory...
1
1
1
[{"id": "G0", "claim": "Tagging the whole external-directory request as read whenever scan.access === \"read\" lets mixed commands with untracked writes (e.g. a cat followed by a redirect or printf write to the same protected config path) bypass the protected config prompt, since config protection skips read requests."...
null
Kilo-Org__kilocode__9691
Kilo-Org/kilocode
9,691
defect
ec57af1128f12556e4cdb7b8239cc81f4cb42e41
c78fe239214123312bfb92b87d3190015c63df2c
fix(vscode): show apply_patch diffs before approval
## Summary - Render `apply_patch` permission metadata in the same pre-approval diff dock used by `edit` and `write`. - Normalize permission diff metadata so the UI can handle `filediff`, `files`, and raw `diff` shapes. - Add regression coverage and a Storybook fixture for multi-file patch permission previews. ## ...
diff --git a/.changeset/permission-apply-patch-diffs.md b/.changeset/permission-apply-patch-diffs.md new file mode 100644 index 00000000000..2d115ae7c20 --- /dev/null +++ b/.changeset/permission-apply-patch-diffs.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Show apply_patch diffs in the permission prompt before ...
1
1
1
[{"id": "G0", "claim": "Rendering every apply_patch file in the dock makes each PermissionDiff call normalize(), whose @kilocode/kilo-ui/session-diff module-level cache stores entries keyed by the full patch and never evicts them, so a long-running webview can retain each unique approval patch after the permission prom...
null
Kilo-Org__kilocode__9745
Kilo-Org/kilocode
9,745
defect
09e9e2663d1f96f72e33d1689efe09d23f51dae1
8f1803246e2b73d246e9cebb8f0281e401a3c9b2
fix(cli): scope GPT-5.5 prompt behavior
## Summary - Add a Kilo-specific GPT-5.5 prompt and route to it through provider-independent model prompt metadata: `prompt: "gpt55"`. - Keep `codex.txt` unchanged so older Codex generations and generic Codex prompt metadata retain their existing prompt. - Add provider prompt tests, SDK/OpenAPI enum updates, and a CLI ...
diff --git a/.changeset/gpt55-codex-prompt.md b/.changeset/gpt55-codex-prompt.md new file mode 100644 index 000000000000..ee75ff945e6f --- /dev/null +++ b/.changeset/gpt55-codex-prompt.md @@ -0,0 +1,5 @@ +--- +"@kilocode/cli": patch +--- + +Use a GPT-5.5-specific coding prompt that improves autonomous task handling whi...
1
1
1
[{"id": "G0", "claim": "The provider() special case should not hard-code exact \"gpt-5.5\" model ids (why not provider-qualified ids like openai/gpt-5.5?) and the reviewer questions whether the model.prompt check is necessary, preferring the existing prompt-metadata mechanism.", "category": "design", "verdict": "suppor...
null
Kimahriman__hdfs-native__213
Kimahriman/hdfs-native
213
defect
441d56c19bf1bf91d773ac7f691a6b643a9b2a1c
a1b5b4383fdf9ef712fc395b40d7a7a1f7b749d6
Support replace datanode on failure for replicated block writer
https://github.com/Kimahriman/hdfs-native/issues/206#issuecomment-2654192788
diff --git a/rust/minidfs/src/main/java/main/Main.java b/rust/minidfs/src/main/java/main/Main.java index 5d0ca5be..e2c557cc 100644 --- a/rust/minidfs/src/main/java/main/Main.java +++ b/rust/minidfs/src/main/java/main/Main.java @@ -107,7 +107,7 @@ public static void main(String args[]) throws Exception { } else...
3
3
2
[{"id": "G0", "claim": "Add a test covering 3 total write failures to show that a datanode definitely had to be added for the write to succeed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "should_replace should be given the file's target replication r...
null
Kinto__kinto-admin__3207
Kinto/kinto-admin
3,207
defect
2b141043918c3a0d0971c0155d11770e9597df44
00f2de5d3ccf6cada7e56d12af770a08b0788f35
Fixes #3202: allowing self review when `to_review_enabled` is false
Resolves #3202 - allowing for self review when `to_review_enabled` is false on either the signer plugin level or the specific resource mapping. Added unit tests to simple-review and legacy review toolbar to ensure consistent behavior.
diff --git a/src/components/signoff/SignoffToolBar.tsx b/src/components/signoff/SignoffToolBar.tsx index 2ebbe4da2..326b97b52 100644 --- a/src/components/signoff/SignoffToolBar.tsx +++ b/src/components/signoff/SignoffToolBar.tsx @@ -110,10 +110,12 @@ export default function SignoffToolBar({ const { status } = source...
3
3
2
[{"id": "G0", "claim": "The canReview logic should align with the server's capability: it must not rely only on the server-wide signer.to_review_enabled flag but also look for the flag at the collection level in signer.resources[].to_review_enabled (as the reviewer's per-collection prod config shows).", "category": "co...
null
Kinto__kinto-admin__3473
Kinto/kinto-admin
3,473
defect
5cdfa22f44c7c12057ea576c01ae195e9a661298
fea9d79cfbce0c79663fec38d4e484e6401aacf9
Issue-821 Replacing redux with hooks for heartbeat
For issue mentioned [here](https://github.com/mozilla/remote-settings/issues/821), Removing Redux for Heartbeat and replacing with hooks.
diff --git a/src/actions/heartbeat.ts b/src/actions/heartbeat.ts deleted file mode 100644 index 2db9a8a5b..000000000 --- a/src/actions/heartbeat.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { HEARTBEAT_REQUEST, HEARTBEAT_RESPONSE } from "@src/constants"; - -export function heartbeatRequest(): { - type: "HEARTBEAT_REQUEST...
1
1
0
[{"id": "G0", "claim": "The heartbeat hook does not need to be observable since only one component touches it; a plain useState implementation that polls inside queryHeartbeat would be cleaner and would also remove checkHeartbeat from the component.", "category": "design", "verdict": "supported", "priority": "P2", "sco...
null
Kinto__kinto-admin__3588
Kinto/kinto-admin
3,588
defect
70bb1cf5e255c62d8a2a158ef164e97feb2b1399
dd185e86b52d6e20795c8f6285e559feb2dc883a
Make sidebar toggable
Users which land on RS with a direct link (nimbus) don't need the side bar https://github.com/user-attachments/assets/4c4b3677-1844-473a-9db7-d6e44d3bbcae TODO * get review on hook / approach * add tests
diff --git a/css/styles.css b/css/styles.css index 99eb6ef9a..52ab7f0ed 100644 --- a/css/styles.css +++ b/css/styles.css @@ -32,6 +32,22 @@ h1 { margin-bottom: 20px; } +.btn.toggle-sidebar { + padding-left: 0px; + padding-top: 0px; + padding-right: 0.2rem; + vertical-align: unset; + font-size: 1.4em; +} + +....
3
2
1
[{"id": "G0", "claim": "The usePreferences hook shares one state object across components, which could cause an issue if multiple components set preferences that impact each other; alexcottner suggests making it observable, using storage change events per setting, or context.", "category": "design", "verdict": "support...
null
Kinto__kinto__1413
Kinto/kinto
1,413
defect
cc60c56ec5e3481db7c7be241441895591ec6459
95a4df00514bcf6717a34df2d7a5887dbda76913
[Account plugin] add cache to authentication method
When debugging my application, I've noticed very poor performance when logged in using account plugin. It turns out that the biggest bottle neck is bcrypt and its `hashpw` method (https://github.com/Kinto/kinto/blob/master/kinto/plugins/accounts/authentication.py#L18). Making sure it is executed no more than once per r...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 049111390..a712b86e6 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,7 @@ This document describes changes between each past release. **Internal changes** - Update the Docker compose configuration to use memcache for the cache backend (#1405) +- Account plug...
11
10
5
[{"id": "G0", "claim": "The plugin must remove the cached authentication key when an account's password is changed or the account is deleted, so stale credentials do not keep authenticating.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull re...
null
Kinto__kinto__1556
Kinto/kinto
1,556
defect
6d77dcb2b94f9198fa08db489776440f7df0c275
a32ed7842672e29f408d86d9d7c69348da495b43
Show bucket:create permission in permissions endpoint (ref #1510)
Fixes #1510 For the `kinto/core/utils.py` change, `''` is required for the `resource_name` value in the dictionary lookup in the permissions tree: https://github.com/Kinto/kinto/blob/6d77dcb2b94f9198fa08db489776440f7df0c275/kinto/views/permissions.py#L123 Since the purpose of the `view_lookup` function is to ...
diff --git a/kinto/authorization.py b/kinto/authorization.py index 5d0f7d0096..912cf39026 100644 --- a/kinto/authorization.py +++ b/kinto/authorization.py @@ -25,7 +25,9 @@ # Ex: bucket:read is granted by both bucket:write and bucket:read PERMISSIONS_INHERITANCE_TREE = { '': { # Granted via settings only. - ...
12
10
5
[{"id": "G0", "claim": "The PR's special-case making view_lookup() return '' for /buckets changes the function's semantics; view_lookup should keep returning 'bucket' consistently and the top-level-bucket corner case should be handled in the permissions endpoint code instead, which also makes the ''→'bucket' remapping ...
null
Kinto__kinto__1596
Kinto/kinto
1,596
defect
09ff4c193ceec19dd6750fe119fdc4043a26c40e
8a6139391ede1d08bd963eede4ade57e7640635d
Expose bump_timestamp and bump_and_store_timestamp as part as the MemoryBasedStorage class.
Fix [a XXX](https://github.com/Kinto/kinto/pull/1596/files#diff-73e8dd09932ff9ff7ea1678c7a44fc39L116) in the code.
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dc746b10b..19de8a32e 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -11,6 +11,10 @@ This document describes changes between each past release. - Introduce ``contains`` and ``contains_any`` filter operators (fixes #343). +**Internal changes** + +- Expose the manag...
4
4
0
[{"id": "G0", "claim": "The newly exposed helper should not start with an underscore, should carry a docstring documenting parameters and return value, and should be named bump_timestamp rather than the vague manage, with the two internal _bump_timestamp call sites replaced by calls to it.", "category": "design", "verd...
null
Kinto__kinto__1620
Kinto/kinto
1,620
defect
382adcdc2dccff7151798bc7d250769dc818d83e
7d9885fbbc4eabb735a6327df2f84b58bc9bedd4
503 error when expected 409 constraint violation to batch endpoint fixes 1569
Fixes #1569 I believe this is the best way to fix this error. If agreed, I'll write the tests. The issue was caused when Kinto processed a batch request. If one of the requests failed, e.g., a contraint violation, the `parent` process would not know and continue on into event notifications, e.g., `ResourceChange...
diff --git a/kinto/core/views/batch.py b/kinto/core/views/batch.py index cfdd11780..42b16ba33 100644 --- a/kinto/core/views/batch.py +++ b/kinto/core/views/batch.py @@ -146,6 +146,11 @@ def post_batch(request): except httpexceptions.HTTPException as e: if e.content_type == 'application/json': ...
3
2
1
[{"id": "G0", "claim": "The new doom logic needs to check `resp.status` (e.g. only 5XX, like pyramid_tm's commit veto) instead of applying to every JSON-content-type HTTPException, and should not call `.begin()` again.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
Kinto__kinto__1648
Kinto/kinto
1,648
defect
f2fe616fe03302495113afd6219ee3289c5051b0
b440f177617f54f3ed8c9fcd69a864179900d9d6
Add administrative view to delete user info
Fixes #442. - [x] Add documentation. - [x] Add tests. - [x] Add a changelog entry. - (n/a) Add your name in the contributors file. - (n/a) If you changed the HTTP API, update the [API_VERSION](https://github.com/Kinto/kinto/blob/master/kinto/__init__.py#L15) constant and add an API changelog entry [in the docs](...
diff --git a/kinto/views/admin.py b/kinto/views/admin.py new file mode 100644 index 0000000000..8ddb995c7e --- /dev/null +++ b/kinto/views/admin.py @@ -0,0 +1,134 @@ +""" +Special views for administration. +""" + +import itertools +import colander + +from kinto.authorization import RouteFactory +from kinto.core import ...
8
5
3
[{"id": "G0", "claim": "Triggering events adds complexity, and data only indirectly linked to the user, like history entries, may be missed.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The resource is registered with collection_methods but there is no...
null
Kinto__kinto__1654
Kinto/kinto
1,654
defect
ba7d6dedbfe6875d714858fadcbef7c684b81a25
dd8756fd8d8e25592abf62ada3c4e1a5b3b76e5c
Add support JSON schema at bucket level (#1555)
Ref #1555 - [x] Basic feature - [x] Add collection and group validation - [x] Add validation of `record:schema`, `group:schema` and `collection:schema` properties - [x] Add docs
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3a75a0f04..10a0fc35d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,13 @@ This document describes changes between each past release. 9.2.0 (unreleased) ------------------ +**API** + +- JSON schema can now be defined in the bucket metadata and will apply to...
7
6
0
[{"id": "G0", "claim": "The validation code repeats many lines between record, collection and bucket views, and the validate-or-400 pattern should be abstracted into kinto/schema_validation.py.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null