axstack 0.45.0 → 0.46.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axstack",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.0",
|
|
4
4
|
"description": "Axstack installer and setup CLI: installs owned chat skills and role data, configures supported harness settings, and checks T3 Code capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
@@ -35,6 +35,35 @@ Promotion, unpublish, reader changes and grant changes each need their own reque
|
|
|
35
35
|
Local creation or an earlier publication supplies no new publication authority.
|
|
36
36
|
If the request leaves the article or mode unclear, hold publication for clarification.
|
|
37
37
|
|
|
38
|
+
Before publishing, validate the slug as in §3 and read `ssh <publish host> notes status --slug <slug>`.
|
|
39
|
+
Before a republish, state the slug's current audience from status.
|
|
40
|
+
Public mode never asks about or takes an audience.
|
|
41
|
+
Before promoting a shared slug to public, warn that the article becomes world-readable.
|
|
42
|
+
|
|
43
|
+
In private mode, run `ssh <publish host> notes audience list` on the validated host
|
|
44
|
+
with no TTY and require one JSON line.
|
|
45
|
+
Validate its `audiences` array of `{name, title, reader, folder, disabled, pending}`.
|
|
46
|
+
If `audience list` fails, run `ssh <publish host> notes --help` with no TTY.
|
|
47
|
+
An `audience list` failure holds sharing and is reported unless `notes --help`
|
|
48
|
+
lacks a `notes audience list` usage entry.
|
|
49
|
+
If `notes --help` lacks the `notes audience list` entry, ask nothing new.
|
|
50
|
+
Other failures hold only sharing; publication may proceed under its existing authority.
|
|
51
|
+
|
|
52
|
+
In private mode only, ask once while binding the request, before publishing.
|
|
53
|
+
Ask only if enabled, complete audiences exist (`disabled: false`, `pending: null`)
|
|
54
|
+
and `notes status --slug <slug>` shows the slug unshared.
|
|
55
|
+
For an existing private document, treat the slug as unshared only when its private
|
|
56
|
+
status has both `private.audience: null` and `private.share: null`.
|
|
57
|
+
For a new slug, `private: null` counts as unshared.
|
|
58
|
+
Hold sharing if status is unreadable, ambiguous or shows a pending share.
|
|
59
|
+
For one audience ask “Is this for <title>?” and for several ask
|
|
60
|
+
“For which audience: <titles> or none?”.
|
|
61
|
+
For an already-published slug, the question states that the team will also see earlier versions.
|
|
62
|
+
The answer is the explicit grant request for exactly that slug and that audience.
|
|
63
|
+
Never infer an audience from a slug, title, repository or label.
|
|
64
|
+
A “no” never revokes access.
|
|
65
|
+
Removals and other readers still need their own request.
|
|
66
|
+
|
|
38
67
|
## 2. Prepare the final artifact
|
|
39
68
|
|
|
40
69
|
For public mode, run the [Explain redaction check](../axstack-explain/SKILL.md#3-verify-and-deliver)
|
|
@@ -107,6 +136,16 @@ Return URL, version and SHA-256 with the live verification evidence or its hold.
|
|
|
107
136
|
Tell the user when `overwrote_external_edit` is true: publication replaced an
|
|
108
137
|
external edit, retained as an earlier SlashDocs version.
|
|
109
138
|
|
|
139
|
+
On a yes for one audience or an explicit selection among several audiences,
|
|
140
|
+
only after the verified private publish (§3 and §4), run
|
|
141
|
+
`ssh <publish host> notes grant add --slug <slug> --audience <audience>`.
|
|
142
|
+
Use the selected audience's `name` for `<audience>` and safely quote arguments.
|
|
143
|
+
Require exit zero and one secret-free JSON line for the grant, without a TTY.
|
|
144
|
+
Check grant JSON fields `slug`, `audience`, `doc` and `folder` match the requested
|
|
145
|
+
slug and audience, published doc and selected folder.
|
|
146
|
+
Report a failed or held share as incomplete while the private publish stays valid.
|
|
147
|
+
Never claim a failed or held share succeeded.
|
|
148
|
+
|
|
110
149
|
Agents never handle reader passwords.
|
|
111
150
|
Agents never run `notes reader show` or allocate a TTY (`-t` or `-tt` on SSH).
|
|
112
151
|
Reader and grant commands require their own request and secret-free non-TTY output.
|