Get the site check
struq_controleThe check an agent runs locally on its own work; Struq never reads project code and returns no score. It returns the AI-tell list (em and en dashes, eyebrows, pills, gradient text and glow, mono on marketing, Inter and other default faces, default purple or blue, numbered steps, icon grids, notes to the client and stand-ins such as Your Name or example.com, and more) and the consistency rules of the register, each with regex detectors, plus the procedure and the fix order. For a marketing site (the default) it adds the film rules and the commands that run the film check on the storyboard and on the built page, links to anchors that do not exist included. The film check runs from six files in .struq/film/ (the check module, the hand check, the film fields of the blocks as JSON, a short node runner, and the gates with their source stamp); files true returns those files alone, once per project, and every other answer leaves them out. stage look returns the rendered check (.struq/film/look.mjs: the served build at 390 and 1440, blank screens, contrast over photos, clipped descenders, broken numbers, missing fonts, errors) and the brief for a fresh art director, with the steps; ask for it once per project. The site answer of a marketing site carries GATES: the verdict on look (the contents of .struq/look.json) and art_direction (the contents of .struq/art-direction.md, every ask answered Built: or Refused:) sent with the call, the same rules as the skill, and it fails while either is missing; send both before calling the work done. stage plan returns the film rules alone, for the storyboard before any block is fetched; with hand (the id of the Hand: line in STRUQ.md) it also returns that hand as .struq/film/hand.json, so the plan check fails a Language, Palette, Type, Opening or Centerpiece outside it (off-draw). register app returns the tells and the app rules without the film check.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "struq_controle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hand | No | The hand id from the Hand: line of STRUQ.md. With stage plan the answer carries that hand as .struq/film/hand.json, so the plan check holds the Language, Palette, Type, Opening and Centerpiece lines to it (off-draw). Pass it whenever STRUQ.md has a Hand line. | |
| look | No | The contents of .struq/look.json exactly as look.mjs wrote it (a report, not code). Send it with art_direction on the site check before calling the work done; without it the GATES verdict fails. | |
| files | No | true returns only the six film check files to write into .struq/film/ (the check module, the hand check, the blocks' film fields as JSON, a node runner, the gates and their source stamp), about 65,000 characters. Ask once per project, when .struq/film/ does not hold them yet; every other call omits it. Ignored for register app. | |
| stage | No | site (the default) once the site is built: tells, rules, the page check and the GATES verdict on look and art_direction. plan once the treatment is written in STRUQ.md and before any block is fetched: only the film check, to run on the storyboard. look once the page check passes: the rendered check (.struq/film/look.mjs, about 60,000 characters) and the art director's brief, with the steps that run them; ask once per project. Ignored for register app. | |
| register | No | marketing (the default) for a site or landing page: the cinematic register the blocks are built in, with the film check. app for an app or dashboard: adds the weight ladder, the 120-220ms motion band and the single spacing scale, and drops the film check. Infer it from the project instead of asking. | |
| art_direction | No | The contents of .struq/art-direction.md: the fresh art director's numbered asks, each answered Built: <what changed> or Refused: <reason>. Send it with look on the site check before calling the work done; without it the GATES verdict fails. |