@pathmode/mcp-server 1.28.0 → 1.30.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/README.md CHANGED
@@ -86,7 +86,7 @@ timeouts exceeding 3 seconds.
86
86
  - **Unknown provider status**: Hold order, notify user within 30s
87
87
  ```
88
88
 
89
- The `readiness` line is the deterministic preflight verdict, stamped on every save — "passed 6/6", or "failed N/6" naming the blocking gates — so any agent reading the file knows whether the spec cleared the gate without re-running it. Specs exported from a Pathmode workspace also carry `source:` (the canonical intent URL — the file is a working copy of that record) and `evidence:` (how many linked evidence items back it).
89
+ The `readiness` line is the deterministic preflight verdict, stamped on every save — "passed 6/6", or "failed N/6" naming the blocking gates, with "blocked by N unresolved product choice(s)" appended when a brief's proposed choices still await a human in Pathmode — so any agent reading the file knows whether the spec cleared the gate without re-running it. Specs exported from a Pathmode workspace also carry `source:` (the canonical intent URL — the file is a working copy of that record) and `evidence:` (how many linked evidence items back it).
90
90
 
91
91
  **.cursorrules** — Agent-directive format for Cursor:
92
92
  ```
@@ -100,6 +100,12 @@ Your implementation MUST satisfy ALL of these:
100
100
  - Failed payments show actionable error with retry
101
101
  ```
102
102
 
103
+ The optional `productChoices` frontmatter extension carries durable choice records and their
104
+ claim IDs. Both MCP and CLI recompute the execution block after reading the file; local saves
105
+ preserve the records. An older file with a blocked readiness stamp but no records stays blocked
106
+ via `productChoiceReadinessUnknown` until refreshed from the source. Connected updates refuse
107
+ to save if the current choice state cannot be read, leaving both copies unchanged.
108
+
103
109
  **CLAUDE.md** — Appends a `<!-- PATHMODE:START -->` section so Claude Code sees the intent in every conversation.
104
110
 
105
111
  ## Skill Pack for Claude Code
@@ -264,6 +270,10 @@ Apply a request by editing `intent.md`, then call `intent_save` with both `chang
264
270
  `baseRepoBodyRevision`. Pathmode compares immutable snapshots and closes the request itself; an
265
271
  agent cannot submit a success flag or diff.
266
272
 
273
+ When applying a correction, `intent_save` refreshes a stale version token only if the server's
274
+ body revision still exactly matches the request's base. A changed body or a concurrent write
275
+ still stops the save; reading or applying a correction never authorizes implementation.
276
+
267
277
  #### Delivery & Verification
268
278
 
269
279
  | Tool | Description |