
Software as a Service(SaaS)ビジネスコミュニティー「SaaStr」の信頼できるアドバイザーであるJason Lemkin氏は先ごろ、考えられる限り最悪の形で、バイブコーディングに痛手を負わされた。バイブプログラム「Replit」が、「コードフリーズとシャットダウンの最中に暴走し、データベース全体を削除した」という。
「バイブコーディング」が招いた暴走--「Replit」による命令無視と本番DB消去という惨劇 - ZDNET Japan
データベースは完全に消去され、何カ月もかけて収集されたSaaStr幹部の記録が削除された。さらに腹立たしいことに、本番のコードやデータを一切変更しないよう、大文字で何度も入力した指示が無視された。
「バイブコーディング」が招いた暴走--「Replit」による命令無視と本番DB消去という惨劇 - ZDNET Japan
⇧と言うか、「本番環境(PRD:PRODUCTION)」で利用した事実が驚きなのだが...
ちなみに、「バイブコーディング(vibe coding)」はというと、
バイブコーディングはAIに依存したプログラミング手法で、人は解きたい問題を、コーディングに特化した大規模言語モデル(LLM)へのプロンプトとして自然言語で記述する。LLMによるソフトウェアの生成が可能となったことで、プログラマの役割は手作業によるコーディングから、AIがソースコードを生成する際のガイドと生成したコードのテスト・改良へと変化してきている。
この用語は2025年2月にアンドレイ・カーパシーによって提唱され、翌月にはウェブスター辞典の「スラングとトレンド」に名詞として掲載された。
⇧ とありますと。
未だ「幻覚(ハルシネーション)」の問題が解決できていなくて「ブラックボックス」な要素の塊である「AI」に、「本番環境(PRD:PRODUCTION)」のデータの更新処理が可能な状態にしていることが理解できない...
とりあえず、
プロジェクト管理の三角形に関して古くから言われているように、どんなプロジェクトでも、「高品質、高速、低コストのうち、2つを選ぶ」ことはできる。少なくとも今のところ、バイブコーディングでは、高速と低コストは実現できる。高品質は別の問題だ。
「バイブコーディング」が招いた暴走--「Replit」による命令無視と本番DB消去という惨劇 - (page 2) - ZDNET Japan
⇧ 上記にあるように、「品質保証(QA:Quality Assurance)」の実現については難しいということですかね...
誰かが「最後の砦」的に「精査」と「裏付け」のための「調査」に多大な工数を費やす必要があるわけだ...
結局のところ、「銀の弾丸」は無いということですな...
どこまでいっても「トレードオフ」は付いて回るということですかな...
イベントストーミング(Event Storming)とは
昨日、
⇧ 上記のイベントに参加してきて「イベントストーミング(Event Storming)」の流れを目にすることができたので備忘録として。
そも、「イベントストーミング(Event Storming)」とは?
英語版のWikipediaの「ドメイン駆動設計(DDD:Domain Driven Design)」のページで、
Domain-driven design (DDD) is a major software design approach, focusing on modeling software to match a domain according to input from that domain's experts.
DDD is against the idea of having a single unified model; instead it divides a large system into bounded contexts, each of which have their own model.
Relationship to other ideas
Although domain-driven design is not inherently tied to object-oriented approaches, in practice, it exploits the advantages of such techniques. These include entities/aggregate roots as receivers of commands/method invocations, the encapsulation of state within foremost aggregate roots, and on a higher architectural level, bounded contexts.
Domain-driven design has influenced other approaches to software development.
⇧ 上記にあるように、「ドメイン駆動設計(DDD:Domain Driven Design)」にインスパイアされた「ソフトウェア開発」に関連するアプローチの内の1つが、「イベントストーミング(Event Storming)」らしい。
Event storming
Event storming is a collaborative, workshop-based modeling technique which can be used as a precursor in the context of Domain-Driven Design (DDD) to identify and understand domain events. This interactive discovery process involves stakeholders, domain experts, and developers working together to visualize the flow of domain events, their causes, and their effects, fostering a shared understanding of the domain.
The technique often uses color-coded sticky notes to represent different elements, such as domain events, aggregates, and external systems, facilitating a clear and structured exploration of the domain. Event storming can aid in discovering subdomains, bounded contexts, and aggregate boundaries, which are key constructs in DDD. By focusing on 'what happens' in the domain, the technique can help uncover business processes, dependencies, and interactions, providing a foundation for implementing DDD principles and aligning system design with business goals.
⇧ とあり、「ブレインストーミング」っぽい感じで、とりあえず、「業務」に対しての「認識」を合わせることができそうではある。
英語版のWikipediaの「イベントストーミング(Event Storming)」のページで、
The name was chosen to show that the focus should be on the domain events and the method works similar to brainstorming or agile modeling's model storming.
⇧ 上記のように、少なからず「ブレインストーミング」にインスパイアされてはいそう。
イベントストーミング(Event Storming)は登場人物の洗い出しに有効そうなのか
Wikipediaの続きを確認すると、
Steps
The first step is to find the domain events and write them on orange sticky notes.
When all domain events are found the second step is to find the command that caused each of the domain events. Commands are written on blue notes and placed directly before the corresponding domain event.
In the third step the aggregates within which commands are executed and where events happen are identified. The aggregates are written in yellow stickies.
The concepts gathered during an EventStorming session fall into several categories, each with its own colour of sticky note:
-
Domain event
- An event that occurs in the business process. Written in past tense.
-
Actor
- A person who executes a command through a view.
-
Business process
- Processes a command according to business rules and logic. Creates one or more domain events.
-
Command
- A command executed by a user through a view on an aggregate that results in the creation of a domain event.
-
Aggregate
- Cluster of domain objects that can be treated as a single unit.
-
External system
- A third-party service provider such as a payment gateway or shipping company.
-
View
- A view that users interact with to carry out a task in the system.
⇧ とあり、
- Domain event
- Command
- Aggregate
の3つを洗い出していく作業はMUSTっぽい感じだが、それ以外の要素については、特に定まっていなさそうではある。
事前に、ある程度「方針」を決めておかないと、頓珍漢な方向に突き進んで行きそうではある。
兎にも角にも「業務」って、
- どれだけのタスクがあるのか
- 依存しているタスクはあるのか
- どんな情報が必要になるのか
- どのタイミングで実施するのか
- 関わって来るのは誰か
- 成果物は発生するのか
あたりが「ファジー」なことが多いので、「イベントストーミング(Event Storming)」を適切に実施することで、「業務フロー」に関係する「登場人物」が洗い出せて「業務フロー」の「解像度」を上げるキッカケを作ってくれそうではある。
結局のところ、「システム化」できるかどうかの判断も、「業務フロー」の全体が明確になっていないと難しい気がしますからな...
「AI」の活用と同じく、全ての「業務」を「システム化」できるわけでは無いと思うので、ザックリと、
- システム化できそう
- システム化できなさそう
を見極めるためには、「業務フロー」に関係する「登場人物」が洗い出せていないと始まらない気はするので、「業務」に関わる「情報」の「関係性」を「視える化」するのに「イベントストーミング(Event Storming)」を利用するのは良さ気なのかしら?
「イベントストーミング(Event Storming)」を実施した後で、改めて「情報」の分類・整理は必要になってくるとは思いますが...
問題は、「イベントストーミング(Event Storming)」の「変更履歴」をどう管理するかとかかなぁ...
時間が経った時に、どこを変更したか分からなくなりそうなのよね...
「最初から完璧を目指す必要はない」というのは同意なのだが、「状態」は記録しておきたいのよね...
後は、「意思決定」の「背景」とかをどう残すかとかね...
「言った言わない」論争は、問題外として、「引継ぎ」の際に「経緯」が分からないとどうしようもないですからな...
毎度モヤモヤ感が半端ない…
今回はこのへんで。




