Skip to content

backend/deploy: cap Dream at 6 passes/day until the reservation switch - #22066

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/dream-cadence-down
Oct 17, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/dream-cadence-down

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Lower the allowlisted Dream owner's daily pass cap from 48 to 6 on backend and backend-sync (prod) while we wait for the GCP reservation switchover.

On 2026-10-17 Dream ran hourly at $0.70/pass ($17/day), applying ~3 edits per pass, and two passes spent ~$0.70–0.83 applying nothing. Reliability and per-pass cost are now known, so hourly passes mostly cost money. Six passes/day keeps the full path exercised daily for ~$4–5/day.

Note: the cap is a daily count, not a spacing rule, so the six passes run in the first dirty hours after 00:00 UTC. Restore to '48' in the same config change as the reservation switchover.

Product invariants affected

  • INV-MEM-4: no change to verification or apply authority; only how many passes run per day.

Verification

  • tests/unit/test_backend_runtime_env_validator.py: 169 passed (via test.sh with BACKEND_UNIT_TEST_FILE_LIST).

Rollback: set DREAM_AGENT_PASSES_PER_DAY back to '48'.

Failure-Class: none

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T22:15:28.226370Z efc6247 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Git-on-my-level
Git-on-my-level merged commit b325c77 into main Oct 17, 2026
62 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/dream-cadence-down branch October 17, 2026 22:19
Git-on-my-level added a commit that referenced this pull request Oct 18, 2026
…ed levers (#22071)

FIRESTORE_READ_LEVERS: singleton_loops 100 -> 0, backfill_task_reads/
historical_scan_memo/ledger_purge_coalesce/people_scan_dedupe 5 -> 0; the
seven graduated levers stay 100 (missing keys default OFF, so the literal
must stay complete). Generated with avo/firestore-reads/set_levers.py.

- singleton_loops: verify UNSAFE at 2026-10-17T20:00Z (five reconcile loops
  acquired=0, lease starvation); starvation window coincides with sync-owner
  revision rolls #22061/#22063 (18:20Z/20:26Z) and leases recovered by 21Z,
  off stands pending lease rework (decision-2026-10-18T00Z-flagoff-five.md).
- The four 5% levers: shared guard service backend-sync-backfill exempt only
  until 2026-10-18T01:00Z with 5xx at 7-8%/h and rising (630->2737/h 15Z-22Z)
  through sync-owner sequencer rework; evidence ambiguous -> off per loop
  judgment rules; re-enable at 5% after recovery exonerates.

Reviewed by zcode glm-5.3: r1 exec-erupt-ordinary-quote-scrap-observe-reject
(singleton-only, SAFE); r2 exec-print-tortoise-fire-panda-sustain-enforce
caught replace-mode literal dropping the seven graduated levers (FIX-REQUIRED,
fixed by restoring the complete 12-key literal + rebase onto #22066).
Contract tests 79/79 green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant