Skip to content

Instantly share code, notes, and snippets.

View transcendr's full-sized avatar
💭
Working Hard

Bryan Price-McConnahea transcendr

💭
Working Hard
View GitHub Profile
@transcendr
transcendr / doit.md
Created June 23, 2026 19:53
Big Loop Runbook

Feature Development Cycle Runbook

This is a real, working execution runbook for a tool I'm currently working on called "forkflow". I point it at an orchestrator agent (GPT 5.5 xhigh running in Codex app) and it develops a feature autonomously end to end — design through commit — fully reviewed and validated, with a dev agent (GPT 5.5 medium running in OMP) doing the implementation under dual monitoring.

Forkflow, pi-bridge, and AgentBrain (mentioned in this runbook) are all unreleased but coming (follow me!). This runbook is shared as a real-world reference for what I consider what a fully agent-driven development "loop" looks like in practice.

This is the normal Forkflow feature or issue development cycle: backlog item, design goal, Forkflow self-forked design work, implementation goal, dev agent (ff-dev) handoff to OMP, supervision, review, validation, AgentBrain handling, and closeout.

Forkflow is the product. pi-bridge is operator tooling used to communicate between Codex

@transcendr
transcendr / icd-example.md
Last active May 26, 2026 18:28
ICD Design Doc Example

Design: Exactly 32 char encrypted value fix

Intent / problem statement

A migrated Go UserEntries read can return invalid replacement-character text in the review field for entries whose stored encrypted review value is exactly 32 hexadecimal characters. Flutter treats a non-empty review for free write, highlight, and lowlight entries as JSON and calls jsonDecode(review), so the malformed value can crash the journal page after entries download.

The user outcome is: journal entry list reads should preserve the legacy JS-visible contract where an encrypted empty review decrypts to the empty string, allowing Flutter to use Review.none() instead of parsing garbage as JSON.

Goal initialization and repository guidance

@transcendr
transcendr / close_hidden_buffers.lua
Created January 28, 2024 16:38
Lua function to close hidden buffers in Neovim on buffer switch
-- Define the close_hidden_buffers function
local function close_hidden_buffers()
local curr_buf_num = vim.api.nvim_get_current_buf()
local all_buf_nums = vim.api.nvim_list_bufs()
for _, buf_num in ipairs(all_buf_nums) do
if buf_num ~= curr_buf_num and vim.api.nvim_buf_is_valid(buf_num) and vim.api.nvim_buf_is_loaded(buf_num) and vim.fn.bufwinnr(buf_num) == -1 then
if vim.fn.getbufvar(buf_num, '&buftype') ~= 'terminal' then
vim.api.nvim_buf_delete(buf_num, { force = true })
end
Diagnostics:
1. cannot use se (variable of type *StripeEvent) as *WebhookEvent value in return statement: *StripeEvent does not implement *WebhookEvent (type *WebhookEvent is pointer to interface, not interface) [InvalidIfaceAssign]
evt_1OUaFUAV1CR9sKJKUdDxjN05
//import { createNextApiHandler } from "@trpc/server/adapters/next";
import { nodeHTTPRequestHandler } from '@trpc/server/adapters/node-http';
import { appRouter, createContext } from '@wildcard/alpha-v2/trpc';
import { LoggingService } from '@wildcard-nde/utils-logging';
import { TRPCError } from '@trpc/server';
import { NextApiHandler, NextApiRequest, NextApiResponse } from 'next';
import Cors from 'cors';
// Initializing the cors middleware
// You can read more about the available options here:
GOOGLE_APPLICATION_CREDENTIALS
qa9hxCG0X1ReNdeZFKAm
config:
module.exports = {
preset: "ts-jest",
testEnvironment: "jsdom",
globals: {
"ts-jest": {
tsconfig: "tsconfig.json",
},
},
setupFilesAfterEnv: ["@testing-library/jest-dom/extend-expect"],
(()=>{"use strict";!function(){var t,e,n,a,r,o="true"===window.localStorage.getItem("DEBUG"),c=u("partnerId",function(){var t=new URLSearchParams(window.location.search).get("partner");if(t)return t;return window.location.pathname.split("/").pop()||"unknown-partner"}()),i=u("clientRefId","".concat(c,":").concat(Math.random().toString(36).substring(2,15))),s=["reflection.app.link","reflection.test-app.link","buy.stripe.com","stripe.com"];function u(t,e){return m(t)||m(t,e)}function m(t,e){var n;return e&&(document.cookie="".concat(t,"=").concat(e,";path=/")),null===(n=document.cookie.split("; ").find((function(e){return e.startsWith("".concat(t,"="))})))||void 0===n?void 0:n.split("=")[1]}t=new URLSearchParams(window.location.search).get("utm_campaign"),e=new URLSearchParams(window.location.search).get("utm_content"),n=new URLSearchParams(window.location.search).get("utm_term"),a=new URLSearchParams(window.location.search).get("utm_source"),r=new URLSearchParams(window.location.search).get("utm_medium"),docume