Repository navigation
Commit 68dcc3a
fix(core): apply system-time snapshot to history when known_at is omitted
why()/timeline() only ran the ingested_at/expired_at post-filter when the
caller passed an explicit known_at. On the default call path (known_at=None)
retention-expired and future-dated records leaked into public history output.
Normalize to now_ts() when known_at is omitted, matching RecallEngine.recall.
Co-authored-by: CommandCodeBot <noreply@commandcode.ai>1 parent 1ce18cf commit 68dcc3a
2 files changed
Lines changed: 42 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2783 | 2783 | | |
2784 | 2784 | | |
2785 | 2785 | | |
2786 | | - | |
| 2786 | + | |
2787 | 2787 | | |
2788 | 2788 | | |
| 2789 | + | |
| 2790 | + | |
| 2791 | + | |
2789 | 2792 | | |
2790 | 2793 | | |
2791 | | - | |
2792 | | - | |
| 2794 | + | |
| 2795 | + | |
2793 | 2796 | | |
2794 | 2797 | | |
2795 | 2798 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1110 | 1110 | | |
1111 | 1111 | | |
1112 | 1112 | | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1113 | 1149 | | |
1114 | 1150 | | |
1115 | 1151 | | |
| |||
0 commit comments