Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
Search
Seiji Takahashi
November 22, 2026
Technology
180
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
プラガブルで宣言的なソフトウェアファクトリーを支えるTypeScript
JSConf 2026
Seiji Takahashi
November 22, 2026
Transcript
48 slides
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
1 orchestrator: { model: opus, effort: high } 2 stages:
3 - id: plan 4 role: plan 5 model: fable 6 effort: xhigh 7 - id: build 8 role: implement 9 routing: 10 router: { provider: cloudflare, model: clef } 11 routes: 12 - { id: heavy, model: opus, effort: xhigh } 13 - { id: standard, model: opus, effort: high } 14 plugins: 15 mockup: { model: sonnet, effort: high }
None
None
None
hellofactory-definitions EXPLORER acme-billing.yaml definitions agents verified.yaml standard.yaml projects acme-billing.yaml acme-portal.yaml
1 name: acme-billing 2 agent: verified 3 repositories: 4 - repo: acme/billing-api 5 setup: 6 - go mod download 7 checks: 8 - go test ./... 9 - repo: acme/billing-web 10 setup: 11 - pnpm install --frozen-lockfile 12 checks: 13 - pnpm check verified.yaml 1 name: 2 stages: 3 - id: plan 4 role: plan 5 gate: human-approval 6 - id: build 7 role: implement 8 - id: verify 9 role: verify 10 - id: deliver 11 uses: github-draft-pr 12 slots: 13 capture: browser
hellofactory-definitions standard.yaml contracts/stage.ts 3 stages: 4 - id: plan 5
role: plan 6 - id: build 7 role: implement 8 - id: deliver 9 uses: github-draft PROBLEMS 1 standard.yaml:9 1 2 3 4 5 6 7 8 9 10 11 const BUILT_IN_STEP_IDS = ["github-draft-pr"] as const; export const BuiltInStepSchema = z.enum(BUILT_IN_STEP_IDS, { error: unknownName(" ", BUILT_IN_STEP_IDS), }); export const StageSchema = z .strictObject(stageFields, { error: unknownFlowKey }) .refine(roleOrUses.check, { message: roleOrUses.message }); export type Stage = z.infer<typeof StageSchema>;
plugin-registry 1 2 3 4 5 6 7 8 9
10 11 12 13 declarations/mockup.ts plan PlanInput → PlanResult export const mockupDeclaration = declarePlugin({ id: "mockup", slots: ["mockup"], settings: { enabled: z.boolean().default(true), ...pluginAgentFields, }, }); export const PLUGIN_DECLARATIONS = [ artifactsDeclaration, browserDeclaration, … planDeclaration, mockupDeclaration, implementDeclaration, verifyDeclaration, ] as const; mockup MockupInput → MockupResult implement ImplementInput FixInput → verify VerifyInput → VerifyResult delivery DeliverInput → DeliveryState periodic → PeriodicResult capture keep CaptureTarget →
design implement slots after-implement periodic support plan implement mockup routing
verify periodic capture delivery periodic keep
export type MockupMaker = { auto: boolean; make( input: MockupInput,
tools: StageTools, ): Promise<MockupResult>; }; tools.turn tools.environment tools.capture tools.checkpoint
export type Verifier = { run(input: VerifyInput, tools: VerifyTools): Promise<VerifyResult>;
};
stg.example.com $ strix -n -t ./ -t https://stg.example.com # 0
export type PeriodicTask = { name: string; schedule: PeriodicSchedule; run(context: { at: Date }, tools: Tools): Promise<PeriodicResult | undefined>; };
plan 8 Fable · xhigh build 26 Opus · xhigh
verify 6 Opus · high 1 draft PR deliver
None
SKILL.md Accepted<"mockup"> PlanInput
stages: - - id: split uses: split-plan - id: build
role: implement - - id: review uses: self-review
agents/legacy.yaml agents/new.yaml plan mockup implement verify delivery
None
None
None
Workers Workers core plugin-sdk plugin-registry Node Node
export const mockupRunnerPlugin = defineRunnerPlugin( mockupDeclaration, (setup) => mockupPlugin(setup.settings), );
const RUNNER_PLUGINS: Record< $ playwright-cli open http://localhost:3200/ PluginId, RunnerPluginEntry<…> > = { artifacts, browser, implement, mockup, plan, … }; $ playwright-cli video-start /tmp/run.webm $ playwright-cli screenshot --filename=ac1.png
AgentRuntime connection
WorkerEntrypoint<Env, GatewayProps> /git/… /ci/… /notion/… /slack/… /control/… await container.interceptOutboundHttp( "192.0.2.1:80",
ctx.exports.SandboxGateway({ props: { runId, repo, branch } }), );
Zod /command /schema /react
None
/invoices INV-2041 INV-2038 AC1 1. playwright-cli open http://localhost:3200/invoices 2. playwright-cli
video-start /tmp/run.webm 3. 4. /invoices → screenshot ac1.png → screenshot ac2.png 5. → screenshot ac3.png 6. video-stop → ffmpeg run.mp4 AC3 /invoices?dept=sales ¥128,000 ¥54,000 INV-2041 INV-2038 ¥128,000 ¥54,000 AC2 /invoices INV-2041 ¥128,000 INV-2038 ¥54,000
None
plan mockup implement verify delivery periodic
cloud.hello.ai about.basemachina.com
More Decks by Seiji Takahashi
See All by Seiji Takahashi
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
5.7k
AIエージェントのデータガバナンスの最新事情。そしてプロダクトのAIファースト化
timakin
0
4k
営業、広報、開発。 多面的なAIネイティブ化のための 基盤について
timakin
0
300
権限と承認 〜ユーザー信頼性に繋がる管理画面の根幹について〜
timakin
0
1.1k
Go Backends for frontends with GraphQL and gRPC
timakin
6
4.4k
Design Pattern for Image and Text Composition in Go
timakin
5
6.9k
Golang API Testing the HARD way
timakin
13
7.4k
Head First Golang Image Package
timakin
2
10k
React Native Beyond Prototype
timakin
2
1.8k
Other Decks in Technology
See All in Technology
ノードが消える前提で設計する!Karpenterで金融システムを止めないためのノウハウ大全
daitak
1
240
エンタープライズ事業未経験のデータ屋、 AI時代にN回撃沈する.pdf
ryoskdara_
0
190
Re:ゼロから始めるシェアハウスのペットな鯖
silmin_
0
270
AIエージェントのアーキテクチャ設計
nsatoh
0
530
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
250
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
270
From vibe coding to reliable (agentic) development
jcabot
0
230
Go でトランザクション、どう書いてますか?
knwoop
1
580
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
500
Agent Routerで作るマルチテナント 推論基盤 #CNDW2026 / Building Multi-Tenant Inference Platform with Agent Router #CNDW2026
everpeace
5
600
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
Featured
See All Featured
First, design no harm
axbom
PRO
2
1.4k
What's in a price? How to price your products and services
michaelherold
247
13k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
2
560
Balancing Empowerment & Direction
lara
6
1.4k
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k
So, you think you're a good person
axbom
PRO
2
2.3k
Designing Powerful Visuals for Engaging Learning
tmiket
1
660
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
700
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850