尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Find, claim and follow up on what a loved one left behind. Built for WeMakeDevs x AWS First Commit (Bharat Builds Tour) 2026.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
Find, claim and follow up on what a loved one left behind. A bilingual (English / हिंदी) web application that helps an Indian family discover a deceased person's financial assets, produce the official claim paperwork, and hold each institution to the deadlines the regulator already gives them. Live application: https://d30k8rjq3ol5ah.cloudfront.net — choose "Open the demo, no sign-up" to land in a ready-made sample case (invented family, accounts and findings). New cases can be opened from inside it. Documentation: Architecture · Deployment查看完整 README ↗
Find, claim and follow up on what a loved one left behind.
A bilingual (English / हिंदी) web application that helps an Indian family discover a deceased person's financial assets, produce the official claim paperwork, and hold each institution to the deadlines the regulator already gives them.
Live application: https://d30k8rjq3ol5ah.cloudfront.net — choose "Open the demo, no sign-up" to land in a ready-made sample case (invented family, accounts and findings). New cases can be opened from inside it. Documentation: Architecture · Deployment
When a parent dies in India, the family — often a student — runs into the same three walls: they do not know what the person owned, they fill the same details into form after form, and they wait on banks with no idea of their rights.
Since the Reserve Bank of India issued the Settlement of Claims in respect of Deceased Customers of Banks Directions, 2025 (RBI/2025-26/82), the bank part of that process is rule-based:
| Rule | What it says |
|---|---|
| Annex I-A to I-H | One standard set of claim forms across every bank |
| Para 10(a) | No court papers up to ₹15 lakh (₹5 lakh at co-operative banks) |
| Para 31 | Settlement within 15 calendar days of complete documents |
| Para 33 | Interest at Bank Rate + 4% for delays the bank causes |
AfterLoss turns those directions, and the equivalent rules for mutual funds, shares, insurance, provident fund, pension and small savings, into a guided process: every decision it makes quotes the paragraph it came from, and every quote is checked against a hashed copy of the official source.
| Guided intake | Facts are collected once, in the order the official forms need them: the deceased, family and legal heirs, who is to be paid, bank accounts, investments and policies. Inline validation for PAN, IFSC (with branch lookup), UAN, PRAN and demat IDs. |
| Discovery from documents | A bank statement is parsed for evidence of assets nobody knew about — dividends reveal shares, SIP debits reveal mutual funds, a ₹436 premium reveals ₹2 lakh of PMJJBY cover. A passbook photograph fills in bank, branch, IFSC, account number and nomination. |
| Discovery from email | With the family's consent, a read-only Gmail search runs entirely in the browser and lists institutions that wrote to the deceased, each finding shown with the message it came from. Nothing but the confirmed result reaches the server. |
| Routing | Each asset is routed (nominee, simplified, above threshold, will, dispute, locker) with the exact regulation quoted, plus the documents, forms and thresholds that route requires. |
| Paperwork | One action produces a claim pack. For banks, RBI's Annex forms are printed onto the official form pages themselves — boxes ticked, inapplicable options struck through, amounts in words. For other institutions, a pre-filled claim letter and plan sheet. Identity documents are attached only as masked copies. |
| Follow-up | When the bank acknowledges the claim, a 15-day clock starts, with reminders on day 10 and 14. If the bank is late, compensation is calculated and a letter drafted; once the family confirms they sent it, a 30-day reply period runs, after which an RBI Ombudsman complaint is drafted. |
| Explanations | Any screen can be explained in plain English or Hindi, or searched on the web with citations. Personal data is removed before either call leaves the account. |
| Shared access | A case can be shared with heirs and helpers. Helpers see masked previews only and can never download an original document — enforced by a Cedar forbid policy, not by UI state. |
flowchart LR
U["Family<br>React PWA · EN / HI"] --> CF["CloudFront + S3"]
U --> COG["Cognito<br>sign-in"]
U -- "JWT" --> GW["API Gateway<br>HTTP API"]
U -- "presigned" --> S3[("S3<br>documents")]
GW --> AVP["Verified Permissions<br>Cedar policies"]
GW --> FN["Lambda<br>api · scan · pack · assistant"]
FN --> DDB[("DynamoDB<br>single table")]
FN --> S3
FN --> OCR["Textract + Comprehend<br>OCR and PII masking"]
FN --> AI["Bedrock<br>gpt-oss-120b · Nova 2 Lite"]
FN --> SFN["Step Functions<br>15-day claim clock"] --> SES["SES<br>reminders"]
| Layer | Services |
|---|---|
| Delivery | CloudFront + S3 with origin access control; React 19, Vite, Tailwind, i18next; installable as a PWA |
| Identity and access | Cognito user pools (JWT authorizer on the HTTP API); Verified Permissions with Cedar policies for per-case roles |
| Compute and data | Lambda (Python 3.13), DynamoDB single-table design with TTL, S3 with presigned URLs only |
| Documents | Textract for OCR, Comprehend for PII detection, ReportLab and pypdf for the official-form overlay |
| Workflow | Step Functions with callback tokens for the statutory clock, SES and SNS for notifications |
| AI | Bedrock — OpenAI gpt-oss-120b in ap-south-1 for explanations, Amazon Nova 2 Lite with Nova Web Grounding in us-east-1 for cited web answers |
| Operations | CloudWatch logs and alarms, AWS Budgets, infrastructure as code with AWS SAM |
Everything runs in ap-south-1 (Mumbai) apart from web grounding, which Bedrock offers only through US inference profiles; requests to it pass through a PII firewall first. The data model, API surface, cost model and the trade-offs behind each choice are documented in docs/ARCHITECTURE.md.
Legal rules live as data, not as code branches, and each one carries its citation:
python -m afterloss.rules.verify # re-hashes the stored RBI notification and checks every quotation
The check confirms that 27 of 27 quoted passages appear word for word in the stored source, whose
SHA-256 is recorded in backend/src/afterloss/rules/data/sources.json. The official claim forms are
filled by overlaying a hash-verified copy of the blank form pages, so what the family prints is the
regulator's own format.
| Check | Result |
|---|---|
backend/tests (pytest) | 132 unit tests — routing at both threshold boundaries, compensation arithmetic, discovery precision, official-form output, masking, the PII firewall, Cedar decision matrix |
python -m afterloss.rules.verify | 27/27 citations verified against the hashed source |
frontend/tests/gmailScan.test.ts | Classifier and merge rules for email findings |
scripts/e2e.py | 24/24 checks against the deployed stack — scan, routing, pack, masking, authorisation denials, the full clock through to the Ombudsman draft, and a cited web answer |
Prerequisites: an AWS account with Bedrock model access, AWS CLI v2, AWS SAM CLI, Python 3.13 and Node 20+.
# 1. Deploy the backend (Cognito, API, Lambdas, DynamoDB, Step Functions, Cedar policies)
powershell -File scripts/deploy-backend.ps1 -AlertEmail [email protected]
# 2. Build and publish the web application (CloudFront + S3)
powershell -File scripts/deploy-web.ps1
# 3. Run the test suites
cd backend && PYTHONPATH=src python -m pytest tests
node frontend/tests/gmailScan.test.ts
Local development against the deployed API: npm --prefix frontend run dev.
Full instructions, including Gmail OAuth and teardown, are in docs/DEPLOYMENT.md.
backend/
src/afterloss/ rules engine, discovery, forms, privacy, AWS adapters
src/handlers/ Lambda entry points (api, scan, pack, assistant, clock)
policies/ Cedar authorisation policies
statemachines/ Step Functions definition for the claim clock
template.yaml AWS SAM infrastructure as code
tests/ unit and regression tests
frontend/ React + TypeScript application (English / Hindi)
infra/ CloudFront + S3 stack for the website
scripts/ deployment, end-to-end checks, form-layout tooling
sources/ official source documents kept for citation verification
samples/ synthetic statement and passbook used for demos and tests
.waitForTaskToken holds the claim clock until the family
answers; wait states driven by a timestamp let a 15-day process run in a minute for a demonstration
without changing the production path.forbid beats permit in Cedar. "Helpers never download originals" is one rule that no later
permission can undo, and the policies are validated locally with the open-source Cedar engine.Primary rules
Sector rules used by the non-bank playbooks
Search and discovery portals referenced in the app
Technical
The complete, machine-readable list of citations, with the paragraph quoted for each rule, lives in
backend/src/afterloss/rules/data/.
sources/ with its SHA-256 so quotations can be verified. It
remains the property of the Reserve Bank of India and is included for citation only.Full attribution is in NOTICE.md.
Built during the WeMakeDevs × AWS First Commit hackathon (Bharat Builds Tour), 17–20 September 2026. Development was assisted by Claude Code (Anthropic); all code was reviewed before it was committed.
MIT © 2026 Dhruba Agarwalla
AfterLoss is not legal advice. Every rule it applies is quoted from an official source, but entitlements depend on facts this application cannot verify. Confirm with the bank or institution before signing anything.