docs: correct facts and the Docker firewall claims #27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "docs/audit-round"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
A documentation audit, with every finding checked against the code, found wrong facts, duplicated text and breaks of the documentation rules across README, CONTRIBUTING,
docs/and the role READMEs. The most serious was a security claim: the ai-stack and warden READMEs, the migration doc andgroup_vars/ai_mainframes.ymlsaid the castrum nftables table restricts who reaches the ports Docker publishes for LocalAI, LocalAGI and LocalRecall. It does not.What changed
docs/ARCHITECTURE.md#firewallnow explains why: with Docker's default publishing, a packet for a published port is rewritten to the container's address before the input hook sees it, and a containerized host's table has no forward chain. The bind address therefore decides who reaches a published port. Every other mention links there. warden's own port stays restricted, because warden listens on the host.docs/MIGRATION-AI-STACK.md: the operator chooses whether to publish LocalRecall during the harvest, and the rollback removes the host fromai_mainframesfirst. The LocalAI copy steps now live only here, and the storage layout only in the ai-stack README.Verification
make checkafter every commit: passed.ansible-inventory --listis identical for every tenant before and after.make testandmake verify(no podman in the agent sandbox); no molecule scenario is affected.Risks and follow-ups
ai_mainframeshosts needs its own fix.group_vars/brick_servers.ymlapplies one cluster's rpcbind setting and brick port range to every tenant.compose.yml.j2andenv.j2and hardening-basic's99-protect-links.confstill carry stale wording; changing them re-renders files on hosts.