@bonesofspring/ai-rules 0.2.38 → 0.2.39
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/CHANGELOG.md +249 -6
- package/package.json +1 -1
- package/presets/_shared/ai-local/scripts/derive-gate-signals.mjs +4 -6
- package/presets/_shared/ai-local/scripts/efficacy-oracle.mjs +5 -0
- package/presets/_shared/ai-local/scripts/lock.mjs +101 -73
- package/presets/_shared/ai-local/scripts/rule-improver.mjs +1 -1
- package/presets/_shared/ai-local/scripts/run.mjs +13 -4
- package/presets/_shared/ai-local/scripts/signals.mjs +38 -8
- package/presets/_shared/hooks/chain-team-phases.sh.tmpl +4 -5
- package/presets/_shared/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/android-kotlin/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/android-kotlin/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/go/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/go/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/ios-swift/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/ios-swift/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/java/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/java/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/mcp-ts/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/mcp-ts/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/next/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/next/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/nuxt/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/nuxt/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/php-hexagonal/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/php-hexagonal/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/php-laravel/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/php-laravel/hooks/check-preset-update.mjs +1 -1
- package/presets/claude/svelte/hooks/chain-team-phases.sh +4 -5
- package/presets/claude/svelte/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/android-kotlin/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/android-kotlin/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/go/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/go/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/ios-swift/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/ios-swift/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/java/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/java/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/mcp-ts/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/mcp-ts/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/next/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/next/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/nuxt/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/nuxt/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/php-hexagonal/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/php-hexagonal/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/php-laravel/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/php-laravel/hooks/check-preset-update.mjs +1 -1
- package/presets/cursor/svelte/hooks/chain-team-phases.sh +4 -5
- package/presets/cursor/svelte/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/android-kotlin/adapter-map.json +1 -1
- package/presets/mavis/android-kotlin/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/android-kotlin/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/go/adapter-map.json +1 -1
- package/presets/mavis/go/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/go/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/ios-swift/adapter-map.json +1 -1
- package/presets/mavis/ios-swift/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/ios-swift/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/java/adapter-map.json +1 -1
- package/presets/mavis/java/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/java/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/mcp-ts/adapter-map.json +1 -1
- package/presets/mavis/mcp-ts/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/mcp-ts/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/next/adapter-map.json +1 -1
- package/presets/mavis/next/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/next/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/nuxt/adapter-map.json +1 -1
- package/presets/mavis/nuxt/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/nuxt/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/php-hexagonal/adapter-map.json +1 -1
- package/presets/mavis/php-hexagonal/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/php-hexagonal/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/php-laravel/adapter-map.json +1 -1
- package/presets/mavis/php-laravel/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/php-laravel/hooks/check-preset-update.mjs +1 -1
- package/presets/mavis/svelte/adapter-map.json +1 -1
- package/presets/mavis/svelte/hooks/chain-team-phases.sh +4 -5
- package/presets/mavis/svelte/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/android-kotlin/adapter-map.json +1 -1
- package/presets/opencode/android-kotlin/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/android-kotlin/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/go/adapter-map.json +1 -1
- package/presets/opencode/go/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/go/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/ios-swift/adapter-map.json +1 -1
- package/presets/opencode/ios-swift/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/ios-swift/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/java/adapter-map.json +1 -1
- package/presets/opencode/java/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/java/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/mcp-ts/adapter-map.json +1 -1
- package/presets/opencode/mcp-ts/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/mcp-ts/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/next/adapter-map.json +1 -1
- package/presets/opencode/next/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/next/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/nuxt/adapter-map.json +1 -1
- package/presets/opencode/nuxt/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/nuxt/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/php-hexagonal/adapter-map.json +1 -1
- package/presets/opencode/php-hexagonal/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/php-hexagonal/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/php-laravel/adapter-map.json +1 -1
- package/presets/opencode/php-laravel/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/php-laravel/hooks/check-preset-update.mjs +1 -1
- package/presets/opencode/svelte/adapter-map.json +1 -1
- package/presets/opencode/svelte/hooks/chain-team-phases.sh +4 -5
- package/presets/opencode/svelte/hooks/check-preset-update.mjs +1 -1
|
@@ -439,6 +439,10 @@ function completePipeline(statusPatch) {
|
|
|
439
439
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
440
440
|
process.exit(0);
|
|
441
441
|
}
|
|
442
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
443
|
+
// above and must not be counted as a finished task.
|
|
444
|
+
status.state = 'completed';
|
|
445
|
+
completeTaskMetrics();
|
|
442
446
|
writeStatus(statusPatch);
|
|
443
447
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
444
448
|
process.exit(0);
|
|
@@ -950,7 +954,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
950
954
|
if (dispatchReadyWave()) process.exit(0);
|
|
951
955
|
if (pendingStepIndexes().length === 0) {
|
|
952
956
|
status.state = 'completed';
|
|
953
|
-
completeTaskMetrics();
|
|
954
957
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
955
958
|
}
|
|
956
959
|
out(noProgressNotice());
|
|
@@ -976,7 +979,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
976
979
|
// Gate on the final step: no executable step remains. Complete the
|
|
977
980
|
// pipeline instead of leaving it in_progress forever.
|
|
978
981
|
status.state = 'completed';
|
|
979
|
-
completeTaskMetrics();
|
|
980
982
|
completePipeline({
|
|
981
983
|
pipelineIndex: resumeSteps.length,
|
|
982
984
|
phase: 'done',
|
|
@@ -1287,7 +1289,6 @@ if (waveIndexes) {
|
|
|
1287
1289
|
process.exit(0);
|
|
1288
1290
|
}
|
|
1289
1291
|
if (pendingStepIndexes().length === 0) {
|
|
1290
|
-
completeTaskMetrics();
|
|
1291
1292
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1292
1293
|
}
|
|
1293
1294
|
out(noProgressNotice());
|
|
@@ -1401,7 +1402,6 @@ if (isGraphMode()) {
|
|
|
1401
1402
|
}
|
|
1402
1403
|
if (dispatchReadyWave()) process.exit(0);
|
|
1403
1404
|
if (pendingStepIndexes().length === 0) {
|
|
1404
|
-
completeTaskMetrics();
|
|
1405
1405
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1406
1406
|
}
|
|
1407
1407
|
out(noProgressNotice());
|
|
@@ -1410,7 +1410,6 @@ if (isGraphMode()) {
|
|
|
1410
1410
|
|
|
1411
1411
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1412
1412
|
if (!next) {
|
|
1413
|
-
completeTaskMetrics();
|
|
1414
1413
|
completePipeline({
|
|
1415
1414
|
pipelineIndex: steps.length,
|
|
1416
1415
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "mavis",
|
|
4
4
|
"stack": "svelte",
|
|
5
5
|
"semanticSource": "cursor/svelte",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "283718e2b0e8f361c6db80ffccd5009928888d1f8f5b6678587899f26d3f5907",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -439,6 +439,10 @@ function completePipeline(statusPatch) {
|
|
|
439
439
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
440
440
|
process.exit(0);
|
|
441
441
|
}
|
|
442
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
443
|
+
// above and must not be counted as a finished task.
|
|
444
|
+
status.state = 'completed';
|
|
445
|
+
completeTaskMetrics();
|
|
442
446
|
writeStatus(statusPatch);
|
|
443
447
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
444
448
|
process.exit(0);
|
|
@@ -952,7 +956,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
952
956
|
if (dispatchReadyWave()) process.exit(0);
|
|
953
957
|
if (pendingStepIndexes().length === 0) {
|
|
954
958
|
status.state = 'completed';
|
|
955
|
-
completeTaskMetrics();
|
|
956
959
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
957
960
|
}
|
|
958
961
|
out(noProgressNotice());
|
|
@@ -978,7 +981,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
978
981
|
// Gate on the final step: no executable step remains. Complete the
|
|
979
982
|
// pipeline instead of leaving it in_progress forever.
|
|
980
983
|
status.state = 'completed';
|
|
981
|
-
completeTaskMetrics();
|
|
982
984
|
completePipeline({
|
|
983
985
|
pipelineIndex: resumeSteps.length,
|
|
984
986
|
phase: 'done',
|
|
@@ -1289,7 +1291,6 @@ if (waveIndexes) {
|
|
|
1289
1291
|
process.exit(0);
|
|
1290
1292
|
}
|
|
1291
1293
|
if (pendingStepIndexes().length === 0) {
|
|
1292
|
-
completeTaskMetrics();
|
|
1293
1294
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1294
1295
|
}
|
|
1295
1296
|
out(noProgressNotice());
|
|
@@ -1403,7 +1404,6 @@ if (isGraphMode()) {
|
|
|
1403
1404
|
}
|
|
1404
1405
|
if (dispatchReadyWave()) process.exit(0);
|
|
1405
1406
|
if (pendingStepIndexes().length === 0) {
|
|
1406
|
-
completeTaskMetrics();
|
|
1407
1407
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1408
1408
|
}
|
|
1409
1409
|
out(noProgressNotice());
|
|
@@ -1412,7 +1412,6 @@ if (isGraphMode()) {
|
|
|
1412
1412
|
|
|
1413
1413
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1414
1414
|
if (!next) {
|
|
1415
|
-
completeTaskMetrics();
|
|
1416
1415
|
completePipeline({
|
|
1417
1416
|
pipelineIndex: steps.length,
|
|
1418
1417
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "android-kotlin",
|
|
5
5
|
"semanticSource": "cursor/android-kotlin",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "bf22848d615dac0ff0fd426c21aa158473945f48724f549eceff93457f2d4cbd",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -439,6 +439,10 @@ function completePipeline(statusPatch) {
|
|
|
439
439
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
440
440
|
process.exit(0);
|
|
441
441
|
}
|
|
442
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
443
|
+
// above and must not be counted as a finished task.
|
|
444
|
+
status.state = 'completed';
|
|
445
|
+
completeTaskMetrics();
|
|
442
446
|
writeStatus(statusPatch);
|
|
443
447
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
444
448
|
process.exit(0);
|
|
@@ -954,7 +958,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
954
958
|
if (dispatchReadyWave()) process.exit(0);
|
|
955
959
|
if (pendingStepIndexes().length === 0) {
|
|
956
960
|
status.state = 'completed';
|
|
957
|
-
completeTaskMetrics();
|
|
958
961
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
959
962
|
}
|
|
960
963
|
out(noProgressNotice());
|
|
@@ -980,7 +983,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
980
983
|
// Gate on the final step: no executable step remains. Complete the
|
|
981
984
|
// pipeline instead of leaving it in_progress forever.
|
|
982
985
|
status.state = 'completed';
|
|
983
|
-
completeTaskMetrics();
|
|
984
986
|
completePipeline({
|
|
985
987
|
pipelineIndex: resumeSteps.length,
|
|
986
988
|
phase: 'done',
|
|
@@ -1291,7 +1293,6 @@ if (waveIndexes) {
|
|
|
1291
1293
|
process.exit(0);
|
|
1292
1294
|
}
|
|
1293
1295
|
if (pendingStepIndexes().length === 0) {
|
|
1294
|
-
completeTaskMetrics();
|
|
1295
1296
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1296
1297
|
}
|
|
1297
1298
|
out(noProgressNotice());
|
|
@@ -1405,7 +1406,6 @@ if (isGraphMode()) {
|
|
|
1405
1406
|
}
|
|
1406
1407
|
if (dispatchReadyWave()) process.exit(0);
|
|
1407
1408
|
if (pendingStepIndexes().length === 0) {
|
|
1408
|
-
completeTaskMetrics();
|
|
1409
1409
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1410
1410
|
}
|
|
1411
1411
|
out(noProgressNotice());
|
|
@@ -1414,7 +1414,6 @@ if (isGraphMode()) {
|
|
|
1414
1414
|
|
|
1415
1415
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1416
1416
|
if (!next) {
|
|
1417
|
-
completeTaskMetrics();
|
|
1418
1417
|
completePipeline({
|
|
1419
1418
|
pipelineIndex: steps.length,
|
|
1420
1419
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "go",
|
|
5
5
|
"semanticSource": "cursor/go",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "37f38ab289bae8eb8cdd5ecf5f66a26ccf9eaf1ba925f547e3f48ee923bac923",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -438,6 +438,10 @@ function completePipeline(statusPatch) {
|
|
|
438
438
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
439
439
|
process.exit(0);
|
|
440
440
|
}
|
|
441
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
442
|
+
// above and must not be counted as a finished task.
|
|
443
|
+
status.state = 'completed';
|
|
444
|
+
completeTaskMetrics();
|
|
441
445
|
writeStatus(statusPatch);
|
|
442
446
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
443
447
|
process.exit(0);
|
|
@@ -949,7 +953,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
949
953
|
if (dispatchReadyWave()) process.exit(0);
|
|
950
954
|
if (pendingStepIndexes().length === 0) {
|
|
951
955
|
status.state = 'completed';
|
|
952
|
-
completeTaskMetrics();
|
|
953
956
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
954
957
|
}
|
|
955
958
|
out(noProgressNotice());
|
|
@@ -975,7 +978,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
975
978
|
// Gate on the final step: no executable step remains. Complete the
|
|
976
979
|
// pipeline instead of leaving it in_progress forever.
|
|
977
980
|
status.state = 'completed';
|
|
978
|
-
completeTaskMetrics();
|
|
979
981
|
completePipeline({
|
|
980
982
|
pipelineIndex: resumeSteps.length,
|
|
981
983
|
phase: 'done',
|
|
@@ -1286,7 +1288,6 @@ if (waveIndexes) {
|
|
|
1286
1288
|
process.exit(0);
|
|
1287
1289
|
}
|
|
1288
1290
|
if (pendingStepIndexes().length === 0) {
|
|
1289
|
-
completeTaskMetrics();
|
|
1290
1291
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1291
1292
|
}
|
|
1292
1293
|
out(noProgressNotice());
|
|
@@ -1400,7 +1401,6 @@ if (isGraphMode()) {
|
|
|
1400
1401
|
}
|
|
1401
1402
|
if (dispatchReadyWave()) process.exit(0);
|
|
1402
1403
|
if (pendingStepIndexes().length === 0) {
|
|
1403
|
-
completeTaskMetrics();
|
|
1404
1404
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1405
1405
|
}
|
|
1406
1406
|
out(noProgressNotice());
|
|
@@ -1409,7 +1409,6 @@ if (isGraphMode()) {
|
|
|
1409
1409
|
|
|
1410
1410
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1411
1411
|
if (!next) {
|
|
1412
|
-
completeTaskMetrics();
|
|
1413
1412
|
completePipeline({
|
|
1414
1413
|
pipelineIndex: steps.length,
|
|
1415
1414
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "ios-swift",
|
|
5
5
|
"semanticSource": "cursor/ios-swift",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "3454e847a234afeddf72aebed717978a6d7d6a44015b014b7fd5dabdafc56b0b",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -439,6 +439,10 @@ function completePipeline(statusPatch) {
|
|
|
439
439
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
440
440
|
process.exit(0);
|
|
441
441
|
}
|
|
442
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
443
|
+
// above and must not be counted as a finished task.
|
|
444
|
+
status.state = 'completed';
|
|
445
|
+
completeTaskMetrics();
|
|
442
446
|
writeStatus(statusPatch);
|
|
443
447
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
444
448
|
process.exit(0);
|
|
@@ -954,7 +958,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
954
958
|
if (dispatchReadyWave()) process.exit(0);
|
|
955
959
|
if (pendingStepIndexes().length === 0) {
|
|
956
960
|
status.state = 'completed';
|
|
957
|
-
completeTaskMetrics();
|
|
958
961
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
959
962
|
}
|
|
960
963
|
out(noProgressNotice());
|
|
@@ -980,7 +983,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
980
983
|
// Gate on the final step: no executable step remains. Complete the
|
|
981
984
|
// pipeline instead of leaving it in_progress forever.
|
|
982
985
|
status.state = 'completed';
|
|
983
|
-
completeTaskMetrics();
|
|
984
986
|
completePipeline({
|
|
985
987
|
pipelineIndex: resumeSteps.length,
|
|
986
988
|
phase: 'done',
|
|
@@ -1291,7 +1293,6 @@ if (waveIndexes) {
|
|
|
1291
1293
|
process.exit(0);
|
|
1292
1294
|
}
|
|
1293
1295
|
if (pendingStepIndexes().length === 0) {
|
|
1294
|
-
completeTaskMetrics();
|
|
1295
1296
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1296
1297
|
}
|
|
1297
1298
|
out(noProgressNotice());
|
|
@@ -1405,7 +1406,6 @@ if (isGraphMode()) {
|
|
|
1405
1406
|
}
|
|
1406
1407
|
if (dispatchReadyWave()) process.exit(0);
|
|
1407
1408
|
if (pendingStepIndexes().length === 0) {
|
|
1408
|
-
completeTaskMetrics();
|
|
1409
1409
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1410
1410
|
}
|
|
1411
1411
|
out(noProgressNotice());
|
|
@@ -1414,7 +1414,6 @@ if (isGraphMode()) {
|
|
|
1414
1414
|
|
|
1415
1415
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1416
1416
|
if (!next) {
|
|
1417
|
-
completeTaskMetrics();
|
|
1418
1417
|
completePipeline({
|
|
1419
1418
|
pipelineIndex: steps.length,
|
|
1420
1419
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "java",
|
|
5
5
|
"semanticSource": "cursor/java",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "7974ffb948df1b45c821fdfdf2349b4d47347b7d0a0fd76e467eb89a19b1e2df",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -438,6 +438,10 @@ function completePipeline(statusPatch) {
|
|
|
438
438
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
439
439
|
process.exit(0);
|
|
440
440
|
}
|
|
441
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
442
|
+
// above and must not be counted as a finished task.
|
|
443
|
+
status.state = 'completed';
|
|
444
|
+
completeTaskMetrics();
|
|
441
445
|
writeStatus(statusPatch);
|
|
442
446
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
443
447
|
process.exit(0);
|
|
@@ -949,7 +953,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
949
953
|
if (dispatchReadyWave()) process.exit(0);
|
|
950
954
|
if (pendingStepIndexes().length === 0) {
|
|
951
955
|
status.state = 'completed';
|
|
952
|
-
completeTaskMetrics();
|
|
953
956
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
954
957
|
}
|
|
955
958
|
out(noProgressNotice());
|
|
@@ -975,7 +978,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
975
978
|
// Gate on the final step: no executable step remains. Complete the
|
|
976
979
|
// pipeline instead of leaving it in_progress forever.
|
|
977
980
|
status.state = 'completed';
|
|
978
|
-
completeTaskMetrics();
|
|
979
981
|
completePipeline({
|
|
980
982
|
pipelineIndex: resumeSteps.length,
|
|
981
983
|
phase: 'done',
|
|
@@ -1286,7 +1288,6 @@ if (waveIndexes) {
|
|
|
1286
1288
|
process.exit(0);
|
|
1287
1289
|
}
|
|
1288
1290
|
if (pendingStepIndexes().length === 0) {
|
|
1289
|
-
completeTaskMetrics();
|
|
1290
1291
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1291
1292
|
}
|
|
1292
1293
|
out(noProgressNotice());
|
|
@@ -1400,7 +1401,6 @@ if (isGraphMode()) {
|
|
|
1400
1401
|
}
|
|
1401
1402
|
if (dispatchReadyWave()) process.exit(0);
|
|
1402
1403
|
if (pendingStepIndexes().length === 0) {
|
|
1403
|
-
completeTaskMetrics();
|
|
1404
1404
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1405
1405
|
}
|
|
1406
1406
|
out(noProgressNotice());
|
|
@@ -1409,7 +1409,6 @@ if (isGraphMode()) {
|
|
|
1409
1409
|
|
|
1410
1410
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1411
1411
|
if (!next) {
|
|
1412
|
-
completeTaskMetrics();
|
|
1413
1412
|
completePipeline({
|
|
1414
1413
|
pipelineIndex: steps.length,
|
|
1415
1414
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "mcp-ts",
|
|
5
5
|
"semanticSource": "cursor/mcp-ts",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "329548269ad897016855e746f1d01fc39c0a6afc224d8f905ef96933db034474",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -426,6 +426,10 @@ function completePipeline(statusPatch) {
|
|
|
426
426
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
427
427
|
process.exit(0);
|
|
428
428
|
}
|
|
429
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
430
|
+
// above and must not be counted as a finished task.
|
|
431
|
+
status.state = 'completed';
|
|
432
|
+
completeTaskMetrics();
|
|
429
433
|
writeStatus(statusPatch);
|
|
430
434
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
431
435
|
process.exit(0);
|
|
@@ -896,7 +900,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
896
900
|
if (dispatchReadyWave()) process.exit(0);
|
|
897
901
|
if (pendingStepIndexes().length === 0) {
|
|
898
902
|
status.state = 'completed';
|
|
899
|
-
completeTaskMetrics();
|
|
900
903
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
901
904
|
}
|
|
902
905
|
out(noProgressNotice());
|
|
@@ -922,7 +925,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
922
925
|
// Gate on the final step: no executable step remains. Complete the
|
|
923
926
|
// pipeline instead of leaving it in_progress forever.
|
|
924
927
|
status.state = 'completed';
|
|
925
|
-
completeTaskMetrics();
|
|
926
928
|
completePipeline({
|
|
927
929
|
pipelineIndex: resumeSteps.length,
|
|
928
930
|
phase: 'done',
|
|
@@ -1233,7 +1235,6 @@ if (waveIndexes) {
|
|
|
1233
1235
|
process.exit(0);
|
|
1234
1236
|
}
|
|
1235
1237
|
if (pendingStepIndexes().length === 0) {
|
|
1236
|
-
completeTaskMetrics();
|
|
1237
1238
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1238
1239
|
}
|
|
1239
1240
|
out(noProgressNotice());
|
|
@@ -1347,7 +1348,6 @@ if (isGraphMode()) {
|
|
|
1347
1348
|
}
|
|
1348
1349
|
if (dispatchReadyWave()) process.exit(0);
|
|
1349
1350
|
if (pendingStepIndexes().length === 0) {
|
|
1350
|
-
completeTaskMetrics();
|
|
1351
1351
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1352
1352
|
}
|
|
1353
1353
|
out(noProgressNotice());
|
|
@@ -1356,7 +1356,6 @@ if (isGraphMode()) {
|
|
|
1356
1356
|
|
|
1357
1357
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1358
1358
|
if (!next) {
|
|
1359
|
-
completeTaskMetrics();
|
|
1360
1359
|
completePipeline({
|
|
1361
1360
|
pipelineIndex: steps.length,
|
|
1362
1361
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "next",
|
|
5
5
|
"semanticSource": "cursor/next",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "a7d30403a9807f23d255d82753acba65888c934ed72ec6300da6f00ba00e0d89",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -439,6 +439,10 @@ function completePipeline(statusPatch) {
|
|
|
439
439
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
440
440
|
process.exit(0);
|
|
441
441
|
}
|
|
442
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
443
|
+
// above and must not be counted as a finished task.
|
|
444
|
+
status.state = 'completed';
|
|
445
|
+
completeTaskMetrics();
|
|
442
446
|
writeStatus(statusPatch);
|
|
443
447
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
444
448
|
process.exit(0);
|
|
@@ -952,7 +956,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
952
956
|
if (dispatchReadyWave()) process.exit(0);
|
|
953
957
|
if (pendingStepIndexes().length === 0) {
|
|
954
958
|
status.state = 'completed';
|
|
955
|
-
completeTaskMetrics();
|
|
956
959
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
957
960
|
}
|
|
958
961
|
out(noProgressNotice());
|
|
@@ -978,7 +981,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
978
981
|
// Gate on the final step: no executable step remains. Complete the
|
|
979
982
|
// pipeline instead of leaving it in_progress forever.
|
|
980
983
|
status.state = 'completed';
|
|
981
|
-
completeTaskMetrics();
|
|
982
984
|
completePipeline({
|
|
983
985
|
pipelineIndex: resumeSteps.length,
|
|
984
986
|
phase: 'done',
|
|
@@ -1289,7 +1291,6 @@ if (waveIndexes) {
|
|
|
1289
1291
|
process.exit(0);
|
|
1290
1292
|
}
|
|
1291
1293
|
if (pendingStepIndexes().length === 0) {
|
|
1292
|
-
completeTaskMetrics();
|
|
1293
1294
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1294
1295
|
}
|
|
1295
1296
|
out(noProgressNotice());
|
|
@@ -1403,7 +1404,6 @@ if (isGraphMode()) {
|
|
|
1403
1404
|
}
|
|
1404
1405
|
if (dispatchReadyWave()) process.exit(0);
|
|
1405
1406
|
if (pendingStepIndexes().length === 0) {
|
|
1406
|
-
completeTaskMetrics();
|
|
1407
1407
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1408
1408
|
}
|
|
1409
1409
|
out(noProgressNotice());
|
|
@@ -1412,7 +1412,6 @@ if (isGraphMode()) {
|
|
|
1412
1412
|
|
|
1413
1413
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1414
1414
|
if (!next) {
|
|
1415
|
-
completeTaskMetrics();
|
|
1416
1415
|
completePipeline({
|
|
1417
1416
|
pipelineIndex: steps.length,
|
|
1418
1417
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "nuxt",
|
|
5
5
|
"semanticSource": "cursor/nuxt",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "ae9f12821813486abcc881cf6f3fe372701007955e300f6c581215f63d97f1b0",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|
|
@@ -439,6 +439,10 @@ function completePipeline(statusPatch) {
|
|
|
439
439
|
out(`Pipeline blocked for "${slug}": .ai.local/pipeline-gates.json requireArtifacts missing completed receipt(s): ${missing.join(', ')}.`);
|
|
440
440
|
process.exit(0);
|
|
441
441
|
}
|
|
442
|
+
// task_completed is written only on this branch. A missing receipt blocks
|
|
443
|
+
// above and must not be counted as a finished task.
|
|
444
|
+
status.state = 'completed';
|
|
445
|
+
completeTaskMetrics();
|
|
442
446
|
writeStatus(statusPatch);
|
|
443
447
|
out(`Pipeline complete for "${slug}". Run /technical-retro ${slug}.`);
|
|
444
448
|
process.exit(0);
|
|
@@ -952,7 +956,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
952
956
|
if (dispatchReadyWave()) process.exit(0);
|
|
953
957
|
if (pendingStepIndexes().length === 0) {
|
|
954
958
|
status.state = 'completed';
|
|
955
|
-
completeTaskMetrics();
|
|
956
959
|
completePipeline({ pipelineIndex: resumeSteps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
957
960
|
}
|
|
958
961
|
out(noProgressNotice());
|
|
@@ -978,7 +981,6 @@ if (hookInput.action === 'end_human_gate') {
|
|
|
978
981
|
// Gate on the final step: no executable step remains. Complete the
|
|
979
982
|
// pipeline instead of leaving it in_progress forever.
|
|
980
983
|
status.state = 'completed';
|
|
981
|
-
completeTaskMetrics();
|
|
982
984
|
completePipeline({
|
|
983
985
|
pipelineIndex: resumeSteps.length,
|
|
984
986
|
phase: 'done',
|
|
@@ -1289,7 +1291,6 @@ if (waveIndexes) {
|
|
|
1289
1291
|
process.exit(0);
|
|
1290
1292
|
}
|
|
1291
1293
|
if (pendingStepIndexes().length === 0) {
|
|
1292
|
-
completeTaskMetrics();
|
|
1293
1294
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1294
1295
|
}
|
|
1295
1296
|
out(noProgressNotice());
|
|
@@ -1403,7 +1404,6 @@ if (isGraphMode()) {
|
|
|
1403
1404
|
}
|
|
1404
1405
|
if (dispatchReadyWave()) process.exit(0);
|
|
1405
1406
|
if (pendingStepIndexes().length === 0) {
|
|
1406
|
-
completeTaskMetrics();
|
|
1407
1407
|
completePipeline({ pipelineIndex: steps.length, phase: 'done', state: 'completed', currentAgent: null, awaitingHumanGate: false });
|
|
1408
1408
|
}
|
|
1409
1409
|
out(noProgressNotice());
|
|
@@ -1412,7 +1412,6 @@ if (isGraphMode()) {
|
|
|
1412
1412
|
|
|
1413
1413
|
const next = findNextExecutableStep(steps, idx + 1, taskDir);
|
|
1414
1414
|
if (!next) {
|
|
1415
|
-
completeTaskMetrics();
|
|
1416
1415
|
completePipeline({
|
|
1417
1416
|
pipelineIndex: steps.length,
|
|
1418
1417
|
phase: 'done',
|
|
@@ -9,7 +9,7 @@ import { fileURLToPath } from 'node:url';
|
|
|
9
9
|
|
|
10
10
|
export const PACKAGE_NAME = '@bonesofspring/ai-rules';
|
|
11
11
|
export const REGISTRY_URL = 'https://registry.npmjs.org/@bonesofspring/ai-rules/latest';
|
|
12
|
-
export const CACHE_TTL_MS =
|
|
12
|
+
export const CACHE_TTL_MS = 60 * 60 * 1000;
|
|
13
13
|
export const TOOL_ROOTS = ['.cursor', '.claude', '.mavis', '.opencode'];
|
|
14
14
|
|
|
15
15
|
const RELEASE_VERSION = /^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?$/;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"platform": "opencode",
|
|
4
4
|
"stack": "php-hexagonal",
|
|
5
5
|
"semanticSource": "cursor/php-hexagonal",
|
|
6
|
-
"sourceRevision": "
|
|
6
|
+
"sourceRevision": "28cdae8adf38bc1739a7796e5ef2eec7b7fc8f1350eb8a7d18d3bbf32e34643e",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
9
9
|
"source": "AGENTS.md",
|