@reddoorla/maintenance 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -258,7 +258,13 @@ RESEND_WEBHOOK_SECRET=whsec_XXXX # only for the deployed webhook
258
258
 
259
259
  ### Operator flow
260
260
 
261
- 0. **Prereq: keep Lighthouse scores fresh on the Websites row.** From each site's checkout, run `reddoor-maint audit lighthouse` and paste the four numbers (Performance, Accessibility, Best Practices, SEO) into the Websites row's `pScore` / `rScore` / `bpScore` / `seoScore` fields. The report orchestrator copies these into the new Reports row — drafting a report for a site missing scores fails with a clear error.
261
+ 0. **Prereq: refresh Lighthouse scores on each Websites row.** From each site's checkout:
262
+
263
+ ```bash
264
+ reddoor-maint audit lighthouse --write-airtable
265
+ ```
266
+
267
+ This runs Lighthouse and writes the 4 scores directly to the matching Websites row (slug auto-derived from `package.json#name`; pass `--write-airtable=<slug>` to override), along with a `Last lighthouse audit at` timestamp. The report orchestrator copies these into the new Reports row — drafting a report for a site missing scores fails with a clear error.
262
268
 
263
269
  1. **Draft overdue reports**
264
270