Commit graph

14 commits

Author SHA1 Message Date
Claude
af8aa6e66b
style(scripts): update derive_counters top-of-file summary to the 5-source list
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-25 06:47:46 +00:00
Claude
5d2ff0d49d
style(scripts): rewrap derive_counters docstring to consistent width
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-25 06:46:01 +00:00
Claude
c118489398
chore(scripts): sync derive_counters docs with 5-source gate, rename EXCLUDED_DIRS to EXCLUDED_NAMES
Two reviewer nits batched: derive_counters.py's module docstring and --check
help still described the pre-#989 three-source coverage (flagged on #989);
check_model_freshness.py's EXCLUDED_DIRS did double duty as a directory AND
filename exclusion set, which the name hid (flagged on #985 and #988's
reviews) — renamed with a comment stating both roles. No behavior change;
both gates re-verified passing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-25 06:43:51 +00:00
Claude
c8ed1048b9
fix(scripts): gate the Codex manifest interface descriptions too
Review follow-up on #989: shortDescription/longDescription carry their own
counts and were just trued — include them in the gated source text so
standardized-phrasing claims in them are checked (non-matching prose is
simply not read). Verified: planting 997 in shortDescription fails the
gate; restored passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-25 06:39:32 +00:00
Claude
a36d91171c
fix(docs): true up nine-release-stale Codex manifest, gate it and mkdocs.yml in the counter check
Adopts the two verified findings from PR #940 (credit: @benrfairless):

- .codex-plugin/plugin.json still said v2.2.0 / 223 skills / 23 agents /
  298 tools / 9 domains — roughly nine releases behind, and it is the
  manifest Codex users see. Version, description, and the interface
  short/long descriptions are trued to the v2.12.0 counters (380 skills /
  20 domains / 706 tools / 823 refs / 114 agents / 138 commands / 96
  plugins), with the top-level description written in the standardized
  claim phrasing so the gate can read it.
- mkdocs.yml's site_description was content-correct after v2.12.0 but
  ungated and phrased invisibly to extract_claims ('agent skills',
  'installable plugins') — reworded to the standardized phrasing.
- derive_counters.py run_check() now reads both as claim sources
  (mkdocs.yml restricted to the site_description line since its !!python
  tags reject safe_load). Verified: planting 999/998 in the two sites
  fails the gate naming both; restored values pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-25 06:36:26 +00:00
Claude
d979128244
docs(scripts): note why run_check scans README in full but restricts CLAUDE.md
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-24 21:09:57 +00:00
Claude
4e93f8f66e
fix(docs): true two stale skill counts to 380 and bring them under the counter gate
Caught by review on the v2.12.0 promotion PR #985: README's Skills Overview
heading still said 370 and CLAUDE.md's footer Status line said 379 while the
banner/badges/scope line say the derived 380. Both wordings ('370 skills
across', '379 skills deployed across') were invisible to derive_counters.py's
claim patterns, which is why they could drift — reworded both into the
standardized '<N> production-ready skills across <D> domains' phrasing, made
extract_claims() validate every occurrence of a claim pattern instead of only
the first, and run_check() now reads CLAUDE.md's Status footer line alongside
Current Scope. Verified: planting 999/998 in the two lines fails the gate
naming both; restored values pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-24 21:06:20 +00:00
Claude
817b29c61f
fix(docs): sync agent/command counters in CLAUDE.md + marketplace.json to derived 114/138
PR #984's counter true-up bumped README badges and CHANGELOG to the derived
114 agents / 138 commands but left the CLAUDE.md Current Scope line and
marketplace.json metadata.description at the stale 111/131 (caught by review
on #984). derive_counters.py --check passed because CLAIM_PATTERNS had no
agents/commands patterns — added both (agents anchored on the "(cs-" suffix
so prose like "9 more coding agents" can't false-match), verified the new
gate fails on the pre-fix docs and passes post-fix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qgc6RYXWJPr5oW9DHU7zR4
2026-08-24 20:42:50 +00:00
Claude
f38ab5260c
fix(scripts): fail loudly when a README badge is missing/renamed
Per PR #891 review: check_readme_badges silently skipped a badge whose regex
found no match, so a renamed or removed shield would quietly drop out of the
gate — the same silent-drift class this gate exists to catch. Now a missing
badge appends a mismatch (mirrors run_check's "no recognizable counter claims
found" precedent), so it fails loudly. Verified: renaming a badge trips exit 1;
the current README still passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4JerbGv6vqitUMhqHPA9g
2026-07-03 06:46:37 +00:00
Claude
17d369e9d6
style(scripts): drop stray type annotation in derive_counters run_check
Per PR #891 review: `mismatches: list = []` was an inconsistent drive-by
annotation vs the un-annotated locals elsewhere in the file. Revert to keep
the diff minimal and the style consistent. No behavior change.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4JerbGv6vqitUMhqHPA9g
2026-07-03 06:42:52 +00:00
Claude
a05c4556bc
chore(engineering): agent-harness review cleanups + README badge CI gate
Follow-up to the merged agent-harness PR (#890), applying the automated review nits:

- loop_controller.py: drop unused `import shlex`; simplify cmd_record's exit-code
  expression to the clearer form already used in cmd_verify (behavior-equivalent)
- SKILL.md + references/verification_discipline.md: document that plan/state files are
  a trust boundary (verify shell-executes their cmd strings) — run the harness only on
  files produced by goal_compiler, never untrusted input
- README.md: bump Agents 96->97 and Commands 102->103 badges (drift the previous PR
  missed because derive_counters didn't validate these badges)
- scripts/derive_counters.py: add check_readme_badges — validates the Skills/Agents/
  Commands shields against derived counts, closing the CI blind spot that let the badge
  drift ship. Verified it fails (exit 1) on drift and passes when correct.

All gates green: plugin.json (83 OK), smoke --help/--sample (600 pass), JSON output
(0 fail), path linter (0 findings), derive_counters --check (pass).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L4JerbGv6vqitUMhqHPA9g
2026-07-03 06:10:46 +00:00
Claude
8e7e165ab8
chore: CHANGELOG backfill + per-domain counter validation
Two housekeeping items surfaced during the contributor-PR hardening session.

1. CHANGELOG backfill — add [Unreleased] entries for five skills that merged
   without their own changelog blocks (roast #865, named-persona-adversarial-review
   #867, agent-decision-receipts #868/#869, zero-hallucination-coder #870,
   deep-research #872). Earlier merges updated headline counters but not this log.

2. Per-domain counter validation — scripts/derive_counters.py --check now also
   validates the README "Skills Overview" per-domain table: each domain row's
   count must equal the SKILL.md count in its linked folder, and every on-disk
   domain must have a row. Previously --check only validated headline aggregates,
   so per-domain rows drifted silently. Verified: passes on the fixed state, fails
   on a wrong count, fails on a missing row, and parses exactly the 18 real domain
   rows (bold-first-cell install/skills-vs-agents tables are not false-flagged).

   Trued up the README table to make the new check pass: fixed six stale row
   counts (engineering-team 51->52, engineering 78->80, marketing 47->48,
   productivity 6->7, ra-qm-team 18->19, c-level 66->68), added the missing
   markdown-html row (5), and named the newly-merged skills in their domain
   descriptions. Per-domain rows now sum to the 354 headline.

Headline aggregates unchanged (354 skills / 722 refs / 82 plugins / 18 domains).
2026-07-01 06:06:59 +00:00
Claude
bf33d32051
fix: third-pass review items — counter logic, FDA example annotation, audit/ policy
- derive_counters.py: python_tools condition simplified to the equivalent
  parts[0] != 'scripts' (reviewer M1); dead root_scripts variable removed;
  --check still passes with identical values
- fda-consultant-specialist quick-start: 820.30 example annotated as a legacy
  checklist key mapping to ISO 13485 §7.3 (reviewer m3 — note: switching the
  example to '--section 7.3' as suggested would break; the checker's CLI keys
  are intentionally the legacy 820.x checklist indices, documented in --help)
- CLAUDE.md: audit/ directory documented as an intentional public audit
  record, distinct from the gitignored AUDIT_REPORT.md (reviewer m2)

Reviewer m1 (agents/CLAUDE.md 'engineering-team/' link) is a false positive:
agents/engineering-team/ exists as an agents subfolder containing exactly the
two linked files; check_paths.py confirms 0 unresolvable references.

https://claude.ai/code/session_019AJddAL1NADWMXsy1qNPQF
2026-06-11 15:11:00 +00:00
Claude
c84e322a99
chore(registry,ci): derive counters, register 11 plugins, add CI guards
- marketplace.json: 11 shipped-but-unregistered plugins added (compliance-os,
  snowflake-development, behuman, claude-coach, grill-with-docs,
  llm-cost-optimizer, prompt-governance, business-investment-advisor,
  video-content-strategist, compliance-team-eu-ai-act, compliance-team-iso42001)
  -> 77/77 registered; self-contradicting counts fixed
- counters reconciled to derived ground truth across README.md, CLAUDE.md,
  agents/CLAUDE.md, marketplace.json (346 skills / 17 domains / 584 tools /
  701 references / 93 agents / 99 commands / 77 plugins)
- new guards: scripts/derive_counters.py (--check, gate G3),
  scripts/check_dual_publish.py (11 pairs, gate G4),
  scripts/smoke_scripts.py + smoke_exceptions.txt (gate G8)
- meta-tooling fixes (gate G9): generate-docs.py --help no longer rewrites
  docs/ as a side effect; audit_skills.py --help instant; markdown-html added
  to hermes/vibe/gemini sync scripts and generate-docs domain maps
- ci-quality-gate.yml: compileall completed 9 -> 17 domains; 4 new advisory
  gate steps (continue-on-error pending burn-in)

Verification (all green): check_plugin_json --all 77 OK; check_paths --all 0
findings; check_dual_publish 0 drifted; smoke 586 pass / 0 fail / 11 by-design
exceptions; derive_counters --check pass; compileall 17 domains rc=0.

https://claude.ai/code/session_019AJddAL1NADWMXsy1qNPQF
2026-06-10 14:33:19 +00:00