/hypr:refresh

Re-run an assessment to update an existing agent with evolved codebase patterns.

Usage

/hypr:refresh planning /hypr:refresh frontend /hypr:refresh backend /hypr:refresh all

Aliases: /hypr:update, /hypr:sync

When to Refresh

  • Significant new features have been added
  • Coding conventions have changed
  • New patterns have emerged
  • /hypr:validate reported many issues
  • Team members report agent suggestions don't match current patterns

Process

  1. Backup the existing agent to [agent-type]-agent.backup.md.
  2. Compare current code against the existing rules — identify new, changed, deprecated, and stable patterns.
  3. Re-assess only the changed aspects rather than running the full assessment again.
  4. Merge updates: keep stable rules, update changed rules, add new rules, remove deprecated ones.
  5. Validate with /hypr:validate.

Refresh vs. Full Re-Assessment

Scenario Action
Minor pattern changesUse /hypr:refresh
Major architecture changeRe-run full assessment
New technology addedRe-run full assessment
Few validation issuesUse /hypr:refresh
Many validation issuesRe-run full assessment
Regular maintenanceUse /hypr:refresh

Related Commands