Repository navigation
feat(ir): consume the uniform ordered member tree + feed StructuralDeclaredFields (Cutover C task 0, consumer half) - #550
Merged
Conversation
…/Members maps die (Cutover C task 0)
…(Cutover C task 0 consumer half) - Re-pins sdk v0.2026249.1959 -> v0.2026249.2036 (the member-tree parse guard wave: sdk #222 parent gate, spec #104 StructuralDeclaredFields channel, sdk #223 the KEY rule) and spec v0.2026249.1948 -> v0.2026249.2030. - loaderThreaded() now populates Threaded.StructuralDeclaredFields from the registered structural plugins' #XInput schemas - the guard's declared-field exclusion is inert without this feed (the guard report's finding #1). - New unit gate: loader_threaded_declared_fields_test.go pins the feed. - Full gates: go build/vet clean, go test -count=1 ok (94.7s suite + pluginsgen), charly box validate OK 0 warnings 0 errors.
Contributor
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (diff matches the described consumer migration + pin bump), no secrets/exfiltration, no weakened guardrails, no unexpected supply-chain refs (all pins to Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
github-actions Bot
pushed a commit
that referenced
this pull request
Sep 24, 2026
…-C (W3) (#649) * fix(check): the ephemeral-register-roundtrip assertion is pre-Cutover-C (W3 RCA) The bed `check-sidecar-pod`'s `ephemeral-register-roundtrip` step asserted the DOTTED address for `check-sidecar-pod-ephvm` (timer prefix `…-check-sidecar-pod-check-sidecar-pod-ephvm`, `deploy_address: check-sidecar-pod.check-sidecar-pod-ephvm`). That member is authored at 4-space indent — a SIBLING of the `pod:` key, i.e. a DEPLOY-LEVEL member. Cutover C (spec #103 / charly #550, 2026-09-06) made deploy-level members TOP-LEVEL addressable entries addressed by their BARE name (sdk/loaderkit/deploy_load.go:81-92; FoldMembers promotes them to `uf.Deploy[<bare>]`); only IN-SUBSTRATE members (entity keys inside the kind body) are addressed `root.child`. A VM member is necessarily deploy-level (it cannot deploy INTO the pod's venue), so `BringUpMembers` dispatches `deploy add check-sidecar-pod-ephvm` with the bare key BY DESIGN (sdk/deploykit/deploy_members.go:92), and the bare address propagates through `lifecycleParams.Name` into `EphemeralRegisterRequest.Name`. The assertion landed 2026-07-21 (d35a0fd), BEFORE Cutover C reclassified the member, and was never swept. No product change: the address computation is faithful — the bare `check-sidecar-pod-ephvm` IS the CLI-addressable identity (`charly deploy del check-sidecar-pod-ephvm`). This corrects the assertion + the step/member comments to the Cutover C contract. R10: `charly check run check-sidecar-pod` on a fresh rebuild — `[check-live] PASS`, `ephemeral-register-roundtrip` exit=0, 24 passed/0 failed/6 skipped. Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * fix(check): sweep the W3 step's residual stale claims + anchor the bare address exactly Validator round 2 on the W3 fix: - sweep the step description's remaining "NESTED" framing (the member is DEPLOY-LEVEL — the step text now says so); - cure the parking framing in the very lines this PR rewrites ("PRE-EXISTING, universal gap unrelated to this cutover, registered to the bed-robustness batch" → the bare statement of the gap, no deferral); - tighten the deploy_address conjunct to the BARE form (`deploy_address: check-sidecar-pod-ephvm`), dropping the `.*` that also matched the stale dotted form and so could not distinguish the two. No product change. Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * docs: re-freeze the PR body (validator round 3) * fix(check): the W3 step description's bare colon broke YAML — wrap pod: in backticks Round-2's "sibling of the pod: key" put a raw `: ` inside an unquoted YAML scalar, so `charly.yml` failed to parse at line 1211 (`mapping values are not allowed in this context`), reddening TestCueKinds_Corpus + TestCharlyDevCandyDeclared. RCA: the edit added a colon-space mid-scalar and the local `charly box validate` was not re-run after the round-2 edit. The backtick form `pod:` has no colon-space and parses. `charly box validate`: OK — 628 candies, 0 warnings, 0 errors. Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * fix(check): sweep the step's RCA #4 text — the timer prefix is the bare alias now Validator round 4 block 2: the step description's RCA #4 still said the timer conjunct greps SanitizeUnitName(fullDottedDeployName) "applied to the FULL dotted deploy address, not the leaf name" and that "the pre-fix pattern used the leaf name alone and could never match" — while the conjunct now greps exactly the bare charly-deploy-del-check-sidecar-pod-ephvm. The two cannot both hold. Swept to the post-Cutover-C contract: the conjunct greps the deploy's CLI-addressable identity, which for this deploy-level member is the BARE name. charly box validate: OK — 628 candies, 0 warnings, 0 errors. Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated) * docs: re-freeze the PR body against the final head * docs: re-freeze the PR body against the final head --------- Co-authored-by: Andreas Trawoeger <[email protected]>
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
The Cutover C task 0 consumer half in charly: re-pin sdk v0.2026249.2036 + spec v0.2026249.2030 (the member-tree parse-guard wave: sdk #222 parent gate, spec #104 the StructuralDeclaredFields channel, sdk #223 the KEY rule) and migrate charly's own source to the uniform ordered member tree (commit 2f27420: fleet_add_cmd HasChildren -> InSubstrateMembers; plugin_loader SortedNestedKeys/Children -> InSubstrateMembers/MemberByName; provider_kind_invoke []Member -> the StructuralKindLoadEnv marshal seam).
This PR also implements the guard report's finding #1: loaderThreaded() populates Threaded.StructuralDeclaredFields from the registered structural plugins' #XInput schemas - without the feed the guard's declared-field exclusion is inert.
How tested (pasted, LIVE)
Binary: built from THIS PR's tree with the sdk v0.2026249.2036 + spec v0.2026249.2030 pins (the member-tree IR live).
Rulebook compliance
Change classification
Class: consumer migration + pin bump (Cutover C task 0, consumer half). Gate: go build/vet/test + charly box validate, all executed on the final committed tree. Attribution: fully tested and validated.
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)