@renseiai/agentfactory 0.8.5 → 0.8.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parse-work-result.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/parse-work-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"parse-work-result.d.ts","sourceRoot":"","sources":["../../../src/orchestrator/parse-work-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAuGjD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAC7B,aAAa,EAAE,MAAM,GAAG,SAAS,EACjC,QAAQ,EAAE,aAAa,GACtB,eAAe,CAyCjB"}
|
|
@@ -28,6 +28,8 @@ const QA_PASS_PATTERNS = [
|
|
|
28
28
|
/\bAPPROVED\s+FOR\s+MERGE\b/i,
|
|
29
29
|
// "all checks passed" — agent confirmed all checks passed
|
|
30
30
|
/\ball\s+checks\s+passed\b/i,
|
|
31
|
+
// "QA Coordination Complete" / "QA Complete" — inline text (not heading)
|
|
32
|
+
/\bQA\s+(?:Coordination\s+)?Complete\b/i,
|
|
31
33
|
];
|
|
32
34
|
const QA_FAIL_PATTERNS = [
|
|
33
35
|
// Heading patterns
|
|
@@ -118,6 +118,15 @@ describe('parseWorkResult', () => {
|
|
|
118
118
|
it('detects "all checks passed" as pass', () => {
|
|
119
119
|
expect(parseWorkResult('The report was posted to Linear and all checks passed.', 'qa')).toBe('passed');
|
|
120
120
|
});
|
|
121
|
+
it('detects "QA Coordination Complete" inline text as pass', () => {
|
|
122
|
+
expect(parseWorkResult('QA Coordination Complete for SUP-1145\n\nFound and fixed 2 blocking rework issues.', 'qa-coordination')).toBe('passed');
|
|
123
|
+
});
|
|
124
|
+
it('detects "QA Complete" inline text as pass', () => {
|
|
125
|
+
expect(parseWorkResult('QA Complete — all sub-issues verified.', 'qa')).toBe('passed');
|
|
126
|
+
});
|
|
127
|
+
it('fail patterns take precedence over "QA Complete" when fail indicators present', () => {
|
|
128
|
+
expect(parseWorkResult('## QA Complete\n\nStatus: 3 Issues Found\n\nQA Coordination Complete', 'qa-coordination')).toBe('failed');
|
|
129
|
+
});
|
|
121
130
|
});
|
|
122
131
|
// Acceptance heuristic pattern tests
|
|
123
132
|
describe('acceptance heuristic patterns', () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@renseiai/agentfactory",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Multi-agent fleet management for coding agents — orchestrator, providers, crash recovery",
|
|
6
6
|
"author": "Rensei AI (https://rensei.ai)",
|
|
@@ -50,13 +50,13 @@
|
|
|
50
50
|
"handlebars": "^4.7.8",
|
|
51
51
|
"yaml": "^2.8.2",
|
|
52
52
|
"zod": "^4.3.6",
|
|
53
|
-
"@renseiai/agentfactory-linear": "0.8.
|
|
53
|
+
"@renseiai/agentfactory-linear": "0.8.6"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/node": "^22.5.4",
|
|
57
57
|
"typescript": "^5.7.3",
|
|
58
58
|
"vitest": "^3.2.3",
|
|
59
|
-
"@renseiai/create-agentfactory-app": "0.8.
|
|
59
|
+
"@renseiai/create-agentfactory-app": "0.8.6"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "tsc",
|