@atollhq/skill-codex 0.4.27 → 0.4.28
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
package/skill/SKILL.md
CHANGED
|
@@ -38,12 +38,17 @@ Read only the references required for the current task:
|
|
|
38
38
|
- Request and response fields, enums, and validation:
|
|
39
39
|
[api-fields.md](references/api-fields.md)
|
|
40
40
|
|
|
41
|
-
For automation rule V1 actions (including create issue),
|
|
42
|
-
|
|
41
|
+
For automation rule V1 actions (including create issue), explicit project or
|
|
42
|
+
organization scope, CI create-only rules, event conditions, validation, safe
|
|
43
|
+
disabling, repair, and example-only CI dry runs, read [Automation Rule Fields](references/api-fields.md#automation-rule-fields).
|
|
43
44
|
Use `atoll automation` for rule management, previews, and run history; see
|
|
44
45
|
[CLI operations](references/cli-operations.md#automation-rules).
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
Rule creates require an explicit `project_id`: use a project UUID for project
|
|
47
|
+
scope or `null` for organization scope. Partial updates preserve the saved
|
|
48
|
+
scope when `project_id` is omitted; include it only when intentionally changing
|
|
49
|
+
scope. An invalid rule executes no actions. Repair an invalid rule with
|
|
50
|
+
separate `disable`, `update` while it is disabled, `test`, and `enable`
|
|
51
|
+
operations. Enable only after the latest saved revision passes the dry run.
|
|
47
52
|
|
|
48
53
|
Do not load every reference by default. Start with this entrypoint and load a
|
|
49
54
|
topic reference only when the requested operation needs it.
|
|
@@ -730,7 +730,15 @@ receive projectless work. An inaccessible explicit `projectId` is concealed as
|
|
|
730
730
|
| POST | `/api/orgs/{id}/automation-rules/{ruleId}/test` | Dry-run test |
|
|
731
731
|
|
|
732
732
|
V1 definitions validate on create, merged partial updates, dry runs, and runtime.
|
|
733
|
-
|
|
733
|
+
On create, `project_id` must be explicit: use a project UUID for project scope
|
|
734
|
+
or `null` for organization scope. Partial updates preserve the saved scope
|
|
735
|
+
when `project_id` is omitted; include it only when intentionally changing
|
|
736
|
+
scope. A concurrent edit during validation returns `409`; reload before
|
|
737
|
+
retrying. An enabled rule must be
|
|
738
|
+
disabled with a separate exact `{ "enabled": false }` update before changing
|
|
739
|
+
scope or repairing an invalid definition. A disabled invalid rule can be
|
|
740
|
+
repaired while remaining disabled; run `test` on that saved revision before a
|
|
741
|
+
separate `enable` update.
|
|
734
742
|
GET/list preserve invalid rows with optional `validation: { valid, issues }`
|
|
735
743
|
(`issues` contain `path`, `code`, and `message`). Owner/admin callers can disable
|
|
736
744
|
an invalid rule with only `{ "enabled": false }`. Change-condition dry runs
|
|
@@ -553,7 +553,12 @@ Create and partial `PUT` requests reject unknown keys, unsupported versions,
|
|
|
553
553
|
malformed conditions/actions, and invalid references with `400` and
|
|
554
554
|
`issues: [{ path, code, message }]`. A partial update is merged with the stored
|
|
555
555
|
definition and the complete result is validated. If another edit changes the rule
|
|
556
|
-
during validation, `PUT` returns `409`; reload the rule before retrying.
|
|
556
|
+
during validation, `PUT` returns `409`; reload the rule before retrying. An enabled
|
|
557
|
+
rule must be disabled by a separate exact `{ "enabled": false }` request before
|
|
558
|
+
changing `project_id`; combining disable with a scope change is rejected. An
|
|
559
|
+
enabled invalid rule must also be disabled separately before repair. A disabled
|
|
560
|
+
invalid rule accepts a valid repair only while remaining disabled; repair and
|
|
561
|
+
enable must be separate. Project-scoped status values
|
|
557
562
|
must exist in that workflow; project, member, and label references must belong
|
|
558
563
|
to the organization. A request containing only `{ "enabled": false }` can
|
|
559
564
|
disable an invalid rule without changing its definition; owner/admin access
|
|
@@ -201,7 +201,9 @@ Use `atoll automation list`, `get <rule-uuid>`, `create --file rule.json`,
|
|
|
201
201
|
`runs <rule-uuid> --limit 20`, `enable`, `disable`, and `delete --force`.
|
|
202
202
|
Use `delete <rule-uuid> --dry-run` to preview deletion. Use `--json`
|
|
203
203
|
for machine-readable results and `--file -` for standard input. Create defaults
|
|
204
|
-
to disabled when `enabled` is omitted
|
|
204
|
+
to disabled when `enabled` is omitted, but the JSON must include an explicit
|
|
205
|
+
`project_id` UUID or `null` for Organization-wide scope; update preserves omitted
|
|
206
|
+
fields.
|
|
205
207
|
List uses the selected organization and applies a project filter only with
|
|
206
208
|
explicit `--project`; it does not inherit the default project.
|
|
207
209
|
|
|
@@ -213,4 +215,7 @@ The action chooses its target project/status and accepts approved
|
|
|
213
215
|
CI `test` sends `{}` by default, uses marked fixed examples, rejects overrides,
|
|
214
216
|
and executes no actions. Inspect the preview before explicitly enabling.
|
|
215
217
|
Rule writes, tests, and run history require owner/admin access; CLI does not bypass it.
|
|
216
|
-
`runs` preserves created issue IDs and interrupted-action evidence.
|
|
218
|
+
`runs` preserves created issue IDs and interrupted-action evidence. For an invalid
|
|
219
|
+
rule, use separate `disable`, `update` while disabled, `test`, and `enable`
|
|
220
|
+
operations. Human `get` output includes invalid state and validation paths;
|
|
221
|
+
`--json` preserves the API response.
|