diff --git a/.gitignore b/.gitignore index e2e67fa..4eade2a 100644 --- a/.gitignore +++ b/.gitignore @@ -70,3 +70,4 @@ tmp # Rust build output dr/target/ +.playwright-cli/ \ No newline at end of file diff --git a/app/presentations/automate-x7k2/[slide]/page.tsx b/app/presentations/automate-x7k2/[slide]/page.tsx new file mode 100644 index 0000000..fe5a541 --- /dev/null +++ b/app/presentations/automate-x7k2/[slide]/page.tsx @@ -0,0 +1,94 @@ +import type { Metadata } from 'next'; +import { notFound } from 'next/navigation'; +import { getAllSlideSlugs, getSlideBySlug } from '@/lib/presentations/automate'; + +export const dynamic = 'error'; +export const revalidate = false; + +export async function generateStaticParams() { + return getAllSlideSlugs().map((slide) => ({ slide })); +} + +export async function generateMetadata({ + params, +}: { + params: Promise<{ slide: string }>; +}): Promise { + const { slide } = await params; + const slideData = getSlideBySlug(slide); + if (!slideData) return { title: 'Slide Not Found' }; + + return { + title: slideData.title, + robots: { index: false, follow: false }, + }; +} + +export default async function SlidePage({ params }: { params: Promise<{ slide: string }> }) { + const { slide } = await params; + if (!getSlideBySlug(slide)) notFound(); + + switch (slide) { + case '01-title': { + const { TitleSlide } = await import('@/components/presentations/automate/slides/01-title'); + return ; + } + case '02-what-we-do': { + const { WhatWeDoSlide } = + await import('@/components/presentations/automate/slides/02-what-we-do'); + return ; + } + case '03-what-oaiz-is': { + const { WhatOaizIsSlide } = + await import('@/components/presentations/automate/slides/03-what-oaiz-is'); + return ; + } + case '04-chat-to-workflow': { + const { ChatToWorkflowSlide } = + await import('@/components/presentations/automate/slides/04-chat-to-workflow'); + return ; + } + case '05-agent-fit': { + const { AgentFitSlide } = + await import('@/components/presentations/automate/slides/05-agent-fit'); + return ; + } + case '06-event-queue': { + const { EventQueueSlide } = + await import('@/components/presentations/automate/slides/06-event-queue'); + return ; + } + case '07-two-builds': { + const { TwoBuildsSlide } = + await import('@/components/presentations/automate/slides/07-two-builds'); + return ; + } + case '08-live-archive': { + const { LiveArchiveSlide } = + await import('@/components/presentations/automate/slides/08-live-archive'); + return ; + } + case '09-live-colleague': { + const { LiveColleagueSlide } = + await import('@/components/presentations/automate/slides/09-live-colleague'); + return ; + } + case '10-same-blocks': { + const { SameBlocksSlide } = + await import('@/components/presentations/automate/slides/10-same-blocks'); + return ; + } + case '11-where-we-are': { + const { WhereWeAreSlide } = + await import('@/components/presentations/automate/slides/11-where-we-are'); + return ; + } + case '12-questions': { + const { QuestionsSlide } = + await import('@/components/presentations/automate/slides/12-questions'); + return ; + } + default: + notFound(); + } +} diff --git a/app/presentations/automate-x7k2/layout.tsx b/app/presentations/automate-x7k2/layout.tsx new file mode 100644 index 0000000..a900522 --- /dev/null +++ b/app/presentations/automate-x7k2/layout.tsx @@ -0,0 +1,32 @@ +import type { Metadata } from 'next'; +import { Inter, Libre_Baskerville } from 'next/font/google'; +import { PresentationLayout } from '@/components/presentations/shared/presentation-layout'; +import { automateBasePath, getAllSlides } from '@/lib/presentations/automate'; +import './oaiz-deck.css'; + +const libreBaskerville = Libre_Baskerville({ + subsets: ['latin'], + weight: ['400', '700'], + variable: '--font-oz-serif', +}); + +const inter = Inter({ + subsets: ['latin'], + weight: ['400', '500', '600'], + variable: '--font-oz-sans', +}); + +export const metadata: Metadata = { + title: 'Automate something important', + robots: { index: false, follow: false }, +}; + +export default function AutomateLayout({ children }: { children: React.ReactNode }) { + return ( +
+ + {children} + +
+ ); +} diff --git a/app/presentations/automate-x7k2/oaiz-deck.css b/app/presentations/automate-x7k2/oaiz-deck.css new file mode 100644 index 0000000..62480a3 --- /dev/null +++ b/app/presentations/automate-x7k2/oaiz-deck.css @@ -0,0 +1,338 @@ +/* + * OAIZ visual language (oaiz.io, October 2026) for the unlisted automate deck. + * The shared presentation surface squares corners, removes shadows and uppercases + * headings; this deck scopes its own classes (prefixed oz-) and overrides the + * surface only inside .oz-deck. + */ + +.oz-deck { + --background: #ffffff; + --foreground: #222222; + --primary: #121212; + --muted-foreground: #737373; + --hair: #e5e5e5; + --border: #e5e5e5; +} + +.oz-deck .presentation-slide-surface { + background: #ffffff; + color: #222222; + font-family: var(--font-oz-sans), system-ui, sans-serif; +} + +.oz-deck .presentation-slide-surface h1, +.oz-deck .presentation-slide-surface h2 { + font-family: var(--font-oz-serif), Georgia, serif !important; + font-weight: 400; + letter-spacing: -0.04em; + text-transform: none; + color: #222222; +} + +.oz-viewport { + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; + overflow: hidden; +} + +.oz-canvas { + position: relative; + flex-shrink: 0; + width: 1600px; + height: 900px; + overflow: hidden; + transform-origin: center; +} + +.oz-serif { + font-family: var(--font-oz-serif), Georgia, serif; + font-weight: 400; + letter-spacing: -0.04em; + color: #222222; +} + +.oz-card { + background: #ffffff; + border: 1px solid #e5e5e5; + border-radius: 20px; +} + +.oz-flow-card { + background: #fcfdff; + border: 4px solid #c8e7ff; + border-radius: 16px; +} + +.oz-node { + background: #fcfcfc; + border: 4px solid #bdbdbd; + border-radius: 18px; +} + +.oz-sand { + background: #f0f0e8; + border-radius: 24px; +} + +.oz-lift { + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); +} + +.oz-blue { + background: #329cf5; + border-radius: 20px; +} + +.oz-ink-panel { + background: #232323; + border-radius: 20px; +} + +.oz-tag { + background: #121212; + color: #ffffff; + border-radius: 8px; +} + +.oz-pill { + border-radius: 999px; +} + +.oz-round { + border-radius: 12px; +} + +.oz-dot { + border-radius: 999px; + background: #7bc900; +} + +.oz-sunset { + background-color: #fdf8f0; + background-image: radial-gradient( + ellipse 48% 62% at 50% var(--oz-sun-y, 62%), + rgba(255, 196, 119, 0.85) 0%, + rgba(255, 196, 119, 0.55) 35%, + rgba(255, 196, 119, 0.2) 65%, + rgba(255, 196, 119, 0) 100% + ); +} + +/* Opening slides, matching the OAIZ sales deck. */ +.oz-dawn { + background: linear-gradient( + 180deg, + #fdf8f0 0%, + #f9eee6 14%, + #f6ddd3 30%, + #f8c7bb 56%, + #fdb3a4 80%, + #fee7ae 100% + ); +} + +.oz-cream { + background: #fdf7f0; +} + +/* Event queue slide: events arrive one by one. */ +@keyframes oz-slide-in { + from { + opacity: 0; + transform: translateX(-56px); + } + to { + opacity: 1; + transform: none; + } +} + +@keyframes oz-slide-in-right { + from { + opacity: 0; + transform: translateX(56px); + } + to { + opacity: 1; + transform: none; + } +} + +@keyframes oz-tile-pulse { + 0%, + 100% { + border-color: #e5e5e5; + box-shadow: 0 0 0 0 rgba(50, 156, 245, 0); + } + 35% { + border-color: #329cf5; + box-shadow: 0 0 0 6px rgba(50, 156, 245, 0.25); + } +} + +@keyframes oz-arrow-in { + 0% { + stroke-dashoffset: 1; + stroke: #329cf5; + } + 55% { + stroke-dashoffset: 0; + stroke: #329cf5; + } + 100% { + stroke-dashoffset: 0; + stroke: #bcbcbc; + } +} + +/* OAIZ app recreation (oaiz-frontend builder, chat and test run). */ +.oz-app { + font-family: var(--font-oz-sans), ui-sans-serif, system-ui, sans-serif; + color: #09090b; + background: #ffffff; +} + +.oz-app-dots { + background-color: #ffffff; + background-image: radial-gradient(#d4d4d8 1px, transparent 1px); + background-size: 12px 12px; +} + +.oz-app-composer { + background: #f2eee4; + border-radius: 12px; +} + +.oz-app-card { + background: #ffffff; + border: 1px solid #e4e4e7; + border-radius: 12px; + box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); +} + +.oz-app-raised { + box-shadow: + 0 4px 6px -1px rgb(0 0 0 / 0.1), + 0 2px 4px -2px rgb(0 0 0 / 0.1); +} + +@keyframes oz-app-node-enter { + 0% { + opacity: 0; + transform: translate3d(0, -32px, 0) scale(0.96); + animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); + } + 42% { + opacity: 1; + transform: translate3d(0, 12px, 0) scale(1.005); + animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + } + 100% { + opacity: 1; + transform: none; + } +} + +.oz-app-enter { + animation: oz-app-node-enter 650ms linear both; +} + +@keyframes oz-app-shimmer { + from { + background-position: 140% 0; + } + to { + background-position: -40% 0; + } +} + +.oz-app-shimmer { + color: color-mix(in srgb, currentColor 60%, transparent); + background: linear-gradient(110deg, transparent 35%, currentColor 50%, transparent 65%); + background-size: 250% 100%; + -webkit-background-clip: text; + background-clip: text; + animation: oz-app-shimmer 2s linear infinite; +} + +@keyframes oz-app-spin { + to { + transform: rotate(360deg); + } +} + +.oz-app-spin { + animation: oz-app-spin 1s linear infinite; +} + +@keyframes oz-app-run-glow { + 0%, + 100% { + box-shadow: 0 0 0 0 rgba(0, 122, 230, 0.35); + } + 50% { + box-shadow: 0 0 0 6px rgba(0, 122, 230, 0.12); + } +} + +.oz-app-running { + border: 2px solid #007ae6; + animation: oz-app-run-glow 1.4s ease-in-out infinite; +} + +@keyframes oz-app-caret { + 50% { + opacity: 0; + } +} + +.oz-app-caret { + animation: oz-app-caret 1s step-end infinite; +} + +/* Where we are slide: the website's sun rises out of the bottom edge. */ +.oz-sun-glow { + left: 50%; + bottom: -580px; + width: 1760px; + height: 1200px; + margin-left: -880px; + background: radial-gradient( + circle closest-side, + rgba(255, 196, 119, 0.85) 0%, + rgba(255, 196, 119, 0.45) 30%, + rgba(255, 196, 119, 0.15) 55%, + rgba(255, 196, 119, 0) 75% + ); + animation: oz-sun-up 3200ms cubic-bezier(0.16, 1, 0.3, 1) backwards; +} + +.oz-sun-rise { + left: 50%; + bottom: -500px; + width: 680px; + height: 680px; + margin-left: -340px; + border-radius: 999px; + background: radial-gradient( + circle closest-side, + #fdd752 0%, + #fdd752 94%, + rgba(253, 215, 82, 0) 100% + ); + animation: oz-sun-up 3200ms cubic-bezier(0.16, 1, 0.3, 1) backwards; +} + +@keyframes oz-sun-up { + from { + opacity: 0.4; + transform: translateY(220px); + } + to { + opacity: 1; + transform: none; + } +} diff --git a/app/presentations/automate-x7k2/page.tsx b/app/presentations/automate-x7k2/page.tsx new file mode 100644 index 0000000..8c3d116 --- /dev/null +++ b/app/presentations/automate-x7k2/page.tsx @@ -0,0 +1,9 @@ +import { redirect } from 'next/navigation'; +import { automateBasePath } from '@/lib/presentations/automate'; + +export const dynamic = 'error'; +export const revalidate = false; + +export default function AutomateIndex() { + redirect(`${automateBasePath}/01-title`); +} diff --git a/app/presentations/page.tsx b/app/presentations/page.tsx index 36c6c9d..2937647 100644 --- a/app/presentations/page.tsx +++ b/app/presentations/page.tsx @@ -21,6 +21,16 @@ interface PresentationEntry { } const presentations: PresentationEntry[] = [ + { + title: 'The software factory 0.1', + description: + 'The craft is not dead. Architecture, executable checks, AI-native workflows and product focus give engineering judgment more leverage.', + href: '/presentations/software-factory', + venue: 'Working draft', + date: '2026', + kind: 'Talk', + actions: [{ label: 'Slides →', href: '/presentations/software-factory' }], + }, { title: 'Write Code That AI Agents Love', description: diff --git a/app/presentations/software-factory/[slide]/page.tsx b/app/presentations/software-factory/[slide]/page.tsx new file mode 100644 index 0000000..7c61ff4 --- /dev/null +++ b/app/presentations/software-factory/[slide]/page.tsx @@ -0,0 +1,161 @@ +import type { Metadata } from 'next'; +import { notFound } from 'next/navigation'; +import { getAllSlideSlugs, getSlideBySlug } from '@/lib/presentations/software-factory'; + +export const dynamic = 'error'; +export const revalidate = false; + +export async function generateStaticParams() { + return getAllSlideSlugs().map((slide) => ({ slide })); +} + +export async function generateMetadata({ + params, +}: { + params: Promise<{ slide: string }>; +}): Promise { + const { slide } = await params; + const slideData = getSlideBySlug(slide); + if (!slideData) return { title: 'Slide Not Found' }; + + return { + title: `${slideData.title} - The software factory 0.1`, + description: + 'How engineering craft gains leverage with AI agents: architecture, checks, workflow and product focus.', + }; +} + +export default async function SlidePage({ params }: { params: Promise<{ slide: string }> }) { + const { slide } = await params; + const slideData = getSlideBySlug(slide); + if (!slideData) notFound(); + + const slideContent = await (async () => { + switch (slide) { + case '00-title': { + const { TitleSlide } = + await import('@/components/presentations/software-factory/slides/00-title'); + return ; + } + case '00-who-i-am': { + const { WhoIAmSlide } = + await import('@/components/presentations/software-factory/slides/00-who-i-am'); + return ; + } + case '01-old-way': { + const { OldWaySlide } = + await import('@/components/presentations/software-factory/slides/01-old-way'); + return ; + } + case '01-build-the-machine': { + const { BuildTheMachineSlide } = + await import('@/components/presentations/software-factory/slides/01-build-the-machine'); + return ; + } + case '02-craft': { + const { CraftSlide } = + await import('@/components/presentations/software-factory/slides/02-craft'); + return ; + } + case '03-leverage': { + const { LeverageSlide } = + await import('@/components/presentations/software-factory/slides/03-leverage'); + return ; + } + case '03b-question-code': { + const { CodeQuestionSlide } = + await import('@/components/presentations/software-factory/slides/part-questions'); + return ; + } + case '06b-generated-sdks': { + const { GeneratedSdksSlide } = + await import('@/components/presentations/software-factory/slides/06b-generated-sdks'); + return ; + } + case '06c-question-workflow': { + const { WorkflowQuestionSlide } = + await import('@/components/presentations/software-factory/slides/part-questions'); + return ; + } + case '09b-question-product': { + const { ProductQuestionSlide } = + await import('@/components/presentations/software-factory/slides/part-questions'); + return ; + } + case '04-architecture': { + const { ArchitectureSlide } = + await import('@/components/presentations/software-factory/slides/04-architecture'); + return ; + } + case '04-code-quality': { + const { CodeQualitySlide } = + await import('@/components/presentations/software-factory/slides/04-code-quality'); + return ; + } + case '05-lint': { + const { LintSlide } = + await import('@/components/presentations/software-factory/slides/05-lint'); + return ; + } + case '05b-lint-structure': { + const { LintStructureSlide } = + await import('@/components/presentations/software-factory/slides/05b-lint-structure'); + return ; + } + case '06-test-hard': { + const { TestHardSlide } = + await import('@/components/presentations/software-factory/slides/06-test-hard'); + return ; + } + case '07a-feedback-loops': { + const { FeedbackLoopsSlide } = + await import('@/components/presentations/software-factory/slides/07a-feedback-loops'); + return ; + } + case '07-specdd': { + const { SpecDdSlide } = + await import('@/components/presentations/software-factory/slides/07-specdd'); + return ; + } + case '07b-specdd-loop': { + const { SpecddLoopSlide } = + await import('@/components/presentations/software-factory/slides/07b-specdd-loop'); + return ; + } + case '08-server': { + const { ServerSlide } = + await import('@/components/presentations/software-factory/slides/08-server'); + return ; + } + case '09-visibility': { + const { VisibilitySlide } = + await import('@/components/presentations/software-factory/slides/09-visibility'); + return ; + } + case '10-short-cycles': { + const { ShortCyclesSlide } = + await import('@/components/presentations/software-factory/slides/10-short-cycles'); + return ; + } + case '10b-build-to-learn': { + const { BuildToLearnSlide } = + await import('@/components/presentations/software-factory/slides/10b-build-to-learn'); + return ; + } + case '11-focus': { + const { FocusSlide } = + await import('@/components/presentations/software-factory/slides/11-focus'); + return ; + } + case '12-close': { + const { CloseSlide } = + await import('@/components/presentations/software-factory/slides/12-close'); + return ; + } + default: + notFound(); + } + })(); + + return slideContent; +} diff --git a/app/presentations/software-factory/layout.tsx b/app/presentations/software-factory/layout.tsx new file mode 100644 index 0000000..824508e --- /dev/null +++ b/app/presentations/software-factory/layout.tsx @@ -0,0 +1,12 @@ +'use client'; + +import { PresentationLayout } from '@/components/presentations/shared/presentation-layout'; +import { getAllSlides } from '@/lib/presentations/software-factory'; + +export default function SoftwareFactoryLayout({ children }: { children: React.ReactNode }) { + return ( + + {children} + + ); +} diff --git a/app/presentations/software-factory/page.tsx b/app/presentations/software-factory/page.tsx new file mode 100644 index 0000000..21893c0 --- /dev/null +++ b/app/presentations/software-factory/page.tsx @@ -0,0 +1,8 @@ +import { redirect } from 'next/navigation'; + +export const dynamic = 'error'; +export const revalidate = false; + +export default function PresentationIndex() { + redirect('/presentations/software-factory/00-title'); +} diff --git a/brain/insights/write-code-ai-agents-love/workflow-and-prs/spec-driven-development-process-2026-10.md b/brain/insights/write-code-ai-agents-love/workflow-and-prs/spec-driven-development-process-2026-10.md new file mode 100644 index 0000000..96bf347 --- /dev/null +++ b/brain/insights/write-code-ai-agents-love/workflow-and-prs/spec-driven-development-process-2026-10.md @@ -0,0 +1,75 @@ +--- +type: insight +title: "My Spec-Driven Development Process (October 2026)" +slug: spec-driven-development-process-2026-10 +created: 2026-10-06 +status: working +publish: true +tags: + - ai-agents + - workflow + - spec-driven-development +feeds_into: + - "[[write-code-ai-agents-love]]" +--- +# My Spec-Driven Development Process (October 2026) + +This is the process I use to take one issue to a merge-ready pull request with coding agents. +The skills, subagents, validators and templates are open source in +[spec-driven-development/](https://github.com/emilwareus/addcommitpush.io/tree/main/spec-driven-development), +with the product-specific parts replaced by template tags so anyone can copy it. + +## Why spec-driven development + +Feature work does not fail at typing. It fails at planning and constraints +([[feature-work-fails-at-planning-and-constraints]]). An agent can write a clean patch that +solves the wrong problem, and you only find out in review, inside a large diff. + +Spec-driven development moves that discovery earlier. Research and planning are cheap +documents. Code is the expensive part, and it should be the boring part. + +The second reason is context. Every stage runs in a fresh agent. Instead of one long session +that slowly forgets what it decided, each stage reads a short document written by the stage +before it: research for the plan, the plan for the implementation, the diff for the review. + +## The loop + +```text +issue + -> research (stops if a question needs a human answer) + -> plan (stops if a question needs a human answer) + -> for each phase: implement <-> validate, then commit to a draft PR + -> ultrareview <-> review fixer, until a full pass has zero findings + -> validate + -> security review <-> fix (re-run ultrareview if code changed) + -> PR description, ready for review, CI and PR comments + -> merge-ready (merging is a human or auto-merge decision, never the agent's) +``` + +## What makes it work + +- **One fresh agent per stage.** The orchestrator owns the plan, the order, Git and the PR. + Workers own one bounded stage and hand back an artifact. +- **Questions are a hard stop.** When evidence cannot settle a decision that changes product + behavior, data, security or the PR boundary, the question goes into the owning document + with options and a recommended default, and the run ends. The agent never picks the default + for you. +- **Validation is independent and has fix authority.** A different worker validates each + phase and may fix what the branch broke, and nothing the branch did not break. +- **Ultrareview loops until clean.** A multi-angle review of the whole diff against the base, + a fixer agent, and another full pass, until one complete pass reports zero actionable + findings. +- **Evidence is invalidated, not reused.** Any code change invalidates validation, review and + security results for the affected surfaces. A green run from before the change does not + count. +- **Structure is checked by scripts.** Research and plan documents pass a structure validator + before the next stage starts, so a stage cannot skip its own contract. + +## How to try it + +Point your coding agent at the folder and ask it to recreate the process in your repository. +The README has a guide written for the agent: where skills and subagents go for each tool, +how to resolve the template tags, and how to run one small issue end to end. + +Credit: the research, plan and implement commands descend from HumanLayer's open-source +commands (Dex Horthy and the AI That Works crew). diff --git a/components/presentations/automate/shared.tsx b/components/presentations/automate/shared.tsx new file mode 100644 index 0000000..0cd1e61 --- /dev/null +++ b/components/presentations/automate/shared.tsx @@ -0,0 +1,130 @@ +import Image from 'next/image'; +import type { ReactNode } from 'react'; +import { automateBasePath } from '@/lib/presentations/automate'; +import { OzStage } from './stage'; + +const assets = automateBasePath; + +export function SlideFrame({ + children, + center = false, +}: { + children: ReactNode; + center?: boolean; +}) { + return ( + +
+ {children} +
+
+ ); +} + +export function SunsetFrame({ sunY, children }: { sunY: string; children: ReactNode }) { + return ( + } + > +
+ {children} +
+
+ ); +} + +// Headline only. Slides carry no subheaders; the speaker says the rest. +export function SlideHeading({ + title, + size = 56, + centered = false, +}: { + title: string; + size?: number; + centered?: boolean; +}) { + return ( +

+ {title} +

+ ); +} + +export function InkTag({ children }: { children: ReactNode }) { + return ( +
{children}
+ ); +} + +export function GreyPill({ + children, + tone = 'grey', +}: { + children: ReactNode; + tone?: 'grey' | 'white'; +}) { + return ( + + {children} + + ); +} + +export function CheckDot({ size = 22 }: { size?: number }) { + return ; +} + +export function Wordmark() { + return ( + oaiz + ); +} + +export function ToolLogo({ name, alt }: { name: string; alt: string }) { + return {alt}; +} + +function Palms() { + return ( + <> + + + + ); +} diff --git a/components/presentations/automate/slides/01-title.tsx b/components/presentations/automate/slides/01-title.tsx new file mode 100644 index 0000000..214c6bd --- /dev/null +++ b/components/presentations/automate/slides/01-title.tsx @@ -0,0 +1,61 @@ +import Image from 'next/image'; +import { automateBasePath } from '@/lib/presentations/automate'; +import { OzStage } from '../stage'; + +const art = automateBasePath; + +// Composition follows the OAIZ sales deck title slide, scaled from 1440x810 to 1600x900. +// Everything is scenery anchored to the screen's bottom centre and side edges, so the +// sea and palms reach the edges of any screen. +export function TitleSlide() { + return ( + + + + oaiz + + +

+ Automate something important +

+ + } + /> + ); +} diff --git a/components/presentations/automate/slides/02-what-we-do.tsx b/components/presentations/automate/slides/02-what-we-do.tsx new file mode 100644 index 0000000..9921556 --- /dev/null +++ b/components/presentations/automate/slides/02-what-we-do.tsx @@ -0,0 +1,35 @@ +import Image from 'next/image'; +import { automateBasePath } from '@/lib/presentations/automate'; +import { OzStage } from '../stage'; + +const art = automateBasePath; + +// Positions follow the OAIZ sales deck statement slide, scaled from 1440x810 to 1600x900. +export function WhatWeDoSlide() { + return ( + + oaiz +

+ We help organizations automate difficult tasks worth solving +

+ +
+ ); +} diff --git a/components/presentations/automate/slides/03-what-oaiz-is.tsx b/components/presentations/automate/slides/03-what-oaiz-is.tsx new file mode 100644 index 0000000..82347ab --- /dev/null +++ b/components/presentations/automate/slides/03-what-oaiz-is.tsx @@ -0,0 +1,38 @@ +import { CheckDot, SlideFrame, SlideHeading } from '../shared'; + +function FlowRow({ label, children }: { label: string; children: React.ReactNode }) { + return ( +
+ {label} + {children} +
+ ); +} + +export function WhatOaizIsSlide() { + return ( + + +
+
+

You describe the work

+

+ When a support request arrives, find the answer in our docs, draft a reply, and let me + approve it before it goes out. +

+
+
+

OAIZ builds it, runs it, records every run

+ A support request arrives + + + Search docs Draft reply{' '} + You approve + + + Reply sent, run recorded +
+
+
+ ); +} diff --git a/components/presentations/automate/slides/04-chat-to-workflow.tsx b/components/presentations/automate/slides/04-chat-to-workflow.tsx new file mode 100644 index 0000000..057cdd3 --- /dev/null +++ b/components/presentations/automate/slides/04-chat-to-workflow.tsx @@ -0,0 +1,675 @@ +'use client'; + +import Image from 'next/image'; +import { useEffect, useState, type CSSProperties } from 'react'; +import { + ArrowUp, + AudioLines, + Check, + ChevronDown, + ChevronRight, + Clock, + Loader2, + Logs, + Mic, + Paperclip, + Play, +} from 'lucide-react'; +import { useSlideStep } from '@/components/presentations/shared/presentation-layout'; +import { automateBasePath } from '@/lib/presentations/automate'; +import { OzStage } from '../stage'; + +// A recreation of the OAIZ builder (oaiz-frontend: chat composer, agent activity feed, +// xyflow canvas with job nodes, review dock and test run), at real component sizes and +// scaled 1.3x to fill the slide. Steps (count in lib/presentations/automate.ts): +// 0 empty chat, 1 the brief is typed, 2 OAIZ generates the workflow, +// 3 the changes are kept, 4 a test run. + +const scale = 1.3; +const appWidth = 1230; +const appHeight = 692; +const panelWidth = 340; + +const brief = + 'When a support request lands in Gmail, triage it with an AI agent, create a Linear issue, post it to Slack and draft a reply to the customer.'; + +const ocean = '#007ae6'; +const info = '#1c9dff'; +const edgeGrey = '#8a8a8a'; +const muted = '#67676f'; +const border = '#e4e4e7'; + +type NodeId = 'trigger' | 'agent' | 'linear' | 'gmail' | 'slack'; +type RunStatus = 'idle' | 'queued' | 'running' | 'succeeded'; + +const nodes: readonly { + id: Exclude; + x: number; + y: number; + logo: string; + text: string; + action: string; +}[] = [ + { + id: 'agent', + x: 204, + y: 300, + logo: 'openai', + text: 'Triage the support request: urgency, product area and duplicates.', + action: 'Agent', + }, + { + id: 'linear', + x: 436, + y: 150, + logo: 'linear', + text: 'Create a Linear issue with the triage summary.', + action: 'Save Issue', + }, + { + id: 'gmail', + x: 436, + y: 450, + logo: 'gmail', + text: 'Draft a reply to the customer with next steps.', + action: 'Create Draft', + }, + { + id: 'slack', + x: 668, + y: 150, + logo: 'slack', + text: 'Post the new Linear issue link to #support.', + action: 'Send Message', + }, +]; + +// Generation timeline (ms into step 2): when each node lands on the canvas. +const nodeArrivalMs: Record = { + trigger: 2300, + agent: 2800, + linear: 3300, + gmail: 3800, + slack: 4300, +}; +const generationDoneMs = 5600; + +// Test run timeline (ms into step 4). +const runStartMs = 900; +const runWindows: Record = { + trigger: [900, 1400], + agent: [1400, 3000], + linear: [3000, 4400], + gmail: [3000, 4600], + slack: [4400, 5800], +}; +const runDoneMs = 6200; + +const feed: readonly { label: string; doneLabel: string; start: number; end: number }[] = [ + { label: 'Planning workflow', doneLabel: 'Planning workflow', start: 500, end: 1700 }, + { label: 'Generating workflow', doneLabel: 'Generated workflow', start: 1700, end: 5200 }, + ...(['trigger', 'agent', 'linear', 'gmail', 'slack'] as const).map((id) => ({ + label: 'Adding Node', + doneLabel: 'Adding Node', + start: nodeArrivalMs[id] - 300, + end: nodeArrivalMs[id] + 150, + })), +]; + +// Milliseconds since the current step began; resets on every step change. +function useStepClock(step: number) { + const [clock, setClock] = useState({ step: -1, t: 0 }); + useEffect(() => { + const start = performance.now(); + const id = setInterval(() => setClock({ step, t: performance.now() - start }), 50); + return () => clearInterval(id); + }, [step]); + return clock.step === step ? clock.t : 0; +} + +function Logo({ name, size }: { name: string; size: number }) { + return ( + + ); +} + +function Composer({ text, typing }: { text: string; typing: boolean }) { + const hasDraft = text.length > 0; + return ( +
+
+

+ {hasDraft ? ( + <> + {text} + {typing ? | : null} + + ) : ( + Type or @ to tag + )} +

+
+ + + + {hasDraft ? ( + + + + ) : ( + + + + )} +
+
+
+ + Auto + + + + + + + + +
+
+ ); +} + +function FeedLine({ + label, + running, + seconds, +}: { + label: string; + running: boolean; + seconds: string; +}) { + return ( +
+ {label} + {running ? ( + + ) : ( + {seconds} + )} +
+ ); +} + +function NodeCard({ + x, + y, + logo, + text, + action, + isNew, + status, + delay, +}: { + x: number; + y: number; + logo: string; + text: string; + action: string; + isNew: boolean; + status: RunStatus; + delay: number; +}) { + const running = status === 'running'; + const cardStyle: CSSProperties = { + left: x, + top: y, + width: 180, + height: 212, + animationDelay: `${delay}ms`, + ...(isNew ? { borderColor: 'rgba(0,122,230,0.5)' } : {}), + }; + return ( +
+
+
+ + {isNew ? ( + + New + + ) : null} +
+

+ {text} +

+
+
+ {status === 'running' ? ( + <> + + Running + + ) : status === 'succeeded' ? ( + <> + + Successful + + ) : status === 'queued' ? ( + <> + + + In queue + + + ) : ( + {action} + )} +
+
+ ); +} + +function Edge({ d, color }: { d: string; color: string }) { + return ( + + ); +} + +function Handle({ x, y, color }: { x: number; y: number; color: string }) { + return ( + + ); +} + +function Flower() { + return ( + + ); +} + +export function ChatToWorkflowSlide() { + const step = useSlideStep(); + const t = useStepClock(step); + + const typed = + step === 1 ? Math.min(brief.length, Math.floor(t / 28)) : step >= 2 ? brief.length : 0; + const building = step >= 2; + const g = step === 2 ? t : step > 2 ? Number.POSITIVE_INFINITY : -1; + const r = step === 4 ? t : -1; + const generated = g >= generationDoneMs; + const kept = step >= 3; + const dockVisible = (step === 2 && generated) || (step === 3 && t < 450); + + const onCanvas = (id: NodeId) => g >= nodeArrivalMs[id]; + const statusOf = (id: NodeId): RunStatus => { + if (r < runStartMs) return 'idle'; + const [start, end] = runWindows[id]; + if (r < start) return 'queued'; + return r < end ? 'running' : 'succeeded'; + }; + const reached = (id: NodeId) => r >= runWindows[id][0]; + const edgeColor = (target: NodeId) => + reached(target) ? ocean : !kept && onCanvas(target) ? ocean : edgeGrey; + + const tested = r >= runDoneMs; + const elapsed = r >= runStartMs ? Math.floor((Math.min(r, runDoneMs) - runStartMs) / 1000) : 0; + const triggerBlue = r >= runWindows.trigger[0]; + + const centred = !building; + + return ( + +
+ {/* Canvas */} +
+ {onCanvas('trigger') ? ( +
+ + + New email + +
+ ) : null} + {nodes.map((node, index) => + onCanvas(node.id) ? ( + + ) : null + )} + + + {/* Test toolbar */} + {step === 4 ? ( +
+ {r < runStartMs ? ( +
+ 450 ? 'scale(0.96)' : 'none', + transition: 'transform 150ms', + }} + > + + Test workflow + + + + + + + Logs + +
+ ) : ( +
+ +
+ + {tested ? 'Completed' : 'Testing workflow'} + + + {elapsed}s + +
+ + Logs + + + {tested ? null : ( + + )} + {tested ? 'Close' : 'Stop'} + +
+ )} +
+ ) : null} +
+ + {/* Chat panel */} +
+ {building ? ( + <> +
+

+ {brief} +

+ + EW + +
+ {g >= 500 ? ( +
+
+ + {generated ? ( + Completed · 7 steps + ) : ( + Working.. + )} +
+
+ {feed.map((line, index) => + g >= line.start ? ( + = line.end ? line.doneLabel : line.label} + running={g < line.end} + seconds={`${((line.end - line.start) / 1000).toFixed(2)}s`} + /> + ) : null + )} + {r >= 0 ? ( + + ) : null} +
+
+ ) : null} + {generated ? ( +

+ Done. New support emails are triaged by an agent, filed in Linear, shared in + Slack, and the customer gets a drafted reply. +

+ ) : null} + + ) : null} +
+ + {/* Review dock */} + {dockVisible ? ( +
+ 5 new steps + + + Reject + + + Keep Changes + + +
+ ) : null} + + {/* Greeting, only before the brief is sent */} +

+ Good afternoon, Emil +

+ + {/* Composer: centred on the empty chat, docked under the chat panel once sent */} +
+ +
+
+
+ ); +} diff --git a/components/presentations/automate/slides/05-agent-fit.tsx b/components/presentations/automate/slides/05-agent-fit.tsx new file mode 100644 index 0000000..9fc0dfd --- /dev/null +++ b/components/presentations/automate/slides/05-agent-fit.tsx @@ -0,0 +1,257 @@ +'use client'; + +import type { ReactNode } from 'react'; +import { useSlideStep } from '@/components/presentations/shared/presentation-layout'; +import { automateBasePath } from '@/lib/presentations/automate'; +import { SlideFrame, SlideHeading } from '../shared'; + +// Reveal order, one step per arrow press: +// 0 does it repeat, 1 no -> know or do, 2 chat, 3 tool agent, +// 4 yes -> react on change, 5 scheduled agent, 6 agentic workflow. +// The step count lives in lib/presentations/automate.ts. + +const sans = 'var(--font-oz-sans)'; +const serif = 'var(--font-oz-serif)'; + +function Reveal({ at, children }: { at: number; children: ReactNode }) { + const step = useSlideStep(); + const shown = step >= at; + return ( + + {children} + + ); +} + +function Branch({ d, label, x, y }: { d: string; label: string; x: number; y: number }) { + return ( + <> + + + {label} + + + ); +} + +function Question({ y, children }: { y: number; children: string }) { + return ( + <> + + + {children} + + + ); +} + +function Leaf({ + y, + children, + primary = false, +}: { + y: number; + children: string; + primary?: boolean; +}) { + return ( + <> + + + {children} + + + ); +} + +function Logo({ name, x, y, size = 36 }: { name: string; x: number; y: number; size?: number }) { + return ( + + ); +} + +function ProductChip({ logo, name, y }: { logo: string; name: string; y: number }) { + return ( + <> + + + + {name} + + + ); +} + +function Mode({ y, children, strong = false }: { y: number; children: string; strong?: boolean }) { + return ( + + {children} + + ); +} + +function DecisionTree() { + return ( + + + + + Does it repeat? + + + + + + Know or do? + + + + Chat + + + + Explore + + + + Tool agent + + + Delegate + + + + + React on change? + + + + Scheduled agent + + + + + + + Agentic workflow + + + + + Operationalize + + + + ); +} + +export function AgentFitSlide() { + return ( + + + + + ); +} diff --git a/components/presentations/automate/slides/06-event-queue.tsx b/components/presentations/automate/slides/06-event-queue.tsx new file mode 100644 index 0000000..2a2dbdf --- /dev/null +++ b/components/presentations/automate/slides/06-event-queue.tsx @@ -0,0 +1,463 @@ +'use client'; + +import Image from 'next/image'; +import { useEffect, useState, type CSSProperties, type ReactNode } from 'react'; +import { useSlideStep } from '@/components/presentations/shared/presentation-layout'; +import { automateBasePath } from '@/lib/presentations/automate'; +import { OzStage } from '../stage'; + +// Story, one step per arrow press (count lives in lib/presentations/automate.ts): +// 0 systems, 1 events arrive one by one at the top of the queue, 2-4 look inside three +// artifacts, 5 a workflow triggers on an event, 6 it reads history and decides, +// 7 it publishes its own event on top of the queue, 8 that event reaches the outside world, +// 9 a new reading shows the unit is back to normal, 10 that outcome teaches the agent. + +// Only integrations OAIZ ships; custom systems and sensors arrive through webhooks. +type Source = 'microsoft' | 'google-calendar' | 'attio' | 'google-drive' | 'slack' | 'own'; + +const systems: readonly { source: Source; label: string }[] = [ + { source: 'microsoft', label: 'Outlook' }, + { source: 'google-calendar', label: 'Calendar' }, + { source: 'attio', label: 'Attio CRM' }, + { source: 'google-drive', label: 'Drive' }, + { source: 'slack', label: 'Slack' }, + { source: 'own', label: 'Your systems' }, +]; + +type EventId = 'question' | 'contract' | 'deal' | 'flag' | 'slot' | 'hot' | 'normal'; + +// Oldest first. Each new event lands on top and pushes the rest down. +const arrivals: readonly { id: EventId; source: Source; text: string; time: string }[] = [ + { id: 'question', source: 'microsoft', text: 'Customer asks about delivery', time: '08:55' }, + { id: 'contract', source: 'google-drive', text: 'Service contract updated', time: '09:12' }, + { id: 'deal', source: 'attio', text: 'Deal moved to negotiation', time: '09:40' }, + { id: 'flag', source: 'slack', text: 'Team flags a noisy unit', time: '10:05' }, + { id: 'slot', source: 'google-calendar', text: 'Service slot opens Thursday', time: '10:20' }, + { id: 'hot', source: 'own', text: 'Unit 42 runs hot', time: '10:31' }, +]; + +const arrivalGapMs = 1000; +const firstArrivalMs = 300; + +const tileTop = (index: number) => 214 + index * 100; +const tileMid = (index: number) => tileTop(index) + 38; +const slotTop = (slot: number) => 248 + slot * 64; +const slotMid = (slot: number) => slotTop(slot) + 27; +const arrivalIndexOf = (source: Source) => arrivals.findIndex((event) => event.source === source); +const arrivalDelay = (source: Source) => firstArrivalMs + arrivalIndexOf(source) * arrivalGapMs; + +function fade(shown: boolean, delay = 0): CSSProperties { + return { + opacity: shown ? 1 : 0, + transform: shown ? 'none' : 'translateY(8px)', + transition: `opacity 450ms ease ${delay}ms, transform 450ms ease ${delay}ms`, + }; +} + +// How many events have arrived. The arrival sequence plays when the slide reaches step 1. +function useArrivals(step: number) { + const [played, setPlayed] = useState(0); + + useEffect(() => { + if (step !== 1) return; + const timers = [ + setTimeout(() => setPlayed(0), 0), + ...arrivals.map((_, index) => + setTimeout(() => setPlayed(index + 1), firstArrivalMs + index * arrivalGapMs) + ), + ]; + return () => timers.forEach(clearTimeout); + }, [step]); + + if (step === 0) return 0; + return step === 1 ? played : arrivals.length; +} + +function SourceIcon({ source, size }: { source: Source; size: number }) { + if (source === 'own') { + return ( + + ); + } + return ( + + ); +} + +function Arrow({ + d, + shown, + color = '#BCBCBC', + width = 2, + delay = 0, +}: { + d: string; + shown: boolean; + color?: string; + width?: number; + delay?: number; +}) { + return ( + + ); +} + +function Inspector({ + shown, + top, + title, + children, +}: { + shown: boolean; + top: number; + title: string; + children: ReactNode; +}) { + return ( +
+

{title}

+ {children} +
+ ); +} + +function WorkflowNode({ + kind, + top, + shown, + accent = false, + children, +}: { + kind: string; + top: number; + shown: boolean; + accent?: boolean; + children: ReactNode; +}) { + return ( +
+ {kind} + {children} +
+ ); +} + +export function EventQueueSlide() { + const step = useSlideStep(); + const arrived = useArrivals(step); + const published = step >= 7; + const recovered = step >= 9; + const publishedSlot = recovered ? 1 : 0; + + // Newest on top: the recovery reading, the published event, then arrivals newest first. + const slotOf = (index: number) => arrived - 1 - index + (published ? 1 : 0) + (recovered ? 1 : 0); + const slotOfId = (id: EventId) => slotOf(arrivals.findIndex((event) => event.id === id)); + const inspectedId: EventId | null = + step === 2 + ? 'contract' + : step === 4 + ? 'deal' + : step === 3 || step === 5 || step === 6 + ? 'hot' + : step >= 9 + ? 'normal' + : null; + // The inspected event lifts out of the queue; the rest step back. + const highlight = (id: EventId): CSSProperties => { + if (inspectedId === null) return { outline: '4px solid transparent' }; + if (inspectedId !== id) return { opacity: 0.4, outline: '4px solid transparent' }; + const accent = id === 'normal' ? '#7BC900' : '#329CF5'; + return { + outline: `4px solid ${accent}`, + boxShadow: `0 0 0 12px ${id === 'normal' ? 'rgba(123, 201, 0, 0.25)' : 'rgba(50, 156, 245, 0.3)'}`, + translate: '18px 0', + scale: '1.06', + zIndex: 2, + }; + }; + const inspectorShown = step >= 2 && step <= 4; + const reaches = (source: Source) => + step === 8 && (source === 'microsoft' || source === 'google-calendar'); + + return ( + +

+ Every change becomes an event. Events start work. +

+ + {/* Systems */} + {systems.map((system, index) => ( +
+ + {system.label} +
+ ))} + + {/* Event queue, newest on top */} +
= 1)} + > +

+ Event queue · newest on top +

+
+ {arrivals.map((event, index) => + index < arrived ? ( +
+ + {event.text} + {event.time} +
+ ) : null + )} + {published ? ( +
+ + + Visit booked, email sent + + 10:44 +
+ ) : null} + {recovered ? ( +
+ + Unit 42 normal again + + 13:10 +
+ ) : null} + + {/* Look inside three artifacts */} + +

Service contract v3.docx

+
+ Warranty: 12 months + Warranty: 24 months +
+

Changed by the sales team, 09:12

+
+ +

Unit 42 runs 6° above normal

+ +

87 °C, rising for 40 minutes

+
+ +

Renewal, Unit 42 site

+
+ Stage: Proposal → Negotiation + Next step: service review +
+
+ + {/* A simplified OAIZ workflow. It runs bottom to top and publishes beside the queue top. */} +
= 5)} + > +

Workflow

+
+ + Visit booked, email sent + + = 6}> + Book a visit and tell the customer + + = 6} accent={step >= 10}> + + Read the history: last service, contract, open deal + {step >= 10 ? ( + + Learned: a visit within two hours fixes it + + ) : null} + + + = 5}> + When a unit runs hot + + + {/* Arrows */} + +
+ ); +} diff --git a/components/presentations/automate/slides/07-two-builds.tsx b/components/presentations/automate/slides/07-two-builds.tsx new file mode 100644 index 0000000..fe63788 --- /dev/null +++ b/components/presentations/automate/slides/07-two-builds.tsx @@ -0,0 +1,22 @@ +import { InkTag, SlideFrame, SlideHeading } from '../shared'; + +const builds = [ + { tag: 'Live build 1', title: 'Ask the archive. Get the page.' }, + { tag: 'Live build 2', title: 'An AI colleague for the product manager' }, +] as const; + +export function TwoBuildsSlide() { + return ( + + +
+ {builds.map((build) => ( +
+ {build.tag} +

{build.title}

+
+ ))} +
+
+ ); +} diff --git a/components/presentations/automate/slides/08-live-archive.tsx b/components/presentations/automate/slides/08-live-archive.tsx new file mode 100644 index 0000000..3e92cd2 --- /dev/null +++ b/components/presentations/automate/slides/08-live-archive.tsx @@ -0,0 +1,57 @@ +import { CheckDot, GreyPill, InkTag, SlideFrame, SlideHeading } from '../shared'; + +function FlowRow({ label, children }: { label: string; children: React.ReactNode }) { + return ( +
+ {label} + {children} +
+ ); +} + +export function LiveArchiveSlide() { + return ( + +
+ Live build 1 · synthetic data + +
+
+
+

What a service technician sees

+

+ Which spare parts went into order 4711? +

+
+

Shaft seal kit ×2 and one impeller.

+
+ Source: order 4711, scanned 1998, page 3 + + Service view + +
+
+

+ Sales asking the same question sees prices, not drawings. +

+
+
+

What we build live to get there

+ A scanned document lands + + + Read Classify {' '} + Extract + + + Searchable, with access by role +
+ Knowledge + Database + Login app +
+
+
+
+ ); +} diff --git a/components/presentations/automate/slides/09-live-colleague.tsx b/components/presentations/automate/slides/09-live-colleague.tsx new file mode 100644 index 0000000..07b8807 --- /dev/null +++ b/components/presentations/automate/slides/09-live-colleague.tsx @@ -0,0 +1,47 @@ +import { Fragment } from 'react'; +import { InkTag, SlideFrame, SlideHeading } from '../shared'; + +const nodes = [ + { text: 'Request from the business arrives', approval: false }, + { text: 'Match the backlog, spot duplicates', approval: false }, + { text: 'Draft priority and a reply', approval: false }, + { text: 'You approve, then the backlog updates', approval: true }, +] as const; + +export function LiveColleagueSlide() { + return ( + +
+ Live build 2 · synthetic data + +
+
+
+ {nodes.map((node, index) => ( + + {index > 0 ? : null} +
+ {node.text} +
+
+ ))} +
+
+ What needs my attention today? + + + Live voice + + + +
+
+
+ ); +} diff --git a/components/presentations/automate/slides/10-same-blocks.tsx b/components/presentations/automate/slides/10-same-blocks.tsx new file mode 100644 index 0000000..e3441ae --- /dev/null +++ b/components/presentations/automate/slides/10-same-blocks.tsx @@ -0,0 +1,83 @@ +import { SlideFrame, SlideHeading } from '../shared'; + +const blocks = ['Database', 'Login app', 'Knowledge', 'Workflow', 'Agent'] as const; + +type Use = 'used' | 'unused'; + +const builds: readonly { name: string; uses: readonly Use[] }[] = [ + { name: 'Live build 1', uses: ['used', 'used', 'used', 'used', 'used'] }, + { name: 'Live build 2', uses: ['used', 'unused', 'unused', 'used', 'used'] }, +]; + +function Mark({ use }: { use: Use }) { + if (use === 'unused') { + return ( + + ); + } + return ( + + + + ); +} + +export function SameBlocksSlide() { + return ( + + + + + + + ))} + + + + {builds.map((build, row) => ( + + + {build.uses.map((use, column) => ( + + ))} + + ))} + +
+ {blocks.map((block) => ( + + {block} +
+ {build.name} + +
+ +
+
+
+ ); +} diff --git a/components/presentations/automate/slides/11-where-we-are.tsx b/components/presentations/automate/slides/11-where-we-are.tsx new file mode 100644 index 0000000..2dec54e --- /dev/null +++ b/components/presentations/automate/slides/11-where-we-are.tsx @@ -0,0 +1,59 @@ +import Image from 'next/image'; +import { automateBasePath } from '@/lib/presentations/automate'; +import { OzStage } from '../stage'; + +const journey = [ + 'One year building', + 'A first handful of customers', + 'Municipalities and AI-native companies', + 'Just raised capital, first recruits', +] as const; + +export function WhereWeAreSlide() { + return ( + +
+
+ + } + > +
+

Let humans do human work.

+
    + {journey.map((item) => ( +
  • + + {item} +
  • + ))} +
  • + + Next step: More design partners +
  • +
+

+ Right path or wrong one? Let's build something together. +

+
+ + The four OAIZ founders walking together + + ); +} diff --git a/components/presentations/automate/slides/12-questions.tsx b/components/presentations/automate/slides/12-questions.tsx new file mode 100644 index 0000000..adf84d5 --- /dev/null +++ b/components/presentations/automate/slides/12-questions.tsx @@ -0,0 +1,18 @@ +import { SunsetFrame, Wordmark } from '../shared'; + +export function QuestionsSlide() { + return ( + + +
+

+ What would you automate first? +

+
+
+ Emil Wåreus · emil@oaiz.io + oaiz.io +
+
+ ); +} diff --git a/components/presentations/automate/stage.tsx b/components/presentations/automate/stage.tsx new file mode 100644 index 0000000..54c8953 --- /dev/null +++ b/components/presentations/automate/stage.tsx @@ -0,0 +1,58 @@ +'use client'; + +import { useEffect, useState, type CSSProperties, type ReactNode } from 'react'; + +const canvasWidth = 1600; +const canvasHeight = 900; + +// Slides are designed on a 1600x900 canvas and scaled to fit the viewport, so they +// render the same on a laptop, a projector and a TV. The background is painted once on +// the full viewport. Scenery that must reach the screen edges (sun, sea, palms) goes in +// `backdrop`: a layer at the same scale that stretches to the whole screen, so scenery +// anchored with left/right/bottom sticks to the real screen edges at any aspect ratio. +export function OzStage({ + background, + backgroundStyle, + backdrop, + children, +}: { + background: string; + backgroundStyle?: CSSProperties; + backdrop?: ReactNode; + children?: ReactNode; +}) { + const [viewport, setViewport] = useState({ width: canvasWidth, height: canvasHeight }); + + useEffect(() => { + const measure = () => setViewport({ width: window.innerWidth, height: window.innerHeight }); + measure(); + window.addEventListener('resize', measure); + return () => window.removeEventListener('resize', measure); + }, []); + + const scale = Math.min(viewport.width / canvasWidth, viewport.height / canvasHeight); + + return ( +
+ {backdrop ? ( + + ) : null} + {children ? ( +
+ {children} +
+ ) : null} +
+ ); +} diff --git a/components/presentations/software-factory/AGENTS.md b/components/presentations/software-factory/AGENTS.md new file mode 100644 index 0000000..f4c9c02 --- /dev/null +++ b/components/presentations/software-factory/AGENTS.md @@ -0,0 +1,18 @@ +# The software factory 0.1 + +Presentation-specific instructions for this deck's slides, outline, notes and assets. + +## Concrete examples are mandatory + +- **Every substantive point, slide and step needs an EXTREMELY CONCRETE, visible example.** The audience must see exactly what Emil means. +- Use real screenshots, short GIFs, actual code, precise tool output, or a specific before-and-after comparison. Prefer examples from Emil's own projects and workflows. +- Show the actual instruction, changed code, failing check, workflow interaction or result being discussed. A generic diagram, abstract slogan or list of advice is not enough on its own. +- Design around the example first. Use only the few words needed to explain it. Keep screenshots readable; crop to the relevant part and highlight what matters. Split into more slides when needed. +- Do not invent successful runs, production output, measurements or customer facts. If an example is illustrative, label it clearly. If the real evidence is missing, record the exact asset needed and leave that point unfinished. +- **A slide is not complete until its example is included and visually checked.** Ensure it directly demonstrates the claim and is understandable at presentation size. + +The cover remains title-only. The introduction uses actual project logos/images. There is no fixed slide-count limit; older 12-slide constraints are superseded. Keep the established addcommitpush.io profile and sparse text. GIFs are allowed when they demonstrate a concrete interaction or change, rather than decorate the slide. + +## Small sub-headers are forbidden + +Tiny uppercase kickers next to a title — "Working model", "Key idea", "In practice", "Remember", and anything like them — are AI slop. Do not add them. The title is the header. If a caveat matters, put it in the spoken notes or in the outline, not as a decorative mono label on the slide. diff --git a/components/presentations/software-factory/slides/00-title.tsx b/components/presentations/software-factory/slides/00-title.tsx new file mode 100644 index 0000000..fd6fbb5 --- /dev/null +++ b/components/presentations/software-factory/slides/00-title.tsx @@ -0,0 +1,11 @@ +import { SlideFrame } from './shared'; + +export function TitleSlide() { + return ( + +

+ The software factory 0.1 +

+
+ ); +} diff --git a/components/presentations/software-factory/slides/00-who-i-am.tsx b/components/presentations/software-factory/slides/00-who-i-am.tsx new file mode 100644 index 0000000..3c1aef0 --- /dev/null +++ b/components/presentations/software-factory/slides/00-who-i-am.tsx @@ -0,0 +1,179 @@ +import Image from 'next/image'; +import { Label, SlideFrame } from './shared'; + +interface ProjectPanel { + name: string; + role: string; + descriptor?: string; + site: string; + src: string; + alt: string; + placement: string; + imageSurface?: string; + nameInLogo?: boolean; + imageHeight?: string; + imageClass?: string; +} + +const projects: readonly ProjectPanel[] = [ + { + name: 'OAIZ', + role: 'Founder', + descriptor: 'Self-learning AI automation', + site: 'oaiz.io', + src: '/presentations/software-factory/oaiz-marketing-logo.svg', + alt: 'OAIZ marketing logo', + placement: 'lg:col-start-1 lg:row-start-1', + imageSurface: 'bg-[#f3f0e6]', + nameInLogo: true, + }, + { + name: 'Debricked', + role: 'Founder / exit 2022', + descriptor: 'Security Tool', + site: 'debricked.com', + src: '/presentations/deep-research/logos/debricked-logo.png', + alt: 'Debricked logo', + placement: 'lg:col-start-1 lg:row-start-2', + imageSurface: 'bg-[#f3f0e6]', + nameInLogo: true, + imageHeight: 'h-[clamp(4.25rem,10vh,6.25rem)]', + imageClass: 'p-0 scale-[1.35]', + }, + { + name: 'Plinty', + role: 'Founding Chairman', + descriptor: 'School Platform', + site: 'plinty.io', + src: '/presentations/software-factory/plinty-paper-logo.svg', + alt: 'Plinty logo', + placement: 'lg:col-start-1 lg:row-start-3', + imageSurface: 'bg-[#f3f0e6]', + }, + { + name: 'Podidex', + role: 'Founder', + descriptor: 'Personal AI podcasts', + site: 'podidex.com', + src: '/presentations/software-factory/podidex-logo.png', + alt: 'Podidex logo', + placement: 'lg:col-start-3 lg:row-start-1', + }, + { + name: 'Valkompass.ai', + role: 'Creator', + site: 'valkompass.ai', + src: '/presentations/deep-research/logos/valkompass.avif', + alt: 'Valkompass.ai logo', + placement: 'lg:col-start-3 lg:row-start-2', + }, +]; + +const openSourceProjects = [ + { name: 'gnr8', href: 'https://github.com/oaiz-io/gnr8', descriptor: 'API → SDKs' }, + { name: 'polint', href: 'https://github.com/oaiz-io/polint', descriptor: 'Repo-local lint' }, + { + name: 'DemoHunter', + href: 'https://github.com/oaiz-io/demohunter', + descriptor: 'Demos as code', + }, +] as const; + +const panelFrame = + 'flex flex-col items-center justify-center gap-[clamp(0.25rem,0.7vh,0.45rem)] border border-dashed border-[var(--border)] p-[clamp(0.6rem,1.3vh,0.85rem)] text-center'; + +const siteLink = + 'font-mono text-xs text-primary underline decoration-dashed underline-offset-4 hover:text-foreground'; + +function Panel({ project }: { project: ProjectPanel }) { + return ( +
+
+ {project.alt} +
+
+ {project.nameInLogo ? null : ( +
+ {project.name} +
+ )} + {project.descriptor ? ( +
+ {project.descriptor} +
+ ) : null} + + + {project.site} + +
+
+ ); +} + +function OpenSourcePanel() { + return ( +
+ +
    + {openSourceProjects.map((project) => ( +
  • + + {project.name} + + + {project.descriptor} + +
  • + ))} +
+ + github.com/oaiz-io/ + +
+ ); +} + +export function WhoIAmSlide() { + return ( + +
+
+

+ Emil +
+ Wåreus +

+

+ Spaghetti coder, ML trainer, agent builder & cat owner +

+
+ + addcommitpush.io + + +
+
+ + {projects.map((project) => ( + + ))} + +
+
+ ); +} diff --git a/components/presentations/software-factory/slides/01-build-the-machine.tsx b/components/presentations/software-factory/slides/01-build-the-machine.tsx new file mode 100644 index 0000000..eee431b --- /dev/null +++ b/components/presentations/software-factory/slides/01-build-the-machine.tsx @@ -0,0 +1,101 @@ +import { ArrowDown, ArrowLeft, ArrowRight, ArrowUp } from 'lucide-react'; +import { SlideFrame } from './shared'; + +const cornerWord = + 'text-center font-serif text-[clamp(1.4rem,2.6vw,2.9rem)] font-bold uppercase leading-none text-primary'; + +const feeders = ['Non-developers', 'AI agents', 'Developers'] as const; + +const boxText = 'font-serif text-[clamp(1rem,1.6vw,1.6rem)] font-semibold leading-tight'; + +function LoopArrow({ Icon }: { Icon: typeof ArrowRight }) { + return ( +