Status: Open defect. Found during the code pass, 2026-07-20. Not fixed by the documentation work.

Observation

web-app/src/pages/dashboard/people/hiring/components/job-posting/GenerateJobDescription.tsx:17:

const res = await axios.post(`http://localhost:8000/generate`, {

The AI job-description generator posts to a hardcoded localhost URL.

Impact

Recommendation

  1. Point it at a real, configured endpoint — an env var (REACT_APP_*_URL) like every other backend the app calls, over HTTPS.
  2. If the generator service isn't deployed yet, hide the control behind a feature flag rather than shipping a button that always fails.
  3. Add a user-facing error state for the failure path.

Notes

Confidence is high (the literal is unambiguous), but the runtime symptom was not reproduced live — the generator is inside the create-job flow, and exercising it would have meant creating a job in the shared demo tenant. The static evidence is sufficient to file this; whoever picks it up should confirm the failure mode.

Related

technical §Gotchas · runbook §8 · surface-map — Known issues