You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If required evidence, tools, specs, gates, or artifacts are missing, the workflow must return `blocked`, `failed`, or `unsupported`. It must not claim success.
87
+
Each gate must include `gate_id`, `condition`, `on_pass`, and `on_failure`. `failure_semantics` must include `no_fake_success`, `no_silent_fallback`, and `explicit_failure_state`.
88
+
89
+
If required evidence, tools, specs, gates, artifacts, or verification policy are missing, the workflow must return `ok=false` with `failure_state` and `details`. It must not claim success.
78
90
79
91
## Demos
80
92
@@ -103,12 +115,14 @@ Demo 3: Multi-agent system
103
115
-`docs/use-cases.md`
104
116
-`docs/comparison.md`
105
117
-`docs/mcp-tools.md`
118
+
-`docs/contract-schema-v0.1.md`
119
+
-`docs/cli.md`
106
120
107
121
## Roadmap
108
122
109
123
P0:
110
124
111
-
- Contract schema v0.1 hardening.
125
+
- Contract schema v0.1 adoption feedback.
112
126
- MCP integration tests against real Codex marketplace install.
Copy file name to clipboardExpand all lines: docs/mcp-tools.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,9 @@ SpecX exposes four MCP tools:
6
6
-`specx.compile`
7
7
-`specx.verify`
8
8
-`specx.explain`
9
+
-`specx.init`
9
10
10
-
Each tool accepts a SpecX contract JSON object as `contract`.
11
+
Contract tools accept a SpecX contract JSON object as `contract`. `specx.init` accepts `template` and `output`.
11
12
12
13
## Local Server
13
14
@@ -42,7 +43,7 @@ The MCP config starts the stdio server:
42
43
43
44
### specx.validate
44
45
45
-
Validates required fieldsand array/object shapes. It does not execute the workflow.
46
+
Validates Contract Schema v0.1 required fields, gate shape, failure semantics, execution constraints, and verification policy. It does not execute the workflow.
46
47
47
48
### specx.compile
48
49
@@ -52,10 +53,16 @@ Compiles a valid contract into a governed execution plan with agents, tools, evi
52
53
53
54
Fails closed when gates, expected artifacts, required agents, required tools, or `no_fake_success` / `no_silent_fallback` constraints are missing.
54
55
56
+
### specx.init
57
+
58
+
Creates a verified Contract Schema v0.1 skeleton from `research`, `software_refactor`, or `content_pipeline`.
59
+
55
60
### specx.explain
56
61
57
62
Returns a compact explanation with objective summary, domain, task type, counts, risk notes, and unsupported features.
58
63
59
64
## Failure Boundary
60
65
61
66
If the MCP runtime is not installed, `scripts/launch_specx_mcp.py` exits non-zero and prints the missing-runtime error. It does not claim that MCP tools are available.
67
+
68
+
CLI and MCP tools use the same implementation. MCP cannot return a success state that the CLI would reject.
Compilation produces an execution plan with agents, tools, evidence requirements, gates, artifact plan, verification plan, failure semantics, and constraints.
0 commit comments