feat: Add DevSecOps tools, Woodpecker proxy, Vault persistent storage, pitch-deck annex slides
All checks were successful
CI / test-bqas (push) Successful in 32s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-consent (push) Successful in 46s
CI / test-python-voice (push) Successful in 38s

- Install Gitleaks, Trivy, Grype, Syft, Semgrep, Bandit in backend-core Dockerfile
- Add Woodpecker SQLite proxy API (fallback without API token)
- Mount woodpecker_data volume read-only to backend-core
- Add backend proxy fallback in admin-core Woodpecker route
- Add Vault file-based persistent storage (config.hcl, init-vault.sh)
- Auto-init, unseal and root-token persistence for Vault
- Add 6 pitch-deck annex slides (Assumptions, Architecture, GTM, Regulatory, Engineering, AI Pipeline)
- Dynamic margin/amortization KPIs in BusinessModelSlide
- Market sources modal with citations in MarketSlide
- Redesign nginx landing page to 3-column layout (Lehrer/Compliance/Core)
- Extend MkDocs nav with Services and SDK documentation sections
- Add SDK Protection architecture doc

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Benjamin Boenisch
2026-02-17 15:42:43 +01:00
parent eb43b40dd0
commit b7d21daa24
31 changed files with 3323 additions and 299 deletions

View File

@@ -13,8 +13,48 @@ interface BusinessModelSlideProps {
products: PitchProduct[]
}
const AMORT_MONTHS = 24
function computeKPIs(products: PitchProduct[]) {
if (!products.length) return { weightedMarginDuring: 0, weightedMarginAfter: 0, amortMonths: AMORT_MONTHS }
// Compute weighted margin based on product mix (equal weight per product as proxy)
const n = products.length
let sumMarginDuring = 0
let sumMarginAfter = 0
let maxAmortMonths = 0
for (const p of products) {
const price = p.monthly_price_eur
if (price <= 0) continue
const amort = p.hardware_cost_eur > 0 ? p.hardware_cost_eur / AMORT_MONTHS : 0
const opex = p.operating_cost_eur > 0 ? p.operating_cost_eur : 0
// Margin during amortization
const marginDuring = (price - amort - opex) / price
sumMarginDuring += marginDuring
// Margin after amortization (no more HW cost)
const marginAfter = (price - opex) / price
sumMarginAfter += marginAfter
// Payback period in months
if (p.hardware_cost_eur > 0 && price - opex > 0) {
const payback = Math.ceil(p.hardware_cost_eur / (price - opex))
if (payback > maxAmortMonths) maxAmortMonths = payback
}
}
return {
weightedMarginDuring: Math.round((sumMarginDuring / n) * 100),
weightedMarginAfter: Math.round((sumMarginAfter / n) * 100),
amortMonths: maxAmortMonths || AMORT_MONTHS,
}
}
export default function BusinessModelSlide({ lang, products }: BusinessModelSlideProps) {
const i = t(lang)
const { weightedMarginDuring, weightedMarginAfter, amortMonths } = computeKPIs(products)
return (
<div>
@@ -25,7 +65,7 @@ export default function BusinessModelSlide({ lang, products }: BusinessModelSlid
<p className="text-lg text-white/50 max-w-2xl mx-auto">{i.businessModel.subtitle}</p>
</FadeInView>
{/* Key Metrics */}
{/* Key Metrics — dynamisch berechnet */}
<div className="grid md:grid-cols-3 gap-4 mb-8">
<GlassCard delay={0.2} className="text-center">
<Repeat className="w-6 h-6 text-indigo-400 mx-auto mb-2" />
@@ -36,14 +76,18 @@ export default function BusinessModelSlide({ lang, products }: BusinessModelSlid
<GlassCard delay={0.3} className="text-center">
<DollarSign className="w-6 h-6 text-green-400 mx-auto mb-2" />
<p className="text-sm text-white/50 mb-1">{i.businessModel.margin}</p>
<p className="text-2xl font-bold text-white">&gt;70%</p>
<p className="text-xs text-white/30">{lang === 'de' ? 'nach Amortisation' : 'post amortization'}</p>
<p className="text-2xl font-bold text-white">&gt;{weightedMarginAfter}%</p>
<p className="text-xs text-white/30">
{lang === 'de' ? 'nach Amortisation' : 'post amortization'}
{' · '}
{weightedMarginDuring}% {lang === 'de' ? 'waehrend' : 'during'}
</p>
</GlassCard>
<GlassCard delay={0.4} className="text-center">
<TrendingUp className="w-6 h-6 text-purple-400 mx-auto mb-2" />
<p className="text-sm text-white/50 mb-1">{i.businessModel.amortization}</p>
<p className="text-2xl font-bold text-white">24 {i.businessModel.months}</p>
<p className="text-xs text-white/30">{lang === 'de' ? 'Hardware-Amortisation' : 'Hardware Amortization'}</p>
<p className="text-2xl font-bold text-white">{amortMonths} {i.businessModel.months}</p>
<p className="text-xs text-white/30">{lang === 'de' ? 'max. Hardware-Amortisation' : 'max. Hardware Amortization'}</p>
</GlassCard>
</div>
@@ -52,7 +96,7 @@ export default function BusinessModelSlide({ lang, products }: BusinessModelSlid
<h3 className="text-lg font-semibold mb-4 text-white/70">{i.businessModel.unitEconomics}</h3>
<div className="grid md:grid-cols-3 gap-4">
{products.map((p, idx) => {
const amort = p.hardware_cost_eur > 0 ? Math.round(p.hardware_cost_eur / 24) : 0
const amort = p.hardware_cost_eur > 0 ? Math.round(p.hardware_cost_eur / AMORT_MONTHS) : 0
const monthlyMargin = p.monthly_price_eur - amort - (p.operating_cost_eur > 0 ? p.operating_cost_eur : 0)
const marginPct = Math.round((monthlyMargin / p.monthly_price_eur) * 100)
@@ -79,7 +123,7 @@ export default function BusinessModelSlide({ lang, products }: BusinessModelSlid
{p.operating_cost_eur > 0 && (
<div className="flex justify-between">
<span className="text-white/50">{i.businessModel.operatingCost}</span>
<span className="text-white/70">-{p.operating_cost_eur.toLocaleString('de-DE')} EUR/Mo</span>
<span className="text-white/70">-{p.operating_cost_eur} EUR/Mo</span>
</div>
)}
<div className="border-t border-white/10 pt-2 flex justify-between">