open-code-review/internal
kite 4ee453fd79
Some checks are pending
CI / test (push) Waiting to run
feat(delegate): add delegation mode for host-agent driven code review (#383)
* feat(delegate): add delegation mode for host-agent driven code review

Add `ocr delegate` subcommand that provides deterministic file selection
and rule resolution without calling any LLM. This enables AI coding agents
to perform reviews themselves using OCR only for engineering scaffolding
(preview which files to review, resolve grouped rules by path).

Includes:
- `ocr delegate preview` — outputs reviewable file list with mode/ref metadata
- `ocr delegate rule <path...>` — outputs review rules grouped by content
- Claude Code plugin command (delegate-review.md)
- Skill definitions for Claude Code, Codex, and Cursor
- Unit tests for internal/delegate package
- README documentation synced across all 5 locales

* fix(delegate): group rules by source, pattern and text

GroupRules keyed groups on rule text alone, so files sharing identical
rule text but resolved from different sources or matched by different
patterns were merged into one group that kept only the first file's
Source/Pattern metadata. Use a composite (source, pattern, text) key so
each group's provenance is accurate for every file it contains.
2026-07-16 13:10:54 +08:00
..
agent feat(review): add resumable sessions and session inspection (#306) 2026-07-09 11:43:11 +08:00
config feat(rules): add FreeMarker (.ftl/.ftlh/.ftlx) review support (#377) 2026-07-16 11:36:04 +08:00
delegate feat(delegate): add delegation mode for host-agent driven code review (#383) 2026-07-16 13:10:54 +08:00
diff refactor(diff): normalize workspace git argument ordering (#381) 2026-07-16 11:20:32 +08:00
gitcmd test: expand unit test coverage for agent, llm, llmloop, and tool packages 2026-06-26 23:09:11 +08:00
llm feat(llm): add built-in Ollama Cloud provider preset (#375) 2026-07-15 16:24:59 +08:00
llmloop feat: Add OpenAI Responses API support and refactor protocol handling (#363) 2026-07-15 12:54:52 +08:00
mcp test: fix golangci-lint errcheck/staticcheck issues in test code (#323) 2026-07-08 22:46:18 +08:00
model test: fix golangci-lint errcheck/staticcheck issues in test code (#323) 2026-07-08 22:46:18 +08:00
pathutil test: fix golangci-lint errcheck/staticcheck issues in test code (#323) 2026-07-08 22:46:18 +08:00
release fix(build): improve Windows support based on PR #13 review feedback 2026-06-02 22:37:27 +08:00
scan feat(review): add resumable sessions and session inspection (#306) 2026-07-09 11:43:11 +08:00
session feat(review): add resumable sessions and session inspection (#306) 2026-07-09 11:43:11 +08:00
stdout test: add unit tests for output_helpers, config, model, stdout, and telemetry packages 2026-06-26 23:26:49 +08:00
suggestdiff test: add unit tests for pure logic functions across 6 packages 2026-06-26 22:41:35 +08:00
telemetry feat(telemetry): propagate W3C traceparent from parent process (#352) 2026-07-14 11:28:09 +08:00
tool fix(tool): reject traversal pathspecs in code_search (#303) 2026-07-09 13:45:24 +08:00
viewer fix: remove redundant font-family from .response-text .inline-code (#339) 2026-07-14 10:20:19 +08:00