close: memory prompt guidance

This commit is contained in:
Keisuke Hirata 2026-06-01 07:52:47 +09:00
parent bdb52b1ec7
commit 231ab3a4bf
No known key found for this signature in database
5 changed files with 34 additions and 2 deletions

View File

@ -0,0 +1,32 @@
Implemented and merged conditional memory prompt guidance.
Merged commits:
- `03256db memory: gate prompt guidance`
- `3a0c8e1 memory: clean prompt helper warning`
- `bdb52b1 merge: memory prompt guidance`
Review:
- Review approved in `62d88d9 review: approve memory prompt guidance`.
- Initial review requested one warning cleanup; follow-up review approved the fix.
Summary:
- Normal prompt memory/knowledge guidance is now gated by available tool capabilities.
- Memory-disabled prompts do not advertise `MemoryQuery`, `KnowledgeQuery`, `MemoryRead`, or memory mutation tools.
- Partial-capability prompts avoid naming unavailable memory vs knowledge tools.
- Normal Pod guidance now encourages somewhat more proactive small targeted lookups when prior decisions, rationale, durable preferences, tickets, policy, workflow, or project history may matter.
- Existing cautions remain: memory can be stale; current authoritative state lives in user instructions, repository files, tickets, git history, and session logs; memory should not be queried mechanically every turn; mutation tools remain restricted.
- Internal memory extraction/consolidation prompts remain focused on their worker roles and do not inherit normal Pod guidance.
Validation after merge:
- `cargo fmt --check` — passed
- `cargo test -p pod prompt::` — passed (`53 passed; 0 failed`)
- `./tickets.sh doctor` — passed
- `git diff --check` — passed
Caveats:
- The test run still reports an existing unrelated `llm-worker` dead-code warning; the new prompt helper warning found during review was removed.

View File

@ -2,12 +2,12 @@
id: 20260531-223506-memory-prompt-conditional-lookup
slug: memory-prompt-conditional-lookup
title: Memory prompt: conditional guidance and proactive lookup
status: open
status: closed
kind: task
priority: P2
labels: [memory, prompts, tools]
created_at: 2026-05-31T22:35:06Z
updated_at: 2026-05-31T22:51:36Z
updated_at: 2026-05-31T22:52:35Z
assignee: null
legacy_ticket: null
---