Repository navigation
fix: align delegated snapshot with task lease - #191
metriplane-main-health-publisher[bot] merged 1 commit into
Conversation
Miko997
left a comment
There was a problem hiding this comment.
metriplane-owner-merge-request:v1
{"authorization_mode":"single-maintainer-owner-attestation","base_ref":"main","base_sha":"9ae55abf9287ed357f150e5d769cbf8e108d3ec7","changed_paths_digest":"0763122efb42f4566a1fa328ec7d863723a7425660cd13bae459a740362e9c25","collaboration_digest":"97956f2c016d6323f4e7921877599536bc72d63f26a73a3ab9e2d91abaf909d4","expires_at":"2026-09-30T05:57:16Z","head_sha":"8a5a49433c07afd59d8059ff04203ad3542a3ea9","health_generation":133,"nonce":"f367194dea614a844876df6cd3cf1501","pull_request":191,"repository":"Miko997/metriplane","requester_id":141511110,"ruleset_digests":{"20613848":"1296e1ef0e46ed8e2a0e05a73440b0be9f9ef0b9d250fb2e403f8f8538719a92","21487681":"c1689c8b834e31c319fd16007fced5f10fc939fed655fc32f47d0c03e5df6fce","21500579":"a9666448444c28603d7b16f36a866f3c3ebf008107e0e495b8433a5726fd115a","21533351":"4a6c626d1ff8d57dc3aef04b6c65769e750fb1d1ed866bf7ed60902553c8a671","21633569":"6f4993da872387e0b31ca5366be448a9cb7eae69154f36710af2d235eb80ca2b","22071973":"4ffe0846af53a2317c364cc75611de62063f81fa96828c7216aa773b20ed2f17","22170798":"f80feda5478325925ad17452287e49470fea71fe2f0a6706f61f9fa24e5627d4"},"schema_version":1,"state_commit":"dcebb4c06e9bd0917fc252aa9886f0beacd1748d"}
2b2fdbf
into
main
Outcome
Problem
A valid v2 delegated task had a signed maximum ten-minute task lease, but an undocumented 300-second provider-snapshot sub-limit caused repeated broker exact-base admission seals to invalidate an otherwise live delegation before durable reservation.
User-visible behavior
None. This is a fail-closed MP2-016 broker/delegation correction.
Changes
Scope
Use one shared
MAX_TASK_LEASE_SECONDS=600bound for the v2 task lease and its exact signed provider snapshot. Document that repeated broker admission seals may validate only while the original signed task lease remains live. Refresh generated UI/public-surface/traceability currentness records and the canonical test collection count.Out of scope: workflow triggers, rulesets, branch protection, broker ordering, merge-readiness timing, owner/emergency authority, release/publication authority, and historical evidence rewrites.
Compatibility
No Python, platform, CLI, schema, artifact, stored-history, or v1 delegation compatibility change. Existing v1 records retain their original interpretation.
Evidence and research impact
The provider snapshot remains exact-digest, provider-cursor, task, base, role, and dual-signature bound. The change removes only the undocumented five-minute sub-lease; it does not outlive the signed task lease. Existing historical evidence is not rewritten. A new regression covers the formerly rejected live portion after 300 seconds and exact expiry remains rejected.
Validation
Tests
6255 passed, 16 skipped; focused/currentness set234 passed, 2 skipped; Ruff, format, canonical mypy, four generated-currentness checks, andgit diff --checkpassed; independent exact-tree review CLEAN / APPROVED for commit8a5a49433c07afd59d8059ff04203ad3542a3ea9and tree8022b058fc4d9590f897e9c77941b04fa7a20bef.8a5a49433c07afd59d8059ff04203ad3542a3ea9.Documentation
Updated task delegation, main-health broker, change-execution contract, and testing policy declarations. Generated functional/public-surface/traceability records are current.
Boundaries
Privacy and security
No credentials, recordings, private paths, archives, personal data, or identifying workcell data were added. This does not create an independent 600-second extension: validation still requires capture at or after issuance and not in the future, a task lease no longer than ten minutes, current time before delegation expiry, current merge-request lease, every provider/state seal, and the existing pre-reservation budget guard. No external contact, paid infrastructure, release, tag, upload, repository-setting change, or protection weakening occurred.
Checklist