sync: auto-sync from ACG-TECH03L at 2026-04-17 13:02:04

Author: Howard Enos
Machine: ACG-TECH03L
Timestamp: 2026-04-17 13:02:04
This commit is contained in:
2026-04-17 13:02:06 -07:00
parent 68d9836245
commit b99f8512e4
3 changed files with 1630 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
- [ACG-5070 Workstation Setup](reference_workstation_setup.md) - Windows 11 Pro clean install 2026-03-30, replaced CachyOS. All tools installed.
## Project
- [Sync script bug — untracked files](project_sync_script_bug.md) — Flagged for Mike. `.claude/scripts/sync.sh` line 53 misses untracked-only changes; one-line fix included.
- [MasterBooter Side Project](project_masterbooter.md) — Howard's Rust+Slint Windows deployment toolkit at C:\MasterBooter, separate from client work. Do not log to clients/.
- [Audio Processor Architecture](project_audio_processor_architecture.md) - Segment-first pipeline: detect breaks before transcription for complete content capture
- [Neptune Email Routing Issues](project_email_routing_neptune.md) - Multiple clients (devcon, Sorensen/rieussetcorp) have email not routing properly from Neptune

View File

@@ -0,0 +1,23 @@
---
name: Sync script bug — untracked files
description: Flagged for Mike — .claude/scripts/sync.sh misses untracked-only changes
type: project
---
`.claude/scripts/sync.sh` line 53 uses `git diff-index --quiet HEAD --` to detect local changes. This only flags **tracked** files with modifications. Brand-new untracked files (a new report, new session log, new memory) will NOT be detected on their own — they only get swept up when a tracked file is also dirty (because `git add -A` then runs).
Symptom seen 2026-04-17 by Howard: added a single new report file, ran /sync, script said "No local changes to commit" and did nothing. Workaround was `git add <file>` first, then re-run.
**Why:** `git diff-index` ignores untracked files by design. Needs `git status --porcelain` (any output = changes) or equivalent.
**How to apply:** Mike — small one-line fix in `.claude/scripts/sync.sh`. Suggested replacement:
```bash
# Before (line 53):
if ! git diff-index --quiet HEAD -- 2>/dev/null; then
# After:
if [ -n "$(git status --porcelain)" ]; then
```
Also applies to the Sync Summary's `git diff --stat $LOCAL_BEFORE..HEAD` — may need review to make sure the summary range still makes sense after the detection fix.

File diff suppressed because it is too large Load Diff