FE-542: Criteria-review mode#37
Conversation
FE-542 Criteria-review mode
Synthesize verification conditions from approved requirements plus earlier criteria-like signals, then drive review turns until coverage is complete. Acceptance
|
… round-trip through observer persistence Amp-Thread-ID: https://ampcode.com/threads/T-019d762a-383e-77bb-a53e-d9c8768dceaf Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d762a-383e-77bb-a53e-d9c8768dceaf Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17 Co-authored-by: Amp <amp@ampcode.com>
…bility Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17 Co-authored-by: Amp <amp@ampcode.com>
…rkflow state Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17 Co-authored-by: Amp <amp@ampcode.com>
…ment to ln-build Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f Co-authored-by: Amp <amp@ampcode.com>
…ewStatus type Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f Co-authored-by: Amp <amp@ampcode.com>
…n functions Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f Co-authored-by: Amp <amp@ampcode.com>
…d recording functions Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f Co-authored-by: Amp <amp@ampcode.com>
…estionSchema superRefine Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f Co-authored-by: Amp <amp@ampcode.com>
…ter review-seam refactor Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f Co-authored-by: Amp <amp@ampcode.com>
8365103 to
3d8eb1c
Compare
334d7bc to
48e7847
Compare
🤖 Augment PR SummarySummary: Adds end-to-end “criteria-review mode” after requirements close, including grounding criteria turns in approved requirements, persisting explicit criterion review state, and supporting final criteria closure. Changes:
Technical Notes: Criteria closeability is now computed from explicit criterion review coverage; interviewer context building and DB projection paths were expanded and covered with new integration tests. 🤖 Was this summary useful? React with 👍 or 👎 |
| ) | ||
| .min(2), | ||
| review: requirementReviewSchema.optional(), | ||
| requirementReview: requirementReviewSchema.optional(), |
There was a problem hiding this comment.
structuredQuestionSchema currently allows both requirementReview and criterionReview to be present on the same question, and /turns/:turnId/response will attempt to record both. Consider enforcing mutual exclusivity here to avoid unintended cross-kind review persistence if a malformed tool payload includes both fields.
Severity: medium
🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

feat: criteria grounding in approved requirements and first criterion round-trip through observer persistence
Amp-Thread-ID: https://ampcode.com/threads/T-019d762a-383e-77bb-a53e-d9c8768dceaf
Co-authored-by: Amp amp@ampcode.com
docs: mark slice 10.1 done, add I97 criteria-review grounding invariant
Amp-Thread-ID: https://ampcode.com/threads/T-019d762a-383e-77bb-a53e-d9c8768dceaf
Co-authored-by: Amp amp@ampcode.com
feat: explicit criterion review state and minimal criteria closeability
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17
Co-authored-by: Amp amp@ampcode.com
docs: traceability for slice 10.2 — criterion review state and closeability
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17
Co-authored-by: Amp amp@ampcode.com
feat: criteria closure and completed workflow state verification
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17
Co-authored-by: Amp amp@ampcode.com
docs: traceability for slice 10.3 — criteria closure and completed workflow state
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17
Co-authored-by: Amp amp@ampcode.com
docs: add batch pre-scoping to ln-scope and temporary-document retirement to ln-build
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17
Co-authored-by: Amp amp@ampcode.com
chore: retire memory/CARDS.md — all slice 10 cards built
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17
Co-authored-by: Amp amp@ampcode.com
docs: refactor plan — unify review seam duplication
Amp-Thread-ID: https://ampcode.com/threads/T-019d76c6-3181-71a8-9d32-1e546f5a0f17
Co-authored-by: Amp amp@ampcode.com
refactor: rename review → requirementReview on structuredQuestionSchema
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f
Co-authored-by: Amp amp@ampcode.com
refactor: extract shared getReviewStatusesOnActivePath, collapse ReviewStatus type
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f
Co-authored-by: Amp amp@ampcode.com
refactor: extract shared getReviewFromTurn, remove per-kind extraction functions
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f
Co-authored-by: Amp amp@ampcode.com
refactor: extract shared recordReviewFromTurnResponse, remove per-kind recording functions
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f
Co-authored-by: Amp amp@ampcode.com
refactor: extract shared validateReviewOptionPosition in structuredQuestionSchema superRefine
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f
Co-authored-by: Amp amp@ampcode.com
chore: retire completed review-seam refactor plan
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f
Co-authored-by: Amp amp@ampcode.com
chore: ln-sync — update coverage counts, refresh parallelism notes after review-seam refactor
Amp-Thread-ID: https://ampcode.com/threads/T-019d7708-5385-70ab-bb6e-9d9d10a0632f
Co-authored-by: Amp amp@ampcode.com