@@ -28,6 +28,7 @@ describe('search_codebase health and scoped memories', () => {
2828 beforeEach ( async ( ) => {
2929 searchMocks . search . mockReset ( ) ;
3030 tempRoot = await fs . mkdtemp ( path . join ( os . tmpdir ( ) , 'search-health-scope-' ) ) ;
31+ const currentDate = new Date ( ) . toISOString ( ) ;
3132
3233 const contextDir = path . join ( tempRoot , '.codebase-context' ) ;
3334 await fs . mkdir ( contextDir , { recursive : true } ) ;
@@ -56,7 +57,7 @@ describe('search_codebase health and scoped memories', () => {
5657 category : 'architecture' ,
5758 memory : 'Avoid direct token reads' ,
5859 reason : 'They bypass AuthService refresh logic.' ,
59- date : '2026-04-17T00:00:00.000Z' ,
60+ date : currentDate ,
6061 scope : {
6162 kind : 'symbol' ,
6263 file : 'src/auth/auth.service.ts' ,
@@ -69,7 +70,7 @@ describe('search_codebase health and scoped memories', () => {
6970 category : 'architecture' ,
7071 memory : 'Use auth interceptors' ,
7172 reason : 'They keep HTTP token injection consistent.' ,
72- date : '2026-04-17T00:00:00.000Z'
73+ date : currentDate
7374 }
7475 ] ,
7576 null ,
0 commit comments