Skip to content

[AIV-P1-116] Preview the shortlist as the hiring owner will see it, in the workspace's branding #570

In review

Description

@ALFRED-LUCIFER
Phase P1 · Pilot trial
Epic AIV-P1-E11 (#565) · Pilot trial
Journey J3 Interviews and decisions
Type / priority Story · MUST
Roles Recruiter
Estimate 1.5 ideal dev-days
Screens Job: decision pack (Pack.dc.html), Client view of the shortlist (ClientPack.dc.html), shared email layout (ELayout.dc.html)
Depends on AIV-P2-010 (#124), AIV-P2-011 (#125); reads branding from AIV-P2-077 (#520) when it has shipped, not blocking

Description

The pilot shows the hiring owner's shortlist inside Credalent as a branded preview, so the recruiter can walk the owner through it on screen. Nothing is downloaded or sent: no candidate data leaves the database (AGENTS.md 1.2, 1.9, 1.10), so no rule exception is needed. It is a showcase for the pilot; the secure expiring link (#127) and branded email (#521) replace it when email goes live, and they reuse the same preview component, so nothing here is thrown away.

On the decision pack page, a "Preview as the hiring owner sees it" action opens a full-width preview in the workspace's branding (name, logo and accent from #520 when it exists, else the Case file default; "Powered by Credalent"). Per shortlisted person it shows: name, backed score with the "up to N if claims hold" range and its basis, strengths backed by evidence, outstanding risks, and Credalent's cited recommendation. It never shows contact details, raw CVs or evidence files. It carries the date it was prepared and a "Confidential" line. There is no download button and no copy-all action.

Acceptance criteria (Gherkin)

Feature: Preview the shortlist as the hiring owner will see it
  As a recruiter
  I want to see the final list the way the hiring owner will see it, in my workspace's branding
  so that I can present it on screen and check it before anything is sent

  Background:
    Given a decision pack for "Senior AI Engineer" with Sara Al Qahtani and Arjun Menon

  Scenario: Open the preview
    When I choose "Preview as the hiring owner sees it"
    Then I see each person's name, backed score with its range and basis, strengths, risks and the recommendation with its citations
    And I see "Powered by Credalent", the date prepared and "Confidential"

  Scenario: No private data is shown
    When I open the preview
    Then no email address, phone number, CV file or evidence file appears anywhere on the page

  Scenario: Branding
    Given the workspace has a name and logo
    When I open the preview
    Then the header shows the workspace name and logo
    And a workspace without branding shows the default header

  Scenario: Nothing leaves Credalent
    When I open the preview
    Then there is no download or send action
    And no email is sent and no file is created

  Scenario: Only the recruiter's jobs
    Given I am a hiring owner granted another job
    When I open this job's preview address
    Then I am refused

  Scenario: Keyboard and contrast
    When I tab through the preview in light and dark
    Then every control is reachable, focus is visible and axe reports no violation

Tests

  • Component test for the preview; Playwright with axe in light and dark.
  • Safety test needing a mutation check: render contact details in the preview, then a test that scans the page for emails and phone numbers must fail.
  • Authorisation: a job-scoped role without this job is refused (test fails when the check is removed).

Not in this ticket

The secure expiring link (#127), sending by email (#521), client choices (#128, #129), and any file download or export.

Activity

  1. added
    journey: J3 Interviews and decisions
    pilot
    on Nov 24, 2026
  2. changed the title [-][AIV-P1-116] Download the shortlist for the hiring owner as a branded HTML file after a preview[/-] [+][AIV-P1-116] Preview the shortlist as the hiring owner will see it, in the workspace's branding[/+] on Nov 24, 2026
  3. ALFRED-LUCIFER commented on Nov 26, 2026

    @ALFRED-LUCIFER
    OwnerAuthor

    PR #636 merged (3553881), 26 Nov 2026. The pack page's "Preview as the hiring owner sees it" opens a branded, read-only preview: no contact details, files or send actions, and job-scoped access. Deploying to dev now. This stays open for two partly met scenarios: the workspace logo (waits on #520; every workspace shows the default header with its initials) and the AI-generated strengths, risks and recommendation (#125, which also removes the risk of the preview generating explanations live past the 240 s ingress timeout).

  4. ALFRED-LUCIFER commented on Nov 26, 2026

    @ALFRED-LUCIFER
    OwnerAuthor

    The AI-generated strengths, risks and cited recommendation are now on the shortlist preview (#125, PR #640, deployed with 61ad84f), and the preview no longer calls a model in the request. This stays open only for the workspace logo and accent (#520).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    auditjourney: J3 Interviews and decisionsphase: P1pilotpriority: MUSTrecruitersecuritystatus: partly donetype: Story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions