fix(research): accept eligible isolated candidate reproduction previews (RP13)
This commit is contained in:
parent
8807d9e504
commit
773314d29e
6 changed files with 251 additions and 6 deletions
|
|
@ -259,7 +259,7 @@ function Reproduction({ run, archived }: Props) {
|
|||
<p>
|
||||
This submits a new run using the original dataset, strategy version, parameters, seed
|
||||
and policies. Current template settings are not used. The same installed engine build
|
||||
and current strategy approval are required.
|
||||
and current execution eligibility are required.
|
||||
</p>
|
||||
{loading && <p role="status">Loading original inputs...</p>}
|
||||
{previewError && <p role="alert">{previewError}</p>}
|
||||
|
|
@ -298,8 +298,20 @@ function Reproduction({ run, archived }: Props) {
|
|||
{preview.request.policy.matching.risk.ledger.baseCurrency}
|
||||
</p>
|
||||
<p className="text-xs break-all">
|
||||
Original review: {preview.request.strategy.reviewId} · Current approval:{' '}
|
||||
{preview.currentReviewId ?? 'Unavailable'}
|
||||
Original review: {preview.request.strategy.reviewId ?? 'None recorded'} ·{' '}
|
||||
{preview.request.strategy.origin === 'candidate'
|
||||
? 'Current review'
|
||||
: 'Current approval'}
|
||||
:{' '}
|
||||
{preview.currentReviewId ??
|
||||
(preview.request.strategy.origin === 'candidate' && preview.available
|
||||
? 'None recorded'
|
||||
: 'Unavailable')}
|
||||
</p>
|
||||
<p className="text-xs">
|
||||
{preview.request.strategy.origin === 'candidate'
|
||||
? 'Isolated candidates do not require approval for research reproduction. The retained sandbox must be available, and explicit revocation blocks new reproduction.'
|
||||
: 'Built-in strategies require current operator approval for reproduction.'}
|
||||
</p>
|
||||
<details>
|
||||
<summary className="cursor-pointer">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue