feat(orchestrator): enforce Page Data validation gate

This commit is contained in:
john
2026-07-25 14:27:07 +08:00
parent 417aa9c78b
commit 721db19a92
10 changed files with 432 additions and 43 deletions
+7
View File
@@ -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;
+13
View File
@@ -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}