Skip to content

feat(e2e): the E2E refuses to run for a branch that only changes files it never reads - #175

Merged
SebasB76 merged 1 commit into
mainfrom
feat/e2e-skip-docs-only
Nov 14, 2026
Merged

SebasB76 merged 1 commit into
mainfrom
feat/e2e-skip-docs-only

Conversation

@SebasB76

Copy link
Copy Markdown
Owner

What

uv run pytest now stops right away when every file the branch changes against main is one the E2E never reads:

E2E rechazado: esta rama solo cambia docs, guías o imágenes, que el E2E no lee. Abre el PR; lo que cambie en los bots se prueba con vinci-check.
Si el capitán lo pidió: E2E_FORCE="<motivo>" uv run pytest

Not read by the E2E: .claude/, .github/, scripts/, experiments/, docs/guia/, docs/images/, images and videos, and .md files outside hermes/ and tests/. Everything else still runs it: hermes/*.md (the fake model tells the bots apart by their SOUL.md), config.toml (the E2E builds its config from it), and docs/'s webviews (it opens them in Chromium and Node). The decision used to be each agent's judgment from AGENTS.md; now it lives in one place. The guard was tested with a faked docs-only diff, which got the refusal above. A full E2E run was skipped: this changes only when it starts, not what it checks.

Docs: AGENTS.md «Working rules» lists the new refusal and says not to work around it.

…s it never reads

A branch that only touches guides, .md outside hermes/, images, .claude/, .github/,
scripts/ or experiments/ has nothing for the E2E to check, so conftest.py refuses it
and points to vinci-check. hermes/*.md, config.toml and docs/'s webviews still run it:
the E2E reads them.
@SebasB76
SebasB76 merged commit 51c11e7 into main Nov 14, 2026
1 check passed
@SebasB76
SebasB76 deleted the feat/e2e-skip-docs-only branch November 14, 2026 23:00
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