@swarmcraftai/cli 0.2.0 → 0.3.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to the SwarmCraft CLI are documented in this file.
4
4
 
5
+ ## 0.3.0
6
+
7
+ - Completes the clean cutover to tasks across API requests, local run manifests, packet metadata, and sync behavior.
8
+ - Adds task-oriented one-shot options including `--task` and `--task-limit`, and records `taskId` throughout generated run artifacts.
9
+ - Uses the production `/tasks` API and task-board payloads; upgrade the API, CLI, and extension together and regenerate existing packets because legacy compatibility aliases are not retained.
10
+ - Seeds collaborative prototype files and review guidance into Deep Discovery workspaces.
11
+ - Makes Deep Discovery recommendation-led and prototype-first, with explicit handling for owner corrections and known evidence gaps.
12
+
5
13
  ## 0.2.0
6
14
 
7
15
  - Adds `discovery prepare`, `discovery validate`, and `discovery support-bundle` for the Deep Discovery workflow.
package/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  SwarmCraft CLI prepares a local repository for a SwarmCraft project board and runs packet-based agent workflows from the terminal.
4
4
 
5
- Use it to authenticate with SwarmCraft, list available projects, seed workspace guidance files, materialize ticket packets, run one-shot implementation passes, resume or inspect runs, and create support bundles.
5
+ Use it to authenticate with SwarmCraft, list available projects, seed workspace guidance files, materialize task packets, run one-shot implementation passes, resume or inspect runs, and create support bundles.
6
6
 
7
- Deep Discovery uses the provider-neutral `@swarmcraft/discovery-package-contract` for exact-text packaging, canonical hashing, and local validation. The CLI never asks an AI provider to generate transport JSON or tickets and never contains SwarmCraft's private seven-slice compiler.
7
+ Deep Discovery uses the provider-neutral `@swarmcraft/discovery-package-contract` for exact-text packaging, canonical hashing, and local validation. The CLI never asks an AI provider to generate transport JSON or tasks and never contains SwarmCraft's private seven-slice compiler.
8
8
 
9
9
  ## Package Shape
10
10
 
@@ -72,7 +72,9 @@ swarmcraft status --run <run-id> --workspace <path> --delegation <delegation-id>
72
72
  swarmcraft delegation end --delegation <delegation-id>
73
73
  ```
74
74
 
75
- `swarmcraft init` validates the workspace git state, seeds the shared SwarmCraft repo guidance files, materializes non-done ticket packets, links those packets back to SwarmCraft, and prints the next commands.
75
+ `swarmcraft init` validates the workspace git state, seeds the shared SwarmCraft repo guidance files, materializes non-done task packets, links those packets back to SwarmCraft, and prints the next commands.
76
+
77
+ The task contract is a clean cutover from the earlier project-ticket format. Upgrade the API, CLI, and VS Code extension together; old `ticketId` packet files and `--ticket` flags are not accepted. Preserve any owner-authored notes, remove the retired generated packet files, and run `swarmcraft init` again to materialize current `taskId` packets from the board.
76
78
 
77
79
  `swarmcraft discovery prepare` is projectless and deterministic. It requires the versioned discovery binding, `.swarmcraft/discovery.sources.json`, current selected-source digests, and all nine curated documents to be reviewed or explicitly not applicable. Repeated `--source` arguments must exactly match the aggregate owner-confirmed text projection when supplied by the extension. Empty, draft, unresolved, stale-sidecar, binary, secret-bearing, oversized, or mismatched preparation is blocked before upload.
78
80
 
@@ -84,7 +86,7 @@ Run diagnostics contain only schema version, phase, error class, timestamps, cou
84
86
 
85
87
  `swarmcraft discovery validate` reruns deterministic package and local-staleness checks without launching a provider. Untracked and ignored owner-selected text is preserved and allowed but remains the owner's backup responsibility. A failed run never truncates, summarizes, or silently drops content: correct the reported review/source issue and prepare again.
86
88
 
87
- `swarmcraft one-shot` bootstraps the workspace, runs the doing lane through the selected agent provider, syncs packet updates back to SwarmCraft, writes `.swarmcraft/runs/<run-id>/manifest.json`, streams progress to the terminal, writes agent logs under `.swarmcraft/runs/<run-id>/logs/`, and moves accepted work to `done` by default. Customer one-shots should normally pair this with `--commit-policy done` so each completed ticket creates a local commit. Use `--checking on` or `--reviewing on` only for internal validation runs that deliberately need those extra lanes.
89
+ `swarmcraft one-shot` bootstraps the workspace, runs the doing lane through the selected agent provider, syncs packet updates back to SwarmCraft, writes `.swarmcraft/runs/<run-id>/manifest.json`, streams progress to the terminal, writes agent logs under `.swarmcraft/runs/<run-id>/logs/`, and moves accepted work to `done` by default. Customer one-shots should normally pair this with `--commit-policy done` so each completed task creates a local commit. Use `--checking on` or `--reviewing on` only for internal validation runs that deliberately need those extra lanes.
88
90
 
89
91
  Useful safety and support commands:
90
92