myte 0.0.55 → 0.0.57

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 +53 -25
  2. 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,21 +97,23 @@ 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.
104
- - `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
- - `bootstrap` writes mission cards and mission suggestion thread state together; agents should run it before looking for mission or suggestion ids.
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.
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.
108
+ - Successful commands perform a cached, best-effort check for a newer `myte` package version. Notices are advisory, go to `stderr`, and do not break commands or JSON stdout. Disable with `--no-update-check` or `MYTE_PACKAGE_UPDATE_CHECK=0`.
109
+ - `bootstrap` writes mission cards and mission suggestion thread state together; agents should run it before looking for mission or suggestion ids.
110
+ - `build verify --json` is read-only. It checks that every active mission in the last bootstrap has a readable terminal QA/QC summary with no failed or pending cases, but it does not run QA/QC, repository tests, or semantic review.
106
111
  - `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.
107
112
  - `mission status` and `mission archive` refresh local bootstrap + mission-ops state by default after a successful mutation. Use `--no-sync` only when you intentionally want to skip the local refresh.
108
113
  - `feedback status|edit|assign|archive|refine` writes local review artifacts under `MyteCommandCenter/reviews/feedback`.
109
114
  - `feedback submit|revise|comment` are live writes that require `--confirm-write --approval-artifact <path>`.
110
115
  - `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.
116
+ - `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
117
  - `feedback review --request-ids` sends one backend batch review request with grouped notifications; do not loop single-review calls for batch decisions.
113
118
  - `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
119
  - `feedback comment` creates text-only feedback-specific comments. Attachments remain web UI only for this project-key endpoint.
@@ -116,13 +121,15 @@ The CLI searches for `.env` in the current folder and then up parent directories
116
121
  - `feedback validate|apply` remains available for validation and owner-direct apply paths.
117
122
  - `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
123
  - 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.
124
+ - 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.
125
+
126
+ Release certification uses the shipped
127
+ `scripts/project-assistant-live-full-harness.js`. Its default mode is network-free
128
+ and accounts for all 38 project-key routes. Live mode is pinned to GaahField,
129
+ requires explicit mutation flags, exercises concurrent idempotency, and delegates
130
+ cleanup only to the existing exact-ID mission and Feedback harnesses.
131
+ The harness uses the canonical `https://api.myte.dev/api` base and recognizes
132
+ the live project's `Gaahfield MarketPlace` title as the governed GaahField target.
126
133
 
127
134
  ## Approval Artifact Requirements
128
135
 
@@ -130,7 +137,7 @@ Only selected project-key writes require a local approval artifact. The CLI adds
130
137
 
131
138
  | Category | Commands | Artifact |
132
139
  | --- | --- | --- |
133
- | Required | `create-prd`, `update-team`, `update-owner`, `update-client`, `feedback submit`, `feedback revise`, `feedback comment`, `suggestions create`, `suggestions revise` | Yes |
140
+ | 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
141
  | Not required | `run-qaqc`, `mission status`, `mission archive`, `suggestions review`, `feedback review`, `feedback move`, `feedback undo`, `feedback apply` | No |
135
142
  | 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
143
 
@@ -199,9 +206,11 @@ PRD document contract:
199
206
  - 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
207
  - Do not wrap the whole PRD in a ` ```markdown ` fence. Do not use raw HTML, inline style blocks, or decorative banners.
201
208
  - 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.
209
+ - Document-set uploads preserve the exact source Markdown and also store a
210
+ normalized rendering copy. Rendering cleanup never silently rewrites the
211
+ approved source.
212
+ - 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`.
213
+ - 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
214
 
206
215
  ## Connectivity Diagnostics
207
216
 
@@ -218,8 +227,14 @@ Interpret the first failed layer:
218
227
  - `tls`: the secure connection was reset or certificate validation failed
219
228
  before an HTTP request reached Myte.
220
229
  - `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.
230
+ - `authentication` / `authorization`: the API received the request and
231
+ rejected the credential or capability.
232
+
233
+ An authorization response with `policy_consent_required` means the key is
234
+ valid, but the user who created it must review and accept the current Myte
235
+ Policy from the mission-board link printed by the CLI. Rotate the key only if
236
+ the API reports authentication failure or revocation; policy acceptance is a
237
+ separate user-governance step.
223
238
 
224
239
  On restricted Wi-Fi, complete any captive-portal login, configure the
225
240
  network's supported proxy/VPN, or retry on another network. The CLI honors
@@ -280,8 +295,9 @@ Feedback comments nuance:
280
295
  package version. `mytecody update` updates the engine only. Use
281
296
  `npm install -g myte@latest` to update the launcher and the Myte API CLI
282
297
  commands shipped by npm.
283
- - `create-prd`: upload deterministic PRD markdown as the stored renderable PRD document; use `description` only as the short card summary
284
- - `update-team`, `update-owner`, `update-client`: send project updates through the project-key surface
298
+ - `create-prd`: upload deterministic PRD markdown as the stored renderable PRD document; use `description` only as the short card summary
299
+ - `update-team`, `update-owner`, `update-client`: send project updates through the project-key surface
300
+ - Successful `myte` commands check the npm registry at most once per day for a newer package version. Notices are advisory, go to `stderr`, and never block the command. Use `--no-update-check` or `MYTE_PACKAGE_UPDATE_CHECK=0` to disable them.
285
301
 
286
302
  ## Notes
287
303
 
@@ -332,6 +348,10 @@ After `bootstrap`, find ids locally:
332
348
  | `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
349
  | `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
350
  | `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. |
351
+ | `feedback tickets list` | Lists engineering subtickets linked to one Feedback/PRD. | Read-only and included in `feedback-sync` for IDE discovery. |
352
+ | `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. |
353
+ | `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. |
354
+ | `feedback tickets coverage` | Changes one ticket's coverage for one retained PRD document. | Synchronous, revision-fenced and approval-gated. |
335
355
  | `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
356
  | `feedback prd-versions` | Lists retained PRD baselines/revisions for a feedback item. | Read-only; old S3 objects are retained by reference. |
337
357
  | `feedback prd-diff` | Fetches backend-generated text diff for PRD versions. | Read-only; backend controls version access. |
@@ -362,6 +382,7 @@ Read/sync routes:
362
382
  - `GET /api/project-assistant/bootstrap`
363
383
  - `GET /api/project-assistant/qaqc-sync`
364
384
  - `GET /api/project-assistant/feedback-sync`
385
+ - `GET /api/project-assistant/feedback/<feedback_id>/tickets`
365
386
  - `GET /api/project-assistant/feedback/<feedback_id>`
366
387
  - `GET /api/project-assistant/feedback/<feedback_id>/refinement/history`
367
388
  - `GET /api/project-assistant/feedback-review-requests`
@@ -394,6 +415,13 @@ Mutation routes:
394
415
  - `POST /api/project-assistant/feedback/<feedback_id>/board-move`
395
416
  - `POST /api/project-assistant/feedback/batch-board-move`
396
417
  - `POST /api/project-assistant/feedback/<feedback_id>/comments`
418
+ - `POST /api/project-assistant/feedback/<feedback_id>/tickets`
419
+ - `POST /api/project-assistant/feedback/<feedback_id>/tickets/batch`
420
+ - `POST /api/project-assistant/feedback/<feedback_id>/tickets/batch/validate`
421
+ - `PATCH /api/project-assistant/feedback/<feedback_id>/tickets/<ticket_id>`
422
+ - `PATCH /api/project-assistant/feedback/<feedback_id>/tickets/batch`
423
+ - `POST /api/project-assistant/feedback/<feedback_id>/tickets/batch-update/validate`
424
+ - `PATCH /api/project-assistant/feedback/<feedback_id>/tickets/<ticket_id>/prd-coverage`
397
425
  - `POST /api/project-assistant/feedback/<feedback_id>/events/<event_id>/undo`
398
426
  - `POST /api/project-assistant/suggestions`
399
427
  - `POST /api/project-assistant/suggestions/revise`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myte",
3
- "version": "0.0.55",
3
+ "version": "0.0.57",
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.55"
22
+ "@mytegroupinc/myte-core": "0.0.57"
23
23
  }
24
24
  }