Saltar a contenido

rai governance

Sync governance artifacts between local project directories and remote documentation targets (e.g., Confluence). Governance artifacts include ADRs, epic briefs, story specs, and retrospectives.

rai governance sync

Synchronize local governance artifacts to the configured remote target. Detects new or modified artifacts and publishes them.

Flag Short Description
--target -t Documentation target adapter (default: configured target)
--dry-run Show what would be synced without uploading
--force Re-upload even unchanged artifacts
# Sync all governance artifacts
rai governance sync

# Preview without uploading
rai governance sync --dry-run

# Force re-upload of all artifacts
rai governance sync --force

rai governance hook

Install or remove git hooks that trigger governance sync automatically (e.g., post-commit or post-merge).

Flag Short Description
--install Install governance sync hooks
--uninstall Remove governance sync hooks
# Install the post-commit governance hook
rai governance hook --install

# Remove hooks
rai governance hook --uninstall

See also: rai docs, rai signal