You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Continued the port with the final batch of LUMI mem_* tools plus a BroccoliDB telemetry fix.
New mem_* aliases
Tool Backend
mem_changelog
generate_changelog → Repository.generateChangelog
mem_forecast
simulate_merge_forecast → repo merge sim + co-change overlap
mem_claim / mem_release
acquire_lock / release_lock → coordination mutex
mem_snapshot
Wraps create_cognitive_snapshot with LUMI response format
Hermes RPC / graph intelligence
generateRepoChangelog() and simulateMergeForecast() in graph_intelligence.ts
Six new ops in agent_invoke.ts with cold-path fallbacks in agent_rpc.py
BroccoliDB infra fix
sovereign_production.test.ts was failing on telemetry flush:
telemetry_aggregates upserts now use conflictTarget: 'id' (matches PK)
BufferedDbPool upserts now handle increment() values correctly on insert vs. conflict update
Verification
sovereign_production.test.ts — PASS
make verify — 136 tests OK
npm run build — clean
The LUMI cognitive-memory surface is now largely mirrored in Hermes. Remaining gaps are mostly sub-agent-gated STABILITY_* tools and live joy-zoning prompt injection (intentionally not ported). Say if you want a commit, make distill, or a parity checklist doc.
"error": "SqliteError: ON CONFLICT clause does not match any PRIMARY KEY or UNIQUE constraint\n at Database.prepare (/Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/better-sqlite3/lib/methods/wrappers.js:5:21)\n at SqliteConnection.executeQuery (file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/dialect/sqlite/sqlite-driver.js:62:31)\n at file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:35:45\n at #run (file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/driver/single-connection-provider.js:24:22)\n at SingleConnectionProvider.provideConnection (file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/driver/single-connection-provider.js:16:41)\n at DefaultQueryExecutor.provideConnection (file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/query-executor/default-query-executor.js:20:41)\n at DefaultQueryExecutor.executeQuery (file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/query-executor/query-executor-base.js:34:27)\n at NotCommittedOrRolledBackAssertingExecutor.executeQuery (file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/kysely.js:896:31)\n at InsertQueryBuilder.execute (file:///Users/bozoegg/Desktop/dietcode-plugin/broccolidb/node_modules/kysely/dist/esm/query-builder/insert-query-builder.js:1106:51)\n at BufferedDbPool.executeSingleOp (/Users/bozoegg/Desktop/dietcode-plugin/broccolidb/infrastructure/db/BufferedDbPool.ts:1271:19)",
0 commit comments