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

Open
#642 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, nodejs

Research direction

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.

Written by the indexing model from the issue text.

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

Dominant language
JavaScript
Stars
9.1k
Forks
848
Avg merge
14h 39m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EvoMap/evolver

All issues in EvoMap/evolver

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.