Repository navigation
Add explicit custom-table transactions and SQL failure handling - #42
Merged
Merged
Conversation
…sync enforcement Replace the drifted single-file README with a Diátaxis-lite docs/ tree (getting started, concepts, guides, reference) written from source and adversarially verified page-by-page against src/. Add llms.txt as the AI-agent index, CONTEXT.md as the domain glossary, and ADR 0001 recording the documentation architecture. Keep docs in sync with code via three layers: a source→page map in docs/agents/docs-map.md, a hard docs-sync rule in CLAUDE.md plus a definition-of-done item in docs/agents/issue-tracker.md, and a Stop hook (.claude/settings.json) that blocks sessions modifying src/ without touching docs.
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.
Adds an explicit transaction helper for custom-table repositories, including nested savepoints, rollback on failed writes, and multisite connection checks. Repository writes and reads report SQL failures instead of allowing partially successful operations to look committed.
Documents the transaction API and its limits: HTTP calls and schema migrations stay outside transactions.
Validation: full single-site suite passed (180 tests / 515 assertions); multisite suite passed (9 tests / 27 assertions), using PHP 8.4 and an isolated local database.