Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How to use this book

The intent specs own product intent: principles, product specs and owner decisions. Linear tracks scope, work and acceptance. This book documents Rust owners, setup and proof. Code establishes what is implemented; it does not turn an old implementation into an approved product decision. The project owner’s latest explicit decisions take precedence. When an outcome and implementation disagree, Linear tracks the gap, and the responsible owner changes as the work lands.

QuestionCanonical owner
What are we building and why?Intent specs: principles, then the physician, Duet, connected-care and harness specs; Linear tracks the work against them
How should Duet look and read?Design language
Where is it implemented?Crate map, then the owning source file and tests
How do I work here?AGENTS.md and README setup
What has been proved?The scoped test/run evidence linked by each outcome; verification owns formal-design workflow; release and GCP own operational procedures

Find the implementation

AreaNavigation
Accounts, evidence, the doctor workspace and saved careDuet backend, security boundaries, privacy recovery
Patient screens and design referencesDuet UI
Invitations, consent and practice connectionsAccounts and practice connection
Physician client, sign-in and executionPhysician site
The physician clinical skill catalogskills/, read by agent-skills for harness; skills in physician chat
Public marketing sitePublic site
Coda’s Chrome extension and its EHR reads, Hint firstChrome extension
Gym cases, promotion and runscoda-gym AGENTS.md
Shared execution and product boundariesHarness spec, crate map
Feature models and their checksVerification
Captured Hint and FHIR adapter proofRecorded adapters
Synthetic patients for running CodaSynthetic patients
Builds, deployment and diagnosticsRelease, GCP, observability
Dev container setup, ports and storageDev container
Dev shell on an Apple silicon Mac without NixApple container

Keep ticket references, lists, status and acceptance tracking in Linear. This book describes maintained source owners, implemented behavior and operating procedures; it does not mirror the backlog. Product and runtime changes follow the agreed design and verification workflow.

Read the physician product as one workflow

Start with what the physician should experience, then follow that promise through the app and its runtime. These documents answer different questions:

Read in orderWhat it establishes
Physician spec and its decisionsThe agreed behavior: Today, the patient page, conversations, readings, work and communication, including capabilities not built yet.
Harness spec and physician siteThe guarantees left to execution, then the Rust owners and execution paths that implement parts of them. Recovery and scaling support the experience; they do not establish coverage of every product workflow.
Verification and the physician verification recipeThe boundary between graph/model checks, implementation checks and running-app readback. The current physician recipe exercises chat across a local scale stack with a fixed provider.
GCP staging and releaseDeployment. A deployed revision is not itself an accepted physician journey.

For the next implementation slice, use Linear’s current outcome and the physician spec together: choose a complete physician journey, identify missing server data and runtime guarantees, then verify the result through the app. Do not infer the next product priority from the latest infrastructure merge.

Connected-care behavior belongs to the connected-care spec. It does not merge the physician’s and Duet’s accounts, clinical state or runtime owners.

Retiring a surface

Fixtures, generated API contracts, published legal text and active verification work are not obsolete merely because product scope changed. Remove a runtime surface through its outcome with consumer and authority checks, not through a documentation cleanup.