Skip to content

Module JSON 1.0 ​

ARCHIVE

Archived proposal, superseded by decision 004 on 11 October 2026. Not an implementation target. The module contract is Module Protocol 1 with the operation shape.

What it was. An independently prepared evolution proposal for the module/API link, written on 8 October 2026 by the founder: one HTTPS endpoint with typed JSON methods (capabilities.get, products.search with a bounded filter tree, products.get, products.price.set with a price revision and an approval reference, operations.get for recovery), a later analytics.query, a write journal with durable receipts and deduplication in the module, RFC 9421 / RFC 9530 message signatures with independent direction keys, and HTTP status codes with meaning (200, 202, 4xx, 5xx). It came with a module developer brief, an MCP developer brief, a JSON Schema with examples in contracts/module-json/, and decision 003, which recorded it as the accepted direction for one day.

What was taken from it. The strict envelope (a body limit checked before dispatch, duplicated keys and unknown fields refused), two more manifest limits, the rule for deciding conditional on nontransactional tables, the identifier matching rules (trim, case fold, literal wildcards, no collation inheritance) and the list of conformance evidence. They are the rules every module follows in contracts/module/operations.json, taken on 9 October 2026 by Yevhen's decision.

Why the rest was not taken. The comparison keeps the argument: the resource × verb shape of decision 004 generalizes one conditional write over every resource instead of one method per field; a write journal in the module duplicates the API's ledger and reconciliation, which Module Protocol 1 already places in the API; expectedRevision is subsumed by an explicit expected value; a 202 pending answer disappears when the module never queues work; the filter tree in the module is unnecessary once the API answers catalog questions by scanning live product.list pages (decision 007). The signing profile stays HMAC with the X-SD-* headers; RFC 9421 remains the founder's call.

Where the full text is. The pages docs/protocol/json.md, docs/protocol/json-design.md, docs/protocol/module-guide.md (the earlier brief), docs/protocol/mcp-guide.md, docs/architecture/mcp-tools.md and the schemas under contracts/module-json/ were removed from the repository on 12 October 2026; git history before that date keeps them in all three languages.