Skip to content

fix: inline note content for remote branches in prompt context#93

Merged
wesbillman merged 1 commit intomainfrom
notes-on-remote-branches
Feb 13, 2026
Merged

fix: inline note content for remote branches in prompt context#93
wesbillman merged 1 commit intomainfrom
notes-on-remote-branches

Conversation

@wesbillman
Copy link
Copy Markdown
Collaborator

Summary

  • Remote agents cannot access local temp files, so notes were invisible to them when referenced by file path
  • Notes are now inlined directly into the prompt for remote branches while keeping the temp-file approach for local branches to avoid prompt bloat

🤖 Generated with Claude Code

Remote agents run inside Blox workspaces and cannot access local temp
files. Previously, append_notes_context() unconditionally wrote note
content to local temp files (/tmp/staged-note-{id}.md) and embedded
the path in the prompt — which was unreachable from remote agents.

Add an is_remote parameter to append_notes_context(). When true, note
content is inlined directly as markdown (### Title + body) instead of
being written to a temp file. Local branches retain the existing temp
file behavior.

- build_branch_context() passes is_remote=false (local agent reads files)
- build_remote_branch_context() passes is_remote=true (content inlined)
@wesbillman wesbillman merged commit 2d0ef9a into main Feb 13, 2026
3 checks passed
@wesbillman wesbillman deleted the notes-on-remote-branches branch February 13, 2026 00:21
loganj pushed a commit that referenced this pull request Feb 26, 2026
* feat: make chat panel width resizable via drag handle

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: make chat resize handle visible and remove redundant border

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants