Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

Merge remote-tracking branch 'origin/master' into capy/green-master-wave

garrytan0e745dd7c78f
diff --cc src/core/behavior-change-notice.ts
index 8849e3e4d7,8669d7c461..63bfd7cb63
--- a/src/core/behavior-change-notice.ts
+++ b/src/core/behavior-change-notice.ts
@@@ -235,7 -238,8 +238,9 @@@ export const BEHAVIOR_CHANGES: Readonly
{ since: '0.60.74.0', text: '`gbrain sources writer status --json` renamed `ingress` to `local_process_ingress`; it describes only the process that answered.' },
{ since: '0.60.74.0', text: '`gbrain jobs work` exits 0 after a SIGTERM drain (was 143) and 17 when running claims had to be handed back.' },
{ since: '0.60.74.0', text: 'Captured session files nothing has extracted are kept up to 3x dream.synthesize.corpus_retention_days (90 days by default, was 30), so the corpus directory can use more disk; `gbrain sweep --once --budget-ms 600000` clears that backlog.' },
- { since: '0.60.77.0', text: 'On a brain with embedding turned off, search, query, recall, think and fact writes no longer send text to an embedding provider: reads run keyword-only and say so, and `gbrain doctor --json` names the enable command if the user wants semantic search back.' },
+ { since: '0.60.77.0', text: 'think answers, saved syntheses, concept narratives and pattern pages check their quotes against their sources: a quote found nowhere loses its quotation marks and is marked [unverified]. It is not yet measured as a catch for made-up quotes. `gbrain config set think.quote_verify false` and `gbrain config set dream.quote_verify false` turn it off.' },
+ { since: '0.60.77.0', text: 'forget responses list close active facts it did not withdraw (`similar_active`); with a TypeSafe key, forgetting also queues an overnight review that only proposes withdrawing rewordings (`gbrain decide proposals list`; `gbrain config set decide.slots.conflict.review_withdraw false` turns it off).' },
++ { since: '0.60.78.0', text: 'On a brain with embedding turned off, search, query, recall, think and fact writes no longer send text to an embedding provider: reads run keyword-only and say so, and `gbrain doctor --json` names the enable command if the user wants semantic search back.' },
];
/** The newest disclosed change's release: the notice id moves only when a release adds rows. */
diff --cc src/core/persistence/memory-prepare.ts
index 4f4ef0f0f6,5b10cd36e2..4c5371160a
--- a/src/core/persistence/memory-prepare.ts
+++ b/src/core/persistence/memory-prepare.ts
@@@ -7,8 -7,7 +7,8 @@@ import { pageIdentityError } from './pa
import { assertPageRevision } from '../page-state/types.ts';
import { parseFactsFence, renderFactsTable, replaceOrInsertFactsFence, upsertFactRow, formatFenceDate } from '../facts-fence.ts';
import { serializePageToMarkdown } from '../markdown.ts';
- import { assertFactNotWithdrawn, decideSingleFact, prepareFactEmbedding, type SingleFactIntent } from '../facts/single-prepare.ts';
+ import { assertFactNotWithdrawn, decideReplacement, decideSingleFact, prepareFactEmbedding, type SingleFactIntent } from '../facts/single-prepare.ts';
+import { factEmbeddingDisabled } from '../embedding-disabled.ts';
import { engineMutationPrecondition, parseMutationPrecondition } from './preconditions.ts';
import { preparePageMutation } from './page-prepare.ts';
import type { PreparedMutation } from './coordinator.ts';
diff --cc test/behavior-change-notice.test.ts
index ce1676a62a,7457756e23..e4f82adcce
--- a/test/behavior-change-notice.test.ts
+++ b/test/behavior-change-notice.test.ts
@@@ -154,7 -154,8 +154,9 @@@ for (const backend of testBackends())
expect(plain.why).toContain('local_process_ingress');
expect(plain.why).toContain('exits 0 after a SIGTERM drain (was 143) and 17');
expect(plain.why).toContain('gbrain sweep --once --budget-ms 600000');
+ expect(plain.why).toContain('think.quote_verify false');
+ expect(plain.why).toContain('decide.slots.conflict.review_withdraw false');
+ expect(plain.why).toContain('no longer send text to an embedding provider');
expect(plain.why).toContain('not a request for consent');
expect(plain.fix?.argv).toEqual(['gbrain', 'doctor', '--only', 'behavior_changes', '--json']);
});
@@@ -379,9 -379,8 +381,9 @@@ describe('upgrades across releases (eac
writeFileSync(join(home, 'brain-config.json'), JSON.stringify({ [HTTP_SHOWN_KEY]: JSON.stringify({ id: '[email protected]', clients: { 'client-a': '2026-10-05T00:00:00.000Z' } }) }));
for (const channel of ['cli', 'http:client-a']) {
const why = await runAt(home, '0.60.77.0', 'b68', channel);
- expect(why).toContain('gbrain v0.60.74.0 and v0.60.77.0 changed 7 behaviors');
+ expect(why).toContain('gbrain v0.60.74.0 and v0.60.77.0 changed 8 behaviors');
expect(why).toContain(WAVE9);
+ expect(why).toContain(OPT_OUT);
expect(why).not.toContain(V68);
expect(why).not.toContain('v0.60.68.0');
expect(await runAt(home, '0.60.77.0', 'b68', channel)).toBeNull();