Workflow checks & maintenance · Improve

Improve Map Refresh

Refresh stale repository map documents after Map Staleness Check, a patch, branch delta, migration, documentation sync, or an explicit map-refresh request. Keep the update limited to the affected map artifacts and preserve the map-as-evidence-index contract.

Vibe Coding 1.3.0 · vibe-workflow · English technical instructions

← Back to search

Use this workflow

Use this workflow in Codex or Claude Code with the free Vibe Coding plugin. Choose your assistant and prompt language, then add your task details after the prompt.

Operation

Implement the requested coherent change at the owning source and update directly affected consumers. An earlier audit is optional when the user and repository already establish the target. Validate the changed behavior, then stop when the requested scope is complete.

Goal

Refresh stale repository map documents after Map Staleness Check, a patch, branch delta, migration, documentation sync, or an explicit map-refresh request. Keep the update limited to the affected map artifacts and preserve the map-as-evidence-index contract.

Inputs

Use the stale-map verdict, explicit diff, PR/commit range, changed-file list, user-supplied scope, or current working-tree evidence. Common map artifacts include docs/project_atlas_map.md, docs/product_requirements_map.md, docs/product_capability_map.md, docs/product_journey_map.md, docs/product_metrics_events_map.md, docs/saas_navigation_map.md, docs/bot_navigation_map.md, docs/api_map.md, docs/ai_map.md, docs/owner_invariant_map.md, docs/domain_data_map.md, docs/runtime_flow_map.md, docs/integration_map.md, docs/auth_entitlements_map.md, docs/rbac_abac_policy_map.md, docs/traceability_map.md, docs/test_map.md, and docs/risk_release_map.md.

Refresh contour

Map changed files to map families:

Refresh rules

  • Do not force maps into repositories that do not use them.
  • Do not update product code, tests, configs, generated artifacts, or implementation docs outside map artifacts.
  • Refresh the smallest safe subset of maps that are directly affected by the selected contour.
  • Preserve stable IDs, existing structure, and provenance where possible.
  • Verify every refreshed claim against current owner evidence. Remove or mark stale entries rather than preserving false links.
  • When a map conflicts with code, schemas, config, tests, canonical docs, or runtime evidence, the owner source wins.
  • If a map needs domain judgment not present in the repo, leave a clear unknown instead of inventing behavior.
  • If multiple maps need large rewrites, update the smallest coherent subset and list remaining map refreshes as blocked follow-up.

Workflow ID: map-refresh-polish · View the versioned source · Shared workflow and authority rules