@selesai/code 0.3.6 → 0.3.7

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.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: builder
3
- model: tokenin/deepseek-v4-flash
3
+ model: tokenin/qwen3.5-397b
4
4
  thinking: high
5
5
  description: Implementation agent for normal tasks handoffs
6
6
  systemPromptMode: replace
@@ -1,5 +1,7 @@
1
1
  ---
2
2
  name: researcher
3
+ model: tokenin/kimi-k2.7-code
4
+ thinking: high
3
5
  description: Autonomous web researcher — searches, evaluates, and synthesizes a focused research brief
4
6
  tools: read, write, web_explore, intercom
5
7
  thinking: medium
@@ -441,7 +441,9 @@ export class WorkflowStateMachine {
441
441
  const sat = await this.artifactSatisfiedFor(this.phase, deps);
442
442
  if (!sat.exists) return { kind: "noOp" };
443
443
  if (sat.reason) {
444
- this.autoArmed = false;
444
+ // Keep armed: the artifact exists but failed the semantic gate. The
445
+ // next corrected write/subagent result must be able to advance this
446
+ // same phase; disarming here leaves the workflow stuck forever.
445
447
  const missing = this.config.phaseArtifacts[this.phase]!;
446
448
  return { kind: "blocked", phase: this.phase, missing, reason: sat.reason };
447
449
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selesai/code",
3
- "version": "0.3.6",
3
+ "version": "0.3.7",
4
4
  "description": "Selesai coding agent",
5
5
  "type": "module",
6
6
  "piConfig": {