Skip to content

Release setup 2026-11-19.1: minute/hourly cost caps and the enforced review window - #10

Merged
sftimeless merged 1 commit into
mainfrom
release/setup-2026-11-19.1
Nov 20, 2026
Merged

sftimeless merged 1 commit into
mainfrom
release/setup-2026-11-19.1

Conversation

@sftimeless

@sftimeless sftimeless commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Republishes the public setup bundle from keel-skills (keelapi/keel-skills#49) for keel-api #860, live since 2026-11-20.

  • Product files (keel-policy/SKILL.md, policy-document.schema.json, shared/scripts/test_schema_validation.py) are byte-identical to keel-skills#49's branch.
  • SOURCE.json and check_release_bundle.py move to public release 2026-11-19.1, product source sha256 64f2e923…ca9b2a. SHA256SUMS is regenerated.
  • Local checks: check_release_bundle, check_execute_contract, all three test suites, shasum -c, and keel-skills' public-bundle drift check against this branch all pass.

Merge only after keel-skills#49 merges.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Cost limits can now use minute-based and hourly windows, alongside existing supported periods.
  • Documentation
    • Clarified that time-based cost limits use fixed UTC-aligned periods, while request-count limits use shorter sliding windows.
    • Added guidance on review deadlines, including how timeout settings are selected and bounded by a Permit’s lifetime, and how reviews work when no approver is named.

…review window

Keel now accepts minute and hourly windows on deny_if_cost_exceeds, and
enforces one review deadline per held request. Mirrors the reviewed
product files:
- keel-policy/reference/policy-document.schema.json adds "minute" and
  "hourly" to the cost-cap window enum.
- keel-policy/SKILL.md lists the two windows, says every windowed cap is
  a fixed UTC-aligned window, and adds "What a review timeout does": a
  decision at or after the deadline is refused with a 409 and nothing
  runs; the deadline is the rule's timeout_seconds (else the project
  default, Keel's 600 seconds) or the Permit's lifetime, whichever is
  first; a review that names no approver is written only when the user
  accepts both the project default window and Keel's default approver.
- shared/scripts/test_schema_validation.py pins the accepted windows.

SOURCE.json, scripts/check_release_bundle.py and SHA256SUMS move to
release 2026-11-19.1 with the new product digest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The policy guidance adds cost-window details and review-timeout rules. The policy schema and validation test cover the accepted cost-window values. The public release version, product-source digest, and recorded hashes are updated.

Changes: Policy and Release Updates

Layer / File(s) Summary
Cost-window policy and schema
keel-policy/reference/policy-document.schema.json, keel-policy/SKILL.md, shared/scripts/test_schema_validation.py
The guidance describes fixed UTC-aligned money windows, including minute and hourly windows. The schema accepts these windows, and the test checks the accepted values and specified rejected alternatives.
Review-timeout guidance
keel-policy/SKILL.md
The guidance describes when late approvals or rejections are refused, how timeout sources are selected, and how the deadline is bounded by Permit lifetime.
Release metadata and checksums
SOURCE.json, scripts/check_release_bundle.py, SHA256SUMS
The public release version and product-source digest change. The release checker’s pinned values and the recorded hashes are updated.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Merge Risk: Minimal · up to 62a9c

This republishes the public setup bundle with minute and hourly cost windows and review-deadline guidance. The changes are documentation, a schema enum, a schema test, and release metadata. No concrete defect was found, so the merge risk is minimal; confirm the upstream keel-skills#49 change is merged first.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the two product changes in the bundle, the minute/hourly cost caps for deny_if_cost_exceeds and the enforced review window. The changeset does add both: schema enum values for minute a…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the two product changes in the bundle, the minute/hourly cost caps for deny_if_cost_exceeds and the enforced review window. The changeset does add both: schema enum values for minute and hourly, and a review-timeout section in SKILL.md. It also includes the release metadata bump to 2026-11-19.1 that the title names. The title is specific and maps to the main change. It is long at 82 characters, but it is a single sentence and is accurate.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e5134b42-910f-4227-ba1b-c056a6fea09b
Commits

Reviewing files that changed from the base of the PR and between 7fdf43c and 62a9c41.

Files selected for processing: 6

  • SHA256SUMS
  • SOURCE.json
  • keel-policy/SKILL.md
  • keel-policy/reference/policy-document.schema.json
  • scripts/check_release_bundle.py
  • shared/scripts/test_schema_validation.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@sftimeless
sftimeless merged commit 5a848cc into main Nov 20, 2026
2 checks passed
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