docs: fix stale AGENTS.md claims about migrations, 404 handling, and ty suppressions - #51
Merged
Merged
Conversation
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.
Audited AGENTS.md against the code after #47. Corrections:
migrations/env.pysets the driver topostgresql+psycopg(psycopg 3, perpyproject.toml), notpostgresql/ psycopg2.NotFoundError→not_found_error_handler(404) registered next toDuplicateKeyError(400). No handler raiseslitestar.exceptions.HTTPException.ty: ignore[invalid-argument-type]comments are onLifespanManager/ASGITransportintests/conftest.py. The "DTO list construction" suppression no longer exists.just testexample:tests/test_decks.py::test_createdoesn't exist; switched totest_post_decks.Verified unchanged: commands/justfile, Python 3.14 and port 8000, request flow, DI provider scopes (modern-di defaults unscoped providers to
Scope.APP), persistence, test isolation, settings, routes, schemas, deck response shapes, ruff config, agent-skills section (missingCONTEXT.md/docs/adr/is intentional perdocs/agents/domain.md).