Collection of operational skills for VaultMesh infrastructure including: - backup-sovereign: Backup and recovery operations - btc-anchor: Bitcoin anchoring - cloudflare-tunnel-manager: Cloudflare tunnel management - container-registry: Container registry operations - disaster-recovery: Disaster recovery procedures - dns-sovereign: DNS management - eth-anchor: Ethereum anchoring - gitea-bootstrap: Gitea setup and configuration - hetzner-bootstrap: Hetzner server provisioning - merkle-forest: Merkle tree operations - node-hardening: Node security hardening - operator-bootstrap: Operator initialization - proof-verifier: Cryptographic proof verification - rfc3161-anchor: RFC3161 timestamping - secrets-vault: Secrets management 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
80 lines
1.7 KiB
Bash
80 lines
1.7 KiB
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
SKILL_ROOT="$(dirname "$SCRIPT_DIR")"
|
|
source "$SCRIPT_DIR/_common.sh"
|
|
|
|
: "${NODE_NAME:=node-b}"
|
|
: "${MODE:=docker}"
|
|
: "${HTTP_PORT:=3000}"
|
|
: "${SSH_PORT:=2222}"
|
|
: "${DOMAIN:=}"
|
|
: "${DATA_DIR:=$HOME/gitea}"
|
|
: "${ADMIN_USER:=}"
|
|
: "${ADMIN_EMAIL:=}"
|
|
|
|
main() {
|
|
mkdir -p "$SKILL_ROOT/outputs"
|
|
local report="$SKILL_ROOT/outputs/audit_report.md"
|
|
local status="$SKILL_ROOT/outputs/status_matrix.json"
|
|
|
|
cat > "$report" <<EOF
|
|
# Gitea Bootstrap Audit Report
|
|
|
|
**Generated:** $(date -Iseconds)
|
|
**Node:** $(json_escape "$NODE_NAME")
|
|
**Mode:** $(json_escape "$MODE")
|
|
**Web Port:** $HTTP_PORT
|
|
**SSH Port:** $SSH_PORT
|
|
**Domain:** $(json_escape "$DOMAIN")
|
|
**Data Dir:** $(json_escape "$DATA_DIR")
|
|
**Admin (planned):** $(json_escape "${ADMIN_USER:-}") / $(json_escape "${ADMIN_EMAIL:-}")
|
|
**Skill Version:** 1.0.0
|
|
|
|
---
|
|
|
|
## Artifacts
|
|
|
|
| Item | Path |
|
|
|---|---|
|
|
| Compose | \`$SKILL_ROOT/outputs/compose.yml\` |
|
|
| app.ini | \`$SKILL_ROOT/outputs/gitea_app.ini\` |
|
|
| Status Matrix | \`$SKILL_ROOT/outputs/status_matrix.json\` |
|
|
| Backups | \`$SKILL_ROOT/outputs/backups/\` |
|
|
|
|
---
|
|
|
|
## Status Matrix
|
|
|
|
$(if [[ -f "$status" ]]; then
|
|
echo '```json'
|
|
cat "$status"
|
|
echo '```'
|
|
else
|
|
echo "_Missing status_matrix.json — run 90_verify.sh first._"
|
|
fi)
|
|
|
|
---
|
|
|
|
## EU Compliance Declaration
|
|
|
|
| Aspect | Value |
|
|
|---|---|
|
|
| Data Residency | EU (Ireland - Dublin) |
|
|
| Jurisdiction | Irish Law |
|
|
| Git Authority | Self-hosted on Node B |
|
|
| Backups | Local outputs; optional offsite via backup-sovereign |
|
|
|
|
---
|
|
|
|
## Rollback
|
|
|
|
- Docker/native undo: \`./scripts/rollback/undo.sh\`
|
|
|
|
EOF
|
|
|
|
log_info "Wrote $report"
|
|
cat "$report"
|
|
}
|
|
main "$@"
|