chore: sync local changes, add Chinese docs and opencode config

This commit is contained in:
AuraK Developer
2026-08-31 11:37:03 +08:00
parent 307d2fd471
commit ecc55158c1
81 changed files with 7645 additions and 144 deletions
+19
View File
@@ -4,6 +4,25 @@
### Added
- **Coverage-driven deep-read planning** for whole-project reviews. New
`deep_read_plan_tool` greedily selects the highest-risk files needed to
close the risk-weighted coverage gap, groups them by directory so each
batch maps to one parallel sub-agent, and returns the priority file list.
`coverage_tool` now also returns `remaining_weight_to_target` and
`priority_deep_read_files` so the reviewing agent knows exactly what still
needs to be read to reach the target.
- **Configurable coverage gate.** `coverage_tool` / `compute_coverage`
gained a `gate` parameter: `high_risk` (default, G3 semantics),
`overall` (all source files), or `both` (overall **and** high-risk must
meet the target). Weight computation was factored into `_file_weights`
and is now shared by `compute_coverage` and `deep_read_plan`.
- **Cross-round incremental coverage index.** `save_coverage_index_tool`
persists the deep-read file list to `.code-review-graph/coverage-index.json`
with per-file SHAs. `coverage_tool(include_prior=True)` and
`deep_read_plan_tool(include_prior=True)` merge files whose SHA is still
current, so later review rounds only re-read files that actually changed
or are new instead of starting from zero each time.
- Added the **unified-review** skill that fuses CRG graph context with the
ai-code-review three-layer scoring methodology and the gstack-review
fix-first workflow. The skill is read-only: every finding waits for a