WHAT IT IS
An insurance quote turned into a bind request.
ReadySetBind is a placement-to-bind pipeline for insurance agencies, and it covers the stretch between a carrier's quote and the bind request. The carrier is the insurance company offering the policy, and the bind request asks its underwriter, the person who accepts the risk, to put the policy in force. A quote PDF goes in and Claude proposes the policy fields from it. A person in the app, called the operator, checks those fields, then the insured, the customer buying the policy, signs electronically and the bind request goes out. Claude Code agents built it, and it is now live with a pilot agency.

THE GATE THAT HELD
Verification is a state change in the database.
A placement is the app's record for one quote on its way to a bind, and it moves through a series of states, which are the named stages the database allows a record to be in. Verification is one of those moves. A June 3 migration (a versioned change to the database) hardened record_verification, the database function that records it, and in that version the function moves a placement from the pending verification state to the signing state. That puts the result of verification on the placement itself, where the later steps can read it.
CONTROL
Automated checks arrived nine days into the build.
The first CI workflow, meaning the checks GitHub runs automatically on each pull request (a proposed change waiting to be merged), landed on June 4, nine days into the build. An ast-grep step, a lint that matches code by its syntax tree, joined it on June 8, and error monitoring came in between June 8 and 10. The checks run on every pull request that changes code and flag known failure classes for whoever reviews it.
LESSONS
Two patterns from this build.
- Test a function's execute rights, the permission to call it, against every Postgres role that can reach it, since a right left on any one role lets that role call it. ReadySetBind has a static test, added July 15, which reads the revoke statements removing those rights in a July 9 migration, and pgTAP tests, run inside Postgres, that check two later functions against the public, anonymous and authenticated roles.
- Make the step that acts on a record check the record's state for itself. In ReadySetBind, create-signing, the function that starts the e-signature, rejects any placement that is not in the signing state, so a placement still waiting on verification is turned away at the point where it would go out to the insured.
PROJECT DESIGN
How it works.
How data moves
Key modules
Extraction
Claude reads the quote PDF and returns structured policy fields plus the anchor text printed beside every signable field.
Anchor resolver
Deterministically matches detected anchor text to the PDF's text layer and computes each field's coordinates.
Form fingerprinting
Keys operator-confirmed placements to a form's number/edition (plus a MinHash for numberless forms) so recurring templates come back pre-placed.
PDF kit
pdf.js text extraction, zoom-independent coordinate math, and pdf-lib assembly of the final bind package.
Bind dispatch
Assembles the bind package and routes the request to the underwriter once a human has verified the placement.
Email relay
Fail-closed outbound over M365 Graph / Gmail behind a classified-status gate — unknown outcomes count as failures.
SECURITY & OPERATIONS
Security and operations.
- Execute rights on sensitive database functions are revoked from public, anonymous, and authenticated roles.
- Email failures route through a fail-closed classifier — anything unknown counts as failed — and a CI rule flags new email calls that skip the classification.
- A shared function, defined in the initial schema, supplies tenant access to the row-level security policies — the database filters rows per user — with explicit deny-all policies on tables users should never touch.
- Telemetry pseudonymizes user IDs with a vaulted key, session replay is consent-gated, surveys are choice-only, and error reports are scrubbed before they leave the building.
- A pre-PR checklist step calls for an authorization review and a dedicated security-reviewer agent on every new API route, edge function, or policy change.
BUILDER NOTES
Builder notes.
- ~35 parallel agent worktrees, with a pre-tool hook that blocks branch switching — so each worktree holds one branch, and one PR per agent is convention.
- The launch sprint ran 17 calendar days, from May 26 to June 11, 2026.
- The telemetry schema is fail-closed: a no-free-string type union means unregistered analytics properties cannot be sent at all.
- Restoring typed database clients surfaced 18 latent type bugs that had accumulated in eight days of untyped operation — the old workaround is now documented as an anti-pattern.
WRITING
Field notes from this work.
Full build narrative
A placement-to-bind pipeline for insurance agencies. A quote PDF goes in, Claude extracts the policy fields, an operator verifies them, the insured e-signs, and a bind request goes to the underwriter. The rule underneath is structural: AI drafts, the verification step moves a placement into the signing state, and the e-signature step rejects any placement that is not in it. 1,382 commits across 392 PRs over 37 active days, now live with a pilot agency.
Claude Code agents built it across roughly 35 parallel git worktrees: one branch per worktree, enforced by a pre-tool hook that blocks branch-switching, with one PR per agent by convention. Monitoring and an automated check suite were added once the build was under way.