feat(assessment): assign the demonstration category and keep result history

This commit is contained in:
shira committed 2026-10-09 00:35:13 +03:00
1 parent b3c6dc870b
commit 8277133712
61 files changed
+4338 -268

No files matched your search

@@ -287,7 +287,10 @@ type AssessmentAttemptRepository interface {
// CreateSyntheticCategoryReview stores an operator-attributed immutable
// attestation after the domain has validated its explicit synthetic source.
CreateSyntheticCategoryReview(ctx context.Context, review domain.AssessmentSyntheticCategoryReview) error
// It reports false, and stores nothing, when an attestation of the same
// opening, manifest, and policy already exists, also when a concurrent
// transaction created it; the caller then reads the stored one.
CreateSyntheticCategoryReview(ctx context.Context, review domain.AssessmentSyntheticCategoryReview) (bool, error)
// SaveCandidateAssessmentCategory writes only an assigned category upgrade.
SaveCandidateAssessmentCategory(ctx context.Context, category domain.CandidateAssessmentCategory) error