Skip to content

Bbadhub/eng-platform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Engineering Platform v1.0.0

Unified engineering standards, tools, and templates for all projects.

Status: Production - Consolidated LegalAI + AdHub innovations Next: v0.3.0 - eng-platform-mcp meta server


🎯 Purpose

This repository contains:

  • Shared configs - ESLint, Prettier, TypeScript, Git hooks
  • Templates - CLAUDE.md, PR templates, CI workflows
  • Custom MCP servers - ARE/QRE engines, basin analysis, constraint validation, team analytics
  • MCP curation - Evaluated marketplace servers with version control
  • Automation scripts - Audit, compliance checking, migration
  • Tool experimentation - A/B testing framework for data-driven standardization
  • Team analytics - Track tool effectiveness and engineer health
  • Process docs - Code review, protected code, sprint workflow

πŸ“¦ Quick Start

For New Projects

# Clone platform
git clone https://github.com/YOUR-ORG/eng-platform

# Copy templates
cp eng-platform/templates/CLAUDE.md ./
cp eng-platform/templates/github/PR_TEMPLATE.md ./.github/
cp -r eng-platform/templates/ci/ ./.github/workflows/

# Install configs
npm install --save-dev \
  eslint prettier typescript \
  @typescript-eslint/parser @typescript-eslint/eslint-plugin

# Extend configs
echo 'module.exports = require("./eng-platform/configs/eslint/react")' > .eslintrc.js

For Existing Projects (RECOMMENDED)

# ⚑ SIMPLE PROMPT (just copy & paste):
#    See: PROMPT-ADD-TO-EXISTING.md
#
# πŸ“š DETAILED GUIDE (with explanations):
#    See: ADD-TO-EXISTING-PROJECT-PROMPT.md
#
# πŸ†• FOR NEW PROJECTS:
#    See: ADD-TO-REPO-PROMPT.md

# The simple prompt will:
# - Analyze your current setup
# - Add git submodule at .eng-platform/
# - Set up MCP servers (beads, team-analytics)
# - NOT overwrite your configs (safe for production)

Tool Experimentation (NEW)

# Track which tools your team uses and measure effectiveness
# See: tools-registry.json for available tools

# Start an experiment
node scripts/manage-experiments.js start exp-001-strict-linting

# Record weekly progress
node scripts/manage-experiments.js checkpoint exp-001-strict-linting

# Complete and analyze
node scripts/manage-experiments.js complete exp-001-strict-linting

Contributing Tools Back (NEW)

# ⚑ SIMPLE PROMPT (just copy & paste):
#    See: PROMPT-CONTRIBUTE-TOOL.md
#
# πŸ“š DETAILED GUIDE (with examples):
#    See: CONTRIBUTE-TOOL-PROMPT.md

# The simple prompt will:
# - Extract your tool
# - Remove project-specific code
# - Add to eng-platform
# - Create PR for review

πŸ“ Structure

eng-platform/
β”œβ”€β”€ audits/                  # Historical audit results
β”‚   β”œβ”€β”€ legalai-system/      # Phase 1-3 audit outputs
β”‚   └── adhub/               # AdHub audit + ADRs
β”œβ”€β”€ configs/                 # Shared configs
β”‚   β”œβ”€β”€ commitlint/          # Conventional commits enforcement
β”‚   β”œβ”€β”€ husky/               # Git hooks
β”‚   └── playwright-reporters/ # Custom Playwright reporters
β”œβ”€β”€ experiments/             # Tool A/B testing framework (NEW)
β”‚   β”œβ”€β”€ tool-experiments.json    # Active/completed experiments
β”‚   └── experiment-schema.json   # Experiment data schema
β”œβ”€β”€ templates/               # Templates and hooks
β”‚   β”œβ”€β”€ protection-guard-hook/ # PreToolUse hook for code protection
β”‚   └── github/              # PR templates, CI workflows
β”œβ”€β”€ skills/                  # Γ†therLight Skills (8 domain-agnostic skills)
β”‚   β”œβ”€β”€ code-analyze/        # Pattern analysis
β”‚   β”œβ”€β”€ protect/             # Code protection annotation
β”‚   β”œβ”€β”€ protection-audit/    # Protection compliance
β”‚   └── ...                 # + 5 more
β”œβ”€β”€ mcp-servers/             # Custom-built MCP servers (9 servers)
β”‚   β”œβ”€β”€ research-swarm/      # ARE/QRE research engine
β”‚   β”œβ”€β”€ basin-analyzer/      # Context drift detection
β”‚   β”œβ”€β”€ constraint-validator/ # Z3 SMT solver
β”‚   β”œβ”€β”€ report-writer/       # Report generation
β”‚   β”œβ”€β”€ ragflow/            # RAG orchestration
β”‚   └── ...                 # + 4 more
β”œβ”€β”€ mcp/                     # MCP marketplace curation
β”œβ”€β”€ scripts/                 # Automation tools
β”‚   β”œβ”€β”€ manage-experiments.js # Tool experiment management (NEW)
β”‚   β”œβ”€β”€ test-determinism-gate.js # Anti-hallucination tests
β”‚   β”œβ”€β”€ team-sync-check.js   # Environment validation
β”‚   β”œβ”€β”€ setup-posthog-flags.js # Feature flag management
β”‚   └── metrics/             # DORA metrics collection
β”œβ”€β”€ tools-registry.json      # Tool catalog for experimentation (NEW)
β”œβ”€β”€ workflows/               # CI/CD workflows (5 workflows)
β”‚   β”œβ”€β”€ nightly-e2e.yml      # Cross-browser E2E tests
β”‚   β”œβ”€β”€ regression-tests.yml # 5-layer regression
β”‚   └── ...                 # + 3 more
└── docs/                    # Process documentation

πŸ”§ Contents

Configs

Templates

Tool Experimentation & Analytics (NEW in v1.0.0)

Custom MCP Servers (NEW in v0.2.0)

MCP Marketplace Curation

Scripts

Documentation


πŸ“Š Version History

v1.0.0 (2026-02-09) - AdHub Consolidation

  • 11 AdHub innovations integrated and cleaned for domain-agnostic use
  • Protection Guard Hook - Automatic code protection enforcement via PreToolUse
  • Γ†therLight Skills (8 skills) - AI-native workflow automation
  • Determinism Gate - Anti-hallucination test detection
  • DORA Metrics - Engineering velocity tracking
  • 5-Layer Regression Testing - Dependency-based test organization
  • PostHog Feature Flags - Dependency graph architecture
  • commitlint Enforcement - 100% conventional commits
  • Team Sync Check - Environment validation
  • 5 CI/CD Workflows - E2E, regression, drift detection, metrics, database validation
  • Playwright Reporters - PostHog + feedback integration
  • 3 ADRs - Vitest migration, Protection Guard, REST vs tRPC (case studies)

v0.2.0 (2026-02-08) - Custom MCP Servers

  • 9 domain-agnostic MCP servers extracted from LegalAI
  • research-swarm - ARE/QRE research engine with formula scoring
  • basin-analyzer - Context drift detection (epsilon metric, basin clustering)
  • constraint-validator - Z3 SMT solver for logical conflicts
  • report-writer - Automated report generation
  • ragflow - RAG orchestration with Elasticsearch
    • postgres, mysql, dropbox, mcp-saas-template

v0.1.0 (2026-02-08) - Initial Release

  • Generated from LegalAI_System audit (Phase 1-3)
  • Base configs for ESLint, Prettier, TypeScript
  • CLAUDE.md template with protected code pattern
  • MCP marketplace curation (Tier 1: 5 servers)
  • Audit & compliance scripts

πŸš€ Roadmap

  • Phase 1-3: Audit LegalAI_System
  • Generate v0.1.0 from LegalAI audit
  • Extract custom MCP servers β†’ v0.2.0
  • Document bidirectional sync strategies
  • Phase 1-3: Audit AdHub (Repo #2)
  • v1.0.0: Consolidate LegalAI + AdHub innovations
  • Clean all files for domain-agnostic use
  • ADRs documenting real-world decisions
  • v0.3.0: Build eng-platform-mcp (meta MCP server)
  • v0.4.0: Publish configs as npm packages
  • v0.5.0: Publish MCP servers as npm packages
  • v2.0.0: Self-organizing platform + Monorepo
  • Quarterly MCP reviews
  • Apply to both repos (validation)
  • Migration scripts for existing projects

🀝 Contributing

See CONTRIBUTING.md for how to propose new standards.


πŸ“„ License

MIT - Internal use for [YOUR-ORG] projects

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages