Commit 973f9ab
committed
feat: add top-agent prompts integration to cortex-prompt-harness
Port Platform Network's top-agent system prompts to Cortex CLI:
- Add top_agent.rs with full system prompt and section constants
- TopAgentPromptBuilder for dynamic prompt construction
- TopAgentPresets for coding_assistant, research_assistant, code_reviewer, minimal
- Tool mapping constants (read_file→Read, write_file→Write, etc.)
- 23 unit tests covering all functionality1 parent 164f732 commit 973f9ab
2 files changed
+1834
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
0 commit comments