A change, end to end

One example change followed from the ticket to production and back, showing what Unlock does and who decides at each step.

Illustrative example

EX-104 is a fictional work item. The services, findings and decisions below are made up to show how the steps connect; they aren't output from a real system.

The request: customers of a billing product want to export their account data as a CSV file. A product manager files EX-104, "Add customer-data exports". The ticket is two lines long.

The request comes in

The ticket says what customers asked for, but nothing about which fields count as customer data, how large an export can be, or which services hold the records. Someone has to find that out before an engineer can start.

Spec: turn the ticket into something you can build from

Unlock reads the ticket, the repository and past decisions, including an earlier decision that personal data leaves the system only through the audit-logged gateway. It comes back with a draft spec:

  • Acceptance criteria: an account admin can request an export; the file contains the listed fields; every export is written to the audit log.
  • Affected services: the accounts service, the export worker and the audit gateway.
  • Open questions: Are payment details in scope? What is the size limit for one export?

The PM answers the two questions and signs off the scope. The approved spec becomes the first entry in EX-104's record.

Code: brief the coding agent

Your coding agent, or Unlock's own, starts with the approved spec, the three services it touches and your team's conventions. It writes the change and the tests, and the tests run before the pull request opens. The PR arrives with its test results and the evidence that each acceptance criterion is covered.

Review: check the PR against the spec

The reviewer sees the requirement, the approved spec and the decisions beside the diff. Unlock checks every service that calls the API that changed and finds one caller, the reporting job, that the diff didn't update. It also flags that the playbook for changes touching customer data requires a security sign-off, and that it hasn't happened yet.

The author fixes the reporting job, security signs off, and a named reviewer approves.

Release: run the release playbook

The release playbook needs an approved spec, a rollback plan and a change window before it starts. The rollout goes to 5% of accounts, then 50%, then everyone, with error rates checked at each stage. The release manager approves each stage.

On-call: tie the alert back to the change

A week later, an alert fires: export jobs for the largest accounts are timing out. Unlock links the alert to the EX-104 deploy, the diff, and a config change made the same day. It ranks the likely causes and proposes a fix that splits large exports into batches. The owner of the export worker decides whether the fix ships.

The fix becomes the next ticket, and the loop starts again from Spec.

What EX-104's record holds

StepAdded to the recordWho approved
SpecThe approved spec, the two answered questions and the past decision it relied onThe product manager
CodeThe PR, the tests and their results
ReviewThe missed caller, the security sign-off and the review approvalThe security reviewer and the named reviewer
ReleaseThe rollback plan, each stage's error rates and the deployed versionThe release manager, at each stage
On-callThe alert, the ranked causes, the proposed fix and the decisionThe export worker's owner

Anyone looking at EX-104 later, whether an auditor, a new team member or the next on-call engineer, finds every step and decision in one place.

On this page