Skip to content

Acceptance, testing, distribution ​

Collect evidence for the actual artifact you distribute. Cover process bootstrap, contract failures, cancellation, retirement and platform behavior before writing compatibility claims.

Version scope: these source-level examples target v2.0.0.alpha.14. Use the Plugin SDK for current Wasm plugin authoring.

Return to the goal: user action, current fact, success/failure, teardown. Test outcomes rather than private call counts.

Four evidence layers ​

EvidenceProvesDoes not prove
--recipesCodecs/fields/bounds/sequence/document shapesActual backpressure/trust/native UI
--self-testReal child IPC/proof/handshake/query/shutdownProduction signatures/business grants
Authoring LabControlled NFP1/NFP2 admission/activation/retirement and NXML/NSS retentionProduction file trust/all OS backends
Native production admission/UIActual installation/resources/input/lifecycleUntested platforms

Loopback is not OS IPC; console success is not a UI capture; one RID is not all platforms. State these distinctions when releasing.

Repeatable local commands ​

From docs root, with A14 source:

sh
dotnet run --project examples/sidecar/Example.Sidecar.csproj -c Release -p:NexaCLSourceRoot=/absolute/path/to/NexaCL -- --recipes
dotnet run --project examples/sidecar/Example.Sidecar.csproj -c Release -p:NexaCLSourceRoot=/absolute/path/to/NexaCL -- --self-test
dotnet run --project examples/authoring-lab/Authoring.Lab.csproj -c Release -p:NexaCLSourceRoot=/absolute/path/to/NexaCL -- /absolute/path/to/PCLN-Docs

The lab compiles all Host API examples without automatically operating real packages. Controlled grants are not production-verification replacement.

Execute published NativeAOT output ​

sh
dotnet publish examples/sidecar/Example.Sidecar.csproj -c Release -r linux-x64 -p:PublishAot=true -p:NexaCLSourceRoot=/absolute/path/to/NexaCL -o out/sidecar
out/sidecar/Example.Sidecar --recipes
out/sidecar/Example.Sidecar --self-test
dotnet publish examples/authoring-lab/Authoring.Lab.csproj -c Release -r linux-x64 -p:PublishAot=true -p:NexaCLSourceRoot=/absolute/path/to/NexaCL -o out/lab
out/lab/Authoring.Lab /absolute/path/to/PCLN-Docs

Execution proves tested paths survive trimming/AOT, not merely compiler exit. Use native tools/RIDs per OS. Diagnose incompatible dependencies rather than reflexively disabling protections or retaining everything reflectively.

Required regressions ​

ScenarioEvidence
Wrong codec/resultReject, cannot finish unrelated request
Invalid/incomplete registrationNo partial mirror/activation
Zero StateComplete empty snapshot
Cancellation/deadlineBounded cleanup/stable correlated outcome
Interrupted frame writeClose rather than reuse partial stream
Slow/abandoned streamCredit bounds/completion/data release
UI draft/hide/navigationRetention/current exposure/stale-click rejection
Patch retirementOriginal/predecessor restored
Crash/recoveryPending work finishes, fresh registration/snapshot

Diagnostics and release record ​

Record version/OS/RID/package/session/correlation/contract kind-ID-codec/phase/stable error/budgets. Exclude proof, keys, tokens, private notes, and whole payloads.

Reduce failures to one contract/sequence. Compare a working sample's declarations/features/coverage before changing Host architecture.

text
Goal: submit/read extension-owned notes
Compatibility: A14/protocol1/required feature bits
Grant: ui.resources.extension-card.v1
Data: inputs/current fact/errors/persistence
Distribution: native RIDs/detached signatures
Evidence: OS/build/commands/results
Limitations: independent SDK/production publisher/untested platforms

Claim only verified outcomes. Develop later capabilities as new bounded slices, preserving numeric/wire meanings; API baseline changes do not excuse breaking contracts.

Implementation references ​

Check your result ​

Run the documented managed and NativeAOT checks and retain their logs with the source revision. Label untested platforms and distinguish local protocol acceptance from production installation.

Site documentation: CC BY-SA 4.0. Imported SDK documents: Apache-2.0 as marked.