Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

P8: graduation inventory carries the review-lane tables (decide_review_proposals as user data, decide_review_queue as operational)

garrytan5c9a2a46be3b
diff --git a/src/core/persistence/graduation-inventory.ts b/src/core/persistence/graduation-inventory.ts
index 7b25e6b470..6cd80bc539 100644
--- a/src/core/persistence/graduation-inventory.ts
+++ b/src/core/persistence/graduation-inventory.ts
@@ -44,6 +44,8 @@ export const GRADUATION_INVENTORY: Inventory = {
carry('conversation_parser_llm_cache', 'operational', 'Paid LLM parse cache; rebuilding spends money.'),
carry('decide_calibrations', 'user_data', 'System One slot qualifications (paid calibration results).'),
carry('decide_proposals', 'user_data', 'Supersession proposals and the user\'s decisions on them.'),
+ carry('decide_review_proposals', 'user_data', 'Review-lane proposals (withdraw and duplicate kinds) and the owner\'s decisions on them.'),
+ carry('decide_review_queue', 'operational', 'Durable review-lane work with its retry schedule; dropping it would skip queued withdrawals.'),
carry('decide_spend', 'operational', 'System One spend log.'),
carry('decide_state', 'operational', 'System One sweep cursors and slot state.'),
carry('decide_sweep_deferred', 'operational', 'Deferred System One sweep work with its schedule.'),
diff --git a/test/graduation-inventory.test.ts b/test/graduation-inventory.test.ts
index 36bbeb86a6..3b41322fec 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: 96, 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 });