Automation Authoring Workflow
Use this workflow to ship portal automation safely: keep deterministic execution first, and use agentic orchestration only where it improves delivery speed.
Operating model
- Scope the task and confirm boundaries.
- Keep logic changes on a strict verification bar.
- Capture results in
docs/codex-results/for auditability.
Verification bar
For main logic changes, run:
npm run test && npm run check && npm run buildFor docs-only changes, run the docs build:
npm run docs:buildScratchpad workflow markers
Set explicit workflow markers in .cursor/scratchpad.md:
Workflow: TDDWorkflow: REQUIREMENTSWorkflow: CUA_META_AGENTWorkflow: TASK
Only TDD workflows should track Phase: RED, Phase: GREEN, or Phase: REFACTOR.
Snippet authoring skill
Use .agents/skills/snippet-authoring/ for focused Playwright snippet work.
- Build in iterative loops: assess, write, execute, validate, refine.
- Reuse shared resources:
resources/snippet_template.pyresources/selector_strategies.mdresources/snippet_registry.md
- Keep snippets composable and return structured JSON with
successanderrorfields.
This workflow keeps execution aligned with Mimic’s RPA-first, LLM-fallback delivery model.