Legal
Promises
Every claim the product makes about itself, and the code that keeps it. This is the document a Terms & Conditions page can be written from: each row is a statement we would be embarrassed to break, the mechanism that enforces it, and the test that fails when the mechanism is removed.
Two rules for this file:
- A promise with no enforcement point is not a promise, it is marketing. If the "enforced by" column cannot name a file, the promise comes out.
- A test is named, not described.
test/promises.test.tsreads this table and fails when a referenced file disappears, so a refactor that deletes the guard cannot leave the promise standing.
| # | What we promise | Enforced by | Test |
|---|---|---|---|
| P1 | Nothing is emailed in your name until you have agreed to the sending terms, and a missing agreement is a refusal, never a default. | backend/src/features/account/consent.ts (requireConsent), called at step 0 of backend/src/features/outreach/send.ts | backend/test/consent.test.ts |
| P2 | No site is crawled in your name without your crawl consent, and a refused crawl fetches nothing. | backend/src/features/outreach/discover.ts | backend/test/consent.test.ts |
| P3 | No model reads your data without your AI consent, and a withheld consent is a named answer (no_consent), not a silent fallback. | backend/src/features/jobs/rank.ts | backend/test/consent.test.ts |
| P4 | Your data leaves in an export only with your export consent; the export is capped at 300 rows. | backend/src/features/jobs/library.ts (exportJobs, EXPORT_MAX) | backend/test/consent.test.ts, backend/test/jobs-library.test.ts |
| P5 | Nothing an AI produces sends itself. The assistant has no send, save, apply or rank tool. | backend/src/lib/outreach/assistant.ts (ASSISTANT_TOOLS) | backend/test/assistant.test.ts |
| P6 | A draft that carries your résumé can be sent only by you, and a send that you withdraw consent for refuses without destroying the draft. | backend/src/features/outreach/send.ts | backend/test/send.test.ts, backend/test/consent.test.ts |
| P7 | We never claim an email went out when it did not: every send answers sent, sent_unrecorded, uncertain or failed, and the UI reads that field, not the prose. | backend/src/features/outreach/send.ts | backend/test/send.test.ts |
| P8 | Your daily caps are real, they are enforced by the server, and a refusal costs nothing. | backend/src/platform/limits.ts | backend/test/send.test.ts, backend/test/applications.test.ts |
| P9 | A retried request replays its answer instead of repeating its effect — one click, one email, one cap slot. | backend/src/http/idempotency.ts | backend/test/idempotency.test.ts |
| P10 | Your résumé and other files are never deleted by a retention sweep. They stay until you erase the account. | backend/src/platform/retention.ts (no blobs/profile_links in the sweep) | backend/test/retention.test.ts |
| P11 | Deleting your account is bounded, resumable and verified: credentials go first, the account row goes last, and we answer completed or in_progress — never a half-erased account reported as done. | backend/src/features/account/erasure.ts | backend/test/erasure.test.ts |
| P12 | An empty result and a blocked request are different facts. A zero we cannot verify is reported as empty-unverified, not as "no jobs exist". | scrapers/jobindie/src/server.rs (empty_result_note), backend/src/features/jobs/ingest.ts | scrapers/jobindie/src/server.rs (unit tests) |
| P13 | We never offer a password reset we cannot deliver. The reset screen appears only when a mail transport is configured, and the app learns that from GET /api/v1/config. | backend/src/http/routes/config.ts, backend/src/platform/auth.ts | backend/test/reset-password.test.ts |
| P14 | Your API key is shown once, stored as a SHA-256 digest, revocable, and never appears in a URL, a log line or an error message. | backend/src/features/account/apiKeys.ts | backend/test/apiKeys.test.ts |
| P15 | Rate limiting never becomes the reason the app is down: if the limiter's storage fails, the request is allowed and the failure is logged. | backend/src/platform/clientBudget.ts | backend/test/client-budget.test.ts |
| P16 | Telemetry is kept for at most 60 days; records you wrote yourself are kept until you erase them. | backend/src/platform/retention.ts (RETENTION), backend/migrations/0023_retention_indexes.sql | backend/test/retention.test.ts |
| P17 | A source we cannot reach is catalogued and refused — it is never dispatched and never charged. | backend/src/features/jobs/sourceCatalogue.ts | backend/test/scrape-pipeline.test.ts |
| P18 | The scraper services hold one service key each and never see your API key; per-user budgets live in the backend only. | scrapers/MiniWzrd/internal/api/tenancy.go, scrapers/jobindie/src/tenants.rs | scrapers/MiniWzrd/internal/cli/serve_test.go, scrapers/jobindie/src/server.rs |
| P19 | Every outbound site fetch goes through one proxy gateway, and a gateway failure fails closed — it never falls back to direct egress. | backend/proxy-gateway/main.go | backend/proxy-gateway/pool_test.go |
What is deliberately not promised here
- Uptime. There is no SLA in this repository, and none should be written from it.
- Email deliverability. We hand a message to the provider; whether a mail server accepts it is not ours to promise. That is why P7 is about what we report, not about what arrives.
- Job-board completeness. The scrapers report what they could read, and
empty-unverifiedexists precisely because some boards do not let us tell "nothing there" from "blocked".