forked from retoor/devplacepy
A member whose account has not accepted the terms in force now gets one dialog on the action they attempted instead of a dead-end refusal. The client handler is the single TermsGate, wired into every Http POST helper so the four optimistic controllers cannot swallow the gate into an error flash, and the original request is replayed once the acceptance is recorded. Reading the site and deleting an account stay unblocked. apple.md is the source brief the compliance research documents reference. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1.1 KiB
1.1 KiB
description, allowed-tools
| description | allowed-tools |
|---|---|
| Run the mandatory DevPlace pre-completion verification on changed files - the per-language checks, the app import, and an em-dash scan. Zero errors required. Never runs the test suite. | Bash(python *), Bash(node *), Bash(git status:*), Bash(git diff:*), Read, Grep |
Changed files in the working tree:
!git status --porcelain
Verify the work is complete and correct, following the DevPlace verification rule (zero tolerance):
- For each changed or new file under
devplacepy/ortests/, run the per-language checks (python -m py_compile+pyflakesfor Python,node --checkfor JS, brace balance for CSS, tag and{% %}balance for templates). Every file must come back clean. - Run
python -c "from devplacepy.main import app"- it must import with no error. - Grep the changed files for em-dash characters (U+2014 and U+2013) that are authored prose, and report any. Leave em-dashes that are data (replace/maketrans/regex targets, fixtures) untouched.
- Report a PASS or FAIL summary with the exact failures.
Do not run the test suite. Do not perform any git write.