@unbrained/pm-cli 2026.8.27 → 2026.8.28

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.
Files changed (105) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +25 -1
  3. package/dist/cli/error-guidance.js +61 -7
  4. package/dist/cli/register-annotations.js +58 -41
  5. package/dist/cli-bundle/bundle-manifest.json +121 -121
  6. package/dist/cli-bundle/chunks/{chunk-SH6P7FXI.js → chunk-BY2FQ2NI.js} +2 -2
  7. package/dist/cli-bundle/chunks/{chunk-TNX6HC54.js → chunk-E73FDIWT.js} +2 -2
  8. package/dist/cli-bundle/chunks/{chunk-SHMDY36D.js → chunk-FEVBFFCQ.js} +2 -2
  9. package/dist/cli-bundle/chunks/{chunk-CVBBGWW5.js → chunk-M7OXRQE3.js} +10 -6
  10. package/dist/cli-bundle/chunks/{chunk-R4ETAOJC.js → chunk-NBCBFVZI.js} +2 -2
  11. package/dist/cli-bundle/chunks/{chunk-SKXLJIEK.js → chunk-NTXZHRKA.js} +45 -45
  12. package/dist/cli-bundle/chunks/{chunk-52EKTW6V.js → chunk-QE6WQXFO.js} +2 -2
  13. package/dist/cli-bundle/chunks/{chunk-MFNTKMTI.js → chunk-TIQ6AMH2.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-X2RROGZE.js +2 -0
  15. package/dist/cli-bundle/chunks/{chunk-OS27HHBN.js → chunk-XRVVYRRO.js} +28 -28
  16. package/dist/cli-bundle/chunks/{chunk-3OO3W6FW.js → chunk-XWEQGHHG.js} +2 -2
  17. package/dist/cli-bundle/chunks/{register-list-query-EUWM6VII.js → register-list-query-J35ZPQQ5.js} +2 -2
  18. package/dist/cli-bundle/chunks/{register-mutation-FD4HSAVU.js → register-mutation-J6XJJOGU.js} +4 -4
  19. package/dist/cli-bundle/chunks/{register-operations-HRMNFEC3.js → register-operations-AE3JEMFT.js} +2 -2
  20. package/dist/cli-bundle/chunks/{register-setup-33GNICLX.js → register-setup-OQERLLWE.js} +2 -2
  21. package/dist/cli-bundle/focused-chunks/{chunk-4BR5UU52.js → chunk-4ZDRZYYJ.js} +41 -41
  22. package/dist/cli-bundle/focused-chunks/{chunk-MXTYGECH.js → chunk-AHAM2HAU.js} +2 -2
  23. package/dist/cli-bundle/focused-chunks/{chunk-SUBSWYW3.js → chunk-JZYPPMXF.js} +2 -2
  24. package/dist/cli-bundle/focused-chunks/chunk-LLNTHF5X.js +2 -0
  25. package/dist/cli-bundle/focused-chunks/chunk-LYFWQMVC.js +2 -0
  26. package/dist/cli-bundle/focused-chunks/{chunk-EKX37ZHA.js → chunk-THEPQMLX.js} +2 -2
  27. package/dist/cli-bundle/focused-chunks/chunk-YJLDHJOD.js +2 -0
  28. package/dist/cli-bundle/main.js +14 -14
  29. package/dist/cli-bundle/sdk-authoring.js +1 -1
  30. package/dist/cli-bundle/sdk-contracts.js +2 -2
  31. package/dist/cli-bundle/sdk-core.js +26 -26
  32. package/dist/cli-bundle/sdk-governance.js +1 -1
  33. package/dist/cli-bundle/sdk-merge.js +20 -20
  34. package/dist/cli-bundle/sdk-query.js +1 -1
  35. package/dist/cli-bundle/sdk-runtime.js +1 -1
  36. package/dist/cli-bundle/sdk-testing.js +1 -1
  37. package/dist/cli-bundle/sdk.js +10 -10
  38. package/dist/mcp/tool-definitions.js +5 -5
  39. package/dist/sdk/agent/command-recovery.js +3 -3
  40. package/dist/sdk/agent/task-transcript-contracts.d.ts +52 -0
  41. package/dist/sdk/agent/task-transcript-contracts.js +198 -0
  42. package/dist/sdk/annotations.d.ts +5 -2
  43. package/dist/sdk/annotations.js +66 -36
  44. package/dist/sdk/cli-bootstrap.d.ts +2 -8
  45. package/dist/sdk/cli-bootstrap.js +7 -67
  46. package/dist/sdk/cli-contracts/bootstrap-command-scanner.d.ts +23 -0
  47. package/dist/sdk/cli-contracts/bootstrap-command-scanner.js +80 -0
  48. package/dist/sdk/cli-contracts/flag-contracts.js +5 -2
  49. package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +5 -5
  50. package/dist/sdk/cli-contracts/tool-parameter-tables.js +15 -2
  51. package/dist/sdk/cli-contracts/tool-schema.d.ts +1 -1
  52. package/dist/sdk/cli-contracts/tool-schema.js +16 -3
  53. package/dist/sdk/comments.d.ts +4 -0
  54. package/dist/sdk/comments.js +2 -2
  55. package/dist/sdk/completion.js +9 -5
  56. package/dist/sdk/contracts.d.ts +1 -0
  57. package/dist/sdk/contracts.js +3 -2
  58. package/dist/sdk/extension/install-sources.d.ts +13 -0
  59. package/dist/sdk/extension/install-sources.js +62 -30
  60. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +26 -2
  61. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +26 -14
  62. package/dist/sdk/index.d.ts +1 -0
  63. package/dist/sdk/index.js +3 -2
  64. package/dist/sdk/learnings.d.ts +4 -0
  65. package/dist/sdk/learnings.js +7 -4
  66. package/dist/sdk/lifecycle/close.js +4 -3
  67. package/dist/sdk/notes.d.ts +4 -0
  68. package/dist/sdk/notes.js +2 -2
  69. package/dist/sdk/runtime-input.js +5 -2
  70. package/dist/sdk/runtime.d.ts +6 -6
  71. package/dist/sdk/runtime.js +8 -8
  72. package/docs/COMMANDS.md +4 -3
  73. package/docs/OUTPUT_TOKEN_ACCOUNTING.md +20 -7
  74. package/docs/RELEASING.md +9 -1
  75. package/docs/SDK.md +12 -0
  76. package/docs/SDK_CONTEXT_INTEGRITY.md +12 -1
  77. package/docs/SDK_RUNTIME_BOUNDARIES.md +10 -0
  78. package/docs/TESTING.md +6 -2
  79. package/docs/agent-task-token-baseline.json +97 -11
  80. package/docs/agent-task-transcripts.json +211 -0
  81. package/docs/generated/FLAG_LEXICON_BUDGETS.md +3 -3
  82. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +6 -3
  83. package/docs/performance/cli-transport-overhead.md +10 -2
  84. package/marketplace.json +2 -2
  85. package/package.json +2 -2
  86. package/packages/pm-beads/package.json +1 -1
  87. package/packages/pm-calendar/package.json +1 -1
  88. package/packages/pm-command-kit/package.json +1 -1
  89. package/packages/pm-digital-twin/package.json +1 -1
  90. package/packages/pm-governance-audit/package.json +1 -1
  91. package/packages/pm-guide-shell/package.json +1 -1
  92. package/packages/pm-kanban/package.json +1 -1
  93. package/packages/pm-lifecycle-hooks/package.json +1 -1
  94. package/packages/pm-linked-test-adapters/package.json +1 -1
  95. package/packages/pm-search-advanced/package.json +1 -1
  96. package/packages/pm-templates/package.json +1 -1
  97. package/packages/pm-todos/package.json +1 -1
  98. package/packages/pm-vcs/package.json +1 -1
  99. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  100. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  101. package/sdk/public-surface.json +197 -25
  102. package/dist/cli-bundle/chunks/chunk-QTO7USTH.js +0 -2
  103. package/dist/cli-bundle/focused-chunks/chunk-2AGZ5BRT.js +0 -2
  104. package/dist/cli-bundle/focused-chunks/chunk-AQ5IYEZZ.js +0 -2
  105. package/dist/cli-bundle/focused-chunks/chunk-YHWHX6YY.js +0 -2
@@ -1,2 +1,2 @@
1
- import{A as ne,Ab as $e,B as de,Bb as Be,C as oe,Cb as Ce,D as ae,Db as De,E as ue,Eb as Ne,F as se,Fb as Oe,G as fe,Ga as he,Gb as Ue,Ha as we,Hb as Pe,Ia as ge,Ib as je,Jb as Fe,Kb as qe,Lb as _,Mb as He,Nb as l,Sa as ke,Ta as Ae,Ua as Ee,aa as pe,ba as ce,c as N,ca as _e,d as O,da as le,e as U,ea as ve,f as P,fa as xe,g as j,ga as me,h as F,ha as be,i as q,ia as ye,j as z,k as J,l as W,m as Z,n as G,o as H,p as V,q as Y,r as K,s as X,t as L,u as Q,v as M,w as ee,wb as Re,x as ie,xb as Se,y as te,yb as Te,z as re,zb as Ie}from"./focused-chunks/chunk-4BR5UU52.js";import"./focused-chunks/chunk-Y3JJXRVK.js";import"./focused-chunks/chunk-EKX37ZHA.js";import"./focused-chunks/chunk-AQ5IYEZZ.js";import"./focused-chunks/chunk-FC2AXLB5.js";import{Aa as k,Ba as A,Ca as E,Ea as R,Fa as S,Ga as T,Ha as I,Ia as $,Ja as B,Ka as C,La as D,Va as ze,Wa as Je,Xa as We,Ya as Ze,Za as Ge,xa as h,ya as w,za as g}from"./focused-chunks/chunk-YVVZ3LQ6.js";import"./focused-chunks/chunk-HVQ22RC4.js";import"./focused-chunks/chunk-YHWHX6YY.js";import{$ as c}from"./focused-chunks/chunk-XDPYBQCF.js";import"./focused-chunks/chunk-AD6ULRAF.js";import"./focused-chunks/chunk-6GCRSLPG.js";import"./focused-chunks/chunk-Z2USIBR2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3edb1f4f-d26e-51a8-b62a-caffdd3ac44b")}catch{}})();var v=["captured_redacted","captured_verbatim"],x=[{label:"home directory",pattern:/(?:\/home\/|\/Users\/)[^/\s"']+/u},{label:"GitHub token",pattern:/\b(?:gh[oprsu]_[A-Za-z0-9_]{20,})\b/u},{label:"npm token",pattern:/\bnpm_[A-Za-z0-9]{20,}\b/u},{label:"private key",pattern:/-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----/u}];function n(e){return typeof e=="string"&&e.trim().length>0}function m(e,i){if(typeof i!="object"||i===null||Array.isArray(i))return[{boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} must contain a JSON object.`}];let t=i,r=[];t.boundary_id!==e.id&&r.push({boundary_id:e.id,kind:"fixture_boundary_mismatch",detail:`${e.fixture_path} names ${String(t.boundary_id)} instead of ${e.id}.`}),(t.version!==1||!v.includes(t.capture_source)||!n(t.capture_provenance)||!Array.isArray(t.redactions)||!t.redactions.every(n)||!("input"in t)||!("observed"in t))&&r.push({boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} lacks captured provenance, redaction metadata, input, or observed output.`});let o=JSON.stringify(i);for(let s of x)s.pattern.test(o)&&r.push({boundary_id:e.id,kind:"unsafe_fixture",detail:`${e.fixture_path} contains a possible ${s.label}.`});return r}function b(e,i){let t=Date.parse(e.waiver_expires_at),r=n(e.waiver_reason)&&n(e.waiver_owner)&&e.waiver_expires_at.endsWith("Z")&&c(e.waiver_expires_at)&&Number.isFinite(t);return{captured:0,waived:r&&t>=i?1:0,findings:r?t<i?[{boundary_id:e.id,kind:"expired_waiver",detail:`Boundary ${e.id} waiver expired at ${e.waiver_expires_at}.`}]:[]:[{boundary_id:e.id,kind:"invalid_waiver",detail:`Boundary ${e.id} waiver requires reason, owner, and an RFC 3339 UTC expiry.`}]}}function y(e,i,t){if(!n(e.id)||!n(e.producer)||!n(e.consumer)||!n(e.format))return{captured:0,waived:0,findings:[{boundary_id:n(e.id)?e.id:"unknown",kind:"invalid_boundary",detail:"Each boundary requires non-empty id, producer, consumer, and format."}]};if("fixture_path"in e){let r=i[e.fixture_path],o=n(e.fixture_path)&&e.fixture_path in i?m(e,r):[{boundary_id:e.id,kind:"missing_fixture",detail:`Boundary ${e.id} fixture ${String(e.fixture_path)} is missing.`}];return{captured:o.length===0?1:0,waived:0,findings:o}}return b(e,t)}function Ye(e,i,t=new Date){let r=[];if(e.version!==1||!n(e.inventory_scope)||!Array.isArray(e.boundaries))return{ok:!1,boundary_count:0,captured_count:0,waived_count:0,findings:[{boundary_id:"registry",kind:"invalid_registry",detail:"Boundary registry requires version 1, inventory_scope, and boundaries."}]};let o=new Set,s=0,p=0;for(let d of e.boundaries){if(typeof d!="object"||d===null||Array.isArray(d)){r.push({boundary_id:"unknown",kind:"invalid_boundary",detail:"Each boundary must be a JSON object."});continue}let a=d,u=n(a.id)?a.id:void 0;if(u!==void 0&&o.has(u)){r.push({boundary_id:u,kind:"duplicate_boundary",detail:`Boundary ${u} is inventoried more than once.`});continue}u!==void 0&&o.add(u);let f=y(a,i,t.getTime());s+=f.captured,p+=f.waived,r.push(...f.findings)}return r.sort((d,a)=>d.boundary_id!==a.boundary_id?d.boundary_id.localeCompare(a.boundary_id):d.kind.localeCompare(a.kind)),{ok:r.length===0,boundary_count:e.boundaries.length,captured_count:s,waived_count:p,findings:r}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c2063b82-58b6-54c9-baff-ca252cadf463")}catch{}})();export{Pe as ASSURANCE_ACTIONS,je as ASSURANCE_DECLARATION_KINDS,F as ASSURANCE_DOCUMENT_VERSION,q as ASSURANCE_GATE_TRIGGERS,z as ASSURANCE_MEASUREMENT_SOURCE_KINDS,ne as ASSURANCE_PRESET_IDS,O as AssuranceEvaluationRefusalError,N as AssuranceMutationRefusalError,U as AssuranceSourceResolutionError,v as BOUNDARY_FIXTURE_CAPTURE_SOURCES,$e as DEFECT_ESCAPE_CLASSES,Be as DEFECT_GATE_EVIDENCE_DISPOSITIONS,pe as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,h as PM_MUTATION_ACTION_CONTRACTS,Ae as _testOnlyHealthCommand,Je as _testOnlySimilarity,Se as _testOnlyValidateCommand,ue as acceptAssuranceProposals,ye as acknowledgeUnknownAuthorHistoryEvents,be as acknowledgeUnknownAuthorHistoryEventsFromTransport,De as analyzeDefectChangeRisk,oe as applyAssurancePreset,J as assuranceAssertionUpdateIsLoosening,Ce as buildDefectRecurrenceIndex,ce as classifyHistoryAuthorEvent,de as createAssurancePreset,Ie as createAssuranceWorkspaceContext,V as createEmptyAssuranceDocument,ae as deriveAssuranceProposals,K as evaluateAssuranceAssertion,X as evaluateAssuranceGate,Ye as evaluateBoundaryFixtures,Ne as evaluateDefectGateEvidence,Y as evaluateMeasurement,g as evaluateMutationGuard,Ge as evaluateSimilarityGovernance,Ze as findDuplicateClusters,We as findSimilarItems,Q as getAssuranceDeclaration,E as getMutationActionContract,_e as inspectHistoryAuthorStream,C as inspectStaleInProgressItems,k as isMutationAction,R as jaccardSimilarity,L as listAssuranceDeclarations,re as listAssuranceVerdicts,we as listInvalidProvenanceHistoryStreamIds,A as listMutationActions,j as normalizeAssuranceEvaluation,P as normalizeAssuranceMutation,he as normalizeInvalidHistoryProvenance,S as normalizeSimilarityText,Ue as parseDefectChangeRiskRequest,Oe as parseDefectRecurrencePolicy,me as parseUnknownAuthorHistoryEventCoordinates,ve as planUnknownAuthorHistoryAcknowledgment,I as prepareSimilarityText,Re as projectValidateCounts,se as promoteAssuranceAssertion,M as putAssuranceDeclaration,ee as putAssuranceDeclarationBundle,te as recordAssuranceVerdict,ie as removeAssuranceDeclaration,xe as resolveUnknownAuthorAcknowledgmentSelector,Fe as runAssuranceAction,qe as runAssuranceDispatch,He as runGc,ke as runHealth,l as runReindex,_ as runUpgrade,Te as runValidate,fe as scanExtensionHostVersions,le as scanHistoryAuthorAttribution,w as scanMutationSecrets,ge as scanProvenanceResolverHealth,D as scanStaleInProgressItems,Ee as scanStorageIntegrity,$ as scoreItemSimilarity,B as scorePreparedItemSimilarity,ze as similarityAdvisoryWarnings,T as tokenizeSimilarityText,Z as validateAssertionDefinition,H as validateAssuranceDocument,G as validateGateDefinition,W as validateMeasurementDefinition};
1
+ import{A as ne,Ab as $e,B as de,Bb as Be,C as oe,Cb as Ce,D as ae,Db as De,E as ue,Eb as Ne,F as se,Fb as Oe,G as fe,Ga as he,Gb as Ue,Ha as we,Hb as Pe,Ia as ge,Ib as je,Jb as Fe,Kb as qe,Lb as _,Mb as He,Nb as l,Sa as ke,Ta as Ae,Ua as Ee,aa as pe,ba as ce,c as N,ca as _e,d as O,da as le,e as U,ea as ve,f as P,fa as xe,g as j,ga as me,h as F,ha as be,i as q,ia as ye,j as z,k as J,l as W,m as Z,n as G,o as H,p as V,q as Y,r as K,s as X,t as L,u as Q,v as M,w as ee,wb as Re,x as ie,xb as Se,y as te,yb as Te,z as re,zb as Ie}from"./focused-chunks/chunk-4ZDRZYYJ.js";import"./focused-chunks/chunk-Y3JJXRVK.js";import"./focused-chunks/chunk-THEPQMLX.js";import"./focused-chunks/chunk-LYFWQMVC.js";import"./focused-chunks/chunk-FC2AXLB5.js";import{Aa as k,Ba as A,Ca as E,Ea as R,Fa as S,Ga as T,Ha as I,Ia as $,Ja as B,Ka as C,La as D,Va as ze,Wa as Je,Xa as We,Ya as Ze,Za as Ge,xa as h,ya as w,za as g}from"./focused-chunks/chunk-YVVZ3LQ6.js";import"./focused-chunks/chunk-HVQ22RC4.js";import"./focused-chunks/chunk-LLNTHF5X.js";import{$ as c}from"./focused-chunks/chunk-XDPYBQCF.js";import"./focused-chunks/chunk-AD6ULRAF.js";import"./focused-chunks/chunk-6GCRSLPG.js";import"./focused-chunks/chunk-Z2USIBR2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="3edb1f4f-d26e-51a8-b62a-caffdd3ac44b")}catch{}})();var v=["captured_redacted","captured_verbatim"],x=[{label:"home directory",pattern:/(?:\/home\/|\/Users\/)[^/\s"']+/u},{label:"GitHub token",pattern:/\b(?:gh[oprsu]_[A-Za-z0-9_]{20,})\b/u},{label:"npm token",pattern:/\bnpm_[A-Za-z0-9]{20,}\b/u},{label:"private key",pattern:/-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----/u}];function n(e){return typeof e=="string"&&e.trim().length>0}function m(e,i){if(typeof i!="object"||i===null||Array.isArray(i))return[{boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} must contain a JSON object.`}];let t=i,r=[];t.boundary_id!==e.id&&r.push({boundary_id:e.id,kind:"fixture_boundary_mismatch",detail:`${e.fixture_path} names ${String(t.boundary_id)} instead of ${e.id}.`}),(t.version!==1||!v.includes(t.capture_source)||!n(t.capture_provenance)||!Array.isArray(t.redactions)||!t.redactions.every(n)||!("input"in t)||!("observed"in t))&&r.push({boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} lacks captured provenance, redaction metadata, input, or observed output.`});let o=JSON.stringify(i);for(let s of x)s.pattern.test(o)&&r.push({boundary_id:e.id,kind:"unsafe_fixture",detail:`${e.fixture_path} contains a possible ${s.label}.`});return r}function b(e,i){let t=Date.parse(e.waiver_expires_at),r=n(e.waiver_reason)&&n(e.waiver_owner)&&e.waiver_expires_at.endsWith("Z")&&c(e.waiver_expires_at)&&Number.isFinite(t);return{captured:0,waived:r&&t>=i?1:0,findings:r?t<i?[{boundary_id:e.id,kind:"expired_waiver",detail:`Boundary ${e.id} waiver expired at ${e.waiver_expires_at}.`}]:[]:[{boundary_id:e.id,kind:"invalid_waiver",detail:`Boundary ${e.id} waiver requires reason, owner, and an RFC 3339 UTC expiry.`}]}}function y(e,i,t){if(!n(e.id)||!n(e.producer)||!n(e.consumer)||!n(e.format))return{captured:0,waived:0,findings:[{boundary_id:n(e.id)?e.id:"unknown",kind:"invalid_boundary",detail:"Each boundary requires non-empty id, producer, consumer, and format."}]};if("fixture_path"in e){let r=i[e.fixture_path],o=n(e.fixture_path)&&e.fixture_path in i?m(e,r):[{boundary_id:e.id,kind:"missing_fixture",detail:`Boundary ${e.id} fixture ${String(e.fixture_path)} is missing.`}];return{captured:o.length===0?1:0,waived:0,findings:o}}return b(e,t)}function Ye(e,i,t=new Date){let r=[];if(e.version!==1||!n(e.inventory_scope)||!Array.isArray(e.boundaries))return{ok:!1,boundary_count:0,captured_count:0,waived_count:0,findings:[{boundary_id:"registry",kind:"invalid_registry",detail:"Boundary registry requires version 1, inventory_scope, and boundaries."}]};let o=new Set,s=0,p=0;for(let d of e.boundaries){if(typeof d!="object"||d===null||Array.isArray(d)){r.push({boundary_id:"unknown",kind:"invalid_boundary",detail:"Each boundary must be a JSON object."});continue}let a=d,u=n(a.id)?a.id:void 0;if(u!==void 0&&o.has(u)){r.push({boundary_id:u,kind:"duplicate_boundary",detail:`Boundary ${u} is inventoried more than once.`});continue}u!==void 0&&o.add(u);let f=y(a,i,t.getTime());s+=f.captured,p+=f.waived,r.push(...f.findings)}return r.sort((d,a)=>d.boundary_id!==a.boundary_id?d.boundary_id.localeCompare(a.boundary_id):d.kind.localeCompare(a.kind)),{ok:r.length===0,boundary_count:e.boundaries.length,captured_count:s,waived_count:p,findings:r}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="c2063b82-58b6-54c9-baff-ca252cadf463")}catch{}})();export{Pe as ASSURANCE_ACTIONS,je as ASSURANCE_DECLARATION_KINDS,F as ASSURANCE_DOCUMENT_VERSION,q as ASSURANCE_GATE_TRIGGERS,z as ASSURANCE_MEASUREMENT_SOURCE_KINDS,ne as ASSURANCE_PRESET_IDS,O as AssuranceEvaluationRefusalError,N as AssuranceMutationRefusalError,U as AssuranceSourceResolutionError,v as BOUNDARY_FIXTURE_CAPTURE_SOURCES,$e as DEFECT_ESCAPE_CLASSES,Be as DEFECT_GATE_EVIDENCE_DISPOSITIONS,pe as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,h as PM_MUTATION_ACTION_CONTRACTS,Ae as _testOnlyHealthCommand,Je as _testOnlySimilarity,Se as _testOnlyValidateCommand,ue as acceptAssuranceProposals,ye as acknowledgeUnknownAuthorHistoryEvents,be as acknowledgeUnknownAuthorHistoryEventsFromTransport,De as analyzeDefectChangeRisk,oe as applyAssurancePreset,J as assuranceAssertionUpdateIsLoosening,Ce as buildDefectRecurrenceIndex,ce as classifyHistoryAuthorEvent,de as createAssurancePreset,Ie as createAssuranceWorkspaceContext,V as createEmptyAssuranceDocument,ae as deriveAssuranceProposals,K as evaluateAssuranceAssertion,X as evaluateAssuranceGate,Ye as evaluateBoundaryFixtures,Ne as evaluateDefectGateEvidence,Y as evaluateMeasurement,g as evaluateMutationGuard,Ge as evaluateSimilarityGovernance,Ze as findDuplicateClusters,We as findSimilarItems,Q as getAssuranceDeclaration,E as getMutationActionContract,_e as inspectHistoryAuthorStream,C as inspectStaleInProgressItems,k as isMutationAction,R as jaccardSimilarity,L as listAssuranceDeclarations,re as listAssuranceVerdicts,we as listInvalidProvenanceHistoryStreamIds,A as listMutationActions,j as normalizeAssuranceEvaluation,P as normalizeAssuranceMutation,he as normalizeInvalidHistoryProvenance,S as normalizeSimilarityText,Ue as parseDefectChangeRiskRequest,Oe as parseDefectRecurrencePolicy,me as parseUnknownAuthorHistoryEventCoordinates,ve as planUnknownAuthorHistoryAcknowledgment,I as prepareSimilarityText,Re as projectValidateCounts,se as promoteAssuranceAssertion,M as putAssuranceDeclaration,ee as putAssuranceDeclarationBundle,te as recordAssuranceVerdict,ie as removeAssuranceDeclaration,xe as resolveUnknownAuthorAcknowledgmentSelector,Fe as runAssuranceAction,qe as runAssuranceDispatch,He as runGc,ke as runHealth,l as runReindex,_ as runUpgrade,Te as runValidate,fe as scanExtensionHostVersions,le as scanHistoryAuthorAttribution,w as scanMutationSecrets,ge as scanProvenanceResolverHealth,D as scanStaleInProgressItems,Ee as scanStorageIntegrity,$ as scoreItemSimilarity,B as scorePreparedItemSimilarity,ze as similarityAdvisoryWarnings,T as tokenizeSimilarityText,Z as validateAssertionDefinition,H as validateAssuranceDocument,G as validateGateDefinition,W as validateMeasurementDefinition};
2
2
  //# sourceMappingURL=sdk-governance.js.map