Kandryn
Use case

Turn a documented business rule into a reviewable software change.

Choose the rule, its source, and one example that makes the correct outcome clear.

No organization, policy or record named here is real. The example is written for this page.

The task

A lending team asks for second approval on a defined class of exceptions. The procedure identifies which cases qualify. Kandryn brings that rule together with the work item and repository context to prepare the change. Operations checks the routing decision. Engineering checks the implementation.

When to reach for this

  • The behavior you want is already written down somewhere, in a procedure, a policy or a standard.
  • Two people on the team would describe the correct outcome differently if asked separately.
  • The change is small enough that one example settles whether it is right.

What to bring

  • The rule, and the document it lives in.
  • The categories or conditions the rule turns on, named the way the business names them.
  • One case that qualifies and one that does not, with the outcome you expect for each.
  • The person who owns the rule, because at least one edge will need them.

Which applications need a second approval?

Two applications are pending. One carries a documented policy exception in a qualifying category. The other is waiting for income documentation. A decision table makes the rule checkable line by line, including the line nobody has decided yet.

Sample
ConditionQualifying categoryDocuments completeDestination
Documented policy exception, qualifying categoryYesYesSecond approval
Awaiting income documentationNoNoDocument follow-up
Exception resolvedNo longer appliesYesLeaves second approval
Exception and missing documents togetherYesNoNeeds a decision
Four conditions, three answers and one open question. The open row is the useful part.

A qualifying exception enters second approval. A missing document enters document follow-up.

Workflow routing only. Nothing here describes a credit decision.

The last row is not an oversight. The procedure does not say which rule wins when both apply, and a proposal that picked one by the order of two conditions would be making an operations decision in code. Writing the row and leaving it open is what gets it answered.

What comes back

  • A proposed change on its own branch, opened as a pull request.
  • A decision table the rule owner can read without opening an editor.
  • Acceptance examples for the qualifying case and the non-qualifying case.
  • The references the run recorded, so a reviewer can see what informed it.

How this usually goes wrong

The rule is encoded as an entry condition and never as an exit.

A routing change that says how work arrives in a queue, and not how it leaves, looks correct on the day it ships. Items accumulate in the queue after the condition that put them there has been resolved, and the first person to notice is whoever has to work through it. Any rule that routes needs its reverse written as a test at the same time.

What a reviewer checks

Hold these against the proposal before accepting it. They are the things that separate a change that works from one that returns the right answer today.

  • A qualifying case reaches the queue the procedure names.
  • A non-qualifying case does not.
  • A resolved condition removes the item from the queue.
  • A condition the procedure does not list is counted and shown, not silently defaulted.
  • The unresolved combination is recorded as a question, not answered in code.

What to measure in a pilot

Routing accuracy against an agreed set of test cases, and how many rounds of clarification it took before the rule was implementable.

Bring a request whose meaning depends on a rule written somewhere else.

Choose one improvement your team wants to make. We will walk through the context behind it, the proposed change, and the decisions your reviewers would make.

Request a walkthroughSee the pilot guide
Request access

Queue the work tonight. Read the pull requests in the morning.

Request accessSee the pilot guide