@hcmai/cli 0.26.2 → 0.26.3

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 CHANGED
@@ -103,3 +103,32 @@ hcm chiron page /dashboard/<id> --env acme-dev --as consultant-acme-dev \
103
103
  Exit code is `0` when the page carries every `--expect-text` and none of the
104
104
  `--reject-text`, and `3` when it does not; the screenshot is kept either way so a
105
105
  human can see whether it was a login page, an error page, or a real gap.
106
+
107
+ ## Workspace delivery checks
108
+
109
+ Raw `workspace push` requires Core workspace delivery protocol 1 and `conditionalRawWrite`.
110
+ It hashes only locally added, modified or deleted candidates, checks existence for all
111
+ baseline/local paths, and checkpoints normalized commit receipts per file. Exact desired
112
+ remote values are marked `observed`; an unprovable normalized result stays `UNKNOWN`.
113
+ The overall deadline remains 300 seconds. Mini apps currently have complete-list guards,
114
+ but do not provide conditional writes, complete pagination or full workspace resume.
115
+
116
+ ```bash
117
+ hcm workspace inspect --entries --output json
118
+ mkdir -p /tmp/hcm-delivery-review
119
+ hcm workspace cleanup-plan .tools/ --purpose 'temporary logs' --reason 'external backup retained' --owner-declaration --plan /tmp/hcm-delivery-review/cleanup-001.json
120
+ hcm workspace cleanup --plan /tmp/hcm-delivery-review/cleanup-001.json --output json
121
+ hcm workspace release-plan 1.2.3 --plan /tmp/hcm-delivery-review/release-001.json --output json
122
+ hcm workspace release --plan /tmp/hcm-delivery-review/release-001.json --output json
123
+ ```
124
+
125
+ Review plans outside the workspace. Cleanup sends only the original exact `execution`
126
+ paths and digest, and reports each committed, failed, notExecuted or UNKNOWN outcome.
127
+ Owner declaration and known-consumer checks do not prove absence of every possible use.
128
+ Release plans show the actual patch; unrecognized files still follow the current all-file
129
+ policy. Controlled delivery retains the existing R3 restriction on release.
130
+
131
+ Run these commands from the bound local workspace. Plan files require an existing parent
132
+ outside its real physical root and are created exclusively; use a new filename each time.
133
+ For API boundaries, field-policy failures and recovery, see the
134
+ [workspace workflow](../../docs/how-to/agent-workspace-workflow.md#规模辅助材料清理与受检封箱).