@rubytech/create-maxy-code 0.1.97 → 0.1.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/package.json +1 -1
  2. package/payload/platform/plugins/.claude-plugin/marketplace.json +5 -0
  3. package/payload/platform/plugins/founder-pack/.claude-plugin/plugin.json +8 -0
  4. package/payload/platform/plugins/founder-pack/skills/investor-data-room/SKILL.md +256 -0
  5. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/business-plan-template.md +61 -0
  6. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/compliance-research-checklist.md +53 -0
  7. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/data-room-structure.md +77 -0
  8. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/deck-blueprint-template.md +38 -0
  9. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/design-tokens-application.md +79 -0
  10. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/html-pdf-pipeline.md +236 -0
  11. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/internal-workings-scrub.md +33 -0
  12. package/payload/platform/plugins/founder-pack/skills/investor-data-room/references/termsheet-template.md +66 -0
  13. package/payload/platform/services/claude-session-manager/dist/http-server.d.ts.map +1 -1
  14. package/payload/platform/services/claude-session-manager/dist/http-server.js +79 -87
  15. package/payload/platform/services/claude-session-manager/dist/http-server.js.map +1 -1
  16. package/payload/platform/services/claude-session-manager/scripts/stash-cleanup.sh +410 -0
  17. package/payload/premium-plugins/.claude-plugin/marketplace.json +5 -0
  18. package/payload/premium-plugins/founder-pack/.claude-plugin/plugin.json +8 -0
  19. package/payload/premium-plugins/founder-pack/skills/investor-data-room/SKILL.md +256 -0
  20. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/business-plan-template.md +61 -0
  21. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/compliance-research-checklist.md +53 -0
  22. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/data-room-structure.md +77 -0
  23. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/deck-blueprint-template.md +38 -0
  24. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/design-tokens-application.md +79 -0
  25. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/html-pdf-pipeline.md +236 -0
  26. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/internal-workings-scrub.md +33 -0
  27. package/payload/premium-plugins/founder-pack/skills/investor-data-room/references/termsheet-template.md +66 -0
  28. package/payload/server/public/assets/{ChatInput-CzQhPt90.css → ChatInput-u7hSrC3q.css} +1 -1
  29. package/payload/server/public/assets/{Checkbox-ynZtDWi3.js → Checkbox-CfiWjuMH.js} +1 -1
  30. package/payload/server/public/assets/{admin-WyIfDMQG.js → admin-D6VRETeg.js} +1 -1
  31. package/payload/server/public/assets/{architectureDiagram-Q4EWVU46-Ko_izKmY.js → architectureDiagram-Q4EWVU46-CSAyzBIK.js} +1 -1
  32. package/payload/server/public/assets/{blockDiagram-DXYQGD6D-D58VDC0w.js → blockDiagram-DXYQGD6D-l_AoJo_I.js} +1 -1
  33. package/payload/server/public/assets/{c4Diagram-AHTNJAMY-C-eRXyKi.js → c4Diagram-AHTNJAMY-Dsjc59iO.js} +1 -1
  34. package/payload/server/public/assets/channel-BlwH4wTf.js +1 -0
  35. package/payload/server/public/assets/{chunk-336JU56O-DZLEfLAb.js → chunk-336JU56O-BgAz-EJ4.js} +2 -2
  36. package/payload/server/public/assets/{chunk-426QAEUC-BriTU3L8.js → chunk-426QAEUC-DHF9zZlS.js} +1 -1
  37. package/payload/server/public/assets/{chunk-4TB4RGXK-BdxRL-AY.js → chunk-4TB4RGXK-Cqb1TREv.js} +1 -1
  38. package/payload/server/public/assets/{chunk-5FUZZQ4R-BgEmy7Y3.js → chunk-5FUZZQ4R-CV4WMN8u.js} +1 -1
  39. package/payload/server/public/assets/{chunk-5PVQY5BW-emnbDRLA.js → chunk-5PVQY5BW-CL0bAr0t.js} +1 -1
  40. package/payload/server/public/assets/{chunk-EDXVE4YY-BvCf2Xf2.js → chunk-EDXVE4YY-WY3Sg1Fq.js} +1 -1
  41. package/payload/server/public/assets/{chunk-ENJZ2VHE-DTpEYJRb.js → chunk-ENJZ2VHE-BIVdDrD2.js} +1 -1
  42. package/payload/server/public/assets/{chunk-ICPOFSXX-Ced2j48Y.js → chunk-ICPOFSXX-CUHDQxso.js} +1 -1
  43. package/payload/server/public/assets/{chunk-OYMX7WX6-B21_a3Dv.js → chunk-OYMX7WX6-D1sj6R4f.js} +1 -1
  44. package/payload/server/public/assets/{chunk-U2HBQHQK-CPS3yyXK.js → chunk-U2HBQHQK-BGso49fW.js} +1 -1
  45. package/payload/server/public/assets/{chunk-X2U36JSP-BJ_B5NW7.js → chunk-X2U36JSP-C2tUGTcL.js} +1 -1
  46. package/payload/server/public/assets/{chunk-YZCP3GAM-CMLy-WXm.js → chunk-YZCP3GAM-CLvYLDvo.js} +1 -1
  47. package/payload/server/public/assets/{chunk-ZZ45TVLE-BkLnzCHe.js → chunk-ZZ45TVLE-yHQe8STh.js} +1 -1
  48. package/payload/server/public/assets/classDiagram-6PBFFD2Q-DuEhfP67.js +1 -0
  49. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-zSqemF--.js +1 -0
  50. package/payload/server/public/assets/clone-DUSqJbTD.js +1 -0
  51. package/payload/server/public/assets/{dagre-KV5264BT-RY0E5UAn.js → dagre-KV5264BT-Df1MO_DJ.js} +1 -1
  52. package/payload/server/public/assets/{dagre-Dd_gq4yj.js → dagre-fQyUaxmN.js} +1 -1
  53. package/payload/server/public/assets/data-BFHNkj3Y.js +1 -0
  54. package/payload/server/public/assets/{diagram-5BDNPKRD-DR7XiPLh.js → diagram-5BDNPKRD-E3qTf9lX.js} +1 -1
  55. package/payload/server/public/assets/{diagram-G4DWMVQ6-2EbOfKFs.js → diagram-G4DWMVQ6-DCV-gR0I.js} +1 -1
  56. package/payload/server/public/assets/{diagram-MMDJMWI5-CGcY0Ze7.js → diagram-MMDJMWI5-CZKwrxSp.js} +1 -1
  57. package/payload/server/public/assets/{diagram-TYMM5635-Dk6MmAso.js → diagram-TYMM5635-ClXOl5De.js} +1 -1
  58. package/payload/server/public/assets/{erDiagram-SMLLAGMA-CKvdlUqk.js → erDiagram-SMLLAGMA-v2-MNn-e.js} +1 -1
  59. package/payload/server/public/assets/{flowDiagram-DWJPFMVM-BqKhvCDz.js → flowDiagram-DWJPFMVM-CDFzDH-2.js} +1 -1
  60. package/payload/server/public/assets/{ganttDiagram-T4ZO3ILL-CeiE-IRb.js → ganttDiagram-T4ZO3ILL-DEA-33qn.js} +1 -1
  61. package/payload/server/public/assets/{gitGraphDiagram-UUTBAWPF-BbPKn7v2.js → gitGraphDiagram-UUTBAWPF-lLy_eZzu.js} +1 -1
  62. package/payload/server/public/assets/graph-Df2aJN0a.js +1 -0
  63. package/payload/server/public/assets/{graph-labels-BzMN9eev.js → graph-labels-CCTdQ2Vi.js} +1 -1
  64. package/payload/server/public/assets/{graphlib-tG6kR59B.js → graphlib-B6Y7yD4A.js} +1 -1
  65. package/payload/server/public/assets/{infoDiagram-42DDH7IO-6MiRGCI1.js → infoDiagram-42DDH7IO-D-Pm-tYB.js} +1 -1
  66. package/payload/server/public/assets/{ishikawaDiagram-UXIWVN3A-BwY4p5mg.js → ishikawaDiagram-UXIWVN3A-DVHkDPv1.js} +1 -1
  67. package/payload/server/public/assets/{journeyDiagram-VCZTEJTY-BXAQ_fUi.js → journeyDiagram-VCZTEJTY-CsxM47ah.js} +1 -1
  68. package/payload/server/public/assets/{kanban-definition-6JOO6SKY-ChiiO7Yt.js → kanban-definition-6JOO6SKY-C7EYwNjH.js} +1 -1
  69. package/payload/server/public/assets/{lib-DbPz9cfu.js → lib-iH6Mg9EP.js} +1 -1
  70. package/payload/server/public/assets/{line-B5g5OrOD.js → line-CvBly01q.js} +1 -1
  71. package/payload/server/public/assets/{mermaid-parser.core-BMGzMKJx.js → mermaid-parser.core-D32akjeh.js} +1 -1
  72. package/payload/server/public/assets/{mermaid.core-DLMgkjXn.js → mermaid.core-B3O4X8ja.js} +3 -3
  73. package/payload/server/public/assets/{mindmap-definition-QFDTVHPH-BvyzRLAi.js → mindmap-definition-QFDTVHPH-yreoqnSK.js} +1 -1
  74. package/payload/server/public/assets/{page-D93GZ3YQ.js → page-BVuuY21i.js} +1 -1
  75. package/payload/server/public/assets/{page--nZ_z-z7.js → page-Dc2CtJkh.js} +1 -1
  76. package/payload/server/public/assets/{pieDiagram-DEJITSTG--EV9pVfs.js → pieDiagram-DEJITSTG-DEYXlFD5.js} +1 -1
  77. package/payload/server/public/assets/{public-sYW0Dwku.js → public-DknvBIqv.js} +3 -3
  78. package/payload/server/public/assets/{quadrantDiagram-34T5L4WZ-DJcL08ft.js → quadrantDiagram-34T5L4WZ-CVTVYl5c.js} +1 -1
  79. package/payload/server/public/assets/{requirementDiagram-MS252O5E-D4VdmmSu.js → requirementDiagram-MS252O5E-D438ZRqW.js} +1 -1
  80. package/payload/server/public/assets/{sankeyDiagram-XADWPNL6-Dsw3nHRS.js → sankeyDiagram-XADWPNL6-B2Hs1q9K.js} +1 -1
  81. package/payload/server/public/assets/{sequenceDiagram-FGHM5R23-CAgemUx5.js → sequenceDiagram-FGHM5R23-BqRHtAoK.js} +1 -1
  82. package/payload/server/public/assets/{stateDiagram-FHFEXIEX-B7dyL9_X.js → stateDiagram-FHFEXIEX-ILOj6_TV.js} +1 -1
  83. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-B2cQBKI1.js +1 -0
  84. package/payload/server/public/assets/{timeline-definition-GMOUNBTQ-B7iKswhp.js → timeline-definition-GMOUNBTQ-D-uskEEs.js} +1 -1
  85. package/payload/server/public/assets/{vennDiagram-DHZGUBPP-uFS0i1qX.js → vennDiagram-DHZGUBPP-DJjaoR79.js} +1 -1
  86. package/payload/server/public/assets/{wardleyDiagram-NUSXRM2D-lDUh4LAD.js → wardleyDiagram-NUSXRM2D-B1EO_5jp.js} +1 -1
  87. package/payload/server/public/assets/{xychartDiagram-5P7HB3ND-0v7MEVwW.js → xychartDiagram-5P7HB3ND-CQnz0KUb.js} +1 -1
  88. package/payload/server/public/data.html +5 -5
  89. package/payload/server/public/graph.html +6 -6
  90. package/payload/server/public/index.html +8 -8
  91. package/payload/server/public/public.html +5 -5
  92. package/payload/server/public/assets/channel-CejaITMF.js +0 -1
  93. package/payload/server/public/assets/classDiagram-6PBFFD2Q-BmoqALf4.js +0 -1
  94. package/payload/server/public/assets/classDiagram-v2-HSJHXN6E-vMajwCNi.js +0 -1
  95. package/payload/server/public/assets/clone-mvVfHkyg.js +0 -1
  96. package/payload/server/public/assets/data-D2aPJB7w.js +0 -1
  97. package/payload/server/public/assets/graph-B5UWg8zV.js +0 -1
  98. package/payload/server/public/assets/stateDiagram-v2-QKLJ7IA2-CImN6Wk6.js +0 -1
  99. /package/payload/server/public/assets/{ChatInput-Cj9JQtYt.js → ChatInput-BmmxQOhM.js} +0 -0
@@ -0,0 +1,236 @@
1
+ # HTML + PDF render pipeline
2
+
3
+ Image-only A4 portrait PDF, rendered from a single HTML file via Playwright + img2pdf + qpdf. Mirrors the constraints in the `property-brochure:a4-print-documents` skill.
4
+
5
+ ## File layout per artefact
6
+
7
+ ```
8
+ html/<artefact>/
9
+ index.html # source of truth
10
+ render-pdf.mjs # Playwright pipeline
11
+ <artefact>.pdf # rendered output
12
+ logo-light.png # for dark cover/backpage
13
+ logo-dark.png # for light content pages (optional)
14
+ README.md # render + verify commands, page list
15
+ ```
16
+
17
+ ## HTML scaffold (key blocks)
18
+
19
+ ```html
20
+ <!DOCTYPE html>
21
+ <html lang="en-GB">
22
+ <head>
23
+ <meta charset="UTF-8">
24
+ <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
25
+ <style>
26
+ /* Tier 1 + Tier 2 design tokens from project's design-tokens.md */
27
+ :root {
28
+ --teal-900: #0E1418;
29
+ --teal-950: #06080A;
30
+ --gold-500: #A4884C;
31
+ --gold-300: #C9B07A;
32
+ --gold-700: #7A6235;
33
+ --paper-0: #FFFFFF;
34
+ --paper-25: #FBFAF6;
35
+ --paper-100: #ECF1F2;
36
+ --slate-400: #8A8E96;
37
+ --slate-600: #5C6470;
38
+ --rule-fine: #E2D5BD;
39
+ --serif: 'Cormorant Garamond', serif;
40
+ --body-serif: 'Lora', Georgia, serif;
41
+ --sans: 'Inter', sans-serif;
42
+ --surface-page: var(--paper-25);
43
+ --surface-deep: var(--teal-950);
44
+ --text-primary: var(--teal-900);
45
+ --text-on-deep: var(--paper-25);
46
+ --text-accent: var(--gold-700);
47
+ --text-accent-on-deep: var(--gold-300);
48
+ }
49
+
50
+ @page { size: A4 portrait; margin: 18mm 16mm 20mm; }
51
+ @page :first { margin: 0; }
52
+ @page backpage-full { margin: 0; }
53
+
54
+ body {
55
+ margin: 0;
56
+ background: var(--surface-page);
57
+ color: var(--text-primary);
58
+ font-family: var(--body-serif);
59
+ font-size: 11pt;
60
+ line-height: 1.55;
61
+ counter-reset: pagenum;
62
+ }
63
+
64
+ .page {
65
+ counter-increment: pagenum;
66
+ position: relative;
67
+ }
68
+ .page:not(.page--cover):not(.page--backpage)::after {
69
+ content: counter(pagenum);
70
+ position: absolute;
71
+ bottom: 10mm;
72
+ right: 16mm;
73
+ font-family: var(--sans);
74
+ font-size: 9pt;
75
+ letter-spacing: 0.28em;
76
+ color: var(--slate-400);
77
+ }
78
+ .page:not(.page--cover):not(.page--backpage)::before {
79
+ content: "REAL AGENT NETWORK LIMITED · BUSINESS PLAN · v1.0";
80
+ position: absolute;
81
+ bottom: 10mm;
82
+ left: 16mm;
83
+ font-family: var(--sans);
84
+ font-size: 7pt;
85
+ letter-spacing: 0.24em;
86
+ color: var(--slate-400);
87
+ }
88
+
89
+ @media screen {
90
+ body { background: #FFFFFF; padding: 24px; }
91
+ .page {
92
+ width: 210mm; min-height: 297mm;
93
+ margin: 20px auto; padding: 18mm 16mm 20mm;
94
+ background: var(--surface-page);
95
+ box-shadow: 0 4px 28px rgba(0,0,0,0.14);
96
+ }
97
+ .page--cover, .page--backpage { padding: 0; overflow: hidden; }
98
+ }
99
+
100
+ @media print {
101
+ body { background: var(--surface-page); padding: 0; }
102
+ .page { page-break-after: always; padding: 0; }
103
+ .page--cover, .page--backpage {
104
+ margin: 0; width: auto; box-shadow: none;
105
+ height: 100vh; position: relative; overflow: hidden;
106
+ -webkit-print-color-adjust: exact;
107
+ print-color-adjust: exact;
108
+ }
109
+ .page--backpage { page-break-before: always; page: backpage-full; }
110
+ .download-btn { display: none !important; }
111
+ }
112
+
113
+ .download-btn {
114
+ position: fixed; top: 20px; right: 20px; z-index: 100;
115
+ font-family: var(--sans); font-size: 9pt; letter-spacing: 0.28em;
116
+ text-transform: uppercase; color: var(--paper-0);
117
+ background: var(--teal-900); padding: 11px 18px 12px;
118
+ border-radius: 9999px; text-decoration: none;
119
+ box-shadow: 0 4px 16px rgba(14, 20, 24, 0.18);
120
+ }
121
+ .download-btn:hover { background: var(--gold-700); }
122
+ </style>
123
+ </head>
124
+ <body>
125
+ <a class="download-btn" href="<artefact>.pdf" download>Download PDF</a>
126
+
127
+ <section class="page page--cover" data-screen-label="cover"> ... </section>
128
+ <section class="page" data-screen-label="exec-summary"> ... </section>
129
+ <!-- ... one <section class="page"> per A4 page ... -->
130
+ <section class="page page--backpage" data-screen-label="backpage"> ... </section>
131
+ </body>
132
+ </html>
133
+ ```
134
+
135
+ ## render-pdf.mjs (canonical)
136
+
137
+ ```javascript
138
+ #!/usr/bin/env node
139
+ import { chromium } from 'playwright';
140
+ import { execFileSync } from 'node:child_process';
141
+ import { mkdirSync, rmSync, existsSync } from 'node:fs';
142
+ import { dirname, basename, join, resolve, extname } from 'node:path';
143
+ import { pathToFileURL } from 'node:url';
144
+
145
+ const [, , htmlInput, pdfOutput] = process.argv;
146
+ if (!htmlInput || !pdfOutput) {
147
+ console.error('Usage: render-pdf.mjs <input.html> <output.pdf>');
148
+ process.exit(64);
149
+ }
150
+
151
+ const htmlPath = resolve(htmlInput);
152
+ const pdfPath = resolve(pdfOutput);
153
+ const tmpDir = resolve(dirname(pdfPath), `.tmp-${basename(pdfPath, extname(pdfPath))}`);
154
+ rmSync(tmpDir, { recursive: true, force: true });
155
+ mkdirSync(tmpDir, { recursive: true });
156
+
157
+ const VIEWPORT_W = 794; // A4 portrait at 96 dpi
158
+ const VIEWPORT_H = 1123;
159
+ const SCALE = 3.125; // → 300 dpi PNGs
160
+ const A4_HEIGHT_PX_SLACK = VIEWPORT_H + 2;
161
+
162
+ (async () => {
163
+ const browser = await chromium.launch();
164
+ const context = await browser.newContext({
165
+ viewport: { width: VIEWPORT_W, height: VIEWPORT_H },
166
+ deviceScaleFactor: SCALE,
167
+ });
168
+ const page = await context.newPage();
169
+
170
+ await page.goto(pathToFileURL(htmlPath).toString(), { waitUntil: 'networkidle' });
171
+ await page.emulateMedia({ media: 'print' });
172
+ await page.evaluate(() => document.fonts ? document.fonts.ready : Promise.resolve());
173
+ await page.evaluate(() => { document.body.style.padding = '0'; });
174
+
175
+ const sections = await page.$$('section.page');
176
+ if (sections.length === 0) {
177
+ console.error('No <section class="page"> elements found.');
178
+ process.exit(65);
179
+ }
180
+
181
+ const pngFiles = [];
182
+ let overflow = false;
183
+
184
+ for (let i = 0; i < sections.length; i++) {
185
+ const section = sections[i];
186
+ const label = await section.getAttribute('data-screen-label') || `page${i + 1}`;
187
+ const scrollHeight = await section.evaluate(el => el.scrollHeight);
188
+ if (scrollHeight > A4_HEIGHT_PX_SLACK) {
189
+ console.error(`[OVERFLOW] page ${i + 1} (${label}): ${scrollHeight}px > A4 + 2px slack`);
190
+ overflow = true;
191
+ }
192
+ const outPath = join(tmpDir, `page-${String(i + 1).padStart(2, '0')}-${label}.png`);
193
+ await section.scrollIntoViewIfNeeded();
194
+ await section.screenshot({ path: outPath, type: 'png' });
195
+ pngFiles.push(outPath);
196
+ }
197
+
198
+ await browser.close();
199
+ if (overflow) {
200
+ console.error('Overflow detected. Aborting.');
201
+ process.exit(4);
202
+ }
203
+
204
+ const preLinearize = join(tmpDir, 'pre-linearize.pdf');
205
+ execFileSync('img2pdf', ['--pagesize', '210mmx297mm', '--output', preLinearize, ...pngFiles], { stdio: 'inherit' });
206
+ execFileSync('qpdf', ['--linearize', '--object-streams=disable', preLinearize, pdfPath], { stdio: 'inherit' });
207
+
208
+ console.log(`✓ PDF written: ${pdfPath}`);
209
+ })();
210
+ ```
211
+
212
+ ## Verification
213
+
214
+ After every render:
215
+
216
+ ```sh
217
+ qpdf --check <artefact>.pdf # → "No syntax or stream encoding errors found"
218
+ pdfinfo <artefact>.pdf | grep -E "Pages|Optimized" # → confirms page count + linearization
219
+ ```
220
+
221
+ Then **read every page visually**. `pdfinfo` reporting "25 pages, A4" is not verification.
222
+
223
+ ## Dependencies
224
+
225
+ ```sh
226
+ npm i -D playwright && npx playwright install chromium
227
+ brew install img2pdf qpdf
228
+ ```
229
+
230
+ ## Hard rules
231
+
232
+ - One `<section class="page">` per A4 page. Renderer aborts (exit 4) on overflow.
233
+ - `execFileSync` (never `execSync` with template strings).
234
+ - Cover and backpage are full-bleed dark teal (`--surface-deep`); skip page numbers and running footer via `:not(.page--cover):not(.page--backpage)` selectors on the page-counter pseudo-elements.
235
+ - Even page count for booklet binding (multiple of 4 ideal).
236
+ - Logo: copy the white-mono icon variant as `logo-light.png` for dark cover/backpage; copy the dark icon variant as `logo-dark.png` if used on light content pages.
@@ -0,0 +1,33 @@
1
+ # Internal-workings scrub — public-vs-internal doctrine
2
+
3
+ Public-facing documents (business plan, prospectus, deck, term sheet, anything the investor reads) state the **current position** only. The journey to that position, the reasoning behind it, comparisons against prior baselines, open items still being reconciled, and cross-references to internal sections all stay in working documents in the data-room's internal sections.
4
+
5
+ ## Patterns that must NOT appear in public docs
6
+
7
+ - **Comparison to baseline / prior version.** *"The loss has grown from -£282.6k to -£323.1k because…"*, *"Total opex (M0 customer-success hire adds £40,500 vs the M10 model worksheet baseline)"*.
8
+ - **Process commentary.** *"Numbers below use the model's published figures pending the reconciled rebuild"*, *"reconciliation pending"*, *"open item, not actioned here"*, *"see Section X critical note and Section Y contingency levers for the reconciliation paths"*.
9
+ - **Internal cross-references to scaffolding.** *"see Section 12.3 critical note"*, *"see Section 12.6 contingency levers"* when the linked content itself is process-talk rather than substance.
10
+ - **Discrepancy resolution narratives.** *"The earlier '£0.01 vs £0.001 nominal' note is resolved by treating the £4,500 as share premium"*.
11
+ - **"Open Q" or "Open item" markers in body text.** Belongs in section READMEs and the office-hours design doc only.
12
+ - **Date-coded internal designs.** *"2026-04-22 design"*, *"office-hours design doc"*, *"model worksheet (Appendix A) needs a rebuild"*.
13
+ - **"Pre-contingency-lever activation" / "once X is included" hedges in summary tables.**
14
+ - **Explanatory parentheticals that name the process.** *"(M10-trigger model did not carry)"* is process commentary and must go.
15
+
16
+ ## What IS acceptable in a public-facing document
17
+
18
+ - The current position, stated as a fact.
19
+ - A footnote citing a source (Companies House, IBISWorld, ICO, etc.) when the figure derives from public data.
20
+ - A pointer to a public appendix (titled documents only; not internal-section READMEs).
21
+ - Conditions on a forecast figure that an investor needs to know (e.g. "assuming Round 2 closes at M9-M10").
22
+
23
+ ## The same content, internal vs public
24
+
25
+ | Internal version (working doc) | Public version (business plan) |
26
+ |---|---|
27
+ | Total operating expenses ~£649,100 (M0 customer-success hire adds £40,500 vs the M10 model worksheet baseline). | Total operating expenses ~£649,100. |
28
+ | Year-1 P&L loss has grown from -£282.6k to -£323.1k because the customer-success hire is brought forward from M10 to M0. | Year-1 P&L loss is approximately £323k against revenue of £356k. |
29
+ | Cash crosses zero at M8–M9 if Round 2 does not close; the model worksheet's M11 £34k cash low arrives roughly two months earlier under the M0 CS hire structure. | The raise is sized to deliver the Round 2 gating milestones; Round 2 closes at M9 to M10. |
30
+
31
+ ## Recurrence is a P0 violation
32
+
33
+ In the reference project this rule was violated three times in one session (initial draft used a dated internal design reference; appendix table referenced internal-only documents alongside externally-shareable ones; M0 customer-success hire updates added "model worksheet baseline" comparisons). The pattern: every time the founder adds content or asks for an update, the temptation is to include "what changed and why" alongside the new value. The temptation must be resisted; the public document carries only the new value. The "what changed and why" goes in a sibling internal document if it needs to live somewhere.
@@ -0,0 +1,66 @@
1
+ # Term sheet template
2
+
3
+ A4-portrait, 6-to-8-page formal term sheet, same render pipeline as the business plan (Playwright + img2pdf + qpdf). Lives at `html/prospectus/term_sheet.html`. The reference project produces a 7-page artefact: cover + 5 content pages + signatures.
4
+
5
+ ## Page-by-page structure
6
+
7
+ | # | Page | Contents |
8
+ |---|---|---|
9
+ | 1 | Cover + preamble | Issuer (full Companies-House-filed legal name), document title, "Non-binding — confidentiality and exclusivity bind", preamble (round purpose, recipient self-cert reminder), introductory parties table (Issuer, Founders list, Investors, round size, minimum cheque, minimum aggregate, target first close) |
10
+ | 2 | Share economics &amp; use of proceeds | Instrument (ordinary £0.001 or £0.01 nominal, ranking *pari passu*), pre-money / post-money / dilution, issue price (computed from pre-money ÷ pre-investment shares), Round Share count, use of proceeds split, long-stop date, funds-expected timing |
11
+ | 3 | Cap table on closing | Holder / Role / Shares / % table; founders subtotal; Round Shares row; total = 100% / 625,000 |
12
+ | 4 | Governance &amp; shareholder protections | Board composition (director-designate per IN01), information rights (≥5% threshold), pre-emption, drag-along / tag-along, share-transfer good-leaver / bad-leaver, SEIS/EIS posture, confidentiality (binding), exclusivity (binding) |
13
+ | 5 | Closing terms | Governing law (English), expenses (each party bears own), founder IP assignment (deed at first close, no licence-back, no royalty), conditions to closing, long-form documentation timeline |
14
+ | 6 | Signatures | Company block (director-designate per IN01) + Investor block (name / entity / commitment / signature line) |
15
+ | 7 | Investor self-certification (optional) | UK self-cert criteria check-list with signature block |
16
+ | 8 | Backpage | Contact card + confidentiality reminder + companies-house identifier |
17
+
18
+ ## Cap table reconciliation
19
+
20
+ The cap table on closing **must reconcile against the IN01 + the Round 1 dilution model exactly**. The pattern from the reference project:
21
+
22
+ | Step | Source |
23
+ |---|---|
24
+ | Pre-investment shares (e.g. 500,000) | IN01 statement of capital |
25
+ | Per-founder pre-investment % | IN01 cap table |
26
+ | Dilution % | (Round size / post-money) = 350 / 1,750 = 20% in the reference project |
27
+ | Post-investment % per founder | Pre-investment % × (1 − dilution%) |
28
+ | Post-investment shares per founder | Pre-investment shares × (1 − dilution%) — note this only works if all founders dilute pro rata |
29
+ | Round Shares | New investor's post-investment % × total post-investment shares |
30
+ | Total post-closing shares | Pre-investment shares ÷ (1 − dilution%) |
31
+
32
+ Reference project numbers (pre 500k, dilution 20%):
33
+ - Joel 24.90% / 124,500 → 19.92% / 124,500 (no change in shares; dilution is via issuance of new shares)
34
+ - Adam 24.90% / 124,500 → 19.92% / 124,500
35
+ - Alex 20.00% / 100,000 → 16.00% / 100,000
36
+ - Jamie 15.16% / 75,813 → 12.13% / 75,813
37
+ - BackleyBlack 8.75% / 43,749 → 7.00% / 43,749
38
+ - Stewart Smalley 6.29% / 31,438 → 5.03% / 31,438
39
+ - Founders subtotal 500,000 / 80.00%
40
+ - New investors (Round 1) 125,000 / 20.00%
41
+ - Total post-closing 625,000 / 100.00%
42
+
43
+ Issue price = pre-money / pre-investment shares = £1,400,000 / 500,000 = **£2.80 per Round Share** (£0.001 nominal + £2.799 share premium in the reference project where nominal was £0.001; or £0.01 nominal + £2.79 premium if the term sheet sets nominal at £0.01).
44
+
45
+ ## Doctrine
46
+
47
+ - **Issuer name is the IN01-filed legal entity.** Stale term sheets that reference a marketing entity (e.g. "Real Agent Systems Ltd" instead of the filed "Real Agent Network Limited") are defects. The Companies House number on every page header should match.
48
+ - **Founder list reads exactly as the cap table.** Six holders on the cap table = six in the founder list. No phantom founders. Strategic shareholders (e.g. an investing LLP) ride in by entity name, not by their constituent individuals.
49
+ - **Sole director on IN01 is the director-designate on the term sheet's signature page.** A term sheet that names two directors when IN01 named one needs reconciling before issue.
50
+ - **SEIS/EIS posture is post-funding obligation, never closing contingency.** Never assured prior to distribution; no representation as to qualifying status. Forms no part of consideration.
51
+ - **Confidentiality + exclusivity bind; everything else is non-binding** until subscription &amp; shareholders' agreement.
52
+
53
+ ## Render
54
+
55
+ Same `render-pdf.mjs` pattern as the business plan; viewport 794×1123 (A4 portrait at 96 dpi), deviceScaleFactor 3.125 (300 dpi PNG), `img2pdf --pagesize 210mmx297mm`, `qpdf --linearize`. Output: `html/prospectus/term_sheet.pdf`.
56
+
57
+ ## Common defects to avoid
58
+
59
+ | Defect | Fix |
60
+ |---|---|
61
+ | Issuer name mismatch (marketing vs filed) | Use the IN01 legal name verbatim on every page header |
62
+ | Founder list includes individuals also represented by an LLP holding | Use the LLP holding only; do not double-count |
63
+ | Issue price stated without showing the calculation | `£2.80 = £1.4m ÷ 500,000 pre-shares` in the issue-price row |
64
+ | Cap-table % rounding doesn't sum to 100% | Compute % as `shares / total` and verify the sum; never hand-enter % rows |
65
+ | SEIS/EIS implied as confirmed | "Pursuing SEIS/EIS Advance Assurance from HMRC is a post-funding obligation … not a closing contingency … no representation as to qualifying status" |
66
+ | Director-designate doesn't match IN01 | Read the IN01 PDF; the proposed director on IN01 is the director-designate |