Skip to content

Make the test database the first check for agents - #11

Merged
PavlosIsaris merged 1 commit into
mainfrom
database-first
Oct 1, 2026
Merged

PavlosIsaris merged 1 commit into
mainfrom
database-first

Conversation

@PavlosIsaris

Copy link
Copy Markdown
Contributor

A third fresh-agent test (Haiku, read-only, volunteering-matching-platform) cited evidence for every input, so the v0.1.6 evidence rule worked. But the agent copied pdo_mysql and an .env that points to MySQL from the old workflow, and it reported no blockers. The old workflow started a MySQL service. The shared workflow does not, so the first run would fail.

  • The guide's top rules get a new rule 5, "Check the test database first".
  • Rule 4 now says that a value from the old workflow is evidence only if the shared workflow gives the same environment.
  • laravel-ci.yml and its template say in their headers that there is no database service. Agents read those files directly.
  • AGENTS.md gets the same limit on old-workflow evidence.

A fresh agent set pdo_mysql and a MySQL .env from the old workflow and
reported no blockers. The old workflow started a MySQL service, which
the shared workflow does not.

- Guide: rule 5 'Check the test database first'; old-workflow values are
  evidence only when the shared workflow gives the same environment
- laravel-ci.yml and its template say in the header that there is no
  database service
@PavlosIsaris
PavlosIsaris merged commit 3f06429 into main Oct 1, 2026
28 checks passed
@PavlosIsaris
PavlosIsaris deleted the database-first branch October 1, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant