@telora/daemon 0.24.29 → 0.24.38
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/build-info.json +5 -3
- package/dist/backends/index.js +1 -1
- package/dist/ci/gate-job-conclusion.d.ts +88 -0
- package/dist/ci/gate-job-conclusion.d.ts.map +1 -0
- package/dist/ci/gate-job-conclusion.js +207 -0
- package/dist/ci/gate-job-conclusion.js.map +1 -0
- package/dist/ci/gate-ref.d.ts +12 -0
- package/dist/ci/gate-ref.d.ts.map +1 -1
- package/dist/ci/gate-ref.js +2 -0
- package/dist/ci/gate-ref.js.map +1 -1
- package/dist/completion/completion-event/detector.d.ts.map +1 -1
- package/dist/completion/completion-event/detector.js +1 -0
- package/dist/completion/completion-event/detector.js.map +1 -1
- package/dist/completion/completion-event/event.d.ts +7 -0
- package/dist/completion/completion-event/event.d.ts.map +1 -1
- package/dist/completion/completion-event/event.js +1 -0
- package/dist/completion/completion-event/event.js.map +1 -1
- package/dist/completion/team-outcome/apply-turn.d.ts.map +1 -1
- package/dist/completion/team-outcome/apply-turn.js +11 -6
- package/dist/completion/team-outcome/apply-turn.js.map +1 -1
- package/dist/completion/team-outcome/decide-turn-entry-rows.js +1 -1
- package/dist/completion/team-outcome/decide-turn-entry-rows.js.map +1 -1
- package/dist/completion/team-outcome/exit-pipeline-state.d.ts +6 -0
- package/dist/completion/team-outcome/exit-pipeline-state.d.ts.map +1 -1
- package/dist/completion/team-outcome/exit-pipeline-state.js.map +1 -1
- package/dist/completion/team-outcome/work-facts.d.ts +8 -1
- package/dist/completion/team-outcome/work-facts.d.ts.map +1 -1
- package/dist/completion/team-outcome/work-facts.js +10 -5
- package/dist/completion/team-outcome/work-facts.js.map +1 -1
- package/dist/completion/team-progress/team-progress-measure.d.ts.map +1 -1
- package/dist/completion/team-progress/team-progress-measure.js +1 -0
- package/dist/completion/team-progress/team-progress-measure.js.map +1 -1
- package/dist/composition/completion-event-context.d.ts.map +1 -1
- package/dist/composition/completion-event-context.js +3 -0
- package/dist/composition/completion-event-context.js.map +1 -1
- package/dist/composition/execution-spawn-context.d.ts.map +1 -1
- package/dist/composition/execution-spawn-context.js +4 -0
- package/dist/composition/execution-spawn-context.js.map +1 -1
- package/dist/composition/execution-spawn-process-context.js +1 -1
- package/dist/composition/execution-spawn-process-context.js.map +1 -1
- package/dist/composition/runtime-delivery-advance-context.js +1 -1
- package/dist/composition/runtime-delivery-advance-context.js.map +1 -1
- package/dist/composition/runtime-spawn-pass-context.d.ts.map +1 -1
- package/dist/composition/runtime-spawn-pass-context.js +5 -2
- package/dist/composition/runtime-spawn-pass-context.js.map +1 -1
- package/dist/composition/tower-escalation-context.d.ts +3 -0
- package/dist/composition/tower-escalation-context.d.ts.map +1 -1
- package/dist/composition/tower-escalation-context.js +26 -12
- package/dist/composition/tower-escalation-context.js.map +1 -1
- package/dist/composition/verification-context.d.ts.map +1 -1
- package/dist/composition/verification-context.js +13 -2
- package/dist/composition/verification-context.js.map +1 -1
- package/dist/composition/verify-probe-context.d.ts +15 -1
- package/dist/composition/verify-probe-context.d.ts.map +1 -1
- package/dist/composition/verify-probe-context.js +45 -4
- package/dist/composition/verify-probe-context.js.map +1 -1
- package/dist/daemon-state/focus-team-state.js +1 -1
- package/dist/delivery/operator-hold.d.ts.map +1 -1
- package/dist/delivery/operator-hold.js +5 -3
- package/dist/delivery/operator-hold.js.map +1 -1
- package/dist/focus/ready-focus-team-work.d.ts +11 -0
- package/dist/focus/ready-focus-team-work.d.ts.map +1 -1
- package/dist/focus/ready-focus-team-work.js +8 -1
- package/dist/focus/ready-focus-team-work.js.map +1 -1
- package/dist/prompt/focus-prompt-builder.d.ts +7 -1
- package/dist/prompt/focus-prompt-builder.d.ts.map +1 -1
- package/dist/prompt/focus-prompt-builder.js +36 -11
- package/dist/prompt/focus-prompt-builder.js.map +1 -1
- package/dist/prompt-sections/ci-failed-step-section.d.ts +16 -0
- package/dist/prompt-sections/ci-failed-step-section.d.ts.map +1 -0
- package/dist/prompt-sections/ci-failed-step-section.js +20 -0
- package/dist/prompt-sections/ci-failed-step-section.js.map +1 -0
- package/dist/prompt-sections/prompt-listing.d.ts +3 -0
- package/dist/prompt-sections/prompt-listing.d.ts.map +1 -1
- package/dist/prompt-sections/prompt-listing.js +11 -1
- package/dist/prompt-sections/prompt-listing.js.map +1 -1
- package/dist/prompt-sections/routing-decider-sections.d.ts +7 -0
- package/dist/prompt-sections/routing-decider-sections.d.ts.map +1 -1
- package/dist/prompt-sections/routing-decider-sections.js +22 -0
- package/dist/prompt-sections/routing-decider-sections.js.map +1 -1
- package/dist/prompt-sections/session-constraints-section.d.ts.map +1 -1
- package/dist/prompt-sections/session-constraints-section.js +12 -2
- package/dist/prompt-sections/session-constraints-section.js.map +1 -1
- package/dist/queries/api-client/shared.js +1 -1
- package/dist/queries/delivery-gate-state/delivery-gate-holds.d.ts.map +1 -1
- package/dist/queries/delivery-gate-state/delivery-gate-holds.js +2 -1
- package/dist/queries/delivery-gate-state/delivery-gate-holds.js.map +1 -1
- package/dist/queries/delivery-gate-state/delivery-gate-state.d.ts +13 -0
- package/dist/queries/delivery-gate-state/delivery-gate-state.d.ts.map +1 -1
- package/dist/queries/delivery-gate-state/delivery-gate-state.js +3 -1
- package/dist/queries/delivery-gate-state/delivery-gate-state.js.map +1 -1
- package/dist/queries/escalations/filing-observation.d.ts +24 -1
- package/dist/queries/escalations/filing-observation.d.ts.map +1 -1
- package/dist/queries/escalations/filing-observation.js +27 -2
- package/dist/queries/escalations/filing-observation.js.map +1 -1
- package/dist/queries/escalations/tower-escalations.d.ts +21 -0
- package/dist/queries/escalations/tower-escalations.d.ts.map +1 -1
- package/dist/queries/escalations/tower-escalations.js +24 -0
- package/dist/queries/escalations/tower-escalations.js.map +1 -1
- package/dist/queries/focus-review/review-criterion-verdicts.d.ts.map +1 -1
- package/dist/queries/focus-review/review-criterion-verdicts.js +3 -0
- package/dist/queries/focus-review/review-criterion-verdicts.js.map +1 -1
- package/dist/queries/focus-review/review-summary-verdicts.d.ts +50 -0
- package/dist/queries/focus-review/review-summary-verdicts.d.ts.map +1 -0
- package/dist/queries/focus-review/review-summary-verdicts.js +117 -0
- package/dist/queries/focus-review/review-summary-verdicts.js.map +1 -0
- package/dist/queries/focuses/focuses.d.ts.map +1 -1
- package/dist/queries/focuses/focuses.js +2 -0
- package/dist/queries/focuses/focuses.js.map +1 -1
- package/dist/queries/reality-tree/reality-tree.d.ts.map +1 -1
- package/dist/queries/reality-tree/reality-tree.js +1 -0
- package/dist/queries/reality-tree/reality-tree.js.map +1 -1
- package/dist/queries/reality-tree/shortfall-node-bindings.d.ts +42 -0
- package/dist/queries/reality-tree/shortfall-node-bindings.d.ts.map +1 -0
- package/dist/queries/reality-tree/shortfall-node-bindings.js +42 -0
- package/dist/queries/reality-tree/shortfall-node-bindings.js.map +1 -0
- package/dist/queries/tower-decisions/tower-decisions.d.ts +3 -1
- package/dist/queries/tower-decisions/tower-decisions.d.ts.map +1 -1
- package/dist/queries/tower-decisions/tower-decisions.js +1 -0
- package/dist/queries/tower-decisions/tower-decisions.js.map +1 -1
- package/dist/spawn/helpers.d.ts.map +1 -1
- package/dist/spawn/helpers.js +1 -0
- package/dist/spawn/helpers.js.map +1 -1
- package/dist/spawn/idle-work-stamp.d.ts +8 -0
- package/dist/spawn/idle-work-stamp.d.ts.map +1 -1
- package/dist/spawn/idle-work-stamp.js +2 -1
- package/dist/spawn/idle-work-stamp.js.map +1 -1
- package/dist/spawn/lead-continuation.d.ts +8 -0
- package/dist/spawn/lead-continuation.d.ts.map +1 -1
- package/dist/spawn/lead-continuation.js +14 -5
- package/dist/spawn/lead-continuation.js.map +1 -1
- package/dist/supervision/holds.d.ts +78 -15
- package/dist/supervision/holds.d.ts.map +1 -1
- package/dist/supervision/holds.js +167 -87
- package/dist/supervision/holds.js.map +1 -1
- package/dist/supervision/operator-held-work.d.ts +48 -0
- package/dist/supervision/operator-held-work.d.ts.map +1 -0
- package/dist/supervision/operator-held-work.js +33 -0
- package/dist/supervision/operator-held-work.js.map +1 -0
- package/dist/supervision/stop-rows-delivery.d.ts.map +1 -1
- package/dist/supervision/stop-rows-delivery.js +3 -1
- package/dist/supervision/stop-rows-delivery.js.map +1 -1
- package/dist/supervision/team-work.d.ts +32 -1
- package/dist/supervision/team-work.d.ts.map +1 -1
- package/dist/supervision/team-work.js +44 -4
- package/dist/supervision/team-work.js.map +1 -1
- package/dist/templates/agents-md.d.ts.map +1 -1
- package/dist/templates/agents-md.js +1 -0
- package/dist/templates/agents-md.js.map +1 -1
- package/dist/templates/claude-md.d.ts +1 -1
- package/dist/templates/claude-md.d.ts.map +1 -1
- package/dist/templates/claude-md.js +11 -1
- package/dist/templates/claude-md.js.map +1 -1
- package/dist/testing/fixtures/api-client.js +1 -1
- package/dist/testing/fixtures/completion-event-deps.d.ts.map +1 -1
- package/dist/testing/fixtures/completion-event-deps.js +4 -1
- package/dist/testing/fixtures/completion-event-deps.js.map +1 -1
- package/dist/testing/fixtures/index.js +1 -1
- package/dist/testing/fixtures/tower-shortfall-7bac4c82.d.ts +38 -0
- package/dist/testing/fixtures/tower-shortfall-7bac4c82.d.ts.map +1 -0
- package/dist/testing/fixtures/tower-shortfall-7bac4c82.js +67 -0
- package/dist/testing/fixtures/tower-shortfall-7bac4c82.js.map +1 -0
- package/dist/testing/fixtures/tower-shortfall-cd32119b.d.ts +79 -0
- package/dist/testing/fixtures/tower-shortfall-cd32119b.d.ts.map +1 -0
- package/dist/testing/fixtures/tower-shortfall-cd32119b.js +142 -0
- package/dist/testing/fixtures/tower-shortfall-cd32119b.js.map +1 -0
- package/dist/testing/fixtures/verification-deps.d.ts.map +1 -1
- package/dist/testing/fixtures/verification-deps.js +3 -0
- package/dist/testing/fixtures/verification-deps.js.map +1 -1
- package/dist/testing/fixtures/verification-feedback-deps.js +1 -1
- package/dist/tower/tower-escalation-gather.d.ts +24 -0
- package/dist/tower/tower-escalation-gather.d.ts.map +1 -1
- package/dist/tower/tower-escalation-gather.js +29 -1
- package/dist/tower/tower-escalation-gather.js.map +1 -1
- package/dist/tower/tower-escalation-prompt.d.ts +26 -1
- package/dist/tower/tower-escalation-prompt.d.ts.map +1 -1
- package/dist/tower/tower-escalation-prompt.js +76 -8
- package/dist/tower/tower-escalation-prompt.js.map +1 -1
- package/dist/tower/tower-escalation-routing.d.ts +27 -1
- package/dist/tower/tower-escalation-routing.d.ts.map +1 -1
- package/dist/tower/tower-escalation-routing.js +32 -3
- package/dist/tower/tower-escalation-routing.js.map +1 -1
- package/dist/tower/tower-escalation-session.d.ts +29 -6
- package/dist/tower/tower-escalation-session.d.ts.map +1 -1
- package/dist/tower/tower-escalation-session.js +27 -9
- package/dist/tower/tower-escalation-session.js.map +1 -1
- package/dist/tower/tower-escalation-shortfall.d.ts +158 -0
- package/dist/tower/tower-escalation-shortfall.d.ts.map +1 -0
- package/dist/tower/tower-escalation-shortfall.js +452 -0
- package/dist/tower/tower-escalation-shortfall.js.map +1 -0
- package/dist/tower/tower-supervisor-session.d.ts.map +1 -1
- package/dist/tower/tower-supervisor-session.js +1 -0
- package/dist/tower/tower-supervisor-session.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/verify/ci-gate/ci-gate-dispatch.d.ts +41 -0
- package/dist/verify/ci-gate/ci-gate-dispatch.d.ts.map +1 -1
- package/dist/verify/ci-gate/ci-gate-dispatch.js +148 -7
- package/dist/verify/ci-gate/ci-gate-dispatch.js.map +1 -1
- package/dist/verify/ci-gate/ci-gate-pin-publish.d.ts +101 -0
- package/dist/verify/ci-gate/ci-gate-pin-publish.d.ts.map +1 -0
- package/dist/verify/ci-gate/ci-gate-pin-publish.js +238 -0
- package/dist/verify/ci-gate/ci-gate-pin-publish.js.map +1 -0
- package/dist/verify/deterministic-gate/verification-deterministic.d.ts +3 -1
- package/dist/verify/deterministic-gate/verification-deterministic.d.ts.map +1 -1
- package/dist/verify/deterministic-gate/verification-deterministic.js.map +1 -1
- package/dist/verify/gate-verdicts/commit-verdict-record.d.ts +2 -0
- package/dist/verify/gate-verdicts/commit-verdict-record.d.ts.map +1 -1
- package/dist/verify/gate-verdicts/commit-verdict-record.js +10 -1
- package/dist/verify/gate-verdicts/commit-verdict-record.js.map +1 -1
- package/dist/verify/install-probe/in-repo-publish.d.ts +10 -0
- package/dist/verify/install-probe/in-repo-publish.d.ts.map +1 -1
- package/dist/verify/install-probe/in-repo-publish.js +15 -0
- package/dist/verify/install-probe/in-repo-publish.js.map +1 -1
- package/dist/verify/install-probe/install-probe-tick.d.ts +7 -0
- package/dist/verify/install-probe/install-probe-tick.d.ts.map +1 -1
- package/dist/verify/install-probe/install-probe-tick.js +4 -1
- package/dist/verify/install-probe/install-probe-tick.js.map +1 -1
- package/dist/verify/outcome-routing/verification-feedback.d.ts +5 -1
- package/dist/verify/outcome-routing/verification-feedback.d.ts.map +1 -1
- package/dist/verify/outcome-routing/verification-feedback.js +7 -1
- package/dist/verify/outcome-routing/verification-feedback.js.map +1 -1
- package/dist/verify/outcome-routing/verification-rework-messages.d.ts.map +1 -1
- package/dist/verify/outcome-routing/verification-rework-messages.js +7 -2
- package/dist/verify/outcome-routing/verification-rework-messages.js.map +1 -1
- package/dist/verify/shortfalls/shortfall-park-escalation.d.ts +9 -2
- package/dist/verify/shortfalls/shortfall-park-escalation.d.ts.map +1 -1
- package/dist/verify/shortfalls/shortfall-park-escalation.js +13 -1
- package/dist/verify/shortfalls/shortfall-park-escalation.js.map +1 -1
- package/dist/verify/shortfalls/shortfall-rulings.d.ts.map +1 -1
- package/dist/verify/shortfalls/shortfall-rulings.js +4 -0
- package/dist/verify/shortfalls/shortfall-rulings.js.map +1 -1
- package/dist/worktree/focus-worktree-state.d.ts.map +1 -1
- package/dist/worktree/focus-worktree-state.js +1 -0
- package/dist/worktree/focus-worktree-state.js.map +1 -1
- package/dist/worktree/verify-hold-facts.d.ts +3 -1
- package/dist/worktree/verify-hold-facts.d.ts.map +1 -1
- package/dist/worktree/verify-hold-facts.js +1 -0
- package/dist/worktree/verify-hold-facts.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The io case cd32119b, as the Tower supervisor's escalation gathering reads
|
|
3
|
+
* it: a team escalation (agent_resolvable) on delivery 84da5292 "A failed TARA
|
|
4
|
+
* turn leaves the design as it was, and TARA answers a piece named alone and a
|
|
5
|
+
* declined terms prompt", looping in verify on node 506f5f6f whose judge
|
|
6
|
+
* returned no parseable judgment, at commit 6024f5b0 with a PASSING gate
|
|
7
|
+
* verdict.
|
|
8
|
+
*
|
|
9
|
+
* WHAT BINDS (verified from the live tree). Node 506f5f6f's declared future is
|
|
10
|
+
* CD_NODE_FUTURE, and it has one active `sufficient` edge to effect a06ba04d,
|
|
11
|
+
* whose tree criterion (CD_TREE_CRITERION) review 71322f9a -- approved at that
|
|
12
|
+
* sha -- judged met with three evidence references (CD_TREE_EVIDENCE). That
|
|
13
|
+
* tree verdict BINDS the node (an effect sustained by sufficient causes clears
|
|
14
|
+
* only when all of them hold). The same review's delivery criterion 9
|
|
15
|
+
* (CD_CRITERION_9) is met too, but its text is NOT the node's declared future
|
|
16
|
+
* -- a near paraphrase -- so it does NOT bind. The case therefore RULES on the
|
|
17
|
+
* tree criterion.
|
|
18
|
+
*
|
|
19
|
+
* Real (read from the live rows through Telora MCP): every id and sha (effect
|
|
20
|
+
* a06ba04d's full uuid, tree 31548b04, sufficient edge 31fc2c13 included), the
|
|
21
|
+
* delivery name, the node and tree texts, criterion 9 (the delivery's criterion
|
|
22
|
+
* 3, which the filing calls "criterion 9" -- its number in the review), the
|
|
23
|
+
* evidence references, and the escalation's what_was_tried and help_needed.
|
|
24
|
+
* Invented: CD_CRITERION_1 and its evidence reference (a stand-in for the
|
|
25
|
+
* delivery's other two criteria), the review's completedAt, the gate_state
|
|
26
|
+
* timestamps, the node statements in cdTreeNodes, and the description, which is an
|
|
27
|
+
* excerpt of the live row's. The whole case, verbatim, is the composed fixture
|
|
28
|
+
* supabase/functions/product-api/handlers/__fixtures__/tower-io-cd32119b.json.
|
|
29
|
+
* Variants build the three DEFER shapes: a failing gate verdict, a review
|
|
30
|
+
* not_met on the BOUND criterion, and an ask to excuse the node.
|
|
31
|
+
*
|
|
32
|
+
* @module testing/fixtures/tower-shortfall-cd32119b
|
|
33
|
+
*/
|
|
34
|
+
import type { FocusDeliveryInfo } from '../../types/index.js';
|
|
35
|
+
import type { TowerPendingEscalation } from '../../queries/escalations/tower-escalations.js';
|
|
36
|
+
import type { ReviewVerdictRecord } from '../../queries/focus-review/review-criterion-verdicts.js';
|
|
37
|
+
import type { RealityEdgeRow, RealityNodeRow } from '../../queries/reality-tree/reality-tree.js';
|
|
38
|
+
import type { ShortfallNodeBinding } from '../../queries/reality-tree/shortfall-node-bindings.js';
|
|
39
|
+
export declare const CD_ESCALATION_ID = "cd32119b-a4ae-4584-99c6-2cd28663240c";
|
|
40
|
+
export declare const CD_FOCUS_ID = "aace5c99-f5d6-4e7d-99ed-1020f7b5c7a8";
|
|
41
|
+
export declare const CD_PRODUCT_ID = "292c0ee4-fa37-4113-bff8-9a04c087b428";
|
|
42
|
+
export declare const CD_DELIVERY_ID = "84da5292-1469-48a8-aad2-7bc7bb2119c1";
|
|
43
|
+
export declare const CD_DELIVERY_NAME = "A failed TARA turn leaves the design as it was, and TARA answers a piece named alone and a declined terms prompt";
|
|
44
|
+
export declare const CD_NODE_ID = "506f5f6f-c375-4a3b-b6d3-d55f28e75de5";
|
|
45
|
+
export declare const CD_EFFECT_ID = "a06ba04d-04a1-497a-bee7-e66c33ad7d6a";
|
|
46
|
+
export declare const CD_TREE_ID = "31548b04-8ced-41a5-a724-f7c7ef288873";
|
|
47
|
+
export declare const CD_JUDGED_SHA = "6024f5b0eafafd5b0378deb1bfcce1775a84ffa5";
|
|
48
|
+
export declare const CD_REVIEW_ID = "71322f9a-04b3-4208-aebc-927469e933cf";
|
|
49
|
+
/** Node 506f5f6f's declared future (frt_statement), verbatim. */
|
|
50
|
+
export declare const CD_NODE_FUTURE = "A terms_acceptance_required refusal on a TARA chat send shows the refusal's own sentence in the chat notice.";
|
|
51
|
+
/** What the shortfall judgment recorded as the node's declared outcome. */
|
|
52
|
+
export declare const CD_NODE_DECLARED = "A terms_acceptance_required refusal on a TARA chat send shows the refusal's own sentence in the chat notice.";
|
|
53
|
+
/** Effect a06ba04d's tree criterion: criterion 2 of review 71322f9a's verdict section. */
|
|
54
|
+
export declare const CD_TREE_CRITERION: string;
|
|
55
|
+
export declare const CD_TREE_EVIDENCE: readonly string[];
|
|
56
|
+
/** The evidence criterion 9 named (it binds nothing; shown, never counted). */
|
|
57
|
+
export declare const CD_EVIDENCE = "app/components/__tests__/TaraChat.terms-declined.test.ts:97";
|
|
58
|
+
export declare const CD_CRITERION_1 = "A TARA turn that fails leaves the design exactly as it was before the send; a client test fails a turn and reads the design back.";
|
|
59
|
+
export declare const CD_CRITERION_9: string;
|
|
60
|
+
/** The delivery's gate_state: parked on the unjudged node, the judged commit passed by the gate. */
|
|
61
|
+
export declare function cdGateState(gate?: 'passed' | 'failed'): Record<string, unknown>;
|
|
62
|
+
export declare function cdDelivery(gate?: 'passed' | 'failed'): FocusDeliveryInfo;
|
|
63
|
+
/** What the review judged the BOUND tree criterion (a06ba04d) and the unbound delivery criterion 9. */
|
|
64
|
+
export interface CdReviewShape {
|
|
65
|
+
tree: 'met' | 'not_met';
|
|
66
|
+
criterion9: 'met' | 'not_met';
|
|
67
|
+
}
|
|
68
|
+
/** The review summary's verdict section, as product-api renderAcVerdictsSection writes it (encoded form). */
|
|
69
|
+
export declare function cdReviewSummary(shape?: CdReviewShape): string;
|
|
70
|
+
export declare function cdReview(shape?: CdReviewShape): ReviewVerdictRecord;
|
|
71
|
+
/** The focus tree's active nodes, as reality_tree_node_list answers them (the fields the binding read uses). */
|
|
72
|
+
export declare function cdTreeNodes(): RealityNodeRow[];
|
|
73
|
+
/** The focus tree's edges: 506f5f6f --sufficient--> a06ba04d (`edgeType` overridable to build the non-binding shapes). */
|
|
74
|
+
export declare function cdTreeEdges(edgeType?: RealityEdgeRow['edgeType']): RealityEdgeRow[];
|
|
75
|
+
/** The binding read's answer for node 506f5f6f. */
|
|
76
|
+
export declare function cdNodeBindings(): ShortfallNodeBinding[];
|
|
77
|
+
/** The escalation the team filed (real text); `excuse` swaps the ask for an excusal. */
|
|
78
|
+
export declare function cdEscalation(ask?: 'fix_judge' | 'excuse'): TowerPendingEscalation;
|
|
79
|
+
//# sourceMappingURL=tower-shortfall-cd32119b.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tower-shortfall-cd32119b.d.ts","sourceRoot":"","sources":["../../../src/testing/fixtures/tower-shortfall-cd32119b.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AAC7F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yDAAyD,CAAC;AACnG,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AACjG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,uDAAuD,CAAC;AAGlG,eAAO,MAAM,gBAAgB,yCAAyC,CAAC;AACvE,eAAO,MAAM,WAAW,yCAAyC,CAAC;AAClE,eAAO,MAAM,aAAa,yCAAyC,CAAC;AACpE,eAAO,MAAM,cAAc,yCAAyC,CAAC;AACrE,eAAO,MAAM,gBAAgB,qHACuF,CAAC;AACrH,eAAO,MAAM,UAAU,yCAAyC,CAAC;AACjE,eAAO,MAAM,YAAY,yCAAyC,CAAC;AACnE,eAAO,MAAM,UAAU,yCAAyC,CAAC;AACjE,eAAO,MAAM,aAAa,6CAA6C,CAAC;AACxE,eAAO,MAAM,YAAY,yCAAyC,CAAC;AACnE,iEAAiE;AACjE,eAAO,MAAM,cAAc,iH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: packages/daemon/src/queries/reality-tree/shortfall-node-bindings.test.ts,
|
|
3
|
+
// packages/daemon/src/tower/tower-escalation-gather.test.ts,
|
|
4
|
+
// packages/daemon/src/tower/tower-escalation-prompt.test.ts
|
|
5
|
+
// PINNED-BY-END
|
|
6
|
+
import { makeDelivery } from './index.js';
|
|
7
|
+
export const CD_ESCALATION_ID = 'cd32119b-a4ae-4584-99c6-2cd28663240c';
|
|
8
|
+
export const CD_FOCUS_ID = 'aace5c99-f5d6-4e7d-99ed-1020f7b5c7a8';
|
|
9
|
+
export const CD_PRODUCT_ID = '292c0ee4-fa37-4113-bff8-9a04c087b428';
|
|
10
|
+
export const CD_DELIVERY_ID = '84da5292-1469-48a8-aad2-7bc7bb2119c1';
|
|
11
|
+
export const CD_DELIVERY_NAME = 'A failed TARA turn leaves the design as it was, and TARA answers a piece named alone and a declined terms prompt';
|
|
12
|
+
export const CD_NODE_ID = '506f5f6f-c375-4a3b-b6d3-d55f28e75de5';
|
|
13
|
+
export const CD_EFFECT_ID = 'a06ba04d-04a1-497a-bee7-e66c33ad7d6a';
|
|
14
|
+
export const CD_TREE_ID = '31548b04-8ced-41a5-a724-f7c7ef288873';
|
|
15
|
+
export const CD_JUDGED_SHA = '6024f5b0eafafd5b0378deb1bfcce1775a84ffa5';
|
|
16
|
+
export const CD_REVIEW_ID = '71322f9a-04b3-4208-aebc-927469e933cf';
|
|
17
|
+
/** Node 506f5f6f's declared future (frt_statement), verbatim. */
|
|
18
|
+
export const CD_NODE_FUTURE = "A terms_acceptance_required refusal on a TARA chat send shows the refusal's own sentence in the chat notice.";
|
|
19
|
+
/** What the shortfall judgment recorded as the node's declared outcome. */
|
|
20
|
+
export const CD_NODE_DECLARED = CD_NODE_FUTURE;
|
|
21
|
+
/** Effect a06ba04d's tree criterion: criterion 2 of review 71322f9a's verdict section. */
|
|
22
|
+
export const CD_TREE_CRITERION = "A shopper's turn after a failed one plays on the design as it was before the failure, naming another piece on its " +
|
|
23
|
+
'own leads to Create without changing the design, and declining the terms says why the message was not sent.';
|
|
24
|
+
export const CD_TREE_EVIDENCE = [
|
|
25
|
+
'app/api/tara/chat/__tests__/route-taken-back-turn.db.test.ts:546',
|
|
26
|
+
'app/api/tara/chat/__tests__/route-finishing-touches.db.test.ts:540',
|
|
27
|
+
'app/components/__tests__/TaraChat.terms-declined.test.ts:97',
|
|
28
|
+
];
|
|
29
|
+
/** The evidence criterion 9 named (it binds nothing; shown, never counted). */
|
|
30
|
+
export const CD_EVIDENCE = 'app/components/__tests__/TaraChat.terms-declined.test.ts:97';
|
|
31
|
+
export const CD_CRITERION_1 = 'A TARA turn that fails leaves the design exactly as it was before the send; a client test fails a turn and reads the design back.';
|
|
32
|
+
export const CD_CRITERION_9 = 'Declining the terms prompt on a TARA chat send in Design Studio shows the terms refusal\'s own sentence in the chat notice, ' +
|
|
33
|
+
'not "Tara couldn\'t respond"; a client test declines the prompt on /api/tara/chat and reads the notice.';
|
|
34
|
+
const HELD_AT = '2026-10-21T02:20:00.000Z';
|
|
35
|
+
/** The delivery's gate_state: parked on the unjudged node, the judged commit passed by the gate. */
|
|
36
|
+
export function cdGateState(gate = 'passed') {
|
|
37
|
+
const judgedVerdict = gate === 'passed'
|
|
38
|
+
? { outcome: 'passed', sha: CD_JUDGED_SHA }
|
|
39
|
+
: { outcome: 'failed', sha: CD_JUDGED_SHA, failedStage: 'test:targeted' };
|
|
40
|
+
return {
|
|
41
|
+
blocking: ['shortfall_reconciliation'],
|
|
42
|
+
shortfallReconciliation: {
|
|
43
|
+
heldAt: HELD_AT,
|
|
44
|
+
shortfalls: [{
|
|
45
|
+
nodeId: CD_NODE_ID, declared: CD_NODE_DECLARED, achieved: '(not judged)', reason: 'no parseable judgment',
|
|
46
|
+
unjudged: 'no_parseable_judgment',
|
|
47
|
+
}],
|
|
48
|
+
gateVerdict: { outcome: 'passed', sha: CD_JUDGED_SHA },
|
|
49
|
+
},
|
|
50
|
+
verificationHistory: { judgedCommit: { sha: CD_JUDGED_SHA, judgedAt: HELD_AT, gateVerdict: judgedVerdict } },
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export function cdDelivery(gate = 'passed') {
|
|
54
|
+
return makeDelivery({
|
|
55
|
+
id: CD_DELIVERY_ID, name: CD_DELIVERY_NAME, executionStatus: 'verify',
|
|
56
|
+
acceptanceCriteria: `- ${CD_CRITERION_1}\n- ${CD_CRITERION_9}`,
|
|
57
|
+
gateState: cdGateState(gate),
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
const MET_BOTH = { tree: 'met', criterion9: 'met' };
|
|
61
|
+
/** The review summary's verdict section, as product-api renderAcVerdictsSection writes it (encoded form). */
|
|
62
|
+
export function cdReviewSummary(shape = MET_BOTH) {
|
|
63
|
+
const tree = shape.tree === 'met'
|
|
64
|
+
? [' - **Verdict:** met', ' - **Rationale:** none stated', ...CD_TREE_EVIDENCE.map((e) => ` - **Evidence:** ${e}`)]
|
|
65
|
+
: [' - **Verdict:** not_met', ' - **Rationale:** declining the terms still reads the generic sentence'];
|
|
66
|
+
const nine = shape.criterion9 === 'met'
|
|
67
|
+
? [' - **Verdict:** met', ' - **Rationale:** none stated', ` - **Evidence:** ${CD_EVIDENCE}`]
|
|
68
|
+
: [' - **Verdict:** not_met', ' - **Rationale:** the notice still reads the generic sentence'];
|
|
69
|
+
return [
|
|
70
|
+
'Reviewed the TARA failure paths at 6024f5b0.',
|
|
71
|
+
'',
|
|
72
|
+
'## Acceptance criteria verdicts',
|
|
73
|
+
'',
|
|
74
|
+
'<!-- ac-verdicts: field values escaped, v2 -->',
|
|
75
|
+
'Every acceptance criterion carries a verdict so an unmet one is named, never absorbed into prose.',
|
|
76
|
+
'',
|
|
77
|
+
`1. **Criterion:** ${CD_CRITERION_1}`,
|
|
78
|
+
' - **Verdict:** met',
|
|
79
|
+
' - **Rationale:** none stated',
|
|
80
|
+
' - **Evidence:** app/components/__tests__/TaraChat.turn-failure.test.ts:41',
|
|
81
|
+
`2. **Criterion:** ${CD_TREE_CRITERION}`,
|
|
82
|
+
` - **Tree node:** ${CD_EFFECT_ID}`,
|
|
83
|
+
...tree,
|
|
84
|
+
`3. **Criterion:** ${CD_CRITERION_9}`,
|
|
85
|
+
...nine,
|
|
86
|
+
].join('\n');
|
|
87
|
+
}
|
|
88
|
+
export function cdReview(shape = MET_BOTH) {
|
|
89
|
+
const declared = (criterion, verdict) => ({
|
|
90
|
+
criterionKey: `text:${criterion.trim().replace(/\s+/g, ' ').toLowerCase()}`,
|
|
91
|
+
nodeId: null, source: 'delivery', criterion, verdict, issueIds: [],
|
|
92
|
+
});
|
|
93
|
+
const approved = shape.tree === 'met' && shape.criterion9 === 'met';
|
|
94
|
+
return {
|
|
95
|
+
reviewId: CD_REVIEW_ID, completedAt: '2026-10-21T01:50:00.000Z', outcome: approved ? 'approved' : 'gaps_found',
|
|
96
|
+
criterionVerdicts: [
|
|
97
|
+
declared(CD_CRITERION_1, 'met'),
|
|
98
|
+
{ criterionKey: `node:${CD_EFFECT_ID}`, nodeId: CD_EFFECT_ID, source: 'tree', criterion: CD_TREE_CRITERION, verdict: shape.tree, issueIds: [] },
|
|
99
|
+
declared(CD_CRITERION_9, shape.criterion9),
|
|
100
|
+
],
|
|
101
|
+
unjudgedCriterionKeys: [], blockingIssueIds: null, createdIssueIds: [],
|
|
102
|
+
reviewedSha: CD_JUDGED_SHA, summary: cdReviewSummary(shape),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
/** The focus tree's active nodes, as reality_tree_node_list answers them (the fields the binding read uses). */
|
|
106
|
+
export function cdTreeNodes() {
|
|
107
|
+
const node = (id, seq, nodeType, frtStatement) => ({
|
|
108
|
+
id, realityTreeId: CD_TREE_ID, seq, statement: `node ${id.slice(0, 8)}`, nodeType, frtStatement, frtNodeType: null,
|
|
109
|
+
viewScope: 'both', status: 'active', injectionStatus: null, dissolvesObstacle: null, enablesNodeId: null, evidence: null,
|
|
110
|
+
});
|
|
111
|
+
return [node(CD_NODE_ID, 5, 'entity', CD_NODE_FUTURE), node(CD_EFFECT_ID, 10, 'undesired_effect', CD_TREE_CRITERION)];
|
|
112
|
+
}
|
|
113
|
+
/** The focus tree's edges: 506f5f6f --sufficient--> a06ba04d (`edgeType` overridable to build the non-binding shapes). */
|
|
114
|
+
export function cdTreeEdges(edgeType = 'sufficient') {
|
|
115
|
+
return [{ id: '31fc2c13-8298-4d36-8039-b1b3c4765067', realityTreeId: CD_TREE_ID, fromNodeId: CD_NODE_ID, toNodeId: CD_EFFECT_ID, edgeType }];
|
|
116
|
+
}
|
|
117
|
+
/** The binding read's answer for node 506f5f6f. */
|
|
118
|
+
export function cdNodeBindings() {
|
|
119
|
+
return [{ nodeId: CD_NODE_ID, frtStatement: CD_NODE_FUTURE, sufficientEffectIds: [CD_EFFECT_ID] }];
|
|
120
|
+
}
|
|
121
|
+
/** The escalation the team filed (real text); `excuse` swaps the ask for an excusal. */
|
|
122
|
+
export function cdEscalation(ask = 'fix_judge') {
|
|
123
|
+
return {
|
|
124
|
+
escalationId: CD_ESCALATION_ID, focusId: CD_FOCUS_ID, productId: CD_PRODUCT_ID, deliveryId: CD_DELIVERY_ID, issueId: null,
|
|
125
|
+
disposition: 'agent_resolvable', reasonType: 'error_encountered', status: 'pending',
|
|
126
|
+
description: `Verify on the delivery "${CD_DELIVERY_NAME}" has twice sent it back on a shortfall whose only node, 506f5f6f ` +
|
|
127
|
+
`("${CD_NODE_DECLARED}"), carries no judgment: the judge returned nothing parseable for it (gap fae3cbdf, at ` +
|
|
128
|
+
'commits fe2819c6 and 6024f5b0, both with passing gate verdicts). No code change answers a no-judgment node, so ' +
|
|
129
|
+
'the delivery loops: shortfall Bug filed, closed with a note, verify re-judges, same no-judgment again.',
|
|
130
|
+
whatWasTried: 'Closed both shortfall Bugs (188b8cbd, b6d39db7) as Done with a note that the node has no judgment, as the ' +
|
|
131
|
+
'shortfall instructions direct. Review already judged the matching criterion (criterion 9, ' +
|
|
132
|
+
'TaraChat.terms-declined.test.ts:97) met. The gate passed on both commits.',
|
|
133
|
+
helpNeeded: ask === 'fix_judge'
|
|
134
|
+
? "Look at why verify's judge returns no parseable judgment for node 506f5f6f on this delivery (likely the JSON " +
|
|
135
|
+
'escape issue in its citations), so verify can judge it and the delivery can advance. No change in this ' +
|
|
136
|
+
"focus's code is owed for it."
|
|
137
|
+
: 'Excuse node 506f5f6f on this delivery so it can advance: the terms prompt cannot be declined in the test ' +
|
|
138
|
+
'harness, so criterion 9 cannot be demonstrated.',
|
|
139
|
+
metadata: {}, createdAt: '2026-10-21T02:31:55.400Z', towerRoutedAt: '2026-10-21T02:31:55.395Z',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
//# sourceMappingURL=tower-shortfall-cd32119b.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tower-shortfall-cd32119b.js","sourceRoot":"","sources":["../../../src/testing/fixtures/tower-shortfall-cd32119b.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,uFAAuF;AACvF,+DAA+D;AAC/D,8DAA8D;AAC9D,gBAAgB;AAyChB,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,CAAC,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;AACvE,MAAM,CAAC,MAAM,WAAW,GAAG,sCAAsC,CAAC;AAClE,MAAM,CAAC,MAAM,aAAa,GAAG,sCAAsC,CAAC;AACpE,MAAM,CAAC,MAAM,cAAc,GAAG,sCAAsC,CAAC;AACrE,MAAM,CAAC,MAAM,gBAAgB,GAC3B,kHAAkH,CAAC;AACrH,MAAM,CAAC,MAAM,UAAU,GAAG,sCAAsC,CAAC;AACjE,MAAM,CAAC,MAAM,YAAY,GAAG,sCAAsC,CAAC;AACnE,MAAM,CAAC,MAAM,UAAU,GAAG,sCAAsC,CAAC;AACjE,MAAM,CAAC,MAAM,aAAa,GAAG,0CAA0C,CAAC;AACxE,MAAM,CAAC,MAAM,YAAY,GAAG,sCAAsC,CAAC;AACnE,iEAA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AgB,oEAAoE;YAC/G,KAAK,gBAAgB,yFAAyF;YAC9G,iHAAiH;YACjH,wGAAwG;QAC1G,YAAY,EACV,4GAA4G;YAC5G,4FAA4F;YAC5F,2EAA2E;QAC7E,UAAU,EAAE,GAAG,KAAK,WAAW;YAC7B,CAAC,CAAC,+GAA+G;gBAC/G,yGAAyG;gBACzG,8BAA8B;YAChC,CAAC,CAAC,2GAA2G;gBAC3G,iDAAiD;QACrD,QAAQ,EAAE,EAAE,EAAE,SAAS,EAAE,0BAA0B,EAAE,aAAa,EAAE,0BAA0B;KAC/F,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification-deps.d.ts","sourceRoot":"","sources":["../../../src/testing/fixtures/verification-deps.ts"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAGL,KAAK,2BAA2B,EACjC,MAAM,iDAAiD,CAAC;AAOzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAEjG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAI3F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AAYxG,6EAA6E;AAC7E,eAAO,MAAM,6BAA6B,EAAE,2BAM3C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,UAAU,
|
|
1
|
+
{"version":3,"file":"verification-deps.d.ts","sourceRoot":"","sources":["../../../src/testing/fixtures/verification-deps.ts"],"names":[],"mappings":"AA4EA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAGL,KAAK,2BAA2B,EACjC,MAAM,iDAAiD,CAAC;AAOzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uDAAuD,CAAC;AACnG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mDAAmD,CAAC;AAEjG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0CAA0C,CAAC;AAE3E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oDAAoD,CAAC;AAI3F,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,qDAAqD,CAAC;AAYxG,6EAA6E;AAC7E,eAAO,MAAM,6BAA6B,EAAE,2BAM3C,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,UAAU,CAgBxC;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,IAAI,gBAAgB,CAQpD;AAED,gFAAgF;AAChF,wBAAgB,mBAAmB,IAAI,cAAc,CAcpD;AAED;;;;GAIG;AACH,wBAAsB,WAAW,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAEvE;AAED,4FAA4F;AAC5F,wBAAgB,oBAAoB,CAAC,SAAS,GAAE,OAAO,CAAC,gBAAgB,CAAM,GAAG,gBAAgB,CA0FhG;AAED;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,EAAE,IAAI,CAAC,4BAA4B,EAAE,UAAU,GAAG,cAAc,CAGjG,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,uBAAuB,IAAI,qBAAqB,CAE/D;AAED,gGAAgG;AAChG,wBAAgB,0BAA0B,IAAI,uBAAuB,CAEpE"}
|
|
@@ -110,6 +110,9 @@ export function inertCiGate() {
|
|
|
110
110
|
listStatus: () => [],
|
|
111
111
|
readLog: () => null,
|
|
112
112
|
pushRun: notStubbed('ciGate.pushRun'),
|
|
113
|
+
readJob: async () => ({ kind: 'unconcluded', why: 'no CI job read in tests' }),
|
|
114
|
+
readJobLog: async () => null,
|
|
115
|
+
ensurePins: async () => ({ kind: 'ready', published: [] }),
|
|
113
116
|
waits: memoryCiGateWaitStore(),
|
|
114
117
|
logDir: () => join(tmpdir(), 'telora-test-ci-gate-logs'),
|
|
115
118
|
now: () => Date.now(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verification-deps.js","sourceRoot":"","sources":["../../../src/testing/fixtures/verification-deps.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,wHAAwH;AACxH,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAGjC,OAAO,EACL,6BAA6B,EAC7B,yBAAyB,GAE1B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,2CAA2C,CAAC;AACtF,OAAO,EACL,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,8CAA8C,CAAC;AAGtD,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAE7G,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AACvF,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,mDAAmD,CAAC;AAE3G,OAAO,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACrF,OAAO,EAAE,uBAAuB,EAAE,MAAM,+DAA+D,CAAC;AACxG,OAAO,EAAE,kBAAkB,EAAE,MAAM,uDAAuD,CAAC;AAE3F,gEAAgE;A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;QACvC,0BAA0B,EAAE,KAAK,IAAI,EAAE,CAAC,SAAS;QACjD,sBAAsB,EAAE,KAAK,IAAI,EAAE,GAAE,CAAC;QACtC,6BAA6B,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI;QAC/C,GAAG,SAAS;KACb,CAAC;IACF,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAoE;IACpG,QAAQ,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAAC,UAAU,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IACpG,YAAY,EAAE,CAAC,UAAU,EAAE,KAAK,EAAE,EAAE,CAAC,oBAAoB,CAAC,UAAU,EAAE,KAAK,CAAC;CAC7E,CAAC;AAEF;;;;GAIG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,0BAA0B,CAAC,uBAAuB,EAAE,CAAC,CAAC;AAC/D,CAAC;AAED,gGAAgG;AAChG,MAAM,UAAU,0BAA0B;IACxC,OAAO,qBAAqB,CAAC,uBAAuB,EAAE,EAAE,KAAK,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;AAC1E,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
-
// Pinned by:
|
|
2
|
+
// Pinned by: 22 tests -- run: npm run gen:pinned-by -- --list packages/daemon/src/testing/fixtures/verification-feedback-deps.ts
|
|
3
3
|
// PINNED-BY-END
|
|
4
4
|
/**
|
|
5
5
|
* Test fixture: complete, INERT deps for the verify outcome routing
|
|
@@ -7,9 +7,28 @@
|
|
|
7
7
|
* readStandingDecisions). A failed read never fails the gathering: it is named
|
|
8
8
|
* in readErrors, which the prompt shows.
|
|
9
9
|
*
|
|
10
|
+
* For an escalation anchored to a delivery it also gathers that delivery's
|
|
11
|
+
* VERIFY SHORTFALL RECORD (tower/tower-escalation-shortfall.ts): the judged
|
|
12
|
+
* commit and its gate verdict and the shortfall nodes (from the delivery's
|
|
13
|
+
* gate_state, read off the focus deliveries already read; the filing's
|
|
14
|
+
* structured metadata.human_act.shortfall_ruling.node_ids), and the focus's
|
|
15
|
+
* review verdicts under the current arm (daemon_list_review_criterion_verdicts,
|
|
16
|
+
* newest first, bounded) with the evidence each review's summary names, and --
|
|
17
|
+
* per shortfall node -- what the focus's reality tree says binds a verdict to
|
|
18
|
+
* it: its declared future and the effects it is an active `sufficient` cause of
|
|
19
|
+
* (queries/reality-tree/shortfall-node-bindings.ts). That record is what the
|
|
20
|
+
* supervisor rules an evidenced shortfall default on (telora_agent
|
|
21
|
+
* escalation_rule_shortfall). No delivery -> no record (null); a delivery the
|
|
22
|
+
* deliveries read does not hold is named in readErrors; a failed reviews read
|
|
23
|
+
* or tree read is named in readErrors too -- the record then says that part is
|
|
24
|
+
* unreadable, and its standing defers (never rules on an unread binding).
|
|
25
|
+
*
|
|
10
26
|
* @module tower/tower-escalation-gather
|
|
11
27
|
*/
|
|
12
28
|
import type { DaemonConfig, FocusDeliveryInfo } from '../types/index.js';
|
|
29
|
+
import type { TowerPendingEscalation } from '../queries/escalations/tower-escalations.js';
|
|
30
|
+
import type { ReviewVerdictRecord } from '../queries/focus-review/review-criterion-verdicts.js';
|
|
31
|
+
import type { ShortfallNodeBinding } from '../queries/reality-tree/shortfall-node-bindings.js';
|
|
13
32
|
import { type LoopHistoryDeps } from './tower-supervisor-history.js';
|
|
14
33
|
import type { EscalationContext, EscalationFocusDelivery } from './tower-escalation-prompt.js';
|
|
15
34
|
import type { TowerEscalationFocus } from './tower-escalation-session.js';
|
|
@@ -21,12 +40,17 @@ export interface EscalationGatherDeps {
|
|
|
21
40
|
assembleFocusContext: (focusId: string, productId: string, config: DaemonConfig) => Promise<string>;
|
|
22
41
|
readTextFile: LoopHistoryDeps['readTextFile'];
|
|
23
42
|
listDirectory: LoopHistoryDeps['listDirectory'];
|
|
43
|
+
/** The focus's verdict-bearing reviews under the arm, newest first (queries/focus-review/review-criterion-verdicts.ts). */
|
|
44
|
+
listReviewCriterionVerdicts: (focusId: string, limit: number) => Promise<ReviewVerdictRecord[]>;
|
|
45
|
+
/** The shortfall nodes' declared futures and active sufficient out-edges (queries/reality-tree/shortfall-node-bindings.ts). */
|
|
46
|
+
readShortfallNodeBindings: (focusId: string, nodeIds: readonly string[]) => Promise<ShortfallNodeBinding[]>;
|
|
24
47
|
}
|
|
25
48
|
/** Pure: a delivery labelled by the arm's baseline (null when the arm records none). */
|
|
26
49
|
export declare function labelDelivery(d: FocusDeliveryInfo, baseline: readonly string[] | null): EscalationFocusDelivery;
|
|
27
50
|
/** Gather everything the escalation supervisor is shown. Never throws. */
|
|
28
51
|
export declare function gatherEscalationContext(deps: EscalationGatherDeps, args: {
|
|
29
52
|
focus: TowerEscalationFocus;
|
|
53
|
+
escalation: Pick<TowerPendingEscalation, 'deliveryId' | 'metadata'>;
|
|
30
54
|
config: DaemonConfig;
|
|
31
55
|
repoRoot: string;
|
|
32
56
|
}): Promise<EscalationContext>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tower-escalation-gather.d.ts","sourceRoot":"","sources":["../../src/tower/tower-escalation-gather.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tower-escalation-gather.d.ts","sourceRoot":"","sources":["../../src/tower/tower-escalation-gather.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sDAAsD,CAAC;AAChG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAE/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M,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB,GACA,OAAO,CAAC,iBAAiB,CAAC,CAqB5B"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
// PINNED-BY-BEGIN (generated by gen:pinned-by -- do not hand-edit; checked by lint:pinned-by)
|
|
2
|
-
// Pinned by: packages/daemon/src/tower/tower-escalation-
|
|
2
|
+
// Pinned by: packages/daemon/src/tower/tower-escalation-gather.test.ts,
|
|
3
|
+
// packages/daemon/src/tower/tower-escalation-io-cases.test.ts,
|
|
4
|
+
// packages/daemon/src/tower/tower-escalation-prompt.test.ts
|
|
3
5
|
// PINNED-BY-END
|
|
6
|
+
import { buildShortfallRecord, shortfallNodesOf, SHORTFALL_REVIEWS_READ } from './tower-escalation-shortfall.js';
|
|
4
7
|
import { readStandingDecisions } from './tower-supervisor-history.js';
|
|
5
8
|
/** The context ladder an escalation supervisor reads: the focus, and its arm's stamped criteria and where they stand. */
|
|
6
9
|
export const TOWER_ESCALATION_CONTEXT_RECIPE = ['focus.context', 'focus.criteria_standing'];
|
|
@@ -13,6 +16,29 @@ export function labelDelivery(d, baseline) {
|
|
|
13
16
|
covered: baseline === null ? null : baseline.includes(d.id),
|
|
14
17
|
};
|
|
15
18
|
}
|
|
19
|
+
/** The anchored delivery's shortfall record; null when the escalation names no delivery or the delivery is not readable. */
|
|
20
|
+
async function gatherShortfallRecord(deps, escalation, focusId, deliveries, readErrors) {
|
|
21
|
+
if (!escalation.deliveryId)
|
|
22
|
+
return null;
|
|
23
|
+
const delivery = deliveries.find((d) => d.id === escalation.deliveryId);
|
|
24
|
+
if (!delivery) {
|
|
25
|
+
readErrors.push(`shortfall record: delivery ${escalation.deliveryId} is not among the focus deliveries read`);
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const nodeIds = shortfallNodesOf(delivery.gateState, escalation.metadata).map((n) => n.nodeId);
|
|
29
|
+
const [reviews, bindings] = await Promise.all([
|
|
30
|
+
deps.listReviewCriterionVerdicts(focusId, SHORTFALL_REVIEWS_READ)
|
|
31
|
+
.catch((err) => { readErrors.push(`review verdicts: ${err.message}`); return null; }),
|
|
32
|
+
deps.readShortfallNodeBindings(focusId, nodeIds)
|
|
33
|
+
.catch((err) => { readErrors.push(`reality tree bindings of the shortfall nodes: ${err.message}`); return null; }),
|
|
34
|
+
]);
|
|
35
|
+
return buildShortfallRecord({
|
|
36
|
+
delivery: { id: delivery.id, name: delivery.name, gateState: delivery.gateState, acceptanceCriteria: delivery.acceptanceCriteria ?? null },
|
|
37
|
+
metadata: escalation.metadata,
|
|
38
|
+
reviews,
|
|
39
|
+
bindings,
|
|
40
|
+
});
|
|
41
|
+
}
|
|
16
42
|
/** Gather everything the escalation supervisor is shown. Never throws. */
|
|
17
43
|
export async function gatherEscalationContext(deps, args) {
|
|
18
44
|
const { focus, config, repoRoot } = args;
|
|
@@ -28,10 +54,12 @@ export async function gatherEscalationContext(deps, args) {
|
|
|
28
54
|
catch (err) {
|
|
29
55
|
readErrors.push(`standing decisions: ${err.message}`);
|
|
30
56
|
}
|
|
57
|
+
const shortfallRecord = await gatherShortfallRecord(deps, args.escalation, focus.focusId, deliveries, readErrors);
|
|
31
58
|
return {
|
|
32
59
|
focusContext,
|
|
33
60
|
deliveries: deliveries.map((d) => labelDelivery(d, focus.armedBaselineDeliveryIds)),
|
|
34
61
|
standingDecisions,
|
|
62
|
+
shortfallRecord,
|
|
35
63
|
readErrors,
|
|
36
64
|
};
|
|
37
65
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tower-escalation-gather.js","sourceRoot":"","sources":["../../src/tower/tower-escalation-gather.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,
|
|
1
|
+
{"version":3,"file":"tower-escalation-gather.js","sourceRoot":"","sources":["../../src/tower/tower-escalation-gather.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,wEAAwE;AACxE,iEAAiE;AACjE,8DAA8D;AAC9D,gBA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CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,EAAyB,CAAC,CAAC,CAAC,CAAC;QACrK,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC,GAAY,EAAE,EAAE,GAAG,UAAU,CAAC,IAAI,CAAC,kBAAmB,GAAa,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;KACvK,CAAC,CAAC;IACH,IAAI,iBAAiB,GAAsB,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IACxF,IAAI,CAAC;QACH,iBAAiB,GAAG,qBAAqB,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,UAAU,CAAC,IAAI,CAAC,uBAAwB,GAAa,CAAC,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IACD,MAAM,eAAe,GAAG,MAAM,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,EAAE,KAAK,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;IAClH,OAAO;QACL,YAAY;QACZ,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;QACnF,iBAAiB;QACjB,eAAe;QACf,UAAU;KACX,CAAC;AACJ,CAAC"}
|
|
@@ -15,6 +15,26 @@
|
|
|
15
15
|
* deliveries it covers and those recorded as new intent after it) and the
|
|
16
16
|
* product's standing decisions.
|
|
17
17
|
*
|
|
18
|
+
* A VERIFY SHORTFALL it may RULE itself. When the escalation is anchored to a
|
|
19
|
+
* delivery, the prompt also carries that delivery's shortfall record (the
|
|
20
|
+
* judged commit and its gate verdict, the shortfall nodes, the review verdicts
|
|
21
|
+
* under the arm with their evidence and criterion text verbatim;
|
|
22
|
+
* tower/tower-escalation-shortfall.ts) and a definite standing computed from it.
|
|
23
|
+
* The supervisor RULES the nodes met (telora_agent action
|
|
24
|
+
* "escalation_rule_shortfall") on a closed list of conditions -- the ask is a
|
|
25
|
+
* shortfall ruling (or a shortfall verify keeps re-holding on unchanged
|
|
26
|
+
* commits), the judged commit's gate verdict passed, and the latest review
|
|
27
|
+
* under the arm judged the node's criterion met with evidence, by a verdict
|
|
28
|
+
* BOUND to that node (a tree verdict on it, this delivery's criterion whose
|
|
29
|
+
* text is its declared future, or a tree verdict on an effect it is a
|
|
30
|
+
* sufficient cause of) -- and DEFERS on a missing or failing gate verdict, a
|
|
31
|
+
* missing / not_met / excused review verdict, no verdict bound to the node, an
|
|
32
|
+
* ask to excuse, or a server refusal. Such a ruling does not lower
|
|
33
|
+
* the bar (the record already shows the node met), so the "do not lower the
|
|
34
|
+
* bar" and "when in doubt, defer" lines govern every OTHER escalation and no
|
|
35
|
+
* longer forbid it. An escalation with no delivery is judged by the
|
|
36
|
+
* answer-or-defer rules alone, its prompt unchanged.
|
|
37
|
+
*
|
|
18
38
|
* What it is never given: a budget lever. The prompt carries no review-cycle
|
|
19
39
|
* count, no cap and no arm act, and says outright that none exist for it; the
|
|
20
40
|
* bound is the scoped `tower_supervisor` MCP profile, under which no tool can
|
|
@@ -24,6 +44,7 @@
|
|
|
24
44
|
*/
|
|
25
45
|
import type { StandingDecisions } from './tower-supervisor-history.js';
|
|
26
46
|
import type { TowerPendingEscalation } from '../queries/escalations/tower-escalations.js';
|
|
47
|
+
import { type ShortfallRecord, type ShortfallStanding } from './tower-escalation-shortfall.js';
|
|
27
48
|
/** The last line the session prints (informational; the record decides). */
|
|
28
49
|
export declare const TOWER_ESCALATION_LINE_PREFIX = "TOWER DECISION:";
|
|
29
50
|
/** One delivery of the focus, and whether the arm covers it. */
|
|
@@ -40,6 +61,8 @@ export interface EscalationContext {
|
|
|
40
61
|
focusContext: string;
|
|
41
62
|
deliveries: EscalationFocusDelivery[];
|
|
42
63
|
standingDecisions: StandingDecisions;
|
|
64
|
+
/** The anchored delivery's verify shortfall record; null when the escalation names no delivery (or it is not readable). */
|
|
65
|
+
shortfallRecord: ShortfallRecord | null;
|
|
43
66
|
readErrors: string[];
|
|
44
67
|
}
|
|
45
68
|
/** Inputs of one escalation prompt. */
|
|
@@ -55,8 +78,10 @@ export interface TowerEscalationPromptInput {
|
|
|
55
78
|
supervisorSessionId: string;
|
|
56
79
|
context: EscalationContext;
|
|
57
80
|
}
|
|
81
|
+
/** Pure: the standing of the escalation's shortfall record, or null when it carries none. */
|
|
82
|
+
export declare function escalationShortfallStanding(input: TowerEscalationPromptInput): ShortfallStanding | null;
|
|
58
83
|
/** Pure: the whole escalation prompt. */
|
|
59
84
|
export declare function buildTowerEscalationPrompt(input: TowerEscalationPromptInput): string;
|
|
60
85
|
/** Pure: the decision the session's last line states, or null. Informational: the record decides. */
|
|
61
|
-
export declare function parseTowerEscalationLine(stdout: string): 'answered' | 'deferred' | null;
|
|
86
|
+
export declare function parseTowerEscalationLine(stdout: string): 'answered' | 'deferred' | 'ruled' | null;
|
|
62
87
|
//# sourceMappingURL=tower-escalation-prompt.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tower-escalation-prompt.d.ts","sourceRoot":"","sources":["../../src/tower/tower-escalation-prompt.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tower-escalation-prompt.d.ts","sourceRoot":"","sources":["../../src/tower/tower-escalation-prompt.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2CG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AAC1F,OAAO,EAKL,KAAK,eAAe,EAC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