Skip to content

docs(deploykit): D-CODE-4 sweep, deploy-file and the render-generator construction - #581

Merged
github-actions[bot] merged 6 commits into
mainfrom
feat/deploykit-file-render-c
Nov 19, 2026
Merged

github-actions[bot] merged 6 commits into
mainfrom
feat/deploykit-file-render-c

Conversation

@aitrawog

Copy link
Copy Markdown
Contributor

Summary

Successor to #580, which auto-closed at the five-verdict threshold with its content unlanded (deploykit stands at 138 widened-class sites at origin/main). This PR carries the same tree plus the header rewrite its last verdict named.

Fourteen historical comment sites in sdk/deploykit rewritten so the comments describe present code. DESIGN.md:2649 -- D-CODE-4 | Comments describe present code; history goes to CHANGELOG/. Disposition conforms.

file before -> after
deploykit/deploy_file.go "the deploy STATE-MODEL ... body relocated out of charly/deploy.go", "The PURE helpers were already here; this cutover moved the state-model bodies", five "Relocated from charly/deploy.go", "the former trailing-variadic form", "the former per-deploy version: is GONE" -> what the file holds; no trailing-variadic fallback exists, so an omitting caller fails to compile; the box overlay carries no version:
deploykit/render_generator_from_project.go "the whole HostBuild('render-seam') kind are DELETED", "This REPLACES the former ensure-builders host round-trip", the campaign paragraph "K3 ... COMPLETED in K-wave 2 cone R1 ... 5 of the original 9 ... went first" -> the shared construction source; no hostBuild and no render-seam kind exist; on-demand per-word connect needs no second copy of the scan machinery

Every 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

$ git diff --numstat origin/main...HEAD
32	39	deploykit/deploy_file.go
35	47	deploykit/render_generator_from_project.go
$ git diff --numstat origin/main...HEAD | awk '{a+=$1;d+=$2} END{print "+"a"/-"d}'
+67/-86
$ git diff -U0 origin/main...HEAD | grep -E '^[+-]' | grep -vE '^(\+\+\+|---)' | grep -vE '^[+-][[:space:]]*//'
(empty)
$ GOWORK=off go build ./...            (rc 0)
$ GOWORK=off go vet ./...              (rc 0)
$ gofmt -l deploykit/                  (empty)
$ GOWORK=off go test ./deploykit/ -count=1
ok

The revision range matters. git diff with 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:

$ git diff -U0 origin/main...HEAD | grep -cE '^-[[:space:]]*//.*(DELETED|[Ff]ormer|used to|was (deleted|removed|relocated)|is gone|no longer)'
14

What this does not sweep, at both refs

$ git grep -nE 'DELETED|[Ff]ormer|used to|was (deleted|removed|relocated)|is gone|no longer' \\
    origin/main -- 'deploykit/*.go' | wc -l
138          # the BASE, before this PR
$ git grep -nE 'DELETED|[Ff]ormer|used to|was (deleted|removed|relocated)|is gone|no longer' \\
    HEAD -- 'deploykit/*.go' | wc -l
124          # after this PR

138 at origin/main, 124 at HEAD. The diff removes 14 matching lines and adds 0, so the census moves by 14 -- and 138 - 14 = 124, which is HEAD. The remainder is named by file and count in opencharly/opencharly#1147, whose close condition is the same expression printing 0.

No claim is made about the files this PR does not touch.

Rulebook compliance

  • R0 -- git-workflow, go and design loaded before the first git action.
  • R1 -- the widened population was measured at both refs before the unit was chosen; the remainder is in #1147 with its count.
  • R2 -- no duplication introduced; the one-canonical-home argument is preserved, not weakened.
  • R3 -- no workaround.
  • R4 -- no documented command changed; the diff is comment-only, proven above.
  • R5 -- legacy prose removed, with the claim-keyed grep at both refs and the remainder named.
  • R6 -- git status read; worktree off fresh origin/main; commits pasted from the command:
$ git log --oneline origin/main..HEAD
f9e964b docs(deploykit): rewrite the file header, which was a relocation narrative in one block
b1014d4 docs(deploykit): remove the five relocations the tag-stripping left behind
4ffb1a6 docs(deploykit): repair the comment my tag-stripping regex left dangling
a1e964b Merge remote-tracking branch 'origin/main' into feat/deploykit-sweep-d
5cefa2d docs(deploykit): drop the phase and campaign tags the first pass left behind
b0739aa docs(deploykit): D-CODE-4 sweep, deploy-file and the render-generator construction
  • R7 -- a comment-only diff has no behaviour to test; the instrument that reaches this claim is the ranged git diff -U0 filter above. The module's own suite still passes.
  • R8 -- no live service crossed.
  • R9 -- no binary rebuilt, no runtime behaviour changed, and the comment-only proof is what establishes it.
  • R10 -- sdk carries no per-repo candy gate; the module suite is pasted above.
  • R11 -- conforms to D-CODE-4 (DESIGN.md:2649). No amendment is owed.

Change classification

Kind: sdk Go comments -- Fourteen historical comment sites, +67/-86 by git 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

Agent: lead · DeepSeek Harness session 0d9af4c2ae6e
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

aitrawog 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)
@github-actions

Copy link
Copy Markdown

Review — PASS

Head SHA: f9e964b36db86b79826c3bb3a1ce8a9c4865ef81 (branch: feat/deploykit-file-render-c)

Security screen: PASS
Checklist: All applicable rules PASS or NA.

Comment thread: 0 comments — nothing to disposition.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 19, 2026 07:18
@github-actions
github-actions Bot merged commit 36010f5 into main Nov 19, 2026
8 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant