← ClaudeAtlas

federationlisted

Show federation status, shared tier contents, and recent activity
palginpav/orchestray · ★ 0 · AI & Automation · score 71
Install: claude install-skill palginpav/orchestray
# Federation Status The user wants to check the federation state for this project. ## Protocol ### Step 0 — Parse arguments `$ARGUMENTS` must be `status` (the only supported subcommand). If `$ARGUMENTS` is empty or anything other than `status`, emit: ``` Usage: /orchestray:federation status status — show federation state, shared tier contents, and recent activity To enable or disable federation, use: /orchestray:config set federation.shared_dir_enabled true (or false) To inspect the shared directory directly: ls ~/.orchestray/shared/patterns/ ``` Then stop. ### Step 1 — Load federation config ```js const { loadFederationConfig } = require('./bin/_lib/config-schema.js'); const fedCfg = loadFederationConfig(process.cwd()); // Fields: shared_dir_enabled (boolean), sensitivity (string), shared_dir_path (string|undefined) ``` ### Step 2 — Branch on `shared_dir_enabled` If `fedCfg.shared_dir_enabled === false` (the default), emit **State B** and stop: ``` Federation: DISABLED To enable: /orchestray:config set federation.shared_dir_enabled true Shared-dir path (unused): ~/.orchestray/shared/ (would be used if enabled) sensitivity: <fedCfg.sensitivity> (promotion blocked even if enabled) No shared-tier data read. ``` Replace `<fedCfg.sensitivity>` with the actual value (default: `private`). ### Step 3 — Resolve shared dir path and check access ```js const { getSharedPatternsDir } = require('./bin/mcp-server/lib/paths.js'); const fs = require('no