First deployment
Some checks failed
quality-gates / lint-and-test (push) Has been cancelled
quality-gates / security-scan (push) Has been cancelled

This commit is contained in:
2026-02-13 09:14:04 -05:00
parent 0e21e035f5
commit 679561bcdb
128 changed files with 3479 additions and 120 deletions

View File

@@ -5,13 +5,18 @@ Canonical specification for queued-image-refetch-with-backoff requirements synce
## Requirements
### Requirement: Latest-30 queue construction
The refetch-images command SHALL enqueue up to the latest 30 news items for processing.
The refetch-images command SHALL enqueue up to the latest 30 news items for processing in batch mode and support targeted single-article mode when permalink targeting is provided.
#### Scenario: Queue population
- **WHEN** refetch-images is started
- **WHEN** refetch-images is started without a permalink target
- **THEN** the command loads recent news items
- **AND** enqueues at most 30 items ordered from newest to oldest
#### Scenario: Targeted permalink mode
- **WHEN** refetch-images is started with a valid permalink target
- **THEN** the command enqueues only the resolved article
- **AND** bypasses latest-30 queue expansion
### Requirement: Sequential processing
The image refetch queue SHALL be processed one item at a time.