Skip to content

Commit ab87c6f

Browse files
richlanderclaude
andcommitted
Clarify pre-computation timing and anti-pattern reasoning
- "pre-computed" → "pre-computed at publish time" (reinforces static nature) - Anti-pattern now explains why: "(this adds fetches and duplicates work the graph already did)" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6c8c702 commit ab87c6f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

llms.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Reference:
5151
4. Filter by `affected_releases` if user specified versions
5252
5. Only fetch `cve.json` for CVSS vectors, CWE, or package version ranges
5353

54-
The `prev-security` links are pre-computed and cross year boundaries automatically (e.g., `2025/01` → `2024/11`). Following them is O(security-months), not O(all-months). No year index fetches needed after the first.
54+
The `prev-security` links are pre-computed at publish time and cross year boundaries automatically (e.g., `2025/01` → `2024/11`). Following them is O(security-months), not O(all-months). No year index fetches needed after the first.
5555

5656
Example traversal for "CVEs since September 2024":
5757

@@ -66,7 +66,7 @@ Timeline Index → 2025/index.json
6666
→ prev-security → 2024/08 (before Sept, STOP)
6767
```
6868

69-
**Anti-pattern:** Do not fetch year indexes to inspect `_embedded.months[]` and plan fetches manually. The `prev-security` chain already encodes this — follow it instead.
69+
**Anti-pattern:** Do not fetch year indexes to inspect `_embedded.months[]` and plan fetches manually (this adds fetches and duplicates work the graph already did). The `prev-security` chain already encodes this — follow it instead.
7070

7171
**"What patch should I install for .NET X?"** — Direct version lookup:
7272

llms/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ The CVE JSON file provides full details and pre-computed query dictionaries:
497497
6. **Always ask**: "Would you like inline diffs for these fixes?"
498498
7. If yes: **Fetch immediately** — firewall or domain restrictions may block later access
499499

500-
The `prev-security` links are pre-computed and cross year boundaries automatically (e.g., `2025/01``2024/11`). Following them is O(security-months), not O(all-months). No year index fetches needed after the first.
500+
The `prev-security` links are pre-computed at publish time and cross year boundaries automatically (e.g., `2025/01``2024/11`). Following them is O(security-months), not O(all-months). No year index fetches needed after the first.
501501

502-
**Anti-pattern:** Do not fetch year indexes to inspect `_embedded.months[]` and plan fetches manually. The `prev-security` chain already encodes this — follow it instead.
502+
**Anti-pattern:** Do not fetch year indexes to inspect `_embedded.months[]` and plan fetches manually (this adds fetches and duplicates work the graph already did). The `prev-security` chain already encodes this — follow it instead.
503503

504504
**For specific month queries**, navigate directly:
505505

0 commit comments

Comments
 (0)