Commit graph

16 commits

Author SHA1 Message Date
70c7175f35
fix(hooks): check mailserver A/PTR records via DNS-over-HTTPS
dig @9.9.9.9 fails in the agent sandbox, which allows no UDP, so bw
test aborted there. The check now asks dns.google over HTTPS and runs
once per bw test instead of once per node.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
2026-10-23 12:27:31 +02:00
2b895f3090
fix(hooks): wake_on_lan node_run_start without fixed cmd argument
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RywMtsL8qXG7GDY3MHq9Uh
2026-10-23 11:31:07 +02:00
04558a9189
docs: scaffold agent-friendly entry points (Phase 1)
introduces a balanced set of agent + human docs:

- root AGENTS.md (with CLAUDE.md symlink) — 5-rule quickstart,
  layout map, mental model, use-case keyed example pointers.
- docs/agents/conventions.md — vault/demagify, eval-loader
  constraints, group inheritance, naming, do-not-touch list,
  suspension idioms, working-style notes.
- docs/agents/commands.md — repo-specific deltas to the fork's
  bw runbook (apt-key offline-verify, *.py_ suspended-node
  visibility, vault-echo rule).
- per-area AGENTS.md for bundles/, nodes/, groups/, libs/,
  hooks/, data/, items/, bin/ — mechanism-focused, no enumeration.
- bundles/AGENTS.template.md — per-bundle doc template with
  optional `## Writes into` section for cross-namespace reactors.

bundlewrap-language reference (item types, dep keywords, reactors,
runbook, three-tier safety envelope) is not duplicated here; we
link out to the fork's AGENTS.md instead.

bw test still green. all internal links resolve. Phase 0 invariants
preserved (libs/hooks docstrings, bin/* # purpose: headers).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 15:44:45 +02:00
730625e36c
libs/hooks/bin: add one-line module docstrings and # purpose: headers
every libs/*.py and hooks/*.py now starts with a one-line module
docstring; every bin/* script starts with a `# purpose:` header.
discovery-by-`ls`-and-read instead of by index.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 15:36:19 +02:00
7ea760d5eb
hooks/test_ptr_records.py: introduce 2026-01-11 10:18:21 +01:00
7f43efc857
hooks/wake_on_lan.py: dedup 2025-12-03 22:05:15 +01:00
0603a8c7e6
test unique node ids 2025-12-01 20:57:16 +01:00
1fe2e0710f
macbook custom ssh key 2023-08-01 12:57:27 +02:00
fe884f446a
is_known_as known_hosts metadata 2023-08-01 12:52:15 +02:00
49b05fe8b8
known_hosts 2023-07-28 10:00:16 +02:00
6c84dfa678
apply macbook 2022-11-26 12:24:27 +01:00
mwiegand
76a568e8b6 node run wol 2022-06-01 11:11:14 +02:00
mwiegand
5fd969ebb2 apt_upgrade_and_restart_all 2022-03-07 17:54:50 +01:00
mwiegand
386d7bab9b wake info 2022-02-12 21:01:13 +01:00
mwiegand
a581dbfee9 format 2022-02-12 20:55:08 +01:00
mwiegand
fab4d0a476 wakeup hook 2022-02-12 20:40:28 +01:00