@unbrained/pm-cli 2026.9.1 → 2026.9.3
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/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +27 -0
- package/dist/cli/after-command-context-usage.js +16 -3
- package/dist/cli-bundle/bundle-manifest.json +153 -153
- package/dist/cli-bundle/chunks/{chunk-6XIIGE7U.js → chunk-34HASX3S.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-AY324UJ5.js +9 -0
- package/dist/cli-bundle/chunks/{chunk-TAG4VC22.js → chunk-DKGP3QLE.js} +27 -27
- package/dist/cli-bundle/chunks/chunk-E5RBBCXO.js +230 -0
- package/dist/cli-bundle/chunks/{chunk-DTGWEL23.js → chunk-EDPIS7EB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-X4RCGLTX.js → chunk-IEHHE6GA.js} +5 -5
- package/dist/cli-bundle/chunks/{chunk-U45JXJCC.js → chunk-L7B7343B.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-2MC2LCXZ.js → chunk-LENC656S.js} +41 -41
- package/dist/cli-bundle/chunks/chunk-LISESA7W.js +35 -0
- package/dist/cli-bundle/chunks/{chunk-3WICXLVT.js → chunk-UPPM2FOZ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Y7VOMSZT.js → chunk-Y4PJ6HPK.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-XYNX4ASQ.js → register-list-query-W2ZTOMKP.js} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-2MVLRS3J.js → register-mutation-RVND5NCG.js} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-WCIDXBU3.js → register-operations-TTROIVC4.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-KVNC5KPL.js → register-setup-D3ZFHY3L.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-3ZBI35HU.js +176 -0
- package/dist/cli-bundle/focused-chunks/{chunk-SVXJYD6G.js → chunk-4HJFY4MB.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-4RRHC3S4.js +6 -0
- package/dist/cli-bundle/focused-chunks/chunk-4WR46RMG.js +9 -0
- package/dist/cli-bundle/focused-chunks/chunk-5RFXUPN5.js +3 -0
- package/dist/cli-bundle/focused-chunks/chunk-BWKHEIVF.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-4O4CJAR6.js → chunk-D7KXFBXV.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-MKHG3T76.js → chunk-GHCZ3YFR.js} +3 -3
- package/dist/cli-bundle/focused-chunks/{chunk-KB5OFSFD.js → chunk-GT7MXDLW.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-KBLZRU62.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-KZ2NB3ET.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-M5M6SVHS.js +3 -0
- package/dist/cli-bundle/focused-chunks/{chunk-BEVHCEWG.js → chunk-OL5EH6I3.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-MEASX544.js → chunk-Q45NHPF2.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-Y6JJIX6I.js → chunk-QKHCSUGJ.js} +48 -48
- package/dist/cli-bundle/focused-chunks/chunk-S27XMBIN.js +8 -0
- package/dist/cli-bundle/focused-chunks/chunk-TXE4TSHM.js +12 -0
- package/dist/cli-bundle/focused-chunks/chunk-UCLO3XDU.js +2 -0
- package/dist/cli-bundle/main.js +15 -15
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +28 -28
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +35 -33
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +9 -9
- package/dist/core/diagnostics/remediation.js +9 -4
- package/dist/core/history/event-classification.d.ts +21 -0
- package/dist/core/history/event-classification.js +109 -0
- package/dist/core/history/event-index.d.ts +14 -3
- package/dist/core/history/event-index.js +543 -88
- package/dist/core/history/history.js +47 -18
- package/dist/core/history/workspace-history.js +7 -6
- package/dist/core/lock/lock.d.ts +22 -2
- package/dist/core/lock/lock.js +121 -19
- package/dist/core/output/output.js +31 -7
- package/dist/core/shared/time.d.ts +2 -0
- package/dist/core/shared/time.js +8 -2
- package/dist/core/store/item-metadata-query-index.js +5 -5
- package/dist/sdk/context/recency.d.ts +9 -0
- package/dist/sdk/context/recency.js +34 -0
- package/dist/sdk/context/usage-egress.d.ts +9 -0
- package/dist/sdk/context/usage-egress.js +30 -0
- package/dist/sdk/context-intent-contracts.js +7 -3
- package/dist/sdk/context-relevance.d.ts +23 -0
- package/dist/sdk/context-relevance.js +94 -23
- package/dist/sdk/context-signal-store.d.ts +7 -3
- package/dist/sdk/context-signal-store.js +155 -42
- package/dist/sdk/context-usage.d.ts +54 -0
- package/dist/sdk/context-usage.js +245 -16
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +26 -14
- package/dist/sdk/generated/generated-error-code-catalog-part-2.js +14 -2
- package/dist/sdk/governance/health.js +77 -11
- package/dist/sdk/governance/validate.js +4 -2
- package/dist/sdk/index.d.ts +2 -0
- package/dist/sdk/index.js +4 -2
- package/dist/sdk/init.d.ts +2 -0
- package/dist/sdk/init.js +18 -9
- package/dist/sdk/merge/index.d.ts +1 -1
- package/dist/sdk/merge/index.js +2 -2
- package/dist/sdk/merge/receipts.d.ts +24 -0
- package/dist/sdk/merge/receipts.js +122 -30
- package/dist/sdk/query/context.d.ts +3 -1
- package/dist/sdk/query/context.js +21 -9
- package/dist/sdk/query/next.js +18 -9
- package/dist/sdk/runtime-input.d.ts +2 -0
- package/dist/sdk/runtime-input.js +25 -2
- package/dist/sdk/runtime.d.ts +1 -0
- package/dist/sdk/runtime.js +17 -26
- package/dist/types.d.ts +2 -0
- package/dist/types.js +2 -2
- package/docs/CONTEXT_RECOVERY_PRIMITIVES.md +11 -2
- package/docs/CONTEXT_RELEVANCE.md +44 -1
- package/docs/MERGE_SAFETY.md +16 -2
- package/docs/PERFORMANCE.md +6 -3
- package/docs/READ_OUTPUT_CONTRACTS.md +9 -1
- package/docs/SDK.md +11 -8
- package/docs/SDK_CONTEXT.md +7 -0
- package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +5 -3
- package/marketplace.json +2 -2
- package/package.json +4 -4
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +268 -28
- package/dist/cli-bundle/chunks/chunk-ALKKAUFN.js +0 -35
- package/dist/cli-bundle/chunks/chunk-GOACULJW.js +0 -13
- package/dist/cli-bundle/chunks/chunk-NOPL37X4.js +0 -205
- package/dist/cli-bundle/focused-chunks/chunk-2FEZ5SKM.js +0 -3
- package/dist/cli-bundle/focused-chunks/chunk-6GCRSLPG.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-7VATS5QY.js +0 -16
- package/dist/cli-bundle/focused-chunks/chunk-FWPLDEXF.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-JEFKLWMM.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-PF3E6Q36.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-QDFJIRKN.js +0 -4
- package/dist/cli-bundle/focused-chunks/chunk-RMRCQPWU.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-S4U5CN5Q.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-T2LXXSOD.js +0 -158
- package/dist/cli-bundle/focused-chunks/chunk-Z2USIBR2.js +0 -5
package/sdk/public-surface.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"aggregate_completeness": {
|
|
3
|
-
"covered_symbols":
|
|
3
|
+
"covered_symbols": 1838,
|
|
4
4
|
"excluded": [
|
|
5
5
|
{
|
|
6
6
|
"name": "_testOnlyCliContracts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
],
|
|
10
10
|
"missing": [],
|
|
11
|
-
"required_symbols":
|
|
11
|
+
"required_symbols": 1839
|
|
12
12
|
},
|
|
13
13
|
"breaking_acknowledgements": [
|
|
14
14
|
{
|
|
@@ -1463,6 +1463,64 @@
|
|
|
1463
1463
|
],
|
|
1464
1464
|
"package_version": "2026.8.31",
|
|
1465
1465
|
"reason": "Add optional host-owned cursor integrity key for deployment-stable pagination; existing callers and process-local fallback remain compatible."
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"changes": [
|
|
1469
|
+
"signature ./sdk:MergeReceiptEvidenceReport",
|
|
1470
|
+
"signature ./sdk:MergeReceiptEvidenceScan",
|
|
1471
|
+
"signature ./sdk/merge:MergeReceiptEvidenceReport",
|
|
1472
|
+
"signature ./sdk/merge:MergeReceiptEvidenceScan"
|
|
1473
|
+
],
|
|
1474
|
+
"package_version": "2026.9.1",
|
|
1475
|
+
"reason": "Expose loss-aware receipt evidence details as required runtime fields so SDK gates cannot silently discard invalid candidates."
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"changes": [
|
|
1479
|
+
"signature ./sdk:BuildItemContextRelevanceCandidatesOptions",
|
|
1480
|
+
"signature ./sdk:CONTEXT_SIGNAL_SET_VERSION",
|
|
1481
|
+
"signature ./sdk:CONTEXT_SIGNAL_STORE_FORMAT_VERSION",
|
|
1482
|
+
"signature ./sdk:ContextRankingSummary",
|
|
1483
|
+
"signature ./sdk:ContextRelevanceCandidate",
|
|
1484
|
+
"signature ./sdk:ContextSignalSnapshotItem",
|
|
1485
|
+
"signature ./sdk:ContextUsageAffinity",
|
|
1486
|
+
"signature ./sdk:ContextUsageEvent",
|
|
1487
|
+
"signature ./sdk:ItemContextRelevanceCandidate",
|
|
1488
|
+
"signature ./sdk:recordContextUsageServing",
|
|
1489
|
+
"signature ./sdk/query:BuildItemContextRelevanceCandidatesOptions",
|
|
1490
|
+
"signature ./sdk/query:CONTEXT_SIGNAL_SET_VERSION",
|
|
1491
|
+
"signature ./sdk/query:CONTEXT_SIGNAL_STORE_FORMAT_VERSION",
|
|
1492
|
+
"signature ./sdk/query:ContextRankingSummary",
|
|
1493
|
+
"signature ./sdk/query:ContextRelevanceCandidate",
|
|
1494
|
+
"signature ./sdk/query:ContextSignalSnapshotItem",
|
|
1495
|
+
"signature ./sdk/query:ContextUsageAffinity",
|
|
1496
|
+
"signature ./sdk/query:ContextUsageEvent",
|
|
1497
|
+
"signature ./sdk/query:ItemContextRelevanceCandidate",
|
|
1498
|
+
"signature ./sdk/query:recordContextUsageServing"
|
|
1499
|
+
],
|
|
1500
|
+
"package_version": "2026.9.1",
|
|
1501
|
+
"reason": "Version context signal snapshots and usage affinity receipts so substantive recency and exact egress delivery are explicit public contracts."
|
|
1502
|
+
},
|
|
1503
|
+
{
|
|
1504
|
+
"changes": [
|
|
1505
|
+
"signature ./sdk:CONTEXT_SIGNAL_STORE_FORMAT_VERSION",
|
|
1506
|
+
"signature ./sdk:ContextSignalSnapshot",
|
|
1507
|
+
"signature ./sdk:ContextUsageEvent",
|
|
1508
|
+
"signature ./sdk:MAINTENANCE_HISTORY_OPERATIONS",
|
|
1509
|
+
"signature ./sdk/query:CONTEXT_SIGNAL_STORE_FORMAT_VERSION",
|
|
1510
|
+
"signature ./sdk/query:ContextSignalSnapshot",
|
|
1511
|
+
"signature ./sdk/query:ContextUsageEvent",
|
|
1512
|
+
"signature ./sdk/runtime:MAINTENANCE_HISTORY_OPERATIONS"
|
|
1513
|
+
],
|
|
1514
|
+
"package_version": "2026.9.1",
|
|
1515
|
+
"reason": "Tighten context signal freshness and final-egress feedback contracts before release"
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"changes": [
|
|
1519
|
+
"signature ./sdk:ContextSignalSnapshotItem",
|
|
1520
|
+
"signature ./sdk/query:ContextSignalSnapshotItem"
|
|
1521
|
+
],
|
|
1522
|
+
"package_version": "2026.9.1",
|
|
1523
|
+
"reason": "Align ContextSignalSnapshotItem signal provenance with the parser-enforced required persisted contract"
|
|
1466
1524
|
}
|
|
1467
1525
|
],
|
|
1468
1526
|
"entrypoints": {
|
|
@@ -2861,6 +2919,12 @@
|
|
|
2861
2919
|
"name": "attachContextIntentReceipt",
|
|
2862
2920
|
"signature": "<Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => Result & { context_intent?: PmContextIntentReceipt; } | calls: <Result extends Record<string, unknown>>(command: string, options: Record<string, unknown>, result: Result) => Result & { context_intent?: PmContextIntentReceipt; }"
|
|
2863
2921
|
},
|
|
2922
|
+
{
|
|
2923
|
+
"classification": "supported",
|
|
2924
|
+
"kind": "function",
|
|
2925
|
+
"name": "attachContextUsageServingReceipt",
|
|
2926
|
+
"signature": "(result: unknown, receipt: ContextUsageServingReceipt | null) => void | calls: (result: unknown, receipt: ContextUsageServingReceipt | null) => void"
|
|
2927
|
+
},
|
|
2864
2928
|
{
|
|
2865
2929
|
"classification": "advanced_export",
|
|
2866
2930
|
"kind": "function",
|
|
@@ -3153,7 +3217,7 @@
|
|
|
3153
3217
|
"classification": "supported",
|
|
3154
3218
|
"kind": "interface",
|
|
3155
3219
|
"name": "BuildItemContextRelevanceCandidatesOptions",
|
|
3156
|
-
"signature": "export interface BuildItemContextRelevanceCandidatesOptions { statusRegistry: RuntimeStatusRegistry; now: string; author?: string; usageAffinity?: Readonly<Record<string, number>>; semanticSimilarity?: Readonly<Record<string, number>>; activityDensity?: Readonly<Record<string, number>>; graphProximity?: Readonly<Record<string, number>>; claimFocus?: Readonly<Record<string, number>>; knowledgeDensity?: Readonly<Record<string, number>>; authorAffinity?: Readonly<Record<string, number>>; }"
|
|
3220
|
+
"signature": "export interface BuildItemContextRelevanceCandidatesOptions { statusRegistry: RuntimeStatusRegistry; now: string; author?: string; usageAffinity?: Readonly<Record<string, number>>; semanticSimilarity?: Readonly<Record<string, number>>; activityDensity?: Readonly<Record<string, number>>; graphProximity?: Readonly<Record<string, number>>; claimFocus?: Readonly<Record<string, number>>; knowledgeDensity?: Readonly<Record<string, number>>; authorAffinity?: Readonly<Record<string, number>>; recencyEvidence?: Readonly<Record<string, ContextRecencyEvidence>>; }"
|
|
3157
3221
|
},
|
|
3158
3222
|
{
|
|
3159
3223
|
"classification": "advanced_export",
|
|
@@ -3449,6 +3513,12 @@
|
|
|
3449
3513
|
"name": "canonicalizeCommandOptionKey",
|
|
3450
3514
|
"signature": "(command: CommandOptionPolicyCommand, rawOption: string) => string | undefined | calls: (command: CommandOptionPolicyCommand, rawOption: string) => string | undefined"
|
|
3451
3515
|
},
|
|
3516
|
+
{
|
|
3517
|
+
"classification": "advanced_export",
|
|
3518
|
+
"kind": "function",
|
|
3519
|
+
"name": "canonicalizeContextRecencyCoordinate",
|
|
3520
|
+
"signature": "(value: unknown) => string | null | calls: (value: unknown) => string | null"
|
|
3521
|
+
},
|
|
3452
3522
|
{
|
|
3453
3523
|
"classification": "supported",
|
|
3454
3524
|
"kind": "function",
|
|
@@ -3527,6 +3597,12 @@
|
|
|
3527
3597
|
"name": "classifyHistoryAuthorEvent",
|
|
3528
3598
|
"signature": "(parsed: unknown) => \"actionable_unknown\" | \"attributed\" | \"legacy_unknown\" | calls: (parsed: unknown) => \"attributed\" | \"legacy_unknown\" | \"actionable_unknown\""
|
|
3529
3599
|
},
|
|
3600
|
+
{
|
|
3601
|
+
"classification": "advanced_export",
|
|
3602
|
+
"kind": "function",
|
|
3603
|
+
"name": "classifyHistoryEvent",
|
|
3604
|
+
"signature": "(entry: Pick<HistoryEntry, \"event_class\" | \"op\" | \"patch\">) => HistoryEventClass | calls: (entry: Pick<HistoryEntry, \"op\" | \"patch\" | \"event_class\">) => HistoryEventClass"
|
|
3605
|
+
},
|
|
3530
3606
|
{
|
|
3531
3607
|
"classification": "advanced_export",
|
|
3532
3608
|
"kind": "function",
|
|
@@ -3713,6 +3789,12 @@
|
|
|
3713
3789
|
"name": "collectBlockedByIdsFromCorpus",
|
|
3714
3790
|
"signature": "(item: ItemMetadata, corpus: readonly ItemMetadata[]) => string[] | calls: (item: ItemMetadata, corpus: readonly ItemMetadata[]) => string[]"
|
|
3715
3791
|
},
|
|
3792
|
+
{
|
|
3793
|
+
"classification": "supported",
|
|
3794
|
+
"kind": "function",
|
|
3795
|
+
"name": "collectContextUsageDeliveredItemIds",
|
|
3796
|
+
"signature": "(result: unknown, surface: ContextRelevanceSurface) => string[] | calls: (result: unknown, surface: ContextRelevanceSurface) => string[]"
|
|
3797
|
+
},
|
|
3716
3798
|
{
|
|
3717
3799
|
"classification": "supported",
|
|
3718
3800
|
"kind": "function",
|
|
@@ -4181,6 +4263,12 @@
|
|
|
4181
4263
|
"name": "CONTEXT_PACKING_PROFILES",
|
|
4182
4264
|
"signature": "{ readonly balanced: { readonly redundancyPenalty: 0.35; readonly uncertaintyPenalty: 0.2; }; readonly context: { readonly redundancyPenalty: 0.45; readonly uncertaintyPenalty: 0.15; }; readonly next: { readonly redundancyPenalty: 0.25; readonly uncertaintyPenalty: 0.3; }; }"
|
|
4183
4265
|
},
|
|
4266
|
+
{
|
|
4267
|
+
"classification": "advanced_export",
|
|
4268
|
+
"kind": "value",
|
|
4269
|
+
"name": "CONTEXT_RECENCY_EPOCH",
|
|
4270
|
+
"signature": "\"1970-01-01T00:00:00.000Z\""
|
|
4271
|
+
},
|
|
4184
4272
|
{
|
|
4185
4273
|
"classification": "supported",
|
|
4186
4274
|
"kind": "value",
|
|
@@ -4197,13 +4285,13 @@
|
|
|
4197
4285
|
"classification": "supported",
|
|
4198
4286
|
"kind": "value",
|
|
4199
4287
|
"name": "CONTEXT_SIGNAL_SET_VERSION",
|
|
4200
|
-
"signature": "
|
|
4288
|
+
"signature": "2"
|
|
4201
4289
|
},
|
|
4202
4290
|
{
|
|
4203
4291
|
"classification": "supported",
|
|
4204
4292
|
"kind": "value",
|
|
4205
4293
|
"name": "CONTEXT_SIGNAL_STORE_FORMAT_VERSION",
|
|
4206
|
-
"signature": "
|
|
4294
|
+
"signature": "3"
|
|
4207
4295
|
},
|
|
4208
4296
|
{
|
|
4209
4297
|
"classification": "supported",
|
|
@@ -4359,13 +4447,19 @@
|
|
|
4359
4447
|
"classification": "supported",
|
|
4360
4448
|
"kind": "interface",
|
|
4361
4449
|
"name": "ContextRankingSummary",
|
|
4362
|
-
"signature": "export interface ContextRankingSummary { model: string; available_signals: ContextRelevanceSignalName[]; items: Array<{ id: string; rank: number; baseline_rank: number; score: number; contributions: ContextRelevanceContributions; }>; candidate_count: number; omitted_count: number; feature_store?: { source: \"derived_index\" | \"scan_fallback\"; cache_status: \"fresh\" | \"rebuilt\"; source_cursor: string; generated_at: string; }; }"
|
|
4450
|
+
"signature": "export interface ContextRankingSummary { model: string; available_signals: ContextRelevanceSignalName[]; items: Array<{ id: string; rank: number; baseline_rank: number; score: number; contributions: ContextRelevanceContributions; recency?: ContextRecencyEvidence; }>; candidate_count: number; omitted_count: number; feature_store?: { source: \"derived_index\" | \"scan_fallback\"; cache_status: \"fresh\" | \"rebuilt\"; source_cursor: string; generated_at: string; }; }"
|
|
4451
|
+
},
|
|
4452
|
+
{
|
|
4453
|
+
"classification": "supported",
|
|
4454
|
+
"kind": "interface",
|
|
4455
|
+
"name": "ContextRecencyEvidence",
|
|
4456
|
+
"signature": "export interface ContextRecencyEvidence { source: \"substantive_history\" | \"release_cohort\" | \"created_at\"; coordinate: string; history_op?: string; event_class?: HistoryEventClass; }"
|
|
4363
4457
|
},
|
|
4364
4458
|
{
|
|
4365
4459
|
"classification": "supported",
|
|
4366
4460
|
"kind": "interface",
|
|
4367
4461
|
"name": "ContextRelevanceCandidate",
|
|
4368
|
-
"signature": "export interface ContextRelevanceCandidate<TItem> { id: string; item: TItem; signals?: ContextRelevanceSignals; }"
|
|
4462
|
+
"signature": "export interface ContextRelevanceCandidate<TItem> { id: string; item: TItem; signals?: ContextRelevanceSignals; signal_provenance?: ContextSignalProvenance; }"
|
|
4369
4463
|
},
|
|
4370
4464
|
{
|
|
4371
4465
|
"classification": "supported",
|
|
@@ -4421,17 +4515,23 @@
|
|
|
4421
4515
|
"name": "ContextResult",
|
|
4422
4516
|
"signature": "export interface ContextResult { output_default: \"toon\"; now: string; depth: ContextDepth; sections_included: ContextSectionName[]; window: { anchor: string; start: string | null; end: string | null; past: boolean; from: string | null; to: string | null; }; filters: { type: string | null; tag: string | null; priority: string | null; assignee: string | null; assignee_filter: string | null; sprint: string | null; release: string | null; limit: string | null; parent: string | null; token_budget: number; runtime_filters?: Record<string, unknown>; }; summary: ContextSummary; high_level: ContextFocusItem[]; low_level: ContextFocusItem[]; blocked_fallback: ContextFocusItem[]; agenda: { summary: ContextAgendaSummary; events: ContextAgendaEvent[]; }; hierarchy?: HierarchyNode[]; activity?: CompactActivityEntry[]; progress?: ProgressEntry[]; blockers?: BlockerEntry[]; recently_created?: RecentContextItem[]; unparented?: ContextFocusItem[]; files?: HotFile[]; workload?: WorkloadEntry[]; staleness?: StaleEntry[]; tests?: TestHealthSummary; extension_health?: ContextExtensionHealth; workspace_memory?: { cache_status: \"fresh\" | \"rebuilt\"; source_cursor: string; rollups: WorkspaceMemoryRollup[]; }; suggestions?: string[]; focus_fields?: string[]; warnings?: string[]; warning_details?: ContextSignalStoreReadResult[\"warning_details\"]; ranking?: ContextRankingSummary; packing?: ContextPackingSummary; has_more?: boolean; next_cursor?: string; applied_limit?: number; truncated?: true; }"
|
|
4423
4517
|
},
|
|
4518
|
+
{
|
|
4519
|
+
"classification": "supported",
|
|
4520
|
+
"kind": "interface",
|
|
4521
|
+
"name": "ContextSignalProvenance",
|
|
4522
|
+
"signature": "export interface ContextSignalProvenance { recency: ContextRecencyEvidence; }"
|
|
4523
|
+
},
|
|
4424
4524
|
{
|
|
4425
4525
|
"classification": "supported",
|
|
4426
4526
|
"kind": "interface",
|
|
4427
4527
|
"name": "ContextSignalSnapshot",
|
|
4428
|
-
"signature": "export interface ContextSignalSnapshot { format_version: number; signal_set_version: number; source_cursor: string; generated_at: string; source: ContextSignalSnapshotSource; items: readonly ContextSignalSnapshotItem[]; }"
|
|
4528
|
+
"signature": "export interface ContextSignalSnapshot { format_version: number; signal_set_version: number; source_cursor: string; recency_evidence_fingerprint: string; generated_at: string; source: ContextSignalSnapshotSource; items: readonly ContextSignalSnapshotItem[]; }"
|
|
4429
4529
|
},
|
|
4430
4530
|
{
|
|
4431
4531
|
"classification": "supported",
|
|
4432
4532
|
"kind": "interface",
|
|
4433
4533
|
"name": "ContextSignalSnapshotItem",
|
|
4434
|
-
"signature": "export interface ContextSignalSnapshotItem { id: string; signals: ContextRelevanceSignals; }"
|
|
4534
|
+
"signature": "export interface ContextSignalSnapshotItem { id: string; signals: ContextRelevanceSignals; signal_provenance: ContextSignalProvenance; }"
|
|
4435
4535
|
},
|
|
4436
4536
|
{
|
|
4437
4537
|
"classification": "supported",
|
|
@@ -4467,13 +4567,13 @@
|
|
|
4467
4567
|
"classification": "supported",
|
|
4468
4568
|
"kind": "interface",
|
|
4469
4569
|
"name": "ContextUsageAffinity",
|
|
4470
|
-
"signature": "export interface ContextUsageAffinity { affinity: Record<string, number>; positive_judgments: number; serving_events: number; }"
|
|
4570
|
+
"signature": "export interface ContextUsageAffinity { affinity: Record<string, number>; positive_judgments: number; serving_events: number; untrusted_serving_events: number; }"
|
|
4471
4571
|
},
|
|
4472
4572
|
{
|
|
4473
4573
|
"classification": "supported",
|
|
4474
4574
|
"kind": "type",
|
|
4475
4575
|
"name": "ContextUsageEvent",
|
|
4476
|
-
"signature": "export type ContextUsageEvent = { kind: \"serve\"; at: string; author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; } | { kind: \"touch\"; at: string; author: string; item_id: string; intent: string; };"
|
|
4576
|
+
"signature": "export type ContextUsageEvent = { kind: \"serve\"; schema_version?: 2; serve_id?: string; at: string; author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; result_omitted?: boolean; packed_item_ids?: string[]; delivered_item_ids?: string[]; } | { kind: \"delivery\"; schema_version: 2; serve_id: string; at: string; author: string; surface: ContextRelevanceSurface; result_omitted: boolean; delivered_item_ids: string[]; } | { kind: \"touch\"; at: string; author: string; item_id: string; intent: string; };"
|
|
4477
4577
|
},
|
|
4478
4578
|
{
|
|
4479
4579
|
"classification": "supported",
|
|
@@ -4481,6 +4581,12 @@
|
|
|
4481
4581
|
"name": "ContextUsageLedgerOptions",
|
|
4482
4582
|
"signature": "export interface ContextUsageLedgerOptions { pmRoot: string; enabled?: boolean; maxEvents?: number; retentionDays?: number; now?: string; }"
|
|
4483
4583
|
},
|
|
4584
|
+
{
|
|
4585
|
+
"classification": "supported",
|
|
4586
|
+
"kind": "interface",
|
|
4587
|
+
"name": "ContextUsageServingReceipt",
|
|
4588
|
+
"signature": "export interface ContextUsageServingReceipt { serve_id: string; author: string; surface: ContextRelevanceSurface; rows: readonly ContextUsageServingRow[]; }"
|
|
4589
|
+
},
|
|
4484
4590
|
{
|
|
4485
4591
|
"classification": "supported",
|
|
4486
4592
|
"kind": "interface",
|
|
@@ -6773,6 +6879,12 @@
|
|
|
6773
6879
|
"name": "FilesResult",
|
|
6774
6880
|
"signature": "export interface FilesResult { id: string; files: LinkedFile[]; changed: boolean; count: number; migrations_applied?: number; validation?: LinkedPathValidation; }"
|
|
6775
6881
|
},
|
|
6882
|
+
{
|
|
6883
|
+
"classification": "supported",
|
|
6884
|
+
"kind": "function",
|
|
6885
|
+
"name": "finalizeContextUsageDelivery",
|
|
6886
|
+
"signature": "(options: { pmRoot: string; result: unknown; }) => Promise<boolean> | calls: (options: { pmRoot: string; result: unknown; }) => Promise<boolean>"
|
|
6887
|
+
},
|
|
6776
6888
|
{
|
|
6777
6889
|
"classification": "advanced_export",
|
|
6778
6890
|
"kind": "function",
|
|
@@ -7667,6 +7779,12 @@
|
|
|
7667
7779
|
"name": "HISTORY_COMPACT_FLAG_CONTRACTS",
|
|
7668
7780
|
"signature": "CliFlagContract[]"
|
|
7669
7781
|
},
|
|
7782
|
+
{
|
|
7783
|
+
"classification": "advanced_export",
|
|
7784
|
+
"kind": "value",
|
|
7785
|
+
"name": "HISTORY_EVENT_CLASSIFICATION_VERSION",
|
|
7786
|
+
"signature": "1"
|
|
7787
|
+
},
|
|
7670
7788
|
{
|
|
7671
7789
|
"classification": "contract_data",
|
|
7672
7790
|
"kind": "value",
|
|
@@ -7781,6 +7899,12 @@
|
|
|
7781
7899
|
"name": "historyEntryMatchesProvenance",
|
|
7782
7900
|
"signature": "(entry: HistoryEntry, filters: HistoryProvenanceFilters, vocabulary?: AuthorIdentityVocabulary, dimensions?: readonly string[]) => boolean | calls: (entry: HistoryEntry, filters: HistoryProvenanceFilters, vocabulary?: AuthorIdentityVocabulary, dimensions?: readonly string[]) => boolean"
|
|
7783
7901
|
},
|
|
7902
|
+
{
|
|
7903
|
+
"classification": "advanced_export",
|
|
7904
|
+
"kind": "type",
|
|
7905
|
+
"name": "HistoryEventClass",
|
|
7906
|
+
"signature": "export type HistoryEventClass = \"substantive\" | \"maintenance\";"
|
|
7907
|
+
},
|
|
7784
7908
|
{
|
|
7785
7909
|
"classification": "advanced_export",
|
|
7786
7910
|
"kind": "type",
|
|
@@ -8409,7 +8533,7 @@
|
|
|
8409
8533
|
"classification": "supported",
|
|
8410
8534
|
"kind": "interface",
|
|
8411
8535
|
"name": "ItemContextRelevanceCandidate",
|
|
8412
|
-
"signature": "export interface ItemContextRelevanceCandidate extends ContextRelevanceCandidate<ItemMetadata> { signals: ContextRelevanceSignals; }"
|
|
8536
|
+
"signature": "export interface ItemContextRelevanceCandidate extends ContextRelevanceCandidate<ItemMetadata> { signals: ContextRelevanceSignals; signal_provenance: ContextSignalProvenance; }"
|
|
8413
8537
|
},
|
|
8414
8538
|
{
|
|
8415
8539
|
"classification": "supported",
|
|
@@ -9107,6 +9231,12 @@
|
|
|
9107
9231
|
"name": "looksLikeGenericKeyValueEntry",
|
|
9108
9232
|
"signature": "(raw: string) => boolean | calls: (raw: string) => boolean"
|
|
9109
9233
|
},
|
|
9234
|
+
{
|
|
9235
|
+
"classification": "advanced_export",
|
|
9236
|
+
"kind": "value",
|
|
9237
|
+
"name": "MAINTENANCE_HISTORY_OPERATIONS",
|
|
9238
|
+
"signature": "readonly [\"docs_add\", \"files_add\", \"history:author-acknowledge\", \"history_author_acknowledge\", \"history_compact\", \"history_compact_baseline\", \"history_redact\", \"history_repair\", \"normalize\", \"release\", \"test_run_track\", \"tests_add\", \"tests_remove\", \"update_audit\", \"update_ownership_bypass\"]"
|
|
9239
|
+
},
|
|
9110
9240
|
{
|
|
9111
9241
|
"classification": "advanced_export",
|
|
9112
9242
|
"kind": "function",
|
|
@@ -9291,13 +9421,19 @@
|
|
|
9291
9421
|
"classification": "supported",
|
|
9292
9422
|
"kind": "interface",
|
|
9293
9423
|
"name": "MergeReceiptEvidenceReport",
|
|
9294
|
-
"signature": "export interface MergeReceiptEvidenceReport { ok: boolean; complete: boolean; count: number; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; receipts: MergeDecisionReceipt[]; generated_at: string; }"
|
|
9424
|
+
"signature": "export interface MergeReceiptEvidenceReport { ok: boolean; complete: boolean; count: number; invalid_evidence_count: number; invalid_evidence: MergeReceiptInvalidEvidence[]; invalid_evidence_truncated: boolean; clone_local_evidence_resolved?: boolean; receipts: MergeDecisionReceipt[]; generated_at: string; }"
|
|
9295
9425
|
},
|
|
9296
9426
|
{
|
|
9297
9427
|
"classification": "supported",
|
|
9298
9428
|
"kind": "interface",
|
|
9299
9429
|
"name": "MergeReceiptEvidenceScan",
|
|
9300
|
-
"signature": "export interface MergeReceiptEvidenceScan { receipts: MergeDecisionReceipt[]; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; }"
|
|
9430
|
+
"signature": "export interface MergeReceiptEvidenceScan { receipts: MergeDecisionReceipt[]; invalid_evidence_count: number; invalid_evidence: MergeReceiptInvalidEvidence[]; invalid_evidence_truncated: boolean; clone_local_evidence_resolved?: boolean; }"
|
|
9431
|
+
},
|
|
9432
|
+
{
|
|
9433
|
+
"classification": "supported",
|
|
9434
|
+
"kind": "interface",
|
|
9435
|
+
"name": "MergeReceiptInvalidEvidence",
|
|
9436
|
+
"signature": "export interface MergeReceiptInvalidEvidence { evidence_source: \"clone_local\" | \"durable\" | \"clone_local_and_durable\"; reason: \"directory_unreadable\" | \"candidate_not_bounded_regular_file\" | \"candidate_unreadable\" | \"candidate_invalid_json\" | \"schema_or_identity_invalid\" | \"copy_provenance_mismatch\"; receipt_id?: string; candidate_name_hash?: string; }"
|
|
9301
9437
|
},
|
|
9302
9438
|
{
|
|
9303
9439
|
"classification": "advanced_export",
|
|
@@ -12995,6 +13131,12 @@
|
|
|
12995
13131
|
"name": "promoteAssuranceAssertion",
|
|
12996
13132
|
"signature": "(pmRoot: string, definition: AssuranceAssertionDefinition, enforcement: Exclude<AssuranceEnforcement, \"observe\">, options?: { author?: string; message?: string; }) => Promise<Awaited<ReturnType<typeof putAssuranceDeclaration>>> | calls: (pmRoot: string, definition: AssuranceAssertionDefinition, enforcement: Exclude<AssuranceEnforcement, \"observe\">, options?: { author?: string; message?: string; }) => Promise<Awaited<ReturnType<typeof putAssuranceDeclaration>>>"
|
|
12997
13133
|
},
|
|
13134
|
+
{
|
|
13135
|
+
"classification": "supported",
|
|
13136
|
+
"kind": "function",
|
|
13137
|
+
"name": "propagateContextUsageServingReceipt",
|
|
13138
|
+
"signature": "(source: unknown, target: unknown) => void | calls: (source: unknown, target: unknown) => void"
|
|
13139
|
+
},
|
|
12998
13140
|
{
|
|
12999
13141
|
"classification": "advanced_export",
|
|
13000
13142
|
"kind": "interface",
|
|
@@ -13391,11 +13533,17 @@
|
|
|
13391
13533
|
"name": "recordClaimSemanticAttribution",
|
|
13392
13534
|
"signature": "(params: { pmRoot: string; settings: Awaited<ReturnType<typeof readSettings>>; principal: string; itemId: string; }) => Promise<void> | calls: (params: { pmRoot: string; settings: Awaited<ReturnType<typeof readSettings>>; principal: string; itemId: string; }) => Promise<void>"
|
|
13393
13535
|
},
|
|
13536
|
+
{
|
|
13537
|
+
"classification": "supported",
|
|
13538
|
+
"kind": "function",
|
|
13539
|
+
"name": "recordContextUsageDelivery",
|
|
13540
|
+
"signature": "(options: ContextUsageLedgerOptions & { receipt: ContextUsageServingReceipt | null; deliveredItemIds: readonly string[]; resultOmitted: boolean; }) => Promise<void> | calls: (options: ContextUsageLedgerOptions & { receipt: ContextUsageServingReceipt | null; deliveredItemIds: readonly string[]; resultOmitted: boolean; }) => Promise<void>"
|
|
13541
|
+
},
|
|
13394
13542
|
{
|
|
13395
13543
|
"classification": "supported",
|
|
13396
13544
|
"kind": "function",
|
|
13397
13545
|
"name": "recordContextUsageServing",
|
|
13398
|
-
"signature": "(options: ContextUsageLedgerOptions & { author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; }) => Promise<
|
|
13546
|
+
"signature": "(options: ContextUsageLedgerOptions & { author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; }) => Promise<ContextUsageServingReceipt | null> | calls: (options: ContextUsageLedgerOptions & { author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; }) => Promise<ContextUsageServingReceipt | null>"
|
|
13399
13547
|
},
|
|
13400
13548
|
{
|
|
13401
13549
|
"classification": "supported",
|
|
@@ -17249,6 +17397,12 @@
|
|
|
17249
17397
|
"name": "SubscribeMutationEventsOptions",
|
|
17250
17398
|
"signature": "export interface SubscribeMutationEventsOptions extends ListMutationEventsOptions { intervalMs?: number; signal?: AbortSignal; }"
|
|
17251
17399
|
},
|
|
17400
|
+
{
|
|
17401
|
+
"classification": "advanced_export",
|
|
17402
|
+
"kind": "value",
|
|
17403
|
+
"name": "SUBSTANTIVE_HISTORY_OPERATIONS",
|
|
17404
|
+
"signature": "readonly [\"append\", \"cancel\", \"claim\", \"close\", \"comment_add\", \"create\", \"learning_add\", \"note_add\", \"reopen\"]"
|
|
17405
|
+
},
|
|
17252
17406
|
{
|
|
17253
17407
|
"classification": "advanced_export",
|
|
17254
17408
|
"kind": "function",
|
|
@@ -26733,13 +26887,19 @@
|
|
|
26733
26887
|
"classification": "supported",
|
|
26734
26888
|
"kind": "interface",
|
|
26735
26889
|
"name": "MergeReceiptEvidenceReport",
|
|
26736
|
-
"signature": "export interface MergeReceiptEvidenceReport { ok: boolean; complete: boolean; count: number; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; receipts: MergeDecisionReceipt[]; generated_at: string; }"
|
|
26890
|
+
"signature": "export interface MergeReceiptEvidenceReport { ok: boolean; complete: boolean; count: number; invalid_evidence_count: number; invalid_evidence: MergeReceiptInvalidEvidence[]; invalid_evidence_truncated: boolean; clone_local_evidence_resolved?: boolean; receipts: MergeDecisionReceipt[]; generated_at: string; }"
|
|
26737
26891
|
},
|
|
26738
26892
|
{
|
|
26739
26893
|
"classification": "supported",
|
|
26740
26894
|
"kind": "interface",
|
|
26741
26895
|
"name": "MergeReceiptEvidenceScan",
|
|
26742
|
-
"signature": "export interface MergeReceiptEvidenceScan { receipts: MergeDecisionReceipt[]; invalid_evidence_count: number; clone_local_evidence_resolved?: boolean; }"
|
|
26896
|
+
"signature": "export interface MergeReceiptEvidenceScan { receipts: MergeDecisionReceipt[]; invalid_evidence_count: number; invalid_evidence: MergeReceiptInvalidEvidence[]; invalid_evidence_truncated: boolean; clone_local_evidence_resolved?: boolean; }"
|
|
26897
|
+
},
|
|
26898
|
+
{
|
|
26899
|
+
"classification": "supported",
|
|
26900
|
+
"kind": "interface",
|
|
26901
|
+
"name": "MergeReceiptInvalidEvidence",
|
|
26902
|
+
"signature": "export interface MergeReceiptInvalidEvidence { evidence_source: \"clone_local\" | \"durable\" | \"clone_local_and_durable\"; reason: \"directory_unreadable\" | \"candidate_not_bounded_regular_file\" | \"candidate_unreadable\" | \"candidate_invalid_json\" | \"schema_or_identity_invalid\" | \"copy_provenance_mismatch\"; receipt_id?: string; candidate_name_hash?: string; }"
|
|
26743
26903
|
},
|
|
26744
26904
|
{
|
|
26745
26905
|
"classification": "supported",
|
|
@@ -26951,6 +27111,12 @@
|
|
|
26951
27111
|
"name": "assertCompleteListResult",
|
|
26952
27112
|
"signature": "(candidate: unknown) => asserts candidate is ListFullResult | calls: (candidate: unknown) => asserts candidate is ListFullResult"
|
|
26953
27113
|
},
|
|
27114
|
+
{
|
|
27115
|
+
"classification": "supported",
|
|
27116
|
+
"kind": "function",
|
|
27117
|
+
"name": "attachContextUsageServingReceipt",
|
|
27118
|
+
"signature": "(result: unknown, receipt: ContextUsageServingReceipt | null) => void | calls: (result: unknown, receipt: ContextUsageServingReceipt | null) => void"
|
|
27119
|
+
},
|
|
26954
27120
|
{
|
|
26955
27121
|
"classification": "supported",
|
|
26956
27122
|
"kind": "interface",
|
|
@@ -27015,7 +27181,7 @@
|
|
|
27015
27181
|
"classification": "supported",
|
|
27016
27182
|
"kind": "interface",
|
|
27017
27183
|
"name": "BuildItemContextRelevanceCandidatesOptions",
|
|
27018
|
-
"signature": "export interface BuildItemContextRelevanceCandidatesOptions { statusRegistry: RuntimeStatusRegistry; now: string; author?: string; usageAffinity?: Readonly<Record<string, number>>; semanticSimilarity?: Readonly<Record<string, number>>; activityDensity?: Readonly<Record<string, number>>; graphProximity?: Readonly<Record<string, number>>; claimFocus?: Readonly<Record<string, number>>; knowledgeDensity?: Readonly<Record<string, number>>; authorAffinity?: Readonly<Record<string, number>>; }"
|
|
27184
|
+
"signature": "export interface BuildItemContextRelevanceCandidatesOptions { statusRegistry: RuntimeStatusRegistry; now: string; author?: string; usageAffinity?: Readonly<Record<string, number>>; semanticSimilarity?: Readonly<Record<string, number>>; activityDensity?: Readonly<Record<string, number>>; graphProximity?: Readonly<Record<string, number>>; claimFocus?: Readonly<Record<string, number>>; knowledgeDensity?: Readonly<Record<string, number>>; authorAffinity?: Readonly<Record<string, number>>; recencyEvidence?: Readonly<Record<string, ContextRecencyEvidence>>; }"
|
|
27019
27185
|
},
|
|
27020
27186
|
{
|
|
27021
27187
|
"classification": "supported",
|
|
@@ -27089,6 +27255,12 @@
|
|
|
27089
27255
|
"name": "classifyImplicitSemanticFallbackReason",
|
|
27090
27256
|
"signature": "(error: unknown) => ImplicitSemanticFallbackReason | calls: (error: unknown) => ImplicitSemanticFallbackReason"
|
|
27091
27257
|
},
|
|
27258
|
+
{
|
|
27259
|
+
"classification": "supported",
|
|
27260
|
+
"kind": "function",
|
|
27261
|
+
"name": "collectContextUsageDeliveredItemIds",
|
|
27262
|
+
"signature": "(result: unknown, surface: ContextRelevanceSurface) => string[] | calls: (result: unknown, surface: ContextRelevanceSurface) => string[]"
|
|
27263
|
+
},
|
|
27092
27264
|
{
|
|
27093
27265
|
"classification": "supported",
|
|
27094
27266
|
"kind": "function",
|
|
@@ -27147,13 +27319,13 @@
|
|
|
27147
27319
|
"classification": "supported",
|
|
27148
27320
|
"kind": "value",
|
|
27149
27321
|
"name": "CONTEXT_SIGNAL_SET_VERSION",
|
|
27150
|
-
"signature": "
|
|
27322
|
+
"signature": "2"
|
|
27151
27323
|
},
|
|
27152
27324
|
{
|
|
27153
27325
|
"classification": "supported",
|
|
27154
27326
|
"kind": "value",
|
|
27155
27327
|
"name": "CONTEXT_SIGNAL_STORE_FORMAT_VERSION",
|
|
27156
|
-
"signature": "
|
|
27328
|
+
"signature": "3"
|
|
27157
27329
|
},
|
|
27158
27330
|
{
|
|
27159
27331
|
"classification": "supported",
|
|
@@ -27303,13 +27475,19 @@
|
|
|
27303
27475
|
"classification": "supported",
|
|
27304
27476
|
"kind": "interface",
|
|
27305
27477
|
"name": "ContextRankingSummary",
|
|
27306
|
-
"signature": "export interface ContextRankingSummary { model: string; available_signals: ContextRelevanceSignalName[]; items: Array<{ id: string; rank: number; baseline_rank: number; score: number; contributions: ContextRelevanceContributions; }>; candidate_count: number; omitted_count: number; feature_store?: { source: \"derived_index\" | \"scan_fallback\"; cache_status: \"fresh\" | \"rebuilt\"; source_cursor: string; generated_at: string; }; }"
|
|
27478
|
+
"signature": "export interface ContextRankingSummary { model: string; available_signals: ContextRelevanceSignalName[]; items: Array<{ id: string; rank: number; baseline_rank: number; score: number; contributions: ContextRelevanceContributions; recency?: ContextRecencyEvidence; }>; candidate_count: number; omitted_count: number; feature_store?: { source: \"derived_index\" | \"scan_fallback\"; cache_status: \"fresh\" | \"rebuilt\"; source_cursor: string; generated_at: string; }; }"
|
|
27479
|
+
},
|
|
27480
|
+
{
|
|
27481
|
+
"classification": "supported",
|
|
27482
|
+
"kind": "interface",
|
|
27483
|
+
"name": "ContextRecencyEvidence",
|
|
27484
|
+
"signature": "export interface ContextRecencyEvidence { source: \"substantive_history\" | \"release_cohort\" | \"created_at\"; coordinate: string; history_op?: string; event_class?: HistoryEventClass; }"
|
|
27307
27485
|
},
|
|
27308
27486
|
{
|
|
27309
27487
|
"classification": "supported",
|
|
27310
27488
|
"kind": "interface",
|
|
27311
27489
|
"name": "ContextRelevanceCandidate",
|
|
27312
|
-
"signature": "export interface ContextRelevanceCandidate<TItem> { id: string; item: TItem; signals?: ContextRelevanceSignals; }"
|
|
27490
|
+
"signature": "export interface ContextRelevanceCandidate<TItem> { id: string; item: TItem; signals?: ContextRelevanceSignals; signal_provenance?: ContextSignalProvenance; }"
|
|
27313
27491
|
},
|
|
27314
27492
|
{
|
|
27315
27493
|
"classification": "supported",
|
|
@@ -27365,17 +27543,23 @@
|
|
|
27365
27543
|
"name": "ContextResult",
|
|
27366
27544
|
"signature": "export interface ContextResult { output_default: \"toon\"; now: string; depth: ContextDepth; sections_included: ContextSectionName[]; window: { anchor: string; start: string | null; end: string | null; past: boolean; from: string | null; to: string | null; }; filters: { type: string | null; tag: string | null; priority: string | null; assignee: string | null; assignee_filter: string | null; sprint: string | null; release: string | null; limit: string | null; parent: string | null; token_budget: number; runtime_filters?: Record<string, unknown>; }; summary: ContextSummary; high_level: ContextFocusItem[]; low_level: ContextFocusItem[]; blocked_fallback: ContextFocusItem[]; agenda: { summary: ContextAgendaSummary; events: ContextAgendaEvent[]; }; hierarchy?: HierarchyNode[]; activity?: CompactActivityEntry[]; progress?: ProgressEntry[]; blockers?: BlockerEntry[]; recently_created?: RecentContextItem[]; unparented?: ContextFocusItem[]; files?: HotFile[]; workload?: WorkloadEntry[]; staleness?: StaleEntry[]; tests?: TestHealthSummary; extension_health?: ContextExtensionHealth; workspace_memory?: { cache_status: \"fresh\" | \"rebuilt\"; source_cursor: string; rollups: WorkspaceMemoryRollup[]; }; suggestions?: string[]; focus_fields?: string[]; warnings?: string[]; warning_details?: ContextSignalStoreReadResult[\"warning_details\"]; ranking?: ContextRankingSummary; packing?: ContextPackingSummary; has_more?: boolean; next_cursor?: string; applied_limit?: number; truncated?: true; }"
|
|
27367
27545
|
},
|
|
27546
|
+
{
|
|
27547
|
+
"classification": "supported",
|
|
27548
|
+
"kind": "interface",
|
|
27549
|
+
"name": "ContextSignalProvenance",
|
|
27550
|
+
"signature": "export interface ContextSignalProvenance { recency: ContextRecencyEvidence; }"
|
|
27551
|
+
},
|
|
27368
27552
|
{
|
|
27369
27553
|
"classification": "supported",
|
|
27370
27554
|
"kind": "interface",
|
|
27371
27555
|
"name": "ContextSignalSnapshot",
|
|
27372
|
-
"signature": "export interface ContextSignalSnapshot { format_version: number; signal_set_version: number; source_cursor: string; generated_at: string; source: ContextSignalSnapshotSource; items: readonly ContextSignalSnapshotItem[]; }"
|
|
27556
|
+
"signature": "export interface ContextSignalSnapshot { format_version: number; signal_set_version: number; source_cursor: string; recency_evidence_fingerprint: string; generated_at: string; source: ContextSignalSnapshotSource; items: readonly ContextSignalSnapshotItem[]; }"
|
|
27373
27557
|
},
|
|
27374
27558
|
{
|
|
27375
27559
|
"classification": "supported",
|
|
27376
27560
|
"kind": "interface",
|
|
27377
27561
|
"name": "ContextSignalSnapshotItem",
|
|
27378
|
-
"signature": "export interface ContextSignalSnapshotItem { id: string; signals: ContextRelevanceSignals; }"
|
|
27562
|
+
"signature": "export interface ContextSignalSnapshotItem { id: string; signals: ContextRelevanceSignals; signal_provenance: ContextSignalProvenance; }"
|
|
27379
27563
|
},
|
|
27380
27564
|
{
|
|
27381
27565
|
"classification": "supported",
|
|
@@ -27411,13 +27595,13 @@
|
|
|
27411
27595
|
"classification": "supported",
|
|
27412
27596
|
"kind": "interface",
|
|
27413
27597
|
"name": "ContextUsageAffinity",
|
|
27414
|
-
"signature": "export interface ContextUsageAffinity { affinity: Record<string, number>; positive_judgments: number; serving_events: number; }"
|
|
27598
|
+
"signature": "export interface ContextUsageAffinity { affinity: Record<string, number>; positive_judgments: number; serving_events: number; untrusted_serving_events: number; }"
|
|
27415
27599
|
},
|
|
27416
27600
|
{
|
|
27417
27601
|
"classification": "supported",
|
|
27418
27602
|
"kind": "type",
|
|
27419
27603
|
"name": "ContextUsageEvent",
|
|
27420
|
-
"signature": "export type ContextUsageEvent = { kind: \"serve\"; at: string; author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; } | { kind: \"touch\"; at: string; author: string; item_id: string; intent: string; };"
|
|
27604
|
+
"signature": "export type ContextUsageEvent = { kind: \"serve\"; schema_version?: 2; serve_id?: string; at: string; author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; result_omitted?: boolean; packed_item_ids?: string[]; delivered_item_ids?: string[]; } | { kind: \"delivery\"; schema_version: 2; serve_id: string; at: string; author: string; surface: ContextRelevanceSurface; result_omitted: boolean; delivered_item_ids: string[]; } | { kind: \"touch\"; at: string; author: string; item_id: string; intent: string; };"
|
|
27421
27605
|
},
|
|
27422
27606
|
{
|
|
27423
27607
|
"classification": "supported",
|
|
@@ -27425,6 +27609,12 @@
|
|
|
27425
27609
|
"name": "ContextUsageLedgerOptions",
|
|
27426
27610
|
"signature": "export interface ContextUsageLedgerOptions { pmRoot: string; enabled?: boolean; maxEvents?: number; retentionDays?: number; now?: string; }"
|
|
27427
27611
|
},
|
|
27612
|
+
{
|
|
27613
|
+
"classification": "supported",
|
|
27614
|
+
"kind": "interface",
|
|
27615
|
+
"name": "ContextUsageServingReceipt",
|
|
27616
|
+
"signature": "export interface ContextUsageServingReceipt { serve_id: string; author: string; surface: ContextRelevanceSurface; rows: readonly ContextUsageServingRow[]; }"
|
|
27617
|
+
},
|
|
27428
27618
|
{
|
|
27429
27619
|
"classification": "supported",
|
|
27430
27620
|
"kind": "interface",
|
|
@@ -27527,6 +27717,12 @@
|
|
|
27527
27717
|
"name": "evaluateContextRanking",
|
|
27528
27718
|
"signature": "(input: ContextRankingEvaluationInput) => ContextRankingEvaluation | calls: (input: ContextRankingEvaluationInput) => ContextRankingEvaluation"
|
|
27529
27719
|
},
|
|
27720
|
+
{
|
|
27721
|
+
"classification": "supported",
|
|
27722
|
+
"kind": "function",
|
|
27723
|
+
"name": "finalizeContextUsageDelivery",
|
|
27724
|
+
"signature": "(options: { pmRoot: string; result: unknown; }) => Promise<boolean> | calls: (options: { pmRoot: string; result: unknown; }) => Promise<boolean>"
|
|
27725
|
+
},
|
|
27530
27726
|
{
|
|
27531
27727
|
"classification": "supported",
|
|
27532
27728
|
"kind": "function",
|
|
@@ -27603,7 +27799,7 @@
|
|
|
27603
27799
|
"classification": "supported",
|
|
27604
27800
|
"kind": "interface",
|
|
27605
27801
|
"name": "ItemContextRelevanceCandidate",
|
|
27606
|
-
"signature": "export interface ItemContextRelevanceCandidate extends ContextRelevanceCandidate<ItemMetadata> { signals: ContextRelevanceSignals; }"
|
|
27802
|
+
"signature": "export interface ItemContextRelevanceCandidate extends ContextRelevanceCandidate<ItemMetadata> { signals: ContextRelevanceSignals; signal_provenance: ContextSignalProvenance; }"
|
|
27607
27803
|
},
|
|
27608
27804
|
{
|
|
27609
27805
|
"classification": "supported",
|
|
@@ -28001,6 +28197,12 @@
|
|
|
28001
28197
|
"name": "projectContextFocusRows",
|
|
28002
28198
|
"signature": "<T extends ContextFocusItem>(rows: T[], fields: string[]) => ContextFocusItem[] | calls: <T extends ContextFocusItem>(rows: T[], fields: string[]) => ContextFocusItem[]"
|
|
28003
28199
|
},
|
|
28200
|
+
{
|
|
28201
|
+
"classification": "supported",
|
|
28202
|
+
"kind": "function",
|
|
28203
|
+
"name": "propagateContextUsageServingReceipt",
|
|
28204
|
+
"signature": "(source: unknown, target: unknown) => void | calls: (source: unknown, target: unknown) => void"
|
|
28205
|
+
},
|
|
28004
28206
|
{
|
|
28005
28207
|
"classification": "supported",
|
|
28006
28208
|
"kind": "value",
|
|
@@ -28091,11 +28293,17 @@
|
|
|
28091
28293
|
"name": "RecentContextItem",
|
|
28092
28294
|
"signature": "export interface RecentContextItem extends ContextFocusItem { created_at?: string; }"
|
|
28093
28295
|
},
|
|
28296
|
+
{
|
|
28297
|
+
"classification": "supported",
|
|
28298
|
+
"kind": "function",
|
|
28299
|
+
"name": "recordContextUsageDelivery",
|
|
28300
|
+
"signature": "(options: ContextUsageLedgerOptions & { receipt: ContextUsageServingReceipt | null; deliveredItemIds: readonly string[]; resultOmitted: boolean; }) => Promise<void> | calls: (options: ContextUsageLedgerOptions & { receipt: ContextUsageServingReceipt | null; deliveredItemIds: readonly string[]; resultOmitted: boolean; }) => Promise<void>"
|
|
28301
|
+
},
|
|
28094
28302
|
{
|
|
28095
28303
|
"classification": "supported",
|
|
28096
28304
|
"kind": "function",
|
|
28097
28305
|
"name": "recordContextUsageServing",
|
|
28098
|
-
"signature": "(options: ContextUsageLedgerOptions & { author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; }) => Promise<
|
|
28306
|
+
"signature": "(options: ContextUsageLedgerOptions & { author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; }) => Promise<ContextUsageServingReceipt | null> | calls: (options: ContextUsageLedgerOptions & { author: string; surface: ContextRelevanceSurface; profile: string; rows: ContextUsageServingRow[]; }) => Promise<ContextUsageServingReceipt | null>"
|
|
28099
28307
|
},
|
|
28100
28308
|
{
|
|
28101
28309
|
"classification": "supported",
|
|
@@ -28673,6 +28881,12 @@
|
|
|
28673
28881
|
"name": "ClaimResult",
|
|
28674
28882
|
"signature": "export interface ClaimResult { item: Record<string, unknown>; claimed_by: string; previous_assignee: string | null; forced: boolean; skipped?: boolean; warnings?: string[]; }"
|
|
28675
28883
|
},
|
|
28884
|
+
{
|
|
28885
|
+
"classification": "advanced_export",
|
|
28886
|
+
"kind": "function",
|
|
28887
|
+
"name": "classifyHistoryEvent",
|
|
28888
|
+
"signature": "(entry: Pick<HistoryEntry, \"event_class\" | \"op\" | \"patch\">) => HistoryEventClass | calls: (entry: Pick<HistoryEntry, \"op\" | \"patch\" | \"event_class\">) => HistoryEventClass"
|
|
28889
|
+
},
|
|
28676
28890
|
{
|
|
28677
28891
|
"classification": "supported",
|
|
28678
28892
|
"kind": "function",
|
|
@@ -29327,6 +29541,12 @@
|
|
|
29327
29541
|
"name": "HierarchyNode",
|
|
29328
29542
|
"signature": "export interface HierarchyNode { id: string; title: string; type: string; status: ItemStatus; children_total: number; children_closed: number; children_open: number; children_in_progress: number; children_blocked: number; children: HierarchyChild[]; }"
|
|
29329
29543
|
},
|
|
29544
|
+
{
|
|
29545
|
+
"classification": "advanced_export",
|
|
29546
|
+
"kind": "value",
|
|
29547
|
+
"name": "HISTORY_EVENT_CLASSIFICATION_VERSION",
|
|
29548
|
+
"signature": "1"
|
|
29549
|
+
},
|
|
29330
29550
|
{
|
|
29331
29551
|
"classification": "advanced_export",
|
|
29332
29552
|
"kind": "function",
|
|
@@ -29339,6 +29559,12 @@
|
|
|
29339
29559
|
"name": "historyCompactBulk",
|
|
29340
29560
|
"signature": "(options: HistoryCompactBulkCommandOptions, clientOptions?: PmClientOptions) => Promise<HistoryCompactBulkResult> | calls: (options: HistoryCompactBulkCommandOptions, clientOptions?: PmClientOptions) => Promise<HistoryCompactBulkResult>"
|
|
29341
29561
|
},
|
|
29562
|
+
{
|
|
29563
|
+
"classification": "advanced_export",
|
|
29564
|
+
"kind": "type",
|
|
29565
|
+
"name": "HistoryEventClass",
|
|
29566
|
+
"signature": "export type HistoryEventClass = \"substantive\" | \"maintenance\";"
|
|
29567
|
+
},
|
|
29342
29568
|
{
|
|
29343
29569
|
"classification": "advanced_export",
|
|
29344
29570
|
"kind": "function",
|
|
@@ -29645,6 +29871,12 @@
|
|
|
29645
29871
|
"name": "LogNote",
|
|
29646
29872
|
"signature": "export interface LogNote { created_at: string; author: string; text: string; format?: \"json\"; data?: StructuredJsonValue; event_type?: string; }"
|
|
29647
29873
|
},
|
|
29874
|
+
{
|
|
29875
|
+
"classification": "advanced_export",
|
|
29876
|
+
"kind": "value",
|
|
29877
|
+
"name": "MAINTENANCE_HISTORY_OPERATIONS",
|
|
29878
|
+
"signature": "readonly [\"docs_add\", \"files_add\", \"history:author-acknowledge\", \"history_author_acknowledge\", \"history_compact\", \"history_compact_baseline\", \"history_redact\", \"history_repair\", \"normalize\", \"release\", \"test_run_track\", \"tests_add\", \"tests_remove\", \"update_audit\", \"update_ownership_bypass\"]"
|
|
29879
|
+
},
|
|
29648
29880
|
{
|
|
29649
29881
|
"classification": "supported",
|
|
29650
29882
|
"kind": "function",
|
|
@@ -31037,6 +31269,12 @@
|
|
|
31037
31269
|
"name": "STATUS_VALUES",
|
|
31038
31270
|
"signature": "readonly [\"draft\", \"open\", \"in_progress\", \"blocked\", \"closed\", \"canceled\"]"
|
|
31039
31271
|
},
|
|
31272
|
+
{
|
|
31273
|
+
"classification": "advanced_export",
|
|
31274
|
+
"kind": "value",
|
|
31275
|
+
"name": "SUBSTANTIVE_HISTORY_OPERATIONS",
|
|
31276
|
+
"signature": "readonly [\"append\", \"cancel\", \"claim\", \"close\", \"comment_add\", \"create\", \"learning_add\", \"note_add\", \"reopen\"]"
|
|
31277
|
+
},
|
|
31040
31278
|
{
|
|
31041
31279
|
"classification": "advanced_export",
|
|
31042
31280
|
"kind": "interface",
|
|
@@ -32029,6 +32267,7 @@
|
|
|
32029
32267
|
"history_merge_conflict_markers_detected",
|
|
32030
32268
|
"history_stream_over_compact_threshold",
|
|
32031
32269
|
"history_target_out_of_range",
|
|
32270
|
+
"history_timestamp_invalid",
|
|
32032
32271
|
"history_unknown_author_events",
|
|
32033
32272
|
"host_environment_capacity_fault",
|
|
32034
32273
|
"host_environment_operation_invalid",
|
|
@@ -32095,6 +32334,7 @@
|
|
|
32095
32334
|
"merge_decisions_unreviewed",
|
|
32096
32335
|
"merge_git_config_unwritable",
|
|
32097
32336
|
"merge_receipt_evidence_invalid",
|
|
32337
|
+
"merge_receipt_history_reference_missing",
|
|
32098
32338
|
"merge_receipts_pending",
|
|
32099
32339
|
"merge_reconcile_receipt_evidence_untrusted",
|
|
32100
32340
|
"merge_root_not_found",
|