Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/user-guide/harness-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The Harness Loop implements the [Ralph Wiggum technique](https://ghuntley.com/ra
Ralph requires **context training** to be configured. This provides Claude with your project's patterns and conventions.

```yaml
# spec-machine/config.local.yml
# devorch/config.local.yml
profile:
context_training: your-training-name
```
Expand Down Expand Up @@ -270,7 +270,7 @@ The prompt sent to Claude each iteration. Created at `init` time with your conte
**IMPORTANT:** Before starting work, use the Explore subagent to understand project patterns:

Task tool with subagent_type=Explore:
"Quickly scan spec-machine/context-training/your-training-name for key patterns..."
"Quickly scan devorch/context-training/your-training-name for key patterns..."

---

Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/harness/create-specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export async function createSpecsCommand(options: CreateSpecsOptions): Promise<v
}

if (contextTrainingName) {
const contextTrainingPath = `spec-machine/context-training/${contextTrainingName}`;
const contextTrainingPath = `devorch/context-training/${contextTrainingName}`;
const contextPreamble = `## Load Project Context First

**IMPORTANT:** Before investigating, use the Explore subagent to understand project patterns:
Expand Down
2 changes: 1 addition & 1 deletion src/cli/commands/harness/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export async function initCommand(options: InitOptions): Promise<void> {
log('', 'info');
log('To fix this:', 'info');
log(' 1. Run /train-context to create context training for your project', 'info');
log(' 2. Add to spec-machine/config.local.yml:', 'info');
log(' 2. Add to devorch/config.local.yml:', 'info');
log(' profile:', 'info');
log(' context_training: your-training-name', 'info');
await flushAndExit(1);
Expand Down
2 changes: 1 addition & 1 deletion src/cli/lib/harness/templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('lib/harness/templates', () => {
const rendered = renderPromptTemplate('auth-system', 'mobile-app');
expect(rendered).toContain('auth-system');
expect(rendered).toContain('devorch/harness/auth-system');
expect(rendered).toContain('spec-machine/context-training/mobile-app');
expect(rendered).toContain('devorch/context-training/mobile-app');
});
});

Expand Down
4 changes: 2 additions & 2 deletions src/cli/lib/harness/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export function getAsciiArt(): string {
export function renderPromptTemplate(featureName: string, contextTrainingName: string): string {
return renderTemplate('PROMPT.template.md', {
FEATURE_NAME: featureName,
HARNESS_DIR: `devorch/harness/${featureName}`,
CONTEXT_TRAINING_PATH: `spec-machine/context-training/${contextTrainingName}`,
RALPH_DIR: `devorch/harness/${featureName}`,
CONTEXT_TRAINING_PATH: `devorch/context-training/${contextTrainingName}`,
});
}

Expand Down