Remove the Pro gate from goals - #491
Conversation
|
Implementation approach:
This shape deletes the obsolete gate instead of retaining a dormant configuration fallback. It keeps the cost-bearing AI review behind its own narrow gate rather than preserving plan checks on the core goal loop. |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes The current review covers the implementation-free bootstrap commit only.
- Bootstrap commit: Established the feature branch and pull request without changing source, tests, configuration, contracts, or generated files.
- Implementation status: No goal gating behavior is present in this diff; the implementation will need review after subsequent commits land.
GPT Sol | 𝕏
|
Implementation is paused on a ticket contradiction before any source commit. Acceptance criterion 1 requires Recommended resolution: treat criterion 1 as a production and test code search that excludes |
There was a problem hiding this comment.
Important
The chat goal-review path is no longer Pro gated, so the entitlement boundary is incomplete.
Reviewed changes I reviewed the goal ungating implementation added since the prior Pullfrog review.
- Removed broad goal gating: Removed
IPayGateServicechecks from goal CRUD, reads, progress, metrics, habit linking, and onboarding while retaining user ownership filters and relationship limits. - Narrowed generated review gating: Added
CanUseGoalReviewtoGetGoalReviewQueryand retained its Pro behavior for HTTP and MCP callers. - Migrated goal configuration: Deleted the
GoalsProOnlyseed and set thegoal_trackingplan requirement to null through the EF migration and model snapshot. - Updated agent policy and tests: Removed goal capability requirements and adjusted affected handler, onboarding, pay gate, policy, and persistence tests.
GPT Sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes I reviewed the chat goal review entitlement fix added since the prior reviewed version.
- Gated chat goal reviews: Added
CanUseGoalReviewat the start ofGoalReviewTool.ExecuteAsync, before any date, progress, or repository work. - Covered free user denial: Added a regression test that verifies a pay gate failure is returned without loading goals.
GPT Sol | 𝕏
…als-ungate # Conflicts: # architecture.html # src/Orbit.Application/Profile/Commands/ApplyOnboardingCommand.cs
|
@pullfrog review |
|
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes I reviewed the complete current diff for goal entitlement changes, review gating, migration state, agent policy, generated architecture artifacts, and affected tests.
- Core goal access: Removed the broad Pro checks from goal CRUD, reads, progress, metrics, habit linking, and onboarding while preserving user ownership filters, date validation, relationship limits, and destructive-operation confirmation.
- Goal review entitlement: Added the dedicated
CanUseGoalReviewboundary to both the MediatR query used by HTTP and MCP and the direct chat tool before cached or repository-backed data can be returned. - Configuration and policy: Removed the obsolete
GoalsProOnlyconfig, setgoal_trackingto no plan requirement, and removed goal capability plan and feature requirements without changing scopes, mutation risk, or confirmation behavior. - Verification coverage: Updated handler, pay gate, onboarding, agent policy, cache, concurrency, and goal-completion tests, including a free-user denial regression for the chat review path.
GPT Sol | 𝕏




Summary
Verification
Assumptions
Closes #326