Repository navigation
feat(notes): suggest the project or area a top-level note fits under - #142
Merged
Merged
Conversation
A free note at the top of the tree gets the project or area page it fits
under (links between them, shared links, title words), best first with why,
from GET /api/v1/notes/{id}/homes. One click on the note page puts it inside;
the assistant sees the same as could_go_in in read_note. No model is asked
and nothing moves on its own.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01XZQXJtCvJgbG1Z2H312KcS
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.
Before: a new note sat at the top of the notes tree until someone dragged it under its project or area.
After: a note at the top of the tree shows a "Put inside " chip next to its PARA place, and one click moves it there. Hovering the chip shows why it fits. The assistant sees the same suggestions as
could_go_inwhen it reads the note, and can move the note withupdate_note.Only notes that aren't themselves a project, area or archive get a suggestion. Candidates are pages filed as a project or area, and never a page the note itself contains. No model is asked and nothing moves on its own.
How:
notebook.suggest_homesscores each candidate page:The suggestion needs a score of 2. Results come from
GET /api/v1/notes/{id}/homes, best first, each with why it fits. The OpenAPI client is regenerated. The docs and DEVLOG are updated, and the # topics item is now marked done because #135 covered it.🤖 Generated with Claude Code
https://claude.ai/code/session_01XZQXJtCvJgbG1Z2H312KcS
Generated by Claude Code