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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Seiji Takahashi
November 22, 2026
Technology
190
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
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
410
AWS DevOps Agentの構造から読み解く運用 AI エージェントの設計原則/aws-devops-agent-design-principles
tomoki10
0
270
農家は秘伝のタレを知らない - NOBODY KNOWS THE HIDDEN SOURCE - Kaggriculture 3rd Place Solution
masspeaks
3
690
20261113_AWS Organizations運用を下支えするCFn StackSetsの柔軟性
dkduppf
0
120
こんなに変わった! AWSネットワークの常識
shotashiratori
16
11k
AWS Well-Arhitected Frameworkセキュリティの柱 について
miu_crescent
PRO
2
250
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
RAGの改善を速く回すための評価基盤
yosukeyoshida
6
3.6k
Taking back control of your AI development
inesmontani
PRO
0
310
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
1
110
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Everyday Curiosity
cassininazir
0
420
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
290
sira's awesome portfolio website redesign presentation
elsirapls
0
520
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
540
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
410
Practical Orchestrator
shlominoach
192
12k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
340
Large-scale JavaScript Application Architecture
addyosmani
516
110k