Linux x86_64 / systemd user service / fresh isolated user
head commit 244ccf176484844b40f8fa41ae44859447d3a737
$ t3 service install --base-dir /demo/real
Service installed · t3@0.1.11
Log: /demo/real/userdata/logs/boot-service.log
Run `/demo/driver/t3 up --base-dir /demo/real` to choose how your other devices reach it.
[exit 0]
=== Alias ownership, healthy status, install, restart and update ===
$ t3 service status --base-dir /demo/alias
T3 Code service
  Status: installed · t3@0.1.11
  Unit: ~/.config/systemd/user/t3code.service
  Logs: /demo/alias/userdata/logs/boot-service.log
  Memory protection: off, user.slice grants none. Run `t3 service protect`.
  OOM score: 100
[exit 0]
$ t3 service status --base-dir /demo/real
T3 Code service
  Status: installed · t3@0.1.11
  Unit: ~/.config/systemd/user/t3code.service
  Logs: /demo/real/userdata/logs/boot-service.log
  Memory protection: off, user.slice grants none. Run `t3 service protect`.
  OOM score: 100
[exit 0]
$ t3 service install --base-dir /demo/alias
T3 Code service is already installed with t3@0.1.11 (/demo/driver/t3).
[exit 0]
OBSERVATION: install through alias left unit byte-identical=True
$ systemctl --user show t3code.service -p MainPID
MainPID=167282
[exit 0]
$ t3 service restart --base-dir /demo/alias
Restarted the T3 Code service on t3@0.1.11.
[exit 0]
$ systemctl --user show t3code.service -p MainPID
MainPID=167553
[exit 0]
$ t3 update 0.1.11 --yes --base-dir /demo/alias
  Checking for updates...
t3 and its background service are already on 0.1.11 (stable).
[exit 0]
=== Service-only uninstall through alias ===
$ t3 service uninstall --base-dir /demo/alias
Removed the T3 Code service.
[exit 0]
OBSERVATION: unit=False runtime=True userdata=True
$ systemctl --user show t3code.service -p ActiveState -p SubState -p ExecMainStatus
ExecMainStatus=0
ActiveState=inactive
SubState=dead
[exit 0]
$ t3 service install --base-dir /demo/real
Service installed · t3@0.1.11
Log: /demo/real/userdata/logs/boot-service.log
Run `/demo/driver/t3 up --base-dir /demo/real` to choose how your other devices reach it.
[exit 0]
=== Full uninstall through alias ===
$ t3 uninstall --yes --base-dir /demo/alias
This will remove:
  the background service (stopping it first)
  every downloaded version under /demo/alias/runtime
Your projects, threads, and settings under /demo/alias/userdata are kept. Delete that directory yourself if you want them gone too.
Removed the background service.
Removed /demo/alias/runtime.

t3 is uninstalled. Thanks for trying T3 Code.
[exit 0]
OBSERVATION: unit=False runtime=False userdata=True
$ systemctl --user show t3code.service -p ActiveState -p SubState -p ExecMainStatus
ExecMainStatus=0
ActiveState=inactive
SubState=dead
[exit 0]
$ systemctl --user restart t3code.service
Failed to restart t3code.service: Unit t3code.service not found.
[exit 5]
$ systemctl --user show t3code.service -p ActiveState -p SubState -p ExecMainStatus
ExecMainStatus=0
ActiveState=inactive
SubState=dead
[exit 0]
$ t3 service uninstall --base-dir /demo/real
T3 Code service is not installed.
[exit 0]
=== Repair/install refusal through alias (stale unit description) ===
$ t3 service install --base-dir /demo/real
Service installed · t3@0.1.11
Log: /demo/real/userdata/logs/boot-service.log
Run `/demo/driver/t3 up --base-dir /demo/real` to choose how your other devices reach it.
[exit 0]
$ t3 service install --base-dir /demo/alias
Service updated · t3@0.1.11
Log: /demo/alias/userdata/logs/boot-service.log
[exit 0]
$ t3 service status --base-dir /demo/alias
T3 Code service
  Status: installed · t3@0.1.11
  Unit: ~/.config/systemd/user/t3code.service
  Logs: /demo/alias/userdata/logs/boot-service.log
  Memory protection: off, user.slice grants none. Run `t3 service protect`.
  OOM score: 100
[exit 0]
$ t3 service uninstall --base-dir /demo/real
Removed the T3 Code service.
[exit 0]
=== Ownership changes while full uninstall awaits confirmation ===
$ t3 service install --base-dir /demo/real
Service installed · t3@0.1.11
Log: /demo/real/userdata/logs/boot-service.log
Run `/demo/driver/t3 up --base-dir /demo/real` to choose how your other devices reach it.
[exit 0]
$ t3 uninstall --base-dir /demo/alias  # pause at confirmation
This will remove:
  the background service (stopping it first)
  every downloaded version under /demo/alias/runtime
Your projects, threads, and settings under /demo/alias/userdata are kept. Delete that directory yourself if you want them gone too.
? Remove t3 from this machine?
$ t3 service uninstall --base-dir /demo/real
Removed the T3 Code service.
[exit 0]
$ t3 service install --base-dir /demo/other
Service installed · t3@0.1.11
Log: /demo/other/userdata/logs/boot-service.log
Run `/demo/driver/t3 up --base-dir /demo/other` to choose how your other devices reach it.
[exit 0]
Service now serves /demo/other. Confirm original uninstall: y + Enter
 › (y/N)✔ Remove t3 from this machine? … yes
Left the background service: it now serves another T3 home.
Removed /demo/alias/runtime.

t3 is uninstalled. Thanks for trying T3 Code.

OBSERVATION: unit=True runtime=False userdata=True
$ systemctl --user show t3code.service -p ActiveState -p SubState -p ExecMainStatus
ExecMainStatus=0
ActiveState=active
SubState=running
[exit 0]
$ t3 service status --base-dir /demo/other
T3 Code service
  Status: installed · t3@0.1.11
  Unit: ~/.config/systemd/user/t3code.service
  Logs: /demo/other/userdata/logs/boot-service.log
  Memory protection: off, user.slice grants none. Run `t3 service protect`.
  OOM score: 100
[exit 0]
$ t3 service uninstall --base-dir /demo/alias
The T3 Code service serves /demo/other, so it was not removed. Pass `--base-dir '/demo/other'` to remove it.
[exit 0]
OBSERVATION: genuinely different-home unit retained=True
$ t3 service uninstall --base-dir /demo/other
Removed the T3 Code service.
[exit 0]
=== Completed; all proof services removed ===