Contrib CLI: An Isolated, Shared-Cache Workspace Architecture for AI-Assisted Open-Source Contribution and Empirical Repository Mining
Modern open-source software (OSS) contributors and empirical software engineering researchers frequently require isolated workspace environments to fix issues or systematically mine historical pull requests and bug reports. Traditional approaches rely on repeated full repository cloning or manual branch switching. This introduces severe disk overhead, slow setup latency, identity bleed across commits, and a lack of structured context for downstream AI coding models and repository mining tools. We present Contrib CLI (gsoc-contrib v0.5.3), an open-source tool designed to automate the creation of lightweight, isolated, and AI-ready development workspaces for GitHub issues. Contrib CLI integrates four key architectural mechanisms: Git blobless caching (--filter=blob:none), shared-cache worktree provisioning (git-worktree), four-tier identity sandboxing, and an automated AI Context Engine. Beyond developer productivity, Contrib CLI serves as an empirical mining utility by enabling researchers to programmatically instantiate sandboxed historical issue environments and extract normalized context metadata (.contrib/context.json). Empirical evaluations across open-source codebases (express, flask, requests) show that Contrib CLI provisions warm issue worktrees in 1.17s to 1.57s and reduces multi-issue storage footprint by 63.8% to 80.3%, accounting for both shared cache and active workspace storage.
- Link
- https://zenodo.org/records/23296861
- Found by
- Zenodo
- Authors
- M, Anand, Manoj, Rinu
- Categories
- evaluation
- Published
- 2026-10-11
- Last seen by the radar
- 2026-10-11
- Downloads
- 5
- Views
- 39
- Radar score
- 38.55 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
- Related links
- https://doi.org/10.5281/zenodo.23296861