Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Ov review update (#40024)

Pavel Durandinff0d99c5ce15
diff --git a/.claude/skills/code-review/SKILL.md b/.claude/skills/code-review/SKILL.md
index d38b24d62d4..6f04a50c5f1 100644
--- a/.claude/skills/code-review/SKILL.md
+++ b/.claude/skills/code-review/SKILL.md
@@ -298,6 +298,10 @@ Apply the same technical evidence threshold regardless of authorship:
## Review output
+Always load and follow [delivery.md](references/delivery.md). It is mandatory and
+defines the report order, the final-message rule, and PR publishing; the
+rules below define the content of each part.
+
Start with the main assessment and identify the reviewed baseline. State
whether inspection was complete or partial.
diff --git a/.claude/skills/code-review/references/delivery.md b/.claude/skills/code-review/references/delivery.md
new file mode 100644
index 00000000000..972ce509ee6
--- /dev/null
+++ b/.claude/skills/code-review/references/delivery.md
@@ -0,0 +1,41 @@
+# Code Review Delivery Contract
+
+This contract is mandatory for every review produced with the `code-review`
+skill (`../SKILL.md`). It overrides any default report layout.
+
+## Why
+
+Review UIs display the last assistant message of the session as the result.
+If reasoning, planning, or a re-summary is emitted after the report, the report
+and its tables are hidden behind that later message.
+
+## Rules
+
+1. Finish all investigation (file reads, searches, tool calls) before writing
+ the report. Do not interleave investigation with the report.
+2. Emit the complete report as a single final message, in this order:
+ 1. Main assessment and reviewed baseline (base/head SHAs; state whether
+ inspection was complete or partial).
+ 2. Defect findings in descending order of impact, each with exact location,
+ triggering condition, failure mechanism and impact, evidence, and a
+ minimal fix direction. If none: "No actionable defects found within the
+ inspected scope."
+ 3. Validation gaps and questions, kept separate from confirmed defects.
+ 4. Optional: reviewed-files table (`| File | Description |`).
+ 5. Review summary table. This MUST be the last element of the report:
+
+ | Area | Assessment | Evidence / scope | Next action |
+ | --- | --- | --- | --- |
+
+ Assessment values: **Confirmed defect**, **Reported failure**,
+ **Needs verification**, **Design question**, **No issue found** (only
+ within the inspected scope), **Not inspected**. Use "None" as the next
+ action when nothing is needed. The table must agree with the findings.
+3. After the report, end the turn immediately: no further reasoning, planning,
+ re-summarizing, or tool calls. To revise, re-emit the full report as the
+ final message.
+4. For PR reviews, when write access is available, also publish the report as
+ a single PR review comment and post each confirmed defect as an inline
+ comment at its exact file and line, so findings remain visible regardless of
+ chat rendering.
+5. Do not include secrets or sensitive data in the report or comments.
diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md
index d80357c8f12..46895e80901 100644
--- a/.github/copilot-instructions.md
+++ b/.github/copilot-instructions.md
@@ -8,9 +8,11 @@ Skills are available through `.agents/skills/` (a symlink to `.claude/skills/`)
and should be loaded when their description matches the task. Component-specific
documentation and local README files take precedence over general assumptions.
For code reviews, start with `.agents/skills/code-review/SKILL.md` and then
-load the component references selected by its path-routing table. Ownership
-and automatic maintainer review requests are defined separately in
-`.github/CODEOWNERS`.
+load the component references selected by its path-routing table. Always load
+and follow `.agents/skills/code-review/references/delivery.md` exactly: the review report
+must be the final message, must end with the review summary table, and nothing
+may be emitted after it. Ownership and automatic maintainer review requests are
+defined separately in `.github/CODEOWNERS`.
## Repository practices