sync: auto-sync from HOWARD-HOME at 2026-05-29 12:35:52
Author: Howard Enos Machine: HOWARD-HOME Timestamp: 2026-05-29 12:35:52
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
- [Vault writes — do the full sequence yourself](feedback_complete_vault_operations_end_to_end.md) — A vault entry = write plaintext → sops -e -i → git add/commit/push, all of it; don't stop at "encrypted on disk."
|
||||
|
||||
- [GuruRMM dev is Mike's, not Howard's](feedback_rmm_dev_is_mike.md) — Never route RMM dev/bug coord notes to Howard (0 RMM commits by him). Howard only submits RMM feature requests; GuruScan is his project, RMM is not.
|
||||
- [RMM user_session UNC path encoding](feedback-rmm-unc-path-encoding.md) — Never use `"\\server\..."` literals in user_session scripts; use `[char]92` to build UNC paths explicitly.
|
||||
- [Howard: defer backend/server follow-up to Mike](feedback_howard_delegation.md) — Howard doesn't want to touch server/agent code unless Mike asks
|
||||
- [Syncro is the default PSA; Autotask is opt-in](feedback_psa_default_syncro.md) — Ticketing/billing/customers default to Syncro (/syncro). Only use /autotask on an explicit "in Autotask" request. /autotask kept local/undistributed.
|
||||
- [Command Formatting](feedback_command_formatting.md) — Always multi-line scripts, never one-liners; one-liners wrap in chat and break on copy-paste
|
||||
|
||||
19
.claude/memory/feedback-rmm-unc-path-encoding.md
Normal file
19
.claude/memory/feedback-rmm-unc-path-encoding.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: feedback-rmm-unc-path-encoding
|
||||
description: RMM PowerShell UNC paths via user_session context lose one backslash when using string literals — must build with [char]92
|
||||
metadata:
|
||||
type: feedback
|
||||
---
|
||||
|
||||
Never use `"\\CS-SERVER\..."` string literals in PowerShell scripts dispatched via GuruRMM `user_session` context. The backslash gets halved somewhere in the encoding pipeline, producing `\CS-SERVER\...` (a local path) instead of the UNC `\\CS-SERVER\...`.
|
||||
|
||||
**Why:** The `user_session` execution wrapper appears to process escape sequences in the script text differently than `system` context, stripping one backslash from `\\`.
|
||||
|
||||
**How to apply:** Always build UNC paths explicitly when using user_session:
|
||||
```powershell
|
||||
$bs = [char]92
|
||||
$base = "${bs}${bs}CS-SERVER${bs}homes${bs}Username"
|
||||
```
|
||||
This constructs `\\CS-SERVER\homes\Username` correctly regardless of context.
|
||||
|
||||
The `system` context (offline hive reg query) showed correct `\\CS-SERVER` output, so the issue is specific to `user_session`.
|
||||
Reference in New Issue
Block a user