1b188fbdb50af7a7807d8a69947c192813e4b852
10
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
6791e6c741 |
docs(opencode): herdr-интеграцию не ставим, oc фильтрует --server (ADR-0006, R1.19)
test-runner / smoke (push) Successful in 0s
- herdr: установка opencode-интеграции пишет V2-регистрацию в cli.json, а он read-only симлинк в /nix/store ⇒ herdr отказывается («config has multiple hard links», не EROFS). На sapphira не установлена НИ ОДНА agent-интеграция herdr ⇒ интеграцию не ставим, решение владельца снято. - oc: --server принимают не все подкоманды (run/attach/tui/api/models/agent — да; mcp/service/auth/serve/plugin — нет) ⇒ обёртка фильтрует по подкоманде. - legacy ~/.omo/omo.jsonc проверен на хосте: реальные model id реестра. - Вычищен мёртвый кэш v1 (~/.cache/opencode/packages, npm/oh-my-openagent@latest). - T36 → completed. |
||
|
|
68294e8e0b |
3x-ui update
test-runner / smoke (push) Successful in 0s
|
||
|
|
4bf8e552b4 |
docs(agents): sync R1.15, ADR-0005, T21-T32 from metaagent-director-2026-10-15
test-runner / smoke (push) Canceled after 0s
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 после «проверяться.» |
||
|
|
ef8a355d00 |
agents(rules): sync R1.2/R1.14/R2, trap rows, nextcloud:80
R1.2 (мёртвый storage-guard): mkStorageGuard возвращает только
ConditionPathIsMountPoint; RequiresMountsFor отсутствует намеренно
(создаёт dependency, по которой systemd сам монтирует ФС при старте
юнита и обессмысливает гвард — проверено 2026-10-10). Все потребители
передают ConditionPathIsMountPoint через serviceConfig → рендерится
в [Service], где systemd его не читает. Масштаб: 13 systemd-юнитов /
12 сервисов (postgresql, samba, homebox, gitea, navidrome, syncthing,
uptime-kuma, immich, nextcloud, calibre-web, 3x-ui, tape-rotation x2).
R1.14 (новый, из ADR-0004): имя systemd.services.<…> при переопределении
upstream-юнита должно побайтово совпадать с nameValuePair-ключом
модуля. Диагностировать юнит только чтением файла, не systemctl show.
R2: ссылка обновлена с opencode.nix:339 на :407; баг serviceConfig
отмечен как исправленный в
|
||
|
|
6a5b075039 |
docs(agent): R1.11-R1.13 — podman ports, x-ui.db rollback, panel TLS
Also fixes R1 numbering: two items were both labelled '8', so reality443Forwarding counted as ninth while AGENTS.md, traps and
|
||
|
|
f2e70bb147 |
docs: reality443Forwarding = required invariant (R1.10) — prevent T10 recurrence
AGENTS.md + project-rules.md trap entries updated: reality443Forwarding is NOT a 'lost-purpose' option, it is REQUIRED on VDS. The nginx stream (modules/vds/nginx.nix) routes 443 → 127.0.0.1:15380 → container:443; removing the option breaks Xray REALITY while SSH and the panel keep working (which is exactly what the owner observed). New invariant R1.10 in project-rules.md. T10 manifest entry stays 'pending' pending a proper decision record. |
||
|
|
3f5c048572 |
docs(backups): formalize R1.9 — backups external/unknown, accepted risk
Open question 5.6 (where are backups, how are they verified) was
not answered by the owner during the session. Rather than leave
T5 indefinitely pending, formalize the current state as an
explicitly-accepted risk:
- R1.9 added to project-rules.md: «Backups: external/unknown —
no strategy declared in this repo. Accepted risk. Failure of
/dev/sdc1 (External) = full data loss of 9 services on sapphira.»
- .agent/decisions/0002-backups-external.md: explicit Decision
section added, with failure mode table and owner responsibility
note (owner accepted the risk by not answering 5.6 after direct
request in the session's final report).
- T5 in manifest.json → completed (docs written, risk acknowledged,
R1.9 formalized).
- T3 in manifest.json: notes updated to reflect the SSH block
(both 100.64.1.0 Tailscale and 109.248.161.5:22 timeout on
2026-10-10). Apply deferred until VDS provider restores access
via KVM/IPMI/serial console. Proposal Option A ready.
This closes the documentation chain. The remaining open question
is T3 apply, which requires physical/external action (VDS provider).
The user can resolve it at any time by:
1. Restoring SSH via KVM/IPMI/serial console
2. Running 'deploy . otreca' (or 'nixos-rebuild switch --flake
.#otreca' on otreca directly)
3. Applying the Option A fix from
.agent/decisions/proposals/vds-nftables-fix.md
|
||
|
|
0df9688643 |
fix(review-T17): apply review fixes B1/I1/I2/M1/M2 + T10+T15+any.nix+wsl cleanup
Review of dev vs |
||
|
|
61b3724752 |
metaagent: Wave 1 + T4 + T7 + T3 + T5 + T15 + T16 — 12 tasks of tech-debt reduction
Comprehensive batch addressing the 16-task backlog in
.agent/tasks/manifest.json. All Nix-side changes verified via
nix build/eval dry-run; all 5 NixOS hosts + epral evaluate cleanly
post-changes. No regressions.
Wave 1 (non-functional cleanup):
T1/A1 — configurations/mobile.nix:12: fix `import ../lib/xlib.nix`
(broken path) → `import ../lib/xlib`. Unblocks nixOnDroid
configurations.epral. R1.1 invariant.
T8/C3 — modules/containers/3x-ui.nix: remove `podman-update-3xui_app`
systemd service and commented timer. Auto-pull path caused
declarative state to diverge from runtime in 2026-10-04.
R1.5 invariant.
T13/D3 — modules/server/nginx.nix:368-371: remove dead
`networking.firewall.allowedTCPPorts = [80 443]`.
`firewall.enable = false` on sapphira (R1.3), so openFirewall
rules are no-op. Replace with R1.3 comment.
T6/C1 — .agent/decisions/notes/3x-ui-xray-26.9.md (13KB, 208 lines):
recover migration notes from git
|
||
|
|
16644fcc0b |
metaagent: install v3.0.0, migrate docs/arch/* → .agent/
- install.sh: .agent/src/ (PROTOCOLS, COMMANDS, TEMPLATES, install.sh/ps1, GUIDE)
- .temp/ добавлен в .gitignore
- .agent/checkpoints.json: phases.init=completed, project_type=existing
- .agent/rules/project-rules.md: R1-R5 (инварианты, ловушки, куда лезть, проверки)
- .agent/context/analysis-report.md: стек, архитектура, конвенции, кандидаты CI
- .agent/context/project-state.md: сжатый слепок (хосты, сервисы, ADR)
- .agent/roadmap/sources.md: открытые вопросы слоёв 0-11 (бывший invariants.md)
- .agent/tasks/manifest.{json,md}: 16 задач A1-F + 23 в backlog
- .agent/decisions/0001-sops-secrets-paths.md: ADR для инварианта S1
- AGENTS.md: metaagent-шапка + сжатая выжимка nixos (yaml frontmatter сохранён)
- удалены docs/arch/{map,invariants,todo}.md
|