Commit 656162c
fix(agents): memory digest export lifecycle (#266)
Return raw JSON envelopes from the fact_store and fact_feedback memory
write handlers instead of markdown-rendered output. After the markdown
default output change, these write-path handlers rendered their status
JSON as markdown, which interfered with the memory digest export
lifecycle. A new `tool_json` helper emits the truncated JSON envelope
(with project handle) directly; `handle_memory_status` continues to use
the rendered path.
Recovered from a stranded worktree whose stale rebase base had reverted
unrelated master work (PR #258/#260 agent-surface changes); only the
genuine memory.rs fix is carried forward here, rebuilt cleanly on
current origin/master.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent e78ddec commit 656162c
1 file changed
Lines changed: 9 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
487 | 493 | | |
488 | 494 | | |
489 | 495 | | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
| 496 | + | |
495 | 497 | | |
496 | 498 | | |
497 | 499 | | |
| |||
513 | 515 | | |
514 | 516 | | |
515 | 517 | | |
516 | | - | |
| 518 | + | |
517 | 519 | | |
518 | | - | |
519 | 520 | | |
520 | 521 | | |
521 | 522 | | |
| |||
0 commit comments