specweave 1.0.425 → 1.0.426
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/bin/specweave.js +35 -0
- package/dist/dashboard/assets/index-BZjLFWPM.js +11 -0
- package/dist/dashboard/assets/index-Dml32UC5.css +1 -0
- package/dist/dashboard/index.html +2 -2
- package/dist/src/cli/commands/sync-gaps.d.ts +29 -0
- package/dist/src/cli/commands/sync-gaps.d.ts.map +1 -0
- package/dist/src/cli/commands/sync-gaps.js +124 -0
- package/dist/src/cli/commands/sync-gaps.js.map +1 -0
- package/dist/src/cli/commands/sync-retry.d.ts +36 -0
- package/dist/src/cli/commands/sync-retry.d.ts.map +1 -0
- package/dist/src/cli/commands/sync-retry.js +120 -0
- package/dist/src/cli/commands/sync-retry.js.map +1 -0
- package/dist/src/cli/commands/sync-status.d.ts +27 -0
- package/dist/src/cli/commands/sync-status.d.ts.map +1 -0
- package/dist/src/cli/commands/sync-status.js +98 -0
- package/dist/src/cli/commands/sync-status.js.map +1 -0
- package/dist/src/core/hooks/LifecycleHookDispatcher.d.ts +8 -1
- package/dist/src/core/hooks/LifecycleHookDispatcher.d.ts.map +1 -1
- package/dist/src/core/hooks/LifecycleHookDispatcher.js +49 -2
- package/dist/src/core/hooks/LifecycleHookDispatcher.js.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.d.ts.map +1 -1
- package/dist/src/core/living-docs/living-docs-sync.js +8 -2
- package/dist/src/core/living-docs/living-docs-sync.js.map +1 -1
- package/dist/src/core/living-docs/types.d.ts +1 -0
- package/dist/src/core/living-docs/types.d.ts.map +1 -1
- package/dist/src/core/qa/qa-runner.d.ts.map +1 -1
- package/dist/src/core/qa/qa-runner.js +202 -40
- package/dist/src/core/qa/qa-runner.js.map +1 -1
- package/dist/src/core/sync/ac-gate.d.ts +30 -0
- package/dist/src/core/sync/ac-gate.d.ts.map +1 -0
- package/dist/src/core/sync/ac-gate.js +132 -0
- package/dist/src/core/sync/ac-gate.js.map +1 -0
- package/dist/src/core/sync/cached-rate-limiter.d.ts +32 -0
- package/dist/src/core/sync/cached-rate-limiter.d.ts.map +1 -0
- package/dist/src/core/sync/cached-rate-limiter.js +47 -0
- package/dist/src/core/sync/cached-rate-limiter.js.map +1 -0
- package/dist/src/core/sync/circuit-breaker-registry.d.ts +16 -0
- package/dist/src/core/sync/circuit-breaker-registry.d.ts.map +1 -0
- package/dist/src/core/sync/circuit-breaker-registry.js +33 -0
- package/dist/src/core/sync/circuit-breaker-registry.js.map +1 -0
- package/dist/src/core/sync/sync-resilience-audit-logger.d.ts +42 -0
- package/dist/src/core/sync/sync-resilience-audit-logger.d.ts.map +1 -0
- package/dist/src/core/sync/sync-resilience-audit-logger.js +97 -0
- package/dist/src/core/sync/sync-resilience-audit-logger.js.map +1 -0
- package/dist/src/core/sync/sync-resilience.d.ts +49 -0
- package/dist/src/core/sync/sync-resilience.d.ts.map +1 -0
- package/dist/src/core/sync/sync-resilience.js +133 -0
- package/dist/src/core/sync/sync-resilience.js.map +1 -0
- package/dist/src/core/sync/sync-retry-queue.d.ts +57 -0
- package/dist/src/core/sync/sync-retry-queue.d.ts.map +1 -0
- package/dist/src/core/sync/sync-retry-queue.js +115 -0
- package/dist/src/core/sync/sync-retry-queue.js.map +1 -0
- package/dist/src/dashboard/server/dashboard-server.d.ts.map +1 -1
- package/dist/src/dashboard/server/dashboard-server.js +16 -0
- package/dist/src/dashboard/server/dashboard-server.js.map +1 -1
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.d.ts +22 -0
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.d.ts.map +1 -1
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.js +90 -0
- package/dist/src/dashboard/server/data/dashboard-data-aggregator.js.map +1 -1
- package/dist/src/dashboard/types.d.ts +1 -1
- package/dist/src/dashboard/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/plugins/specweave/skills/pm/phases/02-spec-creation.md +26 -5
- package/plugins/specweave/skills/pm/templates/spec-template.md +48 -0
- package/dist/dashboard/assets/index-DMjF8l_s.css +0 -1
- package/dist/dashboard/assets/index-x2hb1BtS.js +0 -11
package/bin/specweave.js
CHANGED
|
@@ -933,6 +933,41 @@ program
|
|
|
933
933
|
await syncTask([incrementId]);
|
|
934
934
|
});
|
|
935
935
|
|
|
936
|
+
// Sync-retry command - Process retry queue for failed syncs
|
|
937
|
+
program
|
|
938
|
+
.command('sync-retry')
|
|
939
|
+
.description('Process the sync retry queue (retry failed external syncs with backoff)')
|
|
940
|
+
.option('--dry-run', 'Show what would be retried without executing')
|
|
941
|
+
.option('--force', 'Retry all entries regardless of backoff timing')
|
|
942
|
+
.option('--clear', 'Clear the entire retry queue')
|
|
943
|
+
.action(async (options) => {
|
|
944
|
+
const { syncRetryCommand } = await import('../dist/src/cli/commands/sync-retry.js');
|
|
945
|
+
const result = await syncRetryCommand(process.cwd(), options);
|
|
946
|
+
if (result.failed > 0) process.exitCode = 1;
|
|
947
|
+
});
|
|
948
|
+
|
|
949
|
+
// Sync-gaps command - Detect increments with partial external sync
|
|
950
|
+
program
|
|
951
|
+
.command('sync-gaps')
|
|
952
|
+
.description('Detect increments with partial external sync coverage')
|
|
953
|
+
.option('--json', 'Output as JSON')
|
|
954
|
+
.option('--fix', 'Attempt missing syncs for each gap')
|
|
955
|
+
.action(async (options) => {
|
|
956
|
+
const { syncGapsCommand } = await import('../dist/src/cli/commands/sync-gaps.js');
|
|
957
|
+
const result = await syncGapsCommand(process.cwd(), options);
|
|
958
|
+
process.exitCode = result.exitCode;
|
|
959
|
+
});
|
|
960
|
+
|
|
961
|
+
// Sync-status command - Overall sync health report
|
|
962
|
+
program
|
|
963
|
+
.command('sync-status')
|
|
964
|
+
.description('Show sync health: retry queue, circuit breakers, rate limits, recent errors')
|
|
965
|
+
.action(async () => {
|
|
966
|
+
const { syncStatusCommand } = await import('../dist/src/cli/commands/sync-status.js');
|
|
967
|
+
const result = await syncStatusCommand(process.cwd());
|
|
968
|
+
process.exitCode = result.exitCode;
|
|
969
|
+
});
|
|
970
|
+
|
|
936
971
|
// Docs command - Documentation preview, build, validation
|
|
937
972
|
const docsCmd = program
|
|
938
973
|
.command('docs')
|