Nighty Tidy — known boundaries (part 3)
Part 3 of the Nighty Tidy page: the limits of an unattended night — shared slugs, restarts, failed runs that had published, and audits whose sessions died — and how the app settles each one now.
On this page
What it is
This is part 3 of the Nighty Tidy page. Parts 1 and 2 explain the owned-versus-shared boundary, how to run one, and the machinery under a run. This part collects what can still go wrong around an unattended night, and what Omniscio does about each of those cases. It also explains Run in order, which runs an automation's audits one at a time.
Where to find it
Nothing here has a screen of its own: each boundary shows up as a row in Nighty Tidy → History or as a session still sitting in your inbox after a restart. Read this page before leaving a large run unattended overnight.
How it behaves
Known boundaries
- The offered LIST is independent, but two audits sharing a slug share the on-disk spec — use a NT2-specific slug to diverge a prompt.
- Concurrent same-slug runs from both panels on one project collide on the
audit-<slug>worktree (one fails gracefully). - A scheduled audit spanning an app restart loses its in-memory watcher; at next launch
the startup cleanup RESCUES a run whose audit finished before the restart (its report on
disk → History records its real success/findings result) and reaps only report-less rows
to
failed(the 24h watchdog is the steady-state backstop). Parked sessions stay in your inbox either way; only a restart landing BEFORE the report was written still recordsfailedfor work that might have finished. A crash that wrote NO new report but left a PRIOR run's report on disk is recordedfailed, not a falsefindings: the run's report is kept only when it is genuinely this run's output (a fresh file time OR a_Completed:stamp at/after the run's start), so a weeks-old leftover can't be mis-recorded as this run's result (fixed 2026-08-27). - A read-write run fixes the level you pick, and never caps itself silently (fixed 2026-11-11). A run's fix level used to be the narrower of what you asked for and the audit's own Auto-fix level, whose default is Critical + High — so a run launched at "All severities" stopped after its high waves, its medium and low findings never got a fix session, and nothing said why (measured: 88 medium waves across 39 runs never started since 8 PM the night before). Now the Run screen's Fix level picker sets the level, and a level you pick is honoured exactly, whatever the audits are set to; leaving it on Each audit's own level (the default) lets each audit's Auto-fix level decide, and the screen then says which level caps the run and which severity to add, with the same sentence in the read-write confirm. A paced batch carries the pick. The run's card names how many findings below the level are left for you, and points you at the audit's findings to start them yourself.
- A recovery relaunch is not the audit's end (fixed 2026-11-08). The app's own stuck-session
recovery sometimes cold-relaunches an audit's session: it stops the session and starts it again.
That stop writes the same
endedstatus a real finish writes, and it announces it, so the run watcher and the hourly settle pass both read a still-working audit as finished and filed itfailed— "The audit stopped before it wrote its report" beside a session that was still auditing hours later. Both now ask whether another path owns that session's launch, and while one does the run is simply left alone: it settles from the audit's own report when the audit really finishes. A run already filed that way heals itself from its own findings, as any other wronglyfailedrun does. - A cloud machine that never came up no longer keeps its run reading "running" (fixed
2026-11-10). A cloud audit whose box never got an address failed to bring up (for example "the
launch commit could not be pushed"), and every automatic re-launch then answered the same
permanent "nothing was started". The session spent twelve retries over about four hours before it
gave up, so History showed the run as still working long after nothing was. The app now
recognises that shape from the session's own record — parked with no machine and no address — and
stops retrying at once, so the run reaches
failedwith the plain "gave up its automatic retries" reason on the next settle pass. Its session stays in your inbox and still comes back if you send it a message or press Restart, which is the one thing that provisions a new box. The same shape also counts as a wrong state in the crew's run-truth reading, so a dead run can no longer hide from it. - A restart never re-runs an audit that already has a session (fixed 2026-08-25). The cleanup can auto-restart an interrupted run, but only when the run never spawned a session at all. Three checks now stand between a restart and a duplicate: the run is left alone if an audit session for it exists in ANY state (a restart parks live sessions into a terminal status and a recovery sweep re-arms them a minute LATER — that gap spawned duplicates); completion is proved from the run's own report folder rather than a file timestamp (on Windows a copied report keeps the SOURCE file's older timestamp, so a finished audit read as unfinished); and a re-dispatched run whose automation was deleted or disabled in the meantime is cancelled, not spawned — it shows in History with that reason.
- A run recorded
failedthat had actually published its findings now settles itself (fixed 2026-10-17). An audit can publish its findings while its report never comes home and its report path is never stored, so History said "no results" beside a database holding hundreds of them.failedis final, so nothing revisited those rows. The app now settles such a run from the findings it already holds: it becomesfindings(orsuccesswhen every finding was refuted), with the severity counters and the "findings imported" stamp re-read from the table and the false failure message cleared. No fix is started for a run healed this way — the findings are kept so you can start their fixes later, and nothing paid launches by itself. It asks whether a session is still working the run before touching it, and a run parked on a question in your inbox is never touched. The same repair now also runs by itself — at startup and hourly — so a run whose counters, report path or fix plan never finalised heals without anyone running a command; a run that published nothing at all and left no report is leftfailed, which is the truth. - A clean audit now ends clean (fixed 2026-10-26). An audit that finished and found nothing was
filed as a failure: the app's only proof a run finished is the findings it publishes, and the
publisher refused an empty list outright, so a spotless run had nothing to publish and History
showed "stopped before it wrote its report" beside a genuinely healthy codebase. The audit now
records that finish itself —
node scripts/lib/nt2-findings.mjs --stdin --run <runId> --completewith an empty[]body — and the run settlessuccesson every road (the live watcher, the hourly settle pass and the startup reconcile). The flag is required: an empty publish that does NOT say the run finished is refused, and a body in the wrong shape is refused even with the flag, so a mis-shaped or accidentally empty payload is never mistaken for a clean bill of health. A run whose audit died before publishing anything is stillfailed. - An audit stopped by your spending cap now says so (fixed 2026-11-05). When one of the app's own spending caps ends an audit's session, History used to read "The audit stopped before it wrote its report" — the sentence for an audit that failed on its own, which sent you looking for a broken audit when your limit had stopped it. The run now records the cap that actually fired: your daily account cap, a provider's daily cap, or the per-session ceiling. A report the run had already written still wins over the cap. The scheduler also stops launching tonight's remaining audits once that cap is reached, instead of starting the next one into an account that would only kill it — the run appears in History as "did not start: today's spending already reached this account's daily cap", and everything resumes the next day or as soon as you raise the cap in Settings → Session → Spending limits.
- Closing a session that is running an audit no longer reads as an audit failure (fixed 2026-11-06). Middle-clicking (or X-ing) a session while it was running an audit archived it and the run was filed as "The audit stopped before it wrote its report" — the sentence for an audit that broke on its own. The app does the closing in two steps, and the second step (writing down that YOU closed it) landed 38 ms after the first step had already announced the session's end, so every watcher of that end saw a machine-style close. The person's mark is now written first, so the run reads "This audit was closed before it finished" and can be started again, instead of being recorded as a failure.
- A finding with no id is refused, never dropped (fixed 2026-10-28). Two audits that found real
problems (279 and 102 findings, 9 of them High) were filed as clean passes: every finding they
published lacked an id, the app quietly stored none of them, and a run with zero stored findings
read as healthy. Now a publish batch that carries any finding without an id, or without a severity
of critical, high, medium or low, is refused with a 400
UNSTORABLE_FINDINGSthat names each bad finding by position and title; nothing from that batch is stored, and the run shows the reason infindingsIngestErroruntil a corrected publish lands. A findings file read from disk keeps what it can and records how many it could not store the same way. A run already filed as a clean pass reopens to findings, and its fixes can start, as soon as a republish stores its findings. The audit's own report writer now copies every finding's id and checks it before publishing. - An audit whose session dies at start now fails on that cause, and retries once (fixed
2026-10-16). A session parked on the durable
recovery_failedgive-up state — a cloud session that could not finish starting up, or that lost its machine — used to be read as "still recovering" and polled all the way to the 24-hour limit, which then told you the audit "ran too long without finishing". It had not: it never ran. History now names the real cause (the session failed to start or lost its connection) and the run settles about 30 minutes after the park rather than a day later, and a report that still arrives inside that window is recorded as the result it is. When the session died within 15 minutes of its run starting and shows no work at all, the audit is re-run once automatically on the same History row with the same scope, label and where-to-run choice; a restart cannot trigger a second attempt, and a retry that dies the same way records "could not start, twice". The 24-hour limit is unchanged for an audit that is genuinely still working. It counts only the time the audit was actually being watched, so hours the app was closed or the computer slept do not use it up, and a "ran too long" failure recorded while under that limit does not count toward retiring the audit. - A cloud run whose machine is gone now says what its own session proved (fixed 2026-11-09). A cloud audit's findings are published from the machine, so when that machine was stopped by the vendor before its upload succeeded, nothing could ever read it again: History kept "The audit stopped before it wrote its report" beside an audit that had in fact finished. Once the provider says the machine is no longer there, the app now asks what that run's OWN session transcript proves: a close-out naming that exact audit settles the row as finished, but its findings never reached the app, and where the transcript itself carries the findings it tried to publish, they are stored and the partial flag clears once the count matches the one its own close-out names. A transcript that proves nothing leaves the row exactly as it was — never a guess from a time window, and never another run's evidence. History, the run card and the Findings screen label such a run "Finished, findings lost" rather than Failed, and say plainly that the machine was gone before the results could be sent back.
- Auto-fix (apply) sessions are a separate cap and out of scope for the inbox-stay change above — the reported issue + fix were the read-only audit schedule.
Run in order (the elegance ladder)
- What it is. A switch on an automation, in the pace controls under the Run setup's More settings, on desktop and phone. Off by default. When it is on, the automation runs its selected audits one at a time, top to bottom in catalog order (starting from its "Start from" audit), and each audit waits until the one before it has finished and that audit's fixes have finished too.
- Why use it. The design audits clean code at different heights: first principles, then shared capabilities, then architecture, then function and file shape, then local polish. Run together, a lower audit polishes code a higher one is about to delete or merge. In order, each audit sees the code after the audits above it were fixed.
- What each audit is told. Its prompt lists the findings the audits ranked above it left open, and the fixes they made that may not be on the main branch yet, so it neither reports them again nor tidies code they will remove. The first audit, and every automation with the switch off, gets exactly the prompt it always did.
- Fixes land between audits only when fixes are on. With the automation's fixes switched off, the audits still run one at a time and each still reads the earlier findings.
- Wait for me between audits. A second switch, shown under Run in order only while it is on. With it on, the next audit also waits until you have kept or dropped, in Review, every finding from the previous audit that you still can. A finding that was fixed, one a fix already started on, and one marked not needed or not worth doing never hold it up. Turning it on also waits on the audit that already finished. Once every audit has run, nothing waits and no card is raised.
- A held ladder is never silent. If it waits more than a day on the same audit, one inbox card says which audit and why: still running, stopped to wait for you, claimed but never started, fixes not started yet, fixes still running, or its findings are waiting for you in Review.
- While it is on, the "Max simultaneous audits" stepper is disabled: one audit runs at a time.
Related
- Nighty Tidy — part 1, the owned-versus-shared boundary and how to run one.
- Nighty Tidy — how it works (part 2) — the machinery under a run and how to drive it from an AI operator session.
- night-shift.md — queuing a plan of work to run while you sleep.
Last verified 2026-11-24