@quantiya/codevibe-core 2.0.19 → 2.0.20
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/dist/appsync/appsync-client.d.ts +25 -0
- package/dist/appsync/index.d.ts +1 -1
- package/dist/config/config.d.ts +1 -1
- package/dist/index.js +289 -289
- package/dist/orchestration-shell/__tests__/quorum-loop-outcome-recency.test.d.ts +1 -0
- package/dist/orchestration-shell/cli.d.ts +7 -0
- package/dist/orchestration-shell/cli.js +388 -121
- package/dist/orchestration-shell/quorum-loop.d.ts +4 -0
- package/dist/orchestration-shell/types.d.ts +24 -0
- package/dist/ordinal-presentation.d.ts +4 -0
- package/dist/ordinal-presentation.test.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1221,8 +1221,12 @@ export declare class QuorumLoop {
|
|
|
1221
1221
|
getLastWorkspaceOutcome(): {
|
|
1222
1222
|
kind: 'promoted';
|
|
1223
1223
|
files: string[];
|
|
1224
|
+
taskId?: string;
|
|
1225
|
+
completedAt?: string;
|
|
1224
1226
|
} | {
|
|
1225
1227
|
kind: 'discarded';
|
|
1228
|
+
taskId?: string;
|
|
1229
|
+
completedAt?: string;
|
|
1226
1230
|
} | null;
|
|
1227
1231
|
/**
|
|
1228
1232
|
* Session-owned Class-B ingress. The subscription calls this wrapper instead
|
|
@@ -157,6 +157,7 @@ export interface RunningTaskState {
|
|
|
157
157
|
status: 'running' | 'cancelling' | 'completed' | 'cancelled' | 'failed';
|
|
158
158
|
exitCode?: number;
|
|
159
159
|
bypassReason?: 'deterministic_shortcut' | 'planner_outage' | 'planner_degraded_explicit_override';
|
|
160
|
+
completedAt?: string;
|
|
160
161
|
}
|
|
161
162
|
/**
|
|
162
163
|
* P10 E3 r2 — one row of the bare-`/audit` session listing (the
|
|
@@ -180,6 +181,10 @@ export interface SessionTaskRecord {
|
|
|
180
181
|
status: string;
|
|
181
182
|
/** Singles: the dispatch stamp. Team rows: first-observed stamp. */
|
|
182
183
|
startedAt: string;
|
|
184
|
+
/** Wall-clock ISO timestamp when the task reached a terminal state (promoted, discarded, failed). */
|
|
185
|
+
completedAt?: string;
|
|
186
|
+
/** Monotonic terminal-action sequence stamped when the task reached a terminal state. */
|
|
187
|
+
terminalSeq?: number;
|
|
183
188
|
}
|
|
184
189
|
/**
|
|
185
190
|
* §5.1 LOCK (lines 547-556). Single reviewer subprocess identity +
|
|
@@ -594,6 +599,19 @@ export interface TeamState {
|
|
|
594
599
|
* a re-drain so the next generation can write. `null`/undefined ⇔ still ticking.
|
|
595
600
|
*/
|
|
596
601
|
mergeGateElapsedMs?: number;
|
|
602
|
+
/**
|
|
603
|
+
* [ADDITIVE WIDENING — #650 outcome recency] ISO wall-clock timestamp stamped
|
|
604
|
+
* when the team group first starts. Carried forward for recency evaluation
|
|
605
|
+
* against single-task outcomes.
|
|
606
|
+
*/
|
|
607
|
+
startedAt?: string;
|
|
608
|
+
/**
|
|
609
|
+
* [ADDITIVE WIDENING — #650 outcome recency] ISO wall-clock timestamp stamped
|
|
610
|
+
* when the team group resolves or halts. Carried forward for recency evaluation.
|
|
611
|
+
*/
|
|
612
|
+
completedAt?: string;
|
|
613
|
+
/** Monotonic terminal-action sequence stamped when the team group resolves or halts. */
|
|
614
|
+
terminalSeq?: number;
|
|
597
615
|
}
|
|
598
616
|
/**
|
|
599
617
|
* [ADDITIVE WIDENING — CP-1.f live progress surfacing] The single EPHEMERAL
|
|
@@ -719,6 +737,8 @@ export interface OrchestrationState {
|
|
|
719
737
|
gateActionClaims: Map<string, string | null>;
|
|
720
738
|
/** True while prompt-action catch-up is not authoritative after a disconnect. */
|
|
721
739
|
gateActionRecoveryBlocked: boolean;
|
|
740
|
+
/** Monotonic counter incremented on each terminal action (single task end or team resolution). */
|
|
741
|
+
terminalSequence?: number;
|
|
722
742
|
}
|
|
723
743
|
/**
|
|
724
744
|
* One retained `/audit` listing row, keyed by its audit `entry_id` in
|
|
@@ -927,12 +947,14 @@ export type OrchestrationAction = {
|
|
|
927
947
|
} | {
|
|
928
948
|
type: 'TEAM_STARTED';
|
|
929
949
|
taskGroupId: string;
|
|
950
|
+
startedAt?: string;
|
|
930
951
|
} | {
|
|
931
952
|
type: 'TEAM_TRACK_ASSIGNED';
|
|
932
953
|
trackIndex: number;
|
|
933
954
|
state: TeamTrackState;
|
|
934
955
|
taskId?: string;
|
|
935
956
|
agent?: string;
|
|
957
|
+
startedAt?: string;
|
|
936
958
|
} | {
|
|
937
959
|
type: 'TEAM_MERGE_GATE';
|
|
938
960
|
status: TeamMergeGateStatus;
|
|
@@ -941,6 +963,7 @@ export type OrchestrationAction = {
|
|
|
941
963
|
} | {
|
|
942
964
|
type: 'TEAM_HALTED';
|
|
943
965
|
haltReason: string;
|
|
966
|
+
completedAt?: string;
|
|
944
967
|
} | {
|
|
945
968
|
type: 'TEAM_TRACK_TERMINAL';
|
|
946
969
|
trackIndex: number;
|
|
@@ -954,6 +977,7 @@ export type OrchestrationAction = {
|
|
|
954
977
|
} | {
|
|
955
978
|
type: 'TEAM_GROUP_RESOLVED';
|
|
956
979
|
outcome: string;
|
|
980
|
+
completedAt?: string;
|
|
957
981
|
} | {
|
|
958
982
|
type: 'TASK_PROGRESS';
|
|
959
983
|
event: TaskProgressEvent;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Human-facing ordinal only; never use this value as a wire ID or array index. */
|
|
2
|
+
export declare function displayOrdinal(index: number): string;
|
|
3
|
+
/** Legacy seat state also permits opaque IDs. Only numeric indexes are ordinals. */
|
|
4
|
+
export declare function displaySeatNumber(seatId: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED