Skip to content

Instantly share code, notes, and snippets.

@ChakshuGautam
ChakshuGautam / escalation-plan.md
Created June 8, 2026 23:14
DIGIT PGR Escalation — Implementation Plan (Bomet)

DIGIT PGR Escalation — Implementation Plan

End-to-end plan for closing the escalation feature on Bomet. Six phases, ~6-7 days serial. Every phase ends with a live verification command against https://bometfeedbackhub.digit.org.

Why this work exists

The escalation backend is shipped on Bomet — EscalationScheduler ticks every 5 min, scans 49 complaints — but escalates zero. Two reasons:

@ChakshuGautam
ChakshuGautam / handoff.md
Created June 3, 2026 03:19
Bomet Platform-Admin + Keycloak SSO — Handoff & Test Guide

Bomet Platform-Admin + Keycloak SSO — Handoff & Test Guide

End-to-end test guide for the Keycloak-driven tenant-admin onboarding flow shipped on bometfeedbackhub.digit.org. Hand this to a tester; they can walk through the demo without prior context.


1. What was built

@ChakshuGautam
ChakshuGautam / pw785-README.md
Created May 18, 2026 15:02
NHS 111 — Lower back pain (PW785) Male 35 — graph JSON + Mermaid flowchart

NHS 111 — Lower back pain (PW785) — Male 35

Graph export of the NHS 111 lower-back-pain pathway as it sits in Olly's canonical pathway store (dev-2 nhs111 postgres) on 2026-05-18.

At a glance

  • pw_code: PW785
  • Demographic: Male, age 35
  • State count: 32
@ChakshuGautam
ChakshuGautam / nairobi-actions-README.md
Created May 17, 2026 01:29
Nairobi (naipepea.digit.org) ACCESSCONTROL actions catalogue — 253 rows from MDMS ACCESSCONTROL-ACTIONS-TEST at ke root, 2026-05-17

Nairobi (naipepea.digit.org) — ACCESSCONTROL actions catalogue

Snapshot of every action registered in MDMS on the ke root tenant, as of 2026-05-17.

  • Source schema: ACCESSCONTROL-ACTIONS-TEST.actions-test
  • Pulled via: POST /v1/tools/mdms_search against the on-host MCP at 127.0.0.1:13101
  • Total actions: 253 (all isActive=true, all stored at root tenant ke and inherited by every city tenant via MDMS v2)
  • Source of truth: these rows drive the role↔action mapping in ACCESSCONTROL-ROLEACTIONS.roleactions (384 rows separately) — together they define what each role on this tenant is allowed to do.

CSV columns

@ChakshuGautam
ChakshuGautam / digit-mdms-essentials.md
Created May 16, 2026 05:41
DIGIT MDMS — the schemas a tenant absolutely needs to function (root vs city scope, failure modes, bootstrap order)

DIGIT MDMS — schemas a tenant absolutely needs to function

Distilled from tenant_bootstrap's essentialSchemas list in ChakshuGautam/DIGIT-MCP (src/tools/mdms-tenant.ts), plus a handful of schemas we discovered the hard way during the Maputo onboarding POC that aren't in the bootstrap loop but are equally load-bearing.

Scope key

Symbol Meaning
🌳 root Owned at the state root (e.g. ke, pg). Cities inherit via MDMS v2.
🏙 city Owned per-city (e.g. ke.bomet, ke.maputopoc). Does NOT inherit.
🌳→🏙 Lives at root but cities frequently shadow with city-scoped overrides.
@ChakshuGautam
ChakshuGautam / digit-tenant-onboarding-api.md
Last active May 14, 2026 11:08
DIGIT Tenant Onboarding REST API — frontend integration guide for the configurator (deployed at https://naipepea.digit.org/v1)

DIGIT Tenant Onboarding REST API

Frontend integration guide for the configurator. This API exposes the same tenant-bootstrap + city-setup logic the platform team uses internally — same implementation, just over plain JSON-over-HTTP instead of MCP JSON-RPC.

Feature-detect what a deployment supports via GET /v1/version's features[].

Base URL (publicly reachable)

{
"businessService": "PGR",
"business": "pgr-services",
"businessServiceSla": 432000000,
"states": [
{
"state": null,
"applicationStatus": null,
"isStartState": true,
"isTerminateState": false,
@ChakshuGautam
ChakshuGautam / netofnet-stage-a.md
Last active April 17, 2026 04:02
NetOfNet Beckn PoC — Stage (a) shipped: AMUL + MH VISTAAR fan-out across MOA + MH Beckn networks. Live, curl-verifiable.

NetOfNet Beckn PoC — Stage (a) live

A Beckn "Network of Networks" demo. An AMUL App and MH VISTAAR (shared UI, persona selector) fan out a single search across two Beckn networks — MOA (Ministry of Agri) and MH (Maharashtra) — and aggregate catalogs side-by-side.

Repo: https://github.com/ChakshuGautam/netofnet-beckn-poc (tag stage-a-v1, 23 commits) Design spec: docs/superpowers/specs/2026-04-16-beckn-non-stage-a-design.md Plan: docs/superpowers/plans/2026-04-16-stage-a-implementation.md Schema notes from the build: docs/build-notes.md

Try it

@ChakshuGautam
ChakshuGautam / pr318-rca.md
Created April 12, 2026 08:14
RCA: PR #318 — Local Setup Enhancements and Fixes (egovernments/CCRS)

RCA: PR #318 — Local Setup Enhancements and Fixes

PR: egovernments/Citizen-Complaint-Resolution-System#318
Author: Subhashini Srinivasan
Branch: enhance_local_setupdevelop
Related PRs: #264 (DataLoader MCP parity), #265 (citymodule + password fixes)
Date: 2026-04-12
Reviewer: Chakshu (via Claude Code)


@ChakshuGautam
ChakshuGautam / 63
Last active April 12, 2026 06:45
DIGIT UI Local Development Workflow — esbuild + Playwright replacing Docker/webpack
# DIGIT UI Local Development Workflow
## Overview
This guide documents how to set up a fast local development loop for DIGIT UI using esbuild (instead of webpack/Docker), with Playwright for automated testing. This replaces the traditional Docker image rebuild cycle (~5 min per iteration) with sub-second rebuilds and 35-second E2E test runs.
---
## 1. Pull Upstream Package Sources Locally