Conversation
The AI shelf and the magic books now open to an owner who holds the library-ai flag or whose library holds more than 15 books (type book, every shelf). One check, opensLibraryAi, decides for the page and both routes; the count is read from the library on each check, nothing is stored. The AI shelf keeps its own 30-book lock. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @manager's task in 2m 13s —— View job Review: Library AI opens with 15+ books (#244)
Assessment: clean, no blocking issues found. Traced the full path for both correctness and security:
No inline comments filed — didn't find anything rising above nitpick level. |
This was referenced Sep 25, 2026
Contributor
Author
|
Shipped inside #246. |
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.
The AI shelf and the magic books open to an owner who holds the
library-aiflag, or whose library holds more than 15 books. Only objects of type book count, on every shelf. Authorized by Wolf on 2026-09-25.opensLibraryAi(src/lib/library/flags.ts), decides for the page and for/api/library/ai-shelfand/api/library/magic-bookthroughownerOfLibrary.AI_SHELF_MIN_BOOKS).LIBRARY.mdrecords the rule;scripts/release/library-batch-check.cjscovers 15 vs 16 books, non-book objects and the flag override.Checks run:
node scripts/release/library-batch-check.cjsPASS,tsc --noEmitclean, ESLint and Prettier clean.🤖 Generated with Claude Code