Skip to content

Commit 22436f8

Browse files
Fix 0086 changelog em dash and stale ttl message
Address CoPilot review on #227: - CHANGELOG 0.17.0 header uses a hyphen, not an em dash, per .github/copilot-instructions.md (new entries avoid the em dash; older headers are intentionally left as-is). - The fetch negative-ttl ValueError message no longer says "None preserves current behavior"; with a manager default configured, per-call None selects the default. Reworded to match the precedence. Comment/wording only; no behavior change.
1 parent 8575b42 commit 22436f8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ All notable changes to `openarmature-python` are documented in this file.
44

55
The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). The package follows [Semantic Versioning](https://semver.org/); pre-1.0 minor bumps may carry behavioral changes per [spec governance](https://github.com/LunarCommand/openarmature-spec/blob/main/GOVERNANCE.md).
66

7-
## [0.17.0] 2026-07-20
7+
## [0.17.0] - 2026-07-20
88

99
### Added
1010

src/openarmature/prompts/manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ async def fetch(
150150
if cache_ttl_seconds is not None and cache_ttl_seconds < 0:
151151
raise ValueError(
152152
f"cache_ttl_seconds must be >= 0 (got {cache_ttl_seconds!r}); "
153-
"None preserves current behavior, 0 forces a fresh read"
153+
"None selects the manager default or the backend's own caching, "
154+
"0 forces a fresh read"
154155
)
155156
# Proposal 0086 precedence: an explicit per-call value (including
156157
# 0) wins; else the manager default; else None (the backend's own

0 commit comments

Comments
 (0)