wicked-core-ts 0.15.26 → 0.15.27

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.
Files changed (2) hide show
  1. package/index.d.ts +8 -1
  2. package/package.json +6 -6
package/index.d.ts CHANGED
@@ -390,6 +390,11 @@ export declare class Core {
390
390
  * decision, and it is recorded on the run plus an `intentAmended` event. It is the only arm
391
391
  * that can descope a run mid-flight; refused at a plan or team gate, and with empty text.
392
392
  *
393
+ * (DES-RULE-CHECK-001 S2, additive.) At a `rules_unchecked` gate (a steering rule no judge
394
+ * ruled on): `retry_rules` (`approve=true`, no `amend`) re-runs the rule check on the same work,
395
+ * and `skip_rules` (`approve=true`, `amend` = JSON `[{"id", "reason"}]`) skips unchecked rules,
396
+ * each with its reason, then re-runs it. The step does not run again; refused at any other gate.
397
+ *
393
398
  * (DES-TEAMING-002 T3, additive.) `planJson` answers a `plan_approval` gate WITH AN EDIT: the
394
399
  * edited plan as JSON (`approve=true`, `action` omitted or `edit_plan`). The engine accepts it
395
400
  * as the next plan rev (floor phases added, never refused for being below the floor) or, if it
@@ -972,7 +977,9 @@ export declare class Core {
972
977
  * recorded fact (no step of the job selects it, with the gate's literal tokens; tool tokens the MCP and editor gates
973
978
  * judge per call; another project; a facet or trigger the
974
979
  * job's diff does not meet); an unknown fact decides nothing. Pure: no store, no model. Rejects with
975
- * `bad_request: …`. Static, like `evaluateMcpCall`.
980
+ * `bad_request: …`. Static, like `evaluateMcpCall`. (DES-RULE-CHECK-001) `job.repo` (the job's repository
981
+ * id or name) and `job.paths` (changed files): a rule whose `statement` or `source_ref` document names
982
+ * the repository, or whose statement names a changed file, applies — so send each rule's `statement`.
976
983
  */
977
984
  static matchRules(argsJson: string): Promise<string>
978
985
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wicked-core-ts",
3
- "version": "0.15.26",
3
+ "version": "0.15.27",
4
4
  "description": "Node/TypeScript bindings (napi-rs) for wicked-core: drive the in-process orchestration engine from JS/TS.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -43,11 +43,11 @@
43
43
  "typecheck": "tsc --noEmit -p types-test/tsconfig.json"
44
44
  },
45
45
  "optionalDependencies": {
46
- "wicked-core-ts-darwin-arm64": "0.15.26",
47
- "wicked-core-ts-darwin-x64": "0.15.26",
48
- "wicked-core-ts-linux-arm64-gnu": "0.15.26",
49
- "wicked-core-ts-linux-x64-gnu": "0.15.26",
50
- "wicked-core-ts-win32-x64-msvc": "0.15.26"
46
+ "wicked-core-ts-darwin-arm64": "0.15.27",
47
+ "wicked-core-ts-darwin-x64": "0.15.27",
48
+ "wicked-core-ts-linux-arm64-gnu": "0.15.27",
49
+ "wicked-core-ts-linux-x64-gnu": "0.15.27",
50
+ "wicked-core-ts-win32-x64-msvc": "0.15.27"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@napi-rs/cli": "^2.18.4",