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
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:
- Product/docs/requirements/capabilities/journeys/analytics/copy → Product Requirements Map, Product Capability Map, Product Journey Map, Product Metrics Events Map, Traceability Map, Risk & Release Map.
- Web/SaaS routes/layouts/forms/tables/navigation/UI states → SaaS Navigation Map, Product Journey Map, Auth Entitlements Map, Test Coverage Map.
- Bot commands/handlers/FSM states/keyboards/deep links/proactive messages → Bot Navigation Map, Runtime Flow Map, Auth Entitlements Map, Test Coverage Map.
- Routes/API/schemas/webhooks/generated clients → API Navigation Map, Integration Map, Traceability Map, Test Coverage Map.
- AI prompts/model calls/tool schemas/RAG/OCR/ML/evals/provider config → AI Navigation Map, Integration Map, Runtime Flow Map, Test Coverage Map.
- Entities/migrations/ORM/indexes/retention/PII → Domain Data Map, Ownership & Invariant Map, Test Coverage Map.
- Auth/RBAC/ABAC/tenancy/plans/quotas/feature gates → Auth Entitlements Map, RBAC ABAC Policy Map, Ownership & Invariant Map, Traceability Map.
- Workers/events/queues/workflows/realtime/cache/search → Runtime Flow Map, relevant domain maps, Test Coverage Map.
- External providers/SDKs/webhooks/credentials/rate limits → Integration Map, Runtime Flow Map, Risk & Release Map.
- Config/deploy/flags/migrations/runbooks → Risk & Release Map and relevant runtime/integration maps.
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