LM/Software Development: Difference between revisions

From Fundamental Ramen
< LM
Jump to navigation Jump to search
Created page with "== Team of Dev == <quickmmd name="dev-team"> flowchart TD %% ── Human Layer ── HUMAN["👤 Human<br/>Set Goals / Gate Key Decisions"] %% ── Orchestrator ── ORCH["🎯 Orchestrator<br/>Scheduling / Task Assignment / Arbitration / Cost Control"] %% ── Agent Layer ── subgraph AGENTS ["Agent Layer"] ARCH["📐 Architect<br/>System Design / Tech Selection"] CODER["⌨️ Coder<br/>Write Code"] REVIEW["..."
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Team of Dev ==
== Phase 0 to 1 ==


<quickmmd name="dev-team">
New Role: Coder
flowchart TD
    %% ── Human Layer ──
    HUMAN["👤 Human<br/>Set Goals / Gate Key Decisions"]


    %% ── Orchestrator ──
Goals
    ORCH["🎯 Orchestrator<br/>Scheduling / Task Assignment / Arbitration / Cost Control"]


    %% ── Agent Layer ──
* AGENT_GUIDELINES.md
    subgraph AGENTS ["Agent Layer"]
* PROMPT_TEMPLATE.md
        ARCH["📐 Architect<br/>System Design / Tech Selection"]
        CODER["⌨️ Coder<br/>Write Code"]
        REVIEW["🔍 Reviewer<br/>Code Review / Style / Best Practices"]
        TESTER["🧪 Tester<br/>Write & Run Tests"]
        DEBUG["🐛 Debugger<br/>Locate & Fix Bugs"]
        SEC["🔒 Security<br/>Vulnerability Scan / Compliance"]
        DEVOPS["🚀 DevOps<br/>CI/CD / Deployment"]
        DOC["📄 Doc<br/>Documentation / Changelog"]
    end


    %% ── Quality Gates ──
== Phase 1 to 2 ==
    subgraph GATES ["Automated Quality Gates"]
        GATE_LINT["Lint / Type-check"]
        GATE_COV["Test Coverage ≥ Target"]
        GATE_SEC["Security Scan"]
        GATE_REVIEW["Review Approval"]
    end


    %% ── Human Checkpoints ──
New Role: Reviewer
    subgraph CHECKPOINTS ["Human Checkpoints (Must Confirm)"]
        CP_ARCH["Architecture Decision"]
        CP_SCHEMA["DB Schema Change"]
        CP_PROD["Production Deploy"]
        CP_SECURITY["Security / Payment / PII"]
    end


    %% ── Observability ──
== Phase 2 to 3 ==
    subgraph OBS ["Observability"]
        LOG["📋 Full Log<br/>input / output / trace"]
        DASH["📊 Dashboard<br/>Agent Status Board"]
        ALERT["🚨 Alert<br/>Stuck / Over Budget / Retry Limit"]
    end


    %% ── Main Flow ──
New Role: Tester
    HUMAN -->|"Goals & Acceptance Criteria"| ORCH
    ORCH -->|"Assign"| ARCH
    ORCH -->|"Assign"| CODER
    ORCH -->|"Assign"| REVIEW
    ORCH -->|"Assign"| TESTER
    ORCH -->|"Assign"| DEBUG
    ORCH -->|"Assign"| SEC
    ORCH -->|"Assign"| DEVOPS
    ORCH -->|"Assign"| DOC


    %% ── Agent Workflow ──
== Phase 3 to 4 ==
    ARCH -->|"Design Specs"| CODER
    CODER -->|"Code Output"| GATE_LINT
    GATE_LINT -->|"✅ Pass"| REVIEW
    GATE_LINT -->|"❌ Fail"| CODER
    REVIEW -->|"✅ Approve"| GATE_REVIEW
    REVIEW -->|"❌ Needs Fix"| CODER
    GATE_REVIEW -->|"✅ Pass"| TESTER
    TESTER -->|"Run Tests"| GATE_COV
    GATE_COV -->|"✅ Pass"| SEC
    GATE_COV -->|"❌ Below Target"| TESTER
    SEC -->|"✅ Pass"| GATE_SEC
    SEC -->|"❌ Vulnerability Found"| DEBUG
    DEBUG -->|"Fix & Re-test"| TESTER
    GATE_SEC -->|"✅ Pass"| DEVOPS
    DEVOPS -->|"Deploy Docs"| DOC


    %% ── Human Checkpoints ──
New Role: Orchestrator
    ARCH -.->|"Requires Approval"| CP_ARCH
    CP_ARCH -.->|"✅ Approved"| ORCH
    CODER -.->|"Schema Change"| CP_SCHEMA
    CP_SCHEMA -.->|"✅ Approved"| ORCH
    DEVOPS -.->|"Before Go-Live"| CP_PROD
    CP_PROD -.->|"✅ Approved"| DEVOPS
    SEC -.->|"Payment / PII Related"| CP_SECURITY
    CP_SECURITY -.->|"✅ Approved"| ORCH
 
    %% ── Observability ──
    ORCH --> LOG
    AGENTS --> LOG
    GATES --> DASH
    ORCH --> ALERT
    ALERT -.->|"Notify"| HUMAN
 
    %% ── Feedback to Human ──
    ORCH -.->|"Progress / Anomaly Report"| HUMAN
    HUMAN -.->|"Adjust / Abort / Restart"| ORCH
 
    %% ── Styling ──
    classDef human fill:#ffe0b2,stroke:#e65100,stroke-width:2px
    classDef orchestrator fill:#c8e6c9,stroke:#2e7d32,stroke-width:2px
    classDef agent fill:#bbdefb,stroke:#1565c0,stroke-width:1px
    classDef gate fill:#fff9c4,stroke:#f9a825,stroke-width:1px
    classDef checkpoint fill:#f8bbd0,stroke:#ad1457,stroke-width:2px
    classDef obs fill:#e1bee7,stroke:#6a1b9a,stroke-width:1px
 
    class HUMAN human
    class ORCH orchestrator
    class ARCH,CODER,REVIEW,TESTER,DEBUG,SEC,DEVOPS,DOC agent
    class GATE_LINT,GATE_COV,GATE_SEC,GATE_REVIEW gate
    class CP_ARCH,CP_SCHEMA,CP_PROD,CP_SECURITY checkpoint
    class LOG,DASH,ALERT obs
</quickmmd>

Latest revision as of 04:16, 27 October 2026

Phase 0 to 1

New Role: Coder

Goals

  • AGENT_GUIDELINES.md
  • PROMPT_TEMPLATE.md

Phase 1 to 2

New Role: Reviewer

Phase 2 to 3

New Role: Tester

Phase 3 to 4

New Role: Orchestrator