11 Commits

Author SHA1 Message Date
root
5c2014cb11 Fix: Proper session rotation detection (v1.2)
Fixes the bug where watcher stayed stuck on old sessions after /new or /reset.

Changes:
- Added file_score() function combining mtime + size for better detection
- Added INACTIVITY_THRESHOLD (30s) - if no new data, check for active session
- Tracks last_data_time and file size to detect stale sessions
- Switches to newer session when current is inactive

The previous v1.1 fix (mtime polling) was incomplete because new sessions
can have older mtime than recently-written old sessions.

Tested: Watcher now properly follows session rotation on /new and /reset
v1.2.0
2026-02-28 19:09:38 -06:00
root
a053ec1c3d fix: SESSIONS_DIR env var and config dimension docs
- SESSIONS_DIR now reads from OPENCLAW_SESSIONS_DIR env var with fallback
- Fixes hardcoded path issue reported by community
- config.json: add embedding_dimensions (1024) and notes field
- Update version to 1.1 in config.json

Validated 4x:
1. SESSIONS_DIR line correct
2. config.json syntax valid
3. Both files syntax OK
4. Env var logic tested

Thanks to Rob Whyte @ Fort Myers Brewing for the suggestion.
2026-02-28 17:05:43 -06:00
root
1c24618ad9 docs: Add Gotchas section - embedding dimensions and hardcoded paths
- Document that snowflake-arctic-embed2 outputs 1024 dimensions (not 768)
- Document SESSIONS_DIR hardcoded path and how to patch with env var
- Add Known Limitations section near File Watching docs
- Fixes community feedback from GitLab issue #1

Thanks to Rob Whyte @ Fort Myers Brewing for identifying these issues.
2026-02-28 17:01:06 -06:00
root
70f5aec465 Fix: Add session rotation detection (v1.1)
- Add 1-second mtime polling to detect newer sessions
- Fixes bug where watcher stayed stuck on first session forever
- Prevents data loss when sessions rotate (was losing 2+ days of history)
- Bump version to v1.1
2026-02-28 16:51:31 -06:00
root
97a95bd3af docs: add validation rule - always validate after changes 2026-02-14 07:23:26 -06:00
root
9769839a67 docs: add counter reset root cause - removed old update_count.sh 2026-02-14 07:23:18 -06:00
root
59225f0d1b docs: add note - website complements YouTube channel 2026-02-14 07:21:21 -06:00
root
a8299b6db7 docs: add Feb 14 - SpeedyFoxAI website details, counter fix, nginx path discovery 2026-02-14 07:20:53 -06:00
root
648aa7f016 docs: add git repository section to daily log 2026-02-10 14:40:48 -06:00
root
98d14be03b docs: update MEMORY.md with git setup and sub-agent configuration 2026-02-10 14:40:31 -06:00
root
d1357c5463 Initial commit: workspace setup with skills, memory, config 2026-02-10 14:37:49 -06:00