Repository navigation
Description
Four places where a guide or a role document tells its reader to make a call the MCP surface does not expose. Found while reviewing #711; none of them originates on that branch, and two of them need a design call rather than a wording fix, so they are here instead of in that PR.
Verified against main at the time of writing. Each row quotes the instruction, then what the surface actually accepts.
Guide-side: the call is spelled as a CLI invocation
1. search_assets — sdpm/references/guides/aws-design.md:12-13 says search-assets --type general and search-assets -s aws; sdpm/references/guides/design-rules.md:32-33 repeats search-assets --type general. The tool is search_assets(query, source_filter, type_filter, theme_filter) (sdpm/sdpm/tools/__init__.py:150-158, servers/remote/server.py:827-835). Neither surface takes flags.
A composer following either guide calls no such tool, so the AWS icon-source decision and the emoji replacement path both dead-end.
Fix: search_assets(query="…", type_filter="general") and search_assets(query="…", source_filter="aws"). Keep the syntax in one guide and point at it from the other.
2. code_to_slide's include path and two options that do not exist — the tool saves includes/<name>.json and returns that path (sdpm/sdpm/tools/__init__.py:274-289; the remote surface agrees at servers/remote/server.py:1041-1042). sdpm/references/guides/slide-json-media.md:61-75 repeats the recipe but tells the composer to write "src": "code.json", and :77-82 advertises --font-size and --no-label, which are not in the signature at tools/__init__.py:263-273.
Following the guide produces an include path that names no written file, so the code block is missing at build time; passing either option fails validation.
Fix: use the returned include_path instead of spelling a second path, and drop the options list. The guide then owns only when and where to place the include.
Needs a design call: no runnable cloud path
3. start_translation is unbound on the remote surface — sdpm/references/workflows/orchestrator.md:29-31 routes every translation to start_translation(deck_id, language). The remote server answers "start_translation is not bound" because the workflow needs a checkout (servers/remote/server.py:440-446), and its start_presentation description names no translation route (:528-532).
The same role document is served on the cloud surface and tells the orchestrator to call a missing tool. A cloud translation request has no valid next step, and nothing in the document says this surface cannot do it.
Either scope the workflow line to the surfaces that have the tool, or bind a supported cloud translation entry before advertising it.
4. The remote analyze_template takes no layout — sdpm/references/guides/grid.md tells every slide-JSON composer to call analyze_template(template, layout="Title Only") and read the title placeholder from it. The remote tool exposes only template and deck_id (servers/remote/server.py:670-675), and the analyzer returns each layout as name plus optional notes, never placeholder boxes (sdpm/sdpm/engine/analyzer/__init__.py:37-42,51-56); the boxes come from a second call with layout=, which only the local tool has.
A cloud slide-JSON composer cannot make the prescribed call, and its start_composing analysis carries no placeholder geometry either, so it has no way to derive the usable full-slide area.
Either give the remote tool the local layout argument and layout_detail result, or have start_composing return the placeholder boxes and have the guide read that common field. #711 notes the gap in style-from-pptx as a stopgap ("the cloud's analyze_template does not take it, so a cloud derivation reads margins from Lens A instead"); grid still prescribes the call unconditionally.
Activity
ShotaroKataoka commentedon Dec 2, 2026
🤖 KiroCrew automated comment (triage, not a maintainer decision)
Verdict: ✅ Confirmed on
main(c43f773) — thanks @naohito2000 for the careful write-up.search-assetsflagsguides/aws-design.md:11-12,guides/design-rules.md:23design-rulesline but keepssearch-assets --type general.code_to_slideincludeguides/slide-json-media.md:65-82vstools/__init__.py:274-289srcshould be the returnedinclude_path(includes/<name>.json);--font-size/--no-labelare not tool arguments. #654 and #691 also edit this guide.start_translationon remoteworkflows/orchestrator.md:31,servers/remote/server.py:445-446orchestrator.md.analyze_templatehas nolayoutguides/grid.md:99,105vsservers/remote/server.py:646-649grid.md:105into a role table but still prescribeslayout="Title Only".Suggested fix: 1 and 2 are a small docs PR that can go now (rebase around #711). For 3, scoping the line to the surfaces that bind the tool is the smallest step; a cloud translation path is a separate feature. For 4, adding
layoutto the remote tool reuses the existing local argument and keeps one guide line true for both surfaces, so it looks smaller than a newstart_composingfield. 3 and 4 are design calls for the maintainer.🐛 fix(guides): stop a stray byte taking down every entry point, and m…
🐛 fix(guides): make the Web UI's grammar mirror agree with the engine…
naohito2000 commentedon Dec 2, 2026
Item 2 (
code_to_slide's include path) is fixed on #711 at18d5390, becausemainc43f773(#715) made it a live defect rather than a wording problem: withsrcrelative to the deck folder,slide-json-media's"src": "code.json"resolved to nothing and the code block was absent from the built slide with no error.slide-json-medianow shows theinclude_paththe call returns, and the CLI flags it advertised (-l,--font-size,--no-label,--font-family— none of which the MCP tool takes) are replaced by its actual parameters.TestTheCodeBlockRecipeUsesThePathTheToolReturnsderives the path from a realcode_to_slidecall rather than quoting it.Still open here:
search_assetsspelled as a CLI call inaws-designanddesign-rulesstart_translationunbound on the remote surface whileorchestrator.mdroutes every translation to itanalyze_templatetaking nolayout, whichgridprescribes unconditionally1 is a wording fix. 3 and 4 need the design call described above.
🐛 fix(html): guard the language this branch started reading, and fix …
naohito2000 commentedon Dec 2, 2026
Thanks — the triage made me re-check which lines this branch actually wrote, and two of the four turned out to be #711's rather than pre-existing. Both are fixed there at
c052b17.Item 1, fixed.
design-rules.md:32is a line #711 rewrote, and it carriedsearch-assets --type generalinto the new text;aws-design.md:12-13predates the branch, but #711's new description for that file advertises exactly that asset-source decision. Both now readsearch_assets(query="…", type_filter="general")andsearch_assets(query="…", source_filter="aws"), and the[category/service]sentence names the tool's results rather than a CLI.Item 4, guide side fixed; the tool-side call is still yours.
grid.md's role table is #711's own text, and its slide-JSON row prescribedlayout="Title Only"to every composer. The remote tool's analysis issdpm.engine.analyzer.analyze_template, which returns layout names with nolayout_detail, so a cloud slide-JSON composer had no placeholder geometry and no way to ask for it. The row now states the fallback —slide_sizefor the height, the style's geometry tokens for the margins, checked against a preview — so it is true on both surfaces whichever way you decide.I left the tool change out deliberately: your note that adding
layoutto the remote tool reuses the existing local argument and keeps one guide line true for both surfaces reads right to me, and if you take that route the fallback sentence in the row comes back out. A contract test (TestTheFullSlideAreaRowIsTrueOnBothSurfaces) asserts that the local signature haslayout, that the remote one does not, and that the row states the fallback — so it will fail the moment the remote tool gains the argument, which is the reminder to simplify the row.Item 3 stays open and untouched.
orchestrator.md:31is in no hunk of #711, so it is not mine to change there. Thelocally … / in the cloud …shape from #710 looks like the right smallest step.So this issue is down to items 3 and 4's tool side.