[claude] Weekly privacy audit cron + fleet HTTP API (#1075) (#1109)

This commit is contained in:
2026-04-07 14:54:41 +00:00
parent 804536a3f2
commit 07a4be3bb9
6 changed files with 491 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
name: Weekly Privacy Audit
# Runs every Monday at 05:00 UTC against a CI test fixture.
# On production wizards this same script should be run via cron:
# 0 5 * * 1 python /opt/nexus/mempalace/audit_privacy.py /var/lib/mempalace/fleet
#
# Refs: #1083, #1075
on:
schedule:
- cron: "0 5 * * 1" # Monday 05:00 UTC
workflow_dispatch: {} # allow manual trigger
jobs:
privacy-audit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Run privacy audit against CI fixture
run: |
python mempalace/audit_privacy.py tests/fixtures/fleet_palace