The product map
The product map is the first view in the Grimoire tab. It is written for people who do not read code: product owners, support, sales and managers. It shows what the product does, who it is for and how healthy each part is, using only words, screenshots and traffic lights.
Everything on it comes from the files your agent already writes in grimoire/. Nothing is typed into the map itself.
What it shows
Section titled “What it shows”- The map. One card per feature: its name, a short summary, who it is for, the apps it lives in, its status (Live, Being built, Planned or Retired), a health strip and a health light. Search by name or summary, and filter by app or audience. Sort the cards by feature id (the default), name, recently changed or health (worst first), and filter them by “Changed since” a date (the last 7 or 30 days of activity) or a release (the features whose changes are in that release or later, plus anything unreleased). On a feature page the flows sort by the README order, name or health. On a phone the cards stack in one column.
- A feature page. What it is, why it exists, the things people can do with it (its flows, each a short story), where you see it in each app with screenshots, what changed in each version, and what is coming next.
- What changed. A timeline with one node per version, unreleased changes first (marked “Unreleased”), then
the newest release. Under each version the changes are grouped by type (Added, Changed, Fixed, Removed), each with
its sentence in plain text. Reference ids written at the end of a sentence in brackets, such as
(AC-6, T-089)or(QA 1.5.6), are left out of the sentence on every screen of the map, since the map is written for people who do not read the code; ordinary brackets in the sentence stay where they are. - A flow page. The story step by step in the user’s words, what proves it works, the “what if” cases (what is
handled and what does not apply), where you see it, and links to the previous and next flow. The line under the title
names who the flow is for and the version it began in (for example “free · since version 1.0”). Each case is asked as a
plain question: “What if the input is not valid?”, “What if the server cannot be reached?”, “What if the server fails?”;
a case with your own label shows the label. A case that a check proves says “Checked by 2 checks”, never an
ACid. - Where you see it. One row per page or screen, under a heading with the app’s title (its id when the app has no heading). The blocks that show the flow are listed under the page, and a screenshot they share is shown once.
- What’s new. A button at the top of the map opens the changes of each release, newest first: the release’s name and
date, the first paragraph of its brief, then the changes under the feature they belong to, in plain words. A release
has its own address,
#grimoire/product/whats-new/5.2.0. Changes not yet in a release show first, only in the signed-in view; a share link and the business export list released changes only. A release needs a heading ingrimoire/releases/or a stamped section in a feature’s changelog (warlock grimoire release --stampwrites both).
The health strip
Section titled “The health strip”Under each card sits a thin bar of four segments with a legend that says every number in words (hover the bar for the same text as a tooltip). The first three segments fill by how much is in place; the findings segment is full and coloured by the worst open finding:
| Segment | What it counts |
|---|---|
| Flows | The flows written, and how many are shipped. |
| Criteria | Acceptance criteria proven by a passing test out of the criteria written. When tests are tagged but no test results were recorded, or none of the criteria has a result yet, the segment is grey and reads “test results not measured”: a missing measurement, not a problem. |
| Screenshots | The places (pages, screens, layouts) that show the feature’s flows, and how many have a screenshot. |
| Findings | The open check findings of the feature and its flows (errors and warnings; expected ones are left out). |
The numbers come with each feature card as strip (flows, criteria, screenshots, findings); they hold no file
paths or test names, so the read-only share link and the static export carry them too.
Health lights
Section titled “Health lights”Each light has a shape and words as well as a colour, so it reads without colour.
| Light | Meaning |
|---|---|
| Working well | At least one check is written and every check passes. |
| Needs attention | A check has no test, has not run, or its tests changed since the last run. Also shown when recent errors were captured, or when proofs are written but no test results were recorded. |
| Has problems | A check fails, or the check report has an error for this feature. |
| Not checked yet | No acceptance criteria are written. |
The sentence next to the light says why, for example “All 12 checks pass” or “2 of 9 checks fail”. The map shows only what the framework has real data for: release history, test results, open tasks and, in the production monitor, the count of captured errors in the last hour. It has no usage numbers and no member feedback.
Write the files so the map reads well
Section titled “Write the files so the map reads well”Write for a reader who has never seen the code.
- Feature summary. One plain sentence under the feature title in
grimoire/features/<id>/README.md. - Audience. Optional
audiencein the README front matter, for exampleaudience: [shoppers, support]. Without it, the map lists the distinctwhoof the flows. - Why. An optional
## Whysection: the reason the feature exists, in a short paragraph. - Flow summary. One sentence under the flow title.
- Story. An optional
## Storysection in a flow: numbered lines in the user’s words, each with an optional image line. Without it, the map derives steps from the technical## Stepsand marks them “from the technical steps”. - Screenshots. Put images in
grimoire/screenshots/(.png,.jpg,.jpeg,.webp,.gif) and refer to them with a Markdown image line,. Use them in story steps, page and screen files and block files. Write real alt text: it is what a screen reader says and what the map shows under the enlarged image. Click or press a screenshot to enlarge it.
The check warns when a summary is missing, an image path leaves the screenshots folder, or an image file is missing.
For developers
Section titled “For developers”When you are signed in to the dashboard, a “For developers” button on the feature and flow pages shows the code side: the feature’s folders, routes, file count and check findings, and a flow’s technical steps with file counts, with a link to the full flow page. The map remembers your choice in your browser.
Share the map with a read-only link
Section titled “Share the map with a read-only link”In the production monitor an admin can share the product map with people who have no dashboard account. Turn it on in the devtools production options and create links from Admin, Share links. See Production monitor for the options, expiry and revoking, and Security for how the link is protected.
A shared link opens the map and nothing else. It shows feature and flow titles, summaries, the story, screenshots, where things appear, release history, the titles of planned work, checks in words and error counts. It never shows file paths, folders, code, test names or files, check findings, error messages, the developer buttons, or any other Grimoire tab. The page says “Read-only view” at the bottom. Admins see a “Share this map” button on the map when sharing is on. In development the map is visible in the tab only; there are no share links.
Under the Warlock.js adapter the footer of the shared page also names the app and the framework version.
The static export
Section titled “The static export”warlock grimoire build --site (see Devtools) includes the product map, its
answers and every screenshot the written files use. Screenshots are copied to a screenshots/ folder next to
index.html. Only images inside grimoire/screenshots/ with a supported extension are copied. Open index.html and
choose “Product map”. The full export is the signed-in view, so it keeps the developer buttons; do not publish it
where non-developers should not see code detail. For readers who do not read code, use the business export,
warlock grimoire build --site --product: it writes the share-safe map only (the page of a share link, with no file paths, test
names, export names or check findings), opens on the Product map and carries no per-file answers, so it is much smaller.
When no test results were recorded, the shared view and the business export show the health light as grey (“Test results are not measured”) instead of “Needs attention”; the signed-in view keeps the yellow “No test results recorded”.
When something is empty
Section titled “When something is empty”If the map says “No features are written yet”, ask your agent to describe the product in grimoire/features. If a
page cannot load, the message says what failed; check that the app is running and try again, or, for a shared link,
ask for a new one.