TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/agent0ai/space-agent/llms.txt
Use this file to discover all available pages before exploring further.
user and group commands are out-of-process filesystem writers. They edit the logical L1 and L2 layers on disk through shared server libraries, but they do not notify a running server through IPC or the clustered worker mutation path. A live server observes these CLI changes through watchdog file watching and its periodic reconcile backstop — not through a direct channel.
user
node space user manages L2 user accounts. It supports two subcommands: create and password (alias passwd).
user create
Creates the full logicalL2/<username>/ directory structure including user metadata, a backend-sealed password verifier, signed session storage, and a module folder. When CUSTOMWARE_PATH is configured, writes land under CUSTOMWARE_PATH/L2/<username>/.
Usage
Flags
Password for the new user. Written as a backend-sealed verifier envelope to
L2/<username>/meta/password.json. Required — create fails without it.Human-readable display name written to
L2/<username>/user.yaml as full_name. Defaults to the username when omitted.Comma-separated list of group IDs to add the new user to immediately after creation. Group IDs are normalized, de-duplicated, and sorted before membership writes. Any missing writable
L1 groups are created automatically — including predefined runtime groups such as _admin.Replace the full
L2/<username>/ directory if it already exists. Without this flag, create fails when the user directory is present.Files created
| Path | Contents |
|---|---|
L2/<username>/user.yaml | User metadata including full_name |
L2/<username>/meta/password.json | Backend-sealed password verifier envelope |
L2/<username>/meta/logins.json | Signed session storage (initialized empty) |
L2/<username>/mod/ | Per-user module folder |
user password
Resets a user’s password and clears all active login sessions. The aliaspasswd is interchangeable with password.
Usage
Flags
New password for the user. Rewrites
meta/password.json and clears meta/logins.json to invalidate all existing sessions.CUSTOMWARE_PATH effect
WhenCUSTOMWARE_PATH is set — either through node space set CUSTOMWARE_PATH=<path>, a launch override, or the process environment — all L2/... writes land under CUSTOMWARE_PATH/L2/... and any --groups writes land under CUSTOMWARE_PATH/L1/....
group
node space group creates and maintains writable L1 groups. It writes L1/<group-id>/group.yaml through shared server libraries and never touches L0 firmware groups, which are developer-maintained outside the CLI.
group create
Creates the logicalL1/<group-id>/ root, initializes group.yaml with empty membership lists, and ensures a mod/ folder exists.
Usage
Flags
Replace the full
L1/<group-id>/ directory if it already exists. Without this flag, create fails when the group directory is present.group add
Adds a user or group to the target group’s membership or manager list. Creates the target writableL1 group if it does not already exist — this allows predefined runtime groups like _admin to gain their first writable membership file without a separate group create.
Usage
Flags
Switch the target list from included members to managing members. Without this flag,
add writes to included_users or included_groups. With it, add writes to managing_users or managing_groups.group remove
Removes a user or group from the target group’s membership or manager list.Usage
Flags
Target the
managing_users or managing_groups list instead of included_users or included_groups. Must match the flag used during add to remove from the correct list.group.yaml structure
Each group’sL1/<group-id>/group.yaml file tracks four lists:
| Field | Modified by |
|---|---|
included_users | group add <id> user <username> |
included_groups | group add <id> group <other-id> |
managing_users | group add <id> user <username> --manager |
managing_groups | group add <id> group <other-id> --manager |
CUSTOMWARE_PATH effect
WhenCUSTOMWARE_PATH is configured, L1/... writes land under CUSTOMWARE_PATH/L1/....