US03-03 — Generate and Persist Versioned Proposals #17

Closed
opened 2026-07-13 13:10:43 +02:00 by domverse · 3 comments
Owner

Source specification: delivery_backlog/stories/US03-03-proposal-generation.md

US03-03 — Generate and Persist Versioned Proposals

Epic: E03

As a user, I want AI-assisted album proposals with rationale and confidence so I can
evaluate suggestions before approving them.

Acceptance criteria

  • A provider adapter receives only the minimum aggregated evidence and returns a
    validated structured proposal.
  • Proposal, evidence version, model/prompt version, rationale, confidence, edits, and
    approval state are durable.
  • Malformed, rate-limited, failed, duplicate, and stale responses are explicit and
    safely retryable.
  • Approval validates the latest proposal version and performs no rename.

Automated tests

  • Deterministic fake-provider tests cover success, malformed output, retry, and failure.
  • API tests cover creation, edits, optimistic conflicts, approval, and restart.

Dependencies

  • US03-01, US03-02
Source specification: [delivery_backlog/stories/US03-03-proposal-generation.md](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/stories/US03-03-proposal-generation.md) # US03-03 — Generate and Persist Versioned Proposals Epic: [E03](https://git.domverse-berlin.eu/domverse/photoanalyzer/src/branch/main/delivery_backlog/E03-album-proposals.md) As a user, I want AI-assisted album proposals with rationale and confidence so I can evaluate suggestions before approving them. ## Acceptance criteria - A provider adapter receives only the minimum aggregated evidence and returns a validated structured proposal. - Proposal, evidence version, model/prompt version, rationale, confidence, edits, and approval state are durable. - Malformed, rate-limited, failed, duplicate, and stale responses are explicit and safely retryable. - Approval validates the latest proposal version and performs no rename. ## Automated tests - Deterministic fake-provider tests cover success, malformed output, retry, and failure. - API tests cover creation, edits, optimistic conflicts, approval, and restart. ## Dependencies - US03-01, US03-02
domverse added this to the E03 — Album Proposals milestone 2026-07-13 13:10:43 +02:00
domverse added a new dependency 2026-07-13 13:11:21 +02:00
domverse added a new dependency 2026-07-13 13:11:21 +02:00
domverse added a new dependency 2026-07-13 13:11:22 +02:00
domverse added a new dependency 2026-07-13 13:11:22 +02:00
domverse added this to the Photo Analyzer Delivery project 2026-07-13 13:19:45 +02:00
domverse added the status/backlog label 2026-07-13 13:52:48 +02:00
domverse added status/in-progress and removed status/backlog labels 2026-08-15 13:45:17 +02:00
domverse self-assigned this 2026-08-15 13:45:18 +02:00
Author
Owner

Claimed for implementation on branch us/US03-03-generate-and-persist-versioned-proposals.

Claimed for implementation on branch `us/US03-03-generate-and-persist-versioned-proposals`.
domverse added status/review and removed status/in-progress labels 2026-08-15 13:54:53 +02:00
Author
Owner

Submitted for review: #63

Tests passed:

  • work_item/scripts/python -m unittest discover -s work_item/tests -v
  • work_item/scripts/python -m pytest tests -q
  • work_item/scripts/python -m pytest tests/integration/test_album_proposals.py -q
Submitted for review: https://git.domverse-berlin.eu/domverse/photoanalyzer/pulls/63 Tests passed: - `work_item/scripts/python -m unittest discover -s work_item/tests -v` - `work_item/scripts/python -m pytest tests -q` - `work_item/scripts/python -m pytest tests/integration/test_album_proposals.py -q`
domverse added status/done and removed status/review labels 2026-08-15 13:55:11 +02:00
Author
Owner

Completed and merged via PR #63.

Completed and merged via PR #63.
domverse moved this to Done in Photo Analyzer Delivery on 2026-08-16 11:58:39 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: domverse/photoanalyzer#17