Content Automation Pipeline
Publishing authority belongs to an approved revision, not to whatever content happens to be current.
CORE QUESTION — How do we let AI move content quickly without letting stale or unapproved state cross the publishing boundary?
The system coordinates asynchronous content work across multi-provider LLM execution, PostgreSQL/pgvector, Redis/Celery, editorial state, WordPress delivery, and operational monitoring. Publication is fenced to the exact approved article revision so stale or revoked content cannot silently inherit prior approval.
Maturity · Staging Benchmark — Staging-only / L1 evaluation fixture; production deployment gates unclaimed as met.
REVISION LINEAGE
Approval belongs to a revision, not to a topic forever.
- 01
Research
audience · brand · topic intelligence
- 02
Context
approved knowledge + first-party data
- 03
Plan
intent · outline · evidence · keywords
- 04
Generate
multi-provider workflow
- 05
Evaluate
quality + deterministic SEO
- 06Gate
Review
human release authority
- 07Gate
Publish
idempotent adapters
- 08
Observe
cost · jobs · outcomes
Production deployment gates are unclaimed as met; evaluated in an isolated staging environment. SEO lift, traffic lift, conversion lift, and throughput savings are not claimed.
- 01Research
audience · brand · topic intelligence
- 02Context
approved knowledge + first-party data
- 03Plan
intent · outline · evidence · keywords
- 04Generate
multi-provider workflow
- 05Evaluate
quality + deterministic SEO
- 06Review
human release authority
- 07Publish
idempotent adapters
- 08Observe
cost · jobs · outcomes
Engineering decisions — ledger of 4, as recorded. The signal edge marks the rejected alternative in each row.
| Ref | Decision — and why | Trade-off accepted | Rejected alternative |
|---|---|---|---|
| A | Generation is one stage, not the product Reliable content operations require research, retrieval, planning, evaluation, review, publication, feedback, and recovery around model output. | Heavier orchestration and state storage than a single prompt-to-CMS script. | Direct single-pass LLM draft pushed straight into CMS drafts. |
| B | Approval belongs to an exact revision A newer edit must not silently inherit the release authority granted to an older article state. | Minor post-approval copy tweaks invalidate approval and require a re-signoff cycle. | Attach editorial signoff at the mutable article-slug level. |
| C | Publishing rechecks authority at worker time Queued work can become stale after approval; the worker must fence revoked or superseded revisions before the external write. | Requires extra database fence validation inside asynchronous Celery workers. | Assume queued publish jobs remain authorized until dequeued. |
| D | Operational feedback stays separate from release authority Search Console and SEO signals can inform the next iteration without autonomously rewriting or promoting content. | Prevents zero-touch self-optimizing SEO loops without human approval. | Auto-trigger content rewrites and republishing directly from rank drops. |
Revision table — evidence provenance, verbatim from the record
| Rev | Evidence | Result | Semantics |
|---|---|---|---|
| A | Focused P0 tests Recorded repository validation; not a current production-traffic result. | 63 passed | RECORDED Verified |
| B | Focused P1/P2 tests Focused unit validation; not a substitute for full supported launch acceptance. | 7 passed | RECORDED Verified |
| C | Static release gate Environment-sensitive warnings were tracked separately in the source reports. | PASS | RECORDED Verified |
| D | Migration graph Schema topology evidence, not live migration proof against production data. | 10 Alembic revisions · single head 20260801_001 | RECORDED Verified |
| E | SEO Intelligence v2.0 Deterministic advisory layer; it does not autonomously modify or publish content. | uses_llm=false · performs_network_requests=false · rewrites_content=false · publishes_content=false | RECORDED Verified |
| F | Promotion boundary Production deployment gates are unclaimed as met; evaluated in an isolated staging environment. SEO lift, traffic lift, conversion lift, and throughput savings are not claimed. | Staging-only evaluation fixture · production deployment not claimed | RECORDED Not claimed |
Schedule of capabilities — 13 entries, as recorded
- Workspace context
- Research pipeline
- Grounded content planning
- Multi-provider LLM gateway
- Durable task orchestration
- Quality evaluation
- Deterministic SEO intelligence
- Human editorial review
- Multilingual EN/FA/AR interfaces
- Idempotent publishing
- Cost accounting
- Operational monitoring
- Versioned content lineage
Audience — Content Teams · Marketing Operations · SEO Teams · Publishers · High-volume structured content organizations
Measurement contract — what would make the preferred answer fail?
EVALUATION METHOD
A content workflow is reliable only when the exact approved revision—and no stale successor—can cross the publishing boundary.
Revision-bound review fixtures, stale/revoked approval tests, durable queue execution, provider-failure injection, publish verification, backup/restore checks, and canary/rollback gates.
Stale publish block
superseded/revoked content fencedDurable execution
queued work survives worker failurePublish verification
idempotent write + downstream confirmationRecovery
backup/restore and rollback pathRelease gate
controlled staging/canary readinessNOTE 1 — OWNERSHIP.
Client / company work — ownership of company IP is not claimed
Company identity may remain withheld; displayed data is synthetic/sanitized; production/GA claims stay evidence-bound.
NOTE 2 — READING. Numbers on this page carry their boundary lines. Quoting a result without its boundary omits its scope.