From 5ab16b836a2fd673a6d1867fc5a10f90a528c1ae Mon Sep 17 00:00:00 2001 From: Suriyakumarvijayanayagam Date: Fri, 28 Aug 2026 20:14:43 +0530 Subject: [PATCH] Publish activity-agent as v2; the change to it was real, not formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correcting the previous commit's reasoning. It claimed the difference between this file and what production published was inert — a defaulted `webSearch: false` and a reordered skills list. That was based on comparing the file against the LIVE row in agent_definitions. The live row was the wrong thing to compare against: Snapshot compares against the stored v1 in definition_versions, and those two had diverged. Read from production directly, v1 as published carries two skills: skills: - anomaly-detection - operational-risk and the live row carries three, with activity-analysis added. So a skill was added to this agent after v1 was published, in place, without the version being raised — the exact silent rewrite this branch exists to stop. It is a genuine change of behaviour: an agent with a third skill answers differently from one with two. So the version is raised rather than the file being bent to match. v1 keeps what was approved; the current definition, which is what production has been serving, becomes v2. The earlier alignment of field order and `webSearch: false` is kept — that part WAS serialisation, and matching it keeps future imports quiet. Production has three agents with version rows at all, so two others may hold the same kind of drift. They did not conflict on this import, which means their live rows still match what was published; it does not mean nobody edited them. The image ships agents/, so this file only reaches production on the next image build. Any build from main at or after this commit carries it; a build from an older tree will fail the import again, by design. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01PJvibeSc1JYXjatankqM1g --- agents/activity-agent.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/activity-agent.md b/agents/activity-agent.md index af9a52b..fbac629 100644 --- a/agents/activity-agent.md +++ b/agents/activity-agent.md @@ -4,7 +4,7 @@ name: Activity Agent description: The audit trail — what happened in this workspace, who did it, and what looks unusual. icon: activity status: published -version: 1 +version: 2 reasoning: balanced trigger: Use on Activity, for the event log, who did what, and anything that looks out of pattern. pages: