name: repo-b-mass-index-ops
description: Run fast non-sharded mass-index operations for service lanes. Use when triaging bridge wiring, thin-waist routes, control-center connectors, and runtime helper scripts where quick endpoint-path discovery is required.
REPO_B Mass Index Ops
Use this wrapper for incident-speed service discovery in <PRIVATE_REPO_B>.
Fast Lane
- Build or refresh a non-sharded index for rapid endpoint lookups.
- Pivot on service anchors first:
lighthouse,posebridge,connector-registry,shim-router, andcontrol-center. - Escalate to
safe-mass-index-coreonly when lane-specific anchors fail to localize the target.
Repo-B Anchors
Use these anchor paths to keep searches deterministic and lane-specific:
apps/mx3-control-centerscripts/restart_headless.ps1tools/restart_local_apps.pytools/hybrid_doctor.pyapi/mcp/statusapi/agent/capabilities
Scope Boundary
Use this skill when the task is primarily about:
- Bridge and connector routing logic.
- Thin-waist service handlers and model routes.
- Control-center service integration files.
Do not use this skill for:
- Governance schema tracing lanes.
- Desktop renderer or packaging indexing lanes.
Build Preset (Fast, Non-Sharded)
Run from <PRIVATE_REPO_B> root:
Use the standard safe-mass-index-core build command with a fast incident budget:
--mode incremental--max-files-per-run 9000--max-seconds 18--max-read-bytes 50331648
Query Presets
Bridge and agent route scan:
python3 "$CODEX_HOME/skills/safe-mass-index-core/scripts/index_query.py" \
--index-dir .codex-index \
--path-contains bridge \
--ext py \
--limit 160 \
--format table
Control-center endpoint scan:
python3 "$CODEX_HOME/skills/safe-mass-index-core/scripts/index_query.py" \
--index-dir .codex-index \
--path-contains control-center \
--path-contains lighthouse \
--path-contains route \
--lang python \
--limit 160 \
--format table
Reference
references/presets.md
Loopback
If a run is still ambiguous, send query args plus .codex-index/run.json evidence through $skill-hub for deterministic rerouting.