myte 0.0.5 → 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.
Files changed (2) hide show
  1. package/README.md +34 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -10,14 +10,17 @@ Use one of these flows:
10
10
  - `npm install myte`
11
11
  - then run `npx myte config --json`
12
12
  - then run `npx myte bootstrap`
13
+ - then run `npx myte sync-qaqc`
13
14
  - then run `npx myte query "What changed in logging?" --with-diff`
14
15
  - or `npm exec myte -- query "What changed in logging?" --with-diff`
15
16
  - Global install:
16
17
  - `npm i -g myte`
17
18
  - then run `myte bootstrap`
19
+ - then run `myte sync-qaqc`
18
20
  - then run `myte query "What changed in logging?" --with-diff`
19
21
  - No install:
20
22
  - `npx myte@latest bootstrap`
23
+ - `npx myte@latest sync-qaqc`
21
24
  - `npx myte@latest query "What changed in logging?" --with-diff`
22
25
 
23
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.
@@ -65,6 +68,8 @@ What it does:
65
68
  - fetches a project-scoped bootstrap snapshot from the API using your project key
66
69
  - validates the current wrapper workspace against the configured repo names
67
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`
68
73
 
69
74
  Files written:
70
75
  - `MyteCommandCenter/data/project.yml`
@@ -79,6 +84,34 @@ Useful forms:
79
84
  - `npx myte bootstrap --dry-run --json`
80
85
  - `npx myte bootstrap --output-dir ./MyteCommandCenter`
81
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
+
82
115
  ## Query with deterministic diff context
83
116
 
84
117
  Example:
@@ -159,6 +192,7 @@ To inspect the exact payload before sending it:
159
192
 
160
193
  - `npm install myte`
161
194
  - `npx myte bootstrap`
195
+ - `npx myte sync-qaqc`
162
196
  - `npx myte config --json`
163
197
  - `npx myte query "Summarize the current branch changes" --with-diff`
164
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.5",
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.5"
19
+ "@mytegroupinc/myte-core": "0.0.6"
20
20
  }
21
21
  }