Repository navigation
Description
| Phase | P2 · Recruiter path: interviews, decisions and pilot |
| Epic | AIV-P2-E02 · Decision pack and client shortlist view |
| Journey | J3 Interviews and decisions |
| Type / priority | Story · MUST |
| Roles | Recruiter, Hiring owner |
| Estimate | 2 ideal dev-days |
| Screens | Pack |
| Depends on | AIV-P2-010, AIV-P2-006 |
Description
Build the decision pack page from the Pack artboard (features/decision-pack/...). For the hiring owner it shows, on one page, what the role needs, the competencies and weights, and for each shortlisted candidate the backed score with its claim range, backed strengths, outstanding risks, the Round 1 finding and Credalent's recommendation. Strengths, risks and the recommendation are generated with the AI citation contract from the pack's assessment snapshots; every sentence links to its source.
Deliverables:
- Header "Round 2 shortlist: Senior AI Engineer", "Decision pack for the Head of Engineering · prepared 17 Nov 2026 · rubric v2", "Open comparison", "Preview the client view"; job stage header.
- "What the role needs" (success statement from the rubric) and "Competencies and weights" line.
- Candidate cards: score-with-uncertainty bar (68 up to 84), "Strengths, backed", "Outstanding risks", "Round 1 finding", "Credalent's recommendation: advance".
- Summary generation on
PackReady(worker), stored with citations; regeneration only when the recruiter asks. - Footer copy "Shared packs show evidence summaries and sources, not raw files. Four other candidates stay in the ranking and can be added to a later pack."
Acceptance criteria (Gherkin)
Feature: Decision pack page
As a hiring owner, I want strengths, risks and open questions for each shortlisted candidate on one page,
so that I can decide with the evidence in front of me.
Background:
Given the pack "Round 2 shortlist: Senior AI Engineer" with Sara Al Qahtani, Arjun Menon and Huda Al Mansoori
Scenario: The role and its weights
When I open the pack
Then I see "LLM systems in production 25% · Retrieval and evaluation 20% · Python services 15% · Cost and reliability 15% · Product judgement 15% · Arabic and bilingual NLP 10%"
Scenario: A candidate card cites its evidence
Then Sara's card shows "68" and "up to 84"
And "Strengths, backed" reads "Checked evidence on the two heaviest competencies; 412 of 460 commits in her eval harness."
And "Outstanding risks" reads "Cost reduction and Arabic work are claims with nothing to inspect."
And "Round 1 finding" reads "Backed score rose from 58 to 68 after she defended the merchant assistant."
And each sentence links to the evidence item it rests on
Scenario: Recommendation is labelled as Aivera's
Then Huda's card reads "Credalent's recommendation: advance, and probe cost in Round 2"
And no decision option is pre-selected
Scenario: Generated text without a valid citation is not shown
Given the summary for Arjun cites an evidence id outside his snapshot
Then that summary is rejected and the card shows "Summary unavailable" with the raw strengths list from the assessment
Scenario: Loading and empty
When summaries are still generating
Then each card shows "Preparing summary" while scores are already shown
Given a pack with no members
Then I see "This pack has no candidates. Add them from the ranking."
Scenario: Access
Given I am not a member of this workspace
When I open the pack URL
Then I get 404Tests
- Eval harness: golden case for the three-candidate pack, citations valid 100%.
- Integration: summaries stored once per PackReady (idempotent).
- Playwright J3 step: open pack, check Sara's card.
- axe on the pack page.
Not in this ticket
- Recording decisions: AIV-P2-012.
- Client sharing and client view: AIV-P2-013, AIV-P2-014.
- Comparison page: AIV-P1-047.
Design update, 22 Nov 2026
The design canvas was re-copied (PR #502, AIV-P0-934). What changes for this ticket:
- Pack stage header: "Shortlist ready" (not "Round 2 shortlist ready"), within the seven-stage header. Check "Credalent's recommendation" copy against
Pack.dc.html. - Recording decisions leads to decision emails (see the decision-recording ticket); this page links "Review and send them" to Message candidates.
Pilot trial scope (24 Nov 2026)
This ticket is on the pilot trial path (label pilot, priority MUST, epic AIV-P1-E11): one recruiter signs in, adds a job, imports CVs, gets a first shortlist, records interview results, and forwards the final list to the hiring owner. Step 7 of 8: Decision pack and forwarding.
The pack content (strengths, risks, cited recommendation) feeds the branded HTML shortlist for the hiring owner.
Activity
AIV-P1-043, AIV-P1-119: candidate profile header and fit; hidden repo…
AIV-P2-010: resolve the code review
AIV-P1-114, AIV-P2-010, AIV-P2-005: choose for interview, decision pa…
AIV-P2-012: merge origin/main (#640 squashed as 61ad84f)
ALFRED-LUCIFER commentedon Nov 26, 2026
Done in PR #640 (merged as 61ad84f), deployed to dev (/api/ready 200). Each pack member gets cited strengths, risks, a Round 1 finding and Credalent's recommendation (advance or hold, decided in code at 50% of the weight met), generated once in the worker, not in a page request. Prompt
decisions.summariseMember@3. Firstai-eval-liveon main after merge: decisions.summariseMember at 100% on every gate, 16/16 judge golden cases: https://github.com/ALFRED-LUCIFER/aivera/actions/runs/45886671800