Rename product brand: Mandate → UnderWriter (backend + docs)#6
Merged
Conversation
The product is called UnderWriter. Update brand-as-product references
across the backend service and the docs. Domain language is preserved
intact:
- MANDATE.md (the policy file) keeps its name and 'Mandate \u2014 Acme
Ventures III' heading.
- The 'Mandate desk' (one of six diligence desks) keeps its name and
title (it parses the MANDATE.md file).
- mandate-loader.ts, mandate-evaluator.ts, the Mandate TypeScript
interface, loadMandate(), the 'mandate' desk id, source: 'mandate'
citations, and 'Mandate \u00a72/\u00a74/\u00a75' clause references all stay.
Files touched:
- backend/{package.json, README.md, .env.example, app/{layout,page}.tsx,
lib/contract.ts, agents/amend.ts, scripts/smoke.ts}: brand strings
in titles, comments, descriptions, and the PR-title prefix
('[Mandate]' \u2192 '[UnderWriter]').
- backend/MANDATE.md and backend/docs/MANDATE.md: 'Mandate platform'
\u2192 'UnderWriter platform' in prose; the document itself remains the
fund's investment mandate.
- backend/docs/{Backend.md, DEMO.md}: title and product-brand prose.
Kept 'Mandate desk', 'Mandate loading and evaluation', 'Mandate
\u00a76.4', 'Scene 1 \u2014 The Mandate' (refers to the policy file), and
the TypeScript-type references (Mandate, loadMandate, etc.).
- AGENTS.md: 'the Mandate demo' \u2192 'the UnderWriter demo'.
Frontend is intentionally not touched per direction.
Verified clean: tsc --noEmit, next build, and the end-to-end smoke
test all pass; both the clean-acme proceed path and the bec-acme
hold-with-amendment path land correctly.
Co-authored-by: Mr T <trenchsheikh@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The product is called UnderWriter, not "Mandate." The brand had been used inconsistently across the backend service and the docs (page titles, READMEs, env file headers, the contract file header, the PR-title prefix the amend agent emits, etc.). This PR renames the product brand to UnderWriter everywhere it appears, while keeping all domain language about the fund's investment mandate intact.
Frontend is intentionally not touched, per direction.
What's the brand vs what's domain language
mandate(domain language)MANDATE.mdfilename and# Mandate — Acme Ventures IIIheading inside it<title>tagspackage.jsondescriptionlib/mandate-loader.ts,lib/mandate-evaluator.tsbackend/README.md,backend/.env.exampleheadersMandateTypeScript interface,loadMandate()lib/contract.tsfile header"mandate"desk id andsource: "mandate"citation tagagents/amend.tsPR-title prefix ([Mandate]→[UnderWriter])"Mandate §2","Mandate §4","Mandate §5""the fund's mandate"prosedocs/Backend.mdtitle anddocs/DEMO.mdbrand mentionsAGENTS.mdoverviewRationale: a fund's investment mandate is a real, named document; the Mandate desk is the desk that parses it. Those names have meaning in the domain, independent of the product brand.
Files changed (13)
backend/package.json,backend/README.md,backend/.env.examplebackend/app/layout.tsx,backend/app/page.tsxbackend/lib/contract.tsbackend/agents/amend.tsbackend/scripts/smoke.tsbackend/MANDATE.md,backend/docs/MANDATE.md(prose only)backend/docs/Backend.md,backend/docs/DEMO.md(titles and product-brand prose)AGENTS.mdNet: +25 / −23 lines.
Verification
npm run typecheck(tsc --noEmit)npm run build(next build)GET /api/health{"status":"ok","service":"underwriter-backend",...}proceedhold; amendment diff capturesacrne.coThe post-rename smoke transcript is attached:
backend_smoke_after_rename.txt
Slack Thread