agenr 1.8.2 → 1.9.1

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
@@ -2,6 +2,68 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [1.9.1] - 2026-04-12
6
+
7
+ Supersession stall-recovery and review-order guard patch release.
8
+
9
+ ### Changed
10
+
11
+ - **Supersession review order is now enforced at the tool boundary.** The supersession query tool now blocks widening into lower-confidence subject sweeps until the same run has actually exhausted claim-key work, keeping the pass aligned with its intended review order.
12
+
13
+ ### Fixed
14
+
15
+ - **Supersession passes no longer self-poison completion state by widening too early.** The surgeon now avoids the stuck `widenedBeforeClaimKeyExhausted` path that could leave a run unable to complete cleanly after later claim-key review caught up.
16
+ - **Supersession completion feedback is more actionable.** Rejected `complete_pass` calls now tell the model how to count reviewed-but-intentionally-unlinked clusters via `entries_skipped`, reducing repeated no-progress bounded slices.
17
+
18
+ ### Validation
19
+
20
+ Changes since last push to `origin/master`:
21
+
22
+ - Fix surgeon supersession stall handling
23
+
24
+ ## [1.9.0] - 2026-04-12
25
+
26
+ Surgeon autonomy, review-flow hardening, and CLI/runtime polish release.
27
+
28
+ ### Added
29
+
30
+ - **Surgeon autonomy control plane v1.** Agenr now ships the first full surgeon autonomy control plane with stronger proposal-review flow, improved review ownership, and better runtime state handling across autonomous passes.
31
+ - **Architecture review skill.** Added a dedicated architecture review skill to support repository-level structural review work alongside the surgeon and planning toolchain updates in this release window.
32
+
33
+ ### Changed
34
+
35
+ - **Surgeon architecture and runtime boundaries are cleaner.** Surgeon logic was refactored across app, adapter, and domain seams, with generalized prompts across corpus domains, tighter runtime safeguards, simplified run flow, and more coherent completion/progress accounting.
36
+ - **CLI and trace output are more structured.** Surgeon console output, startup summaries, progress rendering, and trace logging were tightened so autonomous runs are easier to monitor and debug.
37
+ - **Local development scaffolding stays out of git status.** `.gitignore` now excludes the repo-local skills directory to keep local agent tooling from polluting release and day-to-day workflow status.
38
+
39
+ ### Fixed
40
+
41
+ - **Autonomous surgeon passes recover more reliably.** Fixed proposal-loop stalling, autonomous backup handling, trace directory handling, exhausted-review completion, and repeat supersession-review suppression so long-running surgeon activity can finish cleanly.
42
+
43
+ ### Validation
44
+
45
+ Changes since last push to `origin/master`:
46
+
47
+ - Clean up surgeon CLI output with structured progress and chalk formatting
48
+ - Simplify surgeon run flow
49
+ - Fix surgeon trace directory handling
50
+ - Compact surgeon trace logging
51
+ - Implement surgeon autonomy control plane v1
52
+ - Fix surgeon autonomous proposal loop
53
+ - Fix surgeon autonomous backup and progress stalling
54
+ - Stabilize surgeon retirement and proposal passes
55
+ - Generalize surgeon prompts across corpus domains
56
+ - Add first-principles planning skill
57
+ - Tighten surgeon runtime safeguards
58
+ - Update `.gitignore` to include skills directory
59
+ - Remove first-principles planning skill and associated OpenAI agent configuration files
60
+ - Finish supersession completion on exhausted reviews
61
+ - Improve surgeon progress accounting and console output
62
+ - Suppress repeat supersession review and polish surgeon CLI output
63
+ - Add architecture review skill
64
+ - Refactor surgeon architecture boundaries
65
+ - Clarify surgeon pass startup summaries
66
+
5
67
  ## [1.8.2] - 2026-04-12
6
68
 
7
69
  Temporal parsing and ingest workflow polish patch release.
@@ -7,7 +7,7 @@ import {
7
7
  parseTuiSessionKey,
8
8
  readOpenClawSessionsStore,
9
9
  storeEntriesDetailed
10
- } from "../../chunk-PVYS6BMG.js";
10
+ } from "../../chunk-I6A6DPNF.js";
11
11
  import {
12
12
  EMBEDDING_DIMENSIONS,
13
13
  ENTRY_TYPES,
@@ -24,7 +24,7 @@ import {
24
24
  resolveEmbeddingModel,
25
25
  runUnifiedRecall,
26
26
  validateTemporalValidityRange
27
- } from "../../chunk-SQARNOYD.js";
27
+ } from "../../chunk-EMRMV2QR.js";
28
28
  import {
29
29
  resolveClaimSlotPolicy
30
30
  } from "../../chunk-GUDCFFRV.js";
@@ -1055,7 +1055,7 @@ function registerAgenrOpenClawTools(api, servicesPromise, logger) {
1055
1055
  var openclaw_plugin_default = {
1056
1056
  id: "agenr",
1057
1057
  name: "agenr",
1058
- version: "1.8.1",
1058
+ version: "1.9.0",
1059
1059
  description: "agenr memory plugin for OpenClaw",
1060
1060
  kind: "memory",
1061
1061
  contracts: {
@@ -1932,6 +1932,10 @@ var CREATE_SURGEON_RUN_PROPOSALS_REVIEW_STATUS_INDEX_SQL = `
1932
1932
  CREATE INDEX IF NOT EXISTS idx_surgeon_run_proposals_review_status
1933
1933
  ON surgeon_run_proposals(review_status)
1934
1934
  `;
1935
+ var CREATE_SURGEON_RUN_PROPOSALS_OPEN_ISSUE_INDEX_SQL = `
1936
+ CREATE INDEX IF NOT EXISTS idx_surgeon_run_proposals_open_issue
1937
+ ON surgeon_run_proposals(review_status, group_id, issue_kind)
1938
+ `;
1935
1939
  var CREATE_META_TABLE_SQL = `
1936
1940
  CREATE TABLE IF NOT EXISTS _meta (
1937
1941
  key TEXT PRIMARY KEY,
@@ -2055,6 +2059,7 @@ var SCHEMA_STATEMENTS = [
2055
2059
  CREATE_SURGEON_RUN_PROPOSALS_GROUP_ID_INDEX_SQL,
2056
2060
  CREATE_SURGEON_RUN_PROPOSALS_CREATED_AT_INDEX_SQL,
2057
2061
  CREATE_SURGEON_RUN_PROPOSALS_REVIEW_STATUS_INDEX_SQL,
2062
+ CREATE_SURGEON_RUN_PROPOSALS_OPEN_ISSUE_INDEX_SQL,
2058
2063
  CREATE_META_TABLE_SQL,
2059
2064
  CREATE_ENTRIES_CONTENT_HASH_INDEX_SQL,
2060
2065
  CREATE_ENTRIES_NORM_CONTENT_HASH_INDEX_SQL,
@@ -22,7 +22,7 @@ import {
22
22
  readOptionalString,
23
23
  readRequiredString,
24
24
  validateTemporalValidityRange
25
- } from "./chunk-SQARNOYD.js";
25
+ } from "./chunk-EMRMV2QR.js";
26
26
  import {
27
27
  compactClaimKey,
28
28
  describeClaimKeyNormalizationFailure,