Skip to content

Commit 50e6394

Browse files
Fix ClawHub installed package validation
1 parent d1c078a commit 50e6394

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: agentic-services-orchestrator-skill
33
description: >-
44
Coordinate schema-driven workflows across configurable domains using workflow definitions, adapters, active tracks, artifact versions, approval/risk triage, event logs, validation, and recovery actions. Use the CompleteTech LLC agentic services workflow as the default adapter for discovery, proposal, contract, delivery, customer success, invoice, certificate, case study, email, envelope, and security-review work.
5-
version: 1.0.0
5+
version: 1.0.1
66
metadata:
77
openclaw:
88
skillKey: agentic-services-orchestrator-skill

scripts/validate_quality.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
".md", ".mmd", ".ps1", ".py", ".sh", ".svg", ".toml", ".txt", ".yaml", ".yml",
3232
}
3333
SPECIAL_TEXT_FILES = {"LICENSE", "README", "SKILL.md", "QUALITY.md", "CLAW_HUB_PUBLISHING.md", ".clawhubignore"}
34+
DEFAULT_CLAWHUBIGNORE_PATTERNS = [
35+
"*.png", "*.jpg", "*.jpeg", "*.gif", "*.ico", "*.pdf", "*.docx", "*.ipynb", "*.ttf", "*.otf", "*.woff", "*.woff2",
36+
"preview/", "output/", "__pycache__/", "*.py[cod]", "*$py.class", ".mypy_cache/", ".pytest_cache/", ".ruff_cache/",
37+
".venv/", "venv/", "env/", "ENV/", ".env", ".env.*", "secrets.json", "*_secret.ini", "*_local.ini", "*.tmp",
38+
".DS_Store", "Thumbs.db", "desktop.ini",
39+
]
3440

3541

3642
def iter_files(*suffixes: str) -> list[Path]:
@@ -175,7 +181,10 @@ def frontmatter() -> dict[str, Any]:
175181
def ignore_patterns() -> list[str]:
176182
ignore_file = ROOT / ".clawhubignore"
177183
if not ignore_file.exists():
178-
raise RuntimeError(".clawhubignore is required for ClawHub publishing")
184+
if (ROOT / ".git").exists():
185+
raise RuntimeError(".clawhubignore is required for ClawHub publishing")
186+
print("clawhub ignore defaults used: .clawhubignore is not present in this installed package")
187+
return DEFAULT_CLAWHUBIGNORE_PATTERNS.copy()
179188
patterns = []
180189
for raw in ignore_file.read_text(encoding="utf-8").splitlines():
181190
line = raw.strip()

0 commit comments

Comments
 (0)