Files
hermes-agent/wizard-bootstrap/__init__.py
Alexander Whitestone 1e9c5fc458
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
feat: add wizard-bootstrap shared tooling & environment validation (Epic-004)
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>
2026-04-06 21:55:02 -04:00

2 lines
27 B
Python