Upload 15 files
Browse files- commands/abstract-lease.md +405 -0
- commands/analyze-investment.md +497 -0
- commands/assess-risk.md +324 -0
- commands/audit-financials.md +373 -0
- commands/brief.md +233 -0
- commands/build-investment-memo.md +472 -0
- commands/check-tax-compliance.md +375 -0
- commands/check-zoning.md +322 -0
- commands/compare-projects.md +379 -0
- commands/detect-jurisdiction.md +211 -0
- commands/evaluate-infrastructure.md +461 -0
- commands/evaluate-lending.md +433 -0
- commands/stress-test.md +308 -0
- commands/support-transaction.md +334 -0
- commands/track-approvals.md +445 -0
commands/abstract-lease.md
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: abstract-lease
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "abstract lease", "lease abstraction", "summarise lease",
|
| 4 |
+
# "summarize lease", "extract lease terms", "lease summary", "lease overview",
|
| 5 |
+
# "what does the lease say", "key lease terms", "lease data room",
|
| 6 |
+
# "pull the lease terms", "resumen del contrato", "extracto del arrendamiento",
|
| 7 |
+
# "lease sheet", "lease profile", "tenancy schedule"
|
| 8 |
+
# Dependencies:
|
| 9 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 10 |
+
# - scripts/validate_lease.py (completeness check)
|
| 11 |
+
# - references/countries/{jurisdiction}/lease-law.md
|
| 12 |
+
# Output: Structured lease abstract card + completeness score + risk flags
|
| 13 |
+
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
## COMMAND: abstract-lease
|
| 17 |
+
|
| 18 |
+
### PURPOSE
|
| 19 |
+
Produce a structured, institution-grade lease abstract from any commercial or
|
| 20 |
+
residential lease document. The abstract must:
|
| 21 |
+
- Capture every material term in a standardised format
|
| 22 |
+
- Flag absent, ambiguous, or non-standard terms explicitly
|
| 23 |
+
- Apply jurisdiction-specific legal context to every clause
|
| 24 |
+
- Produce a completeness score and risk rating
|
| 25 |
+
|
| 26 |
+
A lease abstract is the primary reference document used by asset managers,
|
| 27 |
+
lenders, investors, and legal counsel. It must be reliable enough to base
|
| 28 |
+
financial decisions on.
|
| 29 |
+
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
## STEP 0 — JURISDICTION GUARD
|
| 33 |
+
|
| 34 |
+
```
|
| 35 |
+
JURISDICTION GUARD — abstract-lease
|
| 36 |
+
══════════════════════════════════════════════════════════
|
| 37 |
+
Lease law is JURISDICTION-SPECIFIC.
|
| 38 |
+
LTA 1954 (UK), LAU (Spain), NNN/FSG (USA), bail commercial (France),
|
| 39 |
+
BGB Mietrecht (Germany), TPA/Rent Control (India), Dubai Tenancy Law (UAE)
|
| 40 |
+
are fundamentally different frameworks.
|
| 41 |
+
Applying the wrong framework = incorrect risk assessment.
|
| 42 |
+
══════════════════════════════════════════════════════════
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
```bash
|
| 46 |
+
python scripts/validate_jurisdiction.py \
|
| 47 |
+
--input "[property address from lease]" \
|
| 48 |
+
--type [residential|commercial|industrial|mixed]
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Load confirmed jurisdiction's lease reference:
|
| 52 |
+
→ `references/countries/{jurisdiction}/lease-law.md`
|
| 53 |
+
|
| 54 |
+
If jurisdiction not determinable from lease document: ask before proceeding.
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## STEP 1 — GATHER THE DOCUMENT
|
| 59 |
+
|
| 60 |
+
**Input**: Lease document (PDF, DOCX, or text paste)
|
| 61 |
+
|
| 62 |
+
Before abstracting, confirm:
|
| 63 |
+
- Is this the **executed** version (signed) or a draft?
|
| 64 |
+
- Are there any **side letters**, **licences**, or **supplemental agreements**?
|
| 65 |
+
- Is there a **schedule of condition** attached?
|
| 66 |
+
- Is there a **rent deposit deed** separate from the lease?
|
| 67 |
+
|
| 68 |
+
> Any side letter or supplemental agreement modifies the abstract.
|
| 69 |
+
> An abstract based only on the lease body without side letters is INCOMPLETE.
|
| 70 |
+
> Flag this as ABSENT if not provided.
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
## STEP 2 — RUN LEASE VALIDATION SCRIPT
|
| 75 |
+
|
| 76 |
+
```bash
|
| 77 |
+
python scripts/validate_lease.py \
|
| 78 |
+
--lease-file [path_to_lease.txt] \
|
| 79 |
+
--jurisdiction [spain|uk|usa|india|france|germany|uae]
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
Parse JSON output. Use PRESENT/AMBIGUOUS/ABSENT status per item
|
| 83 |
+
to populate the abstract and flag risk items.
|
| 84 |
+
|
| 85 |
+
---
|
| 86 |
+
|
| 87 |
+
## STEP 3 — PRODUCE THE LEASE ABSTRACT
|
| 88 |
+
|
| 89 |
+
Present in this exact structure:
|
| 90 |
+
|
| 91 |
+
```
|
| 92 |
+
╔══════════════════════════════════════════════════════════════════╗
|
| 93 |
+
║ LEASE ABSTRACT ║
|
| 94 |
+
║ [Property address] Jurisdiction: [COUNTRY] ║
|
| 95 |
+
║ Abstracted: [DATE] Source: [Executed / Draft] ║
|
| 96 |
+
╚══════════════════════════════════════════════════════════════════╝
|
| 97 |
+
|
| 98 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 99 |
+
SECTION 1 — PARTIES
|
| 100 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 101 |
+
Landlord: [Full legal name + registered address]
|
| 102 |
+
Landlord's title: [Freehold / Long leasehold — if stated]
|
| 103 |
+
Tenant: [Full legal name + registered address]
|
| 104 |
+
Guarantor: [Name — or ABSENT]
|
| 105 |
+
Managing agent: [Name — or ABSENT]
|
| 106 |
+
|
| 107 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 108 |
+
SECTION 2 — PREMISES
|
| 109 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 110 |
+
Address: [Full address]
|
| 111 |
+
Description: [Office / retail / industrial / residential / mixed]
|
| 112 |
+
Floor / unit: [As described in lease]
|
| 113 |
+
Area (rentable): [X] sq m / sq ft [measurement standard: BOMA / RICS IPMS / other]
|
| 114 |
+
Area (net): [X] sq m / sq ft [if stated]
|
| 115 |
+
Load factor: [X]% [if calculable]
|
| 116 |
+
Parking: [X spaces — included / at cost of [Y] / ABSENT]
|
| 117 |
+
Storage: [Description — or ABSENT]
|
| 118 |
+
|
| 119 |
+
⚠ NOTE: If area not stated in lease → flag as AMBIGUOUS.
|
| 120 |
+
Measurement standard affects rent-per-sqm calculation and service charge apportionment.
|
| 121 |
+
|
| 122 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 123 |
+
SECTION 3 — TERM
|
| 124 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 125 |
+
Contractual start: [DD/MM/YYYY]
|
| 126 |
+
Contractual expiry: [DD/MM/YYYY]
|
| 127 |
+
Duration: [X years Y months]
|
| 128 |
+
Rent commencement: [DD/MM/YYYY — may differ from start if rent-free]
|
| 129 |
+
Holding over: [Statutory / Contractual / ABSENT — see jurisdiction note]
|
| 130 |
+
|
| 131 |
+
JURISDICTION NOTE:
|
| 132 |
+
[UK]: LTA 1954 status — INSIDE or OUTSIDE the Act?
|
| 133 |
+
→ s.38A notice served: [YES / NO / NOT STATED — ⚠ if not stated, INSIDE assumed]
|
| 134 |
+
[Spain]: LAU — vivienda (5/7yr min) or uso distinto (free term)?
|
| 135 |
+
[USA]: No statutory renewal — tenant has no rights at expiry unless option granted
|
| 136 |
+
[India]: Lease or leave-and-licence? Lock-in period?
|
| 137 |
+
[UAE]: Ejari registration confirmed: [YES / NO / ABSENT]
|
| 138 |
+
[France]: Bail commercial — 9-year minimum? Triennal exit right?
|
| 139 |
+
[Germany]: Schriftform — written form requirement (BGB §550)?
|
| 140 |
+
|
| 141 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 142 |
+
SECTION 4 — RENT
|
| 143 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 144 |
+
Passing rent: [CURRENCY] [AMOUNT] per annum
|
| 145 |
+
Rent per sq m/ft: [CURRENCY] [AMOUNT] /sqm/yr [if area stated]
|
| 146 |
+
Payment frequency: [Monthly / Quarterly / Annual]
|
| 147 |
+
Payment due: [In advance / In arrears — on [day] of each [period]]
|
| 148 |
+
Payment method: [Bank transfer / Standing order / ABSENT]
|
| 149 |
+
|
| 150 |
+
VAT / IVA / GST:
|
| 151 |
+
[UK]: VAT [20% applied / exempt — OTT in place: YES / NO / UNKNOWN]
|
| 152 |
+
[Spain]: IVA 21% on commercial — [applied / ABSENT from lease]
|
| 153 |
+
[India]: GST 18% on commercial — [applied / exempt / RCM applicable]
|
| 154 |
+
[UAE]: VAT 5% commercial — [applied / residential exempt]
|
| 155 |
+
[France]: TVA 20% on option — [OTT in place: YES / NO]
|
| 156 |
+
|
| 157 |
+
Withholding on rent:
|
| 158 |
+
[Spain]: IRPF 19% — tenant withholds: [YES / NO / ABSENT from lease]
|
| 159 |
+
[India]: TDS 194-I 10% — tenant withholds: [YES / NO / ABSENT]
|
| 160 |
+
[UK]: NRLS — non-resident landlord: [applies / N/A]
|
| 161 |
+
|
| 162 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 163 |
+
SECTION 5 — RENT-FREE AND INCENTIVES
|
| 164 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 165 |
+
Rent-free period: [X months — from [DATE] to [DATE] — or ABSENT]
|
| 166 |
+
TI allowance: [CURRENCY] [AMOUNT] — conditions: [summary — or ABSENT]
|
| 167 |
+
Fitout contribution: [CURRENCY] [AMOUNT] — or ABSENT
|
| 168 |
+
Stepped rent: [Schedule — or ABSENT]
|
| 169 |
+
|
| 170 |
+
⚠ Rent-free clawback: does the lease provide for clawback if tenant breaks early?
|
| 171 |
+
[YES — amount / period / mechanism — or NO / ABSENT]
|
| 172 |
+
|
| 173 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 174 |
+
SECTION 6 — RENT REVIEW
|
| 175 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 176 |
+
Review mechanism: [Open market / CPI/IPC / Fixed step / ILC/ILAT / None — ABSENT]
|
| 177 |
+
Review dates: [Every [N] years — next review: [DATE]]
|
| 178 |
+
Direction: [Upward only / Upward-downward / Capped-and-collared]
|
| 179 |
+
Index (if CPI): [CPI-U / IPC general / ILC / ILAT / RPI — specify]
|
| 180 |
+
Cap: [X% maximum increase per review — or ABSENT]
|
| 181 |
+
Floor (collar): [0% minimum / other — or ABSENT]
|
| 182 |
+
Dispute mechanism: [Independent expert / Arbitrator / Court — or ABSENT]
|
| 183 |
+
Trigger notice: [Required by landlord: [X months] — or automatic]
|
| 184 |
+
|
| 185 |
+
⚠ If NO rent review mechanism: rent is FIXED for entire lease term.
|
| 186 |
+
Quantify: "Rent frozen at [AMOUNT] through [EXPIRY DATE] — inflation erosion at
|
| 187 |
+
[CPI] = estimated real rent decline of [X]% over remaining [N] years"
|
| 188 |
+
|
| 189 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 190 |
+
SECTION 7 — SECURITY DEPOSIT AND GUARANTEES
|
| 191 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 192 |
+
Cash deposit: [CURRENCY] [AMOUNT] — [X months' gross rent]
|
| 193 |
+
Bank guarantee: [CURRENCY] [AMOUNT] — [X months] — issuing bank: [NAME]
|
| 194 |
+
Parent guarantee: [Guarantor name — or ABSENT]
|
| 195 |
+
Personal guarantee: [Guarantor name — or ABSENT]
|
| 196 |
+
Rent deposit deed: [Separate deed — YES / ABSENT — ⚠ if absent: terms unclear]
|
| 197 |
+
|
| 198 |
+
Legal minimum:
|
| 199 |
+
[Spain]: LAU Art.36 — 2 months fianza obligatoria commercial — [CONFIRMED / ABSENT]
|
| 200 |
+
[UK]: No legal minimum — market: [3–12 months] — actual: [X months]
|
| 201 |
+
[USA]: No legal minimum — market: [2–6 months] — actual: [X months]
|
| 202 |
+
[India]: RERA / state rules — actual: [X months]
|
| 203 |
+
[UAE]: Market: 1–3 months — actual: [X months]
|
| 204 |
+
|
| 205 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 206 |
+
SECTION 8 — PERMITTED USE
|
| 207 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 208 |
+
Permitted use: [Exact wording from lease]
|
| 209 |
+
Narrowness: [Very narrow / Specific / Broad / Class-based]
|
| 210 |
+
Change of use: [Requires landlord consent / Free / ABSENT]
|
| 211 |
+
Exclusivity: [Exclusive use of [category] — or ABSENT]
|
| 212 |
+
Hazardous use: [Prohibited / Not stated]
|
| 213 |
+
|
| 214 |
+
⚠ If use is very narrow: re-letting to alternative tenant may be difficult.
|
| 215 |
+
Impact on void assumption and exit yield.
|
| 216 |
+
|
| 217 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 218 |
+
SECTION 9 — BREAK CLAUSES
|
| 219 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 220 |
+
Break right: [Tenant / Landlord / Mutual / ABSENT]
|
| 221 |
+
Break date(s): [DD/MM/YYYY — or "at end of Year [N]"]
|
| 222 |
+
Notice period: [X months prior to break date]
|
| 223 |
+
Notice method: [Registered post / Notary / Burofax / Personal service]
|
| 224 |
+
Pre-conditions:
|
| 225 |
+
□ No rent arrears: [YES / ABSENT]
|
| 226 |
+
□ Vacant possession: [YES / ABSENT]
|
| 227 |
+
□ Covenant compliance: [YES / ABSENT]
|
| 228 |
+
□ Other conditions: [List — or ABSENT]
|
| 229 |
+
Penalty: [CURRENCY] [AMOUNT] / [X months' rent] — or NONE / ABSENT
|
| 230 |
+
|
| 231 |
+
⚠ CRITICAL (UK): Break pre-conditions are strictly construed.
|
| 232 |
+
Even £1 arrear or a single item left on the premises invalidates the break.
|
| 233 |
+
[UK only]: Assess achievability of vacant possession and arrears-free position.
|
| 234 |
+
|
| 235 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 236 |
+
SECTION 10 — ASSIGNMENT AND SUBLETTING
|
| 237 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 238 |
+
Assignment: [Permitted with / without landlord consent — or Prohibited]
|
| 239 |
+
Consent standard: [Not to be unreasonably withheld / Absolute / ABSENT]
|
| 240 |
+
Financial test: [Assignee income ≥ [X]× rent — or ABSENT]
|
| 241 |
+
AGA (UK): [Required on assignment — YES / ABSENT]
|
| 242 |
+
Subletting: [Permitted whole / part / with consent / Prohibited / ABSENT]
|
| 243 |
+
Subletting rent: [At or above passing rent — or ABSENT]
|
| 244 |
+
Recapture right: [USA: landlord may recapture — YES / ABSENT]
|
| 245 |
+
Profit sharing: [USA: excess sublease rent shared [X]% / ABSENT]
|
| 246 |
+
|
| 247 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 248 |
+
SECTION 11 — REPAIR AND MAINTENANCE
|
| 249 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 250 |
+
Tenant's repair: [Full repairing / Internal only / Fair wear & tear excepted]
|
| 251 |
+
Landlord's repair: [Structure and exterior / Common areas / ABSENT]
|
| 252 |
+
Schedule of condition: [Attached — YES / ABSENT ⚠]
|
| 253 |
+
Dilapidations: [End of term schedule / S.18(1) cap / ABSENT]
|
| 254 |
+
Decoration: [Internal [every X years] / At expiry / ABSENT]
|
| 255 |
+
|
| 256 |
+
⚠ If no schedule of condition and property is not in prime condition:
|
| 257 |
+
Tenant could face a full repairing standard dilapidations claim at lease end.
|
| 258 |
+
Exposure: cost of full reinstatement to original condition.
|
| 259 |
+
|
| 260 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 261 |
+
SECTION 12 — SERVICE CHARGE / CAM
|
| 262 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 263 |
+
[For multi-let properties only]
|
| 264 |
+
Service charge: [YES / NO / ABSENT]
|
| 265 |
+
Scope: [Summary of recoverable items]
|
| 266 |
+
Cap: [CURRENCY X /sqm/yr — or [X]% per annum — or ABSENT ⚠]
|
| 267 |
+
Audit right: [Tenant may audit — YES / ABSENT]
|
| 268 |
+
Gross-up: [At [X]% occupancy — or ABSENT]
|
| 269 |
+
RICS compliance: [UK: stated as RICS Professional Statement compliant — YES / ABSENT]
|
| 270 |
+
Sinking fund: [YES — [X]/sqm/yr — or ABSENT]
|
| 271 |
+
|
| 272 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 273 |
+
SECTION 13 — ALTERATIONS AND FITOUT
|
| 274 |
+
━��━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 275 |
+
Structural works: [Prohibited / With consent / ABSENT]
|
| 276 |
+
Non-structural: [Permitted / With consent / Notification only / ABSENT]
|
| 277 |
+
Reinstatement: [At expiry — landlord's election / Mandatory / ABSENT]
|
| 278 |
+
Landlord's works: [Described / ABSENT]
|
| 279 |
+
|
| 280 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 281 |
+
SECTION 14 — INSURANCE
|
| 282 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 283 |
+
Buildings insurance: [Landlord insures / Tenant insures]
|
| 284 |
+
Cover: [Reinstatement value / Sum insured: CURRENCY AMOUNT]
|
| 285 |
+
Loss of rent: [Included — [X months] — or ABSENT ⚠]
|
| 286 |
+
Terrorism: [Included / Excluded / Silent]
|
| 287 |
+
Public liability: [Tenant maintains [CURRENCY AMOUNT] — or ABSENT]
|
| 288 |
+
|
| 289 |
+
⚠ If no loss of rent insurance: landlord receives no income during reinstatement
|
| 290 |
+
following an insured event. Model void period in cash flow.
|
| 291 |
+
|
| 292 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 293 |
+
SECTION 15 — SNDA / QUIET ENJOYMENT
|
| 294 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 295 |
+
SNDA executed: [YES — lender: [NAME] / ABSENT ⚠]
|
| 296 |
+
Non-disturbance: [Confirmed in SNDA — YES / ABSENT ⚠]
|
| 297 |
+
Quiet enjoyment: [Covenant in lease — YES / ABSENT]
|
| 298 |
+
|
| 299 |
+
⚠ If no NDA: lease may be extinguished on lender foreclosure.
|
| 300 |
+
This is a material risk for the tenant and for any lender underwriting on lease income.
|
| 301 |
+
|
| 302 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 303 |
+
SECTION 16 — RENEWAL OPTIONS
|
| 304 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 305 |
+
Renewal options: [X options of [N] years each — or ABSENT]
|
| 306 |
+
Exercise mechanism: [Written notice [X months] prior / ABSENT]
|
| 307 |
+
Rent on renewal: [Fair market rent / Fixed rate / CPI / ABSENT]
|
| 308 |
+
FMR determination: [Mutual agreement → independent appraiser → arbitration / ABSENT]
|
| 309 |
+
Conditions: [Tenant not in default / Personal to original tenant / Other]
|
| 310 |
+
|
| 311 |
+
[UK only — LTA 1954]:
|
| 312 |
+
If INSIDE the Act: tenant has statutory renewal right — options clause is additional
|
| 313 |
+
If OUTSIDE the Act: renewal option is the ONLY protection — critical if ABSENT
|
| 314 |
+
|
| 315 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 316 |
+
SECTION 17 — KEY DATES CALENDAR
|
| 317 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 318 |
+
Rent commencement: [DATE]
|
| 319 |
+
First rent review: [DATE] ← notice trigger: [DATE - notice period]
|
| 320 |
+
Break option window: [DATE] to [DATE] ← notice deadline: [DATE]
|
| 321 |
+
Lease expiry: [DATE]
|
| 322 |
+
Renewal notice deadline:[DATE — if option exists]
|
| 323 |
+
[UK] s.26 request: [No earlier than [DATE]]
|
| 324 |
+
[Spain] IPC review: [Annually from [DATE]]
|
| 325 |
+
[India] Lock-in ends: [DATE]
|
| 326 |
+
[UAE] Ejari renewal: [Annual — [DATE]]
|
| 327 |
+
```
|
| 328 |
+
|
| 329 |
+
---
|
| 330 |
+
|
| 331 |
+
## STEP 4 — COMPLETENESS SCORE
|
| 332 |
+
|
| 333 |
+
```
|
| 334 |
+
LEASE COMPLETENESS ASSESSMENT
|
| 335 |
+
═══════════════════════════════════════════════════════════
|
| 336 |
+
Checklist source: validate_lease.py — [JURISDICTION]
|
| 337 |
+
|
| 338 |
+
Universal items (15): [X PRESENT / Y AMBIGUOUS / Z ABSENT]
|
| 339 |
+
Jurisdiction items ([N]): [X PRESENT / Y AMBIGUOUS / Z ABSENT]
|
| 340 |
+
Total items: [X PRESENT / Y AMBIGUOUS / Z ABSENT]
|
| 341 |
+
|
| 342 |
+
COMPLETENESS SCORE: [XX]%
|
| 343 |
+
|
| 344 |
+
STATUS: [GREEN / YELLOW / RED]
|
| 345 |
+
|
| 346 |
+
GREEN: 0 ABSENT, ≤2 AMBIGUOUS
|
| 347 |
+
YELLOW: ≤2 ABSENT, ≤5 combined ABSENT+AMBIGUOUS
|
| 348 |
+
RED: >2 ABSENT — material gaps — do not execute without legal review
|
| 349 |
+
═══════════════════════════════════════════════════════════
|
| 350 |
+
```
|
| 351 |
+
|
| 352 |
+
---
|
| 353 |
+
|
| 354 |
+
## STEP 5 — RISK FLAGS (MOVE 3 — ABSENCE DETECTION)
|
| 355 |
+
|
| 356 |
+
For every ABSENT or AMBIGUOUS item that creates material risk:
|
| 357 |
+
|
| 358 |
+
```
|
| 359 |
+
⚠ [ITEM NAME] — [ABSENT / AMBIGUOUS]
|
| 360 |
+
Risk: [What risk this creates — in concrete terms]
|
| 361 |
+
Size: [Quantified exposure where possible]
|
| 362 |
+
Action: [What needs to be done before lease execution / at next opportunity]
|
| 363 |
+
```
|
| 364 |
+
|
| 365 |
+
Then apply the remaining Analytical Moves:
|
| 366 |
+
|
| 367 |
+
**MOVE 1**: For each material clause — derive the specific risk it creates.
|
| 368 |
+
**MOVE 7**: Identify compound risks — e.g. no break clause + tenant in distress = trapped landlord.
|
| 369 |
+
|
| 370 |
+
---
|
| 371 |
+
|
| 372 |
+
## STEP 6 — FINANCIAL METRICS DERIVED FROM LEASE
|
| 373 |
+
|
| 374 |
+
```
|
| 375 |
+
FINANCIAL METRICS ��� DERIVED FROM LEASE
|
| 376 |
+
═══════════════════════════════════════════════════════════
|
| 377 |
+
Passing rent (annual): [CURRENCY] [AMOUNT]
|
| 378 |
+
Rent per sqm (if stated): [CURRENCY] [AMOUNT]/sqm/yr
|
| 379 |
+
Effective rent (adj. RF): [CURRENCY] [AMOUNT] [passing rent adj. for rent-free]
|
| 380 |
+
WAULT to break: [X.X years]
|
| 381 |
+
WAULT to expiry: [X.X years]
|
| 382 |
+
Gross lease cost (total): [CURRENCY] [AMOUNT] [rent × remaining term]
|
| 383 |
+
Incentive value: [CURRENCY] [AMOUNT] [rent-free + TI allowance]
|
| 384 |
+
Net effective rent: [CURRENCY] [AMOUNT] [after incentives over term]
|
| 385 |
+
|
| 386 |
+
Occupancy cost (NNN/commercial — if service charge stated):
|
| 387 |
+
Base rent: [AMOUNT]
|
| 388 |
+
Service charge: [AMOUNT] ([X]/sqm est.)
|
| 389 |
+
Insurance: [AMOUNT] (if separate)
|
| 390 |
+
Taxes: [AMOUNT] (if separate)
|
| 391 |
+
Total: [AMOUNT] per annum
|
| 392 |
+
═══════════════════════════════════════════════════════════
|
| 393 |
+
```
|
| 394 |
+
|
| 395 |
+
---
|
| 396 |
+
|
| 397 |
+
## OUTPUT STANDARDS
|
| 398 |
+
|
| 399 |
+
All outputs must carry:
|
| 400 |
+
```
|
| 401 |
+
[Analysis under {country} lease law — {statute} — as of {date}]
|
| 402 |
+
Source: references/countries/{jurisdiction}/lease-law.md (v6.0)
|
| 403 |
+
This abstract is based on the document(s) provided. It does not
|
| 404 |
+
constitute legal advice. Verify with qualified local counsel.
|
| 405 |
+
```
|
commands/analyze-investment.md
ADDED
|
@@ -0,0 +1,497 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: analyze-investment
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "analyze investment", "analyse investment", "investment analysis",
|
| 4 |
+
# "IRR", "cap rate", "capitalisation rate", "DCF", "discounted cash flow",
|
| 5 |
+
# "NOI", "net operating income", "yield analysis", "gross yield", "net yield",
|
| 6 |
+
# "equity return", "equity waterfall", "cash-on-cash", "hold period analysis",
|
| 7 |
+
# "exit analysis", "value add analysis", "return on investment", "ROI",
|
| 8 |
+
# "tasa de capitalización", "rentabilidad", "rendimiento neto", "análisis DCF",
|
| 9 |
+
# "investment return", "deal economics", "underwrite", "underwriting",
|
| 10 |
+
# "model the deal", "run the numbers", "financial model", "pro forma"
|
| 11 |
+
# Dependencies:
|
| 12 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 13 |
+
# - scripts/validate_dscr.py (debt coverage)
|
| 14 |
+
# - scripts/validate_ltv.py (leverage check)
|
| 15 |
+
# - scripts/validate_stamp_duty.py (acquisition cost)
|
| 16 |
+
# - scripts/validate_tax.py (CGT at exit)
|
| 17 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 18 |
+
# - references/standards/ifrs.md (if IFRS entity)
|
| 19 |
+
# - references/standards/gaap.md (if US GAAP entity)
|
| 20 |
+
# Output: Full investment analysis — acquisition cost, operating model, DCF, IRR,
|
| 21 |
+
# sensitivity table, accounting treatment, jurisdiction-specific tax at exit
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## COMMAND: analyze-investment
|
| 26 |
+
|
| 27 |
+
### PURPOSE
|
| 28 |
+
Build a complete, institutional-grade investment analysis for a real estate or
|
| 29 |
+
infrastructure asset. The analysis covers:
|
| 30 |
+
|
| 31 |
+
1. Total acquisition cost (purchase price + all taxes and fees)
|
| 32 |
+
2. Operating model (NOI derivation from revenue to net income)
|
| 33 |
+
3. Financing structure (debt sizing, DSCR, LTV validation)
|
| 34 |
+
4. Multi-year DCF and terminal value
|
| 35 |
+
5. Equity returns (IRR, equity multiple, cash-on-cash)
|
| 36 |
+
6. Sensitivity analysis on key variables
|
| 37 |
+
7. Capital gains tax at exit (jurisdiction-specific)
|
| 38 |
+
8. Accounting treatment (IFRS or US GAAP)
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## STEP 0 — JURISDICTION GUARD
|
| 43 |
+
|
| 44 |
+
```bash
|
| 45 |
+
python scripts/validate_jurisdiction.py \
|
| 46 |
+
--input "[property address]" \
|
| 47 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Load:
|
| 51 |
+
- `references/countries/{jurisdiction}/tax-law.md`
|
| 52 |
+
- `references/standards/ifrs.md` OR `references/standards/gaap.md` (confirm with user)
|
| 53 |
+
|
| 54 |
+
If accounting standard not stated: ask before proceeding.
|
| 55 |
+
IFRS and US GAAP produce different balance sheet and P&L presentations
|
| 56 |
+
for the same underlying investment.
|
| 57 |
+
|
| 58 |
+
---
|
| 59 |
+
|
| 60 |
+
## STEP 1 — REQUIRED INPUTS
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
REQUIRED:
|
| 64 |
+
□ Purchase price (in local currency)
|
| 65 |
+
□ Asset type and jurisdiction/region
|
| 66 |
+
□ Current passing rent (annual, per tenant if multiple)
|
| 67 |
+
□ Vacancy rate assumption
|
| 68 |
+
□ Operating expense ratio or itemised OpEx budget
|
| 69 |
+
□ Proposed loan: amount, interest rate, type (fixed/floating), term, amortisation
|
| 70 |
+
□ Hold period (years)
|
| 71 |
+
□ Exit cap rate assumption
|
| 72 |
+
□ Buyer entity type (individual / company / REIT / fund)
|
| 73 |
+
□ Accounting standard (IFRS or US GAAP)
|
| 74 |
+
|
| 75 |
+
USEFUL:
|
| 76 |
+
□ Rental growth rate assumption (% per annum)
|
| 77 |
+
□ OpEx growth rate
|
| 78 |
+
□ Capex reserve ($/sqm/yr)
|
| 79 |
+
□ TI allowance and leasing commission at re-letting
|
| 80 |
+
□ Market ERV (for reversionary analysis)
|
| 81 |
+
□ Comparable exit cap rates (evidence)
|
| 82 |
+
□ Equity hurdle rate (minimum acceptable IRR)
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
---
|
| 86 |
+
|
| 87 |
+
## STEP 2 — ACQUISITION COST
|
| 88 |
+
|
| 89 |
+
```bash
|
| 90 |
+
python scripts/validate_stamp_duty.py \
|
| 91 |
+
--country [country] --value [price] \
|
| 92 |
+
--buyer-type [type] --asset-type [type] --region [region]
|
| 93 |
+
```
|
| 94 |
+
|
| 95 |
+
```
|
| 96 |
+
TOTAL ACQUISITION COST
|
| 97 |
+
═══════════════════════════════════════════════════════════
|
| 98 |
+
Purchase price: [CURRENCY] [AMOUNT]
|
| 99 |
+
Transfer tax ([tax name]): [CURRENCY] [AMOUNT] ([X.X]%)
|
| 100 |
+
Legal/notary fees: [CURRENCY] [AMOUNT] (~[X.X]%)
|
| 101 |
+
Agent/broker fee: [CURRENCY] [AMOUNT] ([X.X]%)
|
| 102 |
+
Loan arrangement fee: [CURRENCY] [AMOUNT] ([X.X]% of loan)
|
| 103 |
+
Valuation fee: [CURRENCY] [AMOUNT]
|
| 104 |
+
DD costs (technical/ESA): [CURRENCY] [AMOUNT]
|
| 105 |
+
Other (insurance, survey): [CURRENCY] [AMOUNT]
|
| 106 |
+
─────────────────────────────────────────────────────────
|
| 107 |
+
TOTAL ACQUISITION COST: [CURRENCY] [AMOUNT] ([X.X]% premium to price)
|
| 108 |
+
|
| 109 |
+
Purchase price per sqm: [CURRENCY] [AMOUNT]/sqm
|
| 110 |
+
All-in cost per sqm: [CURRENCY] [AMOUNT]/sqm
|
| 111 |
+
─────────────────────────────────────────────────────────
|
| 112 |
+
Equity invested: [CURRENCY] [AMOUNT]
|
| 113 |
+
Senior debt: [CURRENCY] [AMOUNT]
|
| 114 |
+
LTV (on price): [X.X]%
|
| 115 |
+
LTV (on total cost): [X.X]%
|
| 116 |
+
═══════════════════════════════════════════════════════════
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
---
|
| 120 |
+
|
| 121 |
+
## STEP 3 ��� OPERATING MODEL (YEAR 1 BASE CASE)
|
| 122 |
+
|
| 123 |
+
```
|
| 124 |
+
OPERATING MODEL — YEAR 1
|
| 125 |
+
═══════════════════════════════════════════════════════════
|
| 126 |
+
REVENUE:
|
| 127 |
+
Gross Potential Rent (GPR): [CURRENCY] [AMOUNT]
|
| 128 |
+
GPR per sqm (NLA): [CURRENCY] [AMOUNT]/sqm/yr
|
| 129 |
+
Market ERV: [CURRENCY] [AMOUNT]
|
| 130 |
+
Reversion vs. passing rent: [+/−X]% [reversionary premium / discount]
|
| 131 |
+
|
| 132 |
+
Less: Physical vacancy ([X]%): ([CURRENCY] [AMOUNT])
|
| 133 |
+
Less: Credit loss ([X]%): ([CURRENCY] [AMOUNT])
|
| 134 |
+
─────────────────────────────────────────────────────
|
| 135 |
+
Effective Gross Income (EGI): [CURRENCY] [AMOUNT]
|
| 136 |
+
|
| 137 |
+
OPERATING EXPENSES:
|
| 138 |
+
Property management ([X]%): ([CURRENCY] [AMOUNT])
|
| 139 |
+
Insurance: ([CURRENCY] [AMOUNT])
|
| 140 |
+
Maintenance & repairs: ([CURRENCY] [AMOUNT])
|
| 141 |
+
Annual property tax ([tax name]): ([CURRENCY] [AMOUNT])
|
| 142 |
+
Capital expenditure reserve: ([CURRENCY] [AMOUNT]) [[X]/sqm/yr]
|
| 143 |
+
Other recoverable: ([CURRENCY] [AMOUNT])
|
| 144 |
+
─────────────────────────────────────────────────────
|
| 145 |
+
Total Operating Expenses: ([CURRENCY] [AMOUNT]) ([X.X]% of EGI)
|
| 146 |
+
─────────────────────────────────────────────────────
|
| 147 |
+
NET OPERATING INCOME (NOI): [CURRENCY] [AMOUNT]
|
| 148 |
+
|
| 149 |
+
YIELD METRICS (YEAR 1):
|
| 150 |
+
Gross initial yield (GIY): [X.XX]% [GPR ÷ Purchase price]
|
| 151 |
+
Net initial yield (NIY): [X.XX]% [NOI ÷ (Purchase price + costs)]
|
| 152 |
+
Entry cap rate: [X.XX]% [NOI ÷ Purchase price]
|
| 153 |
+
Reversionary yield (ERV-based): [X.XX]% [ERV-based NOI ÷ Purchase price]
|
| 154 |
+
═══════════════════════════════════════════════════════════
|
| 155 |
+
```
|
| 156 |
+
|
| 157 |
+
---
|
| 158 |
+
|
| 159 |
+
## STEP 4 — FINANCING ANALYSIS
|
| 160 |
+
|
| 161 |
+
```bash
|
| 162 |
+
python scripts/validate_dscr.py \
|
| 163 |
+
--noi [NOI] --debt_service [DS] \
|
| 164 |
+
--jurisdiction [country] --asset_type [type]
|
| 165 |
+
|
| 166 |
+
python scripts/validate_ltv.py \
|
| 167 |
+
--loan [loan] --value [price] \
|
| 168 |
+
--country [country] --type [type]
|
| 169 |
+
```
|
| 170 |
+
|
| 171 |
+
```
|
| 172 |
+
FINANCING ANALYSIS
|
| 173 |
+
═══════════════════════════════════════════════════════════
|
| 174 |
+
LOAN STRUCTURE:
|
| 175 |
+
Loan amount: [CURRENCY] [AMOUNT]
|
| 176 |
+
Interest rate: [X.XX]% [fixed / floating: [index] + [spread]bps]
|
| 177 |
+
Amortisation: [Interest only / [X]-year schedule / [X]%/yr]
|
| 178 |
+
Loan term: [X] years
|
| 179 |
+
Maturity date: [DATE]
|
| 180 |
+
|
| 181 |
+
DEBT SERVICE (Year 1):
|
| 182 |
+
Interest: [CURRENCY] [AMOUNT]
|
| 183 |
+
Amortisation: [CURRENCY] [AMOUNT]
|
| 184 |
+
Total debt service: [CURRENCY] [AMOUNT]
|
| 185 |
+
|
| 186 |
+
COVERAGE AND LEVERAGE:
|
| 187 |
+
DSCR: [X.XX]x [STATUS: GREEN / YELLOW / RED]
|
| 188 |
+
Threshold (normal): [X.XX]x (source: validate_dscr.py — [jurisdiction])
|
| 189 |
+
Threshold (stress): [X.XX]x
|
| 190 |
+
Headroom to covenant: [+X.XX]x / NOI can fall [−X]% before breach
|
| 191 |
+
|
| 192 |
+
LTV (acquisition): [X.X]% [STATUS: GREEN / YELLOW / RED]
|
| 193 |
+
Max LTV (normal): [X.X]% (source: validate_ltv.py — [jurisdiction])
|
| 194 |
+
Max LTV (stress): [X.X]%
|
| 195 |
+
Headroom: [X.X]pp / value can fall [−X]% before covenant breach
|
| 196 |
+
|
| 197 |
+
Debt yield: [X.XX]% [NOI ÷ Loan amount]
|
| 198 |
+
Lender minimum: [X.X]% (market: [X]% for this asset class)
|
| 199 |
+
|
| 200 |
+
INTEREST RATE SENSITIVITY:
|
| 201 |
+
Current rate: [X.XX]% → DS: [AMOUNT] → DSCR: [X.XX]x
|
| 202 |
+
+50bps: [X.XX]% → DS: [AMOUNT] → DSCR: [X.XX]x
|
| 203 |
+
+100bps: [X.XX]% → DS: [AMOUNT] → DSCR: [X.XX]x
|
| 204 |
+
+150bps: [X.XX]% → DS: [AMOUNT] → DSCR: [X.XX]x ← BREACH POINT
|
| 205 |
+
|
| 206 |
+
Interest rate cap: [Rate / tenor — or ABSENT ⚠]
|
| 207 |
+
═══════════════════════════════════════════════════════════
|
| 208 |
+
```
|
| 209 |
+
|
| 210 |
+
---
|
| 211 |
+
|
| 212 |
+
## STEP 5 — MULTI-YEAR DCF MODEL
|
| 213 |
+
|
| 214 |
+
```
|
| 215 |
+
MULTI-YEAR CASH FLOW MODEL — [N]-YEAR HOLD
|
| 216 |
+
[All figures in [CURRENCY] unless stated]
|
| 217 |
+
═══════════════════════════════════════════════════════════════════════════════════
|
| 218 |
+
Year 1 Year 2 Year 3 Year 4 Year 5 [Year N]
|
| 219 |
+
─────────────────────────────────────────────────────────────────────────────────
|
| 220 |
+
GPR growth ([X]%): [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 221 |
+
Vacancy ([X]%): [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 222 |
+
EGI: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 223 |
+
OpEx ([X]%/yr): [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 224 |
+
NOI: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 225 |
+
─────────────────────────────────────────────────────────────────────────────────
|
| 226 |
+
Debt service: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 227 |
+
Interest: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 228 |
+
Amortisation: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 229 |
+
─────────────────────────────────────────────────────────────────────────────────
|
| 230 |
+
Equity cash flow: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 231 |
+
─────────────────────────────────────────────────────────────────────────────────
|
| 232 |
+
DSCR: [X.XX]x [X.XX]x [X.XX]x [X.XX]x [X.XX]x [X.XX]x
|
| 233 |
+
LTV (mark-to-mkt):[X.X]% [X.X]% [X.X]% [X.X]% [X.X]% [X.X]%
|
| 234 |
+
═══════════════════════════════════════════════════════════════════════════════════
|
| 235 |
+
```
|
| 236 |
+
|
| 237 |
+
**Key DCF assumptions (document explicitly)**:
|
| 238 |
+
- Rental growth: [X]% per annum (basis: [CBRE / JLL / market evidence])
|
| 239 |
+
- Vacancy: Year 1–2: [X]%; Year 3+ (lease expiry void): [X]% for [N months]; stabilised: [X]%
|
| 240 |
+
- OpEx growth: [X]% per annum (inflation-linked / fixed)
|
| 241 |
+
- Capex reserve: [CURRENCY X]/sqm/yr escalating at [X]%
|
| 242 |
+
- Lease event: break at Year [N] — void of [M months] assumed; re-letting at [ERV]
|
| 243 |
+
- Debt: [IO for Years 1–5 / then amortising] — refinance assumed at Year [N] at [X]% rate
|
| 244 |
+
|
| 245 |
+
---
|
| 246 |
+
|
| 247 |
+
## STEP 6 — EXIT AND TERMINAL VALUE
|
| 248 |
+
|
| 249 |
+
```
|
| 250 |
+
EXIT ANALYSIS — YEAR [N]
|
| 251 |
+
═══════════════════════════════════════════════════════════
|
| 252 |
+
Exit NOI (Year N+1): [CURRENCY] [AMOUNT]
|
| 253 |
+
[Forward NOI — Year of exit × (1+g)]
|
| 254 |
+
|
| 255 |
+
Exit cap rate: [X.XX]%
|
| 256 |
+
Basis: [Entry cap + [X]bps for age/lease roll / Comparable exit transactions]
|
| 257 |
+
|
| 258 |
+
Gross exit value: [CURRENCY] [AMOUNT]
|
| 259 |
+
Less: Sales costs ([X]%): ([CURRENCY] [AMOUNT])
|
| 260 |
+
Agent fee: [X]% = [AMOUNT]
|
| 261 |
+
Legal: [X]% = [AMOUNT]
|
| 262 |
+
Transfer tax (if buyer pays): N/A at this stage
|
| 263 |
+
|
| 264 |
+
Net proceeds: [CURRENCY] [AMOUNT]
|
| 265 |
+
Less: Debt outstanding: ([CURRENCY] [AMOUNT])
|
| 266 |
+
Less: Exit CGT: ([CURRENCY] [AMOUNT]) [see Section 7]
|
| 267 |
+
─────────────────────────────────────────────────────────
|
| 268 |
+
NET EQUITY PROCEEDS: [CURRENCY] [AMOUNT]
|
| 269 |
+
|
| 270 |
+
Exit price per sqm: [CURRENCY] [AMOUNT]/sqm
|
| 271 |
+
Implied cap rate (gross): [X.XX]%
|
| 272 |
+
Value uplift vs. entry: +[X]% / [CURRENCY AMOUNT] total
|
| 273 |
+
═══════════════════════════════════════════════════════════
|
| 274 |
+
```
|
| 275 |
+
|
| 276 |
+
---
|
| 277 |
+
|
| 278 |
+
## STEP 7 — CAPITAL GAINS TAX AT EXIT
|
| 279 |
+
|
| 280 |
+
```bash
|
| 281 |
+
python scripts/validate_tax.py \
|
| 282 |
+
--jurisdiction [country] --transaction sale \
|
| 283 |
+
--value [exit_value] --entity-type [type]
|
| 284 |
+
```
|
| 285 |
+
|
| 286 |
+
```
|
| 287 |
+
CAPITAL GAINS TAX — EXIT — [JURISDICTION]
|
| 288 |
+
═══════════════════════════════════════════════════════════
|
| 289 |
+
Exit value: [CURRENCY] [AMOUNT]
|
| 290 |
+
Less: Acquisition cost: ([CURRENCY] [AMOUNT])
|
| 291 |
+
[Original price + transfer taxes + improvement costs]
|
| 292 |
+
Less: Disposal costs: ([CURRENCY] [AMOUNT])
|
| 293 |
+
Less: Tax depreciation: ([CURRENCY] [AMOUNT]) [if applicable]
|
| 294 |
+
─────────────────────────────────────────────────────────
|
| 295 |
+
Taxable gain: [CURRENCY] [AMOUNT]
|
| 296 |
+
Applicable exemptions: [List — Sec.54 / §121 / 10-year Spekulationssteuer / etc]
|
| 297 |
+
Net taxable gain: [CURRENCY] [AMOUNT]
|
| 298 |
+
CGT rate: [X]% [jurisdiction-specific]
|
| 299 |
+
[UK]: 18/28% residential / 10/20% commercial
|
| 300 |
+
[Spain]: IRPF 19–28% savings base / IRNR 19% EU
|
| 301 |
+
[USA]: LTCG 0/15/20% + NIIT 3.8% + depreciation recapture 25%
|
| 302 |
+
[France]: 19% + 17.2% PS = 36.2% (abatements for years held)
|
| 303 |
+
[Germany]: Steuerfrei if ≥10 years held / slab rate if < 10 years
|
| 304 |
+
[India]: LTCG 12.5% (no indexation — Finance Act 2024)
|
| 305 |
+
[UAE]: NIL (individuals)
|
| 306 |
+
|
| 307 |
+
Estimated CGT: [CURRENCY] [AMOUNT]
|
| 308 |
+
CGT reporting deadline: [DATE / within X days of sale]
|
| 309 |
+
Non-resident WHT: [X]% of proceeds — withheld by [who] — [deadline]
|
| 310 |
+
|
| 311 |
+
Post-tax equity proceeds: [CURRENCY] [AMOUNT]
|
| 312 |
+
═══════════════════════════════════════════════════════════
|
| 313 |
+
```
|
| 314 |
+
|
| 315 |
+
---
|
| 316 |
+
|
| 317 |
+
## STEP 8 — EQUITY RETURNS SUMMARY
|
| 318 |
+
|
| 319 |
+
```
|
| 320 |
+
EQUITY RETURNS — [N]-YEAR HOLD
|
| 321 |
+
═══════════════════════════════════════════════════════════
|
| 322 |
+
Equity invested (Day 0): [CURRENCY] [AMOUNT]
|
| 323 |
+
|
| 324 |
+
Annual equity cash flows:
|
| 325 |
+
Year 1: [AMOUNT] | Year 2: [AMOUNT] | ... | Year N: [EXIT PROCEEDS]
|
| 326 |
+
|
| 327 |
+
EQUITY IRR: [X.XX]%
|
| 328 |
+
vs. hurdle rate: [X]% → [ABOVE / BELOW hurdle by [X]pp]
|
| 329 |
+
|
| 330 |
+
EQUITY MULTIPLE (EM): [X.XX]x
|
| 331 |
+
[Total distributions ÷ equity invested — undiscounted]
|
| 332 |
+
|
| 333 |
+
CASH-ON-CASH YIELD (Yr 1): [X.XX]%
|
| 334 |
+
[Year 1 equity cash flow ÷ equity invested]
|
| 335 |
+
|
| 336 |
+
AVERAGE CASH YIELD: [X.XX]%/yr
|
| 337 |
+
[Average annual equity cash flow ÷ equity invested]
|
| 338 |
+
|
| 339 |
+
UNLEVERED IRR: [X.XX]%
|
| 340 |
+
[Project IRR before financing — useful for asset quality comparison]
|
| 341 |
+
|
| 342 |
+
LEVERAGE IMPACT:
|
| 343 |
+
Unlevered IRR: [X.XX]% → Levered IRR: [X.XX]% → Leverage add: [+X.XX]pp
|
| 344 |
+
[Confirm: positive leverage = debt cost < unlevered yield = correct structure]
|
| 345 |
+
[Negative leverage warning if levered IRR < unlevered IRR]
|
| 346 |
+
═══════════════════════════════════════════════════════════
|
| 347 |
+
```
|
| 348 |
+
|
| 349 |
+
---
|
| 350 |
+
|
| 351 |
+
## STEP 9 — SENSITIVITY ANALYSIS
|
| 352 |
+
|
| 353 |
+
```
|
| 354 |
+
SENSITIVITY ANALYSIS — EQUITY IRR
|
| 355 |
+
═══════════════════════════════════════════════════════════
|
| 356 |
+
Base case IRR: [X.XX]%
|
| 357 |
+
|
| 358 |
+
RENT GROWTH SENSITIVITY (exit cap rate fixed at [X]%):
|
| 359 |
+
Rent growth −2%/yr: IRR = [X.XX]% ([+/−X.XX]pp vs. base)
|
| 360 |
+
Rent growth 0%/yr: IRR = [X.XX]% ([+/−X.XX]pp vs. base)
|
| 361 |
+
Rent growth +2%/yr: IRR = [X.XX]% (BASE)
|
| 362 |
+
Rent growth +4%/yr: IRR = [X.XX]% ([+X.XX]pp vs. base)
|
| 363 |
+
|
| 364 |
+
EXIT CAP RATE SENSITIVITY (rent growth fixed at [X]%):
|
| 365 |
+
Exit cap −50bps: IRR = [X.XX]% ([+X.XX]pp vs. base)
|
| 366 |
+
Exit cap +0bps: IRR = [X.XX]% (BASE)
|
| 367 |
+
Exit cap +50bps: IRR = [X.XX]% ([−X.XX]pp vs. base)
|
| 368 |
+
Exit cap +100bps: IRR = [X.XX]% ([−X.XX]pp vs. base)
|
| 369 |
+
Exit cap +150bps: IRR = [X.XX]% ([−X.XX]pp vs. base)
|
| 370 |
+
|
| 371 |
+
VACANCY SENSITIVITY (rent growth and exit cap at base):
|
| 372 |
+
Vacancy [X−5]%: IRR = [X.XX]%
|
| 373 |
+
Vacancy [X]% (base): IRR = [X.XX]% (BASE)
|
| 374 |
+
Vacancy [X+5]%: IRR = [X.XX]%
|
| 375 |
+
Vacancy [X+10]%: IRR = [X.XX]%
|
| 376 |
+
|
| 377 |
+
INTEREST RATE SENSITIVITY:
|
| 378 |
+
Rate −50bps: IRR = [X.XX]%
|
| 379 |
+
Rate base: IRR = [X.XX]% (BASE)
|
| 380 |
+
Rate +100bps: IRR = [X.XX]%
|
| 381 |
+
Rate +200bps: IRR = [X.XX]%
|
| 382 |
+
|
| 383 |
+
2D SENSITIVITY TABLE — IRR by [Rent Growth vs. Exit Cap Rate]:
|
| 384 |
+
Exit −50bps Exit base Exit +50bps Exit +100bps
|
| 385 |
+
Growth −2%: [X.XX]% [X.XX]% [X.XX]% [X.XX]%
|
| 386 |
+
Growth 0%: [X.XX]% [X.XX]% [X.XX]% [X.XX]%
|
| 387 |
+
Growth +2%: [X.XX]% [X.XX]% [X.XX]% [X.XX]% ← BASE
|
| 388 |
+
Growth +4%: [X.XX]% [X.XX]% [X.XX]% [X.XX]%
|
| 389 |
+
═══════════════════════════════════════════════════════════
|
| 390 |
+
```
|
| 391 |
+
|
| 392 |
+
---
|
| 393 |
+
|
| 394 |
+
## STEP 10 — ACCOUNTING TREATMENT
|
| 395 |
+
|
| 396 |
+
### If IFRS (IAS 40 / IFRS 16)
|
| 397 |
+
|
| 398 |
+
```
|
| 399 |
+
ACCOUNTING TREATMENT — IFRS
|
| 400 |
+
═══════════════════════════════════════════════════════════
|
| 401 |
+
Classification: Investment Property (IAS 40)
|
| 402 |
+
Accounting model: [Fair Value Model / Cost Model — confirm with entity]
|
| 403 |
+
|
| 404 |
+
Fair Value Model:
|
| 405 |
+
Initial recognition: Cost (purchase price + transfer costs)
|
| 406 |
+
Subsequent: Fair value — all changes through P&L
|
| 407 |
+
Depreciation: NIL (no depreciation under FV model)
|
| 408 |
+
Deferred tax: IAS 12 para.51C — use CGT rate on FV gains
|
| 409 |
+
Deferred tax rate: [X]% (capital gains rate — [jurisdiction])
|
| 410 |
+
|
| 411 |
+
Cost Model:
|
| 412 |
+
Initial recognition: Cost
|
| 413 |
+
Depreciation: [X]% straight line over [N] years
|
| 414 |
+
Impairment (IAS 36): Test annually for indicators
|
| 415 |
+
|
| 416 |
+
IFRS 16 (if leasing the property):
|
| 417 |
+
ROU asset: [CURRENCY AMOUNT] at commencement
|
| 418 |
+
Lease liability: [CURRENCY AMOUNT] at commencement
|
| 419 |
+
IBR used: [X.XX]%
|
| 420 |
+
Dilapidations: IAS 37 provision — [CURRENCY AMOUNT]
|
| 421 |
+
|
| 422 |
+
Key EPRA metrics (if listed entity):
|
| 423 |
+
EPRA NIY: [X.XX]% [NOI ÷ (Gross value + purchaser costs)]
|
| 424 |
+
EPRA NTA: [CURRENCY AMOUNT] [per share: [AMOUNT]]
|
| 425 |
+
═══════════════════════════════════════════════════════════
|
| 426 |
+
```
|
| 427 |
+
|
| 428 |
+
### If US GAAP (ASC 360 / ASC 842)
|
| 429 |
+
|
| 430 |
+
```
|
| 431 |
+
ACCOUNTING TREATMENT — US GAAP
|
| 432 |
+
═══════════════════════════════════════════════════════════
|
| 433 |
+
Classification: Property, Plant & Equipment (ASC 360) — unless investment company
|
| 434 |
+
Accounting model: Cost — NO fair value revaluation permitted under US GAAP
|
| 435 |
+
|
| 436 |
+
Depreciation:
|
| 437 |
+
Building: 39 years straight line (commercial) / 27.5 years (residential)
|
| 438 |
+
Tenant improvements: Shorter of useful life or remaining lease term
|
| 439 |
+
Land: Not depreciated
|
| 440 |
+
|
| 441 |
+
Asset acquisition vs. business combination (ASC 805):
|
| 442 |
+
Assessment: [Asset acquisition — no goodwill / Business combination]
|
| 443 |
+
Transaction costs: [Capitalised (asset acq.) / Expensed (business comb.)]
|
| 444 |
+
|
| 445 |
+
In-place lease intangibles:
|
| 446 |
+
Value: [CURRENCY AMOUNT] [avoided re-letting cost]
|
| 447 |
+
Amortisation: Over remaining lease term ([N] years)
|
| 448 |
+
|
| 449 |
+
ASC 842 (if leasing):
|
| 450 |
+
Lease type: [Finance / Operating — per 5-factor test]
|
| 451 |
+
ROU asset: [CURRENCY AMOUNT]
|
| 452 |
+
Lease liability: [CURRENCY AMOUNT]
|
| 453 |
+
P&L impact: [Finance: front-loaded / Operating: straight-line]
|
| 454 |
+
|
| 455 |
+
REIT metrics (if applicable):
|
| 456 |
+
FFO (NAREIT): [CURRENCY AMOUNT] [Net income + depreciation − gains]
|
| 457 |
+
AFFO: [CURRENCY AMOUNT] [FFO − recurring capex − SL rent adj]
|
| 458 |
+
FFO per share: [CURRENCY AMOUNT]
|
| 459 |
+
Dividend coverage: [X.XX]x [FFO ÷ dividends declared]
|
| 460 |
+
═══════════════════════════════════════════════════════════
|
| 461 |
+
```
|
| 462 |
+
|
| 463 |
+
---
|
| 464 |
+
|
| 465 |
+
## STEP 11 — INVESTMENT ANALYSIS SUMMARY
|
| 466 |
+
|
| 467 |
+
```
|
| 468 |
+
INVESTMENT ANALYSIS SUMMARY
|
| 469 |
+
═══════════════════════════════════════════════════════════
|
| 470 |
+
[Analysis under {country} law — {date}]
|
| 471 |
+
|
| 472 |
+
ASSET: [ADDRESS] — [TYPE] — [JURISDICTION]
|
| 473 |
+
PRICE: [CURRENCY] [AMOUNT]
|
| 474 |
+
ALL-IN COST: [CURRENCY] [AMOUNT] ([X.X]% premium)
|
| 475 |
+
HOLD PERIOD: [N] years
|
| 476 |
+
|
| 477 |
+
FINANCIAL METRICS:
|
| 478 |
+
Entry NIY: [X.XX]% Entry cap rate: [X.XX]%
|
| 479 |
+
DSCR: [X.XX]x → [GREEN / YELLOW / RED]
|
| 480 |
+
LTV: [X.X]% → [GREEN / YELLOW / RED]
|
| 481 |
+
Equity IRR: [X.XX]% vs. hurdle: [X]% → [ABOVE / BELOW]
|
| 482 |
+
Equity EM: [X.XX]x
|
| 483 |
+
Unlevered IRR: [X.XX]%
|
| 484 |
+
|
| 485 |
+
OVERALL STATUS: [GREEN / YELLOW / RED]
|
| 486 |
+
|
| 487 |
+
PROCEED: [YES / CONDITIONAL / NO]
|
| 488 |
+
|
| 489 |
+
Key conditions:
|
| 490 |
+
□ [Condition 1 — if applicable]
|
| 491 |
+
□ [Condition 2]
|
| 492 |
+
|
| 493 |
+
Source: references/countries/{jurisdiction}/ + references/standards/[ifrs|gaap].md (v6.0)
|
| 494 |
+
This analysis is illustrative. It does not constitute investment advice.
|
| 495 |
+
Verify all assumptions with qualified local advisors before transaction.
|
| 496 |
+
═══════════════════════════════════════════════════════════
|
| 497 |
+
```
|
commands/assess-risk.md
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: assess-risk
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "assess risk", "risk assessment", "risk matrix", "risk analysis",
|
| 4 |
+
# "evaluación de riesgos", "risk register", "due diligence risk",
|
| 5 |
+
# "RED flag", "escalate", "risk score", "identify risks", "what are the risks",
|
| 6 |
+
# "risk profile", "risk rating", "risk report", "deal risk", "project risk",
|
| 7 |
+
# "flag the risks", "what could go wrong", "downside risks",
|
| 8 |
+
# "riesgos del proyecto", "análisis de riesgo", "risk heat map"
|
| 9 |
+
# Dependencies:
|
| 10 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 11 |
+
# - scripts/validate_dscr.py (financial risk)
|
| 12 |
+
# - scripts/validate_ltv.py (leverage risk)
|
| 13 |
+
# - scripts/validate_lease.py (lease risk — if leased asset)
|
| 14 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 15 |
+
# - references/countries/{jurisdiction}/zoning-law.md
|
| 16 |
+
# - references/countries/{jurisdiction}/lease-law.md
|
| 17 |
+
# Output: Risk matrix applying all 7 Analytical Moves + GREEN/YELLOW/RED per risk + escalation
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## COMMAND: assess-risk
|
| 22 |
+
|
| 23 |
+
### PURPOSE
|
| 24 |
+
Produce a comprehensive, structured risk assessment applying all 7 Analytical Moves.
|
| 25 |
+
Every risk is: identified, sized, rated, and assigned a mitigation action.
|
| 26 |
+
|
| 27 |
+
**This command is NOT a checklist exercise.**
|
| 28 |
+
It uses active analytical reasoning — especially Move 3 (Absence Detection) and
|
| 29 |
+
Move 7 (Compound Risk Tracing) — to find risks that standard DD processes miss.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
## STEP 0 — JURISDICTION GUARD
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
JURISDICTION GUARD — assess-risk
|
| 37 |
+
══════════════════════════════════════════════════════════
|
| 38 |
+
Risk in real estate is JURISDICTION-SPECIFIC.
|
| 39 |
+
A non-resident seller in Spain creates a buyer joint-liability risk.
|
| 40 |
+
The same transaction in UAE creates NO withholding risk.
|
| 41 |
+
Jurisdiction confirmation is mandatory before any risk assessment.
|
| 42 |
+
══════════════════════════════════════════════════════════
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
```bash
|
| 46 |
+
python scripts/validate_jurisdiction.py \
|
| 47 |
+
--input "[property address]" \
|
| 48 |
+
--type [asset_type]
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Load all three reference files for confirmed jurisdiction.
|
| 52 |
+
Run all applicable validation scripts before producing the risk matrix.
|
| 53 |
+
|
| 54 |
+
---
|
| 55 |
+
|
| 56 |
+
## STEP 1 — APPLY THE 7 ANALYTICAL MOVES SYSTEMATICALLY
|
| 57 |
+
|
| 58 |
+
### MOVE 1 — CLAUSE-TO-RISK DERIVATION
|
| 59 |
+
|
| 60 |
+
For every material fact, clause, or financial metric:
|
| 61 |
+
Transform → Mechanism → Consequence → Size → Mitigation
|
| 62 |
+
|
| 63 |
+
Protocol:
|
| 64 |
+
```
|
| 65 |
+
INPUT: Each key document term / financial metric / legal provision
|
| 66 |
+
OUTPUT: Sized risk with specific consequence
|
| 67 |
+
|
| 68 |
+
Examples:
|
| 69 |
+
"Lease expires in 18 months [fact]
|
| 70 |
+
→ Tenant may not renew [mechanism]
|
| 71 |
+
→ Income void during re-letting [consequence]
|
| 72 |
+
→ 9-month void at [CURRENCY X]/month = [CURRENCY Y] loss [size]
|
| 73 |
+
→ Commence re-letting marketing now; cap reserve fund [mitigation]"
|
| 74 |
+
|
| 75 |
+
"Floating rate debt at EURIBOR + 200bps [clause]
|
| 76 |
+
→ Rate increases are unhedged [mechanism]
|
| 77 |
+
→ Debt service increases with every rate rise [consequence]
|
| 78 |
+
→ +100bps on EUR [X]M loan = [CURRENCY Y] additional annual DS [size]
|
| 79 |
+
→ Purchase interest rate cap at [X]% [mitigation]"
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
### MOVE 2 — CROSS-DOCUMENT TRIANGULATION
|
| 83 |
+
|
| 84 |
+
Check for inconsistencies across ALL available documents:
|
| 85 |
+
```
|
| 86 |
+
Cross-check these pairs (flag any discrepancy > 5%):
|
| 87 |
+
□ Rent roll rent vs. executed lease rent vs. lender's underwriting rent
|
| 88 |
+
□ Title area (sqm) vs. planning consent area vs. insurance rebuilding value area
|
| 89 |
+
□ Purchase price (SPA) vs. stamp duty base vs. accounting cost
|
| 90 |
+
□ Loan amount (facility) vs. loan amount (security document)
|
| 91 |
+
□ Guarantor in lease vs. guarantor in rent deposit deed
|
| 92 |
+
□ Break date in lease vs. break date in tenancy schedule vs. break date in IM
|
| 93 |
+
□ CGT computation: transaction price vs. circle rate / catastral / HMRC base
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
If any discrepancy: identify which document controls legally, and size the risk.
|
| 97 |
+
|
| 98 |
+
### MOVE 3 — ABSENCE DETECTION *(NEVER SKIP)*
|
| 99 |
+
|
| 100 |
+
**The most important move. Apply to EVERY document category provided.**
|
| 101 |
+
|
| 102 |
+
```
|
| 103 |
+
ABSENCE DETECTION CHECKLIST
|
| 104 |
+
═══════════════════════════════════════════════════════════
|
| 105 |
+
LEASE ABSENCES:
|
| 106 |
+
□ No rent review clause → rent fixed for entire term → inflation erosion risk
|
| 107 |
+
□ No break clause → no exit right for [N] years → illiquidity risk
|
| 108 |
+
□ No schedule of condition → full repair standard applies → dilapidations risk
|
| 109 |
+
□ No SNDA/NDA → lease extinguished on foreclosure → tenant loses protection
|
| 110 |
+
□ No s.38A notice (UK) → LTA 1954 security of tenure in force → landlord cannot recover possession
|
| 111 |
+
□ No CAM cap (USA NNN) → service charge uncapped → tenant cost escalation risk
|
| 112 |
+
□ No force majeure → no relief on unforeseeable events → full rent obligation continues
|
| 113 |
+
□ No reinstatement obligation (insurance) → unclear duty after casualty
|
| 114 |
+
|
| 115 |
+
TITLE ABSENCES:
|
| 116 |
+
□ No access easement over adjoining land → property may be landlocked
|
| 117 |
+
□ No utility easements → utilities may cross third-party land without rights
|
| 118 |
+
□ No restrictive covenant search → undisclosed covenants may restrict use
|
| 119 |
+
□ No overriding interests check (UK) → occupiers' rights not on register
|
| 120 |
+
|
| 121 |
+
TAX ABSENCES:
|
| 122 |
+
□ No withholding configured (NR seller) → buyer is jointly liable for seller's tax
|
| 123 |
+
□ No 1031 QI engaged (USA) → funds touch seller = exchange fails
|
| 124 |
+
□ No Form 26QB scheduled (India) → buyer is assessee-in-default
|
| 125 |
+
□ No Modelo 211 (Spain NR) → buyer joint liability for IRNR + interest
|
| 126 |
+
□ Plusvalía not calculated by BOTH methods (Spain) → AEAT can reassess
|
| 127 |
+
|
| 128 |
+
PLANNING ABSENCES:
|
| 129 |
+
□ No planning consent for current use → use may be unlawful
|
| 130 |
+
□ No completion certificate / LPO → building cannot legally be occupied
|
| 131 |
+
□ No confirmed EIA if required → planning consent voidable
|
| 132 |
+
□ No Biodiversity Net Gain plan (UK post Feb 2024) → condition precedent to development
|
| 133 |
+
|
| 134 |
+
FINANCIAL ABSENCES:
|
| 135 |
+
□ No DSRA (Debt Service Reserve Account) → immediate covenant breach if NOI dips
|
| 136 |
+
□ No interest rate cap (floating rate) → uncapped rate exposure
|
| 137 |
+
□ No loss of rent insurance → income void during reinstatement not covered
|
| 138 |
+
□ No major maintenance reserve → deferred capex risk building silently
|
| 139 |
+
□ No CGT provision at exit → equity return overstated
|
| 140 |
+
═══════════════════════════════════════════════════════════
|
| 141 |
+
```
|
| 142 |
+
|
| 143 |
+
### MOVE 4 — CASH FLOW ARCHITECTURE MAPPING
|
| 144 |
+
|
| 145 |
+
Map every cash flow through the full lifecycle:
|
| 146 |
+
```
|
| 147 |
+
CASH FLOW MAP — [ASSET NAME]
|
| 148 |
+
═══════════════════════════════════════════════════════════
|
| 149 |
+
T=0 (Acquisition):
|
| 150 |
+
Outflows: Purchase price / Transfer tax / Legal / Broker / Financing costs
|
| 151 |
+
Structure: [Equity: AMOUNT / Debt: AMOUNT / LTV: X%]
|
| 152 |
+
|
| 153 |
+
Year 1-N (Hold period):
|
| 154 |
+
Inflows: Rent × (1 − vacancy) = EGI
|
| 155 |
+
Outflows: OpEx / Debt service / Tax (annual) / Capex / Reserve
|
| 156 |
+
Net: [Equity cash flow per year]
|
| 157 |
+
|
| 158 |
+
T=N (Exit):
|
| 159 |
+
Inflows: Exit value [NOI_N ÷ exit cap rate]
|
| 160 |
+
Outflows: Sales costs / CGT / Outstanding debt / Incentive clawback
|
| 161 |
+
Net: [Net equity proceeds]
|
| 162 |
+
|
| 163 |
+
RISK POINTS IN CASH FLOW:
|
| 164 |
+
[Identify years with negative equity cash flow]
|
| 165 |
+
[Identify vulnerability to void — when does break / expiry occur?]
|
| 166 |
+
[Identify when debt matures — refinancing risk]
|
| 167 |
+
═══════════════════════════════════════════════════════════
|
| 168 |
+
```
|
| 169 |
+
|
| 170 |
+
### MOVE 5 — REGULATORY DEPENDENCY CHAIN
|
| 171 |
+
|
| 172 |
+
For every regulatory step required:
|
| 173 |
+
```
|
| 174 |
+
REGULATORY DEPENDENCIES
|
| 175 |
+
═══════════════════════════════════════════════════════════
|
| 176 |
+
[For each dependency:]
|
| 177 |
+
What: [Registration / Approval / Consent / Filing]
|
| 178 |
+
Authority: [LPA / AEAT / HMRC / IRS / DLD / Income Tax Dept]
|
| 179 |
+
Timeline: [X days / weeks / months]
|
| 180 |
+
Risk if delayed: [Closing delayed / Longstop triggered / Penalty]
|
| 181 |
+
Risk if refused: [Deal fails / Works unlawful / Tax liability crystallises]
|
| 182 |
+
Status: [Completed / In progress / NOT STARTED ⚠]
|
| 183 |
+
═══════════════════════════════════════════════════════════
|
| 184 |
+
```
|
| 185 |
+
|
| 186 |
+
### MOVE 6 — STAKEHOLDER POWER MAPPING
|
| 187 |
+
|
| 188 |
+
```
|
| 189 |
+
STAKEHOLDER POWER MAP
|
| 190 |
+
═══════════════════════════════════════════════════════════
|
| 191 |
+
[For each stakeholder with power to block or materially change the deal:]
|
| 192 |
+
|
| 193 |
+
Stakeholder: [NAME / ROLE]
|
| 194 |
+
Power: [Can block / delay / increase cost / reduce value]
|
| 195 |
+
Current position: [Cooperative / Unknown / Potentially adverse]
|
| 196 |
+
Consent required: [YES — for what? / NO]
|
| 197 |
+
Mitigation: [Action to secure cooperation / consent]
|
| 198 |
+
═══════════════════════════════════════════════════════════
|
| 199 |
+
|
| 200 |
+
Typical stakeholders to map:
|
| 201 |
+
□ Existing lender (consent to sale / change of control)
|
| 202 |
+
□ Head landlord (if leasehold — consent to assign / underlease)
|
| 203 |
+
□ Tenants (break rights / pre-emption / co-tenancy)
|
| 204 |
+
□ Planning authority (live applications / enforcement risk)
|
| 205 |
+
□ Tax authority (outstanding enquiries / investigation risk)
|
| 206 |
+
□ Ground landlord (service of notice / enfranchisement risk)
|
| 207 |
+
□ Neighbouring owners (easements / boundary disputes)
|
| 208 |
+
□ Residents' association (objection to development)
|
| 209 |
+
```
|
| 210 |
+
|
| 211 |
+
### MOVE 7 — COMPOUND RISK TRACING
|
| 212 |
+
|
| 213 |
+
**Most important for escalation. Find non-linear risk combinations.**
|
| 214 |
+
|
| 215 |
+
```
|
| 216 |
+
COMPOUND RISK ANALYSIS
|
| 217 |
+
═══════════════════════════════════════════════════════════
|
| 218 |
+
[For each identified compound risk:]
|
| 219 |
+
|
| 220 |
+
Risk A: [Description]
|
| 221 |
+
Risk B: [Description]
|
| 222 |
+
Compound effect: [Why A+B > A+B — why they multiply]
|
| 223 |
+
Trigger point: [The scenario in which both materialise simultaneously]
|
| 224 |
+
Consequence: [Specific outcome — sized in money or probability terms]
|
| 225 |
+
Probability: [Low / Medium / High — based on market context]
|
| 226 |
+
Mitigation: [What would break the compound chain]
|
| 227 |
+
|
| 228 |
+
CLASSIC COMPOUND RISKS TO CHECK:
|
| 229 |
+
□ Rising rates + lease expiry at Year 3 → DS increases as income drops
|
| 230 |
+
□ NR seller + circle rate problem (India) → WHT on low price, tax on high base
|
| 231 |
+
□ LTV covenant breach + DSCR breach → dual acceleration trigger → receivership
|
| 232 |
+
□ Planning refusal + longstop date → SPA terminates → deal fails
|
| 233 |
+
□ Tenant insolvency + rent-free clawback → no income + clawback liability
|
| 234 |
+
□ Interest rate cap expiry + market rate rise → cliff-edge rate increase
|
| 235 |
+
□ Vendor retaining planning overage + rezoning uplift → value created captured by vendor
|
| 236 |
+
═══════════════════════════════════════════════════════════
|
| 237 |
+
```
|
| 238 |
+
|
| 239 |
+
---
|
| 240 |
+
|
| 241 |
+
## STEP 2 — RISK MATRIX OUTPUT
|
| 242 |
+
|
| 243 |
+
Present all identified risks in the standard matrix:
|
| 244 |
+
|
| 245 |
+
```
|
| 246 |
+
RISK MATRIX — [PROPERTY / DEAL NAME]
|
| 247 |
+
[Analysis under {country} law — {date}]
|
| 248 |
+
═══════════════════════════════════════════════════════════════════════════════
|
| 249 |
+
RISK MOVE CATEGORY LIKELI IMPACT RATING MITIGATION
|
| 250 |
+
─────────────────────────────────────────────────────────────────────────────
|
| 251 |
+
[Risk 1 name] M[N] [Financial] [H/M/L] [H/M/L] ✅GREEN [Action]
|
| 252 |
+
[Risk 2 name] M[N] [Legal] [H/M/L] [H/M/L] ⚠YELLO [Action]
|
| 253 |
+
[Risk 3 name] M[N] [Tax] [H/M/L] [H/M/L] 🔴RED [Action]
|
| 254 |
+
[Risk 4 — compound] M7 [Compound] [H/M/L] [H/M/L] 🔴RED [Action]
|
| 255 |
+
[Risk 5 — absence] M3 [Structural][H/M/L] [H/M/L] ⚠YELLO [Action]
|
| 256 |
+
...
|
| 257 |
+
═══════════════════════════════════════════════════════════════════════════════
|
| 258 |
+
|
| 259 |
+
RISK CATEGORIES:
|
| 260 |
+
Financial: Cash flow, DSCR, LTV, IRR, returns
|
| 261 |
+
Legal: Title, contracts, lease, regulatory
|
| 262 |
+
Tax: Transfer taxes, CGT, withholding, annual
|
| 263 |
+
Planning: Zoning, consent, enforcement, heritage
|
| 264 |
+
Market: Vacancy, rent decline, yield expansion
|
| 265 |
+
Structural: Absent protections, document gaps
|
| 266 |
+
Compound: Multiplicative combinations of above
|
| 267 |
+
```
|
| 268 |
+
|
| 269 |
+
---
|
| 270 |
+
|
| 271 |
+
## STEP 3 — RED ITEMS IN ISOLATION
|
| 272 |
+
|
| 273 |
+
Each RED risk gets its own block — never buried in prose:
|
| 274 |
+
|
| 275 |
+
```
|
| 276 |
+
🔴 RED RISK — [RISK NAME]
|
| 277 |
+
══════════════════════════════════════════════════════════
|
| 278 |
+
Analytical Move: [M1 / M3 / M7]
|
| 279 |
+
Trigger: [Specific fact or absence that creates the risk]
|
| 280 |
+
Mechanism: [How the risk materialises]
|
| 281 |
+
Consequence: [Specific legal or financial outcome]
|
| 282 |
+
Size: [CURRENCY AMOUNT or % of transaction value]
|
| 283 |
+
Source: [Statute / reference file / validate_*.py output]
|
| 284 |
+
Required action: [Specific resolution — who / what / by when]
|
| 285 |
+
Escalation: [Does this block IC approval? YES / NO with condition]
|
| 286 |
+
══════════════════════════════════════════════════════════
|
| 287 |
+
```
|
| 288 |
+
|
| 289 |
+
---
|
| 290 |
+
|
| 291 |
+
## STEP 4 — RISK SCORE SUMMARY
|
| 292 |
+
|
| 293 |
+
```
|
| 294 |
+
RISK ASSESSMENT SUMMARY — [DEAL NAME]
|
| 295 |
+
═══════════════════════════════════════════════════════════
|
| 296 |
+
Total risks identified: [N]
|
| 297 |
+
🔴 RED: [N] — require resolution
|
| 298 |
+
⚠ YELLOW:[N] — require monitoring
|
| 299 |
+
✅ GREEN: [N] — adequately mitigated
|
| 300 |
+
|
| 301 |
+
COMPOUND RISKS IDENTIFIED: [N]
|
| 302 |
+
|
| 303 |
+
OVERALL RISK RATING: [GREEN / YELLOW / RED]
|
| 304 |
+
|
| 305 |
+
OVERALL RATING LOGIC:
|
| 306 |
+
GREEN: 0 RED risks; ≤3 YELLOW risks; no compound RED
|
| 307 |
+
YELLOW: 0 RED risks; >3 YELLOW OR 1 compound YELLOW
|
| 308 |
+
RED: Any 1 RED risk OR any compound RED risk
|
| 309 |
+
|
| 310 |
+
PROCEED: [YES — all risks manageable]
|
| 311 |
+
[CONDITIONAL — [N] conditions to be resolved before closing]
|
| 312 |
+
[NO — [N] RED risks without viable mitigation]
|
| 313 |
+
|
| 314 |
+
CONDITIONS BEFORE CLOSING:
|
| 315 |
+
□ [Condition 1 — specific and measurable]
|
| 316 |
+
□ [Condition 2]
|
| 317 |
+
□ [Condition 3]
|
| 318 |
+
═══════════════════════════════════════════════════════════
|
| 319 |
+
|
| 320 |
+
[Analysis under {country} law — as of {date}]
|
| 321 |
+
Source: references/countries/{jurisdiction}/ (v6.0)
|
| 322 |
+
This risk assessment is a structured analytical framework.
|
| 323 |
+
It does not constitute legal, tax, or investment advice.
|
| 324 |
+
```
|
commands/audit-financials.md
ADDED
|
@@ -0,0 +1,373 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: audit-financials
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "audit financials", "financial audit", "review financials",
|
| 4 |
+
# "check the numbers", "financial review", "NOI audit", "rent roll audit",
|
| 5 |
+
# "operating statement review", "P&L review", "income statement",
|
| 6 |
+
# "check NOI", "verify NOI", "reconcile NOI", "normalise NOI",
|
| 7 |
+
# "adjust NOI", "stabilised NOI", "run-rate NOI", "underwritten NOI",
|
| 8 |
+
# "EBITDA property", "financial statements real estate",
|
| 9 |
+
# "service charge audit", "CAM reconciliation audit",
|
| 10 |
+
# "financial model review", "pro forma audit", "model audit",
|
| 11 |
+
# "auditoría financiera", "revisión financiera", "auditar las cuentas",
|
| 12 |
+
# "reconcile rent roll", "reconcile operating statement"
|
| 13 |
+
# Dependencies:
|
| 14 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 15 |
+
# - scripts/validate_dscr.py (DSCR validation from audited NOI)
|
| 16 |
+
# - scripts/validate_ltv.py (LTV validation from audited value)
|
| 17 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 18 |
+
# - references/standards/ifrs.md (if IFRS entity)
|
| 19 |
+
# - references/standards/gaap.md (if US GAAP entity)
|
| 20 |
+
# Output: Normalised NOI reconciliation + Move 2 cross-document triangulation +
|
| 21 |
+
# accounting treatment analysis + restatement if required
|
| 22 |
+
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
## COMMAND: audit-financials
|
| 26 |
+
|
| 27 |
+
### PURPOSE
|
| 28 |
+
Conduct a structured financial audit of a property or portfolio's reported financials.
|
| 29 |
+
This command:
|
| 30 |
+
|
| 31 |
+
1. Reconciles the rent roll against executed leases and bank statements
|
| 32 |
+
2. Normalises NOI — removing non-recurring items and adjusting for market vacancy
|
| 33 |
+
3. Identifies aggressive or misleading items in the vendor's financial presentation
|
| 34 |
+
4. Cross-documents (Move 2) between rent roll, management accounts, and lender model
|
| 35 |
+
5. Flags absences (Move 3) in the financial reporting
|
| 36 |
+
6. Restates financials if material adjustments are required
|
| 37 |
+
7. Translates adjusted NOI into validated DSCR and LTV
|
| 38 |
+
|
| 39 |
+
**Primary use cases**:
|
| 40 |
+
- Pre-acquisition financial due diligence (verify vendor's claimed NOI)
|
| 41 |
+
- Lender financial underwriting review
|
| 42 |
+
- Annual management accounts review for portfolio monitoring
|
| 43 |
+
- Service charge / CAM reconciliation audit (tenant perspective)
|
| 44 |
+
|
| 45 |
+
---
|
| 46 |
+
|
| 47 |
+
## STEP 0 — JURISDICTION AND ACCOUNTING STANDARD
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
python scripts/validate_jurisdiction.py \
|
| 51 |
+
--input "[property address]" \
|
| 52 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
**Accounting standard** — confirm before proceeding:
|
| 56 |
+
- IFRS entity: load `references/standards/ifrs.md`
|
| 57 |
+
- US GAAP entity: load `references/standards/gaap.md`
|
| 58 |
+
- Management accounts only (no statutory basis): note this explicitly
|
| 59 |
+
|
| 60 |
+
**What changes by accounting standard**:
|
| 61 |
+
- IFRS 16 / ASC 842: ROU assets and lease liabilities on balance sheet affect leverage ratios
|
| 62 |
+
- IAS 40 FV model vs. ASC 360 cost model: affect reported book value and deferred tax
|
| 63 |
+
- FFO/AFFO (US GAAP / NAREIT): add-back depreciation and gains to get recurring earnings
|
| 64 |
+
- EPRA metrics (IFRS): NTA, Earnings, NRV — standardised across European REITs
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## STEP 1 — DOCUMENTS REQUIRED
|
| 69 |
+
|
| 70 |
+
```
|
| 71 |
+
REQUIRED DOCUMENTS:
|
| 72 |
+
□ Rent roll (current, dated within 30 days)
|
| 73 |
+
□ Executed leases for ALL tenants (including side letters and supplemental agreements)
|
| 74 |
+
□ Management accounts / P&L (last 3 years minimum)
|
| 75 |
+
□ Bank statements for rental income account (12 months)
|
| 76 |
+
□ Service charge / CAM reconciliation statements (last 2 years)
|
| 77 |
+
□ Insurance policy + premium invoices
|
| 78 |
+
□ Property management agreement + fee schedule
|
| 79 |
+
□ Capital expenditure schedule (last 3 years + committed future)
|
| 80 |
+
□ Annual property tax bills (IBI / Council Tax / Grundsteuer / property tax)
|
| 81 |
+
|
| 82 |
+
USEFUL ADDITIONAL:
|
| 83 |
+
□ Statutory accounts (audited) — last 3 years
|
| 84 |
+
□ Valuation report (for yield / cap rate check)
|
| 85 |
+
□ Lender's underwriting model (to cross-reference)
|
| 86 |
+
□ Tenant arrears schedule (aged)
|
| 87 |
+
□ RICS Service Charge Accounts (if multi-let)
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
---
|
| 91 |
+
|
| 92 |
+
## STEP 2 — MOVE 2: CROSS-DOCUMENT TRIANGULATION
|
| 93 |
+
|
| 94 |
+
**Apply systematically to all available documents.**
|
| 95 |
+
|
| 96 |
+
```
|
| 97 |
+
CROSS-DOCUMENT TRIANGULATION — [PROPERTY]
|
| 98 |
+
═══════════════════════════════════════════════════════════
|
| 99 |
+
CHECK 1 — RENT ROLL vs. LEASE RENTS
|
| 100 |
+
Rent roll passing rent: [CURRENCY] [AMOUNT]/yr
|
| 101 |
+
Sum of lease rents: [CURRENCY] [AMOUNT]/yr
|
| 102 |
+
Discrepancy: [CURRENCY] [AMOUNT] — [X]%
|
| 103 |
+
Explanation: [Rent-free period (confirm in lease) / Error / Unexplained ⚠]
|
| 104 |
+
|
| 105 |
+
CHECK 2 — RENT ROLL vs. BANK RECEIPTS (12 months)
|
| 106 |
+
Rent roll expected: [CURRENCY] [AMOUNT] per month
|
| 107 |
+
Bank receipts actual: [CURRENCY] [AMOUNT] per month
|
| 108 |
+
Shortfall: [CURRENCY] [AMOUNT] — [arrearsexplained / unexplained ⚠]
|
| 109 |
+
Arrears outstanding: [CURRENCY] [AMOUNT] — [aged: X months]
|
| 110 |
+
|
| 111 |
+
CHECK 3 — MANAGEMENT ACCOUNTS NOI vs. VENDOR'S CLAIMED NOI
|
| 112 |
+
Vendor claims NOI: [CURRENCY] [AMOUNT]
|
| 113 |
+
Management accounts NOI: [CURRENCY] [AMOUNT]
|
| 114 |
+
Difference: [CURRENCY] [AMOUNT] — see normalisation adjustments (Step 3)
|
| 115 |
+
|
| 116 |
+
CHECK 4 — SERVICE CHARGE INCOME vs. EXPENDITURE
|
| 117 |
+
SC recovered from tenants:[CURRENCY] [AMOUNT]
|
| 118 |
+
SC expenditure (actual): [CURRENCY] [AMOUNT]
|
| 119 |
+
Surplus / (deficit): [CURRENCY] [AMOUNT]
|
| 120 |
+
Note: [Surplus held / Deficit absorbed by landlord / Carried forward]
|
| 121 |
+
|
| 122 |
+
CHECK 5 — CAPEX vs. MANAGEMENT ACCOUNTS
|
| 123 |
+
Capex claimed as revenue: [CURRENCY] [AMOUNT — items to be capitalised, not expensed]
|
| 124 |
+
Capex omitted entirely: [CURRENCY] [AMOUNT — deferred maintenance not reflected]
|
| 125 |
+
Adjusted OPEX: [CURRENCY] [AMOUNT]
|
| 126 |
+
|
| 127 |
+
CHECK 6 — INSURANCE PREMIUM vs. QUOTED PREMIUM
|
| 128 |
+
Claimed/budgeted premium: [CURRENCY] [AMOUNT]
|
| 129 |
+
Actual invoice: [CURRENCY] [AMOUNT]
|
| 130 |
+
Discrepancy: [CURRENCY] [AMOUNT] ⚠ if > 5%
|
| 131 |
+
|
| 132 |
+
CHECK 7 — AREA (RENT ROLL) vs. AREA (LEASE) vs. AREA (PLANNING)
|
| 133 |
+
Rent roll area: [X] sqm
|
| 134 |
+
Lease demised area: [X] sqm
|
| 135 |
+
Planning GFA: [X] sqm
|
| 136 |
+
Any discrepancy: [DESCRIBE — measurement standard issue / unlawful extension?]
|
| 137 |
+
═══════════════════════════════════════════════════════════
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
---
|
| 141 |
+
|
| 142 |
+
## STEP 3 — MOVE 3: FINANCIAL ABSENCE DETECTION
|
| 143 |
+
|
| 144 |
+
```
|
| 145 |
+
FINANCIAL ABSENCE DETECTION
|
| 146 |
+
═══════════════════════════════════════════════════════════
|
| 147 |
+
ITEMS ABSENT FROM VENDOR'S NOI THAT SHOULD BE INCLUDED:
|
| 148 |
+
|
| 149 |
+
□ Capex reserve ([CURRENCY X]/sqm/yr): ABSENT from vendor NOI → ADD ([AMOUNT])
|
| 150 |
+
□ Management fee at market rate: [Undercharged at X% vs. market Y%] → ADD ([AMOUNT])
|
| 151 |
+
□ Structural/sinking fund: ABSENT → ADD ([AMOUNT])
|
| 152 |
+
□ Void cost for break/expiry assumed: ABSENT from pro forma → ADD ([AMOUNT])
|
| 153 |
+
□ Letting commission at re-letting: ABSENT → ADD ([PV of future cost])
|
| 154 |
+
□ Incentive cost at rent review (tenant break leverage): ABSENT → ADD ([AMOUNT])
|
| 155 |
+
□ Uninsured maintenance items: ABSENT → ADD ([AMOUNT])
|
| 156 |
+
□ Vacancy on current voids: [Vendor grosses up to 100% occupancy → ADJUST to X%]
|
| 157 |
+
|
| 158 |
+
ITEMS IN VENDOR'S NOI THAT ARE NON-RECURRING (should be removed):
|
| 159 |
+
|
| 160 |
+
□ One-off dilapidations receipt: REMOVE [CURRENCY AMOUNT]
|
| 161 |
+
□ Insurance proceeds (casualty): REMOVE [CURRENCY AMOUNT]
|
| 162 |
+
□ Lease surrender premium: REMOVE [CURRENCY AMOUNT]
|
| 163 |
+
□ Forfeited security deposit (non-recurring): REMOVE [CURRENCY AMOUNT]
|
| 164 |
+
□ Business interruption insurance receipt: REMOVE [CURRENCY AMOUNT]
|
| 165 |
+
□ Management fee holiday (special deal): REMOVE [CURRENCY AMOUNT benefit]
|
| 166 |
+
═══════════════════════════════════════════════════════════
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
---
|
| 170 |
+
|
| 171 |
+
## STEP 4 — NOI NORMALISATION BRIDGE
|
| 172 |
+
|
| 173 |
+
```
|
| 174 |
+
NOI NORMALISATION — [PROPERTY NAME] — [DATE]
|
| 175 |
+
═══════════════════════════════════════════════════════════
|
| 176 |
+
VENDOR'S STATED NOI: [CURRENCY] [AMOUNT]
|
| 177 |
+
|
| 178 |
+
ADJUSTMENTS — ADD BACK (items missing from vendor's NOI):
|
| 179 |
+
+ Capex reserve ([X]/sqm/yr × [Y sqm]): [CURRENCY] [AMOUNT]
|
| 180 |
+
+ Market management fee ([X]% vs [Y]% claimed): [CURRENCY] [AMOUNT]
|
| 181 |
+
+ Structural sinking fund: [CURRENCY] [AMOUNT]
|
| 182 |
+
+ Void cost (break at Year [N]: [M months]): [CURRENCY] [AMOUNT] (NPV [CURRENCY X])
|
| 183 |
+
+ Letting commission at next re-letting: [CURRENCY] [AMOUNT] (amortised)
|
| 184 |
+
+ [Other items identified in Step 3]: [CURRENCY] [AMOUNT]
|
| 185 |
+
|
| 186 |
+
ADJUSTMENTS — REMOVE (non-recurring items inflating vendor's NOI):
|
| 187 |
+
− Dilapidations receipt: ([CURRENCY] [AMOUNT])
|
| 188 |
+
− Lease surrender premium: ([CURRENCY] [AMOUNT])
|
| 189 |
+
− Insurance proceeds: ([CURRENCY] [AMOUNT])
|
| 190 |
+
− [Other non-recurring items]: ([CURRENCY] [AMOUNT])
|
| 191 |
+
|
| 192 |
+
ADJUSTMENTS — VACANCY NORMALISATION:
|
| 193 |
+
− Vendor's occupancy: [X]% → Adjusted to [Y]% market stable vacancy:
|
| 194 |
+
Adjustment: ([CURRENCY] [AMOUNT])
|
| 195 |
+
|
| 196 |
+
─────────────────────────────────────────────────────────
|
| 197 |
+
ADJUSTED / NORMALISED NOI: [CURRENCY] [AMOUNT]
|
| 198 |
+
Difference from vendor's NOI: ([CURRENCY] [AMOUNT]) / [−X]%
|
| 199 |
+
Impact: [Material / Immaterial — threshold: ±5%]
|
| 200 |
+
|
| 201 |
+
IMPLIED CAP RATE (on normalised NOI): [X.XX]%
|
| 202 |
+
vs. vendor's implied cap rate: [X.XX]%
|
| 203 |
+
Difference: [+/−X]bps
|
| 204 |
+
═══════════════════════════════════════════════════════════
|
| 205 |
+
```
|
| 206 |
+
|
| 207 |
+
---
|
| 208 |
+
|
| 209 |
+
## STEP 5 — REVALIDATE DSCR AND LTV
|
| 210 |
+
|
| 211 |
+
```bash
|
| 212 |
+
python scripts/validate_dscr.py \
|
| 213 |
+
--noi [adjusted_NOI] --debt_service [DS] \
|
| 214 |
+
--jurisdiction [country] --asset_type [type]
|
| 215 |
+
|
| 216 |
+
python scripts/validate_ltv.py \
|
| 217 |
+
--loan [loan] --value [adjusted_value] \
|
| 218 |
+
--country [country] --type [type]
|
| 219 |
+
```
|
| 220 |
+
|
| 221 |
+
```
|
| 222 |
+
REVALIDATION — ADJUSTED NOI
|
| 223 |
+
═══════════════════════════════════════════════════════════
|
| 224 |
+
VENDOR'S NUMBERS ADJUSTED NUMBERS
|
| 225 |
+
NOI: [CURRENCY AMOUNT] [CURRENCY AMOUNT]
|
| 226 |
+
Implied cap rate: [X.XX]% [X.XX]%
|
| 227 |
+
Implied value: [CURRENCY AMOUNT] [CURRENCY AMOUNT]
|
| 228 |
+
|
| 229 |
+
DSCR: [X.XX]x [STATUS] [X.XX]x [STATUS]
|
| 230 |
+
LTV: [X.X]% [STATUS] [X.X]% [STATUS]
|
| 231 |
+
|
| 232 |
+
CHANGE IN STATUS: [No change / YELLOW→RED / GREEN→YELLOW — describe]
|
| 233 |
+
═══════════════════════════════════════════════════════════
|
| 234 |
+
```
|
| 235 |
+
|
| 236 |
+
---
|
| 237 |
+
|
| 238 |
+
## STEP 6 — ACCOUNTING TREATMENT AUDIT
|
| 239 |
+
|
| 240 |
+
### IFRS — Key Audit Points
|
| 241 |
+
|
| 242 |
+
```
|
| 243 |
+
IFRS ACCOUNTING AUDIT
|
| 244 |
+
═══════════════════════════════════════════════════════════
|
| 245 |
+
IAS 40 — Investment Property:
|
| 246 |
+
Model in use: [Fair Value / Cost — consistent with prior years?]
|
| 247 |
+
Fair value change: [CURRENCY AMOUNT] — [Gain / Loss] in P&L this year
|
| 248 |
+
Valuer: [RICS-registered / Independent / ABSENT ⚠]
|
| 249 |
+
Valuation date: [DATE — within 12 months? YES / NO ⚠]
|
| 250 |
+
Level in IFRS 13 hierarchy: [Level 2 / Level 3]
|
| 251 |
+
|
| 252 |
+
IFRS 16 — Leases (if entity is lessee):
|
| 253 |
+
ROU assets recognised: [CURRENCY AMOUNT]
|
| 254 |
+
Lease liabilities: [CURRENCY AMOUNT]
|
| 255 |
+
IBR used: [X.XX]% — [disclosed / not disclosed]
|
| 256 |
+
Short-term exemption claimed: [YES — which leases / NO]
|
| 257 |
+
|
| 258 |
+
IAS 12 — Deferred Tax:
|
| 259 |
+
DTL on FV gains: [CURRENCY AMOUNT]
|
| 260 |
+
Rate used: [CGT rate / income rate — should be CGT rate per IAS 12 para.51C]
|
| 261 |
+
Correct rate for [jurisdiction]: [X]% [CONFIRMED / INCORRECT ⚠]
|
| 262 |
+
|
| 263 |
+
IAS 36 — Impairment:
|
| 264 |
+
Indicators reviewed: [YES / NOT DOCUMENTED ⚠]
|
| 265 |
+
Any impairment charge: [CURRENCY AMOUNT / NIL]
|
| 266 |
+
|
| 267 |
+
EPRA Metrics (if listed entity):
|
| 268 |
+
EPRA Earnings: [CURRENCY AMOUNT] [Reconciled to IFRS net income?]
|
| 269 |
+
EPRA NTA: [CURRENCY AMOUNT per share]
|
| 270 |
+
EPRA NIY: [X.XX]%
|
| 271 |
+
═══════════════════════════════════════════════════════════
|
| 272 |
+
```
|
| 273 |
+
|
| 274 |
+
### US GAAP — Key Audit Points
|
| 275 |
+
|
| 276 |
+
```
|
| 277 |
+
US GAAP ACCOUNTING AUDIT
|
| 278 |
+
═══════════════════════════════════════════════════════════
|
| 279 |
+
ASC 360 — Property:
|
| 280 |
+
Carrying value: [CURRENCY AMOUNT] [historic cost − depreciation]
|
| 281 |
+
Depreciation method: [Straight line / [N]-year life — CONFIRMED]
|
| 282 |
+
Impairment test: [Step 1 undiscounted CF test — performed: YES / NO ⚠]
|
| 283 |
+
Capitalization policy: [Threshold [CURRENCY X] — documented: YES / NO]
|
| 284 |
+
|
| 285 |
+
ASC 842 — Leases:
|
| 286 |
+
Finance vs. operating: [Classification documented for each lease?]
|
| 287 |
+
ROU assets: [CURRENCY AMOUNT]
|
| 288 |
+
Lease liabilities: [CURRENCY AMOUNT]
|
| 289 |
+
IBR: [X.XX]% — disclosed?
|
| 290 |
+
|
| 291 |
+
ASC 805 — Acquisition:
|
| 292 |
+
Business vs. asset: [Assessed: YES / NO ⚠]
|
| 293 |
+
Transaction costs: [Capitalised (asset) / Expensed (business)]
|
| 294 |
+
In-place lease intangibles: [CURRENCY AMOUNT — amortisation schedule set?]
|
| 295 |
+
|
| 296 |
+
REIT Metrics (if applicable):
|
| 297 |
+
FFO (NAREIT): [CURRENCY AMOUNT]
|
| 298 |
+
Reconciliation to GAAP net income: [PROVIDED / ABSENT ⚠]
|
| 299 |
+
AFFO: [CURRENCY AMOUNT]
|
| 300 |
+
Dividend coverage: [X.XX]x
|
| 301 |
+
Non-cash items removed: [SL rent, above/below market lease amort. — confirmed?]
|
| 302 |
+
═══════════════════════════════════════════════════════════
|
| 303 |
+
```
|
| 304 |
+
|
| 305 |
+
---
|
| 306 |
+
|
| 307 |
+
## STEP 7 — SERVICE CHARGE / CAM AUDIT (if multi-let)
|
| 308 |
+
|
| 309 |
+
```
|
| 310 |
+
SERVICE CHARGE / CAM AUDIT — [PROPERTY]
|
| 311 |
+
═══════════════════════════════════════════════════════════
|
| 312 |
+
Period audited: [YYYY–YYYY]
|
| 313 |
+
Actual SC expenditure: [CURRENCY] [AMOUNT]
|
| 314 |
+
SC budgeted: [CURRENCY] [AMOUNT]
|
| 315 |
+
SC recovered: [CURRENCY] [AMOUNT]
|
| 316 |
+
Surplus / (deficit): [CURRENCY] [AMOUNT]
|
| 317 |
+
|
| 318 |
+
EXCLUSIONS CHECKED (per lease terms):
|
| 319 |
+
□ Capital expenditure correctly excluded: [YES / PARTIALLY / NO ⚠]
|
| 320 |
+
□ Management fee cap compliance: [YES / EXCEEDED BY CURRENCY AMOUNT ⚠]
|
| 321 |
+
□ Landlord's overhead excluded: [YES / INCLUDED — CURRENCY AMOUNT ⚠]
|
| 322 |
+
□ Costs recoverable from insurance/warranties excluded: [YES / NO ⚠]
|
| 323 |
+
|
| 324 |
+
GROSS-UP APPLIED (if occupancy < threshold):
|
| 325 |
+
Occupancy during period: [X]%
|
| 326 |
+
Gross-up applied: [YES at X% / NO — should it have been? ⚠]
|
| 327 |
+
|
| 328 |
+
AUDIT RIGHTS:
|
| 329 |
+
Tenant audit window: [Within [12/18] months of statement]
|
| 330 |
+
Discrepancy found: [CURRENCY AMOUNT] — [X]% of SC
|
| 331 |
+
Landlord liability: [Pays audit costs if discrepancy > X% threshold]
|
| 332 |
+
Status: [ACCEPTED / DISPUTED / OUTSTANDING]
|
| 333 |
+
═══════════════════════════════════════════════════════════
|
| 334 |
+
```
|
| 335 |
+
|
| 336 |
+
---
|
| 337 |
+
|
| 338 |
+
## STEP 8 — FINANCIAL AUDIT SUMMARY
|
| 339 |
+
|
| 340 |
+
```
|
| 341 |
+
FINANCIAL AUDIT SUMMARY — [PROPERTY] — [DATE]
|
| 342 |
+
═══════════════════════════════════════════════════════════
|
| 343 |
+
[Analysis under {country} law — accounting standard: {IFRS / US GAAP} — {date}]
|
| 344 |
+
|
| 345 |
+
VENDOR'S NOI: [CURRENCY] [AMOUNT]
|
| 346 |
+
ADJUSTED NOI: [CURRENCY] [AMOUNT] ([−X]% adjustment)
|
| 347 |
+
ADJUSTMENT MATERIALITY: [MATERIAL (>5%) / IMMATERIAL (<5%)]
|
| 348 |
+
|
| 349 |
+
CROSS-DOC DISCREPANCIES: [N found — see Section 2]
|
| 350 |
+
Material (>5%): [N]
|
| 351 |
+
Unexplained: [N — ⚠ require vendor explanation]
|
| 352 |
+
|
| 353 |
+
FINANCIAL ABSENCES: [N items — see Section 3]
|
| 354 |
+
Impact on NOI: [CURRENCY AMOUNT total adjustment]
|
| 355 |
+
|
| 356 |
+
ACCOUNTING COMPLIANCE: [GREEN / YELLOW / RED]
|
| 357 |
+
Key issues: [List any material accounting misstatements]
|
| 358 |
+
|
| 359 |
+
REVALIDATED DSCR: [X.XX]x [GREEN / YELLOW / RED]
|
| 360 |
+
REVALIDATED LTV: [X.X]% [GREEN / YELLOW / RED]
|
| 361 |
+
|
| 362 |
+
OVERALL FINANCIAL STATUS: [GREEN / YELLOW / RED]
|
| 363 |
+
|
| 364 |
+
REQUIRED ACTIONS:
|
| 365 |
+
□ [Action 1 — e.g. vendor to explain [AMOUNT] rent roll vs. bank discrepancy]
|
| 366 |
+
□ [Action 2 — e.g. capex reserve to be added to underwriting model]
|
| 367 |
+
□ [Action 3 — e.g. deferred tax rate to be corrected from X% to Y%]
|
| 368 |
+
|
| 369 |
+
Source: references/countries/{jurisdiction}/tax-law.md +
|
| 370 |
+
references/standards/{ifrs|gaap}.md (v6.0)
|
| 371 |
+
This analysis is a structured due diligence framework.
|
| 372 |
+
It does not constitute an auditor's opinion or financial advice.
|
| 373 |
+
```
|
commands/brief.md
ADDED
|
@@ -0,0 +1,233 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
# Trigger phrases: "brief", "quick brief", "give me a brief", "deal brief",
|
| 4 |
+
# "project brief", "one-pager", "executive brief", "short summary",
|
| 5 |
+
# "quick overview", "what's the deal", "give me the headline",
|
| 6 |
+
# "tl;dr", "summarise the deal", "summarize the deal",
|
| 7 |
+
# "key points", "key facts", "give me the essentials",
|
| 8 |
+
# "quick take", "quick analysis", "fast overview",
|
| 9 |
+
# "dame un resumen", "resumen ejecutivo", "puntos clave",
|
| 10 |
+
# "headline numbers", "snapshot", "deal snapshot", "fact sheet",
|
| 11 |
+
# "what do I need to know", "30-second version", "elevator pitch",
|
| 12 |
+
# "pre-meeting brief", "IC pre-read", "board brief"
|
| 13 |
+
# Dependencies:
|
| 14 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first — even in brief mode)
|
| 15 |
+
# - scripts/validate_dscr.py (if financial data provided)
|
| 16 |
+
# - scripts/validate_ltv.py (if financial data provided)
|
| 17 |
+
# - references/countries/{jurisdiction}/tax-law.md (loaded, not fully cited)
|
| 18 |
+
# Output: One-page structured brief — jurisdiction-confirmed, status-rated,
|
| 19 |
+
# key numbers, top 3 risks, next actions. No padding.
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## COMMAND: brief
|
| 24 |
+
|
| 25 |
+
### PURPOSE
|
| 26 |
+
Produce the fastest, most useful summary possible.
|
| 27 |
+
The brief is NOT a truncated version of a full analysis.
|
| 28 |
+
It is a deliberately structured triage document that:
|
| 29 |
+
|
| 30 |
+
1. Confirms jurisdiction (non-negotiable — even in brief mode)
|
| 31 |
+
2. States the headline numbers in 6 lines
|
| 32 |
+
3. Gives GREEN / YELLOW / RED status with ONE-LINE rationale
|
| 33 |
+
4. Lists the top 3 risks — each in one sentence, sized
|
| 34 |
+
5. Lists the top 3 next actions — each specific and owned
|
| 35 |
+
6. Flags any RED items that require immediate escalation
|
| 36 |
+
|
| 37 |
+
**Brief ≠ superficial.** Every line must be accurate and jurisdiction-confirmed.
|
| 38 |
+
The brief is what a principal reads in 90 seconds before a call or IC meeting.
|
| 39 |
+
It must be reliable enough to speak to without further verification.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## STEP 0 — JURISDICTION GUARD (BRIEF MODE)
|
| 44 |
+
|
| 45 |
+
Even in brief mode, jurisdiction is confirmed first.
|
| 46 |
+
The brief runs validate_jurisdiction.py silently — the output appears in the header,
|
| 47 |
+
not as a separate section.
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
python scripts/validate_jurisdiction.py \
|
| 51 |
+
--input "[property/project description]" \
|
| 52 |
+
--type [asset_type]
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
If jurisdiction cannot be confirmed: produce a one-line prompt, then brief.
|
| 56 |
+
Do NOT produce a brief with unconfirmed jurisdiction.
|
| 57 |
+
|
| 58 |
+
---
|
| 59 |
+
|
| 60 |
+
## STEP 1 — THE BRIEF TEMPLATE
|
| 61 |
+
|
| 62 |
+
**Maximum length: one page (300–400 words). No exceptions.**
|
| 63 |
+
Use the exact structure below. No additional sections. No padding.
|
| 64 |
+
If information is not available: state "NOT PROVIDED" — do not invent.
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
```
|
| 69 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 70 |
+
DEAL BRIEF — [ASSET NAME / PROJECT NAME]
|
| 71 |
+
[Analysis under {COUNTRY} law — {date}]
|
| 72 |
+
STATUS: [✅ GREEN / ⚠ YELLOW / 🔴 RED]
|
| 73 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 74 |
+
|
| 75 |
+
THE DEAL
|
| 76 |
+
[One sentence: what is being bought/sold/financed/developed,
|
| 77 |
+
by whom, at what price, in which market.]
|
| 78 |
+
|
| 79 |
+
HEADLINE NUMBERS
|
| 80 |
+
Price / Cost: [CURRENCY] [AMOUNT]
|
| 81 |
+
NOI / Revenue: [CURRENCY] [AMOUNT]/yr ([X.XX]% yield / cap rate)
|
| 82 |
+
Debt: [CURRENCY] [AMOUNT] LTV: [X]% DSCR: [X.XX]x
|
| 83 |
+
Equity IRR: [X]% (hold: [N] years / exit cap: [X]%)
|
| 84 |
+
Transfer tax: [CURRENCY] [AMOUNT] ([tax name] — [jurisdiction])
|
| 85 |
+
Total equity in: [CURRENCY] [AMOUNT]
|
| 86 |
+
|
| 87 |
+
STATUS: [GREEN / YELLOW / RED]
|
| 88 |
+
Reason: [One line — the single most important fact driving the status]
|
| 89 |
+
|
| 90 |
+
TOP 3 RISKS
|
| 91 |
+
1. [Risk — one sentence — sized: "Covenant breach if NOI falls >X%"]
|
| 92 |
+
2. [Risk — one sentence — sized: "WHT exposure: CURRENCY AMOUNT if NR seller
|
| 93 |
+
and Modelo 211 not configured before closing"]
|
| 94 |
+
3. [Risk — one sentence — sized or described]
|
| 95 |
+
|
| 96 |
+
TOP 3 NEXT ACTIONS
|
| 97 |
+
1. [Action — specific — owned: "Buyer to configure Modelo 211 by [DATE]"]
|
| 98 |
+
2. [Action — specific — owned: "Engage QI before relinquished property closes"]
|
| 99 |
+
3. [Action — specific — owned: "File SDLT return within 14 days of completion"]
|
| 100 |
+
|
| 101 |
+
[If RED item present:]
|
| 102 |
+
🔴 ESCALATION REQUIRED: [ONE LINE — what, why, who must act]
|
| 103 |
+
|
| 104 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 105 |
+
Source: references/countries/{jurisdiction}/ (v6.0)
|
| 106 |
+
For full analysis: run [relevant command — e.g. analyze-investment / check-tax-compliance]
|
| 107 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 108 |
+
```
|
| 109 |
+
|
| 110 |
+
---
|
| 111 |
+
|
| 112 |
+
## STEP 2 — BRIEF EXECUTION RULES
|
| 113 |
+
|
| 114 |
+
### Rule 1: Status determines tone
|
| 115 |
+
|
| 116 |
+
**GREEN**: Present confidently. Risks are manageable. Actions are monitoring.
|
| 117 |
+
**YELLOW**: Present with clear caveats. One or more items need resolution. Actions are specific.
|
| 118 |
+
**RED**: Lead with the RED item. Do not bury it. Brief reads as: "Before anything else, [RED item]."
|
| 119 |
+
|
| 120 |
+
### Rule 2: Numbers must be jurisdiction-confirmed
|
| 121 |
+
|
| 122 |
+
Even in a brief, every number carries its jurisdiction:
|
| 123 |
+
✓ `SDLT: £87,500 (UK — 2024-25 rates)`
|
| 124 |
+
✓ `Modelo 211: €75,000 (Spain — IRNR Art.25.2 — within 30 days)`
|
| 125 |
+
✗ `Transfer tax: approximately £87,500`
|
| 126 |
+
|
| 127 |
+
### Rule 3: Risks are sized or described concretely
|
| 128 |
+
|
| 129 |
+
✓ `Lease expires Year 2: 9-month void assumed = €X income loss`
|
| 130 |
+
✓ `No interest rate cap: +100bps = €X additional annual debt service`
|
| 131 |
+
✗ `There is a lease expiry risk`
|
| 132 |
+
✗ `Interest rates may rise`
|
| 133 |
+
|
| 134 |
+
### Rule 4: Next actions are owned and dated
|
| 135 |
+
|
| 136 |
+
✓ `Legal counsel to obtain s.38A confirmation from LPA by [DATE]`
|
| 137 |
+
✓ `Buyer's solicitor to file SDLT return same day as completion`
|
| 138 |
+
✗ `Legal due diligence should be completed`
|
| 139 |
+
✗ `File the relevant tax returns`
|
| 140 |
+
|
| 141 |
+
### Rule 5: Move 3 in brief mode
|
| 142 |
+
|
| 143 |
+
Absence detection still applies — but expressed in one line:
|
| 144 |
+
✓ `No DSRA: immediate covenant breach risk if NOI dips — fund DSRA at closing`
|
| 145 |
+
✓ `No schedule of condition: full dilapidations exposure at lease end — obtain before exchange`
|
| 146 |
+
|
| 147 |
+
### Rule 6: If critical data is missing
|
| 148 |
+
|
| 149 |
+
State it directly — do not fill gaps with assumptions:
|
| 150 |
+
✓ `NOI: NOT PROVIDED — brief status cannot be confirmed without this`
|
| 151 |
+
✓ `Jurisdiction: NOT CONFIRMED — [two signals conflict: describe] — confirm before IC`
|
| 152 |
+
|
| 153 |
+
---
|
| 154 |
+
|
| 155 |
+
## STEP 3 — BRIEF VARIANTS BY ASSET TYPE
|
| 156 |
+
|
| 157 |
+
The brief template above applies universally. These additions apply by asset type:
|
| 158 |
+
|
| 159 |
+
### Commercial Acquisition Brief — Additional line
|
| 160 |
+
```
|
| 161 |
+
WAULT: [X.X years to break / X.X years to expiry] — [Lease risk: LOW/MEDIUM/HIGH]
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
### Development Brief — Additional line
|
| 165 |
+
```
|
| 166 |
+
Planning: [Consent obtained / Pending — [risk level]] — Build cost: [CURRENCY AMOUNT]
|
| 167 |
+
```
|
| 168 |
+
|
| 169 |
+
### Infrastructure / PPP Brief — Additional lines
|
| 170 |
+
```
|
| 171 |
+
ERR: [X]% (MDB min: 10–12%) APEC score: [X.X/10] Veto params: [PASS / 🔴 FAIL]
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
### Lending / Credit Brief — Additional line
|
| 175 |
+
```
|
| 176 |
+
Max loan (binding): [CURRENCY AMOUNT] ([LTV/DSCR/DY constraint]) — Proposed: [AMOUNT] [OK / EXCEEDS ⚠]
|
| 177 |
+
```
|
| 178 |
+
|
| 179 |
+
### Portfolio Brief (multiple assets) — Adapted template
|
| 180 |
+
```
|
| 181 |
+
PORTFOLIO BRIEF — [N] ASSETS
|
| 182 |
+
Total GAV: [CURRENCY AMOUNT]
|
| 183 |
+
Portfolio NOI: [CURRENCY AMOUNT] ([X.XX]% overall yield)
|
| 184 |
+
WAULT: [X.X years]
|
| 185 |
+
Occupancy: [X]%
|
| 186 |
+
Covenants: [All GREEN / [N] assets YELLOW / [N] assets RED]
|
| 187 |
+
Top risk: [The single biggest portfolio-level risk — one sentence]
|
| 188 |
+
Priority action: [The one thing that must happen next]
|
| 189 |
+
```
|
| 190 |
+
|
| 191 |
+
---
|
| 192 |
+
|
| 193 |
+
## STEP 4 — ESCALATION LOGIC IN BRIEF MODE
|
| 194 |
+
|
| 195 |
+
If any RED trigger is present, the brief opens with it — not buries it:
|
| 196 |
+
|
| 197 |
+
```
|
| 198 |
+
🔴 IMMEDIATE ESCALATION — [TRIGGER NAME]
|
| 199 |
+
[ONE SENTENCE: what it is, what it means, what must happen before proceeding]
|
| 200 |
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
| 201 |
+
[Then the rest of the brief follows normally]
|
| 202 |
+
```
|
| 203 |
+
|
| 204 |
+
RED triggers that always open the brief rather than appearing in "risks":
|
| 205 |
+
- Jurisdiction not confirmed
|
| 206 |
+
- Non-resident seller with no withholding mechanism configured
|
| 207 |
+
- DSCR below stress minimum threshold
|
| 208 |
+
- FIRPTA withholding not arranged (USA)
|
| 209 |
+
- India: Form 26QB not scheduled for consideration > INR 50L
|
| 210 |
+
- Spain: plusvalía not calculated by both methods (post STC TC 26/2021)
|
| 211 |
+
- UK: s.38A LTA 1954 not confirmed and lease about to be executed
|
| 212 |
+
- Any validate_*.py script returns `escalation_required: true`
|
| 213 |
+
|
| 214 |
+
---
|
| 215 |
+
|
| 216 |
+
## STEP 5 — BRIEF → FULL ANALYSIS HANDOFF
|
| 217 |
+
|
| 218 |
+
The brief always ends with the path to deeper analysis:
|
| 219 |
+
|
| 220 |
+
```
|
| 221 |
+
FOR FULL ANALYSIS:
|
| 222 |
+
Financial: run analyze-investment
|
| 223 |
+
Tax: run check-tax-compliance
|
| 224 |
+
Risk: run assess-risk
|
| 225 |
+
Lease: run abstract-lease
|
| 226 |
+
Lending: run evaluate-lending
|
| 227 |
+
Infrastructure:run evaluate-infrastructure
|
| 228 |
+
Transaction: run support-transaction
|
| 229 |
+
```
|
| 230 |
+
|
| 231 |
+
This makes the brief a triage document — not a terminal one.
|
| 232 |
+
The principal reads the brief, decides whether to proceed,
|
| 233 |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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: build-investment-memo
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "investment memo", "investment memorandum", "IM", "write the memo",
|
| 4 |
+
# "build the IC memo", "investment committee memo", "IC paper", "deal memo",
|
| 5 |
+
# "write up the deal", "investment brief", "deal summary", "deal write-up",
|
| 6 |
+
# "memo for IC", "investment note", "deal note", "credit memo", "credit paper",
|
| 7 |
+
# "write the investment case", "memo para comité", "memorando de inversión",
|
| 8 |
+
# "investment thesis", "deal overview memo"
|
| 9 |
+
# Dependencies:
|
| 10 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 11 |
+
# - scripts/validate_dscr.py (financial validation)
|
| 12 |
+
# - scripts/validate_ltv.py (leverage validation)
|
| 13 |
+
# - scripts/validate_stamp_duty.py (acquisition cost)
|
| 14 |
+
# - scripts/validate_tax.py (fiscal obligations)
|
| 15 |
+
# - scripts/validate_lease.py (if leased asset)
|
| 16 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 17 |
+
# - references/countries/{jurisdiction}/zoning-law.md
|
| 18 |
+
# - references/countries/{jurisdiction}/lease-law.md
|
| 19 |
+
# Output: Full institutional investment memorandum — IC-ready
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## COMMAND: build-investment-memo
|
| 24 |
+
|
| 25 |
+
### PURPOSE
|
| 26 |
+
Produce a complete Investment Committee memorandum for a real estate or
|
| 27 |
+
infrastructure transaction. This document must be:
|
| 28 |
+
- Sufficiently detailed for an IC to make an investment decision
|
| 29 |
+
- Internally consistent (financial model matches stated assumptions)
|
| 30 |
+
- Jurisdiction-specific in all legal and fiscal analysis
|
| 31 |
+
- Honest about risks — not a marketing document
|
| 32 |
+
- Structured to apply all 7 Analytical Moves
|
| 33 |
+
|
| 34 |
+
The memo is NOT a marketing brochure. Its purpose is to enable
|
| 35 |
+
rigorous decision-making, not to sell the deal.
|
| 36 |
+
|
| 37 |
+
---
|
| 38 |
+
|
| 39 |
+
## STEP 0 — JURISDICTION GUARD
|
| 40 |
+
|
| 41 |
+
Run first, before any analysis:
|
| 42 |
+
```bash
|
| 43 |
+
python scripts/validate_jurisdiction.py \
|
| 44 |
+
--input "[property address]" \
|
| 45 |
+
--type [asset_type]
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
Load all three reference files for confirmed jurisdiction.
|
| 49 |
+
Run all applicable validation scripts before writing the memo.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## STEP 1 — GATHER INPUTS
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
REQUIRED:
|
| 57 |
+
□ Property address and description
|
| 58 |
+
□ Acquisition price / enterprise value
|
| 59 |
+
□ Asset type and current use
|
| 60 |
+
□ Rent roll or revenue projections
|
| 61 |
+
□ Operating expense data or assumptions
|
| 62 |
+
□ Proposed financing (loan amount, rate, term, amortisation)
|
| 63 |
+
□ Equity invested / proposed equity structure
|
| 64 |
+
□ Hold period and exit assumptions (cap rate, terminal value)
|
| 65 |
+
□ Key lease terms (if income-producing)
|
| 66 |
+
□ Buyer/investor entity type (individual, company, REIT, fund)
|
| 67 |
+
□ Seller background (motivated, distressed, market sale?)
|
| 68 |
+
|
| 69 |
+
USEFUL:
|
| 70 |
+
□ Comparable transactions (pricing evidence)
|
| 71 |
+
□ Market rent evidence (comparable lettings)
|
| 72 |
+
□ Planning status and development potential
|
| 73 |
+
□ Third-party reports (valuation, ESA, structural)
|
| 74 |
+
□ Legal DD summary
|
| 75 |
+
□ Tax DD summary
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
## STEP 2 — THE INVESTMENT MEMORANDUM STRUCTURE
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
```
|
| 85 |
+
╔══════════════════════════════════════════════════════════════════════╗
|
| 86 |
+
║ INVESTMENT MEMORANDUM ║
|
| 87 |
+
║ CONFIDENTIAL — FOR INVESTMENT COMMITTEE USE ONLY ║
|
| 88 |
+
╠══════════════════════════════════════════════════════════════════════╣
|
| 89 |
+
║ Property: [ADDRESS] ║
|
| 90 |
+
║ Asset type: [TYPE] ║
|
| 91 |
+
║ Jurisdiction:[COUNTRY — analysis label] ║
|
| 92 |
+
║ Price: [CURRENCY] [AMOUNT] ║
|
| 93 |
+
║ Date: [DATE] ║
|
| 94 |
+
║ Prepared by: [Agent v6.0] ║
|
| 95 |
+
╚══════════════════════════════════════════════════════════════════════╝
|
| 96 |
+
```
|
| 97 |
+
|
| 98 |
+
---
|
| 99 |
+
|
| 100 |
+
### SECTION 1 — EXECUTIVE SUMMARY AND RECOMMENDATION
|
| 101 |
+
|
| 102 |
+
```
|
| 103 |
+
EXECUTIVE SUMMARY
|
| 104 |
+
═══════════════════════════════════════════════════════════
|
| 105 |
+
RECOMMENDATION: [ACQUIRE / DECLINE / CONDITIONAL ACQUIRE]
|
| 106 |
+
Overall status: [GREEN / YELLOW / RED]
|
| 107 |
+
|
| 108 |
+
Transaction: [One-paragraph plain English summary of the deal]
|
| 109 |
+
|
| 110 |
+
Investment thesis: [2–3 sentences: why this asset, why now, why this price]
|
| 111 |
+
|
| 112 |
+
Key metrics (headline):
|
| 113 |
+
Acquisition price: [CURRENCY] [AMOUNT]
|
| 114 |
+
Net initial yield: [X]%
|
| 115 |
+
Equity IRR (base): [X]%
|
| 116 |
+
DSCR (base case): [X.XX]x [GREEN / YELLOW / RED]
|
| 117 |
+
LTV: [X]% [GREEN / YELLOW / RED]
|
| 118 |
+
WAULT to expiry: [X] years
|
| 119 |
+
|
| 120 |
+
Critical risks (top 3):
|
| 121 |
+
1. [Risk — one sentence]
|
| 122 |
+
2. [Risk — one sentence]
|
| 123 |
+
3. [Risk — one sentence]
|
| 124 |
+
|
| 125 |
+
Conditions to approval (if CONDITIONAL):
|
| 126 |
+
□ [Condition 1]
|
| 127 |
+
□ [Condition 2]
|
| 128 |
+
═══════════════════════════════════════════════════════════
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
---
|
| 132 |
+
|
| 133 |
+
### SECTION 2 — PROPERTY DESCRIPTION
|
| 134 |
+
|
| 135 |
+
```
|
| 136 |
+
PROPERTY DESCRIPTION
|
| 137 |
+
═══════════════════════════════════════════════════════════
|
| 138 |
+
Address: [FULL ADDRESS]
|
| 139 |
+
Legal description: [Title number / Finca registral / APN / Flurstück]
|
| 140 |
+
Asset type: [Office / Retail / Industrial / Logistics / Residential /
|
| 141 |
+
Mixed-use / Infrastructure]
|
| 142 |
+
Year built: [YYYY — or "estimated" if unknown]
|
| 143 |
+
Year last refurbished: [YYYY — or N/A]
|
| 144 |
+
Site area: [X] sqm / ha
|
| 145 |
+
Gross floor area: [X] sqm [measurement standard: RICS IPMS / BOMA / other]
|
| 146 |
+
Net lettable area: [X] sqm
|
| 147 |
+
Occupancy: [X]% by area / [X]% by rent roll
|
| 148 |
+
Number of floors: [X above grade / X below]
|
| 149 |
+
Specification: [Grade A / B / C — brief description of key features]
|
| 150 |
+
Condition: [Prime / Good / Fair / Requires capex — basis for assessment]
|
| 151 |
+
Parking: [X spaces — ratio: [X]/100sqm]
|
| 152 |
+
|
| 153 |
+
TITLE AND OWNERSHIP:
|
| 154 |
+
Current owner: [NAME]
|
| 155 |
+
Title type: [Freehold / Long leasehold — term and ground rent]
|
| 156 |
+
Title issues noted: [None / [specific issues]]
|
| 157 |
+
Source: [Land Registry / Registro / Grundbuch / DLD]
|
| 158 |
+
═══════════════════════════════════════════════════════════
|
| 159 |
+
```
|
| 160 |
+
|
| 161 |
+
---
|
| 162 |
+
|
| 163 |
+
### SECTION 3 — MARKET CONTEXT
|
| 164 |
+
|
| 165 |
+
```
|
| 166 |
+
MARKET CONTEXT — [JURISDICTION] — [SUBMARKET]
|
| 167 |
+
═══════════════════════════════════════════════════════════
|
| 168 |
+
Submarket: [Specific submarket / district]
|
| 169 |
+
Market rent: [CURRENCY X]/sqm/yr for [asset type] in this submarket
|
| 170 |
+
Evidence: [Comparable 1: address, date, rent / Comparable 2 / Comparable 3]
|
| 171 |
+
Market vacancy: [X]% (submarket)
|
| 172 |
+
Market yield (NIY): [X]% for comparable assets
|
| 173 |
+
Evidence: [Comparable transaction 1 / 2 / 3]
|
| 174 |
+
Rental growth trend: [+X% per annum over last [N] years — source]
|
| 175 |
+
Capital value trend: [CURRENCY X]/sqm — trend: [up / flat / down]
|
| 176 |
+
|
| 177 |
+
Supply pipeline: [X sqm of competing supply in [N km radius] — delivery [year]]
|
| 178 |
+
Demand drivers: [Employment growth / logistics demand / demographic / other]
|
| 179 |
+
Take-up: [X sqm per year — [N]-year average]
|
| 180 |
+
Market commentary: [2–3 sentences on current market dynamics]
|
| 181 |
+
═══════════════════════════════════════════════════════════
|
| 182 |
+
```
|
| 183 |
+
|
| 184 |
+
---
|
| 185 |
+
|
| 186 |
+
### SECTION 4 — TENANCY SCHEDULE AND INCOME
|
| 187 |
+
|
| 188 |
+
```
|
| 189 |
+
TENANCY SCHEDULE — [DATE]
|
| 190 |
+
═══════════════════════════════════════════════════════════
|
| 191 |
+
[For each tenant:]
|
| 192 |
+
Tenant: [LEGAL NAME]
|
| 193 |
+
Use: [Office / Retail / Industrial]
|
| 194 |
+
Area: [X] sqm ([X]% of total NLA)
|
| 195 |
+
Lease start: [DATE]
|
| 196 |
+
Lease expiry: [DATE] WAULT: [X.X years]
|
| 197 |
+
Break option: [DATE — tenant / landlord / mutual / ABSENT]
|
| 198 |
+
Passing rent: [CURRENCY] [AMOUNT]/yr ([CURRENCY X]/sqm)
|
| 199 |
+
Rent review: [Next: DATE — mechanism: OMR/CPI/fixed]
|
| 200 |
+
Market rent ERV: [CURRENCY] [AMOUNT]/yr (reversionary [+/-X]%)
|
| 201 |
+
|
| 202 |
+
[Repeat for each tenant]
|
| 203 |
+
─────────────────────────────────────────────────────────
|
| 204 |
+
TOTAL NLA: [X] sqm
|
| 205 |
+
TOTAL PASSING RENT: [CURRENCY] [AMOUNT]/yr
|
| 206 |
+
TOTAL ERV: [CURRENCY] [AMOUNT]/yr
|
| 207 |
+
WAULT (to break): [X.X] years
|
| 208 |
+
WAULT (to expiry): [X.X] years
|
| 209 |
+
OCCUPANCY: [X]% by area
|
| 210 |
+
VOID UNITS: [List — area, marketing period assumption]
|
| 211 |
+
═══════════════════════════════════════════════════════════
|
| 212 |
+
```
|
| 213 |
+
|
| 214 |
+
---
|
| 215 |
+
|
| 216 |
+
### SECTION 5 — FINANCIAL ANALYSIS
|
| 217 |
+
|
| 218 |
+
#### 5.1 Acquisition Cost Summary
|
| 219 |
+
|
| 220 |
+
```bash
|
| 221 |
+
python scripts/validate_stamp_duty.py \
|
| 222 |
+
--country [country] --value [price] \
|
| 223 |
+
--buyer-type [type] --asset-type [type] --region [region]
|
| 224 |
+
```
|
| 225 |
+
|
| 226 |
+
```
|
| 227 |
+
ACQUISITION COST SUMMARY
|
| 228 |
+
═══════════════════════════════════════════════════════════
|
| 229 |
+
Purchase price: [CURRENCY] [AMOUNT]
|
| 230 |
+
Transfer tax ([name]): [CURRENCY] [AMOUNT] ([X]%)
|
| 231 |
+
Legal fees: [CURRENCY] [AMOUNT] (~[X]%)
|
| 232 |
+
Agent/broker fee: [CURRENCY] [AMOUNT] ([X]%)
|
| 233 |
+
Financing costs: [CURRENCY] [AMOUNT]
|
| 234 |
+
Other DD costs: [CURRENCY] [AMOUNT]
|
| 235 |
+
─────────────────────────────────────────────────────────
|
| 236 |
+
TOTAL ACQUISITION COST: [CURRENCY] [AMOUNT] ([X]% above purchase price)
|
| 237 |
+
|
| 238 |
+
Equity required: [CURRENCY] [AMOUNT]
|
| 239 |
+
Debt: [CURRENCY] [AMOUNT]
|
| 240 |
+
LTV: [X]%
|
| 241 |
+
═══════════════════════════════════════════════════════════
|
| 242 |
+
```
|
| 243 |
+
|
| 244 |
+
#### 5.2 Income and Operating Statement
|
| 245 |
+
|
| 246 |
+
```
|
| 247 |
+
OPERATING STATEMENT — YEAR 1
|
| 248 |
+
═══════════════════════════════════════════════════════════
|
| 249 |
+
Gross Potential Rent (GPR): [CURRENCY] [AMOUNT]
|
| 250 |
+
Less: Vacancy allowance ([X]%): ([CURRENCY] [AMOUNT])
|
| 251 |
+
Less: Credit loss allowance ([X]%):([CURRENCY] [AMOUNT])
|
| 252 |
+
= Effective Gross Income (EGI): [CURRENCY] [AMOUNT]
|
| 253 |
+
Less: Operating expenses ([X]%): ([CURRENCY] [AMOUNT])
|
| 254 |
+
Property management: [AMOUNT]
|
| 255 |
+
Insurance: [AMOUNT]
|
| 256 |
+
Maintenance/repairs: [AMOUNT]
|
| 257 |
+
Property tax (annual):[AMOUNT]
|
| 258 |
+
Other: [AMOUNT]
|
| 259 |
+
= NET OPERATING INCOME (NOI): [CURRENCY] [AMOUNT]
|
| 260 |
+
= Cap rate (entry): [NOI÷Price] [X]%
|
| 261 |
+
= Net initial yield (NIY): [X]% [NOI÷(Price+Costs)]
|
| 262 |
+
═══════════════════════════════════════════════════════════
|
| 263 |
+
```
|
| 264 |
+
|
| 265 |
+
#### 5.3 Debt Service and DSCR
|
| 266 |
+
|
| 267 |
+
```bash
|
| 268 |
+
python scripts/validate_dscr.py \
|
| 269 |
+
--noi [NOI] --debt_service [DS] \
|
| 270 |
+
--jurisdiction [country] --asset_type [type]
|
| 271 |
+
```
|
| 272 |
+
|
| 273 |
+
```
|
| 274 |
+
DEBT SERVICE AND COVERAGE
|
| 275 |
+
═══════════════════════════════════════════════════════════
|
| 276 |
+
Loan amount: [CURRENCY] [AMOUNT]
|
| 277 |
+
Interest rate: [X]% ([fixed / floating — index + spread])
|
| 278 |
+
Amortisation: [Interest only / [X] years / [X]% annual]
|
| 279 |
+
Loan term: [X] years
|
| 280 |
+
Annual debt service: [CURRENCY] [AMOUNT]
|
| 281 |
+
Interest: [AMOUNT]
|
| 282 |
+
Amortisation: [AMOUNT]
|
| 283 |
+
|
| 284 |
+
DSCR: [X.XX]x [STATUS: GREEN / YELLOW / RED]
|
| 285 |
+
Threshold (normal): [X.XX]x
|
| 286 |
+
Threshold (stress): [X.XX]x
|
| 287 |
+
Headroom to threshold: [+X.XX]x / [+X]% deterioration before covenant breach
|
| 288 |
+
|
| 289 |
+
LTV: [X]% [STATUS: GREEN / YELLOW / RED]
|
| 290 |
+
Max LTV (normal): [X]%
|
| 291 |
+
Max LTV (stress): [X]%
|
| 292 |
+
Headroom: [X]pp before threshold / max additional loan: [CURRENCY AMOUNT]
|
| 293 |
+
|
| 294 |
+
Covenant summary: [List financial covenants from term sheet]
|
| 295 |
+
═══════════════════════════════════════════════════════════
|
| 296 |
+
```
|
| 297 |
+
|
| 298 |
+
#### 5.4 Returns Analysis
|
| 299 |
+
|
| 300 |
+
```
|
| 301 |
+
RETURNS ANALYSIS — [N]-YEAR HOLD
|
| 302 |
+
═══════════════════════════════════════════════════════════
|
| 303 |
+
Hold period: [N] years (from [DATE] to [DATE])
|
| 304 |
+
Exit cap rate: [X]%
|
| 305 |
+
Exit value: [CURRENCY] [AMOUNT] [Year N NOI ÷ exit cap]
|
| 306 |
+
Exit cap basis: [Entry cap + [X]bps haircut for age/risk]
|
| 307 |
+
Sales costs at exit: [CURRENCY] [AMOUNT] ([X]% of exit value)
|
| 308 |
+
Net sales proceeds: [CURRENCY] [AMOUNT]
|
| 309 |
+
Debt outstanding: [CURRENCY] [AMOUNT]
|
| 310 |
+
Net equity proceeds: [CURRENCY] [AMOUNT]
|
| 311 |
+
|
| 312 |
+
Equity cash flows:
|
| 313 |
+
Year 0: ([EQUITY INVESTED])
|
| 314 |
+
Year 1-N: [annual equity cash flow after debt service]
|
| 315 |
+
Year N: [exit equity proceeds]
|
| 316 |
+
|
| 317 |
+
Equity IRR: [X]% [vs. hurdle: X% — [ABOVE / BELOW]]
|
| 318 |
+
Equity multiple: [X.Xx]
|
| 319 |
+
Cash-on-cash yield: [X]% [Year 1 equity cash flow ÷ equity invested]
|
| 320 |
+
Total value created: [CURRENCY] [AMOUNT]
|
| 321 |
+
|
| 322 |
+
CGT / tax at exit:
|
| 323 |
+
[Jurisdiction-specific CGT — see Section 6]
|
| 324 |
+
Post-tax equity IRR: [X]%
|
| 325 |
+
═══════════════════════════════════════════════════════════
|
| 326 |
+
```
|
| 327 |
+
|
| 328 |
+
---
|
| 329 |
+
|
| 330 |
+
### SECTION 6 — TAX AND FISCAL ANALYSIS
|
| 331 |
+
|
| 332 |
+
```bash
|
| 333 |
+
python scripts/validate_tax.py \
|
| 334 |
+
--jurisdiction [country] --transaction sale \
|
| 335 |
+
--value [price] --entity-type [type]
|
| 336 |
+
```
|
| 337 |
+
|
| 338 |
+
```
|
| 339 |
+
FISCAL ANALYSIS — [JURISDICTION]
|
| 340 |
+
═══════════════════════════════════════════════════════════
|
| 341 |
+
[Run check-tax-compliance command for full detail]
|
| 342 |
+
|
| 343 |
+
ACQUISITION TAXES:
|
| 344 |
+
[ITP/SDLT/GrESt/droits/DLD — name, rate, amount, deadline]
|
| 345 |
+
|
| 346 |
+
ONGOING TAXES:
|
| 347 |
+
[IBI/Council Tax/Grundsteuer/Taxe foncière — annual amount]
|
| 348 |
+
[VAT/IVA on rent — rate, quarterly filing obligation]
|
| 349 |
+
|
| 350 |
+
DISPOSAL TAXES (at exit):
|
| 351 |
+
[CGT rate — estimated amount — reporting deadline]
|
| 352 |
+
[Non-resident withholding if applicable]
|
| 353 |
+
|
| 354 |
+
CRITICAL TAX OBLIGATIONS:
|
| 355 |
+
[Any RED tax flags — e.g. NR retention, FIRPTA, TDS]
|
| 356 |
+
═══════════════════════════════════════════════════════════
|
| 357 |
+
```
|
| 358 |
+
|
| 359 |
+
---
|
| 360 |
+
|
| 361 |
+
### SECTION 7 — STRESS TEST
|
| 362 |
+
|
| 363 |
+
Apply stress-test command inline:
|
| 364 |
+
|
| 365 |
+
```
|
| 366 |
+
STRESS TEST SUMMARY — [JURISDICTION]
|
| 367 |
+
═══════════════════════════════════════════════════════════
|
| 368 |
+
BASE MILD(−5%) MOD(−10%) SEV(−20%) TAIL(−30%)
|
| 369 |
+
DSCR: [X.XX]x [X.XX]x [X.XX]x [X.XX]x [X.XX]x
|
| 370 |
+
Status: GREEN GREEN YELLOW RED RED
|
| 371 |
+
Eq. IRR: [X]% [X]% [X]% [X]% [X]%
|
| 372 |
+
Exit LTV: [X]% [X]% [X]% [X]% [X]%
|
| 373 |
+
|
| 374 |
+
FIRST COVENANT BREACH: [Scenario S[n]] — rent decline of [−X]%
|
| 375 |
+
BREAKEVEN RENT: [CURRENCY X]/sqm/yr ([−X]% from passing)
|
| 376 |
+
═══════════════════════════════════════════════════════════
|
| 377 |
+
```
|
| 378 |
+
|
| 379 |
+
---
|
| 380 |
+
|
| 381 |
+
### SECTION 8 — RISK MATRIX
|
| 382 |
+
|
| 383 |
+
Apply all 7 Analytical Moves. Present risks in 3-tier table:
|
| 384 |
+
|
| 385 |
+
```
|
| 386 |
+
RISK MATRIX — [JURISDICTION]
|
| 387 |
+
═══════════════════════════════════════════════════════════
|
| 388 |
+
RISK MOVE LIKELIHOOD IMPACT RATING MITIGATION
|
| 389 |
+
─────────────────────────────────────────────────────────
|
| 390 |
+
[Risk 1] M1 [H/M/L] [H/M/L] 🔴/⚠/✅ [Action]
|
| 391 |
+
[Risk 2] M3 [H/M/L] [H/M/L] 🔴/⚠/✅ [Action]
|
| 392 |
+
[Compound risk] M7 [H/M/L] [H/M/L] 🔴/⚠/✅ [Action]
|
| 393 |
+
...
|
| 394 |
+
═══════════════════════════════════════════════════════════
|
| 395 |
+
|
| 396 |
+
🔴 RED RISKS (require resolution before IC approval):
|
| 397 |
+
[Each RED risk in its own block — trigger / consequence / required action]
|
| 398 |
+
```
|
| 399 |
+
|
| 400 |
+
---
|
| 401 |
+
|
| 402 |
+
### SECTION 9 — LEGAL DUE DILIGENCE SUMMARY
|
| 403 |
+
|
| 404 |
+
```
|
| 405 |
+
LEGAL DUE DILIGENCE — [JURISDICTION]
|
| 406 |
+
═══════════════════════════════════════════════════════════
|
| 407 |
+
Title: [Clean / Issues: list]
|
| 408 |
+
Encumbrances: [Mortgages / Easements / Covenants / Charges — describe]
|
| 409 |
+
Leases: [See tenancy schedule — completeness: X%]
|
| 410 |
+
Planning: [Confirmed / Issues: describe]
|
| 411 |
+
Environmental: [Phase 1: clean / Phase 2 required / Issues]
|
| 412 |
+
Building regs: [Certificates obtained / ABSENT]
|
| 413 |
+
Outstanding items: [List — with owner and resolution deadline]
|
| 414 |
+
|
| 415 |
+
Legal counsel: [Name firm — engaged / to be engaged]
|
| 416 |
+
═══════════════════════════════════════════════════════════
|
| 417 |
+
```
|
| 418 |
+
|
| 419 |
+
---
|
| 420 |
+
|
| 421 |
+
### SECTION 10 — CONDITIONS PRECEDENT AND TIMELINE
|
| 422 |
+
|
| 423 |
+
```
|
| 424 |
+
DEAL TIMELINE
|
| 425 |
+
═══════════════════════════════════════════════════════════
|
| 426 |
+
IC approval: [TARGET DATE]
|
| 427 |
+
Exchange / SPA: [TARGET DATE]
|
| 428 |
+
CP satisfaction: [TARGET DATE]
|
| 429 |
+
□ [CP 1 — e.g. satisfactory legal DD]
|
| 430 |
+
□ [CP 2 — e.g. financing committed]
|
| 431 |
+
□ [CP 3 — e.g. planning confirmed]
|
| 432 |
+
Longstop date: [DATE]
|
| 433 |
+
Completion: [TARGET DATE]
|
| 434 |
+
First rent receipt: [DATE]
|
| 435 |
+
|
| 436 |
+
POST-COMPLETION:
|
| 437 |
+
□ Transfer tax filing: [Date — per jurisdiction]
|
| 438 |
+
□ Title registration: [Date — per jurisdiction]
|
| 439 |
+
□ Non-resident WHT: [Date — if applicable]
|
| 440 |
+
□ Tax filings: [Dates — per check-tax-compliance]
|
| 441 |
+
═══════════════════════════════════════════════════════════
|
| 442 |
+
```
|
| 443 |
+
|
| 444 |
+
---
|
| 445 |
+
|
| 446 |
+
### SECTION 11 — RECOMMENDATION
|
| 447 |
+
|
| 448 |
+
```
|
| 449 |
+
FINAL RECOMMENDATION
|
| 450 |
+
═══════════════════════════════════════════════════════════
|
| 451 |
+
RECOMMENDATION: [ACQUIRE / CONDITIONAL ACQUIRE / DECLINE]
|
| 452 |
+
Status: [GREEN / YELLOW / RED]
|
| 453 |
+
|
| 454 |
+
Rationale:
|
| 455 |
+
[3–5 sentences: investment thesis confirmed, key risks manageable,
|
| 456 |
+
returns above hurdle, conditions satisfied / not satisfied]
|
| 457 |
+
|
| 458 |
+
Conditions to approval (if CONDITIONAL):
|
| 459 |
+
□ [Condition 1 — specific and measurable]
|
| 460 |
+
□ [Condition 2]
|
| 461 |
+
|
| 462 |
+
Maximum approved price: [CURRENCY] [AMOUNT]
|
| 463 |
+
Minimum acceptable yield:[X]%
|
| 464 |
+
Investment period: [Board / IC / Delegated authority — who approves]
|
| 465 |
+
|
| 466 |
+
Prepared by: Real Estate & Infrastructure Agent v6.0
|
| 467 |
+
[Analysis under {country} law — as of {date}]
|
| 468 |
+
Source: references/countries/{jurisdiction}/ (v6.0)
|
| 469 |
+
This document does not constitute investment advice.
|
| 470 |
+
All financial projections are illustrative. Verify with qualified advisors.
|
| 471 |
+
═══════════════════════════════════════════════════════════
|
| 472 |
+
```
|
commands/check-tax-compliance.md
ADDED
|
@@ -0,0 +1,375 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: check-tax-compliance
|
| 2 |
+
# Version: 6.0 — Multi-jurisdiction rewrite
|
| 3 |
+
# Trigger phrases: "tax compliance", "check tax obligations", "stamp duty",
|
| 4 |
+
# "what tax do I owe", "capital gains tax", "CGT", "transfer tax",
|
| 5 |
+
# "withholding tax", "retention", "retención", "Modelo 211", "FIRPTA",
|
| 6 |
+
# "TDS on property", "Form 26QB", "plusvalía", "SDLT", "Grunderwerbsteuer",
|
| 7 |
+
# "droits de mutation", "DLD fee", "ITP", "AJD", "IVA inmobiliaria",
|
| 8 |
+
# "tax on sale", "tax on purchase", "stamp duty land tax", "non-resident tax",
|
| 9 |
+
# "IRNR", "NRCGT", "property tax checklist", "tax due diligence",
|
| 10 |
+
# "what taxes apply", "tax obligations on property", "check taxes"
|
| 11 |
+
# Dependencies:
|
| 12 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 13 |
+
# - scripts/validate_stamp_duty.py (purchase/transfer tax)
|
| 14 |
+
# - scripts/validate_tax.py (compliance checklist)
|
| 15 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 16 |
+
# Output: Jurisdiction-specific tax checklist + quantified obligations + deadlines + sanctions
|
| 17 |
+
|
| 18 |
+
---
|
| 19 |
+
|
| 20 |
+
## COMMAND: check-tax-compliance
|
| 21 |
+
|
| 22 |
+
### PURPOSE
|
| 23 |
+
Generate a complete, jurisdiction-specific tax compliance checklist for a real estate
|
| 24 |
+
or infrastructure transaction. Every item is:
|
| 25 |
+
- Identified (what the obligation is)
|
| 26 |
+
- Quantified (estimated amount where calculable)
|
| 27 |
+
- Deadlined (when it must be done)
|
| 28 |
+
- Sanctioned (consequence of non-compliance)
|
| 29 |
+
- Assigned (which party bears the obligation)
|
| 30 |
+
|
| 31 |
+
This command replaces guesswork with a structured pre-closing checklist.
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## EXECUTION PROTOCOL
|
| 36 |
+
|
| 37 |
+
### STEP 0 — JURISDICTION GUARD (MANDATORY)
|
| 38 |
+
|
| 39 |
+
```
|
| 40 |
+
JURISDICTION GUARD — check-tax-compliance
|
| 41 |
+
══════════════════════════════════════════════════════════
|
| 42 |
+
This command will NOT execute without confirmed jurisdiction.
|
| 43 |
+
Tax rates, withholding rates, and deadlines are COUNTRY-SPECIFIC.
|
| 44 |
+
Applying the wrong jurisdiction is worse than no analysis.
|
| 45 |
+
══════════════════════════════════════════════════════════
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
Run jurisdiction confirmation before proceeding:
|
| 49 |
+
```bash
|
| 50 |
+
python scripts/validate_jurisdiction.py \
|
| 51 |
+
--input "[property address / description]" \
|
| 52 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 53 |
+
```
|
| 54 |
+
|
| 55 |
+
If jurisdiction not confirmed: STOP. Run `detect-jurisdiction` command first.
|
| 56 |
+
|
| 57 |
+
Load confirmed jurisdiction's tax reference file:
|
| 58 |
+
→ `references/countries/{jurisdiction}/tax-law.md`
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
### STEP 1 — GATHER REQUIRED INPUTS
|
| 63 |
+
|
| 64 |
+
Collect the following before generating the checklist.
|
| 65 |
+
Ask the user for any missing items — do not assume.
|
| 66 |
+
|
| 67 |
+
```
|
| 68 |
+
REQUIRED INPUTS:
|
| 69 |
+
□ Transaction type: sale / purchase / lease / development / refinancing
|
| 70 |
+
□ Property country and region/state (for sub-national rates)
|
| 71 |
+
□ Transaction value (in local currency)
|
| 72 |
+
□ Asset type: residential / commercial / industrial / mixed
|
| 73 |
+
□ Buyer profile: resident individual / company / NRI / non-resident / REIT / trust
|
| 74 |
+
□ Seller profile: resident individual / company / NRI / non-resident
|
| 75 |
+
□ Is property new build or resale? (Spain/France: critical for IVA/TVA vs. ITP/droits)
|
| 76 |
+
□ Is buyer acquiring for own use or investment?
|
| 77 |
+
□ Any known special circumstances: first-time buyer, over-65 seller, 1031 exchange,
|
| 78 |
+
reinvestment exemption, SOCIMI/REIT structure, FIRPTA certificate
|
| 79 |
+
|
| 80 |
+
USEFUL ADDITIONAL INPUTS:
|
| 81 |
+
□ Purchase price breakdown (land vs. building vs. fittings)
|
| 82 |
+
□ Acquisition cost (for CGT computation if seller)
|
| 83 |
+
□ Date of original acquisition
|
| 84 |
+
□ Whether seller has resided in property (for PPR/IRPF exemptions)
|
| 85 |
+
□ Whether property is leased (for IVA/VAT analysis)
|
| 86 |
+
□ Financing: cash or mortgage? Loan amount if mortgaged
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
---
|
| 90 |
+
|
| 91 |
+
### STEP 2 — RUN TRANSFER TAX ESTIMATE
|
| 92 |
+
|
| 93 |
+
```bash
|
| 94 |
+
python scripts/validate_stamp_duty.py \
|
| 95 |
+
--country [country] \
|
| 96 |
+
--value [transaction_value] \
|
| 97 |
+
--buyer-type [resident|non_resident] \
|
| 98 |
+
--asset-type [residential|commercial|industrial] \
|
| 99 |
+
--region [ccaa|state|bundesland|emirate] \
|
| 100 |
+
[--is-new] [--additional-dwelling]
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
Parse output and present:
|
| 104 |
+
|
| 105 |
+
```
|
| 106 |
+
TRANSFER TAX ESTIMATE — [JURISDICTION] — [DATE]
|
| 107 |
+
══════════════════════════════════════════════════════════
|
| 108 |
+
Transaction value: [CURRENCY] [AMOUNT]
|
| 109 |
+
Asset type: [TYPE] Region: [REGION]
|
| 110 |
+
Buyer type: [RESIDENT / NON-RESIDENT]
|
| 111 |
+
══════════════════════════════════════════════════════════
|
| 112 |
+
TAX COMPONENTS:
|
| 113 |
+
[Tax 1 name]: [RATE]% = [CURRENCY] [AMOUNT]
|
| 114 |
+
[Tax 2 name]: [RATE]% = [CURRENCY] [AMOUNT]
|
| 115 |
+
[Tax 3 name]: [RATE]% = [CURRENCY] [AMOUNT]
|
| 116 |
+
─────────────────────────────────────��───────────
|
| 117 |
+
TOTAL BUYER: [RATE]% = [CURRENCY] [AMOUNT]
|
| 118 |
+
|
| 119 |
+
NON-RESIDENT NOTE: [if applicable — withholding mechanism + amount]
|
| 120 |
+
══════════════════════════════════════════════════════════
|
| 121 |
+
Source: references/countries/[jurisdiction]/tax-law.md
|
| 122 |
+
Verify current rates with local counsel before transaction.
|
| 123 |
+
══════════════════════════════════════════════════════════
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
---
|
| 127 |
+
|
| 128 |
+
### STEP 3 — GENERATE TAX COMPLIANCE CHECKLIST
|
| 129 |
+
|
| 130 |
+
```bash
|
| 131 |
+
python scripts/validate_tax.py \
|
| 132 |
+
--jurisdiction [country] \
|
| 133 |
+
--transaction [sale|lease|purchase|development|refinancing] \
|
| 134 |
+
--value [transaction_value] \
|
| 135 |
+
--entity-type [individual|company|non_resident|reit|nri]
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
+
Parse JSON output. Present each checklist item in this format:
|
| 139 |
+
|
| 140 |
+
```
|
| 141 |
+
[ITEM ID] — [ITEM NAME]
|
| 142 |
+
══════════════════════════════════════════════════════════
|
| 143 |
+
Obligated party: [Buyer / Seller / Both / Agent]
|
| 144 |
+
Description: [What must be done — full detail]
|
| 145 |
+
Amount (est.): [Currency + amount if calculable, or "see calculation below"]
|
| 146 |
+
Deadline: [Specific date or "within X days of [event]"]
|
| 147 |
+
Filing method: [Form name + submission method]
|
| 148 |
+
Consequence of
|
| 149 |
+
non-compliance: [Specific penalty / interest / criminal exposure]
|
| 150 |
+
Status: [ ] PENDING [ ] DONE [ ] N/A
|
| 151 |
+
══════════════════════════════════════════════════════════
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
---
|
| 155 |
+
|
| 156 |
+
### STEP 4 — CAPITAL GAINS ANALYSIS (if sale transaction)
|
| 157 |
+
|
| 158 |
+
If transaction is a sale and capital gains may arise:
|
| 159 |
+
|
| 160 |
+
```
|
| 161 |
+
CAPITAL GAINS ANALYSIS — [JURISDICTION]
|
| 162 |
+
══════════════════════════════════════════════════════════
|
| 163 |
+
Seller profile: [resident / non-resident / company]
|
| 164 |
+
Asset type: [residential / commercial]
|
| 165 |
+
Holding period: [N years — STCG or LTCG classification]
|
| 166 |
+
══════════════════════════════════════════════════════════
|
| 167 |
+
COMPUTATION:
|
| 168 |
+
Sale consideration: [CURRENCY] [AMOUNT]
|
| 169 |
+
Less: Acquisition cost: [CURRENCY] [AMOUNT]
|
| 170 |
+
Less: Improvement costs: [CURRENCY] [AMOUNT]
|
| 171 |
+
Less: Transfer expenses: [CURRENCY] [AMOUNT]
|
| 172 |
+
─────────────────────────────────────────────────
|
| 173 |
+
Gross gain: [CURRENCY] [AMOUNT]
|
| 174 |
+
Less: Applicable exemption: [CURRENCY] [AMOUNT] ([type])
|
| 175 |
+
Taxable gain: [CURRENCY] [AMOUNT]
|
| 176 |
+
× Tax rate: [RATE]%
|
| 177 |
+
= Estimated CGT: [CURRENCY] [AMOUNT]
|
| 178 |
+
|
| 179 |
+
EXEMPTIONS CHECKED:
|
| 180 |
+
□ [Exemption 1]: [Applicable / Not applicable — reason]
|
| 181 |
+
□ [Exemption 2]: [Applicable / Not applicable — reason]
|
| 182 |
+
□ [Exemption 3]: [Applicable / Not applicable — reason]
|
| 183 |
+
|
| 184 |
+
WITHHOLDING NOTE:
|
| 185 |
+
[If non-resident seller: withholding mechanism, rate, who withholds, deadline]
|
| 186 |
+
══════════════════════════════════════════════════════════
|
| 187 |
+
```
|
| 188 |
+
|
| 189 |
+
#### Jurisdiction-specific CGT rules to apply:
|
| 190 |
+
|
| 191 |
+
**SPAIN**:
|
| 192 |
+
- Resident: IRPF savings rate 19–28% (2024 — see tax-law.md §5)
|
| 193 |
+
- Non-resident EU/EEA: IRNR 19% | Non-EU: 24%
|
| 194 |
+
- Buyer withholds **3% of price** → Modelo 211 within 30 days (IRNR Art.25.2)
|
| 195 |
+
- Exemptions: over-65 selling main residence; reinvestment (Art.38 LIRPF)
|
| 196 |
+
- **Plusvalía**: calculate by BOTH methods (STC TC 26/2021); present both computations
|
| 197 |
+
- Loss on land: NO plusvalía due (STC TC 59/2017)
|
| 198 |
+
|
| 199 |
+
**UK**:
|
| 200 |
+
- Residential: 18% (basic) / 28% (higher rate) | Commercial: 10% / 20%
|
| 201 |
+
- Annual exempt: £3,000 (2024-25)
|
| 202 |
+
- **60-day reporting**: online via HMRC UK Property Account — MANDATORY
|
| 203 |
+
- PPR relief: full exemption if main residence throughout + 9-month final period
|
| 204 |
+
- Non-resident: same 60-day rule (NRCGT since April 2015 residential, 2019 commercial)
|
| 205 |
+
|
| 206 |
+
**USA**:
|
| 207 |
+
- LTCG (>12 months): 0% / 15% / 20% based on income thresholds
|
| 208 |
+
- NIIT: +3.8% if MAGI > $200K/$250K
|
| 209 |
+
- Depreciation recapture: max 25% (§1250 unrecaptured gain)
|
| 210 |
+
- **FIRPTA**: if foreign seller → buyer withholds 15% of amount realised → Form 8288 within 20 days
|
| 211 |
+
- 1031 exchange: confirm QI engaged before closing; 45-day ID; 180-day close
|
| 212 |
+
- §121 exclusion: $250K/$500K if primary residence ≥2 of last 5 years
|
| 213 |
+
|
| 214 |
+
**FRANCE**:
|
| 215 |
+
- IR 19% + PS 17.2% = 36.2% (without abatements)
|
| 216 |
+
- Abatements: full IR exemption at 22 years; full PS exemption at 30 years
|
| 217 |
+
- Résidence principale: always exempt
|
| 218 |
+
- Non-resident hors UE/EEE: 26.5% IR minimum + 17.2% PS
|
| 219 |
+
- Représentant fiscal: required if cession > EUR 150,000 by non-EU/EEA
|
| 220 |
+
|
| 221 |
+
**GERMANY**:
|
| 222 |
+
- Spekulationssteuer: held < 10 years → taxed as ordinary income (14–45%)
|
| 223 |
+
- Held ≥ 10 years → **exempt** (individuals)
|
| 224 |
+
- Own occupation in Veräußerungsjahr + 2 prior years → exempt within 10 years
|
| 225 |
+
- Companies: always taxable; KSt 15% + GewSt (~15%) = ~30%
|
| 226 |
+
- GrESt: buyer pays; rate by Bundesland (3.5–6.5%)
|
| 227 |
+
|
| 228 |
+
**INDIA**:
|
| 229 |
+
- LTCG (>24 months): 12.5% WITHOUT indexation (Finance Act 2024 — post 23 July 2024)
|
| 230 |
+
- STCG (≤24 months): slab rate (up to 30%)
|
| 231 |
+
- **Section 50C**: if circle rate > 110% of price → compute gain on circle rate
|
| 232 |
+
- TDS: **buyer deducts 1%** on consideration > INR 50L → Form 26QB within 30 days
|
| 233 |
+
- NRI seller: Sec.195 TDS per DTAA; apply for lower WHT certificate
|
| 234 |
+
- Exemptions: Sec.54 (resi→resi, cap INR 10Cr), Sec.54EC (bonds, cap INR 50L within 6 months)
|
| 235 |
+
|
| 236 |
+
**UAE**:
|
| 237 |
+
- **No CGT** for individuals on property disposals
|
| 238 |
+
- Companies: UAE CT at 9% may apply if property dealing is a business activity
|
| 239 |
+
- DLD transfer fee 4%: check if covered; trustee fee AED 4,000 (>AED 500K properties)
|
| 240 |
+
- No annual property tax
|
| 241 |
+
- VAT: 5% on commercial property sale by registered business
|
| 242 |
+
|
| 243 |
+
---
|
| 244 |
+
|
| 245 |
+
### STEP 5 — ONGOING COMPLIANCE (LEASE / HOLD PERIOD)
|
| 246 |
+
|
| 247 |
+
If holding the asset as a rental investment, generate the ongoing compliance calendar:
|
| 248 |
+
|
| 249 |
+
```
|
| 250 |
+
ONGOING COMPLIANCE CALENDAR — [JURISDICTION] — [ASSET TYPE]
|
| 251 |
+
══════════════════════════════════════════════════════════
|
| 252 |
+
ANNUAL OBLIGATIONS:
|
| 253 |
+
[Month]: [Obligation — e.g. "File Modelo 303 IVA Q4 — deadline 30 Jan"]
|
| 254 |
+
[Month]: [Obligation — e.g. "IBI payment — per municipal calendar Aug-Nov"]
|
| 255 |
+
[Month]: [Obligation — e.g. "Annual ATED return — 30 April (if UK company)"]
|
| 256 |
+
|
| 257 |
+
QUARTERLY OBLIGATIONS:
|
| 258 |
+
[Q1/Q2/Q3/Q4]: [IVA/VAT return / IRPF retention / TDS quarterly]
|
| 259 |
+
|
| 260 |
+
MONTHLY OBLIGATIONS:
|
| 261 |
+
[Monthly]: [IVA invoice to commercial tenant / Ejari renewal / DEWA payments]
|
| 262 |
+
|
| 263 |
+
EVENT-TRIGGERED:
|
| 264 |
+
On each rent payment: [IVA charge? / IRPF retention? / TDS deduction?]
|
| 265 |
+
On lease renewal: [New stamp duty? / Ejari re-registration? / SDLT on new NPV?]
|
| 266 |
+
On any disposal: [CGT reporting deadline / WHT mechanism]
|
| 267 |
+
══════════════════════════════════════════════════════════
|
| 268 |
+
```
|
| 269 |
+
|
| 270 |
+
---
|
| 271 |
+
|
| 272 |
+
### STEP 6 — RED FLAGS FROM TAX ANALYSIS
|
| 273 |
+
|
| 274 |
+
After completing Steps 1–5, explicitly surface any RED items:
|
| 275 |
+
|
| 276 |
+
Apply MOVE 3 (Absence Detection) to the tax analysis:
|
| 277 |
+
|
| 278 |
+
```
|
| 279 |
+
TAX RED FLAGS DETECTED
|
| 280 |
+
══════════════════════════════════════════════════════════
|
| 281 |
+
[For each RED item:]
|
| 282 |
+
|
| 283 |
+
🔴 [TAX RED FLAG TITLE]
|
| 284 |
+
Trigger: [What was found or not found]
|
| 285 |
+
Rule: [Statute / reference with section number]
|
| 286 |
+
Consequence: [Specific legal/financial consequence if not resolved]
|
| 287 |
+
Required action: [What must be done, by whom, by when]
|
| 288 |
+
══════════════════════════════════════════════════════════
|
| 289 |
+
```
|
| 290 |
+
|
| 291 |
+
**Automatic RED triggers in this command**:
|
| 292 |
+
- Spain: non-resident seller without buyer Modelo 211 configuration
|
| 293 |
+
- Spain: plusvalía not calculated by BOTH methods (post STC TC 26/2021)
|
| 294 |
+
- Spain: ITP vs IVA determination not made (resale vs new build)
|
| 295 |
+
- UK: SDLT return filing deadline not calendared
|
| 296 |
+
- UK: CGT 60-day residential reporting not scheduled
|
| 297 |
+
- USA: FIRPTA withholding not arranged for foreign seller
|
| 298 |
+
- USA: 1031 exchange with QI not engaged before closing
|
| 299 |
+
- India: TDS Form 26QB not scheduled for consideration > INR 50L
|
| 300 |
+
- India: Section 50C not checked against circle rate
|
| 301 |
+
- India: Finance Act 2024 indexation change not applied to LTCG computation
|
| 302 |
+
- UAE: commercial property VAT 5% not confirmed
|
| 303 |
+
- All jurisdictions: withholding obligation identified but mechanism not configured
|
| 304 |
+
|
| 305 |
+
---
|
| 306 |
+
|
| 307 |
+
### STEP 7 — PROFESSIONAL REFERRAL MATRIX
|
| 308 |
+
|
| 309 |
+
For every issue that requires specialist input, name the specialist type:
|
| 310 |
+
|
| 311 |
+
```
|
| 312 |
+
PROFESSIONAL REFERRALS REQUIRED
|
| 313 |
+
══════════════════════════════════════════════════════════
|
| 314 |
+
[Issue] → Specialist type: [Name specific type]
|
| 315 |
+
|
| 316 |
+
Spain ITP/IVA / Plusvalía: Gestor administrativo or Abogado fiscal
|
| 317 |
+
Spain non-resident withholding: Asesor fiscal / Gestoría especializada en NR
|
| 318 |
+
UK SDLT complex structures: UK solicitor specialising in property tax
|
| 319 |
+
UK CGT computation: UK chartered accountant (ACCA/ICAEW)
|
| 320 |
+
USA 1031 exchange: Qualified Intermediary (QI) — must engage before closing
|
| 321 |
+
USA FIRPTA compliance: US real estate attorney + QI
|
| 322 |
+
France notaire coordination: Notaire (handles droits de mutation at closing)
|
| 323 |
+
France plus-value: Expert-comptable / Notaire
|
| 324 |
+
Germany GrESt / Notar: German Notar (mandatory for property transactions)
|
| 325 |
+
Germany Spekulationssteuer: Steuerberater
|
| 326 |
+
India TDS / stamp duty: Chartered Accountant (ICAI member) + Advocate
|
| 327 |
+
India FEMA / NRI compliance: Company Secretary or Advocate specialising in FEMA
|
| 328 |
+
UAE DLD / DLD trustee: RERA-registered real estate agent + DLD trustee office
|
| 329 |
+
UAE CT analysis: UAE Tax Agent (FTA-registered)
|
| 330 |
+
══════════════════════════════════════════════════════════
|
| 331 |
+
```
|
| 332 |
+
|
| 333 |
+
---
|
| 334 |
+
|
| 335 |
+
### STEP 8 — OUTPUT SUMMARY
|
| 336 |
+
|
| 337 |
+
Produce a final summary in this format:
|
| 338 |
+
|
| 339 |
+
```
|
| 340 |
+
TAX COMPLIANCE SUMMARY — [TRANSACTION] — [JURISDICTION] — [DATE]
|
| 341 |
+
══════════════════════════════════════════════════════════════════
|
| 342 |
+
|
| 343 |
+
TRANSACTION VALUE: [CURRENCY] [AMOUNT]
|
| 344 |
+
TOTAL TAX COST: [CURRENCY] [AMOUNT] ([X]% of transaction value)
|
| 345 |
+
|
| 346 |
+
Buyer's tax cost: [CURRENCY] [AMOUNT]
|
| 347 |
+
Seller's tax cost: [CURRENCY] [AMOUNT]
|
| 348 |
+
|
| 349 |
+
CHECKLIST SUMMARY:
|
| 350 |
+
Total items: [N]
|
| 351 |
+
DONE: [N]
|
| 352 |
+
PENDING: [N] ← action required before closing
|
| 353 |
+
N/A: [N]
|
| 354 |
+
|
| 355 |
+
STATUS: [GREEN / YELLOW / RED]
|
| 356 |
+
|
| 357 |
+
CRITICAL DEADLINES:
|
| 358 |
+
[Deadline 1]: [Description] — due [DATE / within X days of closing]
|
| 359 |
+
[Deadline 2]: [Description] — due [DATE / within X days of closing]
|
| 360 |
+
[Deadline 3]: [Description] — due [DATE / within X days of closing]
|
| 361 |
+
|
| 362 |
+
RED FLAGS: [N] [List titles]
|
| 363 |
+
|
| 364 |
+
NEXT ACTIONS:
|
| 365 |
+
1. [Most urgent action — before closing]
|
| 366 |
+
2. [Second action — at closing]
|
| 367 |
+
3. [Post-closing action — within X days]
|
| 368 |
+
|
| 369 |
+
══════════════════════════════════════════════════════════════════
|
| 370 |
+
DISCLAIMER: This is a structured analytical framework. It does not
|
| 371 |
+
constitute tax advice. All obligations must be verified with
|
| 372 |
+
qualified local tax counsel before any transaction.
|
| 373 |
+
Source: references/countries/[jurisdiction]/tax-law.md (v6.0)
|
| 374 |
+
══════════════════════════════════════════════════════════════════
|
| 375 |
+
```
|
commands/check-zoning.md
ADDED
|
@@ -0,0 +1,322 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: check-zoning
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "check zoning", "zoning", "planning permission", "use class",
|
| 4 |
+
# "permitted development", "FAR", "floor area ratio", "PGOU", "change of use",
|
| 5 |
+
# "planning consent", "CEQA", "NEPA", "EIA", "building permit",
|
| 6 |
+
# "licencia de obras", "Baugenehmigung", "PDR", "prior approval",
|
| 7 |
+
# "Section 106", "CIL", "Class E", "planning risk", "planning status",
|
| 8 |
+
# "clasificación del suelo", "calificación urbanística", "uso permitido",
|
| 9 |
+
# "planning due diligence", "planning history", "development potential"
|
| 10 |
+
# Dependencies:
|
| 11 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 12 |
+
# - references/countries/{jurisdiction}/zoning-law.md
|
| 13 |
+
# Output: Zoning status card + development potential + planning risk rating + DD checklist
|
| 14 |
+
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
## COMMAND: check-zoning
|
| 18 |
+
|
| 19 |
+
### PURPOSE
|
| 20 |
+
Analyse the planning and zoning status of a property to:
|
| 21 |
+
1. Confirm the current lawful use and its compatibility with the intended use
|
| 22 |
+
2. Identify the applicable planning framework (Use Classes, FAR, permits)
|
| 23 |
+
3. Map the entitlement path for any proposed development or change of use
|
| 24 |
+
4. Size the planning risk — timeline, cost, probability of success
|
| 25 |
+
5. Produce a planning due diligence checklist
|
| 26 |
+
|
| 27 |
+
Planning risk is often the most underestimated risk in real estate transactions.
|
| 28 |
+
A property that cannot be used as intended — or cannot be developed — has
|
| 29 |
+
fundamentally impaired value.
|
| 30 |
+
|
| 31 |
+
---
|
| 32 |
+
|
| 33 |
+
## STEP 0 — JURISDICTION GUARD
|
| 34 |
+
|
| 35 |
+
```
|
| 36 |
+
JURISDICTION GUARD — check-zoning
|
| 37 |
+
══════════════════════════════════════════════════════════
|
| 38 |
+
Planning law is ENTIRELY JURISDICTION-SPECIFIC.
|
| 39 |
+
UK Use Classes Order (2020), USA Euclidean zoning, Spain PGOU,
|
| 40 |
+
Germany BauGB / BauNVO, France PLU, India Master Plan / RERA,
|
| 41 |
+
UAE freehold zones / DDA — are completely different frameworks.
|
| 42 |
+
No analysis without confirmed jurisdiction.
|
| 43 |
+
══════════════════════════════════════════════════════════
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
```bash
|
| 47 |
+
python scripts/validate_jurisdiction.py \
|
| 48 |
+
--input "[property address]" \
|
| 49 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
Load: `references/countries/{jurisdiction}/zoning-law.md`
|
| 53 |
+
|
| 54 |
+
For cross-border projects (e.g. infrastructure spanning multiple jurisdictions):
|
| 55 |
+
load zoning reference for each jurisdiction.
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
## STEP 1 — GATHER INPUTS
|
| 60 |
+
|
| 61 |
+
```
|
| 62 |
+
REQUIRED INPUTS:
|
| 63 |
+
□ Property address (full — for planning register lookup)
|
| 64 |
+
□ Current use (what the property is used for now)
|
| 65 |
+
□ Proposed use (what the buyer/developer intends)
|
| 66 |
+
□ Any existing planning consents (planning reference numbers if known)
|
| 67 |
+
□ Site area (sqm or acres/hectares)
|
| 68 |
+
□ Existing gross floor area (if built)
|
| 69 |
+
□ Target gross floor area (if development planned)
|
| 70 |
+
□ Land registry / title plan (to confirm site boundary)
|
| 71 |
+
|
| 72 |
+
USEFUL ADDITIONAL INPUTS:
|
| 73 |
+
□ Planning authority name and reference number
|
| 74 |
+
□ Conservation area or listed building status
|
| 75 |
+
□ Flood zone designation
|
| 76 |
+
□ Any Section 106 / CIL obligations known
|
| 77 |
+
□ Pre-application advice received from LPA (UK) / LPA equivalent
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## STEP 2 — CURRENT USE STATUS
|
| 83 |
+
|
| 84 |
+
### 2.1 Confirm Current Lawful Use
|
| 85 |
+
|
| 86 |
+
```
|
| 87 |
+
CURRENT USE ANALYSIS — [JURISDICTION]
|
| 88 |
+
═══════════════════════════════════════════════════════════
|
| 89 |
+
Property address: [ADDRESS]
|
| 90 |
+
Current use: [Stated use]
|
| 91 |
+
Use class (if UK): [Class E / B2 / B8 / C3 / Sui Generis / other]
|
| 92 |
+
PGOU zoning (Spain): [Residencial / Terciario / Industrial / SUNP / SNU]
|
| 93 |
+
Zoning district (USA):[C-1 / M-1 / R-3 / PUD / other]
|
| 94 |
+
PLU zone (France): [UA / UB / AUx / N / other]
|
| 95 |
+
BauNVO type (Germany):[WA / MI / GE / GI / SO / other]
|
| 96 |
+
Master Plan use (India): [Residential / Commercial / Industrial / Mixed]
|
| 97 |
+
DDA zone (UAE): [Freehold / Leasehold / Free zone / other]
|
| 98 |
+
|
| 99 |
+
LAWFULNESS CONFIRMED: [YES / NEEDS VERIFICATION]
|
| 100 |
+
Source: [Planning register / LPA confirmation / PGOU visor]
|
| 101 |
+
Last verified: [DATE — or UNKNOWN ⚠]
|
| 102 |
+
═══════════════════════════════════════════════════════════
|
| 103 |
+
```
|
| 104 |
+
|
| 105 |
+
### 2.2 Use Change Analysis
|
| 106 |
+
|
| 107 |
+
Does the proposed use match the current use class?
|
| 108 |
+
|
| 109 |
+
| Scenario | Status | Action required |
|
| 110 |
+
|----------|--------|----------------|
|
| 111 |
+
| Proposed use = current use class | ✅ By-right | No planning needed for use change |
|
| 112 |
+
| Proposed use within same class (e.g. UK Class E) | ✅ By-right | No planning needed |
|
| 113 |
+
| Proposed use in adjacent class, permitted by PDR (UK) | ⚠ Prior Approval | Submit Prior Approval before works |
|
| 114 |
+
| Proposed use requires new class = conditional use | ⚠ CUP/SUP | Public hearing required |
|
| 115 |
+
| Proposed use requires rezoning | 🔴 Planning risk | Legislative process 6–24+ months |
|
| 116 |
+
| Proposed use in protected zone | 🔴 Prohibited | Cannot proceed without exceptional permission |
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## STEP 3 — DEVELOPMENT POTENTIAL ANALYSIS
|
| 121 |
+
|
| 122 |
+
If development (new build, extension, change of use with works) is proposed:
|
| 123 |
+
|
| 124 |
+
```
|
| 125 |
+
DEVELOPMENT POTENTIAL — [JURISDICTION]
|
| 126 |
+
═══════════════════════════════════════════════════════════
|
| 127 |
+
Site area: [X] sqm / ha
|
| 128 |
+
Existing GFA: [X] sqm
|
| 129 |
+
Maximum GFA (permitted): [X] sqm
|
| 130 |
+
[Based on: FAR [X] × site area OR height limit [X]m × footprint]
|
| 131 |
+
|
| 132 |
+
Residual development potential:
|
| 133 |
+
Available GFA: [X] sqm [max permitted − existing]
|
| 134 |
+
Maximum height: [X] metres / [X] storeys
|
| 135 |
+
Maximum coverage: [X]% of site
|
| 136 |
+
Minimum setbacks: Front [X]m / Side [X]m / Rear [X]m
|
| 137 |
+
Parking required: [X spaces per 100sqm OR max [X] spaces in TOD zone]
|
| 138 |
+
|
| 139 |
+
TDR / air rights (if applicable):
|
| 140 |
+
Available TDR: [X sqm] from [SOURCE — landmark building / sending site]
|
| 141 |
+
Receiving site rules: [Confirmed eligible / Not confirmed]
|
| 142 |
+
FAR with TDR: [X.X] (vs. base FAR [X.X])
|
| 143 |
+
═══════════════════════════════════════════════════════════
|
| 144 |
+
```
|
| 145 |
+
|
| 146 |
+
---
|
| 147 |
+
|
| 148 |
+
## STEP 4 — ENTITLEMENT PATH MAP
|
| 149 |
+
|
| 150 |
+
```
|
| 151 |
+
ENTITLEMENT PATH — [JURISDICTION]
|
| 152 |
+
═══════════════════════════════════════════════════════════
|
| 153 |
+
Proposed action: [Change of use / New development / Extension / PDR conversion]
|
| 154 |
+
|
| 155 |
+
PATH: [Select applicable]
|
| 156 |
+
|
| 157 |
+
[ ] BY-RIGHT (No discretionary approval needed)
|
| 158 |
+
→ Building permit / Licencia de obras / Baugenehmigung only
|
| 159 |
+
→ Timeline: [4–12 weeks typical]
|
| 160 |
+
→ Risk: LOW
|
| 161 |
+
|
| 162 |
+
[ ] PERMITTED DEVELOPMENT / PRIOR APPROVAL
|
| 163 |
+
→ Submit Prior Approval to LPA / Notification to CCAA
|
| 164 |
+
→ LPA assesses limited matters: [contamination / flooding / noise / light]
|
| 165 |
+
→ Timeline: [8 weeks]
|
| 166 |
+
→ Risk: LOW-MEDIUM
|
| 167 |
+
→ Article 4 Direction: [None confirmed / EXISTS — PDR withdrawn in this area ⚠]
|
| 168 |
+
|
| 169 |
+
[ ] CONDITIONAL USE PERMIT / CUP / SPECIAL USE PERMIT
|
| 170 |
+
→ Application to Planning Commission / Zoning Board
|
| 171 |
+
→ Public hearing required
|
| 172 |
+
→ Conditions to be attached (operating hours, parking, design)
|
| 173 |
+
→ Timeline: [3–9 months]
|
| 174 |
+
→ Risk: MEDIUM — outcome uncertain
|
| 175 |
+
|
| 176 |
+
[ ] PLANNING APPLICATION (Full / Outline / Reserved Matters)
|
| 177 |
+
→ Submit to LPA / Ayuntamiento / Bauamt / Commune
|
| 178 |
+
→ Statutory consultation period
|
| 179 |
+
→ Committee hearing or delegated decision
|
| 180 |
+
→ Timeline: Major: [13 weeks statutory / 6–18 months actual]
|
| 181 |
+
→ Risk: MEDIUM-HIGH
|
| 182 |
+
→ Appeal route if refused: [Planning Inspectorate / TRCA / Tribunal Administrativo]
|
| 183 |
+
|
| 184 |
+
[ ] REZONING / PGOU MODIFICATION / PLAN AMENDMENT
|
| 185 |
+
→ Legislative vote by City Council / Pleno Municipal
|
| 186 |
+
→ Consistency with General Plan / PGOU required
|
| 187 |
+
→ Extended public consultation
|
| 188 |
+
→ Timeline: [12–36 months]
|
| 189 |
+
→ Risk: HIGH — political; no guaranteed outcome
|
| 190 |
+
|
| 191 |
+
[ ] ENVIRONMENTAL REVIEW REQUIRED
|
| 192 |
+
→ [NEPA EA / EIS / CEQA ND / MND / EIR]
|
| 193 |
+
→ Timeline: [6 months – 3 years depending on type]
|
| 194 |
+
→ CEQA litigation risk (California): [HIGH — factor into timeline]
|
| 195 |
+
→ EIA (Spain/EU): submitted with planning application
|
| 196 |
+
═══════════════════════════════════════════════════════════
|
| 197 |
+
```
|
| 198 |
+
|
| 199 |
+
---
|
| 200 |
+
|
| 201 |
+
## STEP 5 — PLANNING OBLIGATIONS AND COSTS
|
| 202 |
+
|
| 203 |
+
```
|
| 204 |
+
PLANNING COSTS AND OBLIGATIONS
|
| 205 |
+
═══════════════════════════════════════════════════════════
|
| 206 |
+
Application fee: [CURRENCY] [AMOUNT] — [authority fee schedule]
|
| 207 |
+
|
| 208 |
+
Section 106 / Convenio Urbanístico (likely obligations):
|
| 209 |
+
□ Affordable housing: [X]% of units or [CURRENCY X] in-lieu fee
|
| 210 |
+
□ Education contribution: [CURRENCY AMOUNT — basis: X per sqm GFA]
|
| 211 |
+
□ Transport / highways: [specific works required]
|
| 212 |
+
□ Open space / landscaping: [X sqm on-site or off-site contribution]
|
| 213 |
+
□ Biodiversity Net Gain (UK — mandatory from Feb 2024): [10% uplift plan]
|
| 214 |
+
□ Other: [site-specific]
|
| 215 |
+
Estimated S.106 total: [CURRENCY] [AMOUNT]
|
| 216 |
+
|
| 217 |
+
CIL / Carga de urbanización / Impact fees:
|
| 218 |
+
CIL rate: [CURRENCY X /sqm GFA] → total: [CURRENCY AMOUNT]
|
| 219 |
+
Payable: On commencement of development
|
| 220 |
+
CIL exemptions: [Self-build / Charity / Affordable housing — if applicable]
|
| 221 |
+
|
| 222 |
+
Viability assessment:
|
| 223 |
+
Required if S.106 + CIL make scheme unviable
|
| 224 |
+
Threshold: [site-specific — based on benchmark land value / residual appraisal]
|
| 225 |
+
═══════════════════════════════════════════════════════════
|
| 226 |
+
```
|
| 227 |
+
|
| 228 |
+
---
|
| 229 |
+
|
| 230 |
+
## STEP 6 — HERITAGE AND ENVIRONMENTAL CONSTRAINTS
|
| 231 |
+
|
| 232 |
+
```
|
| 233 |
+
HERITAGE AND ENVIRONMENTAL CONSTRAINTS
|
| 234 |
+
═══════════════════════════════════════════════════════════
|
| 235 |
+
Listed building:
|
| 236 |
+
[UK]: Grade [I / II* / II] — LBC required for any works
|
| 237 |
+
[Spain]: Bien de Interés Cultural (BIC) — DGPC approval required
|
| 238 |
+
[USA]: National Register / Local Landmark — varies by jurisdiction
|
| 239 |
+
Status: [LISTED / NOT LISTED / NOT CONFIRMED ⚠]
|
| 240 |
+
|
| 241 |
+
Conservation area:
|
| 242 |
+
[YES — name: X — additional controls apply]
|
| 243 |
+
[NO]
|
| 244 |
+
[NOT CONFIRMED ⚠ — check LPA / Catálogo de protección]
|
| 245 |
+
|
| 246 |
+
Flood risk:
|
| 247 |
+
[UK]: Zone [1 / 2 / 3a / 3b] — [Sequential test required: YES / NO]
|
| 248 |
+
[USA]: FEMA Flood Zone [AE / X / AH] — FIRM map reference
|
| 249 |
+
[Spain]: SNCZI Zona de flujo preferente / Zona inundable
|
| 250 |
+
Status: [CONFIRMED / NOT CHECKED ⚠]
|
| 251 |
+
|
| 252 |
+
Tree Preservation Orders / Protected trees:
|
| 253 |
+
[YES — TPO reference / NOT CONFIRMED ⚠]
|
| 254 |
+
|
| 255 |
+
Ground contamination:
|
| 256 |
+
[Phase 1 ESA completed: YES / NO ⚠]
|
| 257 |
+
[Phase 2 required: YES / NO / UNKNOWN]
|
| 258 |
+
|
| 259 |
+
Biodiversity / Nature designations:
|
| 260 |
+
[SSSI / Natura 2000 / Red Natura / National Park — YES / NO]
|
| 261 |
+
═══════════════════════════════════════════════════════════
|
| 262 |
+
```
|
| 263 |
+
|
| 264 |
+
---
|
| 265 |
+
|
| 266 |
+
## STEP 7 — PLANNING RISK RATING
|
| 267 |
+
|
| 268 |
+
```
|
| 269 |
+
PLANNING RISK ASSESSMENT
|
| 270 |
+
═══════════════════════════════════════════════════════════
|
| 271 |
+
Current use compliance: [GREEN / YELLOW / RED]
|
| 272 |
+
Proposed use feasibility: [GREEN / YELLOW / RED]
|
| 273 |
+
Development potential: [GREEN / YELLOW / RED]
|
| 274 |
+
Heritage/environment risk: [GREEN / YELLOW / RED]
|
| 275 |
+
Timeline risk: [GREEN / YELLOW / RED]
|
| 276 |
+
S.106/CIL cost risk: [GREEN / YELLOW / RED]
|
| 277 |
+
|
| 278 |
+
OVERALL PLANNING STATUS: [GREEN / YELLOW / RED]
|
| 279 |
+
|
| 280 |
+
RED FLAG ITEMS:
|
| 281 |
+
[List any RED items in isolation — see escalation protocol]
|
| 282 |
+
═══════════════════════════════════════════════════════════
|
| 283 |
+
```
|
| 284 |
+
|
| 285 |
+
---
|
| 286 |
+
|
| 287 |
+
## STEP 8 — PLANNING DUE DILIGENCE CHECKLIST
|
| 288 |
+
|
| 289 |
+
```
|
| 290 |
+
PLANNING DUE DILIGENCE CHECKLIST — [JURISDICTION]
|
| 291 |
+
═══════════════════════════════════════════════════════════
|
| 292 |
+
[ ] Current use class confirmed from planning register (not just from vendor)
|
| 293 |
+
[ ] Planning history reviewed — full history, not just current consent
|
| 294 |
+
[ ] Any conditions attached to existing consents — pre-commencement fulfilled?
|
| 295 |
+
[ ] Any enforcement notices outstanding
|
| 296 |
+
[ ] Article 4 Directions (UK) — PDR withdrawn?
|
| 297 |
+
[ ] Conservation area / listed building status confirmed (independent search)
|
| 298 |
+
[ ] Flood zone — Environment Agency / FEMA / SNCZI confirmed
|
| 299 |
+
[ ] S.106 / CIL schedule obtained — any outstanding obligations?
|
| 300 |
+
[ ] EIA screening opinion obtained (if development planned)
|
| 301 |
+
[ ] Pre-application advice received and documented
|
| 302 |
+
[ ] Planning consultant engaged for material applications
|
| 303 |
+
[ ] Longstop date in SPA aligned with realistic planning timeline
|
| 304 |
+
[ ] Break clause in SPA if planning is not obtained
|
| 305 |
+
[ ] Overage / clawback: does seller retain planning overage on future consent?
|
| 306 |
+
[ ] Highways access — adopted road or private access with maintenance obligation?
|
| 307 |
+
[ ] Utilities — statutory services available at site boundary?
|
| 308 |
+
[ ] Ground investigation — Phase 1 ESA minimum before exchange
|
| 309 |
+
[ ] BNG assessment (UK 2024) — baseline ecological survey completed?
|
| 310 |
+
═══════════════════════════════════════════════════════════
|
| 311 |
+
```
|
| 312 |
+
|
| 313 |
+
---
|
| 314 |
+
|
| 315 |
+
## OUTPUT STANDARDS
|
| 316 |
+
|
| 317 |
+
```
|
| 318 |
+
[Analysis under {country} planning law — as of {date}]
|
| 319 |
+
Source: references/countries/{jurisdiction}/zoning-law.md (v6.0)
|
| 320 |
+
Planning status must be verified with the local planning authority
|
| 321 |
+
before any transaction. This analysis does not constitute planning advice.
|
| 322 |
+
```
|
commands/compare-projects.md
ADDED
|
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: compare-projects
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "compare projects", "QCA", "qualitative comparative analysis",
|
| 4 |
+
# "truth table", "Boolean analysis", "cross-case analysis", "compare deals",
|
| 5 |
+
# "reference class", "Flyvbjerg", "optimism bias correction",
|
| 6 |
+
# "which project is better", "rank projects", "portfolio comparison",
|
| 7 |
+
# "project selection", "project prioritisation", "compare infrastructure",
|
| 8 |
+
# "best project", "rank investments", "comparar proyectos",
|
| 9 |
+
# "selección de proyectos", "cuál proyecto elegir", "benchmark projects",
|
| 10 |
+
# "project scoring", "scorecard comparison", "structured comparison"
|
| 11 |
+
# Dependencies:
|
| 12 |
+
# - references/apec/quality-framework.md (QCA parameters 7.1–7.6)
|
| 13 |
+
# - scripts/validate_jurisdiction.py (for each project's jurisdiction)
|
| 14 |
+
# - scripts/validate_dscr.py (bankability parameter)
|
| 15 |
+
# - scripts/validate_ltv.py (leverage parameter)
|
| 16 |
+
# Output: QCA truth table + Boolean minimisation + reference class benchmarks +
|
| 17 |
+
# ranked scorecard + recommendation on project selection
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## COMMAND: compare-projects
|
| 22 |
+
|
| 23 |
+
### PURPOSE
|
| 24 |
+
Apply Qualitative Comparative Analysis (QCA) to systematically compare 2–15
|
| 25 |
+
infrastructure or real estate projects and identify which combination of conditions
|
| 26 |
+
produces successful outcomes.
|
| 27 |
+
|
| 28 |
+
This command answers:
|
| 29 |
+
1. Which project(s) meet the sufficient conditions for success?
|
| 30 |
+
2. What combination of conditions differentiates better projects from worse ones?
|
| 31 |
+
3. Which single project should be prioritised, and why?
|
| 32 |
+
4. What conditions are NECESSARY (present in all successful cases)?
|
| 33 |
+
5. How do Reference Class Forecasting benchmarks compare to project-specific estimates?
|
| 34 |
+
|
| 35 |
+
**QCA is not a points system.** It uses Boolean logic to identify causal combinations —
|
| 36 |
+
the configurations that are jointly sufficient to produce the outcome.
|
| 37 |
+
|
| 38 |
+
---
|
| 39 |
+
|
| 40 |
+
## STEP 0 — CONFIRM FRAMEWORK AND CASES
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
QCA SESSION BRIEF
|
| 44 |
+
═══════════════════════════════════════════════════════════
|
| 45 |
+
Comparative framework: APEC Quality Infrastructure + Project Finance QCA
|
| 46 |
+
Number of cases: [N] — [QCA is most powerful for 5–50 cases]
|
| 47 |
+
Outcome of interest: [Project success / Bankable / Viable / Worth prioritising]
|
| 48 |
+
Jurisdictions: [List countries — load each jurisdiction's reference file]
|
| 49 |
+
Analysis date: [DATE]
|
| 50 |
+
═══════════════════════════════════════════════════════════
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
**Scope guidance**:
|
| 54 |
+
- 2–4 cases: use structured scorecard + narrative comparison (QCA less useful at this scale)
|
| 55 |
+
- 5–15 cases: QCA truth table + Boolean minimisation — optimal range
|
| 56 |
+
- 16–50 cases: fsQCA (fuzzy-set) — more complex calibration required
|
| 57 |
+
- > 50 cases: quantitative methods preferred — flag this to user
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
## STEP 1 — THE 6 QCA CONDITIONS (from quality-framework.md)
|
| 62 |
+
|
| 63 |
+
For each project, calibrate each condition on the fuzzy-set (fs) scale 0–1:
|
| 64 |
+
|
| 65 |
+
```
|
| 66 |
+
CALIBRATION SCALE:
|
| 67 |
+
1.00 = Fully in the set (condition fully present)
|
| 68 |
+
0.75 = More in than out
|
| 69 |
+
0.50 = Crossover point (ambiguous — avoid if possible)
|
| 70 |
+
0.25 = More out than in
|
| 71 |
+
0.00 = Fully out of the set (condition fully absent)
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
### Condition 7.1 — Government Readiness
|
| 75 |
+
|
| 76 |
+
```
|
| 77 |
+
Condition 7.1: GOVERNMENT READINESS
|
| 78 |
+
Sub-conditions:
|
| 79 |
+
□ Legal/regulatory framework in place for this sector
|
| 80 |
+
□ Land acquisition completed or legally secured
|
| 81 |
+
□ Government champion at ministerial level
|
| 82 |
+
□ Contracting authority has PPP/procurement experience
|
| 83 |
+
□ Budget allocation confirmed for contingent obligations
|
| 84 |
+
□ Political stability: current government can see project to completion
|
| 85 |
+
|
| 86 |
+
Calibration anchors:
|
| 87 |
+
1.00 = All sub-conditions met; project signed off at cabinet level
|
| 88 |
+
0.75 = 4–5 sub-conditions met; one gap being resolved
|
| 89 |
+
0.50 = Mixed — framework exists but land/funding not secured
|
| 90 |
+
0.25 = Framework in early stage; key gaps outstanding
|
| 91 |
+
0.00 = No legal framework; no champion; no budget
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
### Condition 7.2 — Private Sector Appetite
|
| 95 |
+
|
| 96 |
+
```
|
| 97 |
+
Condition 7.2: PRIVATE SECTOR APPETITE
|
| 98 |
+
Sub-conditions:
|
| 99 |
+
□ Bankable returns (equity IRR ≥ hurdle: WACC + 3–5pp)
|
| 100 |
+
□ Debt available at viable terms (DSCR ≥ 1.25x for project finance)
|
| 101 |
+
□ Adequate contractual protections (change-in-law, force majeure, termination)
|
| 102 |
+
□ Market depth: ≥ 3 qualified bidders at pre-qualification stage
|
| 103 |
+
□ Comparable precedent transactions in similar markets
|
| 104 |
+
|
| 105 |
+
Calibration anchors:
|
| 106 |
+
1.00 = Strong bidder appetite; multiple Tier-1 sponsors expressed interest
|
| 107 |
+
0.75 = 2–3 qualified sponsors; returns adequate; minor structural concerns
|
| 108 |
+
0.50 = One sponsor committed; others uncertain; returns borderline
|
| 109 |
+
0.25 = Sponsor interest conditional on significant viability gap funding
|
| 110 |
+
0.00 = No sponsor interest; project not bankable as structured
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
### Condition 7.3 — Demand Certainty
|
| 114 |
+
|
| 115 |
+
```
|
| 116 |
+
Condition 7.3: DEMAND CERTAINTY
|
| 117 |
+
Sub-conditions:
|
| 118 |
+
□ Independent demand study conducted and validated
|
| 119 |
+
□ Reference class benchmarks show consistent demand in comparable projects
|
| 120 |
+
□ Government offtake or minimum revenue guarantee in place
|
| 121 |
+
□ Demand elasticity modelled (including tariff sensitivity)
|
| 122 |
+
□ Downside demand scenario (−30%) still produces DSCR > stress minimum
|
| 123 |
+
|
| 124 |
+
Calibration anchors:
|
| 125 |
+
1.00 = Government availability payment — zero demand risk; independent study confirms
|
| 126 |
+
0.75 = Strong traffic/demand history; independent study; −20% stress case viable
|
| 127 |
+
0.50 = Demand study conducted but methodology disputed; no government guarantee
|
| 128 |
+
0.25 = Demand projections based on internal estimates only; no independent validation
|
| 129 |
+
0.00 = No demand study; full merchant risk; −20% scenario = DSCR breach
|
| 130 |
+
```
|
| 131 |
+
|
| 132 |
+
### Condition 7.4 — Institutional Capacity
|
| 133 |
+
|
| 134 |
+
```
|
| 135 |
+
Condition 7.4: INSTITUTIONAL CAPACITY
|
| 136 |
+
Sub-conditions:
|
| 137 |
+
□ Contracting authority has managed a PPP of comparable complexity
|
| 138 |
+
□ Dedicated PPP unit or transaction advisor engaged
|
| 139 |
+
□ Legal counsel with sector expertise
|
| 140 |
+
□ Financial model auditor engaged
|
| 141 |
+
□ E&S monitoring framework operational
|
| 142 |
+
□ Regulatory body has capacity to enforce concession terms
|
| 143 |
+
|
| 144 |
+
Calibration anchors:
|
| 145 |
+
1.00 = Experienced authority; full team; world-class advisors; regulator strong
|
| 146 |
+
0.75 = Prior PPP experience; most advisor positions filled; minor gaps
|
| 147 |
+
0.50 = Limited experience; transaction advisor plugging capacity gaps
|
| 148 |
+
0.25 = First PPP; heavy reliance on MDB/donor TA; institutional gaps
|
| 149 |
+
0.00 = No PPP experience; no advisor; regulatory body non-functional
|
| 150 |
+
```
|
| 151 |
+
|
| 152 |
+
### Condition 7.5 — Risk Allocation Quality
|
| 153 |
+
|
| 154 |
+
```
|
| 155 |
+
Condition 7.5: RISK ALLOCATION QUALITY
|
| 156 |
+
Sub-conditions:
|
| 157 |
+
□ Construction risk: fixed-price EPC → private party
|
| 158 |
+
□ Demand risk: government guarantee or availability payment where private cannot manage
|
| 159 |
+
□ Force majeure/political: government compensation event
|
| 160 |
+
□ Currency risk: mitigated (natural hedge / swap / indexed tariff)
|
| 161 |
+
□ Change-in-law: government compensates change in law post-financial close
|
| 162 |
+
□ Interface risk (land, utilities): government bears — obligations pre-financial close
|
| 163 |
+
|
| 164 |
+
Calibration anchors:
|
| 165 |
+
1.00 = All risks allocated to party best placed to manage; no uninsurable risk on private
|
| 166 |
+
0.75 = Most risks correctly allocated; 1–2 minor misallocations being resolved
|
| 167 |
+
0.50 = Some structural risks on private party that it cannot absorb (e.g. FX unhedged)
|
| 168 |
+
0.25 = Significant misallocation — e.g. full demand risk on private + no government support
|
| 169 |
+
0.00 = All risk on private party including uninsurable risks; no government support
|
| 170 |
+
```
|
| 171 |
+
|
| 172 |
+
### Condition 7.6 — Reference Class Forecasting (Flyvbjerg Correction)
|
| 173 |
+
|
| 174 |
+
```
|
| 175 |
+
Condition 7.6: REFERENCE CLASS FORECASTING
|
| 176 |
+
Sub-conditions:
|
| 177 |
+
□ Reference class selected (comparable sector + geography + procurement method)
|
| 178 |
+
□ Cost overrun distribution obtained for reference class
|
| 179 |
+
□ Schedule delay distribution obtained for reference class
|
| 180 |
+
□ Optimism bias correction applied to project-specific estimate
|
| 181 |
+
□ P50, P80, P90 scenarios reported
|
| 182 |
+
□ Project estimates fall within reasonable range vs. reference class
|
| 183 |
+
|
| 184 |
+
Global benchmarks (Flyvbjerg — all project types):
|
| 185 |
+
Average cost overrun: +39% above budget
|
| 186 |
+
Average schedule delay: +27% beyond planned completion
|
| 187 |
+
Benefit shortfall: −23% below forecast
|
| 188 |
+
|
| 189 |
+
Calibration anchors:
|
| 190 |
+
1.00 = Full RCF applied; P80 estimate used as base; contingency funded accordingly
|
| 191 |
+
0.75 = RCF applied; P70 used; contingency reasonable
|
| 192 |
+
0.50 = RCF applied but inside-view dominates; contingency insufficient for P80
|
| 193 |
+
0.25 = Partial RCF; reference class not well-matched; optimism bias not corrected
|
| 194 |
+
0.00 = No RCF; single-point estimate only; no contingency for reference class risk
|
| 195 |
+
```
|
| 196 |
+
|
| 197 |
+
---
|
| 198 |
+
|
| 199 |
+
## STEP 2 — TRUTH TABLE CONSTRUCTION
|
| 200 |
+
|
| 201 |
+
For each project, score all 6 conditions. Then determine outcome (1/0):
|
| 202 |
+
|
| 203 |
+
```
|
| 204 |
+
QCA TRUTH TABLE — [COMPARISON NAME]
|
| 205 |
+
[Analysis under APEC Quality Framework — {date}]
|
| 206 |
+
═══════════════════════════════════════════════════════════════════════════════════════
|
| 207 |
+
PROJECT GOV PRIV DEMAND INST RISK RCF OUTCOME
|
| 208 |
+
[7.1] [7.2] [7.3] [7.4] [7.5] [7.6] (1=success)
|
| 209 |
+
─────────────────────────────────────────────────────────────────────────────────────
|
| 210 |
+
[Project A] 1.00 0.75 1.00 0.75 1.00 0.75 1
|
| 211 |
+
[Project B] 0.75 1.00 0.75 0.50 0.75 1.00 1
|
| 212 |
+
[Project C] 0.25 0.50 0.25 0.25 0.50 0.50 0
|
| 213 |
+
[Project D] 1.00 0.25 1.00 0.75 1.00 0.25 0
|
| 214 |
+
[Project E] 0.75 0.75 0.75 1.00 0.75 0.75 1
|
| 215 |
+
[Project F] 0.50 0.25 0.75 0.25 0.25 0.50 0
|
| 216 |
+
[...add all projects]
|
| 217 |
+
─────────────────────────────────────────────────────────────────────────────────────
|
| 218 |
+
Condition: [X] [X] [X] [X] [X] [X]
|
| 219 |
+
Consistency: [X] [X] [X] [X] [X] [X]
|
| 220 |
+
Coverage: [X] [X] [X] [X] [X] [X]
|
| 221 |
+
═══════════════════════════════════════════════════════════════════════════════════════
|
| 222 |
+
|
| 223 |
+
CALIBRATION NOTE: Scores ≥ 0.50 treated as IN the set (1); < 0.50 treated as OUT (0)
|
| 224 |
+
for Boolean minimisation. Fuzzy scores retained for coverage/consistency analysis.
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
---
|
| 228 |
+
|
| 229 |
+
## STEP 3 — NECESSARY CONDITIONS ANALYSIS
|
| 230 |
+
|
| 231 |
+
A condition is NECESSARY if it is present in ALL successful cases.
|
| 232 |
+
|
| 233 |
+
```
|
| 234 |
+
NECESSARY CONDITIONS ANALYSIS
|
| 235 |
+
═══════════════════════════════════════════════════════════
|
| 236 |
+
[For each condition:]
|
| 237 |
+
Condition [7.X]:
|
| 238 |
+
Present in all outcome=1 cases: [YES — NECESSARY / NO — not necessary]
|
| 239 |
+
Consistency (Coverage of necessity): [X.XX — threshold: ≥0.90]
|
| 240 |
+
Comment: [What this means in plain terms]
|
| 241 |
+
|
| 242 |
+
NECESSARY CONDITIONS IDENTIFIED:
|
| 243 |
+
□ [Condition name]: present in [N] of [N] successful cases
|
| 244 |
+
[or: No single condition is necessary — success requires combinations]
|
| 245 |
+
═══════════════════════════════════════════════════════════
|
| 246 |
+
```
|
| 247 |
+
|
| 248 |
+
---
|
| 249 |
+
|
| 250 |
+
## STEP 4 — BOOLEAN MINIMISATION (Sufficient Conditions)
|
| 251 |
+
|
| 252 |
+
Apply Quine-McCluskey minimisation to the truth table:
|
| 253 |
+
|
| 254 |
+
```
|
| 255 |
+
BOOLEAN MINIMISATION — SUFFICIENT CONDITIONS
|
| 256 |
+
═══════════════════════════════════════════════════════════
|
| 257 |
+
COMPLEX SOLUTION (no assumptions):
|
| 258 |
+
[Equation — e.g.: (GOV * DEMAND) + (PRIV * RISK * RCF) → OUTCOME]
|
| 259 |
+
|
| 260 |
+
PARSIMONIOUS SOLUTION (logical remainders as simplifying assumptions):
|
| 261 |
+
[Simplified equation]
|
| 262 |
+
|
| 263 |
+
INTERMEDIATE SOLUTION (theory-informed assumptions):
|
| 264 |
+
[Preferred solution — explain assumptions used]
|
| 265 |
+
|
| 266 |
+
INTERPRETATION:
|
| 267 |
+
Solution 1: [GOV * DEMAND → OUTCOME]
|
| 268 |
+
"Government readiness combined with demand certainty is sufficient for success,
|
| 269 |
+
regardless of private sector appetite or RCF status."
|
| 270 |
+
|
| 271 |
+
Solution 2: [PRIV * RISK * RCF → OUTCOME]
|
| 272 |
+
"Private sector appetite with correct risk allocation and reference class
|
| 273 |
+
forecasting is sufficient, even with moderate government readiness."
|
| 274 |
+
|
| 275 |
+
COVERAGE: [X.XX] — [X]% of successful cases explained by the solution
|
| 276 |
+
CONSISTENCY: [X.XX] — [X]% consistency (how perfectly the solution predicts)
|
| 277 |
+
═══════════════════════════════════════════════════════════
|
| 278 |
+
```
|
| 279 |
+
|
| 280 |
+
---
|
| 281 |
+
|
| 282 |
+
## STEP 5 — REFERENCE CLASS BENCHMARK COMPARISON
|
| 283 |
+
|
| 284 |
+
For each project, compare stated estimates to reference class benchmarks:
|
| 285 |
+
|
| 286 |
+
```
|
| 287 |
+
REFERENCE CLASS BENCHMARKS — [PROJECT NAME]
|
| 288 |
+
═══════════════════════════════════════════════════════════
|
| 289 |
+
Reference class: [Road PPPs in [region] / Hospital PFIs / Port concessions / etc]
|
| 290 |
+
Source: [Flyvbjerg 2022 / ADB / World Bank project database / other]
|
| 291 |
+
|
| 292 |
+
PROJECT ESTIMATE RCF P50 RCF P80 RCF P90
|
| 293 |
+
CAPEX: [CURRENCY X] [+39%] [+55%] [+70%]
|
| 294 |
+
RCF-adjusted CAPEX: [CURRENCY Y] [CURRENCY Y×1.39] [Y×1.55]
|
| 295 |
+
Schedule (months): [N] [+27%] [+40%] [+55%]
|
| 296 |
+
RCF-adjusted schedule: [N] months [N×1.27] [N×1.40]
|
| 297 |
+
Demand (traffic units): [X/yr] [−23%] [−30%] [−40%]
|
| 298 |
+
RCF-adjusted demand: [X×0.77/yr] [×0.70] [×0.60]
|
| 299 |
+
|
| 300 |
+
OPTIMISM BIAS CORRECTIONS APPLIED:
|
| 301 |
+
□ CAPEX contingency funded to P80: [YES — CURRENCY AMOUNT / NO — UNDER-FUNDED ⚠]
|
| 302 |
+
□ Programme float added to P80: [YES — [N] months / NO ⚠]
|
| 303 |
+
□ Demand base case = P50: [YES / NO — too optimistic ⚠]
|
| 304 |
+
|
| 305 |
+
DSCR AT P80 COST / P50 DEMAND (stress scenario):
|
| 306 |
+
DSCR: [X.XX]x — [GREEN / YELLOW / RED at stress threshold]
|
| 307 |
+
═══════════════════════════════════════════════════════════
|
| 308 |
+
```
|
| 309 |
+
|
| 310 |
+
---
|
| 311 |
+
|
| 312 |
+
## STEP 6 — PROJECT RANKING SCORECARD
|
| 313 |
+
|
| 314 |
+
For direct comparison, produce a ranked scorecard:
|
| 315 |
+
|
| 316 |
+
```
|
| 317 |
+
PROJECT RANKING SCORECARD
|
| 318 |
+
═════════════════════════════════════════��═════════════════
|
| 319 |
+
PROJ A PROJ B PROJ C PROJ D PROJ E
|
| 320 |
+
─────────────────────────────────────────────────────────────
|
| 321 |
+
QCA SCORE (0–6):
|
| 322 |
+
7.1 Gov Readiness: [X.XX] [X.XX] [X.XX] [X.XX] [X.XX]
|
| 323 |
+
7.2 Private App.: [X.XX] [X.XX] [X.XX] [X.XX] [X.XX]
|
| 324 |
+
7.3 Demand: [X.XX] [X.XX] [X.XX] [X.XX] [X.XX]
|
| 325 |
+
7.4 Inst. Cap.: [X.XX] [X.XX] [X.XX] [X.XX] [X.XX]
|
| 326 |
+
7.5 Risk Alloc.: [X.XX] [X.XX] [X.XX] [X.XX] [X.XX]
|
| 327 |
+
7.6 RCF: [X.XX] [X.XX] [X.XX] [X.XX] [X.XX]
|
| 328 |
+
QCA TOTAL: [X.XX] [X.XX] [X.XX] [X.XX] [X.XX]
|
| 329 |
+
|
| 330 |
+
APEC QUALITY SCORE (if full 15-parameter run):
|
| 331 |
+
Aggregate (0–10): [X.X] [X.X] [X.X] [X.X] [X.X]
|
| 332 |
+
|
| 333 |
+
FINANCIAL METRICS:
|
| 334 |
+
DSCR (base): [X.XX]x [X.XX]x [X.XX]x [X.XX]x [X.XX]x
|
| 335 |
+
Equity IRR: [X]% [X]% [X]% [X]% [X]%
|
| 336 |
+
ERR: [X]% [X]% [X]% [X]% [X]%
|
| 337 |
+
RCF-adj. CAPEX: [+X%] [+X%] [+X%] [+X%] [+X%]
|
| 338 |
+
|
| 339 |
+
OVERALL STATUS: [GREEN] [GREEN] [RED] [YELLOW][GREEN]
|
| 340 |
+
RANK: [1] [2] [5] [4] [3]
|
| 341 |
+
─────────────────────────────────────────────────────────────
|
| 342 |
+
RECOMMENDED: [PROJECT A — see rationale below]
|
| 343 |
+
═══════════════════════════════════════════════════════════
|
| 344 |
+
```
|
| 345 |
+
|
| 346 |
+
---
|
| 347 |
+
|
| 348 |
+
## STEP 7 — RECOMMENDATION AND RATIONALE
|
| 349 |
+
|
| 350 |
+
```
|
| 351 |
+
RECOMMENDATION
|
| 352 |
+
═══════════════════════════════════════════════════════════
|
| 353 |
+
RECOMMENDED PROJECT: [NAME]
|
| 354 |
+
QCA result: [Explanation of which Boolean pathway it falls on]
|
| 355 |
+
|
| 356 |
+
Why this project:
|
| 357 |
+
[3–5 sentences — not just "highest score" but which conditions it fulfils
|
| 358 |
+
that the QCA analysis identifies as sufficient for success]
|
| 359 |
+
|
| 360 |
+
Why NOT [Project X]:
|
| 361 |
+
[Specific condition gap — e.g. "Condition 7.3 (demand) calibrated at 0.25 —
|
| 362 |
+
no government guarantee and no independent demand study — falls outside
|
| 363 |
+
both sufficient solution paths identified in the truth table"]
|
| 364 |
+
|
| 365 |
+
Conditions for recommended project to proceed:
|
| 366 |
+
□ [Any YELLOW or unresolved condition — and what would resolve it]
|
| 367 |
+
|
| 368 |
+
Compound risks to monitor (Move 7):
|
| 369 |
+
□ [Compound risk 1: which two conditions could deteriorate together]
|
| 370 |
+
□ [Compound risk 2]
|
| 371 |
+
═══════════════════════════════════════════════════════════
|
| 372 |
+
|
| 373 |
+
[Analysis under APEC Quality Framework — as of {date}]
|
| 374 |
+
Source: references/apec/quality-framework.md (v6.0)
|
| 375 |
+
QCA methodology based on: Ragin (2008) Redesigning Social Inquiry;
|
| 376 |
+
Flyvbjerg (2022) Reference Class Forecasting.
|
| 377 |
+
This comparison is a structured analytical framework.
|
| 378 |
+
It does not constitute investment advice.
|
| 379 |
+
```
|
commands/detect-jurisdiction.md
ADDED
|
@@ -0,0 +1,211 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: detect-jurisdiction
|
| 2 |
+
# Trigger phrases: "what jurisdiction", "which country applies", "detect jurisdiction",
|
| 3 |
+
# "identify the legal framework", "what law applies here", "which legal system",
|
| 4 |
+
# "confirm jurisdiction", "which country's law", "what tax regime", "jurisdicción",
|
| 5 |
+
# "marco legal aplicable", "qué derecho aplica", "identify applicable law"
|
| 6 |
+
# Dependencies: scripts/validate_jurisdiction.py; references/countries/{country}/
|
| 7 |
+
# Output: Jurisdiction card + reference file loading instructions + watch points
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
## COMMAND: detect-jurisdiction
|
| 12 |
+
|
| 13 |
+
### PURPOSE
|
| 14 |
+
Identify the applicable legal and fiscal jurisdiction from property details, address,
|
| 15 |
+
or context provided — then load the correct country reference files and label all
|
| 16 |
+
subsequent analysis accordingly.
|
| 17 |
+
|
| 18 |
+
**This command MUST be run before any fiscal or legal analysis in this agent.**
|
| 19 |
+
It is equivalent to Step 0 in the Playbook (re-infra.local.md).
|
| 20 |
+
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
## EXECUTION PROTOCOL
|
| 24 |
+
|
| 25 |
+
### STEP 1 — EXTRACT JURISDICTION SIGNALS
|
| 26 |
+
|
| 27 |
+
Scan the input for the following signals, in priority order:
|
| 28 |
+
|
| 29 |
+
| Priority | Signal type | Examples |
|
| 30 |
+
|----------|------------|---------|
|
| 31 |
+
| 1 (highest) | Explicit country statement | "property in Spain", "UK asset", "Dubai deal" |
|
| 32 |
+
| 2 | City / region name | "Madrid", "London", "Mumbai", "Frankfurt" |
|
| 33 |
+
| 3 | Currency | "EUR", "GBP", "USD", "AED", "INR" |
|
| 34 |
+
| 4 | Legal reference | "LAU", "LTA 1954", "SDLT", "FIRPTA", "DLD", "RERA" |
|
| 35 |
+
| 5 | Tax reference | "ITP", "CGT", "1031", "GrESt", "stamp duty india" |
|
| 36 |
+
| 6 (lowest) | Language of document | Spanish → Spain/LatAm; German → Germany/Austria |
|
| 37 |
+
|
| 38 |
+
**If multiple signals conflict**: ask the user before proceeding.
|
| 39 |
+
Example: Document in Spanish but mentions "SDLT" → ask "Is this a UK property or Spanish?"
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
### STEP 2 — RUN VALIDATION SCRIPT
|
| 44 |
+
|
| 45 |
+
```bash
|
| 46 |
+
python scripts/validate_jurisdiction.py \
|
| 47 |
+
--input "[property address or description]" \
|
| 48 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Parse the JSON output and extract:
|
| 52 |
+
- `country` → determines which reference files to load
|
| 53 |
+
- `currency` and `currency_symbol` → use in all financial outputs
|
| 54 |
+
- `analysis_label` → prefix ALL analysis with this label
|
| 55 |
+
- `key_watch_points` → surface immediately after jurisdiction confirmation
|
| 56 |
+
- `non_resident_withholding_note` → flag if parties are non-resident
|
| 57 |
+
- `references_to_load` → load all three (tax, zoning, lease)
|
| 58 |
+
|
| 59 |
+
---
|
| 60 |
+
|
| 61 |
+
### STEP 3 — OUTPUT JURISDICTION CARD
|
| 62 |
+
|
| 63 |
+
Present to the user in this exact format:
|
| 64 |
+
|
| 65 |
+
```
|
| 66 |
+
═══════════════════════════════════════════════════════
|
| 67 |
+
JURISDICTION CONFIRMED: [COUNTRY NAME]
|
| 68 |
+
Analysis label: [analysis_label from script output]
|
| 69 |
+
Currency: [symbol] [currency code]
|
| 70 |
+
Asset type: [type]
|
| 71 |
+
═══════════════════════════════════════════════════════
|
| 72 |
+
|
| 73 |
+
REFERENCE FILES LOADED:
|
| 74 |
+
✓ Tax law: [tax_ref]
|
| 75 |
+
✓ Zoning: [zoning_ref]
|
| 76 |
+
✓ Lease law: [lease_ref]
|
| 77 |
+
|
| 78 |
+
KEY WATCH POINTS FOR THIS JURISDICTION:
|
| 79 |
+
[List all key_watch_points from script output, numbered]
|
| 80 |
+
|
| 81 |
+
NON-RESIDENT NOTE:
|
| 82 |
+
[non_resident_withholding_note if applicable]
|
| 83 |
+
|
| 84 |
+
ALL ANALYSIS IN THIS SESSION WILL BE LABELLED:
|
| 85 |
+
"[analysis_label] as of [today's date]"
|
| 86 |
+
═══════════════════════════════════════════════════════
|
| 87 |
+
```
|
| 88 |
+
|
| 89 |
+
---
|
| 90 |
+
|
| 91 |
+
### STEP 4 — CROSS-BORDER FLAG (if applicable)
|
| 92 |
+
|
| 93 |
+
If the transaction involves **two or more jurisdictions** (e.g. foreign buyer, cross-border fund):
|
| 94 |
+
|
| 95 |
+
```
|
| 96 |
+
⚠ CROSS-BORDER TRANSACTION DETECTED
|
| 97 |
+
|
| 98 |
+
Parties involved:
|
| 99 |
+
Seller: [Country A]
|
| 100 |
+
Buyer: [Country B]
|
| 101 |
+
Property: [Country C]
|
| 102 |
+
|
| 103 |
+
Additional obligations to check:
|
| 104 |
+
□ Withholding tax at source: [Country C rules on NR sellers]
|
| 105 |
+
□ DTAA applicability: [Country A–Country C treaty]
|
| 106 |
+
□ Buyer's reporting obligations in [Country B]
|
| 107 |
+
□ FEMA / FIRPTA / FATCA as applicable
|
| 108 |
+
□ Currency repatriation rules
|
| 109 |
+
|
| 110 |
+
→ Load: references/countries/[CountryA]/tax-law.md
|
| 111 |
+
→ Load: references/countries/[CountryC]/tax-law.md
|
| 112 |
+
→ Cross-reference DTAA provisions before computing withholding
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
---
|
| 116 |
+
|
| 117 |
+
### STEP 5 — JURISDICTION-UNKNOWN FALLBACK
|
| 118 |
+
|
| 119 |
+
If jurisdiction **cannot be determined** from the input:
|
| 120 |
+
|
| 121 |
+
1. **DO NOT** proceed with fiscal or legal analysis
|
| 122 |
+
2. **ASK** the user directly:
|
| 123 |
+
|
| 124 |
+
```
|
| 125 |
+
Before I can provide any tax or legal analysis, I need to confirm the jurisdiction.
|
| 126 |
+
|
| 127 |
+
Please tell me:
|
| 128 |
+
(a) In which COUNTRY is this property or project located?
|
| 129 |
+
(b) In which COUNTRY/STATE is the buyer or investor based?
|
| 130 |
+
(c) What is the approximate transaction value and currency?
|
| 131 |
+
|
| 132 |
+
Without jurisdiction confirmed, I cannot cite applicable statutes or tax rates.
|
| 133 |
+
```
|
| 134 |
+
|
| 135 |
+
3. Once answered → return to Step 1 and re-run the protocol.
|
| 136 |
+
|
| 137 |
+
---
|
| 138 |
+
|
| 139 |
+
## JURISDICTION REFERENCE MAP
|
| 140 |
+
|
| 141 |
+
| Country | Tax ref | Zoning ref | Lease ref |
|
| 142 |
+
|---------|---------|-----------|----------|
|
| 143 |
+
| Spain | `references/countries/eu/spain/tax-law.md` | `references/countries/eu/spain/zoning-law.md` | `references/countries/eu/spain/lease-law.md` |
|
| 144 |
+
| UK | `references/countries/uk/tax-law.md` | `references/countries/uk/zoning-law.md` | `references/countries/uk/lease-law.md` |
|
| 145 |
+
| USA | `references/countries/usa/tax-law.md` | `references/countries/usa/zoning-law.md` | `references/countries/usa/lease-law.md` |
|
| 146 |
+
| France | `references/countries/eu/france/tax-law.md` | *(use tax-law.md — covers planning)* | *(use tax-law.md — covers bail commercial)* |
|
| 147 |
+
| Germany | `references/countries/eu/germany/tax-law.md` | *(use tax-law.md — covers BauGB)* | *(use tax-law.md — covers BGB Mietrecht)* |
|
| 148 |
+
| India | `references/countries/india/tax-law.md` | *(use tax-law.md — covers RERA/Master Plans)* | *(use tax-law.md — covers TPA/Rent Control)* |
|
| 149 |
+
| UAE | `references/countries/uae/tax-law.md` | *(use tax-law.md — covers freehold zones/planning)* | *(use tax-law.md — covers Dubai Tenancy Law)* |
|
| 150 |
+
|
| 151 |
+
---
|
| 152 |
+
|
| 153 |
+
## ACCOUNTING STANDARDS — LOAD IN PARALLEL
|
| 154 |
+
|
| 155 |
+
If financial statements, valuations, or financial models are involved, load in addition:
|
| 156 |
+
|
| 157 |
+
| Reporting standard | When to load |
|
| 158 |
+
|-------------------|-------------|
|
| 159 |
+
| `references/standards/ifrs.md` | Entity reports under IFRS (most European, Asian, Middle East, listed companies) |
|
| 160 |
+
| `references/standards/gaap.md` | Entity reports under US GAAP (US companies, US REITs, US private equity) |
|
| 161 |
+
|
| 162 |
+
---
|
| 163 |
+
|
| 164 |
+
## OUTPUT QUALITY STANDARDS
|
| 165 |
+
|
| 166 |
+
After jurisdiction is confirmed, ALL subsequent outputs in this session must:
|
| 167 |
+
|
| 168 |
+
- Begin every legal or fiscal assertion with the jurisdiction label:
|
| 169 |
+
`"Under Spanish law (ITP-AJD RDL 1/1993)..."` not `"Under applicable law..."`
|
| 170 |
+
|
| 171 |
+
- Cite **section numbers** for every statutory reference:
|
| 172 |
+
✓ `LTA 1954 s.38A` | ✓ `IRC §1031` | ✓ `IRNR Art.25.2 LIRNR`
|
| 173 |
+
✗ `"the relevant statute"` | ✗ `"applicable tax law"`
|
| 174 |
+
|
| 175 |
+
- State the effective date of any rate cited:
|
| 176 |
+
`"SDLT at 5% on this band (as of 2024-25 — verify at gov.uk)"`
|
| 177 |
+
|
| 178 |
+
- Escalate if ANY jurisdiction-specific RED trigger is detected
|
| 179 |
+
(see re-infra.local.md escalation matrix and validate_jurisdiction.py key_watch_points)
|
| 180 |
+
|
| 181 |
+
---
|
| 182 |
+
|
| 183 |
+
## EXAMPLE OUTPUT — SPAIN COMMERCIAL ACQUISITION
|
| 184 |
+
|
| 185 |
+
```
|
| 186 |
+
═══════════════════════════════════════════════════════
|
| 187 |
+
JURISDICTION CONFIRMED: SPAIN — COMUNIDAD DE MADRID
|
| 188 |
+
Analysis label: Analysis under Spanish law
|
| 189 |
+
Currency: € EUR
|
| 190 |
+
Asset type: Commercial
|
| 191 |
+
═══════════════════════════════════════════════════════
|
| 192 |
+
|
| 193 |
+
REFERENCE FILES LOADED:
|
| 194 |
+
✓ Tax law: references/countries/eu/spain/tax-law.md
|
| 195 |
+
✓ Zoning: references/countries/eu/spain/zoning-law.md
|
| 196 |
+
✓ Lease law: references/countries/eu/spain/lease-law.md
|
| 197 |
+
|
| 198 |
+
KEY WATCH POINTS:
|
| 199 |
+
1. ITP vs IVA: resale applies ITP (6% Madrid); new build applies IVA (10/21%) + AJD (0.75%)
|
| 200 |
+
2. Valor de referencia catastral: compare against transaction price — base is the higher value
|
| 201 |
+
3. Non-resident seller: buyer must withhold 3% via Modelo 211 within 30 days (IRNR Art.25.2)
|
| 202 |
+
4. Plusvalía municipal: calculate by BOTH methods (STC TC 26/2021); use most favourable
|
| 203 |
+
5. CCAA-specific ITP: Madrid 6% — confirm with CCAA of property location, not buyer domicile
|
| 204 |
+
6. IBI: verify certificate of no outstanding IBI debt — creates real charge on property
|
| 205 |
+
|
| 206 |
+
NON-RESIDENT NOTE: N/A (seller confirmed resident)
|
| 207 |
+
|
| 208 |
+
ALL ANALYSIS IN THIS SESSION WILL BE LABELLED:
|
| 209 |
+
"Analysis under Spanish law as of [DATE]"
|
| 210 |
+
═══════════════════════════════════════════════════════
|
| 211 |
+
```
|
commands/evaluate-infrastructure.md
ADDED
|
@@ -0,0 +1,461 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: evaluate-infrastructure
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "evaluate infrastructure", "infrastructure evaluation",
|
| 4 |
+
# "infrastructure assessment", "APEC quality", "infrastructure quality",
|
| 5 |
+
# "PPP evaluation", "PPP assessment", "project finance evaluation",
|
| 6 |
+
# "concession evaluation", "MDB assessment", "MDB standards",
|
| 7 |
+
# "lifecycle cost", "LCC analysis", "ERR", "economic rate of return",
|
| 8 |
+
# "bankability assessment", "project viability", "infrastructure viability",
|
| 9 |
+
# "IFC performance standards", "World Bank safeguards",
|
| 10 |
+
# "ESS assessment", "environmental social safeguards",
|
| 11 |
+
# "risk allocation infrastructure", "VFM", "value for money",
|
| 12 |
+
# "PPP value for money", "public sector comparator",
|
| 13 |
+
# "calidad de infraestructura", "evaluación de infraestructura",
|
| 14 |
+
# "proyecto PPP", "financiación de proyectos", "concesión"
|
| 15 |
+
# Dependencies:
|
| 16 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first — host country)
|
| 17 |
+
# - scripts/validate_dscr.py (project finance DSCR)
|
| 18 |
+
# - scripts/validate_ltv.py (project leverage)
|
| 19 |
+
# - references/apec/quality-framework.md (PRIMARY reference for this command)
|
| 20 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 21 |
+
# Output: APEC 15-parameter assessment + GREEN/YELLOW/RED per parameter +
|
| 22 |
+
# project-level rating + bankability analysis + MDB compliance check
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
## COMMAND: evaluate-infrastructure
|
| 27 |
+
|
| 28 |
+
### PURPOSE
|
| 29 |
+
Apply the full APEC Infrastructure Quality Framework to assess whether a proposed
|
| 30 |
+
or existing infrastructure project meets institutional investment and MDB standards.
|
| 31 |
+
|
| 32 |
+
The 15-parameter assessment covers the complete project lifecycle:
|
| 33 |
+
- Pre-investment (design, ERR, LCC, ESS)
|
| 34 |
+
- Transaction (risk allocation, governance, bankability)
|
| 35 |
+
- Operations (M&E, local capacity, affordability, technology)
|
| 36 |
+
- Lifecycle completion (handback, residual value)
|
| 37 |
+
|
| 38 |
+
**Users**: MDB project teams, infrastructure fund managers, government PPP units,
|
| 39 |
+
development finance institutions (DFIs), export credit agencies, bilateral donors.
|
| 40 |
+
|
| 41 |
+
---
|
| 42 |
+
|
| 43 |
+
## STEP 0 — JURISDICTION AND FRAMEWORK LOADING
|
| 44 |
+
|
| 45 |
+
```bash
|
| 46 |
+
python scripts/validate_jurisdiction.py \
|
| 47 |
+
--input "[project country / location]" \
|
| 48 |
+
--type infrastructure
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
Load:
|
| 52 |
+
- `references/apec/quality-framework.md` — PRIMARY (APEC 15 parameters)
|
| 53 |
+
- `references/countries/{jurisdiction}/tax-law.md` — fiscal framework
|
| 54 |
+
- `references/countries/{jurisdiction}/zoning-law.md` — regulatory framework
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## STEP 1 — PROJECT BRIEF
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
+
PROJECT BRIEF
|
| 62 |
+
═══════════════════════════════════════════════════════════
|
| 63 |
+
Project name: [NAME]
|
| 64 |
+
Sector: [Transport / Energy / Water / ICT / Social / Multi-sector]
|
| 65 |
+
Sub-sector: [Road / Rail / Port / Airport / Power / Water / Hospital / School]
|
| 66 |
+
Host country: [COUNTRY — development context: LIC / MIC / HIC]
|
| 67 |
+
Project location: [Region / corridor / urban / rural]
|
| 68 |
+
Structure: [PPP / Concession / PFI / Government-funded / Hybrid]
|
| 69 |
+
Concession period: [N years]
|
| 70 |
+
Total project cost: [CURRENCY] [AMOUNT]
|
| 71 |
+
CAPEX: [CURRENCY] [AMOUNT]
|
| 72 |
+
OPEX (annual): [CURRENCY] [AMOUNT]
|
| 73 |
+
Senior debt: [CURRENCY] [AMOUNT] — [MDB / commercial / ECAs / bonds]
|
| 74 |
+
Equity: [CURRENCY] [AMOUNT] — [sponsors: names]
|
| 75 |
+
Grant / viability gap: [CURRENCY] [AMOUNT] — [source]
|
| 76 |
+
Government offtake: [Availability payment / Revenue guarantee / None]
|
| 77 |
+
Sponsors: [Names + track record reference]
|
| 78 |
+
Financial close target:[DATE]
|
| 79 |
+
MDB co-financier: [World Bank / ADB / AIIB / EBRD / IFC / other]
|
| 80 |
+
═══════════════════════════════════════════════════════════
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
## STEP 2 — THE 15 APEC PARAMETERS (from quality-framework.md)
|
| 86 |
+
|
| 87 |
+
Score each parameter 0–10. Apply RED (< 3), YELLOW (3–6), GREEN (7–10).
|
| 88 |
+
|
| 89 |
+
### Parameter 6.1 — Economic Rate of Return (ERR)
|
| 90 |
+
|
| 91 |
+
```
|
| 92 |
+
PARAMETER 6.1 — ECONOMIC RATE OF RETURN
|
| 93 |
+
═══════════════════════════════════════════════════════════
|
| 94 |
+
ERR stated: [X]%
|
| 95 |
+
Threshold (MDB min): [10–12]%
|
| 96 |
+
Status: [GREEN / YELLOW / RED]
|
| 97 |
+
|
| 98 |
+
CBA methodology:
|
| 99 |
+
□ Shadow pricing for non-market benefits: [YES / NO ⚠]
|
| 100 |
+
□ Time savings monetised: [YES / NO]
|
| 101 |
+
□ Accident reduction valued: [YES / NO]
|
| 102 |
+
□ GHG emissions costed: [YES / NO]
|
| 103 |
+
□ Demand sensitivity tested: [YES / NO ⚠]
|
| 104 |
+
|
| 105 |
+
Key assumptions:
|
| 106 |
+
Traffic/demand growth: [X]% per annum — basis: [MODEL / SURVEY]
|
| 107 |
+
Shadow wage rate: [X × market wage — basis: employment premium in area]
|
| 108 |
+
Value of time: [CURRENCY X]/hour — basis: [GDP-based / survey]
|
| 109 |
+
Residual value: [CURRENCY AMOUNT at Year [N]]
|
| 110 |
+
|
| 111 |
+
Stress-tested ERR (−20% demand): [X]% [still > threshold: YES / NO]
|
| 112 |
+
Stress-tested ERR (−30% demand): [X]%
|
| 113 |
+
|
| 114 |
+
Score: [X/10]
|
| 115 |
+
═══════════════════════════════════════════════════════════
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
### Parameter 6.2 — Lifecycle Cost Analysis (LCC)
|
| 119 |
+
|
| 120 |
+
```
|
| 121 |
+
PARAMETER 6.2 — LIFECYCLE COST ANALYSIS
|
| 122 |
+
═══════════════════════════════════════════════════════════
|
| 123 |
+
LCC analysis completed: [YES / NO ⚠]
|
| 124 |
+
Discount rate used: [X]% real — [social discount rate / WACC]
|
| 125 |
+
Horizon: [Concession period: [N] years]
|
| 126 |
+
|
| 127 |
+
LCC components:
|
| 128 |
+
CAPEX: [CURRENCY] [AMOUNT]
|
| 129 |
+
PV(OPEX): [CURRENCY] [AMOUNT]
|
| 130 |
+
PV(Maintenance): [CURRENCY] [AMOUNT]
|
| 131 |
+
Major maintenance schedule: [Confirmed / ABSENT ⚠ — MMRA funded?]
|
| 132 |
+
PV(Residual/decommission): [CURRENCY] [AMOUNT]
|
| 133 |
+
─────────────────────────────────────────────────────
|
| 134 |
+
TOTAL LCC (PV): [CURRENCY] [AMOUNT]
|
| 135 |
+
|
| 136 |
+
Design specification:
|
| 137 |
+
□ Not lowest-bid: life-cycle optimised design confirmed [YES / NO ⚠]
|
| 138 |
+
□ Major maintenance reserve account (MMRA): [Funded / ABSENT ⚠]
|
| 139 |
+
□ Asset replacement schedule: [30-year schedule provided / ABSENT ⚠]
|
| 140 |
+
|
| 141 |
+
Score: [X/10]
|
| 142 |
+
═══════════════════════════════════════════════════════════
|
| 143 |
+
```
|
| 144 |
+
|
| 145 |
+
### Parameter 6.3 — Construction Quality
|
| 146 |
+
|
| 147 |
+
```
|
| 148 |
+
PARAMETER 6.3 — CONSTRUCTION QUALITY
|
| 149 |
+
═══════════════════════════════════════════════════════════
|
| 150 |
+
EPC/Turnkey structure: [Fixed-price lump sum / Time-and-materials ⚠]
|
| 151 |
+
Contractor: [Name — international Tier 1 / national / joint venture]
|
| 152 |
+
Constructor track record:[Similar projects: list / Not demonstrated ⚠]
|
| 153 |
+
Standards applied: [ISO 9001 QMS / ISO 14001 EMS / ILO OHS — all: YES / PARTIAL]
|
| 154 |
+
Independent Engineer: [Engaged: YES / NOT YET ⚠ — firm: NAME]
|
| 155 |
+
IE scope: [Design review / Construction supervision / Testing / All]
|
| 156 |
+
Milestone testing: [Performance tests at commissioning — defined: YES / NO ⚠]
|
| 157 |
+
Defects liability: [DLP: [N] years — structural: [5 years min / LESS ⚠]]
|
| 158 |
+
LD provisions: [Delay LDs: [CURRENCY X]/day — Performance LDs: [CURRENCY X]]
|
| 159 |
+
Performance bond: [X]% of EPC contract value — issuing bank: [NAME]
|
| 160 |
+
|
| 161 |
+
Score: [X/10]
|
| 162 |
+
═══════════════════════════════════════════════════════════
|
| 163 |
+
```
|
| 164 |
+
|
| 165 |
+
### Parameter 6.4 — Resilience and Climate Risk
|
| 166 |
+
|
| 167 |
+
```
|
| 168 |
+
PARAMETER 6.4 — RESILIENCE AND CLIMATE RISK
|
| 169 |
+
═══════════════════════════════════════════════════════════
|
| 170 |
+
Climate risk assessment: [Completed (RCP4.5 + RCP8.5) / Partial / ABSENT ⚠]
|
| 171 |
+
Design life: [N years]
|
| 172 |
+
Climate trajectory alignment: [2060 conditions modelled: YES / NO ⚠]
|
| 173 |
+
|
| 174 |
+
Key climate risks for this project:
|
| 175 |
+
Flood: Return period design: [1-in-[N]yr] — projected risk by 2060: [1-in-[M]yr]
|
| 176 |
+
Gap: [DESIGN ADEQUATE / INADEQUATE ⚠ — upgrade required: CURRENCY AMOUNT]
|
| 177 |
+
Heat: Design temperature: [X°C] — projected P90 by 2060: [X°C]
|
| 178 |
+
Pavement / structure adaptation: [ADEQUATE / INADEQUATE ⚠]
|
| 179 |
+
Wind: Design wind speed: [X m/s] — cyclone zone: [YES / NO]
|
| 180 |
+
Seismic: PGA: [X]g — design standard: [IBC 2018 / IS 1893 / EC 8 / other]
|
| 181 |
+
Sea level: [Applicable: YES / NO] — SLR by 2060: [+X]cm — design clearance: [Y]cm
|
| 182 |
+
|
| 183 |
+
Insurance:
|
| 184 |
+
Force majeure for climate events: [Covered / EXCLUDED ⚠ — who bears?]
|
| 185 |
+
Political risk / natural disaster: [MIGA / ECAs / private — confirmed]
|
| 186 |
+
|
| 187 |
+
Score: [X/10]
|
| 188 |
+
═══════════════════════════════════════════════════════════
|
| 189 |
+
```
|
| 190 |
+
|
| 191 |
+
### Parameter 6.5 — Environmental and Social Safeguards (ESS)
|
| 192 |
+
|
| 193 |
+
```
|
| 194 |
+
PARAMETER 6.5 — ENVIRONMENTAL AND SOCIAL SAFEGUARDS
|
| 195 |
+
⚠ VETO PARAMETER — Score < 3/10 = PROJECT-LEVEL RED
|
| 196 |
+
═══════════════════════════════════════════════════════════
|
| 197 |
+
Safeguard framework: [IFC PS / World Bank ESF / ADB SPS / other]
|
| 198 |
+
|
| 199 |
+
IFC Performance Standards — Status:
|
| 200 |
+
PS1 (Assessment/management): [COMPLIANT / GAP: describe]
|
| 201 |
+
PS2 (Labour): [COMPLIANT / GAP: describe]
|
| 202 |
+
PS3 (Resource efficiency): [COMPLIANT / GAP: describe]
|
| 203 |
+
PS4 (Community health): [COMPLIANT / GAP: describe]
|
| 204 |
+
PS5 (Land acquisition): [COMPLIANT / GAP: describe]
|
| 205 |
+
PS6 (Biodiversity): [COMPLIANT / GAP: describe]
|
| 206 |
+
PS7 (Indigenous peoples): [COMPLIANT / N/A — no IP affected / GAP ⚠]
|
| 207 |
+
PS8 (Cultural heritage): [COMPLIANT / GAP: describe]
|
| 208 |
+
|
| 209 |
+
Key documents:
|
| 210 |
+
□ ESIA approved by competent authority: [YES / NO ⚠]
|
| 211 |
+
□ Resettlement Action Plan (RAP): [YES / NO ⚠ — if displacement occurs]
|
| 212 |
+
□ Livelihood Restoration Plan: [YES / NO ⚠]
|
| 213 |
+
□ Stakeholder Engagement Plan (SEP): [Meaningful consultation: YES / NO ⚠]
|
| 214 |
+
□ FPIC for indigenous peoples: [YES / N/A / NO ⚠]
|
| 215 |
+
□ Grievance mechanism: [Operational: YES / ABSENT ⚠]
|
| 216 |
+
□ Labour management procedures: [YES / ABSENT ⚠]
|
| 217 |
+
□ Biodiversity offset plan: [YES / NO ⚠ — if habitat affected]
|
| 218 |
+
|
| 219 |
+
E&S monitoring:
|
| 220 |
+
External monitor engaged: [YES / NO ⚠]
|
| 221 |
+
Reporting frequency: [Semi-annual / Annual — to lender/MDB]
|
| 222 |
+
|
| 223 |
+
Score: [X/10] — [VETO triggered if < 3]
|
| 224 |
+
═══════════════════════════════════════════════════════════
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
### Parameter 6.6 — Governance and Transparency
|
| 228 |
+
|
| 229 |
+
```
|
| 230 |
+
PARAMETER 6.6 — GOVERNANCE AND TRANSPARENCY
|
| 231 |
+
⚠ VETO PARAMETER — Score < 3/10 = PROJECT-LEVEL RED
|
| 232 |
+
═══════════════════════════════════════════════════════════
|
| 233 |
+
Procurement method: [Open international competitive bidding / Other — ⚠ if not ICB]
|
| 234 |
+
Procurement integrity:
|
| 235 |
+
□ Bid evaluation criteria: transparent and pre-disclosed [YES / NO ⚠]
|
| 236 |
+
□ Conflict of interest: declared and managed [YES / NO ⚠]
|
| 237 |
+
□ World Bank / MDB debarment list checked: [YES / NO ⚠]
|
| 238 |
+
□ Beneficial ownership of contractor: disclosed [YES / NO ⚠]
|
| 239 |
+
|
| 240 |
+
Contract transparency:
|
| 241 |
+
□ Concession/PPP contract published within 90 days of award: [YES / COMMITTED / NO ⚠]
|
| 242 |
+
□ Price/tariff formula transparent: [YES / OPAQUE ⚠]
|
| 243 |
+
|
| 244 |
+
Anti-corruption measures:
|
| 245 |
+
Integrity Due Diligence (IDD) on sponsors/contractors: [Completed / PENDING ⚠]
|
| 246 |
+
Project-specific integrity framework: [YES / ABSENT ⚠]
|
| 247 |
+
Whistleblower mechanism: [YES / ABSENT ⚠]
|
| 248 |
+
|
| 249 |
+
Independent oversight:
|
| 250 |
+
External auditor: [Appointed — firm: NAME / NOT APPOINTED ⚠]
|
| 251 |
+
Audit clause in concession: [YES / ABSENT ⚠]
|
| 252 |
+
Parliamentary / legislature oversight: [YES / LIMITED / NO ⚠]
|
| 253 |
+
|
| 254 |
+
Score: [X/10] — [VETO triggered if < 3]
|
| 255 |
+
═══════════════════════════════════════════════════════════
|
| 256 |
+
```
|
| 257 |
+
|
| 258 |
+
### Parameter 6.7 — Debt Sustainability
|
| 259 |
+
|
| 260 |
+
```
|
| 261 |
+
PARAMETER 6.7 — DEBT SUSTAINABILITY
|
| 262 |
+
⚠ VETO PARAMETER — Score < 3/10 = PROJECT-LEVEL RED
|
| 263 |
+
═══════════════════════════════════════════════════════════
|
| 264 |
+
Host country: [COUNTRY]
|
| 265 |
+
IMF DSA category: [Low risk / Medium risk / High risk / In debt distress]
|
| 266 |
+
|
| 267 |
+
Fiscal impact:
|
| 268 |
+
Project debt/GDP impact: [+X]pp — pre-project ratio: [X]% → post: [X]%
|
| 269 |
+
Contingent liabilities: [CURRENCY AMOUNT — guaranteed minimum revenue / availability payment]
|
| 270 |
+
Off-balance-sheet risk: [Disclosed in sovereign debt stats: YES / NO ⚠]
|
| 271 |
+
|
| 272 |
+
Currency mismatch:
|
| 273 |
+
Project revenues: [Local currency / USD / EUR]
|
| 274 |
+
Senior debt: [Local currency / hard currency — MISMATCH: YES ⚠ / NO]
|
| 275 |
+
Natural hedge: [Availability payment in [USD/EUR] matching debt currency: YES / NO]
|
| 276 |
+
FX risk mitigation: [Swap / indexed tariff / government guarantee — describe]
|
| 277 |
+
|
| 278 |
+
MDB engagement:
|
| 279 |
+
MDB co-financing: [Provides comfort on fiscal sustainability: YES / NO]
|
| 280 |
+
Budget allocation: [Line item in government budget for contingent payment: YES / NO ⚠]
|
| 281 |
+
|
| 282 |
+
Score: [X/10] — [VETO triggered if < 3]
|
| 283 |
+
═══════════════════════════════════════════════════════════
|
| 284 |
+
```
|
| 285 |
+
|
| 286 |
+
### Parameter 6.8 — Financial Viability and Bankability
|
| 287 |
+
|
| 288 |
+
```
|
| 289 |
+
PARAMETER 6.8 — FINANCIAL VIABILITY AND BANKABILITY
|
| 290 |
+
⚠ VETO PARAMETER — Score < 3/10 = PROJECT-LEVEL RED
|
| 291 |
+
═══════════════════════════════════════════════════════════
|
| 292 |
+
```
|
| 293 |
+
|
| 294 |
+
```bash
|
| 295 |
+
python scripts/validate_dscr.py \
|
| 296 |
+
--noi [project_NOI_or_availability_payment] \
|
| 297 |
+
--debt_service [annual_DS] \
|
| 298 |
+
--jurisdiction infrastructure \
|
| 299 |
+
--asset_type infrastructure
|
| 300 |
+
|
| 301 |
+
python scripts/validate_ltv.py \
|
| 302 |
+
--loan [senior_debt] --value [project_value] \
|
| 303 |
+
--country [country] --type infrastructure
|
| 304 |
+
```
|
| 305 |
+
|
| 306 |
+
```
|
| 307 |
+
KEY RATIOS:
|
| 308 |
+
DSCR (base): [X.XX]x [Threshold: 1.40x — STATUS: GREEN / YELLOW / RED]
|
| 309 |
+
DSCR (stress −20%): [X.XX]x [Stress threshold: 1.20x]
|
| 310 |
+
LLCR: [X.XX]x [Threshold: 1.30x]
|
| 311 |
+
PLCR: [X.XX]x [Threshold: 1.40x]
|
| 312 |
+
LTV / gearing: [X.X]% [Typical project finance: 70–80%]
|
| 313 |
+
Equity IRR: [X.XX]% [vs. hurdle: X% — ABOVE / BELOW]
|
| 314 |
+
|
| 315 |
+
Lender protections:
|
| 316 |
+
□ DSRA: [6 months DS funded at financial close: YES / ABSENT ⚠]
|
| 317 |
+
□ MMRA: [Funded quarterly: YES / ABSENT ⚠]
|
| 318 |
+
□ Step-in rights: [Lender can step in if SPV defaults: YES / ABSENT ⚠]
|
| 319 |
+
□ Restricted payments: [Dividend lock-up: DSCR ≥ [X.XX]x — YES / ABSENT ⚠]
|
| 320 |
+
|
| 321 |
+
Revenue model:
|
| 322 |
+
Revenue type: [Availability payment (government) / Toll (user) / Hybrid]
|
| 323 |
+
Offtake counterparty: [Government entity — credit rating: [X] / Unrated ⚠]
|
| 324 |
+
Demand risk: [Government bears / Private bears / Split: describe]
|
| 325 |
+
Minimum guarantee: [CURRENCY AMOUNT/yr — or ABSENT ⚠]
|
| 326 |
+
Independent traffic/demand study: [Conducted — firm: NAME / NOT CONDUCTED ⚠]
|
| 327 |
+
Revenue model certified: [By independent financial model auditor: YES / NO ⚠]
|
| 328 |
+
|
| 329 |
+
Viability gap funding (if applicable):
|
| 330 |
+
VGF amount: [CURRENCY] [AMOUNT]
|
| 331 |
+
VGF source: [Government budget / MDB grant / DFI concessional]
|
| 332 |
+
VGF conditionality: [Performance milestones — YES / NO ⚠]
|
| 333 |
+
|
| 334 |
+
Score: [X/10] — [VETO triggered if < 3]
|
| 335 |
+
═══════════════════════════════════════════════════════════
|
| 336 |
+
```
|
| 337 |
+
|
| 338 |
+
### Parameters 6.9–6.15 (Abbreviated)
|
| 339 |
+
|
| 340 |
+
```
|
| 341 |
+
PARAMETER 6.9 — LOCAL CAPACITY DEVELOPMENT Score: [X/10]
|
| 342 |
+
Local content: [X]% materials / [X]% labour / [X]% engineering
|
| 343 |
+
Training program: [YES — [N] staff / NO ⚠]
|
| 344 |
+
Technology transfer: [IP license / Manufacturing rights / ABSENT ⚠]
|
| 345 |
+
Operator training: [Formal program with local counterpart / ABSENT ⚠]
|
| 346 |
+
|
| 347 |
+
PARAMETER 6.10 — USER ACCESS AND AFFORDABILITY Score: [X/10]
|
| 348 |
+
Tariff: [CURRENCY X per unit] — affordability: [X]% of median income
|
| 349 |
+
Affordable threshold: [<5% of income: YES / NO ⚠ — subsidy mechanism needed]
|
| 350 |
+
Coverage: [X]% of target population — rural excluded: [YES ⚠ / NO]
|
| 351 |
+
Subsidy mechanism: [Cross-subsidy / Government direct / Output-based aid / ABSENT ⚠]
|
| 352 |
+
|
| 353 |
+
PARAMETER 6.11 — TECHNOLOGY AND INNOVATION Score: [X/10]
|
| 354 |
+
Technology type: [Proven / Cutting-edge — [X] years in operation elsewhere]
|
| 355 |
+
Technology lock-in: [Proprietary single-vendor O&M: YES ⚠ / NO]
|
| 356 |
+
Smart/digital: [IoT monitoring / SCADA / predictive maintenance: YES / NO]
|
| 357 |
+
Cybersecurity (if digital): [Provisions in place: YES / ABSENT ⚠]
|
| 358 |
+
Scalability: [Designed for [X]× capacity expansion without full rebuild: YES / NO]
|
| 359 |
+
|
| 360 |
+
PARAMETER 6.12 — INSTITUTIONAL/REGULATORY Score: [X/10]
|
| 361 |
+
Regulator: [Independent / Ministry-dependent ⚠]
|
| 362 |
+
Tariff mechanism: [Rule-based (CPI-X/price cap) / Discretionary ⚠]
|
| 363 |
+
Regulatory Quality Index: [Score X — >0.5: adequate / <0: high risk ⚠]
|
| 364 |
+
Dispute resolution: [ICSID arbitration: YES / Domestic only ⚠]
|
| 365 |
+
Expropriation history: [None / [N incidents] ⚠]
|
| 366 |
+
|
| 367 |
+
PARAMETER 6.13 — RISK ALLOCATION Score: [X/10]
|
| 368 |
+
Construction risk: [Fixed-price EPC: private ✓ / Time-and-materials ⚠]
|
| 369 |
+
Demand risk: [Government minimum guarantee ✓ / Full merchant risk ⚠]
|
| 370 |
+
Force majeure: [Government compensation event ✓ / Private bears ⚠]
|
| 371 |
+
Currency risk: [Government / Hedged / Unmitigated private ⚠]
|
| 372 |
+
Change-in-law: [Government compensates ✓ / Private bears ⚠]
|
| 373 |
+
Interface risk: [Government — land, utilities ✓ / Private ⚠]
|
| 374 |
+
|
| 375 |
+
PARAMETER 6.14 — MONITORING AND EVALUATION Score: [X/10]
|
| 376 |
+
KPIs defined (SMART): [YES / NO ⚠ — list key KPIs]
|
| 377 |
+
Baseline captured: [Pre-project data: YES / NO ⚠]
|
| 378 |
+
Real-time monitoring: [IoT/SCADA: YES / Manual only ⚠]
|
| 379 |
+
Independent midterm review: [Planned: YES / ABSENT ⚠]
|
| 380 |
+
Public reporting: [Annual report to affected communities: YES / NO ⚠]
|
| 381 |
+
|
| 382 |
+
PARAMETER 6.15 — EXIT AND HANDBACK Score: [X/10]
|
| 383 |
+
Handback condition defined in concession: [YES / ABSENT ⚠]
|
| 384 |
+
Remaining useful life at handback: [X years — acceptable: >10 years]
|
| 385 |
+
Handback reserve funded: [YES — [CURRENCY X]/yr / ABSENT ⚠]
|
| 386 |
+
Asset register: [Comprehensive / ABSENT ⚠]
|
| 387 |
+
Government technical capacity to verify: [YES / NO — training required ⚠]
|
| 388 |
+
```
|
| 389 |
+
|
| 390 |
+
---
|
| 391 |
+
|
| 392 |
+
## STEP 3 — AGGREGATE SCORING
|
| 393 |
+
|
| 394 |
+
```
|
| 395 |
+
APEC INFRASTRUCTURE QUALITY SCORECARD — [PROJECT NAME]
|
| 396 |
+
═══════════════════════════════════════════════════════════
|
| 397 |
+
PARAMETER SCORE WEIGHT WEIGHTED
|
| 398 |
+
6.1 Economic Rate of Return [X/10] 10% [X.X]
|
| 399 |
+
6.2 Lifecycle Cost Analysis [X/10] 8% [X.X]
|
| 400 |
+
6.3 Construction Quality [X/10] 8% [X.X]
|
| 401 |
+
6.4 Resilience / Climate [X/10] 7% [X.X]
|
| 402 |
+
6.5 E&S Safeguards (VETO) [X/10] 8% [X.X]
|
| 403 |
+
6.6 Governance (VETO) [X/10] 7% [X.X]
|
| 404 |
+
6.7 Debt Sustainability (VETO) [X/10] 8% [X.X]
|
| 405 |
+
6.8 Bankability (VETO) [X/10] 10% [X.X]
|
| 406 |
+
6.9 Local Capacity [X/10] 6% [X.X]
|
| 407 |
+
6.10 Affordability [X/10] 6% [X.X]
|
| 408 |
+
6.11 Technology [X/10] 5% [X.X]
|
| 409 |
+
6.12 Regulatory Framework [X/10] 7% [X.X]
|
| 410 |
+
6.13 Risk Allocation [X/10] 7% [X.X]
|
| 411 |
+
6.14 M&E [X/10] 4% [X.X]
|
| 412 |
+
6.15 Handback [X/10] 3% [X.X]
|
| 413 |
+
─────────────────────────────────────────────────────────
|
| 414 |
+
AGGREGATE SCORE: 100% [X.X/10]
|
| 415 |
+
|
| 416 |
+
VETO PARAMETERS:
|
| 417 |
+
6.5 ESS: [X/10] [PASS (≥3) / VETO ⚠ (<3)]
|
| 418 |
+
6.6 Governance: [X/10] [PASS / VETO ⚠]
|
| 419 |
+
6.7 Debt Sust.: [X/10] [PASS / VETO ⚠]
|
| 420 |
+
6.8 Bankability: [X/10] [PASS / VETO ⚠]
|
| 421 |
+
|
| 422 |
+
OVERALL PROJECT RATING:
|
| 423 |
+
Aggregate ≥ 7.5 AND no veto: ✅ GREEN — meets APEC/MDB standard
|
| 424 |
+
Aggregate 5.0–7.4 AND no veto:⚠ YELLOW — conditional, address gaps
|
| 425 |
+
Aggregate < 5.0 OR any veto: 🔴 RED — do not proceed without restructuring
|
| 426 |
+
|
| 427 |
+
PROJECT RATING: [GREEN / YELLOW / RED]
|
| 428 |
+
═══════════════════════════════════════════════════════════
|
| 429 |
+
```
|
| 430 |
+
|
| 431 |
+
---
|
| 432 |
+
|
| 433 |
+
## STEP 4 — RECOMMENDATIONS
|
| 434 |
+
|
| 435 |
+
```
|
| 436 |
+
RECOMMENDATIONS — [PROJECT NAME]
|
| 437 |
+
═══════════════════════════════════════════════════════════
|
| 438 |
+
IMMEDIATE (before financial close / MDB Board approval):
|
| 439 |
+
□ [Specific action for each RED or low-YELLOW parameter]
|
| 440 |
+
|
| 441 |
+
SHORT-TERM (first 12 months of construction):
|
| 442 |
+
□ [Independent Engineer appointment if not yet done]
|
| 443 |
+
□ [DSRA and MMRA funding confirmed]
|
| 444 |
+
□ [ESS monitoring framework operational]
|
| 445 |
+
|
| 446 |
+
STRUCTURAL (deal restructuring if RED):
|
| 447 |
+
□ [E.g. "Add government minimum revenue guarantee to address 6.8 RED"]
|
| 448 |
+
□ [E.g. "Obtain MIGA political risk insurance to address 6.12 regulatory risk"]
|
| 449 |
+
□ [E.g. "Commission independent demand study — 6.1 ERR cannot be validated"]
|
| 450 |
+
|
| 451 |
+
MDB COMPLIANCE STATUS:
|
| 452 |
+
World Bank ESF: [COMPLIANT / [N] gaps — list]
|
| 453 |
+
IFC PS 1–8: [COMPLIANT / [N] gaps — list]
|
| 454 |
+
ADB SPS: [COMPLIANT / [N] gaps — list]
|
| 455 |
+
═══════════════════════════════════════════════════════════
|
| 456 |
+
|
| 457 |
+
[Analysis under {country} law — APEC Quality Framework — as of {date}]
|
| 458 |
+
Source: references/apec/quality-framework.md (v6.0)
|
| 459 |
+
This evaluation is a structured analytical framework for project assessment.
|
| 460 |
+
It does not constitute investment advice or MDB project approval.
|
| 461 |
+
```
|
commands/evaluate-lending.md
ADDED
|
@@ -0,0 +1,433 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: evaluate-lending
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "evaluate lending", "lending analysis", "loan analysis",
|
| 4 |
+
# "LTV", "loan to value", "DSCR", "debt service coverage",
|
| 5 |
+
# "secured lending", "mortgage analysis", "lender assessment",
|
| 6 |
+
# "credit analysis", "loan underwriting", "debt sizing",
|
| 7 |
+
# "covenant analysis", "loan covenants", "financial covenants",
|
| 8 |
+
# "Pfandbrief", "CMBS", "project finance", "mezzanine",
|
| 9 |
+
# "interest cover", "debt yield", "LLCR", "PLCR",
|
| 10 |
+
# "loan agreement review", "facility agreement", "senior debt",
|
| 11 |
+
# "can this deal support debt", "what's the maximum loan",
|
| 12 |
+
# "refinancing analysis", "how much can I borrow",
|
| 13 |
+
# "análisis de financiación", "préstamo hipotecario", "LTV máximo",
|
| 14 |
+
# "covenants del préstamo", "servicio de la deuda"
|
| 15 |
+
# Dependencies:
|
| 16 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 17 |
+
# - scripts/validate_dscr.py (primary — debt coverage)
|
| 18 |
+
# - scripts/validate_ltv.py (primary — leverage)
|
| 19 |
+
# - scripts/validate_stamp_duty.py (mortgage registration tax)
|
| 20 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 21 |
+
# Output: Full lender credit analysis — DSCR/LTV/debt yield, covenant suite,
|
| 22 |
+
# stress testing, security package, jurisdiction-specific lender requirements
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
## COMMAND: evaluate-lending
|
| 27 |
+
|
| 28 |
+
### PURPOSE
|
| 29 |
+
Produce a complete lender credit analysis for a real estate or infrastructure
|
| 30 |
+
financing. This command answers the questions a credit committee asks:
|
| 31 |
+
|
| 32 |
+
1. What is the maximum sustainable loan at normal and stress conditions?
|
| 33 |
+
2. Does the proposed loan structure meet jurisdiction-specific lender thresholds?
|
| 34 |
+
3. What covenant package is appropriate for this asset and jurisdiction?
|
| 35 |
+
4. What is the security package and how robust is it?
|
| 36 |
+
5. How does the loan perform under stress scenarios?
|
| 37 |
+
6. What are the jurisdiction-specific lender obligations (registration, tax)?
|
| 38 |
+
|
| 39 |
+
**Primary users**: lenders (banks, debt funds, insurance companies, CMBS conduits,
|
| 40 |
+
development finance institutions) and borrowers preparing loan applications.
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
## STEP 0 — JURISDICTION GUARD
|
| 45 |
+
|
| 46 |
+
Lending thresholds are JURISDICTION-SPECIFIC.
|
| 47 |
+
|
| 48 |
+
```bash
|
| 49 |
+
python scripts/validate_jurisdiction.py \
|
| 50 |
+
--input "[property address]" \
|
| 51 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
Load: `references/countries/{jurisdiction}/tax-law.md`
|
| 55 |
+
(Mortgage registration, stamp duty on debt instruments, lender-specific rules)
|
| 56 |
+
|
| 57 |
+
**Jurisdiction-specific lender frameworks**:
|
| 58 |
+
- **Germany**: Pfandbrief — 60% Beleihungswert (conservative appraised value)
|
| 59 |
+
- **UK**: Clearing banks typically 65–70% LTV commercial; debt funds 75–80%
|
| 60 |
+
- **USA**: CMBS: senior LTV 60–65%; whole loan 70–75%; agency: up to 80%
|
| 61 |
+
- **Spain**: Banca española: 60–65% commercial; up to 80% residential
|
| 62 |
+
- **India**: RBI CRE guidelines: 65% LTV; NHB residential: 75–80%
|
| 63 |
+
- **UAE**: Central Bank: 65% commercial; 75–80% residential (expat)
|
| 64 |
+
- **Infrastructure / Project Finance**: typically 70–80% LTV; DSCR 1.40x+
|
| 65 |
+
|
| 66 |
+
---
|
| 67 |
+
|
| 68 |
+
## STEP 1 — REQUIRED INPUTS
|
| 69 |
+
|
| 70 |
+
```
|
| 71 |
+
REQUIRED:
|
| 72 |
+
□ Property address, type, and jurisdiction
|
| 73 |
+
□ Current market value (appraised or estimated)
|
| 74 |
+
□ Net Operating Income (NOI) — current and projected
|
| 75 |
+
□ Proposed loan amount
|
| 76 |
+
□ Proposed interest rate and type (fixed / floating + spread)
|
| 77 |
+
□ Proposed amortisation (IO / schedule)
|
| 78 |
+
□ Proposed loan term
|
| 79 |
+
□ Borrower entity type and creditworthiness overview
|
| 80 |
+
□ Existing debt on the asset (if refinancing)
|
| 81 |
+
□ Lease information (if income-producing)
|
| 82 |
+
|
| 83 |
+
USEFUL:
|
| 84 |
+
□ Full appraisal report (for Beleihungswert / RICS Red Book / FIRREA)
|
| 85 |
+
□ Existing loan term sheet or facility agreement (if reviewing existing)
|
| 86 |
+
□ Rent roll (for income analysis)
|
| 87 |
+
□ Business plan or development programme (if development finance)
|
| 88 |
+
□ Borrower audited accounts (last 3 years)
|
| 89 |
+
□ Personal net worth statement (if personal guarantee)
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
---
|
| 93 |
+
|
| 94 |
+
## STEP 2 — LOAN SIZING ANALYSIS
|
| 95 |
+
|
| 96 |
+
```bash
|
| 97 |
+
python scripts/validate_dscr.py \
|
| 98 |
+
--noi [NOI] --debt_service [proposed_DS] \
|
| 99 |
+
--jurisdiction [country] --asset_type [type]
|
| 100 |
+
|
| 101 |
+
python scripts/validate_ltv.py \
|
| 102 |
+
--loan [proposed_loan] --value [value] \
|
| 103 |
+
--country [country] --type [type]
|
| 104 |
+
```
|
| 105 |
+
|
| 106 |
+
```
|
| 107 |
+
LOAN SIZING ANALYSIS — [JURISDICTION] — [ASSET TYPE]
|
| 108 |
+
═══════════════════════════════════════════════════════════
|
| 109 |
+
ASSET:
|
| 110 |
+
Market value (appraised): [CURRENCY] [AMOUNT]
|
| 111 |
+
Beleihungswert (Germany): [CURRENCY] [AMOUNT] ([X]% of market value)
|
| 112 |
+
Value per sqm: [CURRENCY] [AMOUNT]/sqm
|
| 113 |
+
NOI (current): [CURRENCY] [AMOUNT]
|
| 114 |
+
NOI (stabilised): [CURRENCY] [AMOUNT]
|
| 115 |
+
|
| 116 |
+
PROPOSED LOAN:
|
| 117 |
+
Loan amount: [CURRENCY] [AMOUNT]
|
| 118 |
+
Interest rate: [X.XX]% [fixed / floating: [index]+[spread]bps]
|
| 119 |
+
Amortisation: [IO / [X]-year / [X]%/yr]
|
| 120 |
+
Loan term: [X] years
|
| 121 |
+
|
| 122 |
+
─────────────────────────────────────────────────────────
|
| 123 |
+
KEY RATIOS — PROPOSED LOAN:
|
| 124 |
+
|
| 125 |
+
LTV: [X.X]% [STATUS: GREEN / YELLOW / RED]
|
| 126 |
+
Normal max: [X.X]% (source: validate_ltv.py — [jurisdiction])
|
| 127 |
+
Stress max: [X.X]%
|
| 128 |
+
Headroom: [X.X]pp / value can fall [−X]% before max breach
|
| 129 |
+
|
| 130 |
+
DSCR: [X.XX]x [STATUS: GREEN / YELLOW / RED]
|
| 131 |
+
Normal min: [X.XX]x (source: validate_dscr.py — [jurisdiction])
|
| 132 |
+
Stress min: [X.XX]x
|
| 133 |
+
Headroom: [+X.XX]x / NOI can fall [−X]% before covenant breach
|
| 134 |
+
|
| 135 |
+
Debt Yield: [X.XX]% [NOI ÷ Loan amount]
|
| 136 |
+
Lender minimum: [X.X]% (market: [X.X]% for [asset class] in [jurisdiction])
|
| 137 |
+
|
| 138 |
+
LLCR: [X.XX]x [PV(NOI over loan life) ÷ Loan amount]
|
| 139 |
+
Lender minimum: [X.XX]x (infrastructure: 1.30x / commercial RE: 1.20x)
|
| 140 |
+
|
| 141 |
+
─────────────────────────────────────────────────────────
|
| 142 |
+
MAXIMUM LOAN ANALYSIS:
|
| 143 |
+
|
| 144 |
+
Max loan by LTV (normal): [CURRENCY] [AMOUNT] ([X.X]% × value)
|
| 145 |
+
Max loan by LTV (stress): [CURRENCY] [AMOUNT] ([X.X]% × value)
|
| 146 |
+
Max loan by DSCR (normal): [CURRENCY] [AMOUNT] [NOI ÷ DS rate at [X.XX]x]
|
| 147 |
+
Max loan by DSCR (stress): [CURRENCY] [AMOUNT] [NOI ÷ DS rate at [X.XX]x]
|
| 148 |
+
Max loan by debt yield: [CURRENCY] [AMOUNT] [NOI ÷ [X.X]%]
|
| 149 |
+
|
| 150 |
+
BINDING CONSTRAINT: [LTV / DSCR / Debt yield — whichever is lowest]
|
| 151 |
+
MAXIMUM LOAN (binding): [CURRENCY] [AMOUNT]
|
| 152 |
+
vs. Proposed loan: [AMOUNT ABOVE / BELOW maximum — [STATUS]]
|
| 153 |
+
═══════════════════════════════════════════════════════════
|
| 154 |
+
```
|
| 155 |
+
|
| 156 |
+
---
|
| 157 |
+
|
| 158 |
+
## STEP 3 — COVENANT PACKAGE
|
| 159 |
+
|
| 160 |
+
```
|
| 161 |
+
RECOMMENDED COVENANT PACKAGE — [JURISDICTION] — [ASSET TYPE]
|
| 162 |
+
═══════════════════════════════════════════════════════════
|
| 163 |
+
FINANCIAL COVENANTS (tested [quarterly / semi-annually / annually]):
|
| 164 |
+
|
| 165 |
+
DSCR:
|
| 166 |
+
Maintenance covenant: ≥ [X.XX]x [normal threshold — see validate_dscr.py]
|
| 167 |
+
Cash trap trigger: < [X.XX]x [typically 10–15bps above maintenance]
|
| 168 |
+
Cure period: [30 / 60] days to remedy before event of default
|
| 169 |
+
Testing date: [Quarter end / Semi-annual / Annual]
|
| 170 |
+
|
| 171 |
+
LTV:
|
| 172 |
+
Maintenance covenant: ≤ [X.X]% [normal threshold — see validate_ltv.py]
|
| 173 |
+
Valuation frequency: [Annual / On request / On enforcement]
|
| 174 |
+
Cure: cash sweep / partial repayment to restore compliance
|
| 175 |
+
|
| 176 |
+
Debt Yield:
|
| 177 |
+
Maintenance covenant: ≥ [X.X]% (increasingly used — not easily gamed)
|
| 178 |
+
Test: same as DSCR
|
| 179 |
+
|
| 180 |
+
Interest Cover Ratio (ICR):
|
| 181 |
+
Maintenance covenant: ≥ [X.XX]x [NOI ÷ Interest only — no amortisation]
|
| 182 |
+
Note: more lenient than DSCR; used alongside or instead in IO structures
|
| 183 |
+
|
| 184 |
+
CASH MANAGEMENT COVENANTS:
|
| 185 |
+
|
| 186 |
+
Debt Service Reserve Account (DSRA):
|
| 187 |
+
Required amount: [X] months of debt service = [CURRENCY AMOUNT]
|
| 188 |
+
Funding: [At closing / Built from cash flow over [N] months]
|
| 189 |
+
Permitted investments: [High-quality liquid assets — AAA government bonds]
|
| 190 |
+
|
| 191 |
+
Major Maintenance Reserve Account (MMRA):
|
| 192 |
+
Required amount: [CURRENCY X]/sqm/yr = [CURRENCY AMOUNT/yr]
|
| 193 |
+
Purpose: [Roof replacement / HVAC / structural repairs]
|
| 194 |
+
Release conditions: [IE certification / landlord approval]
|
| 195 |
+
|
| 196 |
+
Cash Trap / Cash Sweep:
|
| 197 |
+
Trigger: DSCR < [X.XX]x OR LTV > [X.X]%
|
| 198 |
+
Effect: All excess cash trapped in control account
|
| 199 |
+
Release: Covenants restored for [2] consecutive quarters
|
| 200 |
+
|
| 201 |
+
Restricted Payments:
|
| 202 |
+
Condition to distribution:[DSCR ≥ [X.XX]x AND LTV ≤ [X.X]% AND no EoD]
|
| 203 |
+
Frequency: [Quarterly / Semi-annual]
|
| 204 |
+
|
| 205 |
+
INFORMATION COVENANTS:
|
| 206 |
+
Quarterly: [Management accounts within [45] days]
|
| 207 |
+
Annual: [Audited accounts within [120] days]
|
| 208 |
+
Annual: [Independent property valuation]
|
| 209 |
+
Immediate: [Material adverse change / Lease event / Casualty / Planning decision]
|
| 210 |
+
Immediate: [Tenant default / Insolvency / Rent arrears > [X] months]
|
| 211 |
+
|
| 212 |
+
OPERATIONAL COVENANTS:
|
| 213 |
+
□ Maintain property in good repair
|
| 214 |
+
□ Insurance — buildings + loss of rent — at reinstatement value
|
| 215 |
+
□ No material alterations without lender consent
|
| 216 |
+
□ No further encumbrances without lender consent
|
| 217 |
+
□ Comply with all planning conditions
|
| 218 |
+
□ Notify lender of lease events (renewals, breaks, assignments)
|
| 219 |
+
□ Lender's right to inspect on [X] days' notice
|
| 220 |
+
═══════════════════════════════════════════════════════════
|
| 221 |
+
```
|
| 222 |
+
|
| 223 |
+
---
|
| 224 |
+
|
| 225 |
+
## STEP 4 — SECURITY PACKAGE
|
| 226 |
+
|
| 227 |
+
```
|
| 228 |
+
SECURITY PACKAGE — [JURISDICTION]
|
| 229 |
+
═══════════════════════════════════════════════════════════
|
| 230 |
+
REAL ESTATE SECURITY:
|
| 231 |
+
First legal charge / Mortgage:
|
| 232 |
+
[UK]: Legal charge over freehold / leasehold title — registered at Land Registry
|
| 233 |
+
[Spain]: Hipoteca — inscribed at Registro de la Propiedad
|
| 234 |
+
Stamp duty on mortgage: AJD [0.5–2]% of loan amount (CCAA-specific)
|
| 235 |
+
[Germany]:Grundschuld (not Hypothek) — entered in Grundbuch
|
| 236 |
+
[Pfandbrief eligible: 60% Beleihungswert confirmed]
|
| 237 |
+
[USA]: Deed of Trust / Mortgage — recorded in County Recorder
|
| 238 |
+
Title insurance: ALTA Lender's Policy required
|
| 239 |
+
[India]: Equitable mortgage (deposit of title deeds) or Registered Mortgage
|
| 240 |
+
Mortgage stamp duty: [State-specific — check]
|
| 241 |
+
[UAE]: DLD mortgage registration — 0.25% of loan + AED 290
|
| 242 |
+
|
| 243 |
+
Assignment of rental income:
|
| 244 |
+
First priority assignment of all rental income from the property
|
| 245 |
+
Tenant notice of assignment: [required / not required — jurisdiction-specific]
|
| 246 |
+
[UK]: Rent deposit deed — assigned to lender
|
| 247 |
+
|
| 248 |
+
Assignment of insurance policies:
|
| 249 |
+
Buildings insurance — lender's interest noted
|
| 250 |
+
Loss of rent insurance — proceeds payable to lender if EoD
|
| 251 |
+
|
| 252 |
+
ADDITIONAL SECURITY:
|
| 253 |
+
Personal guarantee: [Individual guarantor — unlimited / capped at [AMOUNT]]
|
| 254 |
+
Parent guarantee: [Corporate guarantee — guarantor rated [X] / unrated]
|
| 255 |
+
Bank guarantee: [Issued by [BANK] — [AMOUNT] — [X] years]
|
| 256 |
+
Share pledge: [Over shares of SPV — registered in [jurisdiction]]
|
| 257 |
+
Account charge: [Over DSRA, MMRA, and operating accounts]
|
| 258 |
+
|
| 259 |
+
LENDER PROTECTIONS:
|
| 260 |
+
SNDA (USA): [Executed with all tenants — YES / To be executed]
|
| 261 |
+
Estoppel certificates: [Obtained from all tenants — YES / To be obtained]
|
| 262 |
+
Lender's title insurance:[ALTA / [equivalent] — obtained / to be obtained]
|
| 263 |
+
Environmental insurance: [Pollution liability — YES / ABSENT]
|
| 264 |
+
Independent Engineer: [Infrastructure / development — IE engaged]
|
| 265 |
+
|
| 266 |
+
ENFORCEMENT PATH (if default):
|
| 267 |
+
[UK]: Law of Property Act 1925 s.101 — receiver appointment;
|
| 268 |
+
no court required for most commercial enforcement
|
| 269 |
+
[Spain]:Ejecución hipotecaria — court process;
|
| 270 |
+
procedimiento extrajudicial if notarially agreed
|
| 271 |
+
[Germany]: Zwangsversteigerung (forced sale) via Amtsgericht
|
| 272 |
+
[USA]: Foreclosure — judicial (some states) / non-judicial (deed of trust states)
|
| 273 |
+
Receiver appointment — courts grant rapidly in most states
|
| 274 |
+
[India]: SARFAESI Act 2002 — bank can take possession without court (if secured creditor)
|
| 275 |
+
[UAE]: DLD coordinates with courts;
|
| 276 |
+
Dispute Resolution Centre for mortgage disputes
|
| 277 |
+
═══════════════════════════════════════════════════════════
|
| 278 |
+
```
|
| 279 |
+
|
| 280 |
+
---
|
| 281 |
+
|
| 282 |
+
## STEP 5 — STRESS TEST FOR LENDER
|
| 283 |
+
|
| 284 |
+
Apply the lender's perspective to the stress test command:
|
| 285 |
+
|
| 286 |
+
```
|
| 287 |
+
LENDER STRESS TEST — [JURISDICTION] — [ASSET TYPE]
|
| 288 |
+
═══════════════════════════════════════════════════════════
|
| 289 |
+
[From stress-test command — lender-focused output]
|
| 290 |
+
|
| 291 |
+
BASE MILD(−5%) MOD(−10%) SEV(−20%) TAIL(−30%)
|
| 292 |
+
─────────────────────────────────────────────────────────────────
|
| 293 |
+
NOI: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 294 |
+
Debt service: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 295 |
+
DSCR: [X.XX]x [X.XX]x [X.XX]x [X.XX]x [X.XX]x
|
| 296 |
+
DSCR status: GREEN GREEN YELLOW RED RED
|
| 297 |
+
Exit value: [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT] [AMOUNT]
|
| 298 |
+
LTV (exit): [X.X]% [X.X]% [X.X]% [X.X]% [X.X]%
|
| 299 |
+
LTV status: GREEN GREEN GREEN YELLOW RED
|
| 300 |
+
─────────────────────────────────────────────────────────────────
|
| 301 |
+
LOAN STATUS: PERFORM PERFORM WATCH DEFAULT DEFAULT
|
| 302 |
+
─────────────────────────────────────────────────────────────────
|
| 303 |
+
|
| 304 |
+
FIRST DSCR BREACH: S[n] — rent decline of [−X]% from passing
|
| 305 |
+
FIRST LTV BREACH: S[n] — value decline of [−X]% from appraised value
|
| 306 |
+
|
| 307 |
+
RECOVERY ANALYSIS (if EoD at S3):
|
| 308 |
+
Outstanding loan: [CURRENCY] [AMOUNT]
|
| 309 |
+
Stressed exit value (S3): [CURRENCY] [AMOUNT]
|
| 310 |
+
Sales costs: ([CURRENCY] [AMOUNT])
|
| 311 |
+
Net recovery: [CURRENCY] [AMOUNT]
|
| 312 |
+
Loss given default (LGD): [CURRENCY] [AMOUNT] ([X]% of loan)
|
| 313 |
+
Recovery rate: [X]%
|
| 314 |
+
═══════════════════════════════════════════════════════════
|
| 315 |
+
```
|
| 316 |
+
|
| 317 |
+
---
|
| 318 |
+
|
| 319 |
+
## STEP 6 — JURISDICTION-SPECIFIC LENDER REQUIREMENTS
|
| 320 |
+
|
| 321 |
+
```
|
| 322 |
+
JURISDICTION-SPECIFIC LENDER REQUIREMENTS
|
| 323 |
+
═══════════════════════════════════════════════════════════
|
| 324 |
+
[Apply section relevant to confirmed jurisdiction]
|
| 325 |
+
|
| 326 |
+
─────────────────────────── SPAIN ───────────────────────────
|
| 327 |
+
□ Tasación: FIVA/BdE-approved independent valuation required
|
| 328 |
+
□ AJD on mortgage deed: [0.5–2]% of loan — check CCAA (Madrid 0.75%)
|
| 329 |
+
□ Registro de la Propiedad: Hipoteca inscription required before drawdown
|
| 330 |
+
□ Nota simple: clean title confirmed — no prior charges
|
| 331 |
+
□ Seguro de vida (residential): personal mortgage insurance — [required / optional]
|
| 332 |
+
□ Hipoteca vs. Préstamo hipotecario: confirm correct instrument
|
| 333 |
+
|
| 334 |
+
─────────────────────────── UK ──────────────────────────────
|
| 335 |
+
□ RICS Red Book valuation (RICS Registered Valuer) — independence confirmed
|
| 336 |
+
□ Legal charge — registered at Land Registry (Form CH1)
|
| 337 |
+
□ Certificate of title from borrower's solicitor to lender
|
| 338 |
+
□ Building regulations completion certificate in place
|
| 339 |
+
□ Environmental search — Phase 1 minimum
|
| 340 |
+
□ Search pack: local authority / drainage / environmental / chancel repair
|
| 341 |
+
□ SDLT: no additional duty on mortgage instrument
|
| 342 |
+
□ Leasehold: minimum unexpired term > [loan term + 70 years] for most lenders
|
| 343 |
+
□ RICS Building Survey (commercial) if any structural concerns
|
| 344 |
+
|
| 345 |
+
─────────────────────────── USA ─────────────────────────────
|
| 346 |
+
□ ALTA lender's title insurance policy — Schedule B exceptions reviewed
|
| 347 |
+
□ FIRREA-compliant appraisal (federally regulated lenders)
|
| 348 |
+
□ Phase I ESA — ASTM E1527-21 standard
|
| 349 |
+
□ Survey — ALTA/NSPS Land Title Survey
|
| 350 |
+
□ CMBS: loan must be non-recourse (carve-outs for fraud/waste/etc)
|
| 351 |
+
□ Lockbox/cash management account — required for CMBS and many bank loans
|
| 352 |
+
□ Springing cash management: triggers when DSCR < [X.XX]x
|
| 353 |
+
□ Tenant SNDAs — required for all leases > [X]% of rent roll
|
| 354 |
+
□ FIRPTA withholding at origination: not applicable; at maturity/sale: yes
|
| 355 |
+
□ UCC-1 financing statement filed (for personal property security)
|
| 356 |
+
|
| 357 |
+
─────────────────────────── GERMANY ─────────────────────────
|
| 358 |
+
□ Verkehrswert appraisal (§194 BauGB) — from Sachverständiger
|
| 359 |
+
□ Beleihungswert assessment (§16 PfandBG) — conservative sustainable value
|
| 360 |
+
Beleihungswert = market value × [60–70]% → max Pfandbrief loan = 60% BLW
|
| 361 |
+
□ Grundbuch entry — Grundschuld (not Hypothek — no personal liability linkage)
|
| 362 |
+
□ Grundstücksbelastungskosten: notary + court fees for Grundschuld entry (~0.5%)
|
| 363 |
+
□ Unbedenklichkeitsbescheinigung: required for Grundbuch transfer (no GrESt arrears)
|
| 364 |
+
□ Wertermittlungsverordnung (ImmoWertV): valuation methodology compliance
|
| 365 |
+
|
| 366 |
+
─────────────────────────── INDIA ───────────────────────────
|
| 367 |
+
□ Title search: 30-year title history minimum
|
| 368 |
+
□ Equitable mortgage: deposit of original title deeds
|
| 369 |
+
□ Registered mortgage: stamp duty [state-specific] + registration fee
|
| 370 |
+
□ RBI CRE guidelines: commercial LTV ≤ 65%
|
| 371 |
+
□ NHB guidelines: residential — 75–80% LTV depending on loan size
|
| 372 |
+
□ SARFAESI Act 2002: secure creditor classification for enforcement rights
|
| 373 |
+
□ RERA registration: confirm project status before construction finance
|
| 374 |
+
□ TDS on mortgage interest: no TDS for resident borrowers; Sec.195 if NR lender
|
| 375 |
+
|
| 376 |
+
─────────────────────────── UAE ─────────────────────────────
|
| 377 |
+
□ Central Bank LTV limits: [65–85]% depending on buyer type and property value
|
| 378 |
+
□ DLD mortgage registration: 0.25% of loan + AED 290
|
| 379 |
+
□ RERA: off-plan — escrow account must exist before any drawdown
|
| 380 |
+
□ Takaful / conventional insurance: Islamic finance structures
|
| 381 |
+
□ Central Bank debt burden ratio: max 50% of monthly salary
|
| 382 |
+
□ No age > 65 (salaried) / 70 (self-employed) at loan maturity
|
| 383 |
+
═══════════════════════════════════════════════════════════
|
| 384 |
+
```
|
| 385 |
+
|
| 386 |
+
---
|
| 387 |
+
|
| 388 |
+
## STEP 7 — LENDING RECOMMENDATION SUMMARY
|
| 389 |
+
|
| 390 |
+
```
|
| 391 |
+
LENDING RECOMMENDATION — [JURISDICTION]
|
| 392 |
+
═══════════════════════════════════════════════════════════
|
| 393 |
+
[Analysis under {country} law — {date}]
|
| 394 |
+
|
| 395 |
+
PROPOSED LOAN: [CURRENCY] [AMOUNT]
|
| 396 |
+
ASSET VALUE: [CURRENCY] [AMOUNT]
|
| 397 |
+
|
| 398 |
+
COVERAGE METRICS:
|
| 399 |
+
LTV: [X.X]% → [GREEN / YELLOW / RED] (max: [X.X]% normal / [X.X]% stress)
|
| 400 |
+
DSCR: [X.XX]x → [GREEN / YELLOW / RED] (min: [X.XX]x normal / [X.XX]x stress)
|
| 401 |
+
DY: [X.XX]% → [GREEN / YELLOW / RED] (min: [X.X]%)
|
| 402 |
+
LLCR: [X.XX]x → [GREEN / YELLOW / RED] (min: [X.XX]x)
|
| 403 |
+
|
| 404 |
+
STRESS PERFORMANCE:
|
| 405 |
+
First covenant breach: Scenario S[n] (rent decline [−X]%)
|
| 406 |
+
Recovery at S3: [X]% (LGD: [CURRENCY AMOUNT])
|
| 407 |
+
|
| 408 |
+
SECURITY ASSESSMENT:
|
| 409 |
+
First charge: [CONFIRMED / PENDING]
|
| 410 |
+
Income assignment: [CONFIRMED / PENDING]
|
| 411 |
+
SNDA/Estoppel: [CONFIRMED / PENDING / ABSENT ⚠]
|
| 412 |
+
Title insurance: [CONFIRMED / PENDING / NOT REQUIRED]
|
| 413 |
+
|
| 414 |
+
OVERALL CREDIT STATUS: [GREEN / YELLOW / RED]
|
| 415 |
+
|
| 416 |
+
RECOMMENDATION: [APPROVE / CONDITIONAL APPROVE / DECLINE]
|
| 417 |
+
|
| 418 |
+
Conditions (if CONDITIONAL):
|
| 419 |
+
□ [Condition 1]
|
| 420 |
+
□ [Condition 2]
|
| 421 |
+
□ [Condition 3]
|
| 422 |
+
|
| 423 |
+
Maximum loan recommended: [CURRENCY] [AMOUNT]
|
| 424 |
+
(vs. proposed: [CURRENCY] [AMOUNT] — [ACCEPTABLE / EXCEEDS MAX])
|
| 425 |
+
|
| 426 |
+
Source: references/countries/{jurisdiction}/tax-law.md (v6.0)
|
| 427 |
+
scripts/validate_dscr.py + validate_ltv.py
|
| 428 |
+
This analysis is a structured evaluation framework.
|
| 429 |
+
It does not constitute lending advice. All credit decisions require
|
| 430 |
+
authorisation by qualified credit personnel and compliance with applicable
|
| 431 |
+
banking regulations.
|
| 432 |
+
═══════════════════════════════════════════════════════════
|
| 433 |
+
```
|
commands/stress-test.md
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: stress-test
|
| 2 |
+
# Trigger phrases: "stress test", "sensitivity analysis", "downside scenario",
|
| 3 |
+
# "what if rents fall", "recession scenario", "interest rate shock",
|
| 4 |
+
# "worst case", "bear case", "stress the model", "break even analysis",
|
| 5 |
+
# "how much can rents fall before", "vacancy stress", "rate stress",
|
| 6 |
+
# "can this deal survive", "debt service stress", "covenant stress",
|
| 7 |
+
# "prueba de estrés", "análisis de sensibilidad", "escenario bajista"
|
| 8 |
+
# Dependencies: scripts/validate_dscr.py; scripts/validate_ltv.py; re-infra.local.md
|
| 9 |
+
# Output: Multi-scenario stress matrix + covenant breach analysis + RED/YELLOW/GREEN per scenario
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## COMMAND: stress-test
|
| 14 |
+
|
| 15 |
+
### PURPOSE
|
| 16 |
+
Run a structured multi-scenario stress test on a real estate or infrastructure deal's
|
| 17 |
+
financial model. Identify at which point debt covenants breach, equity returns collapse,
|
| 18 |
+
and the deal becomes non-viable.
|
| 19 |
+
|
| 20 |
+
**This command answers three questions**:
|
| 21 |
+
1. How much deterioration can this deal absorb before breaching lender covenants?
|
| 22 |
+
2. At which stress level does equity return fall below the hurdle rate?
|
| 23 |
+
3. What is the probability-weighted expected outcome across scenarios?
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## EXECUTION PROTOCOL
|
| 28 |
+
|
| 29 |
+
### STEP 0 — PRE-CONDITIONS
|
| 30 |
+
|
| 31 |
+
Before running stress test, confirm all of the following are available:
|
| 32 |
+
```
|
| 33 |
+
Required inputs:
|
| 34 |
+
□ Gross Potential Rent (GPR) or revenue baseline
|
| 35 |
+
□ Vacancy rate assumption
|
| 36 |
+
□ Operating expense ratio or NOI margin
|
| 37 |
+
□ Debt: loan amount, interest rate, amortisation schedule
|
| 38 |
+
□ Debt covenants: DSCR threshold, LTV threshold (from term sheet or loan agreement)
|
| 39 |
+
□ Property value (current or appraised)
|
| 40 |
+
□ Equity invested
|
| 41 |
+
□ Hold period and exit cap rate assumption
|
| 42 |
+
□ Jurisdiction (for jurisdiction-specific DSCR/LTV thresholds)
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
If any required input is missing: **ASK before proceeding**.
|
| 46 |
+
Do not run a stress test on incomplete data — outputs will be misleading.
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
### STEP 1 — BUILD THE BASE CASE
|
| 51 |
+
|
| 52 |
+
```
|
| 53 |
+
BASE CASE (Underwriting Assumptions)
|
| 54 |
+
══════════════════════════════════════════
|
| 55 |
+
GPR: [X]
|
| 56 |
+
Vacancy allowance: [X]% → EGI: [GPR × (1 − vacancy)]
|
| 57 |
+
Operating expenses: [X]% → NOI: [EGI × (1 − OpEx ratio)]
|
| 58 |
+
OR: NOI: [EGI − fixed OpEx]
|
| 59 |
+
|
| 60 |
+
Debt service (annual): [X] (interest + amortisation)
|
| 61 |
+
DSCR (base): [NOI ÷ DS] = [X.XXx]
|
| 62 |
+
LTV (base): [Loan ÷ Value] = [XX.X%]
|
| 63 |
+
|
| 64 |
+
Equity IRR (base): [X]% over [N]-year hold
|
| 65 |
+
Entry cap rate: [X]%
|
| 66 |
+
Exit cap rate: [X]%
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
**Validate base case** using scripts:
|
| 70 |
+
```bash
|
| 71 |
+
python scripts/validate_dscr.py \
|
| 72 |
+
--noi [base_NOI] --debt_service [DS] \
|
| 73 |
+
--jurisdiction [country] --asset_type [type]
|
| 74 |
+
|
| 75 |
+
python scripts/validate_ltv.py \
|
| 76 |
+
--loan [loan] --value [value] \
|
| 77 |
+
--country [country] --type [type]
|
| 78 |
+
```
|
| 79 |
+
|
| 80 |
+
If base case is already YELLOW or RED: **flag immediately** before running stress scenarios.
|
| 81 |
+
|
| 82 |
+
---
|
| 83 |
+
|
| 84 |
+
### STEP 2 — DEFINE STRESS SCENARIOS
|
| 85 |
+
|
| 86 |
+
Apply the following standard scenarios. Add deal-specific scenarios as needed.
|
| 87 |
+
|
| 88 |
+
#### SCENARIO MATRIX
|
| 89 |
+
|
| 90 |
+
| Scenario | Rent change | Vacancy change | Cap rate change | Interest rate | Probability weight |
|
| 91 |
+
|----------|------------|---------------|----------------|--------------|-------------------|
|
| 92 |
+
| **S0: Base Case** | 0% | Base | Base | Base | 35% |
|
| 93 |
+
| **S1: Mild Stress** | −5% | +5pp | +25bps | +50bps | 25% |
|
| 94 |
+
| **S2: Moderate Stress** | −10% | +10pp | +50bps | +100bps | 20% |
|
| 95 |
+
| **S3: Severe Stress** | −20% | +15pp | +75bps | +150bps | 12% |
|
| 96 |
+
| **S4: Tail Risk** | −30% | +25pp | +100bps | +200bps | 5% |
|
| 97 |
+
| **S5: Deal-Specific** | [TBD] | [TBD] | [TBD] | [TBD] | 3% |
|
| 98 |
+
|
| 99 |
+
**Probability weights**: adjust to market conditions.
|
| 100 |
+
In rising rate environments: shift weight toward S2–S3.
|
| 101 |
+
In stable core markets: S0–S1 may carry 70%+ weight.
|
| 102 |
+
|
| 103 |
+
---
|
| 104 |
+
|
| 105 |
+
### STEP 3 — CALCULATE EACH SCENARIO
|
| 106 |
+
|
| 107 |
+
For each scenario Sn, calculate:
|
| 108 |
+
|
| 109 |
+
```
|
| 110 |
+
REVENUE SIDE:
|
| 111 |
+
GPR_n = GPR_base × (1 + rent_change_n)
|
| 112 |
+
EGI_n = GPR_n × (1 − vacancy_n)
|
| 113 |
+
NOI_n = EGI_n × (1 − OpEx_ratio) [or EGI_n − fixed OpEx]
|
| 114 |
+
|
| 115 |
+
DEBT SERVICE SIDE (if floating rate):
|
| 116 |
+
Interest_n = Loan × (base_rate + rate_shock_n)
|
| 117 |
+
DS_n = Interest_n + amortisation
|
| 118 |
+
|
| 119 |
+
COVERAGE METRICS:
|
| 120 |
+
DSCR_n = NOI_n ÷ DS_n
|
| 121 |
+
LTV_n = Loan ÷ (NOI_n ÷ exit_cap_rate_n) [mark-to-market LTV]
|
| 122 |
+
|
| 123 |
+
EQUITY RETURNS:
|
| 124 |
+
Exit_value_n = NOI_n(year_exit) ÷ exit_cap_rate_n
|
| 125 |
+
Equity_proceeds_n = Exit_value_n − Loan_outstanding
|
| 126 |
+
Equity_IRR_n = IRR([-equity_invested, cashflows..., equity_proceeds_n])
|
| 127 |
+
|
| 128 |
+
COVENANT STATUS:
|
| 129 |
+
DSCR_status_n = GREEN if ≥ threshold; YELLOW if ≥ stress minimum; RED if below
|
| 130 |
+
LTV_status_n = GREEN if ≤ max_normal; YELLOW if ≤ max_stress; RED if above
|
| 131 |
+
Equity_status_n = GREEN if IRR ≥ hurdle; YELLOW if IRR ≥ hurdle−3%; RED if below
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
---
|
| 135 |
+
|
| 136 |
+
### STEP 4 — PRODUCE STRESS TEST MATRIX
|
| 137 |
+
|
| 138 |
+
Present results in this format:
|
| 139 |
+
|
| 140 |
+
```
|
| 141 |
+
STRESS TEST RESULTS — [PROPERTY NAME / DEAL NAME]
|
| 142 |
+
Analysis under [JURISDICTION] law as of [DATE]
|
| 143 |
+
══════════════════════════════════════════════════════════════════════════
|
| 144 |
+
S0 BASE S1 MILD S2 MOD S3 SEVERE S4 TAIL
|
| 145 |
+
Rent change: 0% −5% −10% −20% −30%
|
| 146 |
+
Vacancy: [X]% [X+5]% [X+10]% [X+15]% [X+25]%
|
| 147 |
+
Exit cap rate: [X]% [X+.25]% [X+.50]% [X+.75]% [X+1]%
|
| 148 |
+
Interest rate: [X]% [X+.50]% [X+1]% [X+1.5]% [X+2]%
|
| 149 |
+
──────────────────────────────────────────────────────────────────────
|
| 150 |
+
NOI: [X,XXX] [X,XXX] [X,XXX] [X,XXX] [X,XXX]
|
| 151 |
+
Debt service: [X,XXX] [X,XXX] [X,XXX] [X,XXX] [X,XXX]
|
| 152 |
+
DSCR: [X.XX]x [X.XX]x [X.XX]x [X.XX]x [X.XX]x
|
| 153 |
+
DSCR status: [GREEN] [GREEN] [YELLOW] [RED] [RED]
|
| 154 |
+
──────────────────────────────────────────────────────────────────────
|
| 155 |
+
Exit value: [X,XXX] [X,XXX] [X,XXX] [X,XXX] [X,XXX]
|
| 156 |
+
LTV (exit): [XX]% [XX]% [XX]% [XX]% [XX]%
|
| 157 |
+
LTV status: [GREEN] [GREEN] [GREEN] [YELLOW] [RED]
|
| 158 |
+
──────────────────────────────────────────────────────────────────────
|
| 159 |
+
Equity IRR: [XX]% [XX]% [XX]% [XX]% [XX]%
|
| 160 |
+
Equity status: [GREEN] [GREEN] [YELLOW] [RED] [RED]
|
| 161 |
+
──────────────────────────────────────────────────────────────────────
|
| 162 |
+
SCENARIO STATUS: ✅GREEN ✅GREEN ⚠ YELLOW 🔴 RED 🔴 RED
|
| 163 |
+
Probability: 35% 25% 20% 12% 5%
|
| 164 |
+
══════════════════════════════════════════════════════════════════════════
|
| 165 |
+
|
| 166 |
+
PROBABILITY-WEIGHTED EXPECTED DSCR: [X.XX]x
|
| 167 |
+
PROBABILITY-WEIGHTED EXPECTED IRR: [XX]%
|
| 168 |
+
|
| 169 |
+
FIRST COVENANT BREACH: S[n] — DSCR falls to [X.XX]x (threshold: [X.XX]x)
|
| 170 |
+
Rent decline required to breach: [−XX]%
|
| 171 |
+
Vacancy increase required to breach: [+XXpp]
|
| 172 |
+
```
|
| 173 |
+
|
| 174 |
+
---
|
| 175 |
+
|
| 176 |
+
### STEP 5 — BREAKEVEN ANALYSIS
|
| 177 |
+
|
| 178 |
+
Calculate the exact breakeven point for each key variable:
|
| 179 |
+
|
| 180 |
+
```
|
| 181 |
+
BREAKEVEN ANALYSIS
|
| 182 |
+
══════════════════════════════════════════════════════════
|
| 183 |
+
DSCR COVENANT LTV COVENANT
|
| 184 |
+
(threshold: X.XXx) (threshold: XX%)
|
| 185 |
+
──────────────────────────────────────────────────────────
|
| 186 |
+
Rent decline to breach: −XX% −XX%
|
| 187 |
+
Vacancy increase to breach: +XXpp +XXpp
|
| 188 |
+
Cap rate expansion to breach: +XXbps +XXbps
|
| 189 |
+
Interest rate increase to br: +XXXbps N/A
|
| 190 |
+
──────────────────────────────────────────────────────────
|
| 191 |
+
|
| 192 |
+
EQUITY IRR HURDLE ANALYSIS (hurdle: XX%)
|
| 193 |
+
Rent decline to zero equity IRR: −XX%
|
| 194 |
+
Rent decline to below hurdle rate: −XX%
|
| 195 |
+
══════════════════════════════════════════════════════════
|
| 196 |
+
```
|
| 197 |
+
|
| 198 |
+
---
|
| 199 |
+
|
| 200 |
+
### STEP 6 — VALIDATE WITH SCRIPTS
|
| 201 |
+
|
| 202 |
+
Run validation scripts on each RED/YELLOW scenario:
|
| 203 |
+
|
| 204 |
+
```bash
|
| 205 |
+
# S3 DSCR check
|
| 206 |
+
python scripts/validate_dscr.py \
|
| 207 |
+
--noi [S3_NOI] --debt_service [S3_DS] \
|
| 208 |
+
--jurisdiction [country] --asset_type [type]
|
| 209 |
+
|
| 210 |
+
# S3 LTV check
|
| 211 |
+
python scripts/validate_ltv.py \
|
| 212 |
+
--loan [loan] --value [S3_exit_value] \
|
| 213 |
+
--country [country] --type [type]
|
| 214 |
+
```
|
| 215 |
+
|
| 216 |
+
---
|
| 217 |
+
|
| 218 |
+
### STEP 7 — ANALYTICAL CONCLUSIONS
|
| 219 |
+
|
| 220 |
+
After the matrix, provide conclusions using the 7 Analytical Moves:
|
| 221 |
+
|
| 222 |
+
**MOVE 1 — CLAUSE-TO-RISK DERIVATION**
|
| 223 |
+
Identify which specific deal terms create the worst stress exposure:
|
| 224 |
+
- Fixed vs. floating rate debt → quantify rate sensitivity
|
| 225 |
+
- Lease expiry within hold period → quantify re-letting risk
|
| 226 |
+
- Single-tenant vs. multi-tenant → quantify concentration risk
|
| 227 |
+
|
| 228 |
+
**MOVE 3 — ABSENCE DETECTION**
|
| 229 |
+
What protections are ABSENT that would reduce stress severity?
|
| 230 |
+
- No interest rate cap → full exposure to rate shocks
|
| 231 |
+
- No rent review CPI floor → no downside income protection
|
| 232 |
+
- No Debt Service Reserve Account → immediate covenant breach risk
|
| 233 |
+
|
| 234 |
+
**MOVE 7 — COMPOUND RISK TRACING**
|
| 235 |
+
Which stress combinations are multiplicative, not additive?
|
| 236 |
+
Example: "Rising interest rates (S2) coinciding with lease expiry at Year 3 creates
|
| 237 |
+
compound stress: debt service rises while income falls during re-letting void.
|
| 238 |
+
This is NOT S2 + lease event = S2+. It is multiplicative — LTV may breach even
|
| 239 |
+
if individually neither would trigger a breach."
|
| 240 |
+
|
| 241 |
+
---
|
| 242 |
+
|
| 243 |
+
### STEP 8 — RECOMMENDATIONS
|
| 244 |
+
|
| 245 |
+
Structure as: Immediate / Short-term / Structural
|
| 246 |
+
|
| 247 |
+
```
|
| 248 |
+
STRESS TEST RECOMMENDATIONS
|
| 249 |
+
══════════════════════════════════════════════════════════
|
| 250 |
+
|
| 251 |
+
IMMEDIATE (before closing / within 30 days):
|
| 252 |
+
□ [Specific action — e.g. negotiate interest rate cap at X% for Y years]
|
| 253 |
+
□ [Specific action — e.g. increase DSRA to 12 months from 6 months]
|
| 254 |
+
□ [Specific action — e.g. re-negotiate LTV covenant from XX% to XX%]
|
| 255 |
+
|
| 256 |
+
SHORT-TERM (0–12 months post-acquisition):
|
| 257 |
+
□ [Specific action — e.g. commence lease renewal negotiations for Year 3 expiry]
|
| 258 |
+
□ [Specific action — e.g. lock in rent review CPI collar: floor 0%, cap 4%]
|
| 259 |
+
|
| 260 |
+
STRUCTURAL (deal structure modifications):
|
| 261 |
+
□ [Specific action — e.g. consider fixed-rate refinancing before rate cycle peaks]
|
| 262 |
+
□ [Specific action — e.g. diversify tenant base — reduce largest tenant to <40% of rent roll]
|
| 263 |
+
══════════════════════════════════════════════════════════
|
| 264 |
+
```
|
| 265 |
+
|
| 266 |
+
---
|
| 267 |
+
|
| 268 |
+
## ESCALATION TRIGGERS FROM STRESS TEST
|
| 269 |
+
|
| 270 |
+
Escalate to senior analyst or investment committee if ANY of the following:
|
| 271 |
+
|
| 272 |
+
| Trigger | Escalation level |
|
| 273 |
+
|---------|-----------------|
|
| 274 |
+
| Base case DSCR < threshold | **IMMEDIATE RED** |
|
| 275 |
+
| S1 (mild stress) already breaches covenant | **IMMEDIATE RED** |
|
| 276 |
+
| S2 (moderate stress) produces negative equity IRR | **RED** |
|
| 277 |
+
| Probability-weighted expected DSCR < 1.10x | **RED** |
|
| 278 |
+
| Two or more covenants breach simultaneously in S2 | **RED** |
|
| 279 |
+
| Breakeven rent decline < 10% (fragile deal) | **YELLOW — flag to IC** |
|
| 280 |
+
| No interest rate cap on floating rate debt in rising rate environment | **YELLOW** |
|
| 281 |
+
| Single tenant > 60% of rent roll + lease expiry within hold period | **YELLOW** |
|
| 282 |
+
|
| 283 |
+
---
|
| 284 |
+
|
| 285 |
+
## JURISDICTION-SPECIFIC STRESS ADJUSTMENTS
|
| 286 |
+
|
| 287 |
+
| Country | Standard DSCR threshold | Stress DSCR threshold | LTV max (commercial) | Notes |
|
| 288 |
+
|---------|------------------------|---------------------|---------------------|-------|
|
| 289 |
+
| USA | 1.25x | 1.10x | 75% | CMBS trigger covenants often at 1.20x |
|
| 290 |
+
| UK | 1.20x | 1.05x | 70% | Clearing banks; debt funds: 1.25x normal |
|
| 291 |
+
| Spain | 1.25x | 1.10x | 65% | Banca española more conservative |
|
| 292 |
+
| Germany | 1.20x | 1.05x | 60% | Pfandbrief banks: 60% of Beleihungswert |
|
| 293 |
+
| France | 1.20x | 1.05x | 65% | |
|
| 294 |
+
| India | 1.35x | 1.15x | 65% | RBI CRE guidelines |
|
| 295 |
+
| UAE | 1.25x | 1.10x | 65% | Central Bank commercial limit |
|
| 296 |
+
| Infrastructure | 1.40x | 1.20x | 75% | MDB/project finance standard |
|
| 297 |
+
|
| 298 |
+
---
|
| 299 |
+
|
| 300 |
+
## OUTPUT LABELLING REQUIREMENT
|
| 301 |
+
|
| 302 |
+
All stress test outputs must carry:
|
| 303 |
+
```
|
| 304 |
+
"Stress test conducted under [JURISDICTION] law as of [DATE].
|
| 305 |
+
Thresholds sourced from: [reference file path].
|
| 306 |
+
All scenarios are illustrative — actual covenant thresholds govern.
|
| 307 |
+
This analysis does not constitute investment advice."
|
| 308 |
+
```
|
commands/support-transaction.md
ADDED
|
@@ -0,0 +1,334 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: support-transaction
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "support transaction", "transaction support", "property transaction",
|
| 4 |
+
# "SPA review", "sale and purchase agreement", "purchase agreement review",
|
| 5 |
+
# "due diligence", "title due diligence", "title report", "closing checklist",
|
| 6 |
+
# "condition precedent", "CP checklist", "longstop date", "exchange of contracts",
|
| 7 |
+
# "completion mechanics", "deal closing", "transaction checklist",
|
| 8 |
+
# "pre-closing", "post-closing", "vendor due diligence", "VDD",
|
| 9 |
+
# "data room review", "escritura", "Grundbuch", "acte authentique",
|
| 10 |
+
# "title search", "title insurance", "completion statement",
|
| 11 |
+
# "apoyo a la transacción", "cierre de operación", "diligencias previas"
|
| 12 |
+
# Dependencies:
|
| 13 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 14 |
+
# - scripts/validate_stamp_duty.py (closing costs)
|
| 15 |
+
# - scripts/validate_tax.py (post-closing tax filings)
|
| 16 |
+
# - scripts/validate_lease.py (if tenanted)
|
| 17 |
+
# - references/countries/{jurisdiction}/tax-law.md
|
| 18 |
+
# - references/countries/{jurisdiction}/zoning-law.md
|
| 19 |
+
# - references/countries/{jurisdiction}/lease-law.md
|
| 20 |
+
# Output: Transaction checklist + CP tracker + closing statement + post-closing calendar
|
| 21 |
+
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
## COMMAND: support-transaction
|
| 25 |
+
|
| 26 |
+
### PURPOSE
|
| 27 |
+
Provide end-to-end transaction support from heads of terms through to post-closing
|
| 28 |
+
obligations. This command structures the deal process, tracks conditions precedent,
|
| 29 |
+
produces the closing statement, and maps the post-closing compliance calendar.
|
| 30 |
+
|
| 31 |
+
**Scope**: Acquisition, disposal, sale-and-leaseback, asset swap, portfolio transaction.
|
| 32 |
+
**Not in scope**: Development finance drawdown (→ track-approvals), lease structuring alone (→ abstract-lease).
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## STEP 0 — JURISDICTION GUARD
|
| 37 |
+
|
| 38 |
+
```bash
|
| 39 |
+
python scripts/validate_jurisdiction.py \
|
| 40 |
+
--input "[property address]" \
|
| 41 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 42 |
+
```
|
| 43 |
+
|
| 44 |
+
Load all three reference files. Transfer taxes and title registration procedures
|
| 45 |
+
are entirely jurisdiction-specific — no analysis without confirmed jurisdiction.
|
| 46 |
+
|
| 47 |
+
---
|
| 48 |
+
|
| 49 |
+
## STEP 1 — TRANSACTION OVERVIEW
|
| 50 |
+
|
| 51 |
+
```
|
| 52 |
+
TRANSACTION OVERVIEW
|
| 53 |
+
═══════════════════════════════════════════════════════════
|
| 54 |
+
Transaction type: [Acquisition / Disposal / SLB / Portfolio / Other]
|
| 55 |
+
Property: [Address + asset type]
|
| 56 |
+
Jurisdiction: [COUNTRY — analysis label]
|
| 57 |
+
Seller: [Legal name + entity type]
|
| 58 |
+
Buyer: [Legal name + entity type]
|
| 59 |
+
Agreed price: [CURRENCY] [AMOUNT]
|
| 60 |
+
Deal structure: [Asset deal / Share deal / Forward purchase / Other]
|
| 61 |
+
Heads of terms: [Signed [DATE] / Unsigned / ABSENT]
|
| 62 |
+
Target exchange: [DATE]
|
| 63 |
+
Target completion: [DATE]
|
| 64 |
+
Longstop date: [DATE]
|
| 65 |
+
Exclusivity period: [Until [DATE] — or ABSENT ⚠]
|
| 66 |
+
═══════════════════════════════════════════════════════════
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
**Asset deal vs. share deal — jurisdiction flags**:
|
| 70 |
+
|
| 71 |
+
| Jurisdiction | Asset deal | Share deal — watch |
|
| 72 |
+
|-------------|-----------|-------------------|
|
| 73 |
+
| Spain | ITP/IVA applies normally | ITP exemption if >50% RE company — ITPAJD Art.108 |
|
| 74 |
+
| UK | SDLT applies | SDLT on shares (0.5% SDRT) — but SPV SDLT: FA 2003 s.75A anti-avoidance |
|
| 75 |
+
| Germany | GrESt applies normally | Share deal: <90% transfer avoids GrESt — 10-year holding required |
|
| 76 |
+
| USA | State transfer tax applies | Share deal: varies by state — most states: no real property transfer tax |
|
| 77 |
+
| India | Stamp duty applies | Share deal: stamp duty on share transfer (0.015%) |
|
| 78 |
+
| UAE | DLD 4% applies | Share deal: DLD may look through to underlying property — confirm |
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## STEP 2 — DUE DILIGENCE TRACKER
|
| 83 |
+
|
| 84 |
+
### 2.1 Title and Legal DD
|
| 85 |
+
|
| 86 |
+
```
|
| 87 |
+
TITLE AND LEGAL DUE DILIGENCE — [JURISDICTION]
|
| 88 |
+
═══════════════════════════════════════════════════════════
|
| 89 |
+
TITLE DOCUMENTS:
|
| 90 |
+
□ [UK] Official copy entries (register + title plan) — Land Registry
|
| 91 |
+
□ [Spain] Nota simple informativa + Certificado registral — Registro de la Propiedad
|
| 92 |
+
□ [Spain] Certificado catastral — Catastro descriptivo y gráfico
|
| 93 |
+
□ [Germany] Grundbuchauszug (certified copy) — all three sections:
|
| 94 |
+
Abt.I (owner), Abt.II (encumbrances), Abt.III (mortgages/charges)
|
| 95 |
+
□ [France] Extrait du cadastre + État civil des hypothèques
|
| 96 |
+
□ [USA] Preliminary title report / Title commitment — Schedule B exceptions reviewed
|
| 97 |
+
ALTA/NSPS Land Title Survey ordered
|
| 98 |
+
□ [India] 30-year title search — certified copy of sale deeds chain
|
| 99 |
+
Encumbrance certificate (EC) — 30 years
|
| 100 |
+
Property tax receipts — current year
|
| 101 |
+
□ [UAE] Title deed (DLD) + DLD encumbrance certificate
|
| 102 |
+
Ejari status — existing tenancy registered
|
| 103 |
+
|
| 104 |
+
TITLE ISSUES NOTED:
|
| 105 |
+
[List any: easements, restrictive covenants, prior charges, overriding interests,
|
| 106 |
+
boundary disputes, ransom strips, chancel repair liability, adverse possession claims]
|
| 107 |
+
Status: [CLEAR / ISSUES NOTED — see below]
|
| 108 |
+
|
| 109 |
+
SEARCHES REQUIRED:
|
| 110 |
+
□ [UK] Local authority, drainage, environmental, chancel repair, coal, HS2
|
| 111 |
+
□ [Spain] Nota simple (updated <3 months), certificado cargas municipales (IBI, etc)
|
| 112 |
+
□ [Germany] Baulastenverzeichnis (public law encumbrances) — separate from Grundbuch
|
| 113 |
+
□ [USA] UCC search (personal property), judgment search, tax lien search
|
| 114 |
+
□ [India] RERA portal check — project/developer registration confirmed
|
| 115 |
+
□ [UAE] DLD search — no outstanding service charges / mortgage
|
| 116 |
+
|
| 117 |
+
THIRD-PARTY CONSENTS REQUIRED:
|
| 118 |
+
□ Head landlord consent (if long leasehold / sub-lease)
|
| 119 |
+
□ Existing lender consent to release charge
|
| 120 |
+
□ Tenant consent (if pre-emption / ROFR in lease)
|
| 121 |
+
□ Planning authority (if conditional on planning)
|
| 122 |
+
□ Regulatory consent (financial services / sector-specific)
|
| 123 |
+
═══════════════════════════════════════════════════════════
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
### 2.2 Commercial and Tenancy DD
|
| 127 |
+
|
| 128 |
+
```bash
|
| 129 |
+
python scripts/validate_lease.py \
|
| 130 |
+
--lease-file [path] \
|
| 131 |
+
--jurisdiction [country]
|
| 132 |
+
```
|
| 133 |
+
|
| 134 |
+
```
|
| 135 |
+
COMMERCIAL / TENANCY DUE DILIGENCE
|
| 136 |
+
═══════════════════════════════════════════════════════════
|
| 137 |
+
Tenancy schedule: [Completed — see abstract-lease output]
|
| 138 |
+
Rent roll: [CURRENCY X] per annum passing
|
| 139 |
+
Lease completeness: [X]% — [GREEN / YELLOW / RED]
|
| 140 |
+
Outstanding lease issues:[List from validate_lease.py ABSENT items]
|
| 141 |
+
Rent arrears: [CURRENCY AMOUNT — or NIL]
|
| 142 |
+
Tenant covenant: [Strong / Satisfactory / Weak / Unknown]
|
| 143 |
+
Evidence: [Credit rating / Accounts / Guarantor]
|
| 144 |
+
Service charge: [Current year budget: CURRENCY AMOUNT — reconciliation: UP TO DATE / OUTSTANDING]
|
| 145 |
+
S.38A (UK) / equivalent:[Confirmed outside LTA 1954 / INSIDE — ⚠ renewal rights apply]
|
| 146 |
+
|
| 147 |
+
DATA ROOM STATUS:
|
| 148 |
+
□ All leases, licences, side letters — [RECEIVED / OUTSTANDING: list]
|
| 149 |
+
□ Rent deposit deeds — [RECEIVED / ABSENT]
|
| 150 |
+
□ Schedule of dilapidations (if any) — [RECEIVED / ABSENT]
|
| 151 |
+
□ Service charge accounts (3 years) — [RECEIVED / OUTSTANDING]
|
| 152 |
+
□ Building management contracts — [RECEIVED / OUTSTANDING]
|
| 153 |
+
□ Insurance policy — [RECEIVED — expiry: DATE]
|
| 154 |
+
═══════════════════════════════════════════════════════════
|
| 155 |
+
```
|
| 156 |
+
|
| 157 |
+
### 2.3 Technical and Environmental DD
|
| 158 |
+
|
| 159 |
+
```
|
| 160 |
+
TECHNICAL AND ENVIRONMENTAL DUE DILIGENCE
|
| 161 |
+
═══════════════════════════════════════════════════════════
|
| 162 |
+
Building survey / Structural report:
|
| 163 |
+
Commissioned from: [Firm name — or TO BE COMMISSIONED]
|
| 164 |
+
Status: [RECEIVED / OUTSTANDING]
|
| 165 |
+
Key findings: [Summary — or PENDING]
|
| 166 |
+
Capex required: [CURRENCY AMOUNT — or TBD]
|
| 167 |
+
|
| 168 |
+
Phase I ESA (environmental):
|
| 169 |
+
Status: [RECEIVED: CLEAN / RECEIVED: ISSUES / NOT COMMISSIONED ⚠]
|
| 170 |
+
Phase II required: [YES / NO / TBD]
|
| 171 |
+
Contamination risk: [LOW / MEDIUM / HIGH — basis]
|
| 172 |
+
|
| 173 |
+
M&E / Building systems:
|
| 174 |
+
EPC / DEC rating: [[UK] EPC: [A-G] — [Spain] CEE: [A-G] — [other] equivalent]
|
| 175 |
+
HVAC condition: [Good / Fair / Requires replacement — capex: AMOUNT]
|
| 176 |
+
Remaining asset life: [X years — source: survey]
|
| 177 |
+
|
| 178 |
+
Planning / Building regulations:
|
| 179 |
+
Current use lawful: [CONFIRMED / NOT CONFIRMED ⚠]
|
| 180 |
+
Completion certificate:[OBTAINED / ABSENT ⚠ — [jurisdiction] equivalent]
|
| 181 |
+
Planning conditions: [All discharged / Outstanding: list]
|
| 182 |
+
Listed building: [YES / NO]
|
| 183 |
+
Conservation area: [YES / NO]
|
| 184 |
+
═══════════════════════════════════════════════════════════
|
| 185 |
+
```
|
| 186 |
+
|
| 187 |
+
### 2.4 Financial and Tax DD
|
| 188 |
+
|
| 189 |
+
```bash
|
| 190 |
+
python scripts/validate_stamp_duty.py \
|
| 191 |
+
--country [country] --value [price] \
|
| 192 |
+
--buyer-type [type] --asset-type [type] --region [region]
|
| 193 |
+
|
| 194 |
+
python scripts/validate_tax.py \
|
| 195 |
+
--jurisdiction [country] --transaction [sale|purchase] \
|
| 196 |
+
--value [price] --entity-type [type]
|
| 197 |
+
```
|
| 198 |
+
|
| 199 |
+
```
|
| 200 |
+
FINANCIAL AND TAX DUE DILIGENCE
|
| 201 |
+
═══════════════════════════════════════════════════════════
|
| 202 |
+
Transfer tax estimate: [CURRENCY AMOUNT — per validate_stamp_duty.py]
|
| 203 |
+
Non-resident withholding:[X% — mechanism: Modelo 211 / FIRPTA / TDS / DLD / N/A]
|
| 204 |
+
Outstanding tax liabilities:[Vendor warranties required on: IBI arrears / rates / VAT]
|
| 205 |
+
IBI/Council Tax/Grundsteuer: [Current and paid — CONFIRMED / OUTSTANDING ⚠]
|
| 206 |
+
VAT status: [OTT in place (UK) / IVA registered (Spain) / etc]
|
| 207 |
+
TOGC eligibility (UK): [Conditions met — YES / PARTIAL / NO]
|
| 208 |
+
CGT exposure (seller): [Estimated: CURRENCY AMOUNT — basis: [computation]]
|
| 209 |
+
Stamp duty land: [CURRENCY AMOUNT — payer: Buyer — deadline: X days]
|
| 210 |
+
Mortgage release: [Existing charge — CURRENCY AMOUNT outstanding — discharge confirmed]
|
| 211 |
+
Environmental indemnity: [Seller provides — YES / ABSENT ⚠]
|
| 212 |
+
═══════════════════════════════════════════════════════════
|
| 213 |
+
```
|
| 214 |
+
|
| 215 |
+
---
|
| 216 |
+
|
| 217 |
+
## STEP 3 — CONDITIONS PRECEDENT TRACKER
|
| 218 |
+
|
| 219 |
+
```
|
| 220 |
+
CONDITIONS PRECEDENT (CP) TRACKER
|
| 221 |
+
═══════════════════════════════════════════════════════════
|
| 222 |
+
Longstop date: [DATE]
|
| 223 |
+
Exchange target: [DATE]
|
| 224 |
+
Completion target: [DATE]
|
| 225 |
+
|
| 226 |
+
CP PARTY TARGET STATUS NOTES
|
| 227 |
+
─────────────────────────────────────────────────────────────────────
|
| 228 |
+
Satisfactory legal DD Buyer [DATE] [ ] OPEN [Lead: solicitor]
|
| 229 |
+
Satisfactory technical DD Buyer [DATE] [ ] OPEN [Lead: surveyor]
|
| 230 |
+
Satisfactory financial/tax DD Buyer [DATE] [ ] OPEN [Lead: accountant]
|
| 231 |
+
Financing committed Buyer [DATE] [ ] OPEN [Lender: NAME]
|
| 232 |
+
Planning confirmed [Party] [DATE] [ ] OPEN [LPA reference]
|
| 233 |
+
Head landlord consent [Party] [DATE] [ ] OPEN [Form of consent]
|
| 234 |
+
Existing charge discharged Seller [DATE] [ ] OPEN [Lender: NAME]
|
| 235 |
+
Competition clearance [Party] [DATE] [ ] OPEN [Authority]
|
| 236 |
+
Regulatory approval [Party] [DATE] [ ] OPEN [Body]
|
| 237 |
+
Tenancy estoppels obtained Seller [DATE] [ ] OPEN [All tenants]
|
| 238 |
+
SNDA executed (USA) [Party] [DATE] [ ] OPEN [Lender consent]
|
| 239 |
+
Title insurance bound Buyer [DATE] [ ] OPEN [Insurer: NAME]
|
| 240 |
+
Insurance assigned/novated [Party] [DATE] [ ] OPEN [Insurer: NAME]
|
| 241 |
+
Environmental clearance (Phase I) Buyer [DATE] [ ] OPEN [Consultant]
|
| 242 |
+
Buyer board approval Buyer [DATE] [ ] OPEN [IC: NAME]
|
| 243 |
+
Seller board approval Seller [DATE] [ ] OPEN [Board]
|
| 244 |
+
─────────────────────────────────────────────────────────────────────
|
| 245 |
+
CPs SATISFIED: [N of N]
|
| 246 |
+
CPs OUTSTANDING: [N] ← [List outstanding — are any at risk of missing longstop?]
|
| 247 |
+
═══════════════════════════════════════════════════════════
|
| 248 |
+
```
|
| 249 |
+
|
| 250 |
+
---
|
| 251 |
+
|
| 252 |
+
## STEP 4 — CLOSING STATEMENT
|
| 253 |
+
|
| 254 |
+
```
|
| 255 |
+
CLOSING STATEMENT — [TRANSACTION NAME]
|
| 256 |
+
[JURISDICTION] — Completion date: [DATE]
|
| 257 |
+
═══════════════════════════════════════════════════════════
|
| 258 |
+
PURCHASE PRICE: [CURRENCY] [AMOUNT]
|
| 259 |
+
|
| 260 |
+
ADJUSTMENTS:
|
| 261 |
+
Apportionments (income):
|
| 262 |
+
Rent prepaid by tenant [DATE–DATE]: +[AMOUNT]
|
| 263 |
+
Service charge prepaid [DATE–DATE]: +[AMOUNT]
|
| 264 |
+
IBI/rates prepaid [DATE–DATE]: +[AMOUNT]
|
| 265 |
+
Rent arrears (if buyer takes): −[AMOUNT]
|
| 266 |
+
|
| 267 |
+
Retentions (held by escrow/stakeholder):
|
| 268 |
+
Outstanding repairs retention: −[AMOUNT]
|
| 269 |
+
Environmental retention: −[AMOUNT]
|
| 270 |
+
[Other retention]: −[AMOUNT]
|
| 271 |
+
|
| 272 |
+
Completion payment adjustments:
|
| 273 |
+
Deposit paid on exchange: −[AMOUNT] ([X]%)
|
| 274 |
+
Non-resident withholding (if applicable):−[AMOUNT] ([X]% Modelo211/FIRPTA/TDS)
|
| 275 |
+
|
| 276 |
+
─────────────────────────────────────────────────────────
|
| 277 |
+
BALANCE DUE ON COMPLETION: [CURRENCY] [AMOUNT]
|
| 278 |
+
|
| 279 |
+
FUNDS FLOW:
|
| 280 |
+
Buyer pays to: [Seller's solicitor / Notaire / Notar / DLD Trustee]
|
| 281 |
+
Payment method: [CHAPS / SEPA / Wire — account details confirmed]
|
| 282 |
+
NR withholding (if any): [Buyer remits to: AEAT / IRS / Income Tax Dept / DLD]
|
| 283 |
+
|
| 284 |
+
KEYS / VACANT POSSESSION:
|
| 285 |
+
Vacant possession: [YES — at [TIME] on [DATE] / Tenanted — leases assigned]
|
| 286 |
+
Key handover: [At completion / Held by managing agent]
|
| 287 |
+
|
| 288 |
+
COMPLETION DOCUMENTS:
|
| 289 |
+
□ Transfer deed / Escritura / Auflassung / Acte authentique / DLD form
|
| 290 |
+
□ Release of existing charge — from lender
|
| 291 |
+
□ SDLT return (UK — same day)
|
| 292 |
+
□ Evidence of insurance
|
| 293 |
+
□ Completion certificate (if not already provided)
|
| 294 |
+
□ Tenancy estoppels / SNDA executed copies
|
| 295 |
+
□ Copy of planning consent and conditions
|
| 296 |
+
□ Service charge reconciliation signed
|
| 297 |
+
═══════════════════════════════════════════════════════════
|
| 298 |
+
```
|
| 299 |
+
|
| 300 |
+
---
|
| 301 |
+
|
| 302 |
+
## STEP 5 — POST-CLOSING COMPLIANCE CALENDAR
|
| 303 |
+
|
| 304 |
+
```
|
| 305 |
+
POST-CLOSING COMPLIANCE CALENDAR — [JURISDICTION]
|
| 306 |
+
═══════════════════════════════════════════════════════════
|
| 307 |
+
ACTION DEADLINE STATUS
|
| 308 |
+
─────────────────────────────────────────────────────────────
|
| 309 |
+
SDLT return + payment (UK) 14 days from completion [ ] DUE [DATE]
|
| 310 |
+
Modelo 600/ITP (Spain) 30 days from escritura [ ] DUE [DATE]
|
| 311 |
+
Modelo 211 WHT (Spain NR) 30 days from escritura [ ] DUE [DATE]
|
| 312 |
+
FIRPTA Form 8288 (USA) 20 days from closing [ ] DUE [DATE]
|
| 313 |
+
Form 26QB TDS (India) 30 days from closing [ ] DUE [DATE]
|
| 314 |
+
DLD title deed registration (UAE) Within completion [ ] DUE [DATE]
|
| 315 |
+
GrESt notification (Germany) File within [X] weeks [ ] DUE [DATE]
|
| 316 |
+
Droits de mutation (France) Paid at notaire — DONE [ ] CONFIRMED
|
| 317 |
+
UK CGT 60-day report (residential) 60 days from completion [ ] DUE [DATE]
|
| 318 |
+
Land Registry / Registro application Within [X] days [ ] DUE [DATE]
|
| 319 |
+
Catastro notification (Spain) 2 months from deed [ ] DUE [DATE]
|
| 320 |
+
Insurance update (new owner) Day of completion [ ] DUE [DATE]
|
| 321 |
+
Managing agent notification Day of completion [ ] DUE [DATE]
|
| 322 |
+
Tenant notification (new LL) Within [X] days [ ] DUE [DATE]
|
| 323 |
+
Existing lender — charge discharge [N days after completion] [ ] DUE [DATE]
|
| 324 |
+
Retentions release [Date per SPA conditions] [ ] DUE [DATE]
|
| 325 |
+
─────────────────────────────────────────────────────────────
|
| 326 |
+
IMMEDIATE RED DEADLINES (risk of penalty if missed):
|
| 327 |
+
[List any T+14, T+20, T+30 day items with RED status]
|
| 328 |
+
═══════════════════════════════════════════════════════════
|
| 329 |
+
|
| 330 |
+
[Analysis under {country} law — as of {date}]
|
| 331 |
+
Source: references/countries/{jurisdiction}/ (v6.0)
|
| 332 |
+
This checklist is a structured framework. It does not constitute legal advice.
|
| 333 |
+
Verify all obligations with qualified local counsel and specialist advisors.
|
| 334 |
+
```
|
commands/track-approvals.md
ADDED
|
@@ -0,0 +1,445 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Command: track-approvals
|
| 2 |
+
# Version: 6.0
|
| 3 |
+
# Trigger phrases: "track approvals", "government approvals", "approval tracker",
|
| 4 |
+
# "permit status", "planning status", "regulatory approval", "permit tracking",
|
| 5 |
+
# "approval timeline", "permitting", "planning application status",
|
| 6 |
+
# "RERA registration", "EIA status", "environmental clearance",
|
| 7 |
+
# "licencia status", "Baugenehmigung status", "building permit",
|
| 8 |
+
# "pre-commencement conditions", "planning conditions discharge",
|
| 9 |
+
# "development approval", "entitlement tracker", "approval risk",
|
| 10 |
+
# "what approvals do we need", "approval dependency chain",
|
| 11 |
+
# "regulatory pathway", "government consent",
|
| 12 |
+
# "seguimiento de permisos", "estado de licencias", "aprobaciones regulatorias",
|
| 13 |
+
# "hito regulatorio", "regulatory milestone"
|
| 14 |
+
# Dependencies:
|
| 15 |
+
# - scripts/validate_jurisdiction.py (ALWAYS first)
|
| 16 |
+
# - references/countries/{jurisdiction}/zoning-law.md
|
| 17 |
+
# Output: Approval register + dependency chain + timeline + risk by approval + escalation
|
| 18 |
+
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## COMMAND: track-approvals
|
| 22 |
+
|
| 23 |
+
### PURPOSE
|
| 24 |
+
Produce and maintain a comprehensive approval register for a real estate
|
| 25 |
+
development, infrastructure project, or complex transaction. This command:
|
| 26 |
+
|
| 27 |
+
1. Identifies every approval, permit, registration, and consent required
|
| 28 |
+
2. Maps the dependency chain (what cannot proceed without what)
|
| 29 |
+
3. Assigns ownership, deadline, and risk rating to each approval
|
| 30 |
+
4. Triggers escalation when approvals are at risk of missing programme dates
|
| 31 |
+
|
| 32 |
+
**Used for**: Development projects, infrastructure PPPs, planning-conditional acquisitions,
|
| 33 |
+
RERA-registered projects, complex licensed facilities, multi-jurisdiction projects.
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## STEP 0 — JURISDICTION GUARD
|
| 38 |
+
|
| 39 |
+
```bash
|
| 40 |
+
python scripts/validate_jurisdiction.py \
|
| 41 |
+
--input "[project address / jurisdiction]" \
|
| 42 |
+
--type [residential|commercial|industrial|infrastructure|mixed]
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
Planning systems are entirely jurisdiction-specific.
|
| 46 |
+
Load: `references/countries/{jurisdiction}/zoning-law.md`
|
| 47 |
+
|
| 48 |
+
For infrastructure spanning multiple jurisdictions:
|
| 49 |
+
load zoning-law.md for each jurisdiction and cross-reference.
|
| 50 |
+
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
## STEP 1 — PROJECT BRIEF
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
PROJECT BRIEF — APPROVAL REGISTER
|
| 57 |
+
═══════════════════════════════════════════════════════════
|
| 58 |
+
Project name: [NAME]
|
| 59 |
+
Project type: [Residential development / Commercial / Industrial /
|
| 60 |
+
Infrastructure / Mixed-use / Planning-conditional acquisition]
|
| 61 |
+
Location: [ADDRESS + JURISDICTION]
|
| 62 |
+
Scale: [X units / X sqm GFA / X km of infrastructure]
|
| 63 |
+
Developer/applicant: [LEGAL NAME]
|
| 64 |
+
Programme start: [DATE — planning submission / permit application]
|
| 65 |
+
Construction start: [TARGET DATE]
|
| 66 |
+
Completion: [TARGET DATE]
|
| 67 |
+
Key longstop: [DATE — SPA longstop / concession award / financial close]
|
| 68 |
+
Jurisdiction: [COUNTRY — analysis label]
|
| 69 |
+
═══════════════════════════════════════════════════════════
|
| 70 |
+
```
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
## STEP 2 — APPROVAL REGISTER
|
| 75 |
+
|
| 76 |
+
For each approval, complete the full record:
|
| 77 |
+
|
| 78 |
+
```
|
| 79 |
+
APPROVAL REGISTER — [PROJECT NAME]
|
| 80 |
+
[Analysis under {country} planning law — {date}]
|
| 81 |
+
═══════════════════════════════════════════════════════════════════════════════════════
|
| 82 |
+
ID APPROVAL AUTHORITY SUBMITTED DECISION STATUS RISK OWNER
|
| 83 |
+
─────────────────────────────────────────────────────────────────────────────────────
|
| 84 |
+
A01 [Approval 1] [Authority] [DATE/TBD] [DATE/TBD] [●] [R/Y/G] [NAME]
|
| 85 |
+
A02 [Approval 2] [Authority] [DATE/TBD] [DATE/TBD] [●] [R/Y/G] [NAME]
|
| 86 |
+
...
|
| 87 |
+
─────────────────────────────────────────────────────────────────────────────────────
|
| 88 |
+
STATUS KEY: ● NOT STARTED ◐ IN PROGRESS ◉ SUBMITTED ✓ OBTAINED ✗ REFUSED
|
| 89 |
+
RISK KEY: G=GREEN (on track) Y=YELLOW (at risk) R=RED (critical delay/refusal risk)
|
| 90 |
+
═══════════════════════════════════════════════════════════════════════════════════════
|
| 91 |
+
```
|
| 92 |
+
|
| 93 |
+
---
|
| 94 |
+
|
| 95 |
+
## STEP 3 — APPROVAL PROFILES BY JURISDICTION
|
| 96 |
+
|
| 97 |
+
### SPAIN — Approval Profiles
|
| 98 |
+
|
| 99 |
+
```
|
| 100 |
+
SPAIN APPROVAL SEQUENCE — [CCAA / MUNICIPALITY]
|
| 101 |
+
═══════════════���═══════════════════════════════════════════
|
| 102 |
+
A01 Consulta urbanística previa
|
| 103 |
+
Authority: Ayuntamiento — Urbanismo
|
| 104 |
+
Purpose: Confirm PGOU compliance before formal application
|
| 105 |
+
Timeline: 4–8 weeks
|
| 106 |
+
Dependency: None — first step
|
| 107 |
+
Risk: LOW (advisory only — no binding refusal)
|
| 108 |
+
|
| 109 |
+
A02 Estudio de Impacto Ambiental (EIA) / AAI
|
| 110 |
+
Authority: Consejería de Medio Ambiente (CCAA)
|
| 111 |
+
Purpose: Environmental assessment for projects above threshold
|
| 112 |
+
Threshold: > [X] ha / > [X sqm] / sensitive use
|
| 113 |
+
Timeline: 6–18 months (full EIA)
|
| 114 |
+
Dependency: A01 complete
|
| 115 |
+
Risk: [LOW / MEDIUM / HIGH — based on sensitivity]
|
| 116 |
+
|
| 117 |
+
A03 Plan Parcial / Plan Especial (if urbanizable land)
|
| 118 |
+
Authority: Ayuntamiento + CCAA approval
|
| 119 |
+
Purpose: Detailed planning for sector development
|
| 120 |
+
Timeline: 12–36 months (public consultation + approval)
|
| 121 |
+
Dependency: EIA (A02) or parallel
|
| 122 |
+
Risk: HIGH — political; requires Pleno approval
|
| 123 |
+
|
| 124 |
+
A04 Proyecto de Urbanización
|
| 125 |
+
Authority: Ayuntamiento
|
| 126 |
+
Purpose: Infrastructure works for new development land
|
| 127 |
+
Timeline: 6–12 months
|
| 128 |
+
Dependency: Plan Parcial (A03) approved
|
| 129 |
+
|
| 130 |
+
A05 Licencia de Obras Mayor
|
| 131 |
+
Authority: Ayuntamiento — ICIO
|
| 132 |
+
Purpose: Building permit for new construction / major works
|
| 133 |
+
Timeline: 1–6 months (varies by municipality)
|
| 134 |
+
Dependency: Planning consent (A03/A04) + EIA if required
|
| 135 |
+
Cost: ICIO [X]% of presupuesto de ejecución material (PEM)
|
| 136 |
+
Risk: MEDIUM — technical compliance check
|
| 137 |
+
|
| 138 |
+
A06 Licencia de Primera Ocupación (LPO) / Cédula de Habitabilidad
|
| 139 |
+
Authority: Ayuntamiento
|
| 140 |
+
Purpose: Occupancy certificate — mandatory before occupation
|
| 141 |
+
Timeline: 4–12 weeks after works complete + end-of-works certificate
|
| 142 |
+
Dependency: Obra terminada + certificado fin de obra (CFO from architect)
|
| 143 |
+
Risk: LOW if project built to approved plans
|
| 144 |
+
|
| 145 |
+
A07 Certificado Final de Obra (CFO)
|
| 146 |
+
Authority: Colegio de Arquitectos (architect's certification)
|
| 147 |
+
Purpose: Architect's professional sign-off on completed works
|
| 148 |
+
Timeline: Simultaneous with LPO application
|
| 149 |
+
Dependency: Works physically complete
|
| 150 |
+
|
| 151 |
+
[Add project-specific approvals: RERA registration / Declaración de obra nueva / etc]
|
| 152 |
+
═══════════════════════════════════════════════════════════
|
| 153 |
+
```
|
| 154 |
+
|
| 155 |
+
### UK — Approval Profiles
|
| 156 |
+
|
| 157 |
+
```
|
| 158 |
+
UK APPROVAL SEQUENCE — [LPA NAME]
|
| 159 |
+
═══════════════════════════════════════════════════════════
|
| 160 |
+
A01 Pre-Application Advice
|
| 161 |
+
Authority: LPA (Local Planning Authority)
|
| 162 |
+
Purpose: Non-binding guidance — builds record of engagement
|
| 163 |
+
Timeline: 4–8 weeks (varies by LPA)
|
| 164 |
+
Dependency: None — recommended first step
|
| 165 |
+
Risk: LOW (advisory)
|
| 166 |
+
|
| 167 |
+
A02 Planning Application (Full / Outline / Reserved Matters)
|
| 168 |
+
Authority: LPA — Planning Committee or delegated officer
|
| 169 |
+
Purpose: Permission for development
|
| 170 |
+
Statutory targets: Major: 13 weeks / Minor: 8 weeks / Other: 8 weeks
|
| 171 |
+
Actual timeline: [3–18 months for complex schemes]
|
| 172 |
+
Dependency: A01 (recommended) + EIA screening (A03 if required)
|
| 173 |
+
Risk: [LOW–HIGH — based on policy compliance and objections]
|
| 174 |
+
|
| 175 |
+
A03 EIA Screening / Scoping (if required)
|
| 176 |
+
Authority: LPA
|
| 177 |
+
Trigger: Schedule 1 (mandatory) or Schedule 2 (likely significant effects)
|
| 178 |
+
Timeline: Screening: 3 weeks / Scoping: 5 weeks / ES: 3–12 months
|
| 179 |
+
Dependency: Parallel to or before A02
|
| 180 |
+
|
| 181 |
+
A04 Section 106 Agreement
|
| 182 |
+
Authority: LPA (legal agreement)
|
| 183 |
+
Purpose: Planning obligations — affordable housing, transport, BNG, education
|
| 184 |
+
Timeline: Negotiated during A02 — can delay decision by 3–6 months
|
| 185 |
+
Risk: MEDIUM — viability dispute risk
|
| 186 |
+
|
| 187 |
+
A05 Community Infrastructure Levy (CIL)
|
| 188 |
+
Authority: LPA / Mayoral CIL (London)
|
| 189 |
+
Purpose: Charge payable on commencement of development
|
| 190 |
+
Timeline: Calculated post-consent — payable on start
|
| 191 |
+
Amount: [CPI-adjusted rate × GIA] — [CURRENCY AMOUNT estimated]
|
| 192 |
+
|
| 193 |
+
A06 Pre-Commencement Conditions Discharge
|
| 194 |
+
Authority: LPA
|
| 195 |
+
Purpose: Discharge specific conditions before works begin
|
| 196 |
+
Common conditions: Archaeology / Contamination / Drainage / Ecology / Materials
|
| 197 |
+
Timeline: 8 weeks per application
|
| 198 |
+
Dependency: Must be discharged BEFORE works start (CIL trigger)
|
| 199 |
+
Risk: MEDIUM — delays construction start
|
| 200 |
+
|
| 201 |
+
A07 Building Regulations Approval
|
| 202 |
+
Authority: Building Control (LPA or Approved Inspector)
|
| 203 |
+
Purpose: Technical compliance with building regulations
|
| 204 |
+
Timeline: Full Plans: 5 weeks / Building Notice: immediate
|
| 205 |
+
Dependency: Parallel to or after A02
|
| 206 |
+
|
| 207 |
+
A08 Listed Building Consent (if applicable)
|
| 208 |
+
Authority: LPA (Grade II) / Historic England (Grade I/II*)
|
| 209 |
+
Purpose: Permission for works to listed building
|
| 210 |
+
Timeline: 8 weeks statutory / 3–6 months actual for complex works
|
| 211 |
+
Risk: HIGH — Historic England objection possible
|
| 212 |
+
|
| 213 |
+
A09 Biodiversity Net Gain Assessment
|
| 214 |
+
Authority: LPA (mandatory from Feb 2024)
|
| 215 |
+
Purpose: 10% BNG uplift required — baseline + metric calculation
|
| 216 |
+
Timeline: Ecological survey: 1 season / Assessment: 6–12 weeks
|
| 217 |
+
Dependency: Submit with or before A02
|
| 218 |
+
|
| 219 |
+
A10 Completion and Occupation
|
| 220 |
+
Authority: Building Control
|
| 221 |
+
Purpose: Completion certificate / Final inspection
|
| 222 |
+
Timeline: At practical completion
|
| 223 |
+
Dependency: A07 + all works complete
|
| 224 |
+
═══════════════════════════════════════════════════════════
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
### USA — Approval Profiles
|
| 228 |
+
|
| 229 |
+
```
|
| 230 |
+
USA APPROVAL SEQUENCE — [JURISDICTION / CITY]
|
| 231 |
+
═══════════════════════════════════════════════════════════
|
| 232 |
+
A01 Pre-Application Meeting
|
| 233 |
+
Authority: Planning Department
|
| 234 |
+
Timeline: 2–4 weeks to schedule
|
| 235 |
+
Risk: LOW (advisory)
|
| 236 |
+
|
| 237 |
+
A02 CEQA / NEPA Environmental Review (if required)
|
| 238 |
+
Authority: Lead Agency (CEQA) / Federal Agency (NEPA)
|
| 239 |
+
CEQA triggers: Discretionary approval for projects with potential significant effects
|
| 240 |
+
Types: CE (exempt) / ND or MND (3–6 months) / EIR (12–36 months)
|
| 241 |
+
NEPA types: CE / EA (6–12 months) / EIS (2–5 years)
|
| 242 |
+
Litigation risk (CEQA): HIGH in California — factor into timeline
|
| 243 |
+
Dependency: Must be completed before discretionary approval
|
| 244 |
+
|
| 245 |
+
A03 Conditional Use Permit (CUP) / Special Use Permit (SUP)
|
| 246 |
+
Authority: Planning Commission or Zoning Board
|
| 247 |
+
Purpose: Discretionary use approval
|
| 248 |
+
Timeline: 3–9 months (public hearing required)
|
| 249 |
+
Dependency: CEQA (A02) complete or parallel
|
| 250 |
+
|
| 251 |
+
A04 Rezoning / General Plan Amendment (if required)
|
| 252 |
+
Authority: City Council (legislative)
|
| 253 |
+
Timeline: 12–36 months (general plan amendment can take 18–48 months)
|
| 254 |
+
Risk: HIGH — political; not guaranteed
|
| 255 |
+
|
| 256 |
+
A05 Vesting Tentative Map / Parcel Map (if subdivision)
|
| 257 |
+
Authority: Planning Commission
|
| 258 |
+
Timeline: 3–6 months
|
| 259 |
+
Dependency: A02 (CEQA) complete
|
| 260 |
+
|
| 261 |
+
A06 Design Review
|
| 262 |
+
Authority: Design Review Board / Architectural Review Committee
|
| 263 |
+
Timeline: 1–3 months (iterative)
|
| 264 |
+
Risk: MEDIUM — subjective; multiple rounds possible
|
| 265 |
+
|
| 266 |
+
A07 Building Permit
|
| 267 |
+
Authority: Building Department
|
| 268 |
+
Timeline: Plan check: 2–6 months / Over-the-counter: days
|
| 269 |
+
Dependency: A02–A06 complete; all discretionary approvals obtained
|
| 270 |
+
|
| 271 |
+
A08 Development Agreement (if large project)
|
| 272 |
+
Authority: City Council
|
| 273 |
+
Purpose: Vests development rights; provides certainty on standards
|
| 274 |
+
Timeline: 6–18 months to negotiate
|
| 275 |
+
Benefit: Locks in zoning rules for project life
|
| 276 |
+
|
| 277 |
+
A09 Certificate of Occupancy (CO)
|
| 278 |
+
Authority: Building Department
|
| 279 |
+
Timeline: At final inspection upon construction completion
|
| 280 |
+
Dependency: Building permit (A07) + all inspections passed
|
| 281 |
+
═══════════════════════════════════════════════════════════
|
| 282 |
+
```
|
| 283 |
+
|
| 284 |
+
### INDIA — Approval Profiles
|
| 285 |
+
|
| 286 |
+
```
|
| 287 |
+
INDIA APPROVAL SEQUENCE — [STATE / CITY]
|
| 288 |
+
═══════════════════════════════════════════════════════════
|
| 289 |
+
A01 Zonal Plan / Master Plan Compliance Check
|
| 290 |
+
Authority: Development Authority (DDA / MCGM / BDA etc)
|
| 291 |
+
Purpose: Confirm land use permitted under Master Plan
|
| 292 |
+
Timeline: 2–4 weeks (land use certificate application)
|
| 293 |
+
Risk: Verify — change of land use (CLU) is a separate process
|
| 294 |
+
|
| 295 |
+
A02 RERA Registration
|
| 296 |
+
Authority: State RERA Authority
|
| 297 |
+
Purpose: Mandatory for residential projects > 500 sqm or > 8 units
|
| 298 |
+
Timeline: 30–60 days
|
| 299 |
+
Dependency: Land title clear + approvals in progress (can register with approvals pending)
|
| 300 |
+
Risk: MEDIUM — developer must disclose all approvals status on RERA portal
|
| 301 |
+
Obligation: 70% of buyer funds into RERA escrow account
|
| 302 |
+
|
| 303 |
+
A03 Environmental Clearance (EC)
|
| 304 |
+
Authority: SEIAA (state) / MoEFCC (central) — depends on project scale
|
| 305 |
+
Trigger: >20,000 sqm built-up area / industrial / special categories
|
| 306 |
+
Timeline: 6–24 months (public consultation + appraisal committee)
|
| 307 |
+
Dependency: ToR (Terms of Reference) → EIA Study → Appraisal → EC
|
| 308 |
+
Risk: HIGH for large/sensitive projects
|
| 309 |
+
|
| 310 |
+
A04 Building Plan Approval / Commencement Certificate
|
| 311 |
+
Authority: Municipal Corporation / Development Authority
|
| 312 |
+
Purpose: Sanction of building plans — floor plans, FAR, setbacks
|
| 313 |
+
Timeline: 1–6 months (auto-approval in some states: 30 days if criteria met)
|
| 314 |
+
Dependency: Land title, NOC from fire/aviation/other departments
|
| 315 |
+
Risk: MEDIUM — department NOCs can cause delays
|
| 316 |
+
|
| 317 |
+
A05 NOCs from Statutory Bodies
|
| 318 |
+
Authority: AAI (airport), Fire Dept, Pollution Control Board, State Electricity Board, others
|
| 319 |
+
Timeline: 1–3 months each (NOCs can be obtained in parallel)
|
| 320 |
+
Dependency: Building plan (A04) in progress
|
| 321 |
+
Risk: AAI NOC — critical near airports; up to 6 months
|
| 322 |
+
|
| 323 |
+
A06 Occupation Certificate (OC) / Completion Certificate (CC)
|
| 324 |
+
Authority: Municipal Corporation
|
| 325 |
+
Purpose: Certifies building constructed per approved plans — mandatory for sale/occupation
|
| 326 |
+
Timeline: 1–3 months after construction complete
|
| 327 |
+
Dependency: All NOCs + completion of works
|
| 328 |
+
Risk: Deviation from approved plans = OC refusal = serious legal issue
|
| 329 |
+
|
| 330 |
+
A07 Khata / Property Registration
|
| 331 |
+
Authority: Revenue Department / Sub-Registrar
|
| 332 |
+
Purpose: Revenue record + registration of property in buyer's name
|
| 333 |
+
Dependency: OC obtained + stamp duty paid
|
| 334 |
+
═══════════════════════════════════════════════════════════
|
| 335 |
+
```
|
| 336 |
+
|
| 337 |
+
### UAE — Approval Profiles
|
| 338 |
+
|
| 339 |
+
```
|
| 340 |
+
UAE APPROVAL SEQUENCE — [DUBAI / ABU DHABI]
|
| 341 |
+
═══════════════════════════════════════════════════════════
|
| 342 |
+
A01 DDA / UPC Master Plan Compliance
|
| 343 |
+
Authority: Dubai Development Authority / Urban Planning Council (AUH)
|
| 344 |
+
Purpose: Confirm permitted use in zone
|
| 345 |
+
Timeline: 2–4 weeks
|
| 346 |
+
Risk: LOW (zoning well-established in designated areas)
|
| 347 |
+
|
| 348 |
+
A02 DLD Project Registration / RERA Off-Plan Registration
|
| 349 |
+
Authority: Dubai Land Department / RERA
|
| 350 |
+
Purpose: Mandatory for off-plan sales — project must be RERA-registered
|
| 351 |
+
Requirement: Escrow account established; title deed for land; approved master plan
|
| 352 |
+
Timeline: 4–8 weeks
|
| 353 |
+
Dependency: Land title confirmed + A01
|
| 354 |
+
|
| 355 |
+
A03 NOC from Master Developer (if applicable)
|
| 356 |
+
Authority: Emaar / Nakheel / Meraas / MERAS etc
|
| 357 |
+
Purpose: Master developer approval for sub-development within community
|
| 358 |
+
Timeline: 2–6 weeks
|
| 359 |
+
Risk: LOW–MEDIUM (usually procedural if compliant)
|
| 360 |
+
|
| 361 |
+
A04 Dubai Municipality Building Permit
|
| 362 |
+
Authority: Dubai Municipality — Building Department
|
| 363 |
+
Purpose: Approval of building plans, structural, MEP
|
| 364 |
+
Timeline: 4–12 weeks
|
| 365 |
+
Dependency: A02 + A03 + structural drawings submitted
|
| 366 |
+
|
| 367 |
+
A05 DEWA Approval (Electricity and Water)
|
| 368 |
+
Authority: DEWA
|
| 369 |
+
Purpose: Infrastructure capacity confirmation + connection approval
|
| 370 |
+
Timeline: 4–8 weeks (concurrent with A04)
|
| 371 |
+
Dependency: Load schedules submitted
|
| 372 |
+
|
| 373 |
+
A06 Civil Defence Approval
|
| 374 |
+
Authority: Civil Defence (fire safety)
|
| 375 |
+
Timeline: 4–8 weeks
|
| 376 |
+
Dependency: Fire strategy submitted with A04
|
| 377 |
+
|
| 378 |
+
A07 Completion Certificate / Municipality Sign-Off
|
| 379 |
+
Authority: Dubai Municipality
|
| 380 |
+
Purpose: Final inspection and completion — required before unit sales/occupation
|
| 381 |
+
Timeline: 4–8 weeks post-construction
|
| 382 |
+
Dependency: All works complete + inspections passed + DLP confirmed
|
| 383 |
+
|
| 384 |
+
A08 Strata / OA Registration
|
| 385 |
+
Authority: RERA (Jointly Owned Property)
|
| 386 |
+
Purpose: Register Owners Association for jointly owned development
|
| 387 |
+
Dependency: A07 complete
|
| 388 |
+
═══════════════════════════════════════════════════════════
|
| 389 |
+
```
|
| 390 |
+
|
| 391 |
+
---
|
| 392 |
+
|
| 393 |
+
## STEP 4 — DEPENDENCY CHAIN MAP
|
| 394 |
+
|
| 395 |
+
```
|
| 396 |
+
DEPENDENCY CHAIN — [PROJECT NAME]
|
| 397 |
+
═══════════════════════════════════════════════════════════
|
| 398 |
+
CRITICAL PATH (cannot proceed without ALL of these):
|
| 399 |
+
A[N] → A[N+1] → A[N+2] → CONSTRUCTION START → A[N+3] → OCCUPATION
|
| 400 |
+
|
| 401 |
+
PARALLEL TRACKS (can proceed simultaneously):
|
| 402 |
+
Track 1: A[X] + A[Y] + A[Z] — [planning + environmental + surveys]
|
| 403 |
+
Track 2: A[P] + A[Q] — [technical + NOCs]
|
| 404 |
+
|
| 405 |
+
CRITICAL PATH DURATION: [N] months from today to construction start
|
| 406 |
+
FLOAT ON NON-CRITICAL ITEMS: [M] months
|
| 407 |
+
|
| 408 |
+
CRITICAL PATH RISK:
|
| 409 |
+
Approval most likely to delay critical path: [A[N] — reason]
|
| 410 |
+
Contingency: [Action to reduce delay risk]
|
| 411 |
+
Programme contingency built in: [X] months
|
| 412 |
+
═══════════════════════════════════════════════════════════
|
| 413 |
+
```
|
| 414 |
+
|
| 415 |
+
---
|
| 416 |
+
|
| 417 |
+
## STEP 5 — APPROVAL RISK RATING
|
| 418 |
+
|
| 419 |
+
For each approval, apply RED / YELLOW / GREEN:
|
| 420 |
+
|
| 421 |
+
| Rating | Criteria |
|
| 422 |
+
|--------|---------|
|
| 423 |
+
| GREEN | On track / obtained / within normal statutory timeline |
|
| 424 |
+
| YELLOW | At risk — timeline slipping / authority queries outstanding / public objections received |
|
| 425 |
+
| RED | Refused / missed deadline / judicial review threatened / critical path item delayed |
|
| 426 |
+
|
| 427 |
+
```
|
| 428 |
+
APPROVAL RISK SUMMARY
|
| 429 |
+
═══════════════════════════════════════════════════════════
|
| 430 |
+
Total approvals: [N]
|
| 431 |
+
✅ GREEN: [N] — obtained or on track
|
| 432 |
+
⚠ YELLOW: [N] — at risk — [list]
|
| 433 |
+
🔴 RED: [N] — critical — [list]
|
| 434 |
+
|
| 435 |
+
PROGRAMME IMPACT OF RED ITEMS:
|
| 436 |
+
[For each RED: delay to construction start / to completion / to longstop]
|
| 437 |
+
|
| 438 |
+
ESCALATION RECOMMENDED:
|
| 439 |
+
[YES — escalate to: [IC / JV partner / lender / DFI board] re: [specific item]]
|
| 440 |
+
[NO — monitoring sufficient]
|
| 441 |
+
═══════════════════════════════════════════════════════════
|
| 442 |
+
|
| 443 |
+
[Analysis under {country} planning law — as of {date}]
|
| 444 |
+
Source: references/countries/{jurisdiction}/zoning-law.md (v6.0)
|
| 445 |
+
```
|