<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://tommy0804.ddns.net/index.php?action=history&amp;feed=atom&amp;title=Agentic_coding%2C_ticket_to_merged_code</id>
	<title>Agentic coding, ticket to merged code - 修訂紀錄</title>
	<link rel="self" type="application/atom+xml" href="https://tommy0804.ddns.net/index.php?action=history&amp;feed=atom&amp;title=Agentic_coding%2C_ticket_to_merged_code"/>
	<link rel="alternate" type="text/html" href="https://tommy0804.ddns.net/index.php?title=Agentic_coding,_ticket_to_merged_code&amp;action=history"/>
	<updated>2026-10-29T00:07:49Z</updated>
	<subtitle>本wiki上此頁面的修訂紀錄</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://tommy0804.ddns.net/index.php?title=Agentic_coding,_ticket_to_merged_code&amp;diff=835&amp;oldid=prev</id>
		<title>Tommy：​New page: agentic coding loop, ticket to merged code (flow, ticket states, one run, rules)</title>
		<link rel="alternate" type="text/html" href="https://tommy0804.ddns.net/index.php?title=Agentic_coding,_ticket_to_merged_code&amp;diff=835&amp;oldid=prev"/>
		<updated>2026-10-28T13:24:20Z</updated>

		<summary type="html">&lt;p&gt;New page: agentic coding loop, ticket to merged code (flow, ticket states, one run, rules)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Agentic coding, ticket to merged code&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; a self-hosted loop where I write the ticket and press merge, and two AI agents do everything in between.&lt;br /&gt;
&lt;br /&gt;
[[File:Agentic_flow.png|1200px|thumb|center|I write the ticket and set it to &amp;#039;&amp;#039;Agent ready&amp;#039;&amp;#039;; a developer agent writes code and tests, checks run, a review agent reviews, and a pull request comes back to me. Blocking review findings and my &amp;lt;code&amp;gt;/agent …&amp;lt;/code&amp;gt; comments send the work back.]]&lt;br /&gt;
&lt;br /&gt;
== What the ticket shows ==&lt;br /&gt;
[[File:Agentic_states.png|1000px|thumb|center|The ticket moves by itself. Green: ready to merge. Purple or red: look closer. A &amp;lt;code&amp;gt;/agent …&amp;lt;/code&amp;gt; comment sends it back to the agent.]]&lt;br /&gt;
&lt;br /&gt;
== Inside one agent run ==&lt;br /&gt;
[[File:Agentic_run.png|1200px|thumb|center|Every &amp;quot;no&amp;quot; sends feedback back to the developer agent. After 3 rounds it stops and hands over.]]&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! rule !! how&lt;br /&gt;
|-&lt;br /&gt;
| Only I start it || ticket changes and &amp;lt;code&amp;gt;/agent&amp;lt;/code&amp;gt; comments from anyone else are ignored&lt;br /&gt;
|-&lt;br /&gt;
| Only I merge || agents work on their own branch and can never push to main&lt;br /&gt;
|-&lt;br /&gt;
| Agents can&amp;#039;t cheat || changes to existing tests or to the CI setup are rolled back&lt;br /&gt;
|-&lt;br /&gt;
| It always stops || at most 3 rounds per run; nothing restarts without me&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== How this differs from CI/CD ==&lt;br /&gt;
CI/CD builds, tests and releases code that is already written. This loop &amp;#039;&amp;#039;writes&amp;#039;&amp;#039; the code from a ticket and uses CI as one of its checks. Its review agent runs before the pull request exists; the automated review in [[Firmware CI/CD on GitHub Actions]] reviews pull requests opened by anyone.&lt;br /&gt;
&lt;br /&gt;
== Stack ==&lt;br /&gt;
Plane (tickets) &amp;amp;middot; Gitea (code, pull requests, CI) &amp;amp;middot; Claude Code in headless mode (developer and review agents) &amp;amp;middot; a small webhook receiver and orchestrator script.&lt;br /&gt;
&lt;br /&gt;
[[Category:Software Engineering]]&lt;/div&gt;</summary>
		<author><name>Tommy</name></author>
	</entry>
</feed>