Repository navigation
Conversation
Adds the tables #__ai_reviews, #__ai_review_findings and #__issue_promotions with their table classes, and documents the SQL import format the external review tool writes. The #__migrations INSERT in etc/mysql.sql was missing 20261109002, 20261110001 and 20261110002, so a fresh install would run them again on top of the finished schema. A new test keeps the list and the migration files in sync. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
This is the first of a series of PRs that let site admins process the results of AI reviews of the open joomla-cms issues and pull requests. The reviews run locally with Claude Code in a separate tool; its results are imported into the tracker as an SQL file. Nothing on the server calls an AI, and the AI never changes anything on GitHub by itself: every change is a click by a site admin, made with the admin's own GitHub account.
This PR adds the storage:
#__ai_reviews: one review of an item per review run (batch), with the PR head commit, a hash of the description and the time of the item's last activity at review time. These are used later to hide reviews of items that changed since.#__ai_review_findings: the findings of a review (testing instructions, duplicate, fixed elsewhere, obsolete, abandoned, needs info, test suitability) and how an admin processed them.#__issue_promotions: which pull requests were posted to Mattermost for testing, so that none is posted twice.Documentation/Applications/AI-Reviews.mdwith the SQL import format the review tool writes.Also fixes
etc/mysql.sql: its#__migrationsINSERT was missing20261109002,20261110001and20261110002, so a fresh install would run those migrations again on top of the finished schema. A new test keeps the INSERT and the migration files in sync.The series
Each PR builds on the previous one, so later PRs show the commits of earlier ones until those are merged.
Testing Instructions
php bin/jtracker database:migrateon an existing installation and check that the three tables exist.etc/mysql.sqland check thatdatabase:migratehas nothing left to run.Documentation/Applications/AI-Reviews.md) twice and check that the second import adds nothing.🤖 Generated with Claude Code