Map what your product does
Use the product map to list what a user can do in your application as capabilities grouped into areas, add the rules that govern each one, link the tests that cover it, and see which capabilities are covered, stale or failing on a known issue. Covers the Product map page and the cofactor product-map CLI.
The product map is a list of what your product lets a user do. Capabilities, such as "Pay with a saved card", sit in areas, such as "Checkout & Payments". Each capability can carry rules and link to the tests that cover it. Cofactor then shows which capabilities have a passing test, so you see the gaps.
Build the map
-
See what exists. Each area and capability has a permanent code, such as
ARE-CMMandCAP-CMM-001. The CLI prints them.Open Product map under Applications & environments. The List view shows each area with its capabilities. The header counts how many capabilities have a linked test and how many flows are not linked to any capability.
-
Add an area. An area groups capabilities and carries a title and one line of description. Name it after a part of the product a stakeholder would recognize.
Select Add area (or Add your first area on an empty map). Cofactor adds an area named New area and opens its name for editing.
-
Add a capability. Start the title with a verb and name what the user can do. Set the importance:
p0for business-critical,p1important,p2normal (the default) andp3minor. Judge it by what breaks for the business if the capability silently stops working.Use the add button on the area's row (Add capability to the area). Cofactor adds a capability named New capability and opens its title for editing. Open the capability to edit its description and importance.
-
Add rules. A rule is one observable constraint, such as a required input, a limit or a role difference. Add a rule only for something you saw or confirmed.
Open the capability and add rules in the Rules section.
-
Link the tests that cover it. A link says that a test covers the capability. It does not prove the capability works. Link each test to the most specific capability it checks.
Open the capability and use Linked flows to search for a test and link it.
Check it worked
cofactor product-map get --application "Acme Store" cofactor product-map coverage --application "Acme Store" --days 30
get lists your areas and capabilities, each with a mark for its coverage. coverage counts the capabilities in each state:
| State | Meaning |
|---|---|
| Covered | A linked test passed recently. The app calls this Passing. |
| Stale | A test is linked, but none passed recently. The app calls this Not passing. |
| Known issue | The linked tests fail, and an open issue linked to the capability explains it. |
| Uncovered | No eligible test is linked. |
| Blocked | Coverage cannot be built yet, because of a blocked reason or an open linked issue. The app calls this Coverage blocked. |
It also prints how many Regression flows are linked to no capability. That count belongs to the whole application, not to one area.
Go deeper
- App skill teaches the browser agent how your app behaves.
- Issues shows how to link an issue to the capability it breaks.
- Product map CLI guide is the full method for your coding agent.
- Reference: Applications
Lifecycle stages, codes, importance and history.
Lifecycle stages. Every area, capability and rule has a stage: in_dev, alpha, beta, ga or deprecated. New items start as in_dev. Set one with --stage. A child's stage cannot be higher than its parent's, and Cofactor refuses a change that would break that.
Codes. Each area and capability gets a permanent code from its title. A code is never reused. Moving a capability to another area, or changing an area's code with area update --code, changes a code. The old code still resolves.
Agent areas. cofactor product-map area create "<title>" --kind agent makes an area for what an AI agent can do. Evals prove those capabilities instead of tests. See cofactor product-map guide coverage.
History. Edits to a capability are kept as revisions. cofactor product-map history <capability code> lists them, and restore <capability code> --rev <n> puts one back as your edit. changes --since 7d shows what changed in a window.