mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-06 19:58:43 +02:00
feat: add phase 3 prompt customization backend
- parse prompt model and argument-hint metadata and persist model on prompt invocations - expand markdown-linked file context in scanned prompt and instruction bodies - discover .claude/rules instructions and support Claude-style paths metadata - discover customization roots up to the nearest parent repository and watch them for changes - apply per-turn prompt model overrides before sidecar execution Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -161,6 +161,7 @@ describe('session library helpers', () => {
|
||||
name: 'doc-review',
|
||||
sourcePath: '.github\\prompts\\docs\\doc-review.prompt.md',
|
||||
resolvedPrompt: 'Review the docs for missing steps.',
|
||||
model: 'Claude Sonnet 4.5',
|
||||
tools: ['view'],
|
||||
},
|
||||
},
|
||||
@@ -189,6 +190,7 @@ describe('session library helpers', () => {
|
||||
name: 'doc-review',
|
||||
sourcePath: '.github\\prompts\\docs\\doc-review.prompt.md',
|
||||
resolvedPrompt: 'Review the docs for missing steps.',
|
||||
model: 'Claude Sonnet 4.5',
|
||||
tools: ['view'],
|
||||
});
|
||||
expect(session.messages[0]?.promptInvocation).not.toBe(sourceSession.messages[0]?.promptInvocation);
|
||||
@@ -508,6 +510,7 @@ describe('session library helpers', () => {
|
||||
name: 'alt-plan',
|
||||
sourcePath: '.github\\prompts\\alt-plan.prompt.md',
|
||||
resolvedPrompt: 'Try a different approach focused on session state.',
|
||||
model: 'GPT-5.4',
|
||||
tools: ['view', 'glob'],
|
||||
},
|
||||
attachments: [
|
||||
|
||||
Reference in New Issue
Block a user