Workflow Compliance Supervisor
This skill is the governance layer for journey-driven UI/UX projects. It checks whether the system did what it promised, whether skipped stages are justified, and whether the user sees honest reasons and next actions.
It does not execute design/build tasks and does not override senior-ui-ux-orchestrator.
Operating Modes
gate: check the current project before continuing or closing a phase.
review: audit an existing task plan, progress state, progress screen, and evidence set.
log: append or validate workflow-log.jsonl events.
fixture-test: run lazy-skip and fake-evidence fixtures.
explain: explain to the user why a stage is paused, skipped, returned to rework, or blocked.
Required Workflow
- Read references/decision-framework.md.
- Read references/evidence-and-log-rules.md.
- Read references/user-messaging.md if the output will be shown to a non-technical user.
- Locate the canonical project
TASK-PLAN.md.
- Locate the declared journey registry. Default local registry:
$UIUX_SKILL_SYSTEM_ROOT/data/journey-registry.json.
- Compare declared journey stages with task-plan claims, progress state, reports, screenshots, and logs.
- Produce one decision per affected stage:
continue, pause_for_user, return_to_rework, skip_with_reason, or block.
- For every skip, require an acceptable reason code, impact, and next action.
- For every
done/Ran claim, require real evidence.
- Write or update a sanitized report/log only when the user asked for execution or validation.
Decision States
continue: evidence is sufficient or deviation has no material impact.
pause_for_user: missing user data, approval, budget, credentials, or production confirmation.
return_to_rework: claimed completion lacks evidence or violates the journey contract.
skip_with_reason: stage is intentionally skipped with accepted reason and visible impact.
block: continuing would compromise quality, privacy, legality, production safety, or journey integrity.
Hard Rules
- Do not accept
model_convenience, implicit_assumption, planned_counted_as_ran, or tool_not_called_but_marked_done.
- Do not mark planned commands as executed.
- Do not claim that a full journey is complete when only a demo slice ran.
- Do not store secrets, tokens, cookies,
.env, recovery codes, private screenshots, or raw provider payloads.
- Optional external tools, crawls, uploads, paid APIs, production deploys, analytics, ads, and account mutations require explicit approval.
Local Validation Commands
python3 "$UIUX_SKILL_SYSTEM_ROOT/scripts/validate_workflow_compliance.py" --fixtures
python3 "$UIUX_SKILL_SYSTEM_ROOT/scripts/validate_workflow_log.py" --fixtures
python3 "$UIUX_SKILL_SYSTEM_ROOT/scripts/validate_workflow_compliance.py" --project "$PROJECT_ROOT" --journey new-premium-site --out "$PROJECT_ROOT/reports/workflow-compliance-report.md" --log "$PROJECT_ROOT/workflow-log.jsonl"
Skill package checks:
python3 $CODEX_HOME/skills/.system/skill-creator/scripts/quick_validate.py $CODEX_HOME/skills/workflow-compliance-supervisor
python3 $CODEX_HOME/skills/senior-skill-architect/scripts/lint_production_skill.py $CODEX_HOME/skills/workflow-compliance-supervisor
Handoff Shape
Declared journey:
Checked artifacts:
Decision:
Reason code:
Evidence:
User-visible message:
Next action:
Can continue:
Must rework:
Skipped with accepted reason:
Blocked:
1---2name: workflow-compliance-supervisor3description: Use when a UI/UX project must verify that the promised user journey, TASK-PLAN.md, progress-state.json, rendered progress HTML, evidence artifacts, and skipped stages are consistent. Detects lazy skips, fake Ran/Done claims, missing evidence, approval-gated external steps, and user-data blockers; recommends continue, pause_for_user, return_to_rework, skip_with_reason, or block without replacing senior-ui-ux-orchestrator as chair.4---56# Workflow Compliance Supervisor78This skill is the governance layer for journey-driven UI/UX projects. It checks whether the system did what it promised, whether skipped stages are justified, and whether the user sees honest reasons and next actions.910It does not execute design/build tasks and does not override `senior-ui-ux-orchestrator`.1112## Operating Modes1314- `gate`: check the current project before continuing or closing a phase.15- `review`: audit an existing task plan, progress state, progress screen, and evidence set.16- `log`: append or validate `workflow-log.jsonl` events.17- `fixture-test`: run lazy-skip and fake-evidence fixtures.18- `explain`: explain to the user why a stage is paused, skipped, returned to rework, or blocked.1920## Required Workflow21221. Read [references/decision-framework.md](references/decision-framework.md).232. Read [references/evidence-and-log-rules.md](references/evidence-and-log-rules.md).243. Read [references/user-messaging.md](references/user-messaging.md) if the output will be shown to a non-technical user.254. Locate the canonical project `TASK-PLAN.md`.265. Locate the declared journey registry. Default local registry: `$UIUX_SKILL_SYSTEM_ROOT/data/journey-registry.json`.276. Compare declared journey stages with task-plan claims, progress state, reports, screenshots, and logs.287. Produce one decision per affected stage: `continue`, `pause_for_user`, `return_to_rework`, `skip_with_reason`, or `block`.298. For every skip, require an acceptable reason code, impact, and next action.309. For every `done`/`Ran` claim, require real evidence.3110. Write or update a sanitized report/log only when the user asked for execution or validation.3233## Decision States3435- `continue`: evidence is sufficient or deviation has no material impact.36- `pause_for_user`: missing user data, approval, budget, credentials, or production confirmation.37- `return_to_rework`: claimed completion lacks evidence or violates the journey contract.38- `skip_with_reason`: stage is intentionally skipped with accepted reason and visible impact.39- `block`: continuing would compromise quality, privacy, legality, production safety, or journey integrity.4041## Hard Rules4243- Do not accept `model_convenience`, `implicit_assumption`, `planned_counted_as_ran`, or `tool_not_called_but_marked_done`.44- Do not mark planned commands as executed.45- Do not claim that a full journey is complete when only a demo slice ran.46- Do not store secrets, tokens, cookies, `.env`, recovery codes, private screenshots, or raw provider payloads.47- Optional external tools, crawls, uploads, paid APIs, production deploys, analytics, ads, and account mutations require explicit approval.4849## Local Validation Commands5051```bash52python3 "$UIUX_SKILL_SYSTEM_ROOT/scripts/validate_workflow_compliance.py" --fixtures53python3 "$UIUX_SKILL_SYSTEM_ROOT/scripts/validate_workflow_log.py" --fixtures54python3 "$UIUX_SKILL_SYSTEM_ROOT/scripts/validate_workflow_compliance.py" --project "$PROJECT_ROOT" --journey new-premium-site --out "$PROJECT_ROOT/reports/workflow-compliance-report.md" --log "$PROJECT_ROOT/workflow-log.jsonl"55```5657Skill package checks:5859```bash60python3 $CODEX_HOME/skills/.system/skill-creator/scripts/quick_validate.py $CODEX_HOME/skills/workflow-compliance-supervisor61python3 $CODEX_HOME/skills/senior-skill-architect/scripts/lint_production_skill.py $CODEX_HOME/skills/workflow-compliance-supervisor62```6364## Handoff Shape6566```text67Declared journey:68Checked artifacts:69Decision:70Reason code:71Evidence:72User-visible message:73Next action:74Can continue:75Must rework:76Skipped with accepted reason:77Blocked:78```79