Surge
Revenue types and one renewal health. Contract line items now carry a Revenue Type and an ARR Eligible field, and I rewrote the extraction prompt with rules for computing TCV and ARR. ARR math is Decimal-safe and keeps zero values.
Risk level and renewal health were two systems; they are now one.
The trade-off matrix generates when the negotiation tab loads, and the renewal period dropdown has an Overdue filter. I also fixed periodic tasks and renewal reminders that were hanging the worker.
Polishing the contract and negotiation tabs. The Contract and Negotiation tabs got a long polish: a unified empty state with a contract upload flow, pricing scenario tables matched to the prototype, no more duplicate stakeholders, and the AI Risk Signals section renamed to Clause Risks & Gaps.
Behind the screens:
- Prompts all moved into Langfuse prompt management, and traces carry session IDs and agent tags.
- ARR: multi-year contracts use the date range when there is one, and sub-annual contracts are no longer annualised upward.
- Renewal Signals are captured, with a forward-only status.
- Account owners are validated against the tenant’s members.
- New Relic for APM, logs and browser monitoring.
One schema for contract fields. On 20 April, extracted contract fields got one schema that both sides use, built in a single day.
- Backend: a field schema with an ISO 4217 currency registry, coercion for every field type, section validation, and an endpoint that serves the schema with ETag caching.
- Frontend: a hook that loads the schema, validation that mirrors the backend, typed inputs (text, number, date, boolean, enum, percent), a money input, and a type-ahead currency picker.
- Shared tests: one fixture of coercion cases runs on both sides, and a drift guard fails if the two schemas fall out of step.
The account overview, the extraction review panel, and the confirm and edit views all validate through it. A manual pass afterwards made ARR paste-friendly and kept the raw text when an edit has an error.
Renewal health agent. The renewal health agent and the trade-off matrix input were aligned to a newer spec, and the agent’s confidence is now stored.
Spylert
Spylert is the new project: know what your competitors shipped and whether it matters. The last week of the month was setup.
- A PRD, an MVP implementation plan and a task breakdown, with pre-mortem analyses from two other models.
- A design handoff bundle for the main app, and per-story prompts.
- A monorepo scaffold with a locked toolchain, production Dockerfiles, and Railway services deployed from CI.