Repository navigation
v1.5.3
Release Notes v1.5.3
Released: 2026-12-03
A targeted fix for the nightly dream cycle: reflection drafts that the automatic review refuses no longer consume the nightly review limit. On affected instances, a block of permanently-refused drafts at the front of the oldest-first walk starved every newer draft indefinitely. Everything else in this release is the version bump to 1.5.3.
🌟 Highlights
🐛 Refused drafts stop blocking the nightly review backlog
The dream cycle reviews pending reflection drafts oldest first, 50 per night. Previously a refused draft stayed pending and still spent one unit of that limit, so 50 permanently-refused drafts at the head of the walk held back everything behind them. One live instance saw the same 50 drafts fail for 8 consecutive nights while 328 reviewable drafts waited, with nothing promoted since late June. After this fix the walk reaches the reviewable backlog again.
⚡️ Limit spend is tied to actual model token reservation
A refusal that judges a single draft (its evidence no longer verifies, its author is gone, or the author's monthly budget is spent) now spends the limit only if the attempt reserved model tokens on the run ledger. _run_reserved_tokens() and _spent_model_tokens() in apps/api/src/sibyl/jobs/reflection.py compare ledger state before and after each attempt; with no ledger present, the code conservatively assumes tokens were spent.
🔧 Outages still stop the walk
Any failure outside the _DRAFT_REFUSALS set (SourceUnavailableError, UserNotFoundError, InvalidAuthClaimsError, LLMBudgetExceededError), and any refusal that follows a paid reservation, still spends the limit. A store or provider outage therefore halts the walk at the limit instead of burning through the whole backlog. A spent org-level budget ends the walk immediately, since every remaining draft would be refused identically.
🤖 Dream Cycle Behavior
- Refusals are logged at
infoasreflection_dream_candidate_refusedrather thanwarning, keeping genuine failures visible in logs. - New
_raised_at(exc)helper recordsfile:line functionfrom the traceback, so operators can tell which check refused a draft. Every evidence denial otherwise shares one message. LLMRunBudgetExceededErroris explicitly excluded from the refusal set; run-ceiling stops retain their prior behavior.- A per-run
visitedset now bounds the candidate walk. Since a refusal no longer decrementsremaining, termination depends on having seen every candidate rather than on the limit draining. The walk ends when a page contains nothing new. - No drafts are archived or deleted. Both review passes found a recovery path for every state an earlier revision treated as permanent, so cleanup of unpassable drafts remains an explicit operator action.
📝 Observability
- The cycle receipt gains a
refusedcounter, tallied separately fromfailed,skipped, andexceptioned. refusedis included in_summary_log_fields, so it appears in the per-run summary log line alongsidelatency_ms.- Individual error results carry a
refused: boolfield for downstream consumers.
✅ Tests
apps/api/tests/test_jobs_reflection.pyadds coverage for refusal classification, limit accounting, the visited-set walk bound, and org-budget termination.apps/api/tests/test_automatic_dream_validation.pyadds cases for refusals raised before any model call.
🔨 Release Chores
VERSION,apps/api/pyproject.toml,apps/cli/pyproject.toml,charts/sibyl/Chart.yaml(versionandappVersion),charts/surrealdb/Chart.yaml,docker-compose.quickstart.yml, and the Ansible role defaults, compose file, andgalaxy.ymlare bumped to1.5.3.- Deployment and installation docs (
docs/guide/installation.md,docs/cli/docker.md,docs/deployment/*,infra/ansible/README.md) now reference the1.5.3tag.
Breaking Changes
None.
Upgrade Notes
- Upgrade with
sibyl docker upgrade --tag 1.5.3, or bump the Helm chart to1.5.3. - No migration or configuration change is required.
- After the first nightly cycle on
1.5.3, check the dream summary log: a non-zerorefusedcount with a healthypromotedcount means the walk is now reaching previously stranded drafts. Instances with a large stuck backlog may see elevated throughput for several nights while it clears. - Drafts that can never pass review stay pending by design. Removing them is an explicit operator step, not something this release automates.
Install
Local server
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.3Remote CLI
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --remote --version 1.5.3
sibyl init --remote https://sibyl.example.com
sibyl auth loginHomebrew
brew install hyperb1iss/tap/sibyl
sibyl upArch Linux (AUR)
paru -S sibyl
sibyl upHeadless server
curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.3 --no-openKubernetes (Helm)
helm repo add sibyl https://raw.githubusercontent.com/hyperb1iss/sibyl/gh-pages
helm repo update sibyl
helm upgrade --install sibyl sibyl/sibyl --version 1.5.3Artifacts
This release includes Python wheels and sdists, the generated
Homebrew formula, the generated AUR PKGBUILD, Helm charts, Docker
SBOMs, aggregate dual-registry cosign receipts, and a SHA256 checksum
manifest.