myte 0.0.55 → 0.0.56
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 +46 -21
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -66,6 +66,9 @@ The CLI searches for `.env` in the current folder and then up parent directories
|
|
|
66
66
|
- `npx myte feedback move --feedback-id <id> --to-state in_progress --reason "Started"`
|
|
67
67
|
- `npx myte feedback move --feedback-ids "<id1,id2>" --to-state in_progress --reason "Batch move"`
|
|
68
68
|
- `npx myte feedback comment --feedback-id <id> --body-file ./updates/feedback-comment.md --confirm-write --approval-artifact ./updates/feedback-comment.md`
|
|
69
|
+
- `npx myte feedback tickets list --feedback-id <id> --json`
|
|
70
|
+
- `npx myte feedback tickets create --feedback-id <id> --file ./tickets.json --dry-run --json`
|
|
71
|
+
- `npx myte feedback tickets update --feedback-id <id> --ticket-ids "<id1,id2>" --status in_progress --confirm-write --approval-artifact ./ticket-update.yml --json`
|
|
69
72
|
- `npx myte feedback undo --feedback-id <id> --event-id <event_id> --reason "Undo accidental move"`
|
|
70
73
|
- `npx myte feedback prd-versions --feedback-id <id>`
|
|
71
74
|
- `npx myte feedback prd-diff --feedback-id <id> --version-id <version_id> --compare-to <base_version_id>`
|
|
@@ -94,13 +97,13 @@ The CLI searches for `.env` in the current folder and then up parent directories
|
|
|
94
97
|
portal/non-JSON, authentication, authorization, rate-limit, and server
|
|
95
98
|
response failures. Do not disable TLS verification to work around a failed
|
|
96
99
|
diagnostic.
|
|
97
|
-
- Safe transient reads and query polling use bounded retries. Query creation
|
|
98
|
-
uses one stable idempotency key across ambiguous retries so a lost response
|
|
99
|
-
cannot create duplicate inference jobs.
|
|
100
|
-
- Query and QAQC polling honor server `Retry-After` / `next_poll_after_ms`
|
|
101
|
-
guidance and add bounded jitter to prevent synchronized IDE poll bursts.
|
|
102
|
-
- Owner updates are accepted into a durable delivery outbox; a successful CLI
|
|
103
|
-
response means the update was queued, while delivery status remains server-owned.
|
|
100
|
+
- Safe transient reads and query polling use bounded retries. Query creation
|
|
101
|
+
uses one stable idempotency key across ambiguous retries so a lost response
|
|
102
|
+
cannot create duplicate inference jobs.
|
|
103
|
+
- Query and QAQC polling honor server `Retry-After` / `next_poll_after_ms`
|
|
104
|
+
guidance and add bounded jitter to prevent synchronized IDE poll bursts.
|
|
105
|
+
- Owner updates are accepted into a durable delivery outbox; a successful CLI
|
|
106
|
+
response means the update was queued, while delivery status remains server-owned.
|
|
104
107
|
- `bootstrap`, `sync-qaqc`, `feedback-sync`, and `suggestions sync` write project-scoped local context under `MyteCommandCenter` in the current workspace unless `--output-dir` is provided.
|
|
105
108
|
- `bootstrap` writes mission cards and mission suggestion thread state together; agents should run it before looking for mission or suggestion ids.
|
|
106
109
|
- `mission status` is active-state only (`todo`, `in_progress`, `done`). Use `mission archive` for project-key lifecycle archival; restore archived missions from the web archived-board view.
|
|
@@ -108,7 +111,7 @@ The CLI searches for `.env` in the current folder and then up parent directories
|
|
|
108
111
|
- `feedback status|edit|assign|archive|refine` writes local review artifacts under `MyteCommandCenter/reviews/feedback`.
|
|
109
112
|
- `feedback submit|revise|comment` are live writes that require `--confirm-write --approval-artifact <path>`.
|
|
110
113
|
- `feedback review|move|undo|apply` are governed writes with backend permission checks but no approval artifact flags.
|
|
111
|
-
- `feedback-sync|get|history|reviews|prd-versions|prd-diff|validate` are read/sync/validation commands with no approval artifact flags.
|
|
114
|
+
- `feedback-sync|get|history|reviews|prd-versions|prd-diff|validate` and `feedback tickets list|validate-create|validate-update` are read/sync/validation commands with no approval artifact flags.
|
|
112
115
|
- `feedback review --request-ids` sends one backend batch review request with grouped notifications; do not loop single-review calls for batch decisions.
|
|
113
116
|
- `feedback move|comment|undo|prd-versions|prd-diff|history` calls the project-key Feedback API while authorization, stale snapshot checks, allowed transitions, and history remain enforced by the backend. `feedback move --feedback-ids` sends one batch board move request.
|
|
114
117
|
- `feedback comment` creates text-only feedback-specific comments. Attachments remain web UI only for this project-key endpoint.
|
|
@@ -116,13 +119,15 @@ The CLI searches for `.env` in the current folder and then up parent directories
|
|
|
116
119
|
- `feedback validate|apply` remains available for validation and owner-direct apply paths.
|
|
117
120
|
- `query --with-diff` is stricter than the snapshot commands. It requires project repositories to be configured by the project owner or builder, and it requires at least one matching local project repo to be resolved for diff collection.
|
|
118
121
|
- If diff-scoped repo configuration is missing or no local project repo can be resolved, `query --with-diff` exits with an error instead of silently dropping diff context.
|
|
119
|
-
- Most markdown files are excluded from diff context by default so code and runtime configuration changes dominate the payload. Key instruction files such as `README.md` and `AGENTS.md` remain eligible.
|
|
120
|
-
|
|
121
|
-
Release certification uses the shipped
|
|
122
|
-
`scripts/project-assistant-live-full-harness.js`. Its default mode is network-free
|
|
123
|
-
and accounts for all 38 project-key routes. Live mode is pinned to GaahField,
|
|
124
|
-
requires explicit mutation flags, exercises concurrent idempotency, and delegates
|
|
125
|
-
cleanup only to the existing exact-ID mission and Feedback harnesses.
|
|
122
|
+
- Most markdown files are excluded from diff context by default so code and runtime configuration changes dominate the payload. Key instruction files such as `README.md` and `AGENTS.md` remain eligible.
|
|
123
|
+
|
|
124
|
+
Release certification uses the shipped
|
|
125
|
+
`scripts/project-assistant-live-full-harness.js`. Its default mode is network-free
|
|
126
|
+
and accounts for all 38 project-key routes. Live mode is pinned to GaahField,
|
|
127
|
+
requires explicit mutation flags, exercises concurrent idempotency, and delegates
|
|
128
|
+
cleanup only to the existing exact-ID mission and Feedback harnesses.
|
|
129
|
+
The harness uses the canonical `https://api.myte.dev/api` base and recognizes
|
|
130
|
+
the live project's `Gaahfield MarketPlace` title as the governed GaahField target.
|
|
126
131
|
|
|
127
132
|
## Approval Artifact Requirements
|
|
128
133
|
|
|
@@ -130,7 +135,7 @@ Only selected project-key writes require a local approval artifact. The CLI adds
|
|
|
130
135
|
|
|
131
136
|
| Category | Commands | Artifact |
|
|
132
137
|
| --- | --- | --- |
|
|
133
|
-
| Required | `create-prd`, `update-team`, `update-owner`, `update-client`, `feedback submit`, `feedback revise`, `feedback comment`, `suggestions create`, `suggestions revise` | Yes |
|
|
138
|
+
| Required | `create-prd`, `update-team`, `update-owner`, `update-client`, `feedback submit`, `feedback revise`, `feedback comment`, `feedback tickets create/update/coverage`, `suggestions create`, `suggestions revise` | Yes |
|
|
134
139
|
| Not required | `run-qaqc`, `mission status`, `mission archive`, `suggestions review`, `feedback review`, `feedback move`, `feedback undo`, `feedback apply` | No |
|
|
135
140
|
| Never required | `config`, `query`, `bootstrap`, `sync-qaqc`, `feedback-sync`, `suggestions sync`, `feedback get/history/reviews/prd-versions/prd-diff/validate`, local feedback draft commands | No |
|
|
136
141
|
|
|
@@ -199,9 +204,11 @@ PRD document contract:
|
|
|
199
204
|
- Renderer-friendly PRDs should use one `# Title`, `##` sections, concise paragraphs, bullets, GitHub tables/checklists where useful, and fenced code blocks only for real code/config.
|
|
200
205
|
- Do not wrap the whole PRD in a ` ```markdown ` fence. Do not use raw HTML, inline style blocks, or decorative banners.
|
|
201
206
|
- PRD identity is explicit: `myte create-prd` creates a PRD asset with PRD metadata. Generic uploaded `.md`, `.docx`, `.pdf`, and `.txt` files remain normal attachments unless explicitly created as PRDs.
|
|
202
|
-
- Document-set uploads preserve the exact source Markdown and also store a
|
|
203
|
-
normalized rendering copy. Rendering cleanup never silently rewrites the
|
|
204
|
-
approved source.
|
|
207
|
+
- Document-set uploads preserve the exact source Markdown and also store a
|
|
208
|
+
normalized rendering copy. Rendering cleanup never silently rewrites the
|
|
209
|
+
approved source.
|
|
210
|
+
- Every newly created PRD receives immutable version `1` and a stable primary document id. Creation responses return `active_prd_version_id`, `active_prd_version_number`, and `primary_document_id`, which can be passed directly into `feedback tickets create`.
|
|
211
|
+
- A sub-ticket may link at most 25 PRD documents, and the backend rejects any version/document pair that does not belong to that exact Feedback/PRD before mutation.
|
|
205
212
|
|
|
206
213
|
## Connectivity Diagnostics
|
|
207
214
|
|
|
@@ -218,8 +225,14 @@ Interpret the first failed layer:
|
|
|
218
225
|
- `tls`: the secure connection was reset or certificate validation failed
|
|
219
226
|
before an HTTP request reached Myte.
|
|
220
227
|
- `http`: Myte or an intermediary returned a status or non-JSON response.
|
|
221
|
-
- `authentication` / `authorization`: the API received the request and
|
|
222
|
-
rejected the credential or capability.
|
|
228
|
+
- `authentication` / `authorization`: the API received the request and
|
|
229
|
+
rejected the credential or capability.
|
|
230
|
+
|
|
231
|
+
An authorization response with `policy_consent_required` means the key is
|
|
232
|
+
valid, but the user who created it must review and accept the current Myte
|
|
233
|
+
Policy from the mission-board link printed by the CLI. Rotate the key only if
|
|
234
|
+
the API reports authentication failure or revocation; policy acceptance is a
|
|
235
|
+
separate user-governance step.
|
|
223
236
|
|
|
224
237
|
On restricted Wi-Fi, complete any captive-portal login, configure the
|
|
225
238
|
network's supported proxy/VPN, or retry on another network. The CLI honors
|
|
@@ -332,6 +345,10 @@ After `bootstrap`, find ids locally:
|
|
|
332
345
|
| `feedback review` | Approves, rejects, requests changes, or cancels one review request, or a batch with `--request-ids`. | No approval artifact required; backend restricts approval/review decisions to Project Owner or elevated delegate for Feedback scope; batch review uses one grouped notification path. |
|
|
333
346
|
| `feedback move` | Moves a card or batch of cards across allowed board states directly with an audit event. | No approval artifact required. `--feedback-ids` sends one batch request. Blocked with `pending_feedback_review` while an active linked review request exists; governed states such as archive/reject/deploy/freeze remain backend-authorized. Project-key unarchive is not supported. |
|
|
334
347
|
| `feedback comment` | Creates a text-only comment on one Feedback item. | Requires `--confirm-write --approval-artifact <path>`; backend checks project-key access, owner/assigned permission, idempotency, and the 500,000-character content cap. Attachments remain web UI only. |
|
|
348
|
+
| `feedback tickets list` | Lists engineering subtickets linked to one Feedback/PRD. | Read-only and included in `feedback-sync` for IDE discovery. |
|
|
349
|
+
| `feedback tickets create` | Creates one ticket or one JSON/YAML batch. | `--dry-run` validates without mutation; live batches are approval-gated, idempotent, capped at 100 and return receipts. |
|
|
350
|
+
| `feedback tickets update` | Updates one ticket or many `--ticket-ids` in one revision-fenced batch. | The backend validates the whole batch before mutation and returns `409` for stale revisions. |
|
|
351
|
+
| `feedback tickets coverage` | Changes one ticket's coverage for one retained PRD document. | Synchronous, revision-fenced and approval-gated. |
|
|
335
352
|
| `feedback undo` | Reverses an audited board event when there is no conflict. | No approval artifact required; backend validates event ownership/project scope and conflict state. |
|
|
336
353
|
| `feedback prd-versions` | Lists retained PRD baselines/revisions for a feedback item. | Read-only; old S3 objects are retained by reference. |
|
|
337
354
|
| `feedback prd-diff` | Fetches backend-generated text diff for PRD versions. | Read-only; backend controls version access. |
|
|
@@ -362,6 +379,7 @@ Read/sync routes:
|
|
|
362
379
|
- `GET /api/project-assistant/bootstrap`
|
|
363
380
|
- `GET /api/project-assistant/qaqc-sync`
|
|
364
381
|
- `GET /api/project-assistant/feedback-sync`
|
|
382
|
+
- `GET /api/project-assistant/feedback/<feedback_id>/tickets`
|
|
365
383
|
- `GET /api/project-assistant/feedback/<feedback_id>`
|
|
366
384
|
- `GET /api/project-assistant/feedback/<feedback_id>/refinement/history`
|
|
367
385
|
- `GET /api/project-assistant/feedback-review-requests`
|
|
@@ -394,6 +412,13 @@ Mutation routes:
|
|
|
394
412
|
- `POST /api/project-assistant/feedback/<feedback_id>/board-move`
|
|
395
413
|
- `POST /api/project-assistant/feedback/batch-board-move`
|
|
396
414
|
- `POST /api/project-assistant/feedback/<feedback_id>/comments`
|
|
415
|
+
- `POST /api/project-assistant/feedback/<feedback_id>/tickets`
|
|
416
|
+
- `POST /api/project-assistant/feedback/<feedback_id>/tickets/batch`
|
|
417
|
+
- `POST /api/project-assistant/feedback/<feedback_id>/tickets/batch/validate`
|
|
418
|
+
- `PATCH /api/project-assistant/feedback/<feedback_id>/tickets/<ticket_id>`
|
|
419
|
+
- `PATCH /api/project-assistant/feedback/<feedback_id>/tickets/batch`
|
|
420
|
+
- `POST /api/project-assistant/feedback/<feedback_id>/tickets/batch-update/validate`
|
|
421
|
+
- `PATCH /api/project-assistant/feedback/<feedback_id>/tickets/<ticket_id>/prd-coverage`
|
|
397
422
|
- `POST /api/project-assistant/feedback/<feedback_id>/events/<event_id>/undo`
|
|
398
423
|
- `POST /api/project-assistant/suggestions`
|
|
399
424
|
- `POST /api/project-assistant/suggestions/revise`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "myte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56",
|
|
4
4
|
"description": "Myte developer CLI.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,6 +19,6 @@
|
|
|
19
19
|
"node": ">=18.17"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@mytegroupinc/myte-core": "0.0.
|
|
22
|
+
"@mytegroupinc/myte-core": "0.0.56"
|
|
23
23
|
}
|
|
24
24
|
}
|