Files
nixos/.agent/decisions/index.json
T
oqyude 6170a0e774 docs(agents): sync R1.15, ADR-0005, T21-T32 from metaagent-director-2026-10-15
Brings the meta-agent narrative layer (.agent/) in sync with the
metaagent-director-2026-10-15 session that landed herdr multi-host
setup (T21-T25), herdr-webui nginx vhost evolution (T23), token gate
(T24), v0.2 docs in metaagent-director repo (T26), ADR-0005 (T27),
and the next-pass pending tasks (T28-T32, including v0.2 opencode-
director unit, upstream PR for sameOrigin X-Forwarded-Host, cleanup
of T18 status).

Key invariant formalized: R1.15 (herdr.zeroq.su без authelia, только
herdr-webui token + in-place patch в server/machine-security.ts до
T29 merge). Подробности в ADR-0005.

R1.14 (ADR-0004, escapeSystemdPath) уже внесён в прошлом проходе
(T19), дополнительно не дублируется здесь.

Whitespace regression fix in project-rules.md:145 — single line
wrap вместо extra spaces после «проверяться.»
2026-10-19 18:23:18 +03:00

73 lines
4.7 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"version": "3.0.0",
"updated_at": "2026-10-15T13:30",
"decisions": [
{
"id": "0001",
"title": "sops-пути — только через config.sops.secrets.<name>.path",
"status": "accepted",
"date": "2026-10-09",
"file": ".agent/decisions/0001-sops-secrets-paths.md",
"tags": ["sops", "secrets", "security", "invariant"]
},
{
"id": "0002",
"title": "Backups — external to Nix repo, no strategy declared",
"status": "accepted",
"date": "2026-10-09",
"file": ".agent/decisions/0002-backups-external.md",
"tags": ["backups", "documentation", "T5", "R1.9", "accepted-risk"],
"task": "T5",
"resolution": "Вопрос 5.6 («где бэкапы и как они проверяются?») владелец так и не ответил — и это НЕ блокер, а осознанно принятый риск. Решение принято в форме принятого риска: в .agent/rules/project-rules.md:42-48 закреплено правило R1.9 «Backups: external/unknown — accepted risk», в этом репозитории не декларируется ни одна бэкап-стратегия, а перечень failure modes лежит в .agent/decisions/0002-backups-external.md. Задача T5 закрыта как completed именно в этом смысле: неопределённость не устранена, а зафиксирована как осознанная. Неопределённость по 5.6 остаётся шумной только если владелец вернётся к теме: тогда R1.9 отменяется и заменяется на R1.x с описанием бэкап-стратегии и её верификации, а этот статус меняется на superseded.",
"moot_unless": "Владелец отвечает на open question 5.6 или явно просит пересмотреть бэкап-политику.",
"resolved_at": "2026-10-15T03:00"
},
{
"id": "0003",
"title": "Цепочка 3x-ui REALITY на otreca — что нельзя менять (R1.10-R1.13)",
"status": "accepted",
"date": "2026-10-10",
"file": ".agent/decisions/0003-3x-ui-reality-chain.md",
"tags": ["3x-ui", "xray", "reality", "otreca", "nginx", "invariant", "R1.10", "R1.11", "R1.12", "R1.13", "T10"]
},
{
"id": "0004",
"title": "Имя systemd-юнита при переопределении upstream-модуля (escapeSystemdPath)",
"status": "accepted",
"date": "2026-10-15",
"file": ".agent/decisions/0004-systemd-unit-attr-name.md",
"tags": ["systemd", "gitea-runner", "nix-module-system", "sapphira", "invariant", "R1.14", "trap"],
"supersedes_wrong_conclusion_of": "e6e82b8"
},
{
"id": "0005",
"title": "herdr.zeroq.su — за nginx без authelia, только herdr token",
"status": "accepted",
"date": "2026-10-15",
"file": ".agent/decisions/0005-herdr-webui-no-authelia.md",
"tags": ["herdr", "herdr-webui", "nginx", "authelia", "cors", "sameorigin", "sapphira", "invariant", "R1.15", "csrf"],
"task": "T27",
"resolution": "vhost herdr.zeroq.su обходит authelia forward-auth: (а) POST через authelia → 500, (б) sameOrigin() в upstream devswha/herdr-web-ui не читает X-Forwarded-Host → 403 на каждом cross-origin POST за reverse proxy. Auth model — herdr_web_token (256 бит, rate-limit в server/auth.ts). Maintenance: in-place patch в server/machine-security.ts перезаписывается при herdr plugin update; T29 — PR в upstream с поддержкой X-Forwarded-Host. Восстановление authelia перед vhost'ом станет возможным после T29, тогда ADR пересматривается.",
"moot_unless": "T29 мержится в upstream devswha/herdr-web-ui",
"related_artifact": "S:\\Git\\metaagent-director\\AGENTS.md (v0.2)",
"resolved_at": "2026-10-15T13:30"
}
],
"proposals": [
{
"id": "T3-A",
"title": "nftables fix для otreca (R1.6: явная policy drop, убрать firewall/nftables конфликт, SSH только на tailscale0)",
"status": "proposed",
"date": "2026-10-09",
"files": [
".agent/decisions/proposals/vds-nftables-fix.md"
],
"tags": ["nftables", "vds", "otrecа", "security", "R1.6", "T3"],
"task": "T3",
"blocked_by": [
"user: SSH-доступ на otreca должен быть восстановлен до apply"
]
}
]
}