hone-ai 0.12.0 → 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -140,7 +140,6 @@ defaultAgent: claude
140
140
  models:
141
141
  opencode: claude-sonnet-4-20250514
142
142
  claude: claude-sonnet-4-20250514
143
- feedbackInstructions: 'test: bun test, type check: bun run tsc'
144
143
  ```
145
144
 
146
145
  **Advanced model configuration:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hone-ai",
3
- "version": "0.12.0",
3
+ "version": "0.14.0",
4
4
  "description": "AI coding agent orchestrator - orchestrate AI agents to implement features based on PRDs",
5
5
  "keywords": [
6
6
  "ai",
@@ -98,7 +98,6 @@ describe('Config Management', () => {
98
98
  opencode: 'test-opencode',
99
99
  claude: 'test-claude',
100
100
  },
101
- feedbackInstructions: 'test: npm test, lint: npm run lint',
102
101
  lintCommand: 'npm run lint',
103
102
  }
104
103
 
package/src/config.ts CHANGED
@@ -17,7 +17,6 @@ export interface HoneConfig {
17
17
  finalize?: string
18
18
  agentsMd?: string
19
19
  }
20
- feedbackInstructions?: string
21
20
  lintCommand?: string
22
21
  }
23
22
 
@@ -29,7 +28,6 @@ const DEFAULT_CONFIG: HoneConfig = {
29
28
  opencode: 'claude-sonnet-4-20250514',
30
29
  claude: 'claude-sonnet-4-20250514',
31
30
  },
32
- feedbackInstructions: 'test: bun test',
33
31
  lintCommand: undefined,
34
32
  }
35
33
 
package/src/index.ts CHANGED
@@ -17,15 +17,7 @@ import packageJson from '../package.json'
17
17
 
18
18
  const program = new Command()
19
19
 
20
- // Get command name to avoid auto-init on 'init' and 'agents-md' commands
21
- const isInitCommand = process.argv[2] === 'init'
22
- const isAgentsMdCommand = process.argv[2] === 'agents-md'
23
-
24
- // Auto-initialize for all commands except 'init' and 'agents-md'
25
- if (!isInitCommand && !isAgentsMdCommand) {
26
- ensurePlansDir()
27
- loadConfig().catch(console.error)
28
- }
20
+ // No automatic config creation - only create config during init command
29
21
 
30
22
  program
31
23
  .name('hone')
@@ -33,7 +33,6 @@ const mockConfig: HoneConfig = {
33
33
  opencode: 'claude-sonnet-4-20250514',
34
34
  claude: 'claude-sonnet-4-20250514',
35
35
  },
36
- feedbackInstructions: 'test: bun test',
37
36
  lintCommand: 'bun run lint',
38
37
  }
39
38
 
@@ -222,21 +221,16 @@ describe('constructPrompt', () => {
222
221
  expect(prompt).toContain('# TASK SELECTION')
223
222
  })
224
223
 
225
- test('uses default feedback instructions if not configured', () => {
224
+ test('uses default feedback instructions', () => {
226
225
  writeFileSync(
227
226
  join(TEST_PLANS_DIR, 'tasks-test.yml'),
228
227
  'tasks:\n - id: task-001\n status: pending\n'
229
228
  )
230
229
 
231
- const configWithoutFeedback: HoneConfig = {
232
- ...mockConfig,
233
- feedbackInstructions: undefined,
234
- }
235
-
236
230
  const prompt = constructPrompt({
237
231
  phase: 'implement',
238
232
  featureName: 'test',
239
- config: configWithoutFeedback,
233
+ config: mockConfig,
240
234
  })
241
235
 
242
236
  expect(prompt).toContain('test: bun test')
package/src/prompt.ts CHANGED
@@ -85,7 +85,7 @@ function getPhaseInstructions(
85
85
  taskId?: string,
86
86
  reviewFeedback?: string
87
87
  ): string {
88
- const feedbackInstructions = config.feedbackInstructions || 'test: bun test'
88
+ const feedbackInstructions = 'test: bun test'
89
89
  const lintCommand = config.lintCommand
90
90
 
91
91
  switch (phase) {