1.8 KiB
1.8 KiB
title, status, files, verification
| title | status | files | verification | ||||
|---|---|---|---|---|---|---|---|
| T01 summary | done |
|
|
Strengthened follow-up draft generation so it now consumes imported thread context and saved application package material instead of relying mostly on job summary text.
What changed:
JobTrackerApi/Controllers/JobApplicationsController.cs- expanded
FollowUpDraftDtoto expose context summary, context signals, thread subject, and last-correspondence metadata for the workspace - added helpers to parse the saved application-answer draft from notes, derive reply-style subjects from the latest thread, and assemble follow-up context signals from recruiter/package/thread state
- enriched
GetFollowUpDraft(...)so the AI prompt now includes imported correspondence context, recruiter details, saved tailored CV / cover letter / recruiter message / application-answer material, and thread-stage cues - improved the fallback body so it still reflects saved/thread context when AI output is unavailable
- expanded
JobTrackerApi.Tests/JobApplicationsFollowUpDraftTests.cs- added focused backend proof that follow-up draft generation reflects imported thread and saved package state
Verification:
- Backend host build passed with
$HOME/.dotnet/dotnet build JobTrackerApi/JobTrackerApi.csproj - Focused follow-up draft backend test passed in an isolated Docker harness (
1 passed)
Important caveat:
- The broader
JobTrackerApi.Testsproject still has unrelated compile drift, so focused follow-up verification was isolated rather than run through the full test project.