Skip to content

feat(mcp): add mcprestart/mcprestart-log stopgap for bridge flicker - #496

Merged
Data-Wise merged 1 commit into
devfrom
feature/mcprestart-stopgap
Jul 7, 2026
Merged

Data-Wise merged 1 commit into
devfrom
feature/mcprestart-stopgap

Conversation

@Data-Wise

Copy link
Copy Markdown
Owner

Summary

  • Adds mcprestart (one-command quit+relaunch of Claude Desktop to reset a stalled/dead MCP bridge) and mcprestart-log (shows recent restarts + this-month count).
  • Interim manual-fix shortcut per docs-standards ADR-001 — the full automated McpDoctorUseCase in atlas is parked pending priority; this measures actual flicker frequency instead of relying on a recalled estimate.

Test plan

  • Trivial shell functions, no test suite additions needed.
  • Full suite: 78 passed, 0 failed, 1 skipped (baseline-matching, external tool absence).

- mcprestart: one-command quit+relaunch of Claude Desktop to reset a
  stalled (4-min timeout) or dead ('tool not found') MCP bridge
- mcprestart-log: shows recent restarts + this-month count, turning
  the '5+/month' flicker estimate into a measured number

Context: docs-standards ADR-001 scoped a full McpDoctorUseCase in atlas
for automated detection — parked pending queue priority. This is the
zero-engineering interim fix for the manual relaunch step, not a
replacement for the eventual automated audit.
@Data-Wise
Data-Wise merged commit 94d9bde into dev Jul 7, 2026
2 checks passed
@Data-Wise
Data-Wise deleted the feature/mcprestart-stopgap branch September 6, 2026 04:39
Data-Wise added a commit that referenced this pull request Sep 6, 2026
…timizer/

Session log entry for the work done after this morning's resync, plus a
Next Action list re-verified against the resulting repo state.

What the entry records (each verified against git/gh, not .STATUS):
- PR #500 merged (c607a14) after 6 weeks stuck. It was based on main,
  predating #515's target-branch key. "@dependabot recreate" retargeted it
  to dev -- so target-branch is NOT creation-time-only, and a mis-based
  dependabot PR can be rescued rather than closed and waited out.
- Issues #489 and #488 closed with evidence (PR #496, merge commit
  94d9bde, code live at zsh/functions.zsh:620 and :638).
- Issue #487 rewritten, not closed: the AI rewrite trigger was never built
  and never rejected, and its spec is unrecoverable because the branch
  holding it was never pushed. The surviving copy of its decisions was the
  GitHub issue body, not git.
- 9 stale remote feature/* branches: 8 deleted after passing both gates
  (remote tip == PR headRefOid, and the PR merge commit is an ancestor of
  dev); feature/email-dispatcher-restructure kept, since it is the only
  copy of a 96-line ORCHESTRATE plan.
- Tooling friction worth remembering: branch-guard blocked a provably-safe
  push --delete (the cc-config#32 false positive), and the auto-mode
  classifier blocked a deletion loop while allowing the same deletions
  individually.

.gitignore: .token-optimizer/ is a per-machine plugin cache.

Also restores the ## Parked section, which an over-broad regex removed
while rewriting ## Next Action in the same pass.

Verified: scripts/check-status.zsh clean; _flow_status_field reads Phase,
Focus and Progress correctly.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant