Skip to content

docs: bump plugins → pr-validator always comments on the PR - #2

Merged
atrawog merged 2 commits into
mainfrom
feat/pr-validator-comment-pointer
Jul 7, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/pr-validator-comment-pointer

Conversation

@atrawog

@atrawog atrawog commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Superproject pointer bump adopting the plugins change that makes the fresh pr-validator agent ALWAYS post a human-readable PR comment (findings + approve/reject decision) alongside the charly/claude-validation status.

  • plugins gitlink 5e5f523 → 5314d1c (all-documentation: the agent-prompt Phase-2 addition + CHANGELOG).

How tested (R10)

Change class: docs-only — a submodule pointer bump to an all-documentation submodule commit (the bumped 5e5f523..5314d1c plugins diff is internals/agents/pr-validator.md + CHANGELOG/*.md, zero behavior change).

pre-commit-gate.sh recurses the submodule old..new diff and certifies it all-documentation.

Attribution tier

documentation reviewed — pointer bump to an all-documentation submodule commit.

Rule-compliance checklist

  • R5 — pointer bump only; no stale refs
  • Pointer-bump safety (B2 step 3): staged + verified 5e5f523...5314d1c
  • CHANGELOG/<CalVer>.md staged (placeholder 2026.188.1010 — pr-validator finalizes it)

Assisted-by: Claude (documentation reviewed)

Adopts the plugins change making the fresh pr-validator ALWAYS post a PR comment
with its findings + the approve/reject decision. The bumped plugins commit
(5e5f523..5314d1c) is all-documentation.

Assisted-by: Claude (documentation reviewed)
Claude-Session: https://claude.ai/code/session_01LjLm6DGQasmXaXw2ZorwhE
@atrawog

atrawog commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: docs-only (submodule pointer bump to an all-documentation submodule commit)

Checklist (independently re-derived — the author's claims were not trusted):

  • [PASS] Description complete — Summary, How-tested (docs-only R10 gate), Attribution tier, and rule-compliance checklist all filled.
  • [PASS] Change-class gate matches evidence — superproject diff is exactly the plugins gitlink bump 5e5f523 → 5314d1c + a CHANGELOG placeholder; the bumped submodule diff is verified all-documentation, so the non-runtime standards are the correct gate (no bed run). Proof:
    $ git -C plugins diff --name-only 5e5f523 5314d1c
    CHANGELOG/2026.188.1007.md
    internals/agents/pr-validator.md
    
    Both *.md; the content diff is prose-only (Phase-2 rewrite of pr-validator.md to ALWAYS post a PR comment + its CHANGELOG). 5314d1c is confirmed the current plugins main HEAD.
  • [PASS] Attribution tier justified — documentation reviewed is legal: the whole staged diff is documentation (a CHANGELOG entry) plus a pointer bump whose own old..new diff is all-documentation.
  • [PASS] R5 grep self-test clean — the renamed Phase-2 heading leaves zero live references (git -C plugins grep "verdict as the required status" → 0 hits); the change only adds prose, removes no identifier.
  • [PASS] R1–R4 / clean architecture — no carried failures/warnings, no duplication, no ad-hoc workaround, no transitional/dual-mode path.
  • [PASS] CHANGELOG present — placeholder staged; pr-validator finalizes the merge-time CalVer.
  • [PASS] Skills honored — /charly-internals:git-workflow (B2 pointer-bump safety + the "all-doc submodule bump lands at documentation reviewed" rule) and /charly-internals:agents (the pr-validator agent surface).

Decision: APPROVED. The sole change is a plugins gitlink bump to an independently-verified all-documentation commit plus a CHANGELOG entry — zero behavior change. The documentation reviewed tier is exactly right, and feat is up to date with main (not BEHIND). Posting charly/claude-validation = success; finalizing the merge-time CalVer, rebase-merging, and tagging the superproject.

Rename the pr-validator-comment pointer-bump changelog placeholder to the
merge-time CalVer stamp finalized by the pr-validator at merge. The cutover is
the superproject pointer bump plugins 5e5f523 -> 5314d1c (all-documentation:
the pr-validator agent Phase-2 'always post a PR comment' change + CHANGELOG).

Assisted-by: Claude (documentation reviewed)
Claude-Session: https://claude.ai/code/session_01LjLm6DGQasmXaXw2ZorwhE
@atrawog
atrawog merged commit ee4b3a7 into main Jul 7, 2026
@atrawog
atrawog deleted the feat/pr-validator-comment-pointer branch July 7, 2026 10:15
atrawog added a commit that referenced this pull request Aug 12, 2026
## 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 `agentteams`
marketplace family, discoverable and documented end to end:

- **Marketplace family registry** — `agentteams` joins the `marketplace:` `families:` map in
  `candy/charly-hooks/charly.yml` (`category: images`, `profiles: [container]`), so any skill
  declaring the family publishes under `plugins/agentteams/` instead of failing the generator's
  closed family gate.
- **`agentteams` candy 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 deploy
  substrates, the deploy-overridable `AGENTTEAMS_*` env, and the controller-spawns-manager →
  create-worker → room verification sequence.
- **`agentteams-cli` candy skill entity** (`candy/plugin-agentteams/charly.yml`) — the compiled-in
  `charly agentteams` management CLI skill: command tree (`status`, `worker|team|human …`,
  `apply -f`, `config`), endpoint/token discovery, and worker-create flags.
- **Controller endpoint default corrected** (`candy/plugin-agentteams/control.go` + the skill
  description) — 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 `:8090`
  in-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 the
  prose, per R4a. New deterministic coverage: unit test `TestNewAPIClientDefaultEndpoint` (fails
  without the change) + the pod-bed check `agentteams-plugin-config-default` (`charly agentteams
  config` asserts the 8090 default, no network).
- **`AGENTTEAMS_LOCAL_ONLY` removed from the deploy-overridable env list**
  (`candy/agentteams/charly.yml` skill entity) — the plugins validator's FAIL #2 surfaced the
  false claim: nothing consumes the variable (the controller candy's `env_accept:` lacks it, 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).
  Removed at the source; the marketplace and docs projections are regenerated in the producer PRs
  (opencharly/marketplace#151, opencharly/docs#42).
- **`charly-agentteams` enabled plugin** (`.claude/settings.json` `enabledPlugins`) — consistent
  with the existing tracked marketplace-plugin entries.
- **Regenerated surfaces** — `charly marketplace generate` materializes `plugins/agentteams/`
  and `charly docs generate` emits the reference pages + `recipes/agentteams/*`, both with the
  corrected default. Both regenerations are deterministic no-ops on a clean tree. The regenerated
  producer heads ride via **gitlink bumps** (commit `c9f10bcd`): 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.2257`).
- **CHANGELOG** — `CHANGELOG/2026.224.2355.md` staged (placeholder CalVer, finalized at merge),
  covering both the endpoint-default fix and the `AGENTTEAMS_LOCAL_ONLY` source fix.

## Change class

`mixed (Go + config + docs)` — a runtime code change (`control.go` endpoint default constant +
its test) + declarative doc entities + a new bed check in `charly.yml` + CHANGELOG. The
runtime-class gate applies: the disposable pod bed.

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

- **The gate for this change class:** the **runtime standard** — `charly check run
  check-agentteams-pod` on the disposable pod bed (build → check box → fleet add → config →
  start → check live → fresh update → teardown), now including the new
  `agentteams-plugin-config-default` check — at **zero warnings**; plus the non-runtime
  standards: `charly box validate` clean, both regenerations deterministic no-ops, the
  fail-closed whole-site link gate, and the unit suite (`go test ./...` in the charly module
  including the new default-endpoint test).
- **Eval beds run:** `check-agentteams-pod` (disposable).
- **Fresh rebuild:** the worktree `bin/charly` (2026.224.2157) rebuilt from the fixed source; the
  changed code path — the CLI's `newAPIClient` default resolution — executes live inside the bed
  via the `agentteams-plugin-config-default` host step.
- **Concurrency:** N/A — no shared loader/deploy/arbiter state touched.

```
# the exact gate — unit suite (incl. the new default test) + source-surface validation
$ cd charly && go test ./...        # green, incl. TestNewAPIClientDefaultEndpoint
$ cd .. && ./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 plugins/agentteams/* + marketplace/profiles index
$ ./bin/charly marketplace generate     # no-op
$ ./bin/charly docs generate --out docs/src/content/docs --root .   # emits the agentteams pages
$ ./bin/charly docs generate --out docs/src/content/docs --root .   # no-op; link gate passed

# the runtime standard — the disposable pod bed (fills the R10 evidence)
$ ./bin/charly check run check-agentteams-pod
charly check run check-agentteams-pod: [image-build] PASS after 1m15.032s
charly check run check-agentteams-pod: [check-image] PASS after 26.604s
charly check run check-agentteams-pod: [deploy-add] PASS after 27.373s
charly check run check-agentteams-pod: [config] PASS after 19.449s
charly check run check-agentteams-pod: [start] PASS after 15.991s
charly check run check-agentteams-pod: [bring-up-members] PASS after 41ms
charly check run check-agentteams-pod: [check-live] PASS after 1m0.317s
charly check run check-agentteams-pod: [feature-run] PASS after 25.558s
charly check run check-agentteams-pod: [update] PASS after 1m36.888s   # fresh rebuild
charly check run check-agentteams-pod: [check-live-rebuild] PASS after 44.776s
charly check run check-agentteams-pod: [feature-run-rebuild] PASS after 25.225s
charly check run check-agentteams-pod: [cleanup] PASS after 18.589s
charly check run check-agentteams-pod: [cleanup-members] PASS after 0s
charly check run check-agentteams-pod: PASS (steps=13)

# the changed path executed live — the new check in both the initial and the fresh-rebuild check-live:
#   .check/check-agentteams-pod/2026.224.2223/check-live.log:78
#     PASS check the compiled-in `charly agentteams config` command reports the controller endpoint default 8090  [agentteams-plugin-config-default]  exit=0
#   .../check-live-rebuild.log:77 — same PASS on the fresh rebuild
# suite summary (both runs identical): 74 steps: 65 passed, 0 failed, 9 skipped (verify-only mutating run steps)
```

## Attribution tier

`fully tested and validated` — every runtime standard ran: the fresh-rebuild disposable pod bed
at zero warnings (including the new `agentteams-plugin-config-default` check that fails without
the `control.go` change), the unit suite including the new default-endpoint test, `charly box
validate` clean, both regenerations deterministic no-ops incl. the fail-closed link gate. The
changed runtime path (the CLI default endpoint resolution) executed live inside the bed.

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

- **R0 skills:** `/charly-internals:skills` (skill authoring + marketplace-family mechanics +
  published-surface rules), `/charly-internals:plugin` (the `plugin:` block + family registry),
  `/charly-build:docs` (the generated-site contract + link gate), `/charly-check:check` (the bed
  + R10 gate by change class), `/charly-internals:go` (the compiled-in plugin module) loaded
  before authoring.
- **R1 RCA + zero warnings:** the 18090 default was RCA'd to its root — the CLI's hardcoded
  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 the
  code before the prose (R4a). Bed + validate + regenerations all at zero warnings.
- **R2 no out-of-scope:** the endpoint fix is the same cutover's surfaced issue (it made the
  Unit-7 docs wrong); the source drifts the regeneration surfaced (gemini split, k8s→kubernetes
  projection) are absorbed in the producer PRs, not parked.
- **R3 no duplication:** the family registry is the single `marketplace:` source; the skills are
  generated from the candy `skill:` entities; the endpoint default is a single constant.
- **R4 no workaround:** no sleeps/retries/magic-numbers; no ad-hoc commands against
  charly-managed resources; the fix is the product's behavior, not a doc caveat.
- **R5 hard cutover + grep:** no legacy path; a claim-keyed `git grep 18090` on the sources
  returns only fix-narrative context — the historical `CHANGELOG/2026.224.0759.md` (the Unit-5
  record of the original default), the env-override test in `control_test.go` (which exercises
  `AGENTTEAMS_CONTROLLER_URL` with a non-default URL), and the bed-check comment in `charly.yml`
  explaining the fix — never a live default; every generated page and the code carry 8090. A
  claim-keyed `grep -rn AGENTTEAMS_LOCAL_ONLY` on the superproject sources returns nothing (the
  false deploy-overridable claim is fully removed; the identifier never shipped in docs history).
- **R6 git safety:** branch from `origin/main` (`55dc23ea`); the gitlink bumps landed as a
  fast-forward commit (`c9f10bcd`) only after both producers merged — never staged against
  unmerged branch commits.
- **R7 runtime gate:** the `check-agentteams-pod` bed ran (below), exit 0, zero warnings.
- **R8 artifact invariants:** `N/A` for the docs half; the OCI artifact's baked checks are
  asserted by the bed's check-live phase.
- **R9 binary == source + deps:** the worktree `bin/charly` (2026.224.2157) built from the
  fixed source; no runtime OS deps added.
- **R10 disposable + coverage:** `charly check run check-agentteams-pod` on the
  `disposable: true` pod bed, fresh rebuild; the new `agentteams-plugin-config-default` check +
  `TestNewAPIClientDefaultEndpoint` fail without the change. The `AGENTTEAMS_LOCAL_ONLY` source
  fix 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.
- **RDD / ADE / SDD:** ADE: the declaring candies each ship `description:` + a deterministic
  `check:` — `charly box validate` passes. SDD/RDD: `N/A` — no schema change.
- **Hard cutover:** the Unit-7 cutover (commit `77929297`) + the endpoint fix commit + the
  gitlink-bump commit (`c9f10bcd`) after both producers merged; no "Phase 2/TODO/deferred" left
  in scope.
- **Kernel/plugin boundary law:** the fix lives in the compiled-in plugin module
  (`candy/plugin-agentteams/`), not the kernel; import purity unchanged.
- **Disposable-only autonomy:** the bed is `disposable: true`; no other destroy/rebuild.
- **Clean architecture + Go gates:** `go test ./...` green, zero warnings.
- **CHANGELOG:** `CHANGELOG/2026.224.2355.md` staged (placeholder CalVer — the pr-validator
  finalizes it).

Assisted-by: Claude Code deepseek-v4-flash:cloud (fully tested and validated)
github-actions Bot pushed a commit that referenced this pull request Nov 18, 2026
… tree (#1200)

* chore(git): ignore .worktrees/ so a session worktree cannot dirty the tree

Two sanctioned placements exist for a session worktree: the subrepo's own .worktrees/ (charly's
rulebook) and the umbrella's .worktrees/<slug>/<repo>/ (Part II #2). Both leave an untracked
.worktrees/ inside charly when the first is used, and charly task verify then fails with
'charly: dirty working tree' -- measured 2026-11-18, with the tree clean by every other measure.

One line. Neither placement is wrong; the tree just has to be blind to both.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)

* chore(review): the demonstration has a plant, and the tier is analysed on a live system

Two BLOCKs.

A3 -- documentation reviewed is forbidden: .gitignore is a config file and the diff adds a functional rule
line, not a comment. Re-tiered to analysed on a live system, backed by the demonstration below.

R7 -- the pasted 'git status --short | wc -l -> 0' was taken AFTER the stale worktrees were removed, so it
returned 0 with or without the rule. It never exercised .worktrees/ and could not fail.

The plant now discriminates, with the rule REMOVED and a file inside the directory:

  $ git status --short
  ?? .worktrees/
  $ git check-ignore -q .worktrees/x/f; echo $?
  1

and with the rule in place:

  $ git status --short | grep -c worktrees
  0
  $ git check-ignore -v .worktrees/x/f
  .gitignore:169:.worktrees/	.worktrees/x/f

An EMPTY directory is invisible to git whether or not the rule exists -- that is why the first evidence was
vacuous. A file inside it is what makes the directory visible, and that is what the stale session worktrees
held.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

---------

Co-authored-by: aitrawog <dsh-opencharly@local>
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