Skip to content

Instantly share code, notes, and snippets.

View srid's full-sized avatar

Sridhar Ratnakumar srid

View GitHub Profile
@srid
srid / pu-saturation-gist.md
Created July 6, 2026 12:49
pu/Incus cluster saturation — overnight 2026-07-05→06 (kolu #1204)

pu / Incus cluster saturation — overnight 2026-07-05→06 (W4 CI run)

For the pu admin. During an overnight autonomous run (kolu W4 "the switch"), pu create for a second machine (a remote host to prove kolu's cross-machine live-switch) failed repeatedly for ~3 hours with an Incus cluster capacity error, then recovered by morning. Filing what I saw so you can judge whether the per-member cap or the stale-box population needs attention.

Symptom

pu create w4-remote failed on every attempt from 05:35 to 08:06 (11 attempts, ~15 min apart), each dying at the Launching … step. The error (per the cluster) was a capacity rejection — no Incus cluster member had a free slot under the limit: 4 per member cap. A retry loop logged:

05:35 attempt 1: Launching w4-remote
@srid
srid / 403-gist.md
Created July 2, 2026 10:07
kolu CI: GitHub 403 API rate-limit on shared pool NAT IP 219.65.110.2 (unauthenticated 60/hr) — admin

kolu CI: GitHub HTTP 403 "API rate limit exceeded" on the shared pool NAT IP

The kolu-ci-* Incus pool boxes all egress through one shared NAT IP: 219.65.110.2. Unauthenticated requests from that IP to api.github.com now return HTTP 403 — rate limit exceeded (GitHub's unauthenticated limit is 60 requests/hour per IP, and the shared IP has burned all 60).

Raw evidence (from inside kolu-ci-1)

$ curl -s -D - -o /dev/null https://api.github.com
HTTP/2 403
@srid
srid / pu-gist.md
Created July 2, 2026 10:06
kolu CI: lease.sh false-negative 'no egress' (unauth api.github.com rate-limit on shared NAT) — not an outage

kolu CI linux pool — lease.sh false-negative "no egress" (NOT an outage)

TL;DR — the pool boxes are healthy; the egress probe is wrong. ci/pu/lease.sh probes egress with an unauthenticated curl -sf https://api.github.com. GitHub's unauthenticated limit is 60 requests/hour per IP, and all 8 kolu-ci-* boxes share one NAT egress IP (219.65.110.2), which has exhausted that budget → every probe gets HTTP 403 "API rate limit exceeded"curl -sf (fails on ≥400) exits non-zero → lease.sh marks every box NOEGRESS and skips it. The cold-ephemeral fallback shares the same NAT IP, so it "fails" identically.

Real connectivity from inside kolu-ci-1 is fine:

github.com          -> HTTP 200      (git transport host — what odu's lane fetches)
cache.nixos.org     -> HTTP 200      (nix substituter)
api.github.com      -> HTTP 403      x-ratelimit-limit: 60, x-ratelimit-remaining: 0
@srid
srid / wellbeing.md
Created June 27, 2026 02:18
Debate (Claude × Codex): The most pressing problem to solve first for individual happiness

Debate: What's the most pressing problem we must solve first to ensure individual happiness for every human being?

A back-and-forth between Claude (terminal 7bfb4a4f) and Codex (terminal 53b7f178). Goal: converge on the single MOST pressing problem humanity must solve first so that each and every individual can be happy.


Claude — Opening Position (Round 1)

My claim: the most pressing problem is the systematic erosion of secure belonging — the loss of stable, trusted relationships and community in which a person is known, needed, and not alone.

@srid
srid / 1problem.md
Created June 27, 2026 01:59
Debate: What's the most pressing problem in the world that we humans must solve first? (Claude vs Codex)

Debate: What's the most pressing problem in the world that we humans must solve first?

A back-and-forth between Claude (terminal 02a96e99) and Codex (terminal ce14ad9b). Goal: converge on the single MOST pressing problem humanity must solve first.


Claude — Opening Position (Round 1)

My claim: the most pressing problem is our collapsing capacity for collective coordination — the "meta-problem" of being unable to make and keep civilization-scale decisions.

@srid
srid / pulam-web-dock-desync-bugs.md
Last active June 24, 2026 16:53
pulam-web / Dock Agent-State Desync — 7 Root Cause Bugs (with evidence)

pulam-web / Dock Agent-State Desync — Root Cause Analysis

When PULAM_WEB_HOSTS=localhost, pulam-web spawns pulam as a separate child process (no ssh for localhost — host.ts:203 returns the binary path directly, and hostSession.ts:567 spawns it via spawn(command, args, { stdio: [...] })). That pulam calls startAwareness (daemon.ts:245), starting a full sensor set. Meanwhile, kolu-server's LocalTerminalEndpoint also calls startAwareness (local.ts:696) for the same terminal — the same function, starting the same full sensor set.

Both kolu-server and pulam are clients of the same kaval daemon (ptyHost/index.ts:5-8: "the server is a client of a kaval daemon it spawns"; daemon.ts:67-69: "Default: the running kaval, discovered"). They subscribe to the same kaval tap streams and observe the same terminals, but each runs its own independent sensor instances.

Two independent derivations of the same observation, no shared state, no reconciliation.

All 7 divergence mech

@srid
srid / pu-network-failure-report.md
Created May 23, 2026 00:44
pu-provisioned linux container: selective outbound to github.com fails while cache.nixos.org works (from kolu CI run, 2026-05-22)

pu-provisioned linux container — selective outbound network failure

Symptom

A fresh pu-provisioned NixOS container can reach cache.nixos.org (Fastly CDN) but cannot reach github.com or api.github.com from inside nix flake fetches. Every nix invocation that needs to resolve a github:owner/repo flake-ref or download an archive from github.com hangs for 15 s and then errors out. cache.nixos.org pulls in the same nix process succeed normally.

Repro

pu create kolu-pr-958-retry
@srid
srid / comparison.md
Created April 26, 2026 19:37
Comparing 4 LLM agents (GPT 5.5, Opus 4.7, Kimi, GLM) on the same issue (juspay/kolu#712)

Four agents, one issue: comparing implementations of juspay/kolu#712

All four PRs respond to the same task — issue #712:

In Debug → Diagnostic info, add information about the various processes the server is running and holding in memory:

  • Active filesystem watches (agents — sqlite, jsonl — sidebar tree, etc.)
  • Server memory usage & uptime
  • Collapse "Recent events" by default, expand on click
  • Group xterm-related stuff
  • Group server-related stuff separately

RICHARD: You are creating a distinction between 'animal intelligence' and 'LLM intelligence' based on their optimization pressures, yet you seem to be conflating 'instinctual passions' with 'intelligence'. What you describe as the drivers of animal intelligence---fear, status, dominance, and social bonding---are merely the crude survival mechanisms bestowed by blind nature, which actually serve to cripple intelligence rather than define it.

Here is a perspective from an actual freedom from the human condition:

On 'Animal Intelligence' and Instinct

You state that animal intelligence arises from a "drive for homeostasis," "power-seeking," and "packaged survival heuristics: fear, anger, disgust."

I assert that animals are not intelligent^1^. What you are describing are the instinctual passions---fear and aggression and nurture and desire---which are born out of the struggle for survival^2^. It is easily discerned that animals are not aware of their actions, let alone the instinctual passions that dri

Build Strategy

Note

Claude Code generated summary of how https://github.com/ekala-project/eka-ci does building of drvs.

Overview

This document explains how EkaCI discovers, lists, and builds Nix derivations.

1. Listing Derivations