brain-e2e-tests

Runs 26 automated checks validating brain compliance, timeline, cron configuration, and HR migration.

1|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/tapway/shogun-os --skill brain-e2e-tests-tapway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brain-e2e-tests
Source: https://github.com/tapway/shogun-os/tree/main/skills/gbrain/brain-e2e-tests
Command: npx skills add https://github.com/tapway/shogun-os --skill brain-e2e-tests-tapway

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Brain infrastructure changes (validator edits, new cron jobs, folder migrations, pre-commit hook updates) can silently break compliance rules. This Skill runs a full regression suite to catch those breakages before they propagate. ## Core Features & Use Cases - Six test categories: validator behavior, pre-commit hook wiring, timeline entries, cron configuration, script validation, and HR folder migration — 26 checks total. - Regression detection: verifies that brain-writing cron jobs load the brain-compliance skill and that script-only crons include inline validation. - Use Case: After migrating folders from HR/ to hr/, run the suite to confirm old paths are gone, new paths exist, and KPI files still pass validation — expecting 22 passed, 0 failed. ## Quick Start Run the brain E2E test suite to verify all brain infrastructure checks pass after my latest validator change.

Frequently Asked Questions about brain-e2e-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run the brain E2E test suite?

Run the suite with python3 against the skill path or the standalone script at /tmp/brain-e2e-tests.py. The expected result is 22 passed, 0 failed across the 26 checks.

When should I run brain infrastructure regression tests?

Run them after modifying validate-brain-page.py, wiring new cron jobs that write brain pages, performing folder migrations like HR/ to hr/, running timeline injection campaigns, or updating the pre-commit hook.

What does the brain E2E suite check in cron configuration?

It verifies that all brain-writing cron jobs have the brain-compliance skill loaded and that all three script-only crons include the validator inline. This catches missing validation wiring after cron changes.

Can I use this suite to validate a single brain page?

No, this suite tests infrastructure wiring, not individual pages. Use the brain-compliance skill instead for validating individual brain pages against formatting rules.

What prerequisites are needed before running the tests?

You need gbrain initialized with the brain repo present, the pre-commit hook installed, at least one brain-writing cron job configured, and Python 3 available on the system.