| title | RolePatch docs |
|---|
RolePatch is an AI resume and job-application assistant. Paste a job URL, get a resume rewritten to match. Generate cover letters with company research, fit scores, STAR interview stories, and run review-first apply-agent workflows. Product: https://rolepatch.com.
This docs/ tree is the canonical source of truth for product knowledge,
architecture, decisions, workflows, operations, and durable learnings.
Blume (blume.config.ts) is only the presentation + search layer over this
tree. Edit the Markdown here; never edit generated Blume output.
- Product overview — what RolePatch is, who it's for, scope.
- App surfaces — every route and what it does.
- STATUS.md — short view: current objective, active work, blockers, next steps.
- PROJECT_STATUS.md — durable fleet-mandated status record (detail).
- agents.md — agent bootloader (commands, constraints, doc nav).
- Architecture overview — topology, Worker entry, edge cache, dual runtimes.
- Data model — Cloudflare D1 schema and guest localStorage parity.
- Decisions (ADRs) — recorded technical decisions and their rationale.
- Development workflow — setup, commands, testing, lint, build.
- Working on docs — documentation rules, validation, Blume rendering.
- CI — GitHub Actions gates (lint, test, cf:build, weekly quality).
- Deploy — Cloudflare Workers deploy path, route verification, smoke.
- Production smoke — public + authenticated smoke harness.
- Release verify — local preflight before publish.
- Company-watchlist sync job — hourly cron.
- Weekly digest job — weekly cron + manual dispatch.
- Apply-agent CLI + MCP runbook — HTTP API, CLI, MCP server.
- Landing-astro overlay runbook — Astro overlay during
cf:build.
- Learnings — study queue for non-obvious tech in this repo.
- Failed approaches — what we tried and abandoned, and why.
- Security audit — 2026-03-29 audit findings and dispositions.
- archive/ — superseded plans, PRDs, handoff notes, and old doc READMEs kept for git history. Not rendered as canonical Blume pages.
- One fact, one home. If a fact lives in code or config, link to it; do
not restate it. If a fact lives here, do not duplicate it in
README.mdorPROJECT_STATUS.md. - New non-obvious decision → new ADR under
architecture/decisions/(use the ADR template). Never renumber; supersede with a new ADR that points back. - Durable learnings →
knowledge/learnings/. Abandoned approaches →knowledge/failed-approaches/with the reason. - Keep pages short (150–300 lines). Split rather than grow.
- Run
pnpm docs:checkbefore committing doc changes. CI runs the same gate (link check + structure validation). - Do not edit generated Blume output (
.blume/,dist/). Edit the Markdown indocs/and rebuild. - Preserve history. Prefer
docs/archive/<name>.mdover deletion. Usegit mvwhen moving docs so rename history is kept. - Status:
STATUS.mdis the short view;PROJECT_STATUS.mdis the durable fleet-mandated record. UpdatePROJECT_STATUS.mdwhen PR-sized work completes; keepSTATUS.mdin sync as the short view.