Repository navigation
feat(agentteams): marketplace family + skills + docs surface (Unit 7) - #254
Conversation
The AgentTeams stack ships as a first-class marketplace family and is documented end to end. The agentteams family joins the marketplace families registry (category images, profiles container) in candy/charly-hooks/charly.yml; candy/agentteams/charly.yml declares the agentteams skill (the decomposed box, home-relative volumes, pod + vm substrates, AGENTTEAMS_* env, verification sequence) and candy/plugin-agentteams/charly.yml declares the agentteams-cli skill (the compiled-in charly agentteams management CLI); the settings enabledPlugins entry registers the charly-agentteams plugin. The regenerated marketplace (plugins) and site (docs) surfaces ride via gitlink bumps once the producer repos merge. Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
…l port 8090 The compiled-in `charly agentteams` management CLI (candy/plugin-agentteams/ control.go) defaulted its controller endpoint to the upstream published-port convention http://127.0.0.1:18090, which the agentteams box never reproduces: the controller serves :8090 in-container and host mappings auto-allocate at deploy (defaulting to the same number when free), so a default pointing at 18090 failed every reader. Fixed at the code (R4a) — the newAPIClient and config-command defaults resolve to http://127.0.0.1:8090, with the plugin description + agentteams-cli skill entity mirrored. Coverage that fails without the change: - candy/plugin-agentteams/control_test.go: TestNewAPIClientDefaultEndpoint asserts the 8090 default and that an explicit AGENTTEAMS_CONTROLLER_URL always wins. - charly.yml check-agentteams-pod: the new agentteams-plugin-config-default live check asserts `charly agentteams config` prints "Controller URL: http://127.0.0.1:8090" (no network — deterministic). Verified: charly module go test ./... green (incl. the new test); box validate exit 0; the check-agentteams-pod disposable bed PASSED all 13 steps incl. the fresh-rebuild cycle, 74 check steps 65 passed / 0 failed (both check-live and check-live-rebuild carry the new check PASS); R5 grep of 18090 returns only the historical CHANGELOG. The derived surfaces (plugins agentteams-cli SKILL, docs agentteams pages) regenerate with the corrected default and ride via gitlink bumps after the producer PRs merge. Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
Coordination note from docs#41 validationdocs#41 ("docs: correct the agentteams-cli controller endpoint default to 8090") has merged as Your PR body names opencharly/docs#40 as the docs producer for the gitlink bump. docs#40 merged earlier (as Also confirmed during validation: your branch's current head Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed) |
…le env list The agentteams skill entity listed AGENTTEAMS_LOCAL_ONLY as deploy-overridable, but nothing consumes it: the controller candy's env_accept: lacks the variable, the start script never reads it, and the upstream AgentTeams v1.2.2 controller binary never reads it (it is an interactive install-time choice in the upstream installer, not a runtime env var). The false claim is removed at the source; the marketplace and docs projections are regenerated in the producer PRs (opencharly/marketplace#151, opencharly/docs#42). Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
…CHANGELOG Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
docs → 25fe13e (opencharly/docs#41 endpoint fix + #42 local-only regen, tag v2026.224.2253) plugins → 6d58de3 (opencharly/marketplace#151 agentteams family, tag v2026.224.2253) Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
pr-validator — APPROVED ✅Change class: mixed (Go + config + docs) — a runtime code change ( Security & anti-tampering screen (T1–T4): PASS. No scope mismatch (every file in the diff is accounted for in the summary), no secrets/exfiltration, no weakened guardrails, no supply-chain changes, no embedded directives aimed at the validator, no self-modifying-security changes. Checklist (every rule):
Phase 1b (documentation scrutiny): the diff ships two published SKILL.md pages (generated projections from the candy Comments considered:
Cross-PR interactions considered:
Decision: PASS — all 18 checklist items pass; the PR is in full compliance with the project rulebook and the loaded skills. The gitlink bumps match the merged producer Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated) |
Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
…erms (#255) docs(agentteams): recipe-card quality — what-is narrative + defined terms The R2 follow-on batch from the Unit 7 landing's cold-reader (PR #254 Phase 1b): the agentteams and agentteams-cli skill pages opened with lookup tables and undefined terms because the source skill: entities carried no product narrative. Fixed at the source (candy/agentteams/charly.yml, candy/plugin-agentteams/charly.yml), then the marketplace and docs projections regenerated. The regenerated producer heads ride via gitlink bumps: plugins → c02a6d3 (opencharly/marketplace#152, tag v2026.224.2352), docs → 1798110 (opencharly/docs#43, tag v2026.224.2343). Documentation-only change class — the non-runtime standards ran: charly box validate clean, both regenerations deterministic no-ops, the fail-closed whole-site link gate passed, and the R5 claim-keyed grep self-test passed. Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
Summary of changes
Unit 7 of the AgentTeams integration — the documentation surface, plus the controller-endpoint
default correction it surfaced. The AgentTeams stack now ships as a first-class
agentteamsmarketplace family, discoverable and documented end to end:
agentteamsjoins themarketplace:families:map incandy/charly-hooks/charly.yml(category: images,profiles: [container]), so any skilldeclaring the family publishes under
plugins/agentteams/instead of failing the generator'sclosed family gate.
agentteamscandy skill entity (candy/agentteams/charly.yml) — the full-stack box skill:the decomposed minio/matrix/element/higress/controller candies, the home-relative volumes
(
~/.agentteams/{minio,matrix,higress,controller}), the container ports, the pod + vm deploysubstrates, the deploy-overridable
AGENTTEAMS_*env, and the controller-spawns-manager →create-worker → room verification sequence.
agentteams-clicandy skill entity (candy/plugin-agentteams/charly.yml) — the compiled-incharly agentteamsmanagement CLI skill: command tree (status,worker|team|human …,apply -f,config), endpoint/token discovery, and worker-create flags.candy/plugin-agentteams/control.go+ the skilldescription) — the CLI's hardcoded default was the upstream published-port convention
http://127.0.0.1:18090, which this box never reproduces: the controller serves:8090in-container with host mappings auto-allocated at deploy, so a default pointing at 18090 failed
every reader. Fixed at the code (the default constant →
http://127.0.0.1:8090) before theprose, per R4a. New deterministic coverage: unit test
TestNewAPIClientDefaultEndpoint(failswithout the change) + the pod-bed check
agentteams-plugin-config-default(charly agentteams configasserts the 8090 default, no network).AGENTTEAMS_LOCAL_ONLYremoved from the deploy-overridable env list(
candy/agentteams/charly.ymlskill entity) — the plugins validator's FAIL docs: bump plugins → pr-validator always comments on the PR #2 surfaced thefalse claim: nothing consumes the variable (the controller candy's
env_accept:lacks it, thestart script never reads it, and the upstream AgentTeams v1.2.2 controller binary never reads it
— it is an interactive install-time choice in the upstream installer, not a runtime env var).
Removed at the source; the marketplace and docs projections are regenerated in the producer PRs
(feat(marketplace): add the agentteams skill family marketplace#151, docs: drop AGENTTEAMS_LOCAL_ONLY from the agentteams recipe env list docs#42).
charly-agentteamsenabled plugin (.claude/settings.jsonenabledPlugins) — consistentwith the existing tracked marketplace-plugin entries.
charly marketplace generatematerializesplugins/agentteams/and
charly docs generateemits the reference pages +recipes/agentteams/*, both with thecorrected default. Both regenerations are deterministic no-ops on a clean tree. The regenerated
producer heads ride via gitlink bumps (commit
c9f10bcd): docs →25fe13e(docs: correct the agentteams-cli controller endpoint default to 8090 docs#41 endpoint fix + feat(landing): squash-only merges; a PR is updated in place, never closed and recreated #42 local-only regen, tag
v2026.224.2253), plugins →6d58de3(feat(marketplace): add the agentteams skill family marketplace#151 agentteams family, tagv2026.224.2257).CHANGELOG/2026.224.2355.mdstaged (placeholder CalVer, finalized at merge),covering both the endpoint-default fix and the
AGENTTEAMS_LOCAL_ONLYsource fix.Change class
mixed (Go + config + docs)— a runtime code change (control.goendpoint default constant +its test) + declarative doc entities + a new bed check in
charly.yml+ CHANGELOG. Theruntime-class gate applies: the disposable pod bed.
How R10-tested — exact gate, commands, and pasted output
charly check run check-agentteams-podon the disposable pod bed (build → check box → fleet add → config →start → check live → fresh update → teardown), now including the new
agentteams-plugin-config-defaultcheck — at zero warnings; plus the non-runtimestandards:
charly box validateclean, both regenerations deterministic no-ops, thefail-closed whole-site link gate, and the unit suite (
go test ./...in the charly moduleincluding the new default-endpoint test).
check-agentteams-pod(disposable).bin/charly(2026.224.2157) rebuilt from the fixed source; thechanged code path — the CLI's
newAPIClientdefault resolution — executes live inside the bedvia the
agentteams-plugin-config-defaulthost step.Attribution tier
fully tested and validated— every runtime standard ran: the fresh-rebuild disposable pod bedat zero warnings (including the new
agentteams-plugin-config-defaultcheck that fails withoutthe
control.gochange), the unit suite including the new default-endpoint test,charly box validateclean, both regenerations deterministic no-ops incl. the fail-closed link gate. Thechanged runtime path (the CLI default endpoint resolution) executed live inside the bed.
Harness rulebook compliance — state HOW each is satisfied (or
N/A — <reason>)/charly-internals:skills(skill authoring + marketplace-family mechanics +published-surface rules),
/charly-internals:plugin(theplugin:block + family registry),/charly-build:docs(the generated-site contract + link gate),/charly-check:check(the bed/charly-internals:go(the compiled-in plugin module) loadedbefore authoring.
fallback inherited the upstream published-port convention the agentteams box does not reproduce
(the candy
port:schema has no host-port pinning; host mappings auto-allocate). Fixed at thecode before the prose (R4a). Bed + validate + regenerations all at zero warnings.
Unit-7 docs wrong); the source drifts the regeneration surfaced (gemini split, k8s→kubernetes
projection) are absorbed in the producer PRs, not parked.
marketplace:source; the skills aregenerated from the candy
skill:entities; the endpoint default is a single constant.charly-managed resources; the fix is the product's behavior, not a doc caveat.
git grep 18090on the sourcesreturns only fix-narrative context — the historical
CHANGELOG/2026.224.0759.md(the Unit-5record of the original default), the env-override test in
control_test.go(which exercisesAGENTTEAMS_CONTROLLER_URLwith a non-default URL), and the bed-check comment incharly.ymlexplaining the fix — never a live default; every generated page and the code carry 8090. A
claim-keyed
grep -rn AGENTTEAMS_LOCAL_ONLYon the superproject sources returns nothing (thefalse deploy-overridable claim is fully removed; the identifier never shipped in docs history).
origin/main(55dc23ea); the gitlink bumps landed as afast-forward commit (
c9f10bcd) only after both producers merged — never staged againstunmerged branch commits.
check-agentteams-podbed ran (below), exit 0, zero warnings.N/Afor the docs half; the OCI artifact's baked checks areasserted by the bed's check-live phase.
bin/charly(2026.224.2157) built from thefixed source; no runtime OS deps added.
charly check run check-agentteams-podon thedisposable: truepod bed, fresh rebuild; the newagentteams-plugin-config-defaultcheck +TestNewAPIClientDefaultEndpointfail without the change. TheAGENTTEAMS_LOCAL_ONLYsourcefix is a skill-entity text change — its gate is the regeneration determinism (both producer
regenerations are no-ops on the committed tree) + the R5 grep, both green.
description:+ a deterministiccheck:—charly box validatepasses. SDD/RDD:N/A— no schema change.77929297) + the endpoint fix commit + thegitlink-bump commit (
c9f10bcd) after both producers merged; no "Phase 2/TODO/deferred" leftin scope.
(
candy/plugin-agentteams/), not the kernel; import purity unchanged.disposable: true; no other destroy/rebuild.go test ./...green, zero warnings.CHANGELOG/2026.224.2355.mdstaged (placeholder CalVer — the pr-validatorfinalizes it).
Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)