Skip to content

docs: synchronize plugin/agent/skill counts (closes #517) - #522

Merged
wshobson merged 2 commits into
mainfrom
chore/sync-doc-counts-517
May 9, 2026
Merged

wshobson merged 2 commits into
mainfrom
chore/sync-doc-counts-517

Conversation

@wshobson

@wshobson wshobson commented May 9, 2026

Copy link
Copy Markdown
Owner

Summary

Companion to 159ce68 (README.md + CLAUDE.md). Six docs still carried stale counts; updates them to the live numbers verified against find plugins -mindepth 1 -maxdepth 1 -type d | wc -l (80 local), find plugins -path '*/agents/*.md' | wc -l (185), find plugins -path '*/skills/*/SKILL.md' | wc -l (153), and the 100 commands count from CLAUDE.md.

File Before → After
.claude-plugin/marketplace.json metadata.description 79/184/150 → 80/185/153
docs/plugins.md (header + footer link) 78 plugins (77 local) → 81 plugins (80 local); 150 → 153 skills
docs/agents.md (header) 184 agents → 185
docs/agent-skills.md (intro + spec section) 150 skills / 37 plugins → 153 / 40
docs/architecture.md (3 places) 79 plugins / 99 agents / 150 skills + "all 99 agents accessible" → 81 / 185 / 153
docs/usage.md (2 places) 150 skills, 79 plugins → 153 skills, 80 plugins

Test plan

  • grep -nE '\b(78|79|184|99|150)\b' README.md CLAUDE.md .claude-plugin/marketplace.json docs/*.md | grep -iE 'plugin|agent|skill|command|specialized|focused|component' returns no rows.
  • jq '.metadata.description' .claude-plugin/marketplace.json shows the new description.
  • All edits are scoped — no unrelated changes.

Closes #517.

Live counts are 80 local plugins (81 incl. external git-subdir),
185 agents, 153 skills, 100 commands. Six docs were stale:

- marketplace.json metadata.description: 79/184/150 -> 80/185/153
- docs/plugins.md: 78 plugins (77 local) -> 81 plugins (80 local)
- docs/agents.md: 184 agents -> 185
- docs/agent-skills.md: 150 skills / 37 plugins -> 153 skills / 40 plugins
- docs/architecture.md: 79 plugins, 99 agents, 150 skills -> 81/185/153
- docs/usage.md: 150 skills, 79 plugins -> 153 skills, 80 plugins

Companion to 159ce68 which fixed README.md and CLAUDE.md.
@coderabbitai

coderabbitai Bot commented May 9, 2026 •

Copy link
Copy Markdown

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 72f0a4d7-0597-4288-8375-7807afd3083a

📥 Commits

Reviewing files that changed from the base of the PR and between 61234ac and 5f2ff7b.

📒 Files selected for processing (3)
  • docs/agents.md
  • docs/architecture.md
  • docs/plugins.md
✅ Files skipped from review due to trivial changes (2)
  • docs/plugins.md
  • docs/architecture.md
📜 Recent review details
🧰 Additional context used
📓 Path-based instructions (1)
**/*.md

📄 CodeRabbit inference engine (GEMINI.md)

Store skill definitions in skills//SKILL.md files, following the established structure for skill documentation

Files:

  • docs/agents.md
🔇 Additional comments (2)
docs/agents.md (2)

3-3: Header agent total is now consistent with the distribution breakdown.

Good update—the top-level total aligns with the table totals in this file.


230-235: Model Distribution Summary update looks correct.

Counts are internally consistent and sum to 185 as expected.


📝 Walkthrough

Summary by CodeRabbit

  • Documentation
    • Updated marketplace metadata and all docs to reflect expanded ecosystem: focused plugins → 80, specialized agents → 185, skills → 153.
    • Adjusted agent/model distribution and architecture metrics, revised plugin catalog totals, and updated cross-reference counts in guides.

Walkthrough

Synchronizes marketplace counts: manifest metadata updated, then catalog docs (agents, plugins, skills), the agents model-distribution table, architecture metrics, and usage cross-references to reflect 80 plugins, 185 agents, and 153 skills.

Changes

Count Synchronization Across Manifest and Documentation

Layer / File(s) Summary
Manifest Update
.claude-plugin/marketplace.json
Metadata description updated from "79 focused plugins, 184 specialized agents, and 150 skills" to "80 focused plugins, 185 specialized agents, and 153 skills".
Catalog Top-level
docs/agents.md, docs/plugins.md, docs/agent-skills.md, docs/usage.md
Top-level references and "See Also" links updated: agents → 185, plugins → 80 (81 total including external), agent-skills → 153 across 40 plugins; compliance bullet updated to "All 153 skills."
Agents Model Distribution
docs/agents.md (Model Distribution table)
Replaced the "Model Distribution Summary" table: updated counts for Opus, Sonnet, Haiku and added an "Inherit" model row with its count and use case.
Architecture Documentation
docs/architecture.md
Updated average plugin size (3.4→5.5), plugin distribution (→81), component breakdown (→185 agents), agent-skills reference (150→153), model configuration strategy (replaced with a four-tier table), and performance/coverage metrics.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 With whiskers twitching, I tally with glee,
Eighty plugins, one-eighty-five, and one-fifty-three,
Manifests and docs now march in line,
Counts aligned neat — the catalog's fine! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'docs: synchronize plugin/agent/skill counts (closes #517)' clearly summarizes the primary change: updating documentation counts across multiple files to match current verified values.
Description check ✅ Passed The description is well-detailed and directly related to the changeset, providing a comprehensive table of file-by-file updates with before/after counts and a clear test plan.
Linked Issues check ✅ Passed The PR fully addresses issue #517 by synchronizing all required counts (81 plugins, 185 agents, 153 skills) across the six documentation files and marketplace metadata specified in the linked issue.
Out of Scope Changes check ✅ Passed All changes are scoped exclusively to documentation and metadata count updates; no functional code or unrelated modifications are present.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/sync-doc-counts-517
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/sync-doc-counts-517

Comment @coderabbitai help to get the list of available commands and usage tips.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 61234acc82

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .claude-plugin/marketplace.json Resolved

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.claude-plugin/marketplace.json:
- Line 9: Update the "description" value in .claude-plugin/marketplace.json to
match the canonical wording and total: replace "80 focused plugins" with "81
focused plugins (80 local + 1 external)" so the metadata aligns with other docs;
ensure the rest of the sentence ("185 specialized agents, and 153 skills -
optimized for granular installation and minimal token usage") remains unchanged.

In `@docs/agents.md`:
- Line 3: The top-line agent count "Complete reference for all **185 specialized
AI agents**" conflicts with the distribution table that sums to 99 (42+39+18);
reconcile them by either updating the header count to 99 or updating the
distribution table entries so their totals sum to 185, and then search the
document for other occurrences of the agent total and make them consistent
(check the header phrase and the distribution table rows referenced in this
file).

In `@docs/architecture.md`:
- Line 39: The doc contains stale numeric counts (e.g., the string "81 focused
plugins") that aren't consistent across the document; do a full pass over
docs/architecture.md and update every occurrence of plugin/skill/component
counts so they match the new totals (search for strings like "81 focused
plugins", "skills/plugins totals", and the other flagged lines around 197 and
264) and ensure all counts are consistent and accurate throughout the file;
adjust any parenthetical breakdowns (e.g., "80 local + 1 external") to reflect
the canonical numbers and run a quick spell/number check to confirm no other
mismatches remain.

In `@docs/plugins.md`:
- Line 3: The document's plugin-counts are inconsistent: replace the phrase
"Browse all **81 focused, single-purpose plugins**" and any other mismatched
counts (e.g., "77") in docs/plugins.md so every plugin-count statement
consistently reflects the repository rule: "80 plugins" and total "153 skills";
update the one-off mention of the external `qa-orchestra` plugin to note it is
hosted externally but still ensure the overall count reads 80 focused plugins
and that all other occurrences and summaries in the file match that number and
the 153 skills total.

In `@docs/usage.md`:
- Line 394: Update the plugins count text in the docs/usage.md entry that
currently reads "All 80 plugins" to reflect the canonical total of 81 — for
example change the text to "All 81 plugins" or "All 80 local plugins + 1
external (81 total)" so the documentation matches the synchronized count.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 814174f1-43dc-4e34-83c1-32e80013f57f

📥 Commits

Reviewing files that changed from the base of the PR and between a935f69 and 61234ac.

📒 Files selected for processing (6)
  • .claude-plugin/marketplace.json
  • docs/agent-skills.md
  • docs/agents.md
  • docs/architecture.md
  • docs/plugins.md
  • docs/usage.md
📜 Review details
🧰 Additional context used
📓 Path-based instructions (2)
docs/plugins.md

📄 CodeRabbit inference engine (GEMINI.md)

Maintain a comprehensive plugin catalog documenting all 80 plugins and their 153 skills in docs/plugins.md

Files:

  • docs/plugins.md
**/*.md

📄 CodeRabbit inference engine (GEMINI.md)

Store skill definitions in skills//SKILL.md files, following the established structure for skill documentation

Files:

  • docs/plugins.md
  • docs/agent-skills.md
  • docs/agents.md
  • docs/architecture.md
  • docs/usage.md
🔇 Additional comments (1)
docs/agent-skills.md (1)

3-3: Count updates look consistent here.

These changes correctly synchronize the skill totals in this document.

Also applies to: 383-383

Comment thread .claude-plugin/marketplace.json Resolved
Comment thread docs/agents.md Resolved
Comment thread docs/architecture.md Resolved
Comment thread docs/plugins.md Resolved
Comment thread docs/usage.md Resolved
CodeRabbit follow-up on PR #522:

- docs/agents.md model distribution table summed to 99 (42+39+18) but
  the header now says 185 agents. Recounted from frontmatter:
  opus 54, sonnet 62, haiku 20, inherit 49 = 185. Added the missing
  Inherit row.
- docs/architecture.md model distribution table had the same stale
  42/39/18 sum; updated to 54/62/20/49 and renamed "Two-Tier" to
  "Four-Tier" since Inherit is now load-bearing.
- docs/architecture.md "average plugin size: 3.4 components" → 5.5,
  matching (185 + 153 + 100) / 80.
- docs/plugins.md headline reframed from "81 ... 80 local + 1 external"
  to "80 ... plus 1 externally-hosted" to match the GEMINI.md
  path-based rule (catalog headline counts local plugins).

@wshobson wshobson left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in 5f2ff7b:

  • docs/agents.md:3 — model distribution table at lines 232–234 now sums to 185 (opus 54 + sonnet 62 + haiku 20 + inherit 49), with a new Inherit row. Recounted directly from agent frontmatter.
  • docs/architecture.md:39 — same 99-sum bug existed at lines 207–209; fixed identically. Also updated "average plugin size: 3.4 components" → 5.5 (which is the actual (185+153+100)/80), and renamed the section "Two-Tier" → "Four-Tier" since Inherit is now load-bearing.
  • docs/plugins.md:3 — reframed to "80 focused, single-purpose plugins ... plus 1 externally-hosted (qa-orchestra) ... 81 plugins total" to match the GEMINI.md path-based rule that this catalog headlines the 80 local plugins.

Holding the line on marketplace.json:9 and usage.md:394 at "80 plugins" rather than 81. Reasoning: the canonical headline count across this repo is 80 (matches README.md, where "80 focused, single-purpose plugins" appears 6+ times, and the GEMINI.md rule). The 81 = 80 local + 1 external breakdown lives in CLAUDE.md and docs/architecture.md where it's load-bearing. For user-facing one-line strings (marketplace metadata description, See-Also link), the 80 headline is consistent with how the rest of the docs phrase it.

Replying to those two threads inline as well.

@wshobson
wshobson merged commit 9f9ba32 into main May 9, 2026
2 checks passed
@wshobson
wshobson deleted the chore/sync-doc-counts-517 branch May 9, 2026 15:16
wshobson added a commit that referenced this pull request Aug 23, 2026
…sts (#676)

* feat(garden): detect stale doc counts and diverged agent copies

Two checks close gaps that kept surfacing in PR review.

check_doc_counts compares the plugin/agent/skill/command totals quoted in
README.md and AGENTS.md against the live counts, at error severity. Only the
two canonical context files are scanned, because docs/ carries per-category
subtotals that legitimately differ. Plugins count marketplace entries rather
than plugins/ directories, so external git-subdir entries are included the way
the headline figure counts them. Four manual sync PRs (#522, #613, #615, #616)
existed because nothing caught this.

check_agent_divergence groups agent files by filename and compares bodies with
the plugin-namespaced frontmatter name normalized away. Without that
normalization no two copies can ever hash alike, which is why #643 read the
duplication as total divergence. Of 30 duplicated names, 19 are verbatim copies
and 11 have genuinely drifted. Verbatim copies are expected while plugins
install standalone, so they report as info; drifted bodies report as warning.

* test(adapters): pin strip_claude_tool_refs output

The method rewrites Claude tool names in Copilot command bodies and had no test
coverage, so a refactor could change its output silently. #642 did exactly that
while claiming no behavioral change: replacements lost their backticks,
tool_case=normal stopped returning 'read', and a bare `Grep` mapped to rg
instead of `grep`.

These assert the exact output for both tool_case values, both prose forms, and
every mapped tool.

* docs(contributing): rule out payment and access-control tooling in payloads

The commercial section covered funnels to paid products but not a payload that
sells something itself. #670 shipped a Telegram sales bot, USDT payment
verification, and a script granting GitHub collaborator access on payment.

* fix(garden): widen count matching and stop reporting verbatim agent copies

Review feedback on PR #676.

COUNT_RE required two digits, so a drop to single-digit totals would go
unnoticed. It now matches any decimal. It also missed `202 subagents` in the
cross-harness section of AGENTS.md, which is the same total under a different
name, so `subagents` is now an alias for the agent count.

check_agent_divergence no longer reports verbatim copies. A copy that matches
byte for byte once the namespaced name is normalized is expected, not drift,
and 19 info findings only added noise. The divergence warning still fires when
bodies actually differ.

* docs(contributing): distinguish payment machinery from payment guidance

The first wording banned 'payment processing ... tooling in a plugin payload',
which reads as barring the existing payment-processing plugin. That plugin is
Markdown-only guidance for building Stripe and PayPal integrations in the user's
own application, which was never the target.

The rule now turns on whether the payload runs a commercial transaction itself,
and names payment-processing as the reference example of what stays allowed.

* test(adapters): pin every tool mapping in both tool_case modes

Review nitpick on PR #676. The mapping loop ran only the default case. That
default is already `lower`, so the lower path was covered, but the assertion
did not say so and normal mode was pinned for Read alone.

The loop now asserts both modes for all nine tools, and a separate test pins
that the default is lower, which is what Copilot emission relies on.

* fix(garden): scope agent name normalization to the frontmatter block

Review feedback on PR #676. The substitution used a MULTILINE pattern with
count=1, which lands on the frontmatter name in every agent the repo has today
but would blank a body `name:` line in an agent whose frontmatter lacked one.

Normalization is now scoped to the opening frontmatter block, so a `name:` in
the body stays content and still counts toward a divergence. Three tests cover
differing body names, matching body names, and a file with no frontmatter.

No change to current output: still 11 divergent, 0 verbatim reported.

* fix(garden): match singular component nouns in doc counts

Review feedback on PR #676. COUNT_RE only matched plurals, so a total of one
written as `1 plugin` would not have been compared against anything.

Singular forms now resolve to the same key. Neither README.md nor AGENTS.md
contains a singular count today, so the live result is unchanged and the counts
check stays silent.

* fix(garden): treat an unreadable marketplace as an unknown plugin count

Review feedback on PR #676. A JSON syntax error in marketplace.json set the
plugin count to 0, so check_doc_counts flagged every documented plugin count as
stale and told the reader to write 0. The real parse error was reported once by
check_marketplace_consistency and buried under the noise.

The count is now None when the manifest is missing or unparseable, and the
comparison skips it. Other component counts are still checked.

* fix(garden): handle CRLF frontmatter and malformed marketplace shapes

Review feedback on PR #676, both confirmed by running them.

AGENT_FRONTMATTER_RE required LF delimiters and a newline after the closing
---, so a CRLF agent or one ending at its frontmatter got no normalization at
all and two copies read as divergent. Scoping normalization to the frontmatter
block in 4798d40 introduced that: the MULTILINE pattern it replaced matched
CRLF fine. The pattern now accepts \r?\n and a closing delimiter at EOF.

actual_counts() also assumed the manifest parsed to a mapping with a list under
plugins. A root of [] raised AttributeError and {"plugins": null} raised
TypeError, crashing the gardener rather than reporting an unknown count. The
shape is now checked before len().

Four regression tests. No repo agent uses CRLF today, so live output is
unchanged at 11 divergent.

* refactor(garden): compare agents through the shared frontmatter parser

Review rounds four and seven were both about my own frontmatter regex being
stricter than the files it reads. Rather than widen it a third time, agent
comparison now goes through parse_frontmatter, the same parser the adapters use,
and drops the plugin-namespaced name field.

A copy is judged on its frontmatter fields and body, so delimiter formatting no
longer decides drift. Verified locally across 16 input shapes: CRLF, BOM,
leading blank line, trailing space after a delimiter, closing --- at EOF, no
trailing newline, block scalars and inline lists all compare equal when only the
name differs, while body text, model tier, an added field, a differing body
name: line and files with no frontmatter still register as drift.

Real-repo output is unchanged: 11 divergent, 19 verbatim, same names and counts.

* fix(garden): read a thousands separator as one number

Found by a local battery over check_doc_counts rather than by review. COUNT_RE
matched bare digit runs, so `1,234 agents` matched the `234` and reported a
stale count of 234 at error severity. A comma-formatted total anywhere in
README.md or AGENTS.md would have failed CI with wrong advice.

The pattern now takes the whole number and strips separators before comparing,
so 1,234 reads as 1234 and is checked properly rather than skipped.

Also pinned that counts inside code fences are checked, because README.md
quotes the plugin total inside a bash fence.

* fix(garden): survive an unreadable file instead of killing the run

Pre-existing across the module, not new to this PR. Five of the seven checks
died with UnicodeDecodeError on a single non-UTF-8 file, and
check_oversized_context_files read without an encoding at all. One bad file took
down every other check's output with it.

All reads now go through read_text_or_none, which reports UNREADABLE_FILE
against that path and lets the rest of the run finish. actual_counts has no
Report to write to, so an unreadable manifest joins a malformed one as an
unknown count. Also drops the unused frontmatter binding in
check_codex_skill_caps.

Real-repo output is unchanged.

* fix(garden): keep body indentation, report an unreadable manifest, drop dead guard

Four review findings on PR #676, all confirmed by running them.

normalized_agent_text used body.strip(), so an indented body compared equal to
the same text unindented and real drift went unreported. Leading whitespace is
content in Markdown; only trailing whitespace is formatting. Now rstrip.

actual_counts read the manifest directly, so a non-UTF-8 marketplace.json
quietly became an unknown plugin count with no UNREADABLE_FILE finding. It now
takes the Report and reads through read_text_or_none like everything else.

check_dead_links kept a try/except OSError around the new reader, which already
catches OSError and returns None. Dead code, removed.

CONTRIBUTING's closing sentence narrowed the payment rule to running a
transaction, which would have permitted a tool that consumes an external payment
result and only flips access. Verification, entitlement checks and access
changes are now each covered on their own.

Battery re-run at 18 cases, all pass. Real-repo output unchanged at 11 divergent.

* fix(garden): keep indentation without frontmatter, reject malformed manifest entries

Three findings on PR #676, all reproduced first.

normalized_agent_text stripped leading whitespace before deciding whether
frontmatter existed, so two frontmatter-free agents differing only by
indentation compared equal. Blank lines ahead of a frontmatter block are
formatting; ahead of anything else they are body content. Same mistake as the
body.strip() fix in the previous commit, one level up.

A plugins list holding a non-object entry was counted as valid, letting garbage
drive an error-severity stale-count finding. The count is unknown unless every
entry is an object.

check_marketplace_consistency then crashed outright on that input with
AttributeError, and on a non-object root as well. Both now report
MARKETPLACE_SHAPE and carry on. That crash predates this PR.

* fix(garden): keep ty clean after the manifest shape guard

The isinstance narrowing added in aaf76f6 turned the entry from Any into
dict[Unknown, Unknown], so .get("name") failed with invalid-argument-type. Two
ty errors, which I pushed without reading the output. The entry is cast once
after the guard.

make lint is clean: ruff check, ruff format --check and ty all pass.

* fix(garden): match CRLF against LF, validate name, test the real Copilot path

Three findings on PR #676.

parse_frontmatter strips a leading newline but leaves the carriage return, so a
CRLF copy never matched its LF twin and reported false drift. My own CRLF test
missed it because it compared CRLF against CRLF, which passes without
normalizing anything. Body line endings are normalized now, newlines stripped
but never spaces so indentation stays content, and the test mixes the two
endings. A second test proves normalizing does not flatten real drift.

check_marketplace_consistency added entry['name'] to a set without checking its
type, so a list-valued name raised TypeError. It now reports MARKETPLACE_SHAPE.

test_lower_is_the_default_tool_case only protected the method default, while
Copilot's two call sites pass tool_case explicitly, so generated commands could
regress with the test green. Replaced with one that emits a command through
CopilotAdapter and asserts the rewritten body.

* fix(garden): strip closing-delimiter residue, assert Copilot output per file

Two findings on PR #676.

parse_frontmatter leaves the spaces from a `--- ` closing line at the head of
the body, so an agent whose closing delimiter carried a trailing space never
matched its clean twin. My earlier trailing-space test put the space on the
opening delimiter, which parse_frontmatter already tolerates, so it proved
nothing about this. Leading whitespace-only lines are now dropped as delimiter
residue while a line that starts with spaces then real text keeps its
indentation.

The Copilot integration test joined every emitted file, so one emitter could
regress to `read` while the other's `open` satisfied the assertion. It now
reads each command artifact separately and rejects `read`. Scoping that
exposed a second problem with my own test: it had asserted over every emitted
markdown file including the plugin index, which carries no command body and only
passed because the join diluted it.

* refactor(garden): one entry rule for both marketplace readers

Review feedback on PR #676. actual_counts counted {"name": ["bad"]} because it
is a dictionary, while check_marketplace_consistency rejected the same entry as
MARKETPLACE_SHAPE. A counts-only run could report a stale total from a manifest
the other check calls invalid.

Rather than copy the name rule into the second place, both now call
marketplace_entry_problem, which returns why an entry is unusable or None. That
also collapses the two near-identical report blocks in the consistency check
into one.

Parametrized coverage of the rule itself, plus a case proving a list-valued name
leaves the count unknown.

* style(tests): sort the doc_gardener test imports

I001 from adding marketplace_entry_problem to the import block in e7bd51c. I
pushed that commit without reading the ruff output, for the second time in this
review. Adding a pre-push habit of running make lint rather than eyeballing it.

* fix(garden): canonicalize nested frontmatter before hashing

Review feedback on PR #676. parse_frontmatter supports one-level mappings, and
repr preserves insertion order, so two agents whose metadata block listed the
same keys in a different order hashed differently and reported false drift. Only
the top-level keys were sorted.

Mapping keys are now sorted recursively. List order is left alone because it is
meaningful: reordering tools: [Read, Write] is a real change, and three tests
pin that distinction alongside a changed nested value still counting as drift.

No agent in the repo uses nested frontmatter today, so live output is unchanged
at 11 divergent. Skills do use it, and agents are free to.
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.

chore: synchronize global plugin, agent, and skill counts across documentation

1 participant