/vault-sync:vault-sync-status [--read-only] [--json] [--fail-on error|warn]from vault-sync
Reports health of vault-sync: scheduler state, push/fetch recency, snapshot guard, FUSE timer, and runtime manifest proof. Use after install or CI checks.
Ships in vault-sync. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
One-shot detailed health report of vault-sync on the current host. Reports scheduler state, role-specific log/filter/script checks, snapshot guard presence, runtime-manifest / live-verify proof, and Linux fuse-refresh timer status.
VS_VAULT_PATH → WIKI_PATH → skillwiki --human path (absolute only) → $HOME/wiki. Conflict/content checks stay on this path. The canonical operator Git UI is skillwiki copy-status, whose GitHub and local-Git planes always use this live vault. This lower-level status script retains projection-selected reachability rows to diagnose configured fetch infrastructure; do not interpret those rows as the operator Git surface.skillwiki doctor --only vault_sync but available without skillwiki).
vault_sync_conflict_markers so poisoned Markdown is visible before
push, pull, or snapshot workflows continue.wiki-push and wiki-fetch plist syntax, expected Label, and ProgramArguments[0]; live mode then also checks their launchd registration. A loaded stale label cannot make invalid on-disk configuration pass.wiki-sync.sh and the
convenience ~/bin/wiki-sync.sh symlink. Warn only; do not repair in status
mode.wiki-push.log and wiki-fetch.log; check wiki-push-filters.txt; read wiki-push-result.state (durable terminal state, H9) as vault_sync_last_push_result — the authoritative last push outcome (OK / refused+reason), since log rotation and P1 cooldown suppression can hide refusals from the log tail.vault_sync.snapshot_script or packaged wiki-snapshot.sh contains --max-delete.skillwiki copy-status.local_git.vault_sync_runtime_manifest — $(platform_share_dir)/runtime-manifest.json present and parseable.vault_sync_runtime_match — SHA-256 of installed scripts match package sources, and recorded macOS LaunchAgent hashes match the actual deployed plist files.vault_sync_runtime_registration — warn when scheduler jobs are enabled but runtime match is not pass.vault_sync_live_verify — pass only when $(platform_share_dir)/live-verify.ok exists; otherwise warn. Status never creates this marker.WIKI_REMOTE;WIKI_REMOTE from ~/.skillwiki/.env;WIKI_REMOTE or CLOUD_REMOTE parsed as data
from the snapshot profile path resolved as:
VS_SNAPSHOT_PROFILE → vault_sync.snapshot_profile in ~/.skillwiki/.env
→ /etc/vault-sync/profiles/$(hostname)-snapshotter.env;S3 remote not configured — reachability probe skipped.
A missing remote is unknown/unconfigured, not unreachable. Only a failed
probe of a resolved remote produces an S3 warning. Snapshot profiles are
parsed by exact assignment and are never sourced as shell code.
Reachability probes (git ls-remote, rclone lsf, optional snapshotter SSH) are
hard-bounded via with_timeout: GNU timeout → gtimeout → python3 →
bash job+kill. Default bound is 3s; override with VS_REACHABILITY_TIMEOUT=<seconds>.
Probes must not hang indefinitely when coreutils timeout is missing.--json: machine-readable record matching the doctor JSON shape.--read-only flag: explicitly forbid any state-changing call. Used by sg01 e2e leg. The skill MUST honor this — no touch, no launchctl print (which on some platforms can spawn helpers), no service restart.--fail-on <lvl> flag: exit nonzero when the summary has error (--fail-on error) or warning+error (--fail-on warn). Default is report-only (exit 0). Used by CI to gate on health without parsing JSON.Run status from the same package tree used to install (monorepo
packages/vault-sync or Claude/Codex plugin root containing
skills/vault-sync-status). Do not use random worktrees under
~/.config/superpowers/worktrees/ — they produce false script_drift.
# monorepo
VS_READ_ONLY=1 bash packages/vault-sync/skills/vault-sync-status/status.sh
# plugin root
VS_READ_ONLY=1 bash skills/vault-sync-status/status.sh
When wall-clock budget is tight on a snapshotter (FUSE + S3 probes), prefer:
systemctl is-active wiki-snapshot.timer wiki-fuse-refresh.timer$(platform_log_dir)/wiki-snapshot.log / wiki-fuse-refresh.log$(platform_share_dir)/runtime-manifest.json package_version / package_commitskillwiki doctor for managed-write prerequisites: pull-helper resolution (vault_sync_pull_helper) and review-required journal backlog (vault_sync_review_required_journals); use skillwiki sync journal list for detail.target_oid already in HEAD, no sequencer/unmerged paths) is auto-superseded by managed preflight even with unrelated dirty WIP; a paired dead-owner managed-write lock is recovery-preserved and reclaimed in that same invocation. Treat live owners, active Git operations, unmerged paths, and non-ancestor targets as intentional fail-closed blockers.Then run full status when time allows.
Rclone remote names such as cloud: or seaweed-wiki: are host-local aliases.
Managed leaf hosts should set WIKI_REMOTE explicitly in
~/.skillwiki/.env. Snapshotter services carry their operational source in the
systemd profile as CLOUD_REMOTE; status can consume that profile when
WIKI_REMOTE is absent. Do not interpret a shared legacy script default as
proof that the alias exists on the current host.
After install, operators should see:
| Check | Pass means |
|---|---|
vault_sync_runtime_manifest | Install wrote a parseable inventory at $(platform_share_dir)/runtime-manifest.json |
vault_sync_jobs_enabled | On macOS, both deployed plists are structurally valid; live mode also sees both registrations |
vault_sync_runtime_match | Installed script hashes match package sources and recorded macOS plist hashes match their deployed files (not just "files exist") |
vault_sync_live_verify | Attended rollout touched $(platform_share_dir)/live-verify.ok after a live pull cycle showed op= journal lines |
Exact live-verify path:
~/Library/Application Support/vault-sync/live-verify.ok~/.local/share/vault-sync/live-verify.okCompletion gate: repository tests green ≠ work complete. Do not set the vault work item status: completed until live evidence (runtime match + pull log op= lines + live-verify.ok) is recorded in the work retro. See vault-sync-install attended verification checklist.
When --read-only is passed:
live-verify.ok).launchctl or systemctl commands that modify state.This is the safety lifeline for sg01. Test ruthlessly.
# Companion script (interactive)
bash packages/vault-sync/skills/vault-sync-status/status.sh
bash packages/vault-sync/skills/vault-sync-status/status.sh --json
bash packages/vault-sync/skills/vault-sync-status/status.sh --read-only # sg01 safe mode
# Companion script (headless / CI)
VS_READ_ONLY=1 VS_JSON=1 bash packages/vault-sync/skills/vault-sync-status/status.sh
VS_READ_ONLY=1 VS_REACHABILITY_TIMEOUT=3 bash packages/vault-sync/skills/vault-sync-status/status.sh
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
6 skills in this plugin
/vault-fuse-freshnessAudit Linux rclone FUSE wiki freshness. Use when dir-cache-time drifts or a bounded vfs/refresh is needed./vault-presyncPre-sync lint, collision dedup, and rebase for ~/wiki. Use before wiki-sync or git push./vault-snapshotLinux-only S3-to-Git snapshot/promotion job with tombstone-aware no-resurrection and bounded remote pruning. Single-writer-git invariant — only one host per fleet may run this./vault-sync-installInstall vault-sync: scripts, scheduler, optional Linux FUSE-only mode. Use for install, reinstall, or role switch./vault-sync-uninstallRemove vault-sync from current host. Stops scheduler jobs, leaves tombstone markdown, preserves logs.npx claudepluginhub karlorz/llm-wiki --plugin vault-sync