LM/Software Development: Difference between revisions

From Fundamental Ramen
< LM
Jump to navigation Jump to search
Replaced content with "== Phase 0 == <quickmmd name="p0"> flowchart TD A(ME) B(Coder) </quickmmd> == Phase 2 == == Phase 3 =="
Tag: Replaced
Line 2: Line 2:


<quickmmd name="p0">
<quickmmd name="p0">
flowchart TD
sequenceDiagram
  A(ME)
    autonumber
  B(Coder)
    participant H as 👤 Human
    participant C as ⌨️ Coder Agent
 
    Note over H,C: ━━━ Phase 0: Single Agent + Human Review ━━━
 
    H->>C: Task: "Implement user login API"
    Note right of C: Reads AGENT_GUIDELINES.md<br/>Applies prompt template
 
    C->>H: Returns code (draft v1)
 
    Note over H: 📖 Human reviews line-by-line<br/>(style, logic, security, edge cases)
 
    alt Code has issues
        H->>C: "Fix: missing input validation on line 12,<br/>rename fn to kebab-case, add error handling"
        C->>H: Returns code (draft v2)
        H->>C: "Fix: edge case for empty email not handled"
        C->>H: Returns code (draft v3)
    end
 
    Note over H: ✅ Human approves
 
    H->>H: git commit + push to branch
    H->>H: Manual smoke test
 
    alt All good
        H->>H: Merge to main
    else Still broken
        H->>C: "It crashes when email is null, fix it"
        C->>H: Returns patch
        H->>H: Re-test → Merge
    end
 
</quickmmd>
</quickmmd>



Revision as of 04:08, 27 October 2026

Phase 0

Phase 2

Phase 3