Skip to main content
← Back to list
01Issue
FeatureShippedExtensionsPublicEnterprise
Assigneesstack72

Relationships

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

Opened by jeremy · 8/18/2026· Shipped 8/31/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
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 2 MOREREVIEW+ 4 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

8/31/2026, 5:13:19 AM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack728/30/2026, 3:38:39 AM

Sign in to post a ripple.