Repository navigation
refactor: ONE deploy-shape classifier — the host composite dies (F1.2/F1.4) + wave tag pins - #563
Merged
Merged
Conversation
…er consolidation F1.2/F1.4) foldSubstrateKind's deploy-vs-template classification was an OR-composite: pl.IsDeployShape(pn) || len(pl.ResourceChildren(pn)) > 0 || agentProvisionedBody(rawBody). All arms now live in loaderkit.IsDeployShape (the ONE classifier, data-derived: member children, scalar cross-ref, from:/image:, and the agent_provisioned imageless spelling matching the Deploy gate's box exemption). The host calls pl.IsDeployShape(pn) alone; agentProvisionedBody (node_normalize.go) is deleted. FAIL-RED/PASS-GREEN proven: with the agent arm stripped from the consolidated classifier, TestSubstrateKind_ImagelessAgentProvisionedPodFoldsToDeploy fails (the 2026-09-07 RCA bug reproduces through the NEW architecture); restored, the fixed-fold suite is green. Dev-only go.mod worktree replaces for sdk/spec/plugin-loader (real tag pins land with the merge wave). Gates: gofmt -l empty, go build ., go vet ., full go test . green (112.7s, incl. fixed-fold + plugin-substrate e2e).
…0.2044, plugin-loader v0.2026250.2044 Drops the dev worktree replaces; the compiled-in loader's ResourceChildren delegator removal (plugin-loader #7) and the seam method deletion (spec #122) now arrive through the real tags. Gates: gofmt empty, go build ., go vet ., full go test . green (116.1s) on the real-pinned final tree.
Contributor
Review — PASSHead SHA: Security screen: PASS — no scope mismatch (diff matches description exactly: composite deletion + tag pins), no secrets/exfiltration, no weakened guardrails, supply-chain pins point to opencharly's own repos (spec/sdk/plugin-loader). Checklist: All applicable rules PASS or NA.
Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
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
Parser-consolidation F1 wave (Cutover F1, plan/nested-capture-architecture.md) — the charly host slice of F1.2/F1.4 + the wave's dependency pins.
F1.2/F1.4 — ONE deploy-shape classifier.
foldSubstrateKind's deploy-vs-template classification was an OR-composite:pl.IsDeployShape(pn) || len(pl.ResourceChildren(pn)) > 0 || agentProvisionedBody(rawBody). All three arms now live inloaderkit.IsDeployShape(the ONE classifier, data-derived: member children, scalar cross-ref, from:/image: mapping, and theagent_provisionedimageless spelling matching the Deploy gate's box exemption). The host callspl.IsDeployShape(pn)alone;agentProvisionedBody(node_normalize.go) is deleted. TheResourceChildrenseam method + loaderkit impl + plugin-loader delegator die with it (spec docs(changelog): fix 4 stale H1 placeholder CalVers; record status-context audit (no divergence) #122 merged/tagged v0.2026250.2036, sdk docs: revise Liberation — build over use, disposability up front, honesty as spine #239 merged/tagged v0.2026250.2044, plugin-loader chore: bump pkg/arch → #commit-pinned PKGBUILD #7 merged/tagged v0.2026250.2044).Pins — spec v0.2026250.2036, sdk v0.2026250.2044, plugin-loader/candy/plugin-loader v0.2026250.2044; the three dev worktree replaces are dropped.
How tested
All commands on the final committed tree (real tag pins, no replaces),
-count=1:The fixed-fold suite (the 2026-09-07 RCA lock) verbosely:
FAIL-RED/PASS-GREEN (the fixed fold test guards the consolidated classifier): with the
agent_provisionedarm TEMPORARILY stripped from the consolidatedIsDeployShape(uncommitted mutation, restored byte-perfect), the fold test FAILS — the RCA bug reproduces through the new architecture:Restored (git diff empty vs HEAD): green (above). The B14(d) sweep:
grep -rn 'ResourceChildren' charly/charly --include='*.go'matches only the historical comment (the call andagentProvisionedBodyare deleted) — zero live references on this branch.Rulebook compliance
loaderkit.IsDeployShape); the host composite dies, nothing re-implemented.agentProvisionedBody+ the composite are deleted in the same PR that removes their last callers (the consolidated classifier carries both arms).Change classification
Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)