conductor-harness 1.0.3 → 1.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-harness",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Claude Code harness for Conductor projects — hooks, memory, Linear, and workflow context",
5
5
  "bin": {
6
6
  "conductor-harness": "./bin/conductor-harness.js"
@@ -8,4 +8,4 @@ Show current harness status:
8
8
  2. Show `.harness/progress.md` contents if it exists.
9
9
  3. Show `git log --oneline -5`.
10
10
  4. Show `git status --short`.
11
- 5. Check if any Graphiti memory exists for this task (use memory skill to search by branch name).
11
+ 5. Check if any Hindsight memory exists for this task (use memory skill to recall by branch name).
@@ -98,11 +98,14 @@ harness_deny = [
98
98
  ]
99
99
 
100
100
  # Merge hooks — each event is a list of {matcher, hooks} objects
101
+ # Also strip any old-format bare entries (missing the hooks array)
101
102
  if "hooks" not in existing:
102
103
  existing["hooks"] = {}
103
104
  for event, entry in harness_hooks.items():
104
105
  if event not in existing["hooks"]:
105
106
  existing["hooks"][event] = []
107
+ # Remove any old-format entries (bare {type, command} objects without a hooks array)
108
+ existing["hooks"][event] = [h for h in existing["hooks"][event] if "hooks" in h]
106
109
  existing_cmds = [
107
110
  cmd.get("command")
108
111
  for h in existing["hooks"][event]
@@ -287,7 +290,11 @@ echo "5. Fill in WORKFLOW.md — injected into every Claude Code session as proj
287
290
  echo " Or type /setup inside Claude Code to auto-generate it from your project structure."
288
291
  echo ""
289
292
  if [ "$USE_RAILWAY" = "y" ] || [ "$USE_RAILWAY" = "yes" ]; then
290
- echo "6. Edit conductor.json and replace the RAILWAY_* placeholders."
293
+ echo "6. Add Railway IDs to .env (or .env.local):"
294
+ echo " RAILWAY_PROJECT_ID=your-project-id"
295
+ echo " RAILWAY_ENVIRONMENT_ID=your-environment-id"
296
+ echo " RAILWAY_SERVICE_ID=your-service-id"
297
+ echo " Find these in your Railway project settings."
291
298
  echo ""
292
299
  fi
293
300
  echo "Docs: https://github.com/blaesild/conductor-harness"