spec-editor 0.1.0__py3-none-any.whl

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 (82) hide show
  1. spec_editor-0.1.0.dist-info/METADATA +324 -0
  2. spec_editor-0.1.0.dist-info/RECORD +82 -0
  3. spec_editor-0.1.0.dist-info/WHEEL +5 -0
  4. spec_editor-0.1.0.dist-info/entry_points.txt +2 -0
  5. spec_editor-0.1.0.dist-info/licenses/LICENSE +190 -0
  6. spec_editor-0.1.0.dist-info/top_level.txt +1 -0
  7. src/__init__.py +3 -0
  8. src/__main__.py +1 -0
  9. src/agents/__init__.py +1 -0
  10. src/agents/base.py +396 -0
  11. src/agents/blind_vote.py +419 -0
  12. src/agents/compaction.py +142 -0
  13. src/agents/dialogue.py +778 -0
  14. src/agents/factory.py +40 -0
  15. src/agents/orchestrator.py +129 -0
  16. src/agents/prompts.py +45 -0
  17. src/agents/questions.py +86 -0
  18. src/agents/role.py +65 -0
  19. src/agents/spec_agent.py +65 -0
  20. src/agents/tools.py +571 -0
  21. src/agents/tools_agile.py +298 -0
  22. src/agents/tools_code.py +447 -0
  23. src/agents/tools_questions.py +199 -0
  24. src/cli/__init__.py +1 -0
  25. src/cli/commands.py +90 -0
  26. src/cli/commands_core.py +348 -0
  27. src/cli/commands_edit.py +199 -0
  28. src/cli/commands_export.py +187 -0
  29. src/cli/commands_export_helpers.py +280 -0
  30. src/cli/commands_ingest.py +268 -0
  31. src/cli/commands_init.py +138 -0
  32. src/cli/commands_view.py +296 -0
  33. src/cli/display.py +5 -0
  34. src/codegen/__init__.py +1 -0
  35. src/codegen/engine.py +154 -0
  36. src/config/__init__.py +61 -0
  37. src/config/methodology.py +225 -0
  38. src/config/prompt_loader.py +131 -0
  39. src/config/settings.py +126 -0
  40. src/config/skills.py +41 -0
  41. src/context/__init__.py +3 -0
  42. src/context/builder.py +207 -0
  43. src/export/compliance_exporter.py +288 -0
  44. src/export/formatters.py +144 -0
  45. src/export/gatherers.py +280 -0
  46. src/export/openapi_exporter.py +204 -0
  47. src/export/pipeline.py +121 -0
  48. src/export/transports.py +45 -0
  49. src/export/trlc.py +123 -0
  50. src/ingestion/__init__.py +5 -0
  51. src/ingestion/analyzer.py +320 -0
  52. src/ingestion/manager.py +180 -0
  53. src/ingestion/preprocessor.py +455 -0
  54. src/ingestion/telegram_hook.py +330 -0
  55. src/main.py +487 -0
  56. src/mcp/__init__.py +1 -0
  57. src/mcp/annotator.py +287 -0
  58. src/mcp/exporter.py +185 -0
  59. src/mcp/metrics.py +164 -0
  60. src/mcp/parsers/base_ts.py +331 -0
  61. src/mcp/parsers/go.py +19 -0
  62. src/mcp/parsers/java.py +22 -0
  63. src/mcp/parsers/kotlin.py +22 -0
  64. src/mcp/parsers/python.py +110 -0
  65. src/mcp/parsers/rust.py +21 -0
  66. src/mcp/parsers/typescript.py +270 -0
  67. src/mcp/server.py +182 -0
  68. src/mcp/validator.py +199 -0
  69. src/mcp/verifier.py +253 -0
  70. src/providers/__init__.py +1 -0
  71. src/providers/base.py +138 -0
  72. src/providers/litellm_provider.py +195 -0
  73. src/storage/__init__.py +1 -0
  74. src/storage/adapter.py +57 -0
  75. src/storage/dry_run.py +81 -0
  76. src/storage/filesystem.py +361 -0
  77. src/storage/models.py +100 -0
  78. src/storage/parser.py +151 -0
  79. src/storage/session.py +261 -0
  80. src/tracing.py +27 -0
  81. src/view/__init__.py +3 -0
  82. src/view/renderer.py +222 -0
@@ -0,0 +1,324 @@
1
+ Metadata-Version: 2.4
2
+ Name: spec-editor
3
+ Version: 0.1.0
4
+ Summary: Automated requirements engineering system with AI agents
5
+ Author: Spec Editor Team
6
+ License-Expression: Apache-2.0
7
+ Requires-Python: >=3.11
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: pydantic>=2.0
11
+ Requires-Dist: pydantic-settings>=2.0
12
+ Requires-Dist: python-dotenv>=1.0
13
+ Requires-Dist: litellm>=1.50
14
+ Requires-Dist: python-frontmatter>=1.1
15
+ Requires-Dist: click>=8.1
16
+ Requires-Dist: rich>=13.0
17
+ Requires-Dist: structlog>=24.0
18
+ Requires-Dist: pyyaml>=6.0
19
+ Requires-Dist: jinja2>=3.0
20
+ Requires-Dist: tree-sitter<0.25,>=0.21
21
+ Requires-Dist: tree-sitter-languages<2.0,>=1.9
22
+ Provides-Extra: dev
23
+ Requires-Dist: pytest>=8.0; extra == "dev"
24
+ Requires-Dist: pytest-asyncio>=0.24; extra == "dev"
25
+ Requires-Dist: pytest-cov>=5.0; extra == "dev"
26
+ Requires-Dist: ruff>=0.6; extra == "dev"
27
+ Requires-Dist: openpyxl>=3.0; extra == "dev"
28
+ Dynamic: license-file
29
+
30
+ <p align="center">
31
+ <h1 align="center">Spec Editor</h1>
32
+ <h3 align="center">AI-powered requirements engineering with methodology support</h3>
33
+ </p>
34
+
35
+ <p align="center">
36
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-Apache_2.0-blue.svg" alt="Apache 2.0"></a>
37
+ <a href="https://www.python.org/downloads/"><img src="https://img.shields.io/badge/python-3.11+-blue.svg" alt="Python 3.11+"></a>
38
+ <a href="tests/"><img src="https://img.shields.io/badge/tests-360-green.svg" alt="360 tests"></a>
39
+ </p>
40
+
41
+ <p align="center">
42
+ <a href="docs/demo.gif">▶ Watch the demo (GIF)</a>
43
+ </p>
44
+
45
+ ---
46
+
47
+ ## What is Spec Editor?
48
+
49
+ Spec Editor turns messy requirements documents into structured specifications
50
+ using multiple AI agents in a structured dialogue. Then it connects to your
51
+ AI coding agent (Claude Code, Cursor, Zed) via MCP so your generated code
52
+ stays aligned with your requirements.
53
+
54
+ **It is:**
55
+ - A CLI tool that generates specifications via multi-agent debate
56
+ - An MCP server so external AI agents can read your specification
57
+ - A code generator that creates skeletons from spec elements (SQLAlchemy, FastAPI, React, pytest)
58
+
59
+ **It is NOT:**
60
+ - A generic code generator (we do templates, not AI code gen)
61
+ - A task tracker (use Jira/Linear for that — we export to them)
62
+ - A replacement for developers (agents debate, humans decide)
63
+
64
+ > [!NOTE]
65
+ > Spec Editor works with any OpenAI-compatible API (DeepSeek, OpenAI, Anthropic).
66
+ > Default: DeepSeek ($0.14/M tokens).
67
+
68
+ ---
69
+
70
+ ## Why Not Just Prompt an LLM Directly?
71
+
72
+ A raw LLM prompt produces superficial, flat requirements. Spec Editor's
73
+ multi-agent debate and methodology-driven structure produce deeply
74
+ connected specifications — much better than what any single LLM prompt
75
+ can achieve.
76
+
77
+ | What happens with raw LLM | What spec-editor does |
78
+ |---|---|
79
+ | Single perspective | Multi-agent debate with structured rounds |
80
+ | No adversarial review | Agents challenge each other — edge cases, contradictions caught |
81
+ | Freeform output | Methodology-driven: modules, scenarios, UI, data, NFR, metrics |
82
+ | Ephemeral session | Version-controlled artifacts in git (Markdown + YAML) |
83
+
84
+ ---
85
+
86
+ ## Quick Start
87
+
88
+ ```bash
89
+ pip install spec-editor
90
+
91
+ # 1. Instant preview (no API key)
92
+ spec-editor demo # opens pre-generated spec in browser
93
+
94
+ # 2. Create project and run agents
95
+ spec-editor init my-project # creates project structure
96
+ cd my-project
97
+ # Put your requirements in source/ — or use --with-example
98
+ spec-editor run # needs DEEPSEEK_API_KEY in .env
99
+
100
+ # 3. Connect to your AI coding agent
101
+ spec-editor mcp & # start MCP server in background
102
+ # Add the MCP config to your agent (see below)
103
+
104
+ # 4. Export to shareable format
105
+ spec-editor export -f html # styled HTML report
106
+ spec-editor export -f srs # IEEE 830 Markdown
107
+ spec-editor validate # check methodology compliance
108
+ ```
109
+
110
+ After `spec-editor run` completes, you'll have:
111
+ - `aspects/` — structured specification in Markdown + YAML frontmatter
112
+ - `source/session_summary.md` — what the agents did and why
113
+
114
+ ---
115
+
116
+ ## Connect to AI Coding Assistants (MCP)
117
+
118
+ Spec Editor runs an MCP server for any MCP-compatible agent
119
+ (Zed, Cursor, Claude Code, Windsurf, etc.).
120
+
121
+ ```bash
122
+ spec-editor mcp & # start in background
123
+ ```
124
+
125
+ Add to your agent's MCP config (`.mcp.json`):
126
+
127
+ ```json
128
+ {
129
+ "mcpServers": {
130
+ "spec-editor": {
131
+ "command": "spec-editor",
132
+ "args": ["mcp", "-p", "/absolute/path/to/project"]
133
+ }
134
+ }
135
+ }
136
+ ```
137
+
138
+ ### What Your Agent Gets
139
+
140
+ | Tool | Description |
141
+ |------|-------------|
142
+ | `get_context_for_file` | Spec context for a code file via `@implements` |
143
+ | `search_elements` | Full-text search across requirements |
144
+ | `read_element` | Read any specification element by ID |
145
+ | `list_all_elements` | Browse entire specification |
146
+
147
+ Add `@implements("REQ-ID")` decorators to your code — the agent
148
+ automatically pulls linked requirements into its context.
149
+
150
+ Full API reference: [readme_mcp.md](readme_mcp.md)
151
+
152
+ ---
153
+
154
+ ## How It Works
155
+
156
+ ```
157
+ ┌──────────────────────────────────────────────────────────────┐
158
+ │ SPEC EDITOR │
159
+ │ │
160
+ │ SOURCE DOCUMENTS │
161
+ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
162
+ │ │ PDF/TXT │ │ Telegram │ │ Voice │ ... │
163
+ │ └────┬─────┘ └────┬─────┘ └────┬─────┘ │
164
+ │ │ │ │ │
165
+ │ ▼ ▼ ▼ │
166
+ │ ┌─────────────────────────────────────┐ │
167
+ │ │ Ingestion Pipeline │ │
168
+ │ │ PDF → text, spam filter, SRC gen │ │
169
+ │ └─────────────────┬───────────────────┘ │
170
+ │ ▼ │
171
+ │ ┌─────────────────────────────────────┐ │
172
+ │ │ AGENT DIALOGUE │ │
173
+ │ │ ┌──────────┐ ┌──────────┐ │ │
174
+ │ │ │ Agent 1 │ │ Agent 2 │ +Orch │ │
175
+ │ │ │ modules │ │scenarios │ │ │
176
+ │ │ └────┬─────┘ └────┬─────┘ │ │
177
+ │ │ │ debate │ │ │
178
+ │ │ ▼ ▼ │ │
179
+ │ │ ┌─────────────────────────────┐ │ │
180
+ │ │ │ Skill-based helpers │ │ │
181
+ │ │ │ scenario_decomposer, │ │ │
182
+ │ │ │ ui_navigator, metrics_linker │ │
183
+ │ │ └─────────────────────────────┘ │ │
184
+ │ └─────────────────┬───────────────────┘ │
185
+ │ ▼ │
186
+ │ ┌─────────────────────────────────────┐ │
187
+ │ │ SPECIFICATION │ │
188
+ │ │ aspects/modules/ MOD-001.md │ │
189
+ │ │ aspects/scenarios/ SCN-001.md │ │
190
+ │ │ aspects/entities/ ENT-001.md │ │
191
+ │ └──────────────────┬──────────────────┘ │
192
+ │ ▼ │
193
+ │ ┌──────────────────────────────────────┐ │
194
+ │ │ MCP SERVER │ │
195
+ │ │ 19 tools — read_element, │ │
196
+ │ │ search_elements, list_aspect, ... │ │
197
+ │ └──────────────────┬───────────────────┘ │
198
+ │ ▼ │
199
+ │ ┌──────────────────────────────────────┐ │
200
+ │ │ AI CODING AGENTS │ │
201
+ │ │ Claude Code · Cursor · Zed · ... │ │
202
+ │ │ Code with full spec context │ │
203
+ │ └──────────────────────────────────────┘ │
204
+ └──────────────────────────────────────────────────────────────┘
205
+
206
+ ```
207
+
208
+ ### Key Features
209
+
210
+ | Feature | Description |
211
+ |---------|-------------|
212
+ | **Multi-agent dialogue** | 2 agents + orchestrator debate requirements in structured rounds |
213
+ | **Skill-based helpers** | Agents spawn specialised helpers: scenario decomposer, UI navigator, metrics linker |
214
+ | **Methodology-driven** | Waterfall decomposes into 8 aspects: modules, scenarios, UI, data, NFR, metrics, implementation, sources |
215
+ | **MCP server** | 19 tools — connect to Claude Code, Cursor, Zed for context-aware code generation |
216
+ | **Export formats** | SRS (IEEE 830), TRLC (BMW), OpenAPI 3.0, Jira CSV, styled HTML |
217
+ | **Git-native** | Everything is Markdown + YAML in git — version, diff, merge, blame |
218
+
219
+ ---
220
+
221
+ ## Supported Methodologies
222
+
223
+ Specifications follow a methodology — a YAML-defined structure of aspects,
224
+ element types, and relationships.
225
+
226
+ | Methodology | What it generates | Status |
227
+ |-------------|-------------------|--------|
228
+ | **waterfall** | Full spec: modules, scenarios, UI, data, non-functional, implementation, metrics, sources | ✅ Free (OSS) |
229
+ | **agile** | Sprint backlog: epics → user stories → acceptance criteria + Jira CSV | ✅ Paid |
230
+ | **scrum** | Agile + sprints (goal, capacity, focus factor, velocity, DoD) | ✅ Paid |
231
+ | **kanban** | Agile + workflow stages (WIP limits, cycle time, throughput) | ✅ Paid |
232
+ | **api-first** | OpenAPI 3.0 contract (service → endpoint → schema + auth) | ✅ Paid |
233
+
234
+ > `waterfall` is free and bundled with the OSS release.
235
+ > Agile, scrum, kanban, and api-first are Methodology Packs (coming soon).
236
+
237
+ ---
238
+
239
+ ## CLI Commands
240
+
241
+ ```bash
242
+ spec-editor demo # Instant preview (no API key)
243
+ spec-editor init ./my-project # Create project
244
+ spec-editor run -p ./my-project # Run agent dialogue
245
+ spec-editor view -p ./my-project # Interactive Mermaid graph
246
+ spec-editor validate -p ./my-project # Validate specification
247
+ spec-editor status -p ./my-project # Show spec status
248
+ spec-editor export -p ./my-project # Export to SRS/TRLC/OpenAPI/Jira/HTML
249
+ spec-editor mcp # Start MCP server (19 tools)
250
+ ```
251
+
252
+ ---
253
+
254
+ ## Export Formats
255
+
256
+ ```bash
257
+ spec-editor export -p . # SRS document (default)
258
+ spec-editor export -p . -f html -o spec.html # Styled HTML with relationships
259
+ spec-editor export -p . -f trlc -o spec.trlc # TRLC (BMW-compatible)
260
+ spec-editor export -p . -f openapi -o api.yaml # OpenAPI 3.0
261
+ spec-editor export -p . -f jira -o backlog.csv # Jira CSV import
262
+ ```
263
+
264
+ | Format | CLI flag | Output | Use case |
265
+ |--------|----------|--------|----------|
266
+ | **SRS (IEEE 830)** | `-f srs` (default) | Markdown | Stakeholder-ready specification |
267
+ | **HTML** | `-f html` | `spec.html` | Styled report with relationship traces |
268
+ | **TRLC** (BMW) | `-f trlc` | `.trlc` file | Requirements as code |
269
+ | **OpenAPI 3.0** | `-f openapi` | `openapi.yaml` | API contracts from api-first |
270
+ | **Jira CSV** | `-f jira` | `.csv` file | Sprint backlog for Jira import |
271
+ | **Markdown + YAML** | Native (git) | `aspects/*.md` | Git-native — version, diff, merge |
272
+
273
+ ---
274
+
275
+ ## Configuration
276
+
277
+ Edit `agents.yaml` to choose your provider:
278
+
279
+ ```yaml
280
+ agents:
281
+ agent_1:
282
+ provider: deepseek # or openai, anthropic
283
+ model: deepseek/deepseek-reasoner
284
+ temperature: 0.7
285
+ agent_2:
286
+ provider: deepseek
287
+ model: deepseek/deepseek-reasoner
288
+ temperature: 0.7
289
+ orchestrator:
290
+ provider: deepseek
291
+ model: deepseek/deepseek-reasoner
292
+ ```
293
+
294
+ ---
295
+
296
+ ## Contributing
297
+
298
+ Prompts are the engine of Spec Editor. Better prompts = better specifications.
299
+
300
+ - **Language packs** — translations for EN, RU, ES, FR, DE. Missing your language? Add `prompts/xx.yaml` and open a PR.
301
+ - **LLM-specific tuning** — DeepSeek, GPT-4, Claude each respond differently. Share your tuned prompts.
302
+ - **Few-shot examples** — help us add domain-specific examples.
303
+
304
+ Got ideas? **Open an issue** or **submit a PR** — we review everything.
305
+
306
+ ---
307
+
308
+ ## Documentation
309
+
310
+ - [Quickstart](docs/QUICKSTART.md) — 5-minute setup
311
+ - [Architecture](docs/ARCHITECTURE.md) — pipeline, components, CLI reference
312
+ - [MCP API Reference](readme_mcp.md) — MCP server tools
313
+ - [Contributing Prompts](docs/CONTRIBUTING_PROMPTS.md) — how to improve agent quality
314
+ - [CONTRIBUTING.md](CONTRIBUTING.md) — code contributions
315
+ - [CHANGELOG.md](CHANGELOG.md) — release history
316
+
317
+ ---
318
+
319
+ ## License
320
+
321
+ Apache 2.0 — see [LICENSE](LICENSE).
322
+
323
+ The core engine (`spec-editor`) is free and open source.
324
+ Methodology Packs are source-available, purchased separately.
@@ -0,0 +1,82 @@
1
+ spec_editor-0.1.0.dist-info/licenses/LICENSE,sha256=ME19ecMFj-rWjPXuTGfHlX3VebN_q0b4acJjLwFlD0k,10769
2
+ src/__init__.py,sha256=N89u5nWYmz4B-SwtTY8gK4En06e42aNF9jHp69L6B_0,103
3
+ src/__main__.py,sha256=enPLD_i0nHom18wPlK6HtmHlORJ_x8SJSV8mHunt7j4,32
4
+ src/main.py,sha256=scs_iyF7jAEClQcvsknMIP-VRl3x6xpOM3cnDWtVtAw,18633
5
+ src/tracing.py,sha256=VJLgzVMZsImMYGaGtJh3UvwBk8CTY3HMgWDWRyTKLxQ,641
6
+ src/agents/__init__.py,sha256=T856KhzUkObSDth5zkHUgOjbfELlbzK4ByYB1sxJwzQ,35
7
+ src/agents/base.py,sha256=p0qFHZj00Jm4YZTqWM4Q_HISYJose3XnrxTKVo44Bdg,15489
8
+ src/agents/blind_vote.py,sha256=ErauqLEcMeFF9eP0kk5ZuunpSIxFItsxGJPPlpsEiOI,14995
9
+ src/agents/compaction.py,sha256=K1ict08ugjd2shHA8CiQQX5GYtAWFUIh6uAUCkp1Lpo,4632
10
+ src/agents/dialogue.py,sha256=-U16tZZUCHErhsTCCpzrVtCnSgvL3_8FnqBMpyvMdH8,29125
11
+ src/agents/factory.py,sha256=se5_4pQT0pAh0Fu6P3RTcdTYPc5ZAYpYU3VvyDyKZtQ,1320
12
+ src/agents/orchestrator.py,sha256=pMikD6waM93x5KwJmi4VlVqDK28iYtMWvj4vxSyjuIU,4593
13
+ src/agents/prompts.py,sha256=zQuJEbnYRlnaoBxFQxQCqWX8rA7L21sjU-4evNL6Da8,1484
14
+ src/agents/questions.py,sha256=d6AubuWRYqIogP-doDj6DJ8zCj-nustlvDmET8BzY-Q,2677
15
+ src/agents/role.py,sha256=tXnznYqESxprGv-c-PnvSgVLDNEmahoxI5d1suxHQj8,2124
16
+ src/agents/spec_agent.py,sha256=S5qJ93mVooWUMkp1_CBxE8dhcGNKhLGpXy3i88T7ouw,2014
17
+ src/agents/tools.py,sha256=5B6om1CfvUBB11x12l1Eg8LEAcTsj2aWweZDDZb7ECE,19910
18
+ src/agents/tools_agile.py,sha256=xRg6ALz2CrhvFGRpy6P38i3bkMTLUUz5DNdCcOn7ZLw,10068
19
+ src/agents/tools_code.py,sha256=qhDbn3dzLcnQTOslWbAPv6pUNdp3UaFEPcfyDCflA0A,14988
20
+ src/agents/tools_questions.py,sha256=bMeHLDWuxXkQVIgw72sn09BNbtumCsosafHLqI5ncZA,6291
21
+ src/cli/__init__.py,sha256=Yz7mjZGpZt2c3xSx6zUGmEsW4R7ujbKb72AlN9GV498,21
22
+ src/cli/commands.py,sha256=QwFhZup7pGVl_2PkVn8OBYXBcG9-3SYgByi3Gqgi9cE,2533
23
+ src/cli/commands_core.py,sha256=w7U1xJlQmFS94O7z5dwzXTL5PfKqUCBxIsLCquNXNDw,12023
24
+ src/cli/commands_edit.py,sha256=6hujVbJrqZ5-GikJvx8hgvJpsrLwuw2GaMQvYoGY8ps,6186
25
+ src/cli/commands_export.py,sha256=7AECfrQqGeSc1ALXfAIlIKC9Knu9SOnTb2A3-mw5kFs,5470
26
+ src/cli/commands_export_helpers.py,sha256=J4kUgeaohbjyudsiLNN7eaLknjvL7D_KEVwgV7NDXu8,9535
27
+ src/cli/commands_ingest.py,sha256=t_aEpFwagUpGGMSWzdFMtzfMA4LkgPobwAiOmTZDNFk,8762
28
+ src/cli/commands_init.py,sha256=avmp7EmbE_fMlnFGhfepgouxnTzGzNM2S4ogaDuj1Xs,4618
29
+ src/cli/commands_view.py,sha256=PcPKkrLvwP9OLzRk_rnwz_pBBfuPC62jLDwoIt2CEdk,10107
30
+ src/cli/display.py,sha256=OdZ_sqsriCXYavSHVomToMbNo-imBp10vZJzUwA86O4,162
31
+ src/codegen/__init__.py,sha256=uVluzLw5ln0VhN6X5DSENMOjVwnXIS2uNI7MNR0Ifhs,51
32
+ src/codegen/engine.py,sha256=5QaY7A9aqFGSV-tK2oYGztAKjNSf2TVluOdlnv0ltLU,5402
33
+ src/config/__init__.py,sha256=x3OcixOdrqYBQuLdwq4UQ9TYN9tl_tcYOs5AAR9ohqI,1876
34
+ src/config/methodology.py,sha256=LjSPTxY-1Z-BNgOU5UNqhHxusl6QAjdxRGP-rPl2fWs,7020
35
+ src/config/prompt_loader.py,sha256=m5W8l8KG9JEVf8ej8DuDPkeWL3u76rhKOqYoWY-fciA,4138
36
+ src/config/settings.py,sha256=BY7nD14WIamO9OVBuMXIV9jjJcYw9nB64Zk-A1YZaQ4,3976
37
+ src/config/skills.py,sha256=Qd175P63TGlu5GRdNT2s64--Rt_XjCYQYHR3p_fNASs,1141
38
+ src/context/__init__.py,sha256=ISbDZqRDG6DAMKJRHSIW8Oh_s6j2VaGUeApn0KmjfJc,66
39
+ src/context/builder.py,sha256=Vy2lG65CfC4la3Fi7FPKg1UPpBDziBtqYdjxU8olhcs,7722
40
+ src/export/compliance_exporter.py,sha256=Zf7UNTgLj0P4gLxuyoqHO_gXL2xl9ys4IeyfbjOQTDk,10540
41
+ src/export/formatters.py,sha256=ec3goHA91VZvGM0weP_3CrPgaEa7OnGq-gFHKv5QrUw,5003
42
+ src/export/gatherers.py,sha256=gcSmWY-9UH1jX0fwdwr1hHTcniTM_osMbvNcIFLdFd4,10349
43
+ src/export/openapi_exporter.py,sha256=RaIkPuuCftde-Pf8qJ6MrrVHsRkO4_H9cKZpoMmwVDc,6820
44
+ src/export/pipeline.py,sha256=-tt6Amyd09GEb-aIhIv5kCVoz80CU5cQZUnCg7K6ZeM,3608
45
+ src/export/transports.py,sha256=BW3RuBjeyzc_061S3L8FXzsbpaxZi8CGz2H2t6QrFoE,1290
46
+ src/export/trlc.py,sha256=Hs5XFRfeBVjcJX6FvD2rT1r-NdZxnmepchTMElG4cSI,3622
47
+ src/ingestion/__init__.py,sha256=8U9pRU0zf-G_92sXtM8z7paldAWzuYxNSh9JaSSj7BY,158
48
+ src/ingestion/analyzer.py,sha256=xG3azrJz4pGrdnvFWicX-s7imrwcU0ONzlg072ujLZo,10487
49
+ src/ingestion/manager.py,sha256=czjDDBMsp0P7l6YIPxOXYy5Tof5VDIYmO42kajJU_t4,5489
50
+ src/ingestion/preprocessor.py,sha256=NGdSxRMkYsBLGqDbTA9aurlQ3iZiDv7QmbqfGPoltxU,15415
51
+ src/ingestion/telegram_hook.py,sha256=3q5P43pHBEkFxRjwoeER5fyP1EFOPCe-lhyf80FTLYE,11790
52
+ src/mcp/__init__.py,sha256=zkngmuSfQi8vY8DmvXbMlNI08bYHsf9svAIAUY19wvo,42
53
+ src/mcp/annotator.py,sha256=wNxfSTMwLETAAfzZgUjMp53H5CWDOcK61QSSG5UKw4A,10010
54
+ src/mcp/exporter.py,sha256=QrfD3EpHvujS8G4W2jaqkoI3PvBqgRY6g9VDFlCAm_o,5768
55
+ src/mcp/metrics.py,sha256=1RB4djy3PELxLD2LyCqYBKNJ8QlVDFuLv3Iof4sQM-8,5287
56
+ src/mcp/server.py,sha256=ouI88c0mnOW2tD364ZlpihmOawYG_lXgpQRKMmioUXQ,5923
57
+ src/mcp/validator.py,sha256=W7SsQjVU9xbUQXPHi7Q5SONnloKzBspU5ogBDjKNstE,7421
58
+ src/mcp/verifier.py,sha256=vVQaxn6dl6uCyVnt8IKHd69I-DQrXWYv3WwTuDE9eDs,7741
59
+ src/mcp/parsers/base_ts.py,sha256=ER77fuPKTAr1gamLDBqaAyZTl1Wr-Y2Lah5vuuznHvI,10205
60
+ src/mcp/parsers/go.py,sha256=3IJmLlG1ZU9Xj3j-zM8l7FkjljquxfAfNDJG0HLDFMY,554
61
+ src/mcp/parsers/java.py,sha256=q8asnwUQHf6Bl3MHYe7tr5VvXQG17ZkUFxZS9GQU4WU,650
62
+ src/mcp/parsers/kotlin.py,sha256=Bvm9Jbm1l1eD0eFXvcdVrdFFjG3MHSKEqGrZJ7Paww0,665
63
+ src/mcp/parsers/python.py,sha256=QxVB6x2S8m85GXH_ve3XNMi_4vTd0nYiKv2vs2fPxTk,3375
64
+ src/mcp/parsers/rust.py,sha256=F-wId1wPS8-OhlYBC9X2UAUbn6l-L8MDCquObqw6qUk,593
65
+ src/mcp/parsers/typescript.py,sha256=4rAtHuJBphbhdBR5YT7Xz67t3XFbJiWY0I1YqSMY0HU,8998
66
+ src/providers/__init__.py,sha256=4jFW0gEsABvQG8Wbt9fC8YpfAqzEkzfT2vZsHW41qDE,32
67
+ src/providers/base.py,sha256=M-8lUY9rT4o_SRQELF8MTT9PTEmYcVd3f_JhVWlvf4U,3751
68
+ src/providers/litellm_provider.py,sha256=YYswFWYLgXPQwPsC8cZUK2Red1QMS980mDFX_SXsk-w,6401
69
+ src/storage/__init__.py,sha256=0j9ZFfUzXFh84O557yBtsvw4Erq4TLUkKbLl80QNUi4,26
70
+ src/storage/adapter.py,sha256=jPDpfEamVYvcjx1FB9YS5pFFvppa_Gb5xtVIHg-Wl7s,1595
71
+ src/storage/dry_run.py,sha256=83NVj0m6MJRcQPkSYCssXFR0seObiCEUqT4t1py4X3o,3434
72
+ src/storage/filesystem.py,sha256=qkOGtQ71QZgVtVMMm4nS8_JuazgD8q40RwLhUQFZRfw,12350
73
+ src/storage/models.py,sha256=YHB8YNwaI4wKrJ41KNBskn0PDwQ6KOOXWYZMrFB8mso,3163
74
+ src/storage/parser.py,sha256=CbaksOXcoh9wD9LEG878bZn4sbcBC-WrQaNJl1opnTc,4540
75
+ src/storage/session.py,sha256=lLmja81Y7dxQ0anbQ-z0zw1kURrbQdbH-fGzbeUVEsM,9118
76
+ src/view/__init__.py,sha256=tIFOLZTQotS5pwgv4ZYlQ2U5x7jkjh6lZLgkK2vKCoc,69
77
+ src/view/renderer.py,sha256=IJbOt5-4S37Zuj7QG21mGqYmCJc6SWMQejDQWOCYfZw,7904
78
+ spec_editor-0.1.0.dist-info/METADATA,sha256=LLrMKsVwvsidMRGdPCC_6xN7gFPlGhHLDSV9elpKHN0,14367
79
+ spec_editor-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
80
+ spec_editor-0.1.0.dist-info/entry_points.txt,sha256=ceA6l5P1m_FtmCmg0lGFsi1HRFgYVWTyy902LNTRbNI,45
81
+ spec_editor-0.1.0.dist-info/top_level.txt,sha256=74rtVfumQlgAPzR5_2CgYN24MB0XARCg0t-gzk6gTrM,4
82
+ spec_editor-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ spec-editor = src.main:cli
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 Spec Editor Contributors
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1 @@
1
+ src
src/__init__.py ADDED
@@ -0,0 +1,3 @@
1
+ """Spec Editor — automated requirements engineering system with AI agents."""
2
+
3
+ __version__ = "0.1.0"
src/__main__.py ADDED
@@ -0,0 +1 @@
1
+ from src.main import cli; cli()
src/agents/__init__.py ADDED
@@ -0,0 +1 @@
1
+ """Agents and dialogue manager."""