Skip to content

Instantly share code, notes, and snippets.

@airtonix
airtonix / mise-monorepo-repro-all--mise.linux.toml
Created September 9, 2026 21:33
Minimal mise monorepo reproduction: layered monorepo_root overlays trigger monorepo_auto_discovery warning
monorepo_root = true
[env]
REPRO_PLATFORM = "linux"
@airtonix
airtonix / option-4-rich-plugin-platform-implementation-plan.md
Created September 8, 2026 05:29
Option 4: rich plugin platform for hrdx — implementation plan

Option 4: rich plugin platform for hrdx

Purpose

This document develops option 4 only: a full, extensible plugin platform built from declarative integration packages, supervised external plugin peers, and a capability broker.

The target is not a larger harness.json, an event-to-shell hook system, or an in-process Go plugin ABI. A plugin is a versioned participant that can declare contributions, negotiate access, receive structured context, perform asynchronous work, and contribute useful functionality without violating hrdx's PTY-centric model.

The design deliberately combines the richest parts of the earlier directions:

@airtonix
airtonix / Prominence2_Hasturian_Era-modlis.md
Last active August 15, 2026 05:17
Prominence2_Hasturian_Era-modlis.md
```
remove npm:@mariozechner/pi-coding-agent@0.49.3 ? All
Dotfiles on git master [!?] took 14s
> mise ls | grep coding
Dotfiles on git master [!?]
x which node
~/.local/share/mise/installs/node/24.11.1/bin/node
@airtonix
airtonix / build.sh
Created December 18, 2025 09:51
OpenCode build script for Fedora Docker builds
#!/bin/bash
set -e
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DOCKER_IMAGE_NAME="${DOCKER_IMAGE_NAME:-opencode-builder}"
DOCKER_BASE_IMAGE="${DOCKER_BASE_IMAGE:-fedora:latest}"
# Display usage
usage() {
17:54:25 Dedicated host created.
17:54:25 [Inputs] Loading inputs default "bin/constants.xml"
17:54:25 [Inputs] Loading inputs default "bin/specific.xml"
17:54:25 [Inputs] Loading inputs cfg "/home/zenobius/.local/share/DayZ Other Profiles/Server\Server.core.xml"
17:54:25 [Inputs] Exporting inputs cfg "/home/zenobius/.local/share/DayZ Other Profiles/Server\Server.core.xml"
17:54:28 BattlEye Server: Initialized (v1.219, DayZ 1.28.160123)
[S_API] SteamAPI_Init(): Loaded local 'steamclient.so' OK.
CAppInfoCacheReadFromDiskThread took 4 milliseconds to initialize
Setting breakpad minidump AppID = 221100
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197960265728 [API loaded no]
@airtonix
airtonix / AGENTS.md
Created November 23, 2025 08:12
Memory in an AGENT.md

AGENTS.md

Note

CRITICAL Before doing any work, read the entire contents of this file carefully.

!`cat TODO.md`
@airtonix
airtonix / eslint.sh
Last active November 6, 2025 23:59
work around for zed not running eslint fix on older versions of eslint
#!/usr/bin/env bash
find_eslint_config() {
local dir
dir="$1"
while [ "$dir" != "/" ]; do
if [ -f "$dir/eslint.config.cjs" ]; then
@airtonix
airtonix / GetGithubEnvironmentVariables.sh
Created October 14, 2025 22:07
Get github environment variables without triggering deployment
#!/usr/bin/env bash
# set errors to fail the script
set -e
function require_arg() {
if [[ -z "${1}" ]]; then
echo "${2} is required."
exit 1
fi
@airtonix
airtonix / provision-wsl.ps1
Last active July 29, 2025 06:09
Quickly provision new wsl instances
#!/usr/bin/env pwsh
function List-AvailableDistros {
# List available WSL distros and only include first column
$distroList = wsl --list --online | Where-Object { $_ -ne "" } | Select-Object -Skip 3 | ForEach-Object { $_.Split(" ")[0] } | Where-Object { $_ -ne "" }
if ($LASTEXITCODE -ne 0) {
Write-Error "Failed to list available WSL distros."
exit 1
}