Repository navigation
Conversation
Notes pin to the current canvas selection and live in one file, .stacki/feedback.json, inside the open project (git-excluded with the rest of .stacki/). Claude Code reads that file with its own Read tool, edits the project, and flips each item's "done"; Stacki re-reads it on window focus, when the tab opens, and before every write. No server, port or watcher: the file is the interface, because the agent can already read the project. - shared/ipc/feedback.ts: the item and file parsers (version 1, bounded, ids unique). Agent-appended items may omit createdAt and use keys: []. - feedback:read / feedback:write: one channel pair through the usual six touch points. Main resolves each item's file:line trail from its selection keys with selectionTrail on every read and write, and writes through writeProjectText so the write is atomic like every project write. - Every renderer change reads the file fresh, applies itself, then writes, so an agent's done flips made in the meantime are not overwritten. - Feedback rail tab (M), with Copy for agent rendering the handoff text. - Numbered pins on the canvas for open notes at the current drill-in level; their paths join the frame's tracked set so it measures them. shortcut: pins are index paths, not handle-carried spans; a structural edit above a pinned node moves the pin to its neighbour. Upgrade by storing a byte span mapped with shared/engine/mapSpan.ts if notes start living across editing sessions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DAFvSVVtdvBZHDz2thvb12
pat-mw
marked this pull request as draft
October 20, 2026 11:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Notes pin to the current canvas selection and live in one file, .stacki/feedback.json, inside the open project (git-excluded with the rest of .stacki/). Claude Code reads that file with its own Read tool, edits the project, and flips each item's "done"; Stacki re-reads it on window focus, when the tab opens, and before every write. No server, port or watcher: the file is the interface, because the agent can already read the project.
shortcut: pins are index paths, not handle-carried spans; a structural edit above a pinned node moves the pin to its neighbour. Upgrade by storing a byte span mapped with shared/engine/mapSpan.ts if notes start living across editing sessions.