@amaster.ai/employee-runtime-connector 0.1.1-beta.83 → 0.1.1-beta.85
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.
|
@@ -6460,11 +6460,23 @@ function resolvedDependencySections(context, input, contextScope, snapshotFreshn
|
|
|
6460
6460
|
` \u2026mandatory required reads are capped at ${MAX_RESOLVED_DEPENDENCY_REQUIRED_READS}; the remaining ${overflowRefs.length} predecessor document(s) are listed under On-demand Context References.`
|
|
6461
6461
|
);
|
|
6462
6462
|
}
|
|
6463
|
-
const
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
"
|
|
6463
|
+
const completionContext = asRecord(context.completionContext);
|
|
6464
|
+
const requiredChildIssueIds = Array.isArray(completionContext.requiredChildIssueIds) ? completionContext.requiredChildIssueIds.map(readString).filter(Boolean) : [];
|
|
6465
|
+
const multiAcceptanceParentClosure = completionContext.acceptanceRefreshRequired === true && !readString(completionContext.finalAggregationIssueId) && requiredChildIssueIds.length > 0;
|
|
6466
|
+
const multiAcceptanceLines = multiAcceptanceParentClosure ? [
|
|
6467
|
+
"Multi-acceptance parent closure contract:",
|
|
6468
|
+
"- A parent-only summary or parent-only Delivery Manifest is not sufficient, even when every child is already done and accepted.",
|
|
6469
|
+
"- The refreshed parent Delivery Manifest must include at least one exact current deliverable from every required child as a supporting exact_ref. Use the Required reads below when they identify a current document revision. For a required child without a document tuple, read that child's current Delivery Manifest and copy an exact current ref; never invent one. Keep the parent aggregation deliverable as primary when applicable.",
|
|
6470
|
+
"- Re-read current parent delivery readiness immediately before publishing the replacement Manifest. Do not attempt terminal status while any required child is absent from the Manifest."
|
|
6471
|
+
] : [];
|
|
6472
|
+
const requiredLines = tuples.length > 0 || multiAcceptanceLines.length > 0 ? [
|
|
6473
|
+
...tuples.length > 0 ? [
|
|
6474
|
+
"Accepted predecessor outputs are binding inputs unless this issue explicitly requests reconsideration.",
|
|
6475
|
+
"Before any downstream document/artifact write, review request, status mutation, or completion, perform every Required read.",
|
|
6476
|
+
"Current-issue documents, parent-issue documents, summaries, and workspace files are not substitutes for these predecessor documents.",
|
|
6477
|
+
"Compare each returned latestRevisionId with the expected value. On revision mismatch, do not perform downstream writes; report it."
|
|
6478
|
+
] : [],
|
|
6479
|
+
...multiAcceptanceLines,
|
|
6468
6480
|
...tuples.flatMap((tuple, index) => {
|
|
6469
6481
|
const readArguments = { issueId: tuple.blockerSelector, key: tuple.key };
|
|
6470
6482
|
const directToolName = managedDirectToolName(input, "amaster.read_issue_document");
|
|
@@ -11674,7 +11686,7 @@ var source_acquisition_compatibility_default = {
|
|
|
11674
11686
|
};
|
|
11675
11687
|
|
|
11676
11688
|
// src/amaster-runtime-daemon.mjs
|
|
11677
|
-
var CONNECTOR_VERSION = "0.1.1-beta.
|
|
11689
|
+
var CONNECTOR_VERSION = "0.1.1-beta.85";
|
|
11678
11690
|
var CONNECTOR_CONTRACT_VERSION = "2026-06-04.v1";
|
|
11679
11691
|
var SOURCE_ACQUISITION_CAPABILITY = source_acquisition_compatibility_default.profileVersion;
|
|
11680
11692
|
var daemonRequire = createRequire(import.meta.url);
|
package/dist/amaster-runtime.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { basename, dirname, join, resolve } from "node:path";
|
|
|
6
6
|
import { homedir, hostname } from "node:os";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
|
|
9
|
-
const CONNECTOR_VERSION = "0.1.1-beta.
|
|
9
|
+
const CONNECTOR_VERSION = "0.1.1-beta.85";
|
|
10
10
|
|
|
11
11
|
const CAPABILITIES = [
|
|
12
12
|
"remote_registration",
|