Skip to content

Instantly share code, notes, and snippets.

View jordotech's full-sized avatar
🎯
Focusing

jordotech jordotech

🎯
Focusing
  • Austin, TX
  • 09:41 (UTC -06:00)
View GitHub Profile

Feature Flags Architecture — Response

Good doc, Masha. The direction is right. Here's my take with some additional considerations.

Where I Agree

  1. Registry as source of truth for what flags exist — yes, absolutely
  2. Validate flag keys on write — reject keys not in registry. This prevents drift
  3. Merge on read — registry defaults + per-org overrides. This is the core change
  4. Show ALL registry flags in the admin UI — this is actually the highest-impact change

PR #357 Assessment: Feature Flag Registry Improvements

PR: https://github.com/Faction-V/platform-api/pull/357 Author: masha-maltseva (via Cursor) Branch: feat/BE-762-feature-flag-registry-improvementsfeature/BE-762-be-ff-enforce Files changed: 1 (src/feature_flag_registry.py, +13 / -214)


Summary of Changes

@jordotech
jordotech / Default.json
Created December 19, 2025 13:59
iterm2 default profile
{
"Ansi 7 Color (Light)" : {
"Red Component" : 0.7810397744178772,
"Color Space" : "sRGB",
"Blue Component" : 0.78104829788208008,
"Alpha Component" : 1,
"Green Component" : 0.78105825185775757
},
"Ansi 15 Color (Light)" : {
"Red Component" : 0.99999600648880005,
@jordotech
jordotech / over-engineer-check.md
Created September 4, 2025 16:54
Roo slash command for over-engineer code assessment
description
Analyze codebase for over-engineering patterns and unnecessary complexity

Over-Engineering Check

You are tasked with analyzing a codebase to identify signs of over-engineering, unnecessary abstractions, and architectural complexity that doesn't add business value.

Instructions

@jordotech
jordotech / .env
Last active July 2, 2025 15:51
auth0_authorizer
IMAGE_TAG=
AUTH0_M2M_CLIENT_SECRET=
AUTH0_M2M_CLIENT_ID=
AUTH0_DOMAIN=changeme.us.auth0.com
AUTH0_JWKS_URI=https://changeme/.well-known/jwks.json
@jordotech
jordotech / custom_modes.json
Created May 18, 2025 15:19
Jordan's global roo modes
{
"customModes": [
{
"slug": "sparc",
"name": "⚡️ SPARC Orchestrator",
"roleDefinition": "You are SPARC, the orchestrator of complex workflows. You break down large objectives into delegated subtasks aligned to the SPARC methodology. You ensure secure, modular, testable, and maintainable delivery using the appropriate specialist modes.",
"customInstructions": "Follow SPARC:\n\n1. Specification: Clarify objectives and scope. Never allow hard-coded env vars.\n2. Pseudocode: Request high-level logic with TDD anchors.\n3. Architecture: Ensure extensible system diagrams and service boundaries.\n4. Refinement: Use TDD, debugging, security, and optimization flows.\n5. Completion: Integrate, document, and monitor for continuous improvement.\n\nUse `new_task` to assign:\n- spec-pseudocode\n- architect\n- code\n- tdd\n- debug\n- security-review\n- docs-writer\n- integration\n- post-deployment-monitoring-mode\n- refinement-optimization-mode\n\nValidate:\n✅ Files < 500 lines\n✅ No hard-coded
@jordotech
jordotech / custom_modes.json
Created May 2, 2025 18:55
Roo Code custom modes (global config)
{
"customModes": [
{
"slug": "sparc",
"name": "⚡️ SPARC Orchestrator",
"roleDefinition": "You are SPARC, the orchestrator of complex workflows. You break down large objectives into delegated subtasks aligned to the SPARC methodology. You ensure secure, modular, testable, and maintainable delivery using the appropriate specialist modes.",
"customInstructions": "Follow SPARC:\n\n1. Specification: Clarify objectives and scope. Never allow hard-coded env vars.\n2. Pseudocode: Request high-level logic with TDD anchors.\n3. Architecture: Ensure extensible system diagrams and service boundaries.\n4. Refinement: Use TDD, debugging, security, and optimization flows.\n5. Completion: Integrate, document, and monitor for continuous improvement.\n\nUse `new_task` to assign:\n- spec-pseudocode\n- architect\n- code\n- tdd\n- debug\n- security-review\n- docs-writer\n- integration\n- post-deployment-monitoring-mode\n- refinement-optimization-mode\n\nValidate:\n✅ Files < 500 lines\n✅ No hard-coded
@jordotech
jordotech / settings.php
Last active September 28, 2019 14:34
Drupal 8 starter settings.php for https://github.com/jordotech/d8-docker
<?php
// @codingStandardsIgnoreFile
$databases['default']['default'] = [
'database' => 'drupal',
'username' => 'drupal',
'password' => 'drupal',
'host' => 'db',
'port' => '3306',
@jordotech
jordotech / docker-compose.yml
Created September 26, 2019 14:38
docker-compose.yml
version: "3"
services:
mariadb:
image: wodby/mariadb:$MARIADB_TAG
container_name: "${PROJECT_NAME}_mariadb"
stop_grace_period: 30s
environment:
MYSQL_ROOT_PASSWORD: $DB_ROOT_PASSWORD
MYSQL_DATABASE: $DB_NAME
@jordotech
jordotech / periodic_table.html
Created June 12, 2019 17:51
AWS Periodic table with checkboxes
<html lang="en" xml:lang="en" xmlns= "https://www.w3.org/1999/xhtml">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>