Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Describe how changes land and ship, and hold human commits to the standard

rcourtman6d0ce0b45e92
diff --git a/.husky/commit-msg b/.husky/commit-msg
new file mode 100755
index 0000000000..fe887aff08
--- /dev/null
+++ b/.husky/commit-msg
@@ -0,0 +1,29 @@
+#!/usr/bin/env sh
+# Every commit that can reach main states what changed in a subject a reader
+# can scan and why in a body (delivery contract, rule 3). The maintainer's
+# candidate preflight enforces the same standard for its own commits; this
+# hook enforces it for human and interactive-agent commits made here.
+set -eu
+
+msg_file="$1"
+# Strip comment lines and the scissors block so only the message is judged.
+message=$(sed -e '/^#/d' -e '/^------------------------ >8 ------------------------$/,$d' "$msg_file")
+subject=$(printf '%s\n' "$message" | sed -n '1p')
+
+case "$subject" in
+ ""|"Merge "*|"fixup! "*|"squash! "*|"Revert \""*) exit 0 ;;
+esac
+
+if [ "${#subject}" -gt 72 ]; then
+ echo "commit-msg: the subject is ${#subject} characters; keep it at 72 or fewer." >&2
+ exit 1
+fi
+
+body_lines=$(printf '%s\n' "$message" | sed '1d' \
+ | grep -v -E '^(Change-source|Contract-Neutral|Signed-off-by|Co-authored-by|Fixes|Closes|Resolves|Refs|Reviewed-by|Cc|See-also): ' \
+ | grep -c '[^[:space:]]' || true)
+if [ "$body_lines" -eq 0 ]; then
+ echo "commit-msg: add a body that says why the change is needed, not only what it does." >&2
+ echo "commit-msg: git commit -m \"<subject>\" -m \"<why>\" is enough." >&2
+ exit 1
+fi
diff --git a/docs/AI_TRANSPARENCY.md b/docs/AI_TRANSPARENCY.md
index 832e96a718..27b5d3373b 100644
--- a/docs/AI_TRANSPARENCY.md
+++ b/docs/AI_TRANSPARENCY.md
@@ -43,6 +43,25 @@ process discoverable without turning every technical exchange into a banner
about how the work was produced. Individual commits, fixes, and release notes
are not given tool-specific labels.
+## How changes land and ship
+
+Every change reaches `main` the same way, whoever or whatever wrote it: a
+pull request that auto-merges when the repository's required checks pass.
+The `main` branch ruleset requires that for every writer, with no bypass, so
+a red check blocks the maintainer and me alike. The maintainer's pull
+requests are opened by `pulse-triage[bot]` and state what changed, why it
+was needed, which reports or demand-ledger entries it answers, and what
+validation was used, so the record on GitHub is the record of the decision.
+
+Releases run on a train rather than on demand. A release candidate is cut
+from `main` into a `release/vX.Y` branch on a fixed schedule, soaks on the
+opt-in preview channel, takes only backports of regression and security
+fixes while it soaks, and is promoted to stable as the exact candidate
+content. The promotion resolver in the release pipeline enforces the soak
+and the exact-content rule for every dispatcher. The full rules are in
+[RELEASE_PROMOTION_POLICY.md](release-control/v6/internal/RELEASE_PROMOTION_POLICY.md),
+under "Release Train".
+
## Authority and responsibility
The automation can operate continuously, but it is not the project owner and
diff --git a/frontend-modern/public/docs/AI_TRANSPARENCY.md b/frontend-modern/public/docs/AI_TRANSPARENCY.md
index 832e96a718..27b5d3373b 100644
--- a/frontend-modern/public/docs/AI_TRANSPARENCY.md
+++ b/frontend-modern/public/docs/AI_TRANSPARENCY.md
@@ -43,6 +43,25 @@ process discoverable without turning every technical exchange into a banner
about how the work was produced. Individual commits, fixes, and release notes
are not given tool-specific labels.
+## How changes land and ship
+
+Every change reaches `main` the same way, whoever or whatever wrote it: a
+pull request that auto-merges when the repository's required checks pass.
+The `main` branch ruleset requires that for every writer, with no bypass, so
+a red check blocks the maintainer and me alike. The maintainer's pull
+requests are opened by `pulse-triage[bot]` and state what changed, why it
+was needed, which reports or demand-ledger entries it answers, and what
+validation was used, so the record on GitHub is the record of the decision.
+
+Releases run on a train rather than on demand. A release candidate is cut
+from `main` into a `release/vX.Y` branch on a fixed schedule, soaks on the
+opt-in preview channel, takes only backports of regression and security
+fixes while it soaks, and is promoted to stable as the exact candidate
+content. The promotion resolver in the release pipeline enforces the soak
+and the exact-content rule for every dispatcher. The full rules are in
+[RELEASE_PROMOTION_POLICY.md](release-control/v6/internal/RELEASE_PROMOTION_POLICY.md),
+under "Release Train".
+
## Authority and responsibility
The automation can operate continuously, but it is not the project owner and