xforce 0.1.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/dist/cli/index.js +3195 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/index.d.ts +434 -0
- package/dist/index.js +2599 -0
- package/dist/index.js.map +1 -0
- package/package.json +76 -0
- package/templates/issue-templates/bug-fix.yml +55 -0
- package/templates/issue-templates/feature-request.yml +58 -0
- package/templates/issue-templates/refactor.yml +53 -0
- package/templates/xforce.config.example.yaml +45 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
name: "X-Force: Feature Request"
|
|
2
|
+
description: "Automated feature implementation by X-Force"
|
|
3
|
+
labels: ["enhancement"]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: context
|
|
7
|
+
attributes:
|
|
8
|
+
label: Context
|
|
9
|
+
description: "What problem does this solve? Background information."
|
|
10
|
+
placeholder: "Users need the ability to..."
|
|
11
|
+
validations:
|
|
12
|
+
required: true
|
|
13
|
+
|
|
14
|
+
- type: textarea
|
|
15
|
+
id: acceptance-criteria
|
|
16
|
+
attributes:
|
|
17
|
+
label: Acceptance Criteria
|
|
18
|
+
description: "Bullet list of criteria that must be met."
|
|
19
|
+
value: |
|
|
20
|
+
- [ ] Criterion 1
|
|
21
|
+
- [ ] Criterion 2
|
|
22
|
+
validations:
|
|
23
|
+
required: true
|
|
24
|
+
|
|
25
|
+
- type: textarea
|
|
26
|
+
id: affected-files
|
|
27
|
+
attributes:
|
|
28
|
+
label: Affected Files
|
|
29
|
+
description: "Which files/modules should be modified?"
|
|
30
|
+
placeholder: |
|
|
31
|
+
- src/auth/login.ts
|
|
32
|
+
- src/auth/login.test.ts
|
|
33
|
+
validations:
|
|
34
|
+
required: false
|
|
35
|
+
|
|
36
|
+
- type: textarea
|
|
37
|
+
id: edge-cases
|
|
38
|
+
attributes:
|
|
39
|
+
label: Edge Cases
|
|
40
|
+
description: "Edge cases to handle."
|
|
41
|
+
placeholder: |
|
|
42
|
+
- What happens if the user is not authenticated?
|
|
43
|
+
- What if the input is empty?
|
|
44
|
+
validations:
|
|
45
|
+
required: false
|
|
46
|
+
|
|
47
|
+
- type: dropdown
|
|
48
|
+
id: size
|
|
49
|
+
attributes:
|
|
50
|
+
label: Estimated Size
|
|
51
|
+
options:
|
|
52
|
+
- "XS (< 50 lines)"
|
|
53
|
+
- "S (50-150 lines)"
|
|
54
|
+
- "M (150-500 lines)"
|
|
55
|
+
- "L (500-1000 lines)"
|
|
56
|
+
- "XL (1000+ lines)"
|
|
57
|
+
validations:
|
|
58
|
+
required: true
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
name: "X-Force: Refactor"
|
|
2
|
+
description: "Automated refactoring by X-Force"
|
|
3
|
+
labels: ["refactor"]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: context
|
|
7
|
+
attributes:
|
|
8
|
+
label: Context
|
|
9
|
+
description: "Why is this refactoring needed? What's the current problem?"
|
|
10
|
+
placeholder: "The current implementation of X is hard to maintain because..."
|
|
11
|
+
validations:
|
|
12
|
+
required: true
|
|
13
|
+
|
|
14
|
+
- type: textarea
|
|
15
|
+
id: acceptance-criteria
|
|
16
|
+
attributes:
|
|
17
|
+
label: Acceptance Criteria
|
|
18
|
+
description: "What should the refactored code look like?"
|
|
19
|
+
value: |
|
|
20
|
+
- [ ] Code restructured to...
|
|
21
|
+
- [ ] No behavior changes
|
|
22
|
+
- [ ] All existing tests pass
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
|
|
26
|
+
- type: textarea
|
|
27
|
+
id: affected-files
|
|
28
|
+
attributes:
|
|
29
|
+
label: Affected Files
|
|
30
|
+
description: "Which files need refactoring?"
|
|
31
|
+
validations:
|
|
32
|
+
required: true
|
|
33
|
+
|
|
34
|
+
- type: textarea
|
|
35
|
+
id: edge-cases
|
|
36
|
+
attributes:
|
|
37
|
+
label: Edge Cases
|
|
38
|
+
description: "Anything that could break during the refactor?"
|
|
39
|
+
validations:
|
|
40
|
+
required: false
|
|
41
|
+
|
|
42
|
+
- type: dropdown
|
|
43
|
+
id: size
|
|
44
|
+
attributes:
|
|
45
|
+
label: Estimated Size
|
|
46
|
+
options:
|
|
47
|
+
- "XS (< 50 lines)"
|
|
48
|
+
- "S (50-150 lines)"
|
|
49
|
+
- "M (150-500 lines)"
|
|
50
|
+
- "L (500-1000 lines)"
|
|
51
|
+
- "XL (1000+ lines)"
|
|
52
|
+
validations:
|
|
53
|
+
required: true
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
version: "1"
|
|
2
|
+
|
|
3
|
+
defaults:
|
|
4
|
+
model: "claude-sonnet-4-5-20250929"
|
|
5
|
+
reviewerModel: "claude-sonnet-4-5-20250929"
|
|
6
|
+
maxTurns: 25
|
|
7
|
+
maxReviewCycles: 3
|
|
8
|
+
maxTestRetries: 2
|
|
9
|
+
timeoutMinutes: 30
|
|
10
|
+
budgetPerTaskUsd: 5.00
|
|
11
|
+
branchPrefix: "xforce"
|
|
12
|
+
labels:
|
|
13
|
+
ready: "xforce:ready"
|
|
14
|
+
inProgress: "xforce:in-progress"
|
|
15
|
+
done: "xforce:done"
|
|
16
|
+
failed: "xforce:failed"
|
|
17
|
+
allowedTools:
|
|
18
|
+
- Read
|
|
19
|
+
- Write
|
|
20
|
+
- Edit
|
|
21
|
+
- Bash
|
|
22
|
+
- Glob
|
|
23
|
+
- Grep
|
|
24
|
+
|
|
25
|
+
repos:
|
|
26
|
+
- owner: "your-org"
|
|
27
|
+
name: "your-repo"
|
|
28
|
+
defaultBranch: "main"
|
|
29
|
+
testCommand: "npm test"
|
|
30
|
+
lintCommand: "npm run lint"
|
|
31
|
+
buildCommand: "npm run build"
|
|
32
|
+
# Per-repo overrides (optional):
|
|
33
|
+
# maxTurns: 30
|
|
34
|
+
# budgetPerTaskUsd: 8.00
|
|
35
|
+
# autoMerge: false
|
|
36
|
+
|
|
37
|
+
# notifications:
|
|
38
|
+
# slack:
|
|
39
|
+
# webhookUrl: "${SLACK_WEBHOOK_URL}"
|
|
40
|
+
# channels:
|
|
41
|
+
# success: "#dev-pipeline"
|
|
42
|
+
# failure: "#dev-alerts"
|
|
43
|
+
# github:
|
|
44
|
+
# mentionOnFailure:
|
|
45
|
+
# - "@your-org/leads"
|