Document supported macOS offline migration from npm installs to protected-audit service (v2.0.46)

Đang mở
#642 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, nodejs
Lĩnh vực
devops, documentation, security

Hướng nghiên cứu

Start with the v2.0.46 README, release installer, and migration checks around lines 789–802 described in the issue. Document the supported offline maintenance context, backup and migration path selection, operation order, verification, and recovery after partial provisioning. Done means npm users can follow a verified procedure, including whether full account logout is required.

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

Mô tả

Environment

macOS Apple Silicon; npm-managed Evolver 2.0.42 with existing audit history and user LaunchAgents for proxy/autoexec; evaluating 2.0.46.

Upgrade blocker / documentation gap

The v2.0.46 README describes npm installation, but the protected-audit installer in the release assets adds administrator-managed service provisioning and offline migration prerequisites. Updating npm alone does not provision that service. Our isolated new-version configuration probe reports protected_audit_unavailable: service_not_provisioned.

The checksum-verified release installer requires root privileges and, when importing existing legacy audit state, EVOLVER_PROTECTED_AUDIT_OFFLINE_CONFIRMED=1 plus no processes for the client UID. uid_offline() uses pgrep -u and accepts only exit status 1. The legacy-import check around lines 799-802 fails with client_must_be_logged_out_for_offline_import; the config-upgrade check around lines 789-790 uses client_must_be_logged_out_for_config_upgrade. Offline state is checked again during migration.

Stopping only Evolver is insufficient: a desktop session, terminal, or assistant under the same UID prevents satisfying this condition. An upgrade running inside that user session cannot complete the migration.

Requested supported procedure

Please document:

  1. Whether another administrator login/session is the supported maintenance context, and how to ensure the target account remains offline throughout migration.
  2. Selecting and verifying the matching standalone release binary and installer while retaining npm-managed clients.
  3. Identifying/backing up existing audit paths and related state, preserving identity, and choosing explicit migration paths.
  4. Ordering service stop, account logout, audit migration/readiness verification, npm upgrade, new login/group membership, and proxy/autoexec restart.
  5. Rollback/recovery after partial provisioning, ideally with read-only preflight/dry-run before creating system accounts/files.

If a supported path without full account logout exists, please document its isolation guarantees. Otherwise, explicitly include the offline maintenance requirement in npm upgrade instructions.

Security / verification scope

This is a request for a supported migration procedure, not to weaken audit separation or bypass offline checks. We inspected the release installer but did not execute privileged provisioning or set a false offline attestation. No credentials, private logs, or personal paths are included.

Release: https://github.com/EvoMap/evolver/releases/tag/v2.0.46

Ngôn ngữ chính
JavaScript
Star
9.1k
Fork
848
Merge trung bình
14 giờ 39 phút
Pull request đã merge (30 ngày)
1

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 EvoMap/evolver

Tất cả issue của EvoMap/evolver

Issue tương tự

Thêm issue về JavaScript

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.