Commit ebb5630
fix(mag): briefing queues /compact after feedback-digest (task-304a02a6)
Swap order in magBriefing() so the on-disk queue becomes
briefing → feedback-digest → /compact. /compact had been wiping the
briefing context before feedback-digest could read it; now /compact
lands last so digest sees prior context and the next session starts
fresh. Comment block above /compact rewritten to drop the now-false
"directly behind" rationale; task-a00fc0d9 reference preserved.
Test renamed to assert the new invariant (last item is /compact,
middle item is feedback-digest in clean state) and a sibling test
covers the gated branch (length 2 with /compact still last).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 778d7c5 commit ebb5630
2 files changed
Lines changed: 47 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | | - | |
36 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | | - | |
39 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
40 | 73 | | |
41 | 74 | | |
42 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3314 | 3314 | | |
3315 | 3315 | | |
3316 | 3316 | | |
3317 | | - | |
3318 | | - | |
3319 | | - | |
3320 | | - | |
3321 | | - | |
3322 | 3317 | | |
| 3318 | + | |
| 3319 | + | |
3323 | 3320 | | |
3324 | 3321 | | |
3325 | 3322 | | |
3326 | 3323 | | |
3327 | 3324 | | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
| 3330 | + | |
3328 | 3331 | | |
3329 | 3332 | | |
3330 | 3333 | | |
| |||
0 commit comments