Skip to content

Instantly share code, notes, and snippets.

@swalke16
swalke16 / mongodb_query_agent_b96629cd.plan.md
Created February 5, 2026 15:16
Secure MongoDB Query Agent for Bizy - RubyLLM/Agent Framework approach

name: MongoDB Query Agent overview: Build a secure, company-scoped MongoDB query capability for Bizy using RubyLLM's native tool pattern, with defense-in-depth security architecture. todos:

  • id: infrastructure content: Create read-only MongoDB user and configure bizy_readonly Mongoid client status: pending
  • id: security-executor content: Create MongodbQueryExecutor with read-only enforcement and secondary-only mode status: pending
@swalke16
swalke16 / composable_agent_framework.plan.md
Last active February 3, 2026 22:47
Composable Agent Framework for Bonusly

name: Composable Agent Framework overview: Design a composable chat-based agent framework using RubyLLM, with ActionCable streaming, that can be surfaced across multiple product entry points while maintaining traceability. todos:

  • id: rubyllm-setup content: Add RubyLLM gem and configure OpenAI/Anthropic providers status: pending
  • id: actioncable-channel content: Create BizyChannel for streaming responses to users status: pending
@swalke16
swalke16 / secure_mongodb_query_mcp_tool_8464c4ab.plan.md
Last active January 29, 2026 20:24
Technical plan for a secure, company-scoped MongoDB query MCP tool for LLM agents

Secure MongoDB Query MCP Tool

Architecture Overview

sequenceDiagram
    participant LLM as LLM Agent
    participant MCP as MCP Tool
    participant Auth as Session Token
 participant Rewrite as Query Rewriter
@swalke16
swalke16 / participation_report_discrepancy_investigation.md
Last active January 22, 2026 22:24
Analytics User Count Discrepancy Investigation - TSUP Merge Pipeline Bug

Investigation: User Count Discrepancy Between Analytics Pages

Date: January 20, 2026 Investigated by: Scott Walker Company: 634ecb9e56cf240017ee64cc (Onin Staffing) Period: September 2025


Problem Statement

@swalke16
swalke16 / participation_user_count_discrepancy_investigation.md
Created January 20, 2026 22:24
Investigation: User Count Discrepancy Between Analytics Pages

Investigation: User Count Discrepancy Between Analytics Pages

Date: January 20, 2026
Investigated by: Scott Walker
Company: 634ecb9e56cf240017ee64cc (Onin Staffing)
Period: September 2025


Problem Statement

@swalke16
swalke16 / workday_request.py
Created July 11, 2022 15:32
Workday credential verification
import requests
import json
from xmltodict import parse
# Populate these with your Workday info!
tenant_name = ""
username = f"ISU_USERNAME@{tenant_name}"
password = ""
# Exact URL may vary
url = f"https://services1.myworkday.com/ccx/service/{tenant_name}/Human_Resources/v38.2"
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>IKE Custom Application Example</title>
</head>
<body style="background-color: white; font-size: 32px;">
<input type='text' id="txtBox" />
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>IKE Custom Application Example</title>
</head>
<body style="background-color: white; font-size: 32px;">
<input type='text' id="txtBox" />
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>IKE Custom Application Example</title>
<script>
// For security reasons the external application should only receive or
// send events from the IKE application. The origin below is the correct origin
// for the application to run on production. For the IKE Test environment you
@swalke16
swalke16 / test.ics
Last active October 4, 2019 14:43
test cal
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:October 2019 Events
X-WR-TIMEZONE:America/Chicago
BEGIN:VEVENT
DTSTART:20191003T000000Z
DTEND:20191003T020000Z