docs(quest): surface objective type enum and update_objective characterId requirement#52
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR documents previously undeclared requirements in the QuestManageTool. It clarifies that Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
…erId requirement The objective `type` field accepts only kill/collect/deliver/explore/interact/custom but the tool description didn't list them, so callers had to discover the enum from validation errors. Same for `update_objective` requiring `characterId` — it's a real semantic requirement (the quest must be active for that character), not just a missing field, but the action description didn't mention it. - Add OBJECTIVE TYPES section to tool description - Note characterId requirement on update_objective in both action description and workflow - Describe the type enum on the inputSchema's objectives field - Add contract tests asserting both are surfaced Closes #43 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
Two contract-discoverability fixes for
quest_manage:typeenum (kill | collect | deliver | explore | interact | custom) was only discoverable through validation errors. Now listed in the tool description and on theobjectivesinput field.update_objectiverequirescharacterId(semantic requirement — quest must be active for that character), now noted in both the action description and the workflow section.Test plan
Closes #43
🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
Tests