feat(brains-build): teach the bulk-upload flow (grant → script → bulk_append_rows) - #15
Merged
Merged
Conversation
…_append_rows) Add a Bulk upload entry to the feature catalog + a short section so the agent knows to load a large/arbitrary-format file into a board by minting an ephemeral import grant and streaming NDJSON batches from a local script, instead of reading the file into context and appending row-by-row. No plugin behaviour changes — this is guidance an agent reads. The underlying tools (create_import_grant, bulk_append_rows) ship separately in apps/mcp. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
New brains-build capability (bulk upload flow) in this PR. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
alonmuroch
force-pushed
the
feat/brains-build-bulk-upload
branch
from
July 26, 2026 11:38
7daa182 to
2d57e1b
Compare
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.
What
Adds a Bulk upload entry to the
brains-buildfeature catalog — a table row plus a short section — so the agent knows how to load a large or arbitrary-format file (CSV/xlsx/JSON, thousands of rows) into a board:create_import_grant→ an ephemeral, least-privilegeimp_token bound to one board+datasetbulk_append_rowsWhy
The underlying tools (
create_import_grant,bulk_append_rows) are being added server-side inapps/mcp, but the plugin's build catalog didn't teach when/how to reach for them. Without this, an agent asked to "load this big CSV into a board" would read the file into context and append row-by-row — burning tokens on the data itself.Scope
Guidance-only (one SKILL.md file). No plugin behaviour changes; no manifest bump (releases handle that separately). The tools themselves ship in the brains monorepo (
feat/bulk-import-grant, BRNS-SEC-IMPORT-001).🤖 Generated with Claude Code