daily sync: 3 added, 4 modified, 0 deleted (3 edges)
This commit is contained in:
parent
bee9d6ee82
commit
4e899014d8
@ -0,0 +1,13 @@
|
||||
---
|
||||
id: e8e3d8cf-6ccf-4b39-a625-466151c1b392
|
||||
type: BUILDS_ON
|
||||
from_id: 250d2fe0-5866-42f1-b83d-187b3a64fb84
|
||||
from_title: "Fix: claude -p nested session failure due to CLAUDECODE env var"
|
||||
to_id: ba189013-3890-4464-a22d-cdc3d68d8068
|
||||
to_title: "Fixed PostToolUse hook context injection"
|
||||
strength: 0.73
|
||||
created: "2026-03-01T06:21:07.729483+00:00"
|
||||
updated: "2026-03-01T06:21:07.729483+00:00"
|
||||
---
|
||||
|
||||
Auto-edge: Fix: claude -p nested session failure due to CLAUDECODE env var → Fixed PostToolUse hook context injection
|
||||
@ -0,0 +1,13 @@
|
||||
---
|
||||
id: 00724a32-f9ca-43af-93a9-3d7f7b356ec1
|
||||
type: BUILDS_ON
|
||||
from_id: 250d2fe0-5866-42f1-b83d-187b3a64fb84
|
||||
from_title: "Fix: claude -p nested session failure due to CLAUDECODE env var"
|
||||
to_id: a4efacad-fda5-49ca-97a9-dd433f8a6a77
|
||||
to_title: "Shell aliases not available in Claude Code Bash tool"
|
||||
strength: 0.72
|
||||
created: "2026-03-01T06:21:07.746655+00:00"
|
||||
updated: "2026-03-01T06:21:07.746655+00:00"
|
||||
---
|
||||
|
||||
Auto-edge: Fix: claude -p nested session failure due to CLAUDECODE env var → Shell aliases not available in Claude Code Bash tool
|
||||
@ -0,0 +1,13 @@
|
||||
---
|
||||
id: e1e8dcea-d240-438a-bf5b-c15bf04c8bb2
|
||||
type: RELATED_TO
|
||||
from_id: 250d2fe0-5866-42f1-b83d-187b3a64fb84
|
||||
from_title: "Fix: claude -p nested session failure due to CLAUDECODE env var"
|
||||
to_id: eed91de9-f5fd-4804-be7c-480d01255ffd
|
||||
to_title: "[homelab] Session: automation, configuration, creation, debugging, fix, tooling"
|
||||
strength: 0.73
|
||||
created: "2026-03-01T06:21:07.706947+00:00"
|
||||
updated: "2026-03-01T06:21:07.706947+00:00"
|
||||
---
|
||||
|
||||
Auto-edge: Fix: claude -p nested session failure due to CLAUDECODE env var → [homelab] Session: automation, configuration, creation, debugging, fix, tooling
|
||||
@ -6,7 +6,23 @@ tags: [claude-code, headless, nested-sessions, fix, claude-scheduled, subprocess
|
||||
importance: 0.7
|
||||
confidence: 0.8
|
||||
created: "2026-03-01T06:21:07.380774+00:00"
|
||||
updated: "2026-03-01T06:21:07.380774+00:00"
|
||||
updated: "2026-03-01T06:21:07.746655+00:00"
|
||||
relations:
|
||||
- target: eed91de9-f5fd-4804-be7c-480d01255ffd
|
||||
type: RELATED_TO
|
||||
direction: outgoing
|
||||
strength: 0.73
|
||||
edge_id: e1e8dcea-d240-438a-bf5b-c15bf04c8bb2
|
||||
- target: ba189013-3890-4464-a22d-cdc3d68d8068
|
||||
type: BUILDS_ON
|
||||
direction: outgoing
|
||||
strength: 0.73
|
||||
edge_id: e8e3d8cf-6ccf-4b39-a625-466151c1b392
|
||||
- target: a4efacad-fda5-49ca-97a9-dd433f8a6a77
|
||||
type: BUILDS_ON
|
||||
direction: outgoing
|
||||
strength: 0.72
|
||||
edge_id: 00724a32-f9ca-43af-93a9-3d7f7b356ec1
|
||||
---
|
||||
|
||||
# claude -p Nested Session Error Fix
|
||||
|
||||
@ -6,7 +6,13 @@ tags: [homelab, automation, configuration, creation, debugging, fix, tooling, se
|
||||
importance: 0.4
|
||||
confidence: 0.8
|
||||
created: "2026-02-17T17:10:40.945407+00:00"
|
||||
updated: "2026-02-17T17:10:40.945407+00:00"
|
||||
updated: "2026-03-01T06:21:07.706947+00:00"
|
||||
relations:
|
||||
- target: 250d2fe0-5866-42f1-b83d-187b3a64fb84
|
||||
type: RELATED_TO
|
||||
direction: incoming
|
||||
strength: 0.73
|
||||
edge_id: e1e8dcea-d240-438a-bf5b-c15bf04c8bb2
|
||||
---
|
||||
|
||||
Files edited (2):
|
||||
|
||||
@ -6,7 +6,13 @@ tags: [claude-code, hooks, pai, fix, memorygraph]
|
||||
importance: 0.8
|
||||
confidence: 0.8
|
||||
created: "2025-12-07T07:26:28.700934+00:00"
|
||||
updated: "2025-12-07T07:32:04.922535+00:00"
|
||||
updated: "2026-03-01T06:21:07.729483+00:00"
|
||||
relations:
|
||||
- target: 250d2fe0-5866-42f1-b83d-187b3a64fb84
|
||||
type: BUILDS_ON
|
||||
direction: incoming
|
||||
strength: 0.73
|
||||
edge_id: e8e3d8cf-6ccf-4b39-a625-466151c1b392
|
||||
---
|
||||
|
||||
PostToolUse hooks cannot inject stdout directly into Claude context - only SessionStart and UserPromptSubmit can. The fix is to use JSON output with additionalContext field: {hookSpecificOutput: {hookEventName: 'PostToolUse', additionalContext: 'your message'}}. Also discovered tool_response (not tool_output) is the correct field name, and exitCode doesn't exist - must infer success from stdout patterns. Full reference: https://notes.manticorum.com/reference/claude-code-hooks-context-injection
|
||||
|
||||
@ -6,7 +6,7 @@ tags: [claude-code, bash, aliases, major-domo, cli]
|
||||
importance: 0.7
|
||||
confidence: 0.8
|
||||
created: "2026-01-23T20:40:33.351120+00:00"
|
||||
updated: "2026-02-27T05:33:28.417546+00:00"
|
||||
updated: "2026-03-01T06:21:07.746655+00:00"
|
||||
relations:
|
||||
- target: 66bac9cf-1b1e-42f5-903d-d28a9d5e1e1a
|
||||
type: RELATED_TO
|
||||
@ -18,6 +18,11 @@ relations:
|
||||
direction: incoming
|
||||
strength: 0.7
|
||||
edge_id: 853896ba-9204-49ce-b6da-0048ab1d78f7
|
||||
- target: 250d2fe0-5866-42f1-b83d-187b3a64fb84
|
||||
type: BUILDS_ON
|
||||
direction: incoming
|
||||
strength: 0.72
|
||||
edge_id: 00724a32-f9ca-43af-93a9-3d7f7b356ec1
|
||||
---
|
||||
|
||||
Bash aliases defined in ~/.bashrc (like 'majordomo') are not available in non-interactive shells used by Claude Code's Bash tool. Instead of using the alias, call the underlying command directly. Example: Use 'python ~/.claude/skills/major-domo/cli.py status' instead of 'majordomo status'.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user