Backend & Distributed Systems
Event-Driven Private Content Intake with CI Dispatch
A local-first event bridge that filters approved source articles, creates private drafts, and dispatches CI without exposing source data.
A source repository may contain private editorial context that a hosted CI runner must never read. The integration keeps source evaluation local, stages only safe private drafts in the destination project, and dispatches CI after that boundary.
Eligibility is a policy gate
An article must be published, explicitly approved, have at least two evidence sources, and directly concern supply-chain security, cybersecurity, AI/data infrastructure, or cloud/platform operations. A general technology article is not enough.
The event handler first runs the source sync in check mode. If nothing qualifies, it exits successfully with a no-ready result. That behavior matters for automation: “nothing to do” is not an incident.
Keep drafts private by construction
Eligible content generates a Korean source draft, an English assisted translation draft, and a thumbnail, all with published: false. Post and publication audits run before any repository event is sent. The hosted workflow sees only staged destination files, never the private source checkout.
Dispatch is optional and explicit. The handler requires --dispatch and uses the one approved destination repository. This avoids scheduled polling and cross-repository checkout credentials.
Verify the negative path
The local run found one approved technology article but excluded it because it did not meet the security/infrastructure policy. Zero drafts were produced, the process returned a no-ready result, and no dispatch was sent. A reliable event pipeline must prove that it can refuse input as carefully as it can process it.
Related writing
Backend & Distributed Systems
Capacity-Aware Weekly Planning with Locking
A deterministic weekly planning API that protects deadlines, respects time capacity, limits daily load, and locks accepted plans.
Backend & Distributed Systems
Domain Ledgers on D1 for a Learning OS
Evolving a task application into explicit goal, plan, attempt, error, review, and evidence ledgers without a risky rewrite.
Backend & Distributed Systems
Idempotent Session Writes with Conflict Detection
A production-minded API design for retry-safe learning session writes, semantic conflict detection, and response-loss recovery.