Skip to main content
← Back to list
01Issue
FeatureOpenExtensionsPublicTeam
AssigneesNone

Relationships

#1708 @swamp/git: add a read-only working-tree diff for pre-commit review

Opened by jeremy · 8/18/2026

@swamp/git diff is documented and implemented as ref-to-ref: required base plus defaulted head invokes git diff base head. A manual-approval workflow needs to review an uncommitted candidate before staging or commit. status identifies modified and untracked paths but has no patch, and a normal tracked diff excludes untracked files. Please add a distinct read-only worktree_diff method rather than change diff semantics. It should compare a supplied base or HEAD with the working tree; include staged, unstaged, and untracked non-ignored paths; support nameOnly, stat, and path filters; return structured changed paths and reviewable patch or content; and make no index, worktree, or network mutation. A workflow-lifetime result would preserve the reviewed evidence at a manual gate.

Upstream repository: https://github.com/swamp-club/swamp-extensions

Environment

  • Extension: @swamp/git@2026.08.13.1
  • swamp: 20260818.015459.0-sha.7d509529
  • OS: linux (x86_64)
  • Deno: 2.8.3
  • Shell: /bin/bash
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED

Open

8/18/2026, 12:08:57 PM

No activity in this phase yet.

03Sludge Pulse

Sign in to post a ripple.