Refreshing Project Config
Keep .metagit.yml accurate without dumping detect output into context.
Workflow
metagit config validate -c .metagit.yml(or note that the file is missing).- If missing:
metagit init --kind application --no-promptorskills/metagit-bootstrap/scripts/bootstrap-config.sh . - Optional enrich:
metagit detect repository -p . -o summary, or--output-file .metagit/.detect/repository.jsonfor the full payload. Do not rundetect repo_map. - Patch with
metagit config patch/ catalog commands. Re-validate. - If the file has
includes:, edit the fragment that owns the field. Do not replace the root with mergedconfig showoutput. Split or flatten withmetagit config split/metagit config flatten.
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.