352dca3595904f7ee46d4fca3bfe14ef59cd6277
8
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
999378a3a0 |
docs(agents): saga close-out — T18/T32 closed, T33 added, ADR-0005 maintenance procedure зафиксирована
test-runner / smoke (push) Canceled after 0s
Saga: пользовательский репорт «rydiwo — Connection failed / Could not start
dynamically linked executable: bun» → три слоя фиксов на NixOS + plugin
update + closeout. Закрыта 2026-10-15T15:00.
ADR-0005 (.agent/decisions/0005-herdr-webui-no-authelia.md):
• Maintenance procedure переписана с устаревшей «herdr plugin update» (такой
команды нет — veriried 2026-10-15, herdr plugin --help показывает
enable|disable|action|log|pane|list|install) на фактический 7-шаговый
flow, отработанный на переходе 79beb36 → 439ad38:
1. cp active → .patched.bak (НЕ в .orig, там upstream-версия от install)
2. git checkout -- server/machine-security.ts (сброс unstaged patch)
3. git pull --ff-only origin main
4. cp .patched.bak active (восстановить)
5. cd $PLUGIN_DIR && bun install + bun run build
6. **python-edit ~/.config/herdr/plugins.json:source.resolved_commit**
(это поле обновляется ТОЛЬКО через herdr plugin install; без шага 6
herdr plugin list будет показывать старый коммит после рестарта — главный gotcha)
7. systemctl --user restart herdr + herdr plugin list | grep devswha
• Новый раздел «Runtime prerequisites на NixOS» (3 слоя, каждый проявляется
после починки предыдущего): pkgs.bun + pkgs.nodejs_22 в shell PATH
(home/modules/herdr-runtime.nix) + programs.nix-ld.enable = true глобально
(modules/essentials/packages.nix, stdenv.cc.cc.lib). Trap: системный bun
в PATH НЕ чинит запуск скачанного плагином bun'а (plugin использует свой
runtime manager, а не fallback).
manifest.json:
• T18 → completed (fix в
|
||
|
|
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 после «проверяться.» |
||
|
|
817e7c3d32 |
agents(state): metastate refresh 2026-10-15 (T19, T20, ADR-0002, manifest.md)
Фаза 06_METASTATE: рефреш бухгалтерского слоя.
Фазы manifest.json и checkpoints.json синхронизированы (analyse,
roadmap, decomposition, metastate теперь completed).
T4 (мёртвый storage-guard): notes переписан под 13/12, убрана ложная
рекомендация RequiresMountsFor, направление починки через unitConfig/
unit., ссылка на ADR-0004.
T15 (CI/pre-commit): ложное «.ci/checks.sh (executable)» заменено
на факт режима 100644 (см. T20).
T16 (E3, закомментированные модули): notes отражает современное
состояние (0 закомментированных, 12 в archive/server-modules/ + 3 в
archive/containers/ + stirling-pdf.nix удалён в
|
||
|
|
31f13ae365 |
docs(3x-ui): ADR-0003 — record immutable parts of the otreca REALITY chain
T10 removal of reality443Forwarding killed REALITY for 1.5h and looked like a total server outage. Records the 16:25->19:19 timeline, the failure signature (panel answers, 15380 refused), and rejects 3 alternatives: raising worker_connections, banning the retry storm, pinning the image. |
||
|
|
37b4956a25 |
revert(vds-nftables): restore original config — T3 fix needs discussion
Owner request 2026-10-10: 'отмени вообще правки файрволла, верни пока какие были до твоих работ. это требует обсуждения, потому что по прежнему ничего не работает, сайт не открывается, reality не работает.' This reverts 5 T3 code commits + 2 T3 doc commits: |
||
|
|
fafd3e2df7 |
docs(T3): mark nftables fix as applied + accepted
T3/A3 completed 2026-10-10: otreca nftables fix deployed via
nixos-rebuild switch. Verification on otreca:
- nft list ruleset: policy drop + 5 explicit accepts
(lo, established/related, ICMP, traceroute 33434-33534,
SSH on tailscale0, Xray REALITY 443) + log+drop
- iptables empty (no firewall.* shadow rules)
- SSH via Tailscale: works (the deploy itself proves it)
- Xray REALITY on 443: listening (sapphira → otreca XHTTP intact)
manifest.json T3 → completed with full notes.
.decisions/index.json T3-A proposal → accepted (status, files
updated to include configurations/vds.nix, notes with verification).
All 17 manifest tasks now resolved (1 truly deferred was T5 backups
risk — formalized as R1.9 in commit
|
||
|
|
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
|