Repository navigation
docs(deploykit): D-CODE-4 sweep, deploy-file and the render-generator construction - #581
Merged
Merged
Conversation
added 6 commits
November 19, 2026 06:53
… construction DESIGN.md:2649 -- D-CODE-4, comments describe present code; history goes to CHANGELOG/. Fifteen historical comment sites across deploy_file.go and render_generator_from_project.go, rewritten to present tense with every load-bearing reason kept. deploy_file.go said the former trailing-variadic form silently fell back to the process env, that SaveDeployConfig no longer depends on the DeployStateHost package var, that ExportAllBox was relocated from charly/deploy.go (K5-Unit-1, the #67 keystone) and that the former per-deploy version: is GONE. It now says why ctx is REQUIRED (no fail-open fallback exists, so an omitting caller fails to compile), that the host-coupled leg is injected, that the state model is built from the SAME envelope inspect/list/validate consume, and that the box overlay carries no version:. render_generator_from_project.go said plugin-build's former buildRenderGenerator was the sole caller, that the whole HostBuild(render-seam) kind is DELETED, that ExtraRef REPLACES the former ensure-builders host round-trip, and that several seams were closed by P8b/W3. It now states the shared construction source, that no hostBuild and no render-seam kind exist, and why on-demand per-word connect needs no second copy of the scan machinery. Comment-only, proven by the ranged git diff filter. build, vet and gofmt clean; go test ./deploykit/ ok. This is deploykit fourth unit. 136 of the 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)
… behind The body claimed only the relocations and the phase tags are gone, and fourteen phase references and one campaign narrative survived -- K3, K5-Unit-1, W3, #55 W3 B4, #67, K-wave 2 cone R1, S-K5, coneB-buildtail, and the paragraph recounting that five of nine seams went first. A phase tag says when the code moved, not what it does; the campaign paragraph is history D-CODE-4 sends to CHANGELOG. Both are gone; every reason is kept. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Stripping (K1, task #31) left '// : once K1 lands ...' in the StateHostMechanisms block -- a fragment with no subject. The regex removed a parenthetical and the sentence around it was not rebuilt, so the result was neither present tense nor English. The K1-exit task reference goes too: it names when the seam dies, not what it does. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
…ehind Stripping (K5-Unit-1) left the sentence it qualified: Relocated from charly/deploy.go survived five times in deploy_file.go, so the body's claim that only the relocations and the phase tags are gone was false in the same file. This is the third time in this PR family that a regex removed a tag and left the sentence around it: a tag lives inside a sentence, so the sentence is what has to be rewritten. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
…ative in one block deploy_file.go opened with relocated out of charly/deploy.go, the PURE helpers were already here, and this cutover moved the state-model bodies -- history for a block of eight lines. It now states what the file holds and lists the same bodies. render_generator's Every former host-coupled seam becomes Every seam that would need it, which says the same thing in the present. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Review — PASSHead SHA: Security screen: PASS Comment thread: 0 comments — nothing to disposition. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
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
Successor to
#580, which auto-closed at the five-verdict threshold with its content unlanded (deploykitstands at 138 widened-class sites atorigin/main). This PR carries the same tree plus the header rewrite its last verdict named.Fourteen 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/deploy_file.godeploykit/render_generator_from_project.goEvery load-bearing reason is kept -- the purity argument, the one-canonical-home rule, and each placement or freshness constraint that made the old prose necessary in the first place. Only the relocations, the phase tags and the campaign narratives are gone.
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.Fourteen sites removed, counted from the diff's KEYWORD-FILTERED removed comment lines:
What this does not sweep, at both refs
138 at
origin/main, 124 atHEAD. The diff removes 14 matching lines and adds 0, so the census moves by 14 -- and 138 - 14 = 124, which isHEAD. 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.
Rulebook compliance
git-workflow,goanddesignloaded before the first git action.#1147with its count.git statusread; worktree off freshorigin/main; commits pasted from the command: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 -- Fourteen historical comment sites,+67/-86bygit 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 touched files.
Filed issues
deploykit's remaining 124 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)