17 — Standards

Naming conventions, element-spec requirements, workbook templates, and the improvement proposal framework. Apply these standards whenever adding a new service, container, script, or SaaS integration.

Core Standards Documents

DocumentDescription
project-standards.mdProject-level naming conventions, branch strategy, commit format, issue pipeline
infrastructure-standard.mdMandatory requirements for every infrastructure element — RLS, monitoring, docs, AI registration
element-spec-template.mdTemplate for registering new elements in dev_r_services
workbook-template.mdTemplate for creating new audit-engine workbooks

Improvement Proposals

The improvements/ directory contains numbered proposals for infrastructure improvements. Each proposal has a status (open/in-progress/done).

DocumentDescription
README.mdIndex of all improvement proposals
rulebook.mdRules governing how improvements are proposed and implemented
01-backups.mdBackup coverage improvements
02-loki-logs.mdLoki log aggregation
03-secrets-management.mdSecrets management improvements
04-iac-ansible.mdIaC / Ansible coverage
05-blackbox-synthetic.mdBlackbox synthetic monitoring
06-consolidate-health-checks.mdHealth check consolidation
07-status-page.mdPublic status page
08-image-cve-scanning.mdDocker CVE scanning
09-ssh-hardening.mdSSH hardening
10-deployment-version-dashboard.mdDeployment version dashboard
11-cost-dashboard.mdCost tracking dashboard
12-cert-expiry-alerts.mdCertificate expiry alerts
13-hostinger-runbook.mdHostinger runbook improvements
14-n8n-workflow-versioning.mdn8n workflow versioning
15-infra-code-tests.mdInfrastructure code tests

Checklist: Adding a New Service

  1. Add a row to dev_r_services in Supabase (compliance_workbook = 'yes', workbook_url set)
  2. Enable RLS on any new Supabase tables: ALTER TABLE … ENABLE ROW LEVEL SECURITY;
  3. Register error notifications: Discord webhook + GitHub issue on failure
  4. Create docs/<service>-operations.md (or add a section to an existing doc)
  5. If AI-powered: register in dev_r_ai_systems, update eu-ai-act-compliance.md
  6. Add Prometheus scrape target if the service exposes a /metrics endpoint

Branching & Commit Standards

feat/*  ──┐
fix/*   ──┤──► dev ──► rc/vX.Y.Z ──► main (tagged)
bug/*   ──┤
plan/*  ──┘

All PRs target dev. Commit format:

{type}(#{issue-number}): {short description}

Implements: #{issue-number}

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Cross-references

  • README — architectural conventions
  • README — EU AI Act and infrastructure-standard compliance requirements
  • README — workbook template for audit-engine