Commit Graph

236 Commits

Author SHA1 Message Date
b5b5c5fc6a sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-13 07:59:31
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-13 07:59:31
2026-05-13 07:59:31 -07:00
c9de43bdf2 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-13 07:48:59
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-13 07:48:59
2026-05-13 07:49:00 -07:00
665e823575 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-13 07:41:31
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-13 07:41:31
2026-05-13 07:41:31 -07:00
baeee8d52b sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-13 07:10:20
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-13 07:10:20
2026-05-13 07:10:21 -07:00
32d503e7ee sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-13 06:55:59
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-13 06:55:59
2026-05-13 06:56:00 -07:00
542e8c00e5 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-13 06:42:48
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-13 06:42:48
2026-05-13 06:42:48 -07:00
6ba126fcb7 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 20:54:05
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 20:54:05
2026-05-12 20:54:26 -07:00
6b6133b31a sync: auto-sync from Mikes-MacBook-Air.local at 2026-05-12 20:04:47
Author: Mike Swanson
Machine: Mikes-MacBook-Air.local
Timestamp: 2026-05-12 20:04:47
2026-05-12 20:04:48 -07:00
77bdb0defe chore: update guru-rmm submodule pointer (session log) 2026-05-12 18:22:51 -07:00
4d92699fc5 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 18:20:46
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 18:20:46
2026-05-12 18:20:46 -07:00
1fe9ede202 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 17:13:53
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 17:13:53
2026-05-12 17:13:55 -07:00
b4238a64c4 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 12:09:27
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 12:09:27
2026-05-12 12:09:29 -07:00
8f6545e4b3 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 10:48:35
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 10:48:35
2026-05-12 10:48:36 -07:00
71604571d4 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 10:18:07
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 10:18:07
2026-05-12 10:18:07 -07:00
be3ff53e2d sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 10:15:17
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 10:15:17
2026-05-12 10:15:18 -07:00
b56ff5506c sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 09:54:38
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 09:54:38
2026-05-12 09:54:38 -07:00
0b1e6db882 feat(gururmm): Phase 1 — Script Library, Check System, and Check-based Alerts
Submodule advanced through three commits:
- f6a9a5d: Phase 1 implementation (19 files, 2,838 insertions)
- ed3b797: Post-review fixes (disk threshold inversion + agents RwLock scope)
- 602eb85: Session log 2026-05-12

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 08:41:20 -07:00
5ca378b614 feat: retire PROJECT_STATE.md — add real-time coordination API protocol
- CLAUDE.md: triggers now query coordination API (/api/coord/status,
  /api/coord/components, /api/coord/messages) instead of reading
  PROJECT_STATE.md files
- COORDINATION_PROTOCOL.md: new doc covering locks, component states,
  workflows, work items, and inter-session messages via ClaudeTools API
- guru-rmm/PROJECT_STATE.md: marked ARCHIVED, redirects to
  COORDINATION_PROTOCOL.md for live state

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 08:37:13 -07:00
2056216e7b sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 08:28:49
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 08:28:49
2026-05-12 08:28:49 -07:00
f1739507ac sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 07:50:21
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 07:50:21
2026-05-12 07:50:21 -07:00
d7dadb4bde sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 07:04:17
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 07:04:17
2026-05-12 07:04:18 -07:00
a573d9fc04 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 06:47:00
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 06:47:00
2026-05-12 06:47:00 -07:00
307e9cfc9a sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-12 05:49:05
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-12 05:49:05
2026-05-12 05:49:06 -07:00
c3d7d156bc sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-11 19:44:15
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-11 19:44:15
2026-05-11 19:44:15 -07:00
552efd8a7b sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-11 19:16:35
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-11 19:16:35
2026-05-11 19:16:35 -07:00
144c877290 sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-11 18:22:21
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-11 18:22:21
2026-05-11 18:22:23 -07:00
7489a358fa sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-08 12:25:28
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-08 12:25:28
2026-05-08 12:25:32 -07:00
d0dbc3bbcf radio-archive: add /api/clip endpoint + download buttons + ffmpeg in Dockerfile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 08:44:46 -07:00
7a4cc598fc sync: auto-sync from Mikes-MacBook-Air.local at 2026-05-08 10:42:22
Author: Mike Swanson
Machine: Mikes-MacBook-Air.local
Timestamp: 2026-05-08 10:42:22
2026-05-08 10:42:23 -04:00
c540eaaa5d sync: auto-sync from DESKTOP-0O8A1RL at 2026-05-04 12:24:49
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-05-04 12:24:49
2026-05-04 12:24:51 -07:00
e8e1874cbb sync: auto-sync from GURU-BEAST-ROG at 2026-05-01 15:05:53
Author: Mike Swanson
Machine: GURU-BEAST-ROG
Timestamp: 2026-05-01 15:05:53
2026-05-01 15:05:56 -07:00
f2c17c59ec Session log: radio-show UI redesign recovery + Jupiter audio-404 diagnosis
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 05:41:07 -07:00
109eeb0a97 radio: visual redesign of search + episode pages, active-Q&A highlight follows playhead
Frontend pass on the two embedded HTML templates in the FastAPI server. No
backend / Python logic changed; only template strings, CSS, and inline JS.

Index page: full CSS custom-property theme (light, #c39733 accent),
responsive viewport meta, search input with embedded SVG magnifier and
focus ring, control bar reorganised into divider-separated groups with
the browse-mode toggle rendered via :has() selector, hit cards with
hover-lift + arrow indicator and focus-visible outline, restyled Q/A
badges and score/topic chips, animated loading dots.

Episode page: sticky audio player and sticky aside (top: 130px,
max-height calc'd against viewport). New active-Q&A highlight builds a
sorted index of QA blocks at load time, computes each block's end as
the next block's start (capped at +180s), and on timeupdate/pause
toggles .active on both the body QA block and its aside list item; a
"NOW PLAYING" pill is revealed on .qa.active. Intro-marker also gets
.active. Audio preload bumped from none to metadata so #qa-<id> deep
links can seek without a prior user gesture.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 05:35:55 -07:00
d937bd5d34 Session log: Discord bot Phase 1 MVP implementation 2026-04-30 20:48:23 -07:00
b4941e56ac feat: Discord bot Phase 1 MVP implementation
Implemented Phase 1 of ClaudeTools Discord bot with:

Core Features:
- Discord.py bot with message content intents
- Claude API integration with streaming responses
- Thread-based conversations with context management
- @mention handling with automatic thread creation
- Tool definitions for future ClaudeTools/remediation integration

Architecture:
- bot/main.py: Entry point with Discord client setup
- bot/config.py: Pydantic Settings for environment config
- bot/claude/client.py: Anthropic SDK wrapper with streaming
- bot/claude/tools.py: Tool definitions and system prompt
- bot/handlers/message_handler.py: Discord message handling

Configuration:
- requirements.txt: Python dependencies (discord.py, anthropic, httpx)
- .env.example: Environment variable template
- .gitignore: Sensitive data protection
- README.md: Comprehensive setup and usage guide

Next Steps (Phase 2):
- Implement tool execution (ClaudeTools API client)
- Add user role mapping and permissions
- Implement audit logging

Deployment Target: BEAST (Windows) as NSSM service
Test: @ClaudeTools hello should create thread and stream response

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-30 20:40:24 -07:00
c7d609db2a sync: auto-sync from Mikes-MacBook-Air.local at 2026-04-30 19:17:35
Author: Mike Swanson
Machine: Mikes-MacBook-Air.local
Timestamp: 2026-04-30 19:17:35
2026-04-30 19:17:36 -07:00
6b2004a1cd sync: auto-sync from DESKTOP-0O8A1RL at 2026-04-30 13:53:29
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-04-30 13:53:29
2026-04-30 13:53:30 -07:00
0b93e4dc37 radio: browseable Q&A — /api/qa, /api/audio range streaming, /episode HTML view
Make the radio archive Q&A pairs actually browseable end to end:

- /api/qa list endpoint (year, min_score, exclude_banter, topic_class,
  pagination, sort by air_date or score). Returns the same column shape as
  /api/search Q&A hits.
- /api/audio/{episode_id} streams the MP3 with HTTP Range support so the
  browser <audio> can seek. 206 + Content-Range when ranged, 200 when
  full-file. Returns 404 cleanly when episodes/ tree is absent (Jupiter).
- /episode/{id} HTML transcript view: chronological segments with clickable
  timestamps, Q&A blocks spliced inline (anchor #qa-<id>), intros marked
  inline, right-rail summary. Hash-anchor on load auto-seeks the audio.
- New question_excerpt / answer_excerpt fields on /api/search Q&A hits and
  on /api/qa items: trim leading run-on chatter, take ~300 chars, end on a
  sentence boundary or word boundary with ellipsis.
- Index UI: each Q&A hit now links to /episode/{id}#qa-{qa_id}; new
  "Browse all Q&A" toggle (year selector, sort, append-load 50 per page,
  defaults to min_score=3); FTS snippet replaced with the plain excerpt
  when available.

No new dependencies, no schema changes, no LLM calls. Uses
EPISODES_DIR env (default /data/episodes) — Jupiter compose still only
mounts /data so audio degrades gracefully to 404 there until episodes
are uploaded.
2026-04-30 07:17:48 -07:00
4222f559b2 sync: auto-sync from Mikes-MacBook-Air.local at 2026-04-30 06:24:45
Author: Mike Swanson
Machine: Mikes-MacBook-Air.local
Timestamp: 2026-04-30 06:24:45
2026-04-30 06:24:46 -07:00
a87aec41d0 radio: session log update — index UI exposes classifier filters
Backend min_score/exclude_banter wired through to HTML index. Adds
score badges (1-5 red->green), topic_class pills, dim styling on
banter rows. Live on http://172.16.3.20:8765/. Synced to portable
repo. pscp ENOSPC quirk worked around by plink-stdin streaming.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 06:07:00 -07:00
dacca4503c radio: index UI exposes min_score / exclude_banter + score badges
Adds quality-filter controls to the search UI: a "min score" select
(any/2+/3+/4+/5) and a "hide banter" checkbox. Q/A hits gain a small
color-coded usefulness badge (1-5, red->green) and a topic_class tag
(computer-help, banter, off-topic, promo). Low-score and banter rows
render dimmed by default so they're visible but de-emphasized.

Defaults to "any" + banter visible to preserve existing search habits.
Mike toggles up when he wants quality. URL-encoded params built via
URLSearchParams so empty values don't leak into requests.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 05:54:45 -07:00
2e20a5a3db radio: session log — portable laptop bundle + /api/db.sqlite deploy
New private Gitea repo `azcomputerguru/radio-archive-portable` for
laptop offline use. Upstream gained /api/db.sqlite for HTTP-only DB
sync (no SSH keys needed). Jupiter container rebuilt + restarted with
the classifier-populated DB; verified end-to-end (200 OK, 60.5 MB,
1,405 classifier rows intact, min_score filter working).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 05:37:01 -07:00
158c7540ef radio: add /api/db.sqlite for offline laptop sync
Streams the read-only archive.db over the same Tailscale-routed port
as the search service. Companion to azcomputerguru/radio-archive-portable
which curl-fetches from this endpoint and runs locally on the laptop.

Disclosure equivalent to /api/search (which already exposes every
transcript), so no auth added. Deployed to Jupiter; verified GET
returns 60 MB SQLite blob with all 1,405 classifier rows intact.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 19:50:50 -07:00
78ba35366c radio: session log — Q/A usefulness classifier (Track 1) complete
3.5h run on qwen3:14b processed 1,405/1,407 Q/A pairs (2 failed,
will retry on next invocation). 37% scored 4-5 (useful), 41%
scored 1-2 (banter/promo/off-topic). API filter ready; Jupiter
redeploy pending Mike's manual review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 17:34:15 -07:00
3a8c08e29f radio: Q/A usefulness classifier + min_score search filter (Track 1)
Adds an Ollama-based content quality classifier and exposes the
results via the search API. 1,407 existing Q/A pairs were scored
in 3.5h via qwen3:14b (1,405 succeeded, 2 failed).

Distribution: 37% scored 4-5 (useful), 41% scored 1-2 (banter/promo/
off-topic). 43% flagged as banter overall. Default-on filtering at
search time will hide ~half of the noise without losing any real
listener questions.

Files:
- new classify_qa_quality.py: walks qa_pairs, calls Ollama qwen3:14b
  per row, writes usefulness_score/topic_class/is_banter back to DB.
  Idempotent (--rebuild to reprocess), --smoke for sample check, --limit
  for partial runs. Detached run handles 1407 rows in ~3.5h on a 4090.
- server/main.py: /api/search accepts min_score (0-5) and exclude_banter
  query params. NULL scores treat as "include" so unprocessed rows still
  appear. Episode detail endpoint includes the new fields in qa results.

Schema migration in import_to_sqlite.py was made by the same agent run
(visible on the live archive.db: usefulness_score / topic_class /
is_banter columns now exist on qa_pairs).

Local archive.db updated; Jupiter container has NOT been redeployed
yet — that is a separate manual step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-29 17:32:41 -07:00
2528dfa6cd sync: auto-sync from GURU-BEAST-ROG at 2026-04-29 13:29:17
Author: Mike Swanson
Machine: GURU-BEAST-ROG
Timestamp: 2026-04-29 13:29:17
2026-04-29 13:29:19 -07:00
de972fad6c sync: auto-sync from DESKTOP-0O8A1RL at 2026-04-29 09:18:32
Author: Mike Swanson
Machine: DESKTOP-0O8A1RL
Timestamp: 2026-04-29 09:18:32
2026-04-29 09:18:33 -07:00
b8345ca76e GuruRMM submodule: update with UI_GAPS reference in roadmap
Added cross-reference from FEATURE_ROADMAP.md to UI_GAPS.md tracking document.

Clarifies that features may be backend-complete but UI-incomplete.

Submodule commit: f76051a

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-29 07:27:14 -07:00
1ab31d5b04 GuruRMM submodule: update to include UI gaps tracking document
Added comprehensive UI_GAPS.md for sprint planning and progress tracking.

Documents 6 major UI gaps (P1-P2):
- Policies dashboard (critical - config mechanism)
- Temperature collection (BUG-001 fix)
- Enrollment management
- Tunnel sessions
- Install reporting
- Organizations management

Each gap includes status, missing components, effort estimates, dependencies.

Submodule commit: a018e7e

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-29 07:26:32 -07:00
4058406337 GuruRMM submodule: update to include holistic development principles
Updated DESIGN.md with two fundamental principles:
1. Holistic Feature Development - every feature needs full stack (backend, API, UI, docs)
2. AI-Optional Operation - product works without AI agents; AI features are enhancements

Submodule commit: e490307

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-29 07:16:29 -07:00