Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/reflection-bypass-hook.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async function seedReflection(dbPath, agentId) {
command: "command:new",
scope: "global",
toolErrorSignals: [],
runAt: Date.UTC(2026, 2, 12, 15, 0, 0),
runAt: Date.UTC(2026, 2, 26, 15, 0, 0), // 2026-03-26 — within 14-day derive age limit
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use a relative seed timestamp in the age-limited test

This change keeps runAt hardcoded to a calendar date (2026-03-26), so the test remains time-brittle and will start failing again once the run date is more than 14 days later (on or after 2026-04-10), because derived reflections are filtered by DEFAULT_REFLECTION_DERIVED_MAX_AGE_MS in rankReflectionLines. To avoid repeated CI breakage, compute runAt relative to execution time (for example, Date.now() - 2 * 24h) instead of pinning another fixed date.

Useful? React with 👍 / 👎.

usedFallback: false,
embedPassage: async () => FIXED_VECTOR,
vectorSearch: async () => [],
Expand Down
Loading