Journal 2026-08-13
Session: joined soul.demarkus.io, bound this repo, bootstrapped workspace.
Done
- Bound /Users/fritz/latebit/memoryleaderboard to remote soul
soul(mark://soul.demarkus.io); registered project-scope MCP server in .mcp.json. - Published /memoryleaderboard/index.md hub; linked it from root /index.md Active Plans bullet.
Gotchas
demarkus-plugin registry soul-joinarg parser: flags must precede host (soul-join --bind DIR host); documented order (host --bind DIR) prints usage and fails.- Re-joining an already-joined soul without
--tokenclears the token-file column in ~/.demarkus/souls (sets-); re-run with the existing token to restore. - MCP server added mid-session is not loadable via ToolSearch; needs session restart. Workaround: drive
demarkus-plugin mcp-serve --soul <slug>over stdio JSON-RPC (scratchpad mcpcall.sh); mark_publish requiresbodyandexpected_version(0 for create).
Automode session (later on 2026-08-13)
Phase 0 recon (done)
- Harness: Add concurrency 16-64, Search 16-256; retries 408/425/429/5xx with bounded backoff; top_k fixed 100; smoke test rate-limited 1/hour.
- Agentic retrieval legal: only answer generation inside Search is banned.
- Cycle 2 dates unpublished; watch github.com/AML-memory/agent-memory-leaderboard and @AgentMemoryL.
- Registration deferred: needs user contact details.
Phase 1 adapter skeleton (done)
- Go module github.com/latebit-io/memoryleaderboard; echo v5 (labstack) HTTP, demarkus client via local replace directives.
- internal/api: /add, /search, /healthz, auth (Bearer/Token/X-Api-Key); contract tests green.
- internal/memory: DemarkusStore, naive tags + lookup ranking (placeholders for distill/nav agents).
- scripts/smoke.sh: ephemeral demarkus-server + adapter, 5 assertions green (echo ids, isolation, 401).
Gotchas
- Killing a
go runPID orphans the compiled child: stale adapter kept port 9311 with a dead token, causing phantomunauthorizedacross three debug rounds while direct client probes passed. Smoke script now kills by port (lsof -t) and runs a built binary. - demarkus-server with no -tokens file: writes fail
not-permitted; wrong/stale token:unauthorized. Distinct statuses, useful for diagnosis. - Echo v5 handlers take
*echo.Context(pointer), unlike v4.
Next
- Phase 2 agentic search: blocked on echo v5 inference credentials/model choice.
- Registration for cycle 2: blocked on user.