Skip to content

Commit d0cbf8b

Browse files
CopilotTheovanKraay
andcommitted
Remove IMPROVEMENTS-LOG.md update — log is only for testing framework changes
Co-authored-by: TheovanKraay <24420698+TheovanKraay@users.noreply.github.com> Agent-Logs-Url: https://github.com/AzureCosmosDB/cosmosdb-agent-kit/sessions/728b5aea-f2c7-4e91-9d77-cefe9ac0a9b9
1 parent c465134 commit d0cbf8b

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

testing-v2/IMPROVEMENTS-LOG.md

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

1919
## Improvements
2020

21-
#### 2026-03-23: Rule Enhancement — readItem() / CosmosItemResponse unwrapping guidance (Issue #27)
22-
23-
- **Scenario**: gaming-leaderboard
24-
- **Iteration**: P01/R02, P01/R04, P03/R03 (~30% of raw-SDK runs)
25-
- **Issue**: Code treats `CosmosItemResponse<T>` as `T` directly — missing the `.getItem()` call to extract the actual entity value. This causes type mismatch compilation errors in every `readItem()` call site. The existing `sdk-java-content-response` rule only covered write operations (`contentResponseOnWriteEnabled`), not read-side unwrapping.
26-
- **Improvement**: Enhanced existing rule `sdk-java-content-response.md` to cover both read and write operations:
27-
1. Added new leading section "Always unwrap readItem() with getItem()" with incorrect/correct examples for both sync and async patterns
28-
2. Updated title from "Enable content response on write operations" to "Unwrap CosmosItemResponse and enable content response in Java SDK"
29-
3. Updated tags and impact description to reflect broader scope
30-
4. Updated Key Points to emphasize that all CRUD operations return `CosmosItemResponse<T>`
31-
- **Files Modified**:
32-
- `skills/cosmosdb-best-practices/rules/sdk-java-content-response.md` (enhanced)
33-
- `skills/cosmosdb-best-practices/AGENTS.md` (recompiled)
34-
3521
#### 2026-03-12: New Rules — Parameterized TOP and Composite Index Directions
3622

3723
- **Scenario**: gaming-leaderboard

0 commit comments

Comments
 (0)