Skip to content

Instantly share code, notes, and snippets.

View fxstein's full-sized avatar
:electron:
Energy System AI

fxstein

:electron:
Energy System AI
  • Austria
  • 10:48 (UTC +01:00)
View GitHub Profile
@fxstein
fxstein / pion-remote.sh
Last active February 16, 2026 00:34
pion-remote: Remote secret rotation CLI
#!/usr/bin/env bash
# pion-remote — Remote infrastructure CLI for pionizer.ai
# Manage your Pi instance from any machine over SSH + 1Password
#
# Install (requires gh CLI authenticated to pionizer org):
# gh api repos/pionizer/pi-infra/contents/scripts/pion-remote.sh --jq .content | base64 -d \
# | sudo tee /usr/local/bin/pion-remote > /dev/null && sudo chmod +x /usr/local/bin/pion-remote
# shellcheck disable=SC2310,SC2029,SC2015,SC2312 # Functions in conditions and SSH command expansions are intentional
#
# First run:
@fxstein
fxstein / ai-todo-analysis.md
Created February 10, 2026 22:27
ai-todo for Agent Memory: Analysis & Proposal

ai-todo for Agent Memory: Analysis & Proposal

Date: 2026-02-10 Context: Conversation between Oliver and Pi about solving agent memory drift


The Problem

Pi (running on OpenClaw) loses working context when the LLM context window fills up and gets compacted. This is not an OpenClaw-specific bug — it's a fundamental limitation of all LLM agents. Context windows are finite; when they overflow, conversational state is summarized and the active working details are lost.

@fxstein
fxstein / bootstrap-mac.sh
Last active February 18, 2026 21:01
Pi Mac Mini bootstrap — fresh machine to running Pi instance
#!/usr/bin/env bash
# ============================================================
# PI BOOTSTRAP — Set up a fresh Mac Mini as a Pi instance
# Usage: curl -fsSL <gist-url> | bash
#
# Prerequisites: macOS, admin user, internet
# Everything else is installed by this script.
# ============================================================
set -euo pipefail
@fxstein
fxstein / setup-client.sh
Last active February 16, 2026 00:34
Pi SSH client setup — connect any Mac to Pi
#!/usr/bin/env bash
# ============================================================
# PI CLIENT SETUP — Connect any Mac to Pi via SSH
# Usage: curl -fsSL https://raw.githubusercontent.com/pionizer/pi-infra/main/setup-client.sh | bash
# ============================================================
set -euo pipefail
echo "🥧 Pi Client Setup"
echo ""
@fxstein
fxstein / TODO-current.md
Created January 28, 2026 00:16
ai-todo bug repro: TODO.md current + prior

Project ToDo List

⚠️ IMPORTANT: This file should ONLY be edited through the todo.ai script!

Tasks

  • #103 Joke task 5: Misaligned box error #joke #test

    Invent a playful error message for a misaligned box.

  • #102 Joke task 4: Linting ASCII art #joke #test

@fxstein
fxstein / release.yml
Created October 25, 2022 19:36
Github Action to calculate sha256 for release tarball
# https://github.com/fxstein/GoProX
# .github/workflows/release.yml - Automatic creation of sha256 for release tarball
name: goprox release action
run-name: ${{ github.actor }} is publishing release ${{ github.ref_name }}
on:
release:
types: [published]
jobs:
sha256: