deytenit
a297e7c71e
fix: allow non-Compose commits on Docker-free hosts [skip ci]
2026-11-08 12:39:48 +03:00
deytenit
0881013357
docs(apex): keep public guidance and examples deployment-neutral
2026-10-26 12:53:58 +03:00
deytenit
6463bad5ee
feat(engine): de-slop commons, harden security, add targeted compose and env bridge
...
- Purge misplaced RFCs, scratch tokens, and node-proprietary assets
- Decouple remote provisioning to ci/scripts/init-node.py
- Add targeted composition orchestration in actions/compose.py
- Add host-side Xray stale socket cleanup in /dev/shm
- Add actions/env.py for shell exports and .env synchronization
- Harden UFW, backup retention, host tempfiles, and notify dispatcher
- Add pyproject.toml and Makefile with 78 passing unit tests
2026-10-26 00:03:33 +03:00
deytenit
b72b961968
fix: forward host proxy env vars and network to dclint container
2026-08-09 01:09:18 +03:00
deytenit
c5b61a3294
fix: exclude commons/ from dclint --fix to prevent submodule dirtying
...
In node repos the shared core compose lives inside the pinned commons
submodule; letting dclint rewrite it dirties the submodule, which makes
sync/repository abort the nightly capture-up. Harmless in the standalone
commons repo (no commons/ dir).
2026-07-05 11:20:25 +03:00
deytenit
6aaef35780
fix: resolve 17 confirmed bash-parity drifts from port review
...
Adversarial parity review of every ported action against its bash source
confirmed 17 real behavioral drifts (of 22 claimed); all fixed here:
- tiers/chown: defaults were compositions/apex/tierN (one level too deep);
now the tier roots. shared/ base reset is non-recursive again.
- compose: --dry-run was swallowed by argparse.REMAINDER; now stripped.
- host.write_file: rendered files land 0644 (tempfile's 0600 made fresh
systemd units/crowdsec configs owner-only).
- systemd.deploy_units: top-level non-hidden files only.
- ufw: missing docker/host config dir exits 66; missing /etc/ufw target
aborts; empty rules dir warns; dotfile .rules excluded.
- sync/packages: Telegram error-trap parity and failed notify exits 1.
Same notify-failure exit for backup/run and sync/repository.
repository regains the node-dir guard.
- tiers/useradd: no more secret-bearing .env.bak per run.
- tiers/link: EOF on confirm prompt declines and continues.
- extract-traefik-certs: sudo mkdir inside the notify envelope.
- generate-happ-subscriptions: realpath parent-exists guards + docker check.
- configure/crowdsec: bouncer install goes through install_packages.
- lint-docker-compose: malformed/unreadable anchor-IP inputs are lint errors.
- core compose: APEX_RESTIC_REPOSITORY now ?error; RESTIC_COMPRESSION
per-node via APEX_RESTIC_COMPRESSION (default auto).
- sys.service_exists line-anchored; tpl docstring corrected.
2026-07-05 10:50:40 +03:00
deytenit
ec54ab592f
feat: port utils actions (extract-traefik-certs, generate-happ-subscriptions, lint-docker-compose)
2026-07-04 21:29:17 +03:00