3 Commits
Author SHA1 Message Date
oqyude 86b58fc576 ci: три статические проверки — coredns/nginx, listen.addr, .agent
#10 check-domains.py: DNS-запись в зоне zeroq.su без nginx-vhost'а.
Известные расхождения (снятые сервисы, coturn/netdata/uptime-kuma в
архиве) вынесены в .ci/tests/known-domain-gaps.txt; новые расхождения
роняют проверку. Обратное направление (vhost без локальной записи) —
информация: публичные домены резолвятся через публичный DNS.

#11 check-listen-addrs.py: listen.addr должен называть интерфейс, а не
сеть (192.168.1.0/24 — ошибка, 100.64.0.0 — tailscale-адрес, не сеть).
Рядом self-test: проверка, которая не может упасть, — не проверка.

#12 check-agent-consistency.py: AGENTS.md, manifest.md, manifest.json и
decisions/index.json не должны противоречить друг другу. Сейчас
противоречили: в сводке AGENTS.md значилась закрытая T52 и не значились
T58/T60/T61, а manifest.md утверждал, что T38+ не внесены в JSON.

Все три — python без зависимостей, запускаются из .ci/checks.sh, который
и CI, и pre-commit вызывают одинаково.
2026-11-15 06:34:10 +03:00
oqyude 5f3131ea3e chore(agent): close T3/T20/T38/T57 and sync metadata with the tree
test-runner / smoke (push) Successful in 1s
nixos flake checks / invariant-checks (push) Canceled after 0s
- T3: premise refuted by a runtime 'nft list ruleset' on otreca - 'inet nixos-fw'
  already has 'policy drop'; the hand-written 'inet filter' only rate-limits SYN
  and must NOT get a drop (it would blackhole the VDS). AGENTS invariant 6 and
  the traps table updated; T3-A proposal marked withdrawn. No code change.
- T38: herdr_web_token rotated (old -> 401, new -> 200); literal removed from
  manifest.json (token -> secret_ref). Old token in git history is now invalid.
- T20: completed (100755, bash invocation, .gitea workflow).
- T57: T38-T57 registered in manifest.json, schemas aligned with the real
  format, dangling request.json $schema resolved, new dependency-free
  validator wired as check #9.
- T4/T52: completed; invariant 2, R1.2, ADR-0004 and project-state updated;
  checkpoints.phases.execution -> completed, handoff -> in_progress.
- T58 filed: triple 'allowedUDPPorts = [ 53 ]' duplicate.

AGENTS.md also carries the .omo trap-row update from the parallel opencode
session (commit 8079536), which was left uncommitted in the shared tree.
2026-10-25 02:10:18 +03:00
oqyude 1b188fbdb5 test(ci): add an import-graph check, green on the current tree (T41 net)
Nothing in this repo verifies that an import actually resolves. That matters
here more than usual: several modules are referenced only through
commented-out import lines, and 15 .nix files sit outside the import graph
entirely, so a stale reference is invisible until someone uncomments it or
nix evaluation happens to touch that file.

The check is deliberately narrow: it matches only two import shapes — a line
whose whole content (after an optional `#`) is a relative path, and
`import ../foo` / single-line `imports = [ ./a ./b ]`. Prose and shell-script
bodies are not matched, and anything containing `${...}` is skipped because it
cannot be resolved statically. Commented-out import lines ARE matched on
purpose: a comment naming a deleted file still misleads the next reader.

Baseline on the current tree: 132 .nix files, 120 import references, all
resolve. Wired in as check #8 of .ci/checks.sh; skips when python3 is absent.

`bash .ci/checks.sh --no-build` → PASS 3 / FAIL 0.

Not pushed.
2026-10-24 01:44:27 +03:00