Skip to content

Instantly share code, notes, and snippets.

View castrojo's full-sized avatar
🦖
Shipping raptors ...

Jorge O. Castro castrojo

🦖
Shipping raptors ...
View GitHub Profile
@castrojo
castrojo / setup-ssh.sh
Created September 16, 2026 00:14
Setup SSH for Live USB
mkdir -p ~/.ssh && curl -s http://192.168.1.238:8888/id_ed25519.pub >> ~/.ssh/authorized_keys && sudo systemctl start sshd
@castrojo
castrojo / 2026-09-06-k0s-sysext-argo-kubestellar.md
Created September 7, 2026 00:42
Bluefin Server: k0s sysext implementation plan

k0s Sysext with Native Argo CD & KubeStellar Implementation Plan

For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (- [ ]) syntax for tracking.

Goal: Completely replace k3s with a k0s systemd-sysext packaging out-of-the-box declarative Argo CD and KubeStellar raw YAML manifest stacks, updating all tooling, tests, and documentation.

Architecture: A systemd-sysext EROFS image (k0s-<version>.raw) containing the upstream statically-linked k0s binary, k0scontroller.service, and immutable manifests in /usr/share/k0s/manifests/. systemd-tmpfiles recursively copies manifests to /var/lib/k0s/manifests/ on boot, where k0s's native manifest deployer auto-reconciles Argo CD and KubeStellar without Helm.

Tech Stack: BuildStream 2, EROFS, systemd-sysext, systemd-tmpfiles, k0s, Kubernetes raw manifests.

@castrojo
castrojo / 2026-09-06-k0s-sysext-argo-kubestellar-design.md
Last active September 7, 2026 00:41
Bluefin Server: k0s sysext with native Argo CD & KubeStellar design spec

Design Spec: k0s systemd-sysext with Native Argo CD & KubeStellar Manifests

Context & Purpose

Bluefin Server produces an immutable, distroless Linux server OS payload (bluefin-server-ddi.bst), an offline installer (bluefin-server-installer.bst), and an optional decoupled Kubernetes system extension (systemd-sysext).

This specification defines the complete replacement ("purge") of k3s with k0s across the entire project repository. k0s provides a single statically-linked binary that embeds the Kubernetes control plane, worker runtime (containerd, runc), and a native manifest deployer that watches /var/lib/k0s/manifests/.

Along with k0s, this extension packages out-of-the-box (OOTB) declarative raw YAML manifest stacks for Argo CD and KubeStellar (including KubeFlex, PostgreSQL, and KubeStellar Console), completely eliminating Helm dependencies and imperative installer scripts while strictly honoring Bluefin Server's read-only immutable /usr architecture.

@castrojo
castrojo / 40-kubestellar.issue
Created September 6, 2026 23:33
Bluefin Server KubeStellar Console Issue Banner
Bluefin Server (\l)
KubeStellar Console: http://\4:8080/
@castrojo
castrojo / bluefin-agent-prompts.md
Created August 28, 2026 05:51
Natural-language prompts used to build Bluefin

How I Talk to Agents: Natural-Language Prompts from Building Bluefin

A collection of real prompts I used while working on Project Bluefin (July–August 2026). No prompt engineering, just talking. Pulled from my Copilot CLI session history.

Kicking off work

  • "let's publish sboms and start fixing things here"
  • "keep finding things to fix in the container"
  • "check projectbluefin/common, why is chairlift not on my system?"
@castrojo
castrojo / swearing-at-agents-compilation.md
Last active August 25, 2026 05:31
Swearing at Clankers: The Project Bluefin Compilation

Clankers are Fucking Stupid

A curated anthology of @castrojo's prompts to Copilot agents, June–August 2026, sourced from local Copilot CLI session logs. Duplicates collapsed; lore/script quotes and content-editing requests excluded (you weren't swearing at the agent, you were writing dialogue).

Project Bluefin a passion project, artists are commissioned and paid. I used AI to assemble the movie, which will premier at KubeCon+CloudNativeCon in Salt Lake City. If you want to cheat find me at Github Universe.

And now ... the shit I had to put up with to make this thing. And yes, worth every fucking penny!

yt_curse_of_osiris_opening_cinematic - on-screen conversation

Rewrite the line under each heading. Everything else is bookkeeping:

  • Keep the heading. The id and the timecodes are what put a line back on the right frame; change them only to re-time a line.
  • Change the speaker by renaming it in the heading (the character, or the person credited for them).
  • Delete a whole section to drop that line from the cut.
  • A line you change is recorded as yours; the recovered wording is kept
@castrojo
castrojo / review-focus-mode-handoff.md
Created August 14, 2026 01:32
Handoff: FOCUS MODE redesign of the projectbluefin/review maintainer dashboard

Handoff — FOCUS MODE redesign of the Bluefin review dashboard

Repo: projectbluefin/review (local: /var/home/jorge/src/review, branch main) Status: planning only. No repository files were modified. Plan written, not approved. Plan: ~/.copilot/session-state/48296b9d-f1a2-4d36-873e-13b2ad0767b4/plan.md — read this first, it is the spec. Scratch evidence: …/48296b9d-f1a2-4d36-873e-13b2ad0767b4/files/ — hive_api.go, hive_contrib.go, contribute_sse.go, contribute_triage.go fetched at the pinned Hive commit. Todos: 12 rows in the session SQL todos + todo_deps, all pending. Query the ready set before starting.

What the user asked for

Distilling Cloud-Native DevOps: Architectural Empathy, Open Culture, and the Modern Contributor ProfileThe evolution of modern software engineering represents a profound sociological transformation masquerading as a technological one. For decades, the industry operated under highly siloed paradigms, where the creation of software was strictly delineated from its operation, and open-source contributions were largely the domain of isolated, solitary engineers—a demographic frequently stereotyped as the "Unix greybeard." However, the advent of distributed, cloud-native architectures fundamentally dismantled this paradigm. At the epicenter of this transformation sits the DevOps movement and its most successful institutional manifestation: the Cloud Native Computing Foundation (CNCF) and the Kubernetes community.This comprehensive analysis synthesizes the foundational operational values of DevOps with the cloud-native open-source ethos. By examining the public statements, community structures, and architectural de

@castrojo
castrojo / journal.txt
Created August 3, 2026 01:33
Diagnostic report 2026-08-02
# System Logs
Generated: 2026-08-03T01:33:56Z
## Current Boot Kernel Errors
```
Aug 02 17:22:37 bluefin kernel: No irq handler for 1.55
Aug 02 17:22:37 bluefin kernel: No irq handler for 2.55
Aug 02 17:22:37 bluefin kernel: No irq handler for 3.55
Aug 02 17:22:37 bluefin kernel: No irq handler for 4.55