doctor: stale-Watchtower remedy prints bin/watchtower.sh, unrunnable in vendored mode

Đang mở Phù hợp với người mới
#68 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
88/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
shell
Lĩnh vực
cli

Hướng nghiên cứu

Trong bin/fw, các cách khắc phục liveness của Watchtower nằm ở dòng 1483 và 1488; accessor công khai fw watchtower {start|stop|restart} nằm ở dòng 5091–5097. Đọc các nhánh đó và chạy fw doctor với một tiến trình Watchtower cũ. Hoàn tất khi cách khắc phục được in ra hoạt động trong cả layout vendored và shared-tooling.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Context

  • Framework version: 1.6.258
  • Project: 050-email-archive (shared-tooling mode)
  • Reported: 2026-09-25T04:46:06Z

Description

fw doctor's Watchtower liveness branch prints a remediation command that does not exist in
vendored / shared-tooling mode:

  WARN  Stale Watchtower triple (pid 744537 not running)
        Run: bin/watchtower.sh stop && bin/watchtower.sh start
$ ls bin/watchtower.sh
ls: cannot access 'bin/watchtower.sh': No such file or directory
$ ls .agentic-framework/bin/watchtower.sh
-rwxr-xr-x 1 root root 13732 .agentic-framework/bin/watchtower.sh

Two sites, bin/fw:1483 and bin/fw:1488. The remedy fails with No such file or directory,
which reads to an operator like a broken install rather than a wrong instruction.

The public accessor fw watchtower {start|stop|restart} already exists (bin/fw:5091-5097) and
resolves correctly from either layout.

-                echo -e "         Run: bin/watchtower.sh restart"
+                echo -e "         Run: bin/fw watchtower restart"
...
-            echo -e "         Run: bin/watchtower.sh stop && bin/watchtower.sh start"
+            echo -e "         Run: bin/fw watchtower restart"

Field-verified: with a dead pid, doctor's printed remedy now executes and restores the service.
Note that the end-to-end path also required a second fix, reported separately: do_restart
discards the recorded port before do_start can read it.

Not a duplicate of #65 — #65 is audit.sh emitting a hardcoded cause; this is bin/fw's
doctor emitting an unrunnable path.


Reported via fw upstream report from field installation

Ngôn ngữ chính
Shell
Star
16
Fork
6
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DimitriGeelen/agentic-engineering-framework

Tất cả issue của DimitriGeelen/agentic-engineering-framework

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.