arkgate 4.6.1 → 4.6.2

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 (46) hide show
  1. package/CHANGELOG.md +30 -1
  2. package/README.md +5 -3
  3. package/bin/ark-check-runtime.mjs +23 -127
  4. package/bin/ark-mcp-runtime.mjs +70 -48
  5. package/bin/ark.mjs +19 -78
  6. package/bin/lib/doctor-next-actions.mjs +92 -0
  7. package/bin/lib/doctor-plan.mjs +59 -69
  8. package/bin/lib/first-run-help.mjs +221 -0
  9. package/bin/lib/start-preview.mjs +17 -10
  10. package/bin/lib/status-command.mjs +5 -0
  11. package/bin/lib/status-manifest.mjs +6 -0
  12. package/dist/index.cjs +19 -19
  13. package/dist/index.d.ts +6 -1
  14. package/dist/index.js +22 -22
  15. package/docs/README.md +5 -5
  16. package/docs/agent-guide.md +1 -1
  17. package/docs/enthusiast/how-to-agent-gates.md +1 -1
  18. package/docs/package-surface.md +3 -3
  19. package/docs/use.md +4 -4
  20. package/package.json +2 -2
  21. package/server.json +3 -3
  22. package/templates/agent-skills/README.md +1 -1
  23. package/templates/agent-skills/ark-adopt/SKILL.md +14 -5
  24. package/templates/agent-skills/ark-architect/SKILL.md +2 -2
  25. package/templates/agent-skills/ark-autopilot/SKILL.md +12 -5
  26. package/templates/agent-skills/ark-contract/SKILL.md +1 -1
  27. package/templates/agent-skills/ark-coverage/SKILL.md +6 -5
  28. package/templates/agent-skills/ark-explain/SKILL.md +3 -2
  29. package/templates/agent-skills/ark-explore/SKILL.md +13 -4
  30. package/templates/agent-skills/ark-fix/SKILL.md +1 -1
  31. package/templates/agent-skills/ark-loop/SKILL.md +1 -1
  32. package/templates/agent-skills/ark-place/SKILL.md +10 -1
  33. package/templates/agent-skills/ark-think/SKILL.md +3 -2
  34. package/templates/agent-skills/ark-upgrade/SKILL.md +10 -3
  35. package/templates/skills/ark-adopt.md +14 -5
  36. package/templates/skills/ark-architect.md +2 -2
  37. package/templates/skills/ark-autopilot.md +12 -5
  38. package/templates/skills/ark-contract.md +1 -1
  39. package/templates/skills/ark-coverage.md +6 -5
  40. package/templates/skills/ark-explain.md +3 -2
  41. package/templates/skills/ark-explore.md +13 -4
  42. package/templates/skills/ark-fix.md +1 -1
  43. package/templates/skills/ark-loop.md +1 -1
  44. package/templates/skills/ark-place.md +10 -1
  45. package/templates/skills/ark-think.md +3 -2
  46. package/templates/skills/ark-upgrade.md +10 -3
package/dist/index.d.ts CHANGED
@@ -254,7 +254,7 @@ declare function loadArkConfigContract(input: unknown, source?: string): ArkConf
254
254
  declare function parseArkConfigJson(json: string, source?: string): ArkConfigLoadResult;
255
255
 
256
256
  /** ArkGate library version — single source of truth. */
257
- declare const version = "4.6.1";
257
+ declare const version = "4.6.2";
258
258
 
259
259
  /** Versioned public result contract shared by every ArkGate enforcement adapter. */
260
260
  /**
@@ -3049,6 +3049,11 @@ type StatusManifestFacts = {
3049
3049
  rulesFrozenResidual?: number | null;
3050
3050
  /** Optional override when Tooling already computed productHonesty next action. */
3051
3051
  nextActionOverride?: StatusNextAction | null;
3052
+ /**
3053
+ * Leftover design work remains (import rules may be clean). Not a score.
3054
+ * When true, nextAction must not be stay-enforced.
3055
+ */
3056
+ leftoverDesignWork?: boolean;
3052
3057
  /**
3053
3058
  * Improvement compass residual slice (notAScore) with honesty mode.
3054
3059
  * Prefer projectStatusImprovementCompass() before passing facts.