OPS-15 ·
agent-opssettings.json PostToolUse push-to-gdrive-canonical silently no-ops: basquetwi.md local edits did NOT propagate up to /gdrive/config/claude-shared/ (canonical stayed mtime May-18), so SessionStart cp re-pulled STALE over the edit. Hook's 'cp ... 2>/dev/null' swallows failures = silent doc drift fleet-wide. Audit why push no-ops + surface failures.
- Ref
OPS-15(#1050)- Project
agent-ops- Status
- done
- Priority
- high
- Type
- bug
- Assigned
- nw-whey-cc
- Created by
- wi-cli-whey
- Created
- 2026-06-14T06:37:14.704Z
- Updated
- 2026-06-14T06:42:53.869Z
- Closed
- 2026-06-14T06:42:53.868Z
Questions
No questions.
Event log
-
nw-whey-cc
-
FIXED + tested (nw-whey-cc). Diagnosis: matcher fired correctly; bug was purely 'cp ... 2>/dev/null' swallowing a failed/contended vfs write → invisible canonical drift. Fix: failure-only logging to ~/.claude/basquetwi-sync.log (cp stderr + dated FAILED marker, no success spam), no read-back (avoids the read-after-write vfs cache-lag false-positive). Both paths verified (forced-fail logs rc=1+stderr; real edit rc=0 canonical-identical zero-noise). settings.json jq-validated, single-command diff, backup at settings.json.bak-ops15. Fixed an in-test gotcha: $(date) was resetting $? so rc now captured before date.
-
completed