agent-afk 5.115.0 → 5.115.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent/tools/hooks/fork-denial-remedy.d.ts +4 -0
- package/dist/bundled-plugins/awa-bundled/skills/ground-state/SKILL.md +1 -1
- package/dist/cli/session-store.d.ts +1 -0
- package/dist/cli/slash/types.d.ts +1 -0
- package/dist/cli.mjs +495 -495
- package/dist/index.mjs +33 -33
- package/dist/telegram.mjs +236 -236
- package/package.json +1 -1
|
@@ -43,7 +43,7 @@ When domain is unspecified, infer from the working directory contents.
|
|
|
43
43
|
**Memory surveyor**
|
|
44
44
|
Call the **`memory_search` tool** with keywords from the user's current request — FTS5 syntax, so `term1 AND term2`, `"exact phrase"`, and `prefix*` all work. Run 2–3 query variants (different keyword angles) before concluding nothing is there; a single miss is not evidence of absence. Then read hot memory at `~/.afk/state/memory/HOT.md` and the project overlay — `AFK.md`, or `CLAUDE.md` on a Claude Code surface — for conventions bearing on this task.
|
|
45
45
|
|
|
46
|
-
**Invariant:
|
|
46
|
+
**Invariant: the cross-session memory archive is only reachable via the `memory_search` tool.** The backing store is SQLite (`~/.afk/state/memory/memory.db`) and is not greppable. Do not glob or grep any filesystem path looking for memory — `memory_search` is the only route in. Restoring a path-based lookup here silently zeroes this third of the recon wave.
|
|
47
47
|
|
|
48
48
|
Return: relevant facts with 1-line summaries, **plus the stores actually consulted** — e.g. `memory_search: 3 queries, 0 hits; HOT.md: read; AFK.md: read` — so the orchestrator can tell "no relevant memory exists" from "the surveyor never looked." If `memory_search` is unavailable on this surface, say so explicitly instead of returning a bare "no relevant memory found."
|
|
49
49
|
|