@autonoma-ai/planner 0.1.19 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,19 +15,34 @@ npx @autonoma-ai/planner@latest
15
15
  Commands:
16
16
 
17
17
  ```bash
18
- autonoma-planner [run] [--project <path>] [--model <id>] [--step <name>] [--resume] [--non-interactive]
18
+ autonoma-planner [run] [--project <path>] [--frontend <path>] [--backends <path,path>] \
19
+ [--model <id>] [--step <name>] [--resume] [--non-interactive]
19
20
  autonoma-planner status [--project <path>]
20
21
  ```
21
22
 
22
23
  `run` is the default and may be omitted. A run can take an hour or more; progress is saved, so you
23
24
  can stop and `--resume` later.
24
25
 
26
+ ### Monorepos
27
+
28
+ The run starts by mapping your repository - discovering which folder(s) are frontends, which are
29
+ backends/data layers, and which are unrelated - so every later step scans only the relevant code
30
+ instead of the whole tree. In an interactive run you pick the frontend to test (and its backends)
31
+ from a menu. To scope non-interactively, pass:
32
+
33
+ - `--frontend <path>` - the one frontend directory to plan tests for.
34
+ - `--backends <path,path>` - comma-separated backend/data-layer directories it depends on. Omit to
35
+ default to the dependencies the mapper inferred for that frontend.
36
+
37
+ For a single-app repo the mapper resolves the scope on its own and no flags are needed.
38
+
25
39
  ## Output
26
40
 
27
41
  Artifacts are written to `~/.autonoma/<project-slug>/`:
28
42
 
29
43
  ```
30
44
  ~/.autonoma/<app>/
45
+ ├── project-map.json # discovered frontends/backends + the scope chosen for this run
31
46
  ├── AUTONOMA.md # knowledge base
32
47
  ├── scenarios.md # test-data scenario descriptions
33
48
  ├── entity-audit.md # database model audit