Upstream Tracking
Upstream Tracking
Source: docs/supabase/upstream-tracking.json
json
1{2 "schemaVersion": 1,3 "lastReviewed": "2026-06-23",4 "policy": {5 "summary": "Track Supabase upstream refs and copy only reviewed Studio-related paths. Do not vendor a full Supabase source tree into this repository.",6 "sourceOfTruth": "docs/supabase/upstream-fork-tracking.md",7 "licenseHandling": [8 "Preserve upstream copyright and license notices for copied code.",9 "Record the exact upstream commit before syncing local changes.",10 "Review non-code assets separately when upstream package metadata has no explicit package-level license."11 ]12 },13 "upstreams": [14 {15 "id": "supabase-monorepo",16 "name": "Supabase monorepo",17 "url": "https://github.com/supabase/supabase.git",18 "browserUrl": "https://github.com/supabase/supabase",19 "defaultRef": "refs/heads/master",20 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",21 "lastVerifiedAt": "2026-06-23",22 "repositoryLicense": "Apache-2.0",23 "licenseEvidence": [24 "https://github.com/supabase/supabase/blob/master/LICENSE",25 "https://github.com/supabase/supabase/blob/master/package.json"26 ]27 }28 ],29 "forkStrategy": {30 "status": "operator-managed",31 "defaultRemoteName": "assistance-fork",32 "url": null,33 "notes": [34 "Create or attach a fork outside repo automation only when a selected sync needs fork-specific patches.",35 "Keep default verification against the public upstream so GitHub auth is never required.",36 "Do not push, delete branches, or rewrite history from repo scripts."37 ]38 },39 "trackedSelections": [40 {41 "id": "studio-app",42 "upstreamId": "supabase-monorepo",43 "upstreamPath": "apps/studio",44 "localPath": "apps/studio",45 "syncMode": "selective-copy",46 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",47 "upstreamPackageName": "studio",48 "upstreamPackageLicense": null,49 "effectiveLicense": "Apache-2.0 from repository root",50 "notes": "Supabase Studio app surface; copy only reviewed files or directories needed by Assistance Studio."51 },52 {53 "id": "studio-ui-package",54 "upstreamId": "supabase-monorepo",55 "upstreamPath": "packages/ui",56 "localPath": "packages/studio-ui",57 "syncMode": "selective-copy-rename",58 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",59 "upstreamPackageName": "ui",60 "upstreamPackageLicense": "MIT",61 "effectiveLicense": "MIT package metadata plus Apache-2.0 repository notice context",62 "notes": "Local package is namespaced as studio-ui to avoid collision with Assistance's own packages/ui."63 },64 {65 "id": "studio-common-package",66 "upstreamId": "supabase-monorepo",67 "upstreamPath": "packages/common",68 "localPath": "packages/studio-common",69 "syncMode": "selective-copy-rename",70 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",71 "upstreamPackageName": "common",72 "upstreamPackageLicense": "MIT",73 "effectiveLicense": "MIT package metadata plus Apache-2.0 repository notice context"74 },75 {76 "id": "studio-config-package",77 "upstreamId": "supabase-monorepo",78 "upstreamPath": "packages/config",79 "localPath": "packages/studio-config",80 "syncMode": "selective-copy-rename",81 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",82 "upstreamPackageName": "config",83 "upstreamPackageLicense": "MIT",84 "effectiveLicense": "MIT package metadata plus Apache-2.0 repository notice context"85 },86 {87 "id": "studio-shared-data-package",88 "upstreamId": "supabase-monorepo",89 "upstreamPath": "packages/shared-data",90 "localPath": "packages/studio-shared-data",91 "syncMode": "selective-copy-rename",92 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",93 "upstreamPackageName": "shared-data",94 "upstreamPackageLicense": "MIT",95 "effectiveLicense": "MIT package metadata plus Apache-2.0 repository notice context"96 },97 {98 "id": "studio-pg-meta-package",99 "upstreamId": "supabase-monorepo",100 "upstreamPath": "packages/pg-meta",101 "localPath": "packages/studio-pg-meta",102 "syncMode": "selective-copy-rename",103 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",104 "upstreamPackageName": "@supabase/pg-meta",105 "upstreamPackageLicense": "MIT",106 "effectiveLicense": "MIT package metadata plus Apache-2.0 repository notice context"107 },108 {109 "id": "studio-ai-commands-package",110 "upstreamId": "supabase-monorepo",111 "upstreamPath": "packages/ai-commands",112 "localPath": "packages/studio-ai-commands",113 "syncMode": "selective-copy-rename",114 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",115 "upstreamPackageName": "ai-commands",116 "upstreamPackageLicense": "MIT",117 "effectiveLicense": "MIT package metadata plus Apache-2.0 repository notice context"118 },119 {120 "id": "studio-api-types-package",121 "upstreamId": "supabase-monorepo",122 "upstreamPath": "packages/api-types",123 "localPath": "packages/studio-api-types",124 "syncMode": "selective-copy-rename",125 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",126 "upstreamPackageName": "api-types",127 "upstreamPackageLicense": "MIT",128 "effectiveLicense": "MIT package metadata plus Apache-2.0 repository notice context"129 },130 {131 "id": "studio-icons-package",132 "upstreamId": "supabase-monorepo",133 "upstreamPath": "packages/icons",134 "localPath": "packages/studio-icons",135 "syncMode": "selective-copy-rename",136 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",137 "upstreamPackageName": "icons",138 "upstreamPackageLicense": null,139 "effectiveLicense": "Apache-2.0 from repository root; review icon asset provenance before broad import",140 "notes": "Treat new icon batches as assets requiring provenance review, not automatic code-only syncs."141 },142 {143 "id": "studio-tsconfig-package",144 "upstreamId": "supabase-monorepo",145 "upstreamPath": "packages/tsconfig",146 "localPath": "packages/studio-tsconfig",147 "syncMode": "selective-copy-rename",148 "lastVerifiedCommit": "432b339ff9a7c7e30252272e36eea985ad589b5b",149 "upstreamPackageName": "tsconfig",150 "upstreamPackageLicense": null,151 "effectiveLicense": "Apache-2.0 from repository root"152 }153 ],154 "verification": {155 "offlineCommand": "pnpm verify:supabase-upstream",156 "remoteDriftCommand": "pnpm verify:supabase-upstream -- --check-remote",157 "script": "tools/scripts/verify-supabase-upstream-tracking.mjs"158 }159}