You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: move NightyTidy reports to audit-reports/ with 00_ prefix
Reports are now written to audit-reports/00_NIGHTYTIDY-REPORT_NN_*.md
instead of the project root. The 00_ prefix ensures reports sort to
the top of the audit-reports folder alongside other audit artifacts.
- buildReportNames() now returns { reportFile, reportDir }
- generateReport() creates audit-reports/ directory if needed
- Updated all callers (cli.js, orchestrator.js) to use full paths
- Updated 10 test files to expect new location/format
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
sync.js # Google Doc prompt sync — fetches, parses, diffs, updates local prompt files
@@ -230,7 +230,7 @@ NightyTidy creates these files/artifacts in the project it runs against:
230
230
|`nightytidy-run.log`| Full run log (timestamped) | No |
231
231
|`nightytidy-progress.json`| Live progress state (read by TUI window) | No (deleted on stop) |
232
232
|`nightytidy-dashboard.url`| Dashboard URL — Claude reads this and shares with user | No (deleted on stop) |
233
-
|`NIGHTYTIDY-REPORT_NN_YYYY-MM-DD-HHMM.md`| Run summary with step results + inline action plan (numbered + timestamped) | Yes (on run branch) |
233
+
|`audit-reports/00_NIGHTYTIDY-REPORT_NN_YYYY-MM-DD-HHMM.md`| Run summary with step results + inline action plan (numbered + timestamped) | Yes (on run branch) |
234
234
|`CLAUDE.md` (appended section) | "NightyTidy — Last Run" with undo tag | Yes (on run branch) |
235
235
|`nightytidy.lock`| Prevents concurrent runs (PID + timestamp) | No (auto-removed on exit; persistent in orchestrator mode) |
236
236
|`nightytidy-gui.log`| GUI session log (startup, API requests, errors, shutdown) | No |
@@ -332,7 +332,7 @@ bin/nightytidy.js
332
332
5.**Execution**: Run each step (improvement + doc update in same session via `--continue`), with fallback commits
333
333
6.**Rate-limit handling**: If a step hits a rate limit, the run pauses with exponential backoff (2min → 2hr cap). API is probed periodically; on success the failed step is retried. SIGINT during pause stops the run and gets partial results. GUI mode shows a pause overlay with countdown, "Resume Now", and "Finish with Partial Results" buttons.
334
334
7.**Abort handling**: SIGINT generates partial report; second SIGINT force-exits
335
-
8.**Reporting**: Changelog → action plan → NIGHTYTIDY-REPORT.md (with inline action plan) → commit → merge back to original branch
335
+
8.**Reporting**: Changelog → action plan → audit-reports/00_NIGHTYTIDY-REPORT_*.md (with inline action plan) → commit → merge back to original branch
336
336
9.**Notifications**: Desktop notifications at start, on step failure, and on completion
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,7 +229,7 @@ Changes are always on the run branch — your original branch is safe.
229
229
230
230
After all steps complete, NightyTidy generates:
231
231
232
-
-**NIGHTYTIDY-REPORT.md** — AI-narrated run summary with per-step results, costs, token usage, duration, and a prioritized action plan
232
+
-**`audit-reports/00_NIGHTYTIDY-REPORT_*.md`** — AI-narrated run summary with per-step results, costs, token usage, duration, and a prioritized action plan (the `00_` prefix ensures reports sort to the top of the audit-reports folder)
233
233
-**CLAUDE.md update** — Appends a "Last Run" section with the run date and undo instructions
234
234
-**Audit trail** — All 33 step prompts are copied to `audit-reports/refactor-prompts/` so you can see exactly what was asked
235
235
@@ -239,7 +239,7 @@ If the AI report fails verification (junk detection), NightyTidy falls back to a
239
239
240
240
| File | Committed? | Purpose |
241
241
|------|-----------|---------|
242
-
|`NIGHTYTIDY-REPORT_NN_YYYY-MM-DD-HHMM.md`| Yes | Run summary with step results + action plan |
242
+
|`audit-reports/00_NIGHTYTIDY-REPORT_NN_YYYY-MM-DD-HHMM.md`| Yes | Run summary with step results + action plan |
243
243
|`CLAUDE.md` (appended section) | Yes | "NightyTidy — Last Run" with undo tag |
244
244
|`audit-reports/refactor-prompts/*.md`| Yes | All 33 prompts for audit trail |
245
245
|`nightytidy-before-*` git tag | Yes (tag) | Safety snapshot for rollback |
0 commit comments