@amaster.ai/employee-runtime-connector 0.1.1-beta.5 → 0.1.1-beta.6

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.
@@ -3944,7 +3944,7 @@ function fixedRules(input, includeIssueLine) {
3944
3944
  "Use only the declared workspace; make concrete progress and report concisely.",
3945
3945
  "Before changing the task status to done, audit every explicit requirement in the task against the final evidence. A successful tool or document write proves delivery, not acceptance: inspect the delivered content for required sections, diagrams, tables, and factual constraints.",
3946
3946
  "Do not leave stale in-progress wording such as \u201Ccurrent run\u201D in a terminal deliverable; rewrite it to the final observed state. Do not list finalization itself as remaining or next work in a terminal deliverable.",
3947
- serverOwnedBusinessOutcomeReview ? "If any requirement is missing or cannot be verified, do not mark done or request final completion or Business Outcome review. Keep the issue in_progress or blocked with the exact gap and next owner. An intermediate review remains available only for an exact document revision that must be approved before execution can continue: use create_interaction with kind request_confirmation, payload.resolutionMode review, and purposeCode review_document_revision; never use that interaction as final completion or Outcome acceptance." : "If any requirement is missing or cannot be verified, do not mark done. To request review, use create_interaction with kind request_confirmation and payload.resolutionMode review; never call update_parent with status in_review. Otherwise keep the issue todo or blocked with the exact gap and next owner.",
3947
+ serverOwnedBusinessOutcomeReview ? "If any requirement is missing or cannot be verified, do not mark done or request final completion or Business Outcome review. Keep the issue in_progress with the exact gap and next owner. An intermediate review remains available only for an exact document revision that must be approved before execution can continue: use create_interaction with kind request_confirmation, payload.resolutionMode review, and purposeCode review_document_revision; never use that interaction as final completion or Outcome acceptance." : "If anything is missing, do not mark done. `update_parent` cannot write `in_review` or `blocked`. Human review: create_interaction kind request_confirmation with payload.resolutionMode review. Required platform/provider/external action needs a typed interaction or first-class blocker; otherwise keep todo with the gap and owner.",
3948
3948
  DEADLINE_POSTURE_GUARD,
3949
3949
  "Do not install operating-system or user-global packages, and do not use host package managers such as brew, apt, yum, or global pip/npm installs. Use tools already available or workspace-local dependencies or virtual environments. If a required renderer or evaluator is unavailable, keep the source artifact, record the exact verification gap, and do not mutate the host.",
3950
3950
  `- command id: ${input.commandId}`,
@@ -4003,9 +4003,13 @@ function recoveryInstructionText(input) {
4003
4003
  if (input.wakeReason === "source_scoped_recovery_action") {
4004
4004
  const wake = asRecord(context.paperclipWake);
4005
4005
  const unresolvedBlockerIssueIds = Array.isArray(wake.unresolvedBlockerIssueIds) ? wake.unresolvedBlockerIssueIds.map(readString).filter(Boolean) : [];
4006
- const blockedDisposition = unresolvedBlockerIssueIds.length > 0 ? `- blocked only when the issue already has an unresolved first-class blocker; name the exact blocker and wait condition from: ${unresolvedBlockerIssueIds.join(", ")};` : [
4007
- "- if source work remains on this issue, choose continuation/todo and then execute the Runtime Action Continuation Option rendered below so the control plane can queue a normal-model continuation;",
4008
- "- do not set `blocked` without an unresolved first-class blocker; a named owner or proposed next action alone is not a blocker;"
4006
+ const blockedDisposition = unresolvedBlockerIssueIds.length > 0 ? [
4007
+ "- `update_parent` cannot write `blocked`; the existing first-class blocker path is authoritative and must not be replaced by `in_progress`;",
4008
+ `- name the exact blocker and wait condition from: ${unresolvedBlockerIssueIds.join(", ")}; continuation/todo can wait behind that blocker when source work remains;`
4009
+ ].join("\n") : [
4010
+ "- `update_parent` cannot write `blocked`; do not use `in_progress` to represent a wait;",
4011
+ "- when a specific human, platform, provider, or external action is required before work can continue, create a typed interaction that names the exact owner and unblock action;",
4012
+ "- otherwise, if source work remains on this issue, choose continuation/todo and then execute the Runtime Action Continuation Option rendered below so the control plane can queue a normal-model continuation;"
4009
4013
  ].join("\n");
4010
4014
  return [
4011
4015
  "This is a status-only source recovery. Do not repeat the original source work or create or revise deliverables.",
@@ -8735,7 +8739,7 @@ function assertSourceAcquisitionRuntimeAuthority({
8735
8739
  }
8736
8740
 
8737
8741
  // src/amaster-runtime-daemon.mjs
8738
- var CONNECTOR_VERSION = "0.1.1-beta.5";
8742
+ var CONNECTOR_VERSION = "0.1.1-beta.6";
8739
8743
  var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
8740
8744
  var SOURCE_ACQUISITION_CAPABILITY = "source_acquisition_v1";
8741
8745
  var SOURCE_ACQUISITION_PROFILE_VERSION = "source_acquisition_v1";
@@ -5,7 +5,7 @@ import { dirname, join, resolve } from "node:path";
5
5
  import { homedir, hostname } from "node:os";
6
6
  import { fileURLToPath } from "node:url";
7
7
 
8
- const CONNECTOR_VERSION = "0.1.1-beta.5";
8
+ const CONNECTOR_VERSION = "0.1.1-beta.6";
9
9
 
10
10
  const CAPABILITIES = [
11
11
  "remote_registration",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/employee-runtime-connector",
3
- "version": "0.1.1-beta.5",
3
+ "version": "0.1.1-beta.6",
4
4
  "description": "MirrorX runtime connector CLI and daemon",
5
5
  "license": "MIT",
6
6
  "type": "module",