@withandeo/cli 0.19.13 → 0.19.15
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 +6 -2
- package/dist/api.d.ts +13 -1
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +13 -0
- package/dist/api.js.map +1 -1
- package/dist/cloud-agent.d.ts.map +1 -1
- package/dist/cloud-agent.js +21 -2
- package/dist/cloud-agent.js.map +1 -1
- package/dist/contracts.d.ts +14 -0
- package/dist/contracts.d.ts.map +1 -1
- package/dist/files.js +1 -1
- package/dist/files.js.map +1 -1
- package/dist/main.js +89 -9
- package/dist/main.js.map +1 -1
- package/package.json +1 -1
- package/skill/publication.json +1 -1
- package/skill/tender-accounts/SKILL.md +19 -0
- package/skill/tender-accounts/references/delivery.md +19 -0
- package/skill/tender-accounts/references/managed-source.md +13 -1
package/package.json
CHANGED
package/skill/publication.json
CHANGED
|
@@ -89,6 +89,25 @@ agent merge grant, verify the exact branch preview, read the managed-source refe
|
|
|
89
89
|
to request hosted landing and follow the saved publication policy. Inspect required
|
|
90
90
|
human review, deployment and cleanup outcomes separately; do not push main to bypass them.
|
|
91
91
|
|
|
92
|
+
For persistent Cloud runs, inspect the current project's capabilities. Preview
|
|
93
|
+
requires explicit `preview.build`/`preview.open`, repository scope and the
|
|
94
|
+
`preview` environment. Commit and push the assigned branch, then run
|
|
95
|
+
`andeo preview --json`: Andeo builds that exact managed source in its isolated
|
|
96
|
+
builder. Unsupported bindings/test graphs must fail; do not upload a local
|
|
97
|
+
artifact or bypass the isolation gate. Reopen with the returned `sbl_` ID while
|
|
98
|
+
the run and derived preview remain authorized. Expiry requires a fresh task and
|
|
99
|
+
its own assigned branch/preview, not reuse of the old bearer.
|
|
100
|
+
|
|
101
|
+
`source.merge` delegates approval for the run's validated source. Keep
|
|
102
|
+
`review.prepare` when requesting an implicit source review through merge.
|
|
103
|
+
Use the existing merge command for the assigned branch or exact permitted
|
|
104
|
+
`--change`; no new human receipt is required. Follow the user's release
|
|
105
|
+
instructions before requesting landing. Saved publication policy determines
|
|
106
|
+
whether landing also deploys. Report exact main readback and verified production
|
|
107
|
+
separately. Existing grants must be explicitly replaced to add these capabilities;
|
|
108
|
+
editing `ANDEO_AGENT_SCOPE` cannot expand a grant. Persistent preview logs remain
|
|
109
|
+
unavailable.
|
|
110
|
+
|
|
92
111
|
Read the delivery reference for commands and recovery. Run app checks and artifact dry-run before delivery. Preserve exact source, digest, release, delivery and composition identities.
|
|
93
112
|
|
|
94
113
|
Distinguish local check, retained upload, ready preview, administrator approval, production activation and live acceptance. None substitutes for the next. Prove the intended combined composition for connected changes, not two unrelated releases.
|
|
@@ -41,6 +41,25 @@ evidence. Continue to honor explicit production approval from the user.
|
|
|
41
41
|
|
|
42
42
|
## Create an exact preview
|
|
43
43
|
|
|
44
|
+
Persistent Codex Cloud agents use a managed-source broker instead of the local
|
|
45
|
+
artifact upload path. Check current `preview.build` and `preview.open`, explicit
|
|
46
|
+
repository scope, and `environments: ["preview"]`. Commit, validate locally and
|
|
47
|
+
push the assigned `agent/<runId>` branch, then use `andeo preview --json`.
|
|
48
|
+
Andeo checks the exact pushed SHA and executes checkout/build in separate
|
|
49
|
+
credentialed and isolated phases. The first supported profile uses stateless
|
|
50
|
+
fixtures; D1/KV/R2, services, secrets, workflows, database bootstrap and Flagship
|
|
51
|
+
bindings are unsupported. Production secrets/data/service fallbacks are denied. A connected
|
|
52
|
+
customer journey requires a supported isolated test graph and separate proof.
|
|
53
|
+
|
|
54
|
+
The result returns the exact source-build `sbl_` ID, release, composition and
|
|
55
|
+
preview link. `--no-wait` returns the accepted operation for later inspection;
|
|
56
|
+
`andeo preview open --from sbl_... --json` opens that same result. Preview/run
|
|
57
|
+
lifetimes remain finite; reopening cannot extend the parent authority.
|
|
58
|
+
`source.merge` delegates validated source approval and, with `review.prepare`,
|
|
59
|
+
uses the existing source merge command. It follows the saved publication policy;
|
|
60
|
+
it does not enable publication or grant direct production writes. An accepted
|
|
61
|
+
merge and verified production are separate results.
|
|
62
|
+
|
|
44
63
|
After local validation succeeds, preview each changed application. For a portal-only change, run:
|
|
45
64
|
|
|
46
65
|
```sh
|
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
## Request merge and deployment
|
|
4
4
|
|
|
5
|
+
Persistent Cloud runs use explicitly granted `source.merge` on their assigned
|
|
6
|
+
repository/branch. Include `review.prepare` to create the implicit exact review.
|
|
7
|
+
After pushing and verifying the isolated preview, request merge with the same
|
|
8
|
+
command below using `agent/<runId>` as the head. The capability delegates source
|
|
9
|
+
approval without a per-change human receipt or legacy principal allowlist.
|
|
10
|
+
Protected transport and successful exact preview/checks remain required.
|
|
11
|
+
Inspect `capabilities`, `source status` and `source merge-policy show`;
|
|
12
|
+
persistent actors cannot edit merge/publication policy to expand permission. Existing saved
|
|
13
|
+
publication policy controls deployment after landing. Do not push main directly.
|
|
14
|
+
An old run's source or preview cannot be transferred by changing local scope;
|
|
15
|
+
a fresh task receives its own branch and bounded authority.
|
|
16
|
+
|
|
5
17
|
On a managed repository, push the committed feature branch and verify its exact
|
|
6
18
|
native preview, then request one hosted merge. Read `capabilities`,
|
|
7
19
|
`source merge-policy show` and `source policy show` first. Exercise the changed
|
|
@@ -22,7 +34,7 @@ and review a new snapshot. The command does not integrate Git in the local check
|
|
|
22
34
|
Use `--change scr_...` instead of `--head` and `--title` to attach to an existing
|
|
23
35
|
review; `--expected-snapshot N` pins the inspected snapshot.
|
|
24
36
|
|
|
25
|
-
|
|
37
|
+
For human-owned legacy credentials, human review remains the default. A merchant administrator may explicitly grant
|
|
26
38
|
stable principal IDs with `source merge-policy set --mode agent --principals IDS
|
|
27
39
|
--expected-revision N --idempotency-key KEY [--execution-seconds 300..86400]`.
|
|
28
40
|
This native-preview grant works with source protection enabled or disabled;
|