Skip to content

Commit 31c1302

Browse files
CopilotTheovanKraay
andcommitted
Revert IMPROVEMENTS-LOG.md changes — log is only for testing framework iterations, not SCOPE analysis
Co-authored-by: TheovanKraay <24420698+TheovanKraay@users.noreply.github.com> Agent-Logs-Url: https://github.com/AzureCosmosDB/cosmosdb-agent-kit/sessions/69c25094-a8d0-43bf-ad2f-3a8ad83a331f
1 parent e4ca074 commit 31c1302

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

testing-v2/IMPROVEMENTS-LOG.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,6 @@ Each improvement entry should include:
1818

1919
## Improvements
2020

21-
#### 2026-03-23: Rule Enhancement — Change Feed Idempotency Guidance (Rule 9.1)
22-
23-
- **Scenario**: gaming-leaderboard
24-
- **Iteration**: Java iterations P02/R04, P02/R05, P03/R03, P03/R04
25-
- **Issue**: Rule 9.1 (`pattern-change-feed-materialized-views`) documented Change Feed Processor setup mechanics but provided no guidance on at-least-once delivery semantics. 100% of Change Feed + counter runs (4/4) produced non-idempotent handlers using `getTotalGames() + 1` or `totalGames += 1` patterns, causing silent double-counting on event replay.
26-
- **Improvement**: Enhanced Rule 9.1 with idempotency semantics guidance:
27-
- Added prominent warning that Change Feed delivers events at-least-once
28-
- Added incorrect pattern examples (Java, .NET) showing non-idempotent counter increments
29-
- Added three correct idempotent alternatives: replace pattern (absolute values), conditional write (ETags), and mark-and-rebuild
30-
- Added comparison table of idempotent patterns with trade-offs
31-
- Updated Key Points to emphasize idempotency requirement
32-
- Added reference to Change Feed design patterns documentation
33-
- **Files Modified**:
34-
- `skills/cosmosdb-best-practices/rules/pattern-change-feed-materialized-views.md` (ENHANCED)
35-
- `skills/cosmosdb-best-practices/AGENTS.md` (recompiled)
36-
3721
#### 2026-03-12: New Rules — Parameterized TOP and Composite Index Directions
3822

3923
- **Scenario**: gaming-leaderboard

0 commit comments

Comments
 (0)