@wirecat/cli-core 0.364.0 → 0.365.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ shape of this file.
7
7
 
8
8
  ## Unreleased
9
9
 
10
+ ## 0.365.0 — 19.10.2026
11
+
12
+ ### Fixed
13
+
14
+ - **A findings batch whose evidence changed can still be rejected.** Review rechecked the cited sources even when
15
+ it accepted nothing, so a stale meeting or evidence findings batch could never be closed and stayed open in
16
+ every list. Accepting still requires current evidence.
17
+
10
18
  ## 0.364.0 — 19.10.2026
11
19
 
12
20
  ### Fixed
@@ -152,7 +152,8 @@ export const evidenceFindingsStoreOver = (context) => {
152
152
  return batch;
153
153
  }
154
154
  const input = proposal.payload;
155
- if (snapshot(batch.input) !== input.snapshotHash)
155
+ // Rejecting creates nothing, so a batch whose evidence changed can still be closed.
156
+ if (accepted.length && snapshot(batch.input) !== input.snapshotHash)
156
157
  return stale();
157
158
  if (proposal.proposedBy.type !== "bot" || !proposal.proposedBy.name)
158
159
  return invalid("a findings author must be an agent");
@@ -182,7 +182,8 @@ export const meetingFindingsStoreOver = (context) => {
182
182
  return batch;
183
183
  }
184
184
  const input = proposal.payload;
185
- if (snapshot(account, batch.input) !== input.snapshotHash)
185
+ // Rejecting creates nothing, so a batch whose evidence changed can still be closed.
186
+ if (accepted.length && snapshot(account, batch.input) !== input.snapshotHash)
186
187
  return stale();
187
188
  if (proposal.proposedBy.type !== "bot" || !proposal.proposedBy.name)
188
189
  return invalid("a findings author must be an agent");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wirecat/cli-core",
3
- "version": "0.364.0",
3
+ "version": "0.365.0",
4
4
  "description": "The messenger-neutral half of a messaging CLI: domain model, message locators, rendering, name resolution, the SQLite seam, the command skeleton and shared read commands, the send guard, run records and the message store",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Viacheslav Ptsarev",