LM/Software Development: Difference between revisions

From Fundamental Ramen
< LM
Jump to navigation Jump to search
Tag: Replaced
Line 9: Line 9:
* AGENT_GUIDELINES.md
* AGENT_GUIDELINES.md
* PROMPT_TEMPLATE.md
* PROMPT_TEMPLATE.md
<quickmmd name="p0">
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>


== Phase 2 ==
== Phase 2 ==

Revision as of 04:13, 27 October 2026

Phase 0

Role

  • Coder

Goals

  • AGENT_GUIDELINES.md
  • PROMPT_TEMPLATE.md

Phase 2

Phase 3