LM/Software Development: Difference between revisions

From Fundamental Ramen
< LM
Jump to navigation Jump to search
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Phase 0 ==
== Phase 0 to 1 ==
 
New Role: Coder
 
Goals


* AGENT_GUIDELINES.md
* AGENT_GUIDELINES.md
* PROMPT_TEMPLATE.md
* PROMPT_TEMPLATE.md


<quickmmd name="p0">
== Phase 1 to 2 ==
sequenceDiagram
    autonumber
    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>
New Role: Reviewer


== Phase 2 ==
== Phase 2 to 3 ==


New Role: Tester


== Phase 3 to 4 ==


== Phase 3 ==
New Role: Orchestrator

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