@telora/daemon 0.24.26 → 0.24.36
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 +6 -3
- 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/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/nexus/escalation-bridge.d.ts.map +1 -1
- package/dist/nexus/escalation-bridge.js +2 -1
- package/dist/nexus/escalation-bridge.js.map +1 -1
- package/dist/nexus/file-escalation.d.ts.map +1 -1
- package/dist/nexus/file-escalation.js +1 -0
- package/dist/nexus/file-escalation.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/queries/api-client/shared.js +1 -1
- package/dist/queries/deliveries/deliveries.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/delivery-gate-state/verify-own-holds.d.ts +24 -2
- package/dist/queries/delivery-gate-state/verify-own-holds.d.ts.map +1 -1
- package/dist/queries/delivery-gate-state/verify-own-holds.js.map +1 -1
- package/dist/queries/escalations/cause-key.d.ts.map +1 -1
- package/dist/queries/escalations/cause-key.js +1 -0
- package/dist/queries/escalations/cause-key.js.map +1 -1
- package/dist/queries/escalations/escalations.d.ts.map +1 -1
- package/dist/queries/escalations/escalations.js +2 -1
- package/dist/queries/escalations/escalations.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/queries/verification/verification.js +1 -1
- package/dist/supervision/escalation-filing.js +1 -1
- package/dist/supervision/incident-correlation.d.ts +4 -1
- package/dist/supervision/incident-correlation.d.ts.map +1 -1
- package/dist/supervision/incident-correlation.js +7 -2
- package/dist/supervision/incident-correlation.js.map +1 -1
- package/dist/supervision/stop-registry.d.ts +1 -0
- package/dist/supervision/stop-registry.d.ts.map +1 -1
- package/dist/supervision/stop-rows-delivery.d.ts +10 -0
- package/dist/supervision/stop-rows-delivery.d.ts.map +1 -1
- package/dist/supervision/stop-rows-delivery.js +29 -0
- package/dist/supervision/stop-rows-delivery.js.map +1 -1
- package/dist/testing/fixtures/api-client.js +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 +1 -1
- package/dist/verify/deterministic-gate/verification-deterministic.js.map +1 -1
- package/dist/verify/effect-reconciliation/verify-reconciliation.d.ts +11 -0
- package/dist/verify/effect-reconciliation/verify-reconciliation.d.ts.map +1 -1
- package/dist/verify/effect-reconciliation/verify-reconciliation.js +35 -2
- package/dist/verify/effect-reconciliation/verify-reconciliation.js.map +1 -1
- package/dist/verify/effect-reconciliation/verify-restatement.d.ts +4 -0
- package/dist/verify/effect-reconciliation/verify-restatement.d.ts.map +1 -1
- package/dist/verify/effect-reconciliation/verify-restatement.js +3 -3
- package/dist/verify/effect-reconciliation/verify-restatement.js.map +1 -1
- package/dist/verify/engine/reconciliation-step.d.ts +9 -2
- package/dist/verify/engine/reconciliation-step.d.ts.map +1 -1
- package/dist/verify/engine/reconciliation-step.js +26 -3
- package/dist/verify/engine/reconciliation-step.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/incurable-model-hold.d.ts +2 -0
- package/dist/verify/outcome-routing/incurable-model-hold.d.ts.map +1 -1
- package/dist/verify/outcome-routing/incurable-model-hold.js +21 -6
- package/dist/verify/outcome-routing/incurable-model-hold.js.map +1 -1
- package/dist/verify/outcome-routing/repeating-model-hold.d.ts.map +1 -1
- package/dist/verify/outcome-routing/repeating-model-hold.js +13 -7
- package/dist/verify/outcome-routing/repeating-model-hold.js.map +1 -1
- package/dist/verify/outcome-routing/unjudged-node-hold.d.ts +31 -0
- package/dist/verify/outcome-routing/unjudged-node-hold.d.ts.map +1 -0
- package/dist/verify/outcome-routing/unjudged-node-hold.js +134 -0
- package/dist/verify/outcome-routing/unjudged-node-hold.js.map +1 -0
- 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-model-unavailable-hold.d.ts +4 -0
- package/dist/verify/outcome-routing/verification-model-unavailable-hold.d.ts.map +1 -1
- package/dist/verify/outcome-routing/verification-model-unavailable-hold.js +25 -8
- package/dist/verify/outcome-routing/verification-model-unavailable-hold.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/pre-judge-rulings.d.ts.map +1 -1
- package/dist/verify/shortfalls/pre-judge-rulings.js +1 -0
- package/dist/verify/shortfalls/pre-judge-rulings.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/package.json +2 -2
|
@@ -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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EAAE,GAAE,CAAC,EAAE;QACrE,mBAAmB,EAAE,GAAG,EAAE,GAAE,CAAC;QAC7B,iBAAiB,EAAE,GAAG,EAAE,CAAC,IAAI;QAC7B,UAAU,EAAE,mBAAmB,EAAE;QACjC,MAAM,EAAE,WAAW,EAAE;QACrB,YAAY,EAAE,iBAAiB,EAAE;QACjC,qBAAqB,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI;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;;;;;;;;;;;;;;;;;;;;;;;;;;G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AE,SAAS,MAAM,EAAE,GAAG,IAAI,GAAG,uBAAuB,CAO/G;AA+BD,0EAA0E;AAC1E,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,oBAAoB,EAC1B,IAAI,EAAE;IACJ,KAAK,EAAE,oBAAoB,CAAC;IAC5B,UAAU,EAAE,IAAI,CAAC,sBAAsB,EAAE,YAAY,GAAG,UAAU,CAAC,CAAC;IACpE,MAAM,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,gBAAgB;AAkChB,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,sBAAsB,EAAwB,MAAM,iCAAiC,CAAC;AACvI,OAAO,EAAE,qBAAqB,EAAgD,MAAM,+BAA+B,CAAC;AAIpH,yHAAyH;AACzH,MAAM,CAAC,MAAM,+BAA+B,GAAsB,CAAC,eAAe,EAAE,yBAAyB,CAAC,CAAC;AAc/G,wFAAwF;AACxF,MAAM,UAAU,aAAa,CAAC,CAAoB,EAAE,QAAkC;IACpF,OAAO;QACL,UAAU,EAAE,CAAC,CAAC,EAAE;QAChB,IAAI,EAAE,CAAC,CAAC,IAAI;QACZ,eAAe,EAAE,CAAC,CAAC,eAAe,IAAI,SAAS;QAC/C,OAAO,EAAE,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;KAC5D,CAAC;AACJ,CAAC;AAED,4HAA4H;AAC5H,KAAK,UAAU,qBAAqB,CAClC,IAA0B,EAC1B,UAAmE,EACnE,OAAe,EACf,UAAwC,EACxC,UAAoB;IAEpB,IAAI,CAAC,UAAU,CAAC,UAAU;QAAE,OAAO,IAAI,CAAC;IACxC,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,UAAU,CAAC,UAAU,CAAC,CAAC;IACxE,IAAI,CAAC,QAAQ,EAAE,CAAC;QACd,UAAU,CAAC,IAAI,CAAC,8BAA8B,UAAU,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AAe;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":"","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AOvG;AAQD,yCAAyC;AACzC,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,0BAA0B,GAAG,MAAM,CAoBpF;AAED,qGAAqG;AACrG,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,IAAI,CAUjG"}
|
|
@@ -1,6 +1,8 @@
|
|
|
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-io-cases.test.ts,
|
|
3
|
+
// packages/daemon/src/tower/tower-escalation-prompt.test.ts
|
|
3
4
|
// PINNED-BY-END
|
|
5
|
+
import { computeShortfallStanding, filingActOf, renderShortfallSection, SHORTFALL_RULING_ACT, } from './tower-escalation-shortfall.js';
|
|
4
6
|
/** The last line the session prints (informational; the record decides). */
|
|
5
7
|
export const TOWER_ESCALATION_LINE_PREFIX = 'TOWER DECISION:';
|
|
6
8
|
function fence(text) {
|
|
@@ -49,9 +51,39 @@ function contextSection(ctx) {
|
|
|
49
51
|
out.push('## What you were NOT given (a read failed)', '', ...ctx.readErrors.map((e) => `- ${e}`), '');
|
|
50
52
|
return out;
|
|
51
53
|
}
|
|
54
|
+
function ruleStep(ids) {
|
|
55
|
+
return [
|
|
56
|
+
`4. **RULE a verify shortfall** with \`telora_agent\` action "${SHORTFALL_RULING_ACT}" (${ids}, rulings`,
|
|
57
|
+
' [{ nodeId, criterion }] -- the criterion VERBATIM as the record above quotes it --, summary, rationale (at most',
|
|
58
|
+
' 2000 chars; it is recorded on the ruling), decisionEvidence { gateVerdict, reviewId, evidence }) when ALL hold:',
|
|
59
|
+
' - the escalation asks for verify shortfall node(s) on this delivery to be ruled met -- or the team reports a',
|
|
60
|
+
' shortfall verify keeps re-holding on unchanged commits (e.g. "no parseable judgment" loops that no code',
|
|
61
|
+
' change answers);',
|
|
62
|
+
' - the judged commit has a PASSING gate verdict;',
|
|
63
|
+
' - the latest review under the arm judged that node\'s criterion MET with evidence -- by a verdict BOUND to',
|
|
64
|
+
' the node: a tree verdict on the node itself, this delivery\'s criterion whose text IS the node\'s declared',
|
|
65
|
+
' future, or a tree verdict on an effect the node is a sufficient cause of. Nothing else binds.',
|
|
66
|
+
' Rule only the nodes the filing asks for: when it names nodes structurally, a node it does not name is not',
|
|
67
|
+
' ruled and does not count for or against the ask. The record section above states the last two for you, and',
|
|
68
|
+
' its standing line says whether they hold and names, per node, the ONE bound criterion to pass -- the server',
|
|
69
|
+
' refuses any other. That one',
|
|
70
|
+
' call records the ruling attributed to you, resolves the escalation as answered and records shortfall_ruled on',
|
|
71
|
+
' the focus; verify then re-judges. It is the whole act: never follow it with an escalation_answer.',
|
|
72
|
+
` DEFER instead (step 5) -- never call ${SHORTFALL_RULING_ACT} -- when ANY of these holds:`,
|
|
73
|
+
' - the gate verdict for the judged commit is missing or failing;',
|
|
74
|
+
' - the review verdict on the node\'s criterion is missing, not_met or excused -- or no review verdict',
|
|
75
|
+
' identifies the node\'s criterion at all (a met criterion that is not BOUND to the node is not evidence it holds);',
|
|
76
|
+
' - the ask would EXCUSE a criterion, or offers excusing it as an alternative ("met or excused"): an excuse is',
|
|
77
|
+
' never a supervisor act;',
|
|
78
|
+
' - the act is refused by the server: its message names why; defer citing it.',
|
|
79
|
+
' An escalation that asks for something other than a shortfall ruling is judged by steps 3 and 5 alone.',
|
|
80
|
+
];
|
|
81
|
+
}
|
|
52
82
|
function instructionsSection(input) {
|
|
53
83
|
const { escalation: e, supervisorSessionId: sid } = input;
|
|
54
84
|
const ids = `escalationId "${e.escalationId}", agentSessionId "${sid}"`;
|
|
85
|
+
const shortfall = input.context.shortfallRecord !== null;
|
|
86
|
+
const deferStep = shortfall ? '5' : '4';
|
|
55
87
|
return [
|
|
56
88
|
'## What you do, in order',
|
|
57
89
|
'',
|
|
@@ -68,30 +100,63 @@ function instructionsSection(input) {
|
|
|
68
100
|
' criteria: [the criteria it rests on], standingDecisions: [the entries it cites], alternatives: [what you',
|
|
69
101
|
' rejected and why] }. That one call resolves the escalation, records escalation_answered on the focus, and',
|
|
70
102
|
' the daemon hands your answer to the team (its live session now, or its next spawn).',
|
|
71
|
-
|
|
103
|
+
...(shortfall ? ruleStep(ids) : []),
|
|
104
|
+
`${deferStep}. **DEFER it to the operator** with \`telora_agent\` action "escalation_defer" (` + ids + ', summary,',
|
|
72
105
|
' rationale) -- the escalation then stands in the operator\'s inbox -- when any of these holds:',
|
|
73
106
|
' - it asks for a MAJOR NEW BUILD: a new capability, product surface or focus beyond what the arm covers;',
|
|
74
107
|
' - the intent is genuinely open: the focus and the standing decisions leave two readings that change the',
|
|
75
108
|
' outcome, and neither is clearly the team\'s scope;',
|
|
76
109
|
' - it needs a human act after all (something irreversible, outward, or a credential no agent reaches);',
|
|
110
|
+
...(shortfall ? [' - it asks for a shortfall ruling the record does not support (step 4\'s DEFER list);'] : []),
|
|
77
111
|
' - you feel a human is needed. When in doubt between answering and deferring, DEFER.',
|
|
112
|
+
...(shortfall
|
|
113
|
+
? [' (A shortfall ruling is not decided by doubt: the record decides it, by step 4\'s closed list.)']
|
|
114
|
+
: []),
|
|
78
115
|
'',
|
|
79
116
|
];
|
|
80
117
|
}
|
|
81
|
-
function boundariesSection() {
|
|
118
|
+
function boundariesSection(shortfall) {
|
|
119
|
+
const p = TOWER_ESCALATION_LINE_PREFIX;
|
|
82
120
|
return [
|
|
83
121
|
'## What you never do',
|
|
84
122
|
'',
|
|
85
123
|
'- You hold NO budget lever. You cannot grant review cycles, extend a budget, re-arm, un-arm or stop the',
|
|
86
124
|
' focus; your Telora tools do not offer it. An answer never widens the arm: new intent is the operator\'s.',
|
|
87
125
|
'- You do not amend a criterion, write code, commit, or file a new escalation for this one: answering or',
|
|
88
|
-
|
|
126
|
+
` deferring${shortfall ? ' (or ruling)' : ''} THIS escalation is the whole act.`,
|
|
89
127
|
'- You do not lower the bar to unblock the team: an answer that drops a stamped criterion is a deferral.',
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
128
|
+
...(shortfall
|
|
129
|
+
? [
|
|
130
|
+
' A shortfall ruling admitted only on a passing gate verdict at the judged commit and a review that judged',
|
|
131
|
+
' the node\'s criterion met with evidence does NOT lower the bar -- the record already shows the node met --',
|
|
132
|
+
' so this line does not forbid it. Excusing a criterion does lower it, and is never yours.',
|
|
133
|
+
`- You decide exactly once: one escalation_answer OR one escalation_defer OR one ${SHORTFALL_RULING_ACT}.`,
|
|
134
|
+
' The ruling resolves the escalation, so it is never followed by an answer.',
|
|
135
|
+
'',
|
|
136
|
+
`End with one line: \`${p} answered\`, \`${p} deferred\` or \`${p} ruled\`.`,
|
|
137
|
+
]
|
|
138
|
+
: [
|
|
139
|
+
'- You decide exactly once: one escalation_answer OR one escalation_defer.',
|
|
140
|
+
'',
|
|
141
|
+
`End with one line: \`${p} answered\` or \`${p} deferred\`.`,
|
|
142
|
+
]),
|
|
93
143
|
];
|
|
94
144
|
}
|
|
145
|
+
/** Pure: the standing of the escalation's shortfall record, or null when it carries none. */
|
|
146
|
+
export function escalationShortfallStanding(input) {
|
|
147
|
+
const record = input.context.shortfallRecord;
|
|
148
|
+
if (record === null)
|
|
149
|
+
return null;
|
|
150
|
+
return computeShortfallStanding(record, {
|
|
151
|
+
helpNeeded: input.escalation.helpNeeded,
|
|
152
|
+
act: filingActOf(input.escalation.metadata),
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
function shortfallSection(input) {
|
|
156
|
+
const record = input.context.shortfallRecord;
|
|
157
|
+
const standing = escalationShortfallStanding(input);
|
|
158
|
+
return record === null || standing === null ? [] : renderShortfallSection(record, standing);
|
|
159
|
+
}
|
|
95
160
|
/** Pure: the whole escalation prompt. */
|
|
96
161
|
export function buildTowerEscalationPrompt(input) {
|
|
97
162
|
const { focus } = input;
|
|
@@ -109,8 +174,9 @@ export function buildTowerEscalationPrompt(input) {
|
|
|
109
174
|
'',
|
|
110
175
|
...escalationSection(input),
|
|
111
176
|
...contextSection(input.context),
|
|
177
|
+
...shortfallSection(input),
|
|
112
178
|
...instructionsSection(input),
|
|
113
|
-
...boundariesSection(),
|
|
179
|
+
...boundariesSection(input.context.shortfallRecord !== null),
|
|
114
180
|
].join('\n');
|
|
115
181
|
}
|
|
116
182
|
/** Pure: the decision the session's last line states, or null. Informational: the record decides. */
|
|
@@ -124,6 +190,8 @@ export function parseTowerEscalationLine(stdout) {
|
|
|
124
190
|
return 'answered';
|
|
125
191
|
if (word.startsWith('deferred'))
|
|
126
192
|
return 'deferred';
|
|
193
|
+
if (word.startsWith('ruled'))
|
|
194
|
+
return 'ruled';
|
|
127
195
|
}
|
|
128
196
|
return null;
|
|
129
197
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tower-escalation-prompt.js","sourceRoot":"","sources":["../../src/tower/tower-escalation-prompt.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,
|
|
1
|
+
{"version":3,"file":"tower-escalation-prompt.js","sourceRoot":"","sources":["../../src/tower/tower-escalation-prompt.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,0EAA0E;AAC1E,8DAA8D;AAC9D,gBAAgB;AAiDhB,OAAO,EACL,wBAAwB,EACxB,WAAW,EACX,sBAAsB,EACtB,oBAAoB,GAGrB,MAAM,iCAAiC,CAAC;AAEzC,4EAA4E;AAC5E,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AA+B9D,SAAS,KAAK,CAAC,IAAY;IACzB,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChE,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAiC;IAC1D,MAAM,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC;IAC3B,MAAM,GAAG,GAAG;QACV,mBAAmB;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AE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC;QACvD,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,CAAC,4BAA4B,CAAC,CAAC;QACtD,IAAI,EAAE,KAAK,CAAC,CAAC;YAAE,SAAS;QACxB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,4BAA4B,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;QAC7G,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;YAAE,OAAO,UAAU,CAAC;QACnD,IAAI,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC;YAAE,OAAO,UAAU,CAAC;QACnD,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC;YAAE,OAAO,OAAO,CAAC;IAC/C,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
* -> the OPERATOR, with no supervisor session, when
|
|
8
8
|
* human_act the filing names a human-only act (metadata.human_act
|
|
9
9
|
* kind irreversible | outward | unreachable_capability):
|
|
10
|
-
* no agent can perform it, so no agent should hold it
|
|
10
|
+
* no agent can perform it, so no agent should hold it --
|
|
11
|
+
* EXCEPT a shortfall ruling (below);
|
|
11
12
|
* external_wait the filing waits on a third party: not a judgement call;
|
|
12
13
|
* unarmed the focus is no longer armed (no assigned agent role):
|
|
13
14
|
* the supervisor decides within the scope an ARM authorised;
|
|
@@ -16,8 +17,25 @@
|
|
|
16
17
|
* scope the team is solving for) or defers (a major new build, or it feels
|
|
17
18
|
* a human is needed) is its judgement, told in tower/tower-escalation-prompt.ts.
|
|
18
19
|
*
|
|
20
|
+
* THE SHORTFALL-RULING EXCEPTION. A filing whose human act IS a verify
|
|
21
|
+
* shortfall ruling goes to the SUPERVISOR (still subject to unarmed /
|
|
22
|
+
* focus_closed / external_wait), because the supervisor can rule an evidenced
|
|
23
|
+
* shortfall itself (escalation_tower_rule_shortfall) and defers when the record
|
|
24
|
+
* does not support it. It is recognised ONLY by the structured field
|
|
25
|
+
* metadata.human_act.shortfall_ruling.node_ids (mcp telora_agent
|
|
26
|
+
* humanAct.shortfallRuling, persisted by product-api escalation_create; read by
|
|
27
|
+
* shortfallRulingAskOf), never by matching the act prose, and only when:
|
|
28
|
+
* - the act's kind is unreachable_capability (a ruling is an authority act a
|
|
29
|
+
* team cannot reach; an irreversible or outward act carrying the field is
|
|
30
|
+
* still that act, so it goes to the operator), and
|
|
31
|
+
* - it names >= 1 well-formed node id, and
|
|
32
|
+
* - the filing carries a deliveryId (a ruling is recorded ON a delivery).
|
|
33
|
+
* Any other unreachable_capability act (a credential, control-plane state) is
|
|
34
|
+
* unchanged: the operator.
|
|
35
|
+
*
|
|
19
36
|
* @module tower/tower-escalation-routing
|
|
20
37
|
*/
|
|
38
|
+
import { type ShortfallRulingAsk } from '../queries/escalations/filing-observation.js';
|
|
21
39
|
/** The human-only act kinds (mcp telora_agent humanAct.kind). */
|
|
22
40
|
export declare const HUMAN_ACT_KINDS: readonly string[];
|
|
23
41
|
/** Why an escalation goes straight to the operator. */
|
|
@@ -38,12 +56,20 @@ export interface RoutingFacts {
|
|
|
38
56
|
focus: {
|
|
39
57
|
armed: boolean;
|
|
40
58
|
} | null;
|
|
59
|
+
/** The escalation's delivery anchor. A shortfall ruling needs one; absent reads as none. */
|
|
60
|
+
deliveryId?: string | null;
|
|
41
61
|
}
|
|
42
62
|
/** Pure: the human-only act a filing names, or null. */
|
|
43
63
|
export declare function humanActOf(metadata: Record<string, unknown>): {
|
|
44
64
|
kind: string;
|
|
45
65
|
act: string;
|
|
46
66
|
} | null;
|
|
67
|
+
/**
|
|
68
|
+
* Pure: the structured shortfall ruling a filing asks for -- the well-formed
|
|
69
|
+
* metadata.human_act.shortfall_ruling on an unreachable_capability act -- or null.
|
|
70
|
+
* Reads the structured field only, never the act prose.
|
|
71
|
+
*/
|
|
72
|
+
export declare function shortfallRulingAskOf(metadata: Record<string, unknown>): ShortfallRulingAsk | null;
|
|
47
73
|
/** Pure: route one pending team escalation. */
|
|
48
74
|
export declare function routeTeamEscalation(facts: RoutingFacts): TowerEscalationRoute;
|
|
49
75
|
//# sourceMappingURL=tower-escalation-routing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tower-escalation-routing.d.ts","sourceRoot":"","sources":["../../src/tower/tower-escalation-routing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tower-escalation-routing.d.ts","sourceRoot":"","sources":["../../src/tower/tower-escalation-routing.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,EAAgB,KAAK,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAErG,iEAAiE;AACjE,eAAO,MAAM,eAAe,EAAE,SAAS,MAAM,EAA0D,CAAC;AAExG,uDAAuD;AACvD,MAAM,MAAM,mBAAmB,GAAG,WAAW,GAAG,eAAe,GAAG,SAAS,GAAG,cAAc,CAAC;AAE7F,yCAAyC;AACzC,MAAM,MAAM,oBAAoB,GAC5B;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,GACvB;IAAE,KAAK,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,mBAAmB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE,mCAAmC;AACnC,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,kHAAkH;IAClH,KAAK,EAAE;QAAE,KAAK,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;IACjC,4FAA4F;IAC5F,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,wDAAwD;AACxD,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAMlG;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,kBAAkB,GAAG,IAAI,CAEjG;AAED,+CAA+C;AAC/C,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,YAAY,GAAG,oBAAoB,CAgB7E"}
|
|
@@ -1,5 +1,7 @@
|
|
|
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-io-cases.test.ts,
|
|
3
|
+
// packages/daemon/src/tower/tower-escalation-prompt.test.ts,
|
|
4
|
+
// packages/daemon/src/tower/tower-escalation-routing.test.ts
|
|
3
5
|
// PINNED-BY-END
|
|
4
6
|
/**
|
|
5
7
|
* THE ROUTING TABLE for a team escalation pending on the Tower supervisor: does
|
|
@@ -10,7 +12,8 @@
|
|
|
10
12
|
* -> the OPERATOR, with no supervisor session, when
|
|
11
13
|
* human_act the filing names a human-only act (metadata.human_act
|
|
12
14
|
* kind irreversible | outward | unreachable_capability):
|
|
13
|
-
* no agent can perform it, so no agent should hold it
|
|
15
|
+
* no agent can perform it, so no agent should hold it --
|
|
16
|
+
* EXCEPT a shortfall ruling (below);
|
|
14
17
|
* external_wait the filing waits on a third party: not a judgement call;
|
|
15
18
|
* unarmed the focus is no longer armed (no assigned agent role):
|
|
16
19
|
* the supervisor decides within the scope an ARM authorised;
|
|
@@ -19,8 +22,25 @@
|
|
|
19
22
|
* scope the team is solving for) or defers (a major new build, or it feels
|
|
20
23
|
* a human is needed) is its judgement, told in tower/tower-escalation-prompt.ts.
|
|
21
24
|
*
|
|
25
|
+
* THE SHORTFALL-RULING EXCEPTION. A filing whose human act IS a verify
|
|
26
|
+
* shortfall ruling goes to the SUPERVISOR (still subject to unarmed /
|
|
27
|
+
* focus_closed / external_wait), because the supervisor can rule an evidenced
|
|
28
|
+
* shortfall itself (escalation_tower_rule_shortfall) and defers when the record
|
|
29
|
+
* does not support it. It is recognised ONLY by the structured field
|
|
30
|
+
* metadata.human_act.shortfall_ruling.node_ids (mcp telora_agent
|
|
31
|
+
* humanAct.shortfallRuling, persisted by product-api escalation_create; read by
|
|
32
|
+
* shortfallRulingAskOf), never by matching the act prose, and only when:
|
|
33
|
+
* - the act's kind is unreachable_capability (a ruling is an authority act a
|
|
34
|
+
* team cannot reach; an irreversible or outward act carrying the field is
|
|
35
|
+
* still that act, so it goes to the operator), and
|
|
36
|
+
* - it names >= 1 well-formed node id, and
|
|
37
|
+
* - the filing carries a deliveryId (a ruling is recorded ON a delivery).
|
|
38
|
+
* Any other unreachable_capability act (a credential, control-plane state) is
|
|
39
|
+
* unchanged: the operator.
|
|
40
|
+
*
|
|
22
41
|
* @module tower/tower-escalation-routing
|
|
23
42
|
*/
|
|
43
|
+
import { readHumanAct } from '../queries/escalations/filing-observation.js';
|
|
24
44
|
/** The human-only act kinds (mcp telora_agent humanAct.kind). */
|
|
25
45
|
export const HUMAN_ACT_KINDS = ['irreversible', 'outward', 'unreachable_capability'];
|
|
26
46
|
/** Pure: the human-only act a filing names, or null. */
|
|
@@ -33,10 +53,19 @@ export function humanActOf(metadata) {
|
|
|
33
53
|
return null;
|
|
34
54
|
return { kind, act: typeof act === 'string' ? act : '' };
|
|
35
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Pure: the structured shortfall ruling a filing asks for -- the well-formed
|
|
58
|
+
* metadata.human_act.shortfall_ruling on an unreachable_capability act -- or null.
|
|
59
|
+
* Reads the structured field only, never the act prose.
|
|
60
|
+
*/
|
|
61
|
+
export function shortfallRulingAskOf(metadata) {
|
|
62
|
+
return readHumanAct(metadata.human_act)?.shortfall_ruling ?? null;
|
|
63
|
+
}
|
|
36
64
|
/** Pure: route one pending team escalation. */
|
|
37
65
|
export function routeTeamEscalation(facts) {
|
|
38
66
|
const act = humanActOf(facts.metadata);
|
|
39
|
-
|
|
67
|
+
const rulingForSupervisor = act !== null && shortfallRulingAskOf(facts.metadata) !== null && !!facts.deliveryId;
|
|
68
|
+
if (act && !rulingForSupervisor) {
|
|
40
69
|
return { route: 'operator', reason: 'human_act', detail: `it names a human-only act (${act.kind}): ${act.act || '(unstated)'}` };
|
|
41
70
|
}
|
|
42
71
|
if (facts.disposition === 'external_wait') {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tower-escalation-routing.js","sourceRoot":"","sources":["../../src/tower/tower-escalation-routing.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,
|
|
1
|
+
{"version":3,"file":"tower-escalation-routing.js","sourceRoot":"","sources":["../../src/tower/tower-escalation-routing.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,0EAA0E;AAC1E,+DAA+D;AAC/D,+DAA+D;AAC/D,gBAAgB;AAEhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,OAAO,EAAE,YAAY,EAA2B,MAAM,8CAA8C,CAAC;AAErG,iEAAiE;AACjE,MAAM,CAAC,MAAM,eAAe,GAAsB,CAAC,cAAc,EAAE,SAAS,EAAE,wBAAwB,CAAC,CAAC;AAoBxG,wDAAwD;AACxD,MAAM,UAAU,UAAU,CAAC,QAAiC;IAC1D,MAAM,GAAG,GAAG,QAAQ,CAAC,SAAS,CAAC;IAC/B,IAAI,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC;IAC/E,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,GAAwC,CAAC;IAC/D,IAAI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