Skip to content

Capture git diff/status context when workspace is a git repository #3

@bme2003

Description

@bme2003

Summary

Workspace snapshots currently fall back to filesystem-based context. For real git repos, we should capture git-specific evidence too.

Why

This gives better context for summaries, handoffs, and future search.

Proposed Change

  • Capture git status --short
  • Capture changed file list
  • Optionally store a truncated git diff --stat or diff preview
  • Only do this when the workspace is a valid git repo

Acceptance Criteria

  • Git repos produce richer snapshot events
  • Non-git directories still work
  • Resume and handoff flows can surface git-changed files

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions