Skip to content

Instantly share code, notes, and snippets.

View panchicore's full-sized avatar
👽

Luis Pallares panchicore

👽
View GitHub Profile
@panchicore
panchicore / confirmar-transportista-workplan.md
Last active May 25, 2026 22:45
Feature: Confirmar Transportista (CARRIER_CONFIRMED) - Work Plan for Juan Miguel

Feature: Confirmar Transportista (CARRIER_CONFIRMED)

Asignado a: Juan Miguel Revisado por: Luis Pallares Cliente: TLC (Eduardo Galvan) Estimado: ~10 horas


Contexto del negocio (lee esto primero)

@panchicore
panchicore / starlark_migration_slides.html
Created May 12, 2026 18:58
Starlark Migration — Spencer/Infra Meeting Slides
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Starlark Migration</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background: #0a0a0a;
@panchicore
panchicore / profile_rename_validate.py
Created May 11, 2026 22:52
Profile rename-validate pipeline — find slow analyzer steps (used for PR #3103)
#!/usr/bin/env python3
"""
Profile the rename-validate pipeline to find which analyzer step is slow.
Usage:
cd src/backend && python ../../scripts/profile_rename_validate.py \
--org-cuid cmf7c8pup000o0faz59yxbc62 \
--resource-type model \
--field-key associatedcrid
@panchicore
panchicore / checklist_reunion_25abr.md
Last active April 24, 2026 15:25
Checklist reunión comité 25-abr — Edificio River Park

Reunión sábado 25 de abril

Agenda para alinearnos antes de la asamblea del 28.


1. La convocatoria del 28

  • Leer el orden del día juntos. ¿Incluye admin definitivo, comisión de recibo, peritaje?
  • Si faltan puntos: decidir si los proponemos en la asamblea o si activamos plan B (convocatoria propia con 45 firmas)
@panchicore
panchicore / field_set_node_ui_kit.md
Created April 14, 2026 21:48
Set Field Node — UI Starter Kit for UX designer

Set Field Node — UI Starter Kit

Panel for the field_set workflow node. One grouped dropdown for field selection, one dynamic value control based on field type. No conditions UI — node always runs.


Empty State

┌──────────────────────────────────────────┐
@panchicore
panchicore / workflow-finding-type-race-condition.md
Created April 6, 2026 19:55
Workflow finding type race condition — analysis and proposed fix

Workflow Finding Type Race Condition

Problem

When Workflow A calls Workflow B via a run_workflow node, both workflows must share the same entity_name_type (finding type). This is validated at save time and at every WorkflowManager instantiation. However, entity_name_type lives on the mutable Workflow record — not in the versioned snapshot — so it can be changed at any time via PUT /workflows/<cuid>, breaking running executions.

Root Cause

Two separate API paths update a workflow:

SA2 Final Verification — Authorization Request

Ticket: SC-14561 — 25 - Final SA2 verification: zero legacy patterns + docs update

Current State

77 SA1 legacy patterns remain across src/backend/ (76) and tests/ (1). The CI gate already blocks new patterns on every PR. We need to reach zero to close the SA2 migration epic.

Proposed: 9 PRs (one per logical group)

Missing Dependency Check on Artifact (Finding) Custom Field Deletion

Summary

Deleting an Artifact Field (finding custom field) skips dependency checking entirely. A user can delete a field that is actively referenced in workflow nodes, breaking running executions. Model Fields have full dependency protection; Artifact Fields have none.

Impact (prod data — vmprod_17feb)

Metric Count

ModelStageParams — add .name back + null-safe

Problem

  1. Demo and HLD show params.model_stage.name but pushed code removed .name (only .cuid)
  2. params.model_stage is None when no status → AttributeError on .name/.cuid access (Luis's null pointer concern)

Fix

@panchicore
panchicore / gist_content.md
Last active February 21, 2026 17:25
TLC Transport TMS - Test Quality & Optimization Audit

TLC Transport TMS - "Mental Peace" Testing Plan

📊 Projected Metrics (Production-Grade)

Category Current State Projected State Impact
Core Service Coverage 22.4% >95% Critical: Fixes blind spots in Cost/Price engine.
Isolation Coverage ~0% 100% Critical: Proves cross-tenant data leaks are impossible.
Soft-Delete Coverage <10% 100% High: Ensures deleted data is hidden from all UIs.
Action Redundancy High Low Medium: Leaner, faster, more maintainable test suite.