Architecture review

Gate your architecture before you build.

Give your coding agent a product brief. JoistGate checks the requirements, domain model, design decisions, and delivery plan for structural errors before implementation.

  1. Gate 1Requirementsbrd.md
  2. Gate 2Domain modelcontexts.json
  3. Gate 3Decisionsadr/*.md + c4.md
  4. Gate 4Data and planschema.sql + erd.md + backlog.json
Drawing note / recorded rejectionbrd-vague.md
GATE_1_BRD: REJECTED (15 error(s), 0 warning(s))
  ERROR G1-03 [docs/demo/brd-vague.md] State a p95 latency target with a number and unit, e.g. 'p95 < 200 ms'.
  ERROR G1-09 [line 4] Vague word 'fast' without a measurable target. Replace it with a number, or mark the line <!-- vague-ok -->.
  ERROR G1-09 [line 6] Vague word 'سريع' without a measurable target. Replace it with a number, or mark the line <!-- vague-ok -->.
Excerpt from docs/demo/gate1-output.txt
49
deterministic checks
4
stage gates
0
runtime dependencies

Feel the problem in 2 minutes

Run the gate. Play Gate Run: sprint along the girders and clear every architecture violation.

Simulated training exercise, not a real scan result.

Sheet 01

From brief to checked spec

Step 1

Draft the requirements

Give your agent a brief. Define actors, permissions, and measurable targets in brd.md.

Step 2

Model the domain and record decisions

Assign one owner per aggregate in contexts.json. Record decisions in ADRs and map the system in C4.

Step 3

Check data and delivery

Review PostgreSQL-style DDL, the ERD, and backlog dependencies. Resolve blocking findings before implementation.

Sheet 02

Agent adapter folders (live install not verified)

Vendor folders document setup for desktop, CLI, and IDE tools. Web chat workflows run the checks locally.

  • Claude Code
  • Codex
  • Gemini CLI
  • OpenCode
  • GitHub Copilot
  • Google Antigravity
  • skills CLI
  • Claude.ai / ChatGPT / Gemini

Sheet 03

Install JoistGate

Use the documented command or copy steps for your tool.

Extract joistgate-skill.zip into ~/.claude/skills/ or .claude/skills/.

/plugin marketplace add QidarSarhan/joistgate
/plugin install joistgate@joistgate

Sheet 04

Project evidence

DOCUMENTED

Recorded rejection

The demo flags “fast” and “سريع” on lines without measurable targets. The terminal shows an excerpt of the saved output.

PARTIAL

BookNook and recorded tests

The README records 156 passing tests on Python 3.11, 3.12 and 3.13 (an earlier run). The current suite has 185 tests; 184 pass and 1 is skipped on Python 3.14. The bundled BookNook fixture has a passing status asserted in tests/test_cli.py. Python 3.8 compatibility and Windows execution remain unverified in the project evidence.

UNVERIFIED

Live agent installation

Vendor folders include install steps. The evidence lacks real-tool installation and discovery logs.

Sheet 05

Limits of a passing run

  • Passing means the implemented checks reported no blocking errors. Five of 49 checks are warning-only. Numeric patterns can accept unrelated digits or historical targets. Money-name heuristics can miss salary, gross and wage columns.
  • C4 checks are structural. PostgreSQL-style DDL is read without execution. Review effective RLS roles, tenant isolation, and ledger behavior separately.
  • Unsigned stamps record SHA-256 hashes of input files, listed check IDs, and warnings. The stamp lists identified skipped checks and the effective Gate 4 options, including --shared-tables. It does not record the full command line, so retain the invocation alongside it. Effective isolation and ledger integrity still require review.
  • Malformed JSON syntax and many wrong shapes exit with a usage error (exit 2). Others are reported as ordinary gate findings.
Get Involved

Join Our Community

Whether you are submitting pull requests, or helping others debug, your participation powers this project.

Check the design before the code exists.

Mission

To give every builder small, honest tools that check before an agent builds on a mistake.

Vision

A builder community, Arabic-first and global in reach, where checking before executing is a daily habit.

Documented before announced · Local by default · Arabic is native, not translated · Limits stated openly · Open source