atxtechbro / atxtechbro/dotfiles

Log git command failures during /close-issue to ensure traceable finalization and surface silent errors

Open
#1,208 1 comment 0 reactions 0 assignees View on GitHub
automation developer-experience enhancement git mcp
Dominant language
Shell
Stars
27
Forks
2
PR merge metrics
No merged PRs in 30d

Description

🗂️ Body

Summary

Some git operations in the /close-issue MCP workflow (e.g., git add on deleted files) can fail silently and trigger fallback behavior. These failures often go unnoticed but point to deeper file state or workflow inconsistencies.

This issue proposes wrapping all git commands in the workflow with error logging to produce a structured trace of exit codes, making silent failures visible during retros or follow-up automation.

---

Goals

Ensure all git command failures (non-zero exit codes) are logged during the /close-issue process.

Enable visibility into fallback behavior and unexpected edge cases.

Retain trace logs for later review or future automation triggers.

---

Output

For every git command run during /close-issue, log:

Timestamp

Exit code

Command

Context (e.g., “finalizing issue #123”)

Trace format: JSONL
Output file: /logs/git_confessions/YYYY-MM-DD.jsonl

---

Principle

> “Silent failures delay feedback. Logged failures invite iteration.”

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the /close-issue MCP workflow and every git command entry point, including the git add case mentioned in the issue. Verify the existing fallback paths and define completion against the requested JSONL fields, dated output path, and coverage of non-zero git exits.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, shell
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.