SECURITY-169-API-08: harden EQ agent runtime safety and cost controls#2808
Merged
fermatmind merged 1 commit intoJul 6, 2026
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
aa034b9 to
f4ee6c2
Compare
fermatmind
added a commit
that referenced
this pull request
Jul 6, 2026
Close SECURITY-169-API-08 train ledger after implementation PR #2808 merged and post-merge validation completed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
eq_journey_feedback_submittedanalytics unless consent-to-store is true and the journey state persisted.Why
Validation
php -l backend/app/Services/Eq/EqAgentRuntimeResponder.phpphp -l backend/app/Services/Eq/EqAgentProviderManager.phpphp -l backend/app/Services/Eq/OpenAiEqAgentProviderClient.phpphp -l backend/app/Http/Controllers/API/V0_3/AttemptReadController.phpphp -l backend/app/Services/Analytics/EventRecorder.phpphp -l backend/config/ai.phpcd backend && ./vendor/bin/pint app/Services/Eq/EqAgentRuntimeResponder.php app/Services/Eq/EqAgentProviderManager.php app/Services/Eq/OpenAiEqAgentProviderClient.php app/Http/Controllers/API/V0_3/AttemptReadController.php app/Services/Analytics/EventRecorder.php config/ai.phpcd backend && APP_ENV=testing DB_CONNECTION=sqlite DB_DATABASE=:memory: php artisan test --filter=EqAgentContextApiTest --no-ansicd backend && APP_ENV=testing DB_CONNECTION=sqlite DB_DATABASE=:memory: php artisan test --filter=Eq60JourneyStateContractTest --no-ansicd backend && php artisan route:list --no-ansicd backend && APP_ENV=testing DB_CONNECTION=sqlite DB_DATABASE=/tmp/fap-api-security-169-api-08.sqlite php artisan migrate --force --no-ansicd backend && bash scripts/ci_verify_mbti.shpython3 -m json.tool docs/codex/pr-train-state.json >/dev/nullruby -e "require 'yaml'; YAML.load_file('docs/codex/pr-train.yaml'); puts 'yaml ok'"git diff --checkDeferred items