diff options
| author | Your Name <you@example.com> | 2026-05-28 23:52:04 +0530 |
|---|---|---|
| committer | Your Name <you@example.com> | 2026-05-28 23:52:04 +0530 |
| commit | 5e603764266568084eaae9ec0e0b130e7f233402 (patch) | |
| tree | 0a480d2ba480491957bb6d09f77ada7495325e45 /REMOTES.md | |
| parent | 8f18b7ac6cf65a1de7f2ebddb19de9070c3b9657 (diff) | |
docs: update all plans with current board inventory and smoke test results
- Board A (ttyACM1): USB flash failing, cable issue
- Board B (ttyACM0): Flashed esp32-tollgate, smoke test 6/9 pass
- NerdAxe (ttyACM2, fan-damaged): TOLLGATE=1 flashed, crash loop in APIsFetcher
- Working NerdAxe (ttyACM1, 80:b5:4e:c7:7a:d0): Can't flash (USB brownout)
- Test mint intermittently down (TLS error)
- Firewall not blocking unpaid clients (needs investigation)
Diffstat (limited to 'REMOTES.md')
| -rw-r--r-- | REMOTES.md | 158 |
1 files changed, 78 insertions, 80 deletions
| @@ -11,71 +11,79 @@ | |||
| 11 | | Name | URL | Type | Purpose | | 11 | | Name | URL | Type | Purpose | |
| 12 | |------|-----|------|---------| | 12 | |------|-----|------|---------| |
| 13 | | `origin` | `nostr://npub12m5.../relay.ngit.dev/esp32-tollgate` | nostr (ngit) | Primary ngit relay | | 13 | | `origin` | `nostr://npub12m5.../relay.ngit.dev/esp32-tollgate` | nostr (ngit) | Primary ngit relay | |
| 14 | | `orangesync` | `nostr://npub12m5.../ngit.orangesync.tech/esp32-tollgate` | nostr (ngit) | Self-hosted ngit relay | | 14 | | `orangesync` | `nostr://npub12m5.../ngit.orangesync.tech/esp32-tollgate` | nostr (ngit) | Self-hosted ngit relay (offline) | |
| 15 | | `github` | `https://github.com/OpenTollGate/tollgate-esp32` | HTTPS | Primary GitHub mirror | | ||
| 16 | | `ngit-dev` | `nostr://npub12m5.../relay.ngit.dev/esp32-tollgate` | nostr (ngit) | Public ngit relay (same as origin) | | ||
| 17 | | `gitnostr` | `nostr://npub12m5.../gitnostr.com/esp32-tollgate` | nostr (ngit) | gitnostr.com (auth issues) | | ||
| 15 | 18 | ||
| 16 | ## Infrastructure | 19 | ## Infrastructure |
| 17 | 20 | ||
| 18 | | Service | URL | Role | | 21 | | Service | URL | Role | Status | |
| 19 | |---------|-----|------| | 22 | |---------|-----|------|--------| |
| 20 | | GRASP (Git Server) | `https://git.orangesync.tech` | Git smart HTTP over Nostr (NIP-34) | | 23 | | GitHub (primary) | `https://github.com/OpenTollGate/tollgate-esp32` | Main code host | Active | |
| 21 | | ngit Relay (Nostr) | `wss://ngit.orangesync.tech` | Nostr relay for git state events | | 24 | | GitHub (NerdQAxePlus) | `https://github.com/c03rad0r/ESP-Miner-NerdQAxePlus` | Fork repo | Active | |
| 22 | | GitWorkshop | `https://workshop.orangesync.tech` | Web UI for browsing nostr git repos | | 25 | | GRASP (Git Server) | `https://git.orangesync.tech` | Git smart HTTP over Nostr | Offline | |
| 23 | | relay.ngit.dev | `wss://relay.ngit.dev` | Public ngit relay (secondary) | | 26 | | ngit Relay (Nostr) | `wss://ngit.orangesync.tech` | Nostr relay for git state events | Offline | |
| 24 | 27 | | GitWorkshop | `https://workshop.orangesync.tech` | Web UI for browsing nostr git repos | Offline | | |
| 25 | ## GRASP Servers | 28 | | relay.ngit.dev | `wss://relay.ngit.dev` | Public ngit relay (most reliable) | Active | |
| 26 | 29 | | gitnostr.com | `https://gitnostr.com` | Public ngit relay | Auth issues | | |
| 27 | Configured in NIP-34 repo announcement: | 30 | | IDF Component Registry | `components.espressif.com/c03rad0r/tollgate_core` | Published component v1.2.0 | Active | |
| 28 | 31 | ||
| 29 | - `git.orangesync.tech` (self-hosted, primary) | 32 | ## Branches (esp32-tollgate) |
| 30 | - `relay.anzenkodo.workers.dev` | 33 | |
| 31 | - `nostr.koning-degraaf.nl` | 34 | | Branch | HEAD | Status | Pushed to | |
| 32 | - `relay.damus.io` | 35 | |--------|------|--------|-----------| |
| 33 | - `nos.lol` | 36 | | `master` | `10c69b0` | Production | GitHub, relay.ngit.dev | |
| 34 | 37 | | `feature/tollgate-core-v2` | `8f18b7a` (v1.3.0) | Active — tollgate_core extraction + fixes | GitHub, relay.ngit.dev | | |
| 35 | ## Additional Relays | 38 | | `feature/miner-integration` | `e75c350` | Merged into feature/tollgate-core-v2 | — | |
| 36 | 39 | | `feature/tollgate-core-component` | `144b48f` | Superseded by feature/tollgate-core-v2 | — | | |
| 37 | - `wss://ngit.orangesync.tech` (self-hosted, for state events) | 40 | | `feature/display-fix` | `565d6a7` | Stale — Playwright E2E test plan | No | |
| 38 | 41 | | `feature/cvm-integration` | `2cd372c` | Merged to master | Yes | | |
| 39 | ## Branches | 42 | | `feature/local-relay` | `25eb0c5` | Merged to master | Yes | |
| 40 | 43 | | `feature/mining-payment` | `ef9ae98` | Merged to master | Yes | | |
| 41 | | Branch | HEAD | Status | Merged into master | | 44 | |
| 42 | |--------|------|--------|--------------------| | 45 | ## Branches (NerdQAxePlus) |
| 43 | | `master` | `62bce81` | Production | — | | 46 | |
| 44 | | `feature/miner-integration` | `e75c350` | Active — tollgate_core C++ compat + NerdQAxePlus integration | No | | 47 | | Branch | HEAD | Status | Pushed to | |
| 45 | | `feature/tollgate-core-component` | `144b48f` | Active — original tollgate_core extraction + E2E fixes | No | | 48 | |--------|------|--------|-----------| |
| 46 | | `feature/display-fix` | `565d6a7` | Stale — Playwright E2E test plan for /setup | No | | 49 | | `develop` | `a2fd1fa6` | Active — 9 TollGate commits rebased on upstream `4b8f3225` | GitHub | |
| 47 | | `feature/cvm-integration` | `2cd372c` | Merged to master | Yes (squashed) | | ||
| 48 | | `feature/local-relay` | `25eb0c5` | Merged to master | Yes (squashed) | | ||
| 49 | | `feature/mining-payment` | `ef9ae98` | Merged to master | Yes (squashed as `e366ceb`) | | ||
| 50 | | `backup/multi-mint-support-pre-rebase` | `ef2de0f` | Backup only | N/A | | ||
| 51 | 50 | ||
| 52 | ## Local Worktrees | 51 | ## Local Worktrees |
| 53 | 52 | ||
| 54 | | Path | Branch | Purpose | | 53 | | Path | Branch | Purpose | |
| 55 | |------|--------|---------| | 54 | |------|--------|---------| |
| 56 | | `/home/c03rad0r/esp32-tollgate` | `master` | Main repo (clean, for other LLM sessions) | | 55 | | `/home/c03rad0r/esp32-tollgate` | `feature/tollgate-core-v2` | Main working repo | |
| 57 | | `/home/c03rad0r/esp32-miner-integration` | `feature/miner-integration` | tollgate_core + mining integration | | 56 | | `/home/c03rad0r/esp-miner-nerdqaxeplus` | `develop` | NerdQAxePlus fork | |
| 58 | | `/home/c03rad0r/esp32-tollgate-arch` | `feature/tollgate-core-component` | Architecture branch (original component extraction) | | 57 | |
| 58 | ## Board Inventory | ||
| 59 | |||
| 60 | | Board | Port | MAC | SSID | AP IP | Notes | | ||
| 61 | |-------|------|-----|------|-------|-------| | ||
| 62 | | A | `/dev/ttyACM1` | `94:a9:90:2e:37:7c` | `TollGate-B96D80` | `10.185.47.1` | USB flash failing, cable issue | | ||
| 63 | | B | `/dev/ttyACM0` | `fc:01:2c:c5:50:50` | `TollGate-C0E9CA` | `10.192.45.1` | Flashed with NerdQAxePlus TOLLGATE=1 | | ||
| 64 | | NerdAxe | `/dev/ttyACM2` | `80:b5:4e:c7:79:88` | TBD | TBD | Actual BM1366 ASIC, fan-damaged | | ||
| 65 | |||
| 66 | **Important:** Ports shift on every USB replug. Always verify with `esptool --port <port> chip-id`. | ||
| 59 | 67 | ||
| 60 | ## Cross-Referenced Repositories | 68 | ## Cross-Referenced Repositories |
| 61 | 69 | ||
| 62 | ### esp-miner-nerdqaxeplus-tollgate (NerdQAxePlus Fork) | 70 | ### ESP-Miner-NerdQAxePlus (Fork) |
| 63 | 71 | ||
| 64 | - **Identifier:** `esp-miner-nerdqaxeplus-tollgate` | 72 | - **GitHub:** `https://github.com/c03rad0r/ESP-Miner-NerdQAxePlus` |
| 65 | - **naddr:** `naddr1qq0k2ums94kkjmn9wgkkuetjv3ckz7r9wpk82uedw3hkcmr8v96x2q3q2m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquqxpqqqpmejqgewaehxw309ankjapwdaexzmn8v4ehjmnr9e6x2cmggeq0vl` | ||
| 66 | - **Clone:** `/home/c03rad0r/esp-miner-nerdqaxeplus` | 73 | - **Clone:** `/home/c03rad0r/esp-miner-nerdqaxeplus` |
| 67 | - **Branch:** `develop` (HEAD `83e09ab9`) | 74 | - **Branch:** `develop` (HEAD `a2fd1fa6`) |
| 68 | - **Upstream:** `https://github.com/shufps/ESP-Miner-NerdQAxePlus` | 75 | - **Upstream:** `https://github.com/shufps/ESP-Miner-NerdQAxePlus` |
| 69 | - **Nostr remote:** `nostr://npub12m5.../git.orangesync.tech/esp-miner-nerdqaxeplus-tollgate` | 76 | - **Dependency:** Uses `tollgate_core` component v1.3.0 (rsynced from esp32-tollgate) |
| 70 | - **Dependency:** Uses `tollgate_core` component from `feature/miner-integration` branch (symlinked at `components/tollgate_core`) | 77 | - **Build:** `TOLLGATE=1 BOARD=NERDQAXEPLUS idf.py build` (or `BOARD=NERDAXE` for BM1366 variant) |
| 71 | - **Build:** `BOARD=NERDAXE TOLLGATE=1 idf.py build` | 78 | - **Nostr remote:** `ngit-dev` added but push deferred (repo too large) |
| 72 | - **See:** `REMOTES.md` in that repo for full details | ||
| 73 | 79 | ||
| 74 | ### tollgate_core Component | 80 | ### tollgate_core Component |
| 75 | 81 | ||
| 76 | - **Source:** `components/tollgate_core/` on `feature/miner-integration` branch | 82 | - **Source:** `components/tollgate_core/` on `feature/tollgate-core-v2` |
| 77 | - **Files:** 7 C source files, 2 public headers, CMakeLists.txt, idf_component.yml | 83 | - **Version:** v1.3.0 |
| 78 | - **Design doc:** `docs/TOLLGATE_CORE_DESIGN.md` on `feature/tollgate-core-component` branch | 84 | - **Registry:** `c03rad0r/tollgate_core` on components.espressif.com (v1.2.0 published, v1.3.0 pending) |
| 85 | - **Files:** 13 C source files, 2 public headers, CMakeLists.txt, idf_component.yml | ||
| 86 | - **Design doc:** `docs/TOLLGATE_CORE_DESIGN.md` | ||
| 79 | 87 | ||
| 80 | ## Backup Bundles | 88 | ## Backup Bundles |
| 81 | 89 | ||
| @@ -85,46 +93,36 @@ Configured in NIP-34 repo announcement: | |||
| 85 | | `/home/c03rad0r/mining-work-backup/feature-mining-payment.bundle` | `feature/mining-payment` branch | ~755KB | | 93 | | `/home/c03rad0r/mining-work-backup/feature-mining-payment.bundle` | `feature/mining-payment` branch | ~755KB | |
| 86 | | `/home/c03rad0r/mining-work-backup/nerdqaxeplus-tollgate.bundle` | NerdQAxePlus `develop` branch | ~48MB | | 94 | | `/home/c03rad0r/mining-work-backup/nerdqaxeplus-tollgate.bundle` | NerdQAxePlus `develop` branch | ~48MB | |
| 87 | 95 | ||
| 88 | ### Restore from bundle | ||
| 89 | |||
| 90 | ```bash | ||
| 91 | # Clone from bundle | ||
| 92 | git clone feature-miner-integration-latest.bundle -b feature/miner-integration esp32-tollgate-restored | ||
| 93 | |||
| 94 | # Or fetch into existing repo | ||
| 95 | git remote add bundle-src /home/c03rad0r/mining-work-backup/feature-miner-integration-latest.bundle | ||
| 96 | git fetch bundle-src | ||
| 97 | git checkout -b feature/miner-integration bundle-src/feature/miner-integration | ||
| 98 | ``` | ||
| 99 | |||
| 100 | ## How to Push | 96 | ## How to Push |
| 101 | 97 | ||
| 102 | ```bash | 98 | ```bash |
| 103 | # Push all branches to orangesync | 99 | # esp32-tollgate → GitHub (primary) |
| 104 | git push orangesync --all | 100 | git push github master |
| 101 | git push github feature/tollgate-core-v2 | ||
| 105 | 102 | ||
| 106 | # Push specific branch | 103 | # esp32-tollgate → nostr |
| 107 | git push orangesync feature/miner-integration | 104 | git push ngit-dev --all |
| 108 | 105 | ||
| 109 | # Push to both remotes | 106 | # NerdQAxePlus → GitHub |
| 110 | git push origin master && git push orangesync master | 107 | cd /home/c03rad0r/esp-miner-nerdqaxeplus |
| 108 | git push github develop | ||
| 111 | 109 | ||
| 112 | # Update repo metadata | 110 | # IDF Component Registry |
| 113 | ngit repo edit -d -g git.orangesync.tech --relay wss://ngit.orangesync.tech | 111 | compote component pack --path components/tollgate_core |
| 114 | 112 | compote component upload --name tollgate_core --namespace c03rad0r | |
| 115 | # Sync (force GRASP servers to update) | ||
| 116 | ngit sync -d -v | ||
| 117 | ``` | 113 | ``` |
| 118 | 114 | ||
| 119 | ## Nostr Push Troubleshooting | 115 | ## Nostr Push Troubleshooting |
| 120 | 116 | ||
| 121 | The "failed to list from https://..." messages during `git push` are **cosmetic noise** from third-party nostr relays that don't support git smart HTTP. The actual push succeeds — look for "Everything up-to-date" or "new state" from the primary relay in the output. | 117 | The "failed to list from https://..." messages during `git push` are cosmetic noise from relays that don't support git smart HTTP. Look for "Everything up-to-date" or "new state" from the primary relay. |
| 122 | 118 | ||
| 123 | Key pattern: | 119 | - **relay.ngit.dev** — most reliable, always works |
| 124 | ``` | 120 | - **gitnostr.com** — auth issues, often fails |
| 125 | failed to list from https://nos.lol/... ← cosmetic, ignore | 121 | - **ngit.orangesync.tech** — offline |
| 126 | failed to list from https://relay.damus.io/... ← cosmetic, ignore | 122 | |
| 127 | To nostr://npub.../ngit.orangesync.tech/esp32-tollgate | 123 | ## Current Status |
| 128 | = [up to date] master -> master ← actual result | 124 | |
| 129 | Everything up-to-date | 125 | - **orangesync.tech** — entirely offline (git, ngit, relay all DOWN) |
| 130 | ``` | 126 | - **GitHub** — primary remote, active |
| 127 | - **relay.ngit.dev** — secondary, working | ||
| 128 | - **IDF Component Registry** — v1.2.0 live, v1.3.0 pending upload | ||