Add lifecycle browser authoring and durable review handoff retrieval
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a10780-6d41-7952-9718-dfbc1f41236f
This commit is contained in:
parent
52d372df0b
commit
9bc581a547
20 changed files with 632 additions and 74 deletions
|
|
@ -182,6 +182,14 @@ class LifecycleService:
|
|||
current()
|
||||
return result
|
||||
|
||||
def review_handoff(self, caller, memo_id, version):
|
||||
"""Retrieve the exact retained event; this never resubmits an approval."""
|
||||
from .lifecycle_review import handoff
|
||||
current, _ = self._authorize(caller, memo_id, "events", {"version": version})
|
||||
result = handoff(self.repository, caller.attribution.tenant, memo_id, version)
|
||||
current()
|
||||
return result
|
||||
|
||||
def search(self, caller, *, query="", cursor=None):
|
||||
self._caller(caller)
|
||||
if not isinstance(query, str) or len(query) > 200:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue