From dd0be11aad9805b1c63832837cd4ad57c82d1579 Mon Sep 17 00:00:00 2001 From: James Chapman Date: Mon, 30 Nov 2026 12:31:40 +0000 Subject: [PATCH 1/3] Review angles: deepen partial-failure, revocation and lifecycle checks A bot review that used this skill approved a large change that another reviewer found ten major and eleven lesser defects in. The topics were already named in the checklist; the misses were depth and specificity. Extend the existing bullets instead of adding parallel ones. review-angles.md: - Partial failure: what earlier steps leave behind, error-path parity with the success path, and "already done" checks that test actual state rather than the recorded request. - Two-phase changes (record plus the real thing it describes): write order for widening versus narrowing access, and what a crash leaves. - Replay and recovery must be at least as strict as the writer. - Revocation and derived data: check at use time, bind to identity not name, re-check inside long loops; Caches points at it. - Guard parity across sibling paths, and both creation orders for two-sided invariants. - Chunked redaction, every return arm of a size-limited function, and compact fallbacks that drop identifying fields. - Docs: absolutes against deliberate exceptions; grep a fact across every doc, not only those in the diff. axes/ui.md: linked-option transitions in both directions, and stable identifiers for controls that redraw. SKILL.md: open the rule documents that AGENTS.md and CLAUDE.md link to (and that other review tools' configs name), cite the rule; walk the lifecycle of any new stateful concept, and do not conclude "no issues" over cross-part flows that could not be followed. Co-Authored-By: Claude Sonnet 5.5 --- skills/code-change-review/SKILL.md | 4 +++- .../code-change-review/references/axes/ui.md | 2 ++ .../references/review-angles.md | 21 +++++++++++-------- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/skills/code-change-review/SKILL.md b/skills/code-change-review/SKILL.md index b9cd7f7..809f097 100644 --- a/skills/code-change-review/SKILL.md +++ b/skills/code-change-review/SKILL.md @@ -141,7 +141,7 @@ The diff shows what changed, not what it affects. Before judging anything: - **Read definitions, not names.** Open the types, functions and config the changed code uses. What a field holds or a function does is in its definition, not in its name or in how other call sites use it. - **Find callers and dependents** of every changed function, type, schema, config key or endpoint (grep, LSP find-references). The blast radius is invisible from the diff. - **Read the decision records** the change touches: ADRs, design docs, comments next to the code. A documented trade-off is not a defect, unless it breaks a spec, requirement or security invariant. -- **Learn the project's conventions:** linter and formatter configs, `CLAUDE.md`/`CONTRIBUTING.md`, and how nearby code handles errors, logging and tests. Judge consistency against this codebase, not against general taste. +- **Learn the project's conventions:** linter and formatter configs, `CLAUDE.md`/`CONTRIBUTING.md`, and how nearby code handles errors, logging and tests. Judge consistency against this codebase, not against general taste. `AGENTS.md` and `CLAUDE.md` often only link to rule documents (coding, security, testing standards), and other review tools' configs name them (`.coderabbit.yaml` `knowledge_base.code_guidelines.filePatterns`). Open the linked ones that cover the changed area (security rules for permission code, testing standards for tests), judge against them, and cite the rule in the finding. - **Search for existing helpers** before accepting new utility code. Re-implementing something the repo already has only shows up when you look outside the diff. - **Know the gates the change must pass.** Find the analysers the project runs on every change (`sonar-project.properties`, `.github/workflows/*sonar*` or `*codeql*`, linters wired into CI, a quality gate described in `AGENTS.md`). Where the project enforces one as a gate (`references/reporting.md` says which count), judge new code by its rules as well as by real risk. Your review often runs before they finish, so predict what the change will trip rather than waiting to read the result. - **Read the recent history of each file the change touches**: `git log --format='%h %s%n%b' -n 20 -- ` where that commit is local, or else `gh api "repos///commits?sha=&path=&per_page=20" --jq '.[] | .sha[0:7] + " " + .commit.message'`. A commit that changed sibling code to satisfy a rule ("Sonar S8707", "path traversal", "takes no file arguments") may record a rule this change must follow too, even when no doc states it. Apply it when its reason covers the new code (the same rule, triggered by the same kind of input), not because the code sits next door. New code that brings back what that commit removed, for the same reason, is a finding. @@ -159,6 +159,8 @@ Each loaded axis adds its checks to these tiers, ranked by what the defect cause **Exhaust the change before reporting.** Don't stop at the first serious findings. After working through the angles, sweep every hunk you fully reviewed again and ask what is still wrong that you have not raised; repeat until a sweep adds nothing. Where step 1's triage limited coverage, record the skimmed and unreviewed files in the coverage note rather than claiming a full sweep. In Quick mode, one sweep is enough. Ranking decides the order findings are reported in, not whether lower-ranked ones are looked for. An issue the author first hears about after fixing the earlier ones costs a whole extra review round. +**Walk the lifecycle of any new stateful concept** (a grant, permission, cache, saved result, journal event): create, use, change, revoke or delete, fail midway, crash, recover or replay. For each step, read every component that must take part (core, CLI, UI, recovery, docs, tests). If you saw only part of the change, list the cross-part flows you could not follow in your coverage note, and do not conclude "no issues". + ### 5. Verify every finding before reporting it Choose review depth by user request: **Standard** by default (independently verify serious or uncertain findings when subagents exist); **Quick** for requested fast reviews (self-check only); **Deep** for thorough or unattended reviews (independently verify every reported finding when subagents exist). Never silently downgrade an unattended review. Limit simultaneous verification agents to four unless the user authorizes a higher concurrency limit. Reviews that post findings without a human in the loop also have a per-review verifier-run budget for `[P3]`–`[P5]` candidates: past it, those get the self-check instead, while every `[P1]`/`[P2]` still gets a fresh verifier (`references/verification.md`, "Posting without a human in the loop"). Log how many candidates were checked, refuted and dropped, and any limitations. See `references/verification.md` for the detailed rules and fallback. diff --git a/skills/code-change-review/references/axes/ui.md b/skills/code-change-review/references/axes/ui.md index bdac772..5378a8e 100644 --- a/skills/code-change-review/references/axes/ui.md +++ b/skills/code-change-review/references/axes/ui.md @@ -5,4 +5,6 @@ Load when the change renders UI: components, templates, views, styles, or user-f - Accessibility: labels and accessible names on controls, keyboard operation and focus order, focus moved and restored around dialogs, colour contrast, information not carried by colour alone. - Internationalization: hard-coded user-facing strings, string concatenation instead of placeholders, pluralization, dates, numbers and currency formatted for the locale, right-to-left layout. - States: loading, empty, error and partial-data states handled, not only the happy path; double submission prevented while a request is in flight. +- Linked options (Write requires Read): walk every single-step transition in both directions, not only the one the author handled, and check the invariant after each. +- A control that redraws needs a stable identifier so focus, selection and scroll survive; check it with the keyboard. - Layout: responsive at the sizes the project supports; long text, large numbers and translated strings that are longer than English. diff --git a/skills/code-change-review/references/review-angles.md b/skills/code-change-review/references/review-angles.md index 3305c1a..45131a8 100644 --- a/skills/code-change-review/references/review-angles.md +++ b/skills/code-change-review/references/review-angles.md @@ -14,7 +14,7 @@ Language-agnostic, and loaded for every review: these angles apply to almost any ## Tier 1: Is it right? ### Correctness and logic -- Boundaries: empty, single element, max size, zero, negative, overflow, NaN, unicode and multi-byte strings, time zones, DST, leap days. +- Boundaries: empty, single element, max size, zero, negative, overflow, NaN, unicode and multi-byte strings, time zones, DST, leap days. In a function that enforces a size limit, check every return arm, including the empty, EOF or zero-length success arm. - Off-by-one in loops, slices, ranges and pagination (inclusive versus exclusive). - Inverted or incomplete conditionals. Check `&&`/`||` precedence and De Morgan errors. - Null, undefined or missing values on every new path, including optional fields from external input. @@ -34,10 +34,12 @@ Language-agnostic, and loaded for every review: these angles apply to almost any ### Error handling and failure modes - Swallowed errors (empty catch, ignored return codes, `_ =` discards). - Fail-open versus fail-closed: on error, does an auth or permission check deny? -- Partial failure: if step 2 of 3 fails, is state consistent? Is there cleanup or a rollback? -- External calls: timeouts set? Retries bounded, with backoff? Are retried operations idempotent? +- Partial failure: if step 2 of 3 fails, is state consistent? Is there cleanup or a rollback? What did the earlier steps leave behind (a pending grant that blocks all later work)? Does the error path still do what the success path does afterwards (halt the work whose authority the half-done change already withdrew)? +- Two-phase changes (a record plus the real thing it describes: ACL, file, external API): which is written first, and what does a crash between them leave? Widening access: record intent, then apply. Narrowing: apply the revoke, then record. Effective state must never exceed the recorded one after a crash, and recovery must be able to finish or undo the change. +- Replay and recovery: code that rebuilds state from a journal, log or events must be at least as strict as the writer. Reject transitions the writer never produces (a removal while dependents remain, a grant without the flags that justify it); legacy and hand-edited data is where this shows. +- External calls: timeouts set? Retries bounded, with backoff? Are retried operations idempotent? An "already done" check must test actual state, not compare the request with the recorded one, or a half-done state reads as complete. - Error messages: useful to the operator, safe for the end user (no stack traces or internals), and right for every case that reaches them. Advice written for one caller ("create the file, then extend it with edits") misleads when a different tool or input lands on the same message. -- Fallbacks obey the limits they enforce: a refusal, placeholder or truncated result must itself fit the configured cap at the smallest supported setting, or the fallback fails exactly where it was meant to recover. +- Fallbacks obey the limits they enforce: a refusal, placeholder or truncated result must itself fit the configured cap at the smallest supported setting, or the fallback fails exactly where it was meant to recover. A compact form that drops identifying fields (a call ID) loses its meaning when replayed later. - Resource cleanup on *every* path, including error paths (files, sockets, locks, transactions). ### Concurrency and state @@ -45,21 +47,22 @@ Language-agnostic, and loaded for every review: these angles apply to almost any - Shared mutable state across threads, requests, goroutines or async tasks. - Lock ordering (deadlock), locks held across I/O or awaits. - Async ordering assumptions: un-awaited promises or tasks, fire-and-forget that loses errors. -- Caches: invalidation on write, stampede, stale reads after update. +- Caches: invalidation on write, stampede, stale reads after update, and entries that outlive the permission that allowed them (see "Revocation and derived data", under Security). ### Blast radius - Every caller of a changed signature, behaviour, default or return value. Find them; don't assume. - Changed defaults: who relied on the old one? - Shared code (utils, base classes, middleware): the change applies to every consumer, not only the one the author had in mind. -- Sibling implementations: where several implementations take the same input (provider adapters, storage backends, platform ports, parsers for two wire formats), follow the unusual input the change is about (malformed, oversized, empty, an object where a string belongs) through each one. They should reach the same outcome, or the difference should be stated. A rule added in one adapter often leaves another rejecting, or accepting, that input before the new rule runs. +- Sibling implementations: where several implementations take the same input (provider adapters, storage backends, platform ports, parsers for two wire formats), follow the unusual input the change is about (malformed, oversized, empty, an object where a string belongs) through each one. They should reach the same outcome, or the difference should be stated. A rule added in one adapter often leaves another rejecting, or accepting, that input before the new rule runs. Guards too: when a new path creates or changes a guarded resource, list the other paths that do (add, update, remove, replay or recovery, import; CLI, UI, API) and compare checks: one the older paths make and the new one omits is a finding. For overlap, containment or uniqueness between two kinds of record, check both creation orders. ## Tier 2: Is it safe to ship? ### Security - Injection: SQL, shell, LDAP, template, header, log and path, wherever untrusted data meets an interpreter. - AuthN/AuthZ: is the check present on *every* new endpoint or action? Object-level authorization, not only "logged in"? +- Revocation and derived data: once a permission, grant or setting is withdrawn, is anything saved or derived from it (cached tool results, saved output, summaries, replayed history) still used or sent? Check at use time, for every derivative and source type; bind to the item's identity, not its name (remove A, add B under the same name); re-check inside long loops, not only at the start. - Trust boundaries: is client-supplied data trusted for prices, roles, IDs or redirects? -- Secrets: hard-coded keys, secrets in logs, errors or URLs, overly broad tokens. +- Secrets: hard-coded keys, secrets in logs, errors or URLs, overly broad tokens. Redaction, sanitization or validation applied per chunk, slice, page or frame misses a value split across the boundary. - Unsafe deserialization, XXE, SSRF (user-controlled URLs fetched server-side), open redirects. - Path traversal on any file path built from input. The command-line arguments and environment of a tool that CI jobs or agents run count as input in two cases. One is when they can carry less-trusted data: a workflow input a PR controls, or a command an agent builds from PR content. The other is when the project enforces an analyser that flags them, such as SonarQube's `pythonsecurity:S8707`; the gate rule in `reporting.md` then ranks the finding. In either case, follow the answer the project already uses: resolve the path and require it to stay under a work folder, or take no path arguments at all. Otherwise, a path argument from a trusted caller is not a finding. - Crypto: home-grown schemes, weak algorithms, non-constant-time comparison of secrets, predictable randomness. @@ -140,7 +143,7 @@ The change can make the existing safety net weaker as well as adding to it. Chec ### Documentation - README, API docs, changelog and migration notes updated for user-visible changes. - Comments and docstrings near edited lines still true. -- **Every factual claim the change adds or edits is true.** Prose in docs, ADRs, changelogs, runbooks and agent files (`AGENTS.md`, `CLAUDE.md`) states a contract: error and status codes, limits and sizes, file names and paths, config keys, defaults, preconditions, which cases succeed and which fail. List the concrete claims in each changed paragraph and check each one against the code or decision record it describes, at the layer it describes (`verification.md`, "Doc claim checked at the wrong layer"). Treat these docs as part of the code change, not as prose to skim. +- **Every factual claim the change adds or edits is true.** Prose in docs, ADRs, changelogs, runbooks and agent files (`AGENTS.md`, `CLAUDE.md`) states a contract: error and status codes, limits and sizes, file names and paths, config keys, defaults, preconditions, which cases succeed and which fail. An "always", "never" or "strict" claim must survive the exceptions the code deliberately makes (rounding up to a whole character). List the concrete claims in each changed paragraph and check each one against the code or decision record it describes, at the layer it describes (`verification.md`, "Doc claim checked at the wrong layer"). Treat these docs as part of the code change, not as prose to skim. - Recovery, upgrade and migration steps: walk them against the code. Does doing exactly what the doc says reach the promised state? A step that leaves out something the code also reads (rotated archives, a cache, a second config location) leaves the operator stuck while believing they followed the fix. - Compatibility and limit claims hold at the boundary, not only in the typical case ("an older build can open it" must survive the largest record this build writes). -- Statements that must agree do: a changelog entry with its neighbours and the version bump, a summary (`README`, `AGENTS.md`) with the detailed doc, a doc with the ADR it cites. A summary that drops a condition is the version readers act on. +- Statements that must agree do: a changelog entry with its neighbours and the version bump, a summary (`README`, `AGENTS.md`) with the detailed doc, a doc with the ADR it cites. A summary that drops a condition is the version readers act on. For a fact the change states or edits, grep its term in every doc, not only the docs in the diff, and compare each statement. From f85dc8235f5fc83c677ebc91e09b625ae3e656b5 Mon Sep 17 00:00:00 2001 From: James Chapman Date: Mon, 30 Nov 2026 12:37:54 +0000 Subject: [PATCH 2/3] Review angles: narrow three checks that could raise false findings Review feedback on the new bullets: - ui.md: a stable identifier alone does not keep focus when a replaced ancestor remounts the control; require the control to be preserved or its focus, selection and scroll restored. - Replay and recovery: judge a record against the rules of the writer and version that produced it, within the supported compatibility range, so valid older history is not rejected. - Guards: an omitted check is a finding only if it guards an invariant the new path can also violate (a uniqueness check does not apply to a removal). Co-Authored-By: Claude Sonnet 5.5 --- skills/code-change-review/references/axes/ui.md | 2 +- skills/code-change-review/references/review-angles.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skills/code-change-review/references/axes/ui.md b/skills/code-change-review/references/axes/ui.md index 5378a8e..d229c3c 100644 --- a/skills/code-change-review/references/axes/ui.md +++ b/skills/code-change-review/references/axes/ui.md @@ -6,5 +6,5 @@ Load when the change renders UI: components, templates, views, styles, or user-f - Internationalization: hard-coded user-facing strings, string concatenation instead of placeholders, pluralization, dates, numbers and currency formatted for the locale, right-to-left layout. - States: loading, empty, error and partial-data states handled, not only the happy path; double submission prevented while a request is in flight. - Linked options (Write requires Read): walk every single-step transition in both directions, not only the one the author handled, and check the invariant after each. -- A control that redraws needs a stable identifier so focus, selection and scroll survive; check it with the keyboard. +- A control that redraws must be preserved (a stable identifier, and no replaced ancestor that remounts it) or have its focus, selection and scroll restored afterwards; check it with the keyboard. - Layout: responsive at the sizes the project supports; long text, large numbers and translated strings that are longer than English. diff --git a/skills/code-change-review/references/review-angles.md b/skills/code-change-review/references/review-angles.md index 45131a8..5bd9a3a 100644 --- a/skills/code-change-review/references/review-angles.md +++ b/skills/code-change-review/references/review-angles.md @@ -36,7 +36,7 @@ Language-agnostic, and loaded for every review: these angles apply to almost any - Fail-open versus fail-closed: on error, does an auth or permission check deny? - Partial failure: if step 2 of 3 fails, is state consistent? Is there cleanup or a rollback? What did the earlier steps leave behind (a pending grant that blocks all later work)? Does the error path still do what the success path does afterwards (halt the work whose authority the half-done change already withdrew)? - Two-phase changes (a record plus the real thing it describes: ACL, file, external API): which is written first, and what does a crash between them leave? Widening access: record intent, then apply. Narrowing: apply the revoke, then record. Effective state must never exceed the recorded one after a crash, and recovery must be able to finish or undo the change. -- Replay and recovery: code that rebuilds state from a journal, log or events must be at least as strict as the writer. Reject transitions the writer never produces (a removal while dependents remain, a grant without the flags that justify it); legacy and hand-edited data is where this shows. +- Replay and recovery: code that rebuilds state from a journal, log or events must be at least as strict as the writer that produced each record (its version's rules, within the supported compatibility range). Reject transitions that writer never produces (a removal while dependents remain, a grant without the flags that justify it); legacy and hand-edited data is where this shows. - External calls: timeouts set? Retries bounded, with backoff? Are retried operations idempotent? An "already done" check must test actual state, not compare the request with the recorded one, or a half-done state reads as complete. - Error messages: useful to the operator, safe for the end user (no stack traces or internals), and right for every case that reaches them. Advice written for one caller ("create the file, then extend it with edits") misleads when a different tool or input lands on the same message. - Fallbacks obey the limits they enforce: a refusal, placeholder or truncated result must itself fit the configured cap at the smallest supported setting, or the fallback fails exactly where it was meant to recover. A compact form that drops identifying fields (a call ID) loses its meaning when replayed later. @@ -53,7 +53,7 @@ Language-agnostic, and loaded for every review: these angles apply to almost any - Every caller of a changed signature, behaviour, default or return value. Find them; don't assume. - Changed defaults: who relied on the old one? - Shared code (utils, base classes, middleware): the change applies to every consumer, not only the one the author had in mind. -- Sibling implementations: where several implementations take the same input (provider adapters, storage backends, platform ports, parsers for two wire formats), follow the unusual input the change is about (malformed, oversized, empty, an object where a string belongs) through each one. They should reach the same outcome, or the difference should be stated. A rule added in one adapter often leaves another rejecting, or accepting, that input before the new rule runs. Guards too: when a new path creates or changes a guarded resource, list the other paths that do (add, update, remove, replay or recovery, import; CLI, UI, API) and compare checks: one the older paths make and the new one omits is a finding. For overlap, containment or uniqueness between two kinds of record, check both creation orders. +- Sibling implementations: where several implementations take the same input (provider adapters, storage backends, platform ports, parsers for two wire formats), follow the unusual input the change is about (malformed, oversized, empty, an object where a string belongs) through each one. They should reach the same outcome, or the difference should be stated. A rule added in one adapter often leaves another rejecting, or accepting, that input before the new rule runs. Guards too: when a new path creates or changes a guarded resource, list the other paths that do (add, update, remove, replay or recovery, import; CLI, UI, API) and compare checks: one the older paths make and the new one omits is a finding if it guards an invariant the new path can also violate (a uniqueness check does not apply to a removal). For overlap, containment or uniqueness between two kinds of record, check both creation orders. ## Tier 2: Is it safe to ship? From c7806414c79e90bba1caa38cf260f913f8d50ac9 Mon Sep 17 00:00:00 2001 From: James Chapman Date: Mon, 30 Nov 2026 12:45:34 +0000 Subject: [PATCH 3/3] Review angles: state what the UI and two-phase rules assume Review feedback on the new bullets: - ui.md: an id or key does not prove a control keeps its identity; name the framework's rules (stable key, same element type, unchanged keyed parents) or require restoring focus, selection and scroll. - Two-phase changes: the write order holds only where the real thing enforces access and the record states intent. If anything authorizes from the record itself, require atomic writes or a named authoritative side with defined recovery. Co-Authored-By: Claude Sonnet 5.5 --- skills/code-change-review/references/axes/ui.md | 2 +- skills/code-change-review/references/review-angles.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/skills/code-change-review/references/axes/ui.md b/skills/code-change-review/references/axes/ui.md index d229c3c..e42942b 100644 --- a/skills/code-change-review/references/axes/ui.md +++ b/skills/code-change-review/references/axes/ui.md @@ -6,5 +6,5 @@ Load when the change renders UI: components, templates, views, styles, or user-f - Internationalization: hard-coded user-facing strings, string concatenation instead of placeholders, pluralization, dates, numbers and currency formatted for the locale, right-to-left layout. - States: loading, empty, error and partial-data states handled, not only the happy path; double submission prevented while a request is in flight. - Linked options (Write requires Read): walk every single-step transition in both directions, not only the one the author handled, and check the invariant after each. -- A control that redraws must be preserved (a stable identifier, and no replaced ancestor that remounts it) or have its focus, selection and scroll restored afterwards; check it with the keyboard. +- A control that redraws must stay the same instance under the framework's identity rules (stable key, same element type, unchanged keyed parents), or have its focus, selection and scroll restored afterwards; an id alone proves nothing, so check it with the keyboard. - Layout: responsive at the sizes the project supports; long text, large numbers and translated strings that are longer than English. diff --git a/skills/code-change-review/references/review-angles.md b/skills/code-change-review/references/review-angles.md index 5bd9a3a..f7c6b4c 100644 --- a/skills/code-change-review/references/review-angles.md +++ b/skills/code-change-review/references/review-angles.md @@ -35,7 +35,7 @@ Language-agnostic, and loaded for every review: these angles apply to almost any - Swallowed errors (empty catch, ignored return codes, `_ =` discards). - Fail-open versus fail-closed: on error, does an auth or permission check deny? - Partial failure: if step 2 of 3 fails, is state consistent? Is there cleanup or a rollback? What did the earlier steps leave behind (a pending grant that blocks all later work)? Does the error path still do what the success path does afterwards (halt the work whose authority the half-done change already withdrew)? -- Two-phase changes (a record plus the real thing it describes: ACL, file, external API): which is written first, and what does a crash between them leave? Widening access: record intent, then apply. Narrowing: apply the revoke, then record. Effective state must never exceed the recorded one after a crash, and recovery must be able to finish or undo the change. +- Two-phase changes (a record plus the real thing it describes: ACL, file, external API): which is written first, and what does a crash between them leave? Where the real thing enforces and the record only states intent: widen by recording, then applying; narrow by applying the revoke, then recording. Effective state must never exceed the recorded one after a crash, and recovery must be able to finish or undo the change. If anything authorizes from the record itself, make the writes atomic (transaction, compare-and-swap) or name the authoritative side and its recovery. - Replay and recovery: code that rebuilds state from a journal, log or events must be at least as strict as the writer that produced each record (its version's rules, within the supported compatibility range). Reject transitions that writer never produces (a removal while dependents remain, a grant without the flags that justify it); legacy and hand-edited data is where this shows. - External calls: timeouts set? Retries bounded, with backoff? Are retried operations idempotent? An "already done" check must test actual state, not compare the request with the recorded one, or a half-done state reads as complete. - Error messages: useful to the operator, safe for the end user (no stack traces or internals), and right for every case that reaches them. Advice written for one caller ("create the file, then extend it with edits") misleads when a different tool or input lands on the same message.