npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@mcp-write-safety/writecheck

v0.1.0

Published

Conformance CLI for the MCP Write-Safety Requirements (MWS): tests your own MCP server, in a test environment, against the requirements. No model, no account, no telemetry.

Readme

mcp-writecheck

Tests your own MCP server, in a test environment, against the MCP Write-Safety Requirements (MWS 0.9). It makes real writes. Point it only at a test environment you are allowed to change. Apache-2.0, provided without warranty.

No model, no account, no telemetry. The tool connects to your server, to the hosts your manifest names, and to nothing else (enforced in code; cloud metadata addresses are refused by the address a name resolves to).

Packages: @mcp-write-safety/writecheck (this tool; the command is mcp-writecheck) and @mcp-write-safety/tiny-tracker (the sample server). The requirements: MCP Write-Safety Requirements 0.9. Source: isokron-ai/mcp-write-safety. Node 22 or later.

Status: a preview for the MWS 0.9 comment window. It covers a stated subset of the 37 requirements (the coverage table below); a requirement or a tool it does not exercise is reported not tested, with the reason, never guessed.

Try it in two minutes

demo runs the suite against tiny-tracker, the MWS sample server: a small issue tracker whose default build is written to meet the requirements and whose broken builds switch on deliberate defects, one per requirement. (A run reports per requirement and write path; no run says a server meets MWS as a whole.) Everything runs on 127.0.0.1 and stops when the demo ends; nothing leaves the machine.

With npm (Node 22 or later):

npx -y -p @mcp-write-safety/[email protected] -p @mcp-write-safety/[email protected] mcp-writecheck demo --defect all   # every defect on
npx -y -p @mcp-write-safety/[email protected] -p @mcp-write-safety/[email protected] mcp-writecheck demo                # the correct build

From a checkout of this repository:

(cd examples/tiny-tracker && npm ci && npm run build)
cd packages/writecheck && npm ci && npm run build
npm run demo -- --defect all   # every defect on
npm run demo                   # the correct build

The demo finds a checkout's examples/tiny-tracker by itself, and a tiny-tracker command on PATH (as npx -p gives it).

Expected output with every defect on:

tiny-tracker with defects: all — backend http://127.0.0.1:<port>, MCP server started by the tester behind the loopback gate
plan <hash>; the demo confirms the target itself because it started it (on 127.0.0.1, in memory). `run` always asks.

MWS-UPD-1    MUST   violated in ticket:update_ticket
MWS-UPD-2    MUST   violated in ticket:remove_label
MWS-CONC-1   MUST   violated in ticket:delete_ticket, ticket-replace:replace_ticket
MWS-CONC-2   MUST   violated in ticket:delete_ticket, ticket-replace:replace_ticket
MWS-CONC-3   MUST   violated in ticket-replace:replace_ticket
MWS-CONC-4   MUST   violated in ticket:set_labels
MWS-CONC-5   SHOULD self-attested, not applicable, not tested; review answer "no" in project:delete_project
MWS-CONC-6   SHOULD self-attested; review answer "no" in ticket:set_labels
MWS-TGT-1    MUST   violated in ticket:create_ticket, ticket-replace:create_ticket
MWS-TGT-2    MUST   not tested
MWS-TGT-3    MUST   violated in project:create_project
MWS-RES-1    MUST   violated in ticket:update_ticket
MWS-RES-2    MUST   violated in ticket:add_comment, ticket-replace:replace_ticket
MWS-RES-3    MUST   violated in ticket:add_comment
MWS-RES-4    SHOULD violated in ticket:update_ticket
MWS-ATOM-1   MUST   violated in ticket:bulk_update_tickets
MWS-ATOM-2   SHOULD held, not tested
MWS-RETRY-1  SHOULD violated in ticket:add_comment
MWS-RETRY-2  MUST   violated in ticket:create_ticket
MWS-RETRY-3  MUST   violated in ticket:close_ticket
MWS-IN-1     MUST   violated in ticket:update_ticket, ticket-replace:replace_ticket
MWS-IN-2     MUST   violated in project:list_projects, ticket:get_ticket, ticket-replace:get_ticket, ticket-replace:replace_ticket
MWS-IN-3     MUST   violated in ticket:update_ticket
MWS-IN-4     MUST   violated in ticket:get_ticket, ticket:update_ticket, ticket-replace:get_ticket, ticket-replace:replace_ticket; review answer "no" in ticket:get_ticket, ticket-replace:get_ticket
MWS-IN-5     SHOULD violated in ticket:update_ticket
MWS-IN-6     SHOULD violated in ticket:update_ticket, ticket-replace:replace_ticket
MWS-IN-7     SHOULD violated in project:list_projects, ticket:get_ticket, ticket:update_ticket, ticket-replace:get_ticket, ticket-replace:replace_ticket
MWS-CFG-1    MUST   violated in (server):TRACKER_READ_ONLY
MWS-CFG-2    MUST   violated in (server):TRACKER_DENY_TOOLS
MWS-CFG-3    MUST   violated in (server):TRACKER_READ_ONLY
MWS-CFG-4    SHOULD violated in (server):TRACKER_TOOLS
MWS-ANN-1    MUST   violated in ticket:add_comment
MWS-ANN-2    MUST   violated in project:create_project, ticket:add_label
MWS-ANN-3    MUST   violated in ticket:create_ticket, ticket-replace:create_ticket
MWS-ANN-4    SHOULD violated in (catalog):remove_label
MWS-ANN-5    SHOULD violated in project:create_project, ticket:add_label, ticket:set_labels
MWS-SEC-1    MUST   violated in (server):get_ticket

268 records in about 15 s. One line per requirement; the report has one row per write path. There is no total.
mcp-writecheck is a preview: of the 37 requirements of MWS 0.9 it executes the test of 14 in full and of 23 in part; what is not built is reported "not tested" with the reason (README: Coverage in this preview).
report: <tmp>/mwsc-demo-results/<run id>/report.md

Expected output for the correct build:

tiny-tracker (correct build) — backend http://127.0.0.1:<port>, MCP server started by the tester behind the loopback gate
plan <hash>; the demo confirms the target itself because it started it (on 127.0.0.1, in memory). `run` always asks.

MWS-UPD-1    MUST   held, not applicable
MWS-UPD-2    MUST   held
MWS-CONC-1   MUST   held
MWS-CONC-2   MUST   not tested, held
MWS-CONC-3   MUST   not observed, held
MWS-CONC-4   MUST   held, self-attested
MWS-CONC-5   SHOULD self-attested, not applicable, not tested
MWS-CONC-6   SHOULD held
MWS-TGT-1    MUST   not tested, held
MWS-TGT-2    MUST   held
MWS-TGT-3    MUST   held
MWS-RES-1    MUST   held, not tested
MWS-RES-2    MUST   held, not tested
MWS-RES-3    MUST   held
MWS-RES-4    SHOULD held
MWS-ATOM-1   MUST   held
MWS-ATOM-2   SHOULD held
MWS-RETRY-1  SHOULD held
MWS-RETRY-2  MUST   held, not observed
MWS-RETRY-3  MUST   not observed, held
MWS-IN-1     MUST   not applicable, held, not tested
MWS-IN-2     MUST   held, not tested
MWS-IN-3     MUST   not applicable, held, not tested
MWS-IN-4     MUST   held, self-attested, not tested
MWS-IN-5     SHOULD not observed, not tested
MWS-IN-6     SHOULD not applicable, held, not tested
MWS-IN-7     SHOULD held, not tested
MWS-CFG-1    MUST   held
MWS-CFG-2    MUST   held
MWS-CFG-3    MUST   held
MWS-CFG-4    SHOULD held
MWS-ANN-1    MUST   not observed, not applicable
MWS-ANN-2    MUST   not observed, not applicable
MWS-ANN-3    MUST   not applicable, not observed
MWS-ANN-4    SHOULD held
MWS-ANN-5    SHOULD not observed, not applicable
MWS-SEC-1    MUST   not observed

287 records in about 15 s. One line per requirement; the report has one row per write path. There is no total.
mcp-writecheck is a preview: of the 37 requirements of MWS 0.9 it executes the test of 14 in full and of 23 in part; what is not built is reported "not tested" with the reason (README: Coverage in this preview).
report: <tmp>/mwsc-demo-results/<run id>/report.md

The demo prints one line per requirement so that it fits a terminal; the report and results.json have one record per requirement and write path, and nothing adds them up. With every defect on, two requirements are not violated, on purpose: MWS-CONC-5 and MWS-CONC-6 have review-only clauses here, so their records are self-attested, with the answer "no". On the correct build no line says violated; each not tested and not applicable record says why (for example, a write tool no check exercises for a requirement, or a part of a test not built in this preview).

The demo confirms the target and the plan hash itself, because it started the target on loopback with an in-memory backend. run never does.

Coverage in this preview

Each requirement of MWS 0.9 (spec text: MWS 0.9 as published for comment; 37 requirements, 26 MUST, 11 SHOULD), and whether this preview has an executable check for it. "Partial" says what is not built; those parts are reported not tested with the reason "not built in this preview". Every declared write tool that no check exercised for a per-tool requirement (MWS-RES-1, RES-2, IN-1 to IN-4, IN-6, IN-7, CONC-2) gets its own not tested row, so a held on one tool never stands for another.

| Requirement | Level | Executable check | Not built in this preview | |---|---|---|---| | MWS-UPD-1 | MUST | yes | | | MWS-UPD-2 | MUST | partial | the control arm (insertion, removal and reordering are all forced) | | MWS-CONC-1 | MUST | partial | a control that is not a version precondition, such as a lock held by another user (the lock branch, with its unengaged baseline and the rule that a refusal must show the control, R10-10); a client that declares the elicitation capability and declines a confirmation (spec 7.3, rule 10): the tester declares none, so no confirmation is asked | | MWS-CONC-2 | MUST | partial | tools other than the update, delete and versioned tools | | MWS-CONC-3 | MUST | yes | | | MWS-CONC-4 | MUST | yes | | | MWS-CONC-5 | SHOULD | yes | | | MWS-CONC-6 | SHOULD | yes | | | MWS-TGT-1 | MUST | partial | update and delete tools that take a scope argument (an object of the same name in each scope), except the selector tool, which is tested only with selector.narrow and selector.send_empty_forms | | MWS-TGT-2 | MUST | partial | a client that declares the elicitation capability and declines a confirmation (spec 7.3, rule 10). The forms are destructive by design and run only with selector.send_empty_forms: true, on a backend where every object is disposable | | MWS-TGT-3 | MUST | partial | a client that declares the elicitation capability and declines a confirmation (spec 7.3, rule 10) | | MWS-RES-1 | MUST | partial | write tools other than the update and delete tools | | MWS-RES-2 | MUST | partial | write tools other than the update tool and the declared failures; judging an input_required result after the retry, or a task on what the terminal task carries; the settled-outcome runs of provoked failures through the interposer (the run without a fault and the lost-answer trial are built); the follow-through for an error that names the version (R10-11) | | MWS-RES-3 | MUST | yes | | | MWS-RES-4 | SHOULD | yes | | | MWS-ATOM-1 | MUST | partial | a multi-item delete that takes the scope argument, unless it is the selector tool and its MWS-TGT-1 is held in the run (spec 7.3, rule 1); a multi-item delete with no container of the tester's own. A multi-item bulk update is called in the tester's container without an MWS-TGT-1 of its own | | MWS-ATOM-2 | SHOULD | partial | as MWS-ATOM-1 | | MWS-RETRY-1 | SHOULD | yes | | | MWS-RETRY-2 | MUST | partial | an append (idempotency.kind: append); judging a task or input_required answer on its final result; seeing at the interposer that the server undid an update after the cut (the delete of a created object is seen) | | MWS-RETRY-3 | MUST | partial | deciding whether a backend write before the result was staged state the retry completes | | MWS-IN-1 | MUST | partial | tools other than the read and update tools | | MWS-IN-2 | MUST | partial | tools other than the read and update tools; nested levels; a notice the default "not used" pattern cannot decide is not tested (declare patterns.not_used) | | MWS-IN-3 | MUST | partial | tools other than the read and update tools; nested levels | | MWS-IN-4 | MUST | partial | tools other than the read and update tools | | MWS-IN-5 | SHOULD | partial | the run-wide search of every refused call (only the declared try_values are searched); violated needs a declared fixed constraint (fixed_constraints, R10-8), otherwise refusals are listed, seen, not judged | | MWS-IN-6 | SHOULD | partial | tools other than the read and update tools | | MWS-IN-7 | SHOULD | partial | tools other than the read and update tools; nested levels | | MWS-CFG-1 | MUST | partial | settings applied with a request (sent with tools/list and a call to each write tool) | | MWS-CFG-2 | MUST | partial | settings applied with a request (sent with tools/list and a call to each write tool); a declared tool that exists and is switched off | | MWS-CFG-3 | MUST | partial | settings applied with a request (sent with each call) | | MWS-CFG-4 | SHOULD | partial | settings applied with a request (sent with tools/list) | | MWS-ANN-1 | MUST | yes | | | MWS-ANN-2 | MUST | yes | | | MWS-ANN-3 | MUST | yes | | | MWS-ANN-4 | SHOULD | yes | | | MWS-ANN-5 | SHOULD | yes | | | MWS-SEC-1 | MUST | yes | |

Use

mcp-writecheck init --out manifest.yaml --env BACKEND_URL -- node ./my-server.js   # drafts from tools/list; every guess is marked
mcp-writecheck plan -m manifest.yaml                                                # every call a run would make, and the plan hash
mcp-writecheck catalog -m manifest.yaml                                             # catalog-only: MWS-ANN-4 from tools/list, no tool call, no account
mcp-writecheck run  -m manifest.yaml                                                # asks for the target and the plan hash
mcp-writecheck run  -m manifest.yaml --confirm-target <target> --plan-hash <hash>   # in CI; there is no --yes
mcp-writecheck review  mwsc-results/<run>                                          # the review-only questions, with the evidence
mcp-writecheck recheck mwsc-results/<run> [--review answers.yaml]                  # re-apply the rules offline
mcp-writecheck rerun   mwsc-results/<run> -m manifest.yaml                         # run the same plan again
mcp-writecheck cleanup -m manifest.yaml                                             # what an interrupted run left

mcp-writecheck <command> --help describes each command and its options. An unknown option or command is refused with a pointer to that help.

The manifest, at its smallest

mws: "0.9"
server:
  stdio: [node, ./my-server.js]
  env_passthrough: [API_TOKEN]       # values are redacted everywhere, and looked for in results (MWS-SEC-1)
  env_public: [BACKEND_URL]          # passed through, not redacted
target:
  environment: test
  confirm: "staging-tracker.internal"
  guard: { tool: whoami, args: {}, path: tenant, pattern: "^test-" }
resources:
  - name: ticket
    create:  { tool: ticket_create, args: { title: "{{marker}}" }, id: id }
    read:    { tool: ticket_get, args: { id: "{{id}}" }, object: ticket, ignore: [updated_at] }
    update:  { tool: ticket_update, mode: field_patch, args: { id: "{{id}}", "{{field}}": "{{value}}" } }
    fields:  [ { path: assignee, values: [ann, bob] }, { path: status, values: [in_progress, closed] } ]
    cleanup: delete
    delete:  { tool: ticket_delete, args: { id: "{{id}}" } }

Pick each field's first value so that it is not the field's default: a tool that resets an omitted field to its default can only be seen when the field held something else. {{marker}} is a fresh value carrying the run's prefix (mwsc-<run>-…); cleanup recognises the run's objects by it. {{?name}} sends an argument only when it has a value.

examples/tiny-tracker/writecheck.yaml in this repository is a complete manifest for a 15-tool server.

Optional blocks, and what each unlocks

Without a block, the requirements it unlocks are not tested (or not applicable where the declaration says the condition is false), with the reason and what to declare.

| Block | Unlocks | |---|---| | server.launch (or server.stdio) | A server the tester starts, which the backend gate and the launch checks need. launch starts a streamable HTTP server and reads its URL from its first stdout line. | | backend.gate (rewrite_env or node_import) | The proxy-assisted tests: MWS-CONC-3 by held request; MWS-CONC-1 for a tool that reads and writes inside one call; MWS-RES-2, RES-3, RETRY-2, ATOM-1 and ATOM-2 by failing a named backend request | | version (read, arg, optional, override) | MWS-CONC-2 and CONC-4 for the update tool; with {{version}} in delete.args, for the delete tool too. With optional: true, MWS-CONC-2 runs a second time with the version left out for a whole-object update tool and for the delete tool (never for a field patch, spec NF-12); override names the explicit argument (such as force) the tester sends to those tools wherever it sends no version, and leaves out in that run | | versioned | MWS-CONC-2 and CONC-4 for other tools that take the version the caller read | | control (read, patch, write, delete, create) | Attribution (violated versus platform), MWS-CONC-1, and setup through the platform's own API | | update.cases | MWS-RES-1 cases of your own: an update, and what must be in effect afterwards | | scope | MWS-TGT-1, and a container of the run's own | | selector (narrow, send_empty_forms) | MWS-TGT-2. Destructive by design: a server that ignores the scope or the selector deletes objects the tester did not create, and no order of black-box calls rules that out. The empty-selector forms, and the MWS-TGT-1 call on the selector tool that gates them, are sent only with send_empty_forms: true, which you set only where you, the operator, declare that every object the server's identity can change in the backend is disposable and that nothing else writes there during the test (spec 7.3, rule 1, R10-5); without it MWS-TGT-2 is not tested with that reason. With it: inside a container the tester created and confirmed holds only its objects, after MWS-TGT-1 is held for the selector tool itself (spec 7.3, rule 1). narrow (each value a string carrying {{marker}}, naming an argument the tool declares) lets the tester run that MWS-TGT-1. Before and after every targeting call the tester lists every object it can list outside its own, and around a selector call reads each back by id; a loss is in the record and at the top of the report, and that record is never held. The inventory is only as complete as the server's lists: the record and the report say what was listed, a selector record on a partial inventory is not tested, and a held record says the objects outside its own were "not seen to be lost" | | update.apply | Declares that the update tool sends an apply with field ownership (spec section 4: neither field patch nor full replace): its MWS-CONC-2 rows are not tested and it gets no version-left-out run. The tool cannot infer this; without it, such a tool can get a false MWS-CONC-2 violated | | update.override | Declares that the update arguments set an explicit override (NF-7): MWS-CONC-1 is then not tested instead of a false violated. The tool cannot infer this; without the line, a tool whose declared update arguments carry an override gets a false MWS-CONC-1 violated | | target.guard.read_only | Declares that the guard tool only reads, for a server that annotates no tool readOnlyHint: true (a tool declaring readOnlyHint: false or destructiveHint: true is still refused). The tool cannot infer this; without it, run refuses such a server | | key | MWS-TGT-3, and MWS-ANN-2 for a create with a caller-chosen key | | multi | MWS-ATOM-1 and ATOM-2 | | list_edit | MWS-UPD-2 | | list, creates | MWS-RES-3, RES-4 and RETRY-1 for create tools | | idempotency (with list and {{marker}} in its args for a create) | MWS-RETRY-2 steps (a) to (d); with backend.gate, the proxy-assisted step; with server.restart, step (e), and with both, its crash form. own_checks, backend_key, key_record_survives and version_steps (an update) are the declaration's statements the verdicts rely on (MANIFEST.md) | | server.restart (stop: graceful or kill) | MWS-RETRY-2 step (e) and its crash form: the tester stops and starts the server it launched | | failures | MWS-RES-2 for calls the backend will refuse | | patterns (applied, outcome_unknown, not_used, unavailable, no_tools, …) | What a result says (spec 7.3, rule 11). A built-in default never decides a held or violated on its own: MWS-RES-2's second clause and MWS-ATOM-1 need applied and outcome_unknown, MWS-IN-2's notice not_used, MWS-CFG-4's list error no_tools, MWS-RETRY-2's reading of an error applied and unavailable; without them those records are not tested, quoting the text. MANIFEST.md lists every kind | | results: { shape: write-result/0.1 } | A result shape adopted by name and version (spec 7.3, rule 11; draft Annex B-9). Where a result carries it well formed, it decides what the result says before the patterns, and the record quotes the member; the read-back still decides what happened, and a shape that cannot be read falls back to the patterns. MANIFEST.md, section results | | list.next (path, arg) | Lists read to the end: the MWS-RETRY-2 trace, the bystander inventory and clean-up. Without it a paged answer makes the trace partial (no verdict from it) | | input_required | MWS-RETRY-3: the tool, its arguments, and the answers to send on the retry (revision 2026-07-28) | | try_values | MWS-IN-5: values valid by the update tool's schema to try ({ arg, value } or { arg, length }) | | no_version_check | MWS-CONC-5: tools for which the backend has no version check (MWS-CONC-2 is then not applicable) | | missing_id | Error answers for the credential scan | | settings (read_only, tool_filters with kind: deny or kind: allow, per_request) | MWS-CFG-1 and CFG-3 (read-only), CFG-2 (deny-list), CFG-4 (allow-list); launch checks. A setting applied with a request is declared under per_request and reported not tested in this preview | | secrets (canaries_env, token_params, issuing_tools) | MWS-SEC-1 beyond the server's own credentials; issuing_tools lists tools that exist to issue a credential (spec NF-16) | | calls | Annotation checks (MWS-ANN-1 to ANN-3, ANN-5) for other tools, on scratch objects | | jobs | Annex A-1 round trips (measured, never judged) | | canaries | Untouched state: read-only calls before and after the run, compared | | review | Answers to review-only clauses, recorded as self-attested | | fixture | A pre-made object named mwsc-… instead of a create; its two fields are put back afterwards |

Update modes: field_patch, full_replace, command, composite (several backend writes in one call; with the gate, its second and its last writes are failed for MWS-ATOM-1 and ATOM-2). The mode decides which requirements apply; it never excuses a lost update.

The backend gate

The gate interposes on the hop between your server and its backend, so that a concurrency or failure case is forced by holding or failing one named request, never by timing. Two routes:

  • backend.gate.rewrite_env: BACKEND_URL: the tester starts a loopback forwarder and gives your server its URL in place of the real one (which the tester reads from its own environment). TLS to the real backend is verified normally.
  • backend.gate.node_import: true: for Node servers, a hook loaded with node --import wraps fetch inside the server process. Every result obtained this way says so, because the server's author controls where such a hook sits.

A learning pass runs each write alone and records its backend requests; a schedule then holds the last mutating one, or fails a chosen one. Every proxy-assisted record states the route and which request was held or failed, and when it was released.

Results

Per write path (resource and tool, or a setting), never per server: violated, platform (the platform's own API does the same), held (the situation was forced and the server did the right thing), not observed (attempted, not forced; with the numbers; not evidence of safety), not tested (with the reason), not applicable, self-attested (a review-only clause, with the answer and who gave it). No total, no score, no badge.

Each run writes report.md (first line: the scope), results.json (schema/mws-results-1.schema.json), junit.xml (only held passes, only violated fails, the rest is skipped), capture/, history.jsonl, ledger.jsonl, SHA256SUMS, and with --sign <ssh key> an ssh-keygen -Y sign signature. Exit status 1 only for a violated MUST not in the --baseline file, or for a baseline entry that came out definitely not violated. Exit status 4 for an incomplete run, whatever its verdicts: the target or its backend stopped answering (the tenant guard's read is made again between checks), or clean-up could not finish (a delete failed, a create's outcome is unknown, clean-up stopped); the report says why in its first lines, and such a run is never complete. Exit 4 takes precedence over 1, so a target that leaves objects behind on every run (a soft delete, a list with more pages and no list.next) exits 4 until that is fixed or declared. Neither the exit status nor junit.xml is a verdict on the server: exit 0 means no new violated MUST was found in what was tested, and the not tested rows say what was not.

Review-only clauses

Some clauses are answered by a person, not measured: whether a conflict says the write was not applied (MWS-CONC-4), whether a refusal gives its reason (MWS-IN-4), whether a tool's description discloses that stale writes are not detected (MWS-CONC-2, asked only where the platform's API applies them), and whether a tool declaring openWorldHint: false reaches nothing outside its backend (MWS-ANN-4). mcp-writecheck review <results> lists them with the captured evidence. Answer them in the manifest's review block, as rules (for example, a pattern that a conflict's text must match) or as one answer per question id; the record is self-attested and names who answered. An unanswered clause is not tested.

Seat belts

None of these proves that a target is a test system. The manifest must say environment: test; the target and the plan hash are typed back (there is no --yes); obvious production hosts and registered production catalogs are refused; a read-only guard call must match before any write; every object carries the run prefix and goes through a write-ahead ledger; cleanup deletes only ledger objects that still read back as the run's; a write budget and a rate limit apply, and the run stops at the first 429; server processes run under a supervisor that kills their process group when the tester exits, even on SIGKILL; canaries are compared before and after; a fixture is put back to its original values.

Develop

npm ci && npm test                                        # unit, fake-server, safety and infrastructure tests
TINY_TRACKER_DIR="$PWD/../../examples/tiny-tracker" npm test   # also the tiny-tracker self-test (build tiny-tracker first; see "Try it"; the path must be absolute)

The tiny-tracker self-test (test/integration/tiny-tracker.test.ts) is the matrix of the spec's change process: the correct build gives no violated (over both protocol revisions), each defect gives its own requirement (plus the secondary effects the test lists, each a requirement the defect really breaks under the spec's method), all defects together leave only the two requirements noted above unviolated, and the backend's own lost update is platform.

Made by IsoKron.