@overdeck/contracts 0.48.0 → 0.49.0
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/index.cjs +497 -65
- package/dist/index.d.ts +884 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +487 -66
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1370,7 +1370,19 @@ const AgentActivityChangedEvent = effect.Schema.Struct({
|
|
|
1370
1370
|
payload: effect.Schema.Struct({
|
|
1371
1371
|
agentId: AgentId,
|
|
1372
1372
|
activity: Activity,
|
|
1373
|
-
currentTool: effect.Schema.optional(effect.Schema.String)
|
|
1373
|
+
currentTool: effect.Schema.optional(effect.Schema.String),
|
|
1374
|
+
hookName: effect.Schema.optional(effect.Schema.String)
|
|
1375
|
+
})
|
|
1376
|
+
});
|
|
1377
|
+
/** A registered harness hook fired without implying an agent activity transition. */
|
|
1378
|
+
const AgentHookFiredEvent = effect.Schema.Struct({
|
|
1379
|
+
type: effect.Schema.Literal("agent.hook_fired"),
|
|
1380
|
+
sequence: SequenceNumber,
|
|
1381
|
+
timestamp: effect.Schema.String,
|
|
1382
|
+
payload: effect.Schema.Struct({
|
|
1383
|
+
agentId: AgentId,
|
|
1384
|
+
hookName: effect.Schema.String,
|
|
1385
|
+
tool: effect.Schema.optional(effect.Schema.String)
|
|
1374
1386
|
})
|
|
1375
1387
|
});
|
|
1376
1388
|
const AgentThinkingStartedEvent = effect.Schema.Struct({
|
|
@@ -1875,6 +1887,57 @@ const ReviewCoordinatorDiedEvent = effect.Schema.Struct({
|
|
|
1875
1887
|
reason: effect.Schema.String
|
|
1876
1888
|
})
|
|
1877
1889
|
});
|
|
1890
|
+
/** A terminal review verdict was rejected due to stale evidence. */
|
|
1891
|
+
const ReviewVerdictRejectedEvent = effect.Schema.Struct({
|
|
1892
|
+
type: effect.Schema.Literal("review.verdict_rejected"),
|
|
1893
|
+
sequence: SequenceNumber,
|
|
1894
|
+
timestamp: effect.Schema.String,
|
|
1895
|
+
payload: effect.Schema.Struct({
|
|
1896
|
+
issueId: IssueId,
|
|
1897
|
+
workspaceId: effect.Schema.optional(effect.Schema.String),
|
|
1898
|
+
writer: effect.Schema.String,
|
|
1899
|
+
verdict: effect.Schema.String,
|
|
1900
|
+
evidenceHead: effect.Schema.String,
|
|
1901
|
+
rowHead: effect.Schema.String,
|
|
1902
|
+
reason: effect.Schema.String
|
|
1903
|
+
})
|
|
1904
|
+
});
|
|
1905
|
+
/** A terminal review verdict was landed and dispatched with a fresh evidence head. */
|
|
1906
|
+
const ReviewVerdictDispatchedEvent = effect.Schema.Struct({
|
|
1907
|
+
type: effect.Schema.Literal("review.verdict_dispatched"),
|
|
1908
|
+
sequence: SequenceNumber,
|
|
1909
|
+
timestamp: effect.Schema.String,
|
|
1910
|
+
payload: effect.Schema.Struct({
|
|
1911
|
+
issueId: IssueId,
|
|
1912
|
+
workspaceId: effect.Schema.optional(effect.Schema.String),
|
|
1913
|
+
writer: effect.Schema.String,
|
|
1914
|
+
verdict: effect.Schema.String,
|
|
1915
|
+
evidenceHead: effect.Schema.String,
|
|
1916
|
+
rowHead: effect.Schema.String,
|
|
1917
|
+
classification: effect.Schema.String,
|
|
1918
|
+
testGateReset: effect.Schema.Boolean
|
|
1919
|
+
})
|
|
1920
|
+
});
|
|
1921
|
+
/**
|
|
1922
|
+
* A recovery path found a fresh verdict artifact but declined to restore it,
|
|
1923
|
+
* because the artifact's head evidence disagrees with the row's anchor. The
|
|
1924
|
+
* verdict is NOT lost silently — it is reported here so the operator can see a
|
|
1925
|
+
* finished review that recovery refused to write (PAN-3511).
|
|
1926
|
+
*/
|
|
1927
|
+
const ReviewVerdictRestoreBlockedEvent = effect.Schema.Struct({
|
|
1928
|
+
type: effect.Schema.Literal("review.verdict_restore_blocked"),
|
|
1929
|
+
sequence: SequenceNumber,
|
|
1930
|
+
timestamp: effect.Schema.String,
|
|
1931
|
+
payload: effect.Schema.Struct({
|
|
1932
|
+
issueId: IssueId,
|
|
1933
|
+
/** Recovery path that attempted the restore (orphan-reset, sweeper, …). */
|
|
1934
|
+
caller: effect.Schema.String,
|
|
1935
|
+
verdict: effect.Schema.String,
|
|
1936
|
+
artifactHead: effect.Schema.String,
|
|
1937
|
+
rowHead: effect.Schema.String,
|
|
1938
|
+
reason: effect.Schema.String
|
|
1939
|
+
})
|
|
1940
|
+
});
|
|
1878
1941
|
const SpecialistLifecycleState = effect.Schema.Literals([
|
|
1879
1942
|
"active",
|
|
1880
1943
|
"sleeping",
|
|
@@ -2223,6 +2286,18 @@ const ConversationCreatedEvent = effect.Schema.Struct({
|
|
|
2223
2286
|
timestamp: effect.Schema.String,
|
|
2224
2287
|
payload: effect.Schema.Struct({ conversationName: effect.Schema.String })
|
|
2225
2288
|
});
|
|
2289
|
+
/** Emitted (in-memory only, not persisted) when a conversation's project
|
|
2290
|
+
* assignment override changes, so the sidebar can re-group it live instead of
|
|
2291
|
+
* waiting for its poll tick. */
|
|
2292
|
+
const ConversationMovedEvent = effect.Schema.Struct({
|
|
2293
|
+
type: effect.Schema.Literal("conversation.moved"),
|
|
2294
|
+
sequence: SequenceNumber,
|
|
2295
|
+
timestamp: effect.Schema.String,
|
|
2296
|
+
payload: effect.Schema.Struct({
|
|
2297
|
+
conversationName: effect.Schema.String,
|
|
2298
|
+
projectKey: effect.Schema.String
|
|
2299
|
+
})
|
|
2300
|
+
});
|
|
2226
2301
|
/** Emitted (in-memory only) when a conversation title changes, so the sidebar
|
|
2227
2302
|
* list can refresh immediately instead of waiting for its poll tick. */
|
|
2228
2303
|
const ConversationTitleChangedEvent = effect.Schema.Struct({
|
|
@@ -2323,6 +2398,45 @@ const EmbedProgressEvent = effect.Schema.Struct({
|
|
|
2323
2398
|
error: effect.Schema.optional(effect.Schema.String)
|
|
2324
2399
|
})
|
|
2325
2400
|
});
|
|
2401
|
+
/** The parked population changed — carries the full new population (compact rows). */
|
|
2402
|
+
const SweepScanEvent = effect.Schema.Struct({
|
|
2403
|
+
type: effect.Schema.Literal("sweep.scan"),
|
|
2404
|
+
sequence: SequenceNumber,
|
|
2405
|
+
timestamp: effect.Schema.String,
|
|
2406
|
+
payload: effect.Schema.Struct({
|
|
2407
|
+
issueCount: effect.Schema.Number,
|
|
2408
|
+
rowCount: effect.Schema.Number,
|
|
2409
|
+
rows: effect.Schema.Array(effect.Schema.Struct({
|
|
2410
|
+
issueId: effect.Schema.String,
|
|
2411
|
+
orbit: effect.Schema.String,
|
|
2412
|
+
parkedAt: effect.Schema.String
|
|
2413
|
+
}))
|
|
2414
|
+
})
|
|
2415
|
+
});
|
|
2416
|
+
/** A parked row was (re-)surfaced to the operator — gates respected, TTL re-surface, or exhaustion. */
|
|
2417
|
+
const SweepEscalatedEvent = effect.Schema.Struct({
|
|
2418
|
+
type: effect.Schema.Literal("sweep.escalated"),
|
|
2419
|
+
sequence: SequenceNumber,
|
|
2420
|
+
timestamp: effect.Schema.String,
|
|
2421
|
+
payload: effect.Schema.Struct({
|
|
2422
|
+
issueId: effect.Schema.String,
|
|
2423
|
+
orbit: effect.Schema.String,
|
|
2424
|
+
reason: effect.Schema.String
|
|
2425
|
+
})
|
|
2426
|
+
});
|
|
2427
|
+
/** The sweeper recommended a remedy for a parked row (observability-only — never an action, PAN-3551). */
|
|
2428
|
+
const SweepRecommendationEvent = effect.Schema.Struct({
|
|
2429
|
+
type: effect.Schema.Literal("sweep.recommendation"),
|
|
2430
|
+
sequence: SequenceNumber,
|
|
2431
|
+
timestamp: effect.Schema.String,
|
|
2432
|
+
payload: effect.Schema.Struct({
|
|
2433
|
+
issueId: effect.Schema.String,
|
|
2434
|
+
orbit: effect.Schema.String,
|
|
2435
|
+
recommendation: effect.Schema.String,
|
|
2436
|
+
recurring: effect.Schema.optional(effect.Schema.Boolean),
|
|
2437
|
+
agentId: effect.Schema.optional(effect.Schema.String)
|
|
2438
|
+
})
|
|
2439
|
+
});
|
|
2326
2440
|
/** All domain events — the shape streamed via subscribeDomainEvents RPC */
|
|
2327
2441
|
const DomainEvent = effect.Schema.Union([
|
|
2328
2442
|
SystemHeartbeatEvent,
|
|
@@ -2339,6 +2453,7 @@ const DomainEvent = effect.Schema.Union([
|
|
|
2339
2453
|
AgentStatusChangedEvent,
|
|
2340
2454
|
AgentOutputReceivedEvent,
|
|
2341
2455
|
AgentActivityChangedEvent,
|
|
2456
|
+
AgentHookFiredEvent,
|
|
2342
2457
|
AgentThinkingStartedEvent,
|
|
2343
2458
|
AgentThinkingStoppedEvent,
|
|
2344
2459
|
AgentWaitingStartedEvent,
|
|
@@ -2380,6 +2495,9 @@ const DomainEvent = effect.Schema.Union([
|
|
|
2380
2495
|
ReviewSpecialistTimedOutEvent,
|
|
2381
2496
|
ReviewCoordinatorStartedEvent,
|
|
2382
2497
|
ReviewCoordinatorDiedEvent,
|
|
2498
|
+
ReviewVerdictRejectedEvent,
|
|
2499
|
+
ReviewVerdictDispatchedEvent,
|
|
2500
|
+
ReviewVerdictRestoreBlockedEvent,
|
|
2383
2501
|
SpecialistStartedEvent,
|
|
2384
2502
|
SpecialistCompletedEvent,
|
|
2385
2503
|
SpecialistFailedEvent,
|
|
@@ -2409,6 +2527,7 @@ const DomainEvent = effect.Schema.Union([
|
|
|
2409
2527
|
DashboardLifecycleFailedEvent,
|
|
2410
2528
|
ConversationCompactingChangedEvent,
|
|
2411
2529
|
ConversationCreatedEvent,
|
|
2530
|
+
ConversationMovedEvent,
|
|
2412
2531
|
ConversationTitleChangedEvent,
|
|
2413
2532
|
ConversationPermissionChangedEvent,
|
|
2414
2533
|
ScanStartedEvent,
|
|
@@ -2416,7 +2535,10 @@ const DomainEvent = effect.Schema.Union([
|
|
|
2416
2535
|
ScanCompleteEvent,
|
|
2417
2536
|
EnrichProgressEvent,
|
|
2418
2537
|
EnrichCompleteEvent,
|
|
2419
|
-
EmbedProgressEvent
|
|
2538
|
+
EmbedProgressEvent,
|
|
2539
|
+
SweepScanEvent,
|
|
2540
|
+
SweepEscalatedEvent,
|
|
2541
|
+
SweepRecommendationEvent
|
|
2420
2542
|
]);
|
|
2421
2543
|
//#endregion
|
|
2422
2544
|
//#region src/editor.ts
|
|
@@ -3098,7 +3220,7 @@ const WriteFileAtPathRpc = effect_unstable_rpc_Rpc.make(WS_METHODS.writeFileAtPa
|
|
|
3098
3220
|
* chat happens outside any single workspace.
|
|
3099
3221
|
*/
|
|
3100
3222
|
const ResolveFilePathExistsInput = effect.Schema.Struct({
|
|
3101
|
-
cwd: effect.Schema.String,
|
|
3223
|
+
cwd: effect.Schema.optional(effect.Schema.String),
|
|
3102
3224
|
path: effect.Schema.String
|
|
3103
3225
|
});
|
|
3104
3226
|
const ResolveFilePathExistsResult = effect.Schema.Struct({
|
|
@@ -4090,6 +4212,10 @@ function applyEvent(state, event) {
|
|
|
4090
4212
|
}
|
|
4091
4213
|
};
|
|
4092
4214
|
}
|
|
4215
|
+
case "agent.hook_fired": return {
|
|
4216
|
+
...state,
|
|
4217
|
+
sequence: Math.max(state.sequence, event.sequence)
|
|
4218
|
+
};
|
|
4093
4219
|
case "agent.activity_changed": {
|
|
4094
4220
|
const { agentId, activity, currentTool } = event.payload;
|
|
4095
4221
|
const prev = state.agentRuntimeById[agentId] ?? defaultRuntimeSnapshot(agentId, event.timestamp, event.sequence);
|
|
@@ -4547,6 +4673,10 @@ function applyEvent(state, event) {
|
|
|
4547
4673
|
...state,
|
|
4548
4674
|
conversationsListRevision: state.conversationsListRevision + 1
|
|
4549
4675
|
};
|
|
4676
|
+
case "conversation.moved": return {
|
|
4677
|
+
...state,
|
|
4678
|
+
conversationsListRevision: state.conversationsListRevision + 1
|
|
4679
|
+
};
|
|
4550
4680
|
case "conversation.title_changed": return {
|
|
4551
4681
|
...state,
|
|
4552
4682
|
conversationsListRevision: state.conversationsListRevision + 1
|
|
@@ -5969,29 +6099,11 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
5969
6099
|
"aliases": [],
|
|
5970
6100
|
"category": "Review"
|
|
5971
6101
|
},
|
|
5972
|
-
{
|
|
5973
|
-
"id": "pan-review-scope",
|
|
5974
|
-
"path": ["review", "scope"],
|
|
5975
|
-
"display": "/pan review scope",
|
|
5976
|
-
"description": "Set per-issue re-review scope (all, changed, or blockers) — which convoy reviewers re-run (PAN-1874)",
|
|
5977
|
-
"args": [{
|
|
5978
|
-
"name": "id",
|
|
5979
|
-
"required": true,
|
|
5980
|
-
"variadic": false
|
|
5981
|
-
}, {
|
|
5982
|
-
"name": "scope",
|
|
5983
|
-
"required": true,
|
|
5984
|
-
"variadic": false
|
|
5985
|
-
}],
|
|
5986
|
-
"options": [],
|
|
5987
|
-
"aliases": [],
|
|
5988
|
-
"category": "Review"
|
|
5989
|
-
},
|
|
5990
6102
|
{
|
|
5991
6103
|
"id": "pan-review-restart",
|
|
5992
6104
|
"path": ["review", "restart"],
|
|
5993
6105
|
"display": "/pan review restart",
|
|
5994
|
-
"description": "
|
|
6106
|
+
"description": "Resume review and re-dispatch reviewers missing a report",
|
|
5995
6107
|
"args": [{
|
|
5996
6108
|
"name": "id",
|
|
5997
6109
|
"required": true,
|
|
@@ -6309,6 +6421,20 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
6309
6421
|
"aliases": [],
|
|
6310
6422
|
"category": "Lifecycle"
|
|
6311
6423
|
},
|
|
6424
|
+
{
|
|
6425
|
+
"id": "pan-reset-session",
|
|
6426
|
+
"path": ["reset-session"],
|
|
6427
|
+
"display": "/pan reset-session",
|
|
6428
|
+
"description": "Clear saved session pointers so the next start creates a fresh session",
|
|
6429
|
+
"args": [{
|
|
6430
|
+
"name": "id",
|
|
6431
|
+
"required": true,
|
|
6432
|
+
"variadic": false
|
|
6433
|
+
}],
|
|
6434
|
+
"options": [],
|
|
6435
|
+
"aliases": [],
|
|
6436
|
+
"category": "Lifecycle"
|
|
6437
|
+
},
|
|
6312
6438
|
{
|
|
6313
6439
|
"id": "pan-pause",
|
|
6314
6440
|
"path": ["pause"],
|
|
@@ -6356,6 +6482,20 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
6356
6482
|
"aliases": [],
|
|
6357
6483
|
"category": "Lifecycle"
|
|
6358
6484
|
},
|
|
6485
|
+
{
|
|
6486
|
+
"id": "pan-unstick",
|
|
6487
|
+
"path": ["unstick"],
|
|
6488
|
+
"display": "/pan unstick",
|
|
6489
|
+
"description": "Clear an issue stuck gate without resetting a merged lifecycle",
|
|
6490
|
+
"args": [{
|
|
6491
|
+
"name": "id",
|
|
6492
|
+
"required": true,
|
|
6493
|
+
"variadic": false
|
|
6494
|
+
}],
|
|
6495
|
+
"options": [],
|
|
6496
|
+
"aliases": [],
|
|
6497
|
+
"category": "CLI"
|
|
6498
|
+
},
|
|
6359
6499
|
{
|
|
6360
6500
|
"id": "pan-fork",
|
|
6361
6501
|
"path": ["fork"],
|
|
@@ -6379,6 +6519,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
6379
6519
|
"required": true,
|
|
6380
6520
|
"valueHint": "path"
|
|
6381
6521
|
},
|
|
6522
|
+
{
|
|
6523
|
+
"flags": "--project <key>",
|
|
6524
|
+
"description": "Project (yaml key or display name) for the new conversation; defaults to inheriting the source conversation's project",
|
|
6525
|
+
"required": true,
|
|
6526
|
+
"valueHint": "key"
|
|
6527
|
+
},
|
|
6382
6528
|
{
|
|
6383
6529
|
"flags": "--plain",
|
|
6384
6530
|
"description": "Skip summary generation and copy raw conversation history",
|
|
@@ -6422,6 +6568,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
6422
6568
|
"required": true,
|
|
6423
6569
|
"valueHint": "path"
|
|
6424
6570
|
},
|
|
6571
|
+
{
|
|
6572
|
+
"flags": "--project <key>",
|
|
6573
|
+
"description": "Project (yaml key or display name) for the new conversation; defaults to inheriting the source conversation's project",
|
|
6574
|
+
"required": true,
|
|
6575
|
+
"valueHint": "key"
|
|
6576
|
+
},
|
|
6425
6577
|
{
|
|
6426
6578
|
"flags": "--issue <id>",
|
|
6427
6579
|
"description": "Issue ID to associate with the new conversation",
|
|
@@ -6740,9 +6892,15 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
6740
6892
|
"required": false,
|
|
6741
6893
|
"valueHint": null
|
|
6742
6894
|
},
|
|
6895
|
+
{
|
|
6896
|
+
"flags": "--accept-ship",
|
|
6897
|
+
"description": "Accept a missed DoD row 7 (Version strings propagated) — recorded as an explicit override in the close-out record",
|
|
6898
|
+
"required": false,
|
|
6899
|
+
"valueHint": null
|
|
6900
|
+
},
|
|
6743
6901
|
{
|
|
6744
6902
|
"flags": "--accept-deploy",
|
|
6745
|
-
"description": "Accept a missed DoD row
|
|
6903
|
+
"description": "Accept a missed DoD row 8 (Deployed) — recorded as an explicit override in the close-out record",
|
|
6746
6904
|
"required": false,
|
|
6747
6905
|
"valueHint": null
|
|
6748
6906
|
},
|
|
@@ -6751,6 +6909,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
6751
6909
|
"description": "Record an abandoned disposition (PAN-3211): skip the DoD gate and close without landing evidence. Operator-conversation only; cannot be combined with --accept-* flags",
|
|
6752
6910
|
"required": true,
|
|
6753
6911
|
"valueHint": "reason"
|
|
6912
|
+
},
|
|
6913
|
+
{
|
|
6914
|
+
"flags": "--residue <reason>",
|
|
6915
|
+
"description": "Record a residue disposition (PAN-3396): close stale convention PRs/MRs, skip the DoD gate with verified evidence, and mark terminal without merge claim. Operator-conversation only; cannot be combined with --abandon or --accept-* flags",
|
|
6916
|
+
"required": true,
|
|
6917
|
+
"valueHint": "reason"
|
|
6754
6918
|
}
|
|
6755
6919
|
],
|
|
6756
6920
|
"aliases": [],
|
|
@@ -9014,7 +9178,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9014
9178
|
"required": true,
|
|
9015
9179
|
"variadic": false
|
|
9016
9180
|
}],
|
|
9017
|
-
"options": [
|
|
9181
|
+
"options": [{
|
|
9182
|
+
"flags": "--project <key>",
|
|
9183
|
+
"description": "Resolve the order book in another registered project",
|
|
9184
|
+
"required": true,
|
|
9185
|
+
"valueHint": "key"
|
|
9186
|
+
}],
|
|
9018
9187
|
"aliases": [],
|
|
9019
9188
|
"category": "Flywheel"
|
|
9020
9189
|
},
|
|
@@ -9024,7 +9193,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9024
9193
|
"display": "/pan orders list",
|
|
9025
9194
|
"description": "List order books",
|
|
9026
9195
|
"args": [],
|
|
9027
|
-
"options": [
|
|
9196
|
+
"options": [{
|
|
9197
|
+
"flags": "--project <key>",
|
|
9198
|
+
"description": "Resolve the order book in another registered project",
|
|
9199
|
+
"required": true,
|
|
9200
|
+
"valueHint": "key"
|
|
9201
|
+
}],
|
|
9028
9202
|
"aliases": [],
|
|
9029
9203
|
"category": "Flywheel"
|
|
9030
9204
|
},
|
|
@@ -9038,7 +9212,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9038
9212
|
"required": true,
|
|
9039
9213
|
"variadic": false
|
|
9040
9214
|
}],
|
|
9041
|
-
"options": [
|
|
9215
|
+
"options": [{
|
|
9216
|
+
"flags": "--project <key>",
|
|
9217
|
+
"description": "Resolve the order book in another registered project",
|
|
9218
|
+
"required": true,
|
|
9219
|
+
"valueHint": "key"
|
|
9220
|
+
}],
|
|
9042
9221
|
"aliases": [],
|
|
9043
9222
|
"category": "Flywheel"
|
|
9044
9223
|
},
|
|
@@ -9074,6 +9253,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9074
9253
|
"description": "Require PRD re-verification before pickup",
|
|
9075
9254
|
"required": false,
|
|
9076
9255
|
"valueHint": null
|
|
9256
|
+
},
|
|
9257
|
+
{
|
|
9258
|
+
"flags": "--project <key>",
|
|
9259
|
+
"description": "Resolve the order book in another registered project",
|
|
9260
|
+
"required": true,
|
|
9261
|
+
"valueHint": "key"
|
|
9077
9262
|
}
|
|
9078
9263
|
],
|
|
9079
9264
|
"aliases": [],
|
|
@@ -9093,7 +9278,12 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9093
9278
|
"required": true,
|
|
9094
9279
|
"variadic": false
|
|
9095
9280
|
}],
|
|
9096
|
-
"options": [
|
|
9281
|
+
"options": [{
|
|
9282
|
+
"flags": "--project <key>",
|
|
9283
|
+
"description": "Resolve the order book in another registered project",
|
|
9284
|
+
"required": true,
|
|
9285
|
+
"valueHint": "key"
|
|
9286
|
+
}],
|
|
9097
9287
|
"aliases": [],
|
|
9098
9288
|
"category": "Flywheel"
|
|
9099
9289
|
},
|
|
@@ -9111,16 +9301,44 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9111
9301
|
"required": true,
|
|
9112
9302
|
"variadic": false
|
|
9113
9303
|
}],
|
|
9114
|
-
"options": [
|
|
9115
|
-
|
|
9116
|
-
|
|
9304
|
+
"options": [
|
|
9305
|
+
{
|
|
9306
|
+
"flags": "--lane <lane>",
|
|
9307
|
+
"description": "Target lane: A or B",
|
|
9308
|
+
"required": true,
|
|
9309
|
+
"valueHint": "lane"
|
|
9310
|
+
},
|
|
9311
|
+
{
|
|
9312
|
+
"flags": "--order <n>",
|
|
9313
|
+
"description": "One-based position in the target lane",
|
|
9314
|
+
"required": true,
|
|
9315
|
+
"valueHint": "n"
|
|
9316
|
+
},
|
|
9317
|
+
{
|
|
9318
|
+
"flags": "--project <key>",
|
|
9319
|
+
"description": "Resolve the order book in another registered project",
|
|
9320
|
+
"required": true,
|
|
9321
|
+
"valueHint": "key"
|
|
9322
|
+
}
|
|
9323
|
+
],
|
|
9324
|
+
"aliases": [],
|
|
9325
|
+
"category": "Flywheel"
|
|
9326
|
+
},
|
|
9327
|
+
{
|
|
9328
|
+
"id": "pan-orders-queue",
|
|
9329
|
+
"path": ["orders", "queue"],
|
|
9330
|
+
"display": "/pan orders queue",
|
|
9331
|
+
"description": "Mark a draft order book ready for dispatch",
|
|
9332
|
+
"args": [{
|
|
9333
|
+
"name": "id",
|
|
9117
9334
|
"required": true,
|
|
9118
|
-
"
|
|
9119
|
-
},
|
|
9120
|
-
|
|
9121
|
-
"
|
|
9335
|
+
"variadic": false
|
|
9336
|
+
}],
|
|
9337
|
+
"options": [{
|
|
9338
|
+
"flags": "--project <key>",
|
|
9339
|
+
"description": "Resolve the order book in another registered project",
|
|
9122
9340
|
"required": true,
|
|
9123
|
-
"valueHint": "
|
|
9341
|
+
"valueHint": "key"
|
|
9124
9342
|
}],
|
|
9125
9343
|
"aliases": [],
|
|
9126
9344
|
"category": "Flywheel"
|
|
@@ -9135,10 +9353,59 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9135
9353
|
"required": true,
|
|
9136
9354
|
"variadic": false
|
|
9137
9355
|
}],
|
|
9138
|
-
"options": [
|
|
9356
|
+
"options": [{
|
|
9357
|
+
"flags": "--project <key>",
|
|
9358
|
+
"description": "Resolve the order book in another registered project",
|
|
9359
|
+
"required": true,
|
|
9360
|
+
"valueHint": "key"
|
|
9361
|
+
}],
|
|
9139
9362
|
"aliases": [],
|
|
9140
9363
|
"category": "Flywheel"
|
|
9141
9364
|
},
|
|
9365
|
+
{
|
|
9366
|
+
"id": "pan-parked",
|
|
9367
|
+
"path": ["parked"],
|
|
9368
|
+
"display": "/pan parked",
|
|
9369
|
+
"description": "List every issue parked in a stall orbit (stuck flags, gates, failed merges, zombies), oldest first, with why + release condition",
|
|
9370
|
+
"args": [],
|
|
9371
|
+
"options": [{
|
|
9372
|
+
"flags": "--json",
|
|
9373
|
+
"description": "Print the raw parked rows as JSON",
|
|
9374
|
+
"required": false,
|
|
9375
|
+
"valueHint": null
|
|
9376
|
+
}],
|
|
9377
|
+
"aliases": [],
|
|
9378
|
+
"category": "CLI"
|
|
9379
|
+
},
|
|
9380
|
+
{
|
|
9381
|
+
"id": "pan-parked-ack",
|
|
9382
|
+
"path": ["parked", "ack"],
|
|
9383
|
+
"display": "/pan parked ack",
|
|
9384
|
+
"description": "Batch-acknowledge parked rows (default orbit: needs-you), then print the flywheel hand-off",
|
|
9385
|
+
"args": [],
|
|
9386
|
+
"options": [
|
|
9387
|
+
{
|
|
9388
|
+
"flags": "--orbit <orbit>",
|
|
9389
|
+
"description": "Parked orbit to acknowledge",
|
|
9390
|
+
"required": true,
|
|
9391
|
+
"valueHint": "orbit"
|
|
9392
|
+
},
|
|
9393
|
+
{
|
|
9394
|
+
"flags": "--older-than <days>",
|
|
9395
|
+
"description": "Only rows parked at least this many days",
|
|
9396
|
+
"required": true,
|
|
9397
|
+
"valueHint": "days"
|
|
9398
|
+
},
|
|
9399
|
+
{
|
|
9400
|
+
"flags": "--dry-run",
|
|
9401
|
+
"description": "List what would be acknowledged without writing",
|
|
9402
|
+
"required": false,
|
|
9403
|
+
"valueHint": null
|
|
9404
|
+
}
|
|
9405
|
+
],
|
|
9406
|
+
"aliases": [],
|
|
9407
|
+
"category": "CLI"
|
|
9408
|
+
},
|
|
9142
9409
|
{
|
|
9143
9410
|
"id": "pan-docs",
|
|
9144
9411
|
"path": ["docs"],
|
|
@@ -9314,6 +9581,29 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9314
9581
|
"aliases": [],
|
|
9315
9582
|
"category": "Admin"
|
|
9316
9583
|
},
|
|
9584
|
+
{
|
|
9585
|
+
"id": "pan-admin-state-backfill-agents",
|
|
9586
|
+
"path": [
|
|
9587
|
+
"admin",
|
|
9588
|
+
"state",
|
|
9589
|
+
"backfill-agents"
|
|
9590
|
+
],
|
|
9591
|
+
"display": "/pan admin state backfill-agents",
|
|
9592
|
+
"description": "Reconstruct durable agent runtime records from local and retained state",
|
|
9593
|
+
"args": [{
|
|
9594
|
+
"name": "project",
|
|
9595
|
+
"required": false,
|
|
9596
|
+
"variadic": false
|
|
9597
|
+
}],
|
|
9598
|
+
"options": [{
|
|
9599
|
+
"flags": "--dry-run",
|
|
9600
|
+
"description": "Report the records and sessions that would be written",
|
|
9601
|
+
"required": false,
|
|
9602
|
+
"valueHint": null
|
|
9603
|
+
}],
|
|
9604
|
+
"aliases": [],
|
|
9605
|
+
"category": "Admin"
|
|
9606
|
+
},
|
|
9317
9607
|
{
|
|
9318
9608
|
"id": "pan-admin-reconcile-labels",
|
|
9319
9609
|
"path": ["admin", "reconcile-labels"],
|
|
@@ -9329,6 +9619,35 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9329
9619
|
"aliases": [],
|
|
9330
9620
|
"category": "Admin"
|
|
9331
9621
|
},
|
|
9622
|
+
{
|
|
9623
|
+
"id": "pan-admin-migrate-legacy-agent-dirs",
|
|
9624
|
+
"path": ["admin", "migrate-legacy-agent-dirs"],
|
|
9625
|
+
"display": "/pan admin migrate-legacy-agent-dirs",
|
|
9626
|
+
"description": "Copy pre-rebrand conv-* agent dirs into the configured Overdeck home without overwriting",
|
|
9627
|
+
"args": [],
|
|
9628
|
+
"options": [],
|
|
9629
|
+
"aliases": [],
|
|
9630
|
+
"category": "Admin"
|
|
9631
|
+
},
|
|
9632
|
+
{
|
|
9633
|
+
"id": "pan-admin-seed-uat-fixtures",
|
|
9634
|
+
"path": ["admin", "seed-uat-fixtures"],
|
|
9635
|
+
"display": "/pan admin seed-uat-fixtures",
|
|
9636
|
+
"description": "Seed the obviously-fake FIX-1 issue fixture into a workspace container for UI UAT. Host mode: `pan admin seed-uat-fixtures <issue-id>` seeds and restarts that issue's workspace container from the host. `--local` runs the seed itself against the current OVERDECK_HOME — used by the host wrapper, or manually inside a container.",
|
|
9637
|
+
"args": [{
|
|
9638
|
+
"name": "issue-id",
|
|
9639
|
+
"required": false,
|
|
9640
|
+
"variadic": false
|
|
9641
|
+
}],
|
|
9642
|
+
"options": [{
|
|
9643
|
+
"flags": "--local",
|
|
9644
|
+
"description": "Seed the current (container-local) OVERDECK_HOME directly, without a host wrapper step",
|
|
9645
|
+
"required": false,
|
|
9646
|
+
"valueHint": null
|
|
9647
|
+
}],
|
|
9648
|
+
"aliases": [],
|
|
9649
|
+
"category": "Admin"
|
|
9650
|
+
},
|
|
9332
9651
|
{
|
|
9333
9652
|
"id": "pan-admin-cloister",
|
|
9334
9653
|
"path": ["admin", "cloister"],
|
|
@@ -9527,28 +9846,6 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9527
9846
|
"aliases": [],
|
|
9528
9847
|
"category": "Admin"
|
|
9529
9848
|
},
|
|
9530
|
-
{
|
|
9531
|
-
"id": "pan-admin-specialists-discovery-ready",
|
|
9532
|
-
"path": [
|
|
9533
|
-
"admin",
|
|
9534
|
-
"specialists",
|
|
9535
|
-
"discovery-ready"
|
|
9536
|
-
],
|
|
9537
|
-
"display": "/pan admin specialists discovery-ready",
|
|
9538
|
-
"description": "Signal that the review parent finished shared discovery — forks + launches the convoy (PAN-1862)",
|
|
9539
|
-
"args": [{
|
|
9540
|
-
"name": "type",
|
|
9541
|
-
"required": true,
|
|
9542
|
-
"variadic": false
|
|
9543
|
-
}, {
|
|
9544
|
-
"name": "issueId",
|
|
9545
|
-
"required": true,
|
|
9546
|
-
"variadic": false
|
|
9547
|
-
}],
|
|
9548
|
-
"options": [],
|
|
9549
|
-
"aliases": [],
|
|
9550
|
-
"category": "Admin"
|
|
9551
|
-
},
|
|
9552
9849
|
{
|
|
9553
9850
|
"id": "pan-admin-specialists-done",
|
|
9554
9851
|
"path": [
|
|
@@ -9587,16 +9884,22 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
9587
9884
|
"valueHint": "notes"
|
|
9588
9885
|
},
|
|
9589
9886
|
{
|
|
9590
|
-
"flags": "--
|
|
9591
|
-
"description": "
|
|
9887
|
+
"flags": "--uat-status <status>",
|
|
9888
|
+
"description": "Test only: required browser UAT result (passed or failed)",
|
|
9592
9889
|
"required": true,
|
|
9593
|
-
"valueHint": "
|
|
9890
|
+
"valueHint": "status"
|
|
9594
9891
|
},
|
|
9595
9892
|
{
|
|
9596
|
-
"flags": "--
|
|
9597
|
-
"description": "
|
|
9893
|
+
"flags": "--uat-notes <notes>",
|
|
9894
|
+
"description": "Test only: browser UAT evidence or blocking condition",
|
|
9598
9895
|
"required": true,
|
|
9599
|
-
"valueHint": "
|
|
9896
|
+
"valueHint": "notes"
|
|
9897
|
+
},
|
|
9898
|
+
{
|
|
9899
|
+
"flags": "--run-id <runId>",
|
|
9900
|
+
"description": "Review cycle ID used to deduplicate review feedback",
|
|
9901
|
+
"required": true,
|
|
9902
|
+
"valueHint": "runId"
|
|
9600
9903
|
}
|
|
9601
9904
|
],
|
|
9602
9905
|
"aliases": [],
|
|
@@ -10678,6 +10981,24 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
10678
10981
|
"aliases": ["transcript"],
|
|
10679
10982
|
"category": "Conversation"
|
|
10680
10983
|
},
|
|
10984
|
+
{
|
|
10985
|
+
"id": "pan-conversations-move",
|
|
10986
|
+
"path": ["conversations", "move"],
|
|
10987
|
+
"display": "/pan conversations move",
|
|
10988
|
+
"description": "Reassign a conversation to a different project (exact name, then fuzzy title match)",
|
|
10989
|
+
"args": [{
|
|
10990
|
+
"name": "query",
|
|
10991
|
+
"required": true,
|
|
10992
|
+
"variadic": false
|
|
10993
|
+
}, {
|
|
10994
|
+
"name": "projectKey",
|
|
10995
|
+
"required": true,
|
|
10996
|
+
"variadic": false
|
|
10997
|
+
}],
|
|
10998
|
+
"options": [],
|
|
10999
|
+
"aliases": [],
|
|
11000
|
+
"category": "Conversation"
|
|
11001
|
+
},
|
|
10681
11002
|
{
|
|
10682
11003
|
"id": "pan-conversations-current",
|
|
10683
11004
|
"path": ["conversations", "current"],
|
|
@@ -11291,7 +11612,7 @@ const COMPOSER_COMMAND_MANIFEST = [
|
|
|
11291
11612
|
"id": "pan-flywheel-report",
|
|
11292
11613
|
"path": ["flywheel", "report"],
|
|
11293
11614
|
"display": "/pan flywheel report",
|
|
11294
|
-
"description": "Finalize the active Flywheel run: write report.md,
|
|
11615
|
+
"description": "Finalize the active Flywheel run: write report.md, compact over-threshold FLYWHEEL-STATE.md history, commit State changes, and clear the active-run gate. Refuses to run while the orchestrator session is alive (pause or abort first).",
|
|
11295
11616
|
"args": [],
|
|
11296
11617
|
"options": [{
|
|
11297
11618
|
"flags": "--force",
|
|
@@ -12555,6 +12876,106 @@ const COMPOSER_COMMAND_VARIANTS = [
|
|
|
12555
12876
|
}
|
|
12556
12877
|
];
|
|
12557
12878
|
//#endregion
|
|
12879
|
+
//#region src/hook-inventory.ts
|
|
12880
|
+
const HOOK_INVENTORY = [
|
|
12881
|
+
{
|
|
12882
|
+
name: "PreToolUse",
|
|
12883
|
+
wired: true,
|
|
12884
|
+
color: "#00d4ff"
|
|
12885
|
+
},
|
|
12886
|
+
{
|
|
12887
|
+
name: "PostToolUse",
|
|
12888
|
+
wired: true,
|
|
12889
|
+
color: "#39ff14"
|
|
12890
|
+
},
|
|
12891
|
+
{
|
|
12892
|
+
name: "PostToolUseFailure",
|
|
12893
|
+
wired: true,
|
|
12894
|
+
color: "#ff4444"
|
|
12895
|
+
},
|
|
12896
|
+
{
|
|
12897
|
+
name: "Stop",
|
|
12898
|
+
wired: true,
|
|
12899
|
+
color: "#ff2d7c"
|
|
12900
|
+
},
|
|
12901
|
+
{
|
|
12902
|
+
name: "SessionStart",
|
|
12903
|
+
wired: true,
|
|
12904
|
+
color: "#9d4edd"
|
|
12905
|
+
},
|
|
12906
|
+
{
|
|
12907
|
+
name: "Notification",
|
|
12908
|
+
wired: true,
|
|
12909
|
+
color: "#ffb800"
|
|
12910
|
+
},
|
|
12911
|
+
{
|
|
12912
|
+
name: "UserPromptSubmit",
|
|
12913
|
+
wired: true,
|
|
12914
|
+
color: "#00d4ff"
|
|
12915
|
+
},
|
|
12916
|
+
{
|
|
12917
|
+
name: "PreCompact",
|
|
12918
|
+
wired: true,
|
|
12919
|
+
color: "#ff7700"
|
|
12920
|
+
},
|
|
12921
|
+
{
|
|
12922
|
+
name: "PostCompact",
|
|
12923
|
+
wired: true,
|
|
12924
|
+
color: "#ff7700"
|
|
12925
|
+
},
|
|
12926
|
+
{
|
|
12927
|
+
name: "PermissionRequest",
|
|
12928
|
+
wired: true,
|
|
12929
|
+
color: "#ffb800"
|
|
12930
|
+
},
|
|
12931
|
+
{
|
|
12932
|
+
name: "SessionEnd",
|
|
12933
|
+
wired: false
|
|
12934
|
+
},
|
|
12935
|
+
{
|
|
12936
|
+
name: "SubagentStart",
|
|
12937
|
+
wired: false
|
|
12938
|
+
},
|
|
12939
|
+
{
|
|
12940
|
+
name: "SubagentStop",
|
|
12941
|
+
wired: false
|
|
12942
|
+
},
|
|
12943
|
+
{
|
|
12944
|
+
name: "StopFailure",
|
|
12945
|
+
wired: false
|
|
12946
|
+
},
|
|
12947
|
+
{
|
|
12948
|
+
name: "PermissionDenied",
|
|
12949
|
+
wired: false
|
|
12950
|
+
},
|
|
12951
|
+
{
|
|
12952
|
+
name: "TaskCreated",
|
|
12953
|
+
wired: false
|
|
12954
|
+
},
|
|
12955
|
+
{
|
|
12956
|
+
name: "TaskCompleted",
|
|
12957
|
+
wired: false
|
|
12958
|
+
},
|
|
12959
|
+
{
|
|
12960
|
+
name: "TeammateIdle",
|
|
12961
|
+
wired: false
|
|
12962
|
+
},
|
|
12963
|
+
{
|
|
12964
|
+
name: "ConfigChange",
|
|
12965
|
+
wired: false
|
|
12966
|
+
},
|
|
12967
|
+
{
|
|
12968
|
+
name: "WorktreeCreate",
|
|
12969
|
+
wired: false
|
|
12970
|
+
},
|
|
12971
|
+
{
|
|
12972
|
+
name: "InstructionsLoaded",
|
|
12973
|
+
wired: false
|
|
12974
|
+
}
|
|
12975
|
+
];
|
|
12976
|
+
const WIRED_HOOK_INVENTORY = HOOK_INVENTORY.filter((hook) => hook.wired);
|
|
12977
|
+
const WIRED_HOOK_NAMES = WIRED_HOOK_INVENTORY.map((hook) => hook.name);
|
|
12978
|
+
//#endregion
|
|
12558
12979
|
exports.ACP_BEHAVIOR = ACP_BEHAVIOR;
|
|
12559
12980
|
exports.Activity = Activity;
|
|
12560
12981
|
exports.ActivityDetailedEvent = ActivityDetailedEvent;
|
|
@@ -12574,6 +12995,7 @@ exports.AgentHealthKind = AgentHealthKind;
|
|
|
12574
12995
|
exports.AgentHealthSnapshot = AgentHealthSnapshot;
|
|
12575
12996
|
exports.AgentHealthStatus = AgentHealthStatus;
|
|
12576
12997
|
exports.AgentHeartbeatDeadEvent = AgentHeartbeatDeadEvent;
|
|
12998
|
+
exports.AgentHookFiredEvent = AgentHookFiredEvent;
|
|
12577
12999
|
exports.AgentId = AgentId;
|
|
12578
13000
|
exports.AgentMessageReceivedEvent = AgentMessageReceivedEvent;
|
|
12579
13001
|
exports.AgentModelSetEvent = AgentModelSetEvent;
|
|
@@ -12651,6 +13073,7 @@ exports.ConversationCostSummary = ConversationCostSummary;
|
|
|
12651
13073
|
exports.ConversationCreatedEvent = ConversationCreatedEvent;
|
|
12652
13074
|
exports.ConversationEvent = ConversationEvent;
|
|
12653
13075
|
exports.ConversationFilter = ConversationFilter;
|
|
13076
|
+
exports.ConversationMovedEvent = ConversationMovedEvent;
|
|
12654
13077
|
exports.ConversationPermissionChangedEvent = ConversationPermissionChangedEvent;
|
|
12655
13078
|
exports.ConversationResponse = ConversationResponse;
|
|
12656
13079
|
exports.ConversationTitleChangedEvent = ConversationTitleChangedEvent;
|
|
@@ -12718,6 +13141,7 @@ exports.GetSnapshotRpc = GetSnapshotRpc;
|
|
|
12718
13141
|
exports.GetWorkspaceDetailRpc = GetWorkspaceDetailRpc;
|
|
12719
13142
|
exports.GlobalContextLayerRecord = GlobalContextLayerRecord;
|
|
12720
13143
|
exports.GlobalContextLayerTarget = GlobalContextLayerTarget;
|
|
13144
|
+
exports.HOOK_INVENTORY = HOOK_INVENTORY;
|
|
12721
13145
|
exports.HealthReason = HealthReason;
|
|
12722
13146
|
exports.HealthState = HealthState;
|
|
12723
13147
|
exports.HostHealthMetrics = HostHealthMetrics;
|
|
@@ -12821,6 +13245,9 @@ exports.ReviewSpecialistTimedOutEvent = ReviewSpecialistTimedOutEvent;
|
|
|
12821
13245
|
exports.ReviewStatusChangedEvent = ReviewStatusChangedEvent;
|
|
12822
13246
|
exports.ReviewStatusSnapshot = ReviewStatusSnapshot;
|
|
12823
13247
|
exports.ReviewStatusValue = ReviewStatusValue;
|
|
13248
|
+
exports.ReviewVerdictDispatchedEvent = ReviewVerdictDispatchedEvent;
|
|
13249
|
+
exports.ReviewVerdictRejectedEvent = ReviewVerdictRejectedEvent;
|
|
13250
|
+
exports.ReviewVerdictRestoreBlockedEvent = ReviewVerdictRestoreBlockedEvent;
|
|
12824
13251
|
exports.ReviewerRoundMetadata = ReviewerRoundMetadata;
|
|
12825
13252
|
exports.ReviewerRoundSummary = ReviewerRoundSummary;
|
|
12826
13253
|
exports.Role = Role;
|
|
@@ -12859,6 +13286,9 @@ exports.SubscribeIssueEventsRpc = SubscribeIssueEventsRpc;
|
|
|
12859
13286
|
exports.SubscribeProjectSessionTreeRpc = SubscribeProjectSessionTreeRpc;
|
|
12860
13287
|
exports.SubscribeTerminalRpc = SubscribeTerminalRpc;
|
|
12861
13288
|
exports.SubstrateBugFiledEvent = SubstrateBugFiledEvent;
|
|
13289
|
+
exports.SweepEscalatedEvent = SweepEscalatedEvent;
|
|
13290
|
+
exports.SweepRecommendationEvent = SweepRecommendationEvent;
|
|
13291
|
+
exports.SweepScanEvent = SweepScanEvent;
|
|
12862
13292
|
exports.SystemHealthConsumer = SystemHealthConsumer;
|
|
12863
13293
|
exports.SystemHealthSeverityChangedEvent = SystemHealthSeverityChangedEvent;
|
|
12864
13294
|
exports.SystemHealthSnapshot = SystemHealthSnapshot;
|
|
@@ -12879,6 +13309,8 @@ exports.TurnDiffFileChange = TurnDiffFileChange;
|
|
|
12879
13309
|
exports.TurnDiffSummary = TurnDiffSummary;
|
|
12880
13310
|
exports.UatStatusValue = UatStatusValue;
|
|
12881
13311
|
exports.VerificationStatusValue = VerificationStatusValue;
|
|
13312
|
+
exports.WIRED_HOOK_INVENTORY = WIRED_HOOK_INVENTORY;
|
|
13313
|
+
exports.WIRED_HOOK_NAMES = WIRED_HOOK_NAMES;
|
|
12882
13314
|
exports.WS_METHODS = WS_METHODS;
|
|
12883
13315
|
exports.WaitingReason = WaitingReason;
|
|
12884
13316
|
exports.WaitingState = WaitingState;
|