specprism 0.0.0-stage → 1.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SpecPrism Contributors (@orphik)
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.
package/README.md CHANGED
@@ -1,3 +1,50 @@
1
- # Temporary Holding Version
1
+ # SpecPrism (`specprism`)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ **Turn a rough 1-to-2 sentence idea into verified, traceable software specifications (`REQ-*` <-> `TC-*`) without vibe-coding drift.**
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)**.
6
+
7
+ - **Full Interactive How-To Guide (`v1.0`):** **[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
+
10
+ ## Quickstart
11
+
12
+ ### 1. Visual Web Workbench (Recommended)
13
+ Sign in free with **Google** or **GitHub** at **[https://spec-prism.app](https://spec-prism.app)** to co-design specifications interactively, 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.
14
+
15
+ ### 2. Install as an Agent Skill or Run via npm CLI
16
+ ```bash
17
+ # Install zero-dependency Agent Skill (Antigravity, Claude Code, Cursor, Codex)
18
+ npx skills add orphik/specprism
19
+
20
+ # Or run the SpecPrism v1.0 CLI & stdio MCP server directly from npm
21
+ npx specprism@latest --help
22
+ npx specprism@latest validate .specprism/spec.json
23
+ npx specprism@latest mcp
24
+ ```
25
+
26
+ ### 3. Connect via Stateless MCP (`2026-07-28`) or Local CLI
27
+ 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`):
28
+ ```json
29
+ {
30
+ "mcpServers": {
31
+ "specprism": {
32
+ "url": "https://spec-prism.app/mcp",
33
+ "serverUrl": "https://spec-prism.app/mcp",
34
+ "headers": {
35
+ "Authorization": "Bearer sp_pat_YOUR_OPTIONAL_SYNC_TOKEN"
36
+ }
37
+ }
38
+ }
39
+ }
40
+ ```
41
+
42
+ ## Core 5-Stage Pipeline
43
+ 1. **Socratic Scope & Boundary Triage** — Surfaces 3–4 clickable/editable ambiguity forks (`ASM-*`).
44
+ 2. **Vertical-Slice Feature & Story Decomposition** — Enforces end-to-end UI + Domain + Persistence slices (`US-*`) + Official MCP Registry recommendations.
45
+ 3. **Guided Acceptance Criteria Co-Design** — Generates deterministic Given/When/Then + EARS (`REQ-*`) with inline QA coaching.
46
+ 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.
47
+ 5. **Iterative Delta Mode** — Computes `ADDED`, `MODIFIED`, and `REMOVED` deltas while badging existing tests as Regression Shields.
48
+
49
+ ## Keep SpecPrism Free & Evergreen
50
+ 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)**.
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ export declare function formatCliBanner(): string;
3
+ export declare function formatCliHelp(): string;
4
+ export declare function runCli(argv: string[]): number;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAeA,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED,wBAAgB,aAAa,IAAI,MAAM,CActC;AAED,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CA8H7C"}
package/dist/index.js ADDED
@@ -0,0 +1,134 @@
1
+ #!/usr/bin/env node
2
+ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
3
+ import { dirname, join, resolve } from "node:path";
4
+ import { pathToFileURL } from "node:url";
5
+ import { assertVerticalStorySlices, BUILTIN_DIALECT_PROFILES, computeDeterministicSpecDelta, exportSpecBundleFiles, MCP_PROTOCOL_VERSION, SPECPRISM_CORE_VERSION, SpecIterationDocumentSchema, } from "@specprism/core";
6
+ import { runStdioMcpServer } from "@specprism/mcp-server";
7
+ export function formatCliBanner() {
8
+ return `SpecPrism CLI v${SPECPRISM_CORE_VERSION} (MCP ${MCP_PROTOCOL_VERSION} Stateless Ready)`;
9
+ }
10
+ export function formatCliHelp() {
11
+ return [
12
+ formatCliBanner(),
13
+ "",
14
+ "Usage:",
15
+ " specprism init Create .specprism/ workspace folder",
16
+ " specprism validate <path-to-spec.json> Validate vertical slices & REQ-to-TC coverage",
17
+ " specprism export <path-to-spec.json> [dir] Export TRACEABILITY.md, .feature & test files",
18
+ " specprism delta <v1.json> <v2.json> Compute DLT-* diffs & Regression Shields",
19
+ " specprism mcp Start stateless MCP 2026-07-28 stdio server",
20
+ " specprism --version Print CLI & MCP protocol version",
21
+ "",
22
+ "Visual Web Workbench, How-To Guide & Cloud Sync: https://spec-prism.app/guide",
23
+ ].join("\n");
24
+ }
25
+ export function runCli(argv) {
26
+ const [cmd, arg1, arg2] = argv;
27
+ if (!cmd || cmd === "help" || cmd === "--help" || cmd === "-h") {
28
+ console.log(formatCliHelp());
29
+ return 0;
30
+ }
31
+ if (cmd === "--version" || cmd === "-v" || cmd === "version") {
32
+ console.log(formatCliBanner());
33
+ return 0;
34
+ }
35
+ if (cmd === "init") {
36
+ const dir = resolve(process.cwd(), ".specprism");
37
+ mkdirSync(dir, { recursive: true });
38
+ console.log(`[specprism] Initialized ${dir}`);
39
+ return 0;
40
+ }
41
+ if (cmd === "mcp") {
42
+ const localSpecPath = resolve(process.cwd(), ".specprism/spec.json");
43
+ runStdioMcpServer({
44
+ async listUserSpecs() {
45
+ if (!existsSync(localSpecPath))
46
+ return [];
47
+ const parsed = SpecIterationDocumentSchema.safeParse(JSON.parse(readFileSync(localSpecPath, "utf8").replace(/^\uFEFF/, "")));
48
+ return parsed.success
49
+ ? [
50
+ {
51
+ id: parsed.data.projectId,
52
+ title: parsed.data.triage.projectTitle || "Local Workspace Spec",
53
+ stage: parsed.data.stage,
54
+ },
55
+ ]
56
+ : [];
57
+ },
58
+ async loadSpecById(id) {
59
+ if (!existsSync(localSpecPath))
60
+ return null;
61
+ const parsed = SpecIterationDocumentSchema.safeParse(JSON.parse(readFileSync(localSpecPath, "utf8").replace(/^\uFEFF/, "")));
62
+ return parsed.success && parsed.data.projectId === id ? parsed.data : null;
63
+ },
64
+ });
65
+ return 0;
66
+ }
67
+ if (cmd === "validate") {
68
+ const target = resolve(process.cwd(), arg1 ?? ".specprism/spec.json");
69
+ if (!existsSync(target)) {
70
+ console.error(`[specprism] File not found: ${target}`);
71
+ return 1;
72
+ }
73
+ const raw = JSON.parse(readFileSync(target, "utf8").replace(/^\uFEFF/, ""));
74
+ const parsed = SpecIterationDocumentSchema.safeParse(raw);
75
+ if (!parsed.success) {
76
+ console.error("[specprism] Validation failed:\n" +
77
+ parsed.error.issues.map((i) => ` - ${i.path.join(".")}: ${i.message}`).join("\n"));
78
+ return 1;
79
+ }
80
+ try {
81
+ assertVerticalStorySlices(parsed.data.features);
82
+ }
83
+ catch (err) {
84
+ console.error(`[specprism] ${err instanceof Error ? err.message : "Verticality check failed"}`);
85
+ return 1;
86
+ }
87
+ console.log(`[specprism] OK: Verified ${parsed.data.criteria.length} REQ-* -> ${parsed.data.testCases.length} TC-* with 0 orphans.`);
88
+ return 0;
89
+ }
90
+ if (cmd === "delta") {
91
+ if (!arg1 || !arg2) {
92
+ console.error("Usage: specprism delta <v1-spec.json> <v2-spec.json>");
93
+ return 1;
94
+ }
95
+ const basePath = resolve(process.cwd(), arg1);
96
+ const nextPath = resolve(process.cwd(), arg2);
97
+ if (!existsSync(basePath) || !existsSync(nextPath)) {
98
+ console.error("[specprism] Base or target spec.json not found.");
99
+ return 1;
100
+ }
101
+ const baseDoc = SpecIterationDocumentSchema.parse(JSON.parse(readFileSync(basePath, "utf8").replace(/^\uFEFF/, "")));
102
+ const nextDoc = SpecIterationDocumentSchema.parse(JSON.parse(readFileSync(nextPath, "utf8").replace(/^\uFEFF/, "")));
103
+ const delta = computeDeterministicSpecDelta(baseDoc, nextDoc, "CLI Iterative Delta");
104
+ const shields = delta.testImpacts.filter((t) => t.status === "regression_shield").length;
105
+ console.log(`[specprism] Delta v${baseDoc.iterationNumber} -> v${nextDoc.iterationNumber}: ${delta.requirementDeltas.length} DLT-* change(s), ${shields} Regression Shield(s).`);
106
+ return 0;
107
+ }
108
+ if (cmd === "export") {
109
+ const target = resolve(process.cwd(), arg1 ?? ".specprism/spec.json");
110
+ const outRoot = resolve(process.cwd(), arg2 ?? "./specprism-out");
111
+ if (!existsSync(target)) {
112
+ console.error(`[specprism] File not found: ${target}`);
113
+ return 1;
114
+ }
115
+ const doc = SpecIterationDocumentSchema.parse(JSON.parse(readFileSync(target, "utf8").replace(/^\uFEFF/, "")));
116
+ const dialect = BUILTIN_DIALECT_PROFILES.find((d) => d.id === doc.targetDialectId) ??
117
+ BUILTIN_DIALECT_PROFILES[0];
118
+ const files = exportSpecBundleFiles(doc, dialect);
119
+ for (const file of files) {
120
+ const dest = join(outRoot, file.path);
121
+ mkdirSync(dirname(dest), { recursive: true });
122
+ writeFileSync(dest, file.content, "utf8");
123
+ }
124
+ console.log(`[specprism] Exported ${files.length} verified bundle files to ${outRoot}`);
125
+ return 0;
126
+ }
127
+ console.error(`Unknown command '${cmd}'. Run 'specprism --help' for usage.`);
128
+ return 1;
129
+ }
130
+ const invokedPath = process.argv[1] ? pathToFileURL(resolve(process.argv[1])).href : "";
131
+ if (import.meta.url === invokedPath) {
132
+ process.exitCode = runCli(process.argv.slice(2));
133
+ }
134
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EACL,yBAAyB,EACzB,wBAAwB,EACxB,6BAA6B,EAC7B,qBAAqB,EACrB,oBAAoB,EACpB,sBAAsB,EACtB,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AAC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,CAAC;IACX,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,oBAAoB,GAAG,sCAAsC,CAAC,CAAC;IAC7E,OAAO,CAAC,CAAC;AACX,CAAC;AAED,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;AACxF,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,KAAK,WAAW,EAAE,CAAC;IACpC,OAAO,CAAC,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACnD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,54 @@
1
1
  {
2
2
  "name": "specprism",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "1.0.0",
4
+ "license": "MIT",
5
+ "description": "SpecPrism CLI — Free Open-Core AI Product & QA Co-Architect (Socratic Triage, EARS, REQ-to-TC Traceability & Stateless MCP 2026-07-28)",
6
+ "homepage": "https://spec-prism.app",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/orphik/specprism.git",
10
+ "directory": "packages/cli"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "keywords": [
21
+ "specprism",
22
+ "cli",
23
+ "mcp",
24
+ "ears",
25
+ "gherkin",
26
+ "playwright",
27
+ "vitest",
28
+ "spec-driven-development",
29
+ "ai-coding-agent"
30
+ ],
31
+ "type": "module",
32
+ "bin": {
33
+ "specprism": "./dist/index.js"
34
+ },
35
+ "main": "./dist/index.js",
36
+ "types": "./dist/index.d.ts",
37
+ "dependencies": {
38
+ "@specprism/core": "1.0.0",
39
+ "@specprism/db": "1.0.0",
40
+ "@specprism/mcp-server": "1.0.0",
41
+ "@specprism/registry-sync": "1.0.0"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^22.15.0",
45
+ "typescript": "^5.8.3",
46
+ "vitest": "^3.1.4"
47
+ },
48
+ "scripts": {
49
+ "build": "tsc -p tsconfig.json",
50
+ "typecheck": "tsc -p tsconfig.json --noEmit",
51
+ "lint": "tsc -p tsconfig.json --noEmit",
52
+ "test": "vitest run"
53
+ }
6
54
  }