Complete the header template across Partnership, Kernel, Deployment and Plugin

Finishes the pass: every script now documents its safeguards, and the deliberate absences
in the sourced libraries are recorded so they are not "corrected" later.
This commit is contained in:
Gmer4Lfe
2026-08-01 22:44:23 -04:00
parent 5c4f8db497
commit c377ddfcca
24 changed files with 1237 additions and 32 deletions
+25
View File
@@ -41,6 +41,31 @@
# Skipped if entry already exists — use --force to overwrite
#
# ==============================================================================================
# DESIGN PRINCIPLES
# ==============================================================================================
#
# Separate Key From the Rsync Key
# Gitea authentication uses its own keypair rather than reusing the rsync automation key.
# The two have different lifecycles and different blast radii — re-keying Gitea should
# never break cross-host rsync, and revoking a partner's rsync access should not lock this
# host out of its own repository.
#
# Idempotent Registration
# Both generation and registration are skipped when already satisfied, and registration is
# matched on the public key itself rather than on a label. A key registered under a
# different title is still the same key, and re-registering it would leave duplicate
# entries accumulating in Gitea on every re-run.
#
# Locate, Do Not Assume
# The API endpoint is resolved at runtime — container-local first, then GITEA_DOMAIN. Same
# reasoning as git_pull_execute.sh: Gitea's address changes with container restarts and
# migrations, so hardcoding it guarantees an eventual break.
#
# Force Is Explicit
# Regeneration invalidates the key already registered in Gitea, so it requires --force. A
# bare re-run can never cost this host its repository access.
#
# ==============================================================================================
# OPERATIONAL SAFEGUARDS
# ==============================================================================================
#