diff --git a/MEMORY.md b/MEMORY.md index 0b596cd..0c76acd 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -930,8 +930,8 @@ Final architecture (after painful debug session): - **Delete button:** Exists on document detail page `/document/{id}` in the main UI. Do NOT build new services/UIs for this. - **⚠️ Lesson:** A previous session built a whole new `docproc` service (port 9900) when Johan asked for a delete button. Johan killed it. Never build new apps/services for simple UI additions. -## Andrew/Spacebot Update (2026-02-24) -- **v0.1.15**, Claude Sonnet 4.6 via Anthropic OAuth, config at `/home/johan/spacebot-config.toml` on 192.168.1.17 +## Andrew/Spacebot Update (2026-02-26) +- **Updated 2026-02-26 04:20 ET** (digest 5b95f7e0, was v0.1.15), Claude Sonnet 4.6 via Anthropic OAuth, config at `/home/johan/spacebot-config.toml` on 192.168.1.17 - **Worker dispatch broken**: channel calls reply() and stops — no workers ever spawned for multi-step tasks. Revisiting 2026-03-03. - **PR #193 open**: https://github.com/spacedriveapp/spacebot/pull/193 — two UI fixes, maintainer positive ("very helpful change") - **Johan's take**: "Foundation is a LOT better than OpenClaw" — Rust, Lance vectors, true concurrency diff --git a/memory/claude-usage.db b/memory/claude-usage.db index 1881f87..c32dddb 100644 Binary files a/memory/claude-usage.db and b/memory/claude-usage.db differ diff --git a/memory/claude-usage.json b/memory/claude-usage.json index c4206a9..e26601d 100644 --- a/memory/claude-usage.json +++ b/memory/claude-usage.json @@ -1,9 +1,9 @@ { - "last_updated": "2026-02-26T05:00:02.086139Z", + "last_updated": "2026-02-26T11:00:01.660611Z", "source": "api", - "session_percent": 6, - "session_resets": "2026-02-26T08:00:01.037647+00:00", - "weekly_percent": 57, - "weekly_resets": "2026-02-28T19:00:00.037671+00:00", - "sonnet_percent": 67 + "session_percent": 23, + "session_resets": "2026-02-26T13:00:00.630247+00:00", + "weekly_percent": 64, + "weekly_resets": "2026-02-28T19:00:00.630300+00:00", + "sonnet_percent": 68 } \ No newline at end of file diff --git a/memory/heartbeat-state.json b/memory/heartbeat-state.json index 32e2c7a..4156129 100644 --- a/memory/heartbeat-state.json +++ b/memory/heartbeat-state.json @@ -14,7 +14,7 @@ "lastDocInbox": "2026-02-25T22:01:42.532628Z", "lastTechScan": "2026-02-25T22:05:06.010Z", "lastMemoryReview": "2026-02-26T05:31:00.000Z", - "lastIntraDayXScan": "2026-02-26T04:03:00.000Z", + "lastIntraDayXScan": "2026-02-26T07:02:00.000Z", "lastInouSuggestion": "2026-02-25T22:05:38.000000+00:00", "lastEmail": 1772078502 } \ No newline at end of file diff --git a/scripts/openclaw-post-update-patches.sh b/scripts/openclaw-post-update-patches.sh index 7863884..c4ef3b3 100755 --- a/scripts/openclaw-post-update-patches.sh +++ b/scripts/openclaw-post-update-patches.sh @@ -17,13 +17,18 @@ else fi # Patch 2: Index deleted session transcripts in memory search -FILE="$OC_DIR/sqlite-C54NeA1C.js" -if [ -f "$FILE" ] && grep -q '\.filter((name) => name\.endsWith("\.jsonl"))' "$FILE" 2>/dev/null; then - sed -i 's/\.filter((name) => name\.endsWith("\.jsonl"))/\.filter((name) => name.endsWith(".jsonl") || name.includes(".jsonl.deleted."))/' "$FILE" - echo "✅ Patch 2: Deleted transcript indexing applied" - PATCHED=$((PATCHED + 1)) -else - echo "⏭️ Patch 2: Already applied or file changed" +# File hashes change each release — patch all query-expansion-*.js files +P2_COUNT=0 +for QE_FILE in "$OC_DIR"/query-expansion-*.js; do + if [ -f "$QE_FILE" ] && grep -q '\.filter((name) => name\.endsWith("\.jsonl"))' "$QE_FILE" 2>/dev/null; then + sed -i 's/\.filter((name) => name\.endsWith("\.jsonl"))/\.filter((name) => name.endsWith(".jsonl") || name.includes(".jsonl.deleted."))/' "$QE_FILE" + echo "✅ Patch 2: Deleted transcript indexing applied to $(basename $QE_FILE)" + PATCHED=$((PATCHED + 1)) + P2_COUNT=$((P2_COUNT + 1)) + fi +done +if [ "$P2_COUNT" -eq 0 ]; then + echo "⏭️ Patch 2: Already applied or no matching files" fi echo "Patches applied: $PATCHED"