Awesome Reviewers

When code exposes an identifier outward—via UI semantics (ARIA) or via string-based integration points (paths/keys/command names)—make it match the contract expected by the consuming layer.

Practical rules:

Example (path normalization applied consistently):

// Shared normalization contract
function normalizeMenuPath(path: string) {
  return path.trim();
}

// Use the same normalization when building UI paths and when the runner resolves them
const menuPath = normalizeMenuPath(rawMenuPath);
// ... later ...
const resolved = runnerResolve(normalizeMenuPath(menuPath));

Example (semantic naming for a UI control):

<div
  role="separator"
  tabIndex={0}
  aria-valuemin={0}
  aria-valuenow={height}
  onKeyDown={(e) => {
    if (e.key === 'ArrowUp' || e.key === 'ArrowDown') {
      // resize based on the semantic intent of the control
    }
  }}
/>