Guide

Add a Taste Preferences Table to Your Open Brain

Markdown

Add a Taste Preferences Table to Your Open Brain

An Open Brain Extension Guide

You've been using your Open Brain to capture thoughts. This guide adds a second table — taste_preferences — built specifically to store what you've learned about your own standards and constraints.

Why a separate table? The thoughts table is a stream. Taste preferences are a registry. They get queried differently, updated deliberately, and should be browsable without semantic search. One clean table, purpose-built for the job.

Before you start: You need a working Open Brain installation. If you haven't done that yet, start with the Complete Setup Guide. This guide assumes your thoughts table exists and your MCP server is running.

Time required: About 10 minutes.


What You're Adding

A taste_preferences table in your Supabase database with six fields:

FieldWhat it stores
idAuto-generated UUID
preference_nameShort label (e.g., "No hedge language")
domainWhere this applies (writing, code, strategy, etc.)
rejectThe specific thing to avoid
wantWhat to do instead
constraint_typedomain rule / quality standard / business logic / formatting
created_atWhen you added it

Step 1: Run the Migration

Open your Supabase dashboard → SQL Editor → New query. Paste and run:

Verify it worked: Table Editor should now show taste_preferences alongside thoughts.


Step 2: Add Your First Preferences

You have two options. Use whichever fits your workflow.

Option A: Table Editor (simplest)

In the Supabase dashboard → Table Editor → taste_preferences → Insert row.

Fill in each field. Example row:

FieldExample value
preference_nameNo hedge language
domainwriting
rejectPhrases like "perhaps," "you might consider," "it could be argued"
wantDirect assertions. If uncertain, say so once clearly, then move on.
constraint_typequality standard

Repeat for each preference you've identified. Takes about 30 seconds per row.

Option B: SQL Insert

If you have several preferences ready (e.g., from running the Mine Your Taste prompt kit), paste them all at once:

insert into taste_preferences (preference_name, domain, reject, want, constraint_type)
values
  (
    'No hedge language',
    'writing',
    'Phrases like "perhaps," "you might consider," "it could be argued"',
    'Direct assertions. If uncertain, say so once clearly, then move on.',
    'quality standard'
  ),
  (
    'Specificity over scope',
    'writing',
    'Broad claims without examples ("AI is transforming everything")',
    'One concrete example that proves the point, then the claim',
    'domain rule'
  );
-- Add more rows as needed

Step 3: Query Your Preferences

Your preferences are now queryable directly from the Supabase dashboard or via your MCP connection.

Browse everything

select preference_name, domain, constraint_type
from taste_preferences
order by domain, constraint_type;

Filter by domain

select *
from taste_preferences
where domain = 'writing';

Pull all as a system prompt block

This query formats your entire preference library as a single block you can copy and paste into any AI's system prompt:

select string_agg(
  '**' || preference_name || '**' || E'\n' ||
  'Reject: ' || reject || E'\n' ||
  'Want: ' || want,
  E'\n\n'
  order by domain, constraint_type
)
from taste_preferences;

Copy the single cell output, paste it into any AI's system prompt or project instructions. You now have your taste profile wired directly into your AI.


Step 4: Keep It Current

Your preferences will evolve. When you catch yourself correcting AI output, take 60 seconds to add the constraint:

  1. Name what you rejected (Reject field)
  2. Name what you actually wanted (Want field)
  3. Pick a domain and type
  4. Insert the row

The Mine Your Taste prompt kit (companion to this guide) is the fastest way to do a bulk audit. Run it periodically — quarterly is probably right — and use Table Editor or SQL to add whatever surfaces.


Troubleshooting

SQL error on the check constraint: Some older Supabase projects have a quirk with inline check constraints. If you hit an error, try this alternative syntax:

alter table taste_preferences
  add constraint valid_constraint_type
  check (constraint_type in ('domain rule', 'quality standard', 'business logic', 'formatting'));

Can't find Table Editor: In the left sidebar, look for the grid icon labeled "Table Editor" — it's near the top. If your sidebar is collapsed, click the hamburger menu first.

RLS blocking your inserts: Make sure you're using the service role key (not the anon/publishable key) when connecting. The policy only grants access to the service role. In the dashboard's SQL Editor, you're automatically authenticated as the service role — inserts will work fine there.


This guide is an extension of the Open Brain system built by Nate B. Jones. Open Brain Setup Guide · Mine Your Taste Prompt Kit