evizi-kit 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +506 -0
- package/kits/agent/.agent/skills/claude-code-subagent-creator/SKILL.md +292 -0
- package/kits/agent/.agent/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/agent/.agent/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +26 -0
- package/kits/agent/.agent/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/agent/.agent/skills/skill-creator/SKILL.md +485 -0
- package/kits/agent/.agent/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/agent/.agent/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/agent/.agent/skills/skill-creator/agents/grader.md +223 -0
- package/kits/agent/.agent/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/agent/.agent/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/agent/.agent/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/agent/.agent/skills/skill-creator/references/schemas.md +430 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/agent/.agent/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/agent/manifest.json +10 -0
- package/kits/claude/.claude/agents/code-pusher.md +46 -0
- package/kits/claude/.claude/agents/feature-document-updater.md +37 -0
- package/kits/claude/.claude/agents/self-reviewer.md +32 -0
- package/kits/claude/.claude/agents/web-auto-agentic-workflow-initializer.md +42 -0
- package/kits/claude/.claude/agents/web-auto-assisted-fix-and-runner.md +36 -0
- package/kits/claude/.claude/agents/web-auto-chrome-devtools-selector-extractor.md +36 -0
- package/kits/claude/.claude/agents/web-auto-coder.md +33 -0
- package/kits/claude/.claude/agents/web-auto-fe-selector-extractor.md +31 -0
- package/kits/claude/.claude/agents/web-auto-fix-and-runner.md +35 -0
- package/kits/claude/.claude/agents/web-auto-lessons-learned-extractor.md +34 -0
- package/kits/claude/.claude/agents/web-auto-playwright-mcp-selector-extractor.md +37 -0
- package/kits/claude/.claude/agents/web-auto-source-instructions-updater.md +43 -0
- package/kits/claude/.claude/agents/web-auto-test-cases-generator.md +29 -0
- package/kits/claude/.claude/agents/web-auto-ticket-designer.md +35 -0
- package/kits/claude/.claude/agents/web-auto-ticket-playbook-planner.md +36 -0
- package/kits/claude/.claude/agents/web-auto.md +382 -0
- package/kits/claude/.claude/skills/claude-code-subagent-creator/SKILL.md +292 -0
- package/kits/claude/.claude/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/claude/.claude/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +26 -0
- package/kits/claude/.claude/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/claude/.claude/skills/skill-creator/SKILL.md +485 -0
- package/kits/claude/.claude/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/claude/.claude/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/claude/.claude/skills/skill-creator/agents/grader.md +223 -0
- package/kits/claude/.claude/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/claude/.claude/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/claude/.claude/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/claude/.claude/skills/skill-creator/references/schemas.md +430 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/claude/.claude/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/claude/manifest.json +10 -0
- package/kits/cursor/.cursor/agents/code-pusher.agent.md +43 -0
- package/kits/cursor/.cursor/agents/feature-document-updater.agent.md +34 -0
- package/kits/cursor/.cursor/agents/self-reviewer.agent.md +29 -0
- package/kits/cursor/.cursor/agents/web-auto-agentic-workflow-initializer.agent.md +37 -0
- package/kits/cursor/.cursor/agents/web-auto-assisted-fix-and-runner.agent.md +33 -0
- package/kits/cursor/.cursor/agents/web-auto-chrome-devtools-selector-extractor.agent.md +31 -0
- package/kits/cursor/.cursor/agents/web-auto-coder.agent.md +30 -0
- package/kits/cursor/.cursor/agents/web-auto-fe-selector-extractor.agent.md +28 -0
- package/kits/cursor/.cursor/agents/web-auto-fix-and-runner.agent.md +32 -0
- package/kits/cursor/.cursor/agents/web-auto-lessons-learned-extractor.agent.md +31 -0
- package/kits/cursor/.cursor/agents/web-auto-playwright-mcp-selector-extractor.agent.md +32 -0
- package/kits/cursor/.cursor/agents/web-auto-source-instructions-updater.agent.md +40 -0
- package/kits/cursor/.cursor/agents/web-auto-test-cases-generator.agent.md +26 -0
- package/kits/cursor/.cursor/agents/web-auto-ticket-designer.agent.md +32 -0
- package/kits/cursor/.cursor/agents/web-auto-ticket-playbook-planner.agent.md +33 -0
- package/kits/cursor/.cursor/agents/web-auto.agent.md +379 -0
- package/kits/cursor/.cursor/skills/claude-code-subagent-creator/SKILL.md +292 -0
- package/kits/cursor/.cursor/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/cursor/.cursor/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +26 -0
- package/kits/cursor/.cursor/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/cursor/.cursor/skills/skill-creator/SKILL.md +485 -0
- package/kits/cursor/.cursor/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/cursor/.cursor/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/cursor/.cursor/skills/skill-creator/agents/grader.md +223 -0
- package/kits/cursor/.cursor/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/cursor/.cursor/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/cursor/.cursor/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/cursor/.cursor/skills/skill-creator/references/schemas.md +430 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/cursor/.cursor/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/cursor/manifest.json +10 -0
- package/kits/github/.github/agents/code-pusher.agent.md +45 -0
- package/kits/github/.github/agents/feature-document-updater.agent.md +36 -0
- package/kits/github/.github/agents/self-reviewer.agent.md +31 -0
- package/kits/github/.github/agents/web-auto-agentic-workflow-initializer.agent.md +39 -0
- package/kits/github/.github/agents/web-auto-assisted-fix-and-runner.agent.md +35 -0
- package/kits/github/.github/agents/web-auto-chrome-devtools-selector-extractor.agent.md +33 -0
- package/kits/github/.github/agents/web-auto-coder.agent.md +32 -0
- package/kits/github/.github/agents/web-auto-fe-selector-extractor.agent.md +30 -0
- package/kits/github/.github/agents/web-auto-fix-and-runner.agent.md +34 -0
- package/kits/github/.github/agents/web-auto-lessons-learned-extractor.agent.md +33 -0
- package/kits/github/.github/agents/web-auto-playwright-mcp-selector-extractor.agent.md +34 -0
- package/kits/github/.github/agents/web-auto-source-instructions-updater.agent.md +42 -0
- package/kits/github/.github/agents/web-auto-test-cases-generator.agent.md +28 -0
- package/kits/github/.github/agents/web-auto-ticket-designer.agent.md +34 -0
- package/kits/github/.github/agents/web-auto-ticket-playbook-creator.agent.md +35 -0
- package/kits/github/.github/agents/web-auto.agent.md +382 -0
- package/kits/github/.github/skills/claude-code-subagent-creator/SKILL.md +310 -0
- package/kits/github/.github/skills/claude-code-subagent-creator/references/claude-code-subagent-configuration.md +158 -0
- package/kits/github/.github/skills/claude-code-subagent-creator/templates/subagent-profile.template.md +37 -0
- package/kits/github/.github/skills/skill-creator/LICENSE.txt +202 -0
- package/kits/github/.github/skills/skill-creator/SKILL.md +485 -0
- package/kits/github/.github/skills/skill-creator/agents/analyzer.md +274 -0
- package/kits/github/.github/skills/skill-creator/agents/comparator.md +202 -0
- package/kits/github/.github/skills/skill-creator/agents/grader.md +223 -0
- package/kits/github/.github/skills/skill-creator/assets/eval_review.html +146 -0
- package/kits/github/.github/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/kits/github/.github/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/kits/github/.github/skills/skill-creator/references/schemas.md +430 -0
- package/kits/github/.github/skills/skill-creator/scripts/__init__.py +0 -0
- package/kits/github/.github/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/kits/github/.github/skills/skill-creator/scripts/generate_report.py +326 -0
- package/kits/github/.github/skills/skill-creator/scripts/improve_description.py +247 -0
- package/kits/github/.github/skills/skill-creator/scripts/package_skill.py +136 -0
- package/kits/github/.github/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/kits/github/.github/skills/skill-creator/scripts/run_eval.py +310 -0
- package/kits/github/.github/skills/skill-creator/scripts/run_loop.py +328 -0
- package/kits/github/.github/skills/skill-creator/scripts/utils.py +47 -0
- package/kits/github/manifest.json +10 -0
- package/kits/shared/docs/ai-code-review.md +440 -0
- package/kits/shared/docs/increase-unit-test-coverage.md +77 -0
- package/kits/shared/docs/pr-review-agent.md +501 -0
- package/kits/shared/docs/self-review-agent.md +246 -0
- package/kits/shared/docs/web-auto-agentic-workflow.md +506 -0
- package/kits/shared/manifest.json +11 -0
- package/kits/shared/skills/fix-automation-tests/SKILL.md +280 -0
- package/kits/shared/skills/fix-automation-tests/scripts/fetch_pr_changes.py +300 -0
- package/kits/shared/skills/fix-automation-tests/templates/impact-report.template.md +42 -0
- package/kits/shared/skills/increase-unit-test-coverage/SKILL.md +117 -0
- package/kits/shared/skills/increase-unit-test-coverage/scripts/filter_low_coverage.py +447 -0
- package/kits/shared/skills/pr-review/SKILL.md +200 -0
- package/kits/shared/skills/pr-review/references/automation.md +62 -0
- package/kits/shared/skills/pr-review/references/backend.md +95 -0
- package/kits/shared/skills/pr-review/references/frontend.md +103 -0
- package/kits/shared/skills/pr-review/references/mobile.md +108 -0
- package/kits/shared/skills/pr-review/references/output-schema.md +130 -0
- package/kits/shared/skills/pr-review/scripts/post-review.py +1395 -0
- package/kits/shared/skills/push-code/SKILL.md +176 -0
- package/kits/shared/skills/self-review/SKILL.md +234 -0
- package/kits/shared/skills/self-review/evals/evals.json +23 -0
- package/kits/shared/skills/self-review/references/automation.md +62 -0
- package/kits/shared/skills/self-review/references/backend.md +95 -0
- package/kits/shared/skills/self-review/references/frontend.md +103 -0
- package/kits/shared/skills/self-review/references/mobile.md +108 -0
- package/kits/shared/skills/self-review/templates/issues.template.md +72 -0
- package/kits/shared/skills/update-feature-document/SKILL.md +156 -0
- package/kits/shared/skills/update-feature-document/templates/delta.template.yaml +58 -0
- package/kits/shared/skills/update-feature-document/templates/feature.template.md +25 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/SKILL.md +130 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/references/resolve-api-error.md +108 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/references/resolve-selector.md +60 -0
- package/kits/shared/skills/web-auto-assisted-fix-and-run/templates/issues-resolution-report-append.template.md +54 -0
- package/kits/shared/skills/web-auto-chrome-devtools-mcp-extract-selectors/SKILL.md +284 -0
- package/kits/shared/skills/web-auto-coding/SKILL.md +152 -0
- package/kits/shared/skills/web-auto-extract-lessons-learned/SKILL.md +168 -0
- package/kits/shared/skills/web-auto-extract-lessons-learned/templates/lessons-learned.template.md +115 -0
- package/kits/shared/skills/web-auto-fe-extract-selectors/SKILL.md +282 -0
- package/kits/shared/skills/web-auto-fe-extract-selectors/evals/evals.json +23 -0
- package/kits/shared/skills/web-auto-fix-and-run-test/SKILL.md +183 -0
- package/kits/shared/skills/web-auto-fix-and-run-test/templates/issues-resolution-report.template.md +77 -0
- package/kits/shared/skills/web-auto-generate-best-practices/SKILL.md +123 -0
- package/kits/shared/skills/web-auto-generate-instructions/SKILL.md +200 -0
- package/kits/shared/skills/web-auto-generate-instructions/evals/evals.json +23 -0
- package/kits/shared/skills/web-auto-generate-instructions/references/analysis-guide.md +145 -0
- package/kits/shared/skills/web-auto-generate-instructions/templates/web-auto-instructions.template.md +184 -0
- package/kits/shared/skills/web-auto-generate-project-blueprint/SKILL.md +181 -0
- package/kits/shared/skills/web-auto-generate-project-blueprint/evals/evals.json +57 -0
- package/kits/shared/skills/web-auto-generate-project-blueprint/templates/web-auto-project-blueprint.template.md +161 -0
- package/kits/shared/skills/web-auto-playwright-mcp-extract-selectors/SKILL.md +293 -0
- package/kits/shared/skills/web-auto-test-cases/SKILL.md +138 -0
- package/kits/shared/skills/web-auto-test-cases/evals/evals.json +129 -0
- package/kits/shared/skills/web-auto-test-cases/templates/test-cases.template.md +53 -0
- package/kits/shared/skills/web-auto-ticket-design/SKILL.md +199 -0
- package/kits/shared/skills/web-auto-ticket-design/templates/ticket-design.template.md +138 -0
- package/kits/shared/skills/web-auto-ticket-playbook/SKILL.md +218 -0
- package/kits/shared/skills/web-auto-ticket-playbook/evals/evals.json +23 -0
- package/kits/shared/skills/web-auto-ticket-playbook/templates/ticket-playbook.template.md +148 -0
- package/kits/shared/skills/web-auto-update-source-instructions/SKILL.md +156 -0
- package/kits/shared/skills/web-auto-update-source-instructions/evals/evals.json +22 -0
- package/kits/shared/skills/workspace-ai-nav-creator/SKILL.md +168 -0
- package/kits/shared/skills/workspace-ai-nav-creator/templates/agents-md.template.md +112 -0
- package/kits/shared/skills/workspace-ai-nav-creator/templates/claude-md.template.md +86 -0
- package/package.json +16 -0
package/README.md
ADDED
|
@@ -0,0 +1,506 @@
|
|
|
1
|
+
# Web Automation Agentic Workflow
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The **Web Automation Agentic Workflow** is a fully orchestrated, end-to-end pipeline for automated web testing — from ticket intake to code deployment. It is designed around a **coordinator-subagent architecture**: a single orchestrator agent (`web-auto`) delegates each stage of work to a specialized subagent, verifies its output, and proceeds to the next stage.
|
|
6
|
+
|
|
7
|
+
The workflow is available across three AI platforms. All agent files are maintained in this design repository under platform-specific folders:
|
|
8
|
+
|
|
9
|
+
| Platform | Source Folder (this repo) | Target Directory (your project) | Agent File Extension |
|
|
10
|
+
|----------|--------------------------|--------------------------------|----------------------|
|
|
11
|
+
| **Cursor** | `cursor-agents/` | `.cursor/agents/` | `.agent.md` |
|
|
12
|
+
| **GitHub Copilot** | `github-copilot-agents/` | `.github/agents/` | `.agent.md` |
|
|
13
|
+
| **Claude Code** | `claude-code-agents/` | `.claude/agents/` | `.md` |
|
|
14
|
+
|
|
15
|
+
### Setup: Copy Agents and Skills to Your Project
|
|
16
|
+
|
|
17
|
+
To enable the workflow in your project, copy the corresponding agent folder and the shared `skills/` folder into the correct directory for your platform:
|
|
18
|
+
|
|
19
|
+
1. **Choose your platform folder** from the table above (e.g., `cursor-agents/` for Cursor)
|
|
20
|
+
2. **Copy all agent files** from that folder into your project's target directory (e.g., `.cursor/agents/`)
|
|
21
|
+
3. **Copy the `skills/` folder** from this design repo into the matching skills directory in your project (e.g., `.cursor/skills/`, `.github/skills/`, or `.claude/skills/`)
|
|
22
|
+
|
|
23
|
+
All platforms share the same agent logic — only the file format and invocation method differ. The workflow consists of **16 specialized agents** that work together in a defined sequence.
|
|
24
|
+
|
|
25
|
+
### What It Does
|
|
26
|
+
|
|
27
|
+
Given a **ticket ID** and its **ticket instruction** (test requirements), the workflow will:
|
|
28
|
+
1. Generate BDD Gherkin test cases
|
|
29
|
+
2. Transform them into an implementation-ready test design
|
|
30
|
+
3. Resolve UI selectors from source code or a live browser
|
|
31
|
+
4. Create a step-by-step implementation playbook
|
|
32
|
+
5. Implement the test code
|
|
33
|
+
6. Self-review the code for issues
|
|
34
|
+
7. Fix issues and run the test (with up to 2 user-assisted retries)
|
|
35
|
+
8. Extract lessons learned
|
|
36
|
+
9. Feed learnings back into project standards
|
|
37
|
+
10. Update feature documentation
|
|
38
|
+
11. Push all changes to Git
|
|
39
|
+
|
|
40
|
+
### Agents at a Glance
|
|
41
|
+
|
|
42
|
+
| Agent | Role |
|
|
43
|
+
|-------|------|
|
|
44
|
+
| `web-auto-agentic-workflow-initializer` | Bootstraps the `.documents-design/` folder with foundational reference files |
|
|
45
|
+
| `web-auto` | Pipeline orchestrator — delegates to all other agents in sequence |
|
|
46
|
+
| `web-auto-test-cases-generator` | Generates BDD Gherkin test cases from ticket instruction |
|
|
47
|
+
| `web-auto-ticket-designer` | Transforms Gherkin into implementation-ready test design |
|
|
48
|
+
| `web-auto-fe-selector-extractor` | Resolves placeholder selectors from front-end source code |
|
|
49
|
+
| `web-auto-chrome-devtools-selector-extractor` | Resolves selectors via Chrome DevTools MCP (live DOM) |
|
|
50
|
+
| `web-auto-playwright-mcp-selector-extractor` | Resolves selectors via Playwright MCP (live DOM) |
|
|
51
|
+
| `web-auto-ticket-playbook-planner` | Creates a task-by-task implementation playbook |
|
|
52
|
+
| `web-auto-coder` | Implements test code from the playbook |
|
|
53
|
+
| `self-reviewer` | Pre-PR code review with severity-categorized issues |
|
|
54
|
+
| `web-auto-fix-and-runner` | Autonomous fix of review issues + single test run |
|
|
55
|
+
| `web-auto-assisted-fix-and-runner` | User-assisted fix when autonomous fix fails |
|
|
56
|
+
| `web-auto-lessons-learned-extractor` | Post-implementation analysis and recommendations |
|
|
57
|
+
| `web-auto-source-instructions-updater` | Feeds lessons back into project standards |
|
|
58
|
+
| `feature-document-updater` | Updates feature-level documentation |
|
|
59
|
+
| `code-pusher` | Pushes all changes to the Git remote |
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## Initialization
|
|
64
|
+
|
|
65
|
+
Before running the main pipeline for the first time, you must initialize the project's reference system. This is a **one-time setup** that creates the foundational documentation files all other agents depend on.
|
|
66
|
+
|
|
67
|
+
### Using the Initializer Agent
|
|
68
|
+
|
|
69
|
+
Invoke the `web-auto-agentic-workflow-initializer` agent:
|
|
70
|
+
|
|
71
|
+
| Platform | How to invoke |
|
|
72
|
+
|----------|---------------|
|
|
73
|
+
| **Cursor** | Type `/web-auto-agentic-workflow-initializer` in chat, then enter: `Initialize the new AI web automation workflow` |
|
|
74
|
+
| **GitHub Copilot** | Select `web-auto-agentic-workflow-initializer` from the agent picker, then enter: `Initialize the new AI web automation workflow` |
|
|
75
|
+
| **Claude Code** | Type `/web-auto-agentic-workflow-initializer` in chat, then enter: `Initialize the new AI web automation workflow` |
|
|
76
|
+
|
|
77
|
+
It will:
|
|
78
|
+
|
|
79
|
+
1. **Create `.documents-design/`** — checks if the folder exists at the repository root and creates it if missing
|
|
80
|
+
2. **Collect best practices** — asks you: _"Do you have any web automation best practices to add? You can paste rules, standards, or anti-patterns in any format — or say **skip** to create an empty file."_ It waits for your response before continuing
|
|
81
|
+
3. **Generate `web-auto-best-practices.md`** — if you provided input, it follows the `web-auto-generate-best-practices` skill to structure and format them; if you skipped, it creates a minimal file with only the heading
|
|
82
|
+
4. **Generate `web-auto-project-blueprint.md`** — follows the `web-auto-generate-project-blueprint` skill to analyze your codebase and document framework, folder structure, selector strategy, and conventions
|
|
83
|
+
5. **Generate `web-auto-instructions.md`** — follows the `web-auto-generate-instructions` skill, using the files from steps 3–4 as context to produce comprehensive coding instructions
|
|
84
|
+
|
|
85
|
+
After completion, you'll see a summary table:
|
|
86
|
+
|
|
87
|
+
| File | Status |
|
|
88
|
+
|------|--------|
|
|
89
|
+
| `.documents-design/web-auto-best-practices.md` | Created |
|
|
90
|
+
| `.documents-design/web-auto-project-blueprint.md` | Created |
|
|
91
|
+
| `.documents-design/web-auto-instructions.md` | Created |
|
|
92
|
+
|
|
93
|
+
**⚠️ Important:** Steps must execute in order — each file is a dependency for the next. Do not skip the user prompt in step 2.
|
|
94
|
+
|
|
95
|
+
### Create `project.config.json` (Manual)
|
|
96
|
+
|
|
97
|
+
After the initializer completes, manually create `.documents-design/project.config.json`. This file defines the base branch, platform settings, repository mapping, and feature flags used by the `self-review` and `pr-review` skills.
|
|
98
|
+
|
|
99
|
+
Example structure:
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"baseBranch": "develop",
|
|
104
|
+
"platform": "gitea",
|
|
105
|
+
"platformConfig": {
|
|
106
|
+
"gitea": {
|
|
107
|
+
"apiUrl": "https://gitea.example.com/api/v1"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"repos": {
|
|
111
|
+
"webAuto": {
|
|
112
|
+
"gitea": { "owner": "org-name", "repo": "webdriver-io" }
|
|
113
|
+
},
|
|
114
|
+
"webApp": {
|
|
115
|
+
"gitea": { "owner": "org-name", "repo": "dashboard" }
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"enableCommentPosting": true,
|
|
119
|
+
"enableNotification": true
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Platform-Specific Setup
|
|
124
|
+
|
|
125
|
+
After running the initializer, you should create the workspace-level AI navigation file appropriate for your platform:
|
|
126
|
+
|
|
127
|
+
#### Cursor / GitHub Copilot → Create `AGENTS.md`
|
|
128
|
+
|
|
129
|
+
Use the `workspace-ai-nav-creator` skill to scan the workspace and generate an `AGENTS.md` file at the workspace root. This file guides the AI to:
|
|
130
|
+
- Navigate to the correct repository for any given task
|
|
131
|
+
- Invoke the correct agents for each workflow step
|
|
132
|
+
- Follow workspace-specific commands, conventions, and documentation rules
|
|
133
|
+
|
|
134
|
+
**Invocation**: Ask the agent to _"Create AGENTS.md for this workspace"_ or _"Generate AGENTS.md for Cursor/Copilot"_.
|
|
135
|
+
|
|
136
|
+
#### Claude Code → Create `CLAUDE.md`
|
|
137
|
+
|
|
138
|
+
Use the `workspace-ai-nav-creator` skill to scan the workspace and generate a `CLAUDE.md` file at the workspace root. This serves the same purpose as `AGENTS.md` but uses Claude Code's instruction format.
|
|
139
|
+
|
|
140
|
+
**Invocation**: Ask the agent to _"Create CLAUDE.md for this workspace"_ or _"Generate CLAUDE.md for Claude Code"_.
|
|
141
|
+
|
|
142
|
+
**📝 Note:** The `workspace-ai-nav-creator` skill automatically detects the target AI system based on existing configuration (`.github/agents/`, `.cursor/agents/`, `.claude/agents/`). If both are detected, it will ask which file to generate.
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## Pipeline Execution — Step by Step
|
|
147
|
+
|
|
148
|
+
Once initialization is complete, the main workflow is triggered by calling the `web-auto` agent with a ticket ID. The orchestrator manages the entire pipeline.
|
|
149
|
+
|
|
150
|
+
### How to Start the Pipeline
|
|
151
|
+
|
|
152
|
+
| Platform | How to invoke |
|
|
153
|
+
|----------|---------------|
|
|
154
|
+
| **Cursor** | Type `/web-auto` in chat, then enter: `Implement ticket TKT-001` |
|
|
155
|
+
| **GitHub Copilot** | Select `web-auto` from the agent picker, then enter: `Implement ticket TKT-001` |
|
|
156
|
+
| **Claude Code** | Type `/web-auto` in chat, then enter: `Implement ticket TKT-001` |
|
|
157
|
+
|
|
158
|
+
Replace `TKT-001` with your actual ticket ID.
|
|
159
|
+
|
|
160
|
+
### Pre-Pipeline: Collect Ticket Instruction
|
|
161
|
+
|
|
162
|
+
After invocation, the orchestrator asks:
|
|
163
|
+
|
|
164
|
+
> _Please provide the ticket instructions for ticket {TICKET_ID}. The ticket may contain one or more test cases — include all of them. Paste the ticket instructions below:_
|
|
165
|
+
|
|
166
|
+
The user pastes the ticket instruction and the pipeline begins.
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
### Step 1: Generate Test Cases
|
|
171
|
+
|
|
172
|
+
| | |
|
|
173
|
+
|---|---|
|
|
174
|
+
| **Subagent** | `web-auto-test-cases-generator` |
|
|
175
|
+
| **Input** | Ticket ID + ticket instruction |
|
|
176
|
+
| **Output** | `.tickets/{TICKET_ID}/test-cases.md` |
|
|
177
|
+
|
|
178
|
+
The test-cases-generator:
|
|
179
|
+
1. Extracts `PARENT_FEATURE` and `CHILD_FEATURE` from the ticket's Feature field
|
|
180
|
+
2. Creates the `.tickets/{TICKET_ID}/` directory
|
|
181
|
+
3. Performs full ticket analysis — extracts all Test Case IDs and maps scenarios 1:1
|
|
182
|
+
4. Generates comprehensive BDD Gherkin content with exact test case IDs, `@cleanup` tags where post-conditions require it, and double-quoted variable data
|
|
183
|
+
5. Saves to `test-cases.md` and reports scenario count
|
|
184
|
+
|
|
185
|
+
**Verification**: The orchestrator confirms that `test-cases.md` was created.
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
### Step 2: Create Test Design
|
|
190
|
+
|
|
191
|
+
| | |
|
|
192
|
+
|---|---|
|
|
193
|
+
| **Subagent** | `web-auto-ticket-designer` |
|
|
194
|
+
| **Input** | Ticket ID (reads `test-cases.md` from ticket directory) |
|
|
195
|
+
| **Output** | `.tickets/{TICKET_ID}/ticket-design.md` |
|
|
196
|
+
|
|
197
|
+
The ticket-designer:
|
|
198
|
+
1. Reads and parses `test-cases.md` — extracts features, test case IDs, key actions, elements, and quoted test data
|
|
199
|
+
2. Deeply searches the codebase for existing Page Objects, element locators, action methods, and API helpers
|
|
200
|
+
3. Builds an internal catalog of all discovered reusable resources
|
|
201
|
+
4. Transforms each Gherkin step using a format selection guide (Format 1–4) based on what exists in the codebase
|
|
202
|
+
5. Saves the design to `ticket-design.md` with a summary of reuse counts and new implementation needs
|
|
203
|
+
|
|
204
|
+
**Verification & Decision**: The orchestrator checks whether the design contains **placeholder selectors** (`<-- Update selector for this element -->`):
|
|
205
|
+
- **Placeholders found** → proceed to Step 3
|
|
206
|
+
- **No placeholders** → skip Step 3, proceed directly to Step 4
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
### Step 3: Resolve Selectors (Conditional)
|
|
211
|
+
|
|
212
|
+
| | |
|
|
213
|
+
|---|---|
|
|
214
|
+
| **Subagent** | Automatically selected (see decision tree below) |
|
|
215
|
+
| **Input** | Ticket ID (reads `ticket-design.md`) |
|
|
216
|
+
| **Output** | Updated `ticket-design.md` with real selectors |
|
|
217
|
+
|
|
218
|
+
This step only executes if Step 2 found placeholder selectors. The orchestrator automatically selects the appropriate subagent:
|
|
219
|
+
|
|
220
|
+
**Selector Agent Decision Tree:**
|
|
221
|
+
|
|
222
|
+
1. **Check** — Does the workspace contain `.tsx`, `.jsx`, or `.vue` files?
|
|
223
|
+
- ✅ **Yes** → Use **`web-auto-fe-selector-extractor`** (search front-end source)
|
|
224
|
+
- After extraction, do placeholders still remain?
|
|
225
|
+
- ✅ **Yes** → Run Chrome DevTools or Playwright MCP extractor as fallback
|
|
226
|
+
- ❌ **No** → Done, proceed to Step 4
|
|
227
|
+
- ❌ **No** → Continue to next check
|
|
228
|
+
2. **Check** — Are `chrome-devtools/*` MCP tools available?
|
|
229
|
+
- ✅ **Yes** → Use **`web-auto-chrome-devtools-selector-extractor`** (live DOM via Chrome)
|
|
230
|
+
- ❌ **No** → Use **`web-auto-playwright-mcp-selector-extractor`** (live DOM via Playwright, default)
|
|
231
|
+
|
|
232
|
+
#### Option A: Front-End Source Extractor (`web-auto-fe-selector-extractor`)
|
|
233
|
+
Searches front-end source code (`.tsx`, `.jsx`, `.vue`) using a funnel strategy: narrow feature-scoped search → dynamic/template patterns → broad fallback → component hierarchy. Confirms each match by reading surrounding code context.
|
|
234
|
+
|
|
235
|
+
#### Option B: Chrome DevTools MCP Extractor (`web-auto-chrome-devtools-selector-extractor`)
|
|
236
|
+
Navigates the live application via Chrome DevTools MCP. Takes accessibility-tree snapshots, uses `evaluate_script` to extract DOM attributes, and picks the best selector per the project's locator priority (data-testid > role+name > aria-label > CSS).
|
|
237
|
+
|
|
238
|
+
#### Option C: Playwright MCP Extractor (`web-auto-playwright-mcp-selector-extractor`)
|
|
239
|
+
Navigates the live app via Playwright MCP. Uses `browser_snapshot` and `browser_run_javascript` to identify elements and extract DOM attributes. Same locator priority strategy as Chrome DevTools.
|
|
240
|
+
|
|
241
|
+
**📝 Note:** All selector extractors only modify `- Selector:` lines in `ticket-design.md` — they never alter the design structure. Unresolvable placeholders are left unchanged and reported.
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
### Step 4: Create Implementation Playbook
|
|
246
|
+
|
|
247
|
+
| | |
|
|
248
|
+
|---|---|
|
|
249
|
+
| **Subagent** | `web-auto-ticket-playbook-planner` |
|
|
250
|
+
| **Input** | Ticket ID (reads `ticket-design.md` + project reference files) |
|
|
251
|
+
| **Output** | `.tickets/{TICKET_ID}/ticket-playbook.md` |
|
|
252
|
+
|
|
253
|
+
The playbook planner:
|
|
254
|
+
1. Reads `ticket-design.md` and all project instruction files (`web-auto-project-blueprint.md`, `web-auto-instructions.md`, `web-auto-best-practices.md`)
|
|
255
|
+
2. Deeply searches the codebase for reusable Page Objects, utilities, fixtures, and reference patterns
|
|
256
|
+
3. Plans implementation tasks in dependency order: **Test Data → API Helpers → Page Object Updates → New Page Objects → Test Scripts**
|
|
257
|
+
4. Validates the dependency graph (no circular deps, correct ordering, all imports covered)
|
|
258
|
+
5. Saves the playbook with enough detail for the coding agent to implement without re-searching the codebase
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
### Step 5: Implement Test Code
|
|
263
|
+
|
|
264
|
+
| | |
|
|
265
|
+
|---|---|
|
|
266
|
+
| **Subagent** | `web-auto-coder` |
|
|
267
|
+
| **Input** | Ticket ID (reads `ticket-playbook.md`) |
|
|
268
|
+
| **Output** | Created/modified source files (Page Objects, test data, API helpers, test scripts) |
|
|
269
|
+
|
|
270
|
+
The coder:
|
|
271
|
+
1. Reads the playbook — extracts all tasks, dependency order, file paths, reference patterns, and conventions
|
|
272
|
+
2. Sorts tasks by dependencies and groups same-file modifications
|
|
273
|
+
3. Executes each task in order: reads context, reads reference pattern, writes code, verifies for errors
|
|
274
|
+
4. Runs final verification: syntax check, import resolution, cross-file consistency, pattern adherence
|
|
275
|
+
5. Reports files created, files modified, and component counts
|
|
276
|
+
|
|
277
|
+
**⚠️ Important:** The playbook is the single source of truth. The coder does not deviate from its tasks, paths, or conventions.
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
### Step 6: Review Code Changes
|
|
282
|
+
|
|
283
|
+
| | |
|
|
284
|
+
|---|---|
|
|
285
|
+
| **Subagent** | `self-reviewer` |
|
|
286
|
+
| **Input** | Ticket ID (analyzes git diff of current branch) |
|
|
287
|
+
| **Output** | `.tickets/{TICKET_ID}/issues.md` |
|
|
288
|
+
|
|
289
|
+
The self-reviewer:
|
|
290
|
+
1. Loads project configuration to determine the target branch and exclude paths
|
|
291
|
+
2. Fetches the target branch and runs a three-dot `git diff` to isolate only the current branch's changes
|
|
292
|
+
3. Identifies the tech stack and loads matching domain checklists + project-specific guidelines
|
|
293
|
+
4. Reviews every change and classifies issues:
|
|
294
|
+
- ❌ **Critical** — real production risks
|
|
295
|
+
- ⚠️ **Warning** — potential problems
|
|
296
|
+
- 💡 **Suggestion** — improvements
|
|
297
|
+
5. Generates `issues.md` with a verdict:
|
|
298
|
+
- ✅ **Ready to Create PR** — zero critical issues
|
|
299
|
+
- ⚠️ **Ready with Warnings** — zero critical, some warnings
|
|
300
|
+
- ❌ **Not Ready for PR** — one or more critical issues
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
|
|
304
|
+
### Step 7: Fix Issues and Run Test (Autonomous)
|
|
305
|
+
|
|
306
|
+
| | |
|
|
307
|
+
|---|---|
|
|
308
|
+
| **Subagent** | `web-auto-fix-and-runner` |
|
|
309
|
+
| **Input** | Ticket ID (reads `issues.md` + `ticket-playbook.md`) |
|
|
310
|
+
| **Output** | `.tickets/{TICKET_ID}/issues-resolution-report.md` + structured result |
|
|
311
|
+
|
|
312
|
+
The fix-and-runner:
|
|
313
|
+
1. Reads `issues.md` — extracts all issues by severity and the test run command
|
|
314
|
+
2. Fixes all issues in priority order: **Critical → Warnings → Suggestions**
|
|
315
|
+
3. Groups same-file fixes to avoid stale-read conflicts
|
|
316
|
+
4. Runs the test command **exactly once** and captures full output
|
|
317
|
+
5. Emits a structured result block:
|
|
318
|
+
- `FIX-AND-RUN RESULT: PASSED` → proceeds to Step 8
|
|
319
|
+
- `FIX-AND-RUN RESULT: FAILED` → proceeds to Step 7B
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
### Step 7B: User-Assisted Fix — Attempt 1 (Conditional)
|
|
324
|
+
|
|
325
|
+
| | |
|
|
326
|
+
|---|---|
|
|
327
|
+
| **Subagent** | `web-auto-assisted-fix-and-runner` |
|
|
328
|
+
| **Condition** | Only runs if Step 7 returned `FAILED` |
|
|
329
|
+
|
|
330
|
+
The orchestrator displays the error to the user and asks:
|
|
331
|
+
|
|
332
|
+
> _Autonomous fix failed for ticket {TICKET_ID}._
|
|
333
|
+
> _Error: {error details}_
|
|
334
|
+
> _Do you have any hints or fixes to try? (Attempt 1/2)_
|
|
335
|
+
|
|
336
|
+
After receiving the user's hint, it invokes the assisted-fix-and-runner, which:
|
|
337
|
+
1. Parses the failure summary and reads what was already tried
|
|
338
|
+
2. Interprets the user hint (direct code change, diagnosis, new context, or broad direction)
|
|
339
|
+
3. Applies the fix and runs the test once
|
|
340
|
+
4. Emits `ASSISTED-RUN RESULT: PASSED` or `FAILED`
|
|
341
|
+
|
|
342
|
+
---
|
|
343
|
+
|
|
344
|
+
### Step 7C: User-Assisted Fix — Attempt 2, Final (Conditional)
|
|
345
|
+
|
|
346
|
+
| | |
|
|
347
|
+
|---|---|
|
|
348
|
+
| **Subagent** | `web-auto-assisted-fix-and-runner` |
|
|
349
|
+
| **Condition** | Only runs if Step 7B returned `FAILED` |
|
|
350
|
+
|
|
351
|
+
Same flow as 7B but this is the **final attempt** (max 2 user-assisted retries). If it still fails, the orchestrator reports the final failure and proceeds to Step 8 anyway.
|
|
352
|
+
|
|
353
|
+
**Fix & Run Retry Flow:**
|
|
354
|
+
|
|
355
|
+
| Stage | Result | Next Action |
|
|
356
|
+
|-------|--------|-------------|
|
|
357
|
+
| Step 7: Autonomous Fix & Run | ✅ PASSED | → Step 8: Lessons Learned |
|
|
358
|
+
| Step 7: Autonomous Fix & Run | ❌ FAILED | → Step 7B: User-Assisted Fix (Attempt 1) |
|
|
359
|
+
| Step 7B: User-Assisted Fix (1/2) | ✅ PASSED | → Step 8: Lessons Learned |
|
|
360
|
+
| Step 7B: User-Assisted Fix (1/2) | ❌ FAILED | → Step 7C: User-Assisted Fix (Attempt 2, Final) |
|
|
361
|
+
| Step 7C: User-Assisted Fix (2/2) | ✅ PASSED | → Step 8: Lessons Learned |
|
|
362
|
+
| Step 7C: User-Assisted Fix (2/2) | ❌ FAILED | → Step 8: Lessons Learned (proceeds anyway, failure noted) |
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
### Step 8: Extract Lessons Learned
|
|
367
|
+
|
|
368
|
+
| | |
|
|
369
|
+
|---|---|
|
|
370
|
+
| **Subagent** | `web-auto-lessons-learned-extractor` |
|
|
371
|
+
| **Input** | Ticket ID (reads `issues.md`, `issues-resolution-report.md`, ticket artifacts, and project standards) |
|
|
372
|
+
| **Output** | `.tickets/{TICKET_ID}/lessons-learned.md` |
|
|
373
|
+
|
|
374
|
+
The lessons-learned extractor:
|
|
375
|
+
1. Reads the review report and resolution report
|
|
376
|
+
2. Analyzes four dimensions: what worked well, challenges encountered, how issues were resolved, recommendations
|
|
377
|
+
3. Deduplicates recommendations against existing project standards — only recommends what's genuinely missing
|
|
378
|
+
4. Focuses on specificity over completeness — precise root causes over generic reports
|
|
379
|
+
5. Failures and user-assisted fixes receive deeper analytical attention
|
|
380
|
+
|
|
381
|
+
---
|
|
382
|
+
|
|
383
|
+
### Step 9: Update Source Instructions
|
|
384
|
+
|
|
385
|
+
| | |
|
|
386
|
+
|---|---|
|
|
387
|
+
| **Subagent** | `web-auto-source-instructions-updater` |
|
|
388
|
+
| **Input** | Ticket ID (reads `lessons-learned.md` + project instruction files) |
|
|
389
|
+
| **Output** | Updated `.documents-design/` files |
|
|
390
|
+
|
|
391
|
+
The source instructions updater:
|
|
392
|
+
1. Extracts recommendations from `lessons-learned.md` grouped by target document
|
|
393
|
+
2. Deduplicates rigorously against existing content — drops already-covered items, reframes partial matches
|
|
394
|
+
3. Flags contradictions for user input (never silently overrides existing content)
|
|
395
|
+
4. Applies surviving recommendations to the appropriate files:
|
|
396
|
+
- **Project Blueprint** ← structural details
|
|
397
|
+
- **Coding Instructions** ← code patterns
|
|
398
|
+
- **Best Practices** ← Do/Don't rows and code examples
|
|
399
|
+
|
|
400
|
+
**💡 Tip:** This step closes the **feedback loop** — lessons from each ticket continuously improve the project's reference system, making future tickets more accurate.
|
|
401
|
+
|
|
402
|
+
---
|
|
403
|
+
|
|
404
|
+
### Step 10: Update Feature Documentation
|
|
405
|
+
|
|
406
|
+
| | |
|
|
407
|
+
|---|---|
|
|
408
|
+
| **Subagent** | `feature-document-updater` |
|
|
409
|
+
| **Input** | Ticket ID (reads all ticket artifacts) |
|
|
410
|
+
| **Output** | Updated `feature.md` and appended `delta.yaml` |
|
|
411
|
+
|
|
412
|
+
The feature document updater:
|
|
413
|
+
1. Identifies the feature path (`PARENT_FEATURE / CHILD_FEATURE`) from ticket artifacts
|
|
414
|
+
2. Extracts ticket data: summary, type, behaviors, files created/modified, test result
|
|
415
|
+
3. Updates or creates `feature.md` — only changes behavioral specs when the ticket reveals new or corrected behaviors
|
|
416
|
+
4. Appends the ticket entry to `delta.yaml` (append-only — never removes or reorders)
|
|
417
|
+
5. Calculates and sets feature status: `draft` / `in-progress` / `complete`
|
|
418
|
+
|
|
419
|
+
---
|
|
420
|
+
|
|
421
|
+
### Step 11: Push Code
|
|
422
|
+
|
|
423
|
+
| | |
|
|
424
|
+
|---|---|
|
|
425
|
+
| **Subagent** | `code-pusher` |
|
|
426
|
+
| **Input** | Ticket ID |
|
|
427
|
+
| **Output** | Git commit and push |
|
|
428
|
+
|
|
429
|
+
The code pusher:
|
|
430
|
+
1. Verifies git identity is configured
|
|
431
|
+
2. Checks for protected branch guards (main, master, develop)
|
|
432
|
+
3. Stages changes and generates a conventional commit message from the diff
|
|
433
|
+
4. Pushes to the remote, setting upstream if needed
|
|
434
|
+
5. Reports: branch, commit hash, file count
|
|
435
|
+
|
|
436
|
+
---
|
|
437
|
+
|
|
438
|
+
## Pipeline Summary
|
|
439
|
+
|
|
440
|
+
Upon completing all steps, the orchestrator displays a final summary:
|
|
441
|
+
|
|
442
|
+
```
|
|
443
|
+
Pipeline Complete for ticket {TICKET_ID}
|
|
444
|
+
|
|
445
|
+
✓ Step 1: Generate Test Cases
|
|
446
|
+
✓ Step 2: Create Test Design
|
|
447
|
+
✓ Step 3: Resolve Selectors (executed - placeholder selectors found)
|
|
448
|
+
✓ Step 4: Create Implementation Playbook
|
|
449
|
+
✓ Step 5: Implement Test Code
|
|
450
|
+
✓ Step 6: Review Code Changes
|
|
451
|
+
✓ Step 7: Fix Issues and Run Test (Autonomous)
|
|
452
|
+
— Step 7B: User-Assisted Fix Attempt 1 (skipped - Step 7 passed)
|
|
453
|
+
— Step 7C: User-Assisted Fix Attempt 2 (skipped - Step 7 passed)
|
|
454
|
+
✓ Step 8: Extract Lessons Learned
|
|
455
|
+
✓ Step 9: Update Source Instructions
|
|
456
|
+
✓ Step 10: Update Feature Documentation
|
|
457
|
+
✓ Step 11: Push Code
|
|
458
|
+
|
|
459
|
+
All changes have been pushed to the repository.
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
## Artifacts Produced Per Ticket
|
|
465
|
+
|
|
466
|
+
All artifacts are stored under `.tickets/{TICKET_ID}/`:
|
|
467
|
+
|
|
468
|
+
| Artifact | Created By | Description |
|
|
469
|
+
|----------|-----------|-------------|
|
|
470
|
+
| `test-cases.md` | Step 1 — test-cases-generator | BDD Gherkin scenarios |
|
|
471
|
+
| `ticket-design.md` | Step 2 — ticket-designer | Implementation-ready test design with selectors |
|
|
472
|
+
| `ticket-playbook.md` | Step 4 — playbook-planner | Task-by-task implementation plan |
|
|
473
|
+
| `issues.md` | Step 6 — self-reviewer | Code review report with severity-categorized issues |
|
|
474
|
+
| `issues-resolution-report.md` | Step 7/7B/7C — fix-and-runner | Fix attempts and test results |
|
|
475
|
+
| `lessons-learned.md` | Step 8 — lessons-learned-extractor | Post-implementation analysis and recommendations |
|
|
476
|
+
|
|
477
|
+
## End-to-End Flow
|
|
478
|
+
|
|
479
|
+
### Initialization (One-time)
|
|
480
|
+
|
|
481
|
+
```
|
|
482
|
+
web-auto-agentic-workflow-initializer
|
|
483
|
+
├── web-auto-best-practices.md
|
|
484
|
+
├── web-auto-project-blueprint.md
|
|
485
|
+
├── web-auto-instructions.md
|
|
486
|
+
└── AGENTS.md / CLAUDE.md (via workspace-ai-nav-creator)
|
|
487
|
+
```
|
|
488
|
+
|
|
489
|
+
### Pipeline (Per Ticket)
|
|
490
|
+
|
|
491
|
+
```
|
|
492
|
+
Ticket ID + Content
|
|
493
|
+
│
|
|
494
|
+
├── 1. Test Cases Generator
|
|
495
|
+
├── 2. Ticket Designer
|
|
496
|
+
├── 3. Resolve Selectors? ─── (if placeholders found) ──→ Selector Extractor
|
|
497
|
+
│ └─ (no placeholders) ──────────────────┐
|
|
498
|
+
├── 4. Playbook Planner ←────────────────────────────────────────┘
|
|
499
|
+
├── 5. Coder
|
|
500
|
+
├── 6. Self-Reviewer
|
|
501
|
+
├── 7. Fix & Run ─── (PASSED) ──→ 8. Lessons Learned
|
|
502
|
+
│ └──── (FAILED) ──→ 7B/7C. Assisted Fix & Run ──→ 8. Lessons Learned
|
|
503
|
+
├── 9. Update Source Instructions
|
|
504
|
+
├── 10. Update Feature Docs
|
|
505
|
+
└── 11. Push Code
|
|
506
|
+
```
|