CLI + registry for scaffolding README/ROADMAP templates that reference shared config, database, auth, and orchestrator flows across the ecosystem. Stage 1 now ships a fully automated loader, telemetry, security scanner, and smoke tests so installers can safely compose docs.
- Config loader –
config/example.templates.phpresolves${env:}/${file:}secrets and syncs withblackcat-configprofiles. - CLI –
bin/templatesexposescatalog:list,catalog:show,template:run,security:scan, andintegrations:listcommands that downstream tooling can call. - Security & integrations – every template declares required integrations (database/auth/orchestrator) enforced by the scanner.
- Telemetry – metrics land in
var/metrics.prom(template_catalog_total,template_render_total,template_security_issues). - Docs & tests – README/ROADMAP updated and
tests/SmokeTest.phpvalidates rendering + scanners.
export BLACKCAT_TEMPLATES_CONFIG=$(pwd)/blackcat-templates/config/example.templates.php
# Inspect catalog
php blackcat-templates/bin/templates $BLACKCAT_TEMPLATES_CONFIG catalog:list
php blackcat-templates/bin/templates $BLACKCAT_TEMPLATES_CONFIG catalog:show module_readme
# Render templates (inline JSON or @file)
php blackcat-templates/bin/templates $BLACKCAT_TEMPLATES_CONFIG template:run module_readme '{"MODULE_NAME":"BlackCat Payments","DESCRIPTION":"Stage 1 bootstrap"}'
php blackcat-templates/bin/templates $BLACKCAT_TEMPLATES_CONFIG template:run module_roadmap @blackcat-templates/tests/fixtures/module-readme.json var/generated-roadmap.md
# Security/integration checks
php blackcat-templates/bin/templates $BLACKCAT_TEMPLATES_CONFIG security:scanBackwards-compatible shorthand:
php blackcat-templates/bin/template readme "BlackCat Foo" "Short description"Uses the same config loader + telemetry pipeline under the hood.
- Prometheus metrics:
var/metrics.prom(scraped byblackcat-observability). - Registry integrates with
blackcat-config(profiles),blackcat-database(schema references),blackcat-auth, andblackcat-orchestratorworkflow manifests defined in config. - Security scans enforce that templates reference required integrations before publishing.
php blackcat-templates/tests/SmokeTest.php
Runs registry boot, renders both templates, writes temp roadmap, executes security scan, and ensures metrics are emitted. Wire this into CI or blackcat-cli verify for smoke coverage.
This repository is an official component of the Blackcat Covered System. It is licensed under BFNL-1.0, and repository separation inside BLACKCAT_MESH_NEXUS exists for maintenance, safety, auditability, delivery, and architectural clarity. It does not by itself create a separate unavoidable founder-fee or steward/development-fee event for the same ordinary covered deployment.
Canonical licensing bundle: