Repository navigation
feat: the python-gobject, agent-tools and hello-web example candies - #3
Conversation
GRIEVANCES.md in opencharly/opencharly builds one project step by step from this repository's candies. Add the three it needs beyond search-tools: a per-distribution package (python-gobject), a container engine and hypervisor for nesting (agent-tools), and a served page whose checks cover the artifact and the running deployment (hello-web). Closes #2 *Agent: `grievances-word-blind` · Claude Code session `74a95641-000e-42f0-a677-43f5bcdf1d01`* Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
Review — BLOCKHead SHA: Change class: config (three new candy definitions) + docs. Blocks
Non-blocking notes (not gating this verdict)
Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
…ly caveats The validator (round 1) found that only the Arch branch of python-gobject and hello-web had run. The candies are unchanged in substance. This round adds beds on fedora, debian and ubuntu (in the PR body), says in hello-web's description and the README that a box composing it also composes layer-supervisord until opencharly/charly#764 lands, and says that agent-tools is Arch-family only. *Agent: `grievances-word-blind` · Claude Code session `74a95641-000e-42f0-a677-43f5bcdf1d01`* Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
|
STATUS Round 1 → head The block (A2/R10), RCA.
The non-blocking notes:
Found during the round (in the body's R1):
Agent: |
Review — PASSHead SHA: Security screen: PASS — diff adds exactly the three candies and the two doc updates the body describes; no secrets, no scope mismatch, no guardrail weakening, no injected directives. Comments considered:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
GRIEVANCES.md in opencharly/opencharly is being rewritten (opencharly/opencharly#1249) so that its examples build one project, step by step, from imported candies only. Today this repository ships only
search-tools. This PR adds the three candies the later grievances need:python-gobjectdistro:arch→python-gobject,fedora→python3-gobject,"debian,ubuntu"→python3-gipython3importsgiagent-toolsdistro.arch:podman,qemu-base,libvirt. Arch family only, as its description says/usr/bin/podman,/usr/bin/qemu-system-x86_64and/usr/bin/virshexisthello-webarch→python,fedoraand"debian,ubuntu"→python3);/srv/hello/helloand/srv/hello/health, written bywrite:steps; thehello-webservice on port 8080file), and the running server answersGET /hellowith 200 andhello(http, runtime context,eventually: 30s)README.mdandAGENTS.mdnow describe four candies instead of one.hello-web's description and the README say that, until opencharly/charly#764 lands, a box composinghello-webalso composes@github.com/opencharly/layer-supervisord.GRIEVANCES.md shows these candies in DESIGN.md's target grammar. This repository writes them in the schema the pinned charly reads today, as it already does for
search-tools.Branch: the original commit, plus one review-round commit (round 1's fixes). Diff against
main:3 files changed, 130 insertions(+), 13 deletions(-).Closes #2
How tested
The binary is built from the umbrella's charly pin
bd82136f877c4002f2da6b7a6057f4540fd9b4a3(clean tree; the commit is dated 2026-11-23 10:10 UTC, which is the CalVer it stamps).The R10 beds: one per distribution family the candies name. No bed in the org composes these candies, so I built a scratch project with four
disposable: truepod beds:check-cachyos-example-podcachyos.cachyos(distro-cachyos:v2026.327.0930), Arch familycheck-fedora-example-podfedora.fedora(distro-fedora:v2026.325.1900)search-tools,python-gobject,hello-webcheck-debian-example-poddebian.debian(distro-debian:v2026.325.1116)check-ubuntu-example-podubuntu.ubuntu(distro-ubuntu:v2026.325.1116), the"debian,ubuntu"keyEvery box also composes
layer-supervisord:v2026.314.0710(charly#764).agent-toolsis composed on the Arch-family box only, because its package names are Arch's. The scratch project's candy text is byte-identical to this head'scharly.yml:tail -n $(wc -l < charly.yml) ../bed-all/charly.yml | cmp - charly.ymlprints nothing and exits 0. The project validates with0 warnings, 0 errors.Each
skipped_checks=2is the two runtime-context checks that do not run in image mode (hello-web'shttpcheck and one oflayer-supervisord's). Both ran and passed in every live phase. Per phase:R7: every new check can fail. I built a broken variant of the Arch-family box, with three removals:
python-gobject's arch package replaced bypython,libvirtremoved fromagent-tools, and the hello page'swrite:step removed. Then I rancharly check box example-candies-broken-box. It exited 2, and each removal fails exactly its own check. This ran on the round-1 candy text, which differs from this head only in thedescription:prose ofagent-toolsandhello-web(git diff 13edd9d20268c7848e1900737eb6f15c33c6bdda HEAD -- charly.ymlchanges no package, file, service or check line).Rulebook compliance
/charly-internals:git-workflow,/charly-image:layer,/charly-check:checkand/charly-internals:design, and read this repository'sAGENTS.md.box "example-candies-box" resolves init "supervisord" … that candy is not in this project's scanned set.hello-webdeclares aservice:, which selects the container init. The init vocabulary'sdepends_candyis still the bare namesupervisord, so the fetch seed does not fetch it.service:selects its init; a candy never requires the init by hand). The bed boxes composelayer-supervisord, and the description and README now say so to a consumer (round 1's non-blocking note).resolving box "fedora-example-box": image fedora-example-box: build: field required, whilebox validatehad reported 0 errors.fedorabox getsbuild: [rpm]from its own project'sdefaults:, which an importing project does not receive.build: [rpm], with a comment citing that issue.check-cachyos-example-podrun2026.327.1633failed one phase,feature-run-rebuild(14 of 15 failed withError: unable to find user user: no matching entries in passwd file).check-live-rebuildhad passed 15/15 in the same container about 30 s earlier. The only check that needs no exec (http, through the published port) passed. A single diagnosis re-run (2026.327.1725, above) passed every phase.podman exec --user usercannot read its passwd. This is the open charly check feature: command probes fail with "unable to find user user" on an image that defines user (uid 1000) charly#1235 (same error, same phase), related to in_container exec fails with 'unable to find user user' after repeated config/start cycles, while the container serves plugin-deploy-pod#60 and #83. I added this instance's evidence there (it is intermittent, and it hitsfileandpackageprobes too).distro:map.eventually: 30son thehttpcheck is the declared readiness window for a server that starts after the container.httpcheck runs against the real running server.charly versionis pasted above, and the binary matches the umbrella's charly pin.disposable: truepods, cover every distribution family the candies name.write:) and D-VERB-7 (thefilecheck observes the artifact, thehttpcheck the deployment) conform. D-VAL-1 (checks optional) does not apply here: every candy carries checks.Change classification
charly box validate, plus one disposable pod bed per distribution family the candies name.search-toolsis unchanged, so no existing consumer sees a difference. Roll back by reverting the squash commit.Filed issues
defaults:(build:);box validatepasses and resolve fails.depends_candyis a bare name.unable to find user user.Agent:
grievances-word-blind· Claude Code session74a95641-000e-42f0-a677-43f5bcdf1d01Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)