KamoCRM

A terminated SI set back to Active is re-hired as the same SI (TPSIREHIRE)

FeatureSecurityService
Shipped
October 28, 2026 at 7:56 AM UTC
Author
Kamo
Commit
385f164

Owner 2026-10-28: terminated SIs are re-activatable like people. Active on a terminated SI's status now runs AiLifecycleService.rehire after the rest of the save, in its own transaction (rights: Manage SI Workforce plus the status's MANAGE_MEMBER_SECURITY; an SI never re-hires itself): - same member, history, charter, personality, memory, settings and avatar; - employment ACTIVE and ai_state ACTIVE by a guarded UPDATE out of RETIRED; - a seat claimed when one is free; with none, the SI is Active but paused 'Waiting for a seat', listed as a licensee, and resumed by the entitlements MEMBER message once a seat is assigned (a manual Resume is refused until then); - hire steps reopened: RUNTIME_ENROLL again (new credential and session from the runtime), unfinished MANAGER/MAILBOX/BRIEF, the phone line when asked (default: when it had one), a missing workstation left for Set up now; kept workstations get Keep, which cancels a pending deletion; - tasks handed to the supervisor stay there; a second retire hands the new ones off again (TASK_HANDOFF upserted back to PENDING); - audited AI_REHIRED (both directions are now audited), announced, rights recalculated; no welcome email, no sign-out of the re-hired SI. Other statuses on a terminated SI are refused in plain words.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing