Skip to content

docs(service): align removal semantics with config remove - #30

Merged
atrawog merged 3 commits into
mainfrom
feat/service-remove-semantics
Aug 9, 2026
Merged

atrawog merged 3 commits into
mainfrom
feat/service-remove-semantics

Conversation

@atrawog

@atrawog atrawog commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Regenerate the service recipe from the corrected canonical source (companion charly#235): the two charly config remove rows now read Disable quadlet service (quadlet file remains) instead of Remove deployment configuration, matching the corrected teardown semantics verified against candy/plugin-deploy-pod/config_remove.go (quadlet: systemctl --user disable --now only; the quadlet file remains).

  • src/content/docs/recipes/core/service.md — regenerated from the canonical candy/charly-core/charly.yml service-skill entity (table row + example-block comment).
  • CHANGELOG/2026.221.2004.md — new placeholder (the pr-validator finalizes the CalVer at merge).

R0–R10 evidence

  • R0: loaded docs, docs-site, skills, Git, cutover, strict-policy, agent, and RCA procedures.
  • R1: the charly#235 validator flagged the service-skill surface as the sole surviving stale framing; the corrected semantics were verified against the committed product code before regeneration.
  • R2/R5: claim-keyed sweep for Remove deployment configuration returns only CHANGELOG history; task docs:drift clean.
  • R3/R4: this page is generator output from the companion root canonical source; regeneration is a no-op on the committed tree.
  • R6: append-only branch from the merged docs main head; no force push or history rewrite.
  • R7/R8: ./bin/charly docs generate --out docs/src/content/docs --root . regenerated this exact page; drift clean.
  • R9: generator came from the worktree-local binary, version 2026.221.1931.
  • R10 change class: documentation-only generated artifact; no runtime bed invented.
  • Pillars: RDD — N/A (no high-risk runtime assumption; corrected claim verified against committed code). ADE — N/A (no candy authored). SDD — the page is generator output; regeneration is a no-op.

Commands retained

./bin/charly docs generate --out docs/src/content/docs --root .
  (regenerated src/content/docs/recipes/core/service.md only)

task docs:drift
  docs: already up to date (regeneration is a no-op).
  docs: no drift.

git diff --check origin/main...HEAD
  exit 0

git grep -nE 'Remove deployment configuration' -- . ':!CHANGELOG'
  (no non-CHANGELOG hits) — exit 1

Companion source PR: opencharly/charly#235

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

Regenerate the service recipe from the corrected canonical source: `charly
config remove` disables the quadlet service (the quadlet file remains),
not "Remove deployment configuration".

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

atrawog commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌

PR: #30 — docs(service): align removal semantics with config remove
Head: 52a625889a1b5feefb12855febedfbf3cd3fe2e9 (feat/service-remove-semantics)
Change class: documentation-only (generated recipe page)

Checklist (per-item)

Item Verdict
0. Security & anti-tampering (T1–T4) PASS — 2-line doc diff; diff = description exactly; no secrets/exfiltration, no weakened guardrails, no supply-chain change, no manipulation attempt
1. Description complete (template + pasted evidence + *Assisted-by:* footer) PASS — full template, evidence pasted, footer in correct form
2. Change-class gate matches evidence PASS — docs-only → non-runtime standards; regeneration no-op, R5 grep, git diff --check independently re-run and green
3. Attribution tier justified PASS — documentation reviewed is the docs-only ceiling and the proof supports it (minor verified-non-blocking note: body's binary version 2026.220.1409 vs actual 2026.221.1931; the generator ran from the worktree-local binary)
4. R0 skills honored PASS — git-workflow, pr-validator, validator-and-calver, docs, check loaded from the protected objects and applied
5. R1 RCA / zero warnings PASS — corrected claim verified against candy/plugin-deploy-pod/config_remove.go (quadlet: systemctl --user disable --now only, file remains); no gate warnings
6. R2 no pre-existing/out-of-scope split PASS — the exact surface the charly#235 validator flagged is fixed here
7. R3 no duplication PASS — generated page; single canonical source
8. R4 no workarounds PASS (N/A) — docs-only
9. R5 grep self-test PASS — git grep -E 'Remove deployment configuration' in docs (excl. CHANGELOG) returns nothing (exit 1)
10. R6/R8/R9 artifact/binary integrity PASS — append-only branch (one commit on merged main head); regeneration run with the worktree-local binary; tree clean before/after
11. R10 change-class gate PASS — non-runtime standards for the docs-only class; no runtime bed invented
12. RDD / ADE / SDD PASS — regeneration is a byte-identical no-op (verified); RDD/ADE N/A
13. Concurrency mandate / anti-cheat PASS (N/A) — docs-only, no shared-state code
14. Hard cutover — one atomic commit PASS — exactly one commit (52a6258)
15. Architecture gate PASS (N/A) — generated page; source placement is the charly-core candy's skill entity (correct); placement: CORRECT
16. Disposable-only autonomy PASS (N/A)
17. Clean architecture + Go gates PASS (N/A) — no Go
18. CHANGELOG present FAIL — no CHANGELOG staged (Finding 2)

Phase 1b — documentation scrutiny

The changed page recipes/core/service.md is a GENERATED page (DO-NOT-EDIT header) — generated trees are exempt from the narrative cold-reader; the applicable generated-surface checks were run:

  • Regeneration no-op: bin/charly docs generate --out docs/src/content/docs --root . → docs tree byte-identical (clean before and after), exit 0. PASS.
  • R5 sweep: Remove deployment configuration → zero non-CHANGELOG hits. PASS.
  • Product-code accuracy: the corrected claim ("Disable quadlet service (quadlet file remains)") matches config_remove.go quadlet mode. PASS.
  • Source liveness: FAIL (Finding 1).

Blocking findings

Finding 1 — Source liveness: the corrected canonical source is not on the companion charly#235 branch (1b.11).

This page is generated from the service-skill entity in candy/charly-core/charly.yml on the companion feat/sharpen-liberation branch (charly#235). The regeneration is a no-op against the committed local state at f0024867 — but the charly#235 remote head is 849ef1b1, which still carries the STALE text for the exact two rows this PR corrects:

849ef1b1:candy/charly-core/charly.yml:2971   | Remove deployment | `charly config remove <image>` | Remove deployment configuration |
849ef1b1:candy/charly-core/charly.yml:3027   charly config remove my-app            # Remove deployment configuration
f0024867:… (local fix commit)                | Disable quadlet service (quadlet file remains) |

The fix commit f0024867 ("docs(core): align service-skill removal semantics with config remove") exists only in the local checkout; it has NOT been pushed to feat/sharpen-liberation (git ls-remote head = 849ef1b1). Regenerating from the current remote head would REVERT this page's two lines. The companion PR therefore does not currently "carry" the source this page projects — in the remote repos the page is a projection of source that exists nowhere, the exact failure mode the source-liveness gate exists to prevent (the charly#235 validator is simultaneously CHANGES-REQUESTED on precisely these two lines).

Fix: push f0024867 (or an equivalent corrected-canonical-source commit) to feat/sharpen-liberation so the companion PR carries the source this page projects, then re-validate.

Finding 2 — Missing CHANGELOG placeholder (item 18).

The docs repo stages a CHANGELOG/<CalVer>.md for every landing — 25 of 26 tags have a matching CHANGELOG file, and the docs submodule CLAUDE.md states "History lives in this repo's CHANGELOG/ (one file per CalVer version)." This is a docs-only change carrying history (a real user-facing correction to published command semantics), so item 18's "a docs-only change carrying history also stages one" applies. docs#30 stages none (git diff 144b6998..52a6258 = only service.md).

Fix: stage CHANGELOG/<placeholder>.md (any valid YYYY.DDD.HHMM; the validator finalizes the CalVer at merge).

Comments considered

None — the PR carries no comments.

Cross-PR interactions considered

  • opencharly/charly#235 (feat/sharpen-liberation, open, CHANGES-REQUESTED) — the canonical-source fix is committed locally (f0024867) but not on the remote branch; the remote head still teaches the stale framing for the exact lines this PR corrects. verified-blocking (Finding 1).
  • opencharly/plugins#148 (feat/service-remove-semantics, open) — sibling generated-skill PR correcting the same semantic drift on the sibling surface (core/skills/service/SKILL.md); both PRs project the same corrected source (verified at b49d053), no file overlap with this PR. verified-non-blocking for this PR's own content; its liveness is the sibling validator's gate.

Decision

CHANGES-REQUESTED — two blocking findings: (1) the corrected canonical source is not yet on the companion charly#235 remote branch, so this generated page is not a projection of source the companion PR carries; (2) the docs repo's per-landing CHANGELOG entry is missing. No merge, no CalVer finalization, no tag until both are resolved and the updated head passes a fresh run.

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

…gnment

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

atrawog commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

PR: #30 — docs(service): align removal semantics with config remove
Head: 2b2f4639040c384538c0b5583497a2ab82f628f2 (feat/service-remove-semantics)
Change class: documentation-only (generated recipe page + CHANGELOG)
This verdict supersedes the prior CHANGES-REQUESTED at head 52a6258.

Checklist (per-item)

Item Verdict
0. Security & anti-tampering (T1–T4) PASS — 2 .md files, 5 insertions; diff = description exactly; no secrets/exfiltration, no weakened guardrails, no supply-chain change, no manipulation attempt; PR touches neither spec/rulebook/hooks nor branch protection
1. Description complete (template + pasted evidence + *Assisted-by:* footer) PASS — full template: summary accounts for both files, R0–R10 + pillar evidence with a HOW each, commands retained with output, footer present in the exact italicized form
2. Change-class gate matches evidence PASS — docs-only → non-runtime standards; regeneration no-op, R5 grep, git diff --check independently re-run and green
3. Attribution tier justified PASS — documentation reviewed is the docs-only ceiling; no runtime claim made; model name deepseek-v4-flash verified against the authoring runtime transcript (authoritative message.model), harness Claude Code
4. R0 skills honored PASS — git-workflow (MANDATORY), pr-validator spec, docs, docs-site, check, strict-policy, root-cause-analyzer read from the protected objects and applied
5. R1 RCA / zero warnings PASS — the corrected claim verified against committed product code (candy/plugin-deploy-pod/config_remove.go on charly protected main 6b2bdf8a: quadlet path runs systemctl --user disable --now only; the .container file is never deleted); no gate warnings
6. R2 no pre-existing/out-of-scope split PASS — the exact surface the prior validator flagged is fixed in this head
7. R3 no duplication PASS — generated page; single canonical source
8. R4 no workarounds PASS (N/A) — docs-only
9. R5 grep self-test PASS — Remove deployment configuration returns ZERO hits at head (stale framing fully swept; stronger than the body's "only CHANGELOG history" wording)
10. R6/R8/R9 artifact/binary integrity PASS — R6: append-only branch 144b6998 → 52a6258 → 2b2f4639, no force-push; R8: N/A (no image build; emitted artifact verified via no-op regeneration); R9: generator ran from the worktree-local binary 2026.221.1931 (verified charly version)
11. R10 change-class gate PASS — non-runtime standards for the docs-only class at zero warnings; no bed required (beds cannot fail on prose)
12. RDD / ADE / SDD PASS — RDD N/A (claim verified against committed code); ADE N/A (no candy authored); SDD — regeneration byte-identical no-op (verified)
13. Concurrency mandate / anti-cheat PASS (N/A) — docs-only, no shared-state code
14. Hard cutover — one atomic commit PASS — one atomic cutover; the two feat commits (change + CHANGES-REQUESTED fix) collapse via squash; no Phase-2/TODO framing
15. Architecture gate PASS (N/A for code) — no charly/*.go touched; generated page's source placement is the charly-core candy's service-skill entity (correct candy layer). placement: CORRECT. No per-item trace required
16. Disposable-only autonomy PASS (N/A)
17. Clean architecture + Go gates PASS (N/A) — no Go
18. CHANGELOG present PASS — CHANGELOG/2026.221.2004.md staged; filename ^\d{4}\.\d{3}\.\d{4}\.md$ ✓; H1 byte-equals # 2026.221.2004 — … ✓; CalVer collides with neither existing CHANGELOG nor v* tag on main ✓; head -1 byte-equals the H1 ✓

Phase 1b — documentation scrutiny

The changed page recipes/core/service.md carries the DO-NOT-EDIT header (generated tree) — the narrative cold-reader is exempt; the applicable generated-surface checks were run and all pass:

  • Regeneration no-op (the load-bearing gate): bin/charly docs generate --out docs/src/content/docs --root . on the superproject at the companion source head f0024867 → docs tree byte-identical (clean before/after), exit 0. The page is exactly what the committed canonical source produces.
  • Source liveness (1b.11): the corrected canonical source (candy/charly-core/charly.yml service-skill entity, rows 2971/3027) is committed and pushed to the companion feat/sharpen-liberation branch — remote head f0024867 (verified git ls-remote). The companion PR docs: sharpen and rename Liberation charly#235 exists and carries it. Regenerating from the remote state is a no-op.
  • Product-code accuracy: the claim "Disable quadlet service (quadlet file remains)" matches config_remove.go quadlet mode on charly protected main — systemctl --user disable --now for service/pod/sidecars, no .container file deletion anywhere.
  • R5 sweep: Remove deployment configuration → zero hits at head (whole-tree).
  • Cross-reference validation: generation exit 0 (an unresolvable reference would fail the run).
  • Contradiction sweep: the two changed rows agree with each other and with the distinct charly remove semantics (stop + delete .container + charly.yml entry); sibling charly-config.md/deploy.md/remove.md pages already carry the identical corrected framing — no cross-surface drift.
  • Undefined terms / reader-state claims / command-safety: no new terms; reader-state grep clean; changed rows contain only the binary-only charly config remove verb.
  • Gate probativeness: the drift gate reads the committed tree (clean input) and would go red if the page were stale; verified by my own run.

Comments considered

  • atrawog — prior CHANGES-REQUESTED (on head 52a6258): two findings — (1) source liveness: corrected canonical source not on the companion remote branch; (2) missing CHANGELOG placeholder. Disposition: verified-non-blocking at the current head — both independently re-verified FIXED: (1) the source is now pushed to remote feat/sharpen-liberation at f0024867; (2) CHANGELOG/2026.221.2004.md is staged at 2b2f4639.

Cross-PR interactions considered

  • docs: sharpen and rename Liberation charly#235 (feat/sharpen-liberation, open, head f0024867) — the source producer; corrected canonical source verified on its remote head; its docs gitlink still points at 144b6998 (the pre-fix merged head) and must be re-bumped to the merged docs#30 head after this merge. verified-non-blocking for this PR; a coordination comment will be posted on charly#235.
  • docs(service): align removal semantics with config remove marketplace#148 (feat/service-remove-semantics, open, head 6f908266) — sibling generated-skill PR correcting the same semantic drift on the sibling skill surface; no file overlap, separate repo. verified-non-blocking.

Decision

APPROVED — both prior blocking findings are resolved and independently verified: the corrected canonical source is live on the companion remote branch, and the CHANGELOG placeholder is staged and CalVer-compliant. The page's corrected semantics match the committed product code exactly. Merging as documentation reviewed.

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

…gnment

Renamed the placeholder entry to the merge-time CalVer.

Assisted-by: Claude Code deepseek-v4-flash (documentation reviewed)
@atrawog
atrawog merged commit e3dacfe into main Aug 9, 2026
1 check passed
@atrawog
atrawog deleted the feat/service-remove-semantics branch August 9, 2026 20:16
@atrawog

atrawog commented Aug 9, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — merged ✅

Outcome: squash-merged as e3dacfe75f3b3a8ec2ed7bf48b7aa3f82ceba68d, tagged v2026.221.2014. The merge was ALLOWED (no classifier denial).

  • CalVer finalized: CHANGELOG/2026.221.2004.md → CHANGELOG/2026.221.2014.md, H1 rewritten and verified byte-equal (# 2026.221.2014 — Align the service recipe with the corrected removal semantics).
  • Squash trailer proof: pre-merge parse = Assisted-by: Claude Code deepseek-v4-flash (documentation reviewed); merged e3dacfe parse = identical.
  • Emitted artifact verified: merged tree carries CHANGELOG/2026.221.2014.md (3 additions) and src/content/docs/recipes/core/service.md (2/2) — exactly the validated diff.
  • Tag: v2026.221.2014 created on the merged HEAD and pushed; verified remote.

Assisted-by: Claude Code deepseek-v4-flash (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