APPROVED 2026-04-13 • FEATURE FREEZE • BUILD STARTED 2026-04-14

CampaignForge + ContentForge

Complete Spec Bundle — 5 Documents, 3 Repos, Building

5
Spec Documents
17
Decisions
3
Repos Live
700+
Files Shipped
134
Triggers (canonical)
75
Resources cataloged
10
Proprietary rankings
50
States covered (aid)
294
Tool parity tests
Spec Documents
Click any card to drill into the full visual breakdown.
Platform Spec (Ops App)
ContentForge (Content Sites)
Trust Framework (Accounts)
Execution Plan (Timeline)
Operator Runbook (Daily Ops)
Build Progress
Repos scaffolded 2026-04-14. Feature freeze in effect — building from locked specs.

campaignforge-app

PIPELINE UI DONE

SvelteKit 2 + Svelte 5 + Tailwind 4 + Drizzle ORM + shadcn-svelte

✓ App shell + auth + dark mode
✓ shadcn-svelte (9 components)
✓ PostgreSQL + Drizzle + migrations
✓ Agent Executor + SSE streaming
✓ Cost tracker (per-model pricing)
✓ Session manager (state machine)
✓ Pipeline orchestrator (stage sequencing)
✓ Brief editor (7-step form → YAML)
✓ Pipeline execution UI (SSE + timeline)
✓ Approval panels (angles + copy)
✓ 3 pipeline API routes wired
◆ Validation results display
◆ Deploy to Coolify
◆ GATE: Pipeline runnable from UI

contentforge

QUALITY GATES DONE

Astro 5 + Svelte islands + MDX + Tailwind 4 • 42 pages, 10 tools, Lighthouse 95+

✓ 20 articles + 10 tools + 4 E-E-A-T
✓ 8 shared + 10 tool Svelte islands
✓ JSON-LD schema (all page types)
✓ XML sitemaps (priority + lastmod)
✓ Zaraz events (5 × 10 tools)
✓ Playwright E2E (22 tests)
✓ a11y audit (zero critical/serious)
✓ Lighthouse CI (all pages 95+)
✓ Skip-to-content + ARIA roles
✓ Color contrast WCAG AA
◆ URL redirect plan + A/B test
◆ CF Pages production cutover
◆ GATE: ContentForge live on Astro

Lessons Learned

Session 23 — 4-Agent Parallel Orchestration for Gate 3 Deliverable D + B.4 Continuation (2026-04-17)

Parallel orchestration works cleanly when output paths don’t collide. Four research agents dispatched from a single orchestrator turn — voc-collector, school-data-puller, bls-extender, state-aid-resolver — each writing to a distinct subdirectory tree. Zero file collisions, zero coordination overhead, zero need to consult each other’s in-flight state. Wall-clock compressed from ~4h serial estimate to ~30min (longest pole). The discipline is upfront: confirm writes land in non-overlapping paths before launching, not after. Can’t parallelize when agents need to share a stateful file or each other’s intermediate conclusions; can parallelize when each agent’s output stands alone.

Self-contained briefs beat shared-context agents. Each agent brief included: project context files to read (absolute paths), exact task scope, output schema, guardrails (compliance + anti-hallucination + firecrawl-only), success checklist, report format + word cap. Agents came back with tight, actionable reports rather than rambling transcripts. Pattern reuses: if you can write the brief as if the agent just walked into the room cold, you don’t need to babysit.

Pell-refund discovery provokes fear before delight. VoC Reddit + Trustpilot signal that first-time Pell recipients default to “I’ll get in trouble” + tax-penalty anxiety, not windfall delight. Our current EFC Calculator output flow leads with the dollar amount then context. The real sequence should be permission-slip first (“this is legitimately yours”) then specificity (“here’s $7,395”). This inverts a framing assumption baked into Phase 2 tool specs. Flagged for Phase 6 lander archetype re-work.

Peer-insider-knowledge is the primary Reddit conversion mechanism. Reddit buyers convert each other not through copy but by surfacing concrete administrative mechanisms — unusual circumstances override, 90-day SAVE recertification, §127 structural requirements, SAP appeal pathways. The tools CampaignForge builds need to package peer-insider quality natively, not just present math. That means output screens that sound like “here’s the specific administrative lever you can pull” rather than “here’s your calculated number.” Phase 3 tool blueprint implication.

Middle-income squeeze is a distinct adult-learner identity. Not a sub-segment of traditional undergrad — a named persona. The narrative: parents “made too much to qualify” for need-based aid but had no savings → student dropped out → returned 10 years later. Our 8 desire families (F1–F8) partially address this but don’t name it. Candidate F9 or cross-cutting persona in Phase 2 reality_map.json.

DEMO_KEY rate limits don’t match the docs. api.data.gov DEMO_KEY documented at 30 req/hour, actual behavior 10 req/hour. Single batched 10-school Scorecard query exhausted budget; subsequent calls returned HTTP 429 retry-after 12096s (3.3h). Operator-key path is unblocking and should be the default for any production data pull; DEMO_KEY is genuinely demo-only, not “light production.” Document upfront. 5 minutes of operator reCAPTCHA saves 3.3h of wait.

Government agency web is deteriorating; Firecrawl catches it, PDFs survive it. MT primary URL 404’d (tourism content returned); OR redesigned its entire student-aid portal; UT USHE site Wordfence-503-blocks all scraping; CT statute-database URL replaced by knowledge-base article; WY admin URL is the administering-institution’s (UW-SFA) page, not the state’s. Seven of the 14 re-pulled records required URL replacement. The authority-data-cache “source_url” discipline is load-bearing — when these URLs drift, our claims stop being traceable. For UT specifically: legislative appropriations + USHE PDF downloads survive Wordfence; HTML scraping does not. Next-pass planning needs to internalize that PDF + API survive where HTML decays.

Session 22 — ContentForge Port Reconciliation + Tool Parity Verified (2026-04-17)

Port verification is a one-time debt that prevents an infinite-sized future debt. Before this session, ~4,500 LOC of production JS had been reimplemented in TypeScript with only 3 trivial unit tests covering one helper function. No automated check existed that the TS produced identical outputs to the JS running on degreesources.com. Ship any design change or dep upgrade on top of that, and a silent formula drift would go undetected into production. 291 parity tests later, the drift window is closed — every tool's calculation branch has golden cases, and a regression fails the suite in milliseconds. The cost was one session. The cost of finding out about drift from a user's email about "wrong EFC number" is unbounded.

Diff line-by-line before writing tests, not after. For each tool the workflow was: (1) read source JS calculation block, (2) read port .logic.ts, (3) diff constants and formulas mentally, (4) only then write tests. Finding a match lets the tests lock in known-good behavior. Finding a mismatch would have meant fixing the port before writing the test — but none appeared, which is itself a finding: the port author stayed faithful to the source. Parity tests that pass first-run are not anti-climactic; they're the goal.

"Tools must work just like the current site" is more testable than it sounds. The operator's stated requirement reads like a vague UX promise. But tool behavior = pure functions from inputs to outputs, which is the most testable thing in software. Once restated as "for every documented input combination, TS output equals JS output," it becomes a bounded, finite verification task. Always convert fuzzy "just work like" requirements into explicit input/output golden-case assertions.

Session-end script: git add -u silently drops new files; -A is the fix. Session #20 commit missed Deliverable B artifacts because -u only stages modified tracked files. Switched to -A; safety is preserved because the per-repo confirm step shows git status --short (including ?? entries) before staging. Also caught ContentForge branch drift (main not master) in the config. Tooling bugs compound across sessions; fix them when you notice them, not later.

Session 21 — Deliverable C Shipped + 50-State Coverage Achieved (2026-04-17)

A 2026-current biosphere study is the compliance-angle-map's external-environment twin. Deliverable A mapped the compliance-restriction list to psychological-desire translations; Deliverable C maps the 12 major 2026 market forces (enrollment cliff, AI displacement, layoff waves, SAVE end, FAFSA recovery, Gen-Z skepticism, OBBBA, Workforce Pell, §127 permanence, Meta Ad Library, platform benchmarks) to what’s converting RIGHT NOW. Five forces structurally favor our tool-backed-proof thesis (not coincidentally — the pipeline was designed for this environment). The enrollment cliff isn’t a problem to solve; it’s the rationale for the vertical-shifting strategy. The wage-premium plateau is the single most important datapoint because it empirically validates Gen-Z’s skepticism — so ROI Calculator's honest-verdict framing becomes a trust-building asset, not a conversion liability. Competitors still selling “guaranteed ROI” are fighting 2020 research with 2020 claims in a 2026 market.

One Firecrawl batch keeps paying dividends if the cache layer is schema-disciplined. Session #20 emitted 88 Firecrawl scrape files into .firecrawl/gate3-b/. Session #21 emitted 37 additional state-aid records, 8 BLS SOCs, 5 IPEDS pilots, and source-cited all 12 biosphere-study sections — zero new Firecrawl spend, because Session #20’s scrapes already contained the authoritative content. Every emitted record carries schema_version + authority_tier + cache_refresh_date; 14 [VERIFY] flags are queued where specific 2026-27 dollar amounts need re-pull. The cache doesn’t need to be perfect at seed; it needs to be correctly structured and honestly flagged.

“Full 50-state coverage” and “full 10-school pilot” are orthogonal scope questions. Operator C6 lock requires 50-state coverage at Phase 2 seed (agent-driven Copy Factory per ADR 0009 has no phased-copywriter constraint). That’s binary — 50 states covered or not. IPEDS pilot is different: 10 schools is a partner-negotiation scope that can stretch across sessions without blocking Phase 3. Solution: ship 50-state primary-program coverage this session (achieved); ship 5 of 10 IPEDS pilots with [PENDING_API_PULL] markers for Scorecard metrics; queue remaining 5 + Scorecard API pull for next session. Distinguish “coverage mandate” from “depth target” up front or the scope swims.

Session 20 — Phase 2 Gate 3 Deliverable B Shipped (2026-04-17)

Research sprints compound when batched in parallel with high-yield searches. 88 authoritative pages scraped across 6 parallel Firecrawl batches (federal, state × 7 sub-batches, military+tax+employer, niche-private, ranking-data APIs, verify-pass). Each firecrawl search --scrape returns multiple full authoritative pages in one call; batching them in background frees main context for structured-data emission. The real throughput multiplier isn't "scrape more" — it's "scrape once, emit structured records that feed every downstream deliverable." B.1 (75 records), B.2 (10 floor/multiplier stacks), B.3 (10 methodologies), B.4 (53 cache records) all sourced from the same 88 scrapes.

Truth is the moat, but only if every claim is resolvable to its source. Every record in B.1 + B.4 carries source_url + retrieval_date + recency_confidence + authority_tier. Any claim that couldn't be confirmed from Firecrawl content shipped with a [VERIFY] tag and operator-verification-pass queue — never a speculative value. Operator verify pass resolved all 6 flagged items via targeted Firecrawl scrapes (loan rates 6.39%/7.94%/8.94%, HHS 2026 poverty guidelines, Ch 30 MGIB-AD $2,518, §127 student-loan-payment made PERMANENT by OBBBA). Zero [VERIFY] markers remain in final shipped state.

Aggregator sources excluded by construction, not by review. authority_tier enum hard-codes {primary_gov, secondary_gov, accredited_private} — third_party_aggregator isn't a value that ships. This isn't a taste preference; it's regulator-defense architecture. When a challenge comes (Meta account review, FTC inquiry, competitor legal), every claim in copy traces to a cache record that traces to a primary-gov URL with release date. 54 primary_gov + 19 accredited_private + 2 secondary_gov (reciprocity compacts), 0 aggregators across 75 records.

Institution-first rankings compound; program-level is Phase 8 expansion. Ship 10 institution-level proprietary rankings immediately from Scorecard + IPEDS data (operator-locked). Program-level (4-digit CIP × institution joins) is genuinely higher-moat but requires more data engineering — Phase 8 scope. Three methodologies (Best Veteran-Friendly, Best GI Bill Value Max, Best Employer Partner Schools) are institution-level by nature and stay that way permanently. The other seven carry phase_8_expansion_target: "institution_and_program" so the Phase 5 agent knows what's coming.

Floor-to-multiplier ratios quantify the moat numerically. 10 tools × per-tool floor anchor vs. tool-proven multiplier: ratios range 2x (Financial Aid Quiz "FAFSA" → 3–5 aid categories) to 40x+ (Scholarship Finder "unclaimed billions" → $60K specific). The big numbers aren't marketing — they're what the math produces when you stack compliant resources for a qualifying profile. Ad copy uses typical case; tool output shows the user's specific number. Competitors can't follow because they don't have the tool to produce the math.

OBBBA changed §127 from temporary to permanent. The One Big Beautiful Bill Act made the student-loan-repayment inclusion in Section 127 educational assistance permanent (previously scheduled to expire 12/31/2025). This is load-bearing for the employer-benefit angle — no more sunset-clock framing on the $5,250 employer loan-repayment benefit. Every Employer Tuition Checker output can now cite permanence. Find the legislative changes that quietly enable new angles; they're the research edge.

Sync discipline: ClickUp is primary, not just STATUS/SESSION-LOG. Operator reminded at session #20 close — tracker sync at session end must include ClickUp (per ADR 0006) when tracker-relevant work happened. Saved as feedback_clickup_sync.md in memory. If STATUS.md moves forward and ClickUp doesn't, the operator-facing view diverges from the working view.

Session 19 — Phase 2 Gate 2 Closed + ADR 0009 + claude-mem Hook Patch (2026-04-17)

Research-sprint deliverables are agent inputs, not copywriter briefs. The breakthrough reframe this session: Stage 3 Copy Factory is a skill-based Claude agent, not a human-copywriter production line. Every schema field, every authority-data-cache record, every compliance rule, every tool-multiplier story becomes a parameter the agent reads at generation time. This inverts the constraint model — bandwidth is no longer the bottleneck, research-input rigor is. Moat is two-layered: research quality competitors can't match AND agent throughput competitors can't match at human-copywriter pace. ADR 0009 locks this thesis in.

Full 50-state coverage is sustainable because production is agent-driven. Initially scoped state coverage as phased copywriter depth (top-15 deep at launch, remaining 35 in Phase 5). Operator flagged the agent-driven nature of Copy Factory — all phased gating dissolved. authority-data-cache/state-aid/ covers all 50 states at Phase 2 seed; agent generates state × angle × platform × format matrix at every campaign run. Constraint shifts from hours to authority-data-cache completeness.

Channel the persona deliberately for judgment calls. When operator asked "answer from your 15-year perspective" on Gate 2 decisions, re-reading the v2 persona and deliberately channeling it produced substantively different answers than the default — categorical rather than hedge-y, strict rather than permissive (e.g., "universal skip YouTube Bumper when disclaimer won't fit", "strict 30-conv PMax bar, no lean seed", "PLUS-heavy red flag is factual"). The re-load triggers in CLAUDE.md aren't just cost-savings, they're judgment-quality gates.

Typical-case in ad copy, upper-bound as tool output. Distilled media-buyer discipline on multiplier framing: ad copy references the typical case ("most adults see $12–20K combined aid"); upper-bound numbers ($30K+, $65K/yr) only appear as tool output for users whose inputs produce them. Mixing the two in ad copy is the aggressive-affiliate pattern that burns accounts AND creates downstream lead-quality disasters (users expecting $30K, receiving $12K, churning through enrollment funnel, damaging school-partner relationships).

Compliance-and-CTR simultaneity is tool-discovery framing's signature. TikTok's restricted-industry scrutiny is aggressive for aid-claim copy. But tool-discovery framing ("take this 2-minute quiz to see what you qualify for") is BOTH the safer compliance posture AND the higher-CTR framing. Ad carries no standalone claim; tool on the lander carries substantiation. The moat pattern — tools-that-prove-claims — isn't just a moat, it's also the copywriting pattern that converts across every platform.

Plugin hooks can accumulate hidden tax. claude-mem's PreToolUse:Read hook was truncating file reads to line 1 when prior observations existed — a token-saving optimization that inverted into a capability regression for deep synthesis work (persona re-loads, spec reviews, multi-file research). Removed only that one hook (via jq 'del(.hooks.PreToolUse)'); kept every other claude-mem feature. Idempotent re-apply script because plugin updates will overwrite the patch. Lesson: "capability regression" can live inside what looks like a working plugin.

Operator's compounding-moat framing re-centers the work. The directive to "accumulate factual, true data across all possibilities that truly can benefit others, then condense that into useful, easy-to-use tools that output truthful quality results with a path for every consumer" is the project thesis in one sentence. Every research gap becomes a ceiling on output quality; every layer of rigor becomes throughput at output. Keep this framing front of mind for every future agent — research is not overhead, it is the moat made tangible.

Session 18 — Cloudflare Preview Gating + Phase 2 Session 2 Kickoff (Paused) (2026-04-17)

Cloudflare Access cannot pre-gate a Pages custom domain during initial SSL provisioning. The ACME HTTP-01 challenge to /.well-known/acme-challenge/* is intercepted by the Access gate, blocking Google CA cert issuance. Workaround: delete the Access app → let cert issue (~15s once unblocked) → recreate the Access app. Brief public window is acceptable when the URL isn't advertised yet. Order-of-operations trap — gate pre-seeding doesn't work end-to-end for brand-new hostnames.

Pages.dev hostnames can't have direct Access apps. They belong to Cloudflare's shared zone owned by Cloudflare itself, not your account. Error 12130 "domain does not belong to zone". Always bind a custom subdomain from a zone in the same account as the Pages project, then gate the custom subdomain. The raw .pages.dev URL stays public and needs a separate noindex mechanism.

GitHub repo is locked to one CF account at a time. Disconnecting the CF Pages GitHub App from a repo does NOT clear CF's internal account-repo binding — only deleting the Pages project in the other account fully frees the repo. Error 8000093 means: "delete the conflicting project." Don't try to disconnect the GitHub App as a shortcut; check which account currently owns the binding and do cleanup there first.

CF doesn't support account merging. Manual migration: zones move cleanly via "Move Domain" (preserves all DNS records, no nameserver change); Pages/Workers/R2/KV/D1 must be recreated in target (destructive, lose history). Pick master by which account holds the most infrastructure, not the most domains. Moving a zone that has a bound Pages custom domain BREAKS that binding until the Pages project is re-homed to match — coordinate those two migrations together.

Canonical tag is advisory, not authoritative. Google may still crawl and index .pages.dev URLs despite <link rel="canonical"> pointing to production. Host-scoped X-Robots-Tag: noindex via Pages public/_headers is the authoritative signal. Don't rely on canonical alone for indexing control.

DNS on a prod zone is safe for new subdomains — but verify no wildcards first. Adding a new subdomain CNAME is isolated from root/www/MX records. But if the zone has a wildcard CNAME (*.example.com), an explicit new record overrides the wildcard for that host — could surprise downstream systems. Always grep DNS list for wildcards before committing new records to a prod zone.

After session compaction, restate the intended next action before producing substantive artifacts. Session #18 opened with the system-start context pointing at a Phase 2 Session 2 bootstrap prompt; agent assumed that meant "execute now" and produced a 260-line canonical tool spec. Operator was mid-Cloudflare-work from the prior session and confused by the pivot. Better pattern: after compact, briefly surface the ambiguous thread ("X was queued before compact, Y was just referenced — which one?") and await explicit confirmation before producing substantive artifacts. The work wasn't wasted (the EFC spec becomes the template for remaining 9), but the redirect cost a full round-trip of context.

Session 17 — Phase 2 Pre-Sprint + Workflow Infrastructure Hardening (2026-04-17)

Compliance is an angle-generation input, not a guardrail. The restricted-claims list is literally the cheat sheet for what converts — each restriction exists because the underlying psychological desire converts hard. Map every restriction to its desire family, the Layer-1 triggers that deliver that desire, and the tool-backed compliant framing that lands harder than the non-compliant original.

Disclaimers are conditional on ad-claim content, not platform/format. Tool-discovery framing ("See what you could qualify for") makes no standalone claim — the tool + 2–3K-word article lander carries all required disclosures with cited sources and freshness dates. In-ad disclaimers only trigger when the ad itself makes a specific claim (dollar amount, named government program, income claim). Tool-discovery framing is simultaneously the best-CTR AND most-compliant framing — not a coincidence.

Proprietary rankings from public gov data beats third-party whitelist. College Scorecard + IPEDS + BLS + VA data let us build our own defensible ranking system with full methodology transparency. No usage-rights gating, no publication bias, no expiration. Essentially "US News for online education" built from public gov data — an angle space competitors can't replicate.

Pattern-detect meta-specs. Three distinct questions (IPEDS cache, proprietary rankings, BLS wage refresh) had the same structural answer: authority-tier data cache with freshness tracking, cron-refreshed, read by Phase 5 with automated staleness halts. Consolidating into one authority-data-cache infrastructure spec beats three separate specs that repeat the same logic.

Persona re-load has empirical basis. Not superstition — output quality degrades every 4–5 turns as attention weight on the persona decays relative to accumulated context. Re-reading restores signal strength via token recency + repetition. CLAUDE.md now codifies: reload on strategic triggers + every ~5 turns in long sessions + every natural phase boundary. NOT every turn (wasteful, dilutes attention on actual work).

Tool-discovery framing is the workflow cheat-code. The same pattern that solves compliance (route substantiation to lander) also solves CTR (no in-ad disclaimer drag) and lead quality (friction-as-feature qualifies users). Three optimization goals aligned in one architectural choice.

Diagnose before adding. Session surfaced that Firecrawl skill wasn't firing, continuous-learning-v2 looked dormant, session-end was manual. Diagnosis revealed: Firecrawl was CLI-skill-vs-MCP-mismatch (fixable by rewiring deep-research); continuous-learning-v2 had 7.7MB of observations accumulated but observer.enabled: false was blocking the analysis phase (one config flag fix); session-end was genuinely manual (built scripts/session-end.sh safe multi-repo helper). Don't install — diagnose first. Most "missing" capabilities are broken capabilities.

Session 9 — Pipeline Brain Upgrade (2026-04-15)

Agents process early rules more heavily: Adding HARD RULES blocks at the top of each skill file ensures non-negotiable constraints are in the "hot zone" of agent attention. Rules buried mid-document get diluted by accumulated context.

Decision trees > prose guidance: Converting "consider X when Y" into "IF X THEN Y, OTHERWISE Z" produces more reliable agent behavior. Agents follow explicit branches; they interpret flexible guidance flexibly (which means inconsistently).

Anti-patterns are as powerful as patterns: Showing agents what NOT to produce (with concrete BAD examples and WHY explanations) creates hard boundaries. Without anti-patterns, agents gravitate toward "safe" generic output that passes no rules but also creates no value.

Subagent permissions are session-scoped, not inherited: Adding permissions to settings.local.json or project settings doesn't reliably propagate to subagents in don't-ask mode. Python/Bash fallback for file writes is the workaround. Some agents succeed, some don't — the behavior is inconsistent and needs investigation.

Session 8 — Parallel Agent Scaling (2026-04-15)

Sweet spot is 3-4 parallel agents: Beyond 4, prompt quality drops and merge review gets sloppy. The real constraint is file isolation, not compute. With 3 repos, the ceiling is ~5 agents if file boundaries are clean.

Feature branches prevent same-repo conflicts: Agents C and D in campaignforge-app worked on separate branches (feat/cost-session-manager, feat/pipeline-orchestrator), then merged sequentially. Zero conflicts.

Independent agents can converge on identical fixes: Both the a11y and Lighthouse agents independently identified and fixed the same CSS cascade issue (@layer base wrapping, :where() scoping) with byte-identical diffs. Merge was clean because Git detected identical changes.

CAPI Worker type errors are IDE-only: Cloudflare Workers have their own tsconfig with @cloudflare/workers-types. The IDE picks up the root tsconfig which doesn't know about Request/Response/fetch globals. Not real errors.

Session 3 — Content Migration + Tool Islands (2026-04-14)

MDX body_html requires JSX-safe formatting: Raw HTML from JSON has nested block elements on same lines, bare <br> tags, and ~ chars parsed as strikethrough. Conversion script needed multi-pass formatting: self-close void tags, escape tildes to &#126;, and split every block element onto its own line.

Astro dynamic components need static imports: client:visible hydration fails with dynamic component references (NoMatchingImport). Must use conditional static rendering: {tc === 'EFCCalculator' && <EFCCalculator client:visible />}.

Parallel agents for tool implementations: 4 agents dispatched simultaneously, each handling 2-3 tools. All completed in ~17 minutes. Logic/data separation (*.logic.ts, *.data.ts) enabled clean parallelization with zero merge conflicts.

Session 2 — W1 Build (2026-04-14)

Astro 5 Content Layer API: entry.render() is gone. Use import { render } from 'astro:content' then render(entry). Content collections need glob() loader from astro/loaders.

shadcn-svelte + Tailwind v4: @apply border-border fails — Tailwind v4 doesn't know custom vars via @apply. Use @theme inline to declare all HSL color vars, then use raw CSS instead of @apply for base styles.

shadcn-svelte components need WithElementRef: The cn utility must also export WithElementRef and WithoutChildrenOrChild types for sidebar/rail components.

MDX in Content Collections: HTML (tables, callouts, step-lists) works inline in MDX. No need to convert to custom components yet — the prose CSS styles handle it.

Session 1 — Scaffold (2026-04-14)

Astro 5 Content Collections: Uses src/content.config.ts (not src/content/config.ts). The z import from astro:content shows deprecation warnings.

Tailwind v4: No tailwind.config.ts needed. Uses @tailwindcss/vite plugin. The @astrojs/tailwind integration conflicts — use the Vite plugin directly.

Remote agents failed: Overnight scaffold agents couldn't auth with GitHub. Local execution worked first try.

Session Log

2026-04-17 #23
Phase 2 Gate 3 — Deliverable D shipped + B.4 continuation ALL closed via 4-agent parallel orchestration — Four background research agents dispatched from a single orchestrator turn, each with self-contained briefs + non-overlapping output paths. Zero file collisions. Wall-clock: ~30min parallel (longest pole) vs ~4h serial. Deliverable D shipped: voc-corpus.json — 110 verbatim quotes tagged by situation family (F1–F8), emotional register, and trigger affinity resolving against Phase 1’s 134-entry library. Source distribution: Reddit 61 · Niche 24 · Trustpilot 14 · YouTube 11. Guardrail: research-input only, never reproduced in ads. Companion voc-themes.md with per-family themes + emotional-register patterns per source + cross-cutting buyer language + trigger-affinity heatmap. 3 surprising themes flagged for Phase 3 downstream: (1) Pell-refund discovery provokes fear-first not delight — EFC Calculator output flow reorder; (2) peer-insider-knowledge is primary Reddit conversion mechanism, not copy — Phase 3 tool blueprint must package peer-insider quality natively; (3) middle-income squeeze is a distinct adult-learner identity — candidate F9 or cross-cutting persona in reality_map.json. B.4 continuation ALL closed: BLS OEWS +10 SOCs (total 20/50): 15-1211 · 15-1231 · 15-1244 · 15-2051 (reclassified from 15-1211.01) · 15-1212 · 13-1082 · 13-1161 · 11-3031 · 11-2022 · 27-3031. BLS discontinued per-SOC HTML pages after May 2023 — May 2024 data pulled via Public API v2 (6 batched POSTs × 25 series); schema now has source_url_national_wages (API) + source_url_industries_states (2023 HTML) + cross_check_may_2023_annual audit block. BLS-suppressed annual_p90 for Financial Managers + Sales Managers (wage ≥ $239,200/yr); 2 SOC reclassifications documented. IPEDS pilot completed (10/10): 5 new seeds — Grand Canyon 104717, Capella 413413, Strayer 131803 (DC flagship, multi-campus aggregation flagged), DeVry 482477 (HLC accreditation “ended 06/30/2019” flagged), ASU Online 483124. UoP + Purdue Global IPEDS vs Scorecard UNITID divergence documented. Scorecard API pull (10/10 seeded): 3 full + 7 partial; blocker — api.data.gov DEMO_KEY rate-limit is 10 req/hour (not documented 30). Operator action: free api.data.gov key at https://api.data.gov/signup/ unblocks 3 remaining metrics. State-aid [VERIFY] resolution (14/14, zero flags remain): 10 fully resolved with 2025-26 or 2026-27 authoritative figures (OR, WY SF0047 signed 2026-02-27, NE CCPE 2024-25, MS MTAG APA Part 611, AL ASGP, MO A+, VA VTAG full matrix, CT Roberta B. Willis FY-26, CO COF, ND Career Builders); 3 partial (MT portfolio restructure, MN OHE 2023-24, WI companion programs); 1 blocked (UT USHE Wordfence-503, substitute budget.utah.gov). 5 program-structure changes flagged for Phase 3: UT 2021 Regents+New Century merger into Opportunity Scholarship · MT MHEG retired · CT Governor’s → Roberta B. Willis rebrand · NE State Grant → Nebraska Opportunity Grant · WI HEAB track split. Total session output: 43 new/updated files across 5 directories. Only Gate 3 Deliverable E (Competitor Teardown + Compliance-Line-Crossing Inventory) remains for Gate 3 close.
2026-04-17 #22
ContentForge port reconciliation — all 10 tools verified parity with pre-port production JS — Orthogonal to the Psychology Engine research stream. Focus: lock in tool behavior before any design work. Content diff — 26 articles + 10 school profiles + 10 tool pages 100% accounted for. 3 E-E-A-T pages (about / privacy-policy / terms-of-use) correctly moved to native .astro pages per spec §8. 1 intentional slug rename (quiz-financial-aidfinancial-aid-quiz). URL structure change documented — old site served tools at root (/efc-calculator/); port moves tools under /tools/<slug>/. Added public/_redirects (12 entries) preserving SEO equity — 9 root→/tools/ + 1 quiz rename + 2 legacy indexed paths. 294 parity tests written and passing — 10 new Vitest files under tests/unit/*.parity.test.ts (291 new + 3 pre-existing). Every constant (Pell tables, BLS salaries, BAH rates, poverty lines, loan rates, scholarship and employer databases, state-COL multipliers) diffed byte-identical vs source. Every branch covered: EFC progressive brackets + auto-zero + 175% poverty; Quiz independence + flat-30% SAI + program composition; Scholarship Finder filters + sort + aggregates; ROI tenYearROI + break-even; Loan Repayment SAVE/PAYE/PSLF + overpayment log formula; Career Salary per-state COL + nextLevel; Time-to-Degree pace overrides + military 15-credit bonus; GI Bill 5 chapters + half-time BAH=0; Aid Letter Decoder letter grade A-F + 4 red flags; Employer Tuition 18-record lookup + $-parsing + Pell stack. Reconciliation report: ContentForge/docs/port-reconciliation.md. Also fixed scripts/session-end.sh (-u-A + ContentForge branch mastermain) and gitignored .superpowers/ + cmux.json (campaign-forge) + .claude/ (ContentForge). Operator requirement met: "all tools work just like they do on the current site." No formula drift. Next: design refinement via DESIGN.md, GrowthBook wiring, prod cutover.
2026-04-17 #21
Phase 2 Gate 3 — Deliverable C shipped + B.4 50-state coverage achieved + BLS/IPEDS expansionDeliverable C biosphere-market-2026.md — 3,653 words, 12 topical sections, P4 metadata on every claim (source_url + retrieval_date + recency_confidence + authority_tier). Topics: enrollment cliff (WICHE 2025 peak, 38 states declining), AI displacement + layoff waves (BLS projections, 2026 YTD 928 layoffs/day), SAVE plan ended (Eighth Circuit March 10 2026, 7.5M borrowers in transition, RAP live July 1 2026), FAFSA 2024-25 aftermath → 2025-26 +15.7% completions recovery, Gen-Z ROI skepticism (46% say college not worth, trade schools +5%), community college renaissance (+3% fall 2025), OBBBA permanent §127 + SECURE 2.0 SLP matching, tuition-vs-wage plateau (Minneapolis Fed), 2026-27 Pell $7,395 + Workforce Pell live July 1 2026, Meta Ad Library signals, 2026 platform benchmarks (education CPL $19.27 avg 2025 → $21.57 Dec end, +44% YoY). Strategic implications mapped all 12 forces to CampaignForge tool-backed-proof thesis. B.4 continuation — 37 additional state-aid records emitted from existing Session #20 Firecrawl cache (AK, AL, AR, AZ, CO, CT, DE, HI, IA, ID, KS, LA, MA, MD, ME, MI, MN, MO, MS, MT, NC, ND, NE, NH, NJ, NM, NV, OR, RI, SC, SD, UT, VA, VT, WI, WV, WY). State-aid cache now 56 records — 50-state primary-program coverage achieved per operator C6 lock. 14 [VERIFY] flags tracked in manifest. BLS OEWS expansion — 8 priority SOCs added (29-1071 PAs, 29-2061 LPNs, 29-1171 NPs, 13-2011 Accountants, 25-2021 Elementary Teachers, 47-2111 Electricians, 49-9021 HVAC, 15-1232 Computer User Support). Cache at 10/50 target SOCs. IPEDS pilot seed — 5 institutions (SNHU, WGU, UoP, Purdue Global, Liberty) with core IPEDS demographics; Scorecard-specific metrics marked [PENDING_API_PULL] for next session. Full YRP directory deferred to Phase 8 cron with documented task spec (~2,000 institutions, 90-day refresh cadence). Total session output: 55 new/updated files. Next session: Deliverable D (VOC Corpus) + Deliverable E (Competitor Teardown + Compliance-Line-Crossing Inventory). Gate 3 closes after D + E land.
2026-04-17 #20
Phase 2 Gate 3 — Deliverable B shipped (all four sub-deliverables) — Firecrawl-heavy research session. 88 authoritative pages scraped across 6 parallel batches (federal ED + VA + DoD + DoL + HHS; state 7-part; military + tax + employer; niche-private + debt-relief; ranking-data APIs; verify-pass). B.1 resource-candidates.json — 75 records (54 primary_gov + 19 accredited_private + 2 secondary_gov, zero aggregators, all decision_rule_category=1, all 18 required fields populated, all unique resource_ids). Covers federal grants + loans + debt-relief + administrative pathways + military benefits + tax-code + 8 employer programs + 15 state programs + reciprocity compacts + 12 niche private scholarships + 5 data-source records (Scorecard, IPEDS, BLS OEWS, BLS Projections, VA GI Bill Tool, HHS). B.2 floor-multiplier-map.md — per-tool (10) floor anchor + typical-case stack (ad copy) + upper-bound stack ([MODELED], tool-output only). Floor-to-multiplier ratios 2x–40x+. B.3 proprietary-rankings-research.md — 10 methodology candidates built from primary_gov data (Best Earnings / Value Working Adults / Completion Working Adults / Lowest Debt / Best Repayment / Veteran-Friendly / Pell-Recipient Outcomes / Credit Transfer / GI Bill Value Max / Employer Partner Schools). Each with data sources + inclusion/exclusion + weights (sum to 100) + refresh cadence + compliance framing + competitive moat + tool integration. Displaces third-party rankings entirely. B.4 verticals/edu/research/authority-data-cache/ — scaffolded with 3 shared schemas (cached-record.schema.json v0.1.0 + provenance.schema.json + staleness-rules.json) + 9 sub-module manifests + 18 seed records + 10 ranking methodology spec JSONs = 53 JSON files across 8 sub-modules. Seed records: Pell 2026-27 $7,395 (PL 119-75), Direct Sub/Unsub undergrad 6.39%, Unsub grad 7.94%, PLUS 8.94%, VA Ch 33 national cap $29,920.95, Ch 30 MGIB-AD $2,518/mo, Ch 35 DEA $1,536/mo, IRS §127 $5,250 (student-loan-repayment made PERMANENT by OBBBA), HHS 2026 poverty guidelines full tables, + 15 state-aid programs + 2 reciprocity compacts (WICHE WUE + MSEP) + 2 pilot BLS OEWS SOC records (RN + Software Developers 2024 percentiles). Operator verify-pass resolved all [VERIFY] flags via targeted Firecrawl scrapes. Operator-locked all 5 B.2 + all 7 B.3 open questions from v2 persona lens (institution-first rankings, Phase 8 program-level, 100-completer threshold, -15%/20% Parent PLUS penalty, dual YR treatment, two-tier employer-partner visibility, degreesources.com methodology hosting, hold at 10 methodologies for Phase 2). Deliverable B ready for Gate 3 operator review alongside C/D/E (pending). Next session begins Deliverable C (2026 EDU Biosphere Market Study) + continuation work on B.4 state-aid (35 remaining states) + IPEDS/Scorecard pilot seeds + BLS OEWS top-50 expansion.
2026-04-17 #19
Phase 2 Gate 2 CLOSED — Deliverables F + G + H + ADR 0009 + claude-mem hook patch — Resumed Phase 2 Session 2. Shipped 9 remaining canonical tool specs (Financial Aid Quiz, Scholarship Finder, ROI Calculator, Employer Tuition Checker, Loan Repayment Calculator, Career Salary Explorer, Time-to-Degree Calculator, GI Bill Calculator, Aid Letter Decoder) at verticals/edu/tool-specs/. Shipped tool-trigger-audit.json (10 tools × 134 triggers, all 8 desire families F1–F8 covered, 2 new-tool gaps flagged for Phase 8), tool-multiplier-stories.md (per-tool floor/multiplier/source/desire-family + P5 cross-vertical pattern), adaptive-question-flow-spec.md (branch points + priority matrix), unit-economics-monetization-rules.md (Deliverable G — monetization rails + CPL bands + lead tiers + LTV + consolidated authority-data-cache infrastructure), platform-fit-rules.md (Deliverable H — 8 platforms × 3 concerns + conditional in-ad disclaimer render spec). Applied P0/P1 patches: [VERIFY: authority-data-cache refresh] tags on federal loan rates + PLUS rate + Pell max + FAFSA deadline + OBBBA Public Law citation + CFPB specific report URL. 150% vs 225% poverty-line distinction for IDR plans (SAVE vs IBR/PAYE/ICR). Spouse §127 "both employers must have adopted plan" caveat. HR talking-points constrained to template-based placeholder-substitution only (no free-form LLM generation). SCAM CHECK 5-item exclusion pattern + scoring weights for Scholarship Finder. Operator locked 12 Tier A + 10 Tier B + 8 Tier C + 10 Tier D Gate 2 decisions from 15-year media-buyer lens. C6 full-50-state revision applied after operator clarified Stage 3 Copy Factory is an agent-driven skill — all phased copywriter-depth scoping removed across 6 files; authority-data-cache/state-aid/ covers all 50 states at Phase 2 seed. ADR 0009 written and accepted at docs/adr/0009-agent-driven-copy-factory-input-layer-thesis.md — formalizes agent-driven Copy Factory + research-rigor-as-throughput thesis. Affects campaign-forge + ContentForge + campaignforge-app. claude-mem PreToolUse:Read hook patched — removed the single file-context hook that was truncating Read output to line 1 when files had prior observations. All other claude-mem functionality preserved. Idempotent re-apply script at ~/.claude-mem/disable-pretool-read-hook.sh. Takes effect next session. Gate 2 closed. Next session begins Gate 3 — Deliverable B (resource excavation + floor/multiplier + proprietary rankings research, Firecrawl-heavy, 4 parallel batches).
2026-04-17 #18
Cloudflare Preview Gating + Phase 2 Session 2 Kickoff (Paused) — Hybrid session. Started Phase 2 Session 2 by shipping EFC Calculator canonical tool spec at verticals/edu/tool-specs/efc-calculator.md (~260 lines; structural template for the 9 remaining tool specs in Deliverable F — purpose, desire families, question set with dependencies, calculation pseudocode, data sources with authority tier, output format, compliance posture, ContentForge Svelte vs campaign-forge vanilla JS drift-check, mobile-load targets, adaptive-flow branch points). Session paused mid-Deliverable-F to resume a carried-over Cloudflare infrastructure task from the prior session. Mapped 3-account CF architecture: infra hub (fourthright.io + project subdomains for CampaignForge/ContentForge/Plane/Directus/Metabase/Coolify + contentforge-1ei.pages.dev Pages project) chosen as long-term master; Keith's account (degreesources.com production + doinsilence.com side blog) + third fourthright account held for a future consolidation session. Stood up Cloudflare Access gate on ds.fourthright.io — bound as custom domain to existing ContentForge Pages project in infra hub, OTP IDP, 24h session, 3 owner emails allow-listed. Resolved ACME-HTTP-01-intercepted-by-Access issue via delete-app → let-cert-issue (~15s) → recreate-app workaround. Pushed public/_headers to RationalSeer/contentforge main (commit 935a020): host-scoped X-Robots-Tag: noindex, nofollow for contentforge-1ei.pages.dev only (Access-gated preview and future production hostnames unaffected). Cleaned up wasted Zero Trust org from Keith's account (earlier false start). 4 CF API tokens leaked in conversation — flagged for operator revocation. Preview gated and indexing-protected. Next session resumes Phase 2 Session 2 Deliverable F (9 specs + audit + stories + adaptive flow) + Deliverables G + H.
2026-04-17 #17
Psychology Engine Phase 2 Pre-Sprint + Deliverable A (Gate 1 Closed) + Workflow Infrastructure Hardening — Scoped the Phase 2 EDU Reality Map sprint into 8 research deliverables with 3-gate structure (A alone; F+G+H; B+C+D+E). v2 persona-driven revision added 6 cross-cutting principles (Decision Rule for Angles, floor/multiplier, proof-mechanism gate, anti-hallucination rigor, cross-vertical reusability, Stage R readback hook). Shipped Deliverable A: compliance-angle-map.md — 9 parts translating every restricted claim / word / scan pattern into compliant tool-backed angles via 8 desire families (F1–F8). Part VII: disclaimers conditional on ad-claim content, not platform/format — tool-discovery framing routes compliance to the lander. Gate 1 resolved 5 open questions with 3 strategic extensions: super tools via adaptive question-flow, proprietary rankings from public gov data (displacing third-party whitelist), consolidated authority-data-cache infrastructure spec (IPEDS + BLS + rankings + VA + Scorecard unified). Workflow infrastructure hardened: (1) CLAUDE.md +3 workflow rules — Firecrawl-default for research, parallel tool calls, persona re-load every ~5 turns; (2) scripts/session-end.sh multi-repo helper built with interactive per-repo confirm + safe staging; (3) deep-research skill rewired to Firecrawl CLI (was looking for MCP tools that weren't installed); (4) continuous-learning-v2 observer enabled — had 7.7MB of observations accumulated but analysis was blocked by observer.enabled: false; (5) session-end protocol mandates Lessons Learned entries (restoring cadence that lapsed after session #9). CLAUDE.md tuned 41.5k → 39.8k chars. Gate 1 closed. Session 2 bootstrap prepared. Infrastructure ready for long-haul sessions. Deliverables F + G + H next (pure synthesis, no external research).
2026-04-17 #16
Psychology Engine Phase 1d Synthesis COMPLETE — Canonical Trigger Library Locked — Papers 1/2/3 synthesized into trigger-library.json (134 entries, schema v0.2.0). All of Phase 1 research shipped. Merges applied: 5 Paper 3 formal confirmations (1 triple-merge on specificity_concrete_number), 9 Paper 2 confirmations into P1 parents (operator-approved; tool_as_proof_mechanism + mental_accounting_horizon_alignment kept standalone). Deadline tension resolved: 3 sources merged into canonical deadline_mechanic with deadline_reality: "real" | "manufactured" selector set at angle generation. Three source IDs retained as alias stubs. Tier distribution: Tier 1: 8 (triple-confirmed families) · Tier 2: 106 · Tier 3: 19 (replication-contested or register-sensitive) · Anti-pattern: 1 (government_card_imagery_compliance_trap). Schema v0.2.0 formalizes P2/P3 extension fields (proof_mechanism_required, shortcut_risk, replication_status) and adds tier, see_also, variant_of, merged_from. Removed paper_N_status — provenance carries it. Phase 1 complete. Phase 2 (EDU Reality Map) unblocked. Canonical vocabulary locked for all downstream phases.
2026-04-17 #15
Psychology Engine Paper 3 Shipped — Phase 1 Research Complete — 34 triggers extracted from Voss Never Split the Difference (Cluster 15 dialogic persuasion, 20 triggers) and Berger Magic Words (Cluster 16 word-level NLP, 14 triggers). 29 new / 5 formally confirmed / 3 indirect-extension relationships. Running library: 148 distinct trigger IDs across three papers (Paper 1: 69, Paper 2: 45, Paper 3: 34), 0 ID collisions. Five Tier-1 triple-confirmed trigger families identified: concrete specificity, reason-why/because, similarity matching, anchoring-with-walk-away, loss-aversion dialogic. 7 triggers tagged proof_mechanism_required: true. Tension surfaced for Phase 1d: deadline_deweaponization (P3) vs scarcity_time (P1) — planned conditional-trigger resolution. Voss's 7-38-55 / Mehrabian rule deliberately NOT elevated (replication caveat documented). All three Layer-1 research papers locked. Phase 1d synthesis unblocked.
2026-04-17 #14
Psychology Engine Papers 1 + 2 Shipped and Approved — Paper 1: 69 triggers from the LLM training canon (Cialdini, Schwartz, Hopkins, Halbert, Kennedy, Whitman, Haidt, Fogg, Kahneman, Shotton, Sutherland) across 9 clusters. Paper 2: 45 triggers from deep research (29 new + 16 confirmed) across 5 new clusters — contemporary copywriter methodology (Georgi RMBC, Sultanic NHB, Brown E5, Kern RIA, Wiebe VoC, Furr 26-proof), administrative burden psychology (Moynihan 3-cost model), platform-native empirical mechanics, ethics/compliance-as-credibility, vertical-specific psychology (Medicare/SSDI/auto). Replication updates: priming weakened, loss aversion magnitude contested (Brown 2024 vs Walasek 2024), endowment + default robust. Anti-trigger catalogued: government_card_imagery_compliance_trap (CMS-prohibited Medicare pattern). Both operator-approved same session.
2026-04-16 #13
Psychology Engine Project — Phase 0 Planning Shipped — Strategic pivot: stopped trying to patch copy quality and instead designed a foundational Psychology-to-Angle Mapping Engine. 5-layer architecture where angles are derived from (trigger × reality × tool), not invented. Content site is the architectural moat — every ad routes through it. Deliverables: 2 whiteboards (Process Map + End Result with mermaid diagrams), 8 ADRs (content-site-is-moat, Layer 4 split, monetization routing, URL collision rule, shared schemas, ClickUp primary tracker, LeadAmplify archived, fourthright.io deferred), 12 JSON schema stubs, monetization model doc, ClickUp workspace restructure (6 new folders + 5 mirrored docs), session + cross-repo tracking infra, CLAUDE.md protocol updated. Also: Stage 6 + Stage 3B validator bugs fixed (pipeline now passes clean). C1 entity resolution (Click Send Inc FL active). P1.2 Plane task unblocked (Blocked→Ready). ~25 new files shipped. 12-17 session research roadmap locked. Phase 1a ready.
2026-04-15 #10
Parallel Orchestration: 9 Agents, 2 Batches, 3 Repos — Batch 1 (5 agents): URL redirect plan (309 lines, phased cutover), Zaraz config spec + guide (1,322 lines, found 7 tracking gaps including critical cta_type mismatch), pipeline v2 dry run (Stages 1-2 passed, found proof_mechanism validator gap), BUILD-P validation results UI (941 lines, 5 files), ContentForge backfill (12 pages: 10 school profiles with College Scorecard data + degree-match quiz + terms-of-use). Batch 2 (4 agents): BUILD-P Coolify deploy prep (Dockerfile, health check, deploy guide), end-to-end tracking verification audit (full chain status + 7-phase operator checklist), Winners Vault seeded (4 tool-backed winners + 5 blacklisted from swipe vault history), ContentForge sitemaps + school profile routing + 18 stale URL fixes. Inline: proof_mechanism added to programmatic validator (config + script), Financial Aid Quiz URL mismatch fixed (32 refs), claude-mem permissions unblocked. 9 agents, ~35 files, ~4,000 lines across 3 repos. Winners Vault live. BUILD-P deploy-ready.
2026-04-15 #9
Pipeline Brain Upgrade: v2 System Prompt + 19 Skills Restructured — Rewrote the affiliate marketer system prompt (v2) with strategic thesis: tool-backed proof > generic claims, Advantage+ black box reality, multi-vertical expansion pattern. Restructured all 19 pipeline skills across 5 batches: added HARD RULES blocks, VERIFY gates between steps, anti-pattern examples (GOOD vs BAD with WHY), IF/THEN decision trees replacing prose, tool-as-proof integration throughout. New data model additions: proof_mechanism field on angles, tool_backed on vault entries, tool_angle_insights in retro reports, tool-backed specificity bonus in copy scoring. Deep strategic discussion: Advantage+ angle flooding strategy, tool-as-moat thesis, multi-vertical gov research pattern, free-traffic-to-direct-school outreach play, win-win-win-win value architecture. 19 skills restructured, ~1,600 lines added. v2 system prompt created. All pushed.
2026-04-15 #8
Parallel Builds #3-5: 10 Tasks, 3 Batches, 12 Agents — Batch 3 (3 agents): XML sitemaps, cost tracker + session manager, pipeline orchestrator. Batch 4 (3 agents): brief editor (7-step form), Zaraz event taxonomy (5 events × 10 tools), Playwright E2E tests (22 tests). Batch 5 (4 agents): pipeline execution UI (SSE streaming + timeline + approvals), a11y audit (zero critical/serious), Lighthouse CI (all pages 95+), CAPI Worker (Zaraz → Meta CAPI). Both contentforge a11y and Lighthouse agents independently arrived at identical CSS cascade + favicon fixes — zero merge conflicts. +48 files, ~6,000 lines across 3 repos. 10 tasks completed.
2026-04-15 #5
Parallel Build #2: Schema Markup + Agent Executor — Agent team. Agent 1: JSON-LD structured data on all 42 contentforge pages (BreadcrumbList, Article, WebApplication, Organization via @graph arrays). Agent 2: full Agent Executor in campaignforge-app — Anthropic SDK streaming, cost tracker with per-model pricing, session manager, POST /api/pipeline/execute with auth guard and SSE response. +8 files, 1,623 insertions across 2 repos. 1 Plane task Done.
2026-04-15 #4
Parallel Build: E-E-A-T + PostgreSQL — Agent team session. Agent 1: built 4 substantive E-E-A-T pages in contentforge (about, editorial-policy, methodology, contact) with real data sources (Federal Methodology, BLS, IPEDS, College Scorecard), tool-by-tool methodology, affiliate disclosure, AI disclosure. Agent 2: set up PostgreSQL + Drizzle in campaignforge-app — docker-compose.yml (PG 16, port 5433), drizzle.config.ts, 6 db npm scripts, .env.example, Coolify production setup docs. +8 files across 2 repos. 2 Plane tasks marked Done.
2026-04-14 #3
BUILD-C Content + Tools Complete — Bulk converted 28 article/tool JSONs to MDX (wrote Python converter with MDX-safe HTML formatting). Built 4 category index pages (/category/financial-aid/ etc.). Polished 8 shared Svelte components (StepWizard, ButtonGroup, ResultCard, InputField, ProgressBar, MethodologyDisclosure, SourceCitation, CTAButton). Implemented all 10 interactive Svelte tool islands (EFC Calculator, Financial Aid Quiz, Scholarship Finder, ROI Calculator, Loan Repayment, Career Salary Explorer, Employer Tuition Checker, Time-to-Degree, GI Bill Calculator, Aid Letter Decoder). Wired tool components with client:visible hydration. 41 pages build in 4s. +31 files, 10,452 insertions in tool commit alone. 12 Plane tasks marked Done.
2026-04-14 #2
BUILD-C W1 + BUILD-P W1 — Design tokens migrated, full header/footer/layouts built, homepage + tools index polished, FAFSA article + EFC calculator converted to MDX, Content Layer routing working (9 pages). shadcn-svelte initialized, app shell with sidebar nav + dark mode + auth. CF Pages deployed. +86 files across 2 repos.
2026-04-14 #1
Scaffolds — Both repos created, pushed to GitHub. contentforge: Astro 5 + Svelte + Tailwind 4 (60 files). campaignforge-app: SvelteKit 2 + Drizzle (99 files). 30 Plane tasks created.
1 3-Repo Architecture
Each concern lives in its own repository. Shared config, independent deploys.
Repository Purpose Stack Deploys To Status
campaignforge-app CampaignForge ops platform (workflow UI, pipeline execution, dashboards) SvelteKit 2, Svelte 5, shadcn-svelte, Drizzle + Kysely, Postgres DigitalOcean via Coolify Deploy-Ready
contentforge Content sites (degreesources.com + future verticals) Astro 5, Svelte 5 islands, MDX, Tailwind 4 Cloudflare Pages W1 Done • Deployed
campaign-forge Pipeline brain: skills, config, specs, vertical data, research Python scripts, YAML/JSON config, Claude skills Local / CLI Active
2 Revenue Flow
Ad spend → Content site → Tool engagement → Offer conversion → Revenue
1

Ad Click

Meta / Google / TikTok ad → user clicks → lands on content site tool page

2

Tool Engagement

User uses EFC Calculator / Quiz / Finder → genuine value delivered

3

CTA Click

User clicks "Explore Programs" → routed via offer URL with tracking params

4

Lead Submit

User fills form on partner portal → lead captured → Everflow attributes

5

Revenue

$35 CPL per qualified lead → Winners Vault updated → next campaign informed

3 Execution Phases
BUILD (Claude builds) + OPERATE (Operator executes) run simultaneously across 5 phases.

Phase 0

This Week

Spec review, social profiles, Meta Verified, entity resolution, pre-warming

22 tasks

Phase 1

Weeks 1-3

Tracking live, platform MVP, ad accounts, organic posting, campaign structures

35 tasks

Phase 2

Weeks 4-6

Full workflow UI, account warm-up, first live campaign, Winners Vault seeded

26 tasks

Phase 3

Weeks 7-9

Lead intelligence, email capture, social automation, competitive intel, platform health

28 tasks

Phase 4-5

Weeks 10+

Ad platform APIs, CAPI firing, retro automated, ping/post routing, multi-vertical

15+ tasks