Skip to content

Commit 067efdc

Browse files
committed
chore: remove cortex_prompt.txt (now in cortex-prompt-harness)
- Remove cortex_prompt.txt from repository root - Update documentation in core.rs to reflect new architecture - System prompt is now centralized in cortex-prompt-harness crate The prompt content is now the canonical source in: cortex_prompt_harness::prompts::CORTEX_MAIN_PROMPT
1 parent 49d1c41 commit 067efdc

File tree

3 files changed

+6
-270
lines changed

3 files changed

+6
-270
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cortex_prompt.txt

Lines changed: 0 additions & 268 deletions
This file was deleted.

src/cortex-prompt-harness/src/prompts/core.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,8 +636,11 @@ impl Default for CortexPromptBuilder {
636636
///
637637
/// # Usage
638638
///
639-
/// This prompt is loaded via `include_str!` from `cortex_prompt.txt` in the
640-
/// main cortex-engine, but the canonical version is defined here.
639+
/// This is the canonical source for the Cortex system prompt. It is used
640+
/// directly by cortex-engine via `cortex_prompt_harness::prompts::CORTEX_MAIN_PROMPT`.
641+
///
642+
/// For dynamic prompt building with custom sections and tools, use
643+
/// [`CortexPromptBuilder`] instead.
641644
pub const CORTEX_MAIN_PROMPT: &str = r#"# CORTEX
642645
643646
You are **Cortex**, an autonomous software engineering intelligence.

0 commit comments

Comments
 (0)