Skip to content

Instantly share code, notes, and snippets.

View possibilities's full-sized avatar

Mike Bannister possibilities

  • AI Life
  • Portland East
  • 23:55 (UTC -04:00)
View GitHub Profile
@possibilities
possibilities / prise-plug-deferred-briefs.md
Created April 5, 2026 17:55
Prise plug system — deferred work briefs

Prise Plug System — Deferred Work

The core plug system is a 10-commit plan covering registration, event forwarding, call routing, timeouts, Lua API, CLI, and docs. These three items are genuinely independent follow-ups — no hanging wires if deferred.

Briefs

1. Managed plug lifecycle (spawn_plug)

Lua API to spawn and manage plug processes directly from config, with auto-restart.

@possibilities
possibilities / gist:2c970fcaecbd9aa6cf24ed8d3dae3dc6
Created April 4, 2026 20:15
feat/detached-session — brief for upstream PR
# feat/detached-session
Create sessions without attaching a client (`prise -d -s <name>`). Headless workflows need to prepare a session before any terminal connects. Known bug: `spawnDetachedPty()` sends rows/cols/attach but no environment -- server falls back to the service manager's minimal env.
No PR. PR-ready after env bug fix.
@possibilities
possibilities / prise.md
Last active April 4, 2026 13:56
/prise command template for prise fork maintenance
name prise
description Load prise fork development context for Zig/Lua work
argument-hint
instructions
allowed-tools Bash(pairctl:*), Bash(knowctl:*), Bash(summaryctl:*), Bash(claudectl:*), Bash(zigdoc:*), Bash(prise-build:*), Bash(zig:*)

{% set include_web_tools = false %} {% include '_partials/core.md.tmpl' %} {% include '_partials/tool-summaries.md.tmpl' %} {% include '_partials/dev-env.md.tmpl' %}

@possibilities
possibilities / 67fff5f1.md
Created April 3, 2026 01:53
Make an iterable document that builds prisectl...
session-id 67fff5f1-b19e-44e4-8bc7-55910fed2e04

User

/arthack:ask

Can I write shell scripts that interact with prise like I can for tmux?

@possibilities
possibilities / 65779bc8.md
Created April 3, 2026 01:53
Can you create custom UIs that work along prise's own widget...
session-id 65779bc8-c901-4c3f-a4eb-be9eecd35a97

User

/arthack:develop

Teach me about widgets or other features in prise beyond prise'n

@possibilities
possibilities / 545a7c76.md
Created April 3, 2026 01:53
There is agents which @CLAUDE.md should refer to...
session-id 545a7c76-6d44-4959-bf87-e1cab823a816

User

/arthack:claudify

Skill loaded: arthack:claudify

Prise Layout System — Full Report

Generated 2026-04-02 from possibilities--prise branch arthack-prod

What It Is

Prise has a workspace launcher system called "layouts." You define named presets — each one describes a complete session: tabs, pane splits, working directories, and startup commands. When you pick a layout, prise destroys your current session and rebuilds it from the definition.

This is not tmux's select-layout (main-vertical, tiled, etc.) which rearranges existing panes in place. Prise layouts are destructive — all running processes are killed and PTYs are respawned.

@possibilities
possibilities / prise-ctrl-space-session.md
Created April 2, 2026 02:30
prise ctrl+space keybind bug discovery and fix
session-id a6f70396-000d-4337-87c0-60777a182af3

User

/arthack:ask

When I type Ctrl+Space and then press | or - it doesn't split the prise frame as it should. Is it configured correctly? Or maybe prise server needs reboot?

@possibilities
possibilities / wizard-accumulated-state.yaml
Created March 31, 2026 21:42
Wizard forms kitchen sink demo — static spec emitted by behavior + accumulated state from interaction
# Wizard accumulated state after completing all 5 steps
#
# This is what gets stored in wizard_states.values_json as the human
# clicks through each step. On completion, these values are piped as
# YAML to the on_complete command's stdin.
#
# Step 1 (select): picked "great"
# Step 2 (confirm): picked "yes" → step 3 is NOT skipped
# Step 3 (multi_select): toggled "work" and "creative", then hit Done
# Step 4 (paginated_list): paged to page 2, picked "Indigo"
@possibilities
possibilities / stt-prompt.md
Created March 29, 2026 19:24
botctl STT transcription prompt

I was talking with arthack, arthacker, possibilities, mike. We connected to artbird, blackbird, greybird, midbird, silverbird, smolbird. I messaged The Secretary and The Receptionist. We discussed API, CLI, TUI, Claude, Claude Code, arthack-claude.py, agent-browser. The apps include assistctl (click), botctl (click), boxctl (click), brandctl (click), browserctl (click+bun), choosectl (click), claudectl (click+bun), cli_common (lib), clockctl (click+bun), codexctl (click), costctl (click), fixctl (click), geminctl (click), gitctl (click), gogctl (click), hookctl (click), humanctl (click), imagectl (click), jobctl (click), keepctl (click), knowctl (click), linksctl (click), mcpctl (click), mermaidctl (bun), noisectl (click), notifyctl (click+bun), pairctl (click), planctl (click), pocketctl (click+expo), portalctl (click+bun), processctl (click), promptctl (click), qmdctl (click+bun), queuectl (click), scrapectl (click), searchctl (click), skillctl (click), spoolctl (click), summaryctl (click), syncctl (click),