Repository navigation
docs(deploykit): D-CODE-4 sweep, the deploy-state ledger - #586
Conversation
DESIGN.md:2649. Ten history sites in deploy_state.go: seven Relocated from charly/... clauses, no longer requires the DeployStateHost package var, the former substrate-word sniff, a residual .Target word-read is DELETED, and a SPIKE (#55 cluster 2) tag. Each now states the present rule: consult the trait not the word, the reader is injected, the flock is a kind-blind kit primitive. One past-participle (whether anything was removed) is left alone -- it describes the operation, not history. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: docs-only (comment-only diff; verified every Blocks
Note (non-blocking)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Removing a Relocated from clause and its trailing period left a comment line holding only the period: '// .'. The regex consumed the sentence and left its punctuation, which is the same orphan-a-fragment class as '// : once K1 lands' and 'whether anything was removed'. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: docs-only — comment-only diff in Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
Removing a clause that ended with ').' from a sentence already ending in ')' produced 'match)..' and 'Idempotent..'. Same mechanism as the '// .' line: the regex removed a phrase and left its punctuation behind, doubled. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: docs-only — comment-only diff in Blocks
Comment dispositions
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…deploy.go, P4 The body's summary table promised the value type lives in spec.DeployConfig and the diff kept --- DeployConfig state container (moved from charly/deploy.go, P4) --- with a SPIKE (value-type relocation) tag above it. It now states the shape: the value type IS spec.DeployConfig, every field is a spec.* type, and the alias is zero-churn. Agent: lead Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)
Review — PASSHead SHA: Change class: docs-only — every Security screen: PASS Comment dispositions (re-derived against CURRENT diff)
All prior blocking findings are fixed in the current tree; census is internally consistent with the diff; attribution tier ( Non-blocking note (rulebook gap, not a block): the opening "Five historical comment sites" reads loosely against "twelve comment blocks" later — the table fully accounts for the content, so it is an imprecision rather than an omission; tightening the headline count would help. Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Five 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_state.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.Five matching lines removed and one added, counted by the keyword filter; the unit rewrites twelve comment blocks, and the others were restructured rather than matched:**
What this does not sweep, at both refs
92 at
origin/main, 88 atHEAD. The diff removes 5 matching lines and adds 1, so the census moves by 4 -- and 92 - 4 = 88, 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 -- Five historical comment sites,+23/-28bygit 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 88 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)