Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

graduation inventory: classify core_edit_notices (carry, user_data); reviewed carry count 95

garrytana747927f3ea6
diff --git a/src/core/persistence/graduation-inventory.ts b/src/core/persistence/graduation-inventory.ts
index 7b25e6b470..daaf8c1241 100644
--- a/src/core/persistence/graduation-inventory.ts
+++ b/src/core/persistence/graduation-inventory.ts
@@ -39,6 +39,7 @@ export const GRADUATION_INVENTORY: Inventory = {
carry('code_edges_symbol', 'user_data', 'Code graph edges to unresolved symbols.'),
carry('config', 'user_data', 'Brain settings, including the embedding column registry; the engine name and schema version stay each engine\'s own.',
{ rowFilter: "key NOT IN ('engine','version','graduation.deferred_indexes')" }),
+ carry('core_edit_notices', 'user_data', 'Remote edits to always-loaded core pages awaiting the owner\'s review (gbrain core diff/ack); dropping them would hide unreviewed edits.'),
carry('content_chunks', 'user_data', 'Chunks with embeddings (paid work), vectors carried as text at the source typmod.'),
carry('context_volunteer_events', 'operational', 'Push-context telemetry.'),
carry('conversation_parser_llm_cache', 'operational', 'Paid LLM parse cache; rebuilding spends money.'),
diff --git a/test/graduation-inventory.test.ts b/test/graduation-inventory.test.ts
index 36bbeb86a6..c862572fe0 100644
--- a/test/graduation-inventory.test.ts
+++ b/test/graduation-inventory.test.ts
@@ -60,7 +60,7 @@ describe('graduation inventory', () => {
expect(new Set(names).size).toBe(names.length);
const counts: Record<string, number> = {};
for (const e of GRADUATION_INVENTORY.entries) counts[e.class] = (counts[e.class] ?? 0) + 1;
- expect(counts).toEqual({ carry: 94, rebind: 2, rebuild: 2, discard: 6, schema_owned: 3 });
+ expect(counts).toEqual({ carry: 95, rebind: 2, rebuild: 2, discard: 6, schema_owned: 3 });
for (const e of GRADUATION_INVENTORY.entries) {
expect({ relation: e.relation, reason: e.reason.length > 5, present: e.engines.pglite || e.engines.postgres })
.toEqual({ relation: e.relation, reason: true, present: true });