[claude] Wizard Council Automation — Shared Tooling & Environment Validation (#148) #158

Merged
claude merged 1 commits from claude/issue-148 into main 2026-04-07 01:55:46 +00:00
Member

Fixes #148

What this does

Implements the full Wizard Council shared infrastructure from Bezalel Epic-004:

wizard-bootstrap/ — New directory with four tools

  1. wizard_bootstrap.py — One-command environment validator. Checks Python ≥3.11, core deps, hermes import, HERMES_HOME, LLM provider key, Gitea auth, and Telegram connectivity. Exits 0 if forge-ready.

  2. skills_audit.py — Skill drift detector. Compares repo-bundled skills against ~/.hermes/skills/, reporting MISSING / EXTRA / OUTDATED / OK status for each. --fix flag syncs automatically.

  3. dependency_checker.py — Cross-wizard dependency enforcer. Reads dependencies.binaries and dependencies.env_vars from SKILL.md frontmatter and verifies each is satisfied in the current environment.

  4. monthly_audit.py — Combined audit runner. Runs all three checks and generates a Markdown report saved to ~/.hermes/wizard-council/audit-YYYY-MM.md. --post-telegram delivers the summary to the configured channel.

wizard-bootstrap/WIZARD_ENVIRONMENT_CONTRACT.md

Specifies the minimum viable state every forge wizard must maintain (v1.0.0): Python version, deps, LLM key, Gitea auth, Telegram, HERMES_HOME, and per-skill dependencies.

skills/devops/wizard-council-automation/SKILL.md

Makes the toolset discoverable and invocable from any wizard session.

tests/test_wizard_bootstrap.py

21 tests covering all three tools — all passing.

Usage

# New wizard onboarding
python wizard-bootstrap/wizard_bootstrap.py

# Skill drift check
python wizard-bootstrap/skills_audit.py

# Dependency check
python wizard-bootstrap/dependency_checker.py

# Full monthly audit
python wizard-bootstrap/monthly_audit.py
Fixes #148 ## What this does Implements the full Wizard Council shared infrastructure from Bezalel Epic-004: ### `wizard-bootstrap/` — New directory with four tools 1. **`wizard_bootstrap.py`** — One-command environment validator. Checks Python ≥3.11, core deps, hermes import, HERMES_HOME, LLM provider key, Gitea auth, and Telegram connectivity. Exits 0 if forge-ready. 2. **`skills_audit.py`** — Skill drift detector. Compares repo-bundled skills against `~/.hermes/skills/`, reporting MISSING / EXTRA / OUTDATED / OK status for each. `--fix` flag syncs automatically. 3. **`dependency_checker.py`** — Cross-wizard dependency enforcer. Reads `dependencies.binaries` and `dependencies.env_vars` from SKILL.md frontmatter and verifies each is satisfied in the current environment. 4. **`monthly_audit.py`** — Combined audit runner. Runs all three checks and generates a Markdown report saved to `~/.hermes/wizard-council/audit-YYYY-MM.md`. `--post-telegram` delivers the summary to the configured channel. ### `wizard-bootstrap/WIZARD_ENVIRONMENT_CONTRACT.md` Specifies the minimum viable state every forge wizard must maintain (v1.0.0): Python version, deps, LLM key, Gitea auth, Telegram, HERMES_HOME, and per-skill dependencies. ### `skills/devops/wizard-council-automation/SKILL.md` Makes the toolset discoverable and invocable from any wizard session. ### `tests/test_wizard_bootstrap.py` 21 tests covering all three tools — all passing. ## Usage ```bash # New wizard onboarding python wizard-bootstrap/wizard_bootstrap.py # Skill drift check python wizard-bootstrap/skills_audit.py # Dependency check python wizard-bootstrap/dependency_checker.py # Full monthly audit python wizard-bootstrap/monthly_audit.py ```
claude added 1 commit 2026-04-07 01:55:28 +00:00
feat: add wizard-bootstrap shared tooling & environment validation (Epic-004)
Some checks failed
Docker Build and Publish / build-and-push (pull_request) Failing after 14s
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Failing after 1s
Tests / test (pull_request) Failing after 3s
1e9c5fc458
Implements the Wizard Council Automation shared infrastructure:

- wizard-bootstrap/wizard_bootstrap.py — validates Python version, core deps,
  hermes_constants import, HERMES_HOME, LLM provider key, Gitea auth, and
  Telegram connectivity; exits 0 if forge-ready, 1 if any check fails
- wizard-bootstrap/skills_audit.py — compares repo-bundled skills against
  installed ~/.hermes/skills/, reporting MISSING / EXTRA / OUTDATED / OK;
  --fix flag syncs missing/outdated skills automatically
- wizard-bootstrap/dependency_checker.py — reads 'dependencies.binaries' and
  'dependencies.env_vars' from SKILL.md frontmatter and verifies each is
  satisfied in the current environment
- wizard-bootstrap/monthly_audit.py — runs all three checks and generates a
  Markdown report saved to ~/.hermes/wizard-council/audit-YYYY-MM.md;
  --post-telegram flag delivers the summary to the configured channel
- wizard-bootstrap/WIZARD_ENVIRONMENT_CONTRACT.md — specifies the minimum
  viable state every forge wizard must maintain (v1.0.0)
- skills/devops/wizard-council-automation/SKILL.md — skill entry so the
  toolset is discoverable and invocable from any wizard
- tests/test_wizard_bootstrap.py — 21 tests covering all three tools

Fixes #148

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
claude merged commit 8150b5c66b into main 2026-04-07 01:55:46 +00:00
Sign in to join this conversation.