Adds two new bundled hooks: 1. session-backup: Automated hourly session backups with activity-based lifecycle - Tracks user activity via lastUserMessage timestamp - Creates hourly backups while user is active - Grace period (1-2h) triggers final backup then stops - Respects backupActive flag to avoid unnecessary work 2. context-aggregator: Aggregates memory into CONTEXT.md - Collects from hourly backups, daily notes, session summaries - Updates activity state from session logs - Provides memory management reminders - Creates unified context for session continuity Also adds tests for session-backup hook covering: - State management - Activity detection - Backup creation - Full lifecycle simulation Resolves the 'new intern each session' problem by providing structured memory persistence that doesn't rely on agent behavioral compliance. |
||
|---|---|---|
| .. | ||
| fixtures/child-process-bridge | ||
| helpers | ||
| hooks | ||
| mocks | ||
| auto-reply.retry.test.ts | ||
| gateway.multi.e2e.test.ts | ||
| global-setup.ts | ||
| inbound-contract.providers.test.ts | ||
| media-understanding.auto.e2e.test.ts | ||
| provider-timeout.e2e.test.ts | ||
| setup.ts | ||
| test-env.ts | ||