@specprism/registry-sync 1.2.0 → 1.4.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 (2) hide show
  1. package/README.md +45 -23
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,32 +1,59 @@
1
- # SpecPrism (`specprism`)
1
+ # SpecPrism (`specprism`) — AI Product & QA Co-Architect (`v1.4`)
2
2
 
3
- **Turn a rough 1-to-2 sentence idea into verified, traceable software specifications (`REQ-*` <-> `TC-*`) without vibe-coding drift.**
3
+ **Turn a rough 1-to-2 sentence idea into clear scope choices, end-to-end user stories, testable `SHALL` rules, and verified test suites (`REQ-*` <-> `TC-*`) — before writing a single line of code.**
4
4
 
5
- SpecPrism is a free, open-core AI Product & QA Co-Architect usable directly in your IDE as an **Agent Skill** or **MCP `2026-07-28` Server**, via CLI (`npx specprism`), or visually in the hosted split-pane workbench at **[https://spec-prism.app](https://spec-prism.app)**.
5
+ SpecPrism is **100% free & open-core (MIT)**, designed to help **every skill level** — from first-time vibe-coders to senior engineering & QA teams — build reliable software without AI guessing or breaking existing features.
6
6
 
7
- - **Full Interactive How-To Guide (`v1.2`):** **[https://spec-prism.app/guide](https://spec-prism.app/guide)**
8
- - **Verified Reference Specifications Gallery:** **[https://spec-prism.app/examples](https://spec-prism.app/examples)**
9
- - **Official MCP Registry:** `io.github.orphik/specprism` (`stdio` via `npx specprism mcp` & Streamable HTTP `https://spec-prism.app/mcp`)
7
+ - **Beginner-to-Expert Interactive Guide (`v1.4`):** **[https://spec-prism.app/guide](https://spec-prism.app/guide)**
8
+ - **Visual Web Workbench (Free Daily Runs + BYOK):** **[https://spec-prism.app](https://spec-prism.app)**
9
+ - **Reference Specifications Gallery:** **[https://spec-prism.app/examples](https://spec-prism.app/examples)**
10
+ - **Official MCP Registry ID:** `io.github.orphik/specprism` (`stdio` & Streamable HTTP `https://spec-prism.app/mcp`)
10
11
 
11
- ## Quickstart
12
+ ---
12
13
 
13
- ### 1. Visual Web Workbench (Recommended)
14
- Sign in free with **Google** or **GitHub** at **[https://spec-prism.app](https://spec-prism.app)** to watch live **NDJSON card streaming** across Stages 2–4, **click-to-edit** any `ASM-*`, `US-*`, or `REQ-*` card inline with instant `SHALL` & verticality validation, inspect side-by-side **Annotated Dialect Diffs** across 6 model families (`Claude`, `OpenAI`, `Gemini`, `DeepSeek`, `Qwen`, `Ollama`), get auto-matched Official MCP Registry tools, and export Gherkin/Playwright `.zip` test bundles (complete with `.github/workflows/specprism-guard.yml`).
14
+ ## Pick Your Workflow (By Experience Level)
15
15
 
16
- ### 2. Install as an Agent Skill, Run via npm CLI, or Gate PRs in GitHub Actions
16
+ | Who You Are | Fastest Way to Start | What SpecPrism Gives You |
17
+ | :--- | :--- | :--- |
18
+ | **New Builders & Vibe-Coders** *(No terminal required)* | Open **[spec-prism.app](https://spec-prism.app)** and type 1 sentence | 3–4 friendly multiple-choice Scope Cards with Recommended defaults, live streaming user stories & tests, 1-click **Copy Agent Prompt** for Cursor/Claude/Antigravity/Bolt, and `/s/[slug]` share links |
19
+ | **Everyday Developers** *(Existing codebases)* | Run `npx skills add orphik/specprism` in your IDE | Scans your real framework/ORM/test runner read-only, edits EARS clauses inline (`edit-spec.mjs`), exports **Linear / GitHub Issues** (`export-issues.mjs`), and protects v1 tests with Stage 5 **Regression Shields** |
20
+ | **Engineering & QA Teams** *(CI/CD & Multi-Agent)* | Add `uses: orphik/specprism/action@main` + `/mcp` | Automated Pull Request Spec-Drift checks (`specprism ci-guard`), 9 vendor-tuned model dialects (`Claude`, `GPT`, `Gemini`, `DeepSeek`, `Qwen`, `Grok`, `Codestral`, `Llama`, `Ollama`), and stakeholder sign-offs |
21
+
22
+ ---
23
+
24
+ ## Plain-English Mini Glossary
25
+
26
+ - **Socratic Scope Card (`ASM-*`)**: A quick multiple-choice question that catches hidden ambiguity upfront (e.g., *"What happens if a webhook fails?"*) so AI doesn't guess wrong.
27
+ - **Vertical Story (`US-*`)**: A complete, demoable slice connecting **UI/API + Domain Logic + Database** together (never disconnected DB-only stubs).
28
+ - **EARS Rule (`REQ-*`)**: A crystal-clear requirement written as `WHEN <trigger>, THE <system> SHALL <exact behavior>` so pass/fail is unmistakable.
29
+ - **Zero-Orphan Traceability (`REQ-* <-> TC-*`)**: Every single `REQ-*` requirement is verified by at least one `TC-*` test case.
30
+ - **Regression Shield (`🛡️`)**: When evolving `v1 -> v2+`, untouched tests are badged as Regression Shields so new work never breaks working features.
31
+
32
+ ---
33
+
34
+ ## Quickstart Commands
35
+
36
+ ### 1. Install the Zero-Dependency IDE Agent Skill
17
37
  ```bash
18
- # Install zero-dependency Agent Skill (Antigravity, Claude Code, Cursor, Codex)
38
+ # Works in Antigravity, Claude Code, Cursor, Codex, Windsurf & Gemini CLI
19
39
  npx skills add orphik/specprism
40
+ ```
41
+ Then tell your agent: **`"Use specprism to plan <your feature idea>"`**.
20
42
 
21
- # Run the SpecPrism v1.2 CLI, PR Drift Guard & stdio MCP server directly from npm
43
+ ### 2. Run the `specprism` v1.4 CLI (Zero Config via `npx`)
44
+ ```bash
22
45
  npx specprism@latest --help
46
+ npx specprism@latest validate specprism/spec.json
47
+ npx specprism@latest edit-req specprism/spec.json REQ-001 "WHEN an event arrives, THE System SHALL verify its HMAC signature."
48
+ npx specprism@latest issues specprism/spec.json --out ISSUES_BACKLOG.md --gh-script create-issues.sh
23
49
  npx specprism@latest ci-guard specprism/spec.json --out PR_GUARD.md
24
- npx specprism@latest edit-req .specprism/spec.json REQ-001 "WHEN an event arrives, THE System SHALL verify its signature."
50
+ npx specprism@latest delta v1-spec.json v2-spec.json
25
51
  npx specprism@latest mcp
26
52
  ```
27
53
 
54
+ ### 3. Gate Pull Requests with the GitHub Action (`orphik/specprism/action`)
28
55
  ```yaml
29
- # .github/workflows/specprism-guard.yml — Block orphan REQs & post Regression Shield PR summaries
56
+ # .github/workflows/specprism-guard.yml (auto-included in every .zip export!)
30
57
  - uses: actions/checkout@v4
31
58
  with:
32
59
  fetch-depth: 0
@@ -35,8 +62,8 @@ npx specprism@latest mcp
35
62
  spec-path: specprism/spec.json
36
63
  ```
37
64
 
38
- ### 3. Connect via Stateless MCP (`2026-07-28`) or Local CLI
39
- Mint an optional cloud-sync token (`sp_pat_*`) at **[https://spec-prism.app/settings](https://spec-prism.app/settings)** or connect directly via Streamable HTTP / local `stdio` (`npx specprism mcp`):
65
+ ### 4. Connect via Stateless MCP (`2026-07-28`)
66
+ Mint an optional cloud-sync token (`sp_pat_*`) at **[https://spec-prism.app/settings](https://spec-prism.app/settings)** or connect anonymously:
40
67
  ```json
41
68
  {
42
69
  "mcpServers": {
@@ -51,12 +78,7 @@ Mint an optional cloud-sync token (`sp_pat_*`) at **[https://spec-prism.app/sett
51
78
  }
52
79
  ```
53
80
 
54
- ## Core 5-Stage Pipeline
55
- 1. **Socratic Scope & Boundary Triage** — Surfaces 3–4 clickable/editable ambiguity forks (`ASM-*`).
56
- 2. **Vertical-Slice Feature & Story Decomposition** — Enforces end-to-end UI + Domain + Persistence slices (`US-*`) + Official MCP Registry recommendations.
57
- 3. **Guided Acceptance Criteria Co-Design** — Generates deterministic Given/When/Then + EARS (`REQ-*`) with inline QA coaching.
58
- 4. **Traceable Test Blueprint & Dialect Diff Coach** — Maps every `REQ-*` to `TC-*` across Unit, API Contract, and Playwright/Gherkin tiers and compiles vendor-tuned handoff prompts across 6 model dialects.
59
- 5. **Iterative Delta Mode** — Computes `ADDED`, `MODIFIED`, and `REMOVED` deltas while badging existing tests as Regression Shields.
81
+ ---
60
82
 
61
83
  ## Keep SpecPrism Free & Evergreen
62
- SpecPrism is free to use and open-core (MIT). If SpecPrism saves your team hours of rework, consider supporting ongoing AI/MCP radar maintenance via **[GitHub Sponsors](https://github.com/sponsors/orphik)** or at **[spec-prism.app](https://spec-prism.app)**.
84
+ SpecPrism is free and MIT open-core. If SpecPrism saves you hours of rework, consider supporting our 24/7 Evergreen AI & MCP Radar via **[GitHub Sponsors (`@orphik`)](https://github.com/sponsors/orphik)** or at **[spec-prism.app](https://spec-prism.app)**.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@specprism/registry-sync",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "description": "SpecPrism Evergreen Registry Sync — Live OpenRouter AI catalog sanitizer and Official MCP Registry story recommender.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://spec-prism.app",
@@ -34,8 +34,8 @@
34
34
  "test": "vitest run"
35
35
  },
36
36
  "dependencies": {
37
- "@specprism/core": "^1.2.0",
38
- "@specprism/db": "^1.2.0",
37
+ "@specprism/core": "^1.4.0",
38
+ "@specprism/db": "^1.4.0",
39
39
  "drizzle-orm": "^0.45.2",
40
40
  "zod": "^3.24.4"
41
41
  },