Copied view
Canvas or DOM output is copied instead of the original LaTeX source.
EVEMISSLAB / RESEARCH MVP · v0.2
SSSP is an AI-native protocol for scholarly writing. It gives agents typed nodes, revisions, checksums and validation—so canonical source is edited directly, while Markdown and rendered pages remain derived views.
The invariant
01 / THE FAILURE MODE
A page can look correct while the expression underneath it has already changed. SSSP moves validation in front of the commit instead of asking a repair pass to guess the source later.
Canvas or DOM output is copied instead of the original LaTeX source.
Sequences such as \b, \t or \n are decoded into control characters.
A broad repair regex fixes one delimiter and damages valid TeX elsewhere.
Rendered view → copy → guess source → repairDiscussion → canonical source → validate → render02 / PROTOCOL ANATOMY
The canonical document is a typed, revisioned object. Exports are compiled from it; the audit trail records how it changed. Use the controls to inspect the same node through each lens.
{
"id": "eq-0001",
"type": "math_block",
"latex": "\\forall x\\in X,\\;P(x)",
"checksum": "sha256:4b8c…e21f"
}Typed data is authoritative. Delimiters are not part of the math payload.
## Stability claim
$$
\forall x\in X,\;P(x)
$$
<!-- derived from eq-0001 -->Markdown is generated from canonical data and can be regenerated at any time.
{
"operation": "append_node",
"revision_before": 2,
"revision_after": 3,
"actor": "assistant",
"reason": "add stability claim"
}Revision, actor, reason and checksum travel with the mutation record.
Typed scholarly nodes plus semantic and claim ledgers.
Create, append and replace operations guarded by revisions and checksums.
A seven-tool interface over stdio or basic Streamable HTTP.
03 / EXECUTABLE SURFACE
Agents mutate the canonical document through explicit operations. Read, validation, export and snapshot remain named steps rather than invisible side effects.
sssp.create_documentCreate a canonical document.sssp.append_nodeAppend one typed node, then validate before atomic commit.sssp.replace_nodeReplace one node with revision and checksum conflict protection.sssp.read_nodeRead canonical data without going through a rendered export.sssp.validate_documentRun structural, character and MathJax validation.sssp.export_documentCompile a derived Markdown view.sssp.commit_versionCreate an immutable validated snapshot.Control bytes, PUA, zero-width markers, checksums, duplicate IDs and basic TeX structure.
MathJax parses each canonical math block before a validated snapshot is created.
Claim consistency, symbol drift and semantic diff remain research work—not present-tense guarantees.
04 / STATUS & BOUNDARIES
SSSP v0.2 is executable and tested. It is not yet a production multi-writer scholarly service. The public site explains the protocol; it does not expose an unauthenticated write endpoint.
REFERENCE IMPLEMENTATION
Clone the repository, install the pinned MathJax dependency, then start the local MCP server.
Read the deployment notesgit clone https://github.com/kakon77777-commits/SSSP.git
cd SSSP
npm install
python src/mcp_server.py