Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .agents/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"marestail-gate": {
"Stop": [
{
"type": "command",
"command": "marestail gate --hook",
"timeout": 900
}
]
}
}
15 changes: 15 additions & 0 deletions .claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "marestail gate --hook",
"timeout": 900
}
]
}
]
}
}
12 changes: 12 additions & 0 deletions .cursor/hooks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"hooks": {
"stop": [
{
"command": "marestail gate --hook",
"timeout": 900,
"loop_limit": 5
}
]
}
}
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,15 @@
*.ez
/build
erl_crash.dump
prompt.md
prompt.md

# marestail
.marestail/
mutants/
.scannerwork/
.venv/
.coverage
reports/mutation/
.stryker-tmp/
.idea/
.vscode/
15 changes: 15 additions & 0 deletions .grok/hooks/marestail-gate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "marestail gate --hook",
"timeout": 900
}
]
}
]
}
}
5 changes: 5 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Gate

Run `marestail gate` before finishing any change and keep going until it prints GATE PASSED. It enforces 100% coverage, CRAP at most 4, no comments or docstrings, the dependency direction, and a clean Sonar. Fix the code, never the gate.

Documentation lives where this repo already keeps it; update those places and add no new documentation files.
5 changes: 5 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Gate

Run `marestail gate` before finishing any change and keep going until it prints GATE PASSED. It enforces 100% coverage, CRAP at most 4, no comments or docstrings, the dependency direction, and a clean Sonar. Fix the code, never the gate.

Documentation lives where this repo already keeps it; update those places and add no new documentation files.
Loading
Loading