open-code-review/cmd/opencodereview
kite 363d971916 fix(tool): make Registry and DiffMap concurrency-safe via freeze semantics
Registry was a plain map alias and DiffMap a shared map[string]string,
both relying on implicit write-before-read ordering with no compile-time
safety. Refactor Registry into an encapsulated struct with Freeze() that
panics on post-freeze writes, and wrap DiffMap as an immutable value type
with defensive copy on construction. Move DiffMap injection to before
filterDiffs to preserve the original behavior of exposing all file diffs.
2026-06-06 19:41:11 +08:00
..
config_cmd.go refactor(config): rename config directory from .open-code-review to .opencodereview 2026-05-25 23:07:36 +08:00
flags.go feat(cli): add --max-tools flag to control max tool call rounds per file 2026-06-01 20:04:24 +08:00
git.go feat(cli): auto-load commit message as background in commit review mode 2026-06-04 11:54:14 +08:00
llm_cmd.go refactor(config): rename config directory from .open-code-review to .opencodereview 2026-05-25 23:07:36 +08:00
main.go feat(cli): display GitHub repository URL in version and help output 2026-06-02 22:50:36 +08:00
output.go feat(llm): enable Anthropic prompt caching and fix token accounting 2026-06-06 19:26:34 +08:00
review_cmd.go fix(tool): make Registry and DiffMap concurrency-safe via freeze semantics 2026-06-06 19:41:11 +08:00
rules_cmd.go feat(rules): add ocr rules check command to preview effective rule for a file path 2026-05-26 22:11:39 +08:00
version.go feat(cli): display GitHub repository URL in version and help output 2026-06-02 22:50:36 +08:00
viewer_cmd.go feat: init 2026-05-20 22:03:52 +08:00