feat(orchestrator): enforce Page Data validation gate
This commit is contained in:
@@ -228,6 +228,13 @@ export type OrchestratorRuntime = {
|
||||
reason: string | null;
|
||||
environmentGate: boolean;
|
||||
};
|
||||
pageDataValidationGate: {
|
||||
requested: boolean;
|
||||
enabled: boolean;
|
||||
failClosed: boolean;
|
||||
reason: string | null;
|
||||
environmentGate: boolean;
|
||||
};
|
||||
executionHandoff: {
|
||||
implemented: boolean;
|
||||
requested: boolean;
|
||||
|
||||
@@ -182,6 +182,19 @@ export function OrchestratorPage() {
|
||||
{shadowWiringLabel}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<strong>Page Data 准入</strong>
|
||||
<p style={{
|
||||
marginBottom: 0,
|
||||
color: state.runtime.pageDataValidationGate.enabled ? '#2f6f57' : '#8a5a16',
|
||||
}}>
|
||||
{state.runtime.pageDataValidationGate.enabled
|
||||
? '强制通过'
|
||||
: state.runtime.pageDataValidationGate.requested
|
||||
? '等待 Shadow wiring'
|
||||
: '仅观察'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<p className={state.runtime.reason === 'kill_switch' ? 'alert' : 'warn'} style={{ marginBottom: 0 }}>
|
||||
{runtimeMessage}
|
||||
|
||||
Reference in New Issue
Block a user