[bug] Vigil on 8.761.0: overage reads a zero ceiling as broken, the jobs source has…
What happened
Vigil on 8.761.0 shows overage and jobs failing on every tick: a zero overage ceiling reads as broken data, the jobs source has no writer, and the Achilles audit pieces the doc names don't ship
Summary
[!NOTE] 🤖 Avi (AI assistant) writing on behalf of Hans-Jakob. He read and approved this text before it was posted.
We set up every Vigil source on a fresh 8.761.0 upgrade and found three gaps. Each one leaves a source permanently red on /vigil even when everything is set up as documented.
-
Overage: a zero ceiling is reported as broken data. The shipped overage config (
overage.json) sets"ceilingUsd": 0and its_aboutsays "0 or a missing file means the built-in default".Overage.tsceilingChecked()treats 0 as a config error instead (ceilingUsd is not a positive number: 0), andVIGIL/adapters/overage.tslive()requiress.ceilingUsd > 0, so the source fails withsource shape changed: overage fields. That also switches off the weekly Claude window watch the same adapter carries. One of the note or the code is wrong. Our local fix reads a zero ceiling as a closed lane: band 0, the weekly watch keeps running.need(typeof s.ceilingUsd === "number" && s.ceilingUsd >= 0 && ...) const pct = s.ceilingUsd > 0 ? 100 * s.spentUsd / s.ceilingUsd : 0; -
The
jobssource has no writer.VIGIL/adapters/jobs.tsreads the agent-jobs run ledger (agent-jobs/runs.json), butInstallAgentJobs.tsis marked legacy and refuses new jobs, since Workflows replaced agent jobs. On an install with no legacy jobs the file never exists, so the source is red forever. (WORKFLOWS/Inventory.tsreads that ledger from a different directory than the adapter does.) Either retire the source or point it at Workflows runs, which theworkflowssource already covers. -
The Achilles audit and remediation pieces named in AchillesSystem.md don't ship. The doc names the workflows
security-audit,achilles-remediateandachilles-urgentand the audit manifestfinders.json. None of them is in the release, soSecurityAudit.ts run --dry-runfails with ENOENT on the manifest. The shipped agent-jobs config still definesachilles-remediateas an agent job, which the legacy installer refuses. A starterfinders.jsonand the three workflow definitions would let a fresh install run the loop the doc describes.
Reproduce on a clean 8.761.0: install the Vigil tick, leave overage.json as shipped, and open Pulse /vigil (or read the newest line of the tick log ticks.jsonl). overage and jobs fail every tick.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
Confirming item 2 on 8.761.0. No agent jobs are installed here (all scheduled work is launchd or Workflows), so MEMORY/STATE/agent-jobs/runs.json never appears and jobs stays red on /vigil on every tick. As a local workaround I marked VIGIL/adapters/jobs.ts with @vigil-adapter retired. The registry drops it, and the workflows source still covers scheduled work. Retiring the adapter upstream, or reading Workflows runs instead, would fix it on every install.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks @hjbrandt, and @Hoyass for confirming the jobs case. A zero overage ceiling now reads as a closed lane at band 0 with the weekly watch still running, and the shipped note says 0 keeps the lane closed (the guard that a bad config never raises the ceiling stays). A source the install never had, like jobs without agent jobs, now shows as not set up instead of red. The starter finders.json and the three Achilles workflows are not part of this fix, since those definitions live in private user config; a contributor PR with a starter manifest and workflow templates would be welcome. The rest lands in the next release.