Repository navigation
Conversation
…ion) Parser consolidation F2 (plan/nested-capture-architecture.md, Cutover F2). The dual-representation member-tree IR is gone: node_parsed.go (the JSON→yaml→JSON round-trip machine parsedNodeToGeneric/genericToParsedNode + the normalizeNodeInto test bridge), node_parse.go (the genericNode type), node_candy.go (the yaml-key candyIsImage + buildCandy re-conversion) and node_build.go (decodeNodeValue's wrapper) are DELETED. Their last prod callers (foldCandyKind, validateKindValueCUE, materializeDiscoveredNode) now operate on the wire-safe spec.ParsedNode through the loader seam: - foldCandyKind: pl.CandyIsImage(pn)/pl.BuildCandy(pn) (the loaderkit parsed-node restatement) + the SHARED spec set-body folds (spec.SetBoxInto/SetCandyInto, F2.4) — no genericNode reconstruction anywhere in the dispatch. - validateKindValueCUE: the mapping-shape check reads the canonical JSON body directly; the CUE ingest is CueDocFromJSON (F2.3) — the gn→yaml.Marshal→CueDocFromYAML round trip is gone. - materializeDiscoveredNode: pl.CandyIsImage(pn) (F2.1). - materializeDocStream: the ONE loaderkit doc-stream composer (pl.ParseDocStream, F2.5) drives the embedded-vocab stream with the same per-document pipeline as the file walk; the hand-rolled classify/gate/parse loop is deleted. - The three self-labeled (R3) one-line wrappers (isStandaloneResourceKind, foldStandaloneTemplateReply, decodeNodeValue) are inlined at their call sites / die with buildCandy; node_normalize.go disappears, ensureMap moves beside its consumer. - pluginPrimaries (F2.6): the frozen 11-entry table is DELETED — the table is seeded at init from the compiled-in units' declared capability primaries (the embedded charly.yml verb_primaries: data directive, admitted by #NodeDoc), and the expectation is a parity assertion (node_desugar_test.go). - KindProvider (the last type naming genericNode) + its no-op bijection gate die with the type; the reserved-registry test iterates the live ClassKind registry instead. - R5 sweep: stale claims about the deleted bridge fixed across loader_threaded.go / plugin_prescan.go / materialize.go / materialize_seam_parity_test.go / plugin_inproc.go / the kernel manifest. - Moved tests: the bridge test files' candy/child-form coverage lives beside the loaderkit implementation in sdk (candy_node_test.go, node_childform_test.go); the charly-side plugin e2e + node-form tests were rewritten against parsed-node fixtures (parsednode_helpers_test.go). Full kernel suite green on the committed tree (with the wave's worktree replaces; the final pin commit swaps them for the released tags).
….0621 + VM 2026.251.0627, both PASS)
…ive build plugin-vm #29 (merged, tag v2026.251.1105) makes the from:-drive clone build idempotent: the per-entity target overlay is skipped when it already materializes the resolved snapshot (previously rebuilt unconditionally, clobbering output/qcow2/<entity>/disk.qcow2 while a sibling lane's domain holds it read-write → the measured overlapping-lane write-lock race, 16/21 in the eval wave). Backing resolves to the snapshot-store disk read-only; refcount bump/delete-refusal/re-capture isolation unchanged. Runtime now matches the documented vm backing-chain contract.
Contributor
Author
|
Superseded — this branch accidentally inherited the unmerged feat/f2-bridge-deletion wave (36 files) because the local branch was created off that checkout. Clean head (3 files: go.mod/go.sum/go.work.sum pinned to plugin-vm v0.2026251.1105 on origin/main) replaces this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pins
github.com/opencharly/plugin-vm/candy/plugin-vmto v0.2026251.1105 (plugin-vm #29, merged, tagged). The fix gives thefrom:-drive clone build the idempotent-discipline every other source-kind build has:BuildCloneskips re-creating the per-entity target overlay when it already materializes the resolved snapshot, instead of unconditionally clobberingoutput/qcow2/<entity>/disk.qcow2while a sibling lane's domain holds it open read-write (the measuredFailed to get "write" lock— 16/21 runs in the eval-omarchy 16-lane verification wave). Backing continues to resolve to the snapshot-store disk (snapshots/<tag>/disk.qcow2) opened read-only; the refcount bump / delete-refusal-while-referenced / re-capture-isolation model is unchanged. Runtime now matches the documented vm backing-chain contract. The redo wave for the 14 eval lanes that hit the race runs on this binary.How tested
(go.sum + go.work.sum updated by
go work syncfor the new require.)Rulebook compliance
Change classification
go work sync+go build ./charly/...(exit 0).Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)