8000 JACoB PR for Issue Update Research Prompt to Limit File Review Scope by jacob-ai-bot[bot] · Pull Request #358 · jacob-ai-bot/jacob · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JACoB PR for Issue Update Research Prompt to Limit File Review Scope #358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

jacob-ai-bot[bot]
Copy link
Contributor
@jacob-ai-bot jacob-ai-bot bot commented Nov 19, 2024

Summary:

Description

The current research prompt in our codebase needs to be updated to improve the efficiency and focus of file reviews during research tasks. The prompt currently asks specifically about files to create or modify, which needs to be changed to focus on files to review instead.

Current Behavior

The research prompt currently directs the system to identify files that need to be created or modified during research tasks. This approach may lead to unnecessary file modifications and a broader scope than needed for effective research.

Requested Changes

  1. Update the prompt language to focus on "files to review" instead of "files to create or modify"
  2. Add a specific limitation note in the prompt that recommends:
    • Reviewing no more than five files
    • Only reviewing the minimum number of files necessary to answer the research question

Expected Outcome

The updated research prompt will guide the system to:

  • Focus on reviewing existing files rather than suggesting modifications
  • Maintain a concise scope by limiting file reviews to a maximum of five files
  • Encourage efficient research by emphasizing the importance of reviewing only the most relevant files needed to answer research questions

This change will help streamline the research process and ensure more focused and efficient code analysis. ONLY make one minor update to the prompt text for research codebase
@jacob-ai-bot --skip-build

Plan:

Step 1: Edit /src/server/agent/research.ts

Task: Update research prompt to focus on reviewing files

Instructions:
In the file /src/server/agent/research.ts, locate the section where the research prompt is constructed (around line 62). Update the prompt language to focus on "files to review" instead of "files to create or modify". Add a specific note in the prompt emphasizing that the system should:

  • Review no more than five files.
  • Only review the minimum number of files necessary to answer the research question.

Exit Criteria:
The research prompt instructs the system to focus on reviewing existing files, includes a clear limitation to review no more than five files, and emphasizes reviewing only the most relevant files needed to answer the research question.

Copy link
Contributor Author
jacob-ai-bot bot commented Nov 19, 2024

Hello human! 👋

This PR was created by JACoB to address the issue Update Research Prompt to Limit File Review Scope

Next Steps

  1. Please review the PR carefully. Auto-generated code can and will contain subtle bugs and mistakes.

  2. If you identify code that needs to be changed, please reject the PR with a specific reason.
    Be as detailed as possible in your comments. JACoB will take these comments, make changes to the code and push up changes.
    Please note that this process will take a few minutes.

  3. Once the code looks good, approve the PR and merge the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0