test(server): check waggle.db and the memory store instead of mind files (P1.5)
- trust wiring: read install_audit from waggle.db through the server; the old checks read a legacy personal.mind that nothing writes any more. - data dir: a fresh install is marked by waggle.db, not personal.mind. - backup: expect waggle.db and memory/ in the archive. - cross-platform: replace the MindDB block with waggle.db checks (file, WAL, foreign keys) and memory round trips (plain, Unicode, 100 KB) through server.memory. FTS5 and session CRUD were legacy-engine features. - store fixtures (install audit, cron) open WaggleDB instead of MindDB.
This commit is contained in:
@@ -73,7 +73,7 @@ describe('startService honors WAGGLE_DATA_DIR (D11 integration)', () => {
|
||||
server = result.server;
|
||||
|
||||
// The env-pointed dir got the install, ~/.waggle got nothing new from us.
|
||||
expect(fs.existsSync(path.join(envDir, 'personal.mind'))).toBe(true);
|
||||
expect(fs.existsSync(path.join(envDir, 'waggle.db'))).toBe(true);
|
||||
expect(server.localConfig.dataDir).toBe(envDir);
|
||||
|
||||
// The ratified D11 deliverable is the LOG LINE itself — pin it (review
|
||||
|
||||
Reference in New Issue
Block a user