xworkspace-console/docs
Haitao Pan 11701c6037 fix(macos): patch vault role post-clone for macOS-standard dirs
The vault role's 'Ensure standalone Vault directories exist' task creates
/etc/vault.d and /opt/vault/data with owner: root and lacks the Darwin guard
its sibling tasks have, so it fails under macOS become=false. Unlike the
bridge dir (owned by the service user, fixable via -e), this owner: root is
hardcoded and not overridable, so the role logic must change.

Since the role lives in a separate playbooks repo, reuse the existing
post-clone patch mechanism (cf. patch_playbook_user_systemd): add
patch_playbook_vault_macos() that, on Darwin only, guards the directory task,
makes vault dirs/binary OS-conditional (macOS -> ~/Library/Application
Support/vault[/data], /opt/homebrew/bin/vault; Linux unchanged), and creates
the user-owned data dir in macos.yml. Idempotent; verified against the real
role. Documents TC-MAC-013.
2026-06-18 11:33:42 +00:00
..
case fix(macos): patch vault role post-clone for macOS-standard dirs 2026-06-18 11:33:42 +00:00
designs Rebuild console with React Vite and Go 2026-06-07 13:01:06 +08:00
dessign Rebuild console with React Vite and Go 2026-06-07 13:01:06 +08:00
operations Rebuild console with React Vite and Go 2026-06-07 13:01:06 +08:00
report fix(macos): patch vault role post-clone for macOS-standard dirs 2026-06-18 11:33:42 +00:00
ai-workspace-runtime-delivery-plan.md feat: aggregate prebuilt workspace releases 2026-06-15 21:59:35 +08:00
ARCHITECTURE.md update: docs/ARCHITECTURE.md 2026-06-10 10:46:24 +08:00
DATA_MANAGEMENT_TLDR.md docs(ai-workspace): add DATA_MANAGEMENT_TLDR for backup, restore, migrate and uninstall 2026-06-17 14:26:29 +08:00
FEATURES.md docs: add feature overview 2026-06-15 14:34:02 +08:00
OFFLINE_AI_WORKSPACE_INSTALLER.md Fix offline installer release lookup 2026-06-16 09:16:25 +08:00
REPOSITORY_OVERVIEW.md docs: move repo details into docs 2026-06-15 14:27:44 +08:00
SETUP_AI_WORKSPACE_ALL_IN_ONE.md docs: update all-in-one setup entrypoint 2026-06-14 12:23:25 +08:00