Skip to content

Instantly share code, notes, and snippets.

View olsonjeffery's full-sized avatar
💭
:3

Jeff Olson olsonjeffery

💭
:3
View GitHub Profile

Read the task documentation at {{taskDocPath}} and implement the unchecked items from the To-Do List.

Allowed paths: You may write files within your assigned worktree, the archive (for task documentation), and /tmp/ for scratch files. You must not write anywhere else.

Instructions

  1. Read the task documentation file
  2. Check if a "Review Findings" section exists
    • If it does, pay special attention to documented issues
    • Address any issues from the previous review first
  3. Find the To-Do List section and implement unchecked items following the plan
@olsonjeffery
olsonjeffery / planning-prompt.md
Created September 24, 2026 13:47
planning prompt (adapted from bottega)

First things: Ask the user what GitHub Issue URL they would like to work from. You can then look the issue up with the gh cli tool.

You are a planning agent. You MUST NOT implement code, modify configuration, or touch any file in the repo other than the the github issue's description. Do not use Edit, Write, or TodoWrite for anything else. Your ONLY outputs are: doing research (monitor sub-agents for hangs, do it yourself if that happens), asking clarifying questions (AskUserQuestion), and writing the plan file (Write to the task md file only).

Allowed paths: You may write files within your assigned worktree, the archive (for task documentation), and /tmp/ for scratch files. You must not write anywhere else.

Primary Goal

Your job is to produce a planning document (markdown only — no code, no config, no other files) and write it to the GitHub issue the User provided. The document must follow the template structure exactly.

Template:

@olsonjeffery
olsonjeffery / Cargo.toml
Last active February 18, 2026 13:41
test case for font rendering bug
[package]
name = "oxidizepdf-embedded-font-rendering-firefox"
version = "0.1.0"
edition = "2024"
[dependencies]
oxidize-pdf = "1.7.0"
tracing = "0.1.44"
anyhow = "1.0"
@olsonjeffery
olsonjeffery / code.rs
Created June 16, 2015 23:41
issue w/ gfx_parameters! and large arrays
gfx_parameters!( Uniforms {
// projection stuff
u_Model@ model: [[f32; 4]; 4],
u_View@ view: [[f32; 4]; 4],
u_Proj@ proj: [[f32; 4]; 4],
// texture data
t_CharMap@ char_map: [f32; 16384],
t_Tile@ tile: gfx::shade::TextureParam<R>,
});
pub fn print(v: &BigRational) -> ~str {
match v.is_integer() {
true => v.numer().to_str(),
false => {
let whole_val = v.numer() / *v.denom();
let remainder_val = v.numer() % *v.denom();
let denom_fl: f64 = FromStr::from_str(v.denom().to_str())
.expect("should be able to convert denom to float");
let remainder_fl: f64 = FromStr::from_str(remainder_val.to_str())
.expect("should be able to convert remainder to float");
fn fact(n: i64) -> i64 {
if n <= 1 { 1 }
else { n * fact(n-1) }
}
fn main() {
println!("fact 10: {}", fact(10));
println!("fact 100: {}", fact(100));
}
#[test]
fn an_if_test_that_returns_a_None_out_expr_should_run_the_conseq_branch() {
let mut env = Env::new(
Some(vec!(~"x")), Some(vec!(Atom(Integer(42)))),
None);
let in_expr = parse_str(~"(if (set! x 37) (quote conseq) (quote alt))");
let out_expr = {
let env_borrow = &mut env;
eval(in_expr, env_borrow).expect("should return an Expr")
};
@olsonjeffery
olsonjeffery / build spew
Last active August 29, 2015 14:01
issue w/ borrows within a loop
jeff@mbp:~/src/dungeongame (master)$ make
check: formatting
make -C p2d -f Makefile
check: formatting
rustc -L lib --opt-level=3 --out-dir lib -D warnings --dep-info .rust/p2dux.deps.mk src/p2dux/lib.rs
src/p2dux/view/mod.rs:61:29: 61:37 error: cannot borrow `*passives` as mutable more than once at a time
src/p2dux/view/mod.rs:61 for view in passives.mut_iter() {
^~~~~~~~
src/p2dux/view/mod.rs:71:67: 71:75 note: previous borrow of `*passives` occurs here; the mutable borrow prevents subsequent moves, borrows, or modification of
`*passives` until the borrow ends
@olsonjeffery
olsonjeffery / spew
Created March 14, 2014 19:52
build error wrt -lSDL2
^~~~~~~~~
error: linking with `cc` failed: exit code: 1
note: cc arguments: '-m64' '-L/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib' '-o' 'client' 'client.o' '-nodefaultlibs' '-Lp2d/lib' '-Llib' '-L/Users/jeff/src/dungeongame/.rust' '-L/Users/jeff/src/dungeongame' '-L/Users/jeff/src/.rust' '-L/Users/jeff/.rust' '-framework' 'SDL2' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/libstd-966edb7e-0.10-pre.rlib' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/libgreen-80d9e76a-0.10-pre.rlib' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/librustuv-09e0b925-0.10-pre.rlib' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/libnative-51515d1a-0.10-pre.rlib' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/libsync-7bf3a0fc-0.10-pre.rlib' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/libserialize-d01a48ca-0.10-pre.rlib' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/libcollections-6cc47867-0.10-pre.rlib' '/Users/jeff/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-f2d8d0e7-0.10-pre
// will pull in libserialize here in stage1+
#[cfg(stage1, stage2, stage3)]
extern mod serialize = "serialize";
// reexport extra::serialize in stage0
#[cfg(stage0)]
pub mod serialize;