Skip to content

ollama corpus: OLLAMA_HOST has two values, a cross-reference is filed as both box and candy, and a Tests section names no command #300

Closed

Description

@atrawog

Three defects in the ollama skill corpus, surfaced by a cold reader during plugins#197's validation and verified here against the landed artifacts. All three are present on plugins/main and docs/main before and after that cutover — neither caused nor fixed by it — so they were correctly routed rather than folded in.

Their source is candy/ollama/charly.yml and candy/charly-ollama/charly.yml in opencharly/charly. Fixing them there costs one plugins regeneration and one docs regeneration; they are batched together so that chain is paid once.

1. OLLAMA_HOST carries two incompatible values in adjacent tables

ollama/skills/ollama-layer/SKILL.md on plugins/main:

:27  | `OLLAMA_HOST` | `0.0.0.0` |
:34  | `OLLAMA_HOST` | `http://{{.ContainerName}}:11434` | `http://charly-…` |

Seven lines apart, same variable, two values of different kinds — a bind address and a client URL. A reader cannot tell which one the candy sets, and the two are not reconcilable as written: 0.0.0.0 is what the server binds to, the URL is what consumers connect to. The distinction is real and the page collapses it.

Both are probably correct in their own context; the defect is that neither table says which context it describes.

2. /charly-ollama:ollama is filed as a box on one page and a candy on the other

ollama-layer/SKILL.md:56   under "## Used In Boxes"       - `/charly-ollama:ollama`
ollama/SKILL.md:99         under "## Related Candies"     - `/charly-ollama:ollama` — the Ollama binary candy

The same reference, categorised two ways, in two pages of one corpus. One of the two headings is wrong, and a reader following the cross-reference lands somewhere the calling page mis-describes.

3. A ## Tests section that lists assertions with no way to run them

docs/main:src/content/docs/recipes/ollama/ollama-layer.md, ## Tests:

The candy ships its acceptance steps in its plan:, baked into the ai.opencharly.description OCI label … Each step is one inline Op — a probe is a check: step — and its context: list gates where it runs:

It then enumerates the assertions. It never names the command that runs them. A reader learns what is asserted and has no way to assert it — and this is a published page, so the reader is someone with the charly binary and nothing else.

Per R4a, every command a reader is told to run must work with nothing but the binary; here the problem is the inverse — the page describes a capability and withholds its invocation. The fix is one line naming charly check box / charly check live (whichever the context: gating actually selects, which should be stated rather than assumed).

Verification notes

  • 1 and 2 read from plugins/main; 3 from docs/main, because the cold reader ran against the docs projection and I checked the artifact it actually read rather than its plugins sibling.
  • All three are generated. Fix at the candy source; do not edit the projections.

Related

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

Activity

  1. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Validation (2026-08-28) — RESOLVED

    Verified against current marketplace main. The two OLLAMA_HOST values now live in separate, labeled tables: "## Environment Variables" (0.0.0.0 — the bind address) vs "## Service Environment (injected into other containers)" (http://{{.ContainerName}}:11434 — the client URL), with the pod-aware resolution explained below the table. A reader can now tell which one the candy sets.

    Closing as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions