From 17e88b665f5afa7a6a0746e1f0a64920028a0ae7 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:48:49 -0400 Subject: [PATCH 001/286] Safe diffing, Submodule expansion, Path filters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://chatgpt.com/share/68a4ffbd-2550-8003-baec-d27e23c94a61 ✅ Safe diffing (before → sha for pushes, base.sha → sha for PR merges) ✅ Submodule expansion ✅ Path filters (including .js and CLAUDE.md) ✅ Guard so VectorDB Sync only runs when changed_files.txt isn’t empty ✅ Skip notice when nothing relevant changed --- .github/workflows/vector_sync.yml | 58 ++++++++++++++++++++++++------- 1 file changed, 46 insertions(+), 12 deletions(-) diff --git a/.github/workflows/vector_sync.yml b/.github/workflows/vector_sync.yml index 710a8fa84..aaf697e50 100644 --- a/.github/workflows/vector_sync.yml +++ b/.github/workflows/vector_sync.yml @@ -4,17 +4,37 @@ on: # Run when a PR is merged into main pull_request: types: [closed] + branches: + - main + paths: + - 'src/**' + - 'scripts/**' + - 'data/**' + - 'requirements.txt' + - '.gitmodules' + - '**/*.py' + - '**/*.js' + - 'CLAUDE.md' # Run on direct pushes to main branch push: branches: - main + paths: + - 'src/**' + - 'scripts/**' + - 'data/**' + - 'requirements.txt' + - '.gitmodules' + - '**/*.py' + - '**/*.js' + - 'CLAUDE.md' jobs: sync: # For PR: only if merged into main if: | - (github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main') || + (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || (github.event_name == 'push' && github.ref == 'refs/heads/main') runs-on: ubuntu-latest @@ -32,24 +52,32 @@ jobs: - name: Install dependencies run: | + set -e python -m pip install --upgrade pip - pip install -r requirements.txt || true + pip install -r requirements.txt - name: Detect changed files (root + submodules) run: | + set -e # fail on errors + echo "🔎 Detecting changes..." + if [ "${{ github.event_name }}" == "push" ]; then echo "Push to main branch detected" - git diff --name-status HEAD^ HEAD > changed_files.txt || true + base_sha="${{ github.event.before }}" + head_sha="${{ github.sha }}" else echo "Pull request merged into main detected" - git diff --name-status origin/main HEAD > changed_files.txt || true + base_sha="${{ github.event.pull_request.base.sha }}" + head_sha="${{ github.sha }}" fi + echo "Comparing $base_sha → $head_sha" + git diff --name-status $base_sha $head_sha > changed_files.txt cat changed_files.txt echo "🔎 Detecting submodule pointer changes..." - git diff --submodule > submodule_changes.txt || true + git diff --submodule $base_sha $head_sha > submodule_changes.txt || true cat submodule_changes.txt echo "🔎 Expanding submodule changes into file-level diffs..." @@ -64,14 +92,20 @@ jobs: git diff --name-status $oldsha $newsha | sed "s|^|$submodule/|" >> ../changed_files.txt popd > /dev/null fi - done < <(git diff --submodule | grep Submodule) + done < <(git diff --submodule $base_sha $head_sha | grep Submodule) echo "✅ Final changed files list:" cat changed_files.txt -# - name: Run VectorDB Sync -# env: -# PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} -# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} -# run: | -# python scripts/sync_pinecone.py changed_files.txt \ No newline at end of file + - name: Skip notice if no changes + if: hashFiles('changed_files.txt') == '' + run: echo "⚡ No relevant file changes detected — skipping VectorDB sync" + + - name: Run VectorDB Sync + if: success() && hashFiles('changed_files.txt') != '' + env: + PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + run: | + echo "🚀 Running VectorDB Sync (changes detected)" + python scripts/sync_pinecone.py changed_files.txt \ No newline at end of file From 9a6384fe7416d00754f7333121be8e90c854d8e1 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:54:16 -0400 Subject: [PATCH 002/286] Also triggered by .rs Rust changes --- .github/workflows/vector_sync.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/vector_sync.yml b/.github/workflows/vector_sync.yml index aaf697e50..a99faaf2b 100644 --- a/.github/workflows/vector_sync.yml +++ b/.github/workflows/vector_sync.yml @@ -14,6 +14,7 @@ on: - '.gitmodules' - '**/*.py' - '**/*.js' + - '**/*.rs' - 'CLAUDE.md' # Run on direct pushes to main branch @@ -28,6 +29,7 @@ on: - '.gitmodules' - '**/*.py' - '**/*.js' + - '**/*.rs' - 'CLAUDE.md' jobs: From f59eae695c15f9156edd953d19d2980e61548016 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 19 Aug 2025 21:23:46 -0400 Subject: [PATCH 003/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 7c008c5fe..1e696e003 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 7c008c5fe054f2d0cae57f19a7ddc63db457e9a0 +Subproject commit 1e696e00388e84c180ae428a68c6ebf0acc19776 From 6cd9c9484502a3fbb39f2c9b6e7202688e07411a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 19 Aug 2025 21:25:05 -0400 Subject: [PATCH 004/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 2e5d37dc1..592305fb9 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 2e5d37dc14fde7d698fafafe6aacd16da4a78529 +Subproject commit 592305fb9e080354e2852f2379aa90357e4d9396 From e50076c15838b665b6c39c5510a888939d6a502a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 19 Aug 2025 21:25:13 -0400 Subject: [PATCH 005/286] Update projects submodule reference --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index f41b3e841..54f12ace9 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit f41b3e8419d943f447495b76f0d39b3d32206835 +Subproject commit 54f12ace959cf162cc65714e460e325441599deb From 755d81753363bcfbe15dd195b846a93fe9163939 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 19 Aug 2025 23:13:20 -0400 Subject: [PATCH 006/286] Update team submodule URL from DreamStudioCode to modelearth - Change .gitmodules team URL from https://github.com/DreamStudioCode/team.git to https://github.com/modelearth/team - Sync submodule URL to match the updated .gitmodules configuration - Ensures consistent repository references across the webroot ecosystem --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 7305fcf46..cf4db1301 100644 --- a/.gitmodules +++ b/.gitmodules @@ -18,7 +18,7 @@ url = https://github.com/modelearth/comparison [submodule "team"] path = team - url = https://github.com/DreamStudioCode/team.git + url = https://github.com/modelearth/team [submodule "realitystream"] path = realitystream url = https://github.com/modelearth/realitystream From cdc1d47f402d3389e87a7d4ca9cb1eeaacdf1df7 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 20 Aug 2025 12:45:18 -0400 Subject: [PATCH 007/286] Update webroot --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index ab72c3fad..8169b1b00 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit ab72c3fad8a4e22af099d94da8b49d3bb9b458fe +Subproject commit 8169b1b005a2a2a1937f16c453bb6487054d771d From 2a610b546557a5afa6d82ad5e1a8ab35133348e9 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 20 Aug 2025 12:45:25 -0400 Subject: [PATCH 008/286] Update submodule references --- feed | 2 +- projects | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feed b/feed index 8169b1b00..3d7d31dd9 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 8169b1b005a2a2a1937f16c453bb6487054d771d +Subproject commit 3d7d31dd98efb10f33b9a4ab71fc12be678ffa18 diff --git a/projects b/projects index 54f12ace9..84d5777ae 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 54f12ace959cf162cc65714e460e325441599deb +Subproject commit 84d5777aec6d226133828ccb62a8dc34387de354 From 91e2023a88c3561bc00f52330d27c61da27ed11b Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 20 Aug 2025 12:53:07 -0400 Subject: [PATCH 009/286] Update projects submodule reference --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index 84d5777ae..d0d68e41a 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 84d5777aec6d226133828ccb62a8dc34387de354 +Subproject commit d0d68e41a7638b1b70459e01004fb39be82bdc65 From 6b3cd4c13d75c7b404f57eb92c25abab2b4f33e7 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 20 Aug 2025 14:27:25 -0400 Subject: [PATCH 010/286] Update projects submodule reference --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index d0d68e41a..54f12ace9 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit d0d68e41a7638b1b70459e01004fb39be82bdc65 +Subproject commit 54f12ace959cf162cc65714e460e325441599deb From de67cd7eddd5b4b7feb9e7a87acf15543cd68eb3 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 20 Aug 2025 14:32:14 -0400 Subject: [PATCH 011/286] Update projects submodule reference --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index 54f12ace9..7836af937 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 54f12ace959cf162cc65714e460e325441599deb +Subproject commit 7836af937010595b850f783fd8e7c5ee8d3df229 From eeab84daa95086d5a06ccd6a7094ccb0df372f55 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 02:16:41 -0400 Subject: [PATCH 012/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 1e696e003..f5ef39e38 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 1e696e00388e84c180ae428a68c6ebf0acc19776 +Subproject commit f5ef39e3876af7788a6cdd5671d2844ea064b606 From a5880e900195af1839a057a1bafc6b4e5c11c9db Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 02:16:51 -0400 Subject: [PATCH 013/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 592305fb9..a320a6083 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 592305fb9e080354e2852f2379aa90357e4d9396 +Subproject commit a320a60839048ce4757499649947555d93e472b5 From 7639b1294c92b3c9c7e53c1ce9ada90051ea2e76 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 03:15:50 -0400 Subject: [PATCH 014/286] Update webroot --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index f5ef39e38..26b65a73d 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit f5ef39e3876af7788a6cdd5671d2844ea064b606 +Subproject commit 26b65a73d519e5f8676bc2145025be472836fa65 From c4a056f2b41a906620e7e0fee4082ea75f391183 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 03:15:57 -0400 Subject: [PATCH 015/286] Update submodule references --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index 7836af937..51fa85a34 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 7836af937010595b850f783fd8e7c5ee8d3df229 +Subproject commit 51fa85a344aeecad0dd235ce83184be36fae2346 From 0210d7b3275d83511f88387af526b8503a4d43ee Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:43:04 -0400 Subject: [PATCH 016/286] Update webroot --- CLAUDE.md | 27 ++++++++++++++++++++++++++- localsite | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index a57b4bc1d..d675baf91 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -137,6 +137,30 @@ This repository contains the following git submodules configured in `.gitmodules **IMPORTANT**: All directories listed above are git submodules, not regular directories. They appear as regular directories when browsing but are actually git submodule references. Always treat them as submodules in git operations. +### Upstream Repository Policy + +**CRITICAL**: The maximum upstream level for all repositories is `modelearth` - never pull from higher upstream sources like USEPA. + +- **Webroot and Submodules**: Upstream should point to `modelearth` or `ModelEarth` repositories only +- **Trade Repositories**: Upstream should point to `modelearth` repositories only +- **NEVER use USEPA** as upstream sources in any repository +- **Repository Hierarchy**: `user-fork` → `modelearth` (STOP - do not go higher) + +**Example Correct Upstream Configuration:** +```bash +# Correct upstream configuration +git remote add upstream https://github.com/modelearth/useeio.js.git +git remote add upstream https://github.com/ModelEarth/webroot.git + +# WRONG - never use these upstream sources +git remote add upstream https://github.com/USEPA/useeio.js.git # ❌ NEVER +``` + +**Update Workflow Impact:** +- The `./git.sh update` command respects this policy and only pulls from modelearth-level repositories +- If any upstream is incorrectly configured to point above modelearth level, it must be corrected +- This prevents conflicts from pulling changes from repositories outside the modelearth ecosystem + ### Repository Root Navigation **CRITICAL**: Always ensure you're in the webroot repository before executing any commands. The CLI session is pointed to the webroot directory, and all operations must start from there: @@ -289,8 +313,9 @@ When you type "confirm" or "less quick", remove it: ### Trade Repo List The following trade repositories are used for multi-regional input-output (MRIO) analysis: +- **trade** - https://github.com/modelearth/trade - **exiobase** - https://github.com/modelearth/exiobase -- **profile** - https://github.com/modelearth/profile +- **profile** - https://github.com/modelearth/profile - **useeio.js** - https://github.com/modelearth/useeio.js - **io** - https://github.com/modelearth/io diff --git a/localsite b/localsite index a320a6083..a74de831c 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit a320a60839048ce4757499649947555d93e472b5 +Subproject commit a74de831ca747db91e9536bc0e288f37713a6f0c From aea615594773dfcfd44e7db71f3644a2d5e285b0 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:43:12 -0400 Subject: [PATCH 017/286] Update submodule references --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 26b65a73d..3d1e548ca 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 26b65a73d519e5f8676bc2145025be472836fa65 +Subproject commit 3d1e548ca489f85b28e1e6d6bd3913121fea62da From 09ec5007ca56cc6a962fc1f6fb74333f078b850a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 11:59:46 -0400 Subject: [PATCH 018/286] Update webroot --- .gitmodules | 3 +++ CLAUDE.md | 22 ++++++++-------------- git.sh | 28 +++++++++++----------------- trade | 1 + 4 files changed, 23 insertions(+), 31 deletions(-) create mode 160000 trade diff --git a/.gitmodules b/.gitmodules index cf4db1301..14997b1b0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -28,3 +28,6 @@ [submodule "cloud"] path = cloud url = https://github.com/modelearth/cloud +[submodule "trade"] + path = trade + url = https://github.com/modelearth/trade.git diff --git a/CLAUDE.md b/CLAUDE.md index d675baf91..3272ae962 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -134,26 +134,23 @@ This repository contains the following git submodules configured in `.gitmodules - **projects** - https://github.com/modelearth/projects - **realitystream** - https://github.com/modelearth/realitystream - **cloud** - https://github.com/modelearth/cloud +- **trade** - https://github.com/modelearth/trade **IMPORTANT**: All directories listed above are git submodules, not regular directories. They appear as regular directories when browsing but are actually git submodule references. Always treat them as submodules in git operations. ### Upstream Repository Policy -**CRITICAL**: The maximum upstream level for all repositories is `modelearth` - never pull from higher upstream sources like USEPA. +**CRITICAL**: The maximum upstream level for all repositories is `modelearth` - **Webroot and Submodules**: Upstream should point to `modelearth` or `ModelEarth` repositories only - **Trade Repositories**: Upstream should point to `modelearth` repositories only -- **NEVER use USEPA** as upstream sources in any repository - **Repository Hierarchy**: `user-fork` → `modelearth` (STOP - do not go higher) **Example Correct Upstream Configuration:** ```bash # Correct upstream configuration -git remote add upstream https://github.com/modelearth/useeio.js.git +git remote add upstream https://github.com/modelearth/trade.git git remote add upstream https://github.com/ModelEarth/webroot.git - -# WRONG - never use these upstream sources -git remote add upstream https://github.com/USEPA/useeio.js.git # ❌ NEVER ``` **Update Workflow Impact:** @@ -181,7 +178,7 @@ git remote -v - **NEVER include paths like `/Users/username/` or `C:\Users\`** in any commands or examples - Always use relative paths, environment variables, or git commands to determine paths dynamically - Use `$(git rev-parse --show-toplevel)` when already in the correct repository context -- If `git rev-parse --show-toplevel` returns incorrect paths (submodule/trade repo instead of webroot), the user must manually navigate to their webroot directory using their system's actual path +- If `git rev-parse --show-toplevel` returns incorrect paths (submodule/trade repo instead of webroot), navigate up to webroot directory. Some users may give their webroot a different folder name than "webroot" **IMPORTANT**: The `git rev-parse --show-toplevel` command returns the top-level directory of whatever git repository you're currently in. If you're inside a submodule or trade repo, it will return that repository's root instead of the webroot. In such cases, you must manually navigate to your actual webroot directory location on your system. @@ -313,13 +310,12 @@ When you type "confirm" or "less quick", remove it: ### Trade Repo List The following trade repositories are used for multi-regional input-output (MRIO) analysis: -- **trade** - https://github.com/modelearth/trade +- **trade** - https://github.com/modelearth/trade (submodule) - **exiobase** - https://github.com/modelearth/exiobase - **profile** - https://github.com/modelearth/profile -- **useeio.js** - https://github.com/modelearth/useeio.js - **io** - https://github.com/modelearth/io -**IMPORTANT**: These trade repos are cloned to the webroot root directory, not as submodules, since typical sites only use trade output via the existing comparison submodule. +**IMPORTANT**: The trade repo is now a submodule. Other trade repos are cloned to the webroot root directory, not as submodules, since typical sites only use trade output via the existing comparison submodule. ### Fork Trade Repos @@ -332,7 +328,6 @@ The above runs these commands: # Fork repositories using GitHub CLI (requires 'gh' to be installed and authenticated) gh repo fork modelearth/exiobase --clone=false gh repo fork modelearth/profile --clone=false -gh repo fork modelearth/useeio.js --clone=false gh repo fork modelearth/io --clone=false ``` @@ -350,7 +345,6 @@ cd $(git rev-parse --show-toplevel) # Clone trade repos to webroot root git clone https://github.com/[your github account]/exiobase exiobase git clone https://github.com/[your github account]/profile profile -git clone https://github.com/[your github account]/useeio.js useeio.js git clone https://github.com/[your github account]/io io ``` @@ -416,7 +410,7 @@ if [[ "$*" =~ (nopr|no\ pr)$ ]] || [[ "$*" =~ (NOPR|NO\ PR)$ ]]; then fi # Check each trade repo for changes and create PRs -for repo in exiobase profile useeio.js io; do +for repo in exiobase profile io; do if [ -d "$repo" ]; then cd "$repo" if [ -n "$(git status --porcelain)" ]; then @@ -511,7 +505,7 @@ if [ -n "$(git status --porcelain)" ]; then fi # Step 4: Commit trade repo forks and create PRs -for repo in exiobase profile useeio.js io; do +for repo in exiobase profile io; do if [ -d "$repo" ]; then cd "$repo" if [ -n "$(git status --porcelain)" ]; then diff --git a/git.sh b/git.sh index 9dce03556..0b1b42747 100755 --- a/git.sh +++ b/git.sh @@ -38,9 +38,6 @@ merge_upstream() { return 0 elif git merge upstream/master --no-edit 2>/dev/null; then return 0 - # Only try dev branch for useeio.js - elif [[ "$repo_name" == "useeio.js" ]] && git merge upstream/dev --no-edit 2>/dev/null; then - return 0 else echo "⚠️ Merge conflicts - manual resolution needed" return 1 @@ -365,9 +362,6 @@ commit_push() { # Determine target branch local target_branch="main" - if [[ "$name" == "useeio.js" ]]; then - target_branch="dev" - fi # Check if user owns the repository if is_repo_owner "$name"; then @@ -461,7 +455,7 @@ commit_push() { fi # Update webroot submodule reference if this is a submodule - if [[ "$name" != "webroot" ]] && [[ "$name" != "exiobase" ]] && [[ "$name" != "profile" ]] && [[ "$name" != "useeio.js" ]] && [[ "$name" != "io" ]]; then + if [[ "$name" != "webroot" ]] && [[ "$name" != "exiobase" ]] && [[ "$name" != "profile" ]] && [[ "$name" != "io" ]]; then update_webroot_submodule_reference "$name" "$commit_hash" fi else @@ -496,7 +490,7 @@ update_command() { # Update submodules echo "📥 Updating submodules..." - for sub in cloud comparison feed home localsite products projects realitystream swiper team; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do [ ! -d "$sub" ] && continue cd "$sub" @@ -522,7 +516,7 @@ update_command() { # Update trade repos echo "📥 Updating trade repos..." - for repo in exiobase profile useeio.js io; do + for repo in exiobase profile io; do [ ! -d "$repo" ] && continue cd "$repo" git pull origin main 2>/dev/null || echo "⚠️ Pull conflicts in $repo" @@ -554,7 +548,7 @@ fix_all_detached_heads() { # Check all submodules echo "📁 Checking submodules..." - for sub in cloud comparison feed home localsite products projects realitystream swiper team; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do if [ -d "$sub" ]; then echo "📁 Checking $sub..." cd "$sub" @@ -567,7 +561,7 @@ fix_all_detached_heads() { # Check trade repos echo "📁 Checking trade repos..." - for repo in exiobase profile useeio.js io; do + for repo in exiobase profile io; do if [ -d "$repo" ]; then echo "📁 Checking $repo..." cd "$repo" @@ -608,7 +602,7 @@ update_all_remotes_for_user() { # Check all submodules echo "📁 Checking submodule remotes..." - for sub in cloud comparison feed home localsite products projects realitystream swiper team; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do if [ -d "$sub" ]; then echo "📁 Checking $sub remotes..." cd "$sub" @@ -621,7 +615,7 @@ update_all_remotes_for_user() { # Check trade repos echo "📁 Checking trade repo remotes..." - for repo in exiobase profile useeio.js io; do + for repo in exiobase profile io; do if [ -d "$repo" ]; then echo "📁 Checking $repo remotes..." cd "$repo" @@ -741,7 +735,7 @@ commit_submodules() { check_webroot # Commit each submodule with changes - for sub in cloud comparison feed home localsite products projects realitystream swiper team; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do [ ! -d "$sub" ] && continue cd "$sub" commit_push "$sub" "$skip_pr" @@ -782,7 +776,7 @@ commit_all() { commit_submodules "$skip_pr" # Commit trade repos - for repo in exiobase profile useeio.js io; do + for repo in exiobase profile io; do [ ! -d "$repo" ] && continue cd "$repo" commit_push "$repo" "$skip_pr" @@ -807,7 +801,7 @@ final_push_completion_check() { fi # Check all submodules - for sub in cloud comparison feed home localsite products projects realitystream swiper team; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do if [ -d "$sub" ]; then cd "$sub" if [ -n "$(git rev-list --count @{u}..HEAD 2>/dev/null)" ] && [ "$(git rev-list --count @{u}..HEAD 2>/dev/null)" != "0" ]; then @@ -819,7 +813,7 @@ final_push_completion_check() { done # Check trade repos - for repo in exiobase profile useeio.js io; do + for repo in exiobase profile io; do if [ -d "$repo" ]; then cd "$repo" if [ -n "$(git rev-list --count @{u}..HEAD 2>/dev/null)" ] && [ "$(git rev-list --count @{u}..HEAD 2>/dev/null)" != "0" ]; then diff --git a/trade b/trade new file mode 160000 index 000000000..177a0e269 --- /dev/null +++ b/trade @@ -0,0 +1 @@ +Subproject commit 177a0e2697549e8e381a54e54c707423f2bf6a1a From 13aedd552b35bdd6b987d3a9e696a70bec1bf80d Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 12:18:03 -0400 Subject: [PATCH 019/286] Update webroot --- CLAUDE.md | 40 ++++++++++++++++++++-------------------- git.sh | 18 +++++++++--------- 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 3272ae962..202480462 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -96,14 +96,14 @@ When you switch GitHub accounts, the script will: - Prevents permission denied errors from stale credentials **Update Command Features:** -- **Pull from Parents**: Updates webroot, submodules, and trade repos from their respective ModelEarth parent repositories +- **Pull from Parents**: Updates webroot, submodules, and industry repos from their respective ModelEarth parent repositories - **Fork-Aware**: Automatically adds upstream remotes for parent repos when working with forks - **Partnertools Exclusion**: Completely skips any repositories associated with partnertools GitHub account - **Merge Strategy**: Uses automatic merge with no-edit to incorporate upstream changes - **Conflict Handling**: Reports merge conflicts for manual resolution when they occur - **Status Reporting**: Provides clear feedback on what was updated and any issues encountered - **Push Guidance**: Prompts user with specific commands for pushing changes back to forks and parent repos -- **Comprehensive Workflow**: Handles webroot, all submodules, and all trade repositories in one command +- **Comprehensive Workflow**: Handles webroot, all submodules, and all industry repositories in one command **Post-Update Recommendations:** After running "./git.sh update", review changes and use these commands as needed: @@ -114,7 +114,7 @@ After running "./git.sh update", review changes and use these commands as needed **Git.sh Usage:** ```bash ./git.sh update # Full update workflow -./git.sh commit # Complete commit: webroot, all submodules, and trade repos +./git.sh commit # Complete commit: webroot, all submodules, and industry repos ./git.sh commit [name] # Commit specific submodule ./git.sh commit submodules # Commit all submodules only ./git.sh commit [name] nopr # Skip PR creation on push failures @@ -143,7 +143,7 @@ This repository contains the following git submodules configured in `.gitmodules **CRITICAL**: The maximum upstream level for all repositories is `modelearth` - **Webroot and Submodules**: Upstream should point to `modelearth` or `ModelEarth` repositories only -- **Trade Repositories**: Upstream should point to `modelearth` repositories only +- **Industry Repositories**: Upstream should point to `modelearth` repositories only - **Repository Hierarchy**: `user-fork` → `modelearth` (STOP - do not go higher) **Example Correct Upstream Configuration:** @@ -259,7 +259,7 @@ fi - **"push [submodule name]"**: Only push submodule changes (steps 1-3) - **"PR [submodule name]"**: Create pull request workflow - **"commit submodules [nopr]"**: Commit all submodules with PR fallback when push fails -- **"commit forks [nopr]"**: Commit all trade repo forks and create PRs to parent repos +- **"commit forks [nopr]"**: Commit all industry repo forks and create PRs to parent repos - **"commit [nopr]"**: Complete commit workflow with PR fallback - commits webroot, all submodules, and all forks **PR Fallback Behavior**: All commit commands automatically create pull requests when direct push fails due to permission restrictions. Add 'nopr' or 'No PR' (case insensitive) at the end of any commit command to skip PR creation. @@ -306,21 +306,21 @@ When you type "confirm" or "less quick", remove it: ] ``` -## Trade Repositories +## Industry Repositories -### Trade Repo List -The following trade repositories are used for multi-regional input-output (MRIO) analysis: +### Industry Repo List +The following industry repositories are used for multi-regional input-output (MRIO) analysis: - **trade** - https://github.com/modelearth/trade (submodule) - **exiobase** - https://github.com/modelearth/exiobase - **profile** - https://github.com/modelearth/profile - **io** - https://github.com/modelearth/io -**IMPORTANT**: The trade repo is now a submodule. Other trade repos are cloned to the webroot root directory, not as submodules, since typical sites only use trade output via the existing comparison submodule. +**IMPORTANT**: The industry repos (except trade) are cloned to the webroot root directory. They are not submodules, since typical sites only use industry output via the existing comparison submodule. -### Fork Trade Repos +### Fork Industry Repos ```bash -fork trade repos to [your github account] +fork industry repos to [your github account] ``` The above runs these commands: @@ -331,10 +331,10 @@ gh repo fork modelearth/profile --clone=false gh repo fork modelearth/io --clone=false ``` -### Clone Trade Repos +### Clone Industry Repos ```bash -clone trade repos from [your github account] +clone industry repos from [your github account] ``` The above runs these commands: @@ -342,7 +342,7 @@ The above runs these commands: # Navigate to webroot repository root first cd $(git rev-parse --show-toplevel) -# Clone trade repos to webroot root +# Clone industry repos to webroot root git clone https://github.com/[your github account]/exiobase exiobase git clone https://github.com/[your github account]/profile profile git clone https://github.com/[your github account]/io io @@ -394,13 +394,13 @@ if [ -n "$(git status --porcelain)" ]; then fi ``` -### Commit Trade Repo Forks +### Commit Industry Repo Forks ```bash commit forks [nopr] ``` -The above commits changes to all trade repo forks and creates pull requests to their parent repositories: +The above commits changes to all industry repo forks and creates pull requests to their parent repositories: ```bash # Navigate to webroot repository root first and detect no-PR flag cd $(git rev-parse --show-toplevel) @@ -409,7 +409,7 @@ if [[ "$*" =~ (nopr|no\ pr)$ ]] || [[ "$*" =~ (NOPR|NO\ PR)$ ]]; then SKIP_PR=true fi -# Check each trade repo for changes and create PRs +# Check each industry repo for changes and create PRs for repo in exiobase profile io; do if [ -d "$repo" ]; then cd "$repo" @@ -439,7 +439,7 @@ for repo in exiobase profile io; do done ``` -**Note**: This command requires GitHub CLI (gh) to be installed and authenticated for PR creation. It will create PRs for all trade repo forks unless 'nopr' is specified. Use 'commit forks nopr' to skip PR creation. +**Note**: This command requires GitHub CLI (gh) to be installed and authenticated for PR creation. It will create PRs for all industry repo forks unless 'nopr' is specified. Use 'commit forks nopr' to skip PR creation. **Common Issues:** - **Repository moved errors**: Update remote URLs if you see "This repository moved" messages: @@ -455,7 +455,7 @@ done commit [nopr] ``` -The above runs a comprehensive commit workflow that handles webroot, all submodules, and all trade repo forks with automatic PR creation: +The above runs a comprehensive commit workflow that handles webroot, all submodules, and all industry repo forks with automatic PR creation: ```bash # Navigate to webroot repository root first and detect no-PR flag @@ -504,7 +504,7 @@ if [ -n "$(git status --porcelain)" ]; then fi fi -# Step 4: Commit trade repo forks and create PRs +# Step 4: Commit industry repo forks and create PRs for repo in exiobase profile io; do if [ -d "$repo" ]; then cd "$repo" diff --git a/git.sh b/git.sh index 0b1b42747..d6f811de0 100755 --- a/git.sh +++ b/git.sh @@ -514,8 +514,8 @@ update_command() { echo "🔍 Checking for detached HEAD states after update..." fix_all_detached_heads - # Update trade repos - echo "📥 Updating trade repos..." + # Update industry repos + echo "📥 Updating industry repos..." for repo in exiobase profile io; do [ ! -d "$repo" ] && continue cd "$repo" @@ -559,8 +559,8 @@ fix_all_detached_heads() { fi done - # Check trade repos - echo "📁 Checking trade repos..." + # Check industry repos + echo "📁 Checking industry repos..." for repo in exiobase profile io; do if [ -d "$repo" ]; then echo "📁 Checking $repo..." @@ -613,8 +613,8 @@ update_all_remotes_for_user() { fi done - # Check trade repos - echo "📁 Checking trade repo remotes..." + # Check industry repos + echo "📁 Checking industry repo remotes..." for repo in exiobase profile io; do if [ -d "$repo" ]; then echo "📁 Checking $repo remotes..." @@ -775,7 +775,7 @@ commit_all() { # Commit all submodules commit_submodules "$skip_pr" - # Commit trade repos + # Commit industry repos for repo in exiobase profile io; do [ ! -d "$repo" ] && continue cd "$repo" @@ -812,7 +812,7 @@ final_push_completion_check() { fi done - # Check trade repos + # Check industry repos for repo in exiobase profile io; do if [ -d "$repo" ]; then cd "$repo" @@ -857,7 +857,7 @@ case "$1" in echo "" echo "Commands:" echo " ./git.sh update - Run comprehensive update workflow" - echo " ./git.sh commit - Commit webroot, all submodules, and trade repos" + echo " ./git.sh commit - Commit webroot, all submodules, and industry repos" echo " ./git.sh commit [name] - Commit specific submodule" echo " ./git.sh commit submodules - Commit all submodules only" echo " ./git.sh fix - Check and fix detached HEAD states in all repos" From ab7b972463d71532e7247fe8fbffa7ec93f5506b Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 12:18:13 -0400 Subject: [PATCH 020/286] Update submodule references --- localsite | 2 +- team | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localsite b/localsite index a74de831c..6e0a278f7 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit a74de831ca747db91e9536bc0e288f37713a6f0c +Subproject commit 6e0a278f76630f22a78194829051a0de95368ddc diff --git a/team b/team index 3d1e548ca..aa2a6bb83 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 3d1e548ca489f85b28e1e6d6bd3913121fea62da +Subproject commit aa2a6bb83e3a3df9b2bb28be1f77814540d0c344 From 34329d228a7ada96247165d40c5e04b18f57a5e9 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 12:48:24 -0400 Subject: [PATCH 021/286] Update webroot --- CLAUDE.md | 9 ++++ git.sh | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 130 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 202480462..2cd6c0b16 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -158,6 +158,15 @@ git remote add upstream https://github.com/ModelEarth/webroot.git - If any upstream is incorrectly configured to point above modelearth level, it must be corrected - This prevents conflicts from pulling changes from repositories outside the modelearth ecosystem +**GitHub Pages Integration:** +- When creating webroot PRs, the system automatically checks for GitHub Pages on the user's fork +- If GitHub Pages is not enabled, it attempts to enable it automatically using the GitHub CLI +- PRs include live preview links to `[username].github.io/webroot` for easy review +- If automatic setup fails, users receive manual setup instructions and interactive options: + - **Y** - Continue with PR creation (recommended) + - **N** - Skip PR creation and continue with commit only + - **Q** - Quit without creating PR or committing + ### Repository Root Navigation **CRITICAL**: Always ensure you're in the webroot repository before executing any commands. The CLI session is pointed to the webroot directory, and all operations must start from there: diff --git a/git.sh b/git.sh index d6f811de0..2dbb81671 100755 --- a/git.sh +++ b/git.sh @@ -633,7 +633,73 @@ update_all_remotes_for_user() { fi } -# Create PR for webroot to its parent +# Check if GitHub Pages is enabled for a repository +check_github_pages() { + local user_login="$1" + local repo_name="$2" + + # Check if GitHub Pages is enabled using GitHub API + local pages_info=$(gh api "repos/$user_login/$repo_name/pages" 2>/dev/null || echo "") + if [ -n "$pages_info" ]; then + return 0 # Pages is enabled + else + return 1 # Pages is not enabled + fi +} + +# Enable GitHub Pages for a repository +enable_github_pages() { + local user_login="$1" + local repo_name="$2" + + echo "🌐 Enabling GitHub Pages for $user_login/$repo_name..." + + # Try to enable GitHub Pages using main branch + local result=$(gh api --method POST "repos/$user_login/$repo_name/pages" \ + -f source.branch=main \ + -f source.path=/ 2>/dev/null || echo "") + + if [ -n "$result" ]; then + echo "✅ GitHub Pages enabled for $user_login/$repo_name" + echo "📋 Site will be available at: https://$user_login.github.io/$repo_name" + return 0 + else + echo "⚠️ Could not enable GitHub Pages automatically" + echo "💡 Please manually enable GitHub Pages in your fork:" + echo " 1. Go to https://github.com/$user_login/$repo_name/settings/pages" + echo " 2. Set Source to 'Deploy from a branch'" + echo " 3. Select branch: main, folder: / (root)" + echo " 4. Click Save" + echo "📋 After setup, your site will be at: https://$user_login.github.io/$repo_name" + echo "" + echo "Options:" + echo " Y - Continue with PR creation (recommended)" + echo " N - Skip PR creation and continue with commit only" + echo " Q - Quit without creating PR or committing" + + read -p "Choose an option [Y/n/q]: " choice + case "${choice,,}" in + ""|y|yes) + echo "✅ Continuing with PR creation..." + return 0 + ;; + n|no) + echo "⚠️ Skipping PR creation as requested" + return 2 # Special return code for skip PR + ;; + q|quit) + echo "❌ Aborting commit and PR creation" + return 3 # Special return code for quit + ;; + *) + echo "Invalid choice. Defaulting to continue with PR..." + return 0 + ;; + esac + fi +} + +# Create PR for webroot to its parent with GitHub Pages integration create_webroot_pr() { local skip_pr="$1" @@ -671,15 +737,68 @@ create_webroot_pr() { return 1 fi + # Check and setup GitHub Pages for the fork + local pages_url="" + local pages_status="" + local pages_result=0 + + if check_github_pages "$user_login" "webroot"; then + pages_url="https://$user_login.github.io/webroot" + pages_status="✅ GitHub Pages is enabled" + echo "$pages_status: $pages_url" + else + echo "🔍 GitHub Pages not detected, attempting to enable..." + enable_github_pages "$user_login" "webroot" + pages_result=$? + + case $pages_result in + 0) + pages_url="https://$user_login.github.io/webroot" + pages_status="🌐 GitHub Pages enabled (may take a few minutes to be available)" + ;; + 2) + echo "🔄 Continuing with commit only (no PR as requested)" + return 0 # Skip PR creation but continue + ;; + 3) + echo "❌ Aborting PR creation as requested" + return 1 # Abort completely + ;; + *) + pages_url="https://$user_login.github.io/webroot" + pages_status="⚠️ GitHub Pages setup needed - continuing with PR creation" + ;; + esac + fi + + # Create enhanced PR body with review links + local pr_body="## Webroot Update + +Automated webroot update from git.sh commit workflow - includes submodule reference updates and configuration changes. + +## Review Links + +📋 **Live Preview**: [$pages_url]($pages_url) +🔗 **Fork Repository**: [https://github.com/$user_login/webroot](https://github.com/$user_login/webroot) + +## GitHub Pages Status +$pages_status + +--- +*Generated by git.sh commit workflow*" + local pr_url=$(gh pr create \ --title "Update webroot with submodule changes" \ - --body "Automated webroot update from git.sh commit workflow - includes submodule reference updates and configuration changes" \ + --body "$pr_body" \ --base main \ --head "$head_spec" \ --repo "$parent_account/webroot" 2>/dev/null || echo "") if [ -n "$pr_url" ]; then echo "🔄 Created webroot PR: $pr_url" + if [ -n "$pages_url" ]; then + echo "📋 Review at: $pages_url" + fi else echo "⚠️ Webroot PR creation failed or not needed" fi From 33bec8ff3bb9cde6595365dc9495eeba75e36875 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 12:48:33 -0400 Subject: [PATCH 022/286] Update submodule references --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index aa2a6bb83..b171a8fd4 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit aa2a6bb83e3a3df9b2bb28be1f77814540d0c344 +Subproject commit b171a8fd4ae2adae19e1086ada69bda7f4221bda From 48d2d3178f126c593b5ceeb48580204dcf404213 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 14:17:54 -0400 Subject: [PATCH 023/286] Update webroot --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index 51fa85a34..a8621e145 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 51fa85a344aeecad0dd235ce83184be36fae2346 +Subproject commit a8621e145e697281aa8b23c32d2ec02453963ffa From 113d434086b4cac08b3f9792e012ff07e0c92d3a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 16:36:22 -0400 Subject: [PATCH 024/286] Update projects submodule reference --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index a8621e145..3026ca4ce 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit a8621e145e697281aa8b23c32d2ec02453963ffa +Subproject commit 3026ca4cecec9c3c0aa20d19084c664a9a0ae9b0 From 7aa18abd0021e16a46602d3767c1f53876ebe80b Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 18:45:44 -0400 Subject: [PATCH 025/286] Update webroot --- README.md | 7 +++++++ localsite | 2 +- projects | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5527cdff7..cdefeac2e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,13 @@ Then view pages at: [localhost:8887/home](http://localhost:8887/home/) [localhost:8887/feed](http://localhost:8887/feed/) +
+ + 🗄️ + Rust API and Database + +
+ Look at the code in your webroot with an editor like [Sublime Text](https://www.sublimetext.com/) ($99), [VS Code](https://code.visualstudio.com/) or [WebStorm](https://www.jetbrains.com/webstorm/).
diff --git a/localsite b/localsite index 6e0a278f7..22cfbe8a9 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 6e0a278f76630f22a78194829051a0de95368ddc +Subproject commit 22cfbe8a9c04e48b969bebfd3f3995acbe6f18dc diff --git a/projects b/projects index 3026ca4ce..93a1a8a7c 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 3026ca4cecec9c3c0aa20d19084c664a9a0ae9b0 +Subproject commit 93a1a8a7ce6ab14bfe75728ccc3fa672df949823 From 989ac0d15fab83f9c22552b55f91603f6c15963c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 22:19:47 -0400 Subject: [PATCH 026/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index b171a8fd4..6c14a82ea 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit b171a8fd4ae2adae19e1086ada69bda7f4221bda +Subproject commit 6c14a82eafaa3f913c6029b65aa65e48ee94bc1f From f75a13f33a573ce00a938f8d471aa63de3ef73c4 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 21 Aug 2025 23:51:21 -0400 Subject: [PATCH 027/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 6c14a82ea..c2c9db604 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 6c14a82eafaa3f913c6029b65aa65e48ee94bc1f +Subproject commit c2c9db604b8298809a421084947f3eebdd36b505 From ef5c67e12418e3c47927885572a0b212256d5fd4 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 00:10:12 -0400 Subject: [PATCH 028/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index c2c9db604..d7c6c6fe2 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit c2c9db604b8298809a421084947f3eebdd36b505 +Subproject commit d7c6c6fe23a9d6529551db58bd4ed2340276cdda From 8fa07097dc6e8089d2f0c76db50ea1638989dce4 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 00:26:39 -0400 Subject: [PATCH 029/286] Update feed submodule reference --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 3d7d31dd9..9a0507b81 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 3d7d31dd98efb10f33b9a4ab71fc12be678ffa18 +Subproject commit 9a0507b81d150a66b9905d5306ca6186ce9c27aa From 2655b017ebe2ed4871741946d7a01908c27d8610 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 01:13:45 -0400 Subject: [PATCH 030/286] Update feed submodule reference --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 9a0507b81..b134ce3c1 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 9a0507b81d150a66b9905d5306ca6186ce9c27aa +Subproject commit b134ce3c181db6eb65759920965b8e35d311cc6a From cbf4a65787deb61f96960b78683a2a2dc1462fd1 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 01:24:32 -0400 Subject: [PATCH 031/286] Update feed submodule reference - removed localsite copying --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index b134ce3c1..4a465d185 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit b134ce3c181db6eb65759920965b8e35d311cc6a +Subproject commit 4a465d185e0d5cff6c8df2eb4de8a466f0e0f755 From caf33f690237f9fcce9d7822bbca31cc749030d2 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 14:03:05 -0400 Subject: [PATCH 032/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index d7c6c6fe2..3e0809dcb 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit d7c6c6fe23a9d6529551db58bd4ed2340276cdda +Subproject commit 3e0809dcb897288025b82f68c1c4935521e47904 From a41a4cdbf03417693e6e70a066509e9e5d672341 Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 22 Aug 2025 14:41:54 -0400 Subject: [PATCH 033/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 7c008c5fe..3e0809dcb 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 7c008c5fe054f2d0cae57f19a7ddc63db457e9a0 +Subproject commit 3e0809dcb897288025b82f68c1c4935521e47904 From 89ca44a28235b87a4cf2ae4580da3144b1fac8d3 Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 22 Aug 2025 14:45:57 -0400 Subject: [PATCH 034/286] Update webroot --- feed | 2 +- git.sh | 4 ++-- localsite | 2 +- projects | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/feed b/feed index ab72c3fad..4a465d185 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit ab72c3fad8a4e22af099d94da8b49d3bb9b458fe +Subproject commit 4a465d185e0d5cff6c8df2eb4de8a466f0e0f755 diff --git a/git.sh b/git.sh index 9dce03556..98b276217 100755 --- a/git.sh +++ b/git.sh @@ -485,7 +485,7 @@ update_command() { # Update webroot echo "📥 Updating webroot..." - git pull origin main 2>/dev/null || echo "⚠️ Pull conflicts in webroot" + git pull origin main 2>/dev/null || echo "⚠️ Checking for conflicts in webroot" # Update webroot from parent (skip partnertools) WEBROOT_REMOTE=$(git remote get-url origin) @@ -525,7 +525,7 @@ update_command() { for repo in exiobase profile useeio.js io; do [ ! -d "$repo" ] && continue cd "$repo" - git pull origin main 2>/dev/null || echo "⚠️ Pull conflicts in $repo" + git pull origin main 2>/dev/null || echo "⚠️ Checking for conflicts in $repo" REMOTE=$(git remote get-url origin 2>/dev/null || echo "") if [[ "$REMOTE" != *"partnertools"* ]]; then diff --git a/localsite b/localsite index 2e5d37dc1..22cfbe8a9 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 2e5d37dc14fde7d698fafafe6aacd16da4a78529 +Subproject commit 22cfbe8a9c04e48b969bebfd3f3995acbe6f18dc diff --git a/projects b/projects index f41b3e841..bf4f21ddd 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit f41b3e8419d943f447495b76f0d39b3d32206835 +Subproject commit bf4f21ddd10fab4f647d79efcad50794c8c0db77 From 919e16aef3b143dec8a749dedd6bd7b9d03cb48c Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 22 Aug 2025 14:54:46 -0400 Subject: [PATCH 035/286] Update team submodule reference to latest commit --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 3e0809dcb..56ea463d2 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 3e0809dcb897288025b82f68c1c4935521e47904 +Subproject commit 56ea463d21b81ea2bc1cca36f48f12e49ac3580b From 9eee49674d86447eab4f14e424aff8d5c692c357 Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 22 Aug 2025 19:35:08 -0400 Subject: [PATCH 036/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 56ea463d2..d962eea1f 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 56ea463d21b81ea2bc1cca36f48f12e49ac3580b +Subproject commit d962eea1fe27f0d3401a1e9d197c589a726926f8 From 81895c199108cd0ab29aca9c221fec8c43666143 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 19:38:03 -0400 Subject: [PATCH 037/286] Update webroot --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 4a465d185..ac43fc735 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 4a465d185e0d5cff6c8df2eb4de8a466f0e0f755 +Subproject commit ac43fc735baf9d3d30c909b9e00327493b4456eb From cf52bb0cbbe2d9d41e1007d51533316f2fa0ab2d Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 20:08:32 -0400 Subject: [PATCH 038/286] Update webroot --- feed | 2 +- localsite | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feed b/feed index ac43fc735..e37c1ce42 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit ac43fc735baf9d3d30c909b9e00327493b4456eb +Subproject commit e37c1ce42c3d6c8ac1c4dab7a61ab36ae2c78dc4 diff --git a/localsite b/localsite index 22cfbe8a9..8264ce5d8 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 22cfbe8a9c04e48b969bebfd3f3995acbe6f18dc +Subproject commit 8264ce5d8cb860dccb18c6df354c87b288d7cf7c From 22da04d4bd4b24e3c011a6ea48293d206722b652 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 22 Aug 2025 20:08:42 -0400 Subject: [PATCH 039/286] Update submodule references --- feed | 2 +- localsite | 2 +- team | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/feed b/feed index e37c1ce42..f331a0aaf 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit e37c1ce42c3d6c8ac1c4dab7a61ab36ae2c78dc4 +Subproject commit f331a0aaf2b8d9b326d064680ead07991cbda261 diff --git a/localsite b/localsite index 8264ce5d8..652bc2c50 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 8264ce5d8cb860dccb18c6df354c87b288d7cf7c +Subproject commit 652bc2c50916e94da252fc477f729d2a8befc4e5 diff --git a/team b/team index d962eea1f..8d0e1bb45 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit d962eea1fe27f0d3401a1e9d197c589a726926f8 +Subproject commit 8d0e1bb450aec17c39ab5b9b22a570bfec97cfd7 From 8b1fe49c5a5e9b24c80112dba911f758a4cd4b70 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 17:06:27 -0400 Subject: [PATCH 040/286] Update webroot --- CLAUDE.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 2cd6c0b16..62419ee39 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -578,6 +578,22 @@ cargo test # Run tests cargo run -- init-db # Create all tables with relationships and constraints ``` +### Side nav and Section nav + +localsite/js/nav.js provides #side-nav +localsite/js/navigation.js provides #main-nav between the header and footer. + +body +├── #side-nav (fixed, expandable narrow sidebar) +│ ├── #side-nav-content +│ └── #side-nav-footer +└── #main-layout (everything except side-nav) + ├── #main-header + ├── #main-container (holds both section nav and main content) + │ ├── #main-nav (between the header and footer) + │ └── #main-content (actual page content) + └── #main-footer + #### Environment Configuration - Server host/port configurable via `SERVER_HOST`/`SERVER_PORT` environment variables - **Primary Database**: PostgreSQL (COMMONS_HOST in .env file) From a4c24ba69a4e256774ef91573e7eb8baf24cb279 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 17:06:39 -0400 Subject: [PATCH 041/286] Update submodule references --- comparison | 2 +- feed | 2 +- localsite | 2 +- team | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/comparison b/comparison index 5e29dbfc9..4e1a4c5cd 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit 5e29dbfc9ebfe9f5533fdcfa436b7aedd163123a +Subproject commit 4e1a4c5cd79e3b5b8f67ca8ee918a5d131aa118f diff --git a/feed b/feed index f331a0aaf..2dbad0b6f 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit f331a0aaf2b8d9b326d064680ead07991cbda261 +Subproject commit 2dbad0b6faf360b92fa23a70692079e7fbe415bc diff --git a/localsite b/localsite index 652bc2c50..23d83a843 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 652bc2c50916e94da252fc477f729d2a8befc4e5 +Subproject commit 23d83a8433d1ea6afe1a4346ae5b1b481c5ca2df diff --git a/team b/team index 8d0e1bb45..9f818d09f 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 8d0e1bb450aec17c39ab5b9b22a570bfec97cfd7 +Subproject commit 9f818d09f2f887eefa61be01104aa67e50bd6bf5 From 438e44e2c9cd259c5038d504740ed45fd13086cb Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 17:22:53 -0400 Subject: [PATCH 042/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 9f818d09f..ffd5dd4ae 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 9f818d09f2f887eefa61be01104aa67e50bd6bf5 +Subproject commit ffd5dd4ae47f16a47474bfe3cafc673a63b1fabd From 3cdf6335faf518415bbb55df78dace2e3f4bfc9d Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 18:59:23 -0400 Subject: [PATCH 043/286] Update webroot --- USEEIO | 1 + 1 file changed, 1 insertion(+) create mode 160000 USEEIO diff --git a/USEEIO b/USEEIO new file mode 160000 index 000000000..20bec26a4 --- /dev/null +++ b/USEEIO @@ -0,0 +1 @@ +Subproject commit 20bec26a49a0eaffe6cc4c1aca327b6e309f2bd7 From 97a904a8ff9d6375ee2ea156b74147642ce521d9 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 18:59:32 -0400 Subject: [PATCH 044/286] Update submodule references --- localsite | 2 +- team | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localsite b/localsite index 23d83a843..e22eff7aa 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 23d83a8433d1ea6afe1a4346ae5b1b481c5ca2df +Subproject commit e22eff7aae1df1b42bad653d21ed50c0be6da124 diff --git a/team b/team index ffd5dd4ae..78981e1a0 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit ffd5dd4ae47f16a47474bfe3cafc673a63b1fabd +Subproject commit 78981e1a0f4203c27af768975e1c3b1ba06563f6 From a8fa2a14c9e24806b696a19c4b31a88a0a3caa38 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 19:03:34 -0400 Subject: [PATCH 045/286] Revert "Update webroot" This reverts commit 3cdf6335faf518415bbb55df78dace2e3f4bfc9d. --- USEEIO | 1 - 1 file changed, 1 deletion(-) delete mode 160000 USEEIO diff --git a/USEEIO b/USEEIO deleted file mode 160000 index 20bec26a4..000000000 --- a/USEEIO +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 20bec26a49a0eaffe6cc4c1aca327b6e309f2bd7 From 34f4069208da7cad2ba008e7cd623d091b77227c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 19:05:01 -0400 Subject: [PATCH 046/286] Update webroot --- USEEIO | 1 + 1 file changed, 1 insertion(+) create mode 160000 USEEIO diff --git a/USEEIO b/USEEIO new file mode 160000 index 000000000..20bec26a4 --- /dev/null +++ b/USEEIO @@ -0,0 +1 @@ +Subproject commit 20bec26a49a0eaffe6cc4c1aca327b6e309f2bd7 From 646f8cd36ae021b7d8c660452466f26b3fb960b0 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 19:05:42 -0400 Subject: [PATCH 047/286] Remove USEEIO repository from tracking - already in .gitignore --- .gitignore | 1 + USEEIO | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 160000 USEEIO diff --git a/.gitignore b/.gitignore index 37b38f879..a2e29984c 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ data-commons data-pipeline community-data community-timelines +USEEIO # Configuration files with sensitive data config/settings.js diff --git a/USEEIO b/USEEIO deleted file mode 160000 index 20bec26a4..000000000 --- a/USEEIO +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 20bec26a49a0eaffe6cc4c1aca327b6e309f2bd7 From 024207f782bace13300a35c6dce381a7a5061454 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 21:20:10 -0400 Subject: [PATCH 048/286] Update feed submodule reference --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 2dbad0b6f..bd4581f45 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 2dbad0b6faf360b92fa23a70692079e7fbe415bc +Subproject commit bd4581f45ddac6600ed3e0fe3c3697f40d48910c From 399e495be82033f709ab23f2a24f0a93c10204ab Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 23 Aug 2025 22:59:48 -0400 Subject: [PATCH 049/286] Dark mode --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index e22eff7aa..38a72379f 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit e22eff7aae1df1b42bad653d21ed50c0be6da124 +Subproject commit 38a72379f9c5c8d72f375c587f1d7b8dc234cb35 From 91e638a9a8cf7d4aea73e5fd1b786733ff49f835 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 24 Aug 2025 01:43:11 -0400 Subject: [PATCH 050/286] Update .gitignore --- .gitignore | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a2e29984c..1c13f6d97 100644 --- a/.gitignore +++ b/.gitignore @@ -8,11 +8,12 @@ codechat membersense data-commons data-pipeline +community community-data community-timelines USEEIO -# Configuration files with sensitive data +# Configuration files config/settings.js config/keys.json config/.env @@ -36,12 +37,12 @@ pids *.seed *.pid.lock -# Coverage directory used by tools like istanbul +# Coverage reports are used for local dev and test by tools like: +# Jest (JavaScript testing framework), Istanbul/nyc (JavaScript/Node.js) and +# Linux Test Project LCOV graphical front-end displaying code coverage info. coverage/ -*.lcov - -# nyc test coverage .nyc_output +*.lcov # Dependency directories node_modules/ From 211ed3cc3c3f3c746a2d915dee6179baefc021ea Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 24 Aug 2025 02:03:52 -0400 Subject: [PATCH 051/286] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 1c13f6d97..ba1d58893 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ # Repos that are not submodules +apps profile exiobase trade-data From ac24c9bc09b7738d6cc98c54ce77218b4ef4210d Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 24 Aug 2025 02:04:53 -0400 Subject: [PATCH 052/286] Update webroot --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 38a72379f..55b111c80 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 38a72379f9c5c8d72f375c587f1d7b8dc234cb35 +Subproject commit 55b111c80a79ccf19c51dfe2fad8460ef842b375 From 8d6fbd5aee95e3d177ddfa4f72fb2728cdc86b3b Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 24 Aug 2025 02:05:00 -0400 Subject: [PATCH 053/286] Update submodule references --- localsite | 2 +- trade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localsite b/localsite index 55b111c80..38a72379f 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 55b111c80a79ccf19c51dfe2fad8460ef842b375 +Subproject commit 38a72379f9c5c8d72f375c587f1d7b8dc234cb35 diff --git a/trade b/trade index 177a0e269..bb1173377 160000 --- a/trade +++ b/trade @@ -1 +1 @@ -Subproject commit 177a0e2697549e8e381a54e54c707423f2bf6a1a +Subproject commit bb11733770e43c281f7085e1bf43148f452de797 From 622036c4fafdf9a603c0bb58d8cfbc738fa4538c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sun, 24 Aug 2025 10:40:07 -0400 Subject: [PATCH 054/286] Update submodule references - feed: Player component architecture with hash-based navigation - localsite: Dynamic sidebar positioning system with narrower default width --- feed | 2 +- localsite | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feed b/feed index bd4581f45..bd4d340e3 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit bd4581f45ddac6600ed3e0fe3c3697f40d48910c +Subproject commit bd4d340e3bc6f4d576cca3bdd9b575e6aa1ba8f6 diff --git a/localsite b/localsite index 38a72379f..173297a39 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 38a72379f9c5c8d72f375c587f1d7b8dc234cb35 +Subproject commit 173297a39877d446957c72e708b6b39a18ca976e From e8b86159ad5dddb28e88f009dcdb5176a13a5b1a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sun, 24 Aug 2025 10:54:43 -0400 Subject: [PATCH 055/286] Update feed submodule reference - Component structure refactoring with improved naming - VideoPlayer renamed to FeedPlayer for clarity - Updated web component registration to feed-player-widget - Cleaned up duplicate component files --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index bd4d340e3..4360ef3db 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit bd4d340e3bc6f4d576cca3bdd9b575e6aa1ba8f6 +Subproject commit 4360ef3db6372ebc4310f38c1d249bfa87e3a2b2 From 729084aa896343cc4900c0b4af9998b9b13ab189 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sun, 24 Aug 2025 19:00:15 -0400 Subject: [PATCH 056/286] Update feed submodule reference - Display modes system with 6 view options (Media, Full, Columns, Table, List, Gallery) - View Page functionality with close button and mode tracking - Display modes popup with dark theme styling - Legacy page parameter support for backward compatibility --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 4360ef3db..a2ef18d0b 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 4360ef3db6372ebc4310f38c1d249bfa87e3a2b2 +Subproject commit a2ef18d0b560d994da6edec414c5568035431043 From c35f94102d80cc93514462bc15a23111947224d1 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 11:39:16 -0400 Subject: [PATCH 057/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 173297a39..f1fb0be8c 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 173297a39877d446957c72e708b6b39a18ca976e +Subproject commit f1fb0be8c176f47b99d8c872ebd866c5740b0b1b From b7f3e35d3bf9781c73f348b63511625c93b01bd9 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 12:08:31 -0400 Subject: [PATCH 058/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 78981e1a0..352498ee9 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 78981e1a0f4203c27af768975e1c3b1ba06563f6 +Subproject commit 352498ee95246fb82239ab6bd5cadfb7342206ec From 78e1496de69c1e3a23b5459c040892ed608318a4 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 12:09:39 -0400 Subject: [PATCH 059/286] Update feed submodule reference --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index a2ef18d0b..68f280b83 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit a2ef18d0b560d994da6edec414c5568035431043 +Subproject commit 68f280b8391cde0da935c5ee838480235c348465 From bc64733994d91e99ecfdf8d9bb21093e3b2227bf Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 12:09:57 -0400 Subject: [PATCH 060/286] Update projects submodule reference --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index bf4f21ddd..9a11556c1 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit bf4f21ddd10fab4f647d79efcad50794c8c0db77 +Subproject commit 9a11556c1b6df278c9478a76d8ef466cd15a40c4 From 842d9e59b163ba26a5ba178293cb34ec2d3d94f2 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 12:10:05 -0400 Subject: [PATCH 061/286] Update realitystream submodule reference --- realitystream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realitystream b/realitystream index 658b83a38..9f0105845 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 658b83a385499707d1c2c2b6e4ca90033db11543 +Subproject commit 9f01058456b084a0fed981c55766e8d302f4643e From 2244034deeaa3fd0a7da4f338fb5efdf5c715fd6 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 12:43:55 -0400 Subject: [PATCH 062/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 352498ee9..13ae624dc 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 352498ee95246fb82239ab6bd5cadfb7342206ec +Subproject commit 13ae624dcf4b4061eecce8b850a7d46dc5a41897 From 5a99ac658fe95b2795c667b32260f987e2cd2629 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 13:08:40 -0400 Subject: [PATCH 063/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index f1fb0be8c..2aa870909 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit f1fb0be8c176f47b99d8c872ebd866c5740b0b1b +Subproject commit 2aa8709098c1d92da8f3d10f39c5eb2ea16b2f3c From c39e4d936177a54b6606c01e39fa0fb81c074755 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 16:36:15 -0400 Subject: [PATCH 064/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 13ae624dc..b79b9fa65 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 13ae624dcf4b4061eecce8b850a7d46dc5a41897 +Subproject commit b79b9fa65deabb65e993f296289704b92930e85d From ea9073285385d2d0b332236de76b01db72342c37 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 17:11:02 -0400 Subject: [PATCH 065/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index b79b9fa65..03b1050f4 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit b79b9fa65deabb65e993f296289704b92930e85d +Subproject commit 03b1050f4de5f006d0a699b097b88e0aad29503a From 93378749e1be7e551c19836107228b968f9a1639 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 17:13:45 -0400 Subject: [PATCH 066/286] Update comparison submodule reference --- comparison | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comparison b/comparison index 4e1a4c5cd..8c6c644a9 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit 4e1a4c5cd79e3b5b8f67ca8ee918a5d131aa118f +Subproject commit 8c6c644a9f3757b1ebaa00975db8bdc760f1d057 From 2c0e33fd44e39ccc043b72a9f5c05f93cc1cbc64 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 17:13:56 -0400 Subject: [PATCH 067/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 2aa870909..9c1e6a227 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 2aa8709098c1d92da8f3d10f39c5eb2ea16b2f3c +Subproject commit 9c1e6a227a6f2a756e761bffcc44421cd67c9f14 From c1a9030f30e2784b8421946c44fa784bc8e401ae Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 17:14:05 -0400 Subject: [PATCH 068/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 03b1050f4..515736458 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 03b1050f4de5f006d0a699b097b88e0aad29503a +Subproject commit 515736458408d202ff4236c9db187f3342c767fb From cf5f424f30c9caa156ba2cf04b6a9198eab10b3d Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 25 Aug 2025 23:33:37 -0400 Subject: [PATCH 069/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 9c1e6a227..6de5f9433 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 9c1e6a227a6f2a756e761bffcc44421cd67c9f14 +Subproject commit 6de5f94337a3a527ab57127197f859c0a3e2a5e1 From bbaf6d9a6909084ac9285815d43b9adad7304b37 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 00:56:39 -0400 Subject: [PATCH 070/286] Update comparison submodule reference --- comparison | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comparison b/comparison index 8c6c644a9..fd0e0f258 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit 8c6c644a9f3757b1ebaa00975db8bdc760f1d057 +Subproject commit fd0e0f258a1d2763cabe7ce7251bbd4354a66010 From 77a854fbe5931a887083d215afa22f3b1080be3b Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 02:36:43 -0400 Subject: [PATCH 071/286] Update webroot --- comparison | 2 +- localsite | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/comparison b/comparison index fd0e0f258..238e20e0e 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit fd0e0f258a1d2763cabe7ce7251bbd4354a66010 +Subproject commit 238e20e0e5cf08c1c10815fb04fa4cfa6ff1bf5f diff --git a/localsite b/localsite index 6de5f9433..3f43954e6 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 6de5f94337a3a527ab57127197f859c0a3e2a5e1 +Subproject commit 3f43954e6690a405545734448d9a599864a4ce29 From 1e1ee4a650999f7f0acd9a679ea674b069f5e52c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 02:36:53 -0400 Subject: [PATCH 072/286] Update submodule references --- comparison | 2 +- feed | 2 +- team | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/comparison b/comparison index 238e20e0e..102f60efd 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit 238e20e0e5cf08c1c10815fb04fa4cfa6ff1bf5f +Subproject commit 102f60efd4efed85c4de54fd05f3af745189af10 diff --git a/feed b/feed index 68f280b83..becb77cfa 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 68f280b8391cde0da935c5ee838480235c348465 +Subproject commit becb77cfaf94e945d44e3a8681ad2356542d6396 diff --git a/team b/team index 515736458..9e240f96b 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 515736458408d202ff4236c9db187f3342c767fb +Subproject commit 9e240f96beafa7b47dd62887406d2225d4ccc12e From 9f9546080870a32945780d2ec5ef9a75399d94cf Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 02:39:19 -0400 Subject: [PATCH 073/286] Update comparison submodule reference --- comparison | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comparison b/comparison index 102f60efd..3c6f53373 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit 102f60efd4efed85c4de54fd05f3af745189af10 +Subproject commit 3c6f533734929187ae8a051861c8b39452c19e32 From cb01eba7bb142910e2965a050cc2aab5af8cc066 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:27:01 -0400 Subject: [PATCH 074/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 9e240f96b..47ea5af42 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 9e240f96beafa7b47dd62887406d2225d4ccc12e +Subproject commit 47ea5af4200de35e5a4fc1da97965141ef2c873b From 08ee0f943637c64f7994b11c18df64f864fc06a3 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:27:25 -0400 Subject: [PATCH 075/286] Update cloud submodule reference --- cloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud b/cloud index 189c555c1..068c6e2a6 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit 189c555c15cf0b959ca945fa807335f50559d91d +Subproject commit 068c6e2a6d11276a7989f3edb4e4e62c344a74dc From 4051d3c004c9d4f0f5f3132be9827be5f37246ca Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 11:27:48 -0400 Subject: [PATCH 076/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 47ea5af42..131c9c5a7 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 47ea5af4200de35e5a4fc1da97965141ef2c873b +Subproject commit 131c9c5a702fa57a99535c90d17556d3193fb693 From 5b4e1957a873e0de48b896ed60b7033ac25340a9 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 16:48:25 -0400 Subject: [PATCH 077/286] Update realitystream --- realitystream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realitystream b/realitystream index 9f0105845..9c0b80908 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 9f01058456b084a0fed981c55766e8d302f4643e +Subproject commit 9c0b80908db0e3efc3f964a7156e7efbe4f3d17c From 1db52907364c60b2269ac1690ce7ba69fd833dee Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 26 Aug 2025 23:09:21 -0400 Subject: [PATCH 078/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 131c9c5a7..5db62e62b 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 131c9c5a702fa57a99535c90d17556d3193fb693 +Subproject commit 5db62e62b7d94ea12ce20e0af383f2472805b9fd From f92ebf00cb31e81b04ff8c2c1ba6ba54fc7f6cc3 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 11:58:04 -0400 Subject: [PATCH 079/286] Update webroot --- wiki | 1 + 1 file changed, 1 insertion(+) create mode 160000 wiki diff --git a/wiki b/wiki new file mode 160000 index 000000000..a7451c3cb --- /dev/null +++ b/wiki @@ -0,0 +1 @@ +Subproject commit a7451c3cb52c8200fd5aa60f102390ae7c1040df From bf4aa5ebaf685f8f9019527a2280beadf11c8140 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:01:44 -0400 Subject: [PATCH 080/286] Fix duplicate country rows on year change and add dark mode styling - Fix duplicate row issue in profile/footprint/sample.html by using history.replaceState() instead of window.location.hash to prevent hashchange event triggering - Add dark mode CSS class for #fileSelect dropdown arrow in team/projects - Add countries WM (Middle East), SA (Saudi Arabia), ZA (South Africa) to profile/footprint/sample.html - Align menu container buttons in team/projects using flex-start alignment --- localsite | 2 +- projects | 2 +- realitystream | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/localsite b/localsite index 3f43954e6..ae3c708b4 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 3f43954e6690a405545734448d9a599864a4ce29 +Subproject commit ae3c708b4f6625c82c6efd614bf8c5cb01898297 diff --git a/projects b/projects index 9a11556c1..0fda98a04 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 9a11556c1b6df278c9478a76d8ef466cd15a40c4 +Subproject commit 0fda98a04fc5d2baa068e2ad168d00f85d949a64 diff --git a/realitystream b/realitystream index 9c0b80908..49d229f23 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 9c0b80908db0e3efc3f964a7156e7efbe4f3d17c +Subproject commit 49d229f23c59076be407fa61141b316eea309305 From 932826a8b7564d71c7fba95bc9f6be70843ca677 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:03:02 -0400 Subject: [PATCH 081/286] Update submodule references - Update team submodule reference (dark mode styling, menu alignment) - Update profile submodule reference (new countries, duplicate row fix) --- cloud | 2 +- realitystream | 2 +- team | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud b/cloud index 068c6e2a6..cdaf911df 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit 068c6e2a6d11276a7989f3edb4e4e62c344a74dc +Subproject commit cdaf911dfe12a48b1e1f0bbf3258e6808f11866a diff --git a/realitystream b/realitystream index 49d229f23..9c0b80908 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 49d229f23c59076be407fa61141b316eea309305 +Subproject commit 9c0b80908db0e3efc3f964a7156e7efbe4f3d17c diff --git a/team b/team index 5db62e62b..2fab015af 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 5db62e62b7d94ea12ce20e0af383f2472805b9fd +Subproject commit 2fab015af68711faf3d0b9da077acf6d7f620918 From d625212e915acb78171b416d51da132e3b8327dd Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 12:05:23 -0400 Subject: [PATCH 082/286] Update trade submodule reference - Update trade submodule with recent footprint changes and dist directory --- trade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trade b/trade index bb1173377..c4b22849d 160000 --- a/trade +++ b/trade @@ -1 +1 @@ -Subproject commit bb11733770e43c281f7085e1bf43148f452de797 +Subproject commit c4b22849d66dd0f2e7770314a0cf0043a42c58d0 From 1ef61a5d7d8c2539be6ffe6b900c170cd87be631 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 15:22:28 -0400 Subject: [PATCH 083/286] Update wiki --- wiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki b/wiki index a7451c3cb..ff85a852c 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit a7451c3cb52c8200fd5aa60f102390ae7c1040df +Subproject commit ff85a852c100246ed43938158b95d292261028e7 From 2fa434afbd0b95be0f708efbb56491bb0aba845e Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 16:14:35 -0400 Subject: [PATCH 084/286] Update team submodule reference Updated team submodule to include: - Improved button navigation and paths - Dark/light mode toggle with Feather icons - Enhanced Add Visit UX with section hiding - Better visual consistency for action buttons Submodule commit: 5c4a23f - Update team project interface with improved UX --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 2fab015af..5c4a23fa1 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 2fab015af68711faf3d0b9da077acf6d7f620918 +Subproject commit 5c4a23fa1e59a05992a3192ddef23a9226915dc2 From 15a8fc4ec3e9a77017f787a756cd37d0f3b7c926 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 16:15:05 -0400 Subject: [PATCH 085/286] Update localsite --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index ae3c708b4..71dd6bf46 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit ae3c708b4f6625c82c6efd614bf8c5cb01898297 +Subproject commit 71dd6bf46c083cc9543bd3b05c01f92f3289c54c From 5b429158d0a8567a0c865f3af83ad359df00336c Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 17:42:46 -0400 Subject: [PATCH 086/286] Update webroot --- CLAUDE.md | 119 +++++++++++++++++---------- git.sh | 238 +++++++++++++++++++++++++++++++++++++++++++----------- requests | 1 + 3 files changed, 268 insertions(+), 90 deletions(-) create mode 160000 requests diff --git a/CLAUDE.md b/CLAUDE.md index 62419ee39..653e22829 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -27,20 +27,20 @@ nohup cargo run --bin partner_tools -- serve > server.log 2>&1 & Note: The team repository is a submodule located in the repository root directory. The Rust API server runs on port 8081. Requires Rust/Cargo to be installed on the system. The .env file is created from .env.example only if it doesn't already exist. -### Update submodules: -When you type "update submodules", run +### Pull submodules: +When you type "pull submodules", run ```bash # Navigate to webroot first cd $(git rev-parse --show-toplevel) git submodule update --remote --recursive ``` -### Commit submodules: -When you type "commit submodules", run +### Push submodules: +When you type "push submodules", run ```bash -./git.sh commit submodules [nopr] +./git.sh push submodules [nopr] ``` -**Note**: This commits all submodules with changes AND updates the webroot parent repository with new submodule references. Includes automatic PR creation on push failures. +**Note**: This pushes all submodules with changes AND updates the webroot parent repository with new submodule references. Includes automatic PR creation on push failures. ### PR [submodule name]: Create a pull request for a submodule when you lack collaborator privileges: @@ -56,20 +56,27 @@ cd .. **NEVER commit changes without explicit user request.** -- Only run git commands (add, commit, push) when the user specifically says "commit" or directly requests it +- Only run git commands (add, commit, push) when the user specifically says "push" or directly requests it - After making code changes, STOP and wait for user instruction - Build and test changes as needed, but do not commit automatically - The user controls when changes are committed to the repository -## Comprehensive Update Command +## Comprehensive Pull Command -### Update -When you type "Update", run this comprehensive update workflow that pulls from all parent repos, updates submodules and forks, and prompts for pushes: +### Pull / Pull All +When you type "pull" or "pull all", run this comprehensive pull workflow that pulls from all parent repos, updates submodules and industry repos: ```bash -./git.sh update +./git.sh pull ``` +**Legacy Support**: If the user types "update", inform them to use "pull" or "pull all" instead: + +*"Please use 'pull' or 'pull all' instead of 'update'. Examples:* +- *pull - Pull all changes from webroot, submodules, and industry repos* +- *pull localsite - Pull changes for localsite submodule only* +- *pull webroot - Pull changes for webroot only"* + All complex git operations are now handled by the git.sh script to avoid shell parsing issues. ### GitHub Account Management @@ -95,7 +102,7 @@ When you switch GitHub accounts, the script will: - Runs `gh auth setup-git` to sync git with GitHub CLI - Prevents permission denied errors from stale credentials -**Update Command Features:** +**Pull Command Features:** - **Pull from Parents**: Updates webroot, submodules, and industry repos from their respective ModelEarth parent repositories - **Fork-Aware**: Automatically adds upstream remotes for parent repos when working with forks - **Partnertools Exclusion**: Completely skips any repositories associated with partnertools GitHub account @@ -105,21 +112,32 @@ When you switch GitHub accounts, the script will: - **Push Guidance**: Prompts user with specific commands for pushing changes back to forks and parent repos - **Comprehensive Workflow**: Handles webroot, all submodules, and all industry repositories in one command -**Post-Update Recommendations:** -After running "./git.sh update", review changes and use these commands as needed: -- `./git.sh commit` - Push all changes (webroot + submodules + forks) with PR creation -- `./git.sh commit submodules` - Push only submodule changes -- `./git.sh commit [specific-name]` - Push changes for a specific repository +**Post-Pull Recommendations:** +After running "./git.sh pull", review changes and use these commands as needed: +- `./git.sh push` - Push all changes (webroot + submodules + forks) with PR creation +- `./git.sh push submodules` - Push only submodule changes +- `./git.sh push [specific-name]` - Push changes for a specific repository **Git.sh Usage:** ```bash -./git.sh update # Full update workflow -./git.sh commit # Complete commit: webroot, all submodules, and industry repos -./git.sh commit [name] # Commit specific submodule -./git.sh commit submodules # Commit all submodules only -./git.sh commit [name] nopr # Skip PR creation on push failures +./git.sh pull # Full pull workflow +./git.sh push # Complete push: webroot, all submodules, and industry repos +./git.sh push [name] # Push specific submodule +./git.sh push submodules # Push all submodules only +./git.sh push [name] nopr # Skip PR creation on push failures ``` +**Individual Repository Commands:** +```bash +./git.sh pull [repo_name] # Pull specific repository (webroot, submodule, or industry repo) +./git.sh push [repo_name] # Push specific repository (webroot, submodule, or industry repo) +``` + +**Supported Repository Names:** +- **Webroot**: webroot +- **Submodules**: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade +- **Industry Repos**: exiobase, profile, io + ## Submodule Management @@ -193,15 +211,22 @@ git remote -v **Common Issue**: If submodule commands fail or you get "pathspec did not match" errors, you're likely in a submodule directory instead of the webroot. Navigate back to your webroot directory using your system's actual webroot path before running any commands. -### IMPORTANT: "commit [name]" Command Requirements -When a user says "commit [name]", use the git.sh script: +### IMPORTANT: "push [name]" Command Requirements +When a user says "push [name]", use the git.sh script: ```bash -./git.sh commit [name] [nopr] +./git.sh push [name] [nopr] ``` +**Legacy Support**: If the user says "commit [name]", inform them to use "push [name]" instead: + +*"Please use 'push [name]' instead of 'commit [name]'. Examples:* +- *push localsite - Push changes for localsite submodule* +- *push webroot - Push changes for webroot only* +- *push all - Push all repositories with changes"* + The git.sh script handles all the complex logic including: -- Submodule detection and committing +- Submodule detection and pushing - Automatic PR creation on push failures - Webroot submodule reference updates - Support for 'nopr' flag to skip PR creation @@ -264,14 +289,18 @@ fi - Requires GitHub CLI (gh) for PR creation functionality ### Quick Commands for Repositories -- **"commit [name] [nopr]"**: Intelligent commit with PR fallback - tries submodule → standalone repo → webroot fallback -- **"push [submodule name]"**: Only push submodule changes (steps 1-3) +- **"push [name] [nopr]"**: Intelligent push with PR fallback - tries submodule → standalone repo → webroot fallback +- **"pull [name]"**: Pull changes for specific repository (webroot, submodule, or industry repo) - **"PR [submodule name]"**: Create pull request workflow -- **"commit submodules [nopr]"**: Commit all submodules with PR fallback when push fails -- **"commit forks [nopr]"**: Commit all industry repo forks and create PRs to parent repos -- **"commit [nopr]"**: Complete commit workflow with PR fallback - commits webroot, all submodules, and all forks +- **"push submodules [nopr]"**: Push all submodules with PR fallback when push fails +- **"push forks [nopr]"**: Push all industry repo forks and create PRs to parent repos +- **"push [nopr]"** or **"push all [nopr]"**: Complete push workflow with PR fallback - pushes webroot, all submodules, and all forks + +**PR Fallback Behavior**: All push commands automatically create pull requests when direct push fails due to permission restrictions. Add 'nopr' or 'No PR' (case insensitive) at the end of any push command to skip PR creation. -**PR Fallback Behavior**: All commit commands automatically create pull requests when direct push fails due to permission restrictions. Add 'nopr' or 'No PR' (case insensitive) at the end of any commit command to skip PR creation. +**Legacy Command Support**: If users type "commit" or "update", inform them of the new commands: +- "commit" → "push" +- "update" → "pull" or "pull all" When displaying "Issue Resolved" use the same checkbox icon as "Successfully Updated" @@ -357,13 +386,13 @@ git clone https://github.com/[your github account]/profile profile git clone https://github.com/[your github account]/io io ``` -### Commit All Submodules +### Push All Submodules ```bash -commit submodules [nopr] +push submodules [nopr] ``` -The above commits changes to all submodules that have uncommitted changes: +The above pushes changes to all submodules that have uncommitted changes: ```bash # Navigate to webroot repository root first and detect no-PR flag cd $(git rev-parse --show-toplevel) @@ -403,13 +432,13 @@ if [ -n "$(git status --porcelain)" ]; then fi ``` -### Commit Industry Repo Forks +### Push Industry Repo Forks ```bash -commit forks [nopr] +push forks [nopr] ``` -The above commits changes to all industry repo forks and creates pull requests to their parent repositories: +The above pushes changes to all industry repo forks and creates pull requests to their parent repositories: ```bash # Navigate to webroot repository root first and detect no-PR flag cd $(git rev-parse --show-toplevel) @@ -458,13 +487,19 @@ done ``` - **GitHub CLI authentication**: Run `gh auth login` to authenticate with GitHub before using PR features -### Complete Commit Workflow +### Complete Push Workflow + +```bash +push [nopr] +``` + +or ```bash -commit [nopr] +push all [nopr] ``` -The above runs a comprehensive commit workflow that handles webroot, all submodules, and all industry repo forks with automatic PR creation: +The above runs a comprehensive push workflow that handles webroot, all submodules, and all industry repo forks with automatic PR creation: ```bash # Navigate to webroot repository root first and detect no-PR flag @@ -543,7 +578,7 @@ for repo in exiobase profile io; do done ``` -**Note**: This is the most comprehensive commit command that handles all repository types in the webroot ecosystem with automatic PR fallback when push permissions are denied. Use 'commit nopr' to skip all PR creation. It will only process repositories that have actual changes. +**Note**: This is the most comprehensive push command that handles all repository types in the webroot ecosystem with automatic PR fallback when push permissions are denied. Use 'push nopr' or 'push all nopr' to skip all PR creation. It will only process repositories that have actual changes. ### Background Development Rust Server resides in "team" submodule folder (ALWAYS USE THIS) diff --git a/git.sh b/git.sh index f573f3773..6384d472e 100755 --- a/git.sh +++ b/git.sh @@ -529,7 +529,80 @@ update_command() { cd .. done - echo "✅ Update completed! Use: ./git.sh commit" + echo "✅ Pull completed! Use: ./git.sh push" +} + +# Pull specific repository +pull_specific_repo() { + local repo_name="$1" + + cd $(git rev-parse --show-toplevel) + check_webroot + + # Check if it's webroot + if [[ "$repo_name" == "webroot" ]]; then + echo "📥 Pulling webroot..." + git pull origin main 2>/dev/null || echo "⚠️ Checking for conflicts in webroot" + + WEBROOT_REMOTE=$(git remote get-url origin) + if [[ "$WEBROOT_REMOTE" != *"partnertools"* ]]; then + add_upstream "webroot" "true" + merge_upstream "webroot" + fi + echo "✅ Webroot pull completed!" + return + fi + + # Check if it's a submodule + if [[ " cloud comparison feed home localsite products projects realitystream swiper team trade " =~ " $repo_name " ]]; then + if [ -d "$repo_name" ]; then + echo "📥 Pulling submodule: $repo_name..." + cd "$repo_name" + + REMOTE=$(git remote get-url origin 2>/dev/null || echo "") + if [[ "$REMOTE" != *"partnertools"* ]]; then + if [[ "$repo_name" == "localsite" ]] || [[ "$repo_name" == "home" ]]; then + add_upstream "$repo_name" "true" + else + add_upstream "$repo_name" "false" + fi + merge_upstream "$repo_name" + fi + + cd .. + git submodule update --remote "$repo_name" + echo "✅ $repo_name submodule pull completed!" + else + echo "⚠️ Submodule not found: $repo_name" + fi + return + fi + + # Check if it's an industry repo + if [[ " exiobase profile io " =~ " $repo_name " ]]; then + if [ -d "$repo_name" ]; then + echo "📥 Pulling industry repo: $repo_name..." + cd "$repo_name" + git pull origin main 2>/dev/null || echo "⚠️ Checking for conflicts in $repo_name" + + REMOTE=$(git remote get-url origin 2>/dev/null || echo "") + if [[ "$REMOTE" != *"partnertools"* ]]; then + add_upstream "$repo_name" "false" + merge_upstream "$repo_name" + fi + cd .. + echo "✅ $repo_name industry repo pull completed!" + else + echo "⚠️ Industry repo not found: $repo_name" + fi + return + fi + + echo "⚠️ Repository not recognized: $repo_name" + echo "Supported repositories:" + echo " Webroot: webroot" + echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade" + echo " Industry Repos: exiobase, profile, io" } # Check and fix detached HEAD states in all repositories @@ -804,56 +877,96 @@ $pages_status fi } -# Commit specific submodule -commit_submodule() { +# Push specific repository +push_specific_repo() { local name="$1" local skip_pr="$2" cd $(git rev-parse --show-toplevel) check_webroot - if [ -d "$name" ]; then - cd "$name" - commit_push "$name" "$skip_pr" - - # Update webroot submodule reference - cd .. - git submodule update --remote "$name" - if [ -n "$(git status --porcelain | grep $name)" ]; then - git add "$name" - git commit -m "Update $name submodule reference" - - # Try to push webroot changes - if git push 2>/dev/null; then - echo "✅ Updated $name submodule reference" - else - echo "🔄 Webroot push failed for $name - attempting PR workflow" - create_webroot_pr "$skip_pr" - fi - fi + # Check if it's webroot + if [[ "$name" == "webroot" ]]; then + commit_push "webroot" "$skip_pr" - # Check if we need to create a webroot PR (for when webroot push succeeded but we want PR anyway) + # Check if webroot needs PR after direct changes local webroot_commits_ahead=$(git rev-list --count upstream/main..HEAD 2>/dev/null || echo "0") if [[ "$webroot_commits_ahead" -gt "0" ]] && [[ "$skip_pr" != "nopr" ]]; then create_webroot_pr "$skip_pr" fi - # Final push completion check echo "🔍 Checking for remaining unpushed commits..." final_push_completion_check - else - echo "⚠️ Repository not found: $name" + return + fi + + # Check if it's a submodule + if [[ " cloud comparison feed home localsite products projects realitystream swiper team trade " =~ " $name " ]]; then + if [ -d "$name" ]; then + cd "$name" + commit_push "$name" "$skip_pr" + + # Update webroot submodule reference + cd .. + git submodule update --remote "$name" + if [ -n "$(git status --porcelain | grep $name)" ]; then + git add "$name" + git commit -m "Update $name submodule reference" + + # Try to push webroot changes + if git push 2>/dev/null; then + echo "✅ Updated $name submodule reference" + else + echo "🔄 Webroot push failed for $name - attempting PR workflow" + create_webroot_pr "$skip_pr" + fi + fi + + # Check if we need to create a webroot PR (for when webroot push succeeded but we want PR anyway) + local webroot_commits_ahead=$(git rev-list --count upstream/main..HEAD 2>/dev/null || echo "0") + if [[ "$webroot_commits_ahead" -gt "0" ]] && [[ "$skip_pr" != "nopr" ]]; then + create_webroot_pr "$skip_pr" + fi + + # Final push completion check + echo "🔍 Checking for remaining unpushed commits..." + final_push_completion_check + else + echo "⚠️ Submodule not found: $name" + fi + return fi + + # Check if it's an industry repo + if [[ " exiobase profile io " =~ " $name " ]]; then + if [ -d "$name" ]; then + cd "$name" + commit_push "$name" "$skip_pr" + cd .. + + echo "🔍 Checking for remaining unpushed commits..." + final_push_completion_check + else + echo "⚠️ Industry repo not found: $name" + fi + return + fi + + echo "⚠️ Repository not recognized: $name" + echo "Supported repositories:" + echo " Webroot: webroot" + echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade" + echo " Industry Repos: exiobase, profile, io" } -# Commit all submodules -commit_submodules() { +# Push all submodules +push_submodules() { local skip_pr="$1" cd $(git rev-parse --show-toplevel) check_webroot - # Commit each submodule with changes + # Push each submodule with changes for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do [ ! -d "$sub" ] && continue cd "$sub" @@ -875,14 +988,14 @@ commit_submodules() { final_push_completion_check } -# Complete commit workflow -commit_all() { +# Complete push workflow +push_all() { local skip_pr="$1" cd $(git rev-parse --show-toplevel) check_webroot - # Commit webroot changes + # Push webroot changes commit_push "webroot" "$skip_pr" # Check if webroot needs PR after direct changes @@ -891,10 +1004,10 @@ commit_all() { create_webroot_pr "$skip_pr" fi - # Commit all submodules - commit_submodules "$skip_pr" + # Push all submodules + push_submodules "$skip_pr" - # Commit industry repos + # Push industry repos for repo in exiobase profile io; do [ ! -d "$repo" ] && continue cd "$repo" @@ -906,7 +1019,7 @@ commit_all() { echo "🔍 Checking for any remaining unpushed commits..." final_push_completion_check - echo "✅ Complete commit finished!" + echo "✅ Complete push finished!" } # Check all repositories for unpushed commits and push them @@ -946,16 +1059,16 @@ final_push_completion_check() { # Main command dispatcher case "$1" in - "update") - update_command + "pull"|"pull-all") + pull_command "$2" ;; - "commit") + "push"|"push-all") if [ "$2" = "submodules" ]; then - commit_submodules "$3" + push_submodules "$3" + elif [ "$2" = "all" ] || [ -z "$2" ]; then + push_all "$2$3" # Handle both 'push' and 'push all [nopr]' elif [ -n "$2" ]; then - commit_submodule "$2" "$3" - else - commit_all "$2" + push_specific_repo "$2" "$3" fi ;; "fix-heads"|"fix") @@ -971,20 +1084,49 @@ case "$1" in update_all_remotes_for_user fi ;; + # Legacy command support with helpful messages + "update") + echo "⚠️ Please use 'pull' or 'pull all' instead of 'update'. Examples:" + echo " • pull - Pull all changes from webroot, submodules, and industry repos" + echo " • pull localsite - Pull changes for localsite submodule only" + echo " • pull webroot - Pull changes for webroot only" + echo "" + exit 1 + ;; + "commit") + echo "⚠️ Please use 'push' instead of 'commit'. Examples:" + echo " • push - Push all repositories with changes" + echo " • push localsite - Push changes for localsite submodule" + echo " • push webroot - Push changes for webroot only" + echo " • push all - Push all repositories with changes (same as 'push')" + echo "" + exit 1 + ;; *) - echo "Usage: ./git.sh [update|commit|fix|remotes|auth] [submodule_name|submodules] [nopr]" + echo "Usage: ./git.sh [pull|push|fix|remotes|auth] [repo_name|submodules|all] [nopr]" echo "" echo "Commands:" - echo " ./git.sh update - Run comprehensive update workflow" - echo " ./git.sh commit - Commit webroot, all submodules, and industry repos" - echo " ./git.sh commit [name] - Commit specific submodule" - echo " ./git.sh commit submodules - Commit all submodules only" + echo " ./git.sh pull - Pull all repositories (webroot + submodules + industry repos)" + echo " ./git.sh pull [repo_name] - Pull specific repository" + echo " ./git.sh push - Push all repositories with changes" + echo " ./git.sh push all - Push all repositories with changes (same as 'push')" + echo " ./git.sh push [repo_name] - Push specific repository" + echo " ./git.sh push submodules - Push all submodules only" echo " ./git.sh fix - Check and fix detached HEAD states in all repos" echo " ./git.sh remotes - Update all remotes to current GitHub user" echo " ./git.sh auth - Refresh git credentials for current GitHub user" echo "" + echo "Supported Repository Names:" + echo " Webroot: webroot" + echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade" + echo " Industry Repos: exiobase, profile, io" + echo "" echo "Options:" echo " nopr - Skip PR creation on push failures" + echo "" + echo "Legacy Commands (deprecated):" + echo " update -> use 'pull' or 'pull all'" + echo " commit -> use 'push'" exit 1 ;; esac diff --git a/requests b/requests new file mode 160000 index 000000000..9df544957 --- /dev/null +++ b/requests @@ -0,0 +1 @@ +Subproject commit 9df544957fac48df654eb5d54e62a2c0be7d9ea0 From fc1ab23ff26f68ec3d1dcf970b80630034ad5857 Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 17:42:53 -0400 Subject: [PATCH 087/286] Update submodule references --- localsite | 2 +- team | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localsite b/localsite index ae3c708b4..71dd6bf46 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit ae3c708b4f6625c82c6efd614bf8c5cb01898297 +Subproject commit 71dd6bf46c083cc9543bd3b05c01f92f3289c54c diff --git a/team b/team index 2fab015af..5c4a23fa1 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 2fab015af68711faf3d0b9da077acf6d7f620918 +Subproject commit 5c4a23fa1e59a05992a3192ddef23a9226915dc2 From 3111922bc78f0b6673cf5c0212a015d9517ac4ad Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 17:57:15 -0400 Subject: [PATCH 088/286] Update webroot --- git.sh | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/git.sh b/git.sh index 6384d472e..f71e6f107 100755 --- a/git.sh +++ b/git.sh @@ -471,14 +471,22 @@ commit_push() { fi } -# Update command - streamlined update workflow -update_command() { - echo "🔄 Starting update workflow..." +# Pull command - streamlined pull workflow +pull_command() { + local repo_name="$1" + + echo "🔄 Starting pull workflow..." cd $(git rev-parse --show-toplevel) check_webroot - # Update webroot - echo "📥 Updating webroot..." + # If specific repo name provided, pull only that repo + if [ -n "$repo_name" ]; then + pull_specific_repo "$repo_name" + return + fi + + # Pull webroot + echo "📥 Pulling webroot..." git pull origin main 2>/dev/null || echo "⚠️ Checking for conflicts in webroot" # Update webroot from parent (skip partnertools) @@ -488,8 +496,8 @@ update_command() { merge_upstream "webroot" fi - # Update submodules - echo "📥 Updating submodules..." + # Pull submodules + echo "📥 Pulling submodules..." for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do [ ! -d "$sub" ] && continue cd "$sub" @@ -510,12 +518,12 @@ update_command() { echo "🔄 Updating submodule references..." git submodule update --remote --recursive - # Check for and fix any detached HEAD states after updates - echo "🔍 Checking for detached HEAD states after update..." + # Check for and fix any detached HEAD states after pulls + echo "🔍 Checking for detached HEAD states after pull..." fix_all_detached_heads - # Update industry repos - echo "📥 Updating industry repos..." + # Pull industry repos + echo "📥 Pulling industry repos..." for repo in exiobase profile io; do [ ! -d "$repo" ] && continue cd "$repo" From e2692dc40e27152cd67c30f4a786388d3b5d5767 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 18:08:10 -0400 Subject: [PATCH 089/286] Update realitystream --- realitystream | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realitystream b/realitystream index 9c0b80908..49d229f23 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 9c0b80908db0e3efc3f964a7156e7efbe4f3d17c +Subproject commit 49d229f23c59076be407fa61141b316eea309305 From 9566c658293918e6ad62eb614df49def4838afad Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 18:08:58 -0400 Subject: [PATCH 090/286] Update team --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 5c4a23fa1..240e407b8 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 5c4a23fa1e59a05992a3192ddef23a9226915dc2 +Subproject commit 240e407b8fc882d99e83766af94103905303e674 From 2cd5bf410cf922cc5f6ed8d78c988dcfc1ec9632 Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 20:24:49 -0400 Subject: [PATCH 091/286] Update webroot --- .gitignore | 11 +++---- .gitmodules | 18 +++++++++++ CLAUDE.md | 63 ++++++++++++++++++++------------------ codechat | 1 + community-forecasting | 1 + exiobase | 1 + git.sh | 70 +++++++++++++++++++++---------------------- io | 1 + profile | 1 + reports | 1 + 10 files changed, 97 insertions(+), 71 deletions(-) create mode 160000 codechat create mode 160000 community-forecasting create mode 160000 exiobase create mode 160000 io create mode 160000 profile create mode 160000 reports diff --git a/.gitignore b/.gitignore index ba1d58893..227476fce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,15 @@ -# Repos that are not submodules +# Extra repos that are not submodules apps -profile -exiobase trade-data useeio.js -io -codechat membersense data-commons -data-pipeline -community community-data community-timelines USEEIO +community +nisar +data-pipeline # Configuration files config/settings.js diff --git a/.gitmodules b/.gitmodules index 14997b1b0..cacb160b6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -31,3 +31,21 @@ [submodule "trade"] path = trade url = https://github.com/modelearth/trade.git +[submodule "codechat"] + path = codechat + url = https://github.com/modelearth/codechat +[submodule "exiobase"] + path = exiobase + url = https://github.com/modelearth/exiobase +[submodule "io"] + path = io + url = https://github.com/modelearth/io +[submodule "profile"] + path = profile + url = https://github.com/modelearth/profile +[submodule "reports"] + path = reports + url = https://github.com/modelearth/reports +[submodule "community-forecasting"] + path = community-forecasting + url = https://github.com/modelearth/community-forecasting diff --git a/CLAUDE.md b/CLAUDE.md index 653e22829..641df382f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -153,6 +153,12 @@ This repository contains the following git submodules configured in `.gitmodules - **realitystream** - https://github.com/modelearth/realitystream - **cloud** - https://github.com/modelearth/cloud - **trade** - https://github.com/modelearth/trade +- **codechat** - https://github.com/modelearth/codechat +- **exiobase** - https://github.com/modelearth/exiobase +- **io** - https://github.com/modelearth/io +- **profile** - https://github.com/modelearth/profile +- **reports** - https://github.com/modelearth/reports +- **community-forecasting** - https://github.com/modelearth/community-forecasting **IMPORTANT**: All directories listed above are git submodules, not regular directories. They appear as regular directories when browsing but are actually git submodule references. Always treat them as submodules in git operations. @@ -290,10 +296,10 @@ fi ### Quick Commands for Repositories - **"push [name] [nopr]"**: Intelligent push with PR fallback - tries submodule → standalone repo → webroot fallback -- **"pull [name]"**: Pull changes for specific repository (webroot, submodule, or industry repo) +- **"pull [name]"**: Pull changes for specific repository (webroot, submodule, or extra repo) - **"PR [submodule name]"**: Create pull request workflow - **"push submodules [nopr]"**: Push all submodules with PR fallback when push fails -- **"push forks [nopr]"**: Push all industry repo forks and create PRs to parent repos +- **"push forks [nopr]"**: Push all extra repo forks and create PRs to parent repos - **"push [nopr]"** or **"push all [nopr]"**: Complete push workflow with PR fallback - pushes webroot, all submodules, and all forks **PR Fallback Behavior**: All push commands automatically create pull requests when direct push fails due to permission restrictions. Add 'nopr' or 'No PR' (case insensitive) at the end of any push command to skip PR creation. @@ -344,35 +350,34 @@ When you type "confirm" or "less quick", remove it: ] ``` -## Industry Repositories +## Extra Repositories -### Industry Repo List -The following industry repositories are used for multi-regional input-output (MRIO) analysis: -- **trade** - https://github.com/modelearth/trade (submodule) -- **exiobase** - https://github.com/modelearth/exiobase -- **profile** - https://github.com/modelearth/profile -- **io** - https://github.com/modelearth/io +### Extra Repo List +The following extra repositories are used for specialized functionality and are cloned to the webroot root directory (not submodules): +- **community** - https://github.com/modelearth/community +- **nisar** - https://github.com/modelearth/nisar +- **data-pipeline** - https://github.com/modelearth/data-pipeline -**IMPORTANT**: The industry repos (except trade) are cloned to the webroot root directory. They are not submodules, since typical sites only use industry output via the existing comparison submodule. +**IMPORTANT**: These extra repos are cloned to the webroot root directory and are NOT submodules. They provide specialized functionality that is not needed for typical site deployments. -### Fork Industry Repos +### Fork Extra Repos ```bash -fork industry repos to [your github account] +fork extra repos to [your github account] ``` The above runs these commands: ```bash # Fork repositories using GitHub CLI (requires 'gh' to be installed and authenticated) -gh repo fork modelearth/exiobase --clone=false -gh repo fork modelearth/profile --clone=false -gh repo fork modelearth/io --clone=false +gh repo fork modelearth/community --clone=false +gh repo fork modelearth/nisar --clone=false +gh repo fork modelearth/data-pipeline --clone=false ``` -### Clone Industry Repos +### Clone Extra Repos ```bash -clone industry repos from [your github account] +clone extra repos from [your github account] ``` The above runs these commands: @@ -380,10 +385,10 @@ The above runs these commands: # Navigate to webroot repository root first cd $(git rev-parse --show-toplevel) -# Clone industry repos to webroot root -git clone https://github.com/[your github account]/exiobase exiobase -git clone https://github.com/[your github account]/profile profile -git clone https://github.com/[your github account]/io io +# Clone extra repos to webroot root +git clone https://github.com/[your github account]/community community +git clone https://github.com/[your github account]/nisar nisar +git clone https://github.com/[your github account]/data-pipeline data-pipeline ``` ### Push All Submodules @@ -432,13 +437,13 @@ if [ -n "$(git status --porcelain)" ]; then fi ``` -### Push Industry Repo Forks +### Push Extra Repo Forks ```bash push forks [nopr] ``` -The above pushes changes to all industry repo forks and creates pull requests to their parent repositories: +The above pushes changes to all extra repo forks and creates pull requests to their parent repositories: ```bash # Navigate to webroot repository root first and detect no-PR flag cd $(git rev-parse --show-toplevel) @@ -447,8 +452,8 @@ if [[ "$*" =~ (nopr|no\ pr)$ ]] || [[ "$*" =~ (NOPR|NO\ PR)$ ]]; then SKIP_PR=true fi -# Check each industry repo for changes and create PRs -for repo in exiobase profile io; do +# Check each extra repo for changes and create PRs +for repo in community nisar data-pipeline; do if [ -d "$repo" ]; then cd "$repo" if [ -n "$(git status --porcelain)" ]; then @@ -477,7 +482,7 @@ for repo in exiobase profile io; do done ``` -**Note**: This command requires GitHub CLI (gh) to be installed and authenticated for PR creation. It will create PRs for all industry repo forks unless 'nopr' is specified. Use 'commit forks nopr' to skip PR creation. +**Note**: This command requires GitHub CLI (gh) to be installed and authenticated for PR creation. It will create PRs for all extra repo forks unless 'nopr' is specified. Use 'push forks nopr' to skip PR creation. **Common Issues:** - **Repository moved errors**: Update remote URLs if you see "This repository moved" messages: @@ -499,7 +504,7 @@ or push all [nopr] ``` -The above runs a comprehensive push workflow that handles webroot, all submodules, and all industry repo forks with automatic PR creation: +The above runs a comprehensive push workflow that handles webroot, all submodules, and all extra repo forks with automatic PR creation: ```bash # Navigate to webroot repository root first and detect no-PR flag @@ -548,8 +553,8 @@ if [ -n "$(git status --porcelain)" ]; then fi fi -# Step 4: Commit industry repo forks and create PRs -for repo in exiobase profile io; do +# Step 4: Push extra repo forks and create PRs +for repo in community nisar data-pipeline; do if [ -d "$repo" ]; then cd "$repo" if [ -n "$(git status --porcelain)" ]; then diff --git a/codechat b/codechat new file mode 160000 index 000000000..7079c0061 --- /dev/null +++ b/codechat @@ -0,0 +1 @@ +Subproject commit 7079c0061360620f10a2545f2acc173ff7d96058 diff --git a/community-forecasting b/community-forecasting new file mode 160000 index 000000000..d6361562d --- /dev/null +++ b/community-forecasting @@ -0,0 +1 @@ +Subproject commit d6361562dbba3fa8b878841cc0c0720862a447a9 diff --git a/exiobase b/exiobase new file mode 160000 index 000000000..5f3a40928 --- /dev/null +++ b/exiobase @@ -0,0 +1 @@ +Subproject commit 5f3a40928dcfe66a361ba0c0da6dd68ab23d2e5e diff --git a/git.sh b/git.sh index f71e6f107..d6376eb1e 100755 --- a/git.sh +++ b/git.sh @@ -498,7 +498,7 @@ pull_command() { # Pull submodules echo "📥 Pulling submodules..." - for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade codechat exiobase io profile reports community-forecasting; do [ ! -d "$sub" ] && continue cd "$sub" @@ -522,9 +522,9 @@ pull_command() { echo "🔍 Checking for detached HEAD states after pull..." fix_all_detached_heads - # Pull industry repos - echo "📥 Pulling industry repos..." - for repo in exiobase profile io; do + # Pull extra repos + echo "📥 Pulling extra repos..." + for repo in community nisar data-pipeline; do [ ! -d "$repo" ] && continue cd "$repo" git pull origin main 2>/dev/null || echo "⚠️ Checking for conflicts in $repo" @@ -562,7 +562,7 @@ pull_specific_repo() { fi # Check if it's a submodule - if [[ " cloud comparison feed home localsite products projects realitystream swiper team trade " =~ " $repo_name " ]]; then + if [[ " cloud comparison feed home localsite products projects realitystream swiper team trade codechat exiobase io profile reports community-forecasting " =~ " $repo_name " ]]; then if [ -d "$repo_name" ]; then echo "📥 Pulling submodule: $repo_name..." cd "$repo_name" @@ -586,10 +586,10 @@ pull_specific_repo() { return fi - # Check if it's an industry repo - if [[ " exiobase profile io " =~ " $repo_name " ]]; then + # Check if it's an extra repo + if [[ " community nisar data-pipeline " =~ " $repo_name " ]]; then if [ -d "$repo_name" ]; then - echo "📥 Pulling industry repo: $repo_name..." + echo "📥 Pulling extra repo: $repo_name..." cd "$repo_name" git pull origin main 2>/dev/null || echo "⚠️ Checking for conflicts in $repo_name" @@ -599,9 +599,9 @@ pull_specific_repo() { merge_upstream "$repo_name" fi cd .. - echo "✅ $repo_name industry repo pull completed!" + echo "✅ $repo_name extra repo pull completed!" else - echo "⚠️ Industry repo not found: $repo_name" + echo "⚠️ Extra repo not found: $repo_name" fi return fi @@ -609,8 +609,8 @@ pull_specific_repo() { echo "⚠️ Repository not recognized: $repo_name" echo "Supported repositories:" echo " Webroot: webroot" - echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade" - echo " Industry Repos: exiobase, profile, io" + echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade, codechat, exiobase, io, profile, reports, community-forecasting" + echo " Extra Repos: community, nisar, data-pipeline" } # Check and fix detached HEAD states in all repositories @@ -629,7 +629,7 @@ fix_all_detached_heads() { # Check all submodules echo "📁 Checking submodules..." - for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade codechat exiobase io profile reports community-forecasting; do if [ -d "$sub" ]; then echo "📁 Checking $sub..." cd "$sub" @@ -640,9 +640,9 @@ fix_all_detached_heads() { fi done - # Check industry repos - echo "📁 Checking industry repos..." - for repo in exiobase profile io; do + # Check extra repos + echo "📁 Checking extra repos..." + for repo in community nisar data-pipeline; do if [ -d "$repo" ]; then echo "📁 Checking $repo..." cd "$repo" @@ -683,7 +683,7 @@ update_all_remotes_for_user() { # Check all submodules echo "📁 Checking submodule remotes..." - for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade codechat exiobase io profile reports community-forecasting; do if [ -d "$sub" ]; then echo "📁 Checking $sub remotes..." cd "$sub" @@ -694,9 +694,9 @@ update_all_remotes_for_user() { fi done - # Check industry repos - echo "📁 Checking industry repo remotes..." - for repo in exiobase profile io; do + # Check extra repos + echo "📁 Checking extra repo remotes..." + for repo in community nisar data-pipeline; do if [ -d "$repo" ]; then echo "📁 Checking $repo remotes..." cd "$repo" @@ -909,7 +909,7 @@ push_specific_repo() { fi # Check if it's a submodule - if [[ " cloud comparison feed home localsite products projects realitystream swiper team trade " =~ " $name " ]]; then + if [[ " cloud comparison feed home localsite products projects realitystream swiper team trade codechat exiobase io profile reports community-forecasting " =~ " $name " ]]; then if [ -d "$name" ]; then cd "$name" commit_push "$name" "$skip_pr" @@ -945,8 +945,8 @@ push_specific_repo() { return fi - # Check if it's an industry repo - if [[ " exiobase profile io " =~ " $name " ]]; then + # Check if it's an extra repo + if [[ " community nisar data-pipeline " =~ " $name " ]]; then if [ -d "$name" ]; then cd "$name" commit_push "$name" "$skip_pr" @@ -955,7 +955,7 @@ push_specific_repo() { echo "🔍 Checking for remaining unpushed commits..." final_push_completion_check else - echo "⚠️ Industry repo not found: $name" + echo "⚠️ Extra repo not found: $name" fi return fi @@ -963,8 +963,8 @@ push_specific_repo() { echo "⚠️ Repository not recognized: $name" echo "Supported repositories:" echo " Webroot: webroot" - echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade" - echo " Industry Repos: exiobase, profile, io" + echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade, codechat, exiobase, io, profile, reports, community-forecasting" + echo " Extra Repos: community, nisar, data-pipeline" } # Push all submodules @@ -975,7 +975,7 @@ push_submodules() { check_webroot # Push each submodule with changes - for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade codechat exiobase io profile reports community-forecasting; do [ ! -d "$sub" ] && continue cd "$sub" commit_push "$sub" "$skip_pr" @@ -1015,8 +1015,8 @@ push_all() { # Push all submodules push_submodules "$skip_pr" - # Push industry repos - for repo in exiobase profile io; do + # Push extra repos + for repo in community nisar data-pipeline; do [ ! -d "$repo" ] && continue cd "$repo" commit_push "$repo" "$skip_pr" @@ -1041,7 +1041,7 @@ final_push_completion_check() { fi # Check all submodules - for sub in cloud comparison feed home localsite products projects realitystream swiper team trade; do + for sub in cloud comparison feed home localsite products projects realitystream swiper team trade codechat exiobase io profile reports community-forecasting; do if [ -d "$sub" ]; then cd "$sub" if [ -n "$(git rev-list --count @{u}..HEAD 2>/dev/null)" ] && [ "$(git rev-list --count @{u}..HEAD 2>/dev/null)" != "0" ]; then @@ -1052,8 +1052,8 @@ final_push_completion_check() { fi done - # Check industry repos - for repo in exiobase profile io; do + # Check extra repos + for repo in community nisar data-pipeline; do if [ -d "$repo" ]; then cd "$repo" if [ -n "$(git rev-list --count @{u}..HEAD 2>/dev/null)" ] && [ "$(git rev-list --count @{u}..HEAD 2>/dev/null)" != "0" ]; then @@ -1114,7 +1114,7 @@ case "$1" in echo "Usage: ./git.sh [pull|push|fix|remotes|auth] [repo_name|submodules|all] [nopr]" echo "" echo "Commands:" - echo " ./git.sh pull - Pull all repositories (webroot + submodules + industry repos)" + echo " ./git.sh pull - Pull all repositories (webroot + submodules + extra repos)" echo " ./git.sh pull [repo_name] - Pull specific repository" echo " ./git.sh push - Push all repositories with changes" echo " ./git.sh push all - Push all repositories with changes (same as 'push')" @@ -1126,8 +1126,8 @@ case "$1" in echo "" echo "Supported Repository Names:" echo " Webroot: webroot" - echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade" - echo " Industry Repos: exiobase, profile, io" + echo " Submodules: cloud, comparison, feed, home, localsite, products, projects, realitystream, swiper, team, trade, codechat, exiobase, io, profile, reports, community-forecasting" + echo " Extra Repos: community, nisar, data-pipeline" echo "" echo "Options:" echo " nopr - Skip PR creation on push failures" diff --git a/io b/io new file mode 160000 index 000000000..50bd73f5e --- /dev/null +++ b/io @@ -0,0 +1 @@ +Subproject commit 50bd73f5e7f346a96fafcb3d8eed15d5d1353898 diff --git a/profile b/profile new file mode 160000 index 000000000..f16be460a --- /dev/null +++ b/profile @@ -0,0 +1 @@ +Subproject commit f16be460aaf077857d9a630682a2bafd0270ec30 diff --git a/reports b/reports new file mode 160000 index 000000000..23e997780 --- /dev/null +++ b/reports @@ -0,0 +1 @@ +Subproject commit 23e99778080c67f331bca9a458a1757494e06cf4 From a658d1c6569bad4099b6111d5f1d16c54dbfd53c Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 20:26:02 -0400 Subject: [PATCH 092/286] Update webroot --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 5c4a23fa1..240e407b8 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 5c4a23fa1e59a05992a3192ddef23a9226915dc2 +Subproject commit 240e407b8fc882d99e83766af94103905303e674 From 823b4c75c6a773b6c1689d994fb8d5fc1d48285f Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 20:26:12 -0400 Subject: [PATCH 093/286] Update submodule references --- exiobase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exiobase b/exiobase index 5f3a40928..a1e278b0a 160000 --- a/exiobase +++ b/exiobase @@ -1 +1 @@ -Subproject commit 5f3a40928dcfe66a361ba0c0da6dd68ab23d2e5e +Subproject commit a1e278b0a2c31878a4773a14a65db5fdbddcbaab From 3cc9f01e7496ae6bd73c48022984d91d1fe52661 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 28 Aug 2025 22:06:28 -0400 Subject: [PATCH 094/286] Display inside right --- .claude/settings.local.json | 3 ++- feed | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 7b76302a6..c66a8fd89 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -21,7 +21,8 @@ "Bash(rm:*)", "Bash(curl:*)", "Bash(gh:*)", - "Bash(./git.sh:*)" + "Bash(./git.sh:*)", + "Bash(yarn build)" ], "deny": [ "Read(../**)" diff --git a/feed b/feed index becb77cfa..68f280b83 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit becb77cfaf94e945d44e3a8681ad2356542d6396 +Subproject commit 68f280b8391cde0da935c5ee838480235c348465 From c46c9adad101158134b51f4a87b30293cd6b4927 Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 23:16:37 -0400 Subject: [PATCH 095/286] Change detached head message --- feed | 2 +- git.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/feed b/feed index becb77cfa..3fd804727 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit becb77cfaf94e945d44e3a8681ad2356542d6396 +Subproject commit 3fd804727917a9a45d4179abf6e01fdada3c4538 diff --git a/git.sh b/git.sh index d6376eb1e..3f07e4f68 100755 --- a/git.sh +++ b/git.sh @@ -654,10 +654,10 @@ fix_all_detached_heads() { done if [ $fixed_count -gt 0 ]; then - echo "✅ Fixed detached HEAD states in $fixed_count repositories" - echo "💡 You may want to run './git.sh commit' to update submodule references" + echo "✅ All $fixed_count submodules pointed at main branch" + echo "💡 You may want to run './git.sh push' to update submodule references" else - echo "✅ No detached HEAD states found" + echo "✅ All submodules already on main branch" fi } From a32fd6949ac2ce3a45865e4f7f5f55113181fb3a Mon Sep 17 00:00:00 2001 From: modelearth Date: Thu, 28 Aug 2025 23:35:47 -0400 Subject: [PATCH 096/286] Update webroot --- CLAUDE.md | 16 +++++++++ git.sh | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++ realitystream | 2 +- 3 files changed, 113 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 641df382f..f7b908d71 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -585,6 +585,22 @@ done **Note**: This is the most comprehensive push command that handles all repository types in the webroot ecosystem with automatic PR fallback when push permissions are denied. Use 'push nopr' or 'push all nopr' to skip all PR creation. It will only process repositories that have actual changes. +**Extra Repo Change Detection**: After completing the push workflow, the system automatically checks extra repos (community, nisar, data-pipeline) for uncommitted changes since they are excluded from webroot commits by .gitignore. If changes are found, the user is prompted to choose which extra repo to push: + +``` +📝 Extra repos with uncommitted changes detected: + + 1) community + 2) nisar + 3) all + +Which extra repo would you like to push? (1-3 or press Enter to skip): +``` + +- Choose **1-2** to push a specific extra repo +- Choose **3** (or highest number) to push **all** extra repos with changes +- Press **Enter** to skip extra repo pushing + ### Background Development Rust Server resides in "team" submodule folder (ALWAYS USE THIS) diff --git a/git.sh b/git.sh index 3f07e4f68..81b7a8119 100755 --- a/git.sh +++ b/git.sh @@ -1028,6 +1028,102 @@ push_all() { final_push_completion_check echo "✅ Complete push finished!" + + # Check extra repos for uncommitted changes + check_extra_repos_for_changes +} + +# Check extra repos for uncommitted changes and prompt user +check_extra_repos_for_changes() { + cd $(git rev-parse --show-toplevel) + + local repos_with_changes=() + local repo_names=("community" "nisar" "data-pipeline") + + # Check each extra repo for changes + for repo in "${repo_names[@]}"; do + if [ -d "$repo" ]; then + cd "$repo" + if [ -n "$(git status --porcelain)" ]; then + repos_with_changes+=("$repo") + fi + cd .. + fi + done + + # If there are changes, prompt the user + if [ ${#repos_with_changes[@]} -gt 0 ]; then + echo "" + echo "📝 Extra repos with uncommitted changes detected:" + echo "" + + local i=1 + for repo in "${repos_with_changes[@]}"; do + echo " $i) $repo" + ((i++)) + done + echo " $i) all" + echo "" + + read -p "Which extra repo would you like to push? (1-$i or press Enter to skip): " choice + + if [ -n "$choice" ]; then + if [ "$choice" -eq "$i" ] 2>/dev/null; then + # Push all extra repos with changes + echo "🚀 Pushing all extra repos with changes..." + for repo in "${repos_with_changes[@]}"; do + push_extra_repo "$repo" + done + elif [ "$choice" -ge 1 ] && [ "$choice" -lt "$i" ] 2>/dev/null; then + # Push specific repo + local selected_repo="${repos_with_changes[$((choice-1))]}" + echo "🚀 Pushing $selected_repo..." + push_extra_repo "$selected_repo" + else + echo "❌ Invalid choice. Skipping extra repo push." + fi + else + echo "⏭️ Skipping extra repo push." + fi + fi +} + +# Push a specific extra repo +push_extra_repo() { + local repo_name="$1" + + cd $(git rev-parse --show-toplevel) + + if [ -d "$repo_name" ]; then + cd "$repo_name" + + if [ -n "$(git status --porcelain)" ]; then + git add . + git commit -m "Update $repo_name repository" + + if git push origin main 2>/dev/null; then + echo "✅ Successfully pushed $repo_name repository" + else + echo "⚠️ Push failed for $repo_name repository" + + # Try to create PR if it's a fork + local current_user=$(get_current_user) + if [ $? -eq 0 ] && [ -n "$current_user" ]; then + local remote_url=$(git remote get-url origin) + if [[ "$remote_url" =~ "$current_user/$repo_name" ]]; then + echo "🔄 Creating pull request for $repo_name..." + gh pr create --title "Update $repo_name" --body "Automated update from webroot integration" --base main --head main 2>/dev/null || echo "PR creation failed for $repo_name" + fi + fi + fi + else + echo "✅ No changes to push in $repo_name" + fi + + cd .. + else + echo "⚠️ Extra repo not found: $repo_name" + fi } # Check all repositories for unpushed commits and push them diff --git a/realitystream b/realitystream index 49d229f23..9c0b80908 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 49d229f23c59076be407fa61141b316eea309305 +Subproject commit 9c0b80908db0e3efc3f964a7156e7efbe4f3d17c From e00f40a06e795aad7ce32301aac641f40aeecbc5 Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 29 Aug 2025 00:35:59 -0400 Subject: [PATCH 097/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 71dd6bf46..02b67992f 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 71dd6bf46c083cc9543bd3b05c01f92f3289c54c +Subproject commit 02b67992faa666b39e47aab49850f4e080ae1cb2 From e3f96d188692ca3fc5421e9580224ddd7cd4f15f Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 29 Aug 2025 01:39:36 -0400 Subject: [PATCH 098/286] Update webroot --- index.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.html b/index.html index 7209b2b0e..8429dfe28 100644 --- a/index.html +++ b/index.html @@ -3,10 +3,9 @@ -Webroot +Webroot2 - From 08a7e6c8732b0d6ed6fe62a86ec29d2d42e36d58 Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 29 Aug 2025 01:39:46 -0400 Subject: [PATCH 099/286] Update submodule references --- localsite | 2 +- team | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/localsite b/localsite index 02b67992f..ff8786829 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 02b67992faa666b39e47aab49850f4e080ae1cb2 +Subproject commit ff87868298802164f155c6652cf8ca05f0ae1cb5 diff --git a/team b/team index 240e407b8..9f844ff88 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 240e407b8fc882d99e83766af94103905303e674 +Subproject commit 9f844ff885d3747d383d42d300e8af6cf1f90c3d From f1127acb86df71f1f96476a7288e903c3e1d0011 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 02:10:00 -0400 Subject: [PATCH 100/286] Update webroot --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 68f280b83..3fd804727 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 68f280b8391cde0da935c5ee838480235c348465 +Subproject commit 3fd804727917a9a45d4179abf6e01fdada3c4538 From ca508542e7bd1cd2a785568d25f07c6592bf1875 Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 29 Aug 2025 02:10:15 -0400 Subject: [PATCH 101/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 9f844ff88..230099301 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 9f844ff885d3747d383d42d300e8af6cf1f90c3d +Subproject commit 230099301ae674ad73f6fc12c317045673ab5097 From ca9bd082bb588313949340cd9d4402af15bc514b Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 11:12:48 -0400 Subject: [PATCH 102/286] Sync --- CLAUDE.md | 2 +- localsite | 2 +- realitystream | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index f7b908d71..7222edbc8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -54,7 +54,7 @@ cd .. ## IMPORTANT: Git Commit Policy -**NEVER commit changes without explicit user request.** +**NEVER commit changes without an explicit user request starting with push or sync.** - Only run git commands (add, commit, push) when the user specifically says "push" or directly requests it - After making code changes, STOP and wait for user instruction diff --git a/localsite b/localsite index ff8786829..f0384ed8d 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit ff87868298802164f155c6652cf8ca05f0ae1cb5 +Subproject commit f0384ed8d25ea0be70d32283612820b738e3c995 diff --git a/realitystream b/realitystream index 9c0b80908..7bd2076c2 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 9c0b80908db0e3efc3f964a7156e7efbe4f3d17c +Subproject commit 7bd2076c2c6f53aeb15716dcd6b26d40e174840b From 2aacd49b32925b74e51c172ec9cc1d899837d06c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 11:21:53 -0400 Subject: [PATCH 103/286] Sync --- feed | 2 +- team | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feed b/feed index 3fd804727..513c83ba0 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 3fd804727917a9a45d4179abf6e01fdada3c4538 +Subproject commit 513c83ba0215f5d14d1d7d36fdd1c0c5b7ce08d0 diff --git a/team b/team index 230099301..67de5aabc 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 230099301ae674ad73f6fc12c317045673ab5097 +Subproject commit 67de5aabcaaa52e717525e22ec61962a01112ded From dcc6af683460a6bf3b25bf8914715dbe6f26ba9f Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 14:01:53 -0400 Subject: [PATCH 104/286] Add 2 --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 227476fce..aafcba25e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,8 @@ membersense data-commons community-data community-timelines +requests +topojson USEEIO community nisar From e2b60bf7011d7c88049707dc83c2954b4a4a1168 Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 29 Aug 2025 14:07:15 -0400 Subject: [PATCH 105/286] Remove requests and wiki submodule configurations --- requests | 1 - wiki | 1 - 2 files changed, 2 deletions(-) delete mode 160000 requests delete mode 160000 wiki diff --git a/requests b/requests deleted file mode 160000 index 9df544957..000000000 --- a/requests +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9df544957fac48df654eb5d54e62a2c0be7d9ea0 diff --git a/wiki b/wiki deleted file mode 160000 index ff85a852c..000000000 --- a/wiki +++ /dev/null @@ -1 +0,0 @@ -Subproject commit ff85a852c100246ed43938158b95d292261028e7 From 192bed5cfee1d1689a12e46de47d1e891edfcdfd Mon Sep 17 00:00:00 2001 From: modelearth Date: Fri, 29 Aug 2025 14:07:37 -0400 Subject: [PATCH 106/286] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index aafcba25e..263623fda 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,7 @@ data-commons community-data community-timelines requests +wiki topojson USEEIO community From 5f65abb0bba28f7ef88a0bf037b75e636dd75cd4 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 14:10:56 -0400 Subject: [PATCH 107/286] Update feed --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 513c83ba0..954f2701d 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 513c83ba0215f5d14d1d7d36fdd1c0c5b7ce08d0 +Subproject commit 954f2701dba511822d3955a3b9045137bb8bfb96 From baad9eab8d8044f48687407940797856a10e224c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 14:13:30 -0400 Subject: [PATCH 108/286] Update codechat submodule reference --- codechat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codechat b/codechat index 7079c0061..a191d6140 160000 --- a/codechat +++ b/codechat @@ -1 +1 @@ -Subproject commit 7079c0061360620f10a2545f2acc173ff7d96058 +Subproject commit a191d614076d9cceab08ae5fa5168c17f9c444d5 From dec1e9a8a2c712eb6dfa663122643f82bf21578c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 14:13:39 -0400 Subject: [PATCH 109/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index f0384ed8d..28eedae6b 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit f0384ed8d25ea0be70d32283612820b738e3c995 +Subproject commit 28eedae6b288645280e55751b14f8c3b09b25e1d From e6a61b9740f6e86aea5922ecc08c3c6281e2a280 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 14:13:49 -0400 Subject: [PATCH 110/286] Update io submodule reference --- io | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io b/io index 50bd73f5e..268f9f0b1 160000 --- a/io +++ b/io @@ -1 +1 @@ -Subproject commit 50bd73f5e7f346a96fafcb3d8eed15d5d1353898 +Subproject commit 268f9f0b1199270b63a683856dea77c4ec98807c From e5051a34b6201610f4783ae33cbd4cbed45d614b Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 15:03:22 -0400 Subject: [PATCH 111/286] Update index.html --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 8429dfe28..7afdaecaa 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ -Webroot2 +Webroot From 34fd5e0117facd1e417b0365d2fd40904d31a9fa Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 15:56:40 -0400 Subject: [PATCH 112/286] Update feed --- feed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feed b/feed index 954f2701d..2ea0c840e 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 954f2701dba511822d3955a3b9045137bb8bfb96 +Subproject commit 2ea0c840e5b3510e361c3900637f57bd499941f4 From e8c8b78e25bdac00cd7a813626a75263b843e3be Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 17:47:46 -0400 Subject: [PATCH 113/286] Nav hover --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 28eedae6b..1ff46bed7 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 28eedae6b288645280e55751b14f8c3b09b25e1d +Subproject commit 1ff46bed7efa058ae9977be4773f7e8fc65f4442 From 40462e7ab55a776f137a0dbe9841847fab8c1399 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 22:49:55 -0400 Subject: [PATCH 114/286] Update localsite --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 1ff46bed7..3b6f73e6f 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 1ff46bed7efa058ae9977be4773f7e8fc65f4442 +Subproject commit 3b6f73e6f9765625c723866828bc858f1cfc8794 From d82ae9ed446ee010b7b771c1017fcb4c34034ef3 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Fri, 29 Aug 2025 22:50:43 -0400 Subject: [PATCH 115/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 67de5aabc..ac12d4515 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 67de5aabcaaa52e717525e22ec61962a01112ded +Subproject commit ac12d4515c61e9a210addb7533719d08ffcf19dc From 64b3ed2402563be09ee5bf2b757ba7e43cb7b320 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 01:03:26 -0400 Subject: [PATCH 116/286] Update CLAUDE.md --- CLAUDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 7222edbc8..a541989fa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -177,8 +177,8 @@ git remote add upstream https://github.com/modelearth/trade.git git remote add upstream https://github.com/ModelEarth/webroot.git ``` -**Update Workflow Impact:** -- The `./git.sh update` command respects this policy and only pulls from modelearth-level repositories +**Pull Workflow Impact:** +- The `./git.sh pull` command respects this policy and only pulls from modelearth-level repositories - If any upstream is incorrectly configured to point above modelearth level, it must be corrected - This prevents conflicts from pulling changes from repositories outside the modelearth ecosystem From bf42b6351a0e7097212afb58bbbc26bbe862c7ca Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 01:07:54 -0400 Subject: [PATCH 117/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 3b6f73e6f..68ca24cd7 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 3b6f73e6f9765625c723866828bc858f1cfc8794 +Subproject commit 68ca24cd70a48af7ab8cb4ed790b2e187deb10e8 From febf2b4c6e885959e9baabaf59884832f85b2ce3 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 01:08:23 -0400 Subject: [PATCH 118/286] pull and push --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index cdefeac2e..2b8afc774 100644 --- a/README.md +++ b/README.md @@ -32,18 +32,19 @@ Look at the code in your webroot with an editor like [Sublime Text](https://www. Update and make commits often (at least hourly). Append nopr" or "No PR" if you are not yet ready to send a Pull Request. -Run "update" hourly to safely pull updates from the ModelEarth parent repositories. +Run "pull" hourly to safely pull updates to the modelearth repos residing in your webroot -When making any change, run "commit" to send a PR. This will also commit changes in submodules and forks. +When making any change, run "push" to send a PR. "push" updates the webroot, submodules and forks. - update - commit + pull + push Addtional options: - commit [folder name] # commit a specific submodule or fork - commit submodules # commit changes from all submodules changed - commit forks # commit the 4 forks added for the trade flow + push [folder name] # Deploy a specific submodule or fork + push submodules # Deploy changes from all submodules changed + push forks # Deploy the 4 forks added for the trade flow -Or when changing a cloned repo, commit the specific repo using Github Desktop. Then submit a PR through the Github.com website. \ No newline at end of file +Or when changing a cloned repo, commit the specific repo using Github Desktop. +Then submit a PR through the Github.com website. \ No newline at end of file From a7314d442696d7f6edb5cc6342cf29960c13961c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:01:15 -0400 Subject: [PATCH 119/286] Update webroot --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index 0fda98a04..9a53252df 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 0fda98a04fc5d2baa068e2ad168d00f85d949a64 +Subproject commit 9a53252dfce711edbde065078f7134f42e2511a5 From fa8db7ea5c7ebfe20897928b49cdee4fdbc0d718 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:01:23 -0400 Subject: [PATCH 120/286] Update submodule references --- projects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects b/projects index 9a53252df..e28bed966 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 9a53252dfce711edbde065078f7134f42e2511a5 +Subproject commit e28bed9663d7a23c7c9a384bf248e8cdde04ba5c From 76ca123ee0f871907489c651a33cc4acad21a7e4 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:23:02 -0400 Subject: [PATCH 121/286] Update webroot --- projects | 2 +- useeio-json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 160000 useeio-json diff --git a/projects b/projects index e28bed966..58e2628be 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit e28bed9663d7a23c7c9a384bf248e8cdde04ba5c +Subproject commit 58e2628be36445fb425eca843d4c215eda7401bd diff --git a/useeio-json b/useeio-json new file mode 160000 index 000000000..4df84a1c1 --- /dev/null +++ b/useeio-json @@ -0,0 +1 @@ +Subproject commit 4df84a1c1e82c5f3b98bc5435f0d92458acfd8b5 From a687d669973e285510c74c551d84c98d4b079ee1 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:23:11 -0400 Subject: [PATCH 122/286] Update submodule references --- codechat | 2 +- io | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codechat b/codechat index a191d6140..94fec7909 160000 --- a/codechat +++ b/codechat @@ -1 +1 @@ -Subproject commit a191d614076d9cceab08ae5fa5168c17f9c444d5 +Subproject commit 94fec7909b5ae4fd1b0ed29aa5f17e02f68429c5 diff --git a/io b/io index 268f9f0b1..89731be00 160000 --- a/io +++ b/io @@ -1 +1 @@ -Subproject commit 268f9f0b1199270b63a683856dea77c4ec98807c +Subproject commit 89731be00b729f28ffdcf84531b8e43382ab3cca From d6bbf8022bb10e786669370a7a65082fae0dd54c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:34:30 -0400 Subject: [PATCH 123/286] Remove USEEIO repository from tracking - already in .gitignore --- .gitignore | 3 ++- useeio-json | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 160000 useeio-json diff --git a/.gitignore b/.gitignore index 263623fda..c79736193 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,8 @@ community-timelines requests wiki topojson -USEEIO +useeio-json +useeio community nisar data-pipeline diff --git a/useeio-json b/useeio-json deleted file mode 160000 index 4df84a1c1..000000000 --- a/useeio-json +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4df84a1c1e82c5f3b98bc5435f0d92458acfd8b5 From 90df20ee9d5cf4c39bb0511e49a44977e257e043 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:43:06 -0400 Subject: [PATCH 124/286] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index c79736193..4aca52c85 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ useeio-json useeio community nisar +products-big-files-to-delete data-pipeline # Configuration files From 00c82e337304a35310e2834350278fe7e895ba8a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sat, 30 Aug 2025 12:44:38 -0400 Subject: [PATCH 125/286] Update products submodule reference --- products | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products b/products index a1bdaa26f..008e13600 160000 --- a/products +++ b/products @@ -1 +1 @@ -Subproject commit a1bdaa26fada32a4edc0a6b72acf3da24ed36a6f +Subproject commit 008e1360054bab2f272ac3a20cc0d5fd8182b595 From 9087e727eecfbd51a6bb10ede3152f451c0220bd Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 13:43:11 -0400 Subject: [PATCH 126/286] submodules updated --- codechat | 2 +- feed | 2 +- index.html | 2 +- io | 2 +- localsite | 2 +- products | 2 +- team | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/codechat b/codechat index 7079c0061..94fec7909 160000 --- a/codechat +++ b/codechat @@ -1 +1 @@ -Subproject commit 7079c0061360620f10a2545f2acc173ff7d96058 +Subproject commit 94fec7909b5ae4fd1b0ed29aa5f17e02f68429c5 diff --git a/feed b/feed index 513c83ba0..2ea0c840e 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 513c83ba0215f5d14d1d7d36fdd1c0c5b7ce08d0 +Subproject commit 2ea0c840e5b3510e361c3900637f57bd499941f4 diff --git a/index.html b/index.html index 8429dfe28..7afdaecaa 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ -Webroot2 +Webroot diff --git a/io b/io index 50bd73f5e..89731be00 160000 --- a/io +++ b/io @@ -1 +1 @@ -Subproject commit 50bd73f5e7f346a96fafcb3d8eed15d5d1353898 +Subproject commit 89731be00b729f28ffdcf84531b8e43382ab3cca diff --git a/localsite b/localsite index f0384ed8d..68ca24cd7 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit f0384ed8d25ea0be70d32283612820b738e3c995 +Subproject commit 68ca24cd70a48af7ab8cb4ed790b2e187deb10e8 diff --git a/products b/products index a1bdaa26f..008e13600 160000 --- a/products +++ b/products @@ -1 +1 @@ -Subproject commit a1bdaa26fada32a4edc0a6b72acf3da24ed36a6f +Subproject commit 008e1360054bab2f272ac3a20cc0d5fd8182b595 diff --git a/team b/team index 67de5aabc..ac12d4515 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 67de5aabcaaa52e717525e22ec61962a01112ded +Subproject commit ac12d4515c61e9a210addb7533719d08ffcf19dc From f6b752e4e0cbb2593a42013a62981fd6bf2eee03 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 13:45:35 -0400 Subject: [PATCH 127/286] Update submodule references after pull workflow - Update products submodule reference to latest commit (README update) - Update projects submodule reference to include products-data submodule addition - Sync all submodule references after comprehensive pull and push operations --- products | 2 +- projects | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/products b/products index 008e13600..d6b022bbb 160000 --- a/products +++ b/products @@ -1 +1 @@ -Subproject commit 008e1360054bab2f272ac3a20cc0d5fd8182b595 +Subproject commit d6b022bbb6d653ed23fbfd51c96e44ded11e596a diff --git a/projects b/projects index 58e2628be..5a8ccaba6 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 58e2628be36445fb425eca843d4c215eda7401bd +Subproject commit 5a8ccaba6ac5490144de92ee5e100938961a326e From f1e2a1e1669fdb8a68c03d08f3abc7fa7f6283db Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 13:47:22 -0400 Subject: [PATCH 128/286] Move products-data submodule to webroot level - Add products-data as submodule at webroot root level - Update projects submodule reference after removing products-data from projects - Correct submodule organization with products-data at proper location --- .claude/settings.local.json | 4 +++- .gitmodules | 3 +++ products-data | 1 + projects | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) create mode 160000 products-data diff --git a/.claude/settings.local.json b/.claude/settings.local.json index c66a8fd89..606b67403 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -22,7 +22,9 @@ "Bash(curl:*)", "Bash(gh:*)", "Bash(./git.sh:*)", - "Bash(yarn build)" + "Bash(yarn build)", + "Bash(git rm:*)", + "Bash(git checkout:*)" ], "deny": [ "Read(../**)" diff --git a/.gitmodules b/.gitmodules index cacb160b6..c8e417fb7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -49,3 +49,6 @@ [submodule "community-forecasting"] path = community-forecasting url = https://github.com/modelearth/community-forecasting +[submodule "products-data"] + path = products-data + url = https://github.com/modelearth/products-data diff --git a/products-data b/products-data new file mode 160000 index 000000000..d57c61d78 --- /dev/null +++ b/products-data @@ -0,0 +1 @@ +Subproject commit d57c61d78fef2d86d57b9a330cd87c6ce5c410f9 diff --git a/projects b/projects index 5a8ccaba6..abbe1c2da 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 5a8ccaba6ac5490144de92ee5e100938961a326e +Subproject commit abbe1c2dab3e58975e0426b9be522744aa0ba7fd From 8bee8afff39ed9bb13f451fb4e40f88792b23c8a Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 13:59:59 -0400 Subject: [PATCH 129/286] Update webroot --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index a541989fa..eb52372f3 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -320,6 +320,11 @@ When displaying "Issue Resolved" use the same checkbox icon as "Successfully Upd - Keep commit messages clean and focused on the actual changes - Include a brief summary of changes in the commit text +## Navigation Guidelines +- **Directory Restrictions**: If the user requests `cd ../`, first check if you are already in the webroot. If so, ignore the request so errors do not appear. +- **Webroot Detection**: Use `git rev-parse --show-toplevel` or check current working directory against `/Users/helix/Library/Data/webroot` pattern +- **Security Boundaries**: Claude Code sessions are restricted to working within the webroot and its subdirectories + ## Quick Commands When you type "restart", run this single command to restart the server in seconds: From 89616999453b415892c324c777051a904982306b Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 14:01:53 -0400 Subject: [PATCH 130/286] Update webroot --- CLAUDE.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index eb52372f3..12b6cb34f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -325,6 +325,11 @@ When displaying "Issue Resolved" use the same checkbox icon as "Successfully Upd - **Webroot Detection**: Use `git rev-parse --show-toplevel` or check current working directory against `/Users/helix/Library/Data/webroot` pattern - **Security Boundaries**: Claude Code sessions are restricted to working within the webroot and its subdirectories +## Git Command Guidelines +- **Always Use git.sh**: When receiving "push" and "pull" requests, always use `./git.sh push` and `./git.sh pull` to avoid approval prompts +- **Avoid Direct Git Commands**: Do not use individual git commands like `git add`, `git commit`, `git push` for these operations +- **Automatic Workflow**: The git.sh script handles the complete workflow including submodules, remotes, and error handling automatically + ## Quick Commands When you type "restart", run this single command to restart the server in seconds: From 8092edded21f1e5d86416c0349261b91b028fe32 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 17:49:17 -0400 Subject: [PATCH 131/286] Update snapshot functionality and server checking - Auto-populate snapshot names with today's date format - Move snapshot display to Group Participants title with dash - Change snapshot link to "Edit Snapshots" when active - Add server status checks before starting HTTP/Rust servers - Use waitForElm instead of setTimeout for DOM waiting - Add dark theme CSS for snapshot 3-dot menus - Fix dropdown close behavior and larger X buttons - Prevent snapshot clearing during load with isLoadingSnapshot flag --- CLAUDE.md | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 12b6cb34f..a46b94626 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -3,26 +3,38 @@ ## Start server or Restart server ### Start Server -When you type "start server", run +When you type "start server", first check if server is already running, then start only if needed: ```bash -nohup python -m http.server 8887 > /dev/null 2>&1 & +# Check if HTTP server is already running on port 8887 +if lsof -ti:8887 > /dev/null 2>&1; then + echo "HTTP server already running on port 8887" +else + nohup python -m http.server 8887 > /dev/null 2>&1 & + echo "Started HTTP server on port 8887" +fi ``` Note: Uses nohup to run server in background and redirect output to avoid timeout. ### Start Rust API Server -When you type "start rust", change to the team submodule directory in the repository root and run +When you type "start rust", first check if server is already running, then start only if needed: ```bash -cd team -# Ensure Rust is installed and cargo is in PATH -source ~/.cargo/env 2>/dev/null || echo "Install Rust first: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" -# Copy .env.example to .env only if .env doesn't exist -[ ! -f .env ] && cp .env.example .env -# Start the server with correct binary name -nohup cargo run --bin partner_tools -- serve > server.log 2>&1 & +# Check if Rust API server is already running on port 8081 +if lsof -ti:8081 > /dev/null 2>&1; then + echo "Rust API server already running on port 8081" +else + cd team + # Ensure Rust is installed and cargo is in PATH + source ~/.cargo/env 2>/dev/null || echo "Install Rust first: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh" + # Copy .env.example to .env only if .env doesn't exist + [ ! -f .env ] && cp .env.example .env + # Start the server with correct binary name + nohup cargo run --bin partner_tools -- serve > server.log 2>&1 & + echo "Started Rust API server on port 8081" +fi ``` Note: The team repository is a submodule located in the repository root directory. The Rust API server runs on port 8081. Requires Rust/Cargo to be installed on the system. The .env file is created from .env.example only if it doesn't already exist. @@ -320,6 +332,14 @@ When displaying "Issue Resolved" use the same checkbox icon as "Successfully Upd - Keep commit messages clean and focused on the actual changes - Include a brief summary of changes in the commit text +## DOM Element Waiting +- **NEVER use setTimeout() for waiting for DOM elements** +- **ALWAYS use waitForElm(selector)** from localsite/js/localsite.js instead +- Check if localsite/js/localsite.js is included in the page before using waitForElm +- If not included, ask user if localsite/js/localsite.js should be added to the page +- Example: `waitForElm('#element-id').then(() => { /* code */ });` +- waitForElm does not use timeouts and waits indefinitely until element appears + ## Navigation Guidelines - **Directory Restrictions**: If the user requests `cd ../`, first check if you are already in the webroot. If so, ignore the request so errors do not appear. - **Webroot Detection**: Use `git rev-parse --show-toplevel` or check current working directory against `/Users/helix/Library/Data/webroot` pattern From 6798fc46d9c0f67b42f4c3cd93b96599401eaaf2 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 17:49:28 -0400 Subject: [PATCH 132/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index ac12d4515..80df89171 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit ac12d4515c61e9a210addb7533719d08ffcf19dc +Subproject commit 80df8917192027e9b3d454e0f0c103d614929e35 From 3464f9565602796c9c3cc538dce8daf19f198b57 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 21:12:43 -0400 Subject: [PATCH 133/286] Update localsite submodule reference --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 68ca24cd7..0f7ff261a 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 68ca24cd70a48af7ab8cb4ed790b2e187deb10e8 +Subproject commit 0f7ff261a9e82b06f77d316dd2bb0b72a7fd2843 From 6fbff9aae21e90e4aeaf482bd8f8935065048a93 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 21:12:48 -0400 Subject: [PATCH 134/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 80df89171..627f8252b 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 80df8917192027e9b3d454e0f0c103d614929e35 +Subproject commit 627f8252ba6c4da7fc556b492d7da394c14733ce From 5443bc10dc9e503f1b07b3e5fb2142eaea997d47 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sat, 30 Aug 2025 21:55:32 -0400 Subject: [PATCH 135/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 627f8252b..62fc3659b 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 627f8252ba6c4da7fc556b492d7da394c14733ce +Subproject commit 62fc3659bd502ef72130b371574ee5c4c5d49984 From 38143c78a9f3981c7bdd6a3bbad0b6df12940482 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 00:27:53 -0400 Subject: [PATCH 136/286] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 4aca52c85..d613d067e 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ community-data community-timelines requests wiki +panels topojson useeio-json useeio From 4bd5a1e2685b2331491bbc5dcbb24869b57bf4f2 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 09:50:59 -0400 Subject: [PATCH 137/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 62fc3659b..5da8a0b4e 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 62fc3659bd502ef72130b371574ee5c4c5d49984 +Subproject commit 5da8a0b4eaab62cbbfc4c2cb88afc830864e25c5 From 284beceb3b9c72752b12ba0d52040965e90127c9 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 13:50:04 -0400 Subject: [PATCH 138/286] Update profile submodule reference --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index f16be460a..8dd756642 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit f16be460aaf077857d9a630682a2bafd0270ec30 +Subproject commit 8dd756642db754dd49f0bb48de02deff6154565d From facf37e98f70df3951bc93e7bfb67324292278ae Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 14:33:38 -0400 Subject: [PATCH 139/286] Update profile submodule reference --- .claude/settings.local.json | 3 ++- exiobase | 2 +- profile | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 606b67403..22e7242e6 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -24,7 +24,8 @@ "Bash(./git.sh:*)", "Bash(yarn build)", "Bash(git rm:*)", - "Bash(git checkout:*)" + "Bash(git checkout:*)", + "Bash(awk:*)" ], "deny": [ "Read(../**)" diff --git a/exiobase b/exiobase index a1e278b0a..a16310044 160000 --- a/exiobase +++ b/exiobase @@ -1 +1 @@ -Subproject commit a1e278b0a2c31878a4773a14a65db5fdbddcbaab +Subproject commit a163100446718f2a085c733e445de4d83a69e2ac diff --git a/profile b/profile index 8dd756642..6f5efcbdd 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit 8dd756642db754dd49f0bb48de02deff6154565d +Subproject commit 6f5efcbdd6a6380b88af6d069ec02bc846c8e6d7 From 63ac1bfc1f4473b403340bef42099e90776d184c Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 16:06:28 -0400 Subject: [PATCH 140/286] Update profile submodule reference --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index 6f5efcbdd..0a32b7fa7 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit 6f5efcbdd6a6380b88af6d069ec02bc846c8e6d7 +Subproject commit 0a32b7fa7e6230df96d53f6976c015777b174900 From e3315f3e0ec7daf7bf9f1cd123196f1bd5fab7b4 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sun, 31 Aug 2025 19:28:39 -0400 Subject: [PATCH 141/286] Add Flask start cmds --- cloud | 2 +- feed | 2 +- localsite | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud b/cloud index cdaf911df..bdaf4b7e9 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit cdaf911dfe12a48b1e1f0bbf3258e6808f11866a +Subproject commit bdaf4b7e91148ce876fa659b82cc0b470b38f23c diff --git a/feed b/feed index 2ea0c840e..f16adb089 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 2ea0c840e5b3510e361c3900637f57bd499941f4 +Subproject commit f16adb0895cfdfbcca03d986e583501b065d96fa diff --git a/localsite b/localsite index 0f7ff261a..0dfc56349 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 0f7ff261a9e82b06f77d316dd2bb0b72a7fd2843 +Subproject commit 0dfc56349c77c7f953b3eb93487a47713fdd7e16 From 3d22ea5daf84477c73681c9494207ce97298150e Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sun, 31 Aug 2025 19:30:02 -0400 Subject: [PATCH 142/286] Token info --- cloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud b/cloud index bdaf4b7e9..6473ae757 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit bdaf4b7e91148ce876fa659b82cc0b470b38f23c +Subproject commit 6473ae75771269e3d24a54f038a1bf261d114e49 From 86e0b7d94775dd6ffd4f6634ac6193a5a315f506 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 19:39:40 -0400 Subject: [PATCH 143/286] Update profile submodule reference --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index 0a32b7fa7..1116323c0 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit 0a32b7fa7e6230df96d53f6976c015777b174900 +Subproject commit 1116323c0736e2126521c77c1403caf20f42d2e7 From b257c61d70056d950ee62948aa1b050f5810f5e2 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 19:40:21 -0400 Subject: [PATCH 144/286] Update profile submodule reference --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index 1116323c0..d2e655057 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit 1116323c0736e2126521c77c1403caf20f42d2e7 +Subproject commit d2e655057fd0302ca42563b0870fb4a259e35e4e From ef5ca725ada2f2bbe866b6556d17660456b7abcc Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Sun, 31 Aug 2025 20:24:17 -0400 Subject: [PATCH 145/286] Update cloud --- cloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud b/cloud index 6473ae757..de33f221e 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit 6473ae75771269e3d24a54f038a1bf261d114e49 +Subproject commit de33f221e2dc107a7bc91001247af9d68ba0cb43 From 83d745dbf12bee0734b03e4e475e2bdb897c8d39 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 23:59:07 -0400 Subject: [PATCH 146/286] Update webroot --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 0f7ff261a..0dfc56349 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 0f7ff261a9e82b06f77d316dd2bb0b72a7fd2843 +Subproject commit 0dfc56349c77c7f953b3eb93487a47713fdd7e16 From 4990d767a9a686b4baae70167ee08caee1403018 Mon Sep 17 00:00:00 2001 From: modelearth Date: Sun, 31 Aug 2025 23:59:22 -0400 Subject: [PATCH 147/286] Update submodule references --- cloud | 2 +- feed | 2 +- localsite | 2 +- profile | 2 +- realitystream | 2 +- trade | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cloud b/cloud index cdaf911df..de33f221e 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit cdaf911dfe12a48b1e1f0bbf3258e6808f11866a +Subproject commit de33f221e2dc107a7bc91001247af9d68ba0cb43 diff --git a/feed b/feed index 2ea0c840e..f16adb089 160000 --- a/feed +++ b/feed @@ -1 +1 @@ -Subproject commit 2ea0c840e5b3510e361c3900637f57bd499941f4 +Subproject commit f16adb0895cfdfbcca03d986e583501b065d96fa diff --git a/localsite b/localsite index 0dfc56349..be6ec8ed9 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 0dfc56349c77c7f953b3eb93487a47713fdd7e16 +Subproject commit be6ec8ed9c6c486d85e2f5b20060b1a351621923 diff --git a/profile b/profile index d2e655057..b775179ef 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit d2e655057fd0302ca42563b0870fb4a259e35e4e +Subproject commit b775179ef0e7287ce502304393bb07f175d26ccf diff --git a/realitystream b/realitystream index 7bd2076c2..14ea3c5a8 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 7bd2076c2c6f53aeb15716dcd6b26d40e174840b +Subproject commit 14ea3c5a8cd672173b8920052b39d7107f611cbb diff --git a/trade b/trade index c4b22849d..1b08bd968 160000 --- a/trade +++ b/trade @@ -1 +1 @@ -Subproject commit c4b22849d66dd0f2e7770314a0cf0043a42c58d0 +Subproject commit 1b08bd96896071977db0310b2a8e3ce2ff339da8 From 040c299007c88a617ee37f0c5cb3e38981ca4e24 Mon Sep 17 00:00:00 2001 From: modelearth Date: Mon, 1 Sep 2025 00:15:55 -0400 Subject: [PATCH 148/286] Update profile submodule reference --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index b775179ef..c68e845a8 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit b775179ef0e7287ce502304393bb07f175d26ccf +Subproject commit c68e845a8e47e5f549ff66bd9421d8aaab5e8a7a From 4c4edbadf328a81aed44ec3aaf0c2815333291f8 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 1 Sep 2025 00:03:52 -0400 Subject: [PATCH 149/286] Update CLAUDE.md --- CLAUDE.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index a46b94626..af867bf22 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -76,7 +76,7 @@ cd .. ## Comprehensive Pull Command ### Pull / Pull All -When you type "pull" or "pull all", run this comprehensive pull workflow that pulls from all parent repos, updates submodules and industry repos: +When you type "pull" or "pull all", run this comprehensive pull workflow that pulls from all parent repos, submodules and industry repos: ```bash ./git.sh pull @@ -101,10 +101,10 @@ gh auth login # Log into different GitHub account ``` When you switch GitHub accounts, the script will: -- **Automatically detect** the new user during commit/update operations +- **Automatically detect** the new user during pull/push operations - **Clear cached git credentials** from previous account - **Refresh authentication** to use new GitHub CLI credentials -- **Update remote URLs** to point to the new user's forks +- **Change remote URLs** to point to the new user's forks - **Create PRs** from the new user's account - **Fork repositories** to the new user's account when needed @@ -115,12 +115,12 @@ When you switch GitHub accounts, the script will: - Prevents permission denied errors from stale credentials **Pull Command Features:** -- **Pull from Parents**: Updates webroot, submodules, and industry repos from their respective ModelEarth parent repositories +- **Pull from Parents**: Pulls webroot, submodules, and industry repos from their respective ModelEarth parent repositories - **Fork-Aware**: Automatically adds upstream remotes for parent repos when working with forks - **Partnertools Exclusion**: Completely skips any repositories associated with partnertools GitHub account - **Merge Strategy**: Uses automatic merge with no-edit to incorporate upstream changes - **Conflict Handling**: Reports merge conflicts for manual resolution when they occur -- **Status Reporting**: Provides clear feedback on what was updated and any issues encountered +- **Status Reporting**: Provides clear feedback on what was pulled and any issues encountered - **Push Guidance**: Prompts user with specific commands for pushing changes back to forks and parent repos - **Comprehensive Workflow**: Handles webroot, all submodules, and all industry repositories in one command From 7bf18b07b944598c67466db12f70776977939bd1 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 1 Sep 2025 02:27:53 -0400 Subject: [PATCH 150/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 5da8a0b4e..27a449623 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 5da8a0b4eaab62cbbfc4c2cb88afc830864e25c5 +Subproject commit 27a449623bf4a20a1f10c47acbf5bd22976fe982 From 090d1ef8f93fb8a07ba8308f79b238424c65a796 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:01:16 -0400 Subject: [PATCH 151/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 27a449623..a417306dc 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 27a449623bf4a20a1f10c47acbf5bd22976fe982 +Subproject commit a417306dc378acd19344ffed4fa04fbbd5c72c9d From 624627b0cfea2de392c633a3df2a5d8ebce23d1c Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:25:37 -0400 Subject: [PATCH 152/286] Update profile submodule reference --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index c68e845a8..e65bb1340 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit c68e845a8e47e5f549ff66bd9421d8aaab5e8a7a +Subproject commit e65bb1340c0e53a02beca704c0aecda919098153 From 5d5cc6aaf55b856f1611d3c0c2c580a1197ce602 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:45:09 -0400 Subject: [PATCH 153/286] Update exiobase --- exiobase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exiobase b/exiobase index a16310044..17c61e029 160000 --- a/exiobase +++ b/exiobase @@ -1 +1 @@ -Subproject commit a163100446718f2a085c733e445de4d83a69e2ac +Subproject commit 17c61e02907ce53d50172029142b2be99aada241 From a812cd9e4b427e04e076324fdd5517843f5a23be Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Mon, 1 Sep 2025 12:58:34 -0400 Subject: [PATCH 154/286] Update profile --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index e65bb1340..a84ad665e 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit e65bb1340c0e53a02beca704c0aecda919098153 +Subproject commit a84ad665e7577f8d63cc2fdba923897060e18784 From 7a768bc283aece37d578e3ce20dd437a0648e5ae Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 10:30:34 -0400 Subject: [PATCH 155/286] Update codechat --- codechat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codechat b/codechat index 94fec7909..914169ccb 160000 --- a/codechat +++ b/codechat @@ -1 +1 @@ -Subproject commit 94fec7909b5ae4fd1b0ed29aa5f17e02f68429c5 +Subproject commit 914169ccb8baa35e20b93d37af6bc43c8b4e35ac From 9acf2b33f588cd0a336ad5ded501cda21d83e119 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 10:30:38 -0400 Subject: [PATCH 156/286] Update cloud --- cloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud b/cloud index de33f221e..34421722e 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit de33f221e2dc107a7bc91001247af9d68ba0cb43 +Subproject commit 34421722e8de468d5450701e1547297ad7542d6f From 049c76d0d2c2f61fc1d7dd30256d257b22e10db0 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 11:48:55 -0400 Subject: [PATCH 157/286] Update profile --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index a84ad665e..156c7e890 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit a84ad665e7577f8d63cc2fdba923897060e18784 +Subproject commit 156c7e890935aba4f3de67bfe270eb662d5c09f4 From a38740899da18321370be298a1f7d9e3126d49fc Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:49:02 -0400 Subject: [PATCH 158/286] Update team --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index a417306dc..c75aaa73a 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit a417306dc378acd19344ffed4fa04fbbd5c72c9d +Subproject commit c75aaa73a55dd810caae761d178bafac99597c7f From 344465a6b973ae23bff771015e09fa217d74e07b Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 14:49:58 -0400 Subject: [PATCH 159/286] Update profile --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index 156c7e890..37196f79c 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit 156c7e890935aba4f3de67bfe270eb662d5c09f4 +Subproject commit 37196f79c899971f93481b637196102914f62c2c From 075913b6fc00f8a7dada4d4aae428fec3470318a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 18:51:44 -0400 Subject: [PATCH 160/286] Update codechat --- codechat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codechat b/codechat index 914169ccb..7683bf7f5 160000 --- a/codechat +++ b/codechat @@ -1 +1 @@ -Subproject commit 914169ccb8baa35e20b93d37af6bc43c8b4e35ac +Subproject commit 7683bf7f55b4f8e29257cbbe2ed7b68ad8c7d333 From 8547b1002141c190fe5a18a6a01c1521a9ef9143 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 19:35:09 -0400 Subject: [PATCH 161/286] Revert to more --- .github/workflows/vector_sync.yml | 60 +++++++------------------------ 1 file changed, 12 insertions(+), 48 deletions(-) diff --git a/.github/workflows/vector_sync.yml b/.github/workflows/vector_sync.yml index a99faaf2b..710a8fa84 100644 --- a/.github/workflows/vector_sync.yml +++ b/.github/workflows/vector_sync.yml @@ -4,39 +4,17 @@ on: # Run when a PR is merged into main pull_request: types: [closed] - branches: - - main - paths: - - 'src/**' - - 'scripts/**' - - 'data/**' - - 'requirements.txt' - - '.gitmodules' - - '**/*.py' - - '**/*.js' - - '**/*.rs' - - 'CLAUDE.md' # Run on direct pushes to main branch push: branches: - main - paths: - - 'src/**' - - 'scripts/**' - - 'data/**' - - 'requirements.txt' - - '.gitmodules' - - '**/*.py' - - '**/*.js' - - '**/*.rs' - - 'CLAUDE.md' jobs: sync: # For PR: only if merged into main if: | - (github.event_name == 'pull_request' && github.event.pull_request.merged == true) || + (github.event_name == 'pull_request' && github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main') || (github.event_name == 'push' && github.ref == 'refs/heads/main') runs-on: ubuntu-latest @@ -54,32 +32,24 @@ jobs: - name: Install dependencies run: | - set -e python -m pip install --upgrade pip - pip install -r requirements.txt + pip install -r requirements.txt || true - name: Detect changed files (root + submodules) run: | - set -e # fail on errors - echo "🔎 Detecting changes..." - if [ "${{ github.event_name }}" == "push" ]; then echo "Push to main branch detected" - base_sha="${{ github.event.before }}" - head_sha="${{ github.sha }}" + git diff --name-status HEAD^ HEAD > changed_files.txt || true else echo "Pull request merged into main detected" - base_sha="${{ github.event.pull_request.base.sha }}" - head_sha="${{ github.sha }}" + git diff --name-status origin/main HEAD > changed_files.txt || true fi - echo "Comparing $base_sha → $head_sha" - git diff --name-status $base_sha $head_sha > changed_files.txt cat changed_files.txt echo "🔎 Detecting submodule pointer changes..." - git diff --submodule $base_sha $head_sha > submodule_changes.txt || true + git diff --submodule > submodule_changes.txt || true cat submodule_changes.txt echo "🔎 Expanding submodule changes into file-level diffs..." @@ -94,20 +64,14 @@ jobs: git diff --name-status $oldsha $newsha | sed "s|^|$submodule/|" >> ../changed_files.txt popd > /dev/null fi - done < <(git diff --submodule $base_sha $head_sha | grep Submodule) + done < <(git diff --submodule | grep Submodule) echo "✅ Final changed files list:" cat changed_files.txt - - name: Skip notice if no changes - if: hashFiles('changed_files.txt') == '' - run: echo "⚡ No relevant file changes detected — skipping VectorDB sync" - - - name: Run VectorDB Sync - if: success() && hashFiles('changed_files.txt') != '' - env: - PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - run: | - echo "🚀 Running VectorDB Sync (changes detected)" - python scripts/sync_pinecone.py changed_files.txt \ No newline at end of file +# - name: Run VectorDB Sync +# env: +# PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} +# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} +# run: | +# python scripts/sync_pinecone.py changed_files.txt \ No newline at end of file From 78469daddb6adfb4db6526a1b4c5d2a36c1e4fde Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 20:03:30 -0400 Subject: [PATCH 162/286] Update localsite --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index be6ec8ed9..6e1e0eb95 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit be6ec8ed9c6c486d85e2f5b20060b1a351621923 +Subproject commit 6e1e0eb9505e5d06551b71666f0fe20a8351616a From 06a8640be398853cc9d41eb50b3df8afc7279cbb Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 21:55:40 -0400 Subject: [PATCH 163/286] Intro --- cloud | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud b/cloud index 34421722e..1e4a2e3d8 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit 34421722e8de468d5450701e1547297ad7542d6f +Subproject commit 1e4a2e3d88cf3b33fd60e927c4c32bf9090cac2b From 760a46d9f727af0aaecaf55ff1556ea227326714 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Tue, 2 Sep 2025 21:57:31 -0400 Subject: [PATCH 164/286] header --- codechat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codechat b/codechat index 7683bf7f5..c0cc86090 160000 --- a/codechat +++ b/codechat @@ -1 +1 @@ -Subproject commit 7683bf7f55b4f8e29257cbbe2ed7b68ad8c7d333 +Subproject commit c0cc86090d22cc0918f49ad494cdcc480fd18b68 From 7995ee9b581950fd97fc908e4aff33ceddb2e0ca Mon Sep 17 00:00:00 2001 From: modelearth Date: Wed, 3 Sep 2025 18:40:16 -0400 Subject: [PATCH 165/286] Update localsite --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index be6ec8ed9..3c4a0eab2 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit be6ec8ed9c6c486d85e2f5b20060b1a351621923 +Subproject commit 3c4a0eab2aae977f8dad1fb3dc9f94b5a7f6874f From a82927edfab5fae1e7d89f0bb1b10bf9deb934b6 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 3 Sep 2025 20:20:00 -0400 Subject: [PATCH 166/286] Update localsite --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index 6e1e0eb95..1fea94b94 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 6e1e0eb9505e5d06551b71666f0fe20a8351616a +Subproject commit 1fea94b94b668c9b3b1d9a9fa6843c9102f0b65e From 417b6a6782dfe029eb51d63863322afbb668c256 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 3 Sep 2025 21:51:24 -0400 Subject: [PATCH 167/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index c75aaa73a..8dd251ee0 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit c75aaa73a55dd810caae761d178bafac99597c7f +Subproject commit 8dd251ee0882b6a3bd5a52cac956eae051e21982 From caecec827b8eb77453d02a2b00b322848c8ef57f Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 3 Sep 2025 21:53:00 -0400 Subject: [PATCH 168/286] Update webroot --- cloud | 2 +- localsite | 2 +- realitystream | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud b/cloud index 1e4a2e3d8..c7187ab61 160000 --- a/cloud +++ b/cloud @@ -1 +1 @@ -Subproject commit 1e4a2e3d88cf3b33fd60e927c4c32bf9090cac2b +Subproject commit c7187ab61192f384437836b476590791009c11bc diff --git a/localsite b/localsite index 1fea94b94..bfbb706a5 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit 1fea94b94b668c9b3b1d9a9fa6843c9102f0b65e +Subproject commit bfbb706a5317e2faf1d2c5c511a5fc3c34ef3e22 diff --git a/realitystream b/realitystream index 14ea3c5a8..3ee685457 160000 --- a/realitystream +++ b/realitystream @@ -1 +1 @@ -Subproject commit 14ea3c5a8cd672173b8920052b39d7107f611cbb +Subproject commit 3ee685457817162067a4253d413d06fcf5d4f77d From d2cb2fe32a55558d382c978087b565c5b8a582ff Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 3 Sep 2025 21:53:14 -0400 Subject: [PATCH 169/286] Update submodule references --- comparison | 2 +- profile | 2 +- projects | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/comparison b/comparison index 3c6f53373..b8ad47bb5 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit 3c6f533734929187ae8a051861c8b39452c19e32 +Subproject commit b8ad47bb5eb194328cbaee1b73c3b7c3c590646e diff --git a/profile b/profile index 37196f79c..6c04142eb 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit 37196f79c899971f93481b637196102914f62c2c +Subproject commit 6c04142eb13364b9aaac533a98566610ff7b7011 diff --git a/projects b/projects index abbe1c2da..35a2d9c11 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit abbe1c2dab3e58975e0426b9be522744aa0ba7fd +Subproject commit 35a2d9c1160786687b21d68837a607919b43f165 From 7c6d8da79a4d71fe4ba14106dd10068fe6d3147a Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Wed, 3 Sep 2025 22:07:21 -0400 Subject: [PATCH 170/286] Update exiobase submodule reference --- exiobase | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exiobase b/exiobase index 17c61e029..d85071f9e 160000 --- a/exiobase +++ b/exiobase @@ -1 +1 @@ -Subproject commit 17c61e02907ce53d50172029142b2be99aada241 +Subproject commit d85071f9e09e4b8ec09ee3ff37f59cc9e53daff5 From 34b5a895abab7f671c0370f9181aaa2e6b2c0857 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 4 Sep 2025 01:57:20 -0400 Subject: [PATCH 171/286] Update team submodule reference --- team | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/team b/team index 8dd251ee0..4f41194f7 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 8dd251ee0882b6a3bd5a52cac956eae051e21982 +Subproject commit 4f41194f7e709f2487d9dabe5f9383b3688565e0 From cfbab3a70792aa483738bf53c15a9e8d05da3b49 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 4 Sep 2025 02:11:41 -0400 Subject: [PATCH 172/286] Push completion --- localsite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localsite b/localsite index bfbb706a5..b11e06037 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit bfbb706a5317e2faf1d2c5c511a5fc3c34ef3e22 +Subproject commit b11e06037e2fe487858b9f45f11b4d52e11d8659 From 2e1065c7493b4dbd682caff3a2ea6e00d9ba22eb Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 4 Sep 2025 10:25:36 -0400 Subject: [PATCH 173/286] Update webroot --- CLAUDE.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index af867bf22..78a5d77d6 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -73,6 +73,21 @@ cd .. - Build and test changes as needed, but do not commit automatically - The user controls when changes are committed to the repository +## HTML File Standards + +**UTF-8 Character Encoding**: Always include `` in the `` section of new HTML pages to ensure proper character rendering and prevent display issues with special characters. + +```html + + + + + + +``` + +**Exceptions**: Do not add charset declarations to redirect pages or template fragments that are included in other pages, as they inherit encoding from their parent documents. + ## Comprehensive Pull Command ### Pull / Pull All From b814fe314af2415536fece786a3ed61768b7b9d3 Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 4 Sep 2025 10:26:01 -0400 Subject: [PATCH 174/286] Update submodule references --- comparison | 2 +- localsite | 2 +- products | 2 +- profile | 2 +- projects | 2 +- team | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/comparison b/comparison index b8ad47bb5..171c5ff77 160000 --- a/comparison +++ b/comparison @@ -1 +1 @@ -Subproject commit b8ad47bb5eb194328cbaee1b73c3b7c3c590646e +Subproject commit 171c5ff773fd273ad191c95aee9f52141bf55883 diff --git a/localsite b/localsite index b11e06037..d85d11130 160000 --- a/localsite +++ b/localsite @@ -1 +1 @@ -Subproject commit b11e06037e2fe487858b9f45f11b4d52e11d8659 +Subproject commit d85d11130e8f0874fded1126ebb2d5d44019714c diff --git a/products b/products index d6b022bbb..5fd7580fb 160000 --- a/products +++ b/products @@ -1 +1 @@ -Subproject commit d6b022bbb6d653ed23fbfd51c96e44ded11e596a +Subproject commit 5fd7580fb7307046ca75b92b93ded253636dc3af diff --git a/profile b/profile index 6c04142eb..0ec334151 160000 --- a/profile +++ b/profile @@ -1 +1 @@ -Subproject commit 6c04142eb13364b9aaac533a98566610ff7b7011 +Subproject commit 0ec334151ddf6cb7cb790291768b4f6ee96c9093 diff --git a/projects b/projects index 35a2d9c11..07875a6d6 160000 --- a/projects +++ b/projects @@ -1 +1 @@ -Subproject commit 35a2d9c1160786687b21d68837a607919b43f165 +Subproject commit 07875a6d644d9b381cffd69d5ffef82e54f1c0d0 diff --git a/team b/team index 4f41194f7..70c5dc25c 160000 --- a/team +++ b/team @@ -1 +1 @@ -Subproject commit 4f41194f7e709f2487d9dabe5f9383b3688565e0 +Subproject commit 70c5dc25cf7c4a8485c50405f88bb10a08bb2948 From eb8ba28288eed23416759b56329aa0baa7b70fef Mon Sep 17 00:00:00 2001 From: ModelEarth <48058099+ModelEarth@users.noreply.github.com> Date: Thu, 4 Sep 2025 12:23:42 -0400 Subject: [PATCH 175/286] Update webroot --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index 7afdaecaa..e4d6f77c9 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,10 @@ + + + + - - -