Skip to content

SDK: reposition + should_pause soft pause#14

Merged
tsouth89 merged 3 commits into
mainfrom
feat/wave0-reposition
Jul 12, 2026
Merged

SDK: reposition + should_pause soft pause#14
tsouth89 merged 3 commits into
mainfrom
feat/wave0-reposition

Conversation

@tsouth89

Copy link
Copy Markdown
Owner

Summary

  • LLM-first docs; monitor_llm uses rail=llm
  • should_pause (fail-open, cached)
  • examples/soft_pause_webhook.py

Test plan

tsouth89 added 2 commits July 11, 2026 21:50
Promote soft-pause as the recommended response loop; record LLM spend with rail=llm and provider in context.
Fail-open pause poll for agents; first-class soft-pause webhook receiver; rail=llm already on monitor_llm.
@tsouth89

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

BurnwatchClient now supports cached, fail-open agent pause-status queries. A stdlib-only webhook example verifies signed deliveries, rejects invalid requests, acknowledges valid requests, and triggers an application pause hook for matching events. LLM spend recordings now use the llm rail and include model and provider context. Tests cover pause lookup failure handling, response parsing, and caching.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Title check ✅ Passed The title matches the main changes by calling out the SDK repositioning and the new should_pause soft-pause behavior.
Description check ✅ Passed The description covers the main changes: LLM-first docs, rail=llm, should_pause caching, and the webhook example.

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f90c2e11-ae77-42c6-9d1f-e75a8588cf8e

📥 Commits

Reviewing files that changed from the base of the PR and between f31b6f0 and eba9287.

⛔ Files ignored due to path filters (1)
  • README.md is excluded by !**/*.md
📒 Files selected for processing (4)
  • burnwatch/client.py
  • burnwatch/llm.py
  • examples/soft_pause_webhook.py
  • tests/test_client.py

Comment thread burnwatch/client.py
Comment thread examples/soft_pause_webhook.py Outdated
Comment thread examples/soft_pause_webhook.py
@tsouth89

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 12, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@tsouth89
tsouth89 merged commit d3cb9fe into main Jul 12, 2026
3 checks passed
@tsouth89
tsouth89 deleted the feat/wave0-reposition branch July 12, 2026 02:14
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