AIHero

    工作模式

    Software factory

    A system of work where triggers, not humans, start agent sessions, so more work runs AFK and HITL time is saved for what needs it.

    Matt Pocock
    Matt Pocock

    A system of work where agent sessions are started by triggers — an issue being created, a schedule, a CI failure, another session finishing — rather than by a human, so more work runs AFK and human attention is spent on the human-in-the-loop decisions that remain.

    Without a factory, every session starts because someone started it. Even fully AFK work waits on a person to open the session, point it at the ticket, and set it going. Teams want to ship more than that allows. A factory takes the human out of starting sessions, and not necessarily out of anything else.

    Common triggers and the sessions they start:

    TriggerSession it starts示例
    Issue created or labelledExploration, bug fix, implementationAn issue labelled ready-for-agent gets a session that opens a PR
    Schedule (cron)Recurring maintenanceOne lint rule fixed per night
    CI failure or monitoring alertDiagnosis, fix attemptA failing build on main gets a session that finds the breaking commit and proposes a fix
    Another session finishingFollow-on workA PR opened by one agent triggers an 自动化审查, whose comments trigger a fix-up session

    A factory doesn't have to cover the whole software process. One cron job that runs one kind of session and opens one reviewable PR is a factory. Starting that small is useful: a narrow loop produces small, similar PRs, and reviewing them shows how far the loop can be trusted before it's widened.

    Humans can sit anywhere in a factory — writing and labelling the issues that trigger sessions, approving a plan before implementation starts, doing 人工审查 before merge. Deciding which of those decisions stay human is the main design question. A codebase, or part of one, where no human reviews the factory's output is a dark factory.

    用法:

    "Who fixed all the no-floating-promises violations?"

    "The factory. Cron job picks one lint rule a night, opens a PR. I just review it in the morning."

    不只想学术语?

    加入 AI Hero,获取实用技能、AI 工程思考,以及帮助你始终走在前沿的资源。

    没有垃圾邮件,随时可以退订。

    分享