Skip to content

fix(charly-mcp): assert box.list.boxes in the MCP tool-surface checks - #250

Merged
atrawog merged 3 commits into
mainfrom
feat/charly-mcp-box-list-fix
Aug 12, 2026
Merged

atrawog merged 3 commits into
mainfrom
feat/charly-mcp-box-list-fix

Conversation

@atrawog

@atrawog atrawog commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Summary

The charly-mcp candy's baked mcp: list-tools checks asserted the tool catalog contained box.build, which no longer exists after the box list surface was renamed to the box.list.* family (box.list.boxes, box.list.candies, …). This failed every live deployment (check-fedora-coder-pod, check-charly-selftest-pod).

Changes

  • Update both list-tools checks to assert box.list.boxes (the canonical box-enumeration tool) instead of the retired box.build.
  • Raise the mcp-charly-call-list-boxes call timeout to 90s so a cold --repo fallback fetch does not exceed the MCP call deadline.

Validation

Surfaced by the parallelized R10 roster. Verified live on a fedora-coder pod: the list-tools checks now pass.

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

The charly-mcp candy's baked mcp: list-tools checks asserted the tool catalog
contained box.build, which no longer exists after the box list surface was
renamed to the box.list.* family. Update both list-tools checks to assert
box.list.boxes (the canonical box-enumeration tool) and raise the
mcp-charly-call-list-boxes call timeout to 90s so a cold --repo fallback fetch
does not exceed the MCP call deadline.

Surfaced by the parallelized R10 roster; verified live on a fedora-coder pod.

Assisted-by: Reasonix DeepSeek V4 Flash Cloud (analysed on a live system)
Finalize merge-time CalVer 2026.224.1507.

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 (charly-mcp candy charly.yml + CHANGELOG)

Checklist:

  • [PASS] 0. Security & anti-tampering (T1–T4): no exfiltration, no scope-mismatch, no weakened gate, no supply-chain change, no attempt to manipulate the validator. Diff is a 2-line tool-name change + a timeout bump + a CHANGELOG entry.
  • [PASS] 1. Description complete: Summary/Changes/Validation present; body ends with the *Assisted-by: …* footer.
  • [PASS] 2. Change-class gate: candy/box-config → the bed that composes the changed entity (check-charly-selftest-pod). R10 evidence on disk verified.
  • [PASS] 3. Attribution tier: analysed on a live system — the changed list-tools checks executed live in the R10 bed (see R10 evidence below). Not inflated.
  • [PASS] 4. R0 skills honored: git-workflow + check skills loaded by path; candy edit vs /charly-image:layer; check verb vs /charly-check:check.
  • [PASS] 5. R1: no warnings/failures in the R10 evidence; the earlier ok:false runs (0413/0820/0930/0935) are the pre-fix failures this PR fixes — the final 1112 run is ok:true at zero warnings.
  • [PASS] 6. R2: no pre-existing/out-of-scope split.
  • [PASS] 7. R3: no duplication — the two list-tools checks are distinct (different stdout assertions), not copy-paste.
  • [PASS] 8. R4: no ad-hoc workaround; the 90s timeout is a named, config-sourced value on the MCP call step.
  • [PASS] 9. R5: box.build removed from the two checks; remaining box.build hits in the tree are prose describing the charly box build command, not the MCP tool catalog.
  • [PASS] 10. R6/R8/R9: no destructive git action; the baked ai.opencharly.description label in the R10 image-build.log contains the CHANGED content (box.list.boxes + timeout: 90s).
  • [PASS] 11. R10: check-charly-selftest-pod bed 2026.224.1112 summary on disk = ok: true, total_seconds: 1268, all steps ok. The bed composes the charly-mcp candy; check-live.log shows mcp-charly-list-tools and mcp-charly-call-list-boxes PASS. The baked label in image-build.log carries the changed assertions, proving the changed code path executed.
  • [PASS] 12. RDD/ADE/SDD: no schema/CUE change; candy already ships description: + plan: with deterministic check: steps.
  • [PASS] 13. Concurrency: no shared-state change; the R10 roster surfaced the failure and the fix is verified on the final run.
  • [PASS] 14. Hard cutover: one atomic change.
  • [PASS] 15. Architecture gate: no charly/*.go touched; placement is a candy config change — CORRECT.
  • [PASS] 16. Disposable-only: the R10 bed is disposable: true.
  • [PASS] 17. Clean architecture: no Go changes.
  • [PASS] 18. CHANGELOG present: placeholder CHANGELOG/2026.223.2146.md valid CalVer format, H1 matches, no collision on main.

Comments considered: none (PR carried no comments).

Cross-PR interactions considered: PR #251 (feat/google-cloud-npm-gemini-split) also stages CHANGELOG/2026.223.2146.md as its placeholder — a shared placeholder filename, but each PR's evaluator finalizes its own merge-time CalVer, so no merge-order conflict. Disposition: verified-non-blocking.

Decision: PASS. The change correctly updates the charly-mcp MCP tool-surface checks from the retired box.build to box.list.boxes, raises the mcp-charly-call-list-boxes timeout to 90s, and the R10 bed evidence on disk confirms the changed checks pass live. Merge-time CalVer finalized to 2026.224.1507.

Assisted-by: Claude Code claude-opus-5 (analysed on a live system)

@atrawog
atrawog merged commit f49e8a9 into main Aug 12, 2026
@atrawog
atrawog deleted the feat/charly-mcp-box-list-fix branch August 12, 2026 15:10
atrawog added a commit that referenced this pull request Sep 11, 2026
…go check fix)

The branch pinned plugin-harness-kind and sdk at Go pseudo-versions that
resolved to unmerged refs (plugin-harness-kind PR #4 head, sdk PR #250
head) - the charly plugin resolver cannot resolve refs that only exist on
PR branches, so TestPluginsGenReproducible failed with 'could not resolve
ref'. Both upstream PRs have since merged: re-pin to the merged tags
(plugin-harness-kind v0.2026254.600, sdk v0.2026254.523, spec
v0.2026254.503).
github-actions Bot pushed a commit that referenced this pull request Sep 11, 2026
…s kind admission) (#583)

* feat(docs): declare the docs: config node (#DocsConfig) — spec v0.2026254.503 + sdk pin, the docs-site generation config in the embedded charly.yml

* feat(kind): register the docs ClassKind word so the loader materializes a docs: node

The embedded charly.yml carries the #DocsConfig docs: node, but the pinned
plugin-harness-kind (v0.2026237.1423) served only skill/hook/marketplace, so
loaderThreaded().Kinds has no docs word and loaderkit.classifyKind fails the
node: 'no kind discriminator' (TestEmbeddedDefaults_SameLoaderPath FAIL).

Fix per the existing kinds admission (R3 — every authoring kind is an
externalized plugin candy; zero in-core kind registration exists to extend):
bump the plugin-harness-kind pin to 8170c62b (its feat/docs-config-node
commit: the docs ClassKind capability + served #DocsInput schema + the
spec.DocsConfig OpLoad decode arm, spec v0.2026254.503 + sdk pseudo
eb7702068d33) and re-point go.sum. The docs word now enters the registry from
the compiled-in plugin's Describe at init, feeding the Threaded.Kinds
snapshot exactly like skill/hook/marketplace.

Tests mirror the skill-kind registration tests: a stacked candy+docs file
decodes into uf.PluginKinds[docs] (TestDocsKind_CompiledInStackedNodes) and a
closedness-violating body is rejected at load (TestDocsKind_RejectsInvalidBody).
TestEmbeddedDefaults_SameLoaderPath is GREEN; go build ./... and go vet ./...
pass; the reserved-registry/kind-invoke/prescan admission suites pass.
NOTE for the parent: the pin targets the plugin branch commit (pseudo-version)
— re-point to the merged plugin tag when its PR lands, per pin discipline.

* chore(pins): re-pin plugin-harness-kind + sdk + spec to merged tags (go check fix)

The branch pinned plugin-harness-kind and sdk at Go pseudo-versions that
resolved to unmerged refs (plugin-harness-kind PR #4 head, sdk PR #250
head) - the charly plugin resolver cannot resolve refs that only exist on
PR branches, so TestPluginsGenReproducible failed with 'could not resolve
ref'. Both upstream PRs have since merged: re-pin to the merged tags
(plugin-harness-kind v0.2026254.600, sdk v0.2026254.523, spec
v0.2026254.503).

---------

Co-authored-by: atrawog <[email protected]>
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