Skip to content

feat(prompts): model-specific system prompt variants (Claude/GPT/Gemini)#470

Open
quangdang46 wants to merge 3 commits into
masterfrom
feat/C3-prompt-variants
Open

feat(prompts): model-specific system prompt variants (Claude/GPT/Gemini)#470
quangdang46 wants to merge 3 commits into
masterfrom
feat/C3-prompt-variants

Conversation

@quangdang46

Copy link
Copy Markdown
Owner

Implements C3 - model-family-aware system prompt variant resolution.

PromptVariant enum with Claude/Gpt/Gemini/Default
resolve_prompt_variant(model_id) - prefix-based resolution
3 per-model markdown files tuned to each family
Wired into both build_system_prompt_full() and build_system_prompt_split()
6 unit tests covering all variants

Refs: docs/pr-plans/C3-prompt-variants.md

Add consolidated PR backlog from 13 reference repos (A-J, ~80 features)
and supporting docs (MASTER_GOAL_PROMPT, GOAL_DRIVEN_PROMPT, CONSOLIDATED_FINDINGS).
Adds core InbandScanner trait, event types, and 3 fully-implemented
dialects (Hermes JSON-tag, Kimi token-delimited, Gemini Python-fence)
with 12 passing tests. 9 remaining dialects fall back to Hermes scanner.

Refs: docs/pr-plans/A6-inband-dialects.md
Adds model-family-aware prompt resolution so the system prompt is tuned
to the active model's instruction-following profile.

- PromptVariant enum with Claude/Gpt/Gemini/Default variants
- resolve_prompt_variant(model_id) prefix-based resolution
- system_prompt_for_model(model_id) convenience function
- Per-model markdown files: system_prompt_claude.md, system_prompt_gpt.md,
  system_prompt_gemini.md
- Wired into prompting.rs via model_id parameter
- Wired into both build_system_prompt_full and build_system_prompt_split

Refs: docs/pr-plans/C3-prompt-variants.md
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