upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-05-20 00:59:27 +0530
committerYour Name <you@example.com>2026-05-20 00:59:27 +0530
commit2c12c4281c47aa87a1c7bb82abe09bf9dbc788c3 (patch)
tree2242cdd366c321aa247b69bfce4f6e493f938706
parent62bce81d26994bd242035905c94d611cf956bd37 (diff)
docs: add REMOTES.md with full remote/branch/cross-ref map, update AGENTS.md with git remotes section
-rw-r--r--AGENTS.md13
-rw-r--r--REMOTES.md130
2 files changed, 143 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index f46de4d..7c7d8d7 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -243,4 +243,17 @@ make flash-b # flash to Board B
243- Portal HTML has server-side template substitution (`__AP_IP__`, `__PRICE__`, `__MINT_URL__`) — no JS fetch 243- Portal HTML has server-side template substitution (`__AP_IP__`, `__PRICE__`, `__MINT_URL__`) — no JS fetch
244- **WiFi country code:** Must set `esp_wifi_set_country_code("DE")` before `esp_wifi_start()` — defaults to CN which causes auth failures on EU APs 244- **WiFi country code:** Must set `esp_wifi_set_country_code("DE")` before `esp_wifi_start()` — defaults to CN which causes auth failures on EU APs
245- Default nsec: `a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2` 245- Default nsec: `a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2`
246
247## Git Remotes & Repositories
248
249Full details in `REMOTES.md`. Key facts:
250
251- **This repo** (`esp32-tollgate`): `nostr://npub12m5.../git.orangesync.tech/esp32-tollgate`
252- **GRASP server:** `git.orangesync.tech` (git smart HTTP)
253- **Nostr relay:** `wss://ngit.orangesync.tech` (state events)
254- **GitWorkshop:** `workshop.orangesync.tech` (web UI)
255- **NerdQAxePlus fork:** `nostr://npub12m5.../git.orangesync.tech/esp-miner-nerdqaxeplus-tollgate`
256- **Worktrees:** `esp32-miner-integration` (feature/miner-integration), `esp32-tollgate-arch` (feature/tollgate-core-component)
257- **Push commands:** `git push orangesync --all` (esp32-tollgate), `git push ngit-origin develop` (NerdQAxePlus)
258- **Backup bundles:** `/home/c03rad0r/mining-work-backup/`
246- Board A nsec: `9af47906b45aca5e238390f3d03c8274e154198e81aa2095065627d1e61ca968` 259- Board A nsec: `9af47906b45aca5e238390f3d03c8274e154198e81aa2095065627d1e61ca968`
diff --git a/REMOTES.md b/REMOTES.md
new file mode 100644
index 0000000..5988e8e
--- /dev/null
+++ b/REMOTES.md
@@ -0,0 +1,130 @@
1# Git Remotes — esp32-tollgate
2
3## Nostr Identity
4
5- **npub:** `npub12m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquq4j4szl`
6- **naddr coordinate:** `naddr1qq8x2umsxvez6ar0d3kxwct5v5pzq4hfjdk4edzdm4at33gxl07ge33pgvd8uqc0rj9chnjjegtu4xpcqvzqqqrhnyq3gamnwvaz7tmjv4kxz7fwdenkjapwv3jhv3t9utz`
7- **ngit version:** 2.3.0
8
9## Remotes
10
11| Name | URL | Type | Purpose |
12|------|-----|------|---------|
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 |
15
16## Infrastructure
17
18| Service | URL | Role |
19|---------|-----|------|
20| GRASP (Git Server) | `https://git.orangesync.tech` | Git smart HTTP over Nostr (NIP-34) |
21| ngit Relay (Nostr) | `wss://ngit.orangesync.tech` | Nostr relay for git state events |
22| GitWorkshop | `https://workshop.orangesync.tech` | Web UI for browsing nostr git repos |
23| relay.ngit.dev | `wss://relay.ngit.dev` | Public ngit relay (secondary) |
24
25## GRASP Servers
26
27Configured in NIP-34 repo announcement:
28
29- `git.orangesync.tech` (self-hosted, primary)
30- `relay.anzenkodo.workers.dev`
31- `nostr.koning-degraaf.nl`
32- `relay.damus.io`
33- `nos.lol`
34
35## Additional Relays
36
37- `wss://ngit.orangesync.tech` (self-hosted, for state events)
38
39## Branches
40
41| Branch | HEAD | Status | Merged into master |
42|--------|------|--------|--------------------|
43| `master` | `62bce81` | Production | — |
44| `feature/miner-integration` | `e75c350` | Active — tollgate_core C++ compat + NerdQAxePlus integration | No |
45| `feature/tollgate-core-component` | `144b48f` | Active — original tollgate_core extraction + E2E fixes | No |
46| `feature/display-fix` | `565d6a7` | Stale — Playwright E2E test plan for /setup | No |
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
52## Local Worktrees
53
54| Path | Branch | Purpose |
55|------|--------|---------|
56| `/home/c03rad0r/esp32-tollgate` | `master` | Main repo (clean, for other LLM sessions) |
57| `/home/c03rad0r/esp32-miner-integration` | `feature/miner-integration` | tollgate_core + mining integration |
58| `/home/c03rad0r/esp32-tollgate-arch` | `feature/tollgate-core-component` | Architecture branch (original component extraction) |
59
60## Cross-Referenced Repositories
61
62### esp-miner-nerdqaxeplus-tollgate (NerdQAxePlus Fork)
63
64- **Identifier:** `esp-miner-nerdqaxeplus-tollgate`
65- **naddr:** `naddr1qq0k2ums94kkjmn9wgkkuetjv3ckz7r9wpk82uedw3hkcmr8v96x2q3q2m5exm2uk3xa674cc5r0hlyvccs5xxn7qv83ezuteefv5972nquqxpqqqpmejqgewaehxw309ankjapwdaexzmn8v4ehjmnr9e6x2cmggeq0vl`
66- **Clone:** `/home/c03rad0r/esp-miner-nerdqaxeplus`
67- **Branch:** `develop` (HEAD `83e09ab9`)
68- **Upstream:** `https://github.com/shufps/ESP-Miner-NerdQAxePlus`
69- **Nostr remote:** `nostr://npub12m5.../git.orangesync.tech/esp-miner-nerdqaxeplus-tollgate`
70- **Dependency:** Uses `tollgate_core` component from `feature/miner-integration` branch (symlinked at `components/tollgate_core`)
71- **Build:** `BOARD=NERDAXE TOLLGATE=1 idf.py build`
72- **See:** `REMOTES.md` in that repo for full details
73
74### tollgate_core Component
75
76- **Source:** `components/tollgate_core/` on `feature/miner-integration` branch
77- **Files:** 7 C source files, 2 public headers, CMakeLists.txt, idf_component.yml
78- **Design doc:** `docs/TOLLGATE_CORE_DESIGN.md` on `feature/tollgate-core-component` branch
79
80## Backup Bundles
81
82| File | Contents | Size |
83|------|----------|------|
84| `/home/c03rad0r/mining-work-backup/feature-miner-integration-latest.bundle` | `feature/miner-integration` branch | ~950KB |
85| `/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 |
87
88### Restore from bundle
89
90```bash
91# Clone from bundle
92git clone feature-miner-integration-latest.bundle -b feature/miner-integration esp32-tollgate-restored
93
94# Or fetch into existing repo
95git remote add bundle-src /home/c03rad0r/mining-work-backup/feature-miner-integration-latest.bundle
96git fetch bundle-src
97git checkout -b feature/miner-integration bundle-src/feature/miner-integration
98```
99
100## How to Push
101
102```bash
103# Push all branches to orangesync
104git push orangesync --all
105
106# Push specific branch
107git push orangesync feature/miner-integration
108
109# Push to both remotes
110git push origin master && git push orangesync master
111
112# Update repo metadata
113ngit repo edit -d -g git.orangesync.tech --relay wss://ngit.orangesync.tech
114
115# Sync (force GRASP servers to update)
116ngit sync -d -v
117```
118
119## Nostr Push Troubleshooting
120
121The "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.
122
123Key pattern:
124```
125failed to list from https://nos.lol/... ← cosmetic, ignore
126failed to list from https://relay.damus.io/... ← cosmetic, ignore
127To nostr://npub.../ngit.orangesync.tech/esp32-tollgate
128 = [up to date] master -> master ← actual result
129Everything up-to-date
130```