Skip to content

v1.5.3

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:20
· 2 commits to main since this release

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 info as reflection_dream_candidate_refused rather than warning, keeping genuine failures visible in logs.
  • New _raised_at(exc) helper records file:line function from the traceback, so operators can tell which check refused a draft. Every evidence denial otherwise shares one message.
  • LLMRunBudgetExceededError is explicitly excluded from the refusal set; run-ceiling stops retain their prior behavior.
  • A per-run visited set now bounds the candidate walk. Since a refusal no longer decrements remaining, 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 refused counter, tallied separately from failed, skipped, and exceptioned.
  • refused is included in _summary_log_fields, so it appears in the per-run summary log line alongside latency_ms.
  • Individual error results carry a refused: bool field for downstream consumers.

✅ Tests

  • apps/api/tests/test_jobs_reflection.py adds coverage for refusal classification, limit accounting, the visited-set walk bound, and org-budget termination.
  • apps/api/tests/test_automatic_dream_validation.py adds cases for refusals raised before any model call.

🔨 Release Chores

  • VERSION, apps/api/pyproject.toml, apps/cli/pyproject.toml, charts/sibyl/Chart.yaml (version and appVersion), charts/surrealdb/Chart.yaml, docker-compose.quickstart.yml, and the Ansible role defaults, compose file, and galaxy.yml are bumped to 1.5.3.
  • Deployment and installation docs (docs/guide/installation.md, docs/cli/docker.md, docs/deployment/*, infra/ansible/README.md) now reference the 1.5.3 tag.

Breaking Changes

None.

Upgrade Notes

  • Upgrade with sibyl docker upgrade --tag 1.5.3, or bump the Helm chart to 1.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-zero refused count with a healthy promoted count 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.3

Remote 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 login

Homebrew

brew install hyperb1iss/tap/sibyl
sibyl up

Arch Linux (AUR)

paru -S sibyl
sibyl up

Headless server

curl -fsSL https://raw.githubusercontent.com/hyperb1iss/sibyl/main/install.sh | sh -s -- --version 1.5.3 --no-open

Kubernetes (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.3

Artifacts

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.