madarctl CLI Reference & Operations
Using madarctl for health diagnostics, audit chain verification, Ed25519 key rotation, and admin recovery.
Administrative CLI Commands
The madarctl binary (madar_server/bin/madarctl.js) provides direct operational commands for system administrators:
Common madarctl Commands
# Verify database connectivity, workspace setup, and SHA-256 audit log integrity:
node bin/madarctl.js doctor
# Rotate the workspace Ed25519 policy signing keypair:
node bin/madarctl.js rotate-keys
# Reset an administrator's password and clear lockout state:
node bin/madarctl.js reset-admin --employee-no ADM-001 --password 'NewStrong#2026!Pass'