@tea-agent/loop-agent 0.44.0-next.7 → 0.44.0-next.9
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/CHANGELOG.md +100 -0
- package/dist/application/evaluation/budget.js +21 -0
- package/dist/application/evaluation/corpus-hash.js +10 -15
- package/dist/application/evaluation/corpus.js +2 -1
- package/dist/application/evaluation/frontend-browser-acceptance.js +77 -0
- package/dist/application/evaluation/frontend-corpus-browser-acceptance.js +175 -0
- package/dist/application/evaluation/frontend-gateway-evidence.js +226 -0
- package/dist/application/evaluation/frontend-pair-registration.js +143 -0
- package/dist/application/evaluation/frontend-paired-summary.js +150 -0
- package/dist/application/evaluation/frontend-run-observation.js +144 -0
- package/dist/application/evaluation/frontend-shared-evidence.js +105 -0
- package/dist/application/evaluation/types.js +45 -12
- package/dist/application/task-lifecycle/observe.js +26 -1
- package/dist/build-stamp.json +3 -3
- package/dist/cli/command-definitions.js +11 -0
- package/dist/cli/program.js +4 -0
- package/dist/commands/task-advance.js +3 -5
- package/dist/commands/task-source-prepare.js +13 -1
- package/dist/executors/dag-pi/guards.js +4 -0
- package/dist/executors/dag-pi/model-config.js +30 -0
- package/dist/{workflows/dag/frontend-plan-completeness.js → executors/dag-pi/plan/facts.js} +25 -41
- package/dist/executors/dag-pi/plan/ledger-contract.js +55 -0
- package/dist/executors/dag-pi/tools/contract-tools.js +515 -0
- package/dist/executors/dag-pi/tools/design-terminal-tools.js +166 -0
- package/dist/executors/dag-pi/tools/plan-decision-tools.js +519 -0
- package/dist/executors/dag-pi/tools/review-terminal-tools.js +166 -0
- package/dist/executors/dag-pi/tools/scout-evidence-tools.js +270 -0
- package/dist/executors/dag-pi-executor.js +198 -118
- package/dist/executors/pi-executor.js +6 -1
- package/dist/executors/pi-sdk-executor.js +76 -11
- package/dist/executors/shell-executor.js +88 -12
- package/dist/infrastructure/console/operation-store.js +2 -0
- package/dist/infrastructure/evaluation/corpus-store.js +37 -12
- package/dist/shared/operator/capabilities.js +10 -5
- package/dist/task/config-types.js +22 -9
- package/dist/task/contract/project.js +13 -0
- package/dist/task/contract/schema.js +2 -8
- package/dist/task/frontend-preflight.js +1 -1
- package/dist/task/source-prepare/parse-intent.js +124 -5
- package/dist/task/source-prepare/prepare.js +6 -1
- package/dist/task/source-prepare/semantic-intake.js +18 -3
- package/dist/task/source-prepare/source-execution.js +65 -0
- package/dist/task/source-prepare/source-fidelity-pi.js +22 -9
- package/dist/task/source-prepare/source-provider-budget.js +290 -0
- package/dist/worker/console/operator-actions.js +0 -1
- package/dist/worker/console/operator-user-error.js +1 -1
- package/dist/worker/console/prd-intake-bridge.js +5 -15
- package/dist/worker/console/static/assets/{abnfDiagram-N423BO3Z-DTuku_-7.js → abnfDiagram-N423BO3Z-r1NAPU_5.js} +1 -1
- package/dist/worker/console/static/assets/{arc-CQbCsSqb.js → arc-dT5T4sVL.js} +1 -1
- package/dist/worker/console/static/assets/{architectureDiagram-T3A2C74G-C-xUntTR.js → architectureDiagram-T3A2C74G-CP_cOq46.js} +1 -1
- package/dist/worker/console/static/assets/{blockDiagram-VBNYF7ZC-DhNlwGAl.js → blockDiagram-VBNYF7ZC-sToEZxEf.js} +1 -1
- package/dist/worker/console/static/assets/{c4Diagram-5PPSVZJV-B7j3nx8o.js → c4Diagram-5PPSVZJV-DSxwwi2m.js} +1 -1
- package/dist/worker/console/static/assets/channel-CyBY_yGk.js +1 -0
- package/dist/worker/console/static/assets/{chunk-2GRJ4B5K-BCrcxEh2.js → chunk-2GRJ4B5K-B9fh0IkF.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-2Q5K7J3B-CsaePDb3.js → chunk-2Q5K7J3B-CAUNl-A6.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-5RXB4S5H--SRQc1rN.js → chunk-5RXB4S5H-BomeqbNX.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-5VM5RSS4-C5BFY2Po.js → chunk-5VM5RSS4-BNAuTOLE.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-6Q2QTUOP-Caso6uN7.js → chunk-6Q2QTUOP-DfzjRD5y.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-GF5L2VYU-AY2ZSAx2.js → chunk-GF5L2VYU-C3uE-yc2.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-JWPE2WC7-DiMqZQ_8.js → chunk-JWPE2WC7-C3sQMMYr.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-KBJHAD2P-gpvvriOp.js → chunk-KBJHAD2P-D_AtEYQL.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-RYQCIY6F-CUdyoJhI.js → chunk-RYQCIY6F-DW4TwhKv.js} +1 -1
- package/dist/worker/console/static/assets/{chunk-XXDRQBXY-Bp1xW3T4.js → chunk-XXDRQBXY-CTQDmJcp.js} +1 -1
- package/dist/worker/console/static/assets/classDiagram-JCYQIIEL-D5lN4E_E.js +1 -0
- package/dist/worker/console/static/assets/classDiagram-v2-OCEON4UE-D5lN4E_E.js +1 -0
- package/dist/worker/console/static/assets/{cose-bilkent-JH36ORCC-D-JIcOIT.js → cose-bilkent-JH36ORCC-iMqPuBsL.js} +1 -1
- package/dist/worker/console/static/assets/{cynefin-VYW2F7L2-C-NKFflx.js → cynefin-VYW2F7L2-DktIuDWs.js} +1 -1
- package/dist/worker/console/static/assets/{cynefinDiagram-MW4NZA55-CSOcvOAA.js → cynefinDiagram-MW4NZA55-BgVnjyEs.js} +1 -1
- package/dist/worker/console/static/assets/{dagre-VZM6K2ZE-BQSBltMy.js → dagre-VZM6K2ZE-CR25E4bu.js} +1 -1
- package/dist/worker/console/static/assets/{diagram-7IWD3JNH-B0LVC45G.js → diagram-7IWD3JNH-CPM2h5HY.js} +1 -1
- package/dist/worker/console/static/assets/{diagram-B4RE2ZJO-Cypg3nqy.js → diagram-B4RE2ZJO-DqF0x2g1.js} +1 -1
- package/dist/worker/console/static/assets/{diagram-LBJQPF4R-BBDU88XJ.js → diagram-LBJQPF4R-G8BYp2eb.js} +1 -1
- package/dist/worker/console/static/assets/{diagram-Q27KOJAE-BZusLqSb.js → diagram-Q27KOJAE-BbC4kT_D.js} +1 -1
- package/dist/worker/console/static/assets/{diagram-UB23O5K3-Cfolotcr.js → diagram-UB23O5K3-CKZwZ-G5.js} +1 -1
- package/dist/worker/console/static/assets/{ebnfDiagram-BXEA7PRR-CjfyUy0m.js → ebnfDiagram-BXEA7PRR-kJDmheia.js} +1 -1
- package/dist/worker/console/static/assets/{erDiagram-JOGREHBK-DJdz7txE.js → erDiagram-JOGREHBK-DFTVHyxB.js} +1 -1
- package/dist/worker/console/static/assets/{flowDiagram-UKHOOZJN-CQqgPO6y.js → flowDiagram-UKHOOZJN-BqdN5_os.js} +1 -1
- package/dist/worker/console/static/assets/{ganttDiagram-PKOTCBZU-BOpGfS2m.js → ganttDiagram-PKOTCBZU-SYDjVakh.js} +1 -1
- package/dist/worker/console/static/assets/{gitGraphDiagram-DS77QQ5N-C6UCu0qx.js → gitGraphDiagram-DS77QQ5N-Bf8bNpGA.js} +1 -1
- package/dist/worker/console/static/assets/index-B28Onmfy.css +1 -0
- package/dist/worker/console/static/assets/{index-DWKejNVJ.js → index-CTMZsDmh.js} +98 -98
- package/dist/worker/console/static/assets/{infoDiagram-6WML65LV-BWeaVEUB.js → infoDiagram-6WML65LV-DIeAmJ45.js} +1 -1
- package/dist/worker/console/static/assets/{ishikawaDiagram-WSZJBQD7-C8gmlBbk.js → ishikawaDiagram-WSZJBQD7-oikqUAlo.js} +1 -1
- package/dist/worker/console/static/assets/{journeyDiagram-NVQOT4AX-DF3bm8Bp.js → journeyDiagram-NVQOT4AX-mKEF_xYT.js} +1 -1
- package/dist/worker/console/static/assets/{kanban-definition-27J2QSJJ-D2fG2Vxi.js → kanban-definition-27J2QSJJ-BdWJHPnN.js} +1 -1
- package/dist/worker/console/static/assets/{linear-BGKgMc2T.js → linear-DGRlieMH.js} +1 -1
- package/dist/worker/console/static/assets/{mermaid.core-DF6mMPJ9.js → mermaid.core-4P9yPC9c.js} +5 -5
- package/dist/worker/console/static/assets/{mindmap-definition-FAOFIHXS-AMhePheC.js → mindmap-definition-FAOFIHXS-5PTSkos6.js} +1 -1
- package/dist/worker/console/static/assets/{pegDiagram-VL7TDLO6-DN1Cl0W0.js → pegDiagram-VL7TDLO6-DONIFpG5.js} +1 -1
- package/dist/worker/console/static/assets/{pieDiagram-7S7Q4E2Y-Cx9ngUeN.js → pieDiagram-7S7Q4E2Y-D_Z4S70M.js} +1 -1
- package/dist/worker/console/static/assets/{quadrantDiagram-CIZ2JOQS-BcYPTQJb.js → quadrantDiagram-CIZ2JOQS-CAsjh8iY.js} +1 -1
- package/dist/worker/console/static/assets/{railroadDiagram-AXF67PYL-BqHUZWnH.js → railroadDiagram-AXF67PYL-Cx4Dd6ac.js} +1 -1
- package/dist/worker/console/static/assets/{requirementDiagram-LRYGKXZP-CmqWZ0-B.js → requirementDiagram-LRYGKXZP-cQb7mwyH.js} +1 -1
- package/dist/worker/console/static/assets/{sankeyDiagram-W5VNT64P--4YetH1y.js → sankeyDiagram-W5VNT64P-Cd-DhUdf.js} +1 -1
- package/dist/worker/console/static/assets/{sequenceDiagram-SI44F4Z6-DGD4VMfD.js → sequenceDiagram-SI44F4Z6-AlKYRgIk.js} +1 -1
- package/dist/worker/console/static/assets/{sizeCapture-X5ZJPWSS-QVw9q7rh.js → sizeCapture-X5ZJPWSS-CUy_ET4e.js} +1 -1
- package/dist/worker/console/static/assets/{stateDiagram-OKZ733FA-CuemV9pe.js → stateDiagram-OKZ733FA-CTuVe6Sa.js} +1 -1
- package/dist/worker/console/static/assets/stateDiagram-v2-UEYNNEHI-BsWhs8O7.js +1 -0
- package/dist/worker/console/static/assets/{swimlanes-SLNWSIFB-C7oKzZKs.js → swimlanes-SLNWSIFB-ChFLJb-v.js} +2 -2
- package/dist/worker/console/static/assets/swimlanesDiagram-ULZ7WXOC-CJcioYGH.js +8 -0
- package/dist/worker/console/static/assets/{timeline-definition-Z64GVDOM-C2Of60nT.js → timeline-definition-Z64GVDOM-DZZeiAPr.js} +1 -1
- package/dist/worker/console/static/assets/{vennDiagram-T6HMQDX7-DHtpQHyL.js → vennDiagram-T6HMQDX7-t4O91cZU.js} +1 -1
- package/dist/worker/console/static/assets/{wardleyDiagram-T6FBY63Y-COi9OhSy.js → wardleyDiagram-T6FBY63Y-CV5qGHZu.js} +1 -1
- package/dist/worker/console/static/assets/{xychartDiagram-ELKLHX3M-DPHQfRrt.js → xychartDiagram-ELKLHX3M-DyXbytUI.js} +1 -1
- package/dist/worker/console/static/index.html +2 -2
- package/dist/workflows/dag/budget-enforcement.js +31 -2
- package/dist/workflows/dag/frontend-closeout.js +3 -1
- package/dist/workflows/dag/frontend-contract-facts.js +11 -8
- package/dist/workflows/dag/frontend-design-policy.js +6 -6
- package/dist/workflows/dag/frontend-durable-tools.js +90 -70
- package/dist/workflows/dag/frontend-implementation-contract.js +146 -59
- package/dist/workflows/dag/frontend-plan-canary.js +66 -16
- package/dist/workflows/dag/frontend-plan-decision-contract.js +13 -21
- package/dist/workflows/dag/frontend-plan-progress.js +92 -0
- package/dist/workflows/dag/frontend-recovery-plan.js +11 -10
- package/dist/workflows/dag/frontend-recovery-run.js +51 -46
- package/dist/workflows/dag/frontend-repair-assertions.js +36 -0
- package/dist/workflows/dag/frontend-review-context.js +29 -1
- package/dist/workflows/dag/frontend-review-scopes.js +92 -2
- package/dist/workflows/dag/frontend-risk.js +8 -3
- package/dist/workflows/dag/frontend-root-observation.js +261 -0
- package/dist/workflows/dag/frontend-session-budget.js +52 -39
- package/dist/workflows/dag/frontend-session-context.js +10 -0
- package/dist/workflows/dag/frontend-test-execution-evidence.js +206 -48
- package/dist/workflows/dag/frontend-typed-event-store.js +11 -6
- package/dist/workflows/dag/frontend-verification-trace.js +6 -0
- package/dist/workflows/dag/frontend-writer-admission.js +2 -1
- package/dist/workflows/dag/init-hybrid.js +108 -37
- package/dist/workflows/dag/node-execution.js +11 -11
- package/dist/workflows/dag/rerun-feedback.js +35 -4
- package/dist/workflows/dag/rerun-task.js +62 -67
- package/dist/workflows/dag/runner.js +58 -12
- package/dist/workflows/dag/types.js +15 -8
- package/docs/architecture/runtime-boundaries.md +1 -1
- package/docs/templates/backend-test-dag.json +4 -4
- package/docs/templates/frontend-implementation-contract.schema.json +31 -11
- package/package.json +1 -1
- package/skills/frontend-design-review/SKILL.md +8 -11
- package/skills/frontend-design-review/references/review-checklist.md +3 -4
- package/skills/frontend-review/SKILL.md +5 -1
- package/skills/loop-agent/references/command-reference.md +8 -0
- package/dist/worker/console/static/assets/channel-5_os7t_x.js +0 -1
- package/dist/worker/console/static/assets/classDiagram-JCYQIIEL-loz0n18W.js +0 -1
- package/dist/worker/console/static/assets/classDiagram-v2-OCEON4UE-loz0n18W.js +0 -1
- package/dist/worker/console/static/assets/index-CUT440A8.css +0 -1
- package/dist/worker/console/static/assets/stateDiagram-v2-UEYNNEHI-BdlGdIJw.js +0 -1
- package/dist/worker/console/static/assets/swimlanesDiagram-ULZ7WXOC-DjjbHbde.js +0 -8
|
@@ -386,26 +386,18 @@
|
|
|
386
386
|
"additionalProperties": false,
|
|
387
387
|
"required": [
|
|
388
388
|
"id",
|
|
389
|
-
"type",
|
|
390
389
|
"commandLabel",
|
|
391
390
|
"file",
|
|
392
391
|
"requirementIds",
|
|
393
|
-
"uiStates"
|
|
392
|
+
"uiStates",
|
|
393
|
+
"mode",
|
|
394
|
+
"commandId"
|
|
394
395
|
],
|
|
395
396
|
"properties": {
|
|
396
397
|
"id": {
|
|
397
398
|
"type": "string",
|
|
398
399
|
"minLength": 1
|
|
399
400
|
},
|
|
400
|
-
"type": {
|
|
401
|
-
"enum": [
|
|
402
|
-
"static",
|
|
403
|
-
"unit",
|
|
404
|
-
"component",
|
|
405
|
-
"integration",
|
|
406
|
-
"mock"
|
|
407
|
-
]
|
|
408
|
-
},
|
|
409
401
|
"commandLabel": {
|
|
410
402
|
"type": "string",
|
|
411
403
|
"minLength": 1
|
|
@@ -436,6 +428,34 @@
|
|
|
436
428
|
"type": "string",
|
|
437
429
|
"minLength": 1
|
|
438
430
|
}
|
|
431
|
+
},
|
|
432
|
+
"mode": {
|
|
433
|
+
"enum": [
|
|
434
|
+
"static",
|
|
435
|
+
"behavior"
|
|
436
|
+
]
|
|
437
|
+
},
|
|
438
|
+
"commandId": {
|
|
439
|
+
"type": "string",
|
|
440
|
+
"minLength": 1
|
|
441
|
+
},
|
|
442
|
+
"scope": {
|
|
443
|
+
"enum": [
|
|
444
|
+
"unit",
|
|
445
|
+
"component",
|
|
446
|
+
"integration"
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
"evidenceLevel": {
|
|
450
|
+
"enum": [
|
|
451
|
+
"unit",
|
|
452
|
+
"mounted",
|
|
453
|
+
"real-integration"
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
"boundary": {
|
|
457
|
+
"type": "string",
|
|
458
|
+
"minLength": 1
|
|
439
459
|
}
|
|
440
460
|
}
|
|
441
461
|
}
|
package/package.json
CHANGED
|
@@ -15,17 +15,17 @@ Do not rediscover sources, search specification roots or invent connector result
|
|
|
15
15
|
|
|
16
16
|
## Authoritative Terminal
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
Use `replace:true` for revisions. The terminal automatically includes saved findings;
|
|
20
|
-
do not repeat their array. Correct rejected calls, then commit one successful terminal:
|
|
18
|
+
Use `record_design_finding` with stable IDs; correct rejected calls before committing one terminal, which includes saved findings:
|
|
21
19
|
|
|
22
20
|
- `approve_design` when no blocking design defect remains;
|
|
23
21
|
- `request_design_changes` when a blocker exists. It must include a typed
|
|
24
22
|
`issueCategory`, at least one `evidenceRef`, and non-empty findings (saved or supplied).
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
Correct findings before completing their scope. Identical replay is safe; `replace:true` requires an existing ID and an unfinished scope.
|
|
25
|
+
|
|
26
|
+
Optional `finding.repairAssertions` may name frozen obligations, e.g. `[{"check":"state-present","token":"loading","source":"AC-1"}]`. Invalid assertions retain the blocker; passing checks still requires semantic review.
|
|
27
|
+
|
|
28
|
+
Only the typed terminal controls the outcome. No `VERDICT:` line, JSON verdict or revision patch. Requested changes end this run; recovery owns follow-up.
|
|
29
29
|
|
|
30
30
|
Check every execution group against its members' complete outcomes. Permissions,
|
|
31
31
|
thresholds and error paths remain independent ACs; a shared VT must prove them all.
|
|
@@ -47,12 +47,9 @@ Knowledge-base absence is advisory if relevant rules from either openspec
|
|
|
47
47
|
specification directory were read and applied. Block skipped fallback, unresolved
|
|
48
48
|
conflict, or unresolved UI decisions.
|
|
49
49
|
|
|
50
|
-
## Method
|
|
51
|
-
|
|
52
|
-
Map criteria to steps/files/states/checks, audit paths/evidence, classify Blocking
|
|
53
|
-
or Advisory, and never edit files.
|
|
50
|
+
## Method
|
|
54
51
|
|
|
55
|
-
|
|
52
|
+
Audit criteria, steps, files, states and checks; classify Blocking/Advisory. Never edit files.
|
|
56
53
|
|
|
57
54
|
Read only the canonical contract (or its indexed, hash-bound sections) and any exact
|
|
58
55
|
evidence paths bound in its upstream context. Successful paired reads are the only proof that a specification was read;
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
## Project Fit
|
|
10
10
|
|
|
11
11
|
- Reuse components, hooks, API helpers, mocks, schemas, router patterns, tokens, and theme rules.
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
- Record source status, query terms, paths/headings, conflicts, authorized deps, and allowed paths for both.
|
|
12
|
+
- Audit frozen source status and exact contract/readSet references. Empty knowledge queries require upstream fallback evidence or a recorded gap. Do not search specification roots; report missing required evidence to its upstream owner.
|
|
13
|
+
- Check the recorded source status, query terms, exact paths/headings, conflicts, authorized deps, and allowed paths.
|
|
15
14
|
- Component selection conformance: every UI purpose must be declared in the contract `uiComponentChoices[]`. `specified` must carry a non-empty `specReference { path, section, line }` hitting a supported openspec/ai_workspace spec; `new` must declare a deviation rationale with `specReference` null; a spec-defined component must not be silently replaced or self-invented without a declared deviation.
|
|
16
15
|
|
|
17
16
|
## Interaction / Quality
|
|
@@ -37,7 +36,7 @@
|
|
|
37
36
|
|
|
38
37
|
## Verdict Matrix
|
|
39
38
|
|
|
40
|
-
- Request revision for coverage gaps, unsafe scope, unauthorized deps, unresolved required interaction, missing required verification,
|
|
39
|
+
- Request revision for coverage gaps, unsafe scope, unauthorized deps, unresolved required interaction, missing required verification, missing required upstream specification fallback evidence, unsafe/missing Mock strategy, or Mock evidence presented as real integration.
|
|
41
40
|
- Request revision for component selection non-conformance: spec-defined components silently replaced or self-invented without a declared deviation, `uiComponentChoices` missing for UI-visible work, or a `uiComponentChoices` `specReference.path` not cited in the `openspec-citations` block / not actually read.
|
|
42
41
|
- Knowledge-base unavailable but relevant OpenSpec or `ai_workspace/` rules applied is advisory only.
|
|
43
42
|
- Optional cleanup that cannot affect acceptance is advisory.
|
|
@@ -10,7 +10,7 @@ references:
|
|
|
10
10
|
# Frontend Review
|
|
11
11
|
|
|
12
12
|
Use `contracts/frontend-review-context.json`, its hash-bound contract index and diff,
|
|
13
|
-
and
|
|
13
|
+
and the supplied hash-bound test-source/report scopes (including unchanged tests). Read the findings guide and capacity diagnostic;
|
|
14
14
|
use indexed sections when advised. Do not reopen task sources, plans, OpenSpec,
|
|
15
15
|
design-review prose or `ai_workspace/`.
|
|
16
16
|
|
|
@@ -25,6 +25,10 @@ rejected calls, then commit one successful terminal:
|
|
|
25
25
|
write, or unmet acceptance criterion. It must include a typed `issueCategory`,
|
|
26
26
|
at least one `evidenceRef`, and non-empty findings (saved or supplied).
|
|
27
27
|
|
|
28
|
+
Save and correct every finding before completing its scope. An identical finding is an idempotent replay; `replace:true` requires an existing ID and cannot modify a completed scope/terminal.
|
|
29
|
+
|
|
30
|
+
Optional `finding.repairAssertions` may name frozen obligations, e.g. `[{"check":"state-present","token":"loading","source":"AC-1"}]`. Invalid assertions retain the blocker; passing checks still requires semantic review.
|
|
31
|
+
|
|
28
32
|
Only the typed terminal controls the outcome; no `VERDICT:` line or JSON verdict.
|
|
29
33
|
Requested changes end this run; the recovery controller owns follow-up.
|
|
30
34
|
|
|
@@ -119,6 +119,14 @@ export CODE_AGENT_PI_BACKEND=cli-only # 紧急回滚:纯 CLI 路径
|
|
|
119
119
|
|
|
120
120
|
SDK 回归或 SDK 可选依赖不可用时用 `cli-only` 诊断。CLI fallback 路径须与现有 workflow 行为兼容。
|
|
121
121
|
|
|
122
|
+
### 提升完成 run 的证据
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
loop-agent promote-run <task-id> --run-id <run-id>
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
`promote-run` 把已完成 DAG 或 one-shot run 的确定性证据提升进任务产物(`修改记录.md`、`验证结果.md`),不重新执行业务步骤。仅在目标 run 已终态后使用;`dag reconcile-tasks` 的 `promotion-drift` 提示会给出该命令与对应 `run-id`。它只写任务产物,不改源码、不替代验收结论。
|
|
129
|
+
|
|
122
130
|
### 初始化与旧项目更新
|
|
123
131
|
|
|
124
132
|
用户中文表达到命令的映射(与目标项目 `AGENTS.md` 的“自然语言入口路由”保持一致):
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ag as o,ah as n}from"./mermaid.core-DF6mMPJ9.js";const t=(a,r)=>o.lang.round(n.parse(a)[r]);export{t as c};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-GF5L2VYU-AY2ZSAx2.js";import{_ as i}from"./mermaid.core-DF6mMPJ9.js";import"./chunk-5VM5RSS4-C5BFY2Po.js";import"./chunk-XXDRQBXY-Bp1xW3T4.js";import"./chunk-KBJHAD2P-gpvvriOp.js";import"./chunk-2GRJ4B5K-BCrcxEh2.js";import"./index-DWKejNVJ.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{s as a,c as s,a as e,C as t}from"./chunk-GF5L2VYU-AY2ZSAx2.js";import{_ as i}from"./mermaid.core-DF6mMPJ9.js";import"./chunk-5VM5RSS4-C5BFY2Po.js";import"./chunk-XXDRQBXY-Bp1xW3T4.js";import"./chunk-KBJHAD2P-gpvvriOp.js";import"./chunk-2GRJ4B5K-BCrcxEh2.js";import"./index-DWKejNVJ.js";var n={parser:e,get db(){return new t},renderer:s,styles:a,init:i(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")};export{n as diagram};
|