specweave 0.17.16 â 0.17.19
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/CLAUDE.md +405 -2495
- package/README.md +92 -2
- package/dist/locales/de/.gitkeep +0 -0
- package/dist/locales/de/cli.json +108 -0
- package/dist/locales/en/cli.json +287 -0
- package/dist/locales/en/errors.json +7 -0
- package/dist/locales/en/templates.json +6 -0
- package/dist/locales/es/.gitkeep +0 -0
- package/dist/locales/es/cli.json +41 -0
- package/dist/locales/fr/.gitkeep +0 -0
- package/dist/locales/fr/cli.json +108 -0
- package/dist/locales/ja/.gitkeep +0 -0
- package/dist/locales/ja/cli.json +108 -0
- package/dist/locales/ko/.gitkeep +0 -0
- package/dist/locales/ko/cli.json +108 -0
- package/dist/locales/pt/.gitkeep +0 -0
- package/dist/locales/pt/cli.json +108 -0
- package/dist/locales/ru/.gitkeep +0 -0
- package/dist/locales/ru/cli.json +269 -0
- package/dist/locales/zh/.gitkeep +0 -0
- package/dist/locales/zh/cli.json +108 -0
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -1
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +188 -36
- package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -1
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js +65 -6
- package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js.map +1 -1
- package/dist/plugins/specweave-ado/lib/ado-status-sync.d.ts +54 -0
- package/dist/plugins/specweave-ado/lib/ado-status-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/ado-status-sync.js +86 -0
- package/dist/plugins/specweave-ado/lib/ado-status-sync.js.map +1 -0
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts +25 -0
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js +191 -0
- package/dist/plugins/specweave-ado/lib/enhanced-ado-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/duplicate-detector.d.ts +139 -0
- package/dist/plugins/specweave-github/lib/duplicate-detector.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/duplicate-detector.js +389 -0
- package/dist/plugins/specweave-github/lib/duplicate-detector.js.map +1 -0
- package/dist/plugins/specweave-github/lib/enhanced-github-sync.d.ts +26 -0
- package/dist/plugins/specweave-github/lib/enhanced-github-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/enhanced-github-sync.js +249 -0
- package/dist/plugins/specweave-github/lib/enhanced-github-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.d.ts +63 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.js +216 -0
- package/dist/plugins/specweave-github/lib/epic-content-builder.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-client.d.ts +1 -1
- package/dist/plugins/specweave-github/lib/github-client.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/github-client.js +25 -13
- package/dist/plugins/specweave-github/lib/github-client.js.map +1 -1
- package/dist/plugins/specweave-github/lib/github-epic-sync.d.ts +83 -0
- package/dist/plugins/specweave-github/lib/github-epic-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-epic-sync.js +466 -0
- package/dist/plugins/specweave-github/lib/github-epic-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/github-status-sync.d.ts +43 -0
- package/dist/plugins/specweave-github/lib/github-status-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-github/lib/github-status-sync.js +82 -0
- package/dist/plugins/specweave-github/lib/github-status-sync.js.map +1 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts +5 -0
- package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +1 -1
- package/dist/plugins/specweave-github/lib/task-sync.js +38 -2
- package/dist/plugins/specweave-github/lib/task-sync.js.map +1 -1
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.d.ts +28 -0
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.js +156 -0
- package/dist/plugins/specweave-jira/lib/enhanced-jira-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-epic-sync.d.ts +66 -0
- package/dist/plugins/specweave-jira/lib/jira-epic-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-epic-sync.js +274 -0
- package/dist/plugins/specweave-jira/lib/jira-epic-sync.js.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-status-sync.d.ts +56 -0
- package/dist/plugins/specweave-jira/lib/jira-status-sync.d.ts.map +1 -0
- package/dist/plugins/specweave-jira/lib/jira-status-sync.js +93 -0
- package/dist/plugins/specweave-jira/lib/jira-status-sync.js.map +1 -0
- package/dist/spec-parser.js +629 -0
- package/dist/src/cli/commands/init.d.ts.map +1 -1
- package/dist/src/cli/commands/init.js +107 -3
- package/dist/src/cli/commands/init.js.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -1
- package/dist/src/cli/helpers/issue-tracker/index.js +48 -3
- package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -1
- package/dist/src/core/deduplication/command-deduplicator.d.ts +166 -0
- package/dist/src/core/deduplication/command-deduplicator.d.ts.map +1 -0
- package/dist/src/core/deduplication/command-deduplicator.js +254 -0
- package/dist/src/core/deduplication/command-deduplicator.js.map +1 -0
- package/dist/src/core/living-docs/hierarchy-mapper.d.ts +142 -0
- package/dist/src/core/living-docs/hierarchy-mapper.d.ts.map +1 -0
- package/dist/src/core/living-docs/hierarchy-mapper.js +453 -0
- package/dist/src/core/living-docs/hierarchy-mapper.js.map +1 -0
- package/dist/src/core/living-docs/index.d.ts +10 -84
- package/dist/src/core/living-docs/index.d.ts.map +1 -1
- package/dist/src/core/living-docs/index.js +10 -164
- package/dist/src/core/living-docs/index.js.map +1 -1
- package/dist/src/core/living-docs/spec-distributor.d.ts +106 -0
- package/dist/src/core/living-docs/spec-distributor.d.ts.map +1 -0
- package/dist/src/core/living-docs/spec-distributor.js +823 -0
- package/dist/src/core/living-docs/spec-distributor.js.map +1 -0
- package/dist/src/core/living-docs/types.d.ts +201 -0
- package/dist/src/core/living-docs/types.d.ts.map +1 -0
- package/dist/src/core/living-docs/types.js +15 -0
- package/dist/src/core/living-docs/types.js.map +1 -0
- package/dist/src/core/logging/prompt-logger.d.ts +70 -0
- package/dist/src/core/logging/prompt-logger.d.ts.map +1 -0
- package/dist/src/core/logging/prompt-logger.js +247 -0
- package/dist/src/core/logging/prompt-logger.js.map +1 -0
- package/dist/src/core/status-line/status-line-manager.d.ts +15 -24
- package/dist/src/core/status-line/status-line-manager.d.ts.map +1 -1
- package/dist/src/core/status-line/status-line-manager.js +33 -70
- package/dist/src/core/status-line/status-line-manager.js.map +1 -1
- package/dist/src/core/status-line/types.d.ts +19 -31
- package/dist/src/core/status-line/types.d.ts.map +1 -1
- package/dist/src/core/status-line/types.js +5 -9
- package/dist/src/core/status-line/types.js.map +1 -1
- package/dist/src/core/sync/conflict-resolver.d.ts +66 -0
- package/dist/src/core/sync/conflict-resolver.d.ts.map +1 -0
- package/dist/src/core/sync/conflict-resolver.js +108 -0
- package/dist/src/core/sync/conflict-resolver.js.map +1 -0
- package/dist/src/core/sync/enhanced-content-builder.d.ts +55 -0
- package/dist/src/core/sync/enhanced-content-builder.d.ts.map +1 -0
- package/dist/src/core/sync/enhanced-content-builder.js +202 -0
- package/dist/src/core/sync/enhanced-content-builder.js.map +1 -0
- package/dist/src/core/sync/label-detector.d.ts +66 -0
- package/dist/src/core/sync/label-detector.d.ts.map +1 -0
- package/dist/src/core/sync/label-detector.js +211 -0
- package/dist/src/core/sync/label-detector.js.map +1 -0
- package/dist/src/core/sync/retry-logic.d.ts +64 -0
- package/dist/src/core/sync/retry-logic.d.ts.map +1 -0
- package/dist/src/core/sync/retry-logic.js +165 -0
- package/dist/src/core/sync/retry-logic.js.map +1 -0
- package/dist/src/core/sync/spec-content-sync.d.ts +88 -0
- package/dist/src/core/sync/spec-content-sync.d.ts.map +1 -0
- package/dist/src/core/sync/spec-content-sync.js +5 -0
- package/dist/src/core/sync/spec-content-sync.js.map +1 -0
- package/dist/src/core/sync/spec-increment-mapper.d.ts +100 -0
- package/dist/src/core/sync/spec-increment-mapper.d.ts.map +1 -0
- package/dist/src/core/sync/spec-increment-mapper.js +424 -0
- package/dist/src/core/sync/spec-increment-mapper.js.map +1 -0
- package/dist/src/core/sync/status-cache.d.ts +91 -0
- package/dist/src/core/sync/status-cache.d.ts.map +1 -0
- package/dist/src/core/sync/status-cache.js +140 -0
- package/dist/src/core/sync/status-cache.js.map +1 -0
- package/dist/src/core/sync/status-mapper.d.ts +69 -0
- package/dist/src/core/sync/status-mapper.d.ts.map +1 -0
- package/dist/src/core/sync/status-mapper.js +90 -0
- package/dist/src/core/sync/status-mapper.js.map +1 -0
- package/dist/src/core/sync/status-sync-engine.d.ts +162 -0
- package/dist/src/core/sync/status-sync-engine.d.ts.map +1 -0
- package/dist/src/core/sync/status-sync-engine.js +347 -0
- package/dist/src/core/sync/status-sync-engine.js.map +1 -0
- package/dist/src/core/sync/sync-event-logger.d.ts +99 -0
- package/dist/src/core/sync/sync-event-logger.d.ts.map +1 -0
- package/dist/src/core/sync/sync-event-logger.js +103 -0
- package/dist/src/core/sync/sync-event-logger.js.map +1 -0
- package/dist/src/core/sync/types.d.ts +52 -0
- package/dist/src/core/sync/types.d.ts.map +1 -0
- package/dist/src/core/sync/types.js +5 -0
- package/dist/src/core/sync/types.js.map +1 -0
- package/dist/src/core/sync/workflow-detector.d.ts +95 -0
- package/dist/src/core/sync/workflow-detector.d.ts.map +1 -0
- package/dist/src/core/sync/workflow-detector.js +175 -0
- package/dist/src/core/sync/workflow-detector.js.map +1 -0
- package/dist/src/core/types/config.d.ts +51 -0
- package/dist/src/core/types/config.d.ts.map +1 -1
- package/dist/src/core/types/config.js +47 -0
- package/dist/src/core/types/config.js.map +1 -1
- package/dist/src/core/types/increment-metadata.d.ts +4 -0
- package/dist/src/core/types/increment-metadata.d.ts.map +1 -1
- package/dist/src/core/types/increment-metadata.js.map +1 -1
- package/dist/src/utils/github-url.d.ts +53 -0
- package/dist/src/utils/github-url.d.ts.map +1 -0
- package/dist/src/utils/github-url.js +90 -0
- package/dist/src/utils/github-url.js.map +1 -0
- package/dist/src/utils/spec-parser.d.ts +145 -0
- package/dist/src/utils/spec-parser.d.ts.map +1 -0
- package/dist/src/utils/spec-parser.js +640 -0
- package/dist/src/utils/spec-parser.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +1 -1
- package/plugins/specweave/agents/pm/AGENT.md +160 -13
- package/plugins/specweave/agents/pm/templates/increment-spec.md +158 -0
- package/plugins/specweave/agents/pm/templates/living-docs-spec.md +113 -0
- package/plugins/specweave/commands/specweave-done.md +163 -0
- package/plugins/specweave/commands/specweave.md +70 -405
- package/plugins/specweave/hooks/hooks.json +4 -0
- package/plugins/specweave/hooks/lib/sync-spec-content.sh +2 -2
- package/plugins/specweave/hooks/lib/update-status-line.sh +79 -111
- package/plugins/specweave/hooks/post-increment-planning.sh +133 -37
- package/plugins/specweave/hooks/pre-command-deduplication.sh +86 -0
- package/plugins/specweave/lib/hooks/sync-living-docs.js +139 -34
- package/plugins/specweave/lib/hooks/sync-living-docs.ts +234 -38
- package/plugins/specweave/skills/SKILLS-INDEX.md +4 -24
- package/plugins/specweave/skills/increment-planner/SKILL.md +94 -0
- package/plugins/specweave/skills/increment-work-router/SKILL.md +466 -0
- package/plugins/specweave-ado/commands/specweave-ado-sync-spec.md +1 -1
- package/plugins/specweave-ado/lib/ado-spec-content-sync.js +49 -5
- package/plugins/specweave-ado/lib/ado-spec-content-sync.ts +72 -6
- package/plugins/specweave-ado/lib/ado-status-sync.js +80 -0
- package/plugins/specweave-ado/lib/ado-status-sync.ts +121 -0
- package/plugins/specweave-ado/lib/enhanced-ado-sync.js +170 -0
- package/plugins/specweave-github/commands/specweave-github-cleanup-duplicates.md +205 -0
- package/plugins/specweave-github/commands/specweave-github-sync-epic.md +248 -0
- package/plugins/specweave-github/commands/specweave-github-sync-spec.md +1 -1
- package/plugins/specweave-github/hooks/post-task-completion.sh +32 -0
- package/plugins/specweave-github/lib/duplicate-detector.js +370 -0
- package/plugins/specweave-github/lib/duplicate-detector.ts +525 -0
- package/plugins/specweave-github/lib/enhanced-github-sync.js +220 -0
- package/plugins/specweave-github/lib/enhanced-github-sync.ts +322 -0
- package/plugins/specweave-github/lib/epic-content-builder.js +227 -0
- package/plugins/specweave-github/lib/epic-content-builder.ts +317 -0
- package/plugins/specweave-github/lib/github-client.js +21 -10
- package/plugins/specweave-github/lib/github-client.ts +27 -16
- package/plugins/specweave-github/lib/github-epic-sync.js +488 -0
- package/plugins/specweave-github/lib/github-epic-sync.ts +715 -0
- package/plugins/specweave-github/lib/github-status-sync.js +71 -0
- package/plugins/specweave-github/lib/github-status-sync.ts +107 -0
- package/plugins/specweave-github/lib/task-sync.js +33 -2
- package/plugins/specweave-github/lib/task-sync.ts +44 -2
- package/plugins/specweave-jira/commands/specweave-jira-sync-epic.md +267 -0
- package/plugins/specweave-jira/commands/specweave-jira-sync-spec.md +1 -1
- package/plugins/specweave-jira/lib/enhanced-jira-sync.js +134 -0
- package/plugins/specweave-jira/lib/enhanced-jira-sync.ts +196 -0
- package/plugins/specweave-jira/lib/jira-epic-sync.js +304 -0
- package/plugins/specweave-jira/lib/jira-epic-sync.ts +459 -0
- package/plugins/specweave-jira/lib/jira-status-sync.js +79 -0
- package/plugins/specweave-jira/lib/jira-status-sync.ts +139 -0
- package/plugins/specweave-release/commands/specweave-release-platform.md +1 -1
- package/plugins/specweave-release/hooks/post-task-completion.sh +2 -2
- package/src/templates/AGENTS.md.template +88 -1
- package/src/templates/CLAUDE.md.template +49 -0
- package/plugins/specweave/skills/increment-quality-judge/SKILL.md +0 -524
- package/plugins/specweave/skills/plugin-installer/SKILL.md +0 -353
|
@@ -394,6 +394,164 @@ const syncEnabled = config.hooks?.post_increment_done?.sync_to_github_project ==
|
|
|
394
394
|
âšī¸ No GitHub issue linked to this increment
|
|
395
395
|
```
|
|
396
396
|
|
|
397
|
+
#### C) Sync Status to External Tools (NEW in Phase 2)
|
|
398
|
+
|
|
399
|
+
**CRITICAL**: After increment completes, automatically sync status to all linked external tools (GitHub, JIRA, Azure DevOps).
|
|
400
|
+
|
|
401
|
+
**Check metadata** (`.specweave/increments/0001/.metadata.json`):
|
|
402
|
+
```json
|
|
403
|
+
{
|
|
404
|
+
"github": {
|
|
405
|
+
"issue": 42,
|
|
406
|
+
"url": "https://github.com/org/repo/issues/42"
|
|
407
|
+
},
|
|
408
|
+
"jira": {
|
|
409
|
+
"issue": "PROJ-123",
|
|
410
|
+
"url": "https://company.atlassian.net/browse/PROJ-123"
|
|
411
|
+
},
|
|
412
|
+
"ado": {
|
|
413
|
+
"workItem": 456,
|
|
414
|
+
"url": "https://dev.azure.com/org/project/_workitems/edit/456"
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
**Check configuration** (`.specweave/config.json`):
|
|
420
|
+
```json
|
|
421
|
+
{
|
|
422
|
+
"sync": {
|
|
423
|
+
"statusSync": {
|
|
424
|
+
"enabled": true,
|
|
425
|
+
"autoSync": true,
|
|
426
|
+
"promptUser": true,
|
|
427
|
+
"conflictResolution": "last-write-wins",
|
|
428
|
+
"mappings": {
|
|
429
|
+
"github": {
|
|
430
|
+
"completed": "closed"
|
|
431
|
+
},
|
|
432
|
+
"jira": {
|
|
433
|
+
"completed": "Done"
|
|
434
|
+
},
|
|
435
|
+
"ado": {
|
|
436
|
+
"completed": "Closed"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
```
|
|
443
|
+
|
|
444
|
+
**If status sync enabled AND external links exist**:
|
|
445
|
+
|
|
446
|
+
1. **GitHub Status Sync** (if GitHub issue linked):
|
|
447
|
+
```typescript
|
|
448
|
+
// Use StatusSyncEngine to sync status
|
|
449
|
+
import { StatusSyncEngine } from '../../../src/core/sync/status-sync-engine.js';
|
|
450
|
+
import { GitHubStatusSync } from '../../../plugins/specweave-github/lib/github-status-sync.js';
|
|
451
|
+
|
|
452
|
+
const engine = new StatusSyncEngine(config);
|
|
453
|
+
const githubSync = new GitHubStatusSync(token, owner, repo);
|
|
454
|
+
|
|
455
|
+
// Prompt user
|
|
456
|
+
const shouldSync = await promptUser("Update GitHub issue #42 to 'closed'?");
|
|
457
|
+
|
|
458
|
+
if (shouldSync) {
|
|
459
|
+
const result = await engine.syncToExternal({
|
|
460
|
+
incrementId: '0001-user-authentication',
|
|
461
|
+
tool: 'github',
|
|
462
|
+
localStatus: 'completed',
|
|
463
|
+
localTimestamp: new Date().toISOString()
|
|
464
|
+
});
|
|
465
|
+
|
|
466
|
+
if (result.success) {
|
|
467
|
+
await githubSync.updateStatus(42, result.externalMapping);
|
|
468
|
+
await githubSync.postStatusComment(42, 'active', 'completed');
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
```
|
|
472
|
+
|
|
473
|
+
2. **JIRA Status Sync** (if JIRA issue linked):
|
|
474
|
+
```typescript
|
|
475
|
+
import { JiraStatusSync } from '../../../plugins/specweave-jira/lib/jira-status-sync.js';
|
|
476
|
+
|
|
477
|
+
const jiraSync = new JiraStatusSync(domain, email, apiToken, projectKey);
|
|
478
|
+
|
|
479
|
+
const shouldSync = await promptUser("Update JIRA issue PROJ-123 to 'Done'?");
|
|
480
|
+
|
|
481
|
+
if (shouldSync) {
|
|
482
|
+
const result = await engine.syncToExternal({
|
|
483
|
+
incrementId: '0001-user-authentication',
|
|
484
|
+
tool: 'jira',
|
|
485
|
+
localStatus: 'completed',
|
|
486
|
+
localTimestamp: new Date().toISOString()
|
|
487
|
+
});
|
|
488
|
+
|
|
489
|
+
if (result.success) {
|
|
490
|
+
await jiraSync.updateStatus('PROJ-123', result.externalMapping);
|
|
491
|
+
await jiraSync.postStatusComment('PROJ-123', 'In Progress', 'completed');
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
```
|
|
495
|
+
|
|
496
|
+
3. **Azure DevOps Status Sync** (if ADO work item linked):
|
|
497
|
+
```typescript
|
|
498
|
+
import { AdoStatusSync } from '../../../plugins/specweave-ado/lib/ado-status-sync.js';
|
|
499
|
+
|
|
500
|
+
const adoSync = new AdoStatusSync(organization, project, pat);
|
|
501
|
+
|
|
502
|
+
const shouldSync = await promptUser("Update ADO work item #456 to 'Closed'?");
|
|
503
|
+
|
|
504
|
+
if (shouldSync) {
|
|
505
|
+
const result = await engine.syncToExternal({
|
|
506
|
+
incrementId: '0001-user-authentication',
|
|
507
|
+
tool: 'ado',
|
|
508
|
+
localStatus: 'completed',
|
|
509
|
+
localTimestamp: new Date().toISOString()
|
|
510
|
+
});
|
|
511
|
+
|
|
512
|
+
if (result.success) {
|
|
513
|
+
await adoSync.updateStatus(456, result.externalMapping);
|
|
514
|
+
await adoSync.postStatusComment(456, 'Active', 'completed');
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
**Report results**:
|
|
520
|
+
```
|
|
521
|
+
đ Status Sync:
|
|
522
|
+
â GitHub issue #42: active â closed (with comment)
|
|
523
|
+
â JIRA issue PROJ-123: In Progress â Done (with comment)
|
|
524
|
+
â ADO work item #456: Active â Closed (with comment)
|
|
525
|
+
```
|
|
526
|
+
|
|
527
|
+
**If status sync disabled**:
|
|
528
|
+
```
|
|
529
|
+
âšī¸ Status sync disabled in config (enable in .specweave/config.json)
|
|
530
|
+
```
|
|
531
|
+
|
|
532
|
+
**If no external links**:
|
|
533
|
+
```
|
|
534
|
+
âšī¸ No external tools linked to this increment
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
**If user declines sync**:
|
|
538
|
+
```
|
|
539
|
+
âšī¸ Status sync skipped (user choice)
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
**Conflict Resolution** (if remote status differs):
|
|
543
|
+
- Uses configured strategy (default: `last-write-wins`)
|
|
544
|
+
- Compares timestamps to determine which status to use
|
|
545
|
+
- Favors local (SpecWeave) status on timestamp tie
|
|
546
|
+
- Reports conflict and resolution in output:
|
|
547
|
+
```
|
|
548
|
+
â ī¸ Conflict detected:
|
|
549
|
+
Local: completed (2025-11-12 15:00:00)
|
|
550
|
+
Remote: active (2025-11-12 14:30:00)
|
|
551
|
+
Resolution: Use local (last-write-wins)
|
|
552
|
+
Action: Syncing to external
|
|
553
|
+
```
|
|
554
|
+
|
|
397
555
|
**Example Full Output**:
|
|
398
556
|
```
|
|
399
557
|
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
|
|
@@ -418,6 +576,11 @@ GitHub Issue:
|
|
|
418
576
|
â Closed issue #42
|
|
419
577
|
â Added completion summary
|
|
420
578
|
|
|
579
|
+
Status Sync:
|
|
580
|
+
â GitHub issue #42: active â closed (with comment)
|
|
581
|
+
â JIRA issue PROJ-123: In Progress â Done (with comment)
|
|
582
|
+
â ADO work item #456: Active â Closed (with comment)
|
|
583
|
+
|
|
421
584
|
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
|
|
422
585
|
đ NEXT STEPS
|
|
423
586
|
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
|