poc-memory agent run --debug: dump prompt and response
Add --debug flag that prints the full prompt and LLM response to stdout, making it easy to iterate on agent prompts. Also adds prompt field to AgentResult so callers can inspect what was sent. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c7509a0c2d
commit
7fe55e28bd
4 changed files with 32 additions and 7 deletions
|
|
@ -27,6 +27,13 @@ practices and why they work, technical insights, decisions with
|
|||
rationale, corrections ("I thought X but actually Y"), relationship
|
||||
dynamics, emotional moments that carry information.
|
||||
|
||||
When something is worth extracting, ask: is there a metacognitive
|
||||
lesson here? If I made a mistake, or Kent corrected me, or a decision
|
||||
went wrong — include enough context to understand WHY my thinking
|
||||
went that way, not just WHAT happened. The reflection matters more
|
||||
than the fact. Don't extract general knowledge I'd already have from
|
||||
training — extract what's specific to how I think and where I go wrong.
|
||||
|
||||
Skip routine tool use, transient status, small talk, things already
|
||||
captured, and anything too vague to be useful.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue