Build checked component artifacts and shared React session SDK (WI-09)
This commit is contained in:
+20
-6
@@ -1,6 +1,6 @@
|
||||
# Checked portable artifacts
|
||||
# Checked capability and component artifacts
|
||||
|
||||
`mkCaminoPortableArtifacts` is the fresh package builder. It regenerates candidate
|
||||
`mkCaminoArtifacts` is the fresh package builder. It regenerates candidate
|
||||
bindings, typechecks the entry's dependency closure, bundles declared targets,
|
||||
generates a process service when requested, and emits content manifests and
|
||||
receipts. It has no migration step or package-defined shell hooks.
|
||||
@@ -9,7 +9,7 @@ receipts. It has no migration step or package-defined shell hooks.
|
||||
# Inside a per-system flake output:
|
||||
quixosPackages.checkedArtifacts =
|
||||
{ plan, generator, core, sharedRuntime, typescript, packageRevisionId }:
|
||||
helpers.mkCaminoPortableArtifacts {
|
||||
helpers.mkCaminoArtifacts {
|
||||
inherit pkgs plan core sharedRuntime typescript packageRevisionId;
|
||||
protocol = generator;
|
||||
src = ./.;
|
||||
@@ -51,6 +51,20 @@ must use the checked loader.
|
||||
|
||||
The root `camino-artifact-builds` check exercises actual reader/service outputs,
|
||||
module and process execution, browser shared imports, rejection recovery, and
|
||||
altered receipt rejection. No running workspace uses these outputs yet. Installing
|
||||
the new world into the coordinator/replica host is LF-08/LF-11 integration work;
|
||||
no adapter pretends this ABI works in the old server dispatcher.
|
||||
altered receipt rejection. The managed workspace host verifies these receipts
|
||||
before activation. No adapter pretends this ABI works in the old server dispatcher.
|
||||
|
||||
Component packages add `components = { inherit (react) sdk runtime; entries; }`.
|
||||
The ordinary execution candidate checker supplies the selected React build inputs
|
||||
when the package declares components. Each entry maps a component ID to
|
||||
`{ entry = "src/card.tsx"; export = "Card"; }`. See the
|
||||
[React SDK](../camino-react/README.md) for bindings and hooks. CSS is emitted as a
|
||||
checked artifact; local image/font imports are inlined. The helper rejects
|
||||
undeclared external assets and substituted React/client dependencies.
|
||||
Component-only packages produce no backend service.
|
||||
|
||||
`camino-component-artifacts` checks bad subject/SDK/dependency/asset inputs and
|
||||
proves that a component-only edit preserves a mixed package's service digest.
|
||||
Run `nix run .#camino-component-source-qualification` from the monorepo to
|
||||
materialize separate retained Git resources and compile an ordinary Nix candidate.
|
||||
This is a source/build qualification harness; it does not deploy a workspace.
|
||||
|
||||
Reference in New Issue
Block a user