metagit-config-refresh · git:20260916.0fdac6b · 2026-09-16 · sha256 0a3e18ee6de65608
metagit-config-refresh git:20260916.0fdac6bA
Immutable. This exact content is served forever at /api/v1/blob/0a3e18ee6de65608.
--- name: metagit-config-refresh description: Refresh or bootstrap `.metagit.yml` using deterministic init/validate. Use when configuration is missing, stale, or incomplete for workspace operations. metadata: internal: true --- # Refreshing Project Config Keep `.metagit.yml` accurate without dumping detect output into context. ## Workflow 1. `metagit config validate -c .metagit.yml` (or note that the file is missing). 2. If missing: `metagit init --kind application --no-prompt` or `skills/metagit-bootstrap/scripts/bootstrap-config.sh .` 3. Optional enrich: `metagit detect repository -p . -o summary`, or `--output-file .metagit/.detect/repository.json` for the full payload. Do not run `detect repo_map`. 4. Patch with `metagit config patch` / catalog commands. Re-validate. ## Output contract Return config health before/after, a short update summary, and any manual follow-up. Do not paste full YAML. ## Safety - Prefer plan/dry-run for large updates. - Never overwrite a valid umbrella workspace mapping without confirmation.