fix(dashboard): require goal update confirmation - #818
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
af5322d to
3ceb7ed
Compare
|
The latest updates on your projects. Learn more about Unkey Deploy
|
|
Goal updates previously bypassed the preview and confirmation used by other agent mutations. Omitted or false confirmation now reads the current goal and returns the proposed fields without writing; confirmed updates apply only the supplied fields. Empty updates return without requesting approval or writing, avoiding unnecessary definition rechecks.
This fixes the native goal tool used by Slack and dashboard agents. The external MCP server has a separate wrapper that already requires confirmation. The confirmation flag remains a conversational contract, not a server-authenticated approval or a stored, immutable payload. A short internal skill note documents the verified routing.
Validation: 31 focused AI tests, 963 AI tests, 95 Slack tests, root lint, all 33 typecheck tasks, and all 29 pre-push test tasks passed. Regression coverage checks omitted/false/true confirmation, exact mutation inputs, false field values, and empty updates. The no-op regression failed before the fix and passed afterward. The AI suite skips 33 integration tests requiring external services. Independently reviewed.
Independent of #820 and #821, which touch separate files. No migrations, new dependencies, environment variables, or user setup. Maintainer-directed, AI-assisted implementation and review.