From 32643c245e3dda84072ee328f2b1fcd778fe96d5 Mon Sep 17 00:00:00 2001 From: Nikolai Emil Damm Date: Mon, 26 Oct 2026 05:55:05 +0100 Subject: [PATCH 1/2] fix(agentic-engineering): account for first-line Bugbot triggers --- .claude-plugin/marketplace.json | 2 +- .github/plugin/marketplace.json | 2 +- .../agentic-engineering/.claude-plugin/plugin.json | 2 +- plugins/agentic-engineering/CHANGELOG.md | 7 +++++++ .../agents/portfolio-surveyor.agent.md | 12 ++++++++---- plugins/agentic-engineering/plugin.json | 2 +- .../resources/provider-neutral.desired-state.json | 2 +- 7 files changed, 20 insertions(+), 9 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 27b6458..f5db280 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -27,7 +27,7 @@ { "name": "agentic-engineering", "description": "The autonomous engineering system for repository portfolios — engineer, read-only surveyor, and meta-engineer agents; portfolio, product, spend, and improvement workflows; cross-tool instruction architecture and skill discovery; configured by the consumer AGENTS.md", - "version": "6.6.8", + "version": "6.6.9", "source": "./plugins/agentic-engineering" }, { diff --git a/.github/plugin/marketplace.json b/.github/plugin/marketplace.json index 27b6458..f5db280 100644 --- a/.github/plugin/marketplace.json +++ b/.github/plugin/marketplace.json @@ -27,7 +27,7 @@ { "name": "agentic-engineering", "description": "The autonomous engineering system for repository portfolios — engineer, read-only surveyor, and meta-engineer agents; portfolio, product, spend, and improvement workflows; cross-tool instruction architecture and skill discovery; configured by the consumer AGENTS.md", - "version": "6.6.8", + "version": "6.6.9", "source": "./plugins/agentic-engineering" }, { diff --git a/plugins/agentic-engineering/.claude-plugin/plugin.json b/plugins/agentic-engineering/.claude-plugin/plugin.json index ad36171..a95955a 100644 --- a/plugins/agentic-engineering/.claude-plugin/plugin.json +++ b/plugins/agentic-engineering/.claude-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "agentic-engineering", "description": "The autonomous engineering system for repository portfolios — engineer, read-only surveyor, and meta-engineer agents; portfolio, product, spend, and improvement workflows; cross-tool instruction architecture and skill discovery; configured by the consumer AGENTS.md", - "version": "6.6.8", + "version": "6.6.9", "author": { "name": "devantler-tech", "url": "https://github.com/devantler-tech" diff --git a/plugins/agentic-engineering/CHANGELOG.md b/plugins/agentic-engineering/CHANGELOG.md index 4b7cf06..ca3446a 100644 --- a/plugins/agentic-engineering/CHANGELOG.md +++ b/plugins/agentic-engineering/CHANGELOG.md @@ -21,6 +21,13 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and new one before re-enabling unattended writes. Stopping early resumes writes with the retired FinOps schedule still armed, or with a schedule pointing at an entrypoint that no longer resolves. +## 6.6.9 — 2026-10-26 + +**Fixed** — survey review accounting recognizes first-line Bugbot commands with +trailing text or connector-added footers. A command below a disclosure line +neither pairs nor closes the marker window. Request emission, authentication, +head binding and review/readiness gates remain unchanged. + ## 6.6.8 — 2026-10-25 **Changed** — sync `portfolio-maintenance` from `https://github.com/devantler-tech/agent-skills` at `refs/tags/v1.28.1`. diff --git a/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md b/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md index ed533c2..759b01a 100644 --- a/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md +++ b/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md @@ -457,10 +457,14 @@ The three marker forms are a **wire format shared with the orchestrator** — ma only the linked winner; report no losing reservation after that request marker or its outcome. Before a request exists, report the winner only until the short reservation window expires. - **`review_pending=|codex@|bugbot@|none>`** from request markers, plus - reactions/acks and later artifacts. For a lane whose trigger must be a bare command, **pair the - marker with the next exact-author bare trigger**, ignoring interleaved comments from other authors - and reservation-only comments; another authenticated request marker or bare trigger closes the - pairing window. A marker is pending only inside the short no-reaction or generous acknowledged + reactions/acks and later artifacts. For Bugbot request accounting, **pair the marker with the + next exact-author comment whose first nonblank line names `@cursor review`**, including trailing + text or a connector-added footer. Ignore interleaved comments from other authors and + reservation-only comments; another authenticated request marker or counted trigger closes the + pairing window. A command below a disclosure line neither pairs nor closes that window. + This is conservative observation, not permission to emit new request shapes: the emitted + Bugbot trigger remains the exact bare command. Exact author, structural disclosure, provider + and full-head marker requirements are unchanged. A marker is pending only inside the short no-reaction or generous acknowledged window; a result, a newer head, or evidenced expiry clears it. - **`review_progress=|codex:no-gate@|bugbot:no-gate@|none>`** when the latest current-head provider produced neither a gate-satisfying success nor a finding. Derive it diff --git a/plugins/agentic-engineering/plugin.json b/plugins/agentic-engineering/plugin.json index ad36171..a95955a 100644 --- a/plugins/agentic-engineering/plugin.json +++ b/plugins/agentic-engineering/plugin.json @@ -1,7 +1,7 @@ { "name": "agentic-engineering", "description": "The autonomous engineering system for repository portfolios — engineer, read-only surveyor, and meta-engineer agents; portfolio, product, spend, and improvement workflows; cross-tool instruction architecture and skill discovery; configured by the consumer AGENTS.md", - "version": "6.6.8", + "version": "6.6.9", "author": { "name": "devantler-tech", "url": "https://github.com/devantler-tech" diff --git a/plugins/agentic-engineering/resources/provider-neutral.desired-state.json b/plugins/agentic-engineering/resources/provider-neutral.desired-state.json index f2a6ebb..b865ccd 100644 --- a/plugins/agentic-engineering/resources/provider-neutral.desired-state.json +++ b/plugins/agentic-engineering/resources/provider-neutral.desired-state.json @@ -76,7 +76,7 @@ "portfolio-surveyor": { "enabled": true, "mode": "delegated-read-only", - "definitionSha256": "7db2a4f871703b72c18e9ca38d445b85974eba8155696853b36122cf1af28fa5" + "definitionSha256": "fc4f1fe4052a40c21d154a235aafda30def72c56188245c487b78213aab93bc1" }, "agent-improver": { "enabledWhen": "Both optional consumer contract sections are present", From 3f4f2704d847e4008de8e84b65e88cb7ad9127cf Mon Sep 17 00:00:00 2001 From: Nikolai Emil Damm Date: Mon, 26 Oct 2026 06:23:55 +0100 Subject: [PATCH 2/2] docs(agentic-engineering): define Bugbot accounting token boundaries --- plugins/agentic-engineering/CHANGELOG.md | 3 ++- .../agentic-engineering/agents/portfolio-surveyor.agent.md | 7 +++++-- .../resources/provider-neutral.desired-state.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/agentic-engineering/CHANGELOG.md b/plugins/agentic-engineering/CHANGELOG.md index ca3446a..6c62b1a 100644 --- a/plugins/agentic-engineering/CHANGELOG.md +++ b/plugins/agentic-engineering/CHANGELOG.md @@ -25,7 +25,8 @@ schedule still armed, or with a schedule pointing at an entrypoint that no longe **Fixed** — survey review accounting recognizes first-line Bugbot commands with trailing text or connector-added footers. A command below a disclosure line -neither pairs nor closes the marker window. Request emission, authentication, +neither pairs nor closes the marker window; a longer command-name prefix also +does not count. Request emission, authentication, head binding and review/readiness gates remain unchanged. ## 6.6.8 — 2026-10-25 diff --git a/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md b/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md index 759b01a..60b23c0 100644 --- a/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md +++ b/plugins/agentic-engineering/agents/portfolio-surveyor.agent.md @@ -459,8 +459,11 @@ The three marker forms are a **wire format shared with the orchestrator** — ma - **`review_pending=|codex@|bugbot@|none>`** from request markers, plus reactions/acks and later artifacts. For Bugbot request accounting, **pair the marker with the next exact-author comment whose first nonblank line names `@cursor review`**, including trailing - text or a connector-added footer. Ignore interleaved comments from other authors and - reservation-only comments; another authenticated request marker or counted trigger closes the + text or a connector-added footer. Count the command case-insensitively anywhere on that line, + with whitespace between `@cursor` and `review`, and `review` ending at a non-word character or end of line; + `@cursor reviewer` does not count. Text before the command is conservatively counted, never emitted. + Ignore interleaved comments from other authors and + reservation-only comments; another authenticated Bugbot request marker or counted trigger closes the pairing window. A command below a disclosure line neither pairs nor closes that window. This is conservative observation, not permission to emit new request shapes: the emitted Bugbot trigger remains the exact bare command. Exact author, structural disclosure, provider diff --git a/plugins/agentic-engineering/resources/provider-neutral.desired-state.json b/plugins/agentic-engineering/resources/provider-neutral.desired-state.json index b865ccd..d8f06d3 100644 --- a/plugins/agentic-engineering/resources/provider-neutral.desired-state.json +++ b/plugins/agentic-engineering/resources/provider-neutral.desired-state.json @@ -76,7 +76,7 @@ "portfolio-surveyor": { "enabled": true, "mode": "delegated-read-only", - "definitionSha256": "fc4f1fe4052a40c21d154a235aafda30def72c56188245c487b78213aab93bc1" + "definitionSha256": "e97a38eb100d87e852614cd87abf8eeee60501ee28b0eac323a538b8abaee99b" }, "agent-improver": { "enabledWhen": "Both optional consumer contract sections are present",