docs: propose service-owned work authority - #70
freeqaz-openai wants to merge 7 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 14, 2026, 5:57 PM ET / 21:57 UTC (Revision 7). ClawSweeper reviewWhat this changesAdds a draft RFC, supporting specification, and diagrams defining service-owned repository work, shared helper limits, cancellation, and staged publication support. Merge readiness⛔ Blocked before merge - 2 items remain The proposal remains distinct from the accepted enterprise RFC on main. No actionable document defect was found; merging requires the repository’s RFC acceptance process. Priority: P3 Review scores
Verification
How this fits togetherThe proposal places Work admission in the OpenClaw Controller, between authenticated requests and agent repository operations. Work records would preserve scope, cancellation dependencies, execution identity, and operation outcomes. flowchart LR
A[Authenticated request] --> B[Controller authorization]
B --> C[Durable root Work]
C --> D[Agent and subordinate helpers]
D --> E[Current authority check]
E --> F[Mediated repository operation]
F --> G[Durable outcome]
Decision needed
Why: The repository requires explicit RFC acceptance, and technical consistency alone cannot establish sponsorship of the proposed enterprise contract. Before merge
Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Retain a focused root-Work contract for repository reads and approved publication, with durable children and deployment qualification explicitly staged separately. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR proposes an enterprise contract rather than reporting a reproducible runtime defect. Is this the best way to solve the issue? Yes, as a design proposal: the compact RFC and supporting specification distinguish the initial root scope from later lifecycle capabilities without claiming implementation readiness. AGENTS.md: not found in the target repository. Codex review notes: model internal, reasoning medium; reviewed against 967d9aac7472. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (6 earlier review cycles)
|
What Problem This Solves
An Agent’s work can outlast a turn, coordinator process or provider token. Shared Agents need lasting scope and cancellation ownership while keeping requester, service-owner and workload permissions separate.
Why This Change Was Made
Define an initial root work record with requester attribution, immutable scope and any configured horizon, cancellation, execution assignment and effect receipts. Subordinate helpers share its scope, resource limits and stop ownership. This supports managed reads and subsequent approved publication without gating them on a complete public Work API. Separately admitted durable children, broader Work management and public lifecycle controls follow later, with preserved lineage and ancestor constraints.
User Impact
Execution defaults to uncapped under explicit admission policy; authority leases stay finite and renewal cannot extend configured limits, broaden scope or reopen terminal work. Every initial GitHub operation requires current online OCC authority. Durable receipts preserve original work and operation identity across replacement; unknown submission requires reconciliation without blind replay. MVP publication permits any configured, authorized human approver, including the requester, and excludes Agent approval.
This is a documentation proposal extending RFC 0027. It remains draft with a blank implementation issue pending acceptance.
Reading Guide
Evidence