golem-cc 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/bin/golem +13 -14
  2. package/package.json +1 -1
package/bin/golem CHANGED
@@ -216,35 +216,34 @@ EOF
216
216
  cmd_spec() {
217
217
  check_installed
218
218
  print_banner
219
- echo -e "${BLUE}Launching spec-building conversation...${NC}"
220
- echo -e "${DIM}This will guide you through defining your project requirements.${NC}"
221
- echo ""
222
219
 
223
- local spec_prompt="You are a spec-builder agent. Your job is to guide the user through defining project requirements.
220
+ local spec_prompt="You are a spec-builder agent. The user just ran 'golem spec' to define their project requirements.
224
221
 
225
- Your workflow:
222
+ Your job:
226
223
  1. Ask what they're building and the core problem it solves
227
224
  2. Break down the project into distinct topics of concern (3-7 topics)
228
225
  3. For each topic, ask clarifying questions then create a spec file in specs/
229
226
  4. Finally, create/update AGENTS.md with test/build/lint commands
230
227
 
231
- Spec file format (in specs/{topic-name}.md):
228
+ Spec file format (save to specs/{topic-name}.md):
232
229
  # {Topic Name}
233
230
  ## Purpose
234
231
  ## Requirements (Must Have, Should Have, Must Not)
235
232
  ## Acceptance Criteria
236
233
 
237
- Start the conversation now by asking what they're building."
234
+ Keep responses concise. Ask one question at a time.
235
+ Start NOW by asking: What are you building? Give me the elevator pitch."
238
236
 
239
- # Launch with spec-builder prompt
237
+ # Load agent prompt if available
240
238
  if [[ -f ".golem/agents/spec-builder.md" ]]; then
241
- # Extract content after YAML frontmatter
242
- local agent_prompt
243
- agent_prompt=$(sed '1,/^---$/d' .golem/agents/spec-builder.md | sed '1,/^---$/d')
244
- claude --append-system-prompt "$agent_prompt" "Start the spec-building conversation. Ask me what I'm building."
245
- else
246
- claude --append-system-prompt "$spec_prompt" "Start the spec-building conversation. Ask me what I'm building."
239
+ spec_prompt=$(sed '1,/^---$/d' .golem/agents/spec-builder.md | sed '1,/^---$/d')
247
240
  fi
241
+
242
+ # Start with print mode for first message, then continue interactively
243
+ claude -p --dangerously-skip-permissions --append-system-prompt "$spec_prompt" "Begin the spec-building session."
244
+ echo ""
245
+ echo -e "${DIM}Continue the conversation:${NC}"
246
+ claude -c --dangerously-skip-permissions --append-system-prompt "$spec_prompt"
248
247
  }
249
248
 
250
249
  # Run the loop (plan or build mode)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "golem-cc",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Autonomous coding loop with Claude - structured specs, ralph loop execution, code simplification",
5
5
  "bin": {
6
6
  "golem-cc": "./bin/install.cjs"