Skip to content

chore: strengthen spec-review/draft with API safety checks#171

Merged
coji merged 1 commit into
mainfrom
chore/improve-spec-review-instruction
Mar 28, 2026
Merged

chore: strengthen spec-review/draft with API safety checks#171
coji merged 1 commit into
mainfrom
chore/improve-spec-review-instruction

Conversation

@coji
Copy link
Copy Markdown
Owner

@coji coji commented Mar 28, 2026

Summary

  • Add step 5 to spec-review instruction: check for invalid input tests on new public API options, async in-flight guards, doc example correctness, and explicit behavior preservation criteria
  • Add matching items to spec-draft quality checklist
  • Remove last remaining vitest-attachments PNG

Context

Retrospective from #169 (event classification PR): CodeRabbit caught pollingIntervalMs lacking input validation and in-flight guard, plus redundant isDomainEvent examples. These should have been caught at spec stage — spec-review now checks for these patterns.

Test plan

  • No code changes, only takt workflow configuration
  • Next takt task run validates the improvements

🤖 Generated with Claude Code

Summary by CodeRabbit

リリースノート

  • ドキュメント
    • 開発プロセスの品質チェックリストおよび仕様レビュー手順を更新しました。

注記: このリリースに含まれるのは内部プロセスドキュメントの改善のみであり、ユーザー向けの機能変更はありません。

- Add step 5 to spec-review: check for invalid input tests on new public
  API options, async in-flight guards, doc example correctness, and
  explicit behavior preservation criteria
- Add matching items to spec-draft quality checklist
- Remove remaining vitest-attachments PNG

Learned from #169 CodeRabbit review: pollingIntervalMs lacked input
validation and in-flight guard, isDomainEvent examples were redundant.
These should have been caught at spec stage.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
durably-demo Ready Ready Preview Mar 28, 2026 11:34am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
durably-demo-vercel-turso Ignored Ignored Preview Mar 28, 2026 11:34am

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 28, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2c50abcc-d5c2-41ba-873b-6f765e0a3afb

📥 Commits

Reviewing files that changed from the base of the PR and between 9b2629a and 1f9d399.

⛔ Files ignored due to path filters (1)
  • packages/durably-react/.vitest-attachments/29a9f1aed8057f830dcb6e50abcda0377e0b2912.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • .takt/facets/instructions/spec-draft.md
  • .takt/facets/instructions/spec-review.md

📝 Walkthrough

ウォークスルー

.takt/facets/instructions/ 配下の2つのスペック関連ファイルに品質チェックリスト項目を追加。無効入力テスト(ゼロ、負の値、NaNなどの数値パラメータ)およびビジー状態回避用の非同期ガード要件を新たに記載。

変更点

コホート / ファイル 概要
スペック仕様書の品質チェックリスト更新
.takt/facets/instructions/spec-draft.md, .takt/facets/instructions/spec-review.md
新しい公開API オプションに対する無効入力ハンドリングテスト(ゼロ、負の値、NaN値を含む)、および非同期操作におけるインフライト要求の競合防止ガードに関するチェックリスト項目を追加。

推定コードレビュー工数

🎯 1 (Trivial) | ⏱️ ~3分

関連の可能性があるPR

ポエム

🐰 スペックの品質よ、さらに高く
無効入力も、ガードも全て
チェックリストに詰まった想い
完璧な仕様へ、ぴょん、ぴょん、ぴょん!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/improve-spec-review-instruction

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coji coji merged commit 4701995 into main Mar 28, 2026
5 checks passed
@coji coji deleted the chore/improve-spec-review-instruction branch March 28, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant