Skip to content

Instantly share code, notes, and snippets.

View CiprianSpiridon's full-sized avatar

Ciprian Spiridon CiprianSpiridon

View GitHub Profile

Kensi: Products, Models and Pipelines

A plain-language guide to what Kensi does, which AI models it uses for each job, where each step runs, and what actually ships today.

Written for a non-technical reader. Every claim below was checked against the source code (version 0.11.1). Where the code and our older documents disagree, this guide follows the code and says so.


Community Engagement & Moderation Playbook

Version: 1.0 | Audience: Community managers, moderators, brand social teams
Scope: Covers brand voice, engagement sequences, recurring rituals, moderation matrix, DM templates, and escalation path


Part 1 — Brand Voice

1.1 Brand Voice Pillars

#!/usr/bin/env bash
# Fast local build/test/lint loop for hgDB.
#
# Speed stack and why it matters:
#
# - This script scopes work to explicitly selected or changed crates. Use -p
# before `--`; arguments after `--` are passed to Cargo/Nextest as filters.
# - cargo-nextest is the normal test runner: process isolation and parallel
# scheduling make focused suites fast and failures clear. Its repo config uses
# fail-fast=false, retries=0, and a bounded slow timeout, so all real failures

Rendel — Platform Overview

Rendel turns any website into clean, LLM-ready Markdown so AI agents can read the web.

What Rendel Does

flowchart TD
    AGENT["&nbsp;<br/>AI Agent<br/>(ChatGPT, Perplexity, etc.)<br/>&nbsp;"]
@CiprianSpiridon
CiprianSpiridon / 123.md
Last active January 28, 2026 07:59
Security + BUG Review

Security & Bug Findings Report

Overview

This comprehensive report documents critical, high, medium, and low severity findings across the ToggleBox codebase, organized by category and severity level.

Total Issues Found: 147


Table of Contents

ULPI Memory System - Complete Implementation Plan

Executive Summary

Build a Laravel-native Memory system that uses HSG (Hierarchical Semantic Graph) architecture within ULPI. This system enables AI agents to store, retrieve, and manage memories across five cognitive sectors with intelligent decay, semantic connections, and hybrid search capabilities.

Key Decisions:

  • Configurable Classification: Free tier uses regex (fast, zero cost), paid tier uses LLM (higher accuracy)
  • Hybrid subscription model: Plan-based feature access with included quotas + metered overage billing
@CiprianSpiridon
CiprianSpiridon / env.global.example.yaml
Created August 5, 2025 16:39
# Example Global Environment Configuration
# Example Global Environment Configuration
# Template showing all available environment variables for the ShipToday monorepo
#
# IMPORTANT: This project uses separate environment files:
# - env.global.dev.yaml (for development)
# - env.global.prod.yaml (for production)
#
# SECURITY NOTE: Never commit real secrets to this file!
# This is a template - edit the actual env.global.dev.yaml and env.global.prod.yaml files
{
"packages": {
"apps/web": {
"outputFile": "apps/web/.env.local",
"variables": [
"database.*",
"auth.*",
"payments.*",
"email.RESEND_API_KEY",
"analytics.*",
@CiprianSpiridon
CiprianSpiridon / create-vercel-env.js
Created August 5, 2025 16:32
Creates a Vercel-compatible environment file from the web app's .env.local file
#!/usr/bin/env node
/**
* Creates a Vercel-compatible environment file from the web app's .env.local file
*
* This script converts the generated .env.local file into a format that can be
* imported directly into Vercel's environment variables dashboard.
*
* Key differences from .env.local format:
* - Removes quotes around values (Vercel adds them automatically)
@CiprianSpiridon
CiprianSpiridon / sync-env.js
Created August 5, 2025 16:31
Environment Variable Synchronization Script
#!/usr/bin/env node
/**
* Environment Variable Synchronization Script
*
* Reads environment-specific YAML files and distributes variables to packages
* based on configuration in env.config.json
*
* Usage:
* node scripts/sync-env.js # Sync all packages (dev)