Skip to content

Instantly share code, notes, and snippets.

@darwin
darwin / README.md
Created March 4, 2026 16:25
Agentic Workspace — desk setup pro agentic coding

Agentic Workspace

Nový desk setup optimalizovaný pro agentic coding workflow.

Sestava

Počítače

MacBook Pro 16" M1 Max — "personal vault"

  • Choulostivé osobní data, dokumenty, finance
@darwin
darwin / improve1-plan.md
Created February 24, 2026 19:23
Supex Improve 1 — Security hardening and protocol reliability

Supex Improve 1 — Security hardening and protocol reliability

Format: Plan for plan-runner skill execution. Each ## Phase <code-name> section is one plan-runner invocation. Phases with ### Verify sections ending in test commands are automatically verifiable.

Project Overview

Cross-stack hardening pass across supex: path traversal defenses, connection reliability, protocol contract alignment, and defensive geometry validation. Covers sidecar (Rust), runtime (Ruby), driver (Python), and viewer (TypeScript).

Scope

@darwin
darwin / radar-plan-runner-output.txt
Last active February 24, 2026 10:49
Supex Radar — Single-host log aggregator with TUI (implementation plan)
❯ ~/.claude/skills/plan-runner/plan-runner.sh .tmp/plans/radar-plan.md --model opus --retry 2
Found 11 phases in radar-plan.md
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Phase scaffold: Project skeleton + models + CLI entry point
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Attempt 1/2...
Phase scaffold is complete. Here's what was created:
**Files created (9):**
@darwin
darwin / vcad-plan.md
Created February 23, 2026 23:28
vcad-supex integration plan

vcad-supex — Integrating VCAD BRep kernel into SketchUp

Format: Plan for plan-runner skill execution. Each ## Phase <code-name> section is one plan-runner invocation. Phases with ### Verify sections ending in cargo build/test or uv run pytest are automatically verifiable. Phases requiring running SketchUp or Tauri dev are manual verification only.

Project Overview

Integration of VCAD BRep kernel into SketchUp via the existing supex extension. The agent writes parametric CAD code in Loon (a Lisp with algebraic data types, type inference and square-bracket syntax), the VCAD Rust sidecar evaluates the code to produce a VCAD IR Document, evaluates it into BRep geometry, exports the resulting mesh as COLLADA DAE, and SketchUp natively imports it as a component. A standalone Tauri viewer provides high-fidelity BRep preview — the agent can read viewer state (camera, selection, annotations) and use it as context for agentic coding over the user's Loon project.

@darwin
darwin / readme.md
Created May 29, 2021 13:29
notes on migration to travis-ci.com

I successfully migrated canary repo under my travis-ci.com account. All seems to work for now. Didn't ask for any credits of OSS yet.

The api endpoint is hard-coded so all old travis-ci.org-associated projects started failing since I switched it to travis-ci.com.

How to migrate your projects:

  1. Use the magic "migrate" button to move them from travis-ci.org to travis-ci.com (If your repos are associated with travis-ci.org, you won't see them under travis-ci.com).
  2. Travis access token is different for travis-ci.com, so old tokens won't work. Please follow the readme and update your tokens in travis.yml in the jobs branch.
@darwin
darwin / 1_unexpected.txt
Last active February 14, 2023 13:27
TotalFinder: `csrutil enable --without debug --without fs` no longer works as expected under macOS 11.x
# in recovery mode
❯ csrutil enable --without debug
# note that prior macOS 11.0 this would disable "Debugging Restrictions"
# since macOS 11.0 it seems to be disabling "Apple Internal" and "Filesystem Protections"
❯ csrutil status
System Integrity Protection status: unknown (Custom Configuration).
Configuration:
@darwin
darwin / readme.md
Created November 16, 2020 21:59
APFS Container cloning/replicating under macOS 11.0 (Big Sur) - with a bootable system

It is the year 2020 and replicating APFS containers still sucks. One would expect it would be a simple copy and paste in the Disk Utility app but this is still far from reality.

Last year I wrote how I managed to clone my macOS system under Catalina. The main trick was to create a DMG file with multiple volumes, mount it on target machine and drop to command-line to do asr restore from synthetised disk while avoiding possible pitfalls.

The good news is that Apple devs definitely worked on improving this under Big Sur and added some documentation (see man asr). But I didn't understand it fully on first read. Maybe someone could explain how is this supposed to work?

sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation
❯ nix-shell --show-trace controller/shell.nix --run 'python controller/main.py'
error: while evaluating the attribute 'buildInputs' of the derivation 'trezor-user-env-controller' at /Users/darwin/farm/trezor-user-env/controller/shell.nix:24:5:
while evaluating the attribute 'passAsFile' of the derivation 'python3-3.8.5-env' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'requiredPythonModules' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/development/interpreters/python/wrapper.nix:15:13:
while evaluating 'unique' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:643:12, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'unique' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:643:12, called from /nix/store/a4svi29pmh2q
❯ nix-shell --show-trace controller/shell.nix --run 'python controller/main.py'
error: while evaluating the attribute 'buildInputs' of the derivation 'trezor-user-env-controller' at /Users/darwin/farm/trezor-user-env/controller/shell.nix:23:5:
while evaluating the attribute 'passAsFile' of the derivation 'python3-3.8.5-env' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/build-support/trivial-builders.nix:7:7:
while evaluating 'requiredPythonModules' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/top-level/python-packages.nix:64:27, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/development/interpreters/python/wrapper.nix:15:13:
while evaluating 'unique' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:643:12, called from /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/pkgs/top-level/python-packages.nix:66:6:
while evaluating 'unique' at /nix/store/a4svi29pmh2qips8h6649vvzhk5nk5qd-source/lib/lists.nix:643:12, called from /nix/store/a4svi29pmh2q