Commit Graph

951 Commits

Author SHA1 Message Date
531c65e56a sync: auto-sync from Mikes-MacBook-Air.local at 2026-05-27 19:59:03
Author: Mike Swanson
Machine: Mikes-MacBook-Air.local
Timestamp: 2026-05-27 19:59:03
2026-05-27 19:59:06 -07:00
01af9314e4 sync: auto-sync from GURU-KALI at 2026-05-27 19:57:16
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-27 19:57:16
2026-05-27 19:57:18 -07:00
6902645769 chore(submodule): advance guru-rmm — LHM removed from agent install 2026-05-27 19:51:12 -07:00
cd371a32eb sync: auto-sync from HOWARD-HOME at 2026-05-27 17:28:19
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 17:28:19
2026-05-27 17:28:26 -07:00
47d6519220 chore: update guru-rmm submodule (SPEC-011 ARP registration fix)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 17:22:24 -07:00
f3c7fcdb8f sync: auto-sync from GURU-5070 at 2026-05-27 16:54:37
Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-05-27 16:54:37
2026-05-27 16:54:45 -07:00
1c5c7f5ee8 sync: auto-sync from HOWARD-HOME at 2026-05-27 16:45:01
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 16:45:01
2026-05-27 16:45:09 -07:00
70aa4c484b sync: auto-sync from GURU-BEAST-ROG at 2026-05-27 16:30:02
Author: Mike Swanson
Machine: GURU-BEAST-ROG
Timestamp: 2026-05-27 16:30:02
2026-05-27 16:30:05 -07:00
58d424e332 syncro: require delivery channel for emergency billing
"Emergency" is a billing modifier, not a delivery channel. Added explicit
hard rule that Remote/Onsite/In-Shop must be confirmed separately when billing
emergency — the delivery channel determines price_retail and cannot be guessed.

Updated both the Hard Rules section and the Billing workflow Step 1 gather prompt.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 16:26:30 -07:00
307bb8812b sync: auto-sync from GURU-BEAST-ROG at 2026-05-27 16:11:22
Author: Mike Swanson
Machine: GURU-BEAST-ROG
Timestamp: 2026-05-27 16:11:22
2026-05-27 16:12:21 -07:00
9e06c0bb27 chore: update guru-rmm submodule (SPEC-010 agent UX improvements)
Picks up SPEC-010 — 2 bugs + 4 features from Howard Enos (2026-05-27).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 16:08:16 -07:00
04684e816b sync: auto-sync from HOWARD-HOME at 2026-05-27 15:38:18
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 15:38:18
2026-05-27 15:38:24 -07:00
a42d657c55 docs(session)+rules: 2026-05-27 — Quantum M365 onboarding, IX autodiscover fix, Syncro emergency/labor/attribution rules
Session logs: root (Michael #32329 hosting offer + IX simplehost.email autodiscover DNS fix + Cascades #32332 emergency correction) + Quantum client log (M365 tenant 2fd0092b onboarding, break-glass GA, CA report-only).

Syncro rule overhaul:
- Emergency billing: prepaid -> 26184 @ hours x1.5 (was 26118); non-prepaid -> 26184 with channel rate (onsite $262.50 / remote+inshop $225)
- Never make up labor items (existing product + real name; QuickBooks sync)
- Corrections preserve original tech's user_id (commission); adding notes/labor never changes ticket owner

/remediation-tool: Conditional Access may be managed programmatically (report-only first + exclude break-glass + confirm before enforce); fabb3421 deprecated for customer tenants; Quantum tenant onboarded (gotchas table).

Memory: 4 new (no-madeup-labor, corrections-preserve-tech, ca-programmatic, quantum-godaddy-tenant) + updates.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 14:57:55 -07:00
ed7715424d sync: auto-sync from HOWARD-HOME at 2026-05-27 13:26:45
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 13:26:45
2026-05-27 13:26:51 -07:00
aec36e7b10 sync: auto-sync from HOWARD-HOME at 2026-05-27 13:04:06
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 13:04:06
2026-05-27 13:04:12 -07:00
f94c0dfbe1 sync: auto-sync from HOWARD-HOME at 2026-05-27 11:24:44
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 11:24:44
2026-05-27 11:25:34 -07:00
e2b77c489b docs(memory): coord /messages API shape (paginated object, not array)
Pin down the coord messages endpoint shape after repeated mark-read failures:
{total,skip,limit,messages[]}; parse .messages[], strip control chars, read may be null.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 11:10:24 -07:00
0c3c659903 docs(session): 2026-05-27 (cont) — Quantum #32323 migration, /mailbox skill, Tohono #32328 status
- Quantum (new client log): pulled Sheila's email via Graph, posted Intermedia->M365 migration update (emailed), set #32323 In Progress
- Root: /mailbox skill (ACG M365 read + gated send-as) built, verified, distributed (f8c00d3); autotask.md gitignored (b22de6c)
- Tohono: #32328 -> Waiting on Customer

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 11:06:11 -07:00
f8c00d3615 feat(skill): add /mailbox — ACG M365 mailbox read + gated send-as
Read and send mail for an ACG mailbox via the shared Claude-MSP-Access Graph app
(fabb3421), defaulting to the running user's mailbox from identity.json (mike/howard).
Send and reply are hard-gated: full To/Cc/Subject/Body preview + explicit confirm,
external recipients flagged, no retries/bulk, saved to Sent. Read path verified live;
token cached to .claude/tmp (gitignored), secret from SOPS vault.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 11:00:01 -07:00
b22de6c978 chore(gitignore): keep /autotask command local/undistributed
Syncro is the default PSA; Autotask is opt-in. Ignoring .claude/commands/autotask.md
so /save and /sync (git add -A) don't push it to the fleet. Remove the line to distribute.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 10:42:13 -07:00
bb9b962269 docs(session): 2026-05-27 — RMM Phase 2 deploy, Autotask integration, Tohono DoIT #32328
- Root log: GuruRMM Phase 2 authz/IDOR deployed (v0.3.31); Autotask creds verified + vaulted; /autotask scaffolded (kept local)
- Client log (new): Tohono O'odham DoIT — Starlink static IP / site-to-site research, ticket #32328
- Memory: Syncro is default PSA, Autotask opt-in (feedback_psa_default_syncro.md)

Note: .claude/commands/autotask.md intentionally left local/uncommitted per Mike.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 10:40:06 -07:00
9d08f4d97d sync: auto-sync from HOWARD-HOME at 2026-05-27 10:22:59
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 10:22:59
2026-05-27 10:23:05 -07:00
72d98d2abd sync: auto-sync from HOWARD-HOME at 2026-05-27 09:46:32
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 09:46:32
2026-05-27 09:46:41 -07:00
8edd26cb41 sync: auto-sync from GURU-5070 at 2026-05-27 08:37:07
Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-05-27 08:37:07
2026-05-27 08:37:12 -07:00
9e2abd571c sync: auto-sync from HOWARD-HOME at 2026-05-27 08:17:59
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 08:17:59
2026-05-27 08:18:07 -07:00
1a0bcc80b0 chore(memory): fix shared-memory index issues
Audit of .claude/memory found and fixed:
- Broken link: Power Failure Runbook (../.claude/... -> ../...)
- 8 orphaned memories not in MEMORY.md index (Graph CA/password-reset,
  vault-write-sequence, GURU-BEAST-ROG, 3x Cascades, identity proposal)
  -> now indexed under their sections, so they're discoverable
- 5 files missing frontmatter -> added name/description/type
- Duplicate index entry for reference_workstation_setup.md -> deduped
- Trimmed the worst oversized index hooks (Syncro invoice line was 427 chars)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 07:37:59 -07:00
5c89374937 sync: auto-sync from HOWARD-HOME at 2026-05-27 07:26:24
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 07:26:24
2026-05-27 07:26:30 -07:00
d5a352e43d sync: auto-sync from HOWARD-HOME at 2026-05-27 06:58:33
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 06:58:33
2026-05-27 06:58:39 -07:00
47517e93bf docs: update GuruScan README and module comments for current state
- README: remove AdwCleaner from scanner chain and exit code/licensing
  tables; add AdwCleaner note explaining why it is temporarily excluded;
  fix Headless description (WindowStyle=Hidden, not NoNewWindow); add
  GuruRMM integration section with example JSON output structure
- GuruScan.psm1: fix Headless param docstring; update whitelist comment
  (Emsisoft + HitmanPro only); remove C:\AdwCleaner from Defender
  exclusion list; fix Invoke-Remediation example (-Scanners Emsisoft,MSERT)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 06:55:38 -07:00
d5614ce558 chore: remove AdwCleaner from scanner chain
AdwCleaner requires both elevated privileges and an interactive desktop
session simultaneously -- SYSTEM context is elevated but Session 0 (no
desktop), user_session has a desktop but a non-elevated WTS token.
Removing for now; will re-add with schtasks InteractiveToken dispatch
when that mechanism is implemented.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 06:52:25 -07:00
98f875131e fix: use WindowStyle=Hidden instead of NoNewWindow in headless scanner dispatch
NoNewWindow caused scanner processes to inherit PowerShell's stdout/stderr
pipe handles from the GuruRMM agent. If any scanner hung in Session 0
(e.g. AdwCleaner GUI init), it held the pipe open after PowerShell exited,
blocking the GuruRMM command for hours until the server-side reaper fired.

WindowStyle=Hidden gives each scanner its own window/console so pipe
handles are not inherited. Scanner processes that timeout are still killed
by Wait-ProcessWithTimeout; the overall scan completes normally.

Verified: full pipeline completes in ~7.5 min on RMM-TEST-MACHINE with
EICAR detection, GURUSCAN_RESULT_JSON emitted correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 06:52:25 -07:00
87ac008b06 sync: auto-sync from GURU-5070 at 2026-05-27 06:45:16
Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-05-27 06:45:16
2026-05-27 06:45:19 -07:00
a885b54deb feat: make FEATURE_ROADMAP a living doc — dev definition-of-done + audit default
Mike's decision (2026-05-27): the roadmap is a maintained status-and-plan
tracker ([ ]=planned, [x]=shipped, dated), consulted going in and updated
coming out.

- gururmm-development-principles memory: new "Living Roadmap (MANDATORY)"
  principle — consult before building, update the entry in the SAME change
  when shipping/modifying; roadmap update is part of definition-of-done.
  Dev is the primary maintainer; the audit is the backstop.
- rmm-audit skill: state the convention explicitly — the roadmap pass
  default is reconcile-and-flip (not annotate-only).

(Companion gururmm-repo changes — DESIGN.md principle + baseline checkbox
reconcile — pushed separately to the gururmm repo.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 06:34:41 -07:00
6381874319 sync: auto-sync from GURU-5070 at 2026-05-27 06:11:29
Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-05-27 06:11:29
2026-05-27 06:11:33 -07:00
09c52a7d09 feat(rmm-audit): add roadmap reconciliation pass (Agent F) + cleanup step
The skill's frontmatter claimed it updated FEATURE_ROADMAP.md, but the body
had no roadmap-reconciliation logic — so stale checkboxes slipped through
(Network Discovery Node backend + BUG-001 temperature both shipped while
marked [ ]). Added:
- Agent F (parallel, read-only): cross-references every roadmap checkbox
  against code artifacts; classifies STALE-INCOMPLETE / PARTIAL /
  STALE-COMPLETE / ACCURATE with proving artifact. Conservative — only
  flips when end-to-end evidence is unambiguous; backend/scaffolding-only
  is PARTIAL, never flipped.
- Living-docs step: actually flip stale checkboxes, annotate partials,
  flag [x]-but-missing as [HIGH] regressions; every change logged in the
  report's new "FEATURE_ROADMAP.md Delta" section (no silent edits).
- Phase 0 extracts the roadmap claims list; --pass=roadmap added.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-27 06:11:33 -07:00
f361b328fe sync: auto-sync from GURU-KALI at 2026-05-27 06:00:19
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-27 06:00:19
2026-05-27 06:00:20 -07:00
2678d382a7 sync: auto-sync from GURU-KALI at 2026-05-27 05:33:56
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-27 05:33:56
2026-05-27 05:33:56 -07:00
dad9a68a0a sync: auto-sync from HOWARD-HOME at 2026-05-27 00:31:32
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-27 00:31:32
2026-05-27 00:31:45 -07:00
bad034cd15 fix(guru-scan): remove /quiet from HitmanPro -- UI allowed to show during scans
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 00:22:19 -07:00
40e090c95a feat(guru-scan): fix exit code capture, add GURUSCAN_RESULT_JSON reporting, pre-scan hardening
Exit code fix: add $proc.Handle caching after Start-Process -PassThru to prevent
the handle from being released before ExitCode is readable (known PS5.1 bug).

GuruRMM reporting: launcher now finds results.json after each scan and emits
GURUSCAN_RESULT_JSON:<compressed> to stdout. Agent CommandResult captures it;
server stores it in commands.stdout for retrieval via GET /api/commands/:id.

Pre-scan hardening:
- Pre-flight EXE check: warns about missing scanner binaries before run starts
- Windows Defender exclusions added for scanner/log paths before scan, removed after

AdwCleaner: add /path {LOG_ROOT} arg so logs write directly to scan log root;
update log_src to {LOG_ROOT}\Logs to match.

HitmanPro: add /quiet to scan and clean args to suppress GUI in headless runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 00:13:16 -07:00
a8ee927db0 sync: auto-sync from HOWARD-HOME at 2026-05-26 22:05:31
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-26 22:05:31
2026-05-26 22:05:38 -07:00
9ef8ad9652 sync: auto-sync from HOWARD-HOME at 2026-05-26 22:03:12
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-26 22:03:12
2026-05-26 22:03:19 -07:00
f844054847 sync: auto-sync from HOWARD-HOME at 2026-05-26 21:58:00
Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-05-26 21:58:00
2026-05-26 21:58:09 -07:00
e828dacdbd sync: auto-sync from GURU-BEAST-ROG at 2026-05-26 21:24:46
Author: Mike Swanson
Machine: GURU-BEAST-ROG
Timestamp: 2026-05-26 21:24:46
2026-05-26 21:24:49 -07:00
0e2629ad0e docs(claude): clean up redundant post-migration content
Removed/simplified sections now handled by identity.json:
- Removed Ollama endpoint table (now in identity.json)
- Condensed verbose Ollama description
- Updated GrepAI CLI path to use $CLAUDETOOLS_ROOT
- Added migrate-identity.sh step to onboarding

All machine-specific config (Ollama, Python, paths) now centralized
in identity.json — CLAUDE.md references it, doesn't duplicate it.
2026-05-26 20:13:40 -07:00
2c12bd2d04 feat(identity): sync.sh and syncro.md read from identity.json
Phase 2 migration complete:

sync.sh:
- Read Python command from identity.json first (.python.command)
- Fall back to auto-detection for legacy machines
- Eliminates per-session detection overhead

syncro.md:
- Read Ollama endpoint from identity.json (.ollama.endpoint // .ollama.fallback)
- Read Python command from identity.json (.python.command)
- Both sections have legacy fallbacks with detection
- Eliminates 2-second curl probe on every write operation
- Updated day-of-week verification code example
- Updated Ollama draft call section

Impact: All scripts now read machine-specific config from identity.json
(populated by migrate-identity.sh). Faster, explicit, offline-safe.
2026-05-26 20:12:33 -07:00
ba92c0bc84 sync: auto-sync from GURU-5070 at 2026-05-26 20:10:26
Author: Mike Swanson
Machine: GURU-5070
Timestamp: 2026-05-26 20:10:26
2026-05-26 20:10:31 -07:00
262fd8de62 sync: auto-sync from GURU-KALI at 2026-05-26 20:08:37
Author: Mike Swanson
Machine: GURU-KALI
Timestamp: 2026-05-26 20:08:37
2026-05-26 20:08:39 -07:00
251bb3546b fix(migrate-identity): Windows compatibility (two bugs)
The script auto-detected PYTHON_CMD but then hardcoded `python3` for the
JSON write (exit 127 on Windows where only `py` exists), and passed a Git
Bash POSIX path (/d/...) to native Python (FileNotFoundError). Fixes:
- use "$PYTHON_CMD" instead of hardcoded python3
- convert IDENTITY_PATH via `cygpath -m` for the interpreter (no-op elsewhere)

Verified on GURU-5070: identity.json migrated correctly (py, windows/amd64,
localhost Ollama, qwen3:8b).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 20:07:46 -07:00
6c4c17a8be feat(identity): add migration script for Ollama/Python config
- Auto-detects Python command, platform, architecture
- Probes Ollama (local vs remote)
- Sets prose_model based on machine (qwen3:8b for GURU-5070, else qwen3:14b)
- Tested on Mikes-MacBook-Air: all fields populated correctly

Ready for coord rollout to all machines.
2026-05-26 20:03:35 -07:00