Skip to content

docs(agentteams): R3 polish — use case + define kine/reconciler/openclaw/Team/Room - #256

Merged
atrawog merged 6 commits into
mainfrom
feat/agentteams-recipe-r3
Aug 13, 2026
Merged

atrawog merged 6 commits into
mainfrom
feat/agentteams-recipe-r3

Conversation

@atrawog

@atrawog atrawog commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

The R3 follow-on batch from the PR #255 cold-reader (PR #255 Phase 1b): the
agentteams and agentteams-cli skill pages left kine/reconciler/openclaw/
Team/Room undefined and never stated the product's use case. Fixed at the
source, then the marketplace and docs projections regenerated:

  • agentteams skill entity (candy/agentteams/charly.yml) — now states
    the use case ("run a team of AI agents that collaborate on a task") and
    defines on first use: kine (a lightweight storage shim that backs the API
    server with SQLite), reconciler (a loop that watches declared resources and
    drives the running system toward them), openclaw (an AI agent gateway
    runtime), Team (a group of Workers that share a Room), and Room (a chat space
    on the Matrix homeserver).
  • agentteams-cli skill entity (candy/plugin-agentteams/charly.yml) —
    states the CLI's use case (manage a running AgentTeams deployment) and
    defines openclaw in the worker create example.
  • R3b follow-on (docs fix(hooks): key late staging on ANY index-mutating verb, not just add/stage #44 cold-reader) — Human is now defined on first
    use in both skill entities (a real person — a human-in-the-loop participant
    with an identity and permission tier — who can observe and intervene in the
    Rooms their permissions allow), and the worker-image narrative is corrected
    (a Worker container runs the openclaw gateway plus the agt and mc
    tools and the shared protocol libs, not "the openclaw worker runtime").
  • Regenerated surfaces — charly marketplace generate materializes the two
    corrected plugins/agentteams/skills/*/SKILL.md files and charly docs generate
    the two corrected recipes/agentteams/* pages, both deterministic no-ops on a
    clean tree. The regenerated producer heads ride via gitlink bumps (commit
    02cdb99d): plugins → 07cfa8a (docs(agentteams): R3b fix — define Human + correct the worker-image narrative marketplace#154, tag
    v2026.225.0112), docs → 2d0840e3 (docs(agentteams): R3 polish — use case + define kine/reconciler/openclaw/Team/Room docs#44, tag v2026.225.0144).
  • CHANGELOG — CHANGELOG/2026.225.0003.md staged (placeholder CalVer,
    finalized at merge).

Change class

documentation-only — declarative skill: entity prose + regenerated generated
pages + CHANGELOG. Non-runtime standards only; no bed required.

How R10-tested — exact gate, commands, and pasted output

  • The gate for this change class: the non-runtime standards — charly box validate clean, both regenerations deterministic no-ops (a re-run of each on the
    committed tree is a no-op, exit 0), the fail-closed whole-site link gate, and the
    R5 claim-keyed grep self-test.
# source-surface validation
$ ./bin/charly box validate
exit 0, zero warnings

# deterministic regeneration of both derived surfaces (each re-run is a no-op, exit 0)
$ ./bin/charly marketplace generate     # writes the two corrected plugins/agentteams SKILL.md files
$ ./bin/charly marketplace generate     # no-op
$ ./bin/charly docs generate --out docs/src/content/docs --root .   # emits the two corrected recipe pages
$ ./bin/charly docs generate --out docs/src/content/docs --root .   # no-op; link gate passed

Attribution tier

documentation reviewed — documentation-only change class; every non-runtime
standard passed (charly box validate clean, both regenerations deterministic
no-ops incl. the fail-closed link gate).

Harness rulebook compliance — state HOW each is satisfied (or N/A — <reason>)

  • R0 skills: /charly-internals:skills (skill authoring + published-surface
    rules), /charly-build:docs (the generated-site contract + link gate),
    /charly-check:check (the change-class gate) loaded before authoring.
  • R1 RCA + zero warnings: the cold-reader's findings were RCA'd to their root —
    the skill pages left kine/reconciler/openclaw/Team/Room undefined and never
    stated the use case because the source skill: entities carried no such
    narrative. Fixed at the source (the skill: entities) before the projections
    were regenerated (R4a). Validate + both regenerations at zero warnings.
  • R2 no out-of-scope: the narrative gap is the same cutover's surfaced issue
    (validator Phase 1b on PR docs(agentteams): recipe-card quality — what-is narrative + defined terms #255); nothing parked.
  • R3 no duplication: the skill pages are generated from the single skill:
    entity source; no hand-edited copy.
  • R4 no workaround: the fix is the source's corrected narrative, not a doc
    caveat.
  • R5 hard cutover + grep: no legacy path; the pages state current behavior in
    present tense.
  • R6 git safety: branch from origin/main (7198a71c); the gitlink bumps land
    as a fast-forward commit only after both producers merge — never staged against
    unmerged branch commits.
  • R7–R11: N/A — documentation-only change class (no code, no runtime gate,
    no artifact/binary surfaces).
  • RDD / ADE / SDD: N/A — no schema change; the pages are generated
    projections of committed source entities.
  • CHANGELOG: CHANGELOG/2026.225.0003.md staged (placeholder CalVer — the
    pr-validator finalizes it).

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

…law/Team/Room

The R3 follow-on batch from the PR #255 cold-reader (PR #255 Phase 1b): the
agentteams and agentteams-cli skill pages left kine/reconciler/openclaw/Team/
Room undefined and never stated the product's use case. Fixed at the source
skill: entities:

- agentteams skill entity (candy/agentteams/charly.yml) — now states the use
  case (run a team of AI agents that collaborate on a task) and defines on
  first use: kine (a lightweight storage shim that backs the API server with
  SQLite), reconciler (a loop that watches declared resources and drives the
  running system toward them), openclaw (an AI agent gateway runtime), Team (a
  group of Workers that share a Room), and Room (a chat space on the Matrix
  homeserver).
- agentteams-cli skill entity (candy/plugin-agentteams/charly.yml) — states
  the CLI's use case (manage a running AgentTeams deployment) and defines
  openclaw in the worker create example.
- CHANGELOG/2026.225.0003.md staged (placeholder CalVer, finalized at merge).

The regenerated producer heads (plugins#153, docs#44) ride via gitlink bumps
in a follow-up commit once both producers merge. Documentation-only change
class — non-runtime standards ran: charly box validate clean, both
regenerations byte-identical on re-run, whole-site link gate passed.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
@atrawog

atrawog commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator coordination note (from docs#44 validation)

Validating opencharly/docs#44 (the R3 recipe-page projection) surfaced an interaction with this PR that its author needs to know about — it does not block docs#44, which is valid on its own merits.

Finding: this PR pins the plugins gitlink at c02a6d3 (R2), but plugins origin/main is now at 44b0759 (R3, the squash-merge of plugins#153). The docs#44 pages are generated from the plugins R3 SKILL.md files; for the superproject to ship a state consistent with those pages, this PR must bump the plugins gitlink to 44b0759 before it lands. Without the bump, the superproject would pin plugins at R2 while the published recipe pages describe the R3 narrative.

The source skill: entities in this PR (candy/agentteams/charly.yml, candy/plugin-agentteams/charly.yml) are the R3 narrative and are correct; only the gitlink needs the bump. git -C plugins fetch origin && git -C plugins checkout 44b0759 then stage the gitlink, or git submodule update --remote plugins if the pin policy allows.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

plugins origin/main is now at 44b0759 (opencharly/marketplace#153, v2026.225.0029)
— the R3 skill pages. The docs generator reads the plugins submodule's
SKILL.md files, so the superproject pin must ride the R3 head for the docs
#44 regeneration determinism check to pass at the pinned state. The docs
gitlink bump to the docs#44 merged head lands in a follow-up commit once
docs #44 merges.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
…arrative

The docs #44 cold-reader surfaced two further findings, fixed at the source
skill: entities:

- Human defined on first use: a real person — a human-in-the-loop
  participant with an identity and permission tier — who can observe and
  intervene in the Rooms their permissions allow.
- Worker-image narrative corrected: a Worker container runs the openclaw
  gateway plus the agt and mc tools and the shared protocol libs (not
  "the openclaw worker runtime").

The marketplace and docs projections regenerate from these entities; the
producer heads ride via gitlink bumps after opencharly/marketplace#154 and
opencharly/docs#44 merge.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
opencharly/marketplace#154 merged (07cfa8a, v2026.225.0112) — the R3b fix
(Human defined on first use + corrected worker-image narrative) now rides
in the plugins submodule. The docs gitlink bump lands after opencharly/docs#44
merges.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
opencharly/docs#44 merged (2d0840e3, v2026.225.0144) — the R3b fix
(Human defined on first use + corrected worker-image narrative) now rides
in the docs submodule. Both producer heads (plugins 07cfa8a, docs 2d0840e3)
are merged; the superproject source edits + gitlink bumps land together.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
@atrawog

atrawog commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: documentation-only (declarative skill: entity prose + CHANGELOG + two gitlink bumps to all-documentation producer heads)

Head SHA validated: 02cdb99d3239a717189ad33a435a42857805296b

Checklist

  • [PASS] 0. Security & anti-tampering (T1–T4) — no exfiltration, no scope mismatch, no weakened guardrail, no supply-chain change, no embedded directive aimed at the validator. The diff is exactly the described scope: two skill: entity prose edits, the CHANGELOG entry, and the two gitlink bumps.
  • [PASS] 1. Description complete — template filled; Summary accounts for every file; How R10-tested block names the exact change-class gate with pasted commands+results; Attribution tier stated; rule-compliance section answers every applicable rule with a HOW or N/A — <reason>; body ends with the *Assisted-by: …* footer.
  • [PASS] 2. Change-class gate matches evidence — documentation-only class → the non-runtime standards gate (no bed required for this class). Re-ran all three gates myself: charly box validate exit 0 zero warnings; charly marketplace generate deterministic no-op (clean tree after re-run); charly docs generate --out docs/src/content/docs --root . deterministic no-op incl. the fail-closed whole-site link gate (clean tree after re-run).
  • [PASS] 3. Attribution tier justified — documentation reviewed is the correct tier for a documentation-only class with every non-runtime standard passed. Trailer identity (Claude Code deepseek-v4-flash:cloud) matches the authoring runtime.
  • [PASS] 4. R0 skills honored — /charly-internals:skills, /charly-build:docs, /charly-check:check (change-class gate) loaded; regenerated surfaces spot-checked against the skill text.
  • [PASS] 5. R1 RCA + zero warnings — the cold-reader findings were RCA'd to their root (the source skill: entities carried no narrative) and fixed at the source before regeneration (R4a). All gates at zero warnings.
  • [PASS] 6. R2 no out-of-scope split — the narrative gap is the same cutover's surfaced issue; nothing parked. (Cold-reader depth questions documented below as non-blocking for the next batch.)
  • [PASS] 7. R3 no duplication — the skill pages are generated from the single skill: entity source; no hand-edited copy. The Human definition appears in both skill entities because each is a standalone published page (define-on-first-use for self-contained pages) — the correct pattern, not duplication.
  • [PASS] 8. R4 no workaround — the fix is the source's corrected narrative, not a doc caveat.
  • [PASS] 9. R5 hard cutover + grep — openclaw worker runtime swept clean across superproject + both submodules (only hit is the plugins CHANGELOG/2026.225.0112.md history, the sanctioned context); no transitional/dual-mode content.
  • [N/A] 10. R6/R8/R9 — documentation-only; no destructive git action, no Containerfile/label generation, no binary.
  • [PASS] 11. R10 — documentation-only class; non-runtime standards all passed (box validate clean, both regenerations deterministic no-ops, link gate, R5 grep). No bed required.
  • [N/A] 12. RDD/ADE/SDD — no schema change; the skill: entity content edits do not touch the candy's plan:/description: (ADE unaffected); charly box validate confirms the entity structure.
  • [N/A] 13. Concurrency mandate + anti-cheat — no shared-state code, no concurrency surface; no forbidden framing in the body.
  • [PASS] 14. Hard cutover — one atomic cutover per repo; the 5 feat-branch commits squash into one on main; no Phase-2/TODO.
  • [N/A] 15. Architecture gate — docs-only; no charly/*.go changes. placement: CORRECT (docs-only).
  • [N/A] 16. Disposable-only autonomy — no destroy/rebuild in the evidence.
  • [N/A] 17. Clean architecture + go gates — no Go changes.
  • [PASS] 18. CHANGELOG present — CHANGELOG/2026.225.0003.md staged; filename matches ^\d{4}\.\d{3}\.\d{4}\.md$; H1 byte-equals # 2026.225.0003 — …; placeholder CalVer does not collide with any existing CHANGELOG/*.md or v* tag on main.

Gitlink verification

Source-liveness of behavior claims

The new prose claims were checked against the committed candy definitions: the worker image (candy/agentteams-worker/charly.yml) composes agentteams-openclaw (the openclaw gateway runtime) + agentteams-cli (agt REST client + mc) + the shared protocol libs and "execs the openclaw gateway" — matching the corrected narrative. kine/reconciler/Team/Room/Human claims match the controller and top-composition descriptions.

Comments considered

  • atrawog (coordination note from docs#44 validation): flagged that this PR must bump the plugins gitlink to the R3 head (44b0759) before landing. Disposition: verified-non-blocking — the concern was addressed by the subsequent commits (4e6b406a bumped plugins to 44b0759, then 4b1cb9c0 to 07cfa8a).

Cross-PR interactions considered

Cold-reader findings (Phase 1b)

A fresh cold reader (forbidden every other source) read the four regenerated pages. The R3/R3b fixes are effective: kine, reconciler, Team, Room, Human are now "Confident as defined" and the use case is stated. Remaining findings are verified-non-blocking — depth enhancements and pre-existing content, none making the R3/R3b fixes incorrect:

  • Depth questions (what "intervene" means concretely, how a Manager plans, what openclaw/Higress/mc-mirror do, who creates Rooms, how LLM access is wired) — natural next-round polish beyond this PR's stated scope (define the flagged terms + state the use case).
  • The agt tension (containers run agt; the operator CLI is "no upstream agt binary") — pre-existing, reconcilable (different subjects: container contents vs operator CLI), not a hard contradiction.
  • "Who creates Workers" (Manager vs operator CLI) — pre-existing, reconcilable.
  • The charly vm cp-box command — correct per the /charly-vm:vm syntax (cp-box <vm> <ref> [--as <tag>]); the cold reader lacked that context.
  • Recipe pages being copies of the skills — by design (the docs generator emits recipe cards from skill entities).

Decision

PASS. The diff is exactly the described scope; both gitlink bumps point at the merged producer heads (plugins#154 07cfa8a/v2026.225.0112, docs#44 2d0840e3/v2026.225.0144); the regenerated surfaces carry the R3b fix; all three gates re-ran clean at zero warnings; the CHANGELOG placeholder is correct; the attribution tier is justified. Proceeding to finalize the merge-time CalVer, squash-merge, and tag.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

Rename the placeholder CHANGELOG entry to the merge-time CalVer and
rewrite its H1 to match.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
@atrawog
atrawog merged commit bcfa52f into main Aug 13, 2026
@atrawog
atrawog deleted the feat/agentteams-recipe-r3 branch August 13, 2026 01:57
@atrawog

atrawog commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — merge outcome

The charly/pr-validator success status was posted on the final head 3b5777edc8b4a08e8d2d116d5f3e370b7935c058 (ALLOWED). The squash merge was ALLOWED by the merge classifier.

  • Merged: bcfa52f6799a2665c16c586292a4db6149996a19 (squash, one commit on main)
  • Subject: docs(agentteams): R3 polish — use case + define kine/reconciler/openclaw/Team/Room
  • Squash trailer proof: pre-merge parse = Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed); merged bcfa52f6 parse = Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed) — byte-identical.
  • Gitlinks in the merged commit: plugins → 07cfa8a (v2026.225.0112), docs → 2d0840e3 (v2026.225.0144) — the merged producer heads.
  • Tagged: v2026.225.0155 on bcfa52f6 (pushed, verified on remote).

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

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