You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: surface the job authority descriptor to subscribers (§7.6)
The runtime now populates `budget` (current per-currency counters) on
`job.subscribed`, alongside the `lease_constraints` it already sent, so an
observing principal can render a job's authority surface — the expiry clock
and budget gauge — without being the submitter. The cap is derivable from the
lease's `cost.budget` pattern; subsequent `cost.budget.remaining` metric events
keep the gauge live.
The client's `JobSubscription` now exposes the full descriptor:
`currentStatus`, `agent`, `lease`, `leaseConstraints`, `budget`, and
(submitter-only) `credentials`. Credentials remain redacted for non-submitters
per §14. Backward-compatible — only additive fields. Adds a runtime test
asserting an observer receives budget + lease_constraints but never credentials.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments