Commit f1de83d
committed
chore(Mountain): Add payload preview to notif-drop logging and register benign ENOENT paths
Two logging improvements for Mountain's developer diagnostics:
1. **Notif-drop payload preview**: When a notification falls through to the Cocoon event handler, include a truncated payload preview (160 bytes max) in the dev log. This helps diagnose which new upstream notifications are reaching the catch-all without needing a second debug run.
2. **Benign ENOENT paths**: Register additional file paths that commonly return ENOENT but aren't errors:
- MCP config files (.vscode/mcp.json, .mcp.json)
- User snippets and keybindings (/User/snippets, /User/keybindings.json)
- AI-generated workspace storage (aiGeneratedWorkspaces.json)
- Git config for non-repo folders (/.git/config)
These paths reduce noise in dev logs while preserving signal for genuine file-access issues.1 parent 7702511 commit f1de83d
2 files changed
Lines changed: 26 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
| 491 | + | |
490 | 492 | | |
491 | 493 | | |
492 | 494 | | |
| |||
501 | 503 | | |
502 | 504 | | |
503 | 505 | | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
504 | 515 | | |
505 | 516 | | |
506 | 517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
838 | 847 | | |
839 | 848 | | |
840 | | - | |
| 849 | + | |
841 | 850 | | |
842 | 851 | | |
| 852 | + | |
843 | 853 | | |
844 | 854 | | |
845 | 855 | | |
| |||
0 commit comments