@recapt/mcp 0.0.18-beta → 0.0.19-beta

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.
@@ -0,0 +1,91 @@
1
+ ---
2
+ on:
3
+ schedule: daily
4
+ workflow_dispatch:
5
+ inputs:
6
+ branch:
7
+ description: "Branch to analyze"
8
+ default: "main"
9
+ max_fixes:
10
+ description: "Maximum issues to fix"
11
+ default: "5"
12
+
13
+ engine: { { ENGINE } }
14
+
15
+ permissions:
16
+ contents: read
17
+ issues: read
18
+ pull-requests: read
19
+ actions: read
20
+
21
+ mcp-servers:
22
+ recapt:
23
+ command: npx
24
+ args: ["@recapt/mcp@latest"]
25
+ env:
26
+ RECAPT_SECRET_KEY: "${{ secrets.RECAPT_SECRET_KEY }}"
27
+ allowed: ["*"]
28
+
29
+ safe-outputs:
30
+ dispatch-workflow:
31
+ workflows:
32
+ - evaluate-worker
33
+ - fix-worker
34
+ max: 10
35
+ ---
36
+
37
+ ## Self-Improvement Orchestrator (Full)
38
+
39
+ You are the orchestrator for the self-improvement workflow with parallel workers. Your job is to:
40
+
41
+ 1. Check and update PR statuses for pending fixes
42
+ 2. Dispatch evaluate-workers for deployed fixes ready for evaluation
43
+ 3. Run diagnostics to find new issues
44
+ 4. Triage and select issues to fix
45
+ 5. Dispatch fix-workers for each selected issue
46
+ 6. Wait for all workers to complete
47
+ 7. Generate a summary and complete the improvement run
48
+
49
+ ### Important: Autonomous Mode
50
+
51
+ You are running in a GitHub Actions sandbox with NO human interaction possible. You must:
52
+
53
+ - **Never wait for user input** - Make all decisions autonomously
54
+ - **Never ask questions** - Proceed with reasonable defaults
55
+ - **Complete all work in one run** - There is no "check back later"
56
+ - **Dispatch workers for parallel execution** - Don't fix issues yourself
57
+
58
+ {{DOMAIN_CONFIG}}
59
+
60
+ ### Context
61
+
62
+ Get recent changes to understand what might have introduced issues:
63
+
64
+ ```bash
65
+ git log --since="24 hours ago" --oneline
66
+ ```
67
+
68
+ ### Workflow
69
+
70
+ Follow the self-improvement orchestrator workflow. The recapt MCP server is connected and provides all necessary tools.
71
+
72
+ The workflow covers:
73
+
74
+ 1. Starting an improvement run to track progress
75
+ 2. Checking PR statuses for waiting fixes
76
+ 3. Dispatching evaluate-workers for deployed fixes
77
+ 4. Running diagnostics to find current UX issues
78
+ 5. Triaging and selecting high-priority issues
79
+ 6. Dispatching fix-workers (one per issue, parallel execution)
80
+ 7. Waiting for all workers to complete
81
+ 8. Generating summary and completing the run
82
+
83
+ ### Output
84
+
85
+ Summarize the run:
86
+
87
+ 1. **PR Status Updates**: How many PRs were checked, merged, dismissed
88
+ 2. **Evaluations**: How many fixes were evaluated, results
89
+ 3. **Diagnostics**: Site health score, key findings
90
+ 4. **Fixes Dispatched**: Which issues are being fixed by workers
91
+ 5. **Deferred/Dismissed**: Which issues were skipped and why
@@ -6,6 +6,9 @@ on:
6
6
  branch:
7
7
  description: "Branch to analyze"
8
8
  default: "main"
9
+ max_fixes:
10
+ description: "Maximum issues to fix"
11
+ default: "3"
9
12
 
10
13
  engine: { { ENGINE } }
11
14
 
@@ -28,11 +31,12 @@ safe-outputs:
28
31
  labels: [automated, ux-fix]
29
32
  base-branch: main
30
33
  draft: true
34
+ max: 1
31
35
  ---
32
36
 
33
- ## Self-Improvement UX Fixes
37
+ ## Self-Improvement (Lite)
34
38
 
35
- You are a UX engineer using recapt behavioral intelligence to automatically detect and fix user friction points.
39
+ You are a UX engineer using recapt behavioral intelligence to automatically detect and fix user friction points. This is the **lite** variant - you fix issues directly (no worker dispatch) and create a single PR with all changes.
36
40
 
37
41
  ### Important: Autonomous Mode
38
42
 
@@ -41,9 +45,8 @@ You are running in a GitHub Actions sandbox with NO human interaction possible.
41
45
  - **Never wait for user input** - Make all decisions autonomously
42
46
  - **Never ask questions** - Proceed with reasonable defaults
43
47
  - **Complete all work in one run** - There is no "check back later"
44
- - **Always track fixes** - Call `confirm_deployment` for every fix without asking
45
- - **Triage autonomously** - Fix high-confidence issues, skip ambiguous ones (document skipped issues in the PR)
46
- - **If data is insufficient** - Note it in the PR and proceed with available information
48
+ - **Fix issues directly** - Do NOT dispatch workers, implement fixes yourself
49
+ - **Create one PR** - All fixes go into a single pull request
47
50
 
48
51
  {{DOMAIN_CONFIG}}
49
52
 
@@ -57,19 +60,20 @@ git log --since="24 hours ago" --oneline
57
60
 
58
61
  ### Workflow
59
62
 
60
- Follow the self-improvement workflow defined in `.agents/recapt/self-improvement.md`. The recapt MCP server is connected and provides all necessary tools.
63
+ Follow the self-improvement workflow. The recapt MCP server is connected and provides all necessary tools.
61
64
 
62
65
  The workflow covers:
63
66
 
64
67
  1. Checking and evaluating any pending fixes from previous runs
65
68
  2. Running diagnostics to find current UX issues
66
69
  3. Investigating and triaging high-priority issues
67
- 4. Implementing code fixes for actionable issues
68
- 5. Tracking fixes for future evaluation
70
+ 4. Implementing code fixes for actionable issues (sequentially)
71
+ 5. Creating a single PR with all fixes
72
+ 6. Tracking fixes for future evaluation
69
73
 
70
74
  ### Output
71
75
 
72
- Create a pull request containing:
76
+ Create a single pull request containing:
73
77
 
74
78
  - Evaluation results for any previously deployed fixes (improved/regressed/no change)
75
79
  - New issues discovered and fixes implemented