The forge panel shows the pull requests a Session created or pushed in a right-sidebar tab, with a Session header button and branch label, and lets a new Session start in its own Git worktree from the New Session options row. The forge bundle ships the panel with the forge registry, the GitHub provider, the Session bindings, and an isolated worktree service. The panel listens to the agent-controller/admission stage. It holds the first message of a Session with a worktree request while it creates and enters the worktree as Agent maintenance, and refuses messages while the worktree the Session works in is gone. A failed or stopped creation returns the message to the composer: the card above the composer shows the failure, sending again retries with a new branch name, and Continue without a worktree withdraws the request. A removed worktree can be checked out again or left for the source checkout. A message that enters without admission still gets its worktree at the first step proposal.
14 lines
559 B
YAML
14 lines
559 B
YAML
# Bilingual-pair consistency record for worktrees.md (docs/i18n/README.md): per heading
|
|
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
# After editing either side, bring the other along and re-record with:
|
|
# pnpm run verify-translation-pairing --write docs/subsystems/worktrees.md
|
|
/git-worktrees:
|
|
en: 21ec4a3b825d7e81
|
|
zh: c841c5ca4b4e8959
|
|
/git-worktrees/creation-and-retention:
|
|
en: 53f643c5d30e00b2
|
|
zh: ba9e52efc62c7656
|
|
/git-worktrees/request-and-result:
|
|
en: fbab866bf824d6e0
|
|
zh: 73d2a1ee350e1434
|