Commit 071f4eb
fix(status): return current time from session_status and harden time-hint prompt
The session_status status card had a timeLine render slot that was never
populated, so the model was told to call session_status for the date/time
yet got none back and would guess (time hallucination). Derive the live
Current time line from now + config timezone in buildStatusMessage so both
the /status command and session_status tool surface it, and strengthen the
system-prompt hint to forbid guessing the current time.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>1 parent 1d9fb27 commit 071f4eb
3 files changed
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1152 | 1152 | | |
1153 | 1153 | | |
1154 | 1154 | | |
1155 | | - | |
| 1155 | + | |
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
23 | 43 | | |
24 | 44 | | |
25 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
563 | 564 | | |
564 | 565 | | |
565 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
566 | 573 | | |
567 | 574 | | |
568 | 575 | | |
| |||
1113 | 1120 | | |
1114 | 1121 | | |
1115 | 1122 | | |
1116 | | - | |
| 1123 | + | |
1117 | 1124 | | |
1118 | 1125 | | |
1119 | 1126 | | |
| |||
0 commit comments