Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge remote-tracking branch 'origin/master' into capy/6932-index-lock-reclaim

garrytanc395cda044fc
diff --cc src/core/behavior-change-notice.ts
index 9e04a3fe7e,0915143503..501751e313
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@@ -888,9 -888,7 +888,10 @@@ export const BEHAVIOR_CHANGES: Readonly
{ since: '0.60.289.0', text: '`gbrain repair ghost-pages` now retires legacy knowledge ghosts under `skills/` that no live pack skill owns, as a database-only soft delete, and lists ghosts on files the adopted skillpack owns apart as `ghost_skill_pack_member` with a restore step; a per-item caller refusal is recorded `refused` instead of aborting the run.' },
{ since: '0.60.289.0', text: 'Managed fact extraction that gives one entity more than 50 facts in one batch now publishes them as parts of at most 50, each its own extract_facts request published in queue order, so one publication no longer holds the brain-wide write counters for every fact. Each part\'s receipt says so (publication: partial or final_part, part.index/of, part.deferred_facts, part.follow_up); the batch\'s completion receipt still counts the whole group. Conversation entity hints never name a retired alias page (canonical: false, superseded_by/merged_into, alias or redirect status): its canonical page is hinted instead, or nothing when the redirect cannot be followed.' },
{ since: '0.60.289.0', text: 'OpenClaw context engine: when a module that assemble() loads lazily fails to load (for example, a host runtime that rejects Bun-only imports), it now prints one stderr line per module, `[gbrain] context engine: failed to load <module> (<error code>); brain context is degraded`, instead of failing silently. Context assembly still fails open, and nothing else changes.' },
+ { since: '0.60.294.0', text: 'Graph walks (`traverse_graph`, `gbrain graph`, the graph context `think` gathers) are now breadth-first: each page and each edge comes back once, at its shortest depth from the start page, instead of once per depth some path reached it. The pages and edges reached are unchanged; only repeated deeper copies are gone, and a walk over a densely linked cluster that took seconds now takes milliseconds. A walk now stops at 20,000 visited pages (the old cap counted paths), and the truncation warning names both caps.' },
+ // #6932 hotfix (abandoned index-lock reclaim, scaled Git step deadlines) and #6936 (advisor collector failures).
+ { since: '0.60.295.0', text: 'On a managed brain the canonical writer now removes a Git index lock (`.git/index.lock`) in its checkout by itself when it can prove the lock is abandoned (Linux with every process visible, a local filesystem, no process holding the lock open, no git running in or pointed at the checkout, and the lock empty and at least 5 s old or older than 10 minutes), then retries the Git effects that lock had parked. Each removal leaves a receipt in GBRAIN_HOME/persistence/index-lock-reclaims.jsonl, and doctor `parked_effects` reports them. A lock it cannot prove abandoned is kept, as before. Each Git effect step now gets 20 s plus 2 s per MiB of index (at most 120 s) and 10 s to exit after SIGTERM, and `git status` there no longer takes the index lock.' },
+ { since: '0.60.295.0', text: '`gbrain advisor` reports a check that failed to run as a warn finding `collector_failed:<check>` and exits 1, instead of leaving it out and possibly reporting a healthy brain with exit 0.' },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */