Freewrite

A technically dense Saturday — heavy on Claude Code tooling, Hermes agent setup, and BOL IT housekeeping. The morning was spent tuning the Claude Code environment (autoCompact, session files, Remote Control) while the afternoon circled back to Hermes and Discord integration options. The Office plugin saw serious use for the first time: email triage, todo creation, calendar review, and a SharePoint doc scope estimate all happened through Claude.

Big Things Today

  • Follow up on BOL infrastructure alerts from yesterday (PUPPIS CPU, ML API memory, DR Fortigate)
  • Review CorpusX incidents BOLI-10500 and BOLI-10501
  • Confirm approach: Discord for Hermes via Composio MCP (not Claude Code Channels)

Conversations

Claude Code Tooling

Analyzing GitHub issue resolution — Investigated Claude Code autoCompact threshold and the collapse_blank_lines token-saving technique. Set CLAUDE_AUTOCOMPACT_PCT_OVERRIDE to 70 for 32K-window models. Full config pattern documented. → See claude-code-autocompact

CC-Hooks — Clarified Claude Code session JSONL file structure: full machine-readable transcripts at ~/.claude/projects/<hash>/sessions/<uuid>.jsonl. Can reach 5+ GB; must filter to user/assistant turns before summarising with API. Python snippet captured. → See claude-code-session-files

CC-Remote Control — Deep dive on Remote Control feature (v2.1.51+): drive a local session from browser or mobile. Three start modes (server, interactive, /remote-control). Push notifications available from v2.1.110+. Outbound-only TLS, no inbound ports. → See claude-code-remote-control

CC-Skills — Clarified the distinction between downloadable Claude products (Claude Code CLI, Claude in Chrome, Claude in Excel), MCP servers on npm, and SKILL.md project-level instruction files.

Hermes Agent Setup

Hermes benefits and capabilities — Reviewed Hermes across four use-case domains: productivity, personal second brain, dev orchestration, and life planning. Reinforced that MEMORY.md persistence is the core value driver. → See hermes-agent-orchestration

Hermes integration with GitHub and GitLab — Revisited the ~/.hermes/config.yaml MCP setup pattern. Confirmed: tokens must be explicit in the config env block, not inherited from shell. Same content as existing hermes-mcp-github-gitlab note — no new setup needed.

Connecting Claude and Cowork to Discord — Evaluated three Discord integration paths: Claude Code Channels (official, session-dependent), Composio/MCP (for Cowork and Hermes), and n8n/Albato (no-code). Decision: Composio MCP is the right path for always-on Hermes integration. → See hermes-agent-orchestration

Office / BOL IT Operations

Office-Email — Triaged 125+ emails. Key work threads: BAAC-ALM (FIS clarifications on BSM/CPR, FX VaR data mapping), [TCR] ENLITE decommission site visit on May 20, KTB XIGNAL migration, BAY-Xignal dataload success, GSB shareholder data discrepancies. PRTG alert flood: DR site pings down, ML API memory warnings.

Office-Todo — Created 6 actionable reminders from yesterday’s emails: GSB-RDM OT follow-up, PUPPIS CPU 98% alert, ML API memory (BREMONT/BELLROSS), DR Fortigate SNMP sensors, CorpusX incidents (BOLI-10500/10501), Symantec AV report.

Office-Calendar — Week ahead (May 16–23) is heavy. Monday May 18 is the busiest: C-Level meeting (10:00–12:00), SD Weekly, Data Engineer weekly, BAAC ALM internal (14:00–16:00), “Improve job with AI” with Manai. Wednesday May 20: BAAC site visit + VPN maintenance evening (19:00–22:00) + AI Guideline review. Two AI-related meetings this week signal growing internal focus on AI adoption.

Office-Microsoft Teams — M365 search API beforeDateTime filter unreliable; doesn’t reliably return messages from a specific date range. Workaround: search by keyword or use Teams native search with date filter.

Office-Documentation — Estimated scope of scanning Talaad Thai project files in SharePoint: 30–100 files, 10–20 min, potentially 100K–500K tokens. Recommended starting with just the 3 tracking files rather than full folder scan.

Product / Feature Work

User profile management feature specification — Drafted a high-level feature spec for User Profile Management for an enterprise internal tool (spec-kit / v-model). Sections: Identity, Contact, Preferences, Security. Key behaviours: inline editing per section, unsaved-change warnings, read-only field styling, re-auth for security changes.

Open Tasks Surfaced

  • Confirm Discord integration approach for Hermes: Composio MCP (always-on) vs Claude Code Channels (session-dependent)
  • Investigate PUPPIS server high CPU (98%)
  • Investigate BREMONT & BELLROSS ML API memory (<1% available)
  • Check DR Fortigate 100F SNMP sensors (WAN, VPN, CCTV down)
  • Review CorpusX BOLI-10500 (Academy 504) and BOLI-10501 (language switch broken)
  • Review Symantec AV update report (May 15 r4/r8)
  • Follow up: OT for GSB-RDM-StressTFRS9 (Anirut’s OT approved by Thiti)
  • Prep for Monday: C-Level meeting + “Improve job with AI” with Manai

Insights Worth Developing


Noon Update — 2026-05-16

Project STREAM — Jira Setup

Jira connection setup — Bootstrapped the STREAM Jira project from the BOL Stream Strategy Document. Created 7 Epics (M1–M7) covering Discovery, Entity Resolution, Knowledge Graph, NLP Enhancement, Governance, Pilot Launch, and Enterprise Readiness. Followed immediately by 24 Stories (STREAM-8 to STREAM-31). Project board live at https://phuriwaj.atlassian.net/jira/software/projects/STREAM/boards → See bol-stream-project

Claude Code Tooling (Noon)

CC-Token optimization — Reviewed the full token-saving stack: RTK rtk read saved 14.6M tokens across 641 calls; code-review-graph (3629 nodes / 32489 edges) updates incrementally on every Edit/Write. Identified two gaps: caveman statusline badge missing from settings.json, and no catchup.md slash command for session resumption after /clear. → See claude-code-token-optimization

CC-Session screen (Zellij) — Learned Zellij detach/attach for long-running Claude Code sessions. Key commands: Ctrl+O → D to detach, zellij attach <name> to resume, zellij --session <name> to start named. → See claude-code-zellij-sessions

Checking Claude API usage programmatically — Confirmed two distinct endpoints: /v1/organizations/usage_report/messages (requires Admin API key sk-ant-admin...) for API token usage; client.messages.count_tokens() for pre-send token estimation (free). No programmatic endpoint for Claude.ai subscription plan limits. → See anthropic-api-usage-reporting

How many ways to trigger Claude (Speckit detail) — Speckit provides spec-driven development layer on top of Claude Code: /speckit.constitution/speckit.specify/speckit.plan/speckit.build. CLAUDE.md is the bridge. Best combo: Speckit → tasks.md → Ralph loop for overnight local execution. → See claude-code-execution-methods

Open Tasks Added (Noon)

  • Fix caveman statusline badge in Claude Code settings.json
  • Build catchup.md slash command for post-/clear session resumption
  • Review STREAM board and assign priorities to first stories (M1 Epic)