Skip to content

Commit 14dccac

Browse files
authored
Merge pull request #119 from nold-ai/feature/speckit-03-change-proposal-bridge
Add Speckit change proposal bridge
2 parents 45d0585 + ffc9b6e commit 14dccac

91 files changed

Lines changed: 10016 additions & 6197 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/adapters/azuredevops.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The adapter automatically derives work item type from your project's process tem
6464
You can override with `--ado-work-item-type`:
6565

6666
```bash
67-
specfact project sync bridge --adapter ado --mode export-only \
67+
specfact sync bridge --adapter ado --mode export-only \
6868
--ado-org your-org \
6969
--ado-project your-project \
7070
--ado-work-item-type "Bug" \
@@ -434,7 +434,7 @@ This handles cases where:
434434

435435
```bash
436436
# Export OpenSpec change proposals to Azure DevOps work items
437-
specfact project sync bridge --adapter ado --mode export-only \
437+
specfact sync bridge --adapter ado --mode export-only \
438438
--ado-org your-org \
439439
--ado-project your-project \
440440
--repo /path/to/openspec-repo
@@ -444,7 +444,7 @@ specfact project sync bridge --adapter ado --mode export-only \
444444

445445
```bash
446446
# Import work items AND export proposals
447-
specfact project sync bridge --adapter ado --bidirectional \
447+
specfact sync bridge --adapter ado --bidirectional \
448448
--ado-org your-org \
449449
--ado-project your-project \
450450
--repo /path/to/openspec-repo
@@ -454,7 +454,7 @@ specfact project sync bridge --adapter ado --bidirectional \
454454

455455
```bash
456456
# Import specific work items into bundle
457-
specfact project sync bridge --adapter ado --mode bidirectional \
457+
specfact sync bridge --adapter ado --mode bidirectional \
458458
--ado-org your-org \
459459
--ado-project your-project \
460460
--bundle main \
@@ -466,7 +466,7 @@ specfact project sync bridge --adapter ado --mode bidirectional \
466466

467467
```bash
468468
# Update existing work item with latest proposal content
469-
specfact project sync bridge --adapter ado --mode export-only \
469+
specfact sync bridge --adapter ado --mode export-only \
470470
--ado-org your-org \
471471
--ado-project your-project \
472472
--change-ids add-feature-x \
@@ -478,7 +478,7 @@ specfact project sync bridge --adapter ado --mode export-only \
478478

479479
```bash
480480
# Detect code changes and add progress comments
481-
specfact project sync bridge --adapter ado --mode export-only \
481+
specfact sync bridge --adapter ado --mode export-only \
482482
--ado-org your-org \
483483
--ado-project your-project \
484484
--track-code-changes \
@@ -490,7 +490,7 @@ specfact project sync bridge --adapter ado --mode export-only \
490490

491491
```bash
492492
# Export from bundle to ADO (uses stored lossless content)
493-
specfact project sync bridge --adapter ado --mode export-only \
493+
specfact sync bridge --adapter ado --mode export-only \
494494
--ado-org your-org \
495495
--ado-project your-project \
496496
--bundle main \

docs/adapters/github.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,14 @@ To create a GitHub issue from an OpenSpec change and have the issue number/URL w
334334

335335
```bash
336336
# Export one or more changes; creates issues and updates proposal.md Source Tracking
337-
specfact project sync bridge --adapter github --mode export-only \
337+
specfact sync bridge --adapter github --mode export-only \
338338
--repo . \
339339
--repo-owner nold-ai \
340340
--repo-name specfact-cli \
341341
--change-ids <change-id>
342342

343343
# Example: export backlog-scrum-05-summarize-markdown-output
344-
specfact project sync bridge --adapter github --mode export-only \
344+
specfact sync bridge --adapter github --mode export-only \
345345
--repo . \
346346
--repo-owner nold-ai \
347347
--repo-name specfact-cli \
@@ -362,15 +362,15 @@ When you improve comment logic or branch detection, use `--include-archived` to
362362

363363
```bash
364364
# Update all archived proposals with new comment logic
365-
specfact project sync bridge --adapter github --mode export-only \
365+
specfact sync bridge --adapter github --mode export-only \
366366
--repo-owner your-org \
367367
--repo-name your-repo \
368368
--include-archived \
369369
--update-existing \
370370
--repo /path/to/openspec-repo
371371

372372
# Update specific archived proposal
373-
specfact project sync bridge --adapter github --mode export-only \
373+
specfact sync bridge --adapter github --mode export-only \
374374
--repo-owner your-org \
375375
--repo-name your-repo \
376376
--change-ids add-code-change-tracking \

docs/bundles/backlog/refinement.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ The most common workflow is to refine backlog items and then sync them to extern
555555
**Workflow**: `backlog ceremony refinement``sync bridge`
556556

557557
1. **Refine Backlog Items**: Use `specfact backlog ceremony refinement` to standardize backlog items with templates
558-
2. **Sync to External Tools**: Use `specfact project sync bridge` to sync refined items back to backlog tools (GitHub, ADO, etc.)
558+
2. **Sync to External Tools**: Use `specfact sync bridge` to sync refined items back to backlog tools (GitHub, ADO, etc.)
559559

560560
```bash
561561
# Complete command chaining workflow
@@ -567,7 +567,7 @@ specfact backlog ceremony refinement github \
567567
--state open
568568

569569
# 2. Sync refined items to external tool (same or different adapter)
570-
specfact project sync bridge --adapter github \
570+
specfact sync bridge --adapter github \
571571
--repo-owner my-org --repo-name my-repo \
572572
--backlog-ids 123,456 \
573573
--mode export-only
@@ -578,7 +578,7 @@ specfact backlog ceremony refinement github \
578578
--write \
579579
--labels feature
580580

581-
specfact project sync bridge --adapter ado \
581+
specfact sync bridge --adapter ado \
582582
--ado-org my-org --ado-project my-project \
583583
--backlog-ids 123,456 \
584584
--mode export-only
@@ -614,12 +614,12 @@ When syncing backlog items between different adapters (e.g., GitHub ↔ ADO), Sp
614614

615615
```bash
616616
# 1. Import closed GitHub issues into bundle (state "closed" is preserved)
617-
specfact project sync bridge --adapter github --mode bidirectional \
617+
specfact sync bridge --adapter github --mode bidirectional \
618618
--repo-owner nold-ai --repo-name specfact-cli \
619619
--backlog-ids 110,122
620620

621621
# 2. Export to ADO (state is automatically mapped: closed → Closed)
622-
specfact project sync bridge --adapter ado --mode export-only \
622+
specfact sync bridge --adapter ado --mode export-only \
623623
--ado-org dominikusnold --ado-project "SpecFact CLI" \
624624
--bundle cross-sync-test --change-ids add-ado-backlog-adapter,add-template-driven-backlog-refinement
625625

@@ -646,14 +646,14 @@ specfact project sync bridge --adapter ado --mode export-only \
646646

647647
Backlog refinement works seamlessly with the [DevOps Adapter Integration](/integrations/devops-adapter-overview/):
648648

649-
1. **Import Backlog Items**: Use `specfact project sync bridge` to import backlog items as OpenSpec proposals
649+
1. **Import Backlog Items**: Use `specfact sync bridge` to import backlog items as OpenSpec proposals
650650
2. **Refine Items**: Use `specfact backlog ceremony refinement` to standardize imported items
651-
3. **Export Refined Items**: Use `specfact project sync bridge` to export refined proposals back to backlog tools
651+
3. **Export Refined Items**: Use `specfact sync bridge` to export refined proposals back to backlog tools
652652

653653
```bash
654654
# Complete workflow
655655
# 1. Import GitHub issues as OpenSpec proposals
656-
specfact project sync bridge --adapter github --mode bidirectional \
656+
specfact sync bridge --adapter github --mode bidirectional \
657657
--repo-owner my-org --repo-name my-repo \
658658
--backlog-ids 123,456
659659

@@ -662,7 +662,7 @@ specfact backlog ceremony refinement github --bundle my-project --auto-bundle \
662662
--search "is:open"
663663

664664
# 3. Export refined proposals back to GitHub
665-
specfact project sync bridge --adapter github --mode export-only \
665+
specfact sync bridge --adapter github --mode export-only \
666666
--bundle my-project --change-ids <refined-change-id>
667667
```
668668

@@ -937,11 +937,11 @@ If adapter search methods are not available:
937937
# "Note: GitHub issue fetching requires adapter.search_issues() implementation"
938938
```
939939

940-
**Workaround**: Use `specfact project sync bridge` to import backlog items first, then refine:
940+
**Workaround**: Use `specfact sync bridge` to import backlog items first, then refine:
941941

942942
```bash
943943
# 1. Import backlog items
944-
specfact project sync bridge --adapter github --mode bidirectional \
944+
specfact sync bridge --adapter github --mode bidirectional \
945945
--backlog-ids 123,456
946946
947947
# 2. Refine imported items from bundle

docs/bundles/govern/patch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ specfact govern patch apply changes.patch --write --yes
3838

3939
## Related
4040

41-
- [Govern enforce](enforce/)
42-
- [Govern bundle overview](overview/)
41+
- [Govern enforce](/bundles/govern/enforce/)
42+
- [Govern bundle overview](/bundles/govern/overview/)

docs/getting-started/first-steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Use the current mounted entrypoints instead:
2222
When you need exact syntax, verify against live help in the current release, for example:
2323

2424
```bash
25-
specfact project sync bridge --help
25+
specfact sync bridge --help
2626
specfact code repro --help
2727
specfact code validate sidecar --help
2828
specfact spec validate --help

docs/getting-started/installation.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,12 @@ Convert an existing GitHub Spec-Kit project:
280280

281281
```bash
282282
# Start a one-time import
283-
specfact project sync bridge \
283+
specfact sync bridge \
284284
--adapter speckit \
285285
--repo ./my-speckit-project
286286
287287
# Ongoing bidirectional sync (after migration)
288-
specfact project sync bridge --adapter speckit --bundle <bundle-name> --repo . --bidirectional --watch
288+
specfact sync bridge --adapter speckit --bundle <bundle-name> --repo . --bidirectional --watch
289289
```
290290

291291
**Bidirectional Sync:**
@@ -294,13 +294,13 @@ Keep Spec-Kit and SpecFact artifacts synchronized:
294294

295295
```bash
296296
# One-time sync
297-
specfact project sync bridge --adapter speckit --bundle <bundle-name> --repo . --bidirectional
297+
specfact sync bridge --adapter speckit --bundle <bundle-name> --repo . --bidirectional
298298
299299
# Continuous watch mode
300-
specfact project sync bridge --adapter speckit --bundle <bundle-name> --repo . --bidirectional --watch
300+
specfact sync bridge --adapter speckit --bundle <bundle-name> --repo . --bidirectional --watch
301301
```
302302

303-
**Note**: SpecFact CLI uses a plugin-based adapter registry pattern. All adapters (Spec-Kit, OpenSpec, GitHub, etc.) are registered in `AdapterRegistry` and accessed via `specfact project sync bridge --adapter <adapter-name>`, making the architecture extensible for future tool integrations.
303+
**Note**: SpecFact CLI uses a plugin-based adapter registry pattern. All adapters (Spec-Kit, OpenSpec, GitHub, etc.) are registered in `AdapterRegistry` and accessed via `specfact sync bridge --adapter <adapter-name>`, making the architecture extensible for future tool integrations.
304304

305305
### For Brownfield Projects
306306

@@ -383,7 +383,7 @@ specfact project sync repository --repo . --watch
383383
- **IDE integration**: Use `specfact init` to set up slash commands in IDE (requires pip install)
384384
- **Slash commands**: Use the IDE templates generated for your checkout and keep them aligned with the mounted CLI surface
385385
- **Global flags**: Place `--no-banner` before the command: `specfact --no-banner <command>`
386-
- **Bridge adapter sync**: Use `project sync bridge --adapter <adapter-name>` for external tool integration (Spec-Kit, OpenSpec, GitHub, etc.)
386+
- **Bridge adapter sync**: Use `sync bridge --adapter <adapter-name>` for external tool integration (Spec-Kit, OpenSpec, GitHub, etc.)
387387
- **Repository sync**: Use `project sync repository` for code change tracking
388388
- **Semgrep (optional)**: Install `pip install semgrep` for async pattern detection in `specfact code repro`
389389

docs/getting-started/tutorial-daily-standup-sprint-review.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,6 @@ supported. Use it with the **`specfact.backlog-daily`** slash prompt for interac
213213

214214
## Related Documentation
215215

216-
- **[Agile/Scrum Workflows](../guides/agile-scrum-workflows.md)** — Daily standup, iteration/sprint, unassigned items, blockers-first
216+
- **[Agile/Scrum Workflows](/guides/agile-scrum-workflows/)** — Daily standup, iteration/sprint, unassigned items, blockers-first
217217
- **[DevOps Adapter Integration](/integrations/devops-adapter-overview/)** — Project backlog context (`.nold-ai/specfact-backlog.yaml`), env vars, **Git fallback (auto-detect from clone)** for GitHub and Azure DevOps
218218
- **[Backlog Refinement Guide](/bundles/backlog/refinement/)** — Template-driven refinement (complementary to daily standup)

docs/guides/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ Practical module-owned guides for official bundles, adapters, publishing, and wo
2929

3030
- **[IDE Integration](ide-integration.md)** - Set up slash commands in your IDE
3131
- **[CoPilot Mode](copilot-mode.md)** - Using `--mode copilot` on CLI commands
32-
- **[DevOps Adapter Integration](/integrations/devops-adapter-overview/)** - Integrate with GitHub Issues, Azure DevOps, Linear, Jira for backlog tracking
33-
- **[Backlog Refinement](/bundles/backlog/refinement/)** - AI-assisted template-driven refinement with filtering and DoR checks
32+
- **[DevOps Adapter Integration](integrations/devops-adapter-overview/)** - Integrate with GitHub Issues, Azure DevOps, Linear, Jira for backlog tracking
33+
- **[Backlog Refinement](bundles/backlog/refinement/)** - AI-assisted template-driven refinement with filtering and DoR checks
3434
- **[Specmatic Integration](specmatic-integration.md)** - API contract testing with Specmatic
3535
- **[Troubleshooting](troubleshooting.md)** - Common issues and solutions
3636
- **[Installing Modules](installing-modules.md)** - Install, list, show, search, enable/disable, uninstall, and upgrade modules
3737
- **[Module Marketplace](module-marketplace.md)** - Discovery priority, trust vs origin semantics, and security model
38-
- **[Custom registries](/authoring/custom-registries/)** - Add, list, remove registries; trust levels and priority
39-
- **[Publishing modules](/authoring/publishing-modules/)** - Package, sign, and publish modules to a registry
38+
- **[Custom registries](authoring/custom-registries/)** - Add, list, remove registries; trust levels and priority
39+
- **[Publishing modules](authoring/publishing-modules/)** - Package, sign, and publish modules to a registry
4040
- **[Module Signing and Key Rotation](module-signing-and-key-rotation.md)** - Public key placement, signing workflow, CI verification, rotation, and revocation runbook
4141
- **[Competitive Analysis](competitive-analysis.md)** - How SpecFact compares to other tools
4242
- **[Operational Modes](../reference/modes.md)** - CI/CD vs CoPilot modes

docs/guides/ai-ide-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Examples:
4040
```bash
4141
specfact backlog ceremony refinement github --preview --labels feature
4242
specfact code review run src --scope changed --no-tests
43-
specfact project sync bridge --adapter github --mode export-only --repo . --bundle legacy-api
43+
specfact sync bridge --adapter github --mode export-only --repo . --bundle legacy-api
4444
```
4545

4646
These commands are the source of truth. The IDE should support them, not replace them.

docs/guides/brownfield-examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Use this when backlog items must be refined before the modernization work is syn
2727
```bash
2828
specfact backlog ceremony refinement github --preview --labels feature
2929
specfact backlog verify-readiness --adapter github --project-id owner/repo --target-items 123
30-
specfact project sync bridge --adapter github --mode export-only --repo . --bundle legacy-api
30+
specfact sync bridge --adapter github --mode export-only --repo . --bundle legacy-api
3131
```
3232

3333
Outcome: backlog items are standardized before they drive bundle changes.

0 commit comments

Comments
 (0)