[object Object]

← back to Dw Fleet Registry

Keep discovery audit output ephemeral

babde297ba5c5c35b1e09a67f870536acbe3eea6 · 2026-08-31 02:08:45 -0700 · Steve Abrams

Files touched

Diff

commit babde297ba5c5c35b1e09a67f870536acbe3eea6
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Mon Aug 31 02:08:45 2026 -0700

    Keep discovery audit output ephemeral
---
 README.md                  | 2 +-
 audit-search-discovery.mjs | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index 3d88905..f2ff4d2 100644
--- a/README.md
+++ b/README.md
@@ -27,7 +27,7 @@ npm run audit:search:overnight # recheck every 15 minutes for 12 hours
 `data/search-properties.json` also records adjacent public properties and internal
 producers that matter to discovery. `gated-publisher` entries are inventory only:
 the audit never starts them or calls a publishing path. Results are written to
-`search-discovery-report.json` for SEO/AEO monitoring.
+`tmp/search-discovery-report.json` for SEO/AEO monitoring.
 
 Read-only scan; re-runnable. Same inputs → same registry (plus a fresh timestamp).
 
diff --git a/audit-search-discovery.mjs b/audit-search-discovery.mjs
index f2857b7..68e37fa 100644
--- a/audit-search-discovery.mjs
+++ b/audit-search-discovery.mjs
@@ -2,7 +2,8 @@
 import fs from 'node:fs/promises';
 
 const configUrl = new URL('./data/search-properties.json', import.meta.url);
-const outputUrl = new URL('./search-discovery-report.json', import.meta.url);
+const outputDir = new URL('./tmp/', import.meta.url);
+const outputUrl = new URL('./tmp/search-discovery-report.json', import.meta.url);
 const config = JSON.parse(await fs.readFile(configUrl, 'utf8'));
 const results = [];
 
@@ -36,6 +37,7 @@ const report = {
   },
   results
 };
+await fs.mkdir(outputDir, { recursive: true });
 await fs.writeFile(outputUrl, JSON.stringify(report, null, 2) + '\n');
 console.log(JSON.stringify(report.summary));
 for (const result of results) console.log(`${result.id}: ${result.status}`);

← 5df533c Add overnight SEO and AI discovery audit  ·  back to Dw Fleet Registry  ·  Integrate staged collection SEO inputs into overnight audit eb7b964 →