amsd-pipeline-shared 0.5.21 → 0.5.22
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.
- package/docs/gateway-baseline-2.0.80.md5 +5 -0
- package/docs/gateway-files.txt +5 -0
- package/orchestrations/scripts/lib/codeline-lanes.sh +20 -0
- package/orchestrations/scripts/lib/mint-and-spec.sh +853 -0
- package/orchestrations/scripts/lib/prelaunch.js +21 -1
- package/orchestrations/scripts/lib/project-prompt-builder.js +1413 -0
- package/orchestrations/scripts/lib/prompt-library.js +298 -0
- package/orchestrations/scripts/lib/prompt-variant.sh +123 -0
- package/orchestrations/scripts/mint-agents-step.js +1417 -0
- package/package.json +1 -1
|
@@ -236,3 +236,8 @@ ff9ea38d594f181363c40295ea42012a prompts/templates/writer-plan-section.json
|
|
|
236
236
|
4120de0abec9f84c3b0fa98cd2584233 scripts/lib/worktree-rungs.sh
|
|
237
237
|
515f80e7a9228cdfbc39e71c06066d95 scripts/lib/story-attempt.sh
|
|
238
238
|
6a31e809386b4114794bb773c850b46b scripts/lib/producers/fix-plan.js
|
|
239
|
+
b3e93b2042f50c5b69133108c8de9711 scripts/lib/prompt-library.js
|
|
240
|
+
a7d52fab41432240f1e2dbffd6710ea5 scripts/lib/project-prompt-builder.js
|
|
241
|
+
dea5be1123db8ab5b054fef8cc1388fe scripts/mint-agents-step.js
|
|
242
|
+
eb4979b0f88ed8449b2e4702d0dff7a5 scripts/lib/prompt-variant.sh
|
|
243
|
+
d4992178558476af4c4c228e6aa63b2d scripts/lib/mint-and-spec.sh
|
package/docs/gateway-files.txt
CHANGED
|
@@ -212,6 +212,7 @@ scripts/lib/kb-store.js
|
|
|
212
212
|
scripts/lib/kb-synthesizer.js
|
|
213
213
|
scripts/lib/langfuse-emit.js
|
|
214
214
|
scripts/lib/llm-settings-resolve.js
|
|
215
|
+
scripts/lib/mint-and-spec.sh
|
|
215
216
|
scripts/lib/model-ladder.sh
|
|
216
217
|
scripts/lib/model-ladders.sh
|
|
217
218
|
scripts/lib/orchestration-resume.sh
|
|
@@ -224,7 +225,10 @@ scripts/lib/plan-scope.js
|
|
|
224
225
|
scripts/lib/preflight.sh
|
|
225
226
|
scripts/lib/prelaunch.js
|
|
226
227
|
scripts/lib/producers/fix-plan.js
|
|
228
|
+
scripts/lib/project-prompt-builder.js
|
|
227
229
|
scripts/lib/project-prompt-contract.js
|
|
230
|
+
scripts/lib/prompt-library.js
|
|
231
|
+
scripts/lib/prompt-variant.sh
|
|
228
232
|
scripts/lib/qa-gate-evidence.sh
|
|
229
233
|
scripts/lib/relative-paths.js
|
|
230
234
|
scripts/lib/release-lines.sh
|
|
@@ -246,6 +250,7 @@ scripts/lib/tool-timeouts.js
|
|
|
246
250
|
scripts/lib/transcript-tool-calls.js
|
|
247
251
|
scripts/lib/worktree-rungs.sh
|
|
248
252
|
scripts/llm-handler.sh
|
|
253
|
+
scripts/mint-agents-step.js
|
|
249
254
|
scripts/preflight-check.sh
|
|
250
255
|
scripts/preflight-prd-integrity.sh
|
|
251
256
|
scripts/preflight-static.sh
|
|
@@ -1203,6 +1203,10 @@ _run_codeline_loop() {
|
|
|
1203
1203
|
# THE DECLARATION IS THE CODELINE'S RESULT (lib/handlers/record-declared-pass.js).
|
|
1204
1204
|
"$NODE_BIN" "$SCRIPT_DIR/lib/handlers/record-declared-pass.js" "$_prd_path" "$_cl" || true
|
|
1205
1205
|
# ITS OTHER RELEASE LINES STILL SHIP (lib/release-lines.sh): passed is the operator's word for the codeline's own line.
|
|
1206
|
+
if ! lane_codeline_set_restore "$_cl_prd"; then
|
|
1207
|
+
error "[orch] Codeline '${_cl}': its own recorded agents and prompts are not there — its release lines do not run on another codeline's set"
|
|
1208
|
+
_overall=1; continue
|
|
1209
|
+
fi
|
|
1206
1210
|
_run_release_lines "$_cl" "$_cl_prd" "$_wt" "${LOG_DIR:-/tmp}/lanes/${_cl}" "$_log_file" "$_phase_filter" "$0" "$_prd_path" || _overall=1
|
|
1207
1211
|
continue
|
|
1208
1212
|
fi
|
|
@@ -1215,6 +1219,12 @@ _run_codeline_loop() {
|
|
|
1215
1219
|
warning "[orch] Set EPAM_PARALLEL_CODELINES=0 if these lanes integrate with each other."
|
|
1216
1220
|
fi
|
|
1217
1221
|
|
|
1222
|
+
# LANES THAT RUN TOGETHER SHARE ONE ACTIVE SET (operator, 2026-10-22: "prompts/profiles BY codeline"): they start only when
|
|
1223
|
+
# their codelines' recorded sets are the same (lib/prompt-variant.sh parallel_lanes_codeline_set_restore); otherwise none starts.
|
|
1224
|
+
if [ "${#_p_cls[@]}" -gt 0 ] && ! parallel_lanes_codeline_set_restore "${_p_prds[@]}"; then
|
|
1225
|
+
error "[orch] Parallel lanes not started: each lane must work from its own codeline's set — EPAM_PARALLEL_CODELINES=0 runs them one at a time"
|
|
1226
|
+
_overall=1; _p_cls=()
|
|
1227
|
+
fi
|
|
1218
1228
|
log "[orch] Launching ${#_p_cls[@]} codeline(s) in PARALLEL..."
|
|
1219
1229
|
_lane_idx=0
|
|
1220
1230
|
while [ "$_lane_idx" -lt "${#_p_cls[@]}" ]; do
|
|
@@ -1476,12 +1486,22 @@ _run_codeline_loop() {
|
|
|
1476
1486
|
# THE DECLARATION IS THE CODELINE'S RESULT (lib/handlers/record-declared-pass.js).
|
|
1477
1487
|
"$NODE_BIN" "$SCRIPT_DIR/lib/handlers/record-declared-pass.js" "$_prd_path" "$_cl" || true
|
|
1478
1488
|
# ITS OTHER RELEASE LINES STILL SHIP (lib/release-lines.sh): passed is the operator's word for the codeline's own line.
|
|
1489
|
+
if ! lane_codeline_set_restore "$_cl_prd"; then
|
|
1490
|
+
error "[orch] Codeline '${_cl}': its own recorded agents and prompts are not there — its release lines do not run on another codeline's set"
|
|
1491
|
+
_overall=1; continue
|
|
1492
|
+
fi
|
|
1479
1493
|
_run_release_lines "$_cl" "$_cl_prd" "$_wt" "${LOG_DIR:-/tmp}/lanes/${_cl}" "$_log_file" "$_phase_filter" "$0" "$_prd_path" || _overall=1
|
|
1480
1494
|
continue
|
|
1481
1495
|
fi
|
|
1482
1496
|
|
|
1483
1497
|
_rebuild_cross
|
|
1484
1498
|
log "[orch] Codeline '${_cl}' — ${_n_stories} stories → ${_wt}"
|
|
1499
|
+
# THE LANE WORKS FROM ITS OWN CODELINE'S SET (operator, 2026-10-22: "prompts/profiles BY codeline"): restored before any of its
|
|
1500
|
+
# agents run (lib/prompt-variant.sh lane_codeline_set_restore); a codeline with no recorded set does not run on another's.
|
|
1501
|
+
if ! lane_codeline_set_restore "$_cl_prd"; then
|
|
1502
|
+
error "[orch] Codeline '${_cl}': its own recorded agents and prompts are not there — the lane does not run on another codeline's set"
|
|
1503
|
+
_overall=1; continue
|
|
1504
|
+
fi
|
|
1485
1505
|
|
|
1486
1506
|
# A SEQUENTIAL LANE GETS ITS OWN LOG_DIR TOO. The parallel loop scoped it (2026-07-29: state
|
|
1487
1507
|
# files read back across lanes); this loop did not, so every lane shared phase-baseline-sha.txt
|