Using Kitsune
Bring an existing project into Kitsune
Have your agent describe the features your code already has as specs, or move a project from OpenSpec to the Kitsune method and back on its own branch.
If your project works but has no specs, Kitsune sees an empty project. Check, Build queue, planning and the test matrix have nothing to work with. Two actions fix that. In both, your own agent does the work and Kitsune checks the result before anything lands.
Describe existing features#
Open it from Describe existing features… in the menu of Plan from an idea… (▾) in the project's header, from ⌘K, or from No specs yet in Project settings → Overview, which recommends it while the project has no specs (OpenSpec) or no units (Kitsune).
It uses two kinds of runs: one maps the project, the next describes a batch of areas. That way a small service and a large monolith both get the right number of specs.
1. Map the project#
You can name a focus, a folder such as src/billing or a few words such as "everything about payments", up to 500
characters. Leave it empty to map the whole project. Map the project starts a read-only run of your agent CLI, as
Plan from an idea does. The agent reads the manifests, the folders and the entry points and lists
the project's areas: one purpose and one vocabulary each, such as checkout or catalog search, with the folders it
owns and the files where its routes, screens or commands are declared. It writes no requirements yet. It doesn't pad
or split areas to reach a number, so a small service gets two or three areas and a monolith dozens.
Kitsune then checks the map against the project:
- a folder that does not exist is dropped, and an area left without folders is marked;
- each area gets its number of files and of Git changes in the last 12 months, and the areas with the most changes come first;
- source folders that no area owns are listed under Not in any area, with Add as area;
- Kitsune finds the entry points itself, without a model: HTTP routes (Express, Fastify, NestJS, Spring, Flask, FastAPI, Django, Go), screens (Angular and Vue routes, Next.js, Nuxt and SvelteKit pages), CLI commands, Electron IPC channels and MCP tools. Each area shows how many it owns, and the Describe run is asked to cover them.
On the map you can tick areas, rename them, remove them, or mark one Covered or Out of scope. Kitsune ticks the next batch for you: areas in order until about 400 files or 6 areas.
2. Describe a batch#
Describe N areas starts a second read-only run for the ticked areas only. It can take up to 15 minutes, and Cancel stops it. For every scenario the agent cites where the behaviour lives (a file with its lines, or a symbol) and the test that shows it, if there is one. If a behaviour looks like a bug, it comes back as an open question instead of a requirement.
Kitsune checks every citation against the files: the file must be in the project, the lines inside it, the symbol and the test name in their files. Each scenario then shows a label:
| Label | Means |
|---|---|
| Test | the cited code and a cited test were found |
| Code | the cited code was found |
| Inferred | the code was found, but the agent read the behaviour only from names or comments |
| Unverified | no citation holds |
A citation that failed is shown under its scenario, for example "Not found: src/orders/export.ts:400-420".
A Code label only means the cited lines exist. To check that they do what the scenario says, choose Verify next to an area in the list. Your agent then runs twice more, one run after the other. Each run gets only the area's scenarios and the lines they cite, which Kitsune cuts from the files. For each scenario it answers Confirmed, Contradicted or Not shown, with a reason. When both runs agree, the scenario shows that answer. When they differ, it reads Runs disagree. A contradicted scenario unticks its feature and shows what the code does instead.
3. Check the list#
The features are grouped by area, the weakest first. A feature starts ticked only when it has no problem and every scenario is labelled Test or Code. You can tick the others after a look. Expand a feature to see its purpose, requirements, scenarios with their citations, and its open questions. You can rename it, or Reject… it with an optional reason. Your rejections and renames go into the next run, so the agent does not propose the same thing again.
Kitsune unticks a feature it can't write and keeps it unticked until you fix it. That happens for a name that is not kebab-case or is already used in the project (or twice in the list), a purpose under 50 characters, and a requirement without SHALL or MUST, over 500 characters, or without a scenario. Create N specs writes the ticked ones.
What gets written#
- OpenSpec:
openspec/specs/<name>/spec.md, as a main spec in the layoutopenspec archivewrites (Purpose, Requirements, scenarios with WHEN and THEN), with a comment under the title that says it was described from code, on which day, at which commit, and from which files and lines. Later changes can modify these requirements like any other. - Kitsune method:
docs/work/<date>-<name>/spec.mdwithstatus: done,origin: described-from-codeand the commit, the purpose as Context, each requirement as an acceptance criterion with its scenarios under it, and the cited files and lines under Sources. A unit withstatus: donecounts as met when another unit depends on it and is never offered to Build queue.
Open questions go under ## Open Questions, so they show on the Open questions page. An
existing file is never overwritten. If a spec appeared after the run, its row stays with the reason, and the others
are still written. New files are added to Git (staged, not committed), as with every file Kitsune creates.
The map stays#
After Create the dialog goes back to the map. Each area reads Not described, To review, Specs written, Covered or Out of scope, and the next batch is ticked. Only you mark an area Covered. Under Entry points no spec cites Kitsune lists the routes, screens, commands and other entry points that no written spec cites at their line. Features may still be missing behind them.
The map, the unwritten proposals and your decisions are saved on this computer and survive a restart, so you can go on area by area over several days. Nothing of the map is written to the project. Map again makes a new map and keeps what you decided about areas of the same name.
Describe existing features needs Solo Pro, or a Team plan in an organization project, like other agent suggestions. Writing specs by hand stays free.
Switch method with your agent#
A project can move from OpenSpec to the Kitsune method, or from the Kitsune method to OpenSpec. Open Switch method with your agent… in Project settings → General, next to the methodology, or from ⌘K. You see it if you can change the methodology and the project's folder is on this computer and in Git.
The dialog says what moves where:
| From OpenSpec | To the Kitsune method |
|---|---|
a spec in openspec/specs/ |
a finished unit in docs/work/, its requirements as acceptance criteria |
| an archived change | a finished unit with its spec and plan, under its own date |
| an open change | a unit: proposal and design as spec.md, tasks as plan.md, open questions kept |
SDD rules in openspec/config.yaml |
docs/conventions.md |
The other way, finished units are grouped into specs and also kept as archived changes, open units become changes
with delta specs and tasks, and conventions go to openspec/config.yaml. ADRs stay in docs/adr/ either way, and
## Depends on and feature: are kept.
On its own branch#
Start creates the branch kitsune/method/<target>-<date> from your current commit, in a folder outside your
checkout. Your agent CLI runs there with the same limits as Build with agent: it may edit files
only in that folder, and it never pushes. The agent follows Kitsune's method-switch guide. You can close the
dialog while it works, and a switch survives a restart of Kitsune (it then opens as stopped, ready to review).
When the agent is done, Kitsune commits its work on the branch and runs four checks:
- only the new method's folders are on disk;
- the new layout is valid:
openspec validate --all --strictfor OpenSpec (marked "Not checked" when the OpenSpec CLI is missing), front matter and Check unit without warnings for the Kitsune method; - no requirement was lost: each requirement or criterion name of the old layout appears in the new one;
- only the method's folders and agent instruction files changed, never code.
A failed check goes back to the agent with the findings, at most twice.
Review, then merge#
The review lists the checks and every changed file, grouped as added, changed and removed. Choose a file to see it before and after. Then:
- Merge and switch merges the branch into the branch your checkout was on, as one merge commit that is not pushed, sets the project's methodology for the whole team, and removes the branch. With a failed check it asks first. If your checkout has uncommitted changes, is on another branch or has a conflict, Kitsune refuses with the reason and nothing changes.
- Keep the branch removes the extra folder but keeps the branch, so you can review and merge it with your own tools. The methodology stays as it was.
- Discard deletes the branch and everything on it after you confirm.
Switching the method needs Solo Pro, or a Team plan in an organization project, like builds. Changing the methodology setting by hand stays free.