dev
11
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ae760f6ab4 |
домены: реестр xlib.net.domains + синхронизация webDomain 3x-ui (T63, ADR-0012)
- lib/xlib/net.nix: domains.public/opencodes/internal/ad; все живые
хостнеймы выводятся из реестра (nginx, coredns, authelia, nextcloud,
gitea, vds, netbird, open-webui, opencode, nix-cache). Литералы — только
в комментариях/example/email/trusted-key и в БД панели.
- 3xui-domain-sync.service: before+wantedBy podman-3xui_app, идемпотентно
приводит settings.webDomain к host."3x-ui".certDomain ДО старта панели
(R1.19/инвариант 19); контейнер сам не перезапускает.
- config-fingerprint до/после: значения не изменились — 0 отличий на
rydiwo/atoridu/wsl, на sapphira/otreca только новый юнит и unitConfig.
- epral: убран nginx-mainline из strictModule (nix-on-droid не вычислялся
с
|
||
|
|
5f3131ea3e |
chore(agent): close T3/T20/T38/T57 and sync metadata with the tree
- 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
|
||
|
|
96431cc32b |
docs(agent): record the outcome of the tech-debt session (T38-T48, T46)
Metastate only — no code touched. Brings the three state files in line with what actually landed between |
||
|
|
d76cbc3ff2 |
fix(agent): remove committed herdr_web_token literal (T38)
The live 256-bit herdr_web_token was committed in cleartext. This repo only has a gitea remote and the token is the sole gate for herdr.zeroq.su (vhost without authelia — R1.15 / ADR-0005), so a leaked literal is a real exposure. The identical 64-hex literal lived in two files. Only .agent/handoff-summary.md is in scope for this session (.agent/tasks/manifest.json:412 is off-limits by the session constraints), so this commit removes it from the reachable file and documents the remainder explicitly. The value is still in git history, so removing it from the tree is not enough: the token must be rotated on the host. Left as an open item — see .agent/tasks/manifest.md T38 and the note added next to the redacted token. Not pushed. |
||
|
|
f484a89226 |
docs(agent): fix metastate — register tech-debt audit tasks T38–T57
A read-only audit of the whole repo (233 tracked files, 147 .nix) surfaced 20 tech-debt items across structure, duplication, doc drift, fragility, test coverage and junk. This commit records the metastate only — no code is touched. .agent/tasks/manifest.md — NEW. Human-readable register of the T38+ series (20 items: 11 pending, 9 blocked); each with id, path:line, type (restructuring / drift / junk / fragility), risk, benefit and "safe now or needs a safety net". Deliberately NOT a copy of manifest.json: that file was deleted on 2026-10-15 precisely because it was a duplicate, so it stays the machine source of truth for T1–T37. PROTOCOLS/07_HANDOFF.md:39 requires both files to exist, so this restores the protocol without reintroducing the drift. .agent/context/project-state.md — new session section (was / done / next) and removal of stale claims: the 3x-ui panel is pinned to v3.10.2 (not :latest), T18 is committed, ADR-0003/0005/0006 exist, CI status is "never ran once", 192.168.1.20 occurs 42 times, nginx.nix:253 -> :378. .agent/handoff-summary.md — new entry point at the top for the next agent, pending count 8 -> 9 (T37 was missing), manifest.json described as T1–T37. Not pushed. |
||
|
|
fd09704c76 |
chore(agents): metastate cleanup — sync checkpoints↔manifest, fix handoff T18/T32, dedup AGENTS.md invariant 12, fix backlog_count 28→30
test-runner / smoke (push) Canceled after 0s
Detected drift: - checkpoints.json:tasks[] (T1-T20 + T35) устаревал vs manifest.json:tasks (T1-T33); tasks[] удалён полностью (manifest.json — единственный source of truth по задачам, per checkpoints-schema v3.0 + protocol 6.3 archival deviation). T35-призрак перенесён в closed_attempts[]. - checkpoints.json:phases (execution=completed, handoff=in_progress) расходились с manifest.json (execution=in_progress, handoff=pending). Синхронизированы на manifest-версию + AGENTS.md:159-163 обновлён до того же набора с комментарием про source of truth. - AGENTS.md:87 инвариант 12 заканчивался дублированным R1.14-блоком про escapeSystemdPath (остался с сессии 14:30). Удалён хвостовик, инвариант 12 теперь корректно заканчивается на R1.15, ADR-0005. - handoff-summary.md:74 T18 в pending таблице (формально completed в manifest с saga close-out), строка удалена. handoff-summary.md:90 T32 в pending таблице (тоже completed) — статус изменён на completed 2026-10-15T14:30. Сопутствующие ссылки T18/T32 в «Project State» и «Next Steps» тоже приведены к актуальному состоянию. - manifest.json:backlog_count=28 был арифметически неверен (22 F-вопроса + 8 pending задач = 30); F-листинг включал закрытый 5.6, а счётчик «новых pending» не учитывал T20. Исправлено на 30 с breakdown блоком и переписанной backlog_note. - checkpoints.json:resolved_doc_drift — 3 deferral'а (checkpoints↔manifest-tasks, agentsmd- invariant12-dup-r114, checkpoints-phases-vs-manifest) закрыты с resolved_at=2026-10-15T17:42Z и описанием фикса в каждом. - checkpoints.json:session_id и session_chain обновлены до текущей сессии metaagent-cleanup-2026-10-15T17:42Z. - manifest.json:session_id и date обновлены до 2026-10-15T17:42; session_id показывает всю цепочку init → director → attempt(rollback) → cleanup. - AGENTS.md frontmatter date-modified: 2026-10-15T03:00 → 2026-10-15T17:42. Not changed (out of scope): - metaagent-director/AGENTS.md + README.md (другой репо, не закоммичены) - 4 reflog-коммита от попытки шима ( |
||
|
|
df975804e8 |
chore(agents): meta-state refresh — herdr attach attempt reverted, dev force-reset to 3d4f1f5
test-runner / smoke (push) Canceled after 0s
Сессия metaagent-attempt-2026-10-15T20:25Z закрыта. Попытка ( |
||
|
|
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 в
|
||
|
|
fb36f78690 |
docs(agents): document deploy .#rydiwo as next physical action (T22 fix landed)
test-runner / smoke (push) Canceled after 0s
T22 в tasks/manifest.json: 'warning' (stale: «home/secondary.nix НЕ закоммичен») → три новых поля: • fix_landed: |
||
|
|
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 после «проверяться.» |
||
|
|
57182e2a4d |
agents(narrative): refresh project-state, handoff, roadmap
test-runner / smoke (push) Canceled after 0s
project-state.md: контейнеры 6 → 4 (3xui_app, taperotation-backend,
taperotation-frontend, open-webui); mkServiceStorage → mkStorageGuard;
T4 переписан под 13/12 + RequiresMountsFor отсутствует намеренно;
добавлен ADR-0002 в Decisions in Effect; дрейф manifest.md помечен
как устранённый; nftables атрибутирован configurations/vds.nix:71-91;
добавлена заметка про завис nix flake check в этой сессии (T2
не отзывается — коммит
|