Evidence intelligence for hiring: candidates are ranked on work you can inspect, every score cites its source, and a person makes every decision. See PRODUCT.md.
Rules for humans and AI agents: AGENTS.md (Claude Code reads it through CLAUDE.md). Design system: DESIGN.md. Work: GitHub issues on Project 2; every ticket has Gherkin acceptance criteria.
TypeScript end to end on Azure (ADR-001): Next.js 16 (App Router) + React 19, a Node worker, PostgreSQL with Drizzle ORM and Drizzle Kit migrations, Azure AI Foundry through the AI SDK, Tailwind 4 + shadcn/ui, Vitest, Playwright, Testcontainers, oxlint, Prettier, Turborepo, pnpm.
- Node 24 LTS (
nvm usereads.nvmrc) and pnpm 11 (corepack enable) - Docker (PostgreSQL for local development and integration tests)
pnpm install && pnpm services:up && cp .env.example .env.local # set the database URLs, see the runbook
pnpm db:migrate && pnpm devEverything else (commands, schema changes, Colima): docs/runbooks/local-development.md.
Layout and rules: ADR-002. No empty scaffolding: a folder is created by the ticket that builds it.
| Path | What | State |
|---|---|---|
AGENTS.md, CLAUDE.md, PRODUCT.md, DESIGN.md, SECURITY.md, THIRD_PARTY_NOTICES.md |
Rules, product, design system, licences of ported code | Built (AIV-P0-001) |
docs/ |
Product, design journeys and screen artboards (docs/01-design/artboards/, the spec per screen), architecture, ADRs, runbooks |
Built (AIV-P0-001) |
.claude/ |
Claude Code settings, guard hook, code-reviewer and ticket-writer agents |
Built (AIV-P0-001) |
.github/ |
PR template, ticket issue template (Gherkin), CODEOWNERS, Dependabot | Built (AIV-P0-001) |
tools/check-links/, tools/check-commit-msg/, tools/board/ |
Markdown link check; ticket key in commit messages; Project 2 status helper | Built (AIV-P0-001, AIV-P0-002) |
tools/seed/ |
pnpm db:seed: the synthetic demo cast and workspace, written through module contracts |
Built (AIV-P0-031) |
Root package.json, pnpm-workspace.yaml, turbo.json, lefthook.yml, docker-compose.yml, .github/workflows/pr.yml |
Workspace, tasks, Git hooks, local PostgreSQL, CI | Built (AIV-P0-002) |
apps/web/ |
Next.js app: marketing, recruiter app, candidate site, portal, client view; typed runtime config, /api/health, /api/ready |
Built (AIV-P0-002, AIV-P0-007) |
apps/web/src/features/decision-pack/ |
A job's decision packs: the Decision tab's list and one pack's page at /app/jobs/[jobId]/packs/[packId], with each member's snapshot score; built from the ranking's "Add to decision pack" (features/ranking) |
Started (AIV-P2-010) |
apps/web/src/features/evidence-profile/ |
Recruiter's candidate evidence profile at /app/candidates/[candidateId]?job=[jobId]: header, fit for the job, why they rank there and suggested interview questions per evidence gap; opened from a job's ranking |
Started (AIV-P1-043, AIV-P1-113) |
apps/web/src/features/candidate-account/ |
Candidate sign-up at /candidates/signup: the tenant's sign-up, then full name and kind of work |
Built (AIV-P3-007) |
apps/web/src/features/candidate-sign-in/ |
Candidate sign-in at /candidates/sign-in and sign-out, on its own session (__Host-credalent-candidate) |
Built (AIV-P0-011) |
apps/web/src/features/candidate-home/ |
Candidate home page: hero search, sample job needs, principles, the three newest jobs, Plus teaser | Built (AIV-P3-003) |
apps/web/src/features/candidate-shell/ |
Candidate site frame: header, footer, skip link, phone menu; links.ts lists every page it links |
Built (AIV-P3-001) |
apps/web/src/features/public-jobs/ |
Candidate site jobs list (search, filter chips, paging) and job detail, from the public read model; JobCard shared via index.ts |
Built (AIV-P3-004, AIV-P3-005) |
apps/web/src/features/ops/, apps/web/src/app/(ops)/ |
Operator console at /ops (ADR-012): the platformOperator policy (server/operator.ts) from PLATFORM_OPERATOR_EMAILS, the shell and the landing page; not linked from the recruiter app |
Built (AIV-P2-035) |
apps/web/src/features/members/ |
Workspace members at /app/settings/members (admins): members and invitations with their jobs, invite form with the job picker, role, jobs and removal; the invitation link page at /invite |
Built (AIV-P1-003) |
apps/web/src/features/shell/ |
Recruiter app shell: sidebar, top bar, synthetic data badge, theme cookie; navigation.ts maps every /app route |
Built (AIV-P0-020) |
apps/web/src/features/interviews/ |
Interviews list at /app/interviews: ongoing and completed tabs, each interview's round, interviewer, time, status and competencies to investigate; the sidebar count of ongoing interviews |
Built (AIV-P2-002) |
apps/web/src/features/scorecard/ |
Interview scorecard at /app/interviews/[interviewId] (Interview artboard): each competency to investigate with its evidence and stored suggested questions, a rating and a note, "Not asked" and "Not answered" per question, a recommendation, a self-saving draft, and the submit (AIV-P2-006) |
Built (AIV-P2-004, AIV-P2-006) |
apps/web/src/features/interview-summary/ |
"Meeting summary" on the interview page: paste a summary, the worker proposes evidence changes, a preview-confirm card shows each change with its quoted excerpt and the backed score before and after, and only what a person confirms is applied, with their reason | Built (AIV-P1-115) |
apps/web/src/features/marketing-home/ |
Website at / (Landing artboard): header, hero with the animated evidence card, how it works, role families from the job-type catalogue, trust principles, pilot promise and footer (motion, off under reduced motion) |
Built (AIV-P5-001 to 004) |
apps/web/src/test/ |
Unit-test fixtures shared by features: catalogue version 1, read from its committed snapshot | Built (AIV-P2-044) |
apps/backend/worker/ |
Worker host: outbox relay to Service Bus (AIV-P0-014), idempotent queue consumers, retries, dead-letter, scheduled messages (AIV-P0-015) | Built (AIV-P0-014, AIV-P0-015) |
apps/backend/ai-service/ |
Python AI service (AIV-P2-068, ADR-015): FastAPI, model calls for the tasks @credalent/ai sends (first: assistant.answer), internal ingress and managed identity; no database access |
|
modules/<m>/ |
Bounded contexts (@credalent/<m>), one PostgreSQL schema each |
Planned (per module ticket) |
modules/audit/ |
Append-only audit log: who did what, when and why; the platform audit log of operator actions (AIV-P2-035); enforced in PostgreSQL | Built (AIV-P0-013) |
modules/workspaces/ |
Tenancy: workspaces, members, roles; row-level security | Built (AIV-P0-008) |
modules/identity/ |
One user per verified email, sign-in methods (global) | Built (AIV-P0-009) |
modules/jobs/ |
Jobs, versioned per-job rubrics and competencies, job scope in row-level security; the ten job types | Built (AIV-P1-005) |
modules/candidates/ |
One person per workspace across jobs: identity and contact facts, normalised identifiers | Built (AIV-P1-016) |
modules/evidence/ |
Evidence sources and items: the cited excerpt, provenance, strength and limit, links to rubric competencies; one GitHub repository read per link an application brings | Built (AIV-P1-024) |
modules/assessment/ |
The scoring core: backed score (claims count zero), "up to N if claims hold", a cited level per competency, confidence; score history | Started (AIV-P1-030) |
modules/intake/ |
Applications: one per person per job, with every source it arrived from; no rejected stage. "Add applicants" on a job's Candidates tab files clean CVs by hand (AIV-P1-019) | Started (AIV-P1-017) |
modules/candidate-accounts/ |
The candidate's own account (keyed on the identity user, no workspace), profile, consents and consented workspace links; row-level security on app.candidate_account_id |
Built (AIV-P3-006) |
modules/ops/ |
Platform settings the operators change from the console: the pilot's workspace approval switch (ADR-012 point 9) | Built (AIV-P2-039) |
modules/notifications/ |
The only place that sends email: React Email templates from the artboards, sealed send log, ACS from the worker, delivery reports | Built (AIV-P0-017) |
modules/files/ |
Uploads: per-purpose size and type limits, a 10-minute single-blob SAS into quarantine, the scan result (or the dev-only scan-off path) moving clean files out, downloads of clean files only; files.file owned by a workspace or a candidate account |
Built (AIV-P0-016) |
modules/interviews/ |
Interviews: one application, one round, one interviewer and the approved rubric's competencies to investigate; scorecard due computed, never written by a timer; scorecard drafts (AIV-P2-004); meeting summaries and the changes they propose (AIV-P1-115) | Started (AIV-P2-001) |
modules/decisions/ |
Decision packs: one job and rubric version, members with a snapshot of their assessment, and the hiring owner's recorded decision per candidate; nothing advances, rejects or contacts anyone | Started (AIV-P2-009) |
packages/config |
Shared tsconfig, oxlint (base + web layers) and Vitest config | Built (AIV-P0-002) |
packages/tokens |
Case file tokens.json → tokens.css |
Built (AIV-P0-002) |
packages/ui |
Base controls on Tailwind 4 and the tokens: Button, Input, Select, Checkbox, Dialog, Toast and more | Built (AIV-P0-002, AIV-P0-019) |
packages/db |
PostgreSQL client (Entra token sign-in in Azure), withWorkspace, tenantPolicy, withCandidateAccount, candidateAccountPolicy, uuidv7, migration runner and CLI, roles |
Built (AIV-P0-002, AIV-P0-007) |
packages/i18n |
Typed message catalogues (messages/en.json, ICU), getTranslations, date, money and percent helpers |
Built (AIV-P0-026) |
packages/observability |
OpenTelemetry to Application Insights (initTelemetry), redaction of personal data, pino logger, withSpan |
Built (AIV-P0-018) |
packages/ai |
The only model client: named tasks on Azure OpenAI (managed identity), retries, circuit breaker, daily token budget (persisted per workspace), fake provider; prompts and schemas per task in src/prompts/ (AIV-P1-008); eval harness pnpm ai:eval on the synthetic golden set in evals/ (AIV-P0-029) |
Built (AIV-P0-027, AIV-P0-029) |
tests/architecture, tests/integration |
Boundary rules; PostgreSQL tests on Testcontainers | Built (AIV-P0-002) |
tests/e2e |
Playwright on next dev: the /dev/gallery component gallery (axe, visual snapshots, light and dark) and the /app shell; journeys J0–J7 next |
Built (AIV-P0-025) |
infra/ |
Bicep for Azure (dev shares Medvya dev, ADR-008; pilot and production in UAE North) | Built: dev (AIV-P0-E02); pilot defined, not applied (AIV-P1-096) |