@dynamicworks/br-openspec 1.3.1 → 2.0.0

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.
Files changed (59) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +210 -210
  3. package/README.pt-BR.md +212 -212
  4. package/bin/openspec.js +2 -2
  5. package/dist/commands/feedback.js +4 -4
  6. package/dist/commands/schema.js +60 -60
  7. package/dist/core/command-generation/adapters/amazon-q.js +5 -5
  8. package/dist/core/command-generation/adapters/antigravity.js +5 -5
  9. package/dist/core/command-generation/adapters/auggie.js +6 -6
  10. package/dist/core/command-generation/adapters/bob.js +6 -6
  11. package/dist/core/command-generation/adapters/claude.js +8 -8
  12. package/dist/core/command-generation/adapters/cline.js +5 -5
  13. package/dist/core/command-generation/adapters/codebuddy.js +7 -7
  14. package/dist/core/command-generation/adapters/codex.js +6 -6
  15. package/dist/core/command-generation/adapters/continue.js +7 -7
  16. package/dist/core/command-generation/adapters/costrict.js +6 -6
  17. package/dist/core/command-generation/adapters/crush.js +8 -8
  18. package/dist/core/command-generation/adapters/cursor.js +8 -8
  19. package/dist/core/command-generation/adapters/factory.js +6 -6
  20. package/dist/core/command-generation/adapters/gemini.js +5 -5
  21. package/dist/core/command-generation/adapters/github-copilot.js +5 -5
  22. package/dist/core/command-generation/adapters/iflow.js +8 -8
  23. package/dist/core/command-generation/adapters/junie.js +5 -5
  24. package/dist/core/command-generation/adapters/kilocode.js +1 -1
  25. package/dist/core/command-generation/adapters/kiro.js +5 -5
  26. package/dist/core/command-generation/adapters/lingma.js +8 -8
  27. package/dist/core/command-generation/adapters/opencode.js +5 -5
  28. package/dist/core/command-generation/adapters/pi.js +5 -5
  29. package/dist/core/command-generation/adapters/qoder.js +8 -8
  30. package/dist/core/command-generation/adapters/qwen.js +5 -5
  31. package/dist/core/command-generation/adapters/roocode.js +5 -5
  32. package/dist/core/command-generation/adapters/windsurf.js +8 -8
  33. package/dist/core/completions/generators/bash-generator.js +41 -41
  34. package/dist/core/completions/generators/fish-generator.js +7 -7
  35. package/dist/core/completions/generators/powershell-generator.js +29 -29
  36. package/dist/core/completions/generators/zsh-generator.js +33 -33
  37. package/dist/core/completions/templates/bash-templates.js +18 -18
  38. package/dist/core/completions/templates/fish-templates.js +32 -32
  39. package/dist/core/completions/templates/powershell-templates.js +19 -19
  40. package/dist/core/completions/templates/zsh-templates.js +30 -30
  41. package/dist/core/shared/skill-generation.js +12 -12
  42. package/dist/core/templates/workflows/apply-change.js +288 -288
  43. package/dist/core/templates/workflows/archive-change.js +251 -251
  44. package/dist/core/templates/workflows/bulk-archive-change.js +472 -472
  45. package/dist/core/templates/workflows/continue-change.js +212 -212
  46. package/dist/core/templates/workflows/explore.js +443 -443
  47. package/dist/core/templates/workflows/feedback.js +97 -97
  48. package/dist/core/templates/workflows/ff-change.js +178 -178
  49. package/dist/core/templates/workflows/propose.js +196 -196
  50. package/dist/core/templates/workflows/sync-specs.js +252 -252
  51. package/dist/core/templates/workflows/upstream-sync.js +93 -93
  52. package/dist/messages/index.js +977 -977
  53. package/package.json +82 -84
  54. package/schemas/spec-driven/schema.yaml +153 -153
  55. package/schemas/spec-driven/templates/design.md +19 -19
  56. package/schemas/spec-driven/templates/proposal.md +23 -23
  57. package/schemas/spec-driven/templates/spec.md +8 -8
  58. package/schemas/spec-driven/templates/tasks.md +9 -9
  59. package/scripts/postinstall.js +83 -83
package/LICENSE CHANGED
@@ -1,22 +1,22 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 BR-OpenSpec Contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
22
-
1
+ MIT License
2
+
3
+ Copyright (c) 2024 BR-OpenSpec Contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
package/README.md CHANGED
@@ -1,210 +1,210 @@
1
- <p align="center">
2
- <a href="https://github.com/dynamicworks-com-br/BR-OpenSpec">
3
- <picture>
4
- <source srcset="assets/openspec_bg.png">
5
- <img src="assets/openspec_bg.png" alt="OpenSpec logo">
6
- </picture>
7
- </a>
8
- </p>
9
-
10
- <p align="center">
11
- <a href="https://github.com/dynamicworks-com-br/BR-OpenSpec/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/dynamicworks-com-br/BR-OpenSpec/actions/workflows/ci.yml/badge.svg" /></a>
12
- <a href="https://www.npmjs.com/package/@dynamicworks/br-openspec"><img alt="npm version" src="https://img.shields.io/npm/v/@dynamicworks/br-openspec?style=flat-square" /></a>
13
- <a href="./LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square" /></a>
14
- </p>
15
-
16
- <details>
17
- <summary><strong>The most loved spec framework.</strong></summary>
18
-
19
- [![Stars](https://img.shields.io/github/stars/dynamicworks-com-br/BR-OpenSpec?style=flat-square&label=Stars)](https://github.com/dynamicworks-com-br/BR-OpenSpec/stargazers)
20
- [![Downloads](https://img.shields.io/npm/dm/@dynamicworks/br-openspec?style=flat-square&label=Downloads/mo)](https://www.npmjs.com/package/@dynamicworks/br-openspec)
21
- [![Contributors](https://img.shields.io/github/contributors/dynamicworks-com-br/BR-OpenSpec?style=flat-square&label=Contributors)](https://github.com/dynamicworks-com-br/BR-OpenSpec/graphs/contributors)
22
-
23
- </details>
24
- <p></p>
25
- Our philosophy:
26
-
27
- > This philosophy was defined by the original [OpenSpec](https://github.com/tab-tools/openspec) project and BR-OpenSpec will do its best to honor it in every decision.
28
-
29
- ```text
30
- → fluid not rigid
31
- → iterative not waterfall
32
- → easy not complex
33
- → built for brownfield not just greenfield
34
- → scalable from personal projects to enterprises
35
- ```
36
-
37
- > [!TIP]
38
- > **New workflow now available!** We've rebuilt BR-OpenSpec with a new artifact-guided workflow.
39
- >
40
- > Run `/opsx:propose "your idea"` to get started. → [Learn more here](docs/opsx.md)
41
-
42
- <p align="center">
43
- Follow <a href="https://x.com/0xTab">@0xTab on X</a> for updates.
44
- </p>
45
-
46
- <!-- TODO: Add GIF demo of /opsx:propose → /opsx:archive workflow -->
47
-
48
- ## See it in action
49
-
50
- ```text
51
- You: /opsx:propose add-dark-mode
52
- AI: Created openspec/changes/add-dark-mode/
53
- ✓ proposal.md — why we're doing this, what's changing
54
- ✓ specs/ — requirements and scenarios
55
- ✓ design.md — technical approach
56
- ✓ tasks.md — implementation checklist
57
- Ready for implementation!
58
-
59
- You: /opsx:apply
60
- AI: Implementing tasks...
61
- ✓ 1.1 Add theme context provider
62
- ✓ 1.2 Create toggle component
63
- ✓ 2.1 Add CSS variables
64
- ✓ 2.2 Wire up localStorage
65
- All tasks complete!
66
-
67
- You: /opsx:archive
68
- AI: Archived to openspec/changes/archive/2025-01-23-add-dark-mode/
69
- Specs updated. Ready for the next feature.
70
- ```
71
-
72
- <details>
73
- <summary><strong>BR-OpenSpec Dashboard</strong></summary>
74
-
75
- <p align="center">
76
- <img src="assets/openspec_dashboard.png" alt="OpenSpec dashboard preview" width="90%">
77
- </p>
78
-
79
- </details>
80
-
81
- ## Quick Start
82
-
83
- **Requires Node.js 20.19.0 or higher.**
84
-
85
- Install BR-OpenSpec globally:
86
-
87
- ```bash
88
- npm install -g @dynamicworks/br-openspec@latest
89
- ```
90
-
91
- Then navigate to your project directory and initialize:
92
-
93
- ```bash
94
- cd your-project
95
- openspec init
96
- ```
97
-
98
- Now tell your AI: `/opsx:propose <what-you-want-to-build>`
99
-
100
- If you want the expanded workflow (`/opsx:new`, `/opsx:continue`, `/opsx:ff`, `/opsx:verify`, `/opsx:sync`, `/opsx:bulk-archive`, `/opsx:onboard`), select it with `openspec config profile` and apply with `openspec update`.
101
-
102
- > [!NOTE]
103
- > Not sure if your tool is supported? [View the full list](docs/supported-tools.md) – we support 25+ tools and growing.
104
- >
105
- > Also works with pnpm, yarn, bun, and nix. [See installation options](docs/installation.md).
106
-
107
- ## Docs
108
-
109
- → **[Getting Started](docs/getting-started.md)**: first steps<br>
110
- → **[Workflows](docs/workflows.md)**: combos and patterns<br>
111
- → **[Commands](docs/commands.md)**: slash commands & skills<br>
112
- → **[CLI](docs/cli.md)**: terminal reference<br>
113
- → **[Supported Tools](docs/supported-tools.md)**: tool integrations & install paths<br>
114
- → **[Concepts](docs/concepts.md)**: how it all fits<br>
115
- → **[Multi-Language](docs/multi-language.md)**: multi-language support<br>
116
- → **[Customization](docs/customization.md)**: make it yours
117
-
118
-
119
- ## Why BR-OpenSpec?
120
-
121
- AI coding assistants are powerful but unpredictable when requirements live only in chat history. BR-OpenSpec adds a lightweight spec layer so you agree on what to build before any code is written.
122
-
123
- - **Agree before you build** — human and AI align on specs before code gets written
124
- - **Stay organized** — each change gets its own folder with proposal, specs, design, and tasks
125
- - **Work fluidly** — update any artifact anytime, no rigid phase gates
126
- - **Use your tools** — works with 20+ AI assistants via slash commands
127
-
128
- ### How we compare
129
-
130
- **vs. [Spec Kit](https://github.com/github/spec-kit)** (GitHub) — Thorough but heavyweight. Rigid phase gates, lots of Markdown, Python setup. BR-OpenSpec is lighter and lets you iterate freely.
131
-
132
- **vs. [Kiro](https://kiro.dev)** (AWS) — Powerful but you're locked into their IDE and limited to Claude models. BR-OpenSpec works with the tools you already use.
133
-
134
- **vs. nothing** — AI coding without specs means vague prompts and unpredictable results. BR-OpenSpec brings predictability without the ceremony.
135
-
136
- ## Updating BR-OpenSpec
137
-
138
- **Upgrade the package**
139
-
140
- ```bash
141
- npm install -g @dynamicworks/br-openspec@latest
142
- ```
143
-
144
- **Refresh agent instructions**
145
-
146
- Run this inside each project to regenerate AI guidance and ensure the latest slash commands are active:
147
-
148
- ```bash
149
- openspec update
150
- ```
151
-
152
- **Manage IDE/Code Agent configurations**
153
-
154
- Add or remove supported IDE and Code Agent integrations without re-running `init`:
155
-
156
- ```bash
157
- openspec tools # interactive checklist
158
- openspec tools --add claude,cursor
159
- openspec tools --remove windsurf
160
- ```
161
-
162
- ## Usage Notes
163
-
164
- **Model selection**: BR-OpenSpec works best with high-reasoning models. We recommend Opus 4.5 and GPT 5.2 for both planning and implementation.
165
-
166
- **Context hygiene**: BR-OpenSpec benefits from a clean context window. Clear your context before starting implementation and maintain good context hygiene throughout your session.
167
-
168
- ## Contributing
169
-
170
- **Small fixes** — Bug fixes, typo corrections, and minor improvements can be submitted directly as PRs.
171
-
172
- **Larger changes** — For new features, significant refactors, or architectural changes, please submit a BR-OpenSpec change proposal first so we can align on intent and goals before implementation begins.
173
-
174
- When writing proposals, keep the BR-OpenSpec philosophy in mind: we serve a wide variety of users across different coding agents, models, and use cases. Changes should work well for everyone.
175
-
176
- **AI-generated code is welcome** — as long as it's been tested and verified. PRs containing AI-generated code should mention the coding agent and model used (e.g., "Generated with Claude Code using claude-opus-4-5-20251101").
177
-
178
- ### Development
179
-
180
- - Install dependencies: `pnpm install`
181
- - Build: `pnpm run build`
182
- - Test: `pnpm test`
183
- - Develop CLI locally: `pnpm run dev` or `pnpm run dev:cli`
184
- - Conventional commits (one-line): `type(scope): subject`
185
-
186
- ## Other
187
-
188
- <details>
189
- <summary><strong>Telemetry</strong></summary>
190
-
191
- BR-OpenSpec collects anonymous usage stats.
192
-
193
- We collect only command names and version to understand usage patterns. No arguments, paths, content, or PII. Automatically disabled in CI.
194
-
195
- **Opt-out:** `export OPENSPEC_TELEMETRY=0` or `export DO_NOT_TRACK=1`
196
-
197
- </details>
198
-
199
- <details>
200
- <summary><strong>Maintainers & Advisors</strong></summary>
201
-
202
- See [MAINTAINERS.md](MAINTAINERS.md) for the list of core maintainers and advisors who help guide the project.
203
-
204
- </details>
205
-
206
-
207
-
208
- ## License
209
-
210
- MIT
1
+ <p align="center">
2
+ <a href="https://github.com/dynamicworks-com-br/BR-OpenSpec">
3
+ <picture>
4
+ <source srcset="assets/openspec_bg.png">
5
+ <img src="assets/openspec_bg.png" alt="OpenSpec logo">
6
+ </picture>
7
+ </a>
8
+ </p>
9
+
10
+ <p align="center">
11
+ <a href="https://github.com/dynamicworks-com-br/BR-OpenSpec/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/dynamicworks-com-br/BR-OpenSpec/actions/workflows/ci.yml/badge.svg" /></a>
12
+ <a href="https://www.npmjs.com/package/@dynamicworks/br-openspec"><img alt="npm version" src="https://img.shields.io/npm/v/@dynamicworks/br-openspec?style=flat-square" /></a>
13
+ <a href="./LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square" /></a>
14
+ </p>
15
+
16
+ <details>
17
+ <summary><strong>The most loved spec framework.</strong></summary>
18
+
19
+ [![Stars](https://img.shields.io/github/stars/dynamicworks-com-br/BR-OpenSpec?style=flat-square&label=Stars)](https://github.com/dynamicworks-com-br/BR-OpenSpec/stargazers)
20
+ [![Downloads](https://img.shields.io/npm/dm/@dynamicworks/br-openspec?style=flat-square&label=Downloads/mo)](https://www.npmjs.com/package/@dynamicworks/br-openspec)
21
+ [![Contributors](https://img.shields.io/github/contributors/dynamicworks-com-br/BR-OpenSpec?style=flat-square&label=Contributors)](https://github.com/dynamicworks-com-br/BR-OpenSpec/graphs/contributors)
22
+
23
+ </details>
24
+ <p></p>
25
+ Our philosophy:
26
+
27
+ > This philosophy was defined by the original [OpenSpec](https://github.com/tab-tools/openspec) project and BR-OpenSpec will do its best to honor it in every decision.
28
+
29
+ ```text
30
+ → fluid not rigid
31
+ → iterative not waterfall
32
+ → easy not complex
33
+ → built for brownfield not just greenfield
34
+ → scalable from personal projects to enterprises
35
+ ```
36
+
37
+ > [!TIP]
38
+ > **New workflow now available!** We've rebuilt BR-OpenSpec with a new artifact-guided workflow.
39
+ >
40
+ > Run `/opsx:propose "your idea"` to get started. → [Learn more here](docs/opsx.md)
41
+
42
+ <p align="center">
43
+ Follow <a href="https://x.com/0xTab">@0xTab on X</a> for updates.
44
+ </p>
45
+
46
+ <!-- TODO: Add GIF demo of /opsx:propose → /opsx:archive workflow -->
47
+
48
+ ## See it in action
49
+
50
+ ```text
51
+ You: /opsx:propose add-dark-mode
52
+ AI: Created openspec/changes/add-dark-mode/
53
+ ✓ proposal.md — why we're doing this, what's changing
54
+ ✓ specs/ — requirements and scenarios
55
+ ✓ design.md — technical approach
56
+ ✓ tasks.md — implementation checklist
57
+ Ready for implementation!
58
+
59
+ You: /opsx:apply
60
+ AI: Implementing tasks...
61
+ ✓ 1.1 Add theme context provider
62
+ ✓ 1.2 Create toggle component
63
+ ✓ 2.1 Add CSS variables
64
+ ✓ 2.2 Wire up localStorage
65
+ All tasks complete!
66
+
67
+ You: /opsx:archive
68
+ AI: Archived to openspec/changes/archive/2025-01-23-add-dark-mode/
69
+ Specs updated. Ready for the next feature.
70
+ ```
71
+
72
+ <details>
73
+ <summary><strong>BR-OpenSpec Dashboard</strong></summary>
74
+
75
+ <p align="center">
76
+ <img src="assets/openspec_dashboard.png" alt="OpenSpec dashboard preview" width="90%">
77
+ </p>
78
+
79
+ </details>
80
+
81
+ ## Quick Start
82
+
83
+ **Requires Node.js 20.19.0 or higher.**
84
+
85
+ Install BR-OpenSpec globally:
86
+
87
+ ```bash
88
+ npm install -g @dynamicworks/br-openspec@latest
89
+ ```
90
+
91
+ Then navigate to your project directory and initialize:
92
+
93
+ ```bash
94
+ cd your-project
95
+ openspec init
96
+ ```
97
+
98
+ Now tell your AI: `/opsx:propose <what-you-want-to-build>`
99
+
100
+ If you want the expanded workflow (`/opsx:new`, `/opsx:continue`, `/opsx:ff`, `/opsx:verify`, `/opsx:sync`, `/opsx:bulk-archive`, `/opsx:onboard`), select it with `openspec config profile` and apply with `openspec update`.
101
+
102
+ > [!NOTE]
103
+ > Not sure if your tool is supported? [View the full list](docs/supported-tools.md) – we support 25+ tools and growing.
104
+ >
105
+ > Also works with pnpm, yarn, bun, and nix. [See installation options](docs/installation.md).
106
+
107
+ ## Docs
108
+
109
+ → **[Getting Started](docs/getting-started.md)**: first steps<br>
110
+ → **[Workflows](docs/workflows.md)**: combos and patterns<br>
111
+ → **[Commands](docs/commands.md)**: slash commands & skills<br>
112
+ → **[CLI](docs/cli.md)**: terminal reference<br>
113
+ → **[Supported Tools](docs/supported-tools.md)**: tool integrations & install paths<br>
114
+ → **[Concepts](docs/concepts.md)**: how it all fits<br>
115
+ → **[Multi-Language](docs/multi-language.md)**: multi-language support<br>
116
+ → **[Customization](docs/customization.md)**: make it yours
117
+
118
+
119
+ ## Why BR-OpenSpec?
120
+
121
+ AI coding assistants are powerful but unpredictable when requirements live only in chat history. BR-OpenSpec adds a lightweight spec layer so you agree on what to build before any code is written.
122
+
123
+ - **Agree before you build** — human and AI align on specs before code gets written
124
+ - **Stay organized** — each change gets its own folder with proposal, specs, design, and tasks
125
+ - **Work fluidly** — update any artifact anytime, no rigid phase gates
126
+ - **Use your tools** — works with 20+ AI assistants via slash commands
127
+
128
+ ### How we compare
129
+
130
+ **vs. [Spec Kit](https://github.com/github/spec-kit)** (GitHub) — Thorough but heavyweight. Rigid phase gates, lots of Markdown, Python setup. BR-OpenSpec is lighter and lets you iterate freely.
131
+
132
+ **vs. [Kiro](https://kiro.dev)** (AWS) — Powerful but you're locked into their IDE and limited to Claude models. BR-OpenSpec works with the tools you already use.
133
+
134
+ **vs. nothing** — AI coding without specs means vague prompts and unpredictable results. BR-OpenSpec brings predictability without the ceremony.
135
+
136
+ ## Updating BR-OpenSpec
137
+
138
+ **Upgrade the package**
139
+
140
+ ```bash
141
+ npm install -g @dynamicworks/br-openspec@latest
142
+ ```
143
+
144
+ **Refresh agent instructions**
145
+
146
+ Run this inside each project to regenerate AI guidance and ensure the latest slash commands are active:
147
+
148
+ ```bash
149
+ openspec update
150
+ ```
151
+
152
+ **Manage IDE/Code Agent configurations**
153
+
154
+ Add or remove supported IDE and Code Agent integrations without re-running `init`:
155
+
156
+ ```bash
157
+ openspec tools # interactive checklist
158
+ openspec tools --add claude,cursor
159
+ openspec tools --remove windsurf
160
+ ```
161
+
162
+ ## Usage Notes
163
+
164
+ **Model selection**: BR-OpenSpec works best with high-reasoning models. We recommend Opus 4.5 and GPT 5.2 for both planning and implementation.
165
+
166
+ **Context hygiene**: BR-OpenSpec benefits from a clean context window. Clear your context before starting implementation and maintain good context hygiene throughout your session.
167
+
168
+ ## Contributing
169
+
170
+ **Small fixes** — Bug fixes, typo corrections, and minor improvements can be submitted directly as PRs.
171
+
172
+ **Larger changes** — For new features, significant refactors, or architectural changes, please submit a BR-OpenSpec change proposal first so we can align on intent and goals before implementation begins.
173
+
174
+ When writing proposals, keep the BR-OpenSpec philosophy in mind: we serve a wide variety of users across different coding agents, models, and use cases. Changes should work well for everyone.
175
+
176
+ **AI-generated code is welcome** — as long as it's been tested and verified. PRs containing AI-generated code should mention the coding agent and model used (e.g., "Generated with Claude Code using claude-opus-4-5-20251101").
177
+
178
+ ### Development
179
+
180
+ - Install dependencies: `pnpm install`
181
+ - Build: `pnpm run build`
182
+ - Test: `pnpm test`
183
+ - Develop CLI locally: `pnpm run dev` or `pnpm run dev:cli`
184
+ - Conventional commits (one-line): `type(scope): subject`
185
+
186
+ ## Other
187
+
188
+ <details>
189
+ <summary><strong>Telemetry</strong></summary>
190
+
191
+ BR-OpenSpec collects anonymous usage stats.
192
+
193
+ We collect only command names and version to understand usage patterns. No arguments, paths, content, or PII. Automatically disabled in CI.
194
+
195
+ **Opt-out:** `export OPENSPEC_TELEMETRY=0` or `export DO_NOT_TRACK=1`
196
+
197
+ </details>
198
+
199
+ <details>
200
+ <summary><strong>Maintainers & Advisors</strong></summary>
201
+
202
+ See [MAINTAINERS.md](MAINTAINERS.md) for the list of core maintainers and advisors who help guide the project.
203
+
204
+ </details>
205
+
206
+
207
+
208
+ ## License
209
+
210
+ MIT