Skip to main content

Engineering Governance Spec (EGS)

Benchmarked against: Anthropic — Agent Intelligence Protocol (governance framework) Version: 1.2 | Authority: Captain-approved Full spec: docs/EGS-v1.2.md + Cloud UB ub-5d9f36e55da6

The Engineering Governance Specification is SuperPortia's engineering rulebook. It defines how agents develop, test, deploy, and govern software across the fleet.


ADLC Framework

EGS uses the Agentic Development Lifecycle (ADLC) — replacing traditional SDLC for agent-driven development:

PhaseWhat happensKey gate
ConceptualizeVision, requirements, feasibilityCaptain approval
ArchitectDesign, tech choices, Pre-Flight Check66s Review
DevelopImplementation, WO-drivenCode standards
TestVerification, EGS complianceAcceptance criteria
DeployShip to productionDeployment gates
GovernMonitor, maintain, evolveSRE status

Core principles

Progressive Disclosure (PD)

Load information in layers, not all at once:

  • L1: CLAUDE.md — always loaded, minimal
  • L2: Rules (.claude/rules/) — always loaded, behavioral
  • L3: Skills (.claude/skills/) — on demand, task-specific

Roles

RoleIdentityResponsibilities
Captain夏哥 (Wishia)Vision, strategy, approvals, reviews
Chief Engineer小克 (Claude Code)Architecture, decisions, delegation
Strategist小西 (Claude Chat)Strategy analysis, reviews
ExecutorVarious agentsTask execution via WO system

Chapters — rules and their enforcement

Every EGS chapter defines rules (the "law") and has corresponding enforcement mechanisms (the "execution") documented elsewhere in this site. Together they form the complete developer encyclopedia.

ChapterRules (law)Enforcement (execution)Docs link
Ch.2Code Standards — naming, safety, testing, 12 sectionsLinter config, pre-commit hooks, code reviewContent in progress
Ch.3Development Workflow — ADLC phases, verification matrixWO system + verification gatesContent in progress
Ch.4Version Management — semantic versioning, changelogGit hooks + commit conventionsContent in progress
Ch.5Pre-Flight Check — 3D risk scoring (0–6)Pre-Flight Check SOP — agent self-assessment before every taskPre-Flight Check
Ch.6Deployment Gates — ship criteria, rollbackDeployment gates + SRE monitoringContent in progress
Ch.7Company Constitution — 14 supreme articlesAgent Intelligence Protocol + CLAUDE.md rules + hooksConstitution
Ch.8Agent Intelligence Protocol — 8 mandatory behaviorsBoot sequence, session hooks, CLAUDE.md L2 rulesAIP
Ch.9UB Governance — ingestion language, tags, quality, freshnessMTAAA pipeline + agent checklist + Tech FreshnessUB Governance
The inspection mirror

Every row in this table is a capability checkpoint. If the "Enforcement" column has a working link, that capability is built. If it says "Content in progress", we know what to build next. This is the docs site as inspection mirror — its structure drives system development.


Compliance

Every agent must comply with EGS. Non-compliance on critical rules (Constitution, Pre-Flight Check, cost awareness) is classified as a work incident requiring root cause analysis.