Configure beads Dolt remote on Forgejo

This commit is contained in:
dirtydishes 2026-05-17 06:41:00 -04:00
parent 88b2c33ab3
commit 37bd393f5c
3 changed files with 198 additions and 0 deletions

View file

@ -52,3 +52,6 @@
# - linear.api-key
# - github.org
# - github.repo
sync:
remote: git+https://git.deltaisland.io/dirtydishes/islandflow.git

View file

@ -1,5 +1,6 @@
{"_type":"issue","id":"islandflow-9dg","title":"Fix live tape scroll stability","description":"Live tape rows can shift while a user is scrolled away from the hot head because newer live prints and ClickHouse history are merged into the displayed segment. Implement held-history freezing so only truly older rows append below the current tail, resync on jump-to-top, and tune virtualization/background rendering to reduce fast-scroll blank gaps.","status":"closed","priority":1,"issue_type":"bug","assignee":"dirtydishes","owner":"dishes@dpdrm.com","created_at":"2026-05-17T07:28:52Z","created_by":"dirtydishes","updated_at":"2026-05-17T07:32:53Z","started_at":"2026-05-17T07:29:00Z","closed_at":"2026-05-17T07:32:53Z","close_reason":"Implemented held live tape history freezing, older-only held history append, jump-to-top resync behavior, virtualizer overscan tuning, and stable row-lane table background. Validated with scoped Bun tests, web production build, and local /tape HTTP smoke check.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-qso","title":"Fix durable options tape history routing","description":"Implement the fix-tape plan: make same-origin history routing durable, add deployment/public smoke checks for required API routes, expose tape history loading failures in the UI, document the work, and track api.flow.deltaisland.io migration separately.","status":"closed","priority":1,"issue_type":"task","assignee":"dirtydishes","owner":"dishes@dpdrm.com","created_at":"2026-05-17T01:53:22Z","created_by":"dirtydishes","updated_at":"2026-05-17T02:00:04Z","started_at":"2026-05-17T01:53:25Z","closed_at":"2026-05-17T02:00:04Z","close_reason":"Implemented durable same-origin history routing, public route smoke checks, tape history diagnostics, docs, validation, and follow-up tracking for api.flow.deltaisland.io.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-8kj","title":"Configure persistent beads Dolt remote on deltaisland server","description":"Install the beads and Dolt CLIs on the server, configure a persistent Dolt sync remote backed by the server-hosted Forgejo repository, verify refs/dolt/data publication, and document Nginx Proxy Manager / firewall considerations.","status":"closed","priority":1,"issue_type":"task","assignee":"delta","created_at":"2026-05-17T10:31:31Z","created_by":"delta","updated_at":"2026-05-17T10:37:47Z","started_at":"2026-05-17T10:32:16Z","closed_at":"2026-05-17T10:37:47Z","close_reason":"Installed bd and dolt on the server, configured the Forgejo-backed Dolt remote, published refs/dolt/data, and documented the setup.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-200","title":"Implement durable options tape history","description":"Implement the plan from docs/plans/2026-05-16-1711-durable-options-tape-history.html: durable ClickHouse-backed options history, signal/all prints view selection, preserved execution context, stale semantics limited to live health, reset runbook, tests, and turn documentation.","status":"closed","priority":1,"issue_type":"feature","assignee":"dirtydishes","owner":"dishes@dpdrm.com","created_at":"2026-05-16T21:21:30Z","created_by":"dirtydishes","updated_at":"2026-05-16T21:26:51Z","started_at":"2026-05-16T21:21:33Z","closed_at":"2026-05-16T21:26:51Z","close_reason":"Implemented durable options tape history, signal/raw view selection, reset runbook, tests, and turn documentation.","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-k4f","title":"Gate deploy script on docker workspace snapshot sync","description":"Prevent frozen-lockfile build failures during deploy by adding a local preflight in scripts/deploy.ts that runs bun run check:docker-workspace and aborts with a clear sync+commit remediation message when stale.","status":"closed","priority":1,"issue_type":"task","assignee":"dirtydishes","owner":"dishes@dpdrm.com","created_at":"2026-05-15T23:01:44Z","created_by":"dirtydishes","updated_at":"2026-05-15T23:04:11Z","started_at":"2026-05-15T23:01:48Z","closed_at":"2026-05-15T23:04:11Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-xll","title":"Fix bun.lock drift causing frozen-lockfile Docker build failures","description":"Docker image builds fail in multiple targets (candles, web, ingest services) because bun install --frozen-lockfile detects lockfile changes. Update workspace lockfile to match manifests and verify frozen install succeeds.","status":"closed","priority":1,"issue_type":"bug","assignee":"dirtydishes","owner":"dishes@dpdrm.com","created_at":"2026-05-15T22:52:38Z","created_by":"dirtydishes","updated_at":"2026-05-15T22:55:23Z","started_at":"2026-05-15T22:52:40Z","closed_at":"2026-05-15T22:55:23Z","close_reason":"Closed","dependency_count":0,"dependent_count":0,"comment_count":0}
@ -43,5 +44,6 @@
{"_type":"issue","id":"islandflow-igk","title":"Add plan mode","description":"Implement a user-facing plan mode in the application so users can switch into planning before taking action. Scope to be clarified from existing app patterns.","status":"closed","priority":2,"issue_type":"feature","owner":"dishes@dpdrm.com","created_at":"2026-05-04T04:22:37Z","created_by":"dirtydishes","updated_at":"2026-05-04T04:26:18Z","started_at":"2026-05-04T04:22:40Z","closed_at":"2026-05-04T04:26:18Z","close_reason":"Implemented as a global pi extension toggled with Shift+P","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-biq","title":"Finish raw live options delivery and filter/backpressure observability","description":"The smart-money signal path and Tape filters are in place, but the next firehose pass should finish server-side selective raw live delivery for options subscriptions and add explicit filtered-out/backpressure observability for API/web counters. This was discovered while landing islandflow-e4r.\n","status":"in_progress","priority":2,"issue_type":"task","assignee":"dirtydishes","owner":"dishes@dpdrm.com","created_at":"2026-04-28T20:28:58Z","created_by":"dirtydishes","updated_at":"2026-04-29T03:54:12Z","started_at":"2026-04-29T03:54:12Z","dependencies":[{"issue_id":"islandflow-biq","depends_on_id":"islandflow-e4r","type":"discovered-from","created_at":"2026-04-28T16:28:58Z","created_by":"dirtydishes","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-cnk","title":"Run Docker image build verification with active Docker daemon","description":"Targeted image builds could not run in the implementation session because the local Docker daemon was unavailable at unix:///Users/kell/.orbstack/run/docker.sock. When Docker or OrbStack is running, validate the refactored deployment Dockerfiles with: docker compose -f deployment/docker/docker-compose.yml build api; docker compose -f deployment/docker/docker-compose.yml build web; docker compose -f deployment/docker/docker-compose.yml build ingest-options.","status":"open","priority":3,"issue_type":"task","owner":"dishes@dpdrm.com","created_at":"2026-05-16T21:53:41Z","created_by":"dirtydishes","updated_at":"2026-05-16T21:53:41Z","dependencies":[{"issue_id":"islandflow-cnk","depends_on_id":"islandflow-09a","type":"discovered-from","created_at":"2026-05-16T17:53:40Z","created_by":"dirtydishes","metadata":"{}"}],"dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-zsy","title":"Expose Forgejo SSH on a direct DNS hostname","description":"git.deltaisland.io currently resolves through Cloudflare's proxy, so SSH on port 2222 does not complete even though the Forgejo container is listening on the host. If SSH-based git/beads workflows are desired, add a DNS-only hostname (or adjust the existing record) that points directly at the server for Forgejo SSH.","status":"open","priority":3,"issue_type":"task","created_at":"2026-05-17T10:34:06Z","created_by":"delta","updated_at":"2026-05-17T10:34:06Z","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-38p","title":"Add native deployment unit templates and rollback helpers","description":"The deploy helper now supports --runtime native, but the repo still relies on operator-managed systemd units and manual rollback. Add checked-in native deployment templates or provisioning guidance for the expected units, and consider lightweight rollback/smoke-test helpers once the host-native path is exercised on the real VPS.","status":"open","priority":3,"issue_type":"task","owner":"dishes@dpdrm.com","created_at":"2026-05-15T23:46:42Z","created_by":"dirtydishes","updated_at":"2026-05-15T23:46:42Z","dependency_count":0,"dependent_count":0,"comment_count":0}
{"_type":"issue","id":"islandflow-575","title":"Document smart-money event calendar env","description":"Document smart-money event-calendar environment configuration in env examples and README.\n","status":"closed","priority":3,"issue_type":"task","assignee":"dirtydishes","owner":"dishes@dpdrm.com","created_at":"2026-05-05T06:57:14Z","created_by":"dirtydishes","updated_at":"2026-05-05T06:57:57Z","started_at":"2026-05-05T06:57:17Z","closed_at":"2026-05-05T06:57:57Z","close_reason":"Documented event-calendar env variables","dependency_count":0,"dependent_count":0,"comment_count":0}

View file

@ -0,0 +1,193 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Turn Document - Configure Beads Dolt Remote</title>
<style>
:root {
color-scheme: dark;
--bg: #071018;
--panel: #101a24;
--panel-2: #0b141d;
--border: rgba(255, 255, 255, 0.12);
--text: #e7edf5;
--muted: #94a5b8;
--accent: #7cc7ff;
--good: #55d38a;
--warn: #ffb454;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: Inter, Arial, sans-serif;
background: linear-gradient(180deg, #08111a 0%, #05080d 100%);
color: var(--text);
}
main {
width: min(980px, calc(100vw - 32px));
margin: 0 auto;
padding: 28px 0 40px;
}
section {
background: var(--panel);
border: 1px solid var(--border);
border-radius: 16px;
padding: 22px 24px;
margin-bottom: 18px;
}
h1, h2 { margin-top: 0; }
h1 { font-size: 2rem; }
h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
p, li { line-height: 1.6; }
ul { margin-bottom: 0; }
code, pre { font-family: "IBM Plex Mono", Menlo, monospace; }
code { color: #a8d8ff; }
pre {
margin: 0;
padding: 14px;
overflow-x: auto;
border-radius: 12px;
background: var(--panel-2);
border: 1px solid var(--border);
}
.meta { color: var(--muted); }
.pill {
display: inline-block;
margin: 6px 8px 0 0;
padding: 6px 10px;
border-radius: 999px;
border: 1px solid var(--border);
font-size: 0.86rem;
}
.good { background: rgba(85, 211, 138, 0.14); }
.warn { background: rgba(255, 180, 84, 0.14); }
.accent { background: rgba(124, 199, 255, 0.14); }
</style>
</head>
<body>
<main>
<section>
<h1>Configure Beads Dolt Remote</h1>
<p>
Configured a persistent beads/Dolt sync remote for this repo using the server-hosted Forgejo instance at
<code>git.deltaisland.io</code>, published Dolt data to <code>refs/dolt/data</code>, and documented the
operational constraints around Nginx Proxy Manager, HTTPS, and SSH reachability.
</p>
<p class="meta">Generated: 2026-05-17 06:36 EDT</p>
<div>
<span class="pill accent">Beads issue: islandflow-8kj</span>
<span class="pill good">Remote published</span>
<span class="pill good">HTTPS validated</span>
<span class="pill warn">SSH follow-up: islandflow-zsy</span>
</div>
</section>
<section>
<h2>Summary</h2>
<p>
The repo now has a committed beads sync target in <code>.beads/config.yaml</code> and the server now has the
required local tooling and credentials to run <code>bd dolt push</code> successfully against Forgejo over HTTPS.
</p>
</section>
<section>
<h2>Changes Made</h2>
<ul>
<li>Installed <code>bd</code> 1.0.4 for the <code>delta</code> user.</li>
<li>Installed <code>dolt</code> 2.0.3 in <code>~/.local/bin</code>.</li>
<li>Configured a persistent local Forgejo credential for non-interactive beads/Dolt pushes on this server.</li>
<li>Added the public beads sync URL to <code>.beads/config.yaml</code>:</li>
</ul>
<pre><code>sync:
remote: git+https://git.deltaisland.io/dirtydishes/islandflow.git</code></pre>
<ul>
<li>Published the current Dolt history to Forgejo and verified <code>refs/dolt/data</code> exists on the remote.</li>
<li>Created a follow-up issue for SSH reachability via DNS/Cloudflare: <code>islandflow-zsy</code>.</li>
</ul>
</section>
<section>
<h2>Context</h2>
<p>
This repo already used beads locally, but it had no Dolt remote configured. Earlier work in the repo had
explicitly noted that <code>bd dolt pull</code> was unavailable because no remote existed.
</p>
<p>
The server already hosted Forgejo behind Nginx Proxy Manager at <code>git.deltaisland.io</code>, which made an
HTTPS-backed beads remote the lowest-friction persistent option.
</p>
</section>
<section>
<h2>Important Implementation Details</h2>
<ul>
<li>
The public remote URL for collaborators is:
<code>git+https://git.deltaisland.io/dirtydishes/islandflow.git</code>
</li>
<li>
The actual server-side push path is authenticated locally with a Forgejo personal access token stored only on
the server, so the committed repo configuration does not contain secrets.
</li>
<li>
The Nginx Proxy Manager host for <code>git.deltaisland.io</code> already proxies Forgejo on ports 80/443, so no
new public port exposure was needed for the working HTTPS path.
</li>
<li>
A dedicated Forgejo SSH key was also prepared on the server, but end-to-end SSH to <code>git.deltaisland.io:2222</code>
is still blocked by the current DNS/proxy setup rather than by the host listener itself.
</li>
</ul>
</section>
<section>
<h2>Expected Impact for End-Users</h2>
<ul>
<li>Future clones can bootstrap beads from the server-backed remote instead of starting with an empty local database.</li>
<li>Operators can now run <code>bd dolt push</code> on this server without manual one-off setup.</li>
<li>Beads issue history is now backed by a persistent remote rather than being local-only state.</li>
</ul>
</section>
<section>
<h2>Validation</h2>
<ul>
<li><code>bd version</code> → 1.0.4</li>
<li><code>dolt version</code> → 2.0.3</li>
<li><code>bd dolt push</code> completed successfully.</li>
<li><code>git ls-remote https://git.deltaisland.io/dirtydishes/islandflow.git refs/dolt/data</code> returned a ref.</li>
<li><code>ss -tulpn</code> confirmed listeners on 80, 443, and 2222.</li>
<li>Inspected the Nginx Proxy Manager config for <code>git.deltaisland.io</code> and confirmed HTTPS proxying to the Forgejo container.</li>
</ul>
</section>
<section>
<h2>Issues, Limitations, and Mitigations</h2>
<ul>
<li>
<strong>SSH hostname reachability:</strong> Forgejo is listening on host port <code>2222</code>, but the
current public hostname resolves through a proxy path that does not complete SSH connections. HTTPS remains the
supported path today.
</li>
<li>
<strong>Server-local credential material:</strong> a local Forgejo token was required so this server can push
beads data non-interactively. The secret was kept out of tracked repo files.
</li>
<li>
<strong>Pre-existing repo dirtiness:</strong> unrelated local changes already existed in this working tree and
were intentionally left untouched.
</li>
</ul>
</section>
<section>
<h2>Follow-up Work</h2>
<ul>
<li><code>islandflow-zsy</code> — expose Forgejo SSH on a direct DNS hostname if SSH-based Git/beads sync should work publicly.</li>
<li>If additional machines need write access, create Forgejo credentials or PATs for those operators and use the public HTTPS remote above.</li>
</ul>
</section>
</main>
</body>
</html>