MC/website/ops/OWNER-ROSTER-ADDITIONS.md

1.9 KiB

Explicit Owner roster additions

add-owner-roster-members.mjs plans or applies a named set of ordinary members to the verified Owner's single active owned clan and company. It runs only from its exact immutable CI release and resolves existing active Minecraft-linked accounts. It creates no accounts, sessions, applicant consent, staff ranks, ownership changes, recruitment advertisements or financial entries.

The operator reuses the original clan/company acceptance statement builders. Existing application-review routes use those same builders. The operator refuses pending applications, membership elsewhere, protected institutions, ambiguous organisations, insufficient capacity and stale links/deeds. It checks authority again under the held transaction, locks the accounts and deeds, and commits all requested additions plus the Owner audit together. A failed audit rolls back the roster changes. A stable operation UUID is bound to the exact accounts and organisations; a retry never resets their joining dates.

The production audit column permits 500 characters per entry. The operation receipt stores the full input hash and organisation references; separate bounded audit rows identify each target and its additions. The private saved plan retains the complete reviewed input. No audit truncation or schema enlargement is used.

Run the built helper first without --apply:

node current/ops/add-owner-roster-members.mjs --source=REVIEWED_COMMIT --request-id=OPERATION_UUID --targets=REGISTERED_USERNAME,REGISTERED_USERNAME

After reviewing the plan, repeat the same invocation with --apply. The helper saves the private reviewed plan and result under /root/dunerealms-owner-roster-backups/OPERATION_UUID. Check the actual authoritative rosters and subsequent native projections; do not claim game synchronization from an application build alone. Removal uses the existing member-removal domain flow, preserving later independent roster changes.