Free, open source blog writer for Claude Code. Researches current sources, writes answer-first posts for Google and AI answers, has an independent reviewer score each one out of 100 and ships only after five delivery gates. 32 skills, 30 /blog commands, 5 agents. Active development at AI-Marketing-Hub/claude-blog; public releases ship here.
Python agent-skillsaiai-citationsai-contentai-marketingai-marketing-hubblogblog-writingclaude-codeclaude-code-skillclaude-pluginclaude-skillcontent-creationcontent-optimizationcontent-strategyeeatgeomultilingualopen-sourceseo
ci: tolerate the 2.1.218 validator's unknown types field for blog-studio
Agrici Daniel47afd41cdf06
diff --git a/.github/scripts/validate_plugin_tolerate_reserved_name.py b/.github/scripts/validate_plugin_tolerate_reserved_name.pyindex 1889d00..0873a2c 100644--- a/.github/scripts/validate_plugin_tolerate_reserved_name.py+++ b/.github/scripts/validate_plugin_tolerate_reserved_name.py@@ -14,6 +14,11 @@ Policy, implemented below and covered by tests/test_dependency_plugin_validate_t* Tolerated error 2: `.claude-plugin/plugin.json`, field `name`, same message.* Tolerated warning: the plugin-root CLAUDE.md notice. The file is thecontributor guide for this repository and is not shipped as plugin context.+* Tolerated warning (Claude Code 2.1.218 only, which predates mods): marketplace+ manifest, field `plugins[1] plugin.json → types`, message starting+ `Unknown field 'types'`. The optional blog-studio companion declares a+ `types` manifest key that mods-era Claude Code reads and the older validator+ reports as unknown ("Claude Code ignores it at load time").* Every other error or warning, in any section, fails the run. Each toleratedfinding counts once per section, so a duplicate is also a failure.* A non-zero CLI exit with no parseable error block fails (an unknown output@@ -34,6 +39,8 @@ from pathlib import PathRESERVED_NAME_PREFIX = 'Plugin name "claude-blog" is reserved'ROOT_CLAUDE_MD_PREFIX = "CLAUDE.md at the plugin root is not loaded as project context"+STUDIO_TYPES_FIELD = "plugins[1] plugin.json \u2192 types"+STUDIO_TYPES_PREFIX = "Unknown field 'types'"ANSI = re.compile(r"\x1b\[[0-9;?]*[A-Za-z]")SECTION = re.compile(r"^Validating (?P<kind>[^:]+): (?P<target>.+?)\s*$")@@ -141,6 +148,13 @@ def tolerated_key(finding: Finding) -> str | None:and _is_root_claude_md(finding)):return "root-claude-md-warning"+ if (+ finding.level == "warning"+ and _is_marketplace(finding)+ and finding.field == STUDIO_TYPES_FIELD+ and finding.message.startswith(STUDIO_TYPES_PREFIX)+ ):+ return "blog-studio-types-field-warning"return Nonediff --git a/CHANGELOG.md b/CHANGELOG.mdindex 059ff7d..c96d93f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -24,6 +24,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0- Blog Studio refers to the engine as `claude-blog` in its messages and docs.- Version 2.3.1 on every release surface; no change to the delivery gates,scripts or skills.+- CI tolerates one more exact finding from the 2.1.218 validator, which predates+ mods and reports Blog Studio's `types` manifest key as unknown.## [2.3.0] - 2026-10-13diff --git a/tests/fixtures/plugin_validate/v2.1.218-shipped-tree.txt b/tests/fixtures/plugin_validate/v2.1.218-shipped-tree.txtindex c004c97..c823021 100644--- a/tests/fixtures/plugin_validate/v2.1.218-shipped-tree.txt+++ b/tests/fixtures/plugin_validate/v2.1.218-shipped-tree.txt@@ -1,3 +1,7 @@Validating marketplace manifest: /home/runner/work/claude-blog/claude-blog/.claude-plugin/marketplace.json-✔ Validation passed+⚠ Found 1 warning:++ ❯ plugins[1] plugin.json → types: Unknown field 'types'. Claude Code ignores it at load time.++✔ Validation passed with warningsdiff --git a/tests/test_dependency_plugin_validate_tolerance.py b/tests/test_dependency_plugin_validate_tolerance.pyindex 99cfca4..129827a 100644--- a/tests/test_dependency_plugin_validate_tolerance.py+++ b/tests/test_dependency_plugin_validate_tolerance.py@@ -35,9 +35,22 @@ def _sample(name: str) -> str:return (SAMPLES / name).read_text(encoding="utf-8")-def test_old_cli_pass_is_a_pass():+def test_old_cli_pass_tolerates_only_the_studio_types_warning():ok, tolerated, blocking = tolerance.evaluate(_sample("v2.1.218-shipped-tree.txt"), 0)- assert ok and not tolerated and not blocking+ assert ok and not blocking+ assert tolerated == ["blog-studio-types-field-warning"]+++def test_the_types_warning_is_tolerated_only_once_and_only_on_the_studio_entry():+ text = _sample("v2.1.218-shipped-tree.txt")+ ok, _t, blocking = tolerance.evaluate(text + text.split("\n", 2)[2], 0)+ assert not ok and any("duplicate" in item or "plugins[1]" in item for item in blocking)+ other = text.replace("plugins[1]", "plugins[0]")+ ok, _t, blocking = tolerance.evaluate(other, 0)+ assert not ok and any("plugins[0] plugin.json" in item for item in blocking)+ other_field = text.replace("types: Unknown field 'types'", "hooks: Unknown field 'hooks'")+ ok, _t, blocking = tolerance.evaluate(other_field, 0)+ assert not ok@pytest.mark.parametrize("version", ["2.1.292", "2.1.296"])