@nexart/mcp-server 0.1.0 → 0.2.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/CHANGELOG.md +63 -8
- package/CONTRIBUTING.md +7 -5
- package/README.md +47 -31
- package/SECURITY.md +8 -7
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/dist/contracts.js +3 -2
- package/dist/json-schema.d.ts +9 -0
- package/dist/json-schema.js +20 -0
- package/dist/lookup/contracts.js +2 -1
- package/dist/network/contracts.d.ts +2 -2
- package/dist/owner/custody.d.ts +3 -0
- package/dist/owner/custody.js +26 -16
- package/dist/protocol-safety.d.ts +3 -0
- package/dist/protocol-safety.js +16 -0
- package/dist/receipts/contracts.d.ts +2 -2
- package/dist/receipts/contracts.js +2 -1
- package/dist/record/contracts.d.ts +42 -0
- package/dist/record/contracts.js +5 -0
- package/dist/record/record.d.ts +3 -0
- package/dist/record/record.js +6 -2
- package/dist/record-tools.d.ts +3 -0
- package/dist/record-tools.js +15 -5
- package/dist/server.d.ts +11 -1
- package/dist/server.js +5 -5
- package/dist/stdio.js +3 -19
- package/dist/write/attest.d.ts +3 -0
- package/dist/write/attest.js +2 -1
- package/dist/write/contracts.d.ts +2 -2
- package/docs/consumer-guide.md +133 -0
- package/package.json +11 -4
- package/server.json +2 -2
- package/docs/age-version-compatibility.md +0 -46
- package/docs/architecture.md +0 -72
- package/docs/compatibility.md +0 -163
- package/docs/contracts.md +0 -127
- package/docs/licensing-review.md +0 -109
- package/docs/milestone-1-validation.md +0 -110
- package/docs/milestone-2.md +0 -291
- package/docs/milestone-3.2.md +0 -291
- package/docs/milestone-3.md +0 -274
- package/docs/milestone-4a.md +0 -221
- package/docs/milestone-4b1.md +0 -220
- package/docs/milestone-4b2.md +0 -260
- package/docs/public-default.md +0 -263
- package/docs/recording-schema-compatibility.md +0 -46
- package/docs/release.md +0 -311
- package/docs/security-fixes.md +0 -47
- package/docs/security.md +0 -195
- package/docs/standalone-acceptance.md +0 -81
- package/docs/validation.md +0 -85
package/docs/compatibility.md
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
# Compatibility matrix
|
|
2
|
-
|
|
3
|
-
## Current release candidate
|
|
4
|
-
|
|
5
|
-
Release candidate: `@nexart/mcp-server@0.1.0`, Node 24.x, stdio only.
|
|
6
|
-
The release changelog and [version policy](release.md#versioning-and-release-management)
|
|
7
|
-
do not turn theoretical client compatibility into tested host acceptance.
|
|
8
|
-
|
|
9
|
-
The owner reported successful Claude Desktop/macOS acceptance with Node 24 and
|
|
10
|
-
Homebrew age 1.3.2, confidential creation/recovery, customer-delegated Node
|
|
11
|
-
certification and public verification. Linux automated validation covers both
|
|
12
|
-
MCP revisions below and a clean npm-installed package. Codex and custom stdio
|
|
13
|
-
applications may use the documented executable; individual acceptance is not
|
|
14
|
-
claimed. Windows is not validated. Replit's URL-based custom MCP integration
|
|
15
|
-
needs an HTTPS service, not this local stdio executable.
|
|
16
|
-
|
|
17
|
-
The complete accepted baseline is 578 passing tests. Current release runs are
|
|
18
|
-
independent evidence under `generated-artifacts/npm-release/`; see
|
|
19
|
-
[validation](validation.md). The owner/live evidence is separate from synthetic
|
|
20
|
-
test coverage. Anonymous public CER lookup and receipt verification were also
|
|
21
|
-
confirmed in the prior read-only audit; signer trust remains unapproved.
|
|
22
|
-
|
|
23
|
-
## Historical milestone context
|
|
24
|
-
|
|
25
|
-
The dated milestone details below preserve provenance, not current host/live
|
|
26
|
-
acceptance status. Customer-delegated recording is documented in
|
|
27
|
-
[4B.2](milestone-4b2.md) and requires explicit setup/consent/policy, not a key alone.
|
|
28
|
-
|
|
29
|
-
The public-default update intentionally changes omitted attestation visibility
|
|
30
|
-
from private to public. Private callers must explicitly select private.
|
|
31
|
-
Public capability remains off and unapproved calls make no POST. All seven
|
|
32
|
-
read-only contracts, both SDK sealing modes, SDK/runtime pins and the fixture A
|
|
33
|
-
private procedure remain compatible. The recommended confidential owner creation
|
|
34
|
-
CLI is additive; ordinary `from_execution` does not silently acquire commitments.
|
|
35
|
-
See [the current workflow](public-default.md).
|
|
36
|
-
|
|
37
|
-
Milestone 3 keeps the SDK/runtime pins and seven default contracts below.
|
|
38
|
-
Opted-in sessions add two write tools; synthetic tests cover both protocol
|
|
39
|
-
revisions and the installed local owner-approval command. See
|
|
40
|
-
[Milestone 3](milestone-3.md) for identity, disclosure and production-readiness
|
|
41
|
-
boundaries. The Milestone 2 results below remain historical, not a claim of
|
|
42
|
-
live production write acceptance.
|
|
43
|
-
|
|
44
|
-
Validated on 2026-11-10. Direct dependency versions are exact in the manifest;
|
|
45
|
-
transitive resolution is frozen in the dedicated standalone-root pnpm lockfile.
|
|
46
|
-
|
|
47
|
-
## Runtime and MCP packages
|
|
48
|
-
|
|
49
|
-
| Component | Pin / tested behaviour |
|
|
50
|
-
| --- | --- |
|
|
51
|
-
| Node.js | Tested 24.22.1; package supports the 24.x line only |
|
|
52
|
-
| pnpm | Tested 10.26.1 |
|
|
53
|
-
| TypeScript | 5.9.3 |
|
|
54
|
-
| `@modelcontextprotocol/server` | 2.4.0; official v2 package, not the v1 maintenance package |
|
|
55
|
-
| `@modelcontextprotocol/client` | 2.4.0, development/test only |
|
|
56
|
-
| `@modelcontextprotocol/core` | 2.4.0, explicit development pin |
|
|
57
|
-
| Zod | 4.6.7; SDK v2 requires Zod 4 |
|
|
58
|
-
| `@types/node` | 25.3.3; compile-time only, not a runtime-version claim |
|
|
59
|
-
|
|
60
|
-
The server/client package metadata requires Node >=20. The application narrows
|
|
61
|
-
support to tested Node 24.x. Optional AI SDK timestamp peers are not installed
|
|
62
|
-
and the RFC 3161 module is not imported.
|
|
63
|
-
|
|
64
|
-
## MCP protocol support
|
|
65
|
-
|
|
66
|
-
The pinned SDK supports modern `2026-07-28` and these legacy initialization
|
|
67
|
-
revisions: `2025-11-25`, `2025-06-18`, `2025-03-26`, `2024-11-05`,
|
|
68
|
-
`2024-10-07`. Its exported legacy `SUPPORTED_PROTOCOL_VERSIONS` constant does
|
|
69
|
-
not enumerate the modern era.
|
|
70
|
-
|
|
71
|
-
| Client / revision | Status |
|
|
72
|
-
| --- | --- |
|
|
73
|
-
| Official v2 client, default legacy negotiation (`2025-11-25`) | All seven tools, positive/negative/redaction cases, clean close; development and installed executable |
|
|
74
|
-
| Official v2 client, pinned `2026-07-28` modern era | All seven tools, positive/negative/redaction cases, clean close; development and installed executable |
|
|
75
|
-
| Other SDK-supported legacy revisions | Available through SDK; not individually conformance-tested |
|
|
76
|
-
| Claude Desktop on macOS | Owner-reported successful live acceptance with Node 24 / age 1.3.2 |
|
|
77
|
-
| Codex / Claude Code / Cursor / VS Code | Stdio configuration possible; individual host acceptance not established |
|
|
78
|
-
| HTTP, SSE, hosted clients | Not implemented |
|
|
79
|
-
|
|
80
|
-
Modern connections do not use the legacy `initialize`/`ping` lifecycle.
|
|
81
|
-
The SDK handles protocol-era semantics; evidence-family dispatch never falls
|
|
82
|
-
back across NexArt versions. On modern tool errors, `resultType` must be
|
|
83
|
-
preserved when sanitizing diagnostic content.
|
|
84
|
-
|
|
85
|
-
## NexArt record coverage
|
|
86
|
-
|
|
87
|
-
| Family | Version / protocol | Published authority |
|
|
88
|
-
| --- | --- | --- |
|
|
89
|
-
| `cer.ai.execution.v1` | SDK-supported V1, including 1.2.0 legacy tolerances and 1.3.0/1.3.1 | AI 1.4.0 `verifyCer` |
|
|
90
|
-
| `cer.ai.execution.v2` | V2 under 1.3.1 | AI 1.4.0 `verifyCerV2` |
|
|
91
|
-
| `cer.consequential.execution.v1` | Envelope 0.1 / snapshot schema 1 / protocol 1.3.1 | Consequential 0.1.0 `verifyCer` |
|
|
92
|
-
| `cer.governed.execution.v1` | Envelope 0.1 and 0.2; CAGE profile version 1; JCS | Governed 0.4.2 explicit V1/V2 verifier |
|
|
93
|
-
| `cer.project.bundle.v1` | SDK-supported Projects with AI V1, AI V2 or mixed steps | AI 1.4.0 `verifyProjectBundle` |
|
|
94
|
-
|
|
95
|
-
AI V1 leaves envelope-version validation to its SDK, including its specific
|
|
96
|
-
pre-protocol-vintage tolerance. Missing legacy protocol fields are
|
|
97
|
-
not silently rewritten by MCP; the SDK's `verifiedUnder`/relaxations show any
|
|
98
|
-
tolerance it exercised. Unknown explicit AI protocols fail in the SDK.
|
|
99
|
-
|
|
100
|
-
Unsupported families (including Code Mode and `cer.governed.execution.step.v1`)
|
|
101
|
-
are rejected. Project support does not extend to arbitrary mixed non-AI
|
|
102
|
-
families. Unsupported governed envelope versions are rejected before dispatch;
|
|
103
|
-
unknown governed profiles are rejected by the selected SDK.
|
|
104
|
-
|
|
105
|
-
## Fixture provenance
|
|
106
|
-
|
|
107
|
-
- `tests/fixtures/ai/compat-vectors-v1.json` and `compat-vectors-v2.json`
|
|
108
|
-
are byte-for-byte copies from the published `@nexart/ai-execution@1.4.0`
|
|
109
|
-
npm tarball, including fixed certificate hashes. Project vectors in those
|
|
110
|
-
files are dispatched to the Project tool, not the single-CER tool.
|
|
111
|
-
- Governed fixtures were read from `artnames/governed-execution` at source
|
|
112
|
-
revision `c45cba5972157bbc872009b21cdf066cb97c05e2`:
|
|
113
|
-
`fixtures/golden-v2/cleartext-identity.json`,
|
|
114
|
-
`fixtures/golden-v2/confidential-metadata.json`, and
|
|
115
|
-
`fixtures/golden-cage/01_single_path_happy.json`.
|
|
116
|
-
They are not represented as npm-packaged fixtures. The npm metadata's
|
|
117
|
-
`gitHead` was not resolvable in that repository; validation is against the
|
|
118
|
-
installed published verifier, with no assertion that source equals release.
|
|
119
|
-
- Governed 0.1 and mixed AI Project integration inputs are generated with
|
|
120
|
-
official SDK constructors from these existing evidence fixtures.
|
|
121
|
-
- The consequential npm tarball includes no fixture directory. Its positive
|
|
122
|
-
integration fixture is generated by its official `createSnapshot`/`sealCer`
|
|
123
|
-
APIs using fixed test data. It is not an independent compatibility vector.
|
|
124
|
-
- No fixed upstream hash is regenerated to make a failing test pass. Private
|
|
125
|
-
keys and user data are not fixtures. Bundled upstream selective-disclosure
|
|
126
|
-
examples contain public test openings; runtime tools never accept or
|
|
127
|
-
return those openings.
|
|
128
|
-
|
|
129
|
-
Fixture status: the AI vector copies retain their recorded upstream origin.
|
|
130
|
-
The current governed `01_single_path_happy.json` explicitly records corrected
|
|
131
|
-
deterministic v4 identifiers and is a derived example, not a byte-identical
|
|
132
|
-
upstream fixture. These files remain outside the npm archive; upstream
|
|
133
|
-
redistribution permissions remain a separate gate in the rights review.
|
|
134
|
-
|
|
135
|
-
## Milestone 2 network and receipt coverage
|
|
136
|
-
|
|
137
|
-
| Capability | Result / authority |
|
|
138
|
-
| --- | --- |
|
|
139
|
-
| Public CER resolver schema 1.0 | Synthetic valid/invalid responses, all declared identity hashes, incomplete public projection handling |
|
|
140
|
-
| Public Project resolver schema 1.0 | Local AI 1.4.0 `verifyProjectBundle`, requiring `projectHashValid === true`; no aggregate-result reliance |
|
|
141
|
-
| CER `attestation.receipt.v1` | AI 1.4.0 Ed25519 verifier; inline/public lookup; complete optional signed timestamp metadata |
|
|
142
|
-
| Receipt protocols 1.2.0 / 1.3.0 / 1.3.1 | Synthetic signatures verified; no custom runtime canonicalization |
|
|
143
|
-
| Project receipt | Explicitly unsupported; no CER reinterpretation |
|
|
144
|
-
| Exact kid / rotation / deprecated / revoked / unknown keys | Synthetic signature/trust/lifecycle cases; duplicate IDs rejected; no active-key fallback |
|
|
145
|
-
| Historical pre-restart receipt | Signature preserved; lifecycle unknown without separately approved exact-key provenance |
|
|
146
|
-
| Production trust bootstrap | No approved pin; discovery never establishes trust |
|
|
147
|
-
| Positive deployed resolver | Confirmed in prior read-only audit; distinct from historical synthetic milestone tests |
|
|
148
|
-
| Complete release regression | Accepted baseline 578/578; current candidate outcome in fresh release summary |
|
|
149
|
-
|
|
150
|
-
`tests/network-fixtures.mjs` generates ephemeral in-memory test-only keys;
|
|
151
|
-
no production signing key is used or retained. Trusted test fetch preloads
|
|
152
|
-
exercise real stdio without claiming positive live-service compatibility.
|
|
153
|
-
See [Milestone 2 acceptance](milestone-2.md).
|
|
154
|
-
|
|
155
|
-
Sources:
|
|
156
|
-
|
|
157
|
-
- https://ts.sdk.modelcontextprotocol.io/v2/
|
|
158
|
-
- https://ts.sdk.modelcontextprotocol.io/v2/serving/stdio
|
|
159
|
-
- https://ts.sdk.modelcontextprotocol.io/v2/protocol-versions
|
|
160
|
-
- https://registry.npmjs.org/@modelcontextprotocol/server/2.4.0
|
|
161
|
-
- https://registry.npmjs.org/@nexart/ai-execution/1.4.0
|
|
162
|
-
- https://registry.npmjs.org/@nexart/consequential-execution/0.1.0
|
|
163
|
-
- https://registry.npmjs.org/@nexart/governed-execution/0.4.2
|
package/docs/contracts.md
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
# MCP contracts
|
|
2
|
-
|
|
3
|
-
## Discovery
|
|
4
|
-
|
|
5
|
-
By default the server advertises seven tools. This page describes the four unchanged,
|
|
6
|
-
offline verification tools, all read-only, non-destructive, idempotent and
|
|
7
|
-
closed-world. The three new read-only tools have `openWorldHint:true`;
|
|
8
|
-
their separate contracts and network/trust boundaries are documented in
|
|
9
|
-
[Milestone 2](milestone-2.md). Annotations describe behaviour; they are not
|
|
10
|
-
security permissions. Two optional write tools are documented separately in
|
|
11
|
-
[Milestone 3](milestone-3.md). There are no file/URL resources or prompts.
|
|
12
|
-
|
|
13
|
-
| Tool | Published verifier |
|
|
14
|
-
| --- | --- |
|
|
15
|
-
| `nexart_verify_ai_cer` | `@nexart/ai-execution@1.4.0`: `verifyCer` / `verifyCerV2` |
|
|
16
|
-
| `nexart_verify_consequential_cer` | `@nexart/consequential-execution@0.1.0`: `verifyCer` |
|
|
17
|
-
| `nexart_verify_governed_execution` | `@nexart/governed-execution@0.4.2`: `verifyGovernedExecution` / `verifyGovernedExecutionV2` |
|
|
18
|
-
| `nexart_verify_project_bundle` | `@nexart/ai-execution@1.4.0`: `verifyProjectBundle` |
|
|
19
|
-
|
|
20
|
-
## Original four tools: input
|
|
21
|
-
|
|
22
|
-
```json
|
|
23
|
-
{
|
|
24
|
-
"type": "object",
|
|
25
|
-
"properties": { "bundle": {} },
|
|
26
|
-
"required": ["bundle"],
|
|
27
|
-
"additionalProperties": false
|
|
28
|
-
}
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
`bundle` is inline JSON. It is intentionally not re-described with a second
|
|
32
|
-
copy of NexArt's schema. The published verifier is the authority for artifact
|
|
33
|
-
validation. This preserves SDK compatibility and avoids stripping fields
|
|
34
|
-
before integrity verification.
|
|
35
|
-
|
|
36
|
-
The envelope is strict. `privateKey`, `apiKey`, `openings`, `tenantId`, `path`,
|
|
37
|
-
`url` and every other extra envelope argument are rejected. Embedded evidence
|
|
38
|
-
may itself contain arbitrary producer-reported JSON. The server does not
|
|
39
|
-
interpret evidence strings as paths, URLs, commands or credentials.
|
|
40
|
-
|
|
41
|
-
## Original four tools: output
|
|
42
|
-
|
|
43
|
-
The executable Zod contract is `src/contracts.ts`, advertised as each tool's
|
|
44
|
-
`outputSchema`. The legacy SDK wire encoding includes `structuredContent`
|
|
45
|
-
and a JSON text block. The modern SDK may change its wire representation;
|
|
46
|
-
the logical result is identical.
|
|
47
|
-
|
|
48
|
-
```json
|
|
49
|
-
{
|
|
50
|
-
"contractVersion": "1",
|
|
51
|
-
"tool": "nexart_verify_ai_cer",
|
|
52
|
-
"family": "cer.ai.execution.v1",
|
|
53
|
-
"recordVersion": "0.1",
|
|
54
|
-
"protocol": "1.3.0",
|
|
55
|
-
"artifactIntegrity": "valid",
|
|
56
|
-
"reasonCode": "OK",
|
|
57
|
-
"sdk": {
|
|
58
|
-
"ok": true,
|
|
59
|
-
"code": "OK",
|
|
60
|
-
"errors": [],
|
|
61
|
-
"assurance": "strict",
|
|
62
|
-
"verifiedUnder": {
|
|
63
|
-
"protocolVersion": "1.3.0",
|
|
64
|
-
"canonicalization": "jcs-v1"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"checks": {
|
|
68
|
-
"nodeSignature": "not_performed",
|
|
69
|
-
"signerTrust": "not_established",
|
|
70
|
-
"timestampCryptography": "not_performed",
|
|
71
|
-
"confidentialOpenings": "not_performed",
|
|
72
|
-
"completeness": "not_established"
|
|
73
|
-
},
|
|
74
|
-
"limitations": ["Fixed statements explaining the scope of verification."]
|
|
75
|
-
}
|
|
76
|
-
```
|
|
77
|
-
|
|
78
|
-
- `artifactIntegrity`: `valid`, `invalid`, or `not_performed`. A valid value
|
|
79
|
-
does not establish authenticity, truth, authorization or completeness.
|
|
80
|
-
- `reasonCode`: exact SDK code after verification, otherwise a named wrapper
|
|
81
|
-
failure (`INVALID_ARGUMENTS`, `UNSUPPORTED_RECORD_FAMILY`,
|
|
82
|
-
`UNSUPPORTED_RECORD_VERSION`, `SCHEMA_ERROR`, `INPUT_TOO_LARGE`,
|
|
83
|
-
`JSON_TOO_DEEP`, `JSON_TOO_COMPLEX`, `PROJECT_STEP_LIMIT`,
|
|
84
|
-
`NON_JSON_INPUT`, `CANCELLED`, `SDK_EXCEPTION`, `OUTPUT_LIMIT_EXCEEDED`,
|
|
85
|
-
or `PROJECT_HASH_NOT_VERIFIED`).
|
|
86
|
-
- `family`, `recordVersion`, `protocol`: allowlisted recognized values; `null`
|
|
87
|
-
for absent/unrecognized values. Unknown user strings are never echoed.
|
|
88
|
-
Governed protocol is reported as the SDK's bound `jcs-v1` canonical scheme;
|
|
89
|
-
it is not an invented numerical `protocolVersion`.
|
|
90
|
-
- `sdk`: `null` when verification did not run or raised an exception. Otherwise
|
|
91
|
-
an explicit disclosure projection, not a raw serialization of SDK internals.
|
|
92
|
-
Exact codes, boolean checks, step counts, verification provenance,
|
|
93
|
-
relaxations, verdict, governed check states and producer-identity status
|
|
94
|
-
are retained when present.
|
|
95
|
-
- Error/detail/warning arrays retain their count, replacing each string with
|
|
96
|
-
`REDACTED_DIAGNOSTIC`. Project step results preserve array order, `ok` and
|
|
97
|
-
code, with `index` replacing evidence identifiers. Thus SDK outcome parity
|
|
98
|
-
is exact while raw diagnostic text is intentionally not byte-identical.
|
|
99
|
-
- Project integrity requires both SDK `ok` and `projectHashValid === true`.
|
|
100
|
-
The SDK's structural, hash and per-step dimensions remain separate.
|
|
101
|
-
- `isError` is not used for invalid evidence. Bad MCP argument envelopes are
|
|
102
|
-
SDK-generated tool errors, sanitized at the stdio boundary; these may not
|
|
103
|
-
have structured verification output. Malformed JSON is ignored by the
|
|
104
|
-
official SDK parser, without echoing or logging its content.
|
|
105
|
-
|
|
106
|
-
There are no cryptographic authenticity or trusted timestamp claims in this
|
|
107
|
-
contract. An SDK confidentiality verdict is preserved as an SDK-scoped
|
|
108
|
-
integrity/commitment result, never reinterpreted as a Node signature.
|
|
109
|
-
|
|
110
|
-
## Resource policy
|
|
111
|
-
|
|
112
|
-
| Limit | Value |
|
|
113
|
-
| --- | --- |
|
|
114
|
-
| Serialized tool arguments | 1,048,576 UTF-8 bytes |
|
|
115
|
-
| Stdio frame / SDK receive buffer | 1,081,344 bytes |
|
|
116
|
-
| Tool argument JSON depth | 64 |
|
|
117
|
-
| Pre-parse frame depth | 72, allowing for MCP envelope overhead |
|
|
118
|
-
| JSON values/containers | 25,000 |
|
|
119
|
-
| Keys per object / items per array | 4,096 |
|
|
120
|
-
| Project step registry | 100 |
|
|
121
|
-
| Logical structured output | 262,144 bytes |
|
|
122
|
-
|
|
123
|
-
No evidence is truncated. Exceeding application limits returns a structured
|
|
124
|
-
`not_performed` result. Exceeding the pre-parse frame/depth guard closes the
|
|
125
|
-
connection with exit status 1. The SDK receive-buffer cap can also reject a
|
|
126
|
-
single large batch of buffered messages. The output bound applies to each
|
|
127
|
-
logical result; legacy text plus structured content duplicate it on the wire.
|
package/docs/licensing-review.md
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
# Release-candidate rights review
|
|
2
|
-
|
|
3
|
-
## Decision: npm rights reviewed; public configuration authorised
|
|
4
|
-
|
|
5
|
-
Artnames Ltd expressly confirmed ownership of the **original standalone NexArt
|
|
6
|
-
MCP Server code**, including applicable development contributions, and
|
|
7
|
-
authorised Apache License 2.0. That owner confirmation clears the original-code
|
|
8
|
-
gate. LICENSE contains the official Apache-2.0 text; NOTICE supplies the scoped
|
|
9
|
-
Copyright 2026 Artnames Ltd notice. Package metadata is now Apache-2.0.
|
|
10
|
-
|
|
11
|
-
This is not an extension of that confirmation to SDKs, Node, Verification
|
|
12
|
-
Terminal, upstream fixtures or other NexArt products. Their rights/notices are
|
|
13
|
-
unchanged. The owner authorised removal of private:true for final preparation
|
|
14
|
-
and designated security@nexart.io. The owner will test mailbox delivery/monitoring
|
|
15
|
-
and confirm npm authority before publication; the agent does not authenticate
|
|
16
|
-
or claim those checks complete. Excluded fixtures and private Git history are not npm gates.
|
|
17
|
-
The SDK notice issues below belong upstream, not to this unbundled tarball.
|
|
18
|
-
This technical provenance
|
|
19
|
-
review is not an independent legal opinion or a claim that all third-party
|
|
20
|
-
questions have been resolved.
|
|
21
|
-
|
|
22
|
-
## Material and scope inventory
|
|
23
|
-
|
|
24
|
-
| Material | Evidence and remaining action |
|
|
25
|
-
| --- | --- |
|
|
26
|
-
| Original adapter `src/**`, original tests, documentation and release scripts | Ownership, applicable development contributions and Apache-2.0 authorisation expressly confirmed by Artnames Ltd; third-party portions remain excluded from this grant |
|
|
27
|
-
| AI `tests/fixtures/ai/compat-vectors-v1.json` / `compat-vectors-v2.json` | Published SDK-derived compatibility vectors; upstream manifest declares MIT, with no top-level licence file in inspected distribution. Preserve provenance; confirm redistribution permission/notices |
|
|
28
|
-
| Governed `tests/fixtures/governed/**` | Upstream-derived examples from the source revision recorded in THIRD_PARTY_NOTICES; one file explicitly describes corrected deterministic v4 identifiers. Do not claim all current files are byte-identical upstream copies. Confirm redistribution/derivative rights and notices |
|
|
29
|
-
| Generated synthetic integration inputs | Generated with official SDK constructors, not independent upstream vectors. Generation does not itself establish rights in incorporated upstream content |
|
|
30
|
-
| Runtime dependencies | External npm distributions, not vendored/bundled in MCP. AI internally bundles Noble; Governed includes a Google Apache schema. Preserve their distinct rights; see THIRD_PARTY_NOTICES |
|
|
31
|
-
| Retired preview scaffolding, attachments, validation archives | Excluded from npm. Do not infer permission to publish them or the entire workspace |
|
|
32
|
-
| NexArt Node, SDKs, Verification Terminal | Not relicensed or modified. Adapter imports published SDKs. No separate Node/Terminal implementation was identified among the inspected adapter runtime sources; that inspection is not proof of the entire historical rights chain |
|
|
33
|
-
|
|
34
|
-
Original code is authorised for Apache redistribution on the owner's confirmation.
|
|
35
|
-
Copied/derived vectors and dependencies cannot simply be
|
|
36
|
-
claimed as original Apache-only material; any applicable upstream grants,
|
|
37
|
-
conditions and notices must be respected. Existing notices must not be removed.
|
|
38
|
-
Npm excludes source/tests/fixtures/maps; its compiled original code is covered by
|
|
39
|
-
the scoped Apache grant. Public repository distribution has separate exposure
|
|
40
|
-
from the retained third-party fixtures and any other excluded workspace material.
|
|
41
|
-
|
|
42
|
-
## Installed dependency declarations inspected
|
|
43
|
-
|
|
44
|
-
| Package(s) | Version(s) | Declared licence / installed evidence |
|
|
45
|
-
| --- | --- | --- |
|
|
46
|
-
| `@nexart/ai-execution`, `@nexart/consequential-execution`, `@nexart/governed-execution` | 1.4.0 / 0.1.0 / 0.4.2 | Exact public tarballs integrity-verified; MIT in registry and tarball manifests; no LICENSE/COPYING/NOTICE files. Noble MIT attributions in AI; Google Apache header in Governed |
|
|
47
|
-
| `@modelcontextprotocol/server`, `core`, `client` | 2.4.0 | Apache-2.0; installed LICENSE present |
|
|
48
|
-
| `zod` | 4.6.7 | MIT; installed LICENSE present |
|
|
49
|
-
| `typescript` | 5.9.3 | Apache-2.0; installed LICENSE.txt present, development only |
|
|
50
|
-
| `@types/node`, `undici-types` | 25.3.3 / 7.18.2 | MIT; installed LICENSE present, development only |
|
|
51
|
-
| `cross-spawn`, `eventsource-parser`, `eventsource`, `jose` | 7.0.6 / 3.1.1 / 3.0.7 / 6.2.16 | MIT; installed licence files present |
|
|
52
|
-
| `path-key`, `pkce-challenge`, `shebang-command`, `shebang-regex` | 3.1.1 / 5.0.1 / 2.0.0 / 3.0.0 | MIT; installed licence files present |
|
|
53
|
-
| `isexe`, `which` | 2.0.0 / 2.0.2 | ISC; installed LICENSE present |
|
|
54
|
-
|
|
55
|
-
This covers the installed locked development tree, not a promise that future npm
|
|
56
|
-
consumer transitive resolution is identical. No obvious conflicting declared
|
|
57
|
-
licence was identified, but metadata alone does not establish title or satisfy
|
|
58
|
-
every redistribution obligation. Review the actual applicable notices and
|
|
59
|
-
dependency graph for the final release. No dependency's legal text was removed
|
|
60
|
-
or copied into a new adapter licence.
|
|
61
|
-
|
|
62
|
-
## Remaining evidence and owner actions
|
|
63
|
-
|
|
64
|
-
1. **Complete:** owner ownership/rights confirmation for original adapter code
|
|
65
|
-
and applicable development contributions; scoped Apache licence and notice.
|
|
66
|
-
2. **npm third-party review complete for this archive:** no SDK code, upstream
|
|
67
|
-
fixture files, source maps or Git history is physically shipped. Public MIT
|
|
68
|
-
declarations support external SDK use; no conflicting restriction was found.
|
|
69
|
-
Missing upstream notice files alone do not require extra MCP permission.
|
|
70
|
-
3. **SDK-maintainer action, not an MCP npm gate:** add proper original MIT grant/
|
|
71
|
-
copyright notices and Noble/Google licence material to the affected SDK
|
|
72
|
-
distributions. MIT requires its copyright and permission notice in copies;
|
|
73
|
-
Apache requires its licence and applicable attribution/change/NOTICE handling.
|
|
74
|
-
No SDK has been modified or declared fully notice-compliant.
|
|
75
|
-
4. **Public GitHub only:** confirm copied/derived fixture redistribution and
|
|
76
|
-
review historical/excluded material before making the repository public.
|
|
77
|
-
Keeping it private does not block Apache-licensed object-code npm distribution.
|
|
78
|
-
5. **npm owner actions:** test the designated security@nexart.io mailbox and authenticate
|
|
79
|
-
an account authorised to create/publish @nexart/mcp-server, including 2FA.
|
|
80
|
-
ENEEDAUTH does not establish lack of permission; it means no account could
|
|
81
|
-
be checked. GitHub private reporting is optional if another real route exists.
|
|
82
|
-
6. **Registry only:** namespace authority and service-side validation/publication
|
|
83
|
-
follow npm publication; consistent metadata is prepared, not registered.
|
|
84
|
-
7. **Final preparation expressly authorised:** remove private:true and validate
|
|
85
|
-
a new archive while preserving the owner-side checks above. Do not reuse the
|
|
86
|
-
prior 589-test archive after packed files change.
|
|
87
|
-
|
|
88
|
-
## Exact archive boundary
|
|
89
|
-
|
|
90
|
-
The inspected 589-test archive has SHA-256
|
|
91
|
-
`49969e90d40328238383a5899b48167d13217216492a77849c08ae183e87340b`.
|
|
92
|
-
It has 114 files: 41 compiled JS modules, 41 type declarations, 23 documentation/
|
|
93
|
-
setup-template files, and nine root files: package.json, server.json, README,
|
|
94
|
-
CHANGELOG, CONTRIBUTING, SECURITY, THIRD_PARTY_NOTICES, LICENSE and NOTICE.
|
|
95
|
-
The only standalone licence text is the original-code Apache-2.0 LICENSE.
|
|
96
|
-
NOTICE supplies Artnames attribution; THIRD_PARTY_NOTICES inventories external
|
|
97
|
-
dependencies/provenance. No third-party SDK implementation, fixture or third-party
|
|
98
|
-
licence file is vendored in it; SDK imports are unresolved until npm installs
|
|
99
|
-
those separate packages. Documentation examples are not upstream fixture files.
|
|
100
|
-
This report corrects the scope of earlier gates; it does not rewrite that
|
|
101
|
-
retained archive's documentation or claim it matches subsequent edits.
|
|
102
|
-
|
|
103
|
-
Official references: [npm SPDX declarations](https://docs.npmjs.com/cli/v11/configuring-npm/package-json/#license),
|
|
104
|
-
[MIT conditions](https://opensource.org/license/mit) and the included Apache
|
|
105
|
-
LICENSE. This is a distribution-boundary assessment, not a legal title guarantee.
|
|
106
|
-
|
|
107
|
-
The copyright year reflects this release preparation, not an invented earlier
|
|
108
|
-
history. Do not blanket-relicense all repository content or apply this grant to
|
|
109
|
-
any separate NexArt repository.
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
# Stage 2 validation record
|
|
2
|
-
|
|
3
|
-
Executed on **2026-11-10**, Node **v24.22.1**, pnpm **10.26.1**.
|
|
4
|
-
This record describes actual checks, not expected future results.
|
|
5
|
-
|
|
6
|
-
## Build and tests
|
|
7
|
-
|
|
8
|
-
| Command | Actual result |
|
|
9
|
-
| --- | --- |
|
|
10
|
-
| `pnpm --filter @workspace/nexart-mcp-server run build` | Passed; TypeScript emitted the stdio server |
|
|
11
|
-
| `pnpm --filter @workspace/nexart-mcp-server test` | 45 tests, 45 passed, 0 failed, 0 skipped |
|
|
12
|
-
| `pnpm --filter @workspace/nexart-mcp-server run check:clean-install` | Passed; fresh temporary dependency tree, frozen lock, 22 packages from the offline store, build and all 45 tests |
|
|
13
|
-
| `pnpm --filter @workspace/nexart-mcp-server run benchmark` | All 8 measured workload types returned valid integrity |
|
|
14
|
-
| `pnpm --filter @workspace/nexart-mcp-server run evidence` | Both real stdio sessions discovered all four tools and completed all six positive fixture invocations |
|
|
15
|
-
|
|
16
|
-
The final unit/integration/conformance run took approximately 4.5 seconds.
|
|
17
|
-
The clean-install rerun took approximately 4.4 seconds for the tests after
|
|
18
|
-
dependency installation and compilation. Timing is environment-dependent.
|
|
19
|
-
|
|
20
|
-
The clean-install check is a fresh installation from a populated offline
|
|
21
|
-
package store, **not** an uncached public-registry download or an independent
|
|
22
|
-
operating-system test. It respects the frozen repository lockfile and does
|
|
23
|
-
not run dependency lifecycle scripts.
|
|
24
|
-
|
|
25
|
-
## Real MCP invocation evidence
|
|
26
|
-
|
|
27
|
-
Client: **`@modelcontextprotocol/client@2.4.0`**.
|
|
28
|
-
Transport: official stdio client spawning the compiled Node server.
|
|
29
|
-
|
|
30
|
-
Both sessions discovered exactly:
|
|
31
|
-
|
|
32
|
-
```text
|
|
33
|
-
nexart_verify_ai_cer
|
|
34
|
-
nexart_verify_consequential_cer
|
|
35
|
-
nexart_verify_governed_execution
|
|
36
|
-
nexart_verify_project_bundle
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
| Fixture | Tool | Legacy result | Modern result |
|
|
40
|
-
| --- | --- | --- | --- |
|
|
41
|
-
| AI V1 | `nexart_verify_ai_cer` | `valid / OK / sdk.ok=true` | `valid / OK / sdk.ok=true` |
|
|
42
|
-
| AI V2 | `nexart_verify_ai_cer` | `valid / OK / sdk.ok=true` | `valid / OK / sdk.ok=true` |
|
|
43
|
-
| Consequential | `nexart_verify_consequential_cer` | `valid / OK / sdk.ok=true` | `valid / OK / sdk.ok=true` |
|
|
44
|
-
| Governed 0.1 | `nexart_verify_governed_execution` | `valid / OK / sdk.ok=true` | `valid / OK / sdk.ok=true` |
|
|
45
|
-
| Governed 0.2 | `nexart_verify_governed_execution` | `valid / OK / sdk.ok=true` | `valid / OK / sdk.ok=true` |
|
|
46
|
-
| Mixed AI Project | `nexart_verify_project_bundle` | `valid / OK / sdk.ok=true` | `valid / OK / sdk.ok=true` |
|
|
47
|
-
|
|
48
|
-
Legacy negotiated `2025-11-25`; modern pinned `2026-07-28` without fallback.
|
|
49
|
-
In every positive invocation, Node signature verification remained
|
|
50
|
-
`not_performed` and signer trust remained `not_established`.
|
|
51
|
-
|
|
52
|
-
The transport suite also submitted a tampered version of each of these
|
|
53
|
-
fixtures in each session. All produced structured `invalid` outcomes rather
|
|
54
|
-
than transport failures. Strict-envelope errors were sanitized and the
|
|
55
|
-
connection remained usable. Oversized tool arguments returned
|
|
56
|
-
`INPUT_TOO_LARGE`. Pre-parse hard size/depth violations exited safely.
|
|
57
|
-
|
|
58
|
-
## Test coverage
|
|
59
|
-
|
|
60
|
-
- Positive AI V1/V2, consequential, governed 0.1/0.2, mixed AI Projects.
|
|
61
|
-
- All 15 entries from the two published AI compatibility-vector files,
|
|
62
|
-
including their three Project vectors, dispatched to the correct tools.
|
|
63
|
-
- Exact scoped SDK outcome projection on supported positive and negative inputs.
|
|
64
|
-
- Modified certificate hashes, modified project hash, altered embedded steps.
|
|
65
|
-
- Unsupported families, AI protocols, governed envelope versions and profiles.
|
|
66
|
-
- Invalid artifact schemas and strict argument-envelope validation.
|
|
67
|
-
- Size, depth, breadth, total-node, cycle and Project-step limits.
|
|
68
|
-
- Confidential AI/Governed fixtures, redacted SDK diagnostics and hostile
|
|
69
|
-
metadata that must not become model-visible diagnostics.
|
|
70
|
-
- Attestation metadata presence does not enable authenticity/trust claims.
|
|
71
|
-
- Already-aborted request rejection and documented synchronous cancellation limits.
|
|
72
|
-
- Tool discovery, advertised schemas, normal tool invocation in both eras.
|
|
73
|
-
- Malformed JSON skipped by SDK with subsequent valid-message recovery.
|
|
74
|
-
- stdout/stderr separation, stdin EOF, SIGTERM and hard input-limit shutdown.
|
|
75
|
-
- Clean dependency installation, compilation and complete test rerun.
|
|
76
|
-
|
|
77
|
-
## Workload measurements
|
|
78
|
-
|
|
79
|
-
Each workload was sampled **30 times**. Durations include application guards,
|
|
80
|
-
SDK verification and safe output projection, excluding process startup and
|
|
81
|
-
MCP round-trip overhead.
|
|
82
|
-
|
|
83
|
-
| Workload | Serialized bundle bytes | Median ms | p95 ms | Max ms |
|
|
84
|
-
| --- | ---: | ---: | ---: | ---: |
|
|
85
|
-
| AI V1 | 778 | 0.035 | 0.259 | 1.903 |
|
|
86
|
-
| AI V2 | 1,144 | 0.066 | 1.184 | 1.238 |
|
|
87
|
-
| Consequential | 1,077 | 0.227 | 2.269 | 7.713 |
|
|
88
|
-
| Governed 0.1 | 2,370 | 0.559 | 2.241 | 2.714 |
|
|
89
|
-
| Governed 0.2 | 2,637 | 0.430 | 2.053 | 2.322 |
|
|
90
|
-
| Mixed AI Project | 2,991 | 0.167 | 0.476 | 0.771 |
|
|
91
|
-
| 100-step Project | 402,171 | 4.094 | 7.028 | 7.568 |
|
|
92
|
-
| Near-limit metadata | 850,797 | 2.318 | 3.747 | 4.035 |
|
|
93
|
-
|
|
94
|
-
These samples did not demonstrate a need for workers. They are not a
|
|
95
|
-
worst-case resource proof or a hard cancellation/deadline guarantee.
|
|
96
|
-
|
|
97
|
-
## Explicit remaining limitations
|
|
98
|
-
|
|
99
|
-
No final acceptance test is failing. Initial integration defects encountered
|
|
100
|
-
during development were corrected before the passing runs above; they are
|
|
101
|
-
not being hidden as skipped tests.
|
|
102
|
-
|
|
103
|
-
Desktop MCP hosts were not manually tested. Other legacy protocol revisions
|
|
104
|
-
were not individually tested. There is no security certification, production
|
|
105
|
-
deployment, formal worst-case runtime bound, independently frozen consequential
|
|
106
|
-
compatibility fixture, receipt/signature/trust verification, RFC 3161
|
|
107
|
-
cryptographic verification or remote multi-tenant access.
|
|
108
|
-
|
|
109
|
-
The test client and server use the same official SDK release; broader
|
|
110
|
-
cross-implementation conformance remains a later release check.
|