Back to all work

Developer Build

Doc Chain Sync: Designing One Source for Two Knowledge Destinations

Built a configurable Python pipeline for incremental Markdown synchronization to Notion and Google Drive. This independent project demonstrates product and system design, with automated tests covering mocked integrations.

View source
Role
Independent product design and development
Timeline
2026 · Public GitHub project
Reading time
3 min
Jump to a section

Tested implementation

A testable synchronization design with explicit control over writes.

The build implements change detection, destination updates, and incremental state. Its public source makes the decisions inspectable; automated verification uses mocked integrations, and live delivery is not established.

My contributionI designed and built the Python implementation and its verification approach. This is independent builder work, separate from my Accela product experience.

Starting point
Maintaining a local knowledge base alongside two downstream systems creates repeated export work and opportunities for document drift.
What changed
A configurable dispatcher implements the synchronization workflow, with dry runs, incremental state, and tests. Destination setup is still required for live operation.

Project scope

The work behind the result

  1. 103 automated tests at recorded verification

  2. One Markdown source with two configurable destinations

  3. Incremental state and dry-run behavior implemented

The product problem

A local knowledge base can be useful for authoring while collaboration and retrieval happen in other tools. Keeping copies in those destinations introduces repetitive work and opportunities for drift.

I wanted one authoring source and an understandable way to update the destinations. The design needed to make changes inspectable and avoid resending documents that had not changed.

Choose a manageable synchronization model

I chose an incremental dispatcher with explicit state. It scans selected Markdown folders, compares file state, routes changed documents to the configured destinations, and records synchronization progress.

Scheduled polling fit the document workflow. A continuous event system would have added coordination and recovery concerns that this use case did not require.

Make writes understandable

The implementation separates dispatch, Notion, Google Drive, state, and logging concerns. Dry-run and force modes give the operator ways to inspect intended work or request a resync.

The product decision behind those controls is straightforward: a tool that writes into other systems should make its behavior understandable before it becomes routine. Explicit state and logs support that understanding.

What the verification establishes

Verification at repository head d36a6cf passed 103 automated tests. The recorded coverage includes dispatch decisions, destination behavior, incremental state, dry runs, and smoke paths.

Those integrations are mocked in the tests. The current public README identifies the checkout as inactive until Notion and Google Drive destinations are configured. Passing the tests establishes implementation behavior in the test environment; it does not establish successful live synchronization.

The result and next evidence

The result is a configurable, inspectable implementation of the synchronization workflow. It provides builder evidence for incremental processing, API boundaries, operator controls, and verification design.

The next evidence would be a controlled live run against configured destinations, confirming the resulting documents and recorded state. I keep that operational milestone distinct from the completed implementation.

Skills demonstrated

  • Python Automation
  • Systems Architecture
  • API Design
  • Data Modeling
  • Process Design

Let's talk

Looking for a PM who can work through the complexity?

I'm exploring remote product management roles in enterprise software and platform teams. Based in Bend, Oregon.