Skip to content

Commit 9e082ee

Browse files
committed
.perpetual: prompts updated
1 parent efeb326 commit 9e082ee

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.perpetual/op_doc.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
"stage1_output_schema_desc": "Creates a list of files according to the request",
3636
"stage1_output_schema_name": "get_files",
3737
"stage1_refine_json_mode_prompt": "Below is a project document that you will need to refine. The document is already finished but it needs to be refined and updated according to the current project codebase. It also may contain notes for you marked as \"Notes on implementation\". Review the document and the project description that was provided earlier and create a list of files from the project description that you will need to work on the document. Full text of the document provided below:",
38-
"stage1_refine_prompt": "Below is a project document that you will need to refine. The document is already finished but it needs to be refined and updated according to the current project codebase. It also may contain notes for you marked as \"Notes on implementation\". Review the document and the project description that was provided earlier and create a list of filenames from the project description that you will need to work on the document. Place each filename in <filename></filename> tags. Full text of the document provided below:",
38+
"stage1_refine_prompt": "Below is a project document that you will need to refine. The document is already finished but it needs to be refined and updated according to the current project codebase. It also may contain notes for you marked as \"Notes on implementation\". Review the document and the project description that was provided earlier and create a list of filenames from the project description that you will need to work on the document. Place each filename between <filename></filename> tags. Full text of the document provided below:",
3939
"stage1_write_json_mode_prompt": "Below is a project document that you will need to write, complete and improve. The document is in a work in progress, it may contain draft sections and already written sections. It also may contain notes marked as \"Notes on implementation\" regarding its topic, sections, content, style, length, and detail. Review the document and the project description that was provided earlier and create a list of files from the project description that you will need to work on the document. The text of the document in its current state provided below:",
40-
"stage1_write_prompt": "Below is a project document that you will need to write, complete and improve. The document is in a work in progress, it may contain draft sections and already written sections. It also may contain notes marked as \"Notes on implementation\" regarding its topic, sections, content, style, length, and detail. Review the document and the project description that was provided earlier and create a list of filenames from the project description that you will need to work on the document. Place each filename in <filename></filename> tags. The text of the document in its current state provided below:",
40+
"stage1_write_prompt": "Below is a project document that you will need to write, complete and improve. The document is in a work in progress, it may contain draft sections and already written sections. It also may contain notes marked as \"Notes on implementation\" regarding its topic, sections, content, style, length, and detail. Review the document and the project description that was provided earlier and create a list of filenames from the project description that you will need to work on the document. Place each filename between <filename></filename> tags. The text of the document in its current state provided below:",
4141
"stage2_continue_prompt": "You previous response hit token limit. Continue writing document right from the point where it stopped. Do not repeat already completed fragment in your response.",
4242
"stage2_refine_prompt": "Below is a project document that you will need to refine. The document is already finished but it needs to be refined and updated according to the current project codebase. It also may contain notes for you marked as \"Notes on implementation\". The project description and relevant source code needed to work on the document have been provided to you previously. Refine and update the document from its curent state: study all the provided info and add missing information to the document or fix the inconsistences you found. Don't rewrite or change the document too much, just refine it according to the instructions, correct grammatical errors if any. Make other changes only if you are absolutely sure that they are necessary. If something can't be done due to lack of information, just leave those parts of the document as is. For additional instructions, see the notes inside the document, if any. Output the entire resulting document with the changes you made. The response should only contain the final document that you have made in accordance with the task, and nothing else. Full text of the document provided below:",
4343
"stage2_write_prompt": "Below is a project document that you will need to write, complete and improve. The document is in a work in progress, it may contain draft sections and already written sections. It also may contain notes marked as \"Notes on implementation\" regarding its topic, sections, content, style, length, and detail. The project description and relevant source code needed to work on the document have been provided to you previously. Complete the document from its curent state: write the required sections, improve already written text if needed. Use the notes across the document for instructions, be creative. Output the entire resulting document with the changes you made. The response should only contain the final document that you have made in accordance with the task, and nothing else. The text of the document in its current state provided below:",

.perpetual/op_explain.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"stage1_output_schema_desc": "Creates a list of files according to the request",
4242
"stage1_output_schema_name": "get_files",
4343
"stage1_question_json_mode_prompt": "Here is a question about the project's codebase that you need to answer. Study the question and the project description that was provided earlier and create a list of files from the project description that you will need to see to answer this question. The question is:",
44-
"stage1_question_prompt": "Here is a question about the project's codebase that you need to answer. Study the question and the project description that was provided earlier and create a list of filenames from the project description that you will need to see to answer the question. Place each filename in <filename></filename> tags. The question is:",
44+
"stage1_question_prompt": "Here is a question about the project's codebase that you need to answer. Study the question and the project description that was provided earlier and create a list of filenames from the project description that you will need to see to answer the question. Place each filename between <filename></filename> tags. The question is:",
4545
"stage2_continue_prompt": "You previous response hit token limit. Continue writing answer right from the point where it stopped. Do not repeat already completed fragment in your response.",
4646
"stage2_files_prompt": "Here are the contents of my project's source code files that are relevant to the question you will answer next.",
4747
"stage2_files_response": "Understood. What's next?",

.perpetual/op_implement.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"^\\s*\\/\\/\\s*###NOUPLOAD###.*$"
2020
],
2121
"stage1_analysis_json_mode_prompt": "Here are the contents of the source code files that interest me. The files contain sections of code with tasks that need to be implemented, marked with the comments \"###IMPLEMENT###\". Review source code contents and the project description that was provided earlier and create a list of files from the project description that you will need to see in addition to this source code to implement the tasks.",
22-
"stage1_analysis_prompt": "Here are the contents of the source code files that interest me. The files contain sections of code with tasks that need to be implemented, marked with the comments \"###IMPLEMENT###\". Review source code contents and the project description that was provided earlier and create a list of filenames from the project description that you will need to see in addition to this source code to implement the tasks. Place each filename in <filename></filename> tags.",
22+
"stage1_analysis_prompt": "Here are the contents of the source code files that interest me. The files contain sections of code with tasks that need to be implemented, marked with the comments \"###IMPLEMENT###\". Review source code contents and the project description that was provided earlier and create a list of filenames from the project description that you will need to see in addition to this source code to implement the tasks. Place each filename between <filename></filename> tags.",
2323
"stage1_index_prompt": "Here is a description of the project in the Go programming language. Brief descriptions of the project source code files are provided, indicating the path to the file and the entities it contains.",
2424
"stage1_index_response": "Understood. What's next?",
2525
"stage1_output_key": "list_of_files",
@@ -41,7 +41,7 @@
4141
"stage1_output_schema_desc": "Creates a list of files according to the request",
4242
"stage1_output_schema_name": "get_files",
4343
"stage1_task_analysis_json_mode_prompt": "Below are the tasks that need to be implemented. Review the tasks and the project description that was provided to you and create a list of files from the project description that you will need to see to implement the tasks. The tasks are:",
44-
"stage1_task_analysis_prompt": "Below are the tasks that need to be implemented. Review the tasks and the project description that was provided to you and create a list of filenames from the project description that you will need to see to implement the tasks. Place each filename in <filename></filename> tags. The tasks are:",
44+
"stage1_task_analysis_prompt": "Below are the tasks that need to be implemented. Review the tasks and the project description that was provided to you and create a list of filenames from the project description that you will need to see to implement the tasks. Place each filename between <filename></filename> tags. The tasks are:",
4545
"stage2_code_prompt": "Here are the contents of my project's source code files.",
4646
"stage2_code_response": "Understood. What's next?",
4747
"stage2_noplanning_prompt": "Here are the contents of the source code files that interest me. The files contain sections of code with tasks that need to be implemented, marked with the comments \"###IMPLEMENT###\". Study all the code I've provided for you and be ready to implement the tasks, one file at a time.",
@@ -70,11 +70,11 @@
7070
"stage3_output_schema_name": "get_files",
7171
"stage3_planning_json_mode_prompt": "Here are the contents of the source code files that interest me. The files contain sections of code with tasks that need to be implemented, marked with the comments \"###IMPLEMENT###\". Study all the source code provided to you and create a list of files that will be changed or created by you as a result of implementing the tasks.",
7272
"stage3_planning_lite_json_mode_prompt": "Now create a list of files that will be changed or created by you as a result of implementing the tasks according to your work plan.",
73-
"stage3_planning_lite_prompt": "Now create a list of file names that will be changed or created by you as a result of implementing the tasks according to your work plan. Place each filename in <filename></filename> tags.",
74-
"stage3_planning_prompt": "Here are the contents of the source code files that interest me. The files contain sections of code with tasks that need to be implemented, marked with the comments \"###IMPLEMENT###\". Study all the source code provided to you and create a list of file names that will be changed or created by you as a result of implementing the tasks. Place each filename in <filename></filename> tags.",
73+
"stage3_planning_lite_prompt": "Now create a list of file names that will be changed or created by you as a result of implementing the tasks according to your work plan. Place each filename between <filename></filename> tags.",
74+
"stage3_planning_prompt": "Here are the contents of the source code files that interest me. The files contain sections of code with tasks that need to be implemented, marked with the comments \"###IMPLEMENT###\". Study all the source code provided to you and create a list of file names that will be changed or created by you as a result of implementing the tasks. Place each filename between <filename></filename> tags.",
7575
"stage3_task_extra_files_prompt": "Below are the contents of additional source code files that may be relevant to the tasks.",
7676
"stage3_task_planning_json_mode_prompt": "Below are the tasks that need to be implemented. Study all the source code provided to you and create a list of files that will be changed or created by you as a result of implementing the tasks. The tasks are:",
77-
"stage3_task_planning_prompt": "Below are the tasks that need to be implemented. Study all the source code provided to you and create a list of file names that will be changed or created by you as a result of implementing the tasks. Place each filename in <filename></filename> tags. The tasks are:",
77+
"stage3_task_planning_prompt": "Below are the tasks that need to be implemented. Study all the source code provided to you and create a list of file names that will be changed or created by you as a result of implementing the tasks. Place each filename between <filename></filename> tags. The tasks are:",
7878
"stage4_changes_done_prompt": "Here are the contents of the files with the changes already implemented.",
7979
"stage4_changes_done_response": "Understood. What's next?",
8080
"stage4_continue_prompt": "You previous response hit token limit. Continue generating code right from the point where it stopped. Do not repeat already generated fragment in your response.",

0 commit comments

Comments
 (0)