You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hints.push({id: "lifecycle-blocked",level: "blocked",reason: state.blocker??`Workflow lifecycle is ${state.status}; supervisor review should resolve the blocker before treating quality as ready.`,evidenceBacked: Boolean(state.blocker||state.evidence.length)});
147
-
}elseif(missingRequired.length){
148
-
hints.push({id: "evidence-readiness",level: "attention",reason: `Required evidence is missing (${missingRequired.flatMap((result)=>result.missingExpectationIds).join(", ")}); evidence-backed completion remains the target, not superficial score passing.`,evidenceBacked: false});
149
-
}elseif(state.evidence.length){
150
-
hints.push({id: "evidence-readiness",level: "ok",reason: "Required evidence expectations are satisfied by recorded validation evidence; keep completion authority with workflow validation and review.",evidenceBacked: true});
151
-
}else{
152
-
hints.push({id: "evidence-readiness",level: "unknown",reason: "No validation evidence is available yet; quality is unknown until evidence is recorded.",evidenceBacked: false});
hints.push({id: "unresolved-risk",level: "attention",reason: `Unresolved risks remain (${state.risks.length}); do not optimize this hint away without addressing the underlying risk evidence.`,evidenceBacked: state.evidence.length>0});
hasTerminalFailure ? `Workflow lifecycle is ${state.status}; confirm the current work still aligns with the requested goal before continuing.` : goal ? "Workflow goal is present and remains tied to the generic RunContract source workflow." : "Workflow goal is missing or empty; advisory alignment cannot be confirmed.",
missingRequired.length ? `Required evidence is missing (${missingExpectationIds.join(", ")}); evidence quality is degraded without changing completion authority.` : state.evidence.length ? "Required evidence expectations are satisfied by recorded validation evidence." : "No validation evidence is available yet; record concrete evidence before treating quality as ready.",
hasBlockingLifecycle ? state.blocker??`Workflow lifecycle is ${state.status}; resolve the blocker before considering the work complete.` : state.pendingDecision ? `Pending decision remains unresolved: ${state.pendingDecision.prompt}` : missingRequired.length ? "Completion criteria still need required evidence; validation remains authoritative." : "No pending decision or missing required completion evidence is visible.",
simplicityRisk ? `Risk calls out possible complexity or over-broad scope: ${simplicityRisk}` : "No explicit complexity, scope, or over-engineering risk is recorded.",
hasBlockingLifecycle ? state.blocker??`Workflow lifecycle is ${state.status}; risk remains blocking.` : state.risks.length ? `Unresolved risks remain (${state.risks.length}); address the underlying risk evidence rather than optimizing the hint.` : state.pendingDecision ? "Pending decision keeps residual risk open until resolved." : "No unresolved risks or blockers are recorded.",
0 commit comments