Skip to content

feat(brains-build): teach the bulk-upload flow (grant → script → bulk_append_rows) - #15

Merged
alonmuroch merged 2 commits into
mainfrom
feat/brains-build-bulk-upload
Jul 26, 2026
Merged

feat(brains-build): teach the bulk-upload flow (grant → script → bulk_append_rows)#15
alonmuroch merged 2 commits into
mainfrom
feat/brains-build-bulk-upload

Conversation

@alonmuroch

Copy link
Copy Markdown
Contributor

What

Adds a Bulk upload entry to the brains-build feature 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:

  1. create_import_grant → an ephemeral, least-privilege imp_ token bound to one board+dataset
  2. a local script parses the file and streams NDJSON batches to bulk_append_rows
  3. run it — the full file never enters the model's context

Why

The underlying tools (create_import_grant, bulk_append_rows) are being added server-side in apps/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

alonmuroch and others added 2 commits July 26, 2026 14:36
…_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
alonmuroch force-pushed the feat/brains-build-bulk-upload branch from 7daa182 to 2d57e1b Compare July 26, 2026 11:38
@alonmuroch
alonmuroch merged commit 7f71b17 into main Jul 26, 2026
3 checks passed
@alonmuroch
alonmuroch deleted the feat/brains-build-bulk-upload branch July 26, 2026 11:39
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.

1 participant