Problem
The session prompts for daf jira new and daf git new contain confusing instructions that tell the AI to create tickets using daf jira create or daf git create commands, but this creates ambiguity:
Current prompts say:
- "Create a detailed JIRA Story using the 'daf jira create' command"
- "Create a detailed GitHub/GitLab issue using the 'daf git create' command"
Why this is confusing:
- Users already ran
daf jira new or daf git new to start the session
- The AI should use the SAME command type that the user used
- Mentioning both creates uncertainty about which to use
- The prompt should NOT suggest switching between JIRA and GitHub/GitLab
Files Affected
Based on grep search:
-
devflow/cli/commands/jira_new_command.py (line 878)
f"3. Create a detailed JIRA {issue_type} using the 'daf jira create' command",
-
devflow/cli/commands/git_new_command.py (line 879)
f"3. Create a detailed GitHub/GitLab issue{' (' + issue_type + ')' if issue_type else ''} using the 'daf git create' command",
-
devflow/cli/commands/investigate_command.py (lines 547, 554, 662, 670)
- Multiple mentions of "create issue tracker tickets using 'daf jira create' (for JIRA) or 'daf git create' (for GitHub/GitLab)"
- This is less critical since investigate sessions allow flexibility
Proposed Changes
For jira_new_command.py
Current (line 878):
3. Create a detailed JIRA {issue_type} using the 'daf jira create' command
Proposed:
3. Create a detailed JIRA {issue_type} using the 'daf jira create' command (same backend as this session)
OR simpler:
3. Create the JIRA {issue_type} using 'daf jira create'
For git_new_command.py
Current (line 879):
3. Create a detailed GitHub/GitLab issue using the 'daf git create' command
Proposed:
3. Create the GitHub/GitLab issue using 'daf git create' (same backend as this session)
For investigate_command.py
Keep as-is since investigation sessions intentionally allow flexibility to create tickets in any backend.
Acceptance Criteria
Notes
Alternative approach: Remove mention of the command entirely:
3. Create a detailed JIRA {issue_type} based on your analysis
This assumes the AI knows to use the appropriate command, but might be less explicit.
Recommendation: Keep the command name but add "(same backend as this session)" to reinforce consistency.
Problem
The session prompts for
daf jira newanddaf git newcontain confusing instructions that tell the AI to create tickets usingdaf jira createordaf git createcommands, but this creates ambiguity:Current prompts say:
Why this is confusing:
daf jira newordaf git newto start the sessionFiles Affected
Based on grep search:
devflow/cli/commands/jira_new_command.py (line 878)
f"3. Create a detailed JIRA {issue_type} using the 'daf jira create' command",devflow/cli/commands/git_new_command.py (line 879)
f"3. Create a detailed GitHub/GitLab issue{' (' + issue_type + ')' if issue_type else ''} using the 'daf git create' command",devflow/cli/commands/investigate_command.py (lines 547, 554, 662, 670)
Proposed Changes
For jira_new_command.py
Current (line 878):
Proposed:
OR simpler:
For git_new_command.py
Current (line 879):
Proposed:
For investigate_command.py
Keep as-is since investigation sessions intentionally allow flexibility to create tickets in any backend.
Acceptance Criteria
Notes
Alternative approach: Remove mention of the command entirely:
This assumes the AI knows to use the appropriate command, but might be less explicit.
Recommendation: Keep the command name but add "(same backend as this session)" to reinforce consistency.