Skip to content

[Epic] Make the Code Review Engineer a real, differentiated employee #10

Description

@michaelzwang13

Context

AgentOS markets a marketplace of specialized AI employees, but exploration showed the employee types aren't actually differentiated: Code Review Engineer, Customer Support, and Secretary run the identical container with the identical code and skill set — the role is just a string env var. The template fields that would make a role distinct (system_prompt, allowed_actions) are parsed but ignored, and the "5-layer enforcement moat" from the docs is entirely unbuilt.

Decision: go deep on one role rather than add more undifferentiated shells. Turn the Code Review Engineer into a genuinely real employee — behavior driven by its template, boundaries provably enforced, autonomous, and memory-backed. The engine built here (template → runtime) is also what would make any future breadth or marketplace play cheap.

Phases — build order A → B → D → C

Notes

  • The four phases share one migration backend/migrations/004_code_review_engineer.sql (also update schema.sql).
  • Runs locally on Docker Desktop; ~5 days total for one engineer.

Activity

  1. michaelzwang13 commented on May 25, 2026

    @michaelzwang13
    OwnerAuthor

    All four phases shipped:

    The Code Review Engineer is now a differentiated, trust-moated, autonomous, memory-backed employee end-to-end: hire → subscribe to a repo → watcher dispatches a review on the next open PR → review posted on GitHub with the per-agent token, action policy enforced, every call audit-logged, dedup against reviewed_prs.

    Remaining depth work tracked separately: #33 (pipe the diff into the review prompt so it references actual code), #23 (memory compaction), #17 (bring Customer Support & Secretary to A/B/D parity).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions