TDW Casebook¶
Each case is written as an article seed. It can become a blog post, an onboarding lesson, a workshop exercise, or a YouTube segment.
For standalone reading pages, go to TDW case articles.
Case 1. A ticket is not approval¶
Full article: A ticket is not approval
Problem: An agent can mistake a completed ticket for permission to execute.
What changed: TDW separates ticket creation from user approval. The guard checks ticket-start exposure, ticket review, and explicit approval before execution.
Good record: The user complaint became a specific issue: execution started without approval. The fix could be traced through rule, CLI, and regression test changes.
Failure mode: If the ticket itself is treated as approval, the user loses control of the work.
Apply it: After a ticket appears, answer with either "Approve" or "Narrow the scope first."
Case 2. Good automation knows how to stop¶
Full article: Good automation stops first
Problem: Workflow rules are not trustworthy if the user cannot see the ticket and the agent does not actually wait.
What changed: A small ticket-flow test verified creation, ticket-start exposure, approval wait, approval recording, guard, context, and completion evidence.
Good record: The task stayed intentionally small. Not executing before approval was part of the success condition.
Apply it: When introducing TDW to a new repo, start with a ticket-flow test before a major feature.
Case 3. Turning many DeukPack BMT failures into a map¶
Full article: Turning DeukPack BMT failures into a map
Problem: Large BMT output can produce many preflight_failed, missing, unimplemented, and blocked rows.
What changed: TDW grouped failures by language, protocol, and evidence type instead of trying to force the table green. Java preflight failures, Rust generated roundtrip gaps, missing protocol rows, and cross-language transfer blockers became follow-up ticket candidates.
Good record: A blocked row was not promoted to pass without transfer proof.
MCP Context effect: Past BMT matrices and proof rules can be recalled in later sessions, reducing repeated interpretation work.
Apply it: When failures are numerous, classify rows before fixing them.
Case 4. "Passed" is smaller than proof scope¶
Problem: A user questioned whether basic protocol verification was TypeScript-heavy and missed other language errors.
What changed: TDW separated runtime proof, compile gate, preflight, and no-evidence states per language.
Good record: The report no longer hid unverified areas behind a global pass.
Failure mode: Goal shrinkage happens when an agent treats an existing gate as equivalent to the user's requested proof.
Apply it: Ask: "Separate what each language actually proved."
Case 5. MCP Context needs quality gates¶
Problem: MCP Context can return stale archive hits, placeholders, duplicates, or unrelated chunks.
What changed: TDW treated stale/noisy results as misses, required local source fallback, and promoted only reusable conclusions back into knowledge.
Good record: The lesson was not "MCP always works." It was "MCP works when search quality is measurable and bad memory can be rejected."
Apply it: Track hit quality, stale/noisy rate, local fallback, and token waste.
Case 6. Recovering from runaway execution¶
Problem: Some failures grow because the agent keeps working after the user corrects scope, complains about chatter, or points out missing ticket flow.
What changed: TDW turns repeated workflow failure into a stabilization ticket. The original feature work stops until the workflow failure is recorded and recovered.
Good record: The user's complaint becomes official input, not an aside in chat.
Failure mode: Continuing the original task can make the process failure larger than the feature issue.
Apply it: Treat mid-run corrections as interrupts. Update the ticket and return to approval.
Case 7. Duplicate ticket-link display¶
Problem: The same ticket link appeared twice in the visible result, making the UI noisy and confusing.
What changed: The rule now says a completion answer should not emit a second clickable link for the same ticket when the ticket-start link was already exposed.
Good record: A small UX defect became a durable rule correction and lint/test coverage.
Apply it: Keep the first ticket-start visible, then use plain ticket id references in completion.