Add a managerial security frame on top of the host baseline: explicit threat model (opportunistic external, lateral movement/blast radius, operator/agent error; supply chain accepted-lower-priority), security principles, and four governance mechanisms that ADR-002 establishes and links out to: - docs/security/service-checklist.md — per-service security bar (referenced from the new-role runbook) - docs/security/accepted-risks.md — living accepted-risk register (R1-R4) - planned /security-review skill (TODO 8.5) - agent guardrails in CLAUDE.md "what Claude must not do" STATUS.md records the frame as present (manual enforcement) and /security-review as planned-not-built. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
6.2 KiB
ToDo
-
Forgejo CI — what CI work remains after ADR-010 (which workflows, runner setup, etc. still need to be built)?
-
Testing
- Choose and configure code-testing tooling (Molecule, etc.).
- Decide how the AI interprets Molecule output and performs live testing: API calls, curl pulls of web products, log reviews, and headless browsing.
- Define a standard for generating test users and for instructing the user to perform relevant manual tests.
-
Building services
- Decide how to manage logs.
- Decide how to manage APIs / API access.
- Decide how to import or integrate from baobabAnsibleV4.
- Decide what each node runs — base packages plus which apps/services.
- Decide the firewall strategy (which firewall, ruleset, per-host vs central).
- Wire up Loki, Prometheus, Grafana dashboards, Grafana alerts, and Uptime Kuma alerts on askari.
- Define a tagging standard that lets us target runs without over-tagging.
- Ensure the right things are backed up (incl. database dumps if we land on PBS).
- Decide: a central database server, or individual database services per app?
- Should we continue to use the base-container method, or maybe something in the improvements of the methods in boma moods the point?
-
Split-horizon FQDN — adopt split-horizon FQDN with or without nyumbani?
-
Control node
- Set up and test the control node while waiting for hardware.
- Define control-node bootstrapping — a dedicated recipe and playbook?
- Decide the role of mamba — access/availability vs compute power and ease?
- Set up rbw on the control node.
-
Updating
- Decide pinning vs latest for versions.
- Decide the update strategy across services & containers vs packages & builds / GitHub pulls / Flatpaks.
- Define scheduling of updates and reboots, including post-update testing.
-
Shell setup
- Decide what shell setup matters for the AI's work on the control node.
- Decide what to set up on the hosts, given that direct access will be rare.
-
Scheduled work
- Run
/review-repoasclaude -pvia cron every two weeks? - Build sanity checks (e.g. does PhotoPrism have its pictures? are email services receiving and sending?).
- Design a declarative
scheduled_jobsrole so the repo owns which cronjobs run on a host, enforced by Ansible. Sketch (deferred until we have hosts): reads ascheduled_jobs__jobslist from group_vars/host_vars, rendered via a managed/etc/cron.dfile. Open questions:- General role vs control-node-only?
- Prune undeclared jobs (repo authoritative) vs additive?
- Validate headless email and that cron's env has the
claudeCLI. - (The fortnightly
/review-repojob is the first entry.)
- Schedule
/capacity-reviewto run periodically (on-demand only for now). Revisit once the physical cluster + a live usage-stats hook exist, so it reasons on real usage rather than declared intent alone. Decide the usage source first: Proxmox RRD (built-in, no extra infra) vs the Prometheus/Loki/Grafana/Grafana-Alloy stack we will likely set up anyway (richer, per-process, but more to run) — see TODO 3.6. Don't build the Proxmox-RRD hook before settling this, to avoid throwaway work. - Build a
/security-reviewskill (sibling to/review-repo): re-check the security posture against ADR-002, surface drift, and re-challenge the accepted-risk register (docs/security/accepted-risks.md). Could pair a deterministic pre-scan (undeclared open ports, disabled baseline controls, world-readable secrets, services not behind auth) with a judgement pass. Open question: standalone, or folded into the kaizen/retro(item 11)?
- Run
-
Should we make a basic function so that tools (and AI) can send messages to the user - email, matrix or ntfy?
-
Claude setup — DECIDED: brainstorm for intent, capture as ADRs (skip plan files); hooks + slash commands +
/review-repofor enforcement at scale. Any remaining setup to carry out from this decision?- Policy for how we collaborate with references to baobabAnsibleV4 without misusing it.
- Policy for how we write key documents like ADRs.
- Further development on how we we collaborate on designing the foundation for the project - seperate from how we implement new containers etc.
- How do we make sure agents always use the latest official documentation for the technologies etc. we use?
- Always subagent driven?
- When AI deploys, i.e. runs playbooks etc., should we make a methodology so that it does not have to poll all the time or review all the output. Perhaps something about the MAKE method could provide only the relevant feedback?
-
Kaizen loop — set up ~2026-06-06 (one week from now).
- Build
/retro: readsdocs/FRICTION.md+ recurring/review-repofindings + a tooling-usage inventory; proposes add / change / remove (biased to remove); records decisions as ADRs; evaluates itself. Recurrence-triggered plus a light periodic sweep. - Keep appending raw signals to
docs/FRICTION.md(live now) until the retro consumes them.
- Build
-
Spin-up order — what is the right order of operations when spinning up from scratch (OS, DNS, Authentik, Traefik, …)?
-
Intentions - Is the current setup clearly identifying intentions throughout? We have the readme files but is that enough? Also, how do we rechallange desisions and how they interact over time. I.e. We have these two services running, but extending one a little bit could make the other redundant so we could remove it. Or an alternative to this services has emerged, and it is actually better.
-
Script dependencies policy — utility scripts (
tf_to_inventory.py,repo-scan.py,capacity-scan.py) are stdlib-only by convention, for run-anywhere portability (control node, CI, bare clone, no venv). Reevaluate whether selectively allowing libraries (e.g. PyYAML — already present via Ansible) is a better fit in general: weigh the parsing-correctness win against losing zero-setup portability. Decide a clear rule and record it.