Readable Collection
The main page shows Allan's Career Hack posts as a timeline and lets people search or filter by topic.
A plain-English map of the noindexed wisdom collection, signup flow, quote bank, daily monitoring workflow, and maintenance steps behind wisdom.candidleap.com/allan.
The main page shows Allan's Career Hack posts as a timeline and lets people search or filter by topic.
The Ask Allan tool copies a prompt for Codex or Claude Code and points models to a clean Markdown quote bank so advice can cite real Allan quotes.
The How This Was Built page documents the human-directed AI process without publishing the raw transcript.
The signup page sends name and email directly to Resend. There is no D1 subscriber database and no local raw PII store.
This is the current shape of the system. The browser-facing pages are static files, while signup uses a Cloudflare Pages Function to talk to Resend.
LinkedIn and X posts from Allan are found manually and by the daily monitor skill.
public/allan/index.html stores the visual page and the post JSON used by the page.
scripts/export-quotes.mjs generates quotes.md and quotes.json for AI and automation.
Cloudflare Pages serves the static site and runs /api/subscribe.
Resend stores subscriber contacts in the Allan Career Hacks segment.
| Route | Purpose | Backed By |
|---|---|---|
| /allan/ | Main reading experience, filters, source links, Ask Allan prompt, and skill install link. | public/allan/index.html |
| /allan/quotes.md | Markdown quote bank for Codex, Claude Code, and other AI tools. | scripts/export-quotes.mjs |
| /allan/quotes.json | Structured quote data for scripts or future automation. | scripts/export-quotes.mjs |
| /sign-up/ | Signup form for people who want future Allan Career Hack updates. | public/sign-up/index.html |
/api/subscribe |
Validates signup input, creates or updates the Resend contact, and adds it to the segment. | functions/api/subscribe.js |
| /allan/wiki/ | This operational overview. | public/allan/wiki/index.html |
| /allan/how-built/ | Cleaned public build journal: human direction, AI execution, safety choices, and artifacts. | public/allan/how-built/index.html |
Subscriber data goes directly to Resend. Cloudflare receives the request transiently, validates it, and forwards it to Resend using the encrypted Pages secret.
Submits name and email on /sign-up/.
/api/subscribe normalizes the email, checks a honeypot, and rejects invalid input.
The contact is created or updated and placed in the Allan Career Hacks segment.
RESEND_API_KEY is installed as an encrypted Cloudflare Pages production secret.postsData JSON inside public/allan/index.html. Keep newest posts first.node scripts/export-quotes.mjs so quotes.md and quotes.json match the visual page.npx wrangler pages deploy public --project-name wisdom --branch main./allan/, /allan/quotes.md, /sign-up/, and a safe test request to /api/subscribe.The Codex skill monitor-allan-career-hacks contains the search playbook for finding new Allan posts. The daily automation runs with high reasoning effort and should:
RESEND_API_KEY. Cloudflare can list that the secret exists, but it cannot reveal the value.public/_headers and page-level robots tags./api/subscribe after dependency or provider changes.node scripts/export-quotes.mjs
node --check functions/api/subscribe.js
npx wrangler pages secret list --project-name wisdom
npx wrangler pages deploy public --project-name wisdom --branch main
curl -sS https://wisdom.candidleap.com/allan/quotes.md | head
curl -sS -X POST https://wisdom.candidleap.com/api/subscribe \
-H 'content-type: application/json' \
--data '{"name":"Test User","email":"test@example.com","website":""}'