@nexart/mcp-server 0.1.0 → 0.3.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.
Files changed (54) hide show
  1. package/CHANGELOG.md +114 -8
  2. package/CONTRIBUTING.md +7 -5
  3. package/README.md +69 -36
  4. package/SECURITY.md +11 -9
  5. package/THIRD_PARTY_NOTICES.md +4 -4
  6. package/dist/contracts.js +3 -2
  7. package/dist/json-schema.d.ts +9 -0
  8. package/dist/json-schema.js +20 -0
  9. package/dist/lookup/contracts.js +2 -1
  10. package/dist/network/contracts.d.ts +2 -2
  11. package/dist/owner/create.d.ts +2 -2
  12. package/dist/owner/custody.d.ts +7 -0
  13. package/dist/owner/custody.js +35 -16
  14. package/dist/protocol-safety.d.ts +3 -0
  15. package/dist/protocol-safety.js +16 -0
  16. package/dist/receipts/contracts.d.ts +2 -2
  17. package/dist/receipts/contracts.js +2 -1
  18. package/dist/receipts/verify.js +1 -1
  19. package/dist/record/contracts.d.ts +46 -4
  20. package/dist/record/contracts.js +5 -0
  21. package/dist/record/record.d.ts +3 -0
  22. package/dist/record/record.js +6 -2
  23. package/dist/record-tools.d.ts +4 -0
  24. package/dist/record-tools.js +21 -6
  25. package/dist/server.d.ts +11 -1
  26. package/dist/server.js +5 -5
  27. package/dist/stdio.js +3 -19
  28. package/dist/trust/policy.js +8 -2
  29. package/dist/write/attest.d.ts +3 -0
  30. package/dist/write/attest.js +2 -1
  31. package/dist/write/contracts.d.ts +6 -6
  32. package/dist/write/contracts.js +2 -1
  33. package/docs/consumer-guide.md +214 -0
  34. package/package.json +20 -6
  35. package/server.json +9 -3
  36. package/docs/age-version-compatibility.md +0 -46
  37. package/docs/architecture.md +0 -72
  38. package/docs/compatibility.md +0 -163
  39. package/docs/contracts.md +0 -127
  40. package/docs/licensing-review.md +0 -109
  41. package/docs/milestone-1-validation.md +0 -110
  42. package/docs/milestone-2.md +0 -291
  43. package/docs/milestone-3.2.md +0 -291
  44. package/docs/milestone-3.md +0 -274
  45. package/docs/milestone-4a.md +0 -221
  46. package/docs/milestone-4b1.md +0 -220
  47. package/docs/milestone-4b2.md +0 -260
  48. package/docs/public-default.md +0 -263
  49. package/docs/recording-schema-compatibility.md +0 -46
  50. package/docs/release.md +0 -311
  51. package/docs/security-fixes.md +0 -47
  52. package/docs/security.md +0 -195
  53. package/docs/standalone-acceptance.md +0 -81
  54. package/docs/validation.md +0 -85
@@ -1,221 +0,0 @@
1
- # Milestone 4A — automatic certification orchestration
2
-
3
- This release adds a **trusted-application library**, not a new MCP recording
4
- tool, background capture mechanism, service or database. The ordinary MCP
5
- process cannot activate automatic certification merely by receiving a broad
6
- API key. Existing tools, manual public approval and opt-in write gates retain
7
- their contracts. No live submission is authorized by this release.
8
-
9
- ## Actual API
10
-
11
- Import `recordExecution` from `dist/record/record.js`. It accepts one of:
12
-
13
- ```js
14
- { kind: 'execution', execution: sdkCompatibleExecution, createdAt }
15
- { kind: 'cer', bundle: existingConfidentialAiV2Cer }
16
- ```
17
-
18
- Either accepts `certification: { mode: 'node', visibility: 'public' }`.
19
- Omitting certification requests Node/public; `mode: 'local'` explicitly prevents
20
- submission and cannot be combined with visibility. Explicit private Node
21
- certification is supported. There is no fallback to another mode or visibility.
22
- An ordinary existing CER is not resealed; this new workflow requires authentic
23
- confidential AI V2. Ordinary `nexart_seal_ai_v2` remains available unchanged.
24
-
25
- Trusted runtime configuration is the second, application-only argument:
26
-
27
- ```js
28
- {
29
- custodyDirectory: '/owner-controlled/existing-0700-vault',
30
- recoveryStorage: 'unencrypted_owner_approved',
31
- captureSource: 'producer_supplied', // default; or instrumented_provider_call
32
- publish: ownerPublisher.publish
33
- }
34
- ```
35
-
36
- None of these configuration fields is accepted in recording input. No API key,
37
- policy path, endpoint, approval token or arbitrary custody path is model input.
38
- The library does not discover Node credentials from environment variables.
39
-
40
- `createIsolatedOwnerPublisher(options)` in `dist/owner/publisher.js` returns
41
- `publish(preparedRecord)` and `reconcile(certificateHash)`. Its owner-only options
42
- are `policyFile`, `stateDirectory`, `approvalDirectory`, `accountContext`,
43
- `credentialContext`, and a `credential()` provider that remains in the owner
44
- process. Both operations enforce the retained isolated-Mac host check first,
45
- before loading a credential. No new CLI, environment override or bypass exists.
46
-
47
- The policy/transport core `publishForTrustedApplication` is an internal embedding
48
- port for an application whose independent security boundary is established by
49
- its operator; it has no automatic host-discovery claim. It is not registered
50
- with MCP. Direct module access is not an OS security boundary. Never import it
51
- into an agent-controlled process together with unrestricted credentials.
52
-
53
- ### Deployment limitations
54
-
55
- Milestone 4A does not solve arbitrary same-UID shell access. An agent able to
56
- control the publisher's account can read/replace policy and state, invoke
57
- library functions, steal available credentials and bypass adapter controls.
58
- Use an independently secured application, isolated account or separate owner
59
- device. Exclude agent logins, terminal/desktop control, shared writable
60
- executables/dependencies, credential access and privilege escalation.
61
-
62
- The packaged owner factory deliberately reuses the conservative existing
63
- root-controlled macOS installation/policy/runtime checks. A normal home-directory
64
- installation with user-managed Homebrew Node still fails. Root control is
65
- defense in depth, not proof of agent exclusion: the administrator's exclusion
66
- policy is an external prerequisite. The current Linux host cannot enable this
67
- factory and no actual Mac factory success is claimed. A less restrictive
68
- cross-platform deployment adapter is deferred, not implemented by a flag.
69
-
70
- ## Confidential creation and custody
71
-
72
- Raw records use the existing owner workflow and pinned SDK. Input/output are
73
- committed; present instructions and decision references are protected by
74
- default. SDK random salts are never supplied by the caller. Recovery material
75
- is fsynced before CER export; partial files are retained on failure.
76
-
77
- The result never returns plaintext, salts, openings or a full CER. It returns
78
- the certificate hash and separate state fields. Existing sealed CERs are
79
- verified without resealing or claiming that this process holds their openings.
80
-
81
- Recovery files contain **unencrypted plaintext and salts**. Mode 0600 and a 0700
82
- vault are not encryption or same-UID isolation. The owner must approve that
83
- storage explicitly and independently provide acceptable disk encryption,
84
- backup and recovery arrangements. No production-secure encrypted vault is
85
- claimed by this milestone. SDK/provider instrumentation and broader custody
86
- backends are not implemented.
87
-
88
- ## Owner-policy contract
89
-
90
- Policy is a strict owner-only JSON file, regular/single-link mode 0600, inside
91
- an approved 0700 directory. Missing/malformed/unreadable policy makes zero POSTs.
92
- Fields:
93
-
94
- | Field | Rule |
95
- |---|---|
96
- | `version`, `id`, `revision` | Schema version 1, bounded label, positive integer revision |
97
- | `accountContext`, `credentialContext` | Owner-bound labels; not proof of Node account identity |
98
- | `credentialFingerprint` | SHA-256 fingerprint of the selected high-entropy credential; never the credential itself |
99
- | `destination` | Exactly `https://node.nexart.io/api/attest` |
100
- | `evidenceTypes` | Only `cer.ai.execution.v2` in this milestone |
101
- | `captureSources` | Explicit producer-supplied and/or instrumented-provider source permission |
102
- | `visibilities` | Explicit public/private permissions |
103
- | `requiredConfidentialFields` | Must include input/output; may require instruction and decisionRefs |
104
- | `readableFields` | Exact JSON-pointer leaf paths, no wildcard; every CER leaf must be allowlisted |
105
- | `identityDisclosure` | Default `forbid`; optional `declared_allowlisted` still requires leaf allowlisting |
106
- | `nodeDisclosureProfile` | Exactly `ai-v2-resolver-reviewed-2026-11` |
107
- | `maximumCertifications` | Positive limit, at most 1,000,000, for this publisher/policy period |
108
- | `periodStartsAt`, `periodEndsAt`, `expiresAt` | ISO UTC times; valid fixed period, expiry no later than period end |
109
- | `revoked` | Must be false to submit |
110
-
111
- The SDK confidential profile and existing public disclosure profile remain
112
- mandatory. The allowlist can narrow them, not broaden them. A readable path
113
- authorizes its values: this is not a semantic PII detector or a guarantee
114
- against covert channels in free text. Identity remains producer-declared.
115
-
116
- The Node disclosure-profile identifier records the reviewed synthetic/source
117
- contract, not a cryptographically pinned deployed implementation. Owners must
118
- review Node-generated public fields, canonical payloads, receipts and timestamp
119
- metadata; changed upstream disclosure semantics require renewed policy review.
120
-
121
- Policy is read on every transaction, rechecked after reservation, and checked
122
- again immediately before the existing HTTP adapter. Changed bytes, revocation
123
- or expiry block the send. Already-dispatched requests cannot be recalled.
124
- Immediate cross-host revocation requires Node enforcement.
125
-
126
- ## Authorization and submission
127
-
128
- The exact original CER is serialized and frozen. No projection, resealing,
129
- canonicalization or hashing implementation is added. Control-plane SHA-256
130
- digests identify policy, credentials and ledger records only, not CER integrity.
131
-
132
- A policy-authorized public transaction issues an internal five-minute,
133
- exact-body grant through the existing approval implementation, then invokes
134
- the existing attestation function. It consumes the grant using the same
135
- credential/account/destination/profile/public-visibility binding as manual
136
- approval. This is prior owner policy authorization, not a simulated TTY prompt.
137
- Unused internal grants are consumed on cleanup. Existing manual approvals
138
- remain separate and unchanged.
139
-
140
- Private submissions also require policy and budget in this workflow; they
141
- cannot bypass the publisher by changing the requested visibility.
142
-
143
- ## Attempt durability and local budgets
144
-
145
- Use a dedicated existing 0700 `stateDirectory`, outside the installation.
146
- An exclusive directory lock serializes reservations across processes.
147
- Each attempt is an exclusive 0600 file containing exact CER bytes, hash,
148
- visibility, source, account, policy ID/revision/digest and reservation time.
149
- File and parent directory are fsynced **before** grant issuance or POST.
150
-
151
- Every reserved attempt consumes one local allowance, including rejected,
152
- cancelled, interrupted, ambiguous or policy-changed attempts. No automatic
153
- refund, POST retry, lock breaking or marker deletion occurs. A stale lock,
154
- malformed ledger or failed fsync fails closed and requires owner inspection.
155
-
156
- The filename binds account and certificate hash across policy revisions and
157
- periods within this state directory. Budget counting binds account/policy ID
158
- and approved period, independent of revision. Changing only revision does not
159
- reset budget. Explicitly approving a new policy ID/period is a new allocation.
160
- Outcome files are separate exclusive records; attempt markers are never
161
- overwritten. Existing markers force reconciliation, not another send.
162
-
163
- This is **publisher-local**, not account-wide Node quota enforcement.
164
- Multiple state roots, devices, other credentials or writers are not covered.
165
- The operator must exclusively allocate this local budget. Node-side scopes,
166
- atomic account quotas and authoritative usage are upstream requirements for
167
- general agent-held credentials or shared-account limits. No credential scopes,
168
- hard Node limits or remote budget checks are invented here.
169
-
170
- `reconcile(hash)` performs an owner-credentialed fixed-origin exact-hash GET,
171
- bounded response parsing, original-CER/visibility matching, SDK verification
172
- and existing receipt verification. It never sends, restores allowance or
173
- removes state. A missing proof remains unresolved, never permission to retry.
174
- Raw proof/account metadata is not returned or retained. Successful readback
175
- records are exclusive; repeat reconciliation cannot overwrite evidence.
176
-
177
- ## Separate result states
178
-
179
- `recordExecution` reports `captureProvenance`, `evidence`, `custody`,
180
- `localIntegrity`, `certificationIntent`, `policyAuthorization`, `submission`,
181
- `requestedVisibility`, `nodeConfirmedVisibility`, `certificateHash`,
182
- `receiptSignature`, `hashBinding`, `signerTrust`, `reasonCode` and `usage`.
183
- There is no ambiguous verified Boolean. Usage explicitly has
184
- `authoritative: false`, `accountRemaining: null`, and `scope: 'publisher_local'`.
185
-
186
- Evidence can be valid and durably sealed while Node setup is missing or
187
- submission is rejected/unknown. Certification intent remains Node.
188
- A valid receipt does not establish signer trust; production pins remain empty.
189
- An invalid signature is reported independently and may reject signer trust
190
- despite Node-reported persistence.
191
-
192
- ## Fixture C and validation
193
-
194
- Fixture C's persisted structural disclosure projection uses an explicit,
195
- non-cryptographic synthetic signature placeholder, not random test signatures.
196
- The certificate hash is unchanged. Receipt cryptographic tests retain their
197
- real ephemeral keys. Exact-file matching remains strict; existing mismatches,
198
- symlinks and unsafe files are rejected. Offline approval result records may be
199
- reused only when byte-identical. Attempt-state writes remain exclusive.
200
-
201
- Validation:
202
-
203
- ```sh
204
- pnpm run build
205
- node --test --test-concurrency=1 tests/orchestration.test.mjs
206
- node tests/validation/run.mjs --milestone-4a
207
- ```
208
-
209
- The isolated validator preserves the frozen 338-test archive and category
210
- counts, runs all tests, packs a new archive, installs it into an independent
211
- consumer, imports orchestration, checks fail-closed behavior and exercises
212
- both supported MCP revisions and existing owner CLIs.
213
-
214
- ## Before later exposure
215
-
216
- No `nexart_record_execution` MCP tool or instrumented SDK integration is exposed.
217
- Before either is added: establish and validate the actual trusted application
218
- or owner-host deployment; approve custody and disclosure; provision owner
219
- policy/account allocation; confirm actual Node behavior and limitations; and
220
- perform separately authorized controlled acceptance. No Milestone 4B/4C work,
221
- Node/SDK changes, live submissions, publishing or licensing change is included.
@@ -1,220 +0,0 @@
1
- # Milestone 4B.1 — recording, encrypted custody and OpenAI V2
2
-
3
- Additive local developer integration. No remote publisher, delegated Node key,
4
- new direct-to-Node path, live certification, provider payment or publication is
5
- authorized by this release. Package remains private and UNLICENSED.
6
-
7
- ## MCP registration and contract
8
-
9
- `NEXART_ENABLE_RECORD=true` advertises `nexart_record_execution`. All seven
10
- read-only and both separately opt-in write tools retain their contracts.
11
- Set `NEXART_RECORD_CUSTODY_CONFIG` to an absolute existing owner-only 0600 JSON
12
- file beneath a protected 0700 directory:
13
-
14
- ```json
15
- {
16
- "version": 1,
17
- "directory": "/absolute/existing/0700/vault",
18
- "ageExecutable": "/absolute/real/path/to/age",
19
- "recipient": "OWNER_APPROVED_AGE_X25519_PUBLIC_RECIPIENT",
20
- "ownerApproved": true,
21
- "decryptionIdentityExcluded": true
22
- }
23
- ```
24
-
25
- The recipient must be a valid age X25519 recipient. Obtain it from the owner,
26
- not the model. A copied boolean is an operator assertion, not proof of identity
27
- exclusion. Protect recipient/configuration administration independently of
28
- agents; same-UID filesystem modes cannot enforce that separation.
29
-
30
- The corresponding private identity MUST NOT be installed in Claude Desktop,
31
- the recording environment, source control, MCP arguments or agent-readable
32
- storage. Generate and back it up in a separate owner-controlled session.
33
- No private identity is necessary to encrypt.
34
-
35
- The tool accepts exactly:
36
-
37
- ```js
38
- {kind: 'execution', execution: existingStrictExecutionSchema, createdAt: 'ISO timestamp',
39
- certification: {mode: 'node', visibility: 'public'}}
40
- // or
41
- {kind: 'cer', bundle: existingConfidentialAiV2Cer,
42
- certification: {mode: 'local'}}
43
- ```
44
-
45
- `certification` may be omitted. Mode defaults to Node; visibility defaults
46
- public. Explicit private remains private; local with visibility is rejected.
47
- Execution input requires the same executionId, timestamp, provider, model,
48
- input, output, parameters and executionRole as the existing sealing schema.
49
- Optional instruction, decision references and identity remain producer-declared.
50
- Unknown outer/execution/CER keys fail validation. CER input cannot carry
51
- openings, salts or recovery files. Full SDK integrity/commitment verification
52
- still runs; the schema alone is not verification.
53
-
54
- No credentials, endpoint, policy path, profile selector, custody path,
55
- encryption recipient or approval token is an MCP argument. Host enablement
56
- does not authorize publication. This adapter NEVER reads a Node credential
57
- or connects a publisher, including when legacy Node environment variables
58
- are present. It does not automatically enable the old attestation tool.
59
-
60
- Raw executions protect input/output, instruction when present and all supplied
61
- decision references using the pinned SDK's fresh random salts. Successful
62
- creation requires encrypted durable custody. Existing CERs are never resealed,
63
- altered or claimed to have locally retained openings.
64
-
65
- Results retain separate `captureProvenance`, `evidence`, `custody`,
66
- `localIntegrity`, `certificationIntent`, `policyAuthorization`, `submission`,
67
- requested/reported visibility, hash, receipt signature, hash binding and signer
68
- trust. MCP provenance is ALWAYS `producer_supplied`. No CER, plaintext,
69
- opening, salt, filesystem path or raw exception is returned.
70
-
71
- With Node requested and no publisher, valid locally retained evidence reports
72
- `setup_required` / `not_sent`, preserving Node/public or Node/private intent.
73
- Explicit local returns `not_required` / `not_sent`. Missing encrypted creation
74
- setup reports `custody_failed`, never successful creation or local fallback.
75
- Known reason codes distinguish configuration, encryption, binding and
76
- durability failures. Ciphertext partials remain for owner inspection;
77
- they are not overwritten, resumed or automatically cleaned up.
78
-
79
- ## OpenAI adapter
80
-
81
- Import from `dist/instrumentation/openai.js`:
82
-
83
- ```js
84
- import {runOpenAIRecorded} from './dist/instrumentation/openai.js';
85
-
86
- const result = await runOpenAIRecorded({
87
- params: {
88
- model: 'YOUR_SUPPORTED_TEXT_MODEL',
89
- input: 'User text',
90
- instruction: 'System instruction',
91
- parameters: {temperature: 0, maxTokens: 256},
92
- executionRole: 'advisory',
93
- decisionRefs: [] // optional public-string SDK references
94
- }
95
- // certification omitted: Node/public INTENT, not authorization
96
- }, {
97
- custody: ownerApprovedEncryptedCustody,
98
- apiKey: () => applicationManagedOpenAIKey
99
- });
100
- // result.providerCall: not_started | completed | failed_or_outcome_unknown
101
- // result.output: plaintext for the calling developer application only
102
- // result.recording: separated custody/integrity/certification states
103
- ```
104
-
105
- This is a library adapter, not a provider-invoking MCP tool. It calls published
106
- `runOpenAIChatExecutionV2` from `@nexart/ai-execution@1.4.0` once. All three
107
- supported fields and all references are explicitly committed. The returned
108
- CER, metadata and protected set are retained unchanged.
109
-
110
- The provider key is trusted runtime configuration, never input. No Node key
111
- is discovered. Optional trusted `publish` may connect the existing isolated
112
- 4A publisher only in an independently secured application; never put a broad
113
- Node key in an agent process. Default adapter behavior has no publisher.
114
- Trusted `request` is a test/embedding transport injection, not an environment,
115
- tool argument or provider endpoint override.
116
-
117
- Before the provider call: strict bounds/schema checks, SDK reference validation
118
- and age encryption readiness. Network work has one fixed OpenAI POST, no
119
- redirects or retries, a 10-second worker deadline, 64 KiB request/response
120
- limits, JSON-depth limit and supported text-response checks. The worker-local
121
- fetch shim leaves application global fetch unchanged. SDK raw errors are
122
- discarded. The worker is a resource/lifetime control, NOT a security boundary.
123
- Timeout can follow a billable provider execution: it is not evidence that the
124
- provider did nothing. No caller should retry automatically on this result.
125
-
126
- The developer receives output even if subsequent custody/certification fails.
127
- Such failure never repeats the provider call. Publication-profile rejection
128
- retains valid encrypted evidence and reports denied certification; local-only
129
- recording does not require publication eligibility.
130
-
131
- Only the inspected non-streaming text path is supported. Streaming, tool calls,
132
- multimodal, Anthropic and wrapper-added identity/appId are deferred. Requested
133
- model, response-declared model, transaction id and fingerprint are producer-
134
- transcribed evidence, not independent provider authentication or complete
135
- execution capture. This adapter does not observe other application activity.
136
-
137
- ## Encrypted recovery format and owner procedure
138
-
139
- Install standard age >=1.2.1 and <2, using reviewed trusted executable bytes.
140
- Validation uses age 1.2.1. Mac installation may use `brew install age`;
141
- configure the absolute real executable path, not a symlink or shell command.
142
- The age executable is an external runtime prerequisite, not an npm dependency.
143
-
144
- Each exclusive `sha256-HASH` directory contains only:
145
-
146
- - `recovery.age`: standard age-encrypted bytes. Decrypted JSON:
147
- `{format:'nexart-encrypted-recovery-v1',certificateHash,snapshot,openings}`.
148
- Raw creation stores original execution fields in `snapshot`; the provider
149
- adapter stores the original uncommitted SDK snapshot.
150
- - `cer.json`: original confidential CER, readable metadata and hashes included.
151
- - `committed.json`: format/version/hash, recovery format, ciphertext SHA-256
152
- and recipient SHA-256. This is a commit record, NOT an authenticated signature.
153
-
154
- No plaintext temporary recovery files are created. Ciphertext and CER are
155
- exclusive 0600 files; transaction/vault directories are 0700. File and directory
156
- fsync complete before success or publication. Partial transactions must not
157
- be interpreted as successful custody. Standard age authenticates ciphertext;
158
- unencrypted manifest digests alone are not tamper-resistant.
159
-
160
- Run recovery only on a separate owner-controlled host/session, with the whole
161
- transaction directory transferred securely (preserve 0700/0600 modes), the
162
- backed-up private identity in a 0600 file, and trusted installed package/age:
163
-
164
- ```sh
165
- nexart-recover-confidential \
166
- /absolute/vault/sha256-HASH \
167
- /absolute/owner-only/identity.txt \
168
- /absolute/real/path/to/age
169
- ```
170
-
171
- Or `node dist/recover-confidential.js` with the same three arguments.
172
- It decrypts in memory and verifies hash binding, original CER integrity and
173
- ALL committed domains through `verifyConfidentialV2`. It returns only hash
174
- and verification summary. Wrong identity, corrupt ciphertext, missing commit
175
- record, missing/duplicate openings and mismatches fail closed with a generic
176
- error. It deliberately does not print/export recovered plaintext.
177
-
178
- Encryption protects stored recovery content, not plaintext already seen by
179
- the application, agent, MCP host or provider. JavaScript strings are not
180
- guaranteed zeroizable. File deletion, process compromise and lost decryption
181
- identity remain risks. Test offline recovery and backup before real data use.
182
-
183
- ## Additive provider disclosure profile
184
-
185
- Legacy `ai-v2-resolver-reviewed-2026-11` remains unchanged/default.
186
- New owner-policy-only `ai-v2-openai-disclosure-v1` permits the same confidential
187
- CER shape plus `modelEvidence` for provider `openai`:
188
-
189
- - responseDeclaredModel: nonempty <=128 characters;
190
- - transactionRef: nonempty <=256 characters;
191
- - providerEvidence: ONLY system_fingerprint, nonempty <=128 characters.
192
-
193
- Control characters, unknown keys, arbitrary extensions/appId and unreviewed
194
- metadata are rejected. Existing public descriptor/identity bounds apply.
195
- Exact owner leaf-path allowlists still apply to every readable value.
196
- These fields and IO hashes remain readable, including in the canonical CER.
197
- This profile is not an authenticated assertion about the deployed Node resolver.
198
-
199
- Only protected owner policy selects the profile. Publisher passes that exact
200
- profile through its transport gate; MCP and legacy tools cannot select it.
201
- Policy revocation, expiry, exact-body approval, durable reservation, no-retry,
202
- receipt signature and empty production trust pins are unchanged.
203
-
204
- ## Deferred 4B.2 gates
205
-
206
- Evaluate actual Node-enforced credential permissions, hard limits, visibility,
207
- evidence profiles, read scope, expiry/revocation and duplicate handling.
208
- Then approve direct bounded delegation or a separate publisher architecture.
209
- Do not relax the Mac guard or treat same-UID config as owner authorization.
210
- Public fixture C still requires its separately authorized one-shot owner
211
- procedure; neither its live run nor production trust approval is part of 4B.1.
212
-
213
- ## Validation
214
-
215
- `node tests/validation/run.mjs --milestone-4b1` creates exclusive ignored release
216
- evidence, checks the frozen 392-test archive/category baseline, installs frozen
217
- dependencies, builds, runs all tests/benchmarks, audits/installs the tarball and
218
- invokes installed MCP tools under both supported protocol revisions. Installed
219
- provider/recovery checks use mocked responses and generated synthetic keys only.
220
- No paid provider or live Node request is used.