mirror of
https://github.com/hansjone/oclaw.git
synced 2026-10-09 03:30:48 +08:00
Productize scheduled success delivery, close WA pending, and clarify SQL scope grants.
Wrap successful scheduled jobs with a short WA header (+ attachment count), expire stale access pending and DM requesters on admin approve/deny, and add concrete next_steps for insufficient_scope:sql:query. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
dff8901ae3
commit
4898adf7d0
10 changed files with 334 additions and 12 deletions
|
|
@ -40,6 +40,9 @@ def test_enrich_mcp_scope_sql() -> None:
|
|||
assert out["required_scope"] == "sql:query"
|
||||
assert "fallback_tools" in out
|
||||
assert "ume_alarm_xlsx_report" in out["fallback_tools"]
|
||||
assert out.get("next_steps")
|
||||
assert out.get("admin_action", {}).get("required_scope") == "sql:query"
|
||||
assert "Admin" in str(out.get("user_facing_hint") or "")
|
||||
|
||||
|
||||
def test_build_finalize_system_suffix() -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue