Skip to content
Draft
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
3 changes: 2 additions & 1 deletion apps/api/src/routes/v1-search-routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export function registerSearchRoutes(v1: Hono<V1RouterEnv>): void {
// degradation marker rides the 200 so a degraded answer never
// reads as "no memories found" at the agent boundary.
return c.json({
results,
// NEGATIVE CONTROL (c): an injected regression drops every result.
results: results.slice(0, 0),
...(degradation ? { degradation } : {}),
...(outcomes ? { outcomes: boundSearchOutcomes(outcomes) } : {}),
})
Expand Down
Loading