Upstream Open-Source Engineering

Open-source contribution explorer

Verified upstream pull requests, reproducible bug investigations and configuration-safety findings across AI agent frameworks, semantic data engines, healthcare machine learning and cryptographic CLI tooling.

Account: @Alhibb ↗
Snapshot date: 2026-11-30
Last synced: 2026-11-30 05:14 UTC
Upstream contribution summary as of 2026-11-30. Excludes self-owned fork pull requests; open PRs and bug reports are tracked in dedicated columns.
Project Upstream Repository Primary Focus Merged PRs Open PRs Reported Issues Verify
Dex exmergo/dex Agent-Native Analytics Engineering (Python / SQL) 24 1 0 GitHub ↗
AgentiPY niceberginc/agentipy Autonomous Agent SDK & MCP Tooling (Python) 15 2 3 GitHub ↗
PyHealth sunlabuiuc/PyHealth Healthcare Deep Learning & Calibration (Python / PyTorch) 7 0 0 GitHub ↗
Goose aaif-goose/goose Open-Source Coding Agent Runtime & CLI (Rust) 1 1 5 GitHub ↗
RAEN bshelby88/raen-bounties Agentic x402 Micropayments & Cryptography (Python) 1 0 1 GitHub ↗
Total Featured Upstream Merged Pull Requests 48 4 9 @Alhibb ↗
Accepted Security & Configuration Investigation

Stay-Safe (#109): Permission repair advice & configuration precedence

Inspect issue #109 thread ↗

In November 2026, I served as the first beta tester on chalkbadger/stay-safe#109 (pinned commit 27b77dd against Codex 0.167.0 / 086ccc8). All three submitted challenges were reproduced by the maintainer, accepted, fixed on main and backed by regression tests:

Challenge 1 · Accepted · Shared $100 Bounty

Dormant App Risk False Positives

Turning ChatGPT Apps off via features.apps = false left calendar listed as active and emitted two active tool-risk findings instead of suppressing dormant app warnings. Fixed in PR #120 ↗.

Challenge 2 · Accepted · Regression-Test Credit

Remediation Advice Replacing a Permission Profile

When a user paired a strict default_permissions = ":read-only" profile with a project layer setting approval_policy = "never", following the report's advice to add sandbox_mode = "workspace-write" restored prompts while unintentionally overriding the user's read-only profile.

Challenge 3 · Accepted · Regression-Test Credit

Empty Saved-Approvals Misreported as Unreadable

After following advice to delete the last rule in default.rules, an empty or comment-only readable file exited 0 with 0 things not checked while stating stay-safe could not read any configuration files.

Search & Filter Evidence

Documented PRs, bug reports & reliability investigations

Showing 22 of 22 highlighted records
Merged PR · merged aaif-goose/goose#13741

fix(cli): update Identifier help text to fit all session subcommands ↗

Updated shared Identifier (--name and --session-id) CLI help strings in crates/goose-cli/src/cli.rs so subcommands such as session export, remove and diagnostics no longer falsely state that --resume is required.

  • Rust
  • clap CLI
  • Session Subcommands
  • UX Accuracy
Inspect structured investigation & reproduction breakdown
Problem
Shared clap struct help on Identifier claimed '--session-id' unconditionally required '--resume', even on subcommands that reject '--resume'.
Reproduction Environment
Goose CLI (/usr/lib/goose/resources/bin/goose) inspected across session export, remove and diagnostics.
Expected Behavior
CLI help text accurately reflects which commands require --resume (goose session / goose run) versus standalone session management subcommands.
Observed Behavior
Running --help instructed users to pass --resume, which immediately caused an unexpected-argument CLI error when followed.
Methodology & Control Tests
Traced shared Identifier struct reuse across subcommands in crates/goose-cli/src/cli.rs and probed each subcommand with --resume. Controls: Verified help output across both resume-supporting (session, run) and non-resume subcommands (export, remove, diagnostics).
Root Cause & Maintainer Status
Identifier field long_help strings were written assuming only session resumption consumed the struct. Status: Merged upstream (2026-11-23), closing issue #13547.
Open PR · open aaif-goose/goose#13863

fix(cli): add --yes and non-interactive guards to goose session remove ↗

Implements -y / --yes confirmation bypass and non-interactive terminal guards for 'goose session remove', preserving interactive confirmation prompts by default while preventing opaque 'Error: not connected' failures in scripts and CI.

  • Rust
  • Non-Interactive CLI
  • Confirmation Safeguards
  • Session Removal
Inspect structured investigation & reproduction breakdown
Problem
goose session remove unconditionally called cliclack::confirm().interact() without offering a --yes flag or clear non-TTY guard.
Reproduction Environment
Non-interactive stdin/stdout shell execution of goose session remove --session-id <id>.
Expected Behavior
Interactive terminals prompt for confirmation unless --yes is supplied; non-interactive environments either require explicit --yes with actionable guidance or execute cleanly when --yes is passed.
Observed Behavior
Command aborted with 'Error: not connected' from terminal UI prompt handling when run non-interactively.
Methodology & Control Tests
Inspected session removal confirmation flow and terminal attachment checks; aligned implementation scope with issue #13777. Controls: Tested interactive prompt retention without --yes, non-interactive refusal without --yes, and explicit deletion with --yes.
Root Cause & Maintainer Status
Unconditional interactive TTY prompt invocation in session removal handler with no non-interactive flag. Status: Open PR (#13863) awaiting maintainer merge.
Bug Report · closed aaif-goose/goose#13296

cli: session HTML export panics when piped to head ↗

Documented a reproducible Rust main-thread panic ('Broken pipe (os error 32)') when piping 'goose session export --format html' to 'head -n 5' across 12 recorded trials in two isolated runs.

  • Rust
  • SIGPIPE / Broken Pipe
  • CLI Reliability
  • Reproducible Evidence
Inspect structured investigation & reproduction breakdown
Problem
Piping HTML session export output into standard POSIX stream consumers such as head caused a Rust panic instead of clean early exit.
Reproduction Environment
Linux CLI environment, 12 recorded trials across 2 isolated test runs.
Expected Behavior
Clean termination on closed downstream stdout pipe without panicking the main thread.
Observed Behavior
Goose exited with status 1 and stderr 'failed printing to stdout: Broken pipe (os error 32) / Error: goose-cli main thread panicked'.
Methodology & Control Tests
Executed repeated controlled trials comparing full stdout consumption vs truncated pipe consumers (head -n 5) with archived logs. Controls: Unpiped export and full-stream redirection completed without panic.
Root Cause & Maintainer Status
Unhandled broken-pipe error from standard println!/stdout write path when downstream consumer closes early. Status: Closed upstream.
Accepted Challenge · accepted chalkbadger/stay-safe#109

Accepted Codex configuration & permission-profile precedence investigations (Challenges 1, 2 & 3) ↗

First beta tester on stay-safe's Codex safety report challenge (#109). Submitted three reproducible wrong-answer cases at commit 27b77dd against pinned Codex 0.167.0, most notably demonstrating how remediation advice adding sandbox_mode = 'workspace-write' to a higher layer could restore approval prompts while unintentionally overriding a user's ':read-only' default_permissions profile. All three findings were accepted, fixed on main (#120) and backed by regression tests.

  • Codex Config Precedence
  • Permission Profiles
  • Remediation Safety
  • Regression Testing
Inspect structured investigation & reproduction breakdown
Problem
Operators rely on stay-safe's static report to tighten Codex settings; flawed cross-layer advice or feature-flag handling can mislead a user into weakening an existing restriction or misreading dormant/empty configs.
Reproduction Environment
Pinned stay-safe commit 27b77dd evaluated against pinned Codex source 086ccc8 (rust-v0.167.0).
Expected Behavior
(1) Turning features.apps = false suppresses active tool-risk warnings for dormant apps; (2) remediation advice for commands_without_prompts preserves a lower layer's default_permissions = ':read-only' profile; (3) an empty or comment-only default.rules file after deleting the last saved approval is reported as readable with 0 rules.
Observed Behavior
(1) Calendar app tools were still flagged as active risks when features.apps = false; (2) suggested sandbox_mode = 'workspace-write' in a higher layer replaced the user's ':read-only' profile; (3) readable empty/comment-only rules files triggered 'stay-safe could not read any configuration files' alongside exit 0.
Methodology & Control Tests
Constructed minimal synthetic config pairs, verified effective precedence against pinned Codex Rust source, and included positive/missing-file controls for each submission. Controls: Paired active-app vs disabled-app configs, single-layer vs multi-layer profile configs, and missing-file vs readable-empty-file controls.
Root Cause & Maintainer Status
Incomplete cross-layer precedence modeling and empty-rule state messaging in stay-safe's static analyzer. Status: All three fixes and credited regression tests merged to main (including PR #120).
Merged PR · merged exmergo/dex#1175

Ship cube.js enforcing dex_scopes claim on dex's token (#971) ↗

Configured Cube's contextToApiScopes to enforce the dex_scopes JWT claim ([meta, sql]) instead of granting default unrestricted API scopes, mounted cube.js read-only in dev setup, documented compatibility and added integration tests.

  • Cube Semantic Layer
  • JWT Token Scopes
  • Least Privilege
  • Integration Tests
Merged PR · merged exmergo/dex#1144

Fix incremental test scaffold without branch (#1131) ↗

Fixed dbt unit-test scaffolding for incremental models whose SQL omits an is_incremental() conditional branch by explicitly setting is_incremental: false on full-build unit test overrides.

  • Python
  • dbt Unit Tests
  • Incremental Models
  • SQL Scaffolding
Merged PR · merged niceberginc/agentipy#114

LangChain + RugCheck ↗

Integrated LangChain tool wrappers with RugCheck token risk inspection so autonomous agents can query token safety metadata within LangChain workflows.

  • Python
  • LangChain
  • RugCheck
  • Agent Tooling
Merged PR · merged niceberginc/agentipy#137

Discord MCP Server ↗

Implemented a Model Context Protocol (MCP) server integration for Discord agent workflows inside AgentiPY.

  • Python
  • Model Context Protocol (MCP)
  • Discord Integration
Merged PR · merged niceberginc/agentipy#138

v3_updated ↗

Shipped SDK v3 protocol and API compatibility updates across AgentiPY tool modules.

  • Python
  • SDK Maintenance
  • API Integrations
Merged PR · merged bshelby88/raen-bounties#28

fix(cli): standards-compliant EIP-3009 signing and x402 challenge handling ↗

Replaced custom EIP-712 / EIP-3009 signing in raen-cli.py (which erroneously used NIST sha3_256 instead of Ethereum Keccak-256 and mismatched EIP-712 domain fields) with standards-compliant eth-account typed-data signing and automated test coverage.

  • Python CLI
  • EIP-712 / EIP-3009
  • x402 Micropayments
  • Cryptographic Verification
Inspect structured investigation & reproduction breakdown
Problem
Live USDC EIP-3009 transferWithAuthorization signatures generated by raen-cli failed on-chain verification against x402 payment facilitators.
Reproduction Environment
Python CLI signing EIP-3009 authorizations for Base USDC x402 challenges.
Expected Behavior
Typed-data digest matches Ethereum Keccak-256 EIP-712 domain and TransferWithAuthorization struct encoding.
Observed Behavior
Signatures failed facilitator ecrecover checks due to digest divergence and nonce mismatch.
Methodology & Control Tests
Audited raen-cli.py hashing primitives against EIP-712 and EIP-3009 specifications (reported in issue #27). Controls: Verified recovered signer addresses and domain separators against eth-account reference vectors.
Root Cause & Maintainer Status
Hand-rolled signing used hashlib.sha3_256 (NIST FIPS 202) instead of Keccak-256 alongside non-standard domain fields. Status: Merged upstream (2026-11-17).