Skip to content

docs(sdk): sweep the seven stale DeployTarget comment mentions to EmitTarget - #146

Merged
atrawog merged 2 commits into
mainfrom
feat/spec-cleanup-emittarget-comment-sweep
Aug 20, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/spec-cleanup-emittarget-comment-sweep

Conversation

@atrawog

@atrawog atrawog commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

R5 follow-up to the strict-cleanup adoption (2026.232.0552, PR #145): the DeployTarget → EmitTarget rename repointed every code identifier and the deploykit re-export, but the R5 stale-reference sweep missed seven COMMENT mentions of the old name in deploykit/install_build.go (six) and deploykit/compile_construct_step.go (one).

Comment-only; no behavior change.

Verification

  • gofmt -l . — nothing (comment-only edits).
  • R5 self-test: git grep -n '\bDeployTarget\b' HEAD -- '*.go' → no matches; whole-repo grep returns only CHANGELOG/.
  • Documentation-only change class; documentation reviewed tier.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

…tTarget

R5 follow-up to the strict-cleanup adoption (2026.232.0552): the DeployTarget →
EmitTarget rename repointed every code identifier and the deploykit re-export but
missed seven COMMENT mentions of the old name in deploykit/install_build.go (six)
and deploykit/compile_construct_step.go (one). Comment-only; no behavior change.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
@atrawog

atrawog commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: documentation-only (comment-only edits in two .go files + a new CHANGELOG entry). Non-runtime standards apply; no bed required.

Head validated: 9559b9844527a9b536e766fa6ab627ad630fd931 (feat/spec-cleanup-emittarget-comment-sweep, exactly one commit ahead of origin/main @ 023b468).

Checklist (re-derived independently; no author claim taken on faith)

  • 0. Security & anti-tampering (T1–T4): PASS. Diff is 7 comment-line renames + a CHANGELOG entry. No scope mismatch (body accounts for every changed line: 6 in deploykit/install_build.go, 1 in deploykit/compile_construct_step.go), no secrets/exfiltration, no weakened guardrails, no supply-chain change, no embedded directives aimed at the validator.
  • 1. Description complete: PASS. Body supplies summary, verification evidence, attribution tier, and ends with the _Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)_ footer in the required form.
  • 2. Change-class gate: PASS. Documentation-only → non-runtime standards. Verified myself: gofmt -l . empty, go vet ./... clean, go build ./... clean, golangci-lint run ./deploykit/... = 0 issues (isolated GOLANGCI_LINT_CACHE).
  • 3. Attribution tier: PASS. documentation reviewed is the correct ceiling for a comment-only change class. The footer's identity (Claude Code, deepseek-v4-flash:cloud) matches the runtime-exposed model of this session.
  • 4. R0 skills: PASS. charly-internals:git-workflow and charly-internals:cutover-policy loaded by name; plugins/internals/skills/strict-policy/SKILL.md read by path (R1–R5 governance is the core of this PR's class). No plugin/go/check-verb skill rows are triggered by a comment-only sweep.
  • 5. R1: PASS. No failures or warnings anywhere in the evidence or my re-runs. No RCA required.
  • 6. R2: PASS. Self-contained sweep; nothing parked as pre-existing/out-of-scope/follow-up.
  • 7. R3: PASS. N/A — no code duplication surface (comments only).
  • 8. R4: PASS. N/A — no workarounds.
  • 9. R5: PASS — the heart of this PR, verified by my own re-runs. git grep -n '\bDeployTarget\b' HEAD -- '*.go' → no matches (rc=1). Whole-repo grep at HEAD → only CHANGELOG/ mentions (2026.232.0552.md historical + the new entry narrating the sweep). The renamed target is real: deploykit/steps.go:32 re-exports EmitTarget = spec.EmitTarget from the github.com/opencharly/spec module, so the corrected comments reference an existing type, not a dangling name.
  • 10. R6/R8/R9: PASS. R6: author worktree verified clean (git status --short empty, no stash) before any action. R8/R9: N/A (no generation, no deploy, no binary).
  • 11. R10: PASS. Documentation-only non-runtime gate satisfied; coverage for the correction is the R5 grep self-test, re-executed at the PR head (item 13d).
  • 12. RDD/ADE/SDD: PASS. N/A with reason — no candies, no charly.yml, no CUE schema, no Go type changes.
  • 13. Concurrency mandate + anti-cheat: PASS. N/A — no runtime code, no shared-state path, no concurrency claim. Every sweep claim in the body was re-executed by me at the PR head rather than accepted (body claimed the greps; I ran them).
  • 14. Hard cutover: PASS. Exactly one atomic commit on the branch (git rev-list --count origin/main..HEAD = 1); no Phase-2/TODO residue.
  • 15. ARCHITECTURE GATE: PASS — placement: CORRECT. Comment-only renames inside deploykit/; no staged charly/*.go (per-item trace: N/A — no charly repo files, no alias, no kit import, no boundary-law placement question).
  • 16. Disposable-only autonomy: PASS. N/A — no destroy/rebuild in this change.
  • 17. Clean architecture + go gates: PASS. gofmt -l . empty; golangci-lint run ./deploykit/... = 0 issues; go vet ./... and go build ./... clean.
  • 18. CHANGELOG: PASS. CHANGELOG/2026.233.0001.md present. Filename matches ^\d{4}\.\d{3}\.\d{4}\.md$; H1 byte-equal to # 2026.233.0001 — <title>; no filename collision on origin/main; no tag collision (v0.2026233.1 absent; newest landed sdk tag is v0.2026232.552, matching the body's claim).

Comments considered

None — the PR carries no comments.

Cross-PR interactions considered

  • opencharly/charly#349 (docs, feat/org-validator-gate, DIRTY) — verified-non-blocking: different repo, no file overlap, no policy interaction affecting this PR's correctness.
  • No other open PRs in opencharly/sdk or opencharly/spec.
  • Roster check: sdk-pr-validator and sdk-pr-validator-2 are the (merged) validators of sdk#145, not docs(sdk): sweep the seven stale DeployTarget comment mentions to EmitTarget #146; no status/checks exist on this head, confirming I am the sole validator.

Non-blocking observation (no fix required for this verdict)

The CHANGELOG's Verification section states the .go-scoped grep "returns only CHANGELOG/"; literally, a --include='*.go' grep returns nothing (no .go hits) and it is the whole-repo grep that returns only CHANGELOG/. The substantive R5 claim is verified true — this is a phrasing conflation in the narrative, not a false claim about the tree.

Decision

PASS. The PR is in full compliance with the rulebook for a documentation-only change class. Proceeding to Phase 3: finalize the merge-time CalVer (rename the placeholder), post charly/pr-validator = success on the final head, squash-merge, and tag under the sdk Go-module scheme v0.<YYYYDDD>.<HHMM>.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

Rename the placeholder entry to the merge-time stamp and rewrite its H1; drop the placeholder self-description; state the R5 self-test accurately.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
@atrawog

atrawog commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — Phase 3 progress

  • CalVer finalized: CHANGELOG/2026.233.0001.md → CHANGELOG/2026.232.0653.md (H1 rewritten; placeholder self-description removed; R5 self-test statement made accurate), committed as 0d9df30 on the feat branch and pushed (additive).
  • charly/pr-validator = success posted on the new head 0d9df30f348531ca1dbf0544f63e8e960cb8916b — ALLOWED (the superproject permissions.allow rule Bash(gh api --method POST repos/opencharly:*) resolved the Self-Approval classifier gate).
  • Proceeding to squash-merge and tag.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

@atrawog
atrawog merged commit 9f218dd into main Aug 20, 2026
@atrawog
atrawog deleted the feat/spec-cleanup-emittarget-comment-sweep branch August 20, 2026 06:57
@atrawog

atrawog commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — MERGED ✅

Squash-merged as 9f218dd05c483e6e2a988324457611ffee2486b5 (single commit on main), feat branch deleted. Merge classifier: ALLOWED (gh pr merge executed).

Squash trailer proof: pre-merge parse = Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed); merged 9f218dd parse = Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed) — exact match.

Landed entry verification: CHANGELOG/2026.232.0653.md present on main, head -1 byte-equal # 2026.232.0653 — R5 sweep: rename the surviving \DeployTarget` comment mentions to `EmitTarget`; placeholder 2026.233.0001` absent — the landed CalVer equals the minted merge stamp.

Tag: v0.2026232.653 (sdk Go-module scheme, leading-zero HHMM stripped: 0653 → 653) created on the merged HEAD and pushed — dereferences to 9f218dd.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

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