Repository navigation
docs(deploykit): D-CODE-4 sweep, the box-resolve and render-service bridge - #577
Conversation
…ridge DESIGN.md:2649 -- D-CODE-4, comments describe present code; history goes to CHANGELOG/. Twelve history sites across spec_box_resolve.go and compile_service_steps.go, rewritten to present tense with every load-bearing reason kept. spec_box_resolve.go said the box-resolve options were relocated to the dedicated spec module in the #55 loader cascade, that a deploykit-local SpecResolveOpts twin kept only because the loader options once lived in loaderkit is dissolved, and that ResolveSpecBox / ResolveAllSpecBoxes / WrapSpecBoxes / SpecBoxes are DELETED with a paragraph on what each one used to feed. It now says: the options ARE the shared spec.ResolveOpts, there is no deploykit-local twin (R3: one shape), and the bridge the plugin drives is specToBuildkit + FillNamespaceBoxViews. compile_service_steps.go said rendering no longer needs a host round trip, that a former framing was stale, that the former render-service HostBuild CLI-reentry seam is DELETED, and that a former LoadBuildConfigForBox fallback is DELETED, not ported. It now states the same facts as the present arrangement: no host round trip is needed because kind:init OpResolve and verb:egress OpValidate are both compiled-in; renderServiceViaSeam is a thin wrapper over renderSeamCaller.renderService; and there is no LoadBuildConfigForBox fallback because every caller receives ActiveInit pre-resolved. The R3 argument, the R8 byte-proof and the render-prep tolerance are all kept. Comment-only, proven by the canonical git diff filter. build, vet and gofmt clean; go test ./deploykit/ ok. This is deploykit third unit. 150 of the 171 widened-class sites remain, named by file and count in opencharly/opencharly#1147. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: docs/comment-only (sdk Go comment rewrite — verified: every Security screen: PASS (comment-only diff; no secrets, no code/logic change, no guardrail or supply-chain touch). Blocks
(Everything else checks out and is not a finding: the Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Security screen: PASS (comment-only diff; no code/logic, secrets, guardrails, or supply-chain touch). Checklist: All applicable rules PASS or NA. Comment disposition: the single Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Twelve historical comment sites in
sdk/deploykitrewritten so the comments describe present code.DESIGN.md:2649--D-CODE-4 | Comments describe present code; history goes to CHANGELOG/.Dispositionconforms.deploykit/spec_box_resolve.gospec.ResolveOpts, there is no deploykit-local twin (R3: one shape), and the bridge the plugin drives isspecToBuildkit+FillNamespaceBoxViewsdeploykit/compile_service_steps.gokind:init'sOpResolveandverb:egress'sOpValidateare both compiled-in;renderServiceViaSeamis a thin wrapper overrenderSeamCaller.renderService; and there is noLoadBuildConfigForBoxfallback because every caller receivesActiveInitpre-resolvedEvery load-bearing reason is kept -- the R3 one-shape argument, the R8 byte-proof and its
render_service_seam_roundtrip_test.goinstrument, the cache-locality reason a LABEL is emitted last, and the render-prep tolerance for a namespaced box whose prep fails.How tested
The revision range matters.
git diffwith no range compares the worktree to the index, so on a clean tree it prints nothing regardless of what was committed. The range is what makes the emptiness a claim about the branch.Twelve sites removed, measured by counting the removed comments that match the class:
What this does not sweep, at both refs
150 at
origin/main, 138 atHEAD; the twelve are this PR's. The remainder is named by file and count in opencharly/opencharly#1147, whose close condition is the same expression printing0.No claim is made about the files this PR does not touch, and the
deploykitlane is not swept -- two of its units have landed (sdk#574,sdk#576) and this is the third.Rulebook compliance
git-workflow,goanddesignloaded before the first git action.#1147with its count.git statusread; worktree off freshorigin/main; two commits, listed bygit log --oneline origin/main..HEAD:One authored commit and one
update-branchmerge; no amend after the first push, no force-push.git diff -U0filter above. The module's own suite still passes.sdkcarries no per-repo candy gate; the module suite is pasted above.D-CODE-4(DESIGN.md:2649). No amendment is owed.Change classification
Kind:
sdkGo comments -- twelve historical comment sites across two files,+27/-39bygit diff --numstat, zero non-comment lines.Breaking change + rollback: none; the ranged diff filter above is the proof, not the file suffix. Rollback reverts the two files.
Filed issues
deploykit's remaining 138 sites are named there by file and count, andcharly's 192 prose occurrences are atcharly#1211.Agent:
lead· DeepSeek Harness session0d9af4c2ae6eAssisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)