Commits
Marek Vsechovsky committed 7b7d40059e5
Session 120, Step 3: Template instruction: use exact prompt text as step.inputText - AIM-2936 Template instruction: use exact prompt text as step.inputText Outcome: Fixed both defects in `WorkflowController.cs`: 1. **Steering note authorship:** Changed `IssueNoteType` from `1` (AI work result) to `3` (Additional note) and added `IssueNoteByUserId = CurrentUserId` for both `directMessage` and `steeringPrompt` notes. These now render as user-authored notes with the user's avatar and name. 2. **Ready-state gating after import:** Added logic that runs after all notes are appended in `ProcessSingleIssueAsync` — queries the last note's `IssueIsFromUser` and sets `IssueTestResult` only if the last note is the user's. Also removed the unconditional `issue.IssueTestResult = null` from the status-setting section so existing ready markers from prior steps survive reprocessing. Additionally fixed `HandleUntouchedIssuesAsync` to clear the ready marker when appending the AI "untouched" note.