mopac-pdf v0: markdown to beautiful PDFs via digest-pinned typst

Go CLI that turns the markdown currency of this stack (Redmine notes,
Discourse posts, briefing output) into typeset PDFs: two embedded typst
templates (report with title page/TOC/headers, dense brief), front-matter
(title/subtitle/author/date/classification/template), GFM tables, and
bar charts rendered in pure Go (go-chart) from fenced chart data blocks.
Engine is a prebuilt typst 0.15.1 container pinned by digest and run
--network none; PDF bytes to stdout or -o. Exit codes 0/1/2.

All dev in docker (dev.sh/Makefile); unit tests + golden typst fixtures
plus a host-side smoke against the real engine container.

Generated with Crush

Assisted-by: Crush:glm-5.2
This commit is contained in:
2026-08-29 05:44:24 -05:00
parent 97c8e340ab
commit 10e930e46d
147 changed files with 30793 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
---
title: Client Proposal: Managed Platform
subtitle: TSYS Group engagement summary
author: reachableceo
date: 2026-08-29
classification: CLIENT CONFIDENTIAL
template: brief
---
# Scope
Twelve-month managed platform engagement covering build, run and improve
for the payments estate. Fixed monthly fee, outcome-linked bonus tier.
# Commercials
| Item | v0 | Notes |
|:-----|---:|:------|
| Monthly fee | $18.5K | blended rate |
| Onboarding | $6K one-time | weeks 1-4 |
| Bonus tier | +10% | SLA green 3 consecutive months |
```chart
type: bar
title: Fee by phase ($K)
unit: K
Onboarding: 6
Run (12mo avg): 18.5
```
# Why us
- Deep fleet experience: 100+ FLOSS packages in production across Cloudron
and Kubernetes
- Go/PHP/C/Java shop: no node_modules archaeology, no runtime churn
- Every deliverable is markdown + git: auditable, transferable, yours
Delivery starts two weeks after countersignature.
+50
View File
@@ -0,0 +1,50 @@
#import "/template.typ": brief
#show: brief.with(
title: "Client Proposal: Managed Platform",
subtitle: "TSYS Group engagement summary",
author: "reachableceo",
date: "2026-08-29",
classification: "CLIENT CONFIDENTIAL",
)
= Scope
Twelve-month managed platform engagement covering build, run and improve for the payments estate. Fixed monthly fee, outcome-linked bonus tier.
= Commercials
#table(
columns: (1fr, 1fr, 1fr),
inset: 6.5pt,
stroke: 0.5pt + rgb("#c9d3dd"),
align: (left, right, left),
table.header(
table.cell(fill: rgb("#24425c"))[#text(fill: white, weight: "bold", size: 9pt)[Item]],
table.cell(fill: rgb("#24425c"))[#text(fill: white, weight: "bold", size: 9pt)[v0]],
table.cell(fill: rgb("#24425c"))[#text(fill: white, weight: "bold", size: 9pt)[Notes]],
),
[Monthly fee],
[\$18.5K],
[blended rate],
[Onboarding],
[\$6K one-time],
[weeks 1-4],
[Bonus tier],
[+10%],
[SLA green 3 consecutive months],
)
#figure(image("chart-1.png", width: 78%), caption: [Fee by phase (\$K)])
= Why us
- Deep fleet experience: 100+ FLOSS packages in production across Cloudron
and Kubernetes
- Go/PHP/C/Java shop: no node\_modules archaeology, no runtime churn
- Every deliverable is markdown + git: auditable, transferable, yours
Delivery starts two weeks after countersignature.
+53
View File
@@ -0,0 +1,53 @@
---
title: Q3 Operations Briefing
subtitle: Infrastructure & Platform Status
author: reachableceo
date: 2026-08-29
classification: TSYS INTERNAL
template: report
---
# Executive Summary
Platform operations ran **cleanly** through Q3 with *zero* customer-facing
incidents. The migration called out in `docs/MIGRATION-projects.md` completed
two weeks ahead of schedule. Cost per compute hour fell 31% against plan.
Key outcomes for the quarter:
- All five product lines shipped their roadmap commitments
- Mean time to recovery dropped from 42 minutes to 9 minutes
- The briefing pipeline now delivers the 0630 CST morning brief on time
# Financial Overview
Revenue tracked ahead of plan every month of the quarter; margin expanded on
mix shift toward managed services.
| Quarter | Revenue | Cost | Margin |
|:--------|--------:|-----:|-------:|
| Q1 | $120K | $80K | 33% |
| Q2 | $180K | $90K | 50% |
| Q3 | $241K | $101K | 58% |
| Q4 (fcst) | $260K | $110K | 58% |
## Revenue trajectory
```chart
type: bar
title: Revenue by quarter ($K)
Q1: 120
Q2: 180
Q3: 241
Q4: 260
```
# Risks & Follow-ups
1. Cloud contract renewal lands 10/15; finance needs the usage forecast by
9/20
2. The offstage VM pair still runs single-node Redis for quota state
> Recommendation: approve the HA Redis line item before the renewal window.
Nothing in this brief is export-controlled; distribution is TSYS staff only.
+69
View File
@@ -0,0 +1,69 @@
#import "/template.typ": report
#show: report.with(
title: "Q3 Operations Briefing",
subtitle: "Infrastructure & Platform Status",
author: "reachableceo",
date: "2026-08-29",
classification: "TSYS INTERNAL",
)
= Executive Summary
Platform operations ran *cleanly* through Q3 with _zero_ customer-facing incidents. The migration called out in `docs/MIGRATION-projects.md` completed two weeks ahead of schedule. Cost per compute hour fell 31% against plan.
Key outcomes for the quarter:
- All five product lines shipped their roadmap commitments
- Mean time to recovery dropped from 42 minutes to 9 minutes
- The briefing pipeline now delivers the 0630 CST morning brief on time
= Financial Overview
Revenue tracked ahead of plan every month of the quarter; margin expanded on mix shift toward managed services.
#table(
columns: (1fr, 1fr, 1fr, 1fr),
inset: 6.5pt,
stroke: 0.5pt + rgb("#c9d3dd"),
align: (left, right, right, right),
table.header(
table.cell(fill: rgb("#24425c"))[#text(fill: white, weight: "bold", size: 9pt)[Quarter]],
table.cell(fill: rgb("#24425c"))[#text(fill: white, weight: "bold", size: 9pt)[Revenue]],
table.cell(fill: rgb("#24425c"))[#text(fill: white, weight: "bold", size: 9pt)[Cost]],
table.cell(fill: rgb("#24425c"))[#text(fill: white, weight: "bold", size: 9pt)[Margin]],
),
[Q1],
[\$120K],
[\$80K],
[33%],
[Q2],
[\$180K],
[\$90K],
[50%],
[Q3],
[\$241K],
[\$101K],
[58%],
[Q4 (fcst)],
[\$260K],
[\$110K],
[58%],
)
== Revenue trajectory
#figure(image("chart-1.png", width: 78%), caption: [Revenue by quarter (\$K)])
= Risks & Follow-ups
+ Cloud contract renewal lands 10/15; finance needs the usage forecast by
9/20
+ The offstage VM pair still runs single-node Redis for quota state
#quote(block: true)[Recommendation: approve the HA Redis line item before the renewal window.]
Nothing in this brief is export-controlled; distribution is TSYS staff only.