Skip to content

The check

warlock grimoire check reads the written files, the book and the tests, and reports every place where they disagree: a step that names a route that does not exist, a criterion no test proves, a file no feature owns. It only reads. It never changes a written file or a source file.

Terminal window
npx warlock grimoire check
npx warlock grimoire check --all # list every finding
npx warlock grimoire check --json

One line per finding, then the counts:

grimoire/features/auth/flows/login.md:29 GR4001 warning auth/login AC-1 has no test
grimoire/features/catalog/flows/browse-products.md:26 GR4001 warning catalog/browse-products AC-1 has no test
grimoire/features/catalog/flows/new-arrivals.md:30 GR4001 warning catalog/new-arrivals AC-3 has no test
grimoire/features/catalog/flows/wishlist.md:12 GR2001 error route step "POST /api/wishlist" matches no route (expected)
grimoire/features/catalog/flows/wishlist.md:13 GR2004 error notification step "wishlist-price-drop" matches no notification (expected)
grimoire/features/catalog/flows/wishlist.md:30 GR4001 warning catalog/wishlist AC-1 has no test (expected)
0 errors, 3 warnings, 3 expected (routes: fresh)
  • Each line is <file>:<line> <code> <severity> <message>. A finding with no single place shows -.
  • Under each error that is not expected, a line fix: … says what to do.
  • Problems come first: errors, then warnings, each by file and line. Expected findings come last.
  • The last line counts the errors and warnings that are not expected, and the expected findings. It also says how fresh the route facts were.
  • Errors always print in full. When a code has more than five warnings, the text shows the first five of that code, then … GR3001: 6547 findings in all, 6542 not shown, and a line says how many findings were not listed. A project with no written files yet therefore prints a few lines per code, not thousands. --all lists every finding.
  • The last lines are the book state and the time, after any output the app printed while it booted.
  • --json is always complete. It prints the report object: findings (each with code, severity, message, at, expected, subject and hint), counts, ok and routes.

The command exits with code 1 when there is an error that is not expected, and 0 otherwise. Warnings never fail it.

A feature or flow with status: proposed describes work that is not built yet, so its routes, pages and tests do not exist. Every finding about it is marked (expected): it is listed so you can see what is still to build, and it never fails the check. Once the code exists, set the status to building or shipped; from then on the same findings are problems.

Route steps, and mail, job, event and notification steps, are checked against facts that need the app to boot. The check refreshes them when the routes files changed (routes: fresh). A route step matches a route the same way warlock scry --route does: params written either way (:id or [id]), a trailing / ignored, the method in any case, and ALL matching any method. GR2001 means no route matches that way.

  • When they are older than the routes files (routes: stale), the steps are checked against the cached facts and the report adds GR8003.
  • When there are none (routes: missing, the app did not boot), those steps are not checked. GR8002 says why. Page steps and affects steps are always checked.
AreaIt reportsCodes
Written filesa file that does not follow its templateGR1001–GR1028
Stepsa route, page, mail, notification, job, event or flow that does not existGR2001–GR2007
App namesa feature, flow, criterion or task naming an app with no folder, or one its feature does not listGR2008, GR2009
Referencesa changelog entry or README relation naming a flow or criterion that does not existGR2010–GR2012
Source filesno header sentence, no feature, two owners, a wrong @feature tag or folder, a file no flow reachesGR3001–GR3006
Testsa criterion with no test, a @proves line that names nothing or has the wrong form, failed or old resultsGR4001–GR4008
Appsblocks, conditions, pages, layouts and screens that point at nothingGR5001–GR5010
Versionsthe README version or date out of step with the changelog, a release that does not matchGR6001–GR6008
Tasksa task naming a feature or flow that does not exist, or in the wrong folderGR7001–GR7005
Code ruleswith rules: in grimoire/settings.md: physical directions in styles, generic error text, kind, .jsGR3007–GR3010
Focused testsa test focused with .only or skipped with .skipGR4011, GR4012
Showna @shows line that names nothing, a language with no capture, a scene that failedGR4013–GR4016
Approvalsa change since the approved baseline, a rejected change that is still thereGR4017–GR4019
Public APIroutes that differ from the approved snapshotGR7013

warlock grimoire guard reports GR7006–GR7012 for a change checked against its task (see Drift controls).

Steps and criteria of a retired flow are not looked up: its code is gone on purpose.

A test proves a criterion with a line comment directly above it:

// @proves catalog/new-arrivals AC-2
it("returns the global list when the customer has no country", async () => {
// …
});

The check reads these lines from the test files the book lists: spec files under the source roots, e2e/**/*.e2e.ts and tests/**/*.{test,spec}.ts at the project root. Lines inside block comments are ignored. See Test results for the reporter that records their last results.

Terminal window
npx warlock explain GR2001

It prints the title, the fix and the skill for the code. Every code is listed below.

import { checkGrimoire, formatCheckReport, openGrimoire } from "@warlock.js/grimoire";
import { createWarlockAdapter } from "@warlock.js/grimoire/warlock";
const snapshot = await openGrimoire(process.cwd(), createWarlockAdapter(), { routes: "cached" });
const report = checkGrimoire(snapshot);
console.log(formatCheckReport(report).join("\n"));

scanProofsInText(text, file) reads the @proves lines of one test file’s text, and scanProofs(root, files) reads them from a list of project-relative test files. Both return the proof lines and the GR4003–GR4005 findings.

A route step reaches the handler’s files and the middleware files the matched route names; the routes file’s other imports are not followed, because it imports every controller of its module. Files whose role runs them by being present (migration, seed, command, main, layout and root) are never reported. A command is a file named *.command.ts or one directly in a module’s commands folder. A file only spec files import is left out only when it is a test helper, that is, it sits in a tests, __tests__, fixtures, support or test-utils location (or is named *.test-utils.*). A source file only its own spec imports is still reported: it is dead code.

Mail and notification entries are checked against what the booted app reports. Without route facts (routes: missing) they are skipped, like the route and named-thing steps, so a first open in dev shows no false GR5008.

Each code keeps its meaning across releases. An error fails the check unless it is expected; a warning never does.

A written file has no front matter.

  • Severity: error
  • What to do: Start the file with the front matter block its template shows, between two --- lines.
  • Skill: write-a-feature

The front matter cannot be read.

  • Severity: error
  • What to do: Write one key: value per line; lists as [a, b] or as - item lines under the key; close the block with ---.
  • Skill: write-a-feature

A required front matter key is missing.

  • Severity: error
  • What to do: Add the key named in the message; the template of that file lists every required key.
  • Skill: write-a-feature

A front matter value has the wrong form.

  • Severity: error
  • What to do: Use the form the message names: dates as yyyy-mm-dd, versions as 2.1, ids in lower-case-with-dashes, a status from the list (a task status is open, waiting for approval, approved, in progress, blocked, done or dropped; a question for the owner is waiting for approval).
  • Skill: write-a-feature

A front matter key is not part of the template.

  • Severity: warning
  • What to do: Remove the key, or move what it says into the body of the file.
  • Skill: write-a-feature

A required heading is missing.

  • Severity: error
  • What to do: Add the heading named in the message, spelled as in the template.
  • Skill: write-a-feature

A heading is not part of the template.

  • Severity: warning
  • What to do: Use the template’s headings; put the text under one of them or remove it.
  • Skill: write-a-feature

A step line has the wrong form.

  • Severity: error
  • What to do: Write steps as 1. route POST /wishlist: a number, a kind, then the name used in code.
  • Skill: write-a-feature

A step names an unknown kind.

  • Severity: error
  • What to do: Use one of: page, route, mail, notification, job, event, outside service, affects.
  • Skill: write-a-feature

Steps are not numbered 1, 2, 3 in order.

  • Severity: error
  • What to do: Number the steps from 1 without gaps, in the order a user meets them.
  • Skill: write-a-feature

A case line has the wrong form.

  • Severity: error
  • What to do: Write cases as - double submit two taps save once: the question, spaces, then the answer.
  • Skill: write-a-feature

A case question is not answered.

  • Severity: warning
  • What to do: Answer the question under Cases (or does not apply and why), or list it under Not handled. A flow with no writes (only pages and GET, HEAD or OPTIONS routes) may leave out duplicate and double submit.
  • Skill: write-a-feature

A criterion line has the wrong form.

  • Severity: error
  • What to do: Write criteria as - AC-3 a guest is sent to sign in, optionally - AC-4 [mobile] ….
  • Skill: write-a-feature

A criterion id is used twice in one flow.

  • Severity: error
  • What to do: Give the new criterion the next free number. Never renumber existing criteria.
  • Skill: write-a-feature

A changelog line has the wrong form.

  • Severity: error
  • What to do: Write entries as - 2.1 fixed new-arrivals: what changed (AC-2).
  • Skill: record-a-change

A changelog entry uses an unknown word.

  • Severity: error
  • What to do: Use one of: added, changed, fixed, removed.
  • Skill: record-a-change

A changelog heading has the wrong form.

  • Severity: error
  • What to do: Use ## Unreleased, or ## <release> (<yyyy-mm-dd>) for entries of a release.
  • Skill: record-a-change

A blocks table has the wrong form.

  • Severity: error
  • What to do: Use the columns Block, Flow, Who sees it, Changes with; one row per part of the page.
  • Skill: describe-an-app

An id does not match its folder or file name.

  • Severity: error
  • What to do: Make the front matter id (or release) equal the folder or file name.
  • Skill: write-a-feature

A file in the grimoire folder is not part of the layout.

  • Severity: warning
  • What to do: Move the file to where the layout expects it, or remove it.
  • Skill: use-the-grimoire

A feature, app, page or screen folder has no README.md.

  • Severity: error
  • What to do: Add README.md with the front matter of its template.
  • Skill: write-a-feature

Two files use the same id.

  • Severity: error
  • What to do: Give each feature, app or task its own id.
  • Skill: write-a-feature

A task file is misnamed or misplaced.

  • Severity: error
  • What to do: Name tasks T-<n>-<slug>.md, in tasks/open/ or tasks/done/<yyyy-mm>/.
  • Skill: record-a-change

The collected-list markers of a release file are broken.

  • Severity: error
  • What to do: Keep the start and end markers in pairs, or remove both and run warlock grimoire release again.
  • Skill: record-a-change

A written file cannot be read.

  • Severity: error
  • What to do: Save the file as UTF-8 text.
  • Skill: use-the-grimoire

The feature README lists a flow that has no file.

  • Severity: error
  • What to do: Add flows/<flow>.md, or remove the flow from the README’s Flows list.
  • Skill: write-a-feature

A flow file is not listed in the feature README.

  • Severity: warning
  • What to do: Add the flow to the README’s Flows list.
  • Skill: write-a-feature

A list line has the wrong form.

  • Severity: error
  • What to do: Write list lines as - name text: the name, spaces, then the text.
  • Skill: write-a-feature

An image line points outside grimoire/screenshots.

  • Severity: warning
  • What to do: Keep screenshots in grimoire/screenshots/ and write the path relative to the Markdown file, like ![Product page](../../../screenshots/web/product.png).
  • Skill: write-a-feature

A flow has no summary.

  • Severity: warning
  • What to do: Write one or two plain sentences under the flow’s # Title: who does what, and what they get.
  • Skill: write-a-feature

A route step names a route that does not exist.

  • Severity: error
  • What to do: Fix the method and path in the flow, or add the route in code.
  • Skill: record-a-change

A page step names a page that does not exist.

  • Severity: error
  • What to do: Fix the route path in the flow, or add the page to one of the feature’s apps. A step scoped like page /support [web-admin] looks only in that app.
  • Skill: record-a-change

A mail step names a mail that does not exist.

  • Severity: error
  • What to do: Use the mail’s name as code defines it, or add the mail.
  • Skill: record-a-change

A notification step names a notification that does not exist.

  • Severity: error
  • What to do: Use the notification’s name as code defines it, or add it.
  • Skill: record-a-change

A job step names a job that does not exist.

  • Severity: error
  • What to do: Use the job’s name as code defines it, or add the job.
  • Skill: record-a-change

An event step names an event that does not exist.

  • Severity: error
  • What to do: Use the event’s name as code emits it, or add the event.
  • Skill: record-a-change

An affects step names a feature or flow that does not exist.

  • Severity: error
  • What to do: Write affects <feature>/<flow> with an existing feature and flow.
  • Skill: write-a-feature

A name refers to an app with no folder.

  • Severity: error
  • What to do: Add grimoire/apps/<app>/README.md, or fix the app id.
  • Skill: describe-an-app

A flow names an app its feature does not list.

  • Severity: warning
  • What to do: Add the app to the feature’s apps, or fix the app id in Differs by app or the criterion.
  • Skill: write-a-feature

A changelog entry names a flow that does not exist.

  • Severity: error
  • What to do: Fix the flow id before the :, or add the flow.
  • Skill: record-a-change

A changelog entry names a criterion the flow does not have.

  • Severity: error
  • What to do: Fix the criterion id, or add the criterion to the flow.
  • Skill: record-a-change

A README relation names a flow that does not exist.

  • Severity: error
  • What to do: Fix the <feature>/<flow> reference in Affects and affected by.
  • Skill: write-a-feature

A case names a criterion the flow does not have.

  • Severity: error
  • What to do: Fix the (AC-n) at the end of the case line, or add the criterion under Acceptance criteria.
  • Skill: write-a-feature

An image line names a screenshot file that does not exist.

  • Severity: warning
  • What to do: Add the image under grimoire/screenshots/, or fix the path.
  • Skill: write-a-feature

A source file has no header sentence.

  • Severity: warning
  • What to do: Start the file with a one-sentence comment saying why it exists.
  • Skill: document-a-file

A source file belongs to no feature.

  • Severity: warning
  • What to do: Add its folder to a feature’s folders, or tag it @feature <id> in its header.
  • Skill: document-a-file

A source file has two owners.

  • Severity: error
  • What to do: Keep one owner: remove the duplicate folder from one feature, or keep one @feature tag.
  • Skill: document-a-file

A @feature tag names a feature that does not exist.

  • Severity: error
  • What to do: Fix the tag, or write the feature.
  • Skill: document-a-file

A feature’s folders entry does not exist.

  • Severity: error
  • What to do: Fix the folder or file path, or remove it from folders.
  • Skill: write-a-feature

A file in a feature’s folders is reached by no flow.

  • Severity: warning
  • What to do: Describe the behaviour in a flow, or delete dead code.
  • Skill: record-a-change

A style uses a physical direction where a logical one is needed.

  • Severity: error
  • What to do: Use the logical form (margin-inline-start, text-align: start, inset-inline-start, ms-4, text-start, start-0) so right-to-left languages work. When the physical side is really meant, write grimoire-allow logical-css: <why> in a comment on that line.
  • Skill: guard-a-change

A user-facing error message is generic.

  • Severity: error
  • What to do: Say what failed and what to do next (“Could not reach the server, check your connection”), mapped from the error code. When the text is not shown to users, write grimoire-allow specific-errors: <why> in a comment on that line.
  • Skill: guard-a-change

A discriminator field is named kind.

  • Severity: error
  • What to do: Name the field type.
  • Skill: guard-a-change

A relative import path ends in .js.

  • Severity: error
  • What to do: Drop the extension: ./orders.service, not ./orders.service.js.
  • Skill: guard-a-change

A criterion has no test.

  • Severity: warning
  • What to do: Write a test with // @proves <feature>/<flow> AC-<n> above it, or say in the task why not.
  • Skill: record-a-change

A @proves line names a flow or criterion that does not exist.

  • Severity: error
  • What to do: Fix the @proves line to name an existing <feature>/<flow> AC-<n>.
  • Skill: record-a-change

A @proves line has the wrong form.

  • Severity: error
  • What to do: Write // @proves <feature>/<flow> AC-<n> on its own line.
  • Skill: record-a-change

A @proves line is not directly above a test.

  • Severity: error
  • What to do: Move the line right above the it(…) or test(…) it describes.
  • Skill: record-a-change

One test proves two criteria.

  • Severity: warning
  • What to do: Split the test so each proves one criterion.
  • Skill: record-a-change

A test proving a criterion failed in its last run.

  • Severity: error
  • What to do: Fix the code or the test, then run the tests again.
  • Skill: record-a-change

A criterion’s test result is older than the test file.

  • Severity: warning
  • What to do: Run the tests again.
  • Skill: record-a-change

A criterion’s test did not run in the last run.

  • Severity: warning
  • What to do: Run the tests that prove the criterion.
  • Skill: record-a-change

Tests prove criteria but no test results are recorded.

  • Severity: warning
  • What to do: Add grimoireReporter() from @warlock.js/grimoire/vitest to test.reporters in the Vitest config and run the tests; in production, ship the results file with the deploy.
  • Skill: record-a-change

The reporter could not match a proving test to its result.

  • Severity: warning
  • What to do: Keep the it(...) or test(...) call on the line right under the @proves comment, with a plain string name.
  • Skill: record-a-change

A test is focused with .only.

  • Severity: error
  • What to do: Remove .only: it makes the runner skip every other test in the file.
  • Skill: record-a-change

A test is skipped with .skip.

  • Severity: warning
  • What to do: Remove .skip, or use .skipIf(<condition>) with the reason the test cannot run there.
  • Skill: record-a-change

A @shows line has the wrong form or no matching shows() call.

  • Severity: error
  • What to do: Write // @shows <feature>/<flow> AC-<n> on its own line, directly above await shows(context, "<feature>/<flow> AC-<n>", …) naming the same criterion.
  • Skill: record-a-change

A @shows line names a flow or criterion that does not exist.

  • Severity: error
  • What to do: Fix the @shows line and its shows() call to name an existing <feature>/<flow> AC-<n>.
  • Skill: record-a-change

A shown criterion has no capture in a language.

  • Severity: warning
  • What to do: Run the browser tests (npx warlock e2e); GRIMOIRE_SHOTS=all captures every flow, not only the changed ones.
  • Skill: record-a-change

A shown criterion failed in a language.

  • Severity: error
  • What to do: Open the capture and the error in the Bird view, fix the code or the scene, then run the browser tests again.
  • Skill: record-a-change

A capture differs from its approved version.

  • Severity: warning
  • What to do: Compare the two images in the Bird view; the owner approves or rejects the change (warlock grimoire approve <id>). List it in your report.
  • Skill: record-a-change

A flow, criterion, case or proving test changed since the last approval.

  • Severity: warning
  • What to do: The owner approves or rejects it in the Bird view (warlock grimoire approve <id>). List it in your report.
  • Skill: record-a-change

A change the owner rejected is still there.

  • Severity: error
  • What to do: Undo the rejected change the message names, then run the check again.
  • Skill: record-a-change

A block points to a flow that does not exist.

  • Severity: error
  • What to do: Fix the <feature>/<flow> in the Flow column or the block file.
  • Skill: describe-an-app

A condition is not declared in the app README.

  • Severity: error
  • What to do: Add the condition under Conditions in the app README, or use a declared one.
  • Skill: describe-an-app

A page’s route does not exist in its site.

  • Severity: error
  • What to do: Fix the route of the page file, or remove the page file if the page is gone.
  • Skill: describe-an-app

A page names a layout with no file.

  • Severity: error
  • What to do: Add layouts/<layout>.md to the app, or fix the page’s layout.
  • Skill: describe-an-app

An app’s root matches no site or mobile app.

  • Severity: error
  • What to do: Set root to the site folder (src/web/$sites/<site>) or the mobile app folder.
  • Skill: describe-an-app

A screen’s route does not exist in the mobile app.

  • Severity: error
  • What to do: Fix the route of the screen file, or remove it if the screen is gone.
  • Skill: describe-an-app

A block file has no row in its page’s Blocks table.

  • Severity: warning
  • What to do: Add the block to the page’s Blocks table, or remove the block file.
  • Skill: describe-an-app

An entry point in Also reached from does not exist.

  • Severity: error
  • What to do: Fix the mail, notification or page name.
  • Skill: describe-an-app

A site or mobile app has no folder in grimoire/apps.

  • Severity: warning
  • What to do: Add grimoire/apps/<app>/README.md for it.
  • Skill: describe-an-app

A name in backticks in Changes with is not a declared condition.

  • Severity: warning
  • What to do: Declare the condition under Conditions in the app README, fix the name, or write it without backticks when it is not a condition.
  • Skill: describe-an-app

A release lists a changelog entry that is not stamped with it.

  • Severity: error
  • What to do: Move the entry under ## <release> (<date>) in the feature’s CHANGELOG.md.
  • Skill: record-a-change

A changelog release section has no release file.

  • Severity: error
  • What to do: Write grimoire/releases/<release>.md, or fix the release in the heading.
  • Skill: record-a-change

A changelog release date differs from the release file.

  • Severity: error
  • What to do: Use the date in the release file’s front matter.
  • Skill: record-a-change

The README updated is older than the newest changelog entry.

  • Severity: error
  • What to do: Reshape the README to describe the feature as it is now, and set updated.
  • Skill: record-a-change

The README version differs from the newest changelog entry.

  • Severity: error
  • What to do: Set version to the newest entry’s version.
  • Skill: record-a-change

A changelog word does not match its version step.

  • Severity: warning
  • What to do: Use a whole-number version for added and removed, a decimal for changed and fixed.
  • Skill: record-a-change

A flow’s since is newer than its feature’s version.

  • Severity: error
  • What to do: Fix since, or the feature version.
  • Skill: write-a-feature

A new whole-number version has no brief.

  • Severity: warning
  • What to do: Write versions/v<n>.md before building it.
  • Skill: write-a-feature

A task names a feature that does not exist.

  • Severity: error
  • What to do: Fix the task’s feature, or write the feature first.
  • Skill: write-a-feature

A task names a flow that does not exist.

  • Severity: error
  • What to do: Fix the task’s flow, or write the flow first.
  • Skill: write-a-feature

A task’s status does not match its folder.

  • Severity: error
  • What to do: Done tasks live in tasks/done/<yyyy-mm>/ with status: done and shipped; open tasks in tasks/open/.
  • Skill: record-a-change

A task’s shipped names a version the changelog does not have.

  • Severity: error
  • What to do: Fix shipped: <feature> <version>, or add the changelog entry.
  • Skill: record-a-change

A task’s brief does not exist.

  • Severity: warning
  • What to do: Fix the Brief: path, or write the brief.
  • Skill: write-a-feature

A changed file is outside the task.

  • Severity: error
  • What to do: Change only the files of the task’s features and its Files: line. When the file belongs to the change, add it to Files: (or its feature to Features:) and say why in the task.
  • Skill: guard-a-change

The change removes a flow, criterion or case the task does not name.

  • Severity: error
  • What to do: Restore it, or name it in the task’s Removes: line once the owner agreed.
  • Skill: guard-a-change

The change deletes a proving test.

  • Severity: error
  • What to do: Restore the test, or name its criterion in Removes: when the criterion goes too.
  • Skill: guard-a-change

The change edits a locked test.

  • Severity: error
  • What to do: A locked test is the task’s acceptance: change the code, not the test. Ask the owner when the test itself is wrong.
  • Skill: guard-a-change

A changed test has fewer assertions than before.

  • Severity: warning
  • What to do: Keep every assertion, or say in the task why one goes.
  • Skill: guard-a-change

The change touches a protected area the task does not name.

  • Severity: error
  • What to do: Leave the area unchanged, or name it in the task’s Touches: line once the owner agreed (migrations, auth, public-api, config, lockfile, dependencies, or an area of the settings).
  • Skill: guard-a-change

A commit does not name its task.

  • Severity: error
  • What to do: Name the task id in the commit message (T-12).
  • Skill: guard-a-change

The public API differs from its approved snapshot.

  • Severity: warning
  • What to do: Once the owner agreed, approve it with warlock grimoire approve api; otherwise undo the change.
  • Skill: guard-a-change

The project’s source files could not be read.

  • Severity: error
  • What to do: Read the message; fix the file or folder it names, then build again.
  • Skill: use-the-grimoire

Route facts could not be read because the app did not boot.

  • Severity: warning
  • What to do: Run warlock doctor, fix what stops the app from booting, then warlock grimoire build.
  • Skill: use-the-grimoire

Route facts are older than the routes files.

  • Severity: warning
  • What to do: Run warlock grimoire build to refresh them.
  • Skill: use-the-grimoire

Pages or screens could not be read.

  • Severity: warning
  • What to do: Read the message; fix the page file it names, then build again.
  • Skill: use-the-grimoire

The file is not in the book.

  • Severity: error
  • What to do: Pass a code file under the source roots, as a project-relative path.
  • Skill: use-the-grimoire

No route matches.

  • Severity: error
  • What to do: Pass "<METHOD> <path>" as the route is registered; warlock routes lists them.
  • Skill: use-the-grimoire

No feature has that id.

  • Severity: error
  • What to do: Use an id from grimoire/features/.
  • Skill: use-the-grimoire

No flow has that id.

  • Severity: error
  • What to do: Use <feature>/<flow> with a file in grimoire/features/<feature>/flows/.
  • Skill: use-the-grimoire

The release file has no brief yet.

  • Severity: error
  • What to do: Write grimoire/releases/<release>.md with release and date front matter and the brief, then run the command again.
  • Skill: record-a-change

A query argument has the wrong form.

  • Severity: error
  • What to do: Read the command’s help (warlock scry --help) and pass the argument in that form.
  • Skill: use-the-grimoire

The book is not built.

  • Severity: error
  • What to do: Run warlock grimoire build, then ask again. warlock scry only reads the book; it never builds it.
  • Skill: use-the-grimoire

The guard has no task to check the change against.

  • Severity: error
  • What to do: Pass the task id (warlock grimoire guard T-12), pass --commits <range> whose commits name their tasks, or have exactly one task in progress.
  • Skill: guard-a-change

Git could not answer.

  • Severity: error
  • What to do: Run inside a git repository and pass a base that exists (--base origin/main); in CI, fetch the full history.
  • Skill: guard-a-change

Nothing matches the approve or reject target.

  • Severity: error
  • What to do: Pass a change id from the Bird view or the check, a <feature>/<flow>, api, or --all.
  • Skill: record-a-change