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

Offen
#642 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
javascript, nodejs

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
JavaScript
Sterne
9.1k
Forks
848
Ø Merge
14 Std. 39 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus EvoMap/evolver

Alle Issues in EvoMap/evolver

Ähnliche Issues

Weitere Issues zu JavaScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.