Files
lincodex/docs/en/MVP.md
T

15 KiB

Lincodex MVP: submission package

Verified commit: c9f029471ed78ce5ec4583009abdc5a4c8c3bd97 (branch dev, 2026-10-10).

This document describes what the minimal release contains, how to run it, what limits the demonstration category, what is not implemented, and how the release was checked. Details live in the guides: ARCHITECTURE, DEPLOY, TESTING, SECURITY, COMPANY_QUOTAS, and the frontend guide. The HTTP API contract is in api/. The statements below are derived from the code, the contract, and these guides; planned behavior is kept apart from working behavior.

1. What is implemented

Registration and sign-in

  • Registration of a candidate and an employer with the C1 consent. The address is confirmed with a link from the email or with a six-digit code from the same email; after confirmation, sign-in returns the user to the saved step. See registration and confirmation.
  • Email is sent only with EMAIL_PROVIDER=resend. With disabled, registration is accepted but there is no way to confirm the address, and sign-in answers 403 email_not_verified. The prepared accounts of the demo stand are confirmed in advance. See mail.

Candidate

  • Consents C1-C5 in settings. C3 allows automatic categorization; without it, a manual assessment can be requested through a support case.
  • The profile is filled in manually, step by step, without a resume and without an FSP ID. The questionnaire holds specializations and self-assessment. The home page shows the next step. See candidate profile.
  • Skill assessment in two modes (see assessment):
    • the full demo_basic Backend Junior with Go test: 25 tasks from a synthetic bank, a 72-hour window, two work sessions, no practice. The result is compared with the pass mark of the policy version; on the demo stand a passed test gets a category with the basis synthetic_demo, otherwise the result is not_confirmed;
    • the demo_express test: three tasks; it never assigns a grade, a category, a percentile, or evidence and does not appear in the result history.
  • Results, history, and skill evidence are available to the candidate; the declared grade is always kept apart from the confirmed one. See evidence.

Publication and visibility

  • The anonymous card is published only after an explicit C2 and carries no name, contact, or salary amount. The candidate sees a preview built from the same response that the card for organizations uses.
  • Search status, hiding of individual organizations, change history, and the history of card views and contact reads. A card is shown to organizations only in a group of at least five. See visibility.

Employer

  • Organizations (one account can own several), a company profile, and a step-by-step need with a salary range. A need stores requirement versions; a search by a version does not change after an edit. See organizations.
  • Candidate search by a need or by the bank with filters: specialization, confirmed and declared grade, confirmation status, stack, work format, and salary compatibility. The result is split into the groups main, near, and unconfirmed, and the server builds the explanation (score components and unknown flags).
  • The baseline match works without ML: semantic similarity is a neutral 0.5 marked with the flag ml_unavailable; for a cohort below 30 the flag cohort_below_30 is added. See matching and explanations.

Invitations and contacts

  • The organization creates a draft from a search result, changes the terms with versions, and sends the invitation with a salary range in rubles. Sending spends one place of the weekly quota; a pending limit applies per need, a pair pause applies after a decline, and an unanswered invitation expires at its deadline. See drafts, sending, and limit and expiry.
  • A delivered invitation reaches the candidate inbox. The candidate marks it viewed, declines it, or accepts it with the C4 consent and a choice of contact fields. See view and decline and acceptance.
  • Acceptance creates a contact grant for exactly this pair. The organization reads the chosen fields on the invitation page, and every read checks the grant and the visibility again. Revoking C4, revoking C2, closing the publication, and hiding the organization close the read at once; republishing does not reopen a closed grant. See contact reads and revocation.

Company isolation and holdings

  • Organization operations answer a foreign identifier with the same refusal as for a random identifier. Search, invitations, and contact reads are available only to the owner of the organization.
  • Organizations of one account form a holding: E0 companies share common quotas (in the demonstration policy, 10 invitations per 7 days and 50 unique card views per 24 hours). The number of organizations per account is not limited. See COMPANY_QUOTAS.

Notifications and mail

  • An inbox in both cabinets; the only product source is a delivered invitation. The entry appears through the outbox, the relay, and Kafka after the commit, not inside the sending transaction. See internal notifications.
  • The invitation email goes through the outbox and the delivery consumer, and a separate notification loop (a worker in the backend process) sends it; before each send it checks the recipient rights again and leaves a quota reserve for service mail. The body is neutral and holds no contacts. See sending product notifications.
  • Support cases in both cabinets.

Privacy guarantees

  • Before the C4 record and the grant, the organization receives no contacts; cards, search results, invitation lists, and notifications contain no email, phone, or name.
  • The server log, outbox payloads, inbox rows, and mail requests carry no contact or profile values (checked by the isolation integration test, see section 5).
  • Organization responses contain no PDFs and no stored search snapshots: there are no such operations.

2. How to run

Run all commands from the repository root. You need Docker with Compose, GNU make, python3, and openssl; no GPU or external keys are required. Full instructions: quick start.

Working stand

cp .env.example .env        # replace every replace-this-... value and set IDENTITY_KEY_SECRET
make -C deploy config
make -C deploy up
curl http://localhost:8080/api/v1/healthz

Open http://localhost:8080 (the value of APP_PUBLIC_URL). For email, set EMAIL_PROVIDER=resend, RESEND_API_KEY, and EMAIL_FROM in the server environment. A clean stand holds migrations and the starting policy; operator steps (DATABASE_URL is required):

  1. Publish the matching section; without it the search answers 500: make -C backend policy-publish ARGS='matching --actor operator:<handle>'. See match search policy.
  2. For a passed full test to receive the demonstration category, set ASSESSMENT_DEMO_CATEGORIES_ENABLED=true, restart the backend, and attest the category opening with make -C backend assessment-category-attest ARGS='attest --specialization backend --grade intern --task-language go --actor operator:<handle>'. Publishing a new policy version requires a new opening and a new attestation, so do step 1 before candidates start attempts. See demonstration categories.

The task bank is not loaded on the core stand, and the DEPLOY guide describes loading it only as part of the demo stand seed, so a test cannot be started on the core stand. Use the demo stand to show the full path.

Demo stand and the jury route

make -C deploy demo-seed DEMO_MODE=isolated

The command starts a separate project at http://localhost:8090, publishes the policy with the matching section, loads the synthetic bank, attests the category, and creates the accounts candidate@, prepared-1@ to prepared-6@, employer-alpha@, and employer-beta@ in the domain demo.lincodex.test; the password comes from deploy/demo/demo.env or demo.env.example. The jury guide is at http://localhost:8090/demo; it takes eight minutes and exists only in the build of this stand. The route: the express and full tests of the candidate, prepared candidates with published cards, a need and a search by the owner of "Alpha", an invitation, acceptance with C4, and a contact read. See demo stand, route, and isolated stand. Reset: make -C deploy demo-reset DEMO_MODE=isolated (it refuses when the stand holds ordinary accounts).

Restoring from a release manifest

make -C deploy release-build
make -C deploy release-smoke
make -C deploy release-e2e
make -C deploy release-manifest RELEASE_ID=<id>
make -C deploy release-up RELEASE_ID=<id>
make -C deploy release-manifest-verify RELEASE_ID=<id> RELEASE_VERIFY_PROJECT=<project>
make -C deploy demo-seed DEMO_MODE=isolated RELEASE_ID=<id>

The manifest is immutable: it pins the sources, lockfiles, Compose files, and image IDs, and release-up starts those images without building or pulling and checks the hashes. A manifest is published only for a clean tree and after successful smoke and E2E runs on those images. release-manifest-verify compares the running containers with the manifest. A demo stand restored from a manifest has no /demo guide because it uses the frontend of the main release. The assessment bank is not snapshotted in the manifest (product_data_status is partial). See release manifest.

3. Limits of the demonstration category

  • The task bank is small and synthetic: 25 families for the full test and three for the express test. The families go through the regular publication pipeline with author and reviewer labels, but their content did not receive a subject-matter review.
  • Thresholds are not calibrated, no percentile is computed, and there is no adaptive test. The result shows the mechanics, not a measured qualification.
  • In the API the category basis is synthetic_demo, described in the contract as a demonstration category that is not a validated measurement. By the product owner's decision the interface shows it as an ordinary confirmation (the label "Test result"). The API and this documentation keep the basis.
  • The express test assigns no grade under any settings.
  • The consent texts C1-C5 are published by migrations as demo, without legal review. Do not register real people on the demo stand.

4. What is not implemented

The following belongs to the full product and does not work in this release:

  • coding practice (a sandbox) and an adaptive test;
  • the final bargaining round and counter-offers: no operation creates the counter state, and a salary raise answers 501 not_implemented;
  • interview scheduling and reminders;
  • withdrawal of an invitation by the organization and cancellation by the candidate: both operations answer 501;
  • roles other than the owner and need assignments: only the owner of an organization can search, invite, and read contacts;
  • PDF documents and stored search snapshots;
  • category recommendations for a need: the need response reports the state pending or not_available with an empty list;
  • enabled ML inference: the ML service starts separately without a model, and the backend does not call it;
  • FSP integration: there is no mode, fixture provider, or call to an external API;
  • the SMTP transport: selecting EMAIL_PROVIDER=smtp stops the backend at startup;
  • ATS integration;
  • password reset, resume upload and parsing, and emails for events other than confirmation and a new invitation.

5. How it was verified

Acceptance result on the verified commit (2026-10-10): make verify passed, including 110 integration tests and the technical smoke; make -C deploy test-e2e-registration - 95 passed, 1 skipped; make -C deploy test-e2e - 64 passed, 32 skipped; make -C security install test check and make security-images passed with no blocking findings (the scanners ran in a Linux container, as in CI, because their installer supports only Linux; the exception for CVE-2026-93687 is valid until 2026-10-19). The boundaries of every check are described in TESTING.

Check What it proves
make verify Contract generation without drift, formatting, linters, types, build, Compose, documentation, backend with the race detector, integration tests on PostgreSQL, Redis, SeaweedFS, and Kafka, and a technical smoke
make -C deploy smoke Stack startup, dependency readiness, and dependency failures; it does not check a business flow
make -C deploy test-e2e The Playwright suite on a throwaway stack with mail disabled, including mail-unavailable.spec.ts: the user sees that the email may arrive later and cannot sign in before confirmation
make -C deploy test-e2e-registration Registration, confirmation by link and by code, and sign-in through the local Resend-compatible inbox, and within it acceptance-path.spec.ts
acceptance-path.spec.ts The minimal path on the real backend: five candidates, the full test with a synthetic_demo category, publication, a need, a search with an explanation and a filter, invitations, acceptance with C4, a contact read, a decline, C2 revocation, and no duplicates after a refresh and a double acceptance. See the path to contacts
TestCompanyIsolationAndRevocationOverHTTP Isolation of companies and candidates, immediate closure after hiding and after revoking C4 and C2, and no contacts in the log, outbox, inbox, and mail requests. See organization tests
TestInvitationNoticesSurviveRelayAndConsumerRestarts Exactly one notice and one email per recipient after relay and consumer restarts and a lost offset
TestHoldings, TestCompanyQuota The shared E0 quota pool inside a holding and no overrun under concurrent reservations
make -C security check, make -C security images Dependency vulnerabilities, secrets, dangerous constructs, and images; see SECURITY
make -C deploy check-demo, make docs-check Guards of the demo stand targets and the documentation structure
make -C deploy release-smoke, release-e2e The same smoke and browser suite on the release images; a passing run produces evidence for the manifest

The checks do not prove: assessment calibration, match accuracy, email delivery through the real Resend, operation behind HTTPS, and production load.