myte 0.0.4 → 0.0.6
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 +79 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,12 +9,18 @@ Use one of these flows:
|
|
|
9
9
|
- Local dependency in your project:
|
|
10
10
|
- `npm install myte`
|
|
11
11
|
- then run `npx myte config --json`
|
|
12
|
+
- then run `npx myte bootstrap`
|
|
13
|
+
- then run `npx myte sync-qaqc`
|
|
12
14
|
- then run `npx myte query "What changed in logging?" --with-diff`
|
|
13
15
|
- or `npm exec myte -- query "What changed in logging?" --with-diff`
|
|
14
16
|
- Global install:
|
|
15
17
|
- `npm i -g myte`
|
|
18
|
+
- then run `myte bootstrap`
|
|
19
|
+
- then run `myte sync-qaqc`
|
|
16
20
|
- then run `myte query "What changed in logging?" --with-diff`
|
|
17
21
|
- No install:
|
|
22
|
+
- `npx myte@latest bootstrap`
|
|
23
|
+
- `npx myte@latest sync-qaqc`
|
|
18
24
|
- `npx myte@latest query "What changed in logging?" --with-diff`
|
|
19
25
|
|
|
20
26
|
`npm install myte` by itself does not put `myte` on your shell PATH. Use `npx myte` or `npm exec myte -- ...` unless you installed globally.
|
|
@@ -50,6 +56,62 @@ It confirms:
|
|
|
50
56
|
- which repo names the project is configured with
|
|
51
57
|
- which of those repos were found locally
|
|
52
58
|
|
|
59
|
+
## Bootstrap Command Center cards
|
|
60
|
+
|
|
61
|
+
Run this from the wrapper root that contains the project's repo folders:
|
|
62
|
+
|
|
63
|
+
- `npx myte bootstrap`
|
|
64
|
+
- or `npm exec myte -- bootstrap`
|
|
65
|
+
- or `myte bootstrap`
|
|
66
|
+
|
|
67
|
+
What it does:
|
|
68
|
+
- fetches a project-scoped bootstrap snapshot from the API using your project key
|
|
69
|
+
- validates the current wrapper workspace against the configured repo names
|
|
70
|
+
- writes local files under `MyteCommandCenter/data`
|
|
71
|
+
- writes a normalized public Command Center schema, not raw backend mission/proposal documents
|
|
72
|
+
- excludes internal fields like `_id`, `org_id`, `project_id`, `created_by`, `assigned_to`, and raw `qa_qc_results`
|
|
73
|
+
|
|
74
|
+
Files written:
|
|
75
|
+
- `MyteCommandCenter/data/project.yml`
|
|
76
|
+
- `MyteCommandCenter/data/phases/*.yml`
|
|
77
|
+
- `MyteCommandCenter/data/epics/*.yml`
|
|
78
|
+
- `MyteCommandCenter/data/stories/*.yml`
|
|
79
|
+
- `MyteCommandCenter/data/missions/*.yml`
|
|
80
|
+
- `MyteCommandCenter/data/bootstrap-manifest.json`
|
|
81
|
+
|
|
82
|
+
Useful forms:
|
|
83
|
+
- `npx myte bootstrap --json`
|
|
84
|
+
- `npx myte bootstrap --dry-run --json`
|
|
85
|
+
- `npx myte bootstrap --output-dir ./MyteCommandCenter`
|
|
86
|
+
|
|
87
|
+
## Sync active mission QAQC context
|
|
88
|
+
|
|
89
|
+
Run this from the wrapper root that contains the project's repo folders:
|
|
90
|
+
|
|
91
|
+
- `npx myte sync-qaqc`
|
|
92
|
+
- or `npm exec myte -- sync-qaqc`
|
|
93
|
+
- or `myte sync-qaqc`
|
|
94
|
+
|
|
95
|
+
What it does:
|
|
96
|
+
- fetches a project-scoped QAQC sync snapshot from the API using your project key
|
|
97
|
+
- works even if `bootstrap` has not been run yet
|
|
98
|
+
- creates `MyteCommandCenter/data/qaqc` automatically if it does not exist
|
|
99
|
+
- syncs only active `Todo` and `In Progress` missions
|
|
100
|
+
- writes a public QAQC summary per mission, not raw `qa_qc_results` or raw batch docs
|
|
101
|
+
- removes previously QAQC-managed mission files from `MyteCommandCenter/data/missions` when they are no longer active
|
|
102
|
+
|
|
103
|
+
Files written:
|
|
104
|
+
- `MyteCommandCenter/data/project.yml`
|
|
105
|
+
- `MyteCommandCenter/data/missions/<mission_id>.yml` for active missions
|
|
106
|
+
- `MyteCommandCenter/data/qaqc/active-missions/<mission_id>.yml`
|
|
107
|
+
- `MyteCommandCenter/data/qaqc/manifest.json`
|
|
108
|
+
- `MyteCommandCenter/data/qaqc/latest-batch.json`
|
|
109
|
+
|
|
110
|
+
Useful forms:
|
|
111
|
+
- `npx myte sync-qaqc --json`
|
|
112
|
+
- `npx myte sync-qaqc --dry-run --json`
|
|
113
|
+
- `npx myte sync-qaqc --output-dir ./MyteCommandCenter`
|
|
114
|
+
|
|
53
115
|
## Query with deterministic diff context
|
|
54
116
|
|
|
55
117
|
Example:
|
|
@@ -97,10 +159,10 @@ Preferred file format matches `script/MyteCodyPRD.py`:
|
|
|
97
159
|
```myte-kanban
|
|
98
160
|
{
|
|
99
161
|
"title": "Authentication PRD",
|
|
162
|
+
"description": "Short card summary shown in the feedback list",
|
|
100
163
|
"priority": "Medium",
|
|
101
164
|
"assigned_user_email": "dev@mytegroup.com",
|
|
102
|
-
"tags": ["mission-board"]
|
|
103
|
-
"feedback_text": "Short card summary"
|
|
165
|
+
"tags": ["mission-board"]
|
|
104
166
|
}
|
|
105
167
|
```
|
|
106
168
|
|
|
@@ -112,10 +174,25 @@ Detailed markdown body here.
|
|
|
112
174
|
Raw markdown also works:
|
|
113
175
|
- include a top-level `# Title`
|
|
114
176
|
- or pass `--title "..."` when using `--stdin`
|
|
177
|
+
- pass `--description "..."` if you want an explicit feedback description/card summary
|
|
178
|
+
|
|
179
|
+
Deterministic field mapping:
|
|
180
|
+
- Required: a valid project API key, the PRD markdown body, and a title.
|
|
181
|
+
- `title` maps to the feedback title.
|
|
182
|
+
- `description` maps to the feedback description/card summary. Legacy `feedback_text` is still accepted for older payloads.
|
|
183
|
+
- The markdown body after the metadata block, or the full raw markdown file when no metadata block is used, is stored verbatim as PRD content.
|
|
184
|
+
- The backend uses that stored PRD markdown/text to generate the downloadable PRD DOCX.
|
|
185
|
+
- Additional structured fields should go in the `myte-kanban` JSON block. Supported keys include `priority`, `status`, `tags`, `assigned_user_email`, `assigned_user_id`, `due_date`, `repo_name`, `repo_id`, `preview_url`, and `source`.
|
|
186
|
+
|
|
187
|
+
To inspect the exact payload before sending it:
|
|
188
|
+
- `npx myte create-prd ./drafts/auth-prd.md --print-context`
|
|
189
|
+
- `npx myte create-prd ./drafts/auth-prd.md --description "Short card summary" --print-context`
|
|
115
190
|
|
|
116
191
|
## Common commands
|
|
117
192
|
|
|
118
193
|
- `npm install myte`
|
|
194
|
+
- `npx myte bootstrap`
|
|
195
|
+
- `npx myte sync-qaqc`
|
|
119
196
|
- `npx myte config --json`
|
|
120
197
|
- `npx myte query "Summarize the current branch changes" --with-diff`
|
|
121
198
|
- `npx myte create-prd ./drafts/auth-prd.md`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"description": "Myte developer CLI (Project Assistant + deterministic diffs).",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"node": ">=18"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@mytegroupinc/myte-core": "0.0.
|
|
19
|
+
"@mytegroupinc/myte-core": "0.0.6"
|
|
20
20
|
}
|
|
21
21
|
}
|