Skip to content

fix(google-cloud-npm): split the Gemini CLI into the gemini candy - #251

Merged
atrawog merged 5 commits into
mainfrom
feat/google-cloud-npm-gemini-split
Aug 12, 2026
Merged

atrawog merged 5 commits into
mainfrom
feat/google-cloud-npm-gemini-split

Conversation

@atrawog

@atrawog atrawog commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

google-cloud-npm installed both firebase-tools and @google/gemini-cli at unpinned * versions. The gemini candy already pins @google/gemini-cli (0.51.0) and installs the same binary, so a box composing both candies had its pinned gemini version silently overwritten by the * install.

Changes

  • Remove the gemini install + its three baked checks from google-cloud-npm.
  • Add gemini to its require: chain so a composing box that also composes gemini keeps the pinned version.
  • The firebase install and checks are unchanged.

Validation

Surfaced by the parallelized R10 roster; charly box validate passes.

Assisted-by: Reasonix DeepSeek V4 Flash Cloud (analysed on a live system)

google-cloud-npm installed both firebase-tools and @google/gemini-cli at
unpinned * versions. The gemini candy already pins @google/gemini-cli (0.51.0)
and installs the same binary, so a box composing both candies had its pinned
gemini version silently overwritten by the * install.

Remove the gemini install + its three baked checks from google-cloud-npm and
add gemini to its require: chain, so a composing box that also composes gemini
keeps the pinned version. The firebase install and checks are unchanged.

Surfaced by the parallelized R10 roster.

Assisted-by: Reasonix DeepSeek V4 Flash Cloud (analysed on a live system)
@atrawog

atrawog commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌

Change class: candy/box config (runtime class)

Head SHA validated: 172a820bb8a8085d3ca0e29116f2e719e2b1a49c

Security & anti-tampering screen (T1–T4)

  • PASS. No secrets, no exfiltration, no weakened guardrails, no supply-chain change (the diff only removes an unpinned npm dep and adds a require: entry). No embedded directives aimed at the validator. The PR does not touch the validator spec, hooks, or branch protection.

Diff review

The change is coherent and correctly scoped: it removes the @google/gemini-cli * install + its three baked checks from candy/google-cloud-npm, adds gemini to its require: chain, and updates the candy description:. The gemini candy already pins @google/gemini-cli (0.51.0) and installs the same binary, so the split is architecturally sound (R3 — no duplication; the gemini install now lives in exactly one place). The firebase install/checks are unchanged. Placement: CORRECT (candy-level capability split, no core/sdk involvement).

Blocking findings

1. R5 — stale skill block left in the same commit (hard FAIL).
The google-cloud-npm-skill: block in candy/google-cloud-npm/charly.yml is unchanged by this PR and still claims the candy installs the Gemini CLI:

  • description: "Google Cloud npm packages: firebase-tools and Gemini CLI."
  • ## Packages still lists - @google/gemini-cli (npm) -- Gemini CLI
  • ## When to Use still says "Gemini CLI for Google AI"

This is a false/outdated claim that the change itself makes false. R5 requires every false/outdated claim to be swept in the SAME commit. The PR's own description: (candy block) was updated to say gemini is now provided by the gemini candy, but the sibling google-cloud-npm-skill: block was left contradicting it. This is exactly the R5 stale-reference defect the validator must catch. The same stale claim also persists in the docs and plugins submodules (docs/src/content/docs/reference/candy/google-cloud-npm.md, docs/src/content/docs/recipes/coder/google-cloud-npm.md, plugins/coder/skills/google-cloud-npm/SKILL.md) — those are separate submodule PRs, but the in-repo skill block must be fixed in THIS commit.

2. R10 — no bed evidence on disk for the composing bed (FAIL).
The change class is candy/box config, which requires building + running a bed that composes the changed entity. The only bed that composes both google-cloud-npm and gemini is the arch-coder box (box/arch/box/arch-coder/charly.yml). I searched every .check/ tree (superproject + all box/* submodules) and found no check box arch-coder run, no check-arch-coder bed, and no summary/log exercising the arch-coder image — the box/arch/.check/ contains only check-agent-pod, check-arch-vscode-pod, check-tmux-pod, check-arch-vm, check-arch-pacstrap-vm, none of which compose google-cloud-npm/gemini. The PR body's only validation claim is "charly box validate passes" — a static schema check, not the R10 runtime gate. There is no pasted fresh-rebuild bed output, and no bed on disk to cross-check. This fails the R10 bed-coverage requirement for a runtime-class change.

Comments considered

  • None (PR carries no comments).

Cross-PR interactions considered

  • Only one open PR in opencharly/charly (this one). No interactions found.

Decision

FAIL. The author must, in the same tree:

  1. Update the google-cloud-npm-skill: block in candy/google-cloud-npm/charly.yml to remove the Gemini CLI claims (R5 sweep), and
  2. Run the R10 gate for the composing bed (build + charly check box/charly check run on a bed that composes google-cloud-npm + gemini, e.g. the arch-coder box) and paste the fresh-rebuild output.

Re-push; the status resets and the validator re-runs.

Assisted-by: Reasonix Claude Opus 5 (analysed on a live system)

…ll block

The google-cloud-npm-skill block still claimed the candy installs the Gemini
CLI, contradicting the split into the gemini candy. Update the skill
description, packages list, dependencies, related candies, and when-to-use to
reflect that google-cloud-npm now installs only firebase-tools and requires the
gemini candy for the Gemini CLI.

Assisted-by: Reasonix DeepSeek V4 Flash Cloud (analysed on a live system)
@atrawog

atrawog commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌

Change class: candy/box config (runtime class)

Head SHA validated: 916c96af588ec5a2921e569a53aae11bbd61eba9

Security & anti-tampering screen (T1–T4)

  • PASS. No secrets, no exfiltration, no weakened guardrails, no supply-chain change (the diff only removes an unpinned npm dep and adds a require: entry). No embedded directives aimed at the validator. The PR does not touch the validator spec, hooks, or branch protection.

Diff review

The change is coherent and correctly scoped: it removes the @google/gemini-cli * install + its three baked checks from candy/google-cloud-npm, adds gemini to its require: chain, and updates the candy description:. The gemini candy pins @google/gemini-cli (0.51.0) and installs the same binary, so the split is architecturally sound (R3 — no duplication). The firebase install/checks are unchanged. Placement: CORRECT (candy-level capability split, no core/sdk involvement).

Prior-round findings — re-verified

  1. R5 skill-block sweep (prior finding feat!: PR-only agent-validated landing — forbid + disable direct pushes to main #1) — now FIXED. The google-cloud-npm-skill: block in candy/google-cloud-npm/charly.yml is now swept (commit b0490019): the description:, ## Packages, ## When to Use, and ## Related Candies sections no longer claim google-cloud-npm installs the Gemini CLI. Verified in the current diff.
  2. R10 bed evidence (prior finding docs: bump plugins → pr-validator always comments on the PR #2) — now ADDRESSED. The arch-coder box (box/arch/box/arch-coder/charly.yml) composes both google-cloud-npm and gemini. The /tmp/arch-coder-checkbox.log (image ghcr.io/opencharly/arch-coder:2026.224.1453) shows the post-split structure: gemini checks under candy/gemini (4 PASS), firebase checks under candy/google-cloud-npm (3 PASS), and 0 gemini checks under google-cloud-npm — 221 passed, 0 failed, 57 skipped. The .build/_candy/google-cloud-npm/package.json in the box confirms the post-split firebase-tools-only dependency. The R10 gate for the composing bed is satisfied.

Blocking finding

R5 — stale claims left in sibling superproject candies (hard FAIL).
The change makes google-cloud-npm no longer provide the Gemini CLI, but two superproject-tracked, hand-authored candy files still claim it does, and neither is swept in this commit:

  • candy/google-cloud/charly.yml:92 — - /charly-coder:google-cloud-npm -- additional GCP npm tools (firebase-tools, gemini-cli)
  • candy/charly-coder/charly.yml:713 — - google-cloud-npm # firebase + Gemini npm bindings

Both files are tracked in the superproject (git ls-files confirms), are hand-authored (no GENERATED banner), and are not in this PR's diff. R5 requires every false/outdated claim to be swept in the SAME commit. The prior validator's finding #1 explicitly required the in-repo skill block to be fixed in THIS commit; the author fixed the google-cloud-npm-skill: block but left these two sibling superproject claims contradicting the change. This is exactly the R5 stale-reference defect the validator must catch.

(The docs and plugins submodule claims — docs/src/content/docs/recipes/coder/fedora-coder.md:77, docs/src/content/docs/recipes/coder/google-cloud.md:33, plugins/coder/skills/fedora-coder/SKILL.md:83, plugins/coder/skills/google-cloud/SKILL.md:33 — are separate submodule PRs, out of scope for this superproject PR, consistent with the prior validator's note.)

Comments considered

Cross-PR interactions considered

  • Only one open PR in opencharly/charly (this one). No interactions found.

Decision

FAIL. The author must, in the same tree, sweep the two stale superproject claims:

  1. candy/google-cloud/charly.yml:92 — remove gemini-cli from the google-cloud-npm related-candy description.
  2. candy/charly-coder/charly.yml:713 — remove the # firebase + Gemini npm bindings comment (or correct it to firebase-only).

Re-push; the status resets and the validator re-runs.

Assisted-by: Reasonix Claude Opus 5 (analysed on a live system)

… candies

candy/google-cloud and candy/charly-coder still described google-cloud-npm as
providing the Gemini CLI, contradicting the split into the gemini candy. Update
both to note that google-cloud-npm installs firebase-tools and the Gemini CLI
comes from the gemini candy.

Assisted-by: Reasonix DeepSeek V4 Flash Cloud (analysed on a live system)
@atrawog

atrawog commented Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: candy/box config (runtime class)

Head SHA validated: 7e9fce156e6192d773c6e6e9f0bd06314a07b0c1

Security & anti-tampering screen (T1–T4)

  • PASS. No secrets, no exfiltration, no weakened guardrails, no supply-chain change (the diff only removes an unpinned npm dep and adds a require: entry). No embedded directives aimed at the validator. The PR does not touch the validator spec, hooks, or branch protection.

Diff review

The change is coherent and correctly scoped: it removes the @google/gemini-cli * install + its three baked checks from candy/google-cloud-npm, adds gemini to its require: chain, and updates the candy description:. The gemini candy pins @google/gemini-cli (0.51.0) and installs the same binary, so the split is architecturally sound (R3 — no duplication; the gemini install now lives in exactly one place). The firebase install/checks are unchanged. Placement: CORRECT (candy-level capability split, no core/sdk involvement).

Prior-round findings — re-verified

  1. R5 skill-block sweep (round-1 finding feat!: PR-only agent-validated landing — forbid + disable direct pushes to main #1) — FIXED. The google-cloud-npm-skill: block in candy/google-cloud-npm/charly.yml is swept (commit b0490019): description:, ## Packages, ## When to Use, and ## Related Candies no longer claim google-cloud-npm installs the Gemini CLI.
  2. R10 bed evidence (round-1 finding docs: bump plugins → pr-validator always comments on the PR #2) — ADDRESSED. The arch-coder box (box/arch/box/arch-coder/charly.yml) composes both google-cloud-npm and gemini. The /tmp/arch-coder-checkbox.log (image ghcr.io/opencharly/arch-coder:2026.224.1453) shows the post-split structure: 4 gemini checks under candy/gemini (all PASS), 3 firebase checks under candy/google-cloud-npm (all PASS), and 0 gemini checks under google-cloud-npm — 278 steps, 221 passed, 0 failed, 57 skipped. The .build/_candy/google-cloud-npm/package.json confirms the post-split firebase-tools-only dependency.
  3. R5 sibling-candy sweep (round-2 finding) — FIXED. Commit 7e9fce15 sweeps both superproject-tracked claims: candy/google-cloud/charly.yml:92 and candy/charly-coder/charly.yml:713 now note the Gemini CLI comes from the gemini candy. Verified in the current diff.

R5 grep self-test (re-run at head)

git grep -n -i "google-cloud-npm" for gemini claims returns only the two swept lines (both correctly note the Gemini CLI comes from the gemini candy) plus the CHANGELOG narrative. No stale claim that google-cloud-npm installs/provides the Gemini CLI survives. The docs/plugins submodule claims are separate submodule PRs, out of scope for this superproject PR (consistent with prior validators' notes).

Checklist

  • R0 skills: git-workflow, check, pr-validator loaded by path; spot-checked against the diff. PASS.
  • R1: no warnings in the R10 output (0 failed); no flake/transient framing. PASS.
  • R2: no pre-existing/out-of-scope split; the sibling sweep is in-tree. PASS.
  • R3: no duplication — the gemini install now lives in exactly one place (the gemini candy). PASS.
  • R4: no ad-hoc workaround. PASS.
  • R5: hard cutover + grep self-test clean (verified above). PASS.
  • R6/R8/R9: no destructive git action; no generation change; no new runtime OS dep. N/A.
  • R10: disposable-only, fresh-rebuild, zero-warning, check-coverage-that-would-fail-without-it (the gemini checks now live under candy/gemini and would fail if the split regressed). PASS.
  • RDD/ADE/SDD: no new candy; no schema/wire change; no charly/sdk Go. N/A.
  • Concurrency mandate: the change was surfaced by the parallelized R10 roster; no concurrency defect in this diff. PASS.
  • Hard cutover: one atomic change per repo (the split + skill-block sweep + sibling sweep are the same thematic cutover). PASS.
  • Architecture gate: placement CORRECT (candy-level capability split; no core/sdk involvement). PASS.
  • Disposable-only autonomy: the R10 evidence is a charly check box run on a disposable image. PASS.
  • Clean architecture + go gates: no Go change. N/A.
  • CHANGELOG present: CHANGELOG/2026.223.2146.md staged, valid CalVer filename, H1 byte-equal, placeholder not on main, no v2026.223.2146 tag. PASS.

Comments considered

Cross-PR interactions considered

  • Only one open PR in opencharly/charly (this one). No interactions found.

Decision

PASS. The change is in full compliance with the project rulebook. The split is architecturally sound, the R5 sweep is complete across the superproject candy files, and the R10 gate for the composing bed (arch-coder) is satisfied with 221 passed / 0 failed. Proceeding to finalize the merge-time CalVer, squash-merge, and tag.

Assisted-by: Reasonix DeepSeek V4 Flash Cloud (analysed on a live system)

Finalize merge-time CalVer 2026.224.1644.

Assisted-by: Reasonix DeepSeek V4 Flash Cloud (analysed on a live system)
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