← Resources Lawful custody

BNSS §479: turning a statutory right into an operating routine

Deterministic eligibility computation, dual verification and dossier preparation move undertrial review from a quarterly scramble to standing practice.

A statutory release provision only works if somebody computes it, on time, for every eligible person, and can prove the computation. Where that arithmetic lives in a register and a spreadsheet, eligible people wait — not because the law is unclear, but because nobody was resourced to notice.

The arithmetic is deterministic. The decision is not.

Eligibility under BNSS §479 turns on facts a system already holds: date of first detention, offence class, maximum sentence, whether this is a first offence, fine-default status, age and infirmity. Computing that is deterministic rule work — exactly the kind of task software should do, and exactly the kind where generative or predictive models have no place.

XReform computes eligibility from an effective-dated rule pack, produces a line-by-line trace linked to the source order page, and then stops. A legal officer certifies. A second, independent officer verifies by recomputing blind. The committee recommends. The court orders. Nothing about that chain is delegated to a model.

Who is actually insidePopulation composition
Undertrial (awaiting trial)73.5%
Convicted25.6%
Detenue / other0.9%
3.84 lakhundertrials held (down ~10% year on year)
~1 in 3undertrials already held over one year
~50%of undertrials aged 18–30
Three in four people in Indian prisons have not been convicted. That is the population a statutory release provision is written for — and the reason computing eligibility by hand cannot keep pace.
Source · NCRB, Prison Statistics India 2023 · IndiaSpend analysis

Why flags alone change nothing

A flag that nobody can act on is a new form of neglect. In practice, three things block eligible people even after a correct computation:

  • Representation. A candidate without counsel cannot file. Auto-flagging at 72 hours without representation, then a district legal-services assignment, closes this.
  • Surety. People eligible for release but unable to furnish surety stay inside. Personal-recognisance bond motions, drafted as a standing template, address it.
  • Documents. Illegible warrants, name variance between court and custody records, missing medical certificates. These belong in a human repair queue with an owner and a deadline — never in a silent failure log.
From statutory test to lawful releaseProcess
computeEligibilityEffective-dated rule pack
verifyDual legal checkSecond officer recomputes blind
representLegal aidDLSA counsel assigned
prepareDossierSurety · documents · medical
recommendUTRC sittingCommittee decision
orderCourtRelease gate opens
Software occupies only the first box. Certification, representation, recommendation and the order itself stay with named humans — and each handover is where eligible people are actually lost.
Source · XReform UTRC workbench · BNSS §479 rule pack

What the workbench actually does

The UTRC workbench holds the sitting calendar, the dossier templates, the surety and document checklists, the legal-aid assignments and the outcome record. Aged flags — anyone eligible who has waited past one sitting — escalate to leadership dashboards. That single rule is the difference between a system that computes and a system that changes outcomes.

No eligible person should wait two sittings unseen. That is a configuration decision, and it is the most important one in the module.
Where undertrial detention concentratesGeography
Uttar Pradesh18.8%
Bihar11.9%
Maharashtra8.3%
All other states & UTs61.0%
Three states hold two-fifths of India’s undertrial population. Aged-flag escalation matters most exactly here, where sitting calendars are thinnest relative to caseload.
Source · NCRB, Prison Statistics India 2023

Identity is the quiet risk

Court records and custody records disagree more often than anyone would like — a transposed date, a surname spelled across two scripts. The temptation is to auto-match and move on. XReform refuses: candidates are ranked with reasons, a named officer adjudicates with the evidence visible, and rejected pairs are remembered so the same false match is never re-raised. An identity merged in error is a person detained in error.

Read next

Staff wellbeing is a safety system, not a perk

Measure the job, protect the person, redesign the work — and keep management out of the health file.

Book a briefing