fix(app-context): UX 改进 - base_system 缺失时明确提示 + 重建命令 (Phase E)
之前 app context/status/login 在 appCode 不存在时返间接错误
('未登录' / '无权限' / '400/403' / 'System abnormality'),
用户不知道 app 已被 dacli app clear 删除, 浪费 debug 时间.
现在:
- app context --json 加 systemExists + error 字段, 缺失时退出码 2
- app context (人读) 输出明确 'appCode=X 不存在 + 重建命令'
- app status 默认检测 base_system (--no-check-system 跳过),
缺失时退出码 1 + 重建命令
- app login 成功后立即验证 system, 缺失时清除 token + 视为登录失败
+ 退出码 1 + 提示重建 (修复盲点: '✓ 登录成功' 但 token 无用)
抽 _check_system.ts 共享 helper (checkSystemExists + format*),
init.ts 的 checkSystemExists 已迁过去 (B-2 后续可重构).
tsds 9 bug 复盘 2026-06-27 (B-2 用户反馈)