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

Ouverte
#642 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
55/100
Type d'issue
Documentation
Clarté
Clairement spécifiée
Activité
Active
Stack technique
javascript, nodejs

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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

Langage dominant
JavaScript
Étoiles
9.1k
Forks
848
Merge moyen
14 h 39 min
PR mergées (30 j)
1

Préparer son environnement

Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de EvoMap/evolver

Toutes les issues de EvoMap/evolver

Issues similaires

Plus d'issues JavaScript

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.