Connect lifecycle revisions to protected human review
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a10780-6d41-7952-9718-dfbc1f41236f
This commit is contained in:
parent
0e79d69e27
commit
f3b71b1521
16 changed files with 649 additions and 23 deletions
|
|
@ -112,7 +112,12 @@ def review_page(page, session):
|
|||
f'<p>Presentation {text(p.id)}</p><p class="hash">View: {text(p.view_hash)}</p>'
|
||||
f'<p class="hash">Act: {text(memo.approval_binding_digest)}</p>'
|
||||
f'<p>Account zone: {text(session.tenant.value)} ({text(session.tenant.route.value)}). This is separate from the act scope.</p></details>')
|
||||
content = (f'<p class="eyebrow">Decision review · version {memo.version}</p><h1>{text(memo.question)}</h1>'
|
||||
source = ''
|
||||
if page.lifecycle_source:
|
||||
origin = page.lifecycle_source
|
||||
source = (f'<p>Prepared from <a href="/decisions/{text(origin["memo_id"])}?version={origin["version"]}">'
|
||||
f'decision revision {origin["version"]}</a>.</p>')
|
||||
content = (f'<p class="eyebrow">Decision review · version {memo.version}</p><h1>{text(memo.question)}</h1>' + source
|
||||
+ notice + '<div class="grid"><div><section class="card"><h2>The request</h2>'
|
||||
f'<p><strong>{text(memo.requested_act)}</strong></p><p class="brief">{text(memo.brief)}</p>{terms}</section>'
|
||||
+ highlights + packet + '<section class="card"><h2>Your response</h2>' + (forms or '<p>No new approval submission is available from this record.</p>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue