cli-aimlock 7.0.2 → 7.0.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/package.json +1 -1
- package/skill/SKILL.md +7 -0
- package/skill/skill.json +1 -1
package/package.json
CHANGED
package/skill/SKILL.md
CHANGED
|
@@ -43,6 +43,10 @@ POST JSON to the endpoint with an `input` wrapper:
|
|
|
43
43
|
- `keep-alive`: arm a 90s ping while the goal is open.
|
|
44
44
|
- `delivery-doc`: write a summary only if the user confirmed.
|
|
45
45
|
- `validate-json`: validate an Aimlock run JSON.
|
|
46
|
+
- `chain-plan`: generate the execution chain for this demand from `chain` + `risk` (Router).
|
|
47
|
+
- `chain-status`: report the current step and completion of an active chain.
|
|
48
|
+
- `registry-register`: register a skill hop (whenToCall / whenNotToCall / prerequisites / chainPosition) into the Router registry.
|
|
49
|
+
- `feedback`: record a routing decision for rule-table refinement (fromSkill → toSkill + reason).
|
|
46
50
|
|
|
47
51
|
## Required flow
|
|
48
52
|
|
|
@@ -73,9 +77,12 @@ Default allowlist is **official skills**. `capabilities` (platform) returns `off
|
|
|
73
77
|
|
|
74
78
|
Call a hop only when `call` is true. That means the hop's capability matches this demand and the current chain allows it.
|
|
75
79
|
|
|
80
|
+
**Router mode (recommended):** pass `useRegistry: true` (or `registryVersion`) to `skill-route`; Aimlock answers hops from its built-in `SKILL_REGISTRY` (blueprint / swarm / calctool / mergeguard / validator), no catalog round-trip needed. For a full execution chain, call `chain-plan` with `chain` (`code-risky` | `calculator` | `page-new` | `merge` | `probe-only` | `chat`) and `risk`; it returns the ordered step list and the first `ready` step. High-risk demands must include `validator` — skipping it is blocked. Track progress with `chain-status` (chainId + steps + completed).
|
|
81
|
+
|
|
76
82
|
- Do not call chain-unrelated skills.
|
|
77
83
|
- Do not call self-extended or marketplace extras.
|
|
78
84
|
- Extra skills enter the candidate list only when the user names them (`userSpecifiedSkills`). Then call that skill's `capabilities` and invoke only if its capability matches the demand.
|
|
85
|
+
- New skills are added to the registry via `registry-register`; routing misses are reported via `feedback`.
|
|
79
86
|
|
|
80
87
|
Do not call Calctool unless the aim is a calculator tool.
|
|
81
88
|
|
package/skill/skill.json
CHANGED