AloysiusProductions Ops Core

Core operational infrastructure for Aloysius Productions projects, including CI/CD pipelines, shared workflows, automation tooling, and dashboard aggregation.

Key Decisions

DecisionRationaleOutcome
Data preservation over fresh calculationPrevent corrupted metrics when sources unavailableGood
Environment-aware script designScripts must work in both local and CI contextsGood
Threshold-based alerting (50% warn, 80% critical)Proactive monitoring before hitting limitsGood
Reusable GitHub Actions workflowsCentralize security scanning across all reposGood
Stale data indicator (†)Users know when viewing preserved dataGood
Scheduled dashboard updates (6hr cron)Balance freshness with API rate limitsGood

Patterns Established

PatternDescriptionReusable
Data preservation patternPreserve last-known-good values when calculation impossibleYes
Environment-aware scriptsDetect local vs CI and degrade gracefullyYes
Threshold-based resource alerting50%/80% warning/critical thresholdsYes
Security-gated deploymentBlock deploys on security scan failuresYes
Reusable workflow patternCentralized workflows called by projectsYes

Lessons Learned

LessonContextImpact
GitHub has 13+ rate limit categoriesSearch API is 30/min, Code Search is 10/minTrack all limits, not just core
CI runs without local workspaceDashboard showed 11k LOC instead of 147kAlways detect execution context
Incomplete data is worse than stale dataMetrics corruption from partial calculationPreserve over calculate when uncertain
Manual curation causes data driftKnowledge Vault had stale project status, ghost referencesImplement validation + quarterly audits

Technical Debt

ItemPriorityNotes
No automated rollbackMediumManual intervention required on bad deploys
Dashboard caching is file-basedLowCould use Redis for multi-instance