paperclip/docs
Granis87 bbb3e19c6f
docs: add safe local worktree bootstrap guidance (#9195)
## Thinking Path

> - Parallel local agent experiments should not reuse the primary
Paperclip instance.
> - Paperclip already creates isolated worktree instances with generated
names and environment files.
> - The local development guide lacked a complete bootstrap and recovery
path.
> - This pull request adds that path using the registered CLI forms and
generated selector.
> - The benefit is safer setup, recovery, and cleanup for local
experiments.

## Linked Issues or Issue Description

No public issue was found. The local development guide did not connect
worktree creation, environment loading, startup, repair/reseed, and
cleanup into one safe sequence.

## What Changed

- Added an isolated worktree bootstrap example.
- Documented bash/zsh environment loading without presenting invalid
PowerShell syntax.
- Used registered repair/reseed commands and the generated
paperclip-local-lab selector.
- Added explicit cleanup guidance.

## Verification

- git diff --check upstream/master...HEAD
- Verified command registration and generated naming in
cli/src/commands/worktree.ts.

## Risks

Low. Documentation-only; reviewed command and selector mismatches are
corrected.

## Model Used

OpenAI GPT-5.3 Codex Spark for initial branch work; OpenAI GPT-5 Codex
for review and follow-up fixes, with repository and GitHub tool use.
Context-window sizes were not exposed in this session.

## Checklist

- [x] I have included a thinking path that traces from project context
to this change
- [x] I have specified the model used (with version and capability
details)
- [x] I have checked ROADMAP.md and confirmed this docs PR does not
duplicate planned core work
- [x] I have searched GitHub for duplicate or related PRs and linked or
described the problem above
- [x] I have either linked an existing issue or described the issue
in-PR
- [x] I have not referenced internal/instance-local Paperclip issues or
links
- [x] My branch name describes the change and contains no internal
ticket id
- [x] I have run focused validation locally
- [x] I have added or updated tests where applicable
(documentation-only; no runtime tests needed)
- [x] I have updated the relevant documentation
- [x] I have considered and documented risks above
- [x] All Paperclip CI gates are green on the latest commit
- [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups
on the latest commit
- [x] I will address all Greptile and reviewer comments before
requesting merge

---------

Co-authored-by: RobinALG87 <RobinALG87@users.noreply.github.com>
2026-07-15 15:51:53 -05:00
..
adapters Make ACP the default engine for local adapters (#9238) 2026-07-08 19:05:03 -07:00
api feat(secrets): add user-specific runtime secrets (#8825) 2026-07-05 05:58:20 -05:00
assets/pr-5426 Add issue controls and retry-now recovery (#5426) 2026-05-07 12:23:13 -05:00
cli fix: warn operators that experimental features may break (#8382) 2026-06-20 10:14:58 -07:00
companies
…
deploy docs: add safe local worktree bootstrap guidance (#9195) 2026-07-15 15:51:53 -05:00
guides feat(mcp) [split 1/8]: add fixture demo servers (#9556) 2026-07-14 12:56:21 -05:00
images
…
plans
…
pr-screenshots [codex] UI and dev ops quality-of-life (#6384) 2026-05-19 15:52:39 -05:00
specs
…
start Normalize adapter display labels (#8913) 2026-07-02 21:32:50 -07:00
agents-runtime.md fix(timeouts): raise sandbox wall-clock backstop to 4h and make acpx_local timeouts self-describing (#9232) 2026-07-08 13:50:00 -07:00
built-in-agents.md [codex] Add built-in agents and Reflection Coach bundle (#9206) 2026-07-09 16:29:30 -05:00
docs.json fix: warn operators that experimental features may break (#8382) 2026-06-20 10:14:58 -07:00
favicon.svg
…
feedback-voting.md
…
pipelines-tutorial.md Add pipeline workflow primitives and operator UI (#7903) 2026-06-26 12:02:44 -05:00