@unbrained/pm-cli 2026.8.24 → 2026.8.25

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 (95) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +13 -0
  3. package/dist/cli-bundle/bundle-manifest.json +152 -152
  4. package/dist/cli-bundle/chunks/{chunk-ZAVCS2GH.js → chunk-244MI4GS.js} +3 -3
  5. package/dist/cli-bundle/chunks/{chunk-NXBFO63A.js → chunk-2F3LUFMW.js} +2 -2
  6. package/dist/cli-bundle/chunks/{chunk-DJNJBWAQ.js → chunk-5I5RWIJC.js} +2 -2
  7. package/dist/cli-bundle/chunks/{chunk-X7WWQDYQ.js → chunk-65MHLHAA.js} +2 -2
  8. package/dist/cli-bundle/chunks/chunk-6C7GIMIL.js +13 -0
  9. package/dist/cli-bundle/chunks/{chunk-IW72J5FW.js → chunk-OWHNAR2B.js} +2 -2
  10. package/dist/cli-bundle/chunks/{chunk-TEQDR5KI.js → chunk-QKGMHGEI.js} +62 -62
  11. package/dist/cli-bundle/chunks/{chunk-L22NP5MA.js → chunk-QLUORNIB.js} +86 -86
  12. package/dist/cli-bundle/chunks/{chunk-AGUL3HUT.js → chunk-T2ENPRXF.js} +2 -2
  13. package/dist/cli-bundle/chunks/{chunk-I5Q7QSZX.js → chunk-TPQIBSL2.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-YQMYF3YD.js +35 -0
  15. package/dist/cli-bundle/chunks/{register-list-query-37A4P6O4.js → register-list-query-XVN2ZLI7.js} +2 -2
  16. package/dist/cli-bundle/chunks/{register-mutation-TBJDHYIT.js → register-mutation-QCKAEGIJ.js} +3 -3
  17. package/dist/cli-bundle/chunks/{register-operations-WRZNEBUM.js → register-operations-SDEAXE7E.js} +2 -2
  18. package/dist/cli-bundle/chunks/{register-setup-H4PDLACD.js → register-setup-LXVBRCJ3.js} +2 -2
  19. package/dist/cli-bundle/focused-chunks/{chunk-CWCN5RLO.js → chunk-2UIWOP3O.js} +2 -2
  20. package/dist/cli-bundle/focused-chunks/chunk-42S3GGZ7.js +50 -0
  21. package/dist/cli-bundle/focused-chunks/{chunk-BFA6KKCI.js → chunk-7I23XGWO.js} +2 -2
  22. package/dist/cli-bundle/focused-chunks/{chunk-6Z24ZMU3.js → chunk-7YCDTCBC.js} +2 -2
  23. package/dist/cli-bundle/focused-chunks/{chunk-O4ZXNJMT.js → chunk-A644DUFQ.js} +2 -2
  24. package/dist/cli-bundle/focused-chunks/{chunk-4WP7LNE3.js → chunk-GQR3WH3F.js} +2 -2
  25. package/dist/cli-bundle/focused-chunks/{chunk-RASVBJX5.js → chunk-H5JZEIQV.js} +2 -2
  26. package/dist/cli-bundle/focused-chunks/chunk-IBZZZGK3.js +2 -0
  27. package/dist/cli-bundle/focused-chunks/chunk-LMKG3DFE.js +5 -0
  28. package/dist/cli-bundle/focused-chunks/{chunk-6MUTDXMP.js → chunk-N7W67YIG.js} +2 -2
  29. package/dist/cli-bundle/focused-chunks/{chunk-IMWTYKII.js → chunk-NOOZGIXP.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/{chunk-WZLSSGEU.js → chunk-OHIHZ7HS.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/chunk-ONYQCALA.js +19 -0
  32. package/dist/cli-bundle/focused-chunks/{chunk-QBP5FSBX.js → chunk-OVJL6NZE.js} +2 -2
  33. package/dist/cli-bundle/focused-chunks/chunk-RAFKLNZX.js +16 -0
  34. package/dist/cli-bundle/focused-chunks/{chunk-GJR6YEMR.js → chunk-VXWATRFL.js} +2 -2
  35. package/dist/cli-bundle/focused-chunks/{chunk-IZNRRCU3.js → chunk-XUQPEKRN.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-MNPECIRL.js → chunk-YO3ZF3FI.js} +2 -2
  37. package/dist/cli-bundle/main.js +2 -2
  38. package/dist/cli-bundle/sdk-authoring.js +1 -1
  39. package/dist/cli-bundle/sdk-contracts.js +2 -2
  40. package/dist/cli-bundle/sdk-core.js +41 -41
  41. package/dist/cli-bundle/sdk-governance.js +1 -1
  42. package/dist/cli-bundle/sdk-graph.js +1 -1
  43. package/dist/cli-bundle/sdk-merge.js +32 -33
  44. package/dist/cli-bundle/sdk-query.js +1 -1
  45. package/dist/cli-bundle/sdk-runtime.js +1 -1
  46. package/dist/cli-bundle/sdk-testing.js +1 -1
  47. package/dist/cli-bundle/sdk.js +5 -5
  48. package/dist/core/diagnostics/remediation.js +17 -2
  49. package/dist/sdk/cli-contracts/runtime-contracts.d.ts +10 -0
  50. package/dist/sdk/cli-contracts/runtime-contracts.js +20 -3
  51. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +49 -25
  52. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +26 -2
  53. package/dist/sdk/governance/health.js +98 -11
  54. package/dist/sdk/governance/validate.js +15 -9
  55. package/dist/sdk/history-repair.d.ts +24 -0
  56. package/dist/sdk/history-repair.js +145 -4
  57. package/dist/sdk/merge/driver.js +25 -4
  58. package/dist/sdk/merge/receipt-file-boundary.d.ts +21 -0
  59. package/dist/sdk/merge/receipt-file-boundary.js +47 -0
  60. package/dist/sdk/merge/receipts.d.ts +24 -1
  61. package/dist/sdk/merge/receipts.js +342 -36
  62. package/dist/sdk/merge/reconcile.js +117 -47
  63. package/dist/sdk/read-output/continuation.d.ts +15 -2
  64. package/dist/sdk/read-output/continuation.js +86 -6
  65. package/dist/sdk/read-output-contracts.d.ts +4 -1
  66. package/dist/sdk/read-output-contracts.js +9 -6
  67. package/docs/MERGE_SAFETY.md +34 -5
  68. package/docs/OUTPUT_PROJECTION_CONTRACTS.md +13 -1
  69. package/docs/READ_OUTPUT_CONTRACTS.md +25 -2
  70. package/docs/generated/REFUSAL_CLOSURE_CENSUS.md +7 -3
  71. package/marketplace.json +2 -2
  72. package/package.json +1 -1
  73. package/packages/pm-beads/package.json +1 -1
  74. package/packages/pm-calendar/package.json +1 -1
  75. package/packages/pm-command-kit/package.json +1 -1
  76. package/packages/pm-digital-twin/package.json +1 -1
  77. package/packages/pm-governance-audit/package.json +1 -1
  78. package/packages/pm-guide-shell/package.json +1 -1
  79. package/packages/pm-kanban/package.json +1 -1
  80. package/packages/pm-lifecycle-hooks/package.json +1 -1
  81. package/packages/pm-linked-test-adapters/package.json +1 -1
  82. package/packages/pm-search-advanced/package.json +1 -1
  83. package/packages/pm-templates/package.json +1 -1
  84. package/packages/pm-todos/package.json +1 -1
  85. package/packages/pm-vcs/package.json +1 -1
  86. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  87. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  88. package/sdk/public-surface.json +136 -15
  89. package/dist/cli-bundle/chunks/chunk-MKE6MD2K.js +0 -36
  90. package/dist/cli-bundle/chunks/chunk-YOLLRCLY.js +0 -13
  91. package/dist/cli-bundle/focused-chunks/chunk-FCTT4CZU.js +0 -5
  92. package/dist/cli-bundle/focused-chunks/chunk-Q63PSLO4.js +0 -2
  93. package/dist/cli-bundle/focused-chunks/chunk-QV5UP27O.js +0 -51
  94. package/dist/cli-bundle/focused-chunks/chunk-RPRLENVA.js +0 -16
  95. package/dist/cli-bundle/focused-chunks/chunk-TOFVXBWA.js +0 -19
@@ -1,7 +1,7 @@
1
- import{A as lm,B as um,C as IO,D as NO,a as Wn,b as Kn,c as Xn,d as Yn,e as TO,f as yO,g as em,h as tm,i as rm,k as nm,l as om,m as im,n as sm,o as am,p as dm,q as cm,r as pm,s as CO,t as AO,u as EO,v as bO,w as SO,x as OO,y as RO,z as xO}from"./chunks/chunk-X7WWQDYQ.js";import{A as fR,B as hR,C as gR,D as TR,E as yR,F as CR,G as AR,H as ER,I as bR,J as SR,K as OR,L as RR,M as xR,N as IR,O as NR,P as wR,Q as kR,R as vR,S as PR,T as MR,U as LR,V as DR,W as FR,X as GR,Y as $R,a as HO,b as zO,c as VO,d as WO,e as KO,f as XO,g as YO,h as qO,i as JO,j as ZO,k as QO,l as eR,m as tR,n as rR,o as nR,p as oR,q as iR,r as sR,s as aR,t as dR,u as cR,v as pR,w as lR,x as uR,y as _R,z as mR}from"./chunks/chunk-NXBFO63A.js";import{a as wO,b as kO,c as vO,d as PO}from"./chunks/chunk-I5Q7QSZX.js";import{a as MO,b as LO,c as DO,d as FO,e as GO,f as $O,g as UO,h as jO,i as BO}from"./chunks/chunk-IW72J5FW.js";import{$ as zS,$a as pu,$b as f_,A as uA,Aa as eO,Ab as Bu,Ac as B_,B as Hd,Ba as tO,Bb as Hu,Bc as H_,C as Mc,Ca as rO,Cb as zu,Cc as z_,D as Lc,Da as nO,Db as Vu,Dc as V_,E as Dc,Ea as jl,Eb as Wu,Ec as W_,F as Fc,Fa as Bl,Fb as Ku,Fc as K_,G as Gc,Ga as Hl,Gb as Xu,Gc as X_,H as ap,Ha as zl,Hb as Yu,Hc as Y_,I as re,Ia as Vl,Ib as qu,Ic as q_,J as dp,Ja as Wl,Jb as Ju,Jc as J_,K as cp,Ka as Kl,Kb as Zu,Kc as Z_,L as pp,La as Xl,Lb as Qu,Lc as Q_,M as lp,Ma as Yl,Mb as e_,N as up,Na as ql,Nb as t_,O as _p,Oa as Jl,Ob as r_,P as vS,Pa as Zl,Pb as n_,Q as PS,Qa as Ql,Qb as o_,R as MS,Ra as eu,Rb as i_,S as LS,Sa as tu,Sb as s_,T as DS,Ta as ru,Tb as a_,U as FS,Ua as nu,Ub as d_,V as GS,Va as ou,Vb as c_,W as $S,Wa as iu,Wb as p_,X as US,Xa as su,Xb as l_,Y as jS,Ya as au,Yb as u_,Z as BS,Za as du,Zb as __,_ as HS,_a as cu,_b as m_,a as bs,aa as Le,ab as lu,ac as h_,b as Ss,ba as De,bb as uu,bc as g_,c as Os,ca as Fe,cb as _u,cc as T_,d as $C,da as Ge,db as Ke,dc as y_,e as UC,ea as $e,eb as G,ec as C_,f as xs,fa as Ue,fb as Au,fc as A_,g as KC,ga as je,gb as Eu,gc as E_,h as XC,ha as Be,hb as bu,hc as b_,i as YC,ia as He,ib as Su,ic as S_,j as qC,ja as ze,jb as Ou,jc as O_,k as JC,ka as Ve,kb as Ru,kc as R_,l as ZC,la as Hp,lb as xu,lc as x_,m as QC,ma as zp,mb as Iu,mc as I_,n as eA,na as Vp,nb as Nu,nc as N_,o as tA,oa as Wp,ob as wu,oc as w_,p as rA,pa as Kp,pb as ku,pc as k_,q as nA,qa as ne,qb as vu,qc as v_,r as oA,ra as Xp,rb as Pu,rc as P_,s as iA,sa as Yp,sb as Mu,sc as M_,t as sA,ta as qp,tb as Lu,tc as L_,u as vs,ua as Jp,ub as Du,uc as D_,v as aA,va as Zp,vb as Fu,vc as F_,w as dA,wa as Qp,wb as Gu,wc as G_,x as cA,xa as el,xb as $u,xc as $_,y as pA,ya as tl,yb as Uu,yc as U_,z as lA,za as QS,zb as ju,zc as j_}from"./chunks/chunk-L22NP5MA.js";import{a as Me,f as gS,g as TS,h as hp,i as gp}from"./chunks/chunk-AGUL3HUT.js";import{A as wS,B as kS,C as Ip,D as Np,E as wp,b as Bd,c as ab,d as sS,e as pS,f as lS,g as uS,h as _S,i as mS,j as mp,k as fS,l as Sp,m as Op,n as Rp,o as xp,p as yS,q as CS,r as AS,s as ES,t as bS,u as SS,v as OS,w as RS,x as xS,y as IS,z as NS}from"./chunks/chunk-DJNJBWAQ.js";import{$a as $d,$b as Kc,$c as ul,A as YA,Aa as ud,Ab as wc,Ac as ZS,Ad as xl,B as qA,Ba as _d,Bb as kc,Bc as Mp,Bd as Il,C as JA,Ca as md,Cb as Kb,Cc as Lp,Cd as Nl,D as ZA,Da as fd,Db as Xb,Dc as Dp,Dd as wl,Ea as hd,Eb as Yb,Ec as Fp,Ed as kl,F as iE,Fa as gd,Fb as qb,Fc as Gp,Fd as gO,Ga as Td,Gb as Jb,Gc as $p,Gd as vl,Ha as yd,Hb as vc,Hc as Up,Hd as Pl,Ia as Cd,Ib as Pc,Ic as jp,Id as Ml,Ja as Ad,Jb as Zb,Jc as Bp,Jd as Ll,K as Ia,Ka as Ed,Kb as Qb,Kc as rl,Kd as Dl,La as bd,Lb as eS,Lc as oO,Ld as Fl,Ma as Sd,Mb as tS,Mc as We,Md as Gl,Na as Od,Nb as rS,Nc as iO,Nd as $l,Oa as Rd,Ob as nS,Oc as nl,Od as Ul,Pa as xd,Pb as oS,Pc as oe,Pd as mu,Qa as Id,Qb as iS,Qc as ol,Qd as fu,Ra as Nd,Rd as hu,Sa as wd,Sb as $c,Sd as gu,Ta as kd,Tb as Uc,Tc as il,Td as Tu,Ua as vd,Ub as aS,Uc as sl,Ud as yu,Va as Pd,Vb as jc,Vc as al,Vd as Cu,Wa as Md,Wb as Bc,Xa as Ld,Xb as Hc,Xc as dl,Ya as Dd,Yb as zc,Yc as cl,Za as Fd,Zb as Vc,Zc as pl,_a as Gd,_b as Wc,_c as ll,a as bA,aa as sE,ab as Ud,ac as Xc,ad as sO,b as SA,ba as aE,bb as OE,bc as Yc,bd as aO,c as OA,ca as Na,cb as RE,cc as qc,cd as dO,d as RA,da as wa,db as xE,dc as Jc,dd as cO,e as xA,ea as ka,eb as IE,ec as Zc,ed as pO,f as IA,fa as va,fb as NE,fc as Qc,fd as lO,g as NA,ga as Pa,gb as wE,gc as ep,gd as uO,h as wA,ha as Ma,hb as kE,hc as tp,hd as _O,i as kA,ia as La,ib as vE,ic as rp,id as mO,j as vA,ja as gE,jb as PE,jc as np,jd as fO,k as PA,ka as TE,kb as ME,kc as op,kd as hO,l as MA,la as yE,lb as LE,lc as dS,m as LA,ma as CE,mb as DE,mc as cS,md as _l,n as DA,nb as zd,nc as ip,nd as ml,o as FA,oa as AE,ob as Vd,od as fl,p as GA,pb as Wd,pd as hl,q as $A,qa as EE,qb as Kd,qd as gl,r as UA,ra as bE,rb as Xd,rc as sp,rd as Tl,s as jA,sa as id,sd as yl,t as BA,ta as sd,tb as Yd,tc as hS,td as Cl,u as HA,ua as SE,ub as qd,uc as fp,ud as Al,v as zA,va as ad,vb as Jd,vc as kp,vd as El,w as VA,wa as dd,wb as Zd,wc as vp,wd as bl,x as WA,xa as cd,xb as Qd,xc as Pp,xd as Sl,y as KA,ya as pd,yb as Ic,yc as qS,yd as Ol,z as XA,za as ld,zb as Nc,zc as JS,zd as Rl}from"./chunks/chunk-MKE6MD2K.js";import{Aa as Za,Ba as Qa,Ca as ed,Da as td,Ea as rd,Fa as nd,Ga as od,H as za,Ha as Tp,I as Va,Ia as yp,J as Wa,Ja as Cp,K as Ka,Ka as Ap,L as xe,La as Ep,Ma as bp,a as VC,b as WC,c as Is,d as Ns,f as ws,g as ks,h as dE,i as cE,j as pE,k as lE,l as uE,m as _E,n as mE,o as fE,oa as Ie,p as Da,pa as Ne,q as Fa,qa as we,r as Ga,ra as ke,s as $a,sa as Xa,t as Ua,u as hE,ua as Ya,v as ja,va as qa,w as Ba,wa as Ja,x as Ha}from"./chunks/chunk-ZAVCS2GH.js";import{$ as Zs,$a as ZE,$b as ac,Aa as Oa,Ab as yb,Ac as VS,B as Ps,Ba as Ra,Bb as Cb,Bc as WS,C as QA,Ca as xa,Cb as Ab,Cc as KS,D as eE,Db as Eb,Dc as XS,E as tE,Ea as FE,Eb as bb,Ec as YS,F as rE,Fa as GE,Fb as Sb,G as nE,Ga as $E,Gb as Ob,H as Ms,Ha as UE,Hb as Rb,I as Ls,Ia as jE,Ib as xb,J as Ds,Ja as BE,Jb as Ib,K as Fs,Ka as HE,Kb as Nb,L as Gs,La as zE,Lb as wb,M as $s,Ma as VE,Mb as kb,N as Us,Na as WE,Nb as vb,O as js,Oa as KE,Ob as Pb,P as Bs,Pb as Mb,Q as Hs,Qb as Lb,R as zs,Rb as Db,S as te,Sb as Fb,T as Vs,Tb as Gb,U as Ws,Ub as $b,V as Ks,Vb as Ub,W as Xs,Wb as jb,X as oE,Xa as XE,Xb as Bb,Y as Ys,Ya as YE,Yb as oc,Z as qs,Za as qE,Zb as ic,_ as Js,_a as JE,_b as sc,a as wC,aa as Qs,ab as QE,ac as dc,b as kC,ba as ea,bc as cc,c as vC,ca as ta,cc as ve,d as PC,da as ra,db as eb,dc as pc,e as MC,ea as na,eb as tb,ec as lc,fa as oa,fb as rb,fc as uc,ga as ia,gb as nb,gc as _c,h as LC,ha as sa,hb as ob,hc as mc,i as DC,ia as aa,ib,ic as fc,j as Rs,ja as da,jb as sb,jc as hc,k as FC,ka as ca,kb as jd,kc as gc,l as GC,la as pa,lb as ec,lc as Tc,m as jC,ma as la,mb as tc,mc as yc,n as BC,na as ua,nb as rc,nc as Cc,o as HC,oa as _a,ob as nc,oc as Ac,p as zC,pa as ma,pb as db,pc as Ec,q as _A,qa as fa,qb as cb,qc as bc,r as mA,ra as ha,rb as pb,rc as Sc,s as fA,sa as ga,sb as lb,sc as Oc,t as hA,ta as Ta,tb as ub,tc as Pe,u as gA,ua as ya,ub as _b,uc as Rc,v as TA,va as Ca,vb as mb,vc as Hb,w as yA,wa as Aa,wb as fb,wc as zb,x as CA,xa as Ea,xb as hb,xc as Vb,y as AA,ya as ba,yb as gb,yc as xc,z as EA,za as Sa,zb as Tb,zc as Wb}from"./chunks/chunk-YOLLRCLY.js";import{$ as Uf,$c as Kh,$e as Wg,$f as aT,$g as YT,$h as yy,$i as tC,$j as mo,$k as ei,$l as es,Ac as xh,Ad as lg,Af as Br,Ag as MT,Aj as _C,Ak as xC,Al as xi,B as If,Bc as Ih,Bd as Wt,Bf as Hr,Bg as LT,Bh as sy,Bj as mC,Bk as IC,Bl as Ii,C,Cc as Nh,Ce as br,Cf as zr,Ch as ay,Ci as Dy,Cj as fC,Ck as NC,Cl as Ni,D as Nf,Dc as wh,Dd as ug,De as Sr,Df as Vr,Dg as DT,Dh as dy,Dk as wo,Dl as wi,E as K,Ec as kh,Ed as _g,Ee as Or,Ef as Wr,Eg as FT,Eh as cy,Ei as Fy,Ek as ko,El as ki,Fc as vh,Fd as mg,Ff as Kr,Fh as py,Fk as vo,Fl as vi,G as wf,Gc as Ph,Gd as Kt,Ge as Og,Gf as Xr,Gj as Se,Gk as Po,Gl as Pi,H as kf,Hc as Mh,Hd as Xt,He as Rg,Hf as Yr,Hg as GT,Hj as hC,Hk as Mo,Hl as Mi,Ic as Bt,Id as Yt,Ie as xg,If as qr,Ig as $T,Ii as Gy,Ij as gC,Ik as Lo,Il as Li,Ja as Jf,Jc as Lh,Jd as qt,Je as Ig,Jf as Jr,Jg as UT,Ji as $y,Jj as TC,Jk as Do,Jl as Di,K as vf,Ka as Zf,Kb as ph,Kc as Ht,Kd as Jt,Ke as Ng,Kf as Zr,Kg as jT,Ki as Uy,Kj as qn,Kk as Fo,Kl as Fi,La as Qf,Lb as Dt,Ld as Zt,Le as wg,Lf as Qr,Lg as BT,Li as jy,Lj as Jn,Lk as Go,Ll as Gi,Mb as Ft,Mc as Dh,Md as Qt,Me as kg,Mf as en,Mg as pn,Mi as By,Mj as Zn,Mk as $o,Ml as $i,N as Pf,Nc as Fh,Nd as fg,Ne as vg,Nf as tn,Ng as ln,Nj as Qn,Nk as Uo,Nl as Ui,O as ge,Oa as wt,Ob as F,Oc as Gh,Od as hg,Oe as Pg,Of as rn,Oi as Hy,Oj as eo,Ok as jo,Ol as ji,Pa as eh,Pb as lh,Pc as $h,Pe as Mg,Pf as nn,Pi as zy,Pj as to,Pk as Bo,Pl as Bi,Q as Te,Qa as th,Qc as Uh,Qd as er,Qe as Lg,Qf as on,Qh as ly,Qi as Vy,Qj as ro,Qk as Ho,Ql as Hi,R as At,Ra as rh,Rb as uh,Rc as Ae,Rd as tr,Re as Dg,Rf as sn,Rg as HT,Rh as uy,Ri as Wy,Rj as no,Rk as zo,Rl as zi,S as Et,Sa as nh,Sc as jh,Sd as gg,Se as Fg,Sf as an,Sg as zT,Sh as _y,Si as Ky,Sj as oo,Sk as Vo,Sl as Vi,T as ye,Tb as _h,Tc as Bh,Td as rr,Te as Gg,Tf as dn,Tg as VT,Th as my,Ti as Xy,Tj as io,Tk as Wo,Tl as Wi,U as Mf,Ua as kt,Uc as Hh,Ud as nr,Ue as $g,Uf as cn,Ug as WT,Uh as fy,Ui as Yy,Uj as so,Uk as Ko,Ul as Ki,Va as vt,Vd as Tg,Ve as Ug,Vf as tT,Vh as hy,Vi as qy,Vj as ao,Vk as Xo,Vl as Xi,W as Lf,Wa as X,Wc as zh,Wd as or,We as jg,Wf as rT,Wg as KT,Wi as Jy,Wj as co,Wk as Yo,Wl as Yi,X as Df,Xc as Vh,Xd as ir,Xe as Bg,Xf as nT,Xg as XT,Xi as Zy,Xj as po,Xk as qo,Xl as qi,Y as Ff,Yd as sr,Ye as Hg,Yf as oT,Yh as gy,Yi as be,Yj as lo,Yk as Jo,Yl as Ji,Z as Gf,Za as Pt,Zc as zt,Zd as ar,Ze as zg,Zf as iT,Zh as Ty,Zi as Qy,Zj as uo,Zk as Zo,Zl as Zi,_ as $f,_a as Mt,_c as Wh,_e as Vg,_f as sT,_h as On,_i as eC,_j as _o,_k as Qo,_l as Qi,aa as jf,ab as Lt,ad as Xh,af as Kg,ag as dT,ah as qT,ai as Cy,aj as rC,ak as fo,al as ti,am as ts,ba as Bf,bd as Yh,bf as Xg,bg as cT,bh as JT,bi as Ay,bj as nC,bk as ho,bl as ri,bm as rs,c as gt,ca as Hf,cd as qh,cf as Yg,cg as pT,ch as ZT,ci as Ey,cj as oC,ck as go,cl as ni,cm as ns,da as zf,dd as Jh,de as yg,df as qg,dg as lT,dh as un,di as Ee,dj as iC,dk as To,dl as oi,dm as os,e as he,ec as mh,ed as Zh,ee as Cg,ef as Jg,eg as uT,eh as _n,ei as by,ej as sC,ek as yo,el as ii,em as is,f as Tt,fa as Vf,fc as fh,fd as Qh,fe as Ag,ff as Zg,fg as _T,fh as mn,fi as Sy,fj as aC,fk as Co,fl as si,fm as ss,g as yt,ga as Wf,gc as hh,gd as eg,ge as dr,gf as Qg,gg as mT,gh as fn,gi as Oy,gj as vn,gk as Ao,gl as ai,gm as as,h as Ct,ha as Kf,hd as tg,he as cr,hf as eT,hg as fT,hh as hn,hi as Ry,hj as Pn,hk as Eo,hl as di,hm as ds,ia as Xf,ic as gh,ie as pr,if as Rr,ig as hT,ih as gn,ij as Mn,ik as bo,il as ci,im as cs,j as Ef,ja as Yf,jc as Th,jd as rg,je as lr,jf as xr,jg as gT,jh as Tn,ji as xy,jj as Ln,jk as So,jl as pi,jm as ps,k as bf,ka as qf,kd as ng,ke as ur,kf as Ir,kg as TT,kh as yn,ki as Iy,kj as Dn,kk as Oo,kl as li,l as Sf,la as bt,lc as yh,le as _r,lf as Nr,lg as yT,lh as Cn,li as Ny,lj as Fn,lk as Ro,ll as ui,lm as ee,ma as St,mc as Gt,md as og,me as mr,mf as wr,mg as CT,mh as An,mi as wy,mk as xo,ml as _i,mm as k,na as Ot,nd as ig,ne as fr,nf as kr,ng as AT,nh as QT,ni as Rn,nj as Gn,nk as Io,nl as mi,nm as ls,oc as $t,od as sg,oe as hr,of as vr,og as ET,oi as xn,oj as $n,ok as No,ol as fi,om as us,pc as Ut,pd as ag,pe as gr,pf as Pr,pg as bT,ph as En,pi as In,pj as Un,pk as yC,pl as hi,pm as _s,qd as dg,qe as Tr,qf as Mr,qg as ST,qh as bn,qi as Nn,qj as jn,qk as CC,ql as gi,qm as ms,ra as Rt,rb as oh,rd as cg,re as yr,rf as Lr,rg as OT,rh as Sn,ri as wn,rj as Bn,rk as Z,rl as Ti,rm as fs,s as Of,sb as Y,sc as Ch,se as Cr,sf as Dr,sg as RT,si as kn,sj as Hn,sk as AC,sl as yi,sm as hs,ta as xt,tb as Ce,tc as Ah,te as Ar,tf as q,tg as xT,th as ey,ti as ky,tj as zn,tk as EC,tl as Ci,tm as gs,u as Rf,ua as It,ub as ih,uc as Eh,ue as Er,uf as J,ug as IT,uh as ty,uj as Vn,uk as bC,ul as Ai,um as Ts,va as Nt,vb as sh,vc as bh,ve as Eg,vf as Fr,vg as NT,vh as ry,vi as vy,vj as dC,vk as Oe,vl as Ei,vm as ys,wb as ah,wc as Sh,we as bg,wf as Gr,wg as wT,wh as ny,wi as Py,wj as cC,wk as Q,wl as bi,wm as Cs,x as xf,xb as dh,xc as Oh,xd as pg,xe as Sg,xf as $r,xg as kT,xh as oy,xi as My,xj as pC,xk as SC,xl as Si,xm as As,yb as A,yc as Rh,yf as Ur,yg as vT,yj as lC,yk as OC,yl as Oi,ym as Es,zb as ch,zc as jt,zd as Vt,zf as jr,zg as PT,zh as iy,zi as Ly,zj as uC,zk as RC,zl as Ri,zm as Re}from"./chunks/chunk-TEQDR5KI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cc0d4dd1-20e8-59d4-acb5-9f8ed639d35f")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fa4eb88d-f50e-59fa-be7f-0cfb42931a73")}catch{}})();var g="https://schema.unbrained.dev/pm/corpus-shape/v1";function E(e,t){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError(`Corpus shape ${t} must be a positive safe integer`);return e}function v(e,t){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Corpus shape ${t} must be a non-negative safe integer`);return e}function Ye(e){if(!(typeof e!="object"||e===null||Object.isFrozen(e))){for(let t of Object.values(e))Ye(t);Object.freeze(e)}}function b(e){if(e.schema!==g)throw new TypeError(`Unsupported corpus shape schema: ${e.schema}`);if(e.name.trim().length===0||e.description.trim().length===0)throw new TypeError("Corpus shape name and description must be non-empty");if(E(e.hierarchy_depth,"hierarchy_depth"),E(e.hierarchy_fanout,"hierarchy_fanout"),v(e.age_span_days,"age_span_days"),E(e.history_entries_per_item,"history_entries_per_item"),v(e.comments_per_100_items,"comments_per_100_items"),v(e.notes_per_100_items,"notes_per_100_items"),v(e.learnings_per_100_items,"learnings_per_100_items"),E(e.author_cardinality,"author_cardinality"),E(e.component_count,"component_count"),e.edge_kind_mix.length===0||e.edge_kind_mix.some(r=>r.kind.trim().length===0||r.weight<=0))throw new TypeError("Corpus shape edge_kind_mix requires non-empty kinds with positive weights");if(e.terminal_statuses.some(r=>!e.custom_statuses.includes(r)))throw new TypeError("Corpus shape terminal_statuses must be declared in custom_statuses");let t=structuredClone(e);return Ye(t),t}var $=[{kind:"implements",weight:5},{kind:"blocked_by",weight:2},{kind:"discovered_from",weight:2},{kind:"verifies",weight:2},{kind:"supersedes",weight:1},{kind:"related",weight:4}],S=Object.freeze({scratch:b({schema:g,name:"scratch",description:"Seconds-old, shallow project with minimal history.",hierarchy_depth:2,hierarchy_fanout:50,age_span_days:0,history_entries_per_item:1,comments_per_100_items:2,notes_per_100_items:1,learnings_per_100_items:1,edge_kind_mix:[{kind:"related",weight:1}],author_cardinality:2,component_count:1,include_cycles:!1,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),representative:b({schema:g,name:"representative",description:"Medium-lived project with rich evidence and typed lineage.",hierarchy_depth:5,hierarchy_fanout:8,age_span_days:730,history_entries_per_item:12,comments_per_100_items:30,notes_per_100_items:12,learnings_per_100_items:10,edge_kind_mix:$,author_cardinality:32,component_count:1,include_cycles:!1,custom_types:["Experiment"],custom_statuses:["review"],terminal_statuses:[],custom_fields:["domain"]}),"deep-graph":b({schema:g,name:"deep-graph",description:"Deep typed relationship graph with deterministic cycles.",hierarchy_depth:16,hierarchy_fanout:2,age_span_days:3650,history_entries_per_item:6,comments_per_100_items:15,notes_per_100_items:8,learnings_per_100_items:8,edge_kind_mix:$,author_cardinality:16,component_count:1,include_cycles:!0,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),"multi-decade":b({schema:g,name:"multi-decade",description:"Thirty-year event history with dense per-item evolution.",hierarchy_depth:6,hierarchy_fanout:6,age_span_days:10958,history_entries_per_item:24,comments_per_100_items:40,notes_per_100_items:20,learnings_per_100_items:16,edge_kind_mix:$,author_cardinality:64,component_count:1,include_cycles:!1,custom_types:["Program"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["portfolio"]}),"disconnected-archive":b({schema:g,name:"disconnected-archive",description:"Multiple disconnected historical project components.",hierarchy_depth:4,hierarchy_fanout:10,age_span_days:7305,history_entries_per_item:8,comments_per_100_items:10,notes_per_100_items:5,learnings_per_100_items:6,edge_kind_mix:$,author_cardinality:24,component_count:5,include_cycles:!1,custom_types:["Archive"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["archive_source"]})});function _m(){return Object.keys(S).sort().map(e=>S[e])}function mm(e){let t=e.trim().toLowerCase();if(!Object.hasOwn(S,t))throw new TypeError(`Unknown corpus shape "${e}". Available: ${Object.keys(S).join(", ")}`);return S[t]}var Xe=new WeakMap;function qe(e,t){if(e===0)return[];let r=Xe.get(t);r===void 0&&(r=t.edge_kind_mix.flatMap(n=>Array.from({length:n.weight},()=>n.kind)),Xe.set(t,r));let o=[r[e%r.length]];return t.include_cycles&&e>2&&e%17===0&&o.push("related"),[...new Set(o)]}function fm(e,t,r,o=42){if(v(t,"item index"),E(r,"item count"),t>=r)throw new RangeError(`Corpus item index ${t} exceeds ${r}`);let n=Math.min(e.component_count,r),i=t%n,s=Math.floor(t/n),d=0,a=1;for(let D=0;D<e.hierarchy_depth;D+=1)d=Math.min(Number.MAX_SAFE_INTEGER,d+a),a=Math.min(Number.MAX_SAFE_INTEGER,a*e.hierarchy_fanout);let c=s%d,p=s-c,l=c===0?void 0:i+(p+Math.floor((c-1)/e.hierarchy_fanout))*n,u=Date.UTC(2026,0,1),f=e.age_span_days*864e5,N=new Date(u+(r===1?0:Math.round(t/(r-1)*f))).toISOString(),w=(t*37+o)%100;return{index:t,id:`pm-s${t.toString(36).padStart(7,"0")}`,...l===void 0?{}:{parent:`pm-s${l.toString(36).padStart(7,"0")}`},component:i,timestamp:N,author:`pm-corpus-agent-${(t+o)%Math.min(e.author_cardinality,r)}`,history_entry_count:e.history_entries_per_item,dependency_kinds:qe(t,e),has_comment:w<e.comments_per_100_items,has_note:w<e.notes_per_100_items,has_learning:w<e.learnings_per_100_items,...e.custom_types.length>0&&t%11===0?{custom_type:e.custom_types[t%e.custom_types.length]}:{},...e.custom_statuses.length>0&&t%13===0?{custom_status:e.custom_statuses[t%e.custom_statuses.length]}:{}}}var ie=class{shape;authors=new Set;components=new Set;depths=new Map;childCounts=new Map;edgeKinds={};expectedEdgeKinds={};annotations={comments:0,notes:0,learnings:0};annotationFields;planMismatches=[];itemCount=0;observedDepth=0;observedFanout=0;historyEntryCount=0;firstTimestamp=null;lastTimestamp=null;constructor(t){this.shape=t,this.annotationFields=[["comments","has_comment",t.comments_per_100_items],["notes","has_note",t.notes_per_100_items],["learnings","has_learning",t.learnings_per_100_items]]}recordMismatch(t,r){t&&this.planMismatches.push(r)}recordEdgeKinds(t,r){for(let o of r)t[o]=(t[o]??0)+1}add(t){this.itemCount+=1,this.authors.add(t.author),this.components.add(t.component),this.recordMismatch(this.depths.has(t.id),`duplicate_id:${t.id}`);let r=1;if(t.parent!==void 0){let o=this.depths.get(t.parent);this.recordMismatch(o===void 0,`parent_missing:${t.parent}`),r=(o??0)+1;let n=(this.childCounts.get(t.parent)??0)+1;this.childCounts.set(t.parent,n),this.observedFanout=Math.max(this.observedFanout,n)}this.depths.set(t.id,r),this.observedDepth=Math.max(this.observedDepth,r),this.historyEntryCount+=t.history_entry_count,this.recordMismatch(t.history_entry_count!==this.shape.history_entries_per_item,"history_entries_per_item:drift"),this.firstTimestamp=this.firstTimestamp===null||t.timestamp<this.firstTimestamp?t.timestamp:this.firstTimestamp,this.lastTimestamp=this.lastTimestamp===null||t.timestamp>this.lastTimestamp?t.timestamp:this.lastTimestamp;for(let[o,n]of this.annotationFields)this.annotations[o]+=Number(t[n]);this.recordEdgeKinds(this.edgeKinds,t.dependency_kinds),this.recordEdgeKinds(this.expectedEdgeKinds,qe(t.index,this.shape))}finish(){let t=Math.min(this.shape.author_cardinality,this.itemCount),r=Math.min(this.shape.component_count,this.itemCount),o=[...this.planMismatches,...this.itemCount===0?["item_count:empty"]:[],...this.authors.size===t?[]:[`author_count:${this.authors.size}!=${t}`],...this.components.size===r?[]:[`component_count:${this.components.size}!=${r}`],...this.observedDepth<=this.shape.hierarchy_depth?[]:[`hierarchy_depth:${this.observedDepth}>${this.shape.hierarchy_depth}`],...this.observedFanout<=this.shape.hierarchy_fanout?[]:[`hierarchy_fanout:${this.observedFanout}>${this.shape.hierarchy_fanout}`]];for(let[s,,d]of this.annotationFields){let a=Math.floor(this.itemCount/100),c=this.itemCount%100,p=a*d+Math.max(0,d+c-100),l=a*d+Math.min(d,c),u=this.annotations[s];(u<p||u>l)&&o.push(`${s}:${u}!in[${p},${l}]`)}let n=new Set([...Object.keys(this.edgeKinds),...Object.keys(this.expectedEdgeKinds)]);for(let s of[...n].sort()){let d=this.edgeKinds[s]??0,a=this.expectedEdgeKinds[s]??0;d!==a&&o.push(`edge_kind:${s}:${d}!=${a}`)}let i=[...new Set(o)];return{shape:this.shape.name,item_count:this.itemCount,author_count:this.authors.size,component_count:this.components.size,hierarchy_depth:this.observedDepth,hierarchy_fanout:this.observedFanout,timestamp_range:{first:this.firstTimestamp,last:this.lastTimestamp},history_entry_count:this.historyEntryCount,annotations:{...this.annotations},edge_kinds:{...this.edgeKinds},matches_declaration:i.length===0,mismatches:i}}};function Je(e){return new ie(e)}function hm(e,t){let r=Je(e);for(let o of t)r.add(o);return r.finish()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cea03617-5e90-5683-a9d1-289087ed4646")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c9a34bd-b77a-55ab-a5d1-3594cecfeb3f")}catch{}})();async function gm(){let e=X(process.cwd(),process.env.PM_PATH);await Ee(e,(t,r)=>be(t,r,{apply_runtime_defaults:!0}))}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f48b9002-59dc-54d3-95de-36bf0d11b39a")}catch{}})();var Ze="https://schema.unbrained.dev/pm/workspace-recipe/v1";function se(e,t){if(e===null||typeof e=="boolean"||typeof e=="string")return e;if(typeof e=="number"){if(!Number.isFinite(e))throw new Error(`Workspace recipe JSON number must be finite at ${t}`);return e}if(Array.isArray(e))return Object.freeze(e.map((r,o)=>se(r,`${t}[${o}]`)));if(typeof e!="object"||Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==null)throw new Error(`Workspace recipe input must contain JSON values at ${t}`);return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,o])=>[r,se(o,`${t}.${r}`)])))}function Qe(e){if(e.schema!==Ze)throw new Error(`Unsupported workspace recipe schema: ${e.schema}`);let t=ge(e);if(e.operations.some(r=>r.action.trim().length===0||r.input===null||Array.isArray(r.input)))throw new Error("Workspace recipe operations require an action and object input");return Object.freeze({...t,operations:Object.freeze(e.operations.map((r,o)=>Object.freeze({action:r.action,input:se(r.input,`operations[${o}].input`)})))})}async function et(e,t){let r=Qe(e);return Te(r,t)}async function Tm(e,t){return et(e,async()=>{let r=[];for(let[o,n]of e.operations.entries())r.push(await t(n,o));return r})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a108f4d2-80c3-540e-821c-5acdf68eb7fa")}catch{}})();async function ym(){await Se()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="340305b6-e3c8-5daa-bfbe-4a9c62a6d039")}catch{}})();var tt=["lines","branches","functions","statements"];function Cm(e,t){if(typeof t!="object"||t===null||Array.isArray(t))throw new TypeError(`Coverage entry for ${e} must be an object.`)}function Am(e,t,r){if(typeof r!="object"||r===null||Array.isArray(r))throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);let o=r;if(typeof o.covered!="number"||typeof o.total!="number"||!Number.isInteger(o.covered)||!Number.isInteger(o.total)||o.covered<0||o.total<o.covered)throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);return{covered:o.covered,total:o.total}}function Em(e){if(typeof e!="object"||e===null||Array.isArray(e))throw new TypeError("Coverage summary must be a JSON object.");if(!("total"in e))throw new TypeError("Coverage summary is missing the total entry.");let t=[];for(let[r,o]of Object.entries(e)){Cm(r,o);for(let n of tt){let i=Am(r,n,o[n]),s=i.total-i.covered;s>0&&t.push({file:r,metric:n,uncovered:s,...i})}}return t}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3edb1f4f-d26e-51a8-b62a-caffdd3ac44b")}catch{}})();var bm=["captured_redacted","captured_verbatim"],Sm=[{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 m(e){return typeof e=="string"&&e.trim().length>0}function Om(e,t){if(typeof t!="object"||t===null||Array.isArray(t))return[{boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} must contain a JSON object.`}];let r=t,o=[];r.boundary_id!==e.id&&o.push({boundary_id:e.id,kind:"fixture_boundary_mismatch",detail:`${e.fixture_path} names ${String(r.boundary_id)} instead of ${e.id}.`}),(r.version!==1||!bm.includes(r.capture_source)||!m(r.capture_provenance)||!Array.isArray(r.redactions)||!r.redactions.every(m)||!("input"in r)||!("observed"in r))&&o.push({boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} lacks captured provenance, redaction metadata, input, or observed output.`});let n=JSON.stringify(t);for(let i of Sm)i.pattern.test(n)&&o.push({boundary_id:e.id,kind:"unsafe_fixture",detail:`${e.fixture_path} contains a possible ${i.label}.`});return o}function Rm(e,t){let r=Date.parse(e.waiver_expires_at),o=m(e.waiver_reason)&&m(e.waiver_owner)&&e.waiver_expires_at.endsWith("Z")&&ye(e.waiver_expires_at)&&Number.isFinite(r);return{captured:0,waived:o&&r>=t?1:0,findings:o?r<t?[{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 xm(e,t,r){if(!m(e.id)||!m(e.producer)||!m(e.consumer)||!m(e.format))return{captured:0,waived:0,findings:[{boundary_id:m(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 o=t[e.fixture_path],n=m(e.fixture_path)&&e.fixture_path in t?Om(e,o):[{boundary_id:e.id,kind:"missing_fixture",detail:`Boundary ${e.id} fixture ${String(e.fixture_path)} is missing.`}];return{captured:n.length===0?1:0,waived:0,findings:n}}return Rm(e,r)}function ix(e,t,r=new Date){let o=[];if(e.version!==1||!m(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 n=new Set,i=0,s=0;for(let d of e.boundaries){if(typeof d!="object"||d===null||Array.isArray(d)){o.push({boundary_id:"unknown",kind:"invalid_boundary",detail:"Each boundary must be a JSON object."});continue}let a=d,c=m(a.id)?a.id:void 0;if(c!==void 0&&n.has(c)){o.push({boundary_id:c,kind:"duplicate_boundary",detail:`Boundary ${c} is inventoried more than once.`});continue}c!==void 0&&n.add(c);let p=xm(a,t,r.getTime());i+=p.captured,s+=p.waived,o.push(...p.findings)}return o.sort((d,a)=>d.boundary_id!==a.boundary_id?d.boundary_id.localeCompare(a.boundary_id):d.kind.localeCompare(a.kind)),{ok:o.length===0,boundary_count:e.boundaries.length,captured_count:i,waived_count:s,findings:o}}import O from"node:fs";import ae from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="611e9aba-d08e-5c1a-89c9-c7fda0cc9bc9")}catch{}})();var rt=300*1e3,Im=3;function px(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function lx(e,t){let r=t.trim();if(!/^[a-zA-Z0-9_-][a-zA-Z0-9._-]*$/.test(r))throw new TypeError("Compile-cache generation must be a safe non-empty filename token.");O.mkdirSync(e,{recursive:!0});let o=ae.join(e,r);O.mkdirSync(o,{recursive:!0});let n=new Date;O.utimesSync(o,n,n);let i=O.readdirSync(e).filter(c=>c!==r).flatMap(c=>{try{return[{name:c,mtimeMs:O.statSync(ae.join(e,c)).mtimeMs}]}catch(p){if(p instanceof Error&&"code"in p&&he(p))return[];throw p}}).sort((c,p)=>p.mtimeMs-c.mtimeMs||c.name.localeCompare(p.name)),s=i.filter(c=>n.getTime()-c.mtimeMs<rt),d=Math.max(0,Im-1-s.length),a=i.filter(c=>n.getTime()-c.mtimeMs>=rt).slice(d).map(c=>c.name).sort((c,p)=>c.localeCompare(p));for(let c of a)O.rmSync(ae.join(e,c),{recursive:!0,force:!0,maxRetries:3,retryDelay:50});return{retained:r,removed:a}}import nt from"node:fs";import j from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="962636b0-ed3b-5ad0-ae0c-904435025986")}catch{}})();var H="@unbrained/pm-cli",Nm=new Set(["append","claim","changelog","close","close-many","close-task","comments","config","copy","create","dedupe-merge","delete","deps","docs","extension","event","events","files","focus","gc","history-author-acknowledge","history-compact","history-redact","history-repair","init","install","item","learnings","meet","merge","normalize","notes","package","packages","pause-task","plan","profile","reindex","release","remind","restore","schema","start-task","test","test-all","test-runs","test-runs-worker","telemetry","templates","twin","update","update-many","upgrade","vcs","workspace"]),ot=new Set(["--author","--output-budget","--output-format","--output-include","--output-limit","--output-session","--path","--pm-path"]),pe=/\b(\d{4})\.(\d{1,2})\.(\d{1,2})(?:-(\d+))?\b/u;function _(e,t){return e.some(r=>t.includes(r.split("=",1)[0]))}function de(e,t){return["activate","adopt","adopt-all","deactivate","init","install","migrate","reload","uninstall"].includes(t[0]??"")||_(e,["--activate","--adopt","--adopt-all","--deactivate","--fix-managed-state","--init","--install","--output","--reload","--scaffold","--uninstall"])}var wm={changelog:(e,t)=>{if(t[0]==="generate")return!_(e,["--check"]);let r=e.indexOf("export");return t[0]==="export"&&(_(e,["--output"])||r>=0&&e[r+1]!==void 0&&!e[r+1].startsWith("-"))},comments:e=>_(e,["--add","--delete","--edit","--file","--stdin"]),config:(e,t)=>(t[0]==="project"||t[0]==="global"?t[1]:t[0])==="set",deps:()=>!1,docs:e=>_(e,["--add","--add-glob","--migrate","--remove"]),duplicates:()=>!1,events:()=>!1,extension:de,files:(e,t)=>_(e,["--add","--add-glob","--migrate","--remove"])||t[0]==="discover"&&_(e,["--apply"]),health:e=>!_(e,["--check-only","--no-refresh","--skip-vectors"]),learnings:e=>_(e,["--add","--delete","--edit","--file","--stdin"]),merge:(e,t)=>t[0]!=="report",notes:e=>_(e,["--add","--delete","--edit","--file","--stdin"]),package:de,packages:de,profile:(e,t)=>t[0]==="apply",schema:(e,t)=>["add-field","add-status","add-type","remove-field","remove-status","remove-type","remap-status","rename-field","rename-type"].includes(t[0]??"")&&!(_(e,["--infer"])&&!_(e,["--apply"])),telemetry:(e,t)=>t.slice(0,2).some(r=>["clear","flush"].includes(r)),templates:(e,t)=>t[0]==="save",test:e=>_(e,["--add","--add-json","--background","--measure","--remove","--resume","--run","--stop"]),validate:e=>_(e,["--auto-fix","--prune-missing"]),vcs:(e,t)=>["abandon","create","merge","propose","ref-create"].includes(t[0]??""),workspace:(e,t)=>t[0]==="snapshot"&&["create","delete","restore"].includes(t[1]??"")};function B(e){let t=e.match(pe);return t?[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4]??0)]:null}function U(e,t){let r=B(e),o=B(t);if(!r||!o)return null;for(let n=0;n<r.length;n+=1){let i=r[n]-o[n];if(i!==0)return Math.sign(i)}return 0}function ce(e){try{let t=JSON.parse(nt.readFileSync(e,"utf8"));return typeof t=="object"&&t!==null&&!Array.isArray(t)?t:null}catch{return null}}function km(e){let t=[];for(let r of["dependencies","devDependencies","optionalDependencies","peerDependencies"]){let o=e[r];if(typeof o!="object"||o===null)continue;let n=o[H],i=typeof n=="string"?n.trim():"",s=/^[<!]/u.test(i)?void 0:i.match(pe)?.[0];s&&t.push(s)}return t.sort((r,o)=>U(o,r))[0]}function vm(e){let r=ce(j.join(e,"package-lock.json"))?.packages;if(typeof r!="object"||r===null)return;let o=r["node_modules/@unbrained/pm-cli"];if(typeof o!="object"||o===null)return;let n=o.version;return typeof n=="string"?n:void 0}function Pm(e,t){try{let r=nt.readFileSync(j.join(e,t),"utf8").split(/\r?\n/u),o=r.findIndex(a=>a.includes(H));if(o<0)return;let n=r[o].match(/^\s*/u)[0].length,i=[r[o]];for(let a=o+1;a<r.length;a+=1){let c=r[a],p=c.trim(),l=c.match(/^\s*/u)[0].length;if(p.length>0&&l<=n)break;i.push(c)}return i.join(`
2
- `).match(/^\s*version(?::\s*|\s+)["']?(\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?)/mu)?.[1]??i[0].match(pe)?.[0]}catch{return}}function Mm(e){let t=[],r=ce(j.join(e,"package.json")),o=r?km(r):void 0;o&&t.push({version:o,source:"package.json"});let i=ce(j.join(e,"node_modules","@unbrained","pm-cli","package.json"))?.version;typeof i=="string"&&B(i)&&t.push({version:i,source:"installed-package"});let s=vm(e);s&&B(s)&&t.push({version:s,source:"package-lock.json"});for(let d of["pnpm-lock.yaml","yarn.lock"]){let a=Pm(e,d);a&&t.push({version:a,source:d})}return t}function it(e){for(let t=0;t<e.length;t+=1){let r=e[t];if(ot.has(r)){t+=1;continue}if(!r.startsWith("-"))return{command:r.toLowerCase(),index:t}}}function Lm(e){let t=it(e);if(!t||_(e,["--help","-h","--dry-run"]))return!1;let{command:r,index:o}=t,n=[];for(let s=o+1;s<e.length;s+=1){let d=e[s];if(ot.has(d)){s+=1;continue}d.startsWith("-")||n.push(d.toLowerCase())}let i=wm[r];return i?i(e,n):Nm.has(r)}function Dm(e){let t=it(e.argv)?.command,r=Lm(e.argv),n=Mm(e.projectRoot).filter(d=>U(d.version,e.executingVersion)!==null).sort((d,a)=>U(a.version,d.version))[0],i=n!==void 0&&U(e.executingVersion,n.version)===-1,s=i&&!r?{code:"project_runtime_stale_read",executing_version:e.executingVersion,project_version:n.version,source:n.source,message:"This read is using an older pm runtime than the project requires.",next_steps:[`Run the command through the project's installed ${H} ${n.version}.`,"Install the project dependencies with its declared package manager if the local executable is missing."]}:void 0;return{compatible:!r||!i||e.allowStale===!0,executing_version:e.executingVersion,...n?{project_version:n.version,source:n.source}:{},...t?{command:t}:{},mutating:r,stale:i,...s?{warning:s}:{},override_applied:i&&r&&e.allowStale===!0}}function gx(e){let t=Dm(e);if(t.compatible)return t;throw new K(`pm ${t.executing_version} cannot mutate a project pinned to newer pm ${t.project_version}.`,C.CONFLICT,{code:"project_runtime_stale_mutation",reason:t.source,why:"An older runtime can write storage, history, and merge contracts it does not understand.",nextSteps:[`Run this command through the project's installed ${H} ${t.project_version}.`,"For an intentional recovery only, set PM_ALLOW_STALE_CLI=1 for this invocation and record why.","Read-only commands remain available without an override."]})}import{createHash as Fm}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4586a8b2-07c8-53d4-9c5d-ca557ee07977")}catch{}})();var le=1;function R(e){e?.throwIfAborted()}function T(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function x(e,t,r={}){let o=Date.parse(r.createdAt??new Date().toISOString());if(!Number.isFinite(o))throw new TypeError("Relationship graph createdAt must be a valid timestamp");let n=e.nodes(),i=e.edges(),s=t.list();return Object.freeze({version:le,fingerprint:Fm("sha256").update(F({nodes:n,edges:i,kinds:s})).digest("hex"),created_at:new Date(o).toISOString(),nodes:n,edges:i,kinds:s})}function Gm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function M(e){if(!Gm(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==le)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(n=>typeof n!="string"))throw new TypeError("Relationship graph snapshot nodes must be strings");if(!Array.isArray(e.edges)||!Array.isArray(e.kinds))throw new TypeError("Relationship graph snapshot edges and kinds must be arrays");if(typeof e.created_at!="string"||!Number.isFinite(Date.parse(e.created_at)))throw new TypeError("Relationship graph snapshot created_at must be valid");if(typeof e.fingerprint!="string")throw new TypeError("Relationship graph snapshot fingerprint must be a string");let t=new Y([]);for(let n of e.kinds)t.register(n);let r=new A(e.nodes,e.edges,t),o=x(r,t,{createdAt:e.created_at});if(o.fingerprint!==e.fingerprint)throw new TypeError("Relationship graph snapshot fingerprint mismatch");return{snapshot:o,registry:t,graph:r}}async function h(e,t){T(e.name,"adapter name");let r=T(t.workspace,"workspace");R(t.signal);let o=await e.read({...t,workspace:r});return R(t.signal),o===null?null:M(o)}async function z(e,t){let r=T(t.workspace,"workspace"),o=M(t.snapshot).snapshot,n=await h(e,{workspace:r,signal:t.signal});if(n?.snapshot.fingerprint===o.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:o.fingerprint,previous_fingerprint:n.snapshot.fingerprint,node_count:o.nodes.length,edge_count:o.edges.length};if(R(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:o,expected_fingerprint:n?.snapshot.fingerprint??null}),(await h(e,{workspace:r,signal:t.signal}))?.snapshot.fingerprint!==o.fingerprint)throw new Error(`Relationship graph adapter "${e.name}" did not expose the replaced snapshot`);return{adapter:e.name,workspace:r,disposition:"written",fingerprint:o.fingerprint,...n?{previous_fingerprint:n.snapshot.fingerprint}:{},node_count:o.nodes.length,edge_count:o.edges.length}}function $m(e,t={}){let r=e.map(M),o=new Map;for(let s of r)for(let d of s.snapshot.kinds){let a=o.get(d.kind);if(a&&F(a)!==F(d))throw new TypeError(`Conflicting federated relationship kind: ${d.kind}`);o.set(d.kind,d)}let n=new Y([...o.values()].sort((s,d)=>s.kind.localeCompare(d.kind))),i=new A(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),n);return x(i,n,t)}var P=class{name;#e=new Map;constructor(t="memory"){this.name=T(t,"adapter name")}async read(t){R(t.signal);let r=this.#e.get(T(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){R(t.signal);let r=T(t.workspace,"workspace"),o=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(o?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.set(r,structuredClone(M(t.snapshot).snapshot))}async clear(t){R(t.signal);let r=T(t.workspace,"workspace"),o=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(o?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.delete(r)}};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="423d6e5d-93e5-5f29-93e0-11ddca9c3156")}catch{}})();function st(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function Um(e){let t=st(e.nodeCount,"nodeCount"),r=st(e.edgeStride??1,"edgeStride"),o=e.topology??"chain";if(!["chain","star","disconnected"].includes(o))throw new TypeError(`Unsupported relationship graph topology: ${o}`);let n=(e.kind??"related").trim(),i=(e.idPrefix??"node").trim();if(!n||!i)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let s=o==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:s,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let d=0;d<t;d+=1)yield`${i}-${d}`}},edges:{*[Symbol.iterator](){if(o!=="disconnected")for(let d=r;d<t;d+=r)yield{source:`${i}-${o==="star"?0:d-r}`,target:`${i}-${d}`,kind:n}}}}}function y(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function at(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",o=Ce(),n=x(new A(["a","b"],[{source:"a",target:"b",kind:"related"}],o),o,{createdAt:"2026-01-01T00:00:00.000Z"}),i=x(new A(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],o),o,{createdAt:"2026-01-02T00:00:00.000Z"}),s=[];y(await h(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let d=await z(e,{workspace:r,snapshot:n});y(d.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),y((await h(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),y((await z(e,{workspace:r,snapshot:n})).disposition==="current","identical sync must be idempotent"),s.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:i,expected_fingerprint:n.fingerprint}),y((await h(e,{workspace:r}))?.snapshot.fingerprint===i.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let c=!1;try{await e.replace({workspace:r,snapshot:n,expected_fingerprint:n.fingerprint})}catch{c=!0}return y(c,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:i.fingerprint}),y(await h(e,{workspace:r})===null,"clear must remove the workspace"),s.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(s),clear_supported:e.clear!==void 0}}function jm(e){return at(new P,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="20842b89-cef6-542e-b069-76c22b340f1d")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5133d678-01f4-5164-aea7-2cc5ed42dd58")}catch{}})();import{createHash as dt}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54a3448c-719c-5404-a9b9-c3072a2fdce2")}catch{}})();function ct(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function Hx(e,t){let r=ct(t.migrationId,"migrationId"),o=ct(t.author,"author"),n=Date.parse(t.timestamp);if(!Number.isFinite(n))throw new TypeError("Relationship backfill timestamp must be valid");let i=new Date(n).toISOString(),s=te(e,void 0,t.registry),d=s.graph.nodes(),a=s.graph.edges().map(u=>{let f=dt("sha256").update(JSON.stringify([r,u.kind,u.source,u.target,u.createdAt??null,u.author??null,u.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${f}`,relationshipId:`migration:${r}:${f}`,action:"add",edge:u,author:o,timestamp:i,reason:`Backfill ${r} from legacy item metadata`})}),c=dt("sha256").update(JSON.stringify({migrationId:r,nodes:d,events:a})).digest("hex"),p=new Set([...t.existingEventIds??[]].filter(u=>typeof u=="string").map(u=>u.trim()).filter(Boolean)),l=a.filter(u=>!p.has(u.eventId));return Object.freeze({migration_id:r,fingerprint:c,nodes:d,events:Object.freeze(l),edge_count:a.length,skipped_existing_count:a.length-l.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.dangling.legacy_terminal.length})}import*as pt from"node:module";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4f4e7daa-14aa-5dad-8a30-79a4d76159d4")}catch{}})();var L=["suggested_retry","candidate_command","example","next_step","migration_hint","restore_with"],ue={suggested_retry:{kind:"suggested_retry",semantics:"recovery"},retry_command:{kind:"suggested_retry",semantics:"recovery"},candidate_command:{kind:"candidate_command",semantics:"recovery"},candidate_commands:{kind:"candidate_command",semantics:"recovery"},fallback_candidates:{kind:"candidate_command",semantics:"recovery",nested_value_field:"command"},next_best_command:{kind:"candidate_command",semantics:"recovery"},example:{kind:"example",semantics:"recovery"},examples:{kind:"example",semantics:"recovery"},next_step:{kind:"next_step",semantics:"recovery"},next_steps:{kind:"next_step",semantics:"recovery"},suggested_next_steps:{kind:"next_step",semantics:"recovery"},migration_hint:{kind:"migration_hint",semantics:"replacement"},migration_hints:{kind:"migration_hint",semantics:"replacement"},restore_with:{kind:"restore_with",semantics:"behavior_preserving"}},Vx=Object.freeze(Object.keys(ue));function lt(e){if(Object.hasOwn(ue,e))return ue[e]}var Bm=new Set([..."=([{,:;!?&|+-*%^~<>","=>"]);function I(e,t){return e<t?-1:e>t?1:0}function Hm(e,t){let r=e[t],o=t+1,n="";for(;o<e.length&&e[o]!==r;)e[o]==="\\"?o+=2:(n+=e[o],o+=1);return e[o]===r&&(o+=1),{next:o,value:n}}function zm(e){return e===void 0||e.kind==="punctuator"&&Bm.has(e.value)||e.kind==="identifier"&&["return","case","throw","else","yield"].includes(e.value)}function Vm(e,t){if(/\s/u.test(e[t]))return t+1;if(e.startsWith("//",t)){let r=e.indexOf(`
1
+ import{A as lm,B as um,C as wO,D as kO,a as Wn,b as Kn,c as Xn,d as Yn,e as CO,f as AO,g as em,h as tm,i as rm,k as nm,l as om,m as im,n as sm,o as am,p as dm,q as cm,r as pm,s as EO,t as bO,u as SO,v as OO,w as RO,x as xO,y as IO,z as NO}from"./chunks/chunk-65MHLHAA.js";import{A as gR,B as TR,C as yR,D as CR,E as AR,F as ER,G as bR,H as SR,I as OR,J as RR,K as xR,L as IR,M as NR,N as wR,O as kR,P as vR,Q as PR,R as MR,S as LR,T as DR,U as FR,V as GR,W as $R,X as UR,Y as jR,a as VO,b as WO,c as KO,d as XO,e as YO,f as qO,g as JO,h as ZO,i as QO,j as eR,k as tR,l as rR,m as nR,n as oR,o as iR,p as sR,q as aR,r as dR,s as cR,t as pR,u as lR,v as uR,w as _R,x as mR,y as fR,z as hR}from"./chunks/chunk-2F3LUFMW.js";import{a as vO,b as PO,c as MO,d as LO}from"./chunks/chunk-TPQIBSL2.js";import{a as DO,b as FO,c as GO,d as $O,e as UO,f as jO,g as BO,h as HO,i as zO}from"./chunks/chunk-OWHNAR2B.js";import{$ as Ge,$a as Ke,$b as y_,A as mA,Aa as jl,Ab as Wu,Ac as W_,B as Hd,Ba as Bl,Bb as Ku,Bc as K_,C as Mc,Ca as Hl,Cb as Xu,Cc as X_,D as Lc,Da as zl,Db as Yu,Dc as Y_,E as Dc,Ea as Vl,Eb as qu,Ec as q_,F as Fc,Fa as Wl,Fb as Ju,Fc as J_,G as Gc,Ga as Kl,Gb as Zu,Gc as Z_,H as ap,Ha as Xl,Hb as Qu,Hc as Q_,I as re,Ia as Yl,Ib as e_,J as dp,Ja as ql,Jb as t_,K as cp,Ka as Jl,Kb as r_,L as pp,La as Zl,Lb as n_,M as lp,Ma as Ql,Mb as o_,N as up,Na as eu,Nb as i_,O as _p,Oa as tu,Ob as s_,P as GS,Pa as ru,Pb as a_,Q as $S,Qa as nu,Qb as d_,R as US,Ra as ou,Rb as c_,S as jS,Sa as iu,Sb as p_,T as BS,Ta as su,Tb as l_,U as HS,Ua as au,Ub as u_,V as zS,Va as du,Vb as __,W as VS,Wa as cu,Wb as m_,X as WS,Xa as pu,Xb as f_,Y as Le,Ya as lu,Yb as h_,Z as De,Za as uu,Zb as g_,_ as Fe,_a as _u,_b as T_,a as bs,aa as $e,ab as G,ac as C_,b as Ss,ba as Ue,bb as Au,bc as A_,c as Os,ca as je,cb as Eu,cc as E_,d as jC,da as Be,db as bu,dc as b_,e as BC,ea as He,eb as Su,ec as S_,f as xs,fa as ze,fb as Ou,fc as O_,g as YC,ga as Ve,gb as Ru,gc as R_,h as qC,ha as Hp,hb as xu,hc as x_,i as JC,ia as zp,ib as Iu,ic as I_,j as ZC,ja as Vp,jb as Nu,jc as N_,k as QC,ka as Wp,kb as wu,kc as w_,l as eA,la as Kp,lb as ku,lc as k_,m as tA,ma as ne,mb as vu,mc as v_,n as rA,na as Xp,nb as Pu,nc as P_,o as nA,oa as Yp,ob as Mu,oc as M_,p as oA,pa as qp,pb as Lu,pc as L_,q as iA,qa as Jp,qb as Du,qc as D_,r as sA,ra as Zp,rb as Fu,rc as F_,s as aA,sa as Qp,sb as Gu,sc as G_,t as dA,ta as el,tb as $u,tc as $_,u as vs,ua as tl,ub as Uu,uc as U_,v as cA,va as tO,vb as ju,vc as j_,w as pA,wa as rO,wb as Bu,wc as B_,x as lA,xa as nO,xb as Hu,xc as H_,y as uA,ya as oO,yb as zu,yc as z_,z as _A,za as iO,zb as Vu,zc as V_}from"./chunks/chunk-QLUORNIB.js";import{a as Me,f as bS,g as SS,h as hp,i as gp}from"./chunks/chunk-T2ENPRXF.js";import{A as DS,B as FS,C as Ip,D as Np,E as wp,b as Bd,c as _b,d as uS,e as hS,f as gS,g as TS,h as yS,i as CS,j as mp,k as AS,l as Sp,m as Op,n as Rp,o as xp,p as OS,q as RS,r as xS,s as IS,t as NS,u as wS,v as kS,w as vS,x as PS,y as MS,z as LS}from"./chunks/chunk-5I5RWIJC.js";import{$ as dE,$a as Ld,$b as Hc,$c as dl,A as JA,Aa as dd,Ab as Zd,Ac as vp,Ad as bl,B as ZA,Ba as cd,Bb as Qd,Bc as Pp,Bd as Sl,C as QA,Ca as pd,Cb as Ic,Cc as ZS,Cd as Ol,D as eE,Da as ld,Db as Nc,Dc as QS,Dd as Rl,E as aE,Ea as ud,Eb as wc,Ec as eO,Ed as xl,Fa as _d,Fb as kc,Fc as Mp,Fd as Il,Ga as md,Gb as Qb,Gc as Lp,Gd as Nl,Ha as fd,Hb as eS,Hc as Dp,Hd as wl,Ia as hd,Ib as tS,Ic as Fp,Id as kl,J as Ia,Ja as gd,Jb as rS,Jc as Gp,Jd as yO,Ka as Td,Kb as nS,Kc as $p,Kd as vl,La as yd,Lb as vc,Lc as Up,Ld as Pl,Ma as Cd,Mb as Pc,Mc as jp,Md as Ml,Na as Ad,Nb as oS,Nc as Bp,Nd as Ll,Oa as Ed,Ob as iS,Oc as rl,Od as Dl,Pa as bd,Pb as sS,Pc as sO,Pd as Fl,Qa as Sd,Qb as aS,Qc as We,Qd as Gl,Ra as Od,Rb as dS,Rc as aO,Rd as $l,Sa as Rd,Sb as cS,Sc as nl,Sd as Ul,Ta as xd,Tb as pS,Tc as oe,Td as mu,Ua as Id,Ub as lS,Uc as ol,Ud as fu,Va as Nd,Vd as hu,Wa as wd,Wb as $c,Wd as gu,Xa as kd,Xb as Uc,Xc as il,Xd as Tu,Ya as vd,Yb as _S,Yc as sl,Yd as yu,Za as Pd,Zb as jc,Zc as al,Zd as Cu,_a as Md,_b as Bc,a as OA,aa as cE,ab as Dd,ac as zc,ad as cl,b as RA,ba as Na,bb as Fd,bc as Vc,bd as pl,c as xA,ca as wa,cb as Gd,cc as Wc,cd as ll,d as IA,da as ka,db as $d,dc as Kc,dd as ul,e as NA,ea as va,eb as Ud,ec as Xc,ed as dO,f as wA,fa as Pa,fb as kE,fc as Yc,fd as cO,g as kA,ga as Ma,gb as vE,gc as qc,gd as pO,h as vA,ha as La,hb as PE,hc as Jc,hd as lO,i as PA,ia as yE,ib as ME,ic as Zc,id as uO,j as MA,ja as CE,jb as LE,jc as Qc,jd as _O,k as LA,ka as AE,kb as DE,kc as ep,kd as mO,l as DA,la as EE,lb as FE,lc as tp,ld as fO,m as FA,mb as GE,mc as rp,md as hO,n as GA,nb as $E,nc as np,nd as gO,o as $A,oa as bE,ob as UE,oc as op,od as TO,p as UA,pb as jE,pc as mS,q as jA,qa as SE,qb as BE,qc as fS,qd as _l,r as BA,ra as OE,rb as zd,rc as ip,rd as ml,s as HA,sa as RE,sb as Vd,sd as fl,t as zA,ta as xE,tb as Wd,td as hl,u as VA,ua as IE,ub as Kd,ud as gl,v as WA,va as NE,vb as Xd,vc as sp,vd as Tl,w as KA,wa as id,wd as yl,x as XA,xa as sd,xb as Yd,xc as ES,xd as Cl,y as YA,ya as wE,yb as qd,yc as fp,yd as Al,z as qA,za as ad,zb as Jd,zc as kp,zd as El}from"./chunks/chunk-YQMYF3YD.js";import{Ba as Za,Ca as Qa,Da as ed,Ea as td,Fa as rd,Ga as nd,H as za,Ha as od,I as Va,Ia as Tp,J as Wa,Ja as yp,K as Ka,Ka as Cp,L as xe,La as Ap,Ma as Ep,Na as bp,a as KC,b as XC,c as Is,d as Ns,f as ws,g as ks,h as pE,i as lE,j as uE,k as _E,l as mE,m as fE,n as hE,o as gE,oa as Ie,p as Da,pa as Ne,q as Fa,qa as we,r as Ga,ra as ke,s as $a,sa as Xa,t as Ua,u as TE,ua as Ya,v as ja,va as qa,w as Ba,wa as Ja,x as Ha}from"./chunks/chunk-244MI4GS.js";import{$ as Zs,$a as ob,$b as ac,Aa as Oa,Ab as Ob,Ac as KS,B as Ps,Ba as Ra,Bb as Rb,Bc as XS,C as tE,Ca as xa,Cb as xb,Cc as YS,D as rE,Db as Ib,Dc as qS,E as nE,Ea as HE,Eb as Nb,Ec as JS,F as oE,Fa as zE,Fb as wb,G as iE,Ga as VE,Gb as kb,H as Ms,Ha as WE,Hb as vb,I as Ls,Ia as KE,Ib as Pb,J as Ds,Ja as XE,Jb as Mb,K as Fs,Ka as YE,Kb as Lb,L as Gs,La as qE,Lb as Db,M as $s,Ma as JE,Mb as Fb,N as Us,Na as ZE,Nb as Gb,O as js,Oa as QE,Ob as $b,P as Bs,Pb as Ub,Q as Hs,Qb as jb,R as zs,Rb as Bb,S as te,Sb as Hb,T as Vs,Tb as zb,U as Ws,Ub as Vb,V as Ks,Vb as Wb,W as Xs,Wb as Kb,X as sE,Xa as eb,Xb,Y as Ys,Ya as tb,Yb as oc,Z as qs,Za as rb,Zb as ic,_ as Js,_a as nb,_b as sc,a as vC,aa as Qs,ab as ib,ac as dc,b as PC,ba as ea,bc as cc,c as MC,ca as ta,cc as ve,d as LC,da as ra,db as sb,dc as pc,e as DC,ea as na,eb as ab,ec as lc,fa as oa,fb as db,fc as uc,ga as ia,gb as cb,gc as _c,h as FC,ha as sa,hb as pb,hc as mc,i as GC,ia as aa,ib as lb,ic as fc,j as Rs,ja as da,jb as ub,jc as hc,k as $C,ka as ca,kb as jd,kc as gc,l as UC,la as pa,lb as ec,lc as Tc,m as HC,ma as la,mb as tc,mc as yc,n as zC,na as ua,nb as rc,nc as Cc,o as VC,oa as _a,ob as nc,oc as Ac,p as WC,pa as ma,pb as mb,pc as Ec,q as fA,qa as fa,qb as fb,qc as bc,r as hA,ra as ha,rb as hb,rc as Sc,s as gA,sa as ga,sb as gb,sc as Oc,t as TA,ta as Ta,tb as Tb,tc as Pe,u as yA,ua as ya,ub as yb,uc as Rc,v as CA,va as Ca,vb as Cb,vc as Yb,w as AA,wa as Aa,wb as Ab,wc as qb,x as EA,xa as Ea,xb as Eb,xc as Jb,y as bA,ya as ba,yb as bb,yc as xc,z as SA,za as Sa,zb as Sb,zc as Zb}from"./chunks/chunk-6C7GIMIL.js";import{$ as Uf,$c as Kh,$e as Wg,$f as aT,$h as Cy,$i as tC,$j as uo,$k as Zo,$l as Zi,Ac as xh,Ad as lg,Af as Br,Ag as MT,Aj as _C,Ak as xC,Al as Oi,Am as Es,B as If,Bc as Ih,Bd as Wt,Bf as Hr,Bg as LT,Bh as ay,Bi as Fy,Bj as mC,Bk as IC,Bl as Ri,Bm as Re,C,Cc as Nh,Ce as br,Cf as zr,Cg as DT,Cj as fC,Ck as NC,Cl as xi,D as Nf,Dc as wh,Dd as ug,De as Sr,Df as Vr,Dg as FT,Dh as dy,Dj as hC,Dk as wC,Dl as Ii,E as K,Ec as kh,Ed as _g,Ee as Or,Ef as Wr,Eh as cy,Ei as Gy,Ej as gC,Ek as kC,El as Ni,Fc as vh,Fd as mg,Ff as Kr,Fg as GT,Fh as py,Fk as wo,Fl as wi,G as wf,Gc as Ph,Gd as Kt,Ge as Og,Gf as Xr,Gg as $T,Gh as ly,Gi as $y,Gk as ko,Gl as ki,H as kf,Hc as Mh,Hd as Xt,He as Rg,Hf as Yr,Hh as uy,Hk as vo,Hl as vi,Ic as Bt,Id as Yt,Ie as xg,If as qr,Ij as Se,Ik as Po,Il as Pi,Ja as Jf,Jc as Lh,Jd as qt,Je as Ig,Jf as Jr,Jg as UT,Jj as TC,Jk as Mo,Jl as Mi,K as vf,Ka as Zf,Kb as ph,Kc as Ht,Kd as Jt,Ke as Ng,Kf as Zr,Kg as jT,Ki as Uy,Kj as yC,Kk as Lo,Kl as Li,La as Qf,Lb as Dt,Ld as Zt,Le as wg,Lf as Qr,Lg as BT,Li as jy,Lj as CC,Lk as Do,Ll as Di,Mb as Ft,Mc as Dh,Md as Qt,Me as kg,Mf as en,Mg as HT,Mi as By,Mj as qn,Mk as Fo,Ml as Fi,N as Pf,Nc as Fh,Nd as fg,Ne as vg,Nf as tn,Ng as zT,Ni as Hy,Nj as Jn,Nk as Go,Nl as Gi,O as ge,Oa as wt,Ob as F,Oc as Gh,Od as hg,Oe as Pg,Of as rn,Og as pn,Oi as zy,Oj as Zn,Ok as $o,Ol as $i,Pa as eh,Pb as lh,Pc as $h,Pe as Mg,Pf as nn,Pg as ln,Pj as Qn,Pk as Uo,Pl as Ui,Q as Te,Qa as th,Qc as Uh,Qd as er,Qe as Lg,Qf as on,Qi as Vy,Qj as eo,Qk as jo,Ql as ji,R as At,Ra as rh,Rb as uh,Rc as Ae,Rd as tr,Re as Dg,Rf as sn,Ri as Wy,Rj as to,Rk as Bo,Rl as Bi,S as Et,Sa as nh,Sc as jh,Sd as gg,Se as Fg,Sf as an,Sh as _y,Si as Ky,Sj as ro,Sk as Ho,Sl as Hi,T as ye,Tb as _h,Tc as Bh,Td as rr,Te as Gg,Tf as dn,Tg as VT,Th as my,Ti as Xy,Tj as no,Tk as zo,Tl as zi,U as Mf,Ua as kt,Uc as Hh,Ud as nr,Ue as $g,Uf as cn,Ug as WT,Uh as fy,Ui as Yy,Uj as oo,Uk as Vo,Ul as Vi,Va as vt,Vd as Tg,Ve as Ug,Vf as tT,Vg as KT,Vh as hy,Vi as qy,Vj as io,Vk as Wo,Vl as Wi,W as Lf,Wa as X,Wc as zh,Wd as or,We as jg,Wf as rT,Wg as XT,Wh as gy,Wi as Jy,Wj as so,Wk as Ko,Wl as Ki,X as Df,Xc as Vh,Xd as ir,Xe as Bg,Xf as nT,Xh as Ty,Xi as Zy,Xj as ao,Xk as Xo,Xl as Xi,Y as Ff,Yd as sr,Ye as Hg,Yf as oT,Yg as YT,Yi as Qy,Yj as co,Yk as Yo,Yl as Yi,Z as Gf,Za as Pt,Zc as zt,Zd as ar,Ze as zg,Zf as iT,Zg as qT,Zi as eC,Zj as po,Zk as qo,Zl as qi,_ as $f,_a as Mt,_c as Wh,_e as Vg,_f as sT,_h as yy,_i as be,_j as lo,_k as Jo,_l as Ji,aa as jf,ab as Lt,ad as Xh,af as Kg,ag as dT,ai as On,aj as rC,ak as _o,al as Qo,am as Qi,ba as Bf,bd as Yh,bf as Xg,bg as cT,bh as JT,bi as Ay,bj as nC,bk as mo,bl as ei,bm as es,c as gt,ca as Hf,cd as qh,cf as Yg,cg as pT,ch as ZT,ci as Ey,cj as oC,ck as fo,cl as ti,cm as ts,da as zf,dd as Jh,de as yg,df as qg,dg as lT,dh as QT,di as by,dj as iC,dk as ho,dl as ri,dm as rs,e as he,ec as mh,ed as Zh,ee as Cg,ef as Jg,eg as uT,eh as ey,ei as Sy,ej as sC,ek as go,el as ni,em as ns,f as Tt,fa as Vf,fc as fh,fd as Qh,fe as Ag,ff as Zg,fg as _T,fh as un,fi as Ee,fj as aC,fk as To,fl as oi,fm as os,g as yt,ga as Wf,gc as hh,gd as eg,ge as dr,gf as Qg,gg as mT,gh as _n,gi as Oy,gj as dC,gk as yo,gl as ii,gm as is,h as Ct,ha as Kf,hd as tg,he as cr,hf as eT,hg as fT,hh as mn,hi as Ry,hj as cC,hk as Co,hl as si,hm as ss,ia as Xf,ic as gh,ie as pr,if as Rr,ig as hT,ih as fn,ii as xy,ij as vn,ik as Ao,il as ai,im as as,j as Ef,ja as Yf,jc as Th,jd as rg,je as lr,jf as xr,jg as gT,jh as hn,ji as Iy,jj as Pn,jk as Eo,jl as di,jm as ds,k as bf,ka as qf,kd as ng,ke as ur,kf as Ir,kg as TT,kh as gn,kj as Mn,kk as bo,kl as ci,km as cs,l as Sf,la as bt,lc as yh,le as _r,lf as Nr,lg as yT,lh as Tn,li as Ny,lj as Ln,lk as So,ll as pi,lm as ps,ma as St,mc as Gt,md as og,me as mr,mf as wr,mg as CT,mh as yn,mi as wy,mj as Dn,mk as Oo,ml as li,na as Ot,nd as ig,ne as fr,nf as kr,ng as AT,nh as Cn,ni as ky,nj as Fn,nk as Ro,nl as ui,nm as ee,oc as $t,od as sg,oe as hr,of as vr,og as ET,oh as An,oi as vy,ok as xo,ol as _i,om as k,pc as Ut,pd as ag,pe as gr,pf as Pr,pg as bT,ph as ty,pi as Rn,pj as Gn,pk as Io,pl as mi,pm as ls,qd as dg,qe as Tr,qf as Mr,qg as ST,qi as xn,qj as $n,qk as No,ql as fi,qm as us,ra as Rt,rb as oh,rd as cg,re as yr,rf as Lr,rg as OT,rh as En,ri as In,rj as Un,rk as AC,rl as hi,rm as _s,s as Of,sb as Y,sc as Ch,se as Cr,sf as Dr,sg as RT,sh as bn,si as Nn,sj as jn,sk as EC,sl as gi,sm as ms,ta as xt,tb as Ce,tc as Ah,te as Ar,tf as q,tg as xT,th as Sn,ti as wn,tj as Bn,tk as Z,tl as Ti,tm as fs,u as Rf,ua as It,ub as ih,uc as Eh,ue as Er,uf as J,ug as IT,ui as kn,uj as Hn,uk as bC,ul as yi,um as hs,va as Nt,vb as sh,vc as bh,ve as Eg,vf as Fr,vg as NT,vh as ry,vi as Py,vj as zn,vk as SC,vl as Ci,vm as gs,wb as ah,wc as Sh,we as bg,wf as Gr,wg as wT,wh as ny,wj as Vn,wk as OC,wl as Ai,wm as Ts,x as xf,xb as dh,xc as Oh,xd as pg,xe as Sg,xf as $r,xg as kT,xh as oy,xi as My,xj as pC,xk as Oe,xl as Ei,xm as ys,yb as A,yc as Rh,yf as Ur,yg as vT,yh as iy,yi as Ly,yj as lC,yk as Q,yl as bi,ym as Cs,zb as ch,zc as jt,zd as Vt,zf as jr,zg as PT,zh as sy,zi as Dy,zj as uC,zk as RC,zl as Si,zm as As}from"./chunks/chunk-QKGMHGEI.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cc0d4dd1-20e8-59d4-acb5-9f8ed639d35f")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fa4eb88d-f50e-59fa-be7f-0cfb42931a73")}catch{}})();var g="https://schema.unbrained.dev/pm/corpus-shape/v1";function E(e,t){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError(`Corpus shape ${t} must be a positive safe integer`);return e}function v(e,t){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Corpus shape ${t} must be a non-negative safe integer`);return e}function Ye(e){if(!(typeof e!="object"||e===null||Object.isFrozen(e))){for(let t of Object.values(e))Ye(t);Object.freeze(e)}}function b(e){if(e.schema!==g)throw new TypeError(`Unsupported corpus shape schema: ${e.schema}`);if(e.name.trim().length===0||e.description.trim().length===0)throw new TypeError("Corpus shape name and description must be non-empty");if(E(e.hierarchy_depth,"hierarchy_depth"),E(e.hierarchy_fanout,"hierarchy_fanout"),v(e.age_span_days,"age_span_days"),E(e.history_entries_per_item,"history_entries_per_item"),v(e.comments_per_100_items,"comments_per_100_items"),v(e.notes_per_100_items,"notes_per_100_items"),v(e.learnings_per_100_items,"learnings_per_100_items"),E(e.author_cardinality,"author_cardinality"),E(e.component_count,"component_count"),e.edge_kind_mix.length===0||e.edge_kind_mix.some(r=>r.kind.trim().length===0||r.weight<=0))throw new TypeError("Corpus shape edge_kind_mix requires non-empty kinds with positive weights");if(e.terminal_statuses.some(r=>!e.custom_statuses.includes(r)))throw new TypeError("Corpus shape terminal_statuses must be declared in custom_statuses");let t=structuredClone(e);return Ye(t),t}var $=[{kind:"implements",weight:5},{kind:"blocked_by",weight:2},{kind:"discovered_from",weight:2},{kind:"verifies",weight:2},{kind:"supersedes",weight:1},{kind:"related",weight:4}],S=Object.freeze({scratch:b({schema:g,name:"scratch",description:"Seconds-old, shallow project with minimal history.",hierarchy_depth:2,hierarchy_fanout:50,age_span_days:0,history_entries_per_item:1,comments_per_100_items:2,notes_per_100_items:1,learnings_per_100_items:1,edge_kind_mix:[{kind:"related",weight:1}],author_cardinality:2,component_count:1,include_cycles:!1,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),representative:b({schema:g,name:"representative",description:"Medium-lived project with rich evidence and typed lineage.",hierarchy_depth:5,hierarchy_fanout:8,age_span_days:730,history_entries_per_item:12,comments_per_100_items:30,notes_per_100_items:12,learnings_per_100_items:10,edge_kind_mix:$,author_cardinality:32,component_count:1,include_cycles:!1,custom_types:["Experiment"],custom_statuses:["review"],terminal_statuses:[],custom_fields:["domain"]}),"deep-graph":b({schema:g,name:"deep-graph",description:"Deep typed relationship graph with deterministic cycles.",hierarchy_depth:16,hierarchy_fanout:2,age_span_days:3650,history_entries_per_item:6,comments_per_100_items:15,notes_per_100_items:8,learnings_per_100_items:8,edge_kind_mix:$,author_cardinality:16,component_count:1,include_cycles:!0,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),"multi-decade":b({schema:g,name:"multi-decade",description:"Thirty-year event history with dense per-item evolution.",hierarchy_depth:6,hierarchy_fanout:6,age_span_days:10958,history_entries_per_item:24,comments_per_100_items:40,notes_per_100_items:20,learnings_per_100_items:16,edge_kind_mix:$,author_cardinality:64,component_count:1,include_cycles:!1,custom_types:["Program"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["portfolio"]}),"disconnected-archive":b({schema:g,name:"disconnected-archive",description:"Multiple disconnected historical project components.",hierarchy_depth:4,hierarchy_fanout:10,age_span_days:7305,history_entries_per_item:8,comments_per_100_items:10,notes_per_100_items:5,learnings_per_100_items:6,edge_kind_mix:$,author_cardinality:24,component_count:5,include_cycles:!1,custom_types:["Archive"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["archive_source"]})});function _m(){return Object.keys(S).sort().map(e=>S[e])}function mm(e){let t=e.trim().toLowerCase();if(!Object.hasOwn(S,t))throw new TypeError(`Unknown corpus shape "${e}". Available: ${Object.keys(S).join(", ")}`);return S[t]}var Xe=new WeakMap;function qe(e,t){if(e===0)return[];let r=Xe.get(t);r===void 0&&(r=t.edge_kind_mix.flatMap(n=>Array.from({length:n.weight},()=>n.kind)),Xe.set(t,r));let o=[r[e%r.length]];return t.include_cycles&&e>2&&e%17===0&&o.push("related"),[...new Set(o)]}function fm(e,t,r,o=42){if(v(t,"item index"),E(r,"item count"),t>=r)throw new RangeError(`Corpus item index ${t} exceeds ${r}`);let n=Math.min(e.component_count,r),i=t%n,s=Math.floor(t/n),d=0,a=1;for(let D=0;D<e.hierarchy_depth;D+=1)d=Math.min(Number.MAX_SAFE_INTEGER,d+a),a=Math.min(Number.MAX_SAFE_INTEGER,a*e.hierarchy_fanout);let c=s%d,p=s-c,l=c===0?void 0:i+(p+Math.floor((c-1)/e.hierarchy_fanout))*n,u=Date.UTC(2026,0,1),f=e.age_span_days*864e5,N=new Date(u+(r===1?0:Math.round(t/(r-1)*f))).toISOString(),w=(t*37+o)%100;return{index:t,id:`pm-s${t.toString(36).padStart(7,"0")}`,...l===void 0?{}:{parent:`pm-s${l.toString(36).padStart(7,"0")}`},component:i,timestamp:N,author:`pm-corpus-agent-${(t+o)%Math.min(e.author_cardinality,r)}`,history_entry_count:e.history_entries_per_item,dependency_kinds:qe(t,e),has_comment:w<e.comments_per_100_items,has_note:w<e.notes_per_100_items,has_learning:w<e.learnings_per_100_items,...e.custom_types.length>0&&t%11===0?{custom_type:e.custom_types[t%e.custom_types.length]}:{},...e.custom_statuses.length>0&&t%13===0?{custom_status:e.custom_statuses[t%e.custom_statuses.length]}:{}}}var ie=class{shape;authors=new Set;components=new Set;depths=new Map;childCounts=new Map;edgeKinds={};expectedEdgeKinds={};annotations={comments:0,notes:0,learnings:0};annotationFields;planMismatches=[];itemCount=0;observedDepth=0;observedFanout=0;historyEntryCount=0;firstTimestamp=null;lastTimestamp=null;constructor(t){this.shape=t,this.annotationFields=[["comments","has_comment",t.comments_per_100_items],["notes","has_note",t.notes_per_100_items],["learnings","has_learning",t.learnings_per_100_items]]}recordMismatch(t,r){t&&this.planMismatches.push(r)}recordEdgeKinds(t,r){for(let o of r)t[o]=(t[o]??0)+1}add(t){this.itemCount+=1,this.authors.add(t.author),this.components.add(t.component),this.recordMismatch(this.depths.has(t.id),`duplicate_id:${t.id}`);let r=1;if(t.parent!==void 0){let o=this.depths.get(t.parent);this.recordMismatch(o===void 0,`parent_missing:${t.parent}`),r=(o??0)+1;let n=(this.childCounts.get(t.parent)??0)+1;this.childCounts.set(t.parent,n),this.observedFanout=Math.max(this.observedFanout,n)}this.depths.set(t.id,r),this.observedDepth=Math.max(this.observedDepth,r),this.historyEntryCount+=t.history_entry_count,this.recordMismatch(t.history_entry_count!==this.shape.history_entries_per_item,"history_entries_per_item:drift"),this.firstTimestamp=this.firstTimestamp===null||t.timestamp<this.firstTimestamp?t.timestamp:this.firstTimestamp,this.lastTimestamp=this.lastTimestamp===null||t.timestamp>this.lastTimestamp?t.timestamp:this.lastTimestamp;for(let[o,n]of this.annotationFields)this.annotations[o]+=Number(t[n]);this.recordEdgeKinds(this.edgeKinds,t.dependency_kinds),this.recordEdgeKinds(this.expectedEdgeKinds,qe(t.index,this.shape))}finish(){let t=Math.min(this.shape.author_cardinality,this.itemCount),r=Math.min(this.shape.component_count,this.itemCount),o=[...this.planMismatches,...this.itemCount===0?["item_count:empty"]:[],...this.authors.size===t?[]:[`author_count:${this.authors.size}!=${t}`],...this.components.size===r?[]:[`component_count:${this.components.size}!=${r}`],...this.observedDepth<=this.shape.hierarchy_depth?[]:[`hierarchy_depth:${this.observedDepth}>${this.shape.hierarchy_depth}`],...this.observedFanout<=this.shape.hierarchy_fanout?[]:[`hierarchy_fanout:${this.observedFanout}>${this.shape.hierarchy_fanout}`]];for(let[s,,d]of this.annotationFields){let a=Math.floor(this.itemCount/100),c=this.itemCount%100,p=a*d+Math.max(0,d+c-100),l=a*d+Math.min(d,c),u=this.annotations[s];(u<p||u>l)&&o.push(`${s}:${u}!in[${p},${l}]`)}let n=new Set([...Object.keys(this.edgeKinds),...Object.keys(this.expectedEdgeKinds)]);for(let s of[...n].sort()){let d=this.edgeKinds[s]??0,a=this.expectedEdgeKinds[s]??0;d!==a&&o.push(`edge_kind:${s}:${d}!=${a}`)}let i=[...new Set(o)];return{shape:this.shape.name,item_count:this.itemCount,author_count:this.authors.size,component_count:this.components.size,hierarchy_depth:this.observedDepth,hierarchy_fanout:this.observedFanout,timestamp_range:{first:this.firstTimestamp,last:this.lastTimestamp},history_entry_count:this.historyEntryCount,annotations:{...this.annotations},edge_kinds:{...this.edgeKinds},matches_declaration:i.length===0,mismatches:i}}};function Je(e){return new ie(e)}function hm(e,t){let r=Je(e);for(let o of t)r.add(o);return r.finish()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cea03617-5e90-5683-a9d1-289087ed4646")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c9a34bd-b77a-55ab-a5d1-3594cecfeb3f")}catch{}})();async function gm(){let e=X(process.cwd(),process.env.PM_PATH);await Ee(e,(t,r)=>be(t,r,{apply_runtime_defaults:!0}))}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f48b9002-59dc-54d3-95de-36bf0d11b39a")}catch{}})();var Ze="https://schema.unbrained.dev/pm/workspace-recipe/v1";function se(e,t){if(e===null||typeof e=="boolean"||typeof e=="string")return e;if(typeof e=="number"){if(!Number.isFinite(e))throw new Error(`Workspace recipe JSON number must be finite at ${t}`);return e}if(Array.isArray(e))return Object.freeze(e.map((r,o)=>se(r,`${t}[${o}]`)));if(typeof e!="object"||Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==null)throw new Error(`Workspace recipe input must contain JSON values at ${t}`);return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,o])=>[r,se(o,`${t}.${r}`)])))}function Qe(e){if(e.schema!==Ze)throw new Error(`Unsupported workspace recipe schema: ${e.schema}`);let t=ge(e);if(e.operations.some(r=>r.action.trim().length===0||r.input===null||Array.isArray(r.input)))throw new Error("Workspace recipe operations require an action and object input");return Object.freeze({...t,operations:Object.freeze(e.operations.map((r,o)=>Object.freeze({action:r.action,input:se(r.input,`operations[${o}].input`)})))})}async function et(e,t){let r=Qe(e);return Te(r,t)}async function Tm(e,t){return et(e,async()=>{let r=[];for(let[o,n]of e.operations.entries())r.push(await t(n,o));return r})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a108f4d2-80c3-540e-821c-5acdf68eb7fa")}catch{}})();async function ym(){await Se()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="340305b6-e3c8-5daa-bfbe-4a9c62a6d039")}catch{}})();var tt=["lines","branches","functions","statements"];function Cm(e,t){if(typeof t!="object"||t===null||Array.isArray(t))throw new TypeError(`Coverage entry for ${e} must be an object.`)}function Am(e,t,r){if(typeof r!="object"||r===null||Array.isArray(r))throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);let o=r;if(typeof o.covered!="number"||typeof o.total!="number"||!Number.isInteger(o.covered)||!Number.isInteger(o.total)||o.covered<0||o.total<o.covered)throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);return{covered:o.covered,total:o.total}}function Em(e){if(typeof e!="object"||e===null||Array.isArray(e))throw new TypeError("Coverage summary must be a JSON object.");if(!("total"in e))throw new TypeError("Coverage summary is missing the total entry.");let t=[];for(let[r,o]of Object.entries(e)){Cm(r,o);for(let n of tt){let i=Am(r,n,o[n]),s=i.total-i.covered;s>0&&t.push({file:r,metric:n,uncovered:s,...i})}}return t}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3edb1f4f-d26e-51a8-b62a-caffdd3ac44b")}catch{}})();var bm=["captured_redacted","captured_verbatim"],Sm=[{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 m(e){return typeof e=="string"&&e.trim().length>0}function Om(e,t){if(typeof t!="object"||t===null||Array.isArray(t))return[{boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} must contain a JSON object.`}];let r=t,o=[];r.boundary_id!==e.id&&o.push({boundary_id:e.id,kind:"fixture_boundary_mismatch",detail:`${e.fixture_path} names ${String(r.boundary_id)} instead of ${e.id}.`}),(r.version!==1||!bm.includes(r.capture_source)||!m(r.capture_provenance)||!Array.isArray(r.redactions)||!r.redactions.every(m)||!("input"in r)||!("observed"in r))&&o.push({boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} lacks captured provenance, redaction metadata, input, or observed output.`});let n=JSON.stringify(t);for(let i of Sm)i.pattern.test(n)&&o.push({boundary_id:e.id,kind:"unsafe_fixture",detail:`${e.fixture_path} contains a possible ${i.label}.`});return o}function Rm(e,t){let r=Date.parse(e.waiver_expires_at),o=m(e.waiver_reason)&&m(e.waiver_owner)&&e.waiver_expires_at.endsWith("Z")&&ye(e.waiver_expires_at)&&Number.isFinite(r);return{captured:0,waived:o&&r>=t?1:0,findings:o?r<t?[{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 xm(e,t,r){if(!m(e.id)||!m(e.producer)||!m(e.consumer)||!m(e.format))return{captured:0,waived:0,findings:[{boundary_id:m(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 o=t[e.fixture_path],n=m(e.fixture_path)&&e.fixture_path in t?Om(e,o):[{boundary_id:e.id,kind:"missing_fixture",detail:`Boundary ${e.id} fixture ${String(e.fixture_path)} is missing.`}];return{captured:n.length===0?1:0,waived:0,findings:n}}return Rm(e,r)}function ax(e,t,r=new Date){let o=[];if(e.version!==1||!m(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 n=new Set,i=0,s=0;for(let d of e.boundaries){if(typeof d!="object"||d===null||Array.isArray(d)){o.push({boundary_id:"unknown",kind:"invalid_boundary",detail:"Each boundary must be a JSON object."});continue}let a=d,c=m(a.id)?a.id:void 0;if(c!==void 0&&n.has(c)){o.push({boundary_id:c,kind:"duplicate_boundary",detail:`Boundary ${c} is inventoried more than once.`});continue}c!==void 0&&n.add(c);let p=xm(a,t,r.getTime());i+=p.captured,s+=p.waived,o.push(...p.findings)}return o.sort((d,a)=>d.boundary_id!==a.boundary_id?d.boundary_id.localeCompare(a.boundary_id):d.kind.localeCompare(a.kind)),{ok:o.length===0,boundary_count:e.boundaries.length,captured_count:i,waived_count:s,findings:o}}import O from"node:fs";import ae from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="611e9aba-d08e-5c1a-89c9-c7fda0cc9bc9")}catch{}})();var rt=300*1e3,Im=3;function ux(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function _x(e,t){let r=t.trim();if(!/^[a-zA-Z0-9_-][a-zA-Z0-9._-]*$/.test(r))throw new TypeError("Compile-cache generation must be a safe non-empty filename token.");O.mkdirSync(e,{recursive:!0});let o=ae.join(e,r);O.mkdirSync(o,{recursive:!0});let n=new Date;O.utimesSync(o,n,n);let i=O.readdirSync(e).filter(c=>c!==r).flatMap(c=>{try{return[{name:c,mtimeMs:O.statSync(ae.join(e,c)).mtimeMs}]}catch(p){if(p instanceof Error&&"code"in p&&he(p))return[];throw p}}).sort((c,p)=>p.mtimeMs-c.mtimeMs||c.name.localeCompare(p.name)),s=i.filter(c=>n.getTime()-c.mtimeMs<rt),d=Math.max(0,Im-1-s.length),a=i.filter(c=>n.getTime()-c.mtimeMs>=rt).slice(d).map(c=>c.name).sort((c,p)=>c.localeCompare(p));for(let c of a)O.rmSync(ae.join(e,c),{recursive:!0,force:!0,maxRetries:3,retryDelay:50});return{retained:r,removed:a}}import nt from"node:fs";import j from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="962636b0-ed3b-5ad0-ae0c-904435025986")}catch{}})();var H="@unbrained/pm-cli",Nm=new Set(["append","claim","changelog","close","close-many","close-task","comments","config","copy","create","dedupe-merge","delete","deps","docs","extension","event","events","files","focus","gc","history-author-acknowledge","history-compact","history-redact","history-repair","init","install","item","learnings","meet","merge","normalize","notes","package","packages","pause-task","plan","profile","reindex","release","remind","restore","schema","start-task","test","test-all","test-runs","test-runs-worker","telemetry","templates","twin","update","update-many","upgrade","vcs","workspace"]),ot=new Set(["--author","--output-budget","--output-format","--output-include","--output-limit","--output-session","--path","--pm-path"]),pe=/\b(\d{4})\.(\d{1,2})\.(\d{1,2})(?:-(\d+))?\b/u;function _(e,t){return e.some(r=>t.includes(r.split("=",1)[0]))}function de(e,t){return["activate","adopt","adopt-all","deactivate","init","install","migrate","reload","uninstall"].includes(t[0]??"")||_(e,["--activate","--adopt","--adopt-all","--deactivate","--fix-managed-state","--init","--install","--output","--reload","--scaffold","--uninstall"])}var wm={changelog:(e,t)=>{if(t[0]==="generate")return!_(e,["--check"]);let r=e.indexOf("export");return t[0]==="export"&&(_(e,["--output"])||r>=0&&e[r+1]!==void 0&&!e[r+1].startsWith("-"))},comments:e=>_(e,["--add","--delete","--edit","--file","--stdin"]),config:(e,t)=>(t[0]==="project"||t[0]==="global"?t[1]:t[0])==="set",deps:()=>!1,docs:e=>_(e,["--add","--add-glob","--migrate","--remove"]),duplicates:()=>!1,events:()=>!1,extension:de,files:(e,t)=>_(e,["--add","--add-glob","--migrate","--remove"])||t[0]==="discover"&&_(e,["--apply"]),health:e=>!_(e,["--check-only","--no-refresh","--skip-vectors"]),learnings:e=>_(e,["--add","--delete","--edit","--file","--stdin"]),merge:(e,t)=>t[0]!=="report",notes:e=>_(e,["--add","--delete","--edit","--file","--stdin"]),package:de,packages:de,profile:(e,t)=>t[0]==="apply",schema:(e,t)=>["add-field","add-status","add-type","remove-field","remove-status","remove-type","remap-status","rename-field","rename-type"].includes(t[0]??"")&&!(_(e,["--infer"])&&!_(e,["--apply"])),telemetry:(e,t)=>t.slice(0,2).some(r=>["clear","flush"].includes(r)),templates:(e,t)=>t[0]==="save",test:e=>_(e,["--add","--add-json","--background","--measure","--remove","--resume","--run","--stop"]),validate:e=>_(e,["--auto-fix","--prune-missing"]),vcs:(e,t)=>["abandon","create","merge","propose","ref-create"].includes(t[0]??""),workspace:(e,t)=>t[0]==="snapshot"&&["create","delete","restore"].includes(t[1]??"")};function B(e){let t=e.match(pe);return t?[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4]??0)]:null}function U(e,t){let r=B(e),o=B(t);if(!r||!o)return null;for(let n=0;n<r.length;n+=1){let i=r[n]-o[n];if(i!==0)return Math.sign(i)}return 0}function ce(e){try{let t=JSON.parse(nt.readFileSync(e,"utf8"));return typeof t=="object"&&t!==null&&!Array.isArray(t)?t:null}catch{return null}}function km(e){let t=[];for(let r of["dependencies","devDependencies","optionalDependencies","peerDependencies"]){let o=e[r];if(typeof o!="object"||o===null)continue;let n=o[H],i=typeof n=="string"?n.trim():"",s=/^[<!]/u.test(i)?void 0:i.match(pe)?.[0];s&&t.push(s)}return t.sort((r,o)=>U(o,r))[0]}function vm(e){let r=ce(j.join(e,"package-lock.json"))?.packages;if(typeof r!="object"||r===null)return;let o=r["node_modules/@unbrained/pm-cli"];if(typeof o!="object"||o===null)return;let n=o.version;return typeof n=="string"?n:void 0}function Pm(e,t){try{let r=nt.readFileSync(j.join(e,t),"utf8").split(/\r?\n/u),o=r.findIndex(a=>a.includes(H));if(o<0)return;let n=r[o].match(/^\s*/u)[0].length,i=[r[o]];for(let a=o+1;a<r.length;a+=1){let c=r[a],p=c.trim(),l=c.match(/^\s*/u)[0].length;if(p.length>0&&l<=n)break;i.push(c)}return i.join(`
2
+ `).match(/^\s*version(?::\s*|\s+)["']?(\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?)/mu)?.[1]??i[0].match(pe)?.[0]}catch{return}}function Mm(e){let t=[],r=ce(j.join(e,"package.json")),o=r?km(r):void 0;o&&t.push({version:o,source:"package.json"});let i=ce(j.join(e,"node_modules","@unbrained","pm-cli","package.json"))?.version;typeof i=="string"&&B(i)&&t.push({version:i,source:"installed-package"});let s=vm(e);s&&B(s)&&t.push({version:s,source:"package-lock.json"});for(let d of["pnpm-lock.yaml","yarn.lock"]){let a=Pm(e,d);a&&t.push({version:a,source:d})}return t}function it(e){for(let t=0;t<e.length;t+=1){let r=e[t];if(ot.has(r)){t+=1;continue}if(!r.startsWith("-"))return{command:r.toLowerCase(),index:t}}}function Lm(e){let t=it(e);if(!t||_(e,["--help","-h","--dry-run"]))return!1;let{command:r,index:o}=t,n=[];for(let s=o+1;s<e.length;s+=1){let d=e[s];if(ot.has(d)){s+=1;continue}d.startsWith("-")||n.push(d.toLowerCase())}let i=wm[r];return i?i(e,n):Nm.has(r)}function Dm(e){let t=it(e.argv)?.command,r=Lm(e.argv),n=Mm(e.projectRoot).filter(d=>U(d.version,e.executingVersion)!==null).sort((d,a)=>U(a.version,d.version))[0],i=n!==void 0&&U(e.executingVersion,n.version)===-1,s=i&&!r?{code:"project_runtime_stale_read",executing_version:e.executingVersion,project_version:n.version,source:n.source,message:"This read is using an older pm runtime than the project requires.",next_steps:[`Run the command through the project's installed ${H} ${n.version}.`,"Install the project dependencies with its declared package manager if the local executable is missing."]}:void 0;return{compatible:!r||!i||e.allowStale===!0,executing_version:e.executingVersion,...n?{project_version:n.version,source:n.source}:{},...t?{command:t}:{},mutating:r,stale:i,...s?{warning:s}:{},override_applied:i&&r&&e.allowStale===!0}}function yx(e){let t=Dm(e);if(t.compatible)return t;throw new K(`pm ${t.executing_version} cannot mutate a project pinned to newer pm ${t.project_version}.`,C.CONFLICT,{code:"project_runtime_stale_mutation",reason:t.source,why:"An older runtime can write storage, history, and merge contracts it does not understand.",nextSteps:[`Run this command through the project's installed ${H} ${t.project_version}.`,"For an intentional recovery only, set PM_ALLOW_STALE_CLI=1 for this invocation and record why.","Read-only commands remain available without an override."]})}import{createHash as Fm}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4586a8b2-07c8-53d4-9c5d-ca557ee07977")}catch{}})();var le=1;function R(e){e?.throwIfAborted()}function T(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function x(e,t,r={}){let o=Date.parse(r.createdAt??new Date().toISOString());if(!Number.isFinite(o))throw new TypeError("Relationship graph createdAt must be a valid timestamp");let n=e.nodes(),i=e.edges(),s=t.list();return Object.freeze({version:le,fingerprint:Fm("sha256").update(F({nodes:n,edges:i,kinds:s})).digest("hex"),created_at:new Date(o).toISOString(),nodes:n,edges:i,kinds:s})}function Gm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function M(e){if(!Gm(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==le)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(n=>typeof n!="string"))throw new TypeError("Relationship graph snapshot nodes must be strings");if(!Array.isArray(e.edges)||!Array.isArray(e.kinds))throw new TypeError("Relationship graph snapshot edges and kinds must be arrays");if(typeof e.created_at!="string"||!Number.isFinite(Date.parse(e.created_at)))throw new TypeError("Relationship graph snapshot created_at must be valid");if(typeof e.fingerprint!="string")throw new TypeError("Relationship graph snapshot fingerprint must be a string");let t=new Y([]);for(let n of e.kinds)t.register(n);let r=new A(e.nodes,e.edges,t),o=x(r,t,{createdAt:e.created_at});if(o.fingerprint!==e.fingerprint)throw new TypeError("Relationship graph snapshot fingerprint mismatch");return{snapshot:o,registry:t,graph:r}}async function h(e,t){T(e.name,"adapter name");let r=T(t.workspace,"workspace");R(t.signal);let o=await e.read({...t,workspace:r});return R(t.signal),o===null?null:M(o)}async function z(e,t){let r=T(t.workspace,"workspace"),o=M(t.snapshot).snapshot,n=await h(e,{workspace:r,signal:t.signal});if(n?.snapshot.fingerprint===o.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:o.fingerprint,previous_fingerprint:n.snapshot.fingerprint,node_count:o.nodes.length,edge_count:o.edges.length};if(R(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:o,expected_fingerprint:n?.snapshot.fingerprint??null}),(await h(e,{workspace:r,signal:t.signal}))?.snapshot.fingerprint!==o.fingerprint)throw new Error(`Relationship graph adapter "${e.name}" did not expose the replaced snapshot`);return{adapter:e.name,workspace:r,disposition:"written",fingerprint:o.fingerprint,...n?{previous_fingerprint:n.snapshot.fingerprint}:{},node_count:o.nodes.length,edge_count:o.edges.length}}function $m(e,t={}){let r=e.map(M),o=new Map;for(let s of r)for(let d of s.snapshot.kinds){let a=o.get(d.kind);if(a&&F(a)!==F(d))throw new TypeError(`Conflicting federated relationship kind: ${d.kind}`);o.set(d.kind,d)}let n=new Y([...o.values()].sort((s,d)=>s.kind.localeCompare(d.kind))),i=new A(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),n);return x(i,n,t)}var P=class{name;#e=new Map;constructor(t="memory"){this.name=T(t,"adapter name")}async read(t){R(t.signal);let r=this.#e.get(T(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){R(t.signal);let r=T(t.workspace,"workspace"),o=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(o?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.set(r,structuredClone(M(t.snapshot).snapshot))}async clear(t){R(t.signal);let r=T(t.workspace,"workspace"),o=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(o?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.delete(r)}};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="423d6e5d-93e5-5f29-93e0-11ddca9c3156")}catch{}})();function st(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function Um(e){let t=st(e.nodeCount,"nodeCount"),r=st(e.edgeStride??1,"edgeStride"),o=e.topology??"chain";if(!["chain","star","disconnected"].includes(o))throw new TypeError(`Unsupported relationship graph topology: ${o}`);let n=(e.kind??"related").trim(),i=(e.idPrefix??"node").trim();if(!n||!i)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let s=o==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:s,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let d=0;d<t;d+=1)yield`${i}-${d}`}},edges:{*[Symbol.iterator](){if(o!=="disconnected")for(let d=r;d<t;d+=r)yield{source:`${i}-${o==="star"?0:d-r}`,target:`${i}-${d}`,kind:n}}}}}function y(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function at(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",o=Ce(),n=x(new A(["a","b"],[{source:"a",target:"b",kind:"related"}],o),o,{createdAt:"2026-01-01T00:00:00.000Z"}),i=x(new A(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],o),o,{createdAt:"2026-01-02T00:00:00.000Z"}),s=[];y(await h(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let d=await z(e,{workspace:r,snapshot:n});y(d.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),y((await h(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),y((await z(e,{workspace:r,snapshot:n})).disposition==="current","identical sync must be idempotent"),s.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:i,expected_fingerprint:n.fingerprint}),y((await h(e,{workspace:r}))?.snapshot.fingerprint===i.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let c=!1;try{await e.replace({workspace:r,snapshot:n,expected_fingerprint:n.fingerprint})}catch{c=!0}return y(c,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:i.fingerprint}),y(await h(e,{workspace:r})===null,"clear must remove the workspace"),s.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(s),clear_supported:e.clear!==void 0}}function jm(e){return at(new P,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="20842b89-cef6-542e-b069-76c22b340f1d")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5133d678-01f4-5164-aea7-2cc5ed42dd58")}catch{}})();import{createHash as dt}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54a3448c-719c-5404-a9b9-c3072a2fdce2")}catch{}})();function ct(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function Vx(e,t){let r=ct(t.migrationId,"migrationId"),o=ct(t.author,"author"),n=Date.parse(t.timestamp);if(!Number.isFinite(n))throw new TypeError("Relationship backfill timestamp must be valid");let i=new Date(n).toISOString(),s=te(e,void 0,t.registry),d=s.graph.nodes(),a=s.graph.edges().map(u=>{let f=dt("sha256").update(JSON.stringify([r,u.kind,u.source,u.target,u.createdAt??null,u.author??null,u.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${f}`,relationshipId:`migration:${r}:${f}`,action:"add",edge:u,author:o,timestamp:i,reason:`Backfill ${r} from legacy item metadata`})}),c=dt("sha256").update(JSON.stringify({migrationId:r,nodes:d,events:a})).digest("hex"),p=new Set([...t.existingEventIds??[]].filter(u=>typeof u=="string").map(u=>u.trim()).filter(Boolean)),l=a.filter(u=>!p.has(u.eventId));return Object.freeze({migration_id:r,fingerprint:c,nodes:d,events:Object.freeze(l),edge_count:a.length,skipped_existing_count:a.length-l.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.dangling.legacy_terminal.length})}import*as pt from"node:module";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4f4e7daa-14aa-5dad-8a30-79a4d76159d4")}catch{}})();var L=["suggested_retry","candidate_command","example","next_step","migration_hint","restore_with"],ue={suggested_retry:{kind:"suggested_retry",semantics:"recovery"},retry_command:{kind:"suggested_retry",semantics:"recovery"},candidate_command:{kind:"candidate_command",semantics:"recovery"},candidate_commands:{kind:"candidate_command",semantics:"recovery"},fallback_candidates:{kind:"candidate_command",semantics:"recovery",nested_value_field:"command"},next_best_command:{kind:"candidate_command",semantics:"recovery"},example:{kind:"example",semantics:"recovery"},examples:{kind:"example",semantics:"recovery"},next_step:{kind:"next_step",semantics:"recovery"},next_steps:{kind:"next_step",semantics:"recovery"},suggested_next_steps:{kind:"next_step",semantics:"recovery"},migration_hint:{kind:"migration_hint",semantics:"replacement"},migration_hints:{kind:"migration_hint",semantics:"replacement"},restore_with:{kind:"restore_with",semantics:"behavior_preserving"}},Kx=Object.freeze(Object.keys(ue));function lt(e){if(Object.hasOwn(ue,e))return ue[e]}var Bm=new Set([..."=([{,:;!?&|+-*%^~<>","=>"]);function I(e,t){return e<t?-1:e>t?1:0}function Hm(e,t){let r=e[t],o=t+1,n="";for(;o<e.length&&e[o]!==r;)e[o]==="\\"?o+=2:(n+=e[o],o+=1);return e[o]===r&&(o+=1),{next:o,value:n}}function zm(e){return e===void 0||e.kind==="punctuator"&&Bm.has(e.value)||e.kind==="identifier"&&["return","case","throw","else","yield"].includes(e.value)}function Vm(e,t){if(/\s/u.test(e[t]))return t+1;if(e.startsWith("//",t)){let r=e.indexOf(`
3
3
  `,t+2);return r===-1?e.length:r+1}if(e.startsWith("/*",t))return e.indexOf("*/",t+2)+2}function Wm(e,t,r){if(e[t]!=="/"||!zm(r))return;let o=t+1,n=!1;for(;o<e.length;)if(e[o]==="\\")o+=2;else if(e[o]==="[")n=!0,o+=1;else if(e[o]==="]")n=!1,o+=1;else if(e[o]==="/"&&!n){for(o+=1;/[A-Za-z]/u.test(e.charAt(o));)o+=1;return o}else o+=1;return o}function Km(e,t){let r=e[t];if(r==="'"||r==='"'||r==="`"){let n=Hm(e,t);return r==="`"?{next:n.next}:{next:n.next,token:{kind:"string",value:n.value,offset:t+1}}}if(/[A-Za-z_$]/u.test(r)){let n=t+1;for(;/[A-Za-z0-9_$]/u.test(e[n]??"");)n+=1;return{next:n,token:{kind:"identifier",value:e.slice(t,n),offset:t}}}let o=e.startsWith("=>",t)?"=>":r;return{next:t+o.length,token:{kind:"punctuator",value:o,offset:t}}}function Xm(e){let t=[],r=0;for(;r<e.length;){let o=Vm(e,r);if(o!==void 0){r=o;continue}let n=Wm(e,r,t.at(-1));if(n!==void 0){r=n;continue}let i=Km(e,r);i.token&&t.push(i.token),r=i.next}return t}var Ym=new Set(["object","block","pattern"]),qm=new Set(["const","let","var"]),Jm=new Set(["}",")","]"]),Zm=new Set(["=","(","[",",",":","?","return"]);function Qm(e,t,r){if([...r].reverse().find(i=>Ym.has(i.kind))?.kind==="pattern"||r.at(-1)?.kind==="paren"&&r.at(-1)?.parameter_list)return"pattern";let n=e[t-1];return n?.kind==="identifier"&&qm.has(n.value)?"pattern":n?.value==="=>"||n?.value===")"?"block":n&&Zm.has(n.value)?"object":"block"}function ef(e,t,r){let o=e[t];if(o.value==="{"){let d=Qm(e,t,r);return{kind:d,...d==="object"?{member_start:!0,candidates:[]}:{}}}if(o.value==="[")return{kind:"array"};if(o.value!=="(")return;let n=e[t-1],i=e[t-2];return{kind:"paren",...n?.value==="function"||i?.value==="function"?{parameter_list:!0}:{}}}function tf(e,t,r){if(!(e?.kind!=="object"||!e.member_start||t.kind!=="identifier"&&t.kind!=="string"||r?.value!==":"||!/^[A-Za-z][A-Za-z0-9_]*$/u.test(t.value)))return{field:t.value,offset:t.offset}}function rf(e,t){return e[t+1]?.value===")"&&e[t+2]?.value==="=>"||e[t+1]?.value==="="}function nf(e){let t=Xm(pt.stripTypeScriptTypes(e,{mode:"strip"})),r=[],o=[];for(let[n,i]of t.entries()){let s=o.at(-1),d=tf(s,i,t[n+1]);d&&s.candidates.push(d);let a=ef(t,n,o);if(a)o.push(a);else if(Jm.has(i.value)){let c=o.pop();c?.kind==="object"&&!rf(t,n)&&r.push(...c.candidates)}else i.value===","&&s?.kind==="object"?s.member_start=!0:s?.kind==="object"&&i.value!==":"&&(s.member_start=!1)}return r}function of(e){let t=[0];for(let r=0;r<e.length;r+=1)e[r]===`
4
- `&&t.push(r+1);return t}function sf(e,t){let r=0,o=e.length;for(;r<o;){let n=Math.floor((r+o)/2);e[n]<=t?r=n+1:o=n}return r}function Wx(e){let t=[],r=[];for(let n of[...e].sort((i,s)=>I(i.path,s.path))){let i=of(n.content),s;try{s=nf(n.content)}catch(d){r.push({kind:"invalid_source",subject:n.path,detail:`${n.path} could not be parsed for recovery producers: ${String(d)}.`});continue}for(let d of s){let a=d.field,c=sf(i,d.offset),p=lt(a);p?t.push({path:n.path,line:c,field:a,kind:p.kind}):/(?:retry_command|candidate_command|fallback_candidate|next_best_command|example|next_step|migration_hint|restore_with)/u.test(a)&&!/(?:_total|_truncated)$/u.test(a)&&r.push({kind:"unknown_recovery_field",subject:`${n.path}:${c}:${a}`,detail:`${a} resembles a recovery reference but has no typed field contract.`})}}let o=Object.fromEntries(L.map(n=>[n,t.filter(i=>i.kind===n).length]));for(let n of L)o[n]===0&&r.push({kind:"missing_kind_producer",subject:n,detail:`No source producer emits the ${n} recovery-reference kind.`});return t.sort((n,i)=>n.path!==i.path?I(n.path,i.path):n.line!==i.line?n.line-i.line:I(n.field,i.field)),r.sort((n,i)=>n.subject!==i.subject?I(n.subject,i.subject):I(n.kind,i.kind)),{ok:r.length===0,scanned_file_count:e.length,producer_count:t.length,producer_count_by_kind:o,producers:t,findings:r}}function Kx(e,t){let r=[],o=(n,i)=>{if(Array.isArray(n)){n.forEach((s,d)=>o(s,[...i,String(d)]));return}if(!(typeof n!="object"||n===null))for(let[s,d]of Object.entries(n).sort(([a],[c])=>I(a,c))){let a=lt(s),c=a?.kind==="migration_hint"&&n.semantics==="behavior_preserving"?{...a,semantics:"behavior_preserving"}:a,p=[d].flat();c!==void 0&&p.forEach((l,u)=>{let f="nested_value_field"in c&&typeof c.nested_value_field=="string"?c.nested_value_field:void 0,N=f&&typeof l=="object"&&l!==null&&!Array.isArray(l)?l[f]:l;if(typeof N!="string"||N.trim().length===0)return;let w=[...i,s,String(u)].map(D=>encodeURIComponent(D)).join("/");r.push({id:`${e}:${c.kind}:${w}`,probe_id:e,kind:c.kind,semantics:c.semantics,value:N})}),o(d,[...i,s])}};return o(t,[]),r}function Xx(e,t){let r=e.flatMap(s=>(s.owned_states??[]).map(d=>({contract:s,state:d}))),o=[],n=new Map;for(let s of t){if(n.has(s.probe_id)){o.push({kind:"duplicate_probe",probe_id:s.probe_id,detail:`Observation ${s.probe_id} was supplied more than once.`});continue}n.set(s.probe_id,s)}let i=new Set(r.map(({state:s})=>s.probe_id));for(let{contract:s,state:d}of r){let a=n.get(d.probe_id);if(!a){o.push({kind:"missing_probe",probe_id:d.probe_id,detail:`No entrypoint observation was recorded for ${s.code}.`});continue}a.code!==s.code&&o.push({kind:"wrong_error_code",probe_id:d.probe_id,detail:`Expected ${s.code}; observed ${a.code}.`}),a.exit_class!==d.expected_exit_class&&o.push({kind:"wrong_exit_class",probe_id:d.probe_id,detail:`Expected ${d.expected_exit_class}; observed ${a.exit_class}.`}),d.entrypoints.includes(a.entrypoint)||o.push({kind:"wrong_entrypoint",probe_id:d.probe_id,detail:`Expected one of ${d.entrypoints.join(", ")}; observed ${a.entrypoint}.`})}for(let s of t)i.has(s.probe_id)||o.push({kind:"undeclared_probe",probe_id:s.probe_id,detail:`Observation ${s.probe_id} has no catalog declaration.`});return o.sort((s,d)=>s.probe_id!==d.probe_id?s.probe_id.localeCompare(d.probe_id):s.kind.localeCompare(d.kind)),{ok:o.length===0,declared_probe_count:r.length,observed_probe_count:t.length,findings:o}}function Yx(e,t){let r=[],o=new Set,n=new Set;for(let a of e){if(o.has(a.id)){n.add(a.id),r.push({kind:"duplicate_obligation",reference_id:a.id,detail:`Recovery obligation ${a.id} was declared more than once.`});continue}o.add(a.id)}let i=new Map;for(let a of t){if(i.has(a.id)){r.push({kind:"duplicate_observation",reference_id:a.id,detail:`Recovery reference ${a.id} was observed more than once.`});continue}i.set(a.id,a),o.has(a.id)||r.push({kind:"undeclared_observation",reference_id:a.id,detail:`Recovery observation ${a.id} has no emitted obligation.`})}for(let a of e){if(n.has(a.id))continue;let c=i.get(a.id);c?c.reachable?c.semantics!==a.semantics&&r.push({kind:"wrong_semantics",reference_id:a.id,detail:`Recovery reference ${a.value} promised ${a.semantics}; proof demonstrated ${c.semantics}.`}):r.push({kind:"unreachable_reference",reference_id:a.id,detail:`Recovery reference ${a.value} did not reach its promised target.`}):r.push({kind:"missing_observation",reference_id:a.id,detail:`No reachability proof was recorded for ${a.kind} ${a.value}.`})}let s=L.map(a=>{let c=e.filter(l=>l.kind===a),p=c.filter(l=>!n.has(l.id)).map(l=>i.get(l.id)).filter(l=>l!==void 0);return{kind:a,declared:c.length,observed:p.length,passed:c.filter(l=>{let u=i.get(l.id);return!n.has(l.id)&&u?.reachable===!0&&u.semantics===l.semantics}).length}});r.sort((a,c)=>a.reference_id!==c.reference_id?a.reference_id.localeCompare(c.reference_id):a.kind.localeCompare(c.kind));let d=s.reduce((a,c)=>a+c.passed,0);return{ok:r.length===0,declared_reference_count:e.length,observed_reference_count:t.length,pass_fraction:o.size===0?1:d/o.size,coverage_by_kind:s,findings:r}}function af(e,t){let r=new Map(L.map(i=>[i,new Set]));for(let i of t)r.get(i.kind).add(i.value);let o=L.map(i=>({kind:i,source_producers:e.producer_count_by_kind[i],runtime_values:r.get(i).size})),n=o.filter(({source_producers:i,runtime_values:s})=>i>0&&s===0).map(({kind:i})=>i);return{ok:e.ok&&n.length===0,source_producer_count:e.producer_count,runtime_value_count:o.reduce((i,{runtime_values:s})=>i+s,0),coverage_by_kind:o,missing_runtime_kinds:n}}var qx=af;(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5560aa3a-036e-509c-955c-a09e9bf9df18")}catch{}})();var ut=16,_t=Object.freeze(["bulk_ids_input_empty","bulk_ids_input_missing_path","bulk_ids_input_unreadable","invalid_argument_value","missing_lifecycle_target","missing_required_argument","projection_options_mutually_exclusive","tracker_not_initialized","tracker_root_missing","tracker_root_not_directory","tracker_root_unreadable","unknown_context_intent","unknown_field_projection","unknown_option","unknown_subcommand"]);function Zx(e,t=ut){return{ok:e.executable_error_code_count>=t,baseline:t,actual:e.executable_error_code_count}}function Qx(e,t=_t){let r=new Set(e.rows.filter(({disposition:n})=>n==="executable").map(({canonical_code:n})=>n)),o=t.filter(n=>!r.has(n));return{ok:o.length===0,required_canonical_codes:[...t],missing_required_canonical_codes:o}}function _e(e,t){let r=e.get(t);if(r)return r;let o={kinds:new Set,probeIds:new Set};return e.set(t,o),o}function eI(e,t,r){let o=new Map(e.map(p=>[p.code,p.canonical_code??p.code])),n=new Map,i=0,s=0;for(let p of e){let l=_e(n,p.canonical_code??p.code);for(let u of p.owned_states??[])l.kinds.add("owned_state"),l.probeIds.add(u.probe_id)}for(let p of t){let l=o.get(p.error_code);if(l===void 0)continue;i+=1;let u=_e(n,l);u.kinds.add("closed_domain"),u.probeIds.add(p.probe_id)}for(let p of r){let l=o.get(p.error_code);if(l===void 0)continue;s+=1;let u=_e(n,l);u.kinds.add("grammar"),u.probeIds.add(p.probe_id)}let d=e.map(p=>{let l=p.canonical_code??p.code,u=n.get(l),f=[...u.probeIds].sort();return{code:p.code,canonical_code:l,disposition:f.length>0?"executable":"uncovered",evidence_kinds:[...u.kinds].sort(),probe_ids:f}}).sort((p,l)=>p.code<l.code?-1:1),a=d.filter(({disposition:p})=>p==="uncovered").map(({code:p})=>p),c=d.length-a.length;return{ok:a.length===0,catalog_error_code_count:d.length,executable_error_code_count:c,uncovered_error_code_count:a.length,coverage_fraction:d.length===0?1:c/d.length,closed_domain_probe_count:i,grammar_probe_count:s,uncovered_error_codes:a,rows:d}}function tI(e){let t=e.rows.map(r=>`| \`${r.code}\` | \`${r.canonical_code}\` | ${r.disposition} | ${r.evidence_kinds.join(", ")||"none"} | ${r.probe_ids.length} |`);return["# Generated refusal closure census","","Tracker: `pm-f05lsg`.","","Every catalog code is listed. An `uncovered` row is an explicit closure obligation, never an omission or implied approval.","",`- Catalog error codes: ${e.catalog_error_code_count}`,`- Executable error codes: ${e.executable_error_code_count}`,`- Executable-code ratchet floor: ${ut}`,`- Required executable canonical codes: ${_t.map(r=>`\`${r}\``).join(", ")}`,`- Uncovered error codes: ${e.uncovered_error_code_count}`,`- Coverage fraction: ${e.coverage_fraction.toFixed(6)}`,`- Closed-domain probes: ${e.closed_domain_probe_count}`,`- Grammar probes: ${e.grammar_probe_count}`,"","| Error code | Canonical code | Disposition | Evidence kinds | Probe count |","| --- | --- | --- | --- | --- |",...t,""].join(`
5
- `)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0ec8c375-e58e-5ce4-b0aa-8a8a4dfa0778")}catch{}})();function df(e){return[e.expected_error_code!==void 0&&e.error_code!==e.expected_error_code?{code:"error_code_mismatch",probe_id:e.probe_id,detail:`Expected error code ${e.expected_error_code}, received ${e.error_code??"<missing>"}.`}:void 0,e.expected_allowed_values!==void 0&&JSON.stringify([...e.allowed_values].sort())!==JSON.stringify([...e.expected_allowed_values].sort())?{code:"incomplete_allowed_values",probe_id:e.probe_id,detail:"The refusal's accepted domain differs from the SDK-owned domain contract."}:void 0,e.expected_suggested_retry_args!==void 0&&(e.suggested_retry_args?.length??0)===0?{code:"missing_suggested_retry_args",probe_id:e.probe_id,detail:"The refusal omitted shell-free suggested retry arguments."}:void 0,e.expected_suggested_retry_args!==void 0&&(e.suggested_retry_args?.length??0)>0&&JSON.stringify(e.suggested_retry_args)!==JSON.stringify(e.expected_suggested_retry_args)?{code:"suggested_retry_args_mismatch",probe_id:e.probe_id,detail:"The refusal's suggested retry arguments differ from the SDK-owned contract."}:void 0]}function cf(e){return[e.exit_code!==C.USAGE?{code:"non_refusal_exit",probe_id:e.probe_id,detail:`${e.entrypoint} returned exit code ${e.exit_code}; a structured usage refusal must return ${C.USAGE}.`}:void 0,e.allowed_values_required!==!1&&e.allowed_values.length===0?{code:"missing_allowed_values",probe_id:e.probe_id,detail:"The refusal omitted its complete accepted value domain."}:void 0,e.allowed_values.includes(e.rejected_value)?{code:"accepted_rejected_value",probe_id:e.probe_id,detail:`${e.rejected_value} is both rejected and advertised as allowed.`}:void 0,e.suggested_retry.trim().length===0?{code:"missing_suggested_retry",probe_id:e.probe_id,detail:"The refusal omitted an executable suggested retry."}:void 0,e.retry_succeeded?void 0:{code:"retry_failed",probe_id:e.probe_id,detail:"The advertised suggested retry did not succeed."},...df(e)]}function oI(e){let t=[],r=new Set,o=0;e.length===0&&t.push({code:"empty_corpus",probe_id:"corpus",detail:"At least one real refusal observation is required."});for(let n of e){if(r.has(n.probe_id)){t.push({code:"duplicate_probe",probe_id:n.probe_id,detail:`${n.probe_id} was supplied more than once.`});continue}r.add(n.probe_id);let i=t.length;for(let s of cf(n))s!==void 0&&t.push(s);t.length===i&&(o+=1)}return t.sort((n,i)=>n.probe_id!==i.probe_id?n.probe_id.localeCompare(i.probe_id):n.code.localeCompare(i.code)),{ok:t.length===0,probe_count:r.size,closed_probe_count:o,closure_fraction:r.size===0?0:o/r.size,findings:t}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2e90ea29-2708-5af8-b390-599be97718e7")}catch{}})();var mt="not-a-declared-action";function pf(e,t){if(e.startsWith("assurance ")&&t.name==="kind")return"measurement";switch(t.value_kind){case"integer":return"1";case"item_id":return"pm-domain";case"action":throw new Error(`Cannot synthesize a preceding action value for positional slot ${t.name}.`);default:return"example"}}function me(e){return e.replaceAll(/[^a-z0-9]+/gu,"-").replaceAll(/^-|-$/gu,"")}function uI(e=Q.filter(t=>Oe.some(r=>r.command===t.command&&r.disposition!=="package_owned"))){return e.flatMap(t=>t.slots.flatMap((r,o)=>{if(!r.required)return[];let n=t.command.split(" "),i=k(t.command).flatMap(d=>d.required?[d.flag,...d.value_name?["example"]:[]]:[]),s=Z.some(d=>d.command===t.command);return[{probe_id:`required-argument-${me(t.command)}-${me(r.name)}`,command:t.command,refusal_args:[...n,...t.slots.slice(0,o).map(d=>pf(t.command,d)),...i],recovery_args:[...n,"--help"],error_code:s&&!t.command.startsWith("assurance ")?"invalid_argument_value":/^extension (?:activate|adopt|deactivate|uninstall)$/u.test(t.command)?"missing_lifecycle_target":"missing_required_argument",missing_argument:r.name,missing_argument_index:o}]})).sort((t,r)=>t.probe_id.localeCompare(r.probe_id))}function lf(e){switch(e){case"assurance":case"workspace snapshot":return Z.filter(({parent:t})=>t===e).map(({action:t})=>t);case"graph":return q;case"merge":return J;case"plan":return re;case"profile":return ne;case"schema":return xe;default:throw new Error(`Required positional action family ${e} has no authoritative value domain.`)}}function _I(e=Q){return e.filter(({slots:t})=>t[0]?.required===!0&&t[0].value_kind==="action").map(({command:t})=>{let r=t.split(" ");return{probe_id:`unknown-subcommand-${me(t)}`,command:t,refusal_args:[...r,mt],recovery_args:[...r,"--help"],error_code:"unknown_subcommand",rejected_value:mt,allowed_values:[...lf(t)].sort()}}).sort((t,r)=>t.probe_id.localeCompare(r.probe_id))}function uf(e,t){let r=[...t].sort();return e.length===t.length&&[...e].sort().every((o,n)=>o===r[n])}function _f(e,t){if(!t)return[{code:"refusal_probe_missing",probe_id:e.probe_id,detail:`${e.probe_id} has no runtime observation.`}];let r=[];return t.error_code!==e.error_code&&r.push({code:"refusal_error_code_mismatch",probe_id:e.probe_id,detail:`${e.probe_id} emitted ${t.error_code||"<none>"}; expected ${e.error_code}.`}),t.exit_code!==2&&r.push({code:"refusal_exit_code_mismatch",probe_id:e.probe_id,detail:`${e.probe_id} exited ${t.exit_code}; expected usage exit 2.`}),"allowed_values"in e&&!uf(t.allowed_values,e.allowed_values)&&r.push({code:"refusal_allowed_values_mismatch",probe_id:e.probe_id,detail:`${e.probe_id} did not expose its complete action domain.`}),t.recovery_succeeded||r.push({code:"refusal_recovery_failed",probe_id:e.probe_id,detail:`${e.probe_id} help recovery did not succeed.`}),t.refusal_mutated_state&&r.push({code:"refusal_mutated_state",probe_id:e.probe_id,detail:`${e.probe_id} changed tracker state while refusing input${t.mutated_paths?.length?`: ${t.mutated_paths.join(", ")}`:"."}`}),r}function mI(e,t){let r=new Map(e.map(s=>[s.probe_id,s])),o=new Map(t.map(s=>[s.probe_id,s])),n=[...e.flatMap(s=>_f(s,o.get(s.probe_id))),...t.filter(s=>!r.has(s.probe_id)).map(s=>({code:"unexpected_refusal_probe",probe_id:s.probe_id,detail:`${s.probe_id} has no declared grammar refusal contract.`}))];n.sort((s,d)=>s.probe_id.localeCompare(d.probe_id)||s.code.localeCompare(d.code));let i=new Set(n.map(({probe_id:s})=>s));return{ok:n.length===0,probe_count:e.length,closed_probe_count:e.filter(({probe_id:s})=>!i.has(s)).length,findings:n}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="941a11a9-f756-56b3-9dc1-8afd78bc9328")}catch{}})();var fe=[{probe_id:"tracker-root-missing",failure_kind:"missing_root",expected_error_code:"tracker_root_missing",expected_exit_code:3,recovery_kind:"initialize"},{probe_id:"tracker-root-settings-missing",failure_kind:"settings_missing",expected_error_code:"tracker_not_initialized",expected_exit_code:3,recovery_kind:"initialize"},{probe_id:"tracker-root-not-directory",failure_kind:"not_directory",expected_error_code:"tracker_root_not_directory",expected_exit_code:2,recovery_kind:"select_directory"},{probe_id:"tracker-root-unreadable",failure_kind:"unreadable_root",expected_error_code:"tracker_root_unreadable",expected_exit_code:1,recovery_kind:"repair_permissions"}];function hI(){return fe.map(e=>({...e}))}function mf(e,t){let r=[];t.error_code!==e.expected_error_code&&r.push({code:"error_code_mismatch",probe_id:e.probe_id,detail:`Expected ${e.expected_error_code}, received ${t.error_code}.`}),t.exit_code!==e.expected_exit_code&&r.push({code:"exit_code_mismatch",probe_id:e.probe_id,detail:`Expected exit ${e.expected_exit_code}, received ${t.exit_code}.`}),t.recovery_kind!==e.recovery_kind&&r.push({code:"recovery_kind_mismatch",probe_id:e.probe_id,detail:`Expected ${e.recovery_kind}, received ${t.recovery_kind}.`});let o=t.suggested_retry_args.indexOf("init"),n=o===0||o===2&&t.suggested_retry_args[0]==="--pm-path"&&t.suggested_retry_args[1]?.length>0;return e.recovery_kind==="initialize"&&!n&&r.push({code:"missing_init_recovery",probe_id:e.probe_id,detail:"Missing and uninitialized roots must emit a tokenized init retry."}),(t.unsafe_init_recommended||e.recovery_kind!=="initialize"&&t.suggested_retry_args.includes("init"))&&r.push({code:"unsafe_init_recovery",probe_id:e.probe_id,detail:"A tracker root that cannot be initialized safely must not recommend initialization."}),t.retry_succeeded||r.push({code:"retry_failed",probe_id:e.probe_id,detail:"The emitted retry or safe alternate-root recovery did not execute successfully."}),r}function gI(e){let t=new Map(e.map(n=>[n.probe_id,n])),r=[],o=0;for(let n of fe){let i=t.get(n.probe_id);if(i===void 0){r.push({code:"missing_probe",probe_id:n.probe_id,detail:"No runtime observation was supplied for this contract."});continue}let s=mf(n,i);r.push(...s),s.length===0&&(o+=1)}return r.sort((n,i)=>n.probe_id.localeCompare(i.probe_id)||n.code.localeCompare(i.code)),{ok:r.length===0,probe_count:fe.length,closed_probe_count:o,findings:r}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8320177c-e95d-5d14-a914-4ac37230c0b9")}catch{}})();var V,ff=Object.freeze({list:"list-item-projection","list-all":"list-item-projection","list-draft":"list-item-projection","list-open":"list-item-projection","list-in-progress":"list-item-projection","list-blocked":"list-item-projection","list-closed":"list-item-projection","list-canceled":"list-item-projection",get:"get-item-projection",graph:"graph-detail-projection",search:"search-result-projection",history:"history-entry-projection",events:"mutation-event-projection",activity:"activity-entry-projection",deps:"dependency-graph-projection",health:"health-diagnostic-projection",validate:"validation-diagnostic-projection",contracts:"contract-catalog-projection"});function hf(e,t){if(t==="--limit")return"result-row-limit";if(t==="--node-limit")return"graph-node-limit";if(t==="--edge-limit")return"graph-edge-limit";if(t==="--output-limit")return"rendered-output-row-limit";if(t==="--output-budget")return"rendered-output-byte-budget";if(t==="--token-budget")return"context-intent-token-budget";if(t==="--full"){let r=ff[e];if(r===void 0)throw new Error(`Command ${e} exposes --full without a registered projection concept.`);return r}return t!=="--file"?t.slice(2):["create","update","update-many"].includes(e)?"linked-file-path":["comments","notes","learnings"].includes(e)?"entry-file-input":"plan-definition-file"}function W(){if(V!==void 0)return V;let t=oe.filter(({command:i})=>ee(i)).flatMap(({command:i,family:s})=>We(i,k(i)).map(d=>({command:i,family:s,concept:hf(i,d.flag),flag:d.flag,aliases:Object.freeze([...d.aliases??[]]),value_kind:d.repeatable?"list":d.flag==="--limit"?"number":d.value_type}))),r=new Set(t.flatMap(i=>i.aliases.map(s=>`${i.command}:${s}`))),o=t.filter(i=>!r.has(`${i.command}:${i.flag}`)),n=new Map;for(let i of o){let s=n.get(i.concept)??new Set;s.add(i.value_kind),n.set(i.concept,s)}return V=Object.freeze(o.map(i=>Object.freeze({...i,concept:n.get(i.concept)?.size===1?i.concept:`${i.concept}@${i.command}`}))),V}function EI(){return Object.freeze(W().map(e=>Object.freeze({command:e.command,canonical_flag:e.flag,accepted_spellings:Object.freeze([...new Set([e.flag,...e.aliases])].sort())})))}var ft=Object.freeze({init:30,config:35,extension:53,package:54,packages:54,install:26,upgrade:29,create:100,copy:24,focus:22,list:86,"list-all":85,"list-draft":84,"list-open":84,"list-in-progress":84,"list-blocked":84,"list-closed":84,"list-canceled":84,aggregate:37,context:45,ctx:45,get:30,graph:34,search:78,duplicates:24,eval:25,next:35,history:35,events:33,"history-redact":27,"history-repair":26,"history-compact":30,"history-author-acknowledge":28,merge:24,schema:40,profile:22,activity:35,restore:23,update:105,"update-many":140,close:31,"close-many":72,delete:24,append:24,comments:30,notes:34,learnings:26,files:39,docs:30,deps:32,plan:109,test:52,"test-all":40,telemetry:21,stats:29,health:36,validate:45,assurance:30,gc:22,workspace:23,contracts:29,claim:36,release:23,"start-task":23,"pause-task":23,"close-task":24,meet:33,event:33,remind:29,"test-runs-worker":25});function ht(){let e=new Map(Object.keys(ft).map(t=>[t,0]));for(let{command:t}of W())e.set(t,Number(e.get(t))+1);return Object.freeze(Object.entries(ft).map(([t,r])=>Object.freeze({command:t,current:Number(e.get(t)),maximum:r})))}function gf(e,t,r){for(let o of e)for(let n of o.aliases){let i=t.get(`${o.command}:${n}`);i===void 0||i.flag===o.flag||r.push({code:"alias_collision",command:o.command,detail:`${n} aliases ${o.flag} but is canonical for ${i.flag}.`})}}function Tf(e,t,r){let o=new Set(t.map(({command:n})=>n));for(let n of e.keys())o.has(n)||r.push({code:"missing_budget",command:n,detail:`${n} has canonical flags but no persisted budget.`});for(let n of t){let i=e.get(n.command)??0;i===0&&r.push({code:"stale_budget",command:n.command,detail:`${n.command} has a persisted budget but no canonical flags.`}),!(i<=n.maximum)&&r.push({code:"budget_exceeded",command:n.command,detail:`${i} canonical flags exceed the ratcheted maximum ${n.maximum}.`})}}function yf(e,t,r){let o=new Map(e.map(n=>[`${n.command}:${n.flag}`,n]));for(let n of t){let i=`${n.command}:${n.canonical_flag}`,s=o.get(i);if(!s){r.push({code:"removed_canonical_spelling",command:n.command,detail:`${n.canonical_flag} disappeared from the executable spelling inventory.`});continue}let d=new Set([s.flag,...s.aliases]);for(let a of n.accepted_spellings)d.has(a)||r.push({code:"removed_compatibility_spelling",command:n.command,detail:`${a} no longer resolves to ${n.canonical_flag}.`})}}function bI(e=W(),t=ht(),r=[]){let o=[],n=new Map,i=new Map,s=new Map,d=new Map;for(let a of e){let c=`${a.command}:${a.flag}`;n.has(c)?o.push({code:"duplicate_canonical_flag",command:a.command,detail:`${a.flag} has more than one canonical row.`}):n.set(c,a),d.set(a.command,(d.get(a.command)??0)+1);let p=i.get(a.concept);p!==void 0&&p!==a.value_kind?o.push({code:"inconsistent_concept_kind",command:a.command,detail:`${a.concept} uses both ${p} and ${a.value_kind}.`}):i.set(a.concept,a.value_kind);let l=s.get(a.concept);l!==void 0&&l!==a.flag?o.push({code:"semantic_spelling_collision",command:a.command,detail:`${a.concept} is canonicalized by both ${l} and ${a.flag}.`}):s.set(a.concept,a.flag)}return gf(e,n,o),Tf(d,t,o),yf(e,r,o),o.sort((a,c)=>a.command.localeCompare(c.command)||a.code.localeCompare(c.code)||a.detail.localeCompare(c.detail)),{ok:o.length===0,entry_count:e.length,budget_count:t.length,concept_count:new Set(e.map(({concept:a})=>a)).size,baseline_entry_count:r.length,findings:o}}function SI(){let e=W(),t=ht(),r=new Map(t.map(({command:n})=>[n,"unknown"]));for(let{command:n,family:i}of e)r.set(n,i);return["# Generated flag lexicon budgets","","This file is generated by `listPmFlagLexicon()`. Compatibility aliases do not consume canonical budget.","","| Command | Capability family | Canonical flags | Maximum |","| --- | --- | ---: | ---: |",...t.map(({command:n,current:i,maximum:s})=>{let d=r.get(n);return`| \`${n}\` | ${d} | ${i} | ${s} |`}),""].join(`
6
- `)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7fc669d4-1db2-5636-8304-2c111a684726")}catch{}})();function RI(e){return e}function xI(e){return e}function II(e){return e}function NI(e){return e}function wI(e){return e}function kI(e){return e}function vI(e){return e}function PI(e){return e}function MI(e){return e}function LI(e){return e}function DI(e){return e}function FI(e){return e}function GI(e){return e}function $I(e){return{handled:!0,result:e}}function UI(){return{handled:!1}}function jI(e){return e}function BI(e){return e}function HI(e){return e}function zI(e){return e}function VI(e){return e}function WI(e){return e}function KI(e){return e}function XI(e){return e}function YI(e){return e}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5bbfab95-010d-5507-ab01-f8f43943d295")}catch{}})();function Cf(e={},t={}){return new G(t).extension(void 0,{...e,migrate:!0})}function Af(e={},t={}){return new G(t).packageMigrate(e)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bca95ba2-258c-5be2-8428-dcb8dbc87ef0")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c2063b82-58b6-54c9-baff-ca252cadf463")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="036baf5a-3ba9-55ea-a11b-d9e94a848b92")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="805c081a-a781-50c3-8919-81492208913b")}catch{}})();export{FE as ACTIONABILITY_ORDERING_KINDS,to as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,Ji as ACTIVITY_FLAG_CONTRACTS,dr as AGENT_PROVENANCE_DIMENSIONS,Lo as AGGREGATE_FLAG_CONTRACTS,Ai as APPEND_FLAG_CONTRACTS,PE as ASSURANCE_ACTIONS,ME as ASSURANCE_DECLARATION_KINDS,IA as ASSURANCE_DOCUMENT_VERSION,ji as ASSURANCE_FLAG_CONTRACTS,NA as ASSURANCE_GATE_TRIGGERS,wA as ASSURANCE_MEASUREMENT_SOURCE_KINDS,KA as ASSURANCE_PRESET_IDS,SA as AssuranceEvaluationRefusalError,bA as AssuranceMutationRefusalError,OA as AssuranceSourceResolutionError,Kt as BASELINE_ITEM_FORMAT_VERSION,bm as BOUNDARY_FIXTURE_CAPTURE_SOURCES,YE as BRIEF_LIST_FIELDS,pr as BUILTIN_AGENT_PROVENANCE_ADAPTERS,S as BUILTIN_CORPUS_SHAPES,cr as BUILTIN_HARNESS_SIGNAL_DESCRIPTORS,bt as BUILTIN_ITEM_TYPE_VALUES,De as BUILTIN_PROFILES,oh as BUILTIN_RELATIONSHIP_KINDS,Zn as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,qi as CALENDAR_FLAG_CONTRACTS,Ei as CLAIM_FLAG_CONTRACTS,fs as CLOSE_ACTION_OPTION_KEYS,yi as CLOSE_FLAG_CONTRACTS,Ci as CLOSE_MANY_FLAG_CONTRACTS,Ii as CLOSE_TASK_FLAG_CONTRACTS,Do as COMMENTS_FLAG_CONTRACTS,Jf as COMMON_MUTATION_COMMAND_OPTION_KEYS,cs as COMPLETION_FLAG_CONTRACTS,Nt as CONFIDENCE_TEXT_VALUES,Jo as CONFIG_FLAG_CONTRACTS,Qn as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,mb as CONTEXT_EVALUATION_METRIC_NAMES,Qi as CONTEXT_FLAG_CONTRACTS,ve as CONTEXT_OUTPUT_VALUES,yb as CONTEXT_PACKING_PROFILES,pb as CONTEXT_RELEVANCE_SERVICE,db as CONTEXT_RELEVANCE_SIGNAL_NAMES,xb as CONTEXT_SIGNAL_SET_VERSION,Rb as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Ib as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,ds as CONTRACTS_FLAG_CONTRACTS,Wi as COPY_FLAG_CONTRACTS,io as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,ao as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,so as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,Rf as CREATE_DIRECT_CLOSE_REASON_DEFAULT,Bi as CREATE_FLAG_CONTRACTS,GT as CURRENT_HISTORY_ITEM_HASH_VERSION,Xt as CURRENT_ITEM_FORMAT_VERSION,vb as ContextSignalStore,Ab as ContextUsageValidationError,hA as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,lS as DEFAULT_CHILD_SAMPLE_LIMIT,XE as DEFAULT_COMPACT_LIST_FIELDS,Ry as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Np as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,Kb as DEFAULT_TERMINAL_TRANSITION_POLICY,Db as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,RE as DEFECT_ESCAPE_CLASSES,xE as DEFECT_GATE_EVIDENCE_DISPOSITIONS,Si as DELETE_FLAG_CONTRACTS,Rt as DEPENDENCY_KIND_VALUES,rs as DEPS_FLAG_CONTRACTS,Uo as DOCS_FLAG_CONTRACTS,Gi as DUPLICATES_FLAG_CONTRACTS,os as EVAL_FLAG_CONTRACTS,Op as EVAL_QUERY_SET_CONTRACT,Rp as EVAL_QUERY_SET_EXAMPLE,Sp as EVAL_QUERY_SET_SCHEMA_ID,Zi as EVENTS_FLAG_CONTRACTS,wi as EVENT_FLAG_CONTRACTS,xr as EXECUTABLE_COMMAND_ALIASES,C as EXIT_CODE,di as EXTENSION_ACTIVATE_FLAG_CONTRACTS,ai as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,fi as EXTENSION_ADOPT_FLAG_CONTRACTS,KC as EXTENSION_CAPABILITIES,Sf as EXTENSION_CAPABILITY_CONTRACT,Ef as EXTENSION_CAPABILITY_CONTRACT_VERSION,bf as EXTENSION_CAPABILITY_LEGACY_ALIASES,Gt as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,mi as EXTENSION_CATALOG_FLAG_CONTRACTS,ci as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,si as EXTENSION_DESCRIBE_FLAG_CONTRACTS,_i as EXTENSION_DOCTOR_FLAG_CONTRACTS,ii as EXTENSION_EXPLORE_FLAG_CONTRACTS,Zo as EXTENSION_FLAG_CONTRACTS,ei as EXTENSION_INIT_FLAG_CONTRACTS,ni as EXTENSION_INSTALL_FLAG_CONTRACTS,li as EXTENSION_MANAGE_FLAG_CONTRACTS,pi as EXTENSION_MIGRATE_FLAG_CONTRACTS,XC as EXTENSION_POLICY_MODES,YC as EXTENSION_POLICY_SURFACES,ui as EXTENSION_RELOAD_FLAG_CONTRACTS,JC as EXTENSION_SANDBOX_PROFILES,Qo as EXTENSION_SCOPE_FLAG_CONTRACTS,qC as EXTENSION_TRUST_MODES,oi as EXTENSION_UNINSTALL_FLAG_CONTRACTS,QA as EXTERNAL_DEPENDENCY_SOURCE_KIND,eE as EXTERNAL_DEPENDENCY_SOURCE_KIND_ALIAS,$o as FILES_FLAG_CONTRACTS,Ki as FOCUS_FLAG_CONTRACTS,Di as GC_FLAG_CONTRACTS,ZE as GET_DEPTH_VALUES,es as GET_FLAG_CONTRACTS,Po as GLOBAL_FLAG_CONTRACTS,fa as GRAPH_DURABLE_CACHE_MIN_ITEMS,ma as GRAPH_DURABLE_CACHE_VERSION,ns as GRAPH_FLAG_CONTRACTS,q as GRAPH_SUBCOMMAND_VALUES,ts as GUIDE_FLAG_CONTRACTS,$i as HEALTH_FLAG_CONTRACTS,Vo as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,sE as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,eO as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,Wo as HISTORY_COMPACT_FLAG_CONTRACTS,jo as HISTORY_FLAG_CONTRACTS,Ho as HISTORY_REDACT_FLAG_CONTRACTS,zo as HISTORY_REPAIR_FLAG_CONTRACTS,Tp as INIT_AGENT_GUIDANCE_MODE_VALUES,qo as INIT_FLAG_CONTRACTS,hi as INSTALL_FLAG_CONTRACTS,It as ISSUE_SEVERITY_VALUES,zi as ITEM_COMPLETE_FLAG_CONTRACTS,LS as ITEM_LATEST_TIMESTAMP_FIELDS,Of as ITEM_METADATA_KEY_ORDER,Hi as ITEM_MUTATE_FLAG_CONTRACTS,Vi as ITEM_REOPEN_FLAG_CONTRACTS,St as ITEM_TYPE_VALUES,MS as ITEM_UNION_COLLECTION_FIELDS,kb as JsonFileContextSignalStoreAdapter,Go as LEARNINGS_FLAG_CONTRACTS,Vc as LINKED_TEST_ENV_NAME_PATTERN,Wc as LINKED_TEST_PM_CONTEXT_MODE_VALUES,zc as LINKED_TEST_PROTECTED_ENV_KEYS,Kc as LINKED_TEST_WORKSPACE_CONTEXT_MODE_VALUES,qn as LIST_COMMANDER_STRING_OPTION_CONTRACTS,qE as LIST_COMMAND_DEFAULT_PROJECTIONS,QC as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,Mo as LIST_FILTER_FLAG_CONTRACTS,rb as LIST_SORT_FIELDS,nb as LIST_SORT_ORDER_VALUES,pS as MAX_CHILD_PROJECTION_ITEMS,Ni as MEET_FLAG_CONTRACTS,GS as MERGE_DRIVER_ARTIFACT_VALUES,Bo as MERGE_FLAG_CONTRACTS,J as MERGE_SUBCOMMAND_VALUES,VS as MUTATION_EVENT_WIRE_BUDGET,P as MemoryRelationshipGraphAdapter,eo as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,ss as NEXT_FLAG_CONTRACTS,Rc as NEXT_OUTPUT_VALUES,Fo as NOTES_FLAG_CONTRACTS,ti as PACKAGE_FLAG_CONTRACTS,ri as PACKAGE_INIT_FLAG_CONTRACTS,xi as PAUSE_TASK_FLAG_CONTRACTS,ms as PLAN_CREATE_METADATA_PARAMETER_KEYS,Yo as PLAN_FLAG_CONTRACTS,dp as PLAN_SHOW_DEPTH_VALUES,re as PLAN_SUBCOMMANDS,cp as PLAN_TEMPLATE_NAMES,bs as PM_CLI_EXPECTED_ERROR_NAME,SC as PM_CLI_GRAMMAR_CONTRACT,yC as PM_CLI_GRAMMAR_NOUNS,$r as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,CC as PM_CLI_SHARED_VERBS,Rr as PM_COMMAND_ALIAS_CONTRACTS,oe as PM_COMMAND_CAPABILITY_CONTRACTS,Oe as PM_COMMAND_DESTINATION_CONTRACTS,Qb as PM_COMMAND_EXIT_CONTRACTS,Zb as PM_COMMAND_EXIT_OUTCOME_CONTRACTS,nn as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,_O as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,Q as PM_COMMAND_POSITIONAL_CONTRACTS,ol as PM_COMMAND_VISIBILITY_CONTRACTS,tA as PM_COMPLETE_LIST_FINDING_CODES,aA as PM_CONTEXT_INTENTS_FILE,ST as PM_CONTEXT_INTENT_CONTRACTS,Dr as PM_CORE_COMMAND_NAMES,g as PM_CORPUS_SHAPE_SCHEMA,jr as PM_DEPRECATED_TOOL_ACTIONS,Zr as PM_DIAGNOSTIC_DEGRADATION_STEPS,Qr as PM_DIAGNOSTIC_OUTPUT_BUDGET_CONTRACTS,Jr as PM_DIAGNOSTIC_OUTPUT_CLASSES,Br as PM_DISCOVERABLE_TOOL_ACTIONS,pO as PM_ERROR_CODE_CATALOG,sO as PM_ERROR_CODE_EXIT_CLASS_CONTRACTS,tt as PM_EXACT_COVERAGE_METRICS,wr as PM_EXTENSION_CAPABILITY_CONTRACTS,Fr as PM_EXTENSION_PACKAGE_ACTION_SUBCOMMANDS,vr as PM_EXTENSION_POLICY_MODE_CONTRACTS,Lr as PM_EXTENSION_POLICY_SURFACE_CONTRACTS,Mr as PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,kr as PM_EXTENSION_SERVICE_NAME_CONTRACTS,Pr as PM_EXTENSION_TRUST_MODE_CONTRACTS,_E as PM_GITATTRIBUTES_END,uE as PM_GITATTRIBUTES_START,fE as PM_GITATTRIBUTES_V2_END,mE as PM_GITATTRIBUTES_V2_START,Ns as PM_GITIGNORE_END,Is as PM_GITIGNORE_START,Gr as PM_ITEM_ACTION_SUBCOMMANDS,ll as PM_MCP_PROMPT_CONTRACTS,pl as PM_MCP_RESOURCE_CONTRACTS,dl as PM_MCP_TOOL_COMMAND_CONTRACTS,Ig as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,vn as PM_MUTATION_ACTION_CONTRACTS,qr as PM_OUTPUT_BUDGET_CLASSES,Yr as PM_OUTPUT_DEGRADATION_STEPS,lO as PM_OUTPUT_ENVELOPE_KINDS,Ne as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,Ie as PM_PACKAGE_RESOURCE_KINDS,Z as PM_POSITIONAL_ACTION_CONTRACTS,Es as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,Cs as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,uT as PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS,cT as PM_READ_OUTPUT_DIMENSIONS,lT as PM_READ_OUTPUT_OPTION_FLAGS,oT as PM_READ_OUTPUT_SESSION_MAX_SEEN_ITEM_IDS,nT as PM_READ_OUTPUT_SESSION_MIN_TOKENS,pT as PM_READ_OUTPUT_SURFACES,_T as PM_READ_OUTPUT_SURFACE_CONTRACTS,xg as PM_READ_ROW_CONTRACTS,Rg as PM_READ_ROW_JQ_SELECTOR,Vx as PM_RECOVERY_REFERENCE_FIELDS,L as PM_RECOVERY_REFERENCE_KINDS,_t as PM_REFUSAL_CLOSURE_EXECUTABLE_CANONICAL_CODE_BASELINE,ut as PM_REFUSAL_CLOSURE_EXECUTABLE_CODE_BASELINE,Wn as PM_REPRODUCIBLE_PROCESS_ENV,eS as PM_SUCCESS_EXIT_CODES,Ur as PM_TOOL_ACTIONS,hs as PM_TOOL_ACTION_PARAMETER_CONTRACTS,As as PM_TOOL_PARAMETERS_SCHEMA,ys as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Ts as PM_TOOL_PARAMETERS_SCHEMA_VERSION,us as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,Ze as PM_WORKSPACE_RECIPE_SCHEMA,Xo as PROFILE_FLAG_CONTRACTS,He as PROFILE_LINT_CODES,Be as PROFILE_LINT_DIMENSIONS,Le as PROFILE_NAMES,ne as PROFILE_SUBCOMMANDS,K as PmCliError,G as PmClient,rA as PmCompleteListValidationError,zg as QUERY_CURSOR_CONTRACT,Ti as REINDEX_FLAG_CONTRACTS,Ay as REINDEX_LOCK_ID,le as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Oi as RELEASE_FLAG_CONTRACTS,ki as REMIND_FLAG_CONTRACTS,Ae as RESERVED_ITEM_FIELD_NAMES,bi as RESTORE_FLAG_CONTRACTS,xt as RISK_VALUES,$C as RelationshipEventLog,UC as RelationshipEventStore,A as RelationshipGraph,Y as RelationshipKindRegistry,Ko as SCHEMA_FLAG_CONTRACTS,Jn as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,eA as SEARCH_EXTENSION_FLAG_DEFINITIONS,as as SEARCH_FLAG_CONTRACTS,dc as SEMANTIC_ATTRIBUTION_LIMITS,If as SETTINGS_DEFAULTS,Mp as SNAPSHOT_SCHEMA,cE as SOURCE_CONTEXT_ACCESS_ENV,pE as SOURCE_CONTEXT_WRITE_OVERRIDE_ENV,Ri as START_TASK_FLAG_CONTRACTS,Fi as STATS_FLAG_CONTRACTS,Ot as STATUS_VALUES,vo as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,$T as SUPPORTED_HISTORY_ITEM_HASH_VERSIONS,Vf as SUPPRESS_HOST_OUTPUT_MARKER,Mi as TELEMETRY_FLAG_CONTRACTS,vl as TELEMETRY_SUBCOMMANDS,Pi as TEST_ALL_FLAG_CONTRACTS,vi as TEST_FLAG_CONTRACTS,Li as TEST_RUNS_FLAG_CONTRACTS,xl as TEST_RUN_MEASUREMENT_LIMIT,Ro as TOOL_ACTIVITY_OPTION_CONTRACTS,mo as TOOL_AGGREGATE_OPTION_CONTRACTS,Eo as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,Oo as TOOL_CALENDAR_OPTION_CONTRACTS,So as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,xo as TOOL_CONTEXT_OPTION_CONTRACTS,yo as TOOL_CREATE_OPTION_CONTRACTS,To as TOOL_CREATE_OPTION_CONTRACT_SOURCE,Io as TOOL_DEPS_OPTION_CONTRACTS,No as TOOL_GRAPH_OPTION_CONTRACTS,_o as TOOL_LIST_FILTER_OPTION_CONTRACTS,fo as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,go as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,ho as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,bo as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,Ao as TOOL_UPDATE_OPTION_CONTRACTS,Co as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,xf as TYPE_TO_FOLDER,Hf as UNKNOWN_SUBCOMMAND_COMPATIBILITY_CODES,co as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,lo as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,po as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,Xi as UPDATE_FLAG_CONTRACTS,Yi as UPDATE_MANY_FLAG_CONTRACTS,gi as UPGRADE_FLAG_CONTRACTS,Ui as VALIDATE_FLAG_CONTRACTS,is as WORKSPACE_FLAG_CONTRACTS,_n as WORKSPACE_HISTORY_ID,Lp as WORKSPACE_SNAPSHOT_ACTIONS,Ws as WorkspaceGraphCache,VC as WorkspaceTransactionInterruptedError,Rs as _testOnly,ab as _testOnlyAggregateCommand,gp as _testOnlyConfigCommand,fS as _testOnlyGetCommand,sd as _testOnlyHealthCommand,Ep as _testOnlyInit,yp as _testOnlyInitAgentGuidance,BO as _testOnlyItemTransaction,YS as _testOnlyMutationEvents,zb as _testOnlyNextCommand,kS as _testOnlySearchCommand,aS as _testOnlySimilarity,Hp as _testOnlyTemplates,$d as _testOnlyValidateCommand,JA as acceptAssuranceProposals,Fd as acknowledgeLinkedTests,La as acknowledgeUnknownAuthorHistoryEvents,Ma as acknowledgeUnknownAuthorHistoryEventsFromTransport,xy as acquireItemMetadataDerivedIndexLock,un as acquireLock,eR as activateExtensionForTest,gh as activateExtensions,ar as agentSessionEnvironment,xu as aggregate,hl as analyzeAgentProvenanceDescriptorCoverage,NE as analyzeDefectChangeRisk,BC as analyzeGraphImpact,Ds as analyzeHierarchyIntegrity,HC as analyzeKnowledgeGraph,oS as analyzePmCommandExitConformance,Hr as analyzePmToolActionParity,US as analyzeReconciliationDiscard,jC as analyzeRelationshipExecution,aa as analyzeRelationshipSchedule,Q_ as analyzeSdkActionCoverage,Re as analyzeSdkCliParameterCompleteness,$u as append,ln as appendHistoryEntry,gn as appendWorkspaceAuditEvent,hn as appendWorkspaceHistoryChange,Kh as applyAcceptanceCriteriaMutations,YA as applyAssurancePreset,om as applyBootstrapPagerPolicy,NT as applyContextIntentProjection,Oc as applyContextTagProjection,ob as applyFilterValueEcho,vC as applyHistoryPatch,lm as applyInvocationAuthorOverride,ud as applyPathMigrations,AT as applyReadOutputDimensions,gT as applyReadOutputIncludeModes,sT as applyReadOutputSessionReferences,Hh as applyRegisteredItemFieldDefaultsAndValidation,hd as applyStandaloneNote,ed as applyStoredExtensionMigrationState,Yh as applyTagRemovals,Jb as applyTerminalOrderingPolicy,gd as artifactKey,Pf as asRecordClone,vf as asRecordOrNull,te as assembleWorkspaceRelationshipGraph,sA as assertCompleteListResult,MR as assertExtensionBlueprint,PR as assertExtensionCapabilityUsage,fR as assertExtensionDeactivated,FR as assertExtensionManifestCompatible,DR as assertExtensionManifestMatchesBlueprint,GR as assertExtensionPreflight,$s as assertHierarchyMutationAllowed,tO as assertHistoryCompactTarget,BS as assertHistoryRepairTarget,In as assertInitializedTracker,_d as assertLinkedArtifactMutationIsUnambiguous,jm as assertMemoryRelationshipGraphAdapterConformance,Zh as assertNoUnknownCsvKeys,hR as assertPackageManifest,ny as assertParentReferenceIsNotSelf,LR as assertProjectProfile,gx as assertProjectRuntimeCompatibility,Ng as assertProjectionModeChoice,xn as assertReadableTrackerRoot,gR as assertRegisteredCommandContract,xR as assertRegisteredCommandOverride,bR as assertRegisteredExporter,TR as assertRegisteredFlags,yR as assertRegisteredHook,ER as assertRegisteredImporter,SR as assertRegisteredItemField,OR as assertRegisteredItemType,vR as assertRegisteredMigration,IR as assertRegisteredParserOverride,NR as assertRegisteredPreflightOverride,RR as assertRegisteredProfile,wR as assertRegisteredRendererOverride,CR as assertRegisteredSearchProvider,kR as assertRegisteredServiceOverride,AR as assertRegisteredVectorStoreAdapter,dh as assertRelationshipEdgeAllowed,at as assertRelationshipGraphAdapterConformance,kA as assuranceAssertionUpdateIsLoosening,vT as attachContextIntentReceipt,Pd as attachLinkedTestMutationProvenance,vd as attachLinkedTestProvenance,Lg as attachOutputOmissionReceipt,MT as attachOutputTokenAccounting,PT as attachReadOutputContracts,aT as attachReadOutputSessionReceipt,Ua as auditMergeAttributeFence,hE as auditMergeDriverConfiguration,ua as auditWorkspaceRelationshipGraph,or as boundAgentEpisodeIdentity,Qg as boundReadOutputRows,Ac as buildChildrenByParent,yS as buildCompactSearchFilterSummary,ib as buildContentFilterEcho,wb as buildContextSignalSnapshot,fm as buildCorpusShapeItemPlan,IE as buildDefectRecurrenceIndex,qa as buildExtensionDescribeResult,sb as buildGovernanceMissingFilterEcho,ly as buildInvalidTypeError,uS as buildItemChildrenRollup,UO as buildItemCompletionMutations,cb as buildItemContextRelevanceCandidates,Py as buildItemNotFoundError,mS as buildItemSchedule,Ga as buildMergeAttributePatterns,gs as buildPmActionToolInputSchema,eI as buildPmRefusalClosureCensus,oE as buildRelationshipContext,Gy as buildSearchCorpus,Uy as buildSemanticCorpusInput,Rn as buildTrackerInitializationRecovery,Wy as buildVectorizationEmbeddingIdentity,Ky as buildVectorizationEmbeddingMetadata,CS as buildVerboseSearchFilters,Fb as buildWorkspaceMemorySnapshot,nr as canonicalDocument,Zf as canonicalizeCommandOptionKey,ih as canonicalizeRelationshipKind,Wx as censusPmRecoveryReferenceProducers,iA as certifyCompleteListResult,ZO as checkExtensionManifestCompatibility,E_ as claim,b_ as claimNext,aE as classifyHistoryAuthorEvent,qS as classifyHostEnvironmentFault,IS as classifyImplicitSemanticFallbackReason,Jt as classifyItemFormatVersion,Ll as classifyLinkedTestFailure,Mh as clearActiveExtensionHooks,Ca as clearDurableGraphCache,Ag as clearFocusedItem,vs as clearWorkspaceContractsCache,A_ as close,vc as closeItem,k_ as closeTask,am as coalesceRepeatedListFlags,GE as collectBlockedByIds,UE as collectBlockedByIdsFromCorpus,Hs as collectDanglingDependencyReferences,BE as collectDependencyBlockedIds,js as collectDuplicateDependencyRows,la as collectDuplicateRelationshipEdgeGroups,xS as collectErrorCauseCodes,Ls as collectHierarchyRelations,zs as collectMissingDependencyTargetIds,$c as collectNewOrderingCycleWarnings,da as collectOrderingCycles,Bs as collectOrderingStorageContradictions,pA as collectPackageContextIntentContracts,ke as collectPackageExtensionDirectories,jh as collectRegisteredItemFieldNames,_g as collectRuntimeCreateFieldValues,uy as collectRuntimeFilterValues,mg as collectRuntimeUpdateFieldValues,hc as collectSubtreeIds,$t as collectUsedExtensionCapabilities,Qf as commandOptionFlagLabel,wu as comments,cu as commitImportedItem,jO as commitItemCompletion,$O as commitItemMutations,WC as commitWorkspaceTransaction,ko as compactFlagAliasContracts,gc as compareCriticalItems,U as comparePmDateVersions,zC as compareRelationshipSnapshots,Mf as compareTimestampStrings,AA as compileHistoryProvenanceMatcher,xT as composeContextIntentContracts,VO as composeExtension,JO as composeExtensionPackage,HE as computeActionabilityReport,qT as computeHistoryDiff,ia as computeRelationshipCentrality,oa as computeRelationshipDominators,Vs as computeWorkspaceGraphFingerprint,ju as config,Ph as consumeAfterCommandAffectedItems,Au as context,kT as contextIntentRowId,O_ as copy,Dl as countFailureCategories,Jg as countReadOutputRows,T_ as create,XA as createAssurancePreset,OE as createAssuranceWorkspaceContext,Df as createCheckpointId,nA as createCompleteListOptions,Th as createCoreCommandHookContext,Je as createCorpusShapeMeasurement,DA as createEmptyAssuranceDocument,ph as createEmptyExtensionRegistrationRegistry,xs as createExtensionCommandSdk,Ft as createExtensionContributionInventory,$R as createExtensionTestHarness,pn as createHistoryEntry,cC as createLazyModule,vy as createMutationGuardSdk,wg as createOutputOmissionReceipt,Ss as createPmCliExpectedError,um as createPmCliProgram,tn as createPmCommandOutputBudget,Fg as createQueryFingerprint,Um as createRelationshipGraphScaleFixture,x as createRelationshipGraphSnapshot,Ce as createRelationshipKindRegistry,Xn as createReproducibleProcessRunner,AS as createSearchCursorFingerprint,yh as createSerialQueue,og as createStdinTokenResolver,zf as createUnknownSubcommandError,Dp as createWorkspaceSnapshot,tR as deactivateExtensionForTest,UI as declineServiceOverride,wT as decodeContextIntentCursor,dC as decodeHtmlEntitiesInOptions,jg as decodeQueryCursor,$g as decodeQueryCursorEnvelope,Ug as decodeQueryCursorState,rT as decodeReadOutputContinuationCursor,yd as dedupeLinkedArtifacts,lb as defaultScoreContextCandidates,WI as defineAfterCommandHook,zI as defineBeforeCommandHook,VI as defineBeforeMutationHook,II as defineCommand,LI as defineCommandOverride,b as defineCorpusShape,HI as defineExporter,HO as defineExtension,zO as defineExtensionBlueprint,RI as defineExtensionManifest,NI as defineFlag,BI as defineImporter,kI as defineItemField,wI as defineItemType,vI as defineMigration,YI as defineOnIndexHook,XI as defineOnReadHook,KI as defineOnWriteHook,DI as defineParserOverride,rn as definePmCommandOutputBudget,uO as definePmCommandOutputEnvelope,aO as definePmErrorCodeCatalog,FI as definePreflightOverride,xI as defineProjectProfile,jI as defineRendererOverride,PI as defineSearchProvider,GI as defineServiceOverride,MI as defineVectorStoreAdapter,Qe as defineWorkspaceRecipe,R_ as deleteItem,Bp as deleteWorkspaceSnapshot,ch as dependencyToRelationship,Fu as deps,qA as deriveAssuranceProposals,KO as deriveExtensionCapabilities,iS as derivePmBulkMutationEffect,Kx as derivePmRecoveryReferenceObligations,za as deriveSchemaEvolutionMigrationId,tC as deriveTelemetryCommandResolution,hy as describeAllowedTransitions,dE as describeExtensionActivation,XO as describeExtensionBlueprint,Qd as describeItemOwnershipConflict,Ue as describeProfileComposition,je as describeProjectProfile,bO as describeUnknownError,gr as detectAgentIdentity,Ar as detectHarnessIdentity,ra as detectRelationshipCommunities,Tr as diagnoseAgentIdentity,_a as diffRelationshipAuditSnapshots,wl as diffTestRunMeasurements,fh as discoverExtensions,vt as discoverNearbyPmRoot,Mm as discoverProjectRuntimeVersionPins,Du as docs,Nu as duplicates,ha as durableGraphCachePath,Aa as durableGraphCacheStatus,Yt as effectiveItemFormatVersion,TC as emitTelemetryErrorEvent,du as emptyImportedDocument,Gg as encodeQueryCursor,tT as encodeReadOutputContinuationCursor,JT as enforceHistoryStreamPolicyForItem,ZT as enforceHistoryStreamPolicyForItems,oO as enrichCliFlagInvocationContract,We as enrichCliFlagInvocationContracts,MC as ensureMaterializedHistoryTarget,ks as ensurePmGitignore,ad as ensureScope,eC as ensureSentryInit,au as ensureTrackerInitialized,ea as enumerateRelationshipPaths,sn as estimatePmOutputTokens,GA as evaluateAssuranceAssertion,$A as evaluateAssuranceGate,ix as evaluateBoundaryFixtures,fb as evaluateContextRanking,wE as evaluateDefectGateEvidence,FA as evaluateMeasurement,Mn as evaluateMutationGuard,El as evaluateProvenanceCoverage,yl as evaluateSemanticAttributionCoverage,Hc as evaluateSimilarityGovernance,fy as evaluateTransition,jy as executeEmbeddingBatchesWithRetry,zy as executeVectorDelete,Vy as executeVectorReset,Hy as executeVectorUpsert,Tm as executeWorkspaceRecipe,fd as expandAddGlobEntries,Od as explainSourceTraceability,v_ as extension,M_ as extensionActivate,L_ as extensionDeactivate,P_ as extensionList,Cf as extensionMigrate,wC as extractPatchFailureContext,Nd as extractReferencedPmItemIdsFromCommand,$m as federateRelationshipGraphSnapshots,Pu as files,Mu as filesDiscover,Lu as filesLookup,Em as findCoverageDeficits,Bc as findDuplicateClusters,Fa as findGitWorkspaceRoot,Xa as findInstalledNpmPackageCandidate,na as findRedundantRelationshipEdges,sa as findRelationshipCutStructure,jc as findSimilarItems,gC as finishTelemetryCommand,jf as flattenFlagListValue,ym as flushTelemetryQueue,I_ as focus,ta as forEachMatchedRelationshipEdge,pa as formatDuplicateEdgeGroup,Fs as formatHierarchyRelation,ca as formatOrderingStorageContradiction,bC as formatPmPositionalActionFlagTip,tl as formatProfileApplyHuman,el as formatProfileLintHuman,Zp as formatProfileListHuman,Qp as formatProfileShowHuman,Ka as formatSchemaEvolutionMigrationHuman,wS as formatVectorIndexRecoveryWarnings,u_ as gc,Sn as generateItemId,Ou as get,wh as getActiveCommandResult,OT as getActiveContextIntentContracts,jt as getActiveExtensionRegistrations,jA as getAssuranceDeclaration,Y_ as getContracts,yg as getFocusedItem,Lt as getHistoryPath,GC as getItemAt,Mt as getItemPath,Fn as getMutationActionContract,ws as getPmGitignoreBlock,Pt as getSettingsPath,X_ as getWorkspaceContracts,mn as getWorkspaceHistoryPath,Gu as graph,ga as graphAuditBaselinePath,Cl as groupHistoryByEpisode,$I as handleServiceOverride,ee as hasSubcommandFlagContractsForCommand,Xy as hasVectorizationEmbeddingIdentityChanged,Yy as hasVectorizationVectorDimensionChanged,UT as hashDocument,jT as hashDocumentForVersion,BT as hashEmptyDocument,l_ as health,qs as hierarchyAncestors,Js as hierarchyDescendants,h_ as historyCompact,g_ as historyCompactBulk,CA as historyEntryMatchesProvenance,__ as historyRedact,m_ as historyRepair,f_ as historyRepairAll,$E as indexBlockedByIds,Gs as indexHierarchyRelations,qy as inferConsistentVectorDimension,en as inferPmOutputBudgetClass,Uu as init,oA as inspectCompleteListResult,Na as inspectHistoryAuthorStream,Dm as inspectProjectRuntimeCompatibility,zn as inspectStaleInProgressItems,fn as inspectWorkspaceHistoryState,Fp as inspectWorkspaceSnapshot,Ha as installMergeFence,Ic as isAlreadyClaimedError,RO as isCommanderError,Xd as isErrnoError,tE as isExternalDependencySourceKind,Kf as isHostOutputSuppressed,Ln as isMutationAction,ah as isOrderingRelationshipKind,ty as isPlaceholderReferenceToken,Os as isPmCliExpectedError,Vr as isPmExtensionCapabilityContract,Kr as isPmExtensionPolicyModeContract,Xr as isPmExtensionPolicySurfaceContract,Wr as isPmExtensionServiceNameContract,rS as isPmKnownExitCode,fO as isPmMutationReceipt,tS as isPmSuccessfulExitCode,zr as isPmToolAction,Lm as isProjectMutatingInvocation,pC as isPureSnakeCaseAlias,ET as isReadOutputBudgetExceeded,vg as isReadRowContract,Ia as isRuntimeRecord,_C as isTerminalPlanMode,hg as isTerminalStatus,Et as isTimestampLiteral,FO as itemDocumentToMutationOptions,_S as itemHasSchedule,Gn as jaccardSimilarity,vu as learnings,Bf as levenshteinDistanceWithinLimit,Vd as limitAnnotationEntries,Md as linkedTestTrustFingerprint,YO as lintExtensionBlueprint,ze as lintProjectProfile,Eu as list,ur as listAgentProvenanceAdapters,sm as listAliasPluralKeys,bu as listAllComplete,wy as listAllDocumentCandidatesCached,kn as listAllItemMetadata,ky as listAllItemMetadataLight,UA as listAssuranceDeclarations,WA as listAssuranceVerdicts,_m as listBuiltinCorpusShapes,wO as listCoreClosedDomainContracts,QE as listGetProjectionFields,TE as listInvalidProvenanceHistoryStreamIds,JE as listListProjectionFields,AE as listMergeReceipts,Dn as listMutationActions,WS as listMutationEvents,ht as listPmCommandFlagBudgets,al as listPmCommandsForFamily,sl as listPmCommandsForTier,W as listPmFlagLexicon,EI as listPmFlagSpellingInventory,cl as listPmMcpToolsForProfile,uI as listPmRequiredArgumentRefusalContracts,_I as listPmSubcommandRefusalContracts,$e as listProfiles,hI as listTrackerPreflightRecoveryContracts,Gp as listWorkspaceSnapshots,lA as loadContextIntentRuntimeLayers,zp as loadCreateTemplateOptions,hh as loadExtensions,ba as loadGraphAuditBaseline,Gf as loadMutationCheckpoint,h as loadRelationshipGraphAdapter,Nn as locateItem,Jh as looksLikeGenericKeyValueEntry,Zg as mapReadOutputRows,EE as markMergeReceiptReconciled,_y as matchesRuntimeFilters,fC as maybeRunFirstUseTelemetryPrompt,hm as measureCorpusShapePlan,Xh as mergeAdditiveTags,WO as mergeExtensionBlueprints,vS as mergeHistoryStreams,DS as mergeItemDocuments,FS as mergeJsonDocuments,dm as mergeLinkedTestTwoTokenEntries,PS as mergeRelationshipEventStreams,bc as mergeSortedWarnings,uC as migrateItemFilesToFormat,Ly as mutateItem,My as mutateItemWithHistoryContext,Tn as mutateWorkspaceJsonWithHistory,Ru as next,mr as normalizeAgentProvenanceAdapterValue,zd as normalizeAnnotationTransportOptions,xA as normalizeAssuranceEvaluation,RA as normalizeAssuranceMutation,cm as normalizeBootstrapInvocation,dg as normalizeBulkIdsValue,Us as normalizeDependencyGraphTarget,nE as normalizeDependencySeedId,rE as normalizeDependencySourceKind,Dt as normalizeExtensionContributionInventory,gE as normalizeInvalidHistoryProvenance,yO as normalizeItemAddressInvocation,qt as normalizeItemFormatVersion,bn as normalizeItemId,er as normalizeItemMetadata,im as normalizeLegacyExtensionActionSyntax,md as normalizeLinkedPath,ey as normalizeParentReferenceValue,Fe as normalizeProfileName,En as normalizeRawItemId,TT as normalizeReadOutputIncludeModeOptions,WT as normalizeReplayPatchOps,$n as normalizeSimilarityText,fg as normalizeStatusForRegistry,Qt as normalizeStatusInput,lg as normalizeStatusInputWithRegistry,OO as normalizeThrownExitCode,ku as notes,At as nowIso,Ta as openDurableGraphCache,Zs as orderingPredecessors,Qs as orderingSuccessors,Cb as packContextCandidates,Tc as packRankedContextItems,V_ as packageActivate,z_ as packageCatalog,W_ as packageDeactivate,B_ as packageDescribe,U_ as packageDoctor,G_ as packageInstall,D_ as packageLifecycle,F_ as packageList,j_ as packageManage,Af as packageMigrate,H_ as packageReload,$_ as packageUninstall,Hg as paginateQueryRows,dd as parseAddEntries,cd as parseAddGlobEntries,Kd as parseAnnotationTextInput,MO as parseAtomicMutationControls,nm as parseBootstrapCommandName,em as parseBootstrapGlobalOptions,rm as parseBootstrapHelpRequest,pm as parseBootstrapTypeValue,ag as parseBulkIdsText,mc as parseContextDepth,pc as parseContextFocusFields,dA as parseContextIntentDeclarations,fc as parseContextSections,Nb as parseContextSignalSnapshot,qh as parseCsvKv,vE as parseDefectChangeRiskRequest,kE as parseDefectRecurrencePolicy,xp as parseEvalQuerySet,Ra as parseGraphSubcommand,TA as parseHistoryProvenanceFilters,_A as parseIntegerLimit,gg as parseItemDocument,LO as parseItemMutationBatch,py as parseLimit,rp as parseLinkedTestAssertionEqualsMap,np as parseLinkedTestAssertionGteMap,qc as parseLinkedTestBoolean,Jc as parseLinkedTestContextMode,Yc as parseLinkedTestEnvClear,Xc as parseLinkedTestEnvSet,op as parseLinkedTestJsonEntries,tp as parseLinkedTestMinLines,ep as parseLinkedTestRegexList,Qc as parseLinkedTestStringList,Zc as parseLinkedTestWorkspaceContextMode,ld as parseMigrateEntries,zE as parseMultiValueFilter,hO as parseMutationReceipt,sg as parseOptionalNonNegativeInteger,ig as parseOptionalNumber,mA as parsePriority,KE as parsePriorityFilterSet,iT as parseReadOutputSession,Bh as parseRegisteredItemFieldAssignments,M as parseRelationshipGraphSnapshot,pd as parseRemoveEntries,Sd as parseSourceLineRange,sy as parseStatusFilterCsv,VE as parseStringFilterSet,zt as parseTags,Il as parseTestRunMeasurements,fA as parseType,WE as parseTypeFilterSet,Pa as parseUnknownAuthorHistoryEventCoordinates,Vb as partitionDecisionEntries,YT as patchPathToChangedField,gt as pathExists,w_ as pauseTask,ya as persistDurableGraphResult,gy as persistSelectedItemFormat,TS as planAgentIdentityVocabularyMutation,Lb as planCompletedAtBackfill,Ve as planProfileApplication,Hx as planRelationshipEventBackfill,Oa as planRelationshipRemediation,Va as planSchemaEvolutionMigration,ka as planUnknownAuthorHistoryAcknowledgment,$p as planWorkspaceSnapshotRestore,RC as positionalShapeKey,xC as positionalSignatureKey,QO as preflightExtension,jn as prepareSimilarityText,eg as preserveMutationStdinTokenFields,Qh as preserveMutationStdinTokenLiterals,FT as printError,DT as printResult,i_ as profile,d_ as profileApply,c_ as profileLint,s_ as profileList,a_ as profileShow,vh as projectAfterCommandItemSnapshot,lc as projectContextFocusRows,Rl as projectFleetAttributionAnalytics,yA as projectHistoryProvenance,dn as projectPmDiagnosticOutput,cn as projectPmDiagnosticText,Sl as projectProvenanceCoverageAnalytics,Gd as projectValidateCounts,ZA as promoteAssuranceAssertion,lx as pruneCompileCacheGenerations,BA as putAssuranceDeclaration,HA as putAssuranceDeclarationBundle,by as queryItemMetadataIndex,Sy as queryLinkedFileMetadataIndex,Oy as querySimilarItemMetadataIndex,Nl as queryTestRunMeasurementsBelow,Sr as quoteCommandArg,br as quoteWindowsCommandArg,NO as rankCommandPaths,Wd as readAnnotationEntries,yr as readAuthorEnvironment,Bl as readBooleanOption,Ob as readContextUsageAffinity,Hl as readCsvListOption,Qa as readExtensionMigrationState,Tt as readFileIfExists,ro as readFirstStringFromCommanderOptions,no as readFirstValueFromCommanderOptions,Al as readHistoryAnalyticsWindow,Sg as readHistoryEntries,ml as readImprovementLedger,Iy as readItemMetadataDerivedIndexState,wn as readLocatedItem,qg as readOutputBudgetCollections,Yg as readOutputContinuationRowCollections,Kg as readOutputContinuationRowPaths,hT as readOutputIncludeModeOptions,Xg as readOutputRowCollections,Wg as readOutputRowPaths,dT as readOutputSessionRemainingTokens,we as readPmPackageManifest,q_ as readRequiredString,On as readSettings,Ty as readSettingsWithMetadata,oo as readStringArrayFromCommanderOptions,jl as readStringOption,SO as readThrownExitCode,Jy as readVectorizationStatusLedger,cA as readWorkspaceContextIntentContracts,Pb as readWorkspaceContextSignals,Gb as readWorkspaceMemory,Ut as reconcileExtensionCapabilityUsage,Cn as reconcileWorkspaceJsonHistory,kh as recordAfterCommandAffectedItem,VA as recordAssuranceVerdict,ic as recordClaimSemanticAttribution,Eb as recordContextUsageServing,bb as recordContextUsageTouch,Sb as recordContextUsageTouches,ac as recordFocusSemanticAttribution,_l as recordImprovementObservation,sc as recordReleaseSemanticAttribution,Ny as refreshItemMetadataDerivedIndex,ja as refreshMergeAttributeFenceIfInstalled,Qy as refreshSearchArtifactsForMutation,_r as registerAgentProvenanceAdapters,lr as registerHarnessSignalDescriptors,Og as registerOutputMaterialFieldGroups,S_ as release,zA as removeAssuranceDeclaration,Ct as removeFileIfExists,Ed as renameArtifactsResultKey,tc as renderCalendarMarkdown,rc as renderCalendarToon,Sc as renderContextMarkdown,Ja as renderExtensionDescribeMarkdown,Ya as renderExtensionSurfaceMarkdown,uu as renderGuideMarkdown,EO as renderMissingOptionRetry,Wb as renderNextMarkdown,kO as renderPmClosedDomainHelp,Or as renderPmCommand,Nr as renderPmCommandAliasMigrationHint,ul as renderPmCommandVisibilityMarkdown,SI as renderPmFlagLexiconMarkdown,tI as renderPmRefusalClosureCensusMarkdown,dy as renderRowsAsCsv,cy as renderRowsAsTable,C_ as reopen,PC as replayHistoryToTarget,zT as replayToCanonicalItemDocument,HT as replayToItemDocument,Yb as requireTerminalReason,qb as requireTerminalReasonWithRecovery,xh as resetActiveExtensionRuntimeState,Xs as resetWorkspaceGraphCache,ir as resolveAgentSessionContextFromSignals,Zd as resolveAnnotationIndex,Yd as resolveAnnotationInput,bg as resolveAuthor,Er as resolveAuthorIdentity,QT as resolveBodyFileContent,mm as resolveBuiltinCorpusShape,ec as resolveCalendarOutputFormat,dO as resolveCanonicalPmErrorCodeContract,sh as resolveCanonicalRelationshipKind,Eg as resolveClaimPrincipal,cg as resolveCliBulkIdsInput,rh as resolveCommandOptionPolicyState,px as resolveCompileCacheGeneration,Mb as resolveCompletionTimestamp,qf as resolveConfiguredPmPackageRoot,tb as resolveContentFieldFilters,IT as resolveContextIntentContract,uc as resolveContextOutputFormat,_c as resolveContextTokenBudget,dS as resolveCreateExplicitEmptyFlag,Dy as resolveEmbeddingProviders,nd as resolveExtensionInstallSourceIdentity,Za as resolveExtensionMigrationStatePath,mh as resolveExtensionRoots,Uf as resolveFlagValueKind,pu as resolveGuideOutputFormat,fl as resolveHistoryEpisodeGroupIdentity,gA as resolveHistoryProvenanceDimensions,LC as resolveHistorySubject,kC as resolveHistoryTarget,OS as resolveHybridSemanticWeight,kt as resolveImplicitPmRoot,Lf as resolveIsoOrRelative,jE as resolveItemBlockers,DO as resolveItemMutationDocument,wt as resolveItemTypeRegistry,pg as resolveItemTypesFilePath,Fl as resolveLinkedTestFailureExitCode,wd as resolveLinkedTestSourceRef,kd as resolveLinkedTestSourceWorkspaceRoot,Ld as resolveLinkedTestTrust,Dd as resolveLinkedTestTrustBatch,Da as resolveMergeInstallContext,eb as resolveMissingMetadataFilters,AO as resolveMissingOptionPlaceholder,kg as resolveModePairedOutputOmissionReceipt,Hb as resolveNextOutputFormat,Mg as resolveOutputOmissionReceipt,Yf as resolvePmCliVersion,Ir as resolvePmCommandAlias,nl as resolvePmCommandCapabilityFamily,nS as resolvePmCommandExitContract,on as resolvePmCommandOutputBudget,mO as resolvePmCommandOutputEnvelope,AC as resolvePmCommandPositionalContract,il as resolvePmCommandVisibilityTier,an as resolvePmDiagnosticOutputBudget,cO as resolvePmErrorCodeContract,hf as resolvePmFlagSemanticConcept,Xf as resolvePmPackageRootFromModule,EC as resolvePmPositionalActionContract,ps as resolvePmPositionalActionFlagContracts,X as resolvePmRoot,_s as resolvePmToolCustomFieldCollision,oy as resolvePriority,Ge as resolveProfile,$a as resolveProjectMergeTypeFolders,Bg as resolveQueryCursorStart,yT as resolveReadOutputDimensions,bT as resolveReadOutputEncoding,eT as resolveReadOutputRecoveryBudget,mT as resolveReadOutputSurface,Pg as resolveReadRowContract,CO as resolveRecoveryCommandName,zh as resolveRegisteredSearchProvider,Vh as resolveRegisteredVectorStoreAdapter,Kn as resolveReproducibleProcessEnvironment,Wt as resolveRuntimeFieldRegistry,Vt as resolveRuntimeStatusRegistry,Fy as resolveSearchCorpusFields,bS as resolveSearchMaxResults,ES as resolveSearchPage,SS as resolveSearchScoreThreshold,RS as resolveSearchTuning,$y as resolveSemanticCorpusCharacterLimit,oc as resolveSemanticLineageIds,Cy as resolveSettingsWithSemanticRuntimeDefaults,lE as resolveSourceContextWritePolicy,rl as resolveStartTaskInProgressStatus,k as resolveSubcommandFlagContractsForCommand,Nf as resolveTelemetryErrorCategory,Xb as resolveTerminalReason,th as resolveTypeDefinition,eh as resolveTypeName,ay as resolveTypeSynonym,my as resolveTypeWorkflows,va as resolveUnknownAuthorAcknowledgmentSelector,NS as resolveVectorIndexRecovery,By as resolveVectorStores,Ms as resolveWorkspaceRelationshipKindRegistry,x_ as restore,$f as restoreCheckpointItems,An as restoreWorkspaceJsonFromHistory,jp as restoreWorkspaceSnapshot,Up as restoreWorkspaceSnapshotWithRecovery,Z_ as runAction,Lh as runActiveBeforeMutationHooks,Fh as runActiveCommandHandler,Dh as runActiveOnIndexHooks,Ht as runActiveOnReadHooks,Bt as runActiveOnWriteHooks,Gh as runActiveParserOverride,$h as runActivePreflightOverride,Uh as runActiveServiceOverride,Ps as runActivity,_h as runAfterCommandHooks,Bd as runAggregate,Jd as runAnnotationCommand,Hd as runAppend,LE as runAssuranceAction,DE as runAssuranceDispatch,uh as runBeforeCommandHooks,nc as runCalendar,Nc as runClaim,wc as runClaimNext,Pc as runClose,Lc as runCloseMany,Dc as runComments,_u as runCompletion,hp as runConfig,Pe as runContext,Tb as runContextEvaluationCorpus,hb as runContextEvaluationScenario,lp as runCopy,ip as runCreate,up as runDelete,Ys as runDeps,bd as runDocs,gO as runDuplicates,wp as runEval,vp as runEvent,od as runExtension,rd as runExtensionMigrateAction,td as runExtensionMigrations,Rd as runFiles,Id as runFilesDiscover,xd as runFilesLookup,Ol as runFleetAttributionAnalytics,_p as runFocus,fp as runGc,mp as runGet,xa as runGraph,lu as runGuide,id as runHealth,sS as runHistory,QS as runHistoryCompact,rO as runHistoryCompactBulk,DC as runHistoryRedact,jS as runHistoryRepair,HS as runHistoryRepairAll,bp as runInit,Cp as runInitAgentGuidance,Fc as runLearnings,Ad as runLinkedArtifacts,Gl as runLinkedTests,jd as runList,kp as runMeet,$S as runMergeDriver,Ba as runMergeInstall,bE as runMergeReceiptReport,zS as runMergeReconcile,xc as runNext,Gc as runNotes,pp as runPlan,Jp as runProfileApply,qp as runProfileLint,Xp as runProfileList,Yp as runProfileShow,bl as runProvenanceCoverageAnalytics,rR as runRegisteredCommandForTest,aR as runRegisteredCommandOverrideForTest,mR as runRegisteredExporterForTest,oR as runRegisteredHookForTest,_R as runRegisteredImporterForTest,uR as runRegisteredMigrationForTest,nR as runRegisteredMutationGuardForTest,iR as runRegisteredParserOverrideForTest,sR as runRegisteredPreflightOverrideForTest,dR as runRegisteredRendererOverrideForTest,pR as runRegisteredSearchProviderForTest,cR as runRegisteredServiceOverrideForTest,lR as runRegisteredVectorStoreAdapterForTest,Ke as runReindex,kc as runRelease,Pp as runRemind,nO as runReopen,Mc as runRestore,Wa as runSchemaEvolutionMigration,Ip as runSearch,gm as runSearchRefreshWorkerEntrypoint,mu as runStartBackgroundRun,kl as runStats,Pl as runTelemetry,Wp as runTemplatesList,Vp as runTemplatesSave,Kp as runTemplatesShow,$l as runTest,Ul as runTestAll,fu as runTestRunsList,gu as runTestRunsLogs,yu as runTestRunsResume,hu as runTestRunsStatus,Tu as runTestRunsStop,Cu as runTestRunsWorker,sp as runUpdate,ap as runUpdateMany,Me as runUpgrade,Ud as runValidate,J_ as runWithActiveExtensions,sr as runWithAgentSessionContext,RT as runWithContextIntentContracts,uA as runWithDiscoveredContextIntentContracts,fr as runWithHarnessDetectionSignals,Yn as runWithReproducibleProcessEnvironment,hr as runWithWorkspaceHarnessSignalDescriptors,et as runWithWorkspaceRecipe,hS as runWorkspaceTransactionGc,Sa as saveGraphAuditBaseline,iE as scanExtensionHostVersions,wa as scanHistoryAuthorAttribution,Zt as scanItemFormatVersions,Pn as scanMutationSecrets,yE as scanProvenanceResolverHealth,Vn as scanStaleInProgressItems,SE as scanStorageIntegrity,Bu as schema,Yu as schemaAddField,Ku as schemaAddStatus,Vu as schemaAddType,Qu as schemaApplyPreset,e_ as schemaInferTypes,Hu as schemaList,Ju as schemaListFields,n_ as schemaRemapStatus,qu as schemaRemoveField,Xu as schemaRemoveStatus,Wu as schemaRemoveType,r_ as schemaRenameField,t_ as schemaRenameType,zu as schemaShow,Zu as schemaShowField,o_ as schemaShowStatus,IO as scoreCommandPathMatch,ub as scoreContextCandidates,_b as scoreContextCandidatesWithActiveExtensions,Bn as scoreItemSimilarity,mI as scorePmGrammarRefusalClosure,oI as scorePmRefusalClosure,Hn as scorePreparedItemSimilarity,gI as scoreTrackerPreflightRecoveryClosure,Su as search,jb as searchWorkspaceMemory,Bb as searchWorkspaceMemoryReadResult,Dg as selectCursorSemanticOptions,su as selectImportAuthor,Ub as selectWorkspaceMemory,$b as selectWorkspaceMemoryRollups,cc as semanticAttributionAffinity,iC as sentryCaptureCliError,oC as sentryFinishCommandSpan,aC as sentryFlush,sC as sentryLogCliUsageError,rC as sentrySetCommandContext,nC as sentryStartCommandSpan,rr as serializeItemDocument,vO as serializeNdjsonRows,PO as serializeNdjsonStream,Ih as setActiveCommandContext,Nh as setActiveCommandResult,Ah as setActiveExtensionCommands,Ch as setActiveExtensionHooks,Eh as setActiveExtensionParsers,bh as setActiveExtensionPreflight,Rh as setActiveExtensionRegistrations,Oh as setActiveExtensionRenderers,Sh as setActiveExtensionServices,Cg as setFocusedItem,mC as shouldCompletePlanOnClose,Ea as shouldPersistDurableGraphCache,ng as shouldResolveMutationStdinTokenField,rg as shouldResolveMutationStdinTokens,Ey as shouldRunSearchRefreshInForeground,Uc as similarityAdvisoryWarnings,Vg as sliceReadOutputRowCollection,Td as sortLinkedArtifacts,Wh as splitAcceptanceCriteria,lC as splitCommaList,tr as splitFrontMatter,CT as stabilizeReadOutputReceiptEstimates,F as stableStringify,lh as stableValueEquals,N_ as startTask,hC as startTelemetryCommand,Iu as stats,ug as statusIsTerminal,tm as stripGlobalBootstrapTokens,KS as subscribeMutationEventBatches,XS as subscribeMutationEvents,gS as summarizeAgentIdentityVocabulary,gl as summarizeAgentModelProvenance,Tl as summarizeAgentProvenance,gb as summarizeContextEvaluationReports,Ml as summarizeContextPreflight,EA as summarizeHistoryProvenance,Ap as summarizeInitResult,CE as summarizeMergeReceipt,cS as supportsCreateExplicitEmpty,TO as supportsItemIdAlias,Wf as suppressHostOutput,z as syncRelationshipGraphAdapter,qO as synthesizeExtensionManifest,ls as toCompletionFlagString,Ec as toContextFocusItem,yc as toContextPackingSummary,Cc as toContextRankingSummary,kf as toErrorMessage,Vl as toEstimatedMinutesValue,ZC as toExtensionFlagDefinitions,ql as toImportBoolean,eu as toImportConfidence,Yl as toImportInteger,ou as toImportLinkedDocs,nu as toImportLinkedFiles,iu as toImportLinkedTests,ru as toImportLogEntries,tu as toImportNormalizedEnum,Ql as toImportNumberMap,Wl as toImportPriority,Xl as toImportStatus,Jl as toImportStringList,Zl as toImportStringMap,Kl as toImportTags,Tg as toItemRecord,zl as toNonEmptyImportString,wf as toNonEmptyStringOrUndefined,VT as toReplayDocument,Un as tokenizeSimilarityText,tg as transferMutationStdinTokenPolicy,JS as translateHostEnvironmentFault,y_ as update,K_ as upgrade,p_ as validate,PA as validateAssertionDefinition,LA as validateAssuranceDocument,MA as validateGateDefinition,GO as validateItemMutationRows,Cd as validateLinkedPaths,vA as validateMeasurementDefinition,ry as validateMissingParentReference,fT as validateReadOutputOptions,iy as validateSprintOrReleaseValue,nh as validateTypeOptions,iO as verifyCliFlagInvocationParity,OC as verifyExplicitPositionalSlotCensus,XT as verifyHistoryChain,KT as verifyHistoryChainWithVersion,FC as verifyHistoryEntries,NC as verifyPmCliGrammar,IC as verifyPmCommandPositionalContracts,bI as verifyPmFlagLexicon,qx as verifyPmRecoveryKindRuntimeCoverage,af as verifyPmRecoveryProducerRuntimeCoverage,Yx as verifyPmRecoveryReferences,Qx as verifyPmRefusalClosureIdentityRatchet,Zx as verifyPmRefusalClosureRatchet,Xx as verifyPmRefusalReachability,uo as verifyToolOptionCliParity,wo as withFlagAliasMetadata,ZS as withHostEnvironmentBoundary,Ks as workspaceGraphCache,qd as wrapOwnershipConflict,xO as wrapThrownErrorForSentry,Cr as writeAuthorEnvironment,yt as writeFileAtomic,Ff as writeMutationCheckpoint,yy as writeSettings,LT as writeStdout,Zy as writeVectorizationStatusLedger,yn as writeWorkspaceJsonWithHistory};
4
+ `&&t.push(r+1);return t}function sf(e,t){let r=0,o=e.length;for(;r<o;){let n=Math.floor((r+o)/2);e[n]<=t?r=n+1:o=n}return r}function Xx(e){let t=[],r=[];for(let n of[...e].sort((i,s)=>I(i.path,s.path))){let i=of(n.content),s;try{s=nf(n.content)}catch(d){r.push({kind:"invalid_source",subject:n.path,detail:`${n.path} could not be parsed for recovery producers: ${String(d)}.`});continue}for(let d of s){let a=d.field,c=sf(i,d.offset),p=lt(a);p?t.push({path:n.path,line:c,field:a,kind:p.kind}):/(?:retry_command|candidate_command|fallback_candidate|next_best_command|example|next_step|migration_hint|restore_with)/u.test(a)&&!/(?:_total|_truncated)$/u.test(a)&&r.push({kind:"unknown_recovery_field",subject:`${n.path}:${c}:${a}`,detail:`${a} resembles a recovery reference but has no typed field contract.`})}}let o=Object.fromEntries(L.map(n=>[n,t.filter(i=>i.kind===n).length]));for(let n of L)o[n]===0&&r.push({kind:"missing_kind_producer",subject:n,detail:`No source producer emits the ${n} recovery-reference kind.`});return t.sort((n,i)=>n.path!==i.path?I(n.path,i.path):n.line!==i.line?n.line-i.line:I(n.field,i.field)),r.sort((n,i)=>n.subject!==i.subject?I(n.subject,i.subject):I(n.kind,i.kind)),{ok:r.length===0,scanned_file_count:e.length,producer_count:t.length,producer_count_by_kind:o,producers:t,findings:r}}function Yx(e,t){let r=[],o=(n,i)=>{if(Array.isArray(n)){n.forEach((s,d)=>o(s,[...i,String(d)]));return}if(!(typeof n!="object"||n===null))for(let[s,d]of Object.entries(n).sort(([a],[c])=>I(a,c))){let a=lt(s),c=a?.kind==="migration_hint"&&n.semantics==="behavior_preserving"?{...a,semantics:"behavior_preserving"}:a,p=[d].flat();c!==void 0&&p.forEach((l,u)=>{let f="nested_value_field"in c&&typeof c.nested_value_field=="string"?c.nested_value_field:void 0,N=f&&typeof l=="object"&&l!==null&&!Array.isArray(l)?l[f]:l;if(typeof N!="string"||N.trim().length===0)return;let w=[...i,s,String(u)].map(D=>encodeURIComponent(D)).join("/");r.push({id:`${e}:${c.kind}:${w}`,probe_id:e,kind:c.kind,semantics:c.semantics,value:N})}),o(d,[...i,s])}};return o(t,[]),r}function qx(e,t){let r=e.flatMap(s=>(s.owned_states??[]).map(d=>({contract:s,state:d}))),o=[],n=new Map;for(let s of t){if(n.has(s.probe_id)){o.push({kind:"duplicate_probe",probe_id:s.probe_id,detail:`Observation ${s.probe_id} was supplied more than once.`});continue}n.set(s.probe_id,s)}let i=new Set(r.map(({state:s})=>s.probe_id));for(let{contract:s,state:d}of r){let a=n.get(d.probe_id);if(!a){o.push({kind:"missing_probe",probe_id:d.probe_id,detail:`No entrypoint observation was recorded for ${s.code}.`});continue}a.code!==s.code&&o.push({kind:"wrong_error_code",probe_id:d.probe_id,detail:`Expected ${s.code}; observed ${a.code}.`}),a.exit_class!==d.expected_exit_class&&o.push({kind:"wrong_exit_class",probe_id:d.probe_id,detail:`Expected ${d.expected_exit_class}; observed ${a.exit_class}.`}),d.entrypoints.includes(a.entrypoint)||o.push({kind:"wrong_entrypoint",probe_id:d.probe_id,detail:`Expected one of ${d.entrypoints.join(", ")}; observed ${a.entrypoint}.`})}for(let s of t)i.has(s.probe_id)||o.push({kind:"undeclared_probe",probe_id:s.probe_id,detail:`Observation ${s.probe_id} has no catalog declaration.`});return o.sort((s,d)=>s.probe_id!==d.probe_id?s.probe_id.localeCompare(d.probe_id):s.kind.localeCompare(d.kind)),{ok:o.length===0,declared_probe_count:r.length,observed_probe_count:t.length,findings:o}}function Jx(e,t){let r=[],o=new Set,n=new Set;for(let a of e){if(o.has(a.id)){n.add(a.id),r.push({kind:"duplicate_obligation",reference_id:a.id,detail:`Recovery obligation ${a.id} was declared more than once.`});continue}o.add(a.id)}let i=new Map;for(let a of t){if(i.has(a.id)){r.push({kind:"duplicate_observation",reference_id:a.id,detail:`Recovery reference ${a.id} was observed more than once.`});continue}i.set(a.id,a),o.has(a.id)||r.push({kind:"undeclared_observation",reference_id:a.id,detail:`Recovery observation ${a.id} has no emitted obligation.`})}for(let a of e){if(n.has(a.id))continue;let c=i.get(a.id);c?c.reachable?c.semantics!==a.semantics&&r.push({kind:"wrong_semantics",reference_id:a.id,detail:`Recovery reference ${a.value} promised ${a.semantics}; proof demonstrated ${c.semantics}.`}):r.push({kind:"unreachable_reference",reference_id:a.id,detail:`Recovery reference ${a.value} did not reach its promised target.`}):r.push({kind:"missing_observation",reference_id:a.id,detail:`No reachability proof was recorded for ${a.kind} ${a.value}.`})}let s=L.map(a=>{let c=e.filter(l=>l.kind===a),p=c.filter(l=>!n.has(l.id)).map(l=>i.get(l.id)).filter(l=>l!==void 0);return{kind:a,declared:c.length,observed:p.length,passed:c.filter(l=>{let u=i.get(l.id);return!n.has(l.id)&&u?.reachable===!0&&u.semantics===l.semantics}).length}});r.sort((a,c)=>a.reference_id!==c.reference_id?a.reference_id.localeCompare(c.reference_id):a.kind.localeCompare(c.kind));let d=s.reduce((a,c)=>a+c.passed,0);return{ok:r.length===0,declared_reference_count:e.length,observed_reference_count:t.length,pass_fraction:o.size===0?1:d/o.size,coverage_by_kind:s,findings:r}}function af(e,t){let r=new Map(L.map(i=>[i,new Set]));for(let i of t)r.get(i.kind).add(i.value);let o=L.map(i=>({kind:i,source_producers:e.producer_count_by_kind[i],runtime_values:r.get(i).size})),n=o.filter(({source_producers:i,runtime_values:s})=>i>0&&s===0).map(({kind:i})=>i);return{ok:e.ok&&n.length===0,source_producer_count:e.producer_count,runtime_value_count:o.reduce((i,{runtime_values:s})=>i+s,0),coverage_by_kind:o,missing_runtime_kinds:n}}var Zx=af;(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5560aa3a-036e-509c-955c-a09e9bf9df18")}catch{}})();var ut=16,_t=Object.freeze(["bulk_ids_input_empty","bulk_ids_input_missing_path","bulk_ids_input_unreadable","invalid_argument_value","missing_lifecycle_target","missing_required_argument","projection_options_mutually_exclusive","tracker_not_initialized","tracker_root_missing","tracker_root_not_directory","tracker_root_unreadable","unknown_context_intent","unknown_field_projection","unknown_option","unknown_subcommand"]);function eI(e,t=ut){return{ok:e.executable_error_code_count>=t,baseline:t,actual:e.executable_error_code_count}}function tI(e,t=_t){let r=new Set(e.rows.filter(({disposition:n})=>n==="executable").map(({canonical_code:n})=>n)),o=t.filter(n=>!r.has(n));return{ok:o.length===0,required_canonical_codes:[...t],missing_required_canonical_codes:o}}function _e(e,t){let r=e.get(t);if(r)return r;let o={kinds:new Set,probeIds:new Set};return e.set(t,o),o}function rI(e,t,r){let o=new Map(e.map(p=>[p.code,p.canonical_code??p.code])),n=new Map,i=0,s=0;for(let p of e){let l=_e(n,p.canonical_code??p.code);for(let u of p.owned_states??[])l.kinds.add("owned_state"),l.probeIds.add(u.probe_id)}for(let p of t){let l=o.get(p.error_code);if(l===void 0)continue;i+=1;let u=_e(n,l);u.kinds.add("closed_domain"),u.probeIds.add(p.probe_id)}for(let p of r){let l=o.get(p.error_code);if(l===void 0)continue;s+=1;let u=_e(n,l);u.kinds.add("grammar"),u.probeIds.add(p.probe_id)}let d=e.map(p=>{let l=p.canonical_code??p.code,u=n.get(l),f=[...u.probeIds].sort();return{code:p.code,canonical_code:l,disposition:f.length>0?"executable":"uncovered",evidence_kinds:[...u.kinds].sort(),probe_ids:f}}).sort((p,l)=>p.code<l.code?-1:1),a=d.filter(({disposition:p})=>p==="uncovered").map(({code:p})=>p),c=d.length-a.length;return{ok:a.length===0,catalog_error_code_count:d.length,executable_error_code_count:c,uncovered_error_code_count:a.length,coverage_fraction:d.length===0?1:c/d.length,closed_domain_probe_count:i,grammar_probe_count:s,uncovered_error_codes:a,rows:d}}function nI(e){let t=e.rows.map(r=>`| \`${r.code}\` | \`${r.canonical_code}\` | ${r.disposition} | ${r.evidence_kinds.join(", ")||"none"} | ${r.probe_ids.length} |`);return["# Generated refusal closure census","","Tracker: `pm-f05lsg`.","","Every catalog code is listed. An `uncovered` row is an explicit closure obligation, never an omission or implied approval.","",`- Catalog error codes: ${e.catalog_error_code_count}`,`- Executable error codes: ${e.executable_error_code_count}`,`- Executable-code ratchet floor: ${ut}`,`- Required executable canonical codes: ${_t.map(r=>`\`${r}\``).join(", ")}`,`- Uncovered error codes: ${e.uncovered_error_code_count}`,`- Coverage fraction: ${e.coverage_fraction.toFixed(6)}`,`- Closed-domain probes: ${e.closed_domain_probe_count}`,`- Grammar probes: ${e.grammar_probe_count}`,"","| Error code | Canonical code | Disposition | Evidence kinds | Probe count |","| --- | --- | --- | --- | --- |",...t,""].join(`
5
+ `)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0ec8c375-e58e-5ce4-b0aa-8a8a4dfa0778")}catch{}})();function df(e){return[e.expected_error_code!==void 0&&e.error_code!==e.expected_error_code?{code:"error_code_mismatch",probe_id:e.probe_id,detail:`Expected error code ${e.expected_error_code}, received ${e.error_code??"<missing>"}.`}:void 0,e.expected_allowed_values!==void 0&&JSON.stringify([...e.allowed_values].sort())!==JSON.stringify([...e.expected_allowed_values].sort())?{code:"incomplete_allowed_values",probe_id:e.probe_id,detail:"The refusal's accepted domain differs from the SDK-owned domain contract."}:void 0,e.expected_suggested_retry_args!==void 0&&(e.suggested_retry_args?.length??0)===0?{code:"missing_suggested_retry_args",probe_id:e.probe_id,detail:"The refusal omitted shell-free suggested retry arguments."}:void 0,e.expected_suggested_retry_args!==void 0&&(e.suggested_retry_args?.length??0)>0&&JSON.stringify(e.suggested_retry_args)!==JSON.stringify(e.expected_suggested_retry_args)?{code:"suggested_retry_args_mismatch",probe_id:e.probe_id,detail:"The refusal's suggested retry arguments differ from the SDK-owned contract."}:void 0]}function cf(e){return[e.exit_code!==C.USAGE?{code:"non_refusal_exit",probe_id:e.probe_id,detail:`${e.entrypoint} returned exit code ${e.exit_code}; a structured usage refusal must return ${C.USAGE}.`}:void 0,e.allowed_values_required!==!1&&e.allowed_values.length===0?{code:"missing_allowed_values",probe_id:e.probe_id,detail:"The refusal omitted its complete accepted value domain."}:void 0,e.allowed_values.includes(e.rejected_value)?{code:"accepted_rejected_value",probe_id:e.probe_id,detail:`${e.rejected_value} is both rejected and advertised as allowed.`}:void 0,e.suggested_retry.trim().length===0?{code:"missing_suggested_retry",probe_id:e.probe_id,detail:"The refusal omitted an executable suggested retry."}:void 0,e.retry_succeeded?void 0:{code:"retry_failed",probe_id:e.probe_id,detail:"The advertised suggested retry did not succeed."},...df(e)]}function sI(e){let t=[],r=new Set,o=0;e.length===0&&t.push({code:"empty_corpus",probe_id:"corpus",detail:"At least one real refusal observation is required."});for(let n of e){if(r.has(n.probe_id)){t.push({code:"duplicate_probe",probe_id:n.probe_id,detail:`${n.probe_id} was supplied more than once.`});continue}r.add(n.probe_id);let i=t.length;for(let s of cf(n))s!==void 0&&t.push(s);t.length===i&&(o+=1)}return t.sort((n,i)=>n.probe_id!==i.probe_id?n.probe_id.localeCompare(i.probe_id):n.code.localeCompare(i.code)),{ok:t.length===0,probe_count:r.size,closed_probe_count:o,closure_fraction:r.size===0?0:o/r.size,findings:t}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2e90ea29-2708-5af8-b390-599be97718e7")}catch{}})();var mt="not-a-declared-action";function pf(e,t){if(e.startsWith("assurance ")&&t.name==="kind")return"measurement";switch(t.value_kind){case"integer":return"1";case"item_id":return"pm-domain";case"action":throw new Error(`Cannot synthesize a preceding action value for positional slot ${t.name}.`);default:return"example"}}function me(e){return e.replaceAll(/[^a-z0-9]+/gu,"-").replaceAll(/^-|-$/gu,"")}function mI(e=Q.filter(t=>Oe.some(r=>r.command===t.command&&r.disposition!=="package_owned"))){return e.flatMap(t=>t.slots.flatMap((r,o)=>{if(!r.required)return[];let n=t.command.split(" "),i=k(t.command).flatMap(d=>d.required?[d.flag,...d.value_name?["example"]:[]]:[]),s=Z.some(d=>d.command===t.command);return[{probe_id:`required-argument-${me(t.command)}-${me(r.name)}`,command:t.command,refusal_args:[...n,...t.slots.slice(0,o).map(d=>pf(t.command,d)),...i],recovery_args:[...n,"--help"],error_code:s&&!t.command.startsWith("assurance ")?"invalid_argument_value":/^extension (?:activate|adopt|deactivate|uninstall)$/u.test(t.command)?"missing_lifecycle_target":"missing_required_argument",missing_argument:r.name,missing_argument_index:o}]})).sort((t,r)=>t.probe_id.localeCompare(r.probe_id))}function lf(e){switch(e){case"assurance":case"workspace snapshot":return Z.filter(({parent:t})=>t===e).map(({action:t})=>t);case"graph":return q;case"merge":return J;case"plan":return re;case"profile":return ne;case"schema":return xe;default:throw new Error(`Required positional action family ${e} has no authoritative value domain.`)}}function fI(e=Q){return e.filter(({slots:t})=>t[0]?.required===!0&&t[0].value_kind==="action").map(({command:t})=>{let r=t.split(" ");return{probe_id:`unknown-subcommand-${me(t)}`,command:t,refusal_args:[...r,mt],recovery_args:[...r,"--help"],error_code:"unknown_subcommand",rejected_value:mt,allowed_values:[...lf(t)].sort()}}).sort((t,r)=>t.probe_id.localeCompare(r.probe_id))}function uf(e,t){let r=[...t].sort();return e.length===t.length&&[...e].sort().every((o,n)=>o===r[n])}function _f(e,t){if(!t)return[{code:"refusal_probe_missing",probe_id:e.probe_id,detail:`${e.probe_id} has no runtime observation.`}];let r=[];return t.error_code!==e.error_code&&r.push({code:"refusal_error_code_mismatch",probe_id:e.probe_id,detail:`${e.probe_id} emitted ${t.error_code||"<none>"}; expected ${e.error_code}.`}),t.exit_code!==2&&r.push({code:"refusal_exit_code_mismatch",probe_id:e.probe_id,detail:`${e.probe_id} exited ${t.exit_code}; expected usage exit 2.`}),"allowed_values"in e&&!uf(t.allowed_values,e.allowed_values)&&r.push({code:"refusal_allowed_values_mismatch",probe_id:e.probe_id,detail:`${e.probe_id} did not expose its complete action domain.`}),t.recovery_succeeded||r.push({code:"refusal_recovery_failed",probe_id:e.probe_id,detail:`${e.probe_id} help recovery did not succeed.`}),t.refusal_mutated_state&&r.push({code:"refusal_mutated_state",probe_id:e.probe_id,detail:`${e.probe_id} changed tracker state while refusing input${t.mutated_paths?.length?`: ${t.mutated_paths.join(", ")}`:"."}`}),r}function hI(e,t){let r=new Map(e.map(s=>[s.probe_id,s])),o=new Map(t.map(s=>[s.probe_id,s])),n=[...e.flatMap(s=>_f(s,o.get(s.probe_id))),...t.filter(s=>!r.has(s.probe_id)).map(s=>({code:"unexpected_refusal_probe",probe_id:s.probe_id,detail:`${s.probe_id} has no declared grammar refusal contract.`}))];n.sort((s,d)=>s.probe_id.localeCompare(d.probe_id)||s.code.localeCompare(d.code));let i=new Set(n.map(({probe_id:s})=>s));return{ok:n.length===0,probe_count:e.length,closed_probe_count:e.filter(({probe_id:s})=>!i.has(s)).length,findings:n}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="941a11a9-f756-56b3-9dc1-8afd78bc9328")}catch{}})();var fe=[{probe_id:"tracker-root-missing",failure_kind:"missing_root",expected_error_code:"tracker_root_missing",expected_exit_code:3,recovery_kind:"initialize"},{probe_id:"tracker-root-settings-missing",failure_kind:"settings_missing",expected_error_code:"tracker_not_initialized",expected_exit_code:3,recovery_kind:"initialize"},{probe_id:"tracker-root-not-directory",failure_kind:"not_directory",expected_error_code:"tracker_root_not_directory",expected_exit_code:2,recovery_kind:"select_directory"},{probe_id:"tracker-root-unreadable",failure_kind:"unreadable_root",expected_error_code:"tracker_root_unreadable",expected_exit_code:1,recovery_kind:"repair_permissions"}];function TI(){return fe.map(e=>({...e}))}function mf(e,t){let r=[];t.error_code!==e.expected_error_code&&r.push({code:"error_code_mismatch",probe_id:e.probe_id,detail:`Expected ${e.expected_error_code}, received ${t.error_code}.`}),t.exit_code!==e.expected_exit_code&&r.push({code:"exit_code_mismatch",probe_id:e.probe_id,detail:`Expected exit ${e.expected_exit_code}, received ${t.exit_code}.`}),t.recovery_kind!==e.recovery_kind&&r.push({code:"recovery_kind_mismatch",probe_id:e.probe_id,detail:`Expected ${e.recovery_kind}, received ${t.recovery_kind}.`});let o=t.suggested_retry_args.indexOf("init"),n=o===0||o===2&&t.suggested_retry_args[0]==="--pm-path"&&t.suggested_retry_args[1]?.length>0;return e.recovery_kind==="initialize"&&!n&&r.push({code:"missing_init_recovery",probe_id:e.probe_id,detail:"Missing and uninitialized roots must emit a tokenized init retry."}),(t.unsafe_init_recommended||e.recovery_kind!=="initialize"&&t.suggested_retry_args.includes("init"))&&r.push({code:"unsafe_init_recovery",probe_id:e.probe_id,detail:"A tracker root that cannot be initialized safely must not recommend initialization."}),t.retry_succeeded||r.push({code:"retry_failed",probe_id:e.probe_id,detail:"The emitted retry or safe alternate-root recovery did not execute successfully."}),r}function yI(e){let t=new Map(e.map(n=>[n.probe_id,n])),r=[],o=0;for(let n of fe){let i=t.get(n.probe_id);if(i===void 0){r.push({code:"missing_probe",probe_id:n.probe_id,detail:"No runtime observation was supplied for this contract."});continue}let s=mf(n,i);r.push(...s),s.length===0&&(o+=1)}return r.sort((n,i)=>n.probe_id.localeCompare(i.probe_id)||n.code.localeCompare(i.code)),{ok:r.length===0,probe_count:fe.length,closed_probe_count:o,findings:r}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8320177c-e95d-5d14-a914-4ac37230c0b9")}catch{}})();var V,ff=Object.freeze({list:"list-item-projection","list-all":"list-item-projection","list-draft":"list-item-projection","list-open":"list-item-projection","list-in-progress":"list-item-projection","list-blocked":"list-item-projection","list-closed":"list-item-projection","list-canceled":"list-item-projection",get:"get-item-projection",graph:"graph-detail-projection",search:"search-result-projection",history:"history-entry-projection",events:"mutation-event-projection",activity:"activity-entry-projection",deps:"dependency-graph-projection",health:"health-diagnostic-projection",validate:"validation-diagnostic-projection",contracts:"contract-catalog-projection"});function hf(e,t){if(t==="--limit")return"result-row-limit";if(t==="--node-limit")return"graph-node-limit";if(t==="--edge-limit")return"graph-edge-limit";if(t==="--output-limit")return"rendered-output-row-limit";if(t==="--output-budget")return"rendered-output-byte-budget";if(t==="--token-budget")return"context-intent-token-budget";if(t==="--full"){let r=ff[e];if(r===void 0)throw new Error(`Command ${e} exposes --full without a registered projection concept.`);return r}return t!=="--file"?t.slice(2):["create","update","update-many"].includes(e)?"linked-file-path":["comments","notes","learnings"].includes(e)?"entry-file-input":"plan-definition-file"}function W(){if(V!==void 0)return V;let t=oe.filter(({command:i})=>ee(i)).flatMap(({command:i,family:s})=>We(i,k(i)).map(d=>({command:i,family:s,concept:hf(i,d.flag),flag:d.flag,aliases:Object.freeze([...d.aliases??[]]),value_kind:d.repeatable?"list":d.flag==="--limit"?"number":d.value_type}))),r=new Set(t.flatMap(i=>i.aliases.map(s=>`${i.command}:${s}`))),o=t.filter(i=>!r.has(`${i.command}:${i.flag}`)),n=new Map;for(let i of o){let s=n.get(i.concept)??new Set;s.add(i.value_kind),n.set(i.concept,s)}return V=Object.freeze(o.map(i=>Object.freeze({...i,concept:n.get(i.concept)?.size===1?i.concept:`${i.concept}@${i.command}`}))),V}function SI(){return Object.freeze(W().map(e=>Object.freeze({command:e.command,canonical_flag:e.flag,accepted_spellings:Object.freeze([...new Set([e.flag,...e.aliases])].sort())})))}var ft=Object.freeze({init:30,config:35,extension:53,package:54,packages:54,install:26,upgrade:29,create:100,copy:24,focus:22,list:86,"list-all":85,"list-draft":84,"list-open":84,"list-in-progress":84,"list-blocked":84,"list-closed":84,"list-canceled":84,aggregate:37,context:45,ctx:45,get:30,graph:34,search:78,duplicates:24,eval:25,next:35,history:35,events:33,"history-redact":27,"history-repair":26,"history-compact":30,"history-author-acknowledge":28,merge:24,schema:40,profile:22,activity:35,restore:23,update:105,"update-many":140,close:31,"close-many":72,delete:24,append:24,comments:30,notes:34,learnings:26,files:39,docs:30,deps:32,plan:109,test:52,"test-all":40,telemetry:21,stats:29,health:36,validate:45,assurance:30,gc:22,workspace:23,contracts:29,claim:36,release:23,"start-task":23,"pause-task":23,"close-task":24,meet:33,event:33,remind:29,"test-runs-worker":25});function ht(){let e=new Map(Object.keys(ft).map(t=>[t,0]));for(let{command:t}of W())e.set(t,Number(e.get(t))+1);return Object.freeze(Object.entries(ft).map(([t,r])=>Object.freeze({command:t,current:Number(e.get(t)),maximum:r})))}function gf(e,t,r){for(let o of e)for(let n of o.aliases){let i=t.get(`${o.command}:${n}`);i===void 0||i.flag===o.flag||r.push({code:"alias_collision",command:o.command,detail:`${n} aliases ${o.flag} but is canonical for ${i.flag}.`})}}function Tf(e,t,r){let o=new Set(t.map(({command:n})=>n));for(let n of e.keys())o.has(n)||r.push({code:"missing_budget",command:n,detail:`${n} has canonical flags but no persisted budget.`});for(let n of t){let i=e.get(n.command)??0;i===0&&r.push({code:"stale_budget",command:n.command,detail:`${n.command} has a persisted budget but no canonical flags.`}),!(i<=n.maximum)&&r.push({code:"budget_exceeded",command:n.command,detail:`${i} canonical flags exceed the ratcheted maximum ${n.maximum}.`})}}function yf(e,t,r){let o=new Map(e.map(n=>[`${n.command}:${n.flag}`,n]));for(let n of t){let i=`${n.command}:${n.canonical_flag}`,s=o.get(i);if(!s){r.push({code:"removed_canonical_spelling",command:n.command,detail:`${n.canonical_flag} disappeared from the executable spelling inventory.`});continue}let d=new Set([s.flag,...s.aliases]);for(let a of n.accepted_spellings)d.has(a)||r.push({code:"removed_compatibility_spelling",command:n.command,detail:`${a} no longer resolves to ${n.canonical_flag}.`})}}function OI(e=W(),t=ht(),r=[]){let o=[],n=new Map,i=new Map,s=new Map,d=new Map;for(let a of e){let c=`${a.command}:${a.flag}`;n.has(c)?o.push({code:"duplicate_canonical_flag",command:a.command,detail:`${a.flag} has more than one canonical row.`}):n.set(c,a),d.set(a.command,(d.get(a.command)??0)+1);let p=i.get(a.concept);p!==void 0&&p!==a.value_kind?o.push({code:"inconsistent_concept_kind",command:a.command,detail:`${a.concept} uses both ${p} and ${a.value_kind}.`}):i.set(a.concept,a.value_kind);let l=s.get(a.concept);l!==void 0&&l!==a.flag?o.push({code:"semantic_spelling_collision",command:a.command,detail:`${a.concept} is canonicalized by both ${l} and ${a.flag}.`}):s.set(a.concept,a.flag)}return gf(e,n,o),Tf(d,t,o),yf(e,r,o),o.sort((a,c)=>a.command.localeCompare(c.command)||a.code.localeCompare(c.code)||a.detail.localeCompare(c.detail)),{ok:o.length===0,entry_count:e.length,budget_count:t.length,concept_count:new Set(e.map(({concept:a})=>a)).size,baseline_entry_count:r.length,findings:o}}function RI(){let e=W(),t=ht(),r=new Map(t.map(({command:n})=>[n,"unknown"]));for(let{command:n,family:i}of e)r.set(n,i);return["# Generated flag lexicon budgets","","This file is generated by `listPmFlagLexicon()`. Compatibility aliases do not consume canonical budget.","","| Command | Capability family | Canonical flags | Maximum |","| --- | --- | ---: | ---: |",...t.map(({command:n,current:i,maximum:s})=>{let d=r.get(n);return`| \`${n}\` | ${d} | ${i} | ${s} |`}),""].join(`
6
+ `)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7fc669d4-1db2-5636-8304-2c111a684726")}catch{}})();function II(e){return e}function NI(e){return e}function wI(e){return e}function kI(e){return e}function vI(e){return e}function PI(e){return e}function MI(e){return e}function LI(e){return e}function DI(e){return e}function FI(e){return e}function GI(e){return e}function $I(e){return e}function UI(e){return e}function jI(e){return{handled:!0,result:e}}function BI(){return{handled:!1}}function HI(e){return e}function zI(e){return e}function VI(e){return e}function WI(e){return e}function KI(e){return e}function XI(e){return e}function YI(e){return e}function qI(e){return e}function JI(e){return e}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5bbfab95-010d-5507-ab01-f8f43943d295")}catch{}})();function Cf(e={},t={}){return new G(t).extension(void 0,{...e,migrate:!0})}function Af(e={},t={}){return new G(t).packageMigrate(e)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="bca95ba2-258c-5be2-8428-dcb8dbc87ef0")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c2063b82-58b6-54c9-baff-ca252cadf463")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="036baf5a-3ba9-55ea-a11b-d9e94a848b92")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="805c081a-a781-50c3-8919-81492208913b")}catch{}})();export{HE as ACTIONABILITY_ORDERING_KINDS,to as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,Ji as ACTIVITY_FLAG_CONTRACTS,dr as AGENT_PROVENANCE_DIMENSIONS,Lo as AGGREGATE_FLAG_CONTRACTS,Ai as APPEND_FLAG_CONTRACTS,$E as ASSURANCE_ACTIONS,UE as ASSURANCE_DECLARATION_KINDS,wA as ASSURANCE_DOCUMENT_VERSION,ji as ASSURANCE_FLAG_CONTRACTS,kA as ASSURANCE_GATE_TRIGGERS,vA as ASSURANCE_MEASUREMENT_SOURCE_KINDS,YA as ASSURANCE_PRESET_IDS,RA as AssuranceEvaluationRefusalError,OA as AssuranceMutationRefusalError,xA as AssuranceSourceResolutionError,Kt as BASELINE_ITEM_FORMAT_VERSION,bm as BOUNDARY_FIXTURE_CAPTURE_SOURCES,tb as BRIEF_LIST_FIELDS,pr as BUILTIN_AGENT_PROVENANCE_ADAPTERS,S as BUILTIN_CORPUS_SHAPES,cr as BUILTIN_HARNESS_SIGNAL_DESCRIPTORS,bt as BUILTIN_ITEM_TYPE_VALUES,De as BUILTIN_PROFILES,oh as BUILTIN_RELATIONSHIP_KINDS,Zn as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,qi as CALENDAR_FLAG_CONTRACTS,Ei as CLAIM_FLAG_CONTRACTS,fs as CLOSE_ACTION_OPTION_KEYS,yi as CLOSE_FLAG_CONTRACTS,Ci as CLOSE_MANY_FLAG_CONTRACTS,Ii as CLOSE_TASK_FLAG_CONTRACTS,Do as COMMENTS_FLAG_CONTRACTS,Jf as COMMON_MUTATION_COMMAND_OPTION_KEYS,cs as COMPLETION_FLAG_CONTRACTS,Nt as CONFIDENCE_TEXT_VALUES,Jo as CONFIG_FLAG_CONTRACTS,Qn as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,Cb as CONTEXT_EVALUATION_METRIC_NAMES,Qi as CONTEXT_FLAG_CONTRACTS,ve as CONTEXT_OUTPUT_VALUES,Ob as CONTEXT_PACKING_PROFILES,hb as CONTEXT_RELEVANCE_SERVICE,mb as CONTEXT_RELEVANCE_SIGNAL_NAMES,Pb as CONTEXT_SIGNAL_SET_VERSION,vb as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Mb as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,ds as CONTRACTS_FLAG_CONTRACTS,Wi as COPY_FLAG_CONTRACTS,io as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,ao as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,so as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,Rf as CREATE_DIRECT_CLOSE_REASON_DEFAULT,Bi as CREATE_FLAG_CONTRACTS,UT as CURRENT_HISTORY_ITEM_HASH_VERSION,Xt as CURRENT_ITEM_FORMAT_VERSION,Gb as ContextSignalStore,xb as ContextUsageValidationError,TA as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,gS as DEFAULT_CHILD_SAMPLE_LIMIT,eb as DEFAULT_COMPACT_LIST_FIELDS,Iy as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Np as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,Qb as DEFAULT_TERMINAL_TRANSITION_POLICY,Bb as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,vE as DEFECT_ESCAPE_CLASSES,PE as DEFECT_GATE_EVIDENCE_DISPOSITIONS,Si as DELETE_FLAG_CONTRACTS,Rt as DEPENDENCY_KIND_VALUES,rs as DEPS_FLAG_CONTRACTS,Uo as DOCS_FLAG_CONTRACTS,Gi as DUPLICATES_FLAG_CONTRACTS,os as EVAL_FLAG_CONTRACTS,Op as EVAL_QUERY_SET_CONTRACT,Rp as EVAL_QUERY_SET_EXAMPLE,Sp as EVAL_QUERY_SET_SCHEMA_ID,Zi as EVENTS_FLAG_CONTRACTS,wi as EVENT_FLAG_CONTRACTS,xr as EXECUTABLE_COMMAND_ALIASES,C as EXIT_CODE,di as EXTENSION_ACTIVATE_FLAG_CONTRACTS,ai as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,fi as EXTENSION_ADOPT_FLAG_CONTRACTS,YC as EXTENSION_CAPABILITIES,Sf as EXTENSION_CAPABILITY_CONTRACT,Ef as EXTENSION_CAPABILITY_CONTRACT_VERSION,bf as EXTENSION_CAPABILITY_LEGACY_ALIASES,Gt as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,mi as EXTENSION_CATALOG_FLAG_CONTRACTS,ci as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,si as EXTENSION_DESCRIBE_FLAG_CONTRACTS,_i as EXTENSION_DOCTOR_FLAG_CONTRACTS,ii as EXTENSION_EXPLORE_FLAG_CONTRACTS,Zo as EXTENSION_FLAG_CONTRACTS,ei as EXTENSION_INIT_FLAG_CONTRACTS,ni as EXTENSION_INSTALL_FLAG_CONTRACTS,li as EXTENSION_MANAGE_FLAG_CONTRACTS,pi as EXTENSION_MIGRATE_FLAG_CONTRACTS,qC as EXTENSION_POLICY_MODES,JC as EXTENSION_POLICY_SURFACES,ui as EXTENSION_RELOAD_FLAG_CONTRACTS,QC as EXTENSION_SANDBOX_PROFILES,Qo as EXTENSION_SCOPE_FLAG_CONTRACTS,ZC as EXTENSION_TRUST_MODES,oi as EXTENSION_UNINSTALL_FLAG_CONTRACTS,tE as EXTERNAL_DEPENDENCY_SOURCE_KIND,rE as EXTERNAL_DEPENDENCY_SOURCE_KIND_ALIAS,$o as FILES_FLAG_CONTRACTS,Ki as FOCUS_FLAG_CONTRACTS,Di as GC_FLAG_CONTRACTS,ob as GET_DEPTH_VALUES,es as GET_FLAG_CONTRACTS,Po as GLOBAL_FLAG_CONTRACTS,fa as GRAPH_DURABLE_CACHE_MIN_ITEMS,ma as GRAPH_DURABLE_CACHE_VERSION,ns as GRAPH_FLAG_CONTRACTS,q as GRAPH_SUBCOMMAND_VALUES,ts as GUIDE_FLAG_CONTRACTS,$i as HEALTH_FLAG_CONTRACTS,Vo as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,dE as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,rO as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,Wo as HISTORY_COMPACT_FLAG_CONTRACTS,jo as HISTORY_FLAG_CONTRACTS,Ho as HISTORY_REDACT_FLAG_CONTRACTS,zo as HISTORY_REPAIR_FLAG_CONTRACTS,Tp as INIT_AGENT_GUIDANCE_MODE_VALUES,qo as INIT_FLAG_CONTRACTS,hi as INSTALL_FLAG_CONTRACTS,It as ISSUE_SEVERITY_VALUES,zi as ITEM_COMPLETE_FLAG_CONTRACTS,jS as ITEM_LATEST_TIMESTAMP_FIELDS,Of as ITEM_METADATA_KEY_ORDER,Hi as ITEM_MUTATE_FLAG_CONTRACTS,Vi as ITEM_REOPEN_FLAG_CONTRACTS,St as ITEM_TYPE_VALUES,US as ITEM_UNION_COLLECTION_FIELDS,Fb as JsonFileContextSignalStoreAdapter,Go as LEARNINGS_FLAG_CONTRACTS,Vc as LINKED_TEST_ENV_NAME_PATTERN,Wc as LINKED_TEST_PM_CONTEXT_MODE_VALUES,zc as LINKED_TEST_PROTECTED_ENV_KEYS,Kc as LINKED_TEST_WORKSPACE_CONTEXT_MODE_VALUES,qn as LIST_COMMANDER_STRING_OPTION_CONTRACTS,rb as LIST_COMMAND_DEFAULT_PROJECTIONS,tA as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,Mo as LIST_FILTER_FLAG_CONTRACTS,db as LIST_SORT_FIELDS,cb as LIST_SORT_ORDER_VALUES,hS as MAX_CHILD_PROJECTION_ITEMS,Ni as MEET_FLAG_CONTRACTS,zS as MERGE_DRIVER_ARTIFACT_VALUES,Bo as MERGE_FLAG_CONTRACTS,J as MERGE_SUBCOMMAND_VALUES,KS as MUTATION_EVENT_WIRE_BUDGET,P as MemoryRelationshipGraphAdapter,eo as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,ss as NEXT_FLAG_CONTRACTS,Rc as NEXT_OUTPUT_VALUES,Fo as NOTES_FLAG_CONTRACTS,ti as PACKAGE_FLAG_CONTRACTS,ri as PACKAGE_INIT_FLAG_CONTRACTS,xi as PAUSE_TASK_FLAG_CONTRACTS,ms as PLAN_CREATE_METADATA_PARAMETER_KEYS,Yo as PLAN_FLAG_CONTRACTS,dp as PLAN_SHOW_DEPTH_VALUES,re as PLAN_SUBCOMMANDS,cp as PLAN_TEMPLATE_NAMES,bs as PM_CLI_EXPECTED_ERROR_NAME,RC as PM_CLI_GRAMMAR_CONTRACT,AC as PM_CLI_GRAMMAR_NOUNS,$r as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,EC as PM_CLI_SHARED_VERBS,Rr as PM_COMMAND_ALIAS_CONTRACTS,oe as PM_COMMAND_CAPABILITY_CONTRACTS,Oe as PM_COMMAND_DESTINATION_CONTRACTS,iS as PM_COMMAND_EXIT_CONTRACTS,oS as PM_COMMAND_EXIT_OUTCOME_CONTRACTS,nn as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,fO as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,Q as PM_COMMAND_POSITIONAL_CONTRACTS,ol as PM_COMMAND_VISIBILITY_CONTRACTS,nA as PM_COMPLETE_LIST_FINDING_CODES,cA as PM_CONTEXT_INTENTS_FILE,RT as PM_CONTEXT_INTENT_CONTRACTS,Dr as PM_CORE_COMMAND_NAMES,g as PM_CORPUS_SHAPE_SCHEMA,jr as PM_DEPRECATED_TOOL_ACTIONS,Zr as PM_DIAGNOSTIC_DEGRADATION_STEPS,Qr as PM_DIAGNOSTIC_OUTPUT_BUDGET_CONTRACTS,Jr as PM_DIAGNOSTIC_OUTPUT_CLASSES,Br as PM_DISCOVERABLE_TOOL_ACTIONS,uO as PM_ERROR_CODE_CATALOG,dO as PM_ERROR_CODE_EXIT_CLASS_CONTRACTS,tt as PM_EXACT_COVERAGE_METRICS,wr as PM_EXTENSION_CAPABILITY_CONTRACTS,Fr as PM_EXTENSION_PACKAGE_ACTION_SUBCOMMANDS,vr as PM_EXTENSION_POLICY_MODE_CONTRACTS,Lr as PM_EXTENSION_POLICY_SURFACE_CONTRACTS,Mr as PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,kr as PM_EXTENSION_SERVICE_NAME_CONTRACTS,Pr as PM_EXTENSION_TRUST_MODE_CONTRACTS,fE as PM_GITATTRIBUTES_END,mE as PM_GITATTRIBUTES_START,gE as PM_GITATTRIBUTES_V2_END,hE as PM_GITATTRIBUTES_V2_START,Ns as PM_GITIGNORE_END,Is as PM_GITIGNORE_START,Gr as PM_ITEM_ACTION_SUBCOMMANDS,ll as PM_MCP_PROMPT_CONTRACTS,pl as PM_MCP_RESOURCE_CONTRACTS,dl as PM_MCP_TOOL_COMMAND_CONTRACTS,Ig as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,vn as PM_MUTATION_ACTION_CONTRACTS,qr as PM_OUTPUT_BUDGET_CLASSES,Yr as PM_OUTPUT_DEGRADATION_STEPS,_O as PM_OUTPUT_ENVELOPE_KINDS,Ne as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,Ie as PM_PACKAGE_RESOURCE_KINDS,Z as PM_POSITIONAL_ACTION_CONTRACTS,Es as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,Cs as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,mT as PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS,tT as PM_READ_OUTPUT_CONTINUATION_FINGERPRINT_POLICIES,lT as PM_READ_OUTPUT_DIMENSIONS,_T as PM_READ_OUTPUT_OPTION_FLAGS,sT as PM_READ_OUTPUT_SESSION_MAX_SEEN_ITEM_IDS,iT as PM_READ_OUTPUT_SESSION_MIN_TOKENS,uT as PM_READ_OUTPUT_SURFACES,fT as PM_READ_OUTPUT_SURFACE_CONTRACTS,xg as PM_READ_ROW_CONTRACTS,Rg as PM_READ_ROW_JQ_SELECTOR,Kx as PM_RECOVERY_REFERENCE_FIELDS,L as PM_RECOVERY_REFERENCE_KINDS,_t as PM_REFUSAL_CLOSURE_EXECUTABLE_CANONICAL_CODE_BASELINE,ut as PM_REFUSAL_CLOSURE_EXECUTABLE_CODE_BASELINE,Wn as PM_REPRODUCIBLE_PROCESS_ENV,sS as PM_SUCCESS_EXIT_CODES,Ur as PM_TOOL_ACTIONS,hs as PM_TOOL_ACTION_PARAMETER_CONTRACTS,As as PM_TOOL_PARAMETERS_SCHEMA,ys as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Ts as PM_TOOL_PARAMETERS_SCHEMA_VERSION,us as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,Ze as PM_WORKSPACE_RECIPE_SCHEMA,Xo as PROFILE_FLAG_CONTRACTS,He as PROFILE_LINT_CODES,Be as PROFILE_LINT_DIMENSIONS,Le as PROFILE_NAMES,ne as PROFILE_SUBCOMMANDS,K as PmCliError,G as PmClient,oA as PmCompleteListValidationError,zg as QUERY_CURSOR_CONTRACT,Ti as REINDEX_FLAG_CONTRACTS,by as REINDEX_LOCK_ID,le as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Oi as RELEASE_FLAG_CONTRACTS,ki as REMIND_FLAG_CONTRACTS,Ae as RESERVED_ITEM_FIELD_NAMES,bi as RESTORE_FLAG_CONTRACTS,xt as RISK_VALUES,jC as RelationshipEventLog,BC as RelationshipEventStore,A as RelationshipGraph,Y as RelationshipKindRegistry,Ko as SCHEMA_FLAG_CONTRACTS,Jn as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,rA as SEARCH_EXTENSION_FLAG_DEFINITIONS,as as SEARCH_FLAG_CONTRACTS,dc as SEMANTIC_ATTRIBUTION_LIMITS,If as SETTINGS_DEFAULTS,Mp as SNAPSHOT_SCHEMA,lE as SOURCE_CONTEXT_ACCESS_ENV,uE as SOURCE_CONTEXT_WRITE_OVERRIDE_ENV,Ri as START_TASK_FLAG_CONTRACTS,Fi as STATS_FLAG_CONTRACTS,Ot as STATUS_VALUES,vo as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,jT as SUPPORTED_HISTORY_ITEM_HASH_VERSIONS,Vf as SUPPRESS_HOST_OUTPUT_MARKER,Mi as TELEMETRY_FLAG_CONTRACTS,vl as TELEMETRY_SUBCOMMANDS,Pi as TEST_ALL_FLAG_CONTRACTS,vi as TEST_FLAG_CONTRACTS,Li as TEST_RUNS_FLAG_CONTRACTS,xl as TEST_RUN_MEASUREMENT_LIMIT,Ro as TOOL_ACTIVITY_OPTION_CONTRACTS,mo as TOOL_AGGREGATE_OPTION_CONTRACTS,Eo as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,Oo as TOOL_CALENDAR_OPTION_CONTRACTS,So as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,xo as TOOL_CONTEXT_OPTION_CONTRACTS,yo as TOOL_CREATE_OPTION_CONTRACTS,To as TOOL_CREATE_OPTION_CONTRACT_SOURCE,Io as TOOL_DEPS_OPTION_CONTRACTS,No as TOOL_GRAPH_OPTION_CONTRACTS,_o as TOOL_LIST_FILTER_OPTION_CONTRACTS,fo as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,go as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,ho as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,bo as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,Ao as TOOL_UPDATE_OPTION_CONTRACTS,Co as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,xf as TYPE_TO_FOLDER,Hf as UNKNOWN_SUBCOMMAND_COMPATIBILITY_CODES,co as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,lo as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,po as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,Xi as UPDATE_FLAG_CONTRACTS,Yi as UPDATE_MANY_FLAG_CONTRACTS,gi as UPGRADE_FLAG_CONTRACTS,Ui as VALIDATE_FLAG_CONTRACTS,is as WORKSPACE_FLAG_CONTRACTS,_n as WORKSPACE_HISTORY_ID,Lp as WORKSPACE_SNAPSHOT_ACTIONS,Ws as WorkspaceGraphCache,KC as WorkspaceTransactionInterruptedError,Rs as _testOnly,_b as _testOnlyAggregateCommand,gp as _testOnlyConfigCommand,AS as _testOnlyGetCommand,sd as _testOnlyHealthCommand,Ep as _testOnlyInit,yp as _testOnlyInitAgentGuidance,zO as _testOnlyItemTransaction,JS as _testOnlyMutationEvents,qb as _testOnlyNextCommand,FS as _testOnlySearchCommand,_S as _testOnlySimilarity,Hp as _testOnlyTemplates,$d as _testOnlyValidateCommand,QA as acceptAssuranceProposals,Fd as acknowledgeLinkedTests,La as acknowledgeUnknownAuthorHistoryEvents,Ma as acknowledgeUnknownAuthorHistoryEventsFromTransport,Ny as acquireItemMetadataDerivedIndexLock,un as acquireLock,rR as activateExtensionForTest,gh as activateExtensions,ar as agentSessionEnvironment,xu as aggregate,hl as analyzeAgentProvenanceDescriptorCoverage,LE as analyzeDefectChangeRisk,zC as analyzeGraphImpact,Ds as analyzeHierarchyIntegrity,VC as analyzeKnowledgeGraph,pS as analyzePmCommandExitConformance,Hr as analyzePmToolActionParity,RE as analyzeReconciliationDiscard,HC as analyzeRelationshipExecution,aa as analyzeRelationshipSchedule,Q_ as analyzeSdkActionCoverage,Re as analyzeSdkCliParameterCompleteness,$u as append,ln as appendHistoryEntry,gn as appendWorkspaceAuditEvent,hn as appendWorkspaceHistoryChange,Kh as applyAcceptanceCriteriaMutations,JA as applyAssurancePreset,om as applyBootstrapPagerPolicy,kT as applyContextIntentProjection,Oc as applyContextTagProjection,pb as applyFilterValueEcho,MC as applyHistoryPatch,lm as applyInvocationAuthorOverride,ud as applyPathMigrations,bT as applyReadOutputDimensions,yT as applyReadOutputIncludeModes,dT as applyReadOutputSessionReferences,Hh as applyRegisteredItemFieldDefaultsAndValidation,hd as applyStandaloneNote,ed as applyStoredExtensionMigrationState,Yh as applyTagRemovals,nS as applyTerminalOrderingPolicy,gd as artifactKey,Pf as asRecordClone,vf as asRecordOrNull,te as assembleWorkspaceRelationshipGraph,dA as assertCompleteListResult,DR as assertExtensionBlueprint,LR as assertExtensionCapabilityUsage,gR as assertExtensionDeactivated,$R as assertExtensionManifestCompatible,GR as assertExtensionManifestMatchesBlueprint,UR as assertExtensionPreflight,$s as assertHierarchyMutationAllowed,nO as assertHistoryCompactTarget,IE as assertHistoryRepairTarget,In as assertInitializedTracker,_d as assertLinkedArtifactMutationIsUnambiguous,jm as assertMemoryRelationshipGraphAdapterConformance,Zh as assertNoUnknownCsvKeys,TR as assertPackageManifest,iy as assertParentReferenceIsNotSelf,FR as assertProjectProfile,yx as assertProjectRuntimeCompatibility,Ng as assertProjectionModeChoice,xn as assertReadableTrackerRoot,yR as assertRegisteredCommandContract,NR as assertRegisteredCommandOverride,OR as assertRegisteredExporter,CR as assertRegisteredFlags,AR as assertRegisteredHook,SR as assertRegisteredImporter,RR as assertRegisteredItemField,xR as assertRegisteredItemType,MR as assertRegisteredMigration,wR as assertRegisteredParserOverride,kR as assertRegisteredPreflightOverride,IR as assertRegisteredProfile,vR as assertRegisteredRendererOverride,ER as assertRegisteredSearchProvider,PR as assertRegisteredServiceOverride,bR as assertRegisteredVectorStoreAdapter,dh as assertRelationshipEdgeAllowed,at as assertRelationshipGraphAdapterConformance,PA as assuranceAssertionUpdateIsLoosening,MT as attachContextIntentReceipt,Pd as attachLinkedTestMutationProvenance,vd as attachLinkedTestProvenance,Lg as attachOutputOmissionReceipt,DT as attachOutputTokenAccounting,LT as attachReadOutputContracts,cT as attachReadOutputSessionReceipt,Ua as auditMergeAttributeFence,TE as auditMergeDriverConfiguration,ua as auditWorkspaceRelationshipGraph,or as boundAgentEpisodeIdentity,Qg as boundReadOutputRows,Ac as buildChildrenByParent,OS as buildCompactSearchFilterSummary,lb as buildContentFilterEcho,Db as buildContextSignalSnapshot,fm as buildCorpusShapeItemPlan,ME as buildDefectRecurrenceIndex,qa as buildExtensionDescribeResult,ub as buildGovernanceMissingFilterEcho,_y as buildInvalidTypeError,TS as buildItemChildrenRollup,BO as buildItemCompletionMutations,fb as buildItemContextRelevanceCandidates,Ly as buildItemNotFoundError,CS as buildItemSchedule,Ga as buildMergeAttributePatterns,gs as buildPmActionToolInputSchema,rI as buildPmRefusalClosureCensus,sE as buildRelationshipContext,Uy as buildSearchCorpus,By as buildSemanticCorpusInput,Rn as buildTrackerInitializationRecovery,Xy as buildVectorizationEmbeddingIdentity,Yy as buildVectorizationEmbeddingMetadata,RS as buildVerboseSearchFilters,Hb as buildWorkspaceMemorySnapshot,nr as canonicalDocument,Zf as canonicalizeCommandOptionKey,ih as canonicalizeRelationshipKind,Xx as censusPmRecoveryReferenceProducers,aA as certifyCompleteListResult,eR as checkExtensionManifestCompatibility,E_ as claim,b_ as claimNext,cE as classifyHistoryAuthorEvent,ZS as classifyHostEnvironmentFault,MS as classifyImplicitSemanticFallbackReason,Jt as classifyItemFormatVersion,Ll as classifyLinkedTestFailure,Mh as clearActiveExtensionHooks,Ca as clearDurableGraphCache,Ag as clearFocusedItem,vs as clearWorkspaceContractsCache,A_ as close,vc as closeItem,k_ as closeTask,am as coalesceRepeatedListFlags,zE as collectBlockedByIds,WE as collectBlockedByIdsFromCorpus,Hs as collectDanglingDependencyReferences,XE as collectDependencyBlockedIds,js as collectDuplicateDependencyRows,la as collectDuplicateRelationshipEdgeGroups,PS as collectErrorCauseCodes,Ls as collectHierarchyRelations,zs as collectMissingDependencyTargetIds,$c as collectNewOrderingCycleWarnings,da as collectOrderingCycles,Bs as collectOrderingStorageContradictions,uA as collectPackageContextIntentContracts,ke as collectPackageExtensionDirectories,jh as collectRegisteredItemFieldNames,_g as collectRuntimeCreateFieldValues,my as collectRuntimeFilterValues,mg as collectRuntimeUpdateFieldValues,hc as collectSubtreeIds,$t as collectUsedExtensionCapabilities,Qf as commandOptionFlagLabel,wu as comments,cu as commitImportedItem,HO as commitItemCompletion,jO as commitItemMutations,XC as commitWorkspaceTransaction,ko as compactFlagAliasContracts,gc as compareCriticalItems,U as comparePmDateVersions,WC as compareRelationshipSnapshots,Mf as compareTimestampStrings,bA as compileHistoryProvenanceMatcher,NT as composeContextIntentContracts,KO as composeExtension,QO as composeExtensionPackage,YE as computeActionabilityReport,ZT as computeHistoryDiff,ia as computeRelationshipCentrality,oa as computeRelationshipDominators,Vs as computeWorkspaceGraphFingerprint,ju as config,Ph as consumeAfterCommandAffectedItems,Au as context,PT as contextIntentRowId,O_ as copy,Dl as countFailureCategories,Jg as countReadOutputRows,T_ as create,qA as createAssurancePreset,kE as createAssuranceWorkspaceContext,Df as createCheckpointId,iA as createCompleteListOptions,Th as createCoreCommandHookContext,Je as createCorpusShapeMeasurement,GA as createEmptyAssuranceDocument,ph as createEmptyExtensionRegistrationRegistry,xs as createExtensionCommandSdk,Ft as createExtensionContributionInventory,jR as createExtensionTestHarness,pn as createHistoryEntry,lC as createLazyModule,My as createMutationGuardSdk,wg as createOutputOmissionReceipt,Ss as createPmCliExpectedError,um as createPmCliProgram,tn as createPmCommandOutputBudget,Fg as createQueryFingerprint,Um as createRelationshipGraphScaleFixture,x as createRelationshipGraphSnapshot,Ce as createRelationshipKindRegistry,Xn as createReproducibleProcessRunner,xS as createSearchCursorFingerprint,yh as createSerialQueue,og as createStdinTokenResolver,zf as createUnknownSubcommandError,Dp as createWorkspaceSnapshot,nR as deactivateExtensionForTest,BI as declineServiceOverride,vT as decodeContextIntentCursor,pC as decodeHtmlEntitiesInOptions,jg as decodeQueryCursor,$g as decodeQueryCursorEnvelope,Ug as decodeQueryCursorState,oT as decodeReadOutputContinuationCursor,yd as dedupeLinkedArtifacts,gb as defaultScoreContextCandidates,XI as defineAfterCommandHook,WI as defineBeforeCommandHook,KI as defineBeforeMutationHook,wI as defineCommand,FI as defineCommandOverride,b as defineCorpusShape,VI as defineExporter,VO as defineExtension,WO as defineExtensionBlueprint,II as defineExtensionManifest,kI as defineFlag,zI as defineImporter,PI as defineItemField,vI as defineItemType,MI as defineMigration,JI as defineOnIndexHook,qI as defineOnReadHook,YI as defineOnWriteHook,GI as defineParserOverride,rn as definePmCommandOutputBudget,mO as definePmCommandOutputEnvelope,cO as definePmErrorCodeCatalog,$I as definePreflightOverride,NI as defineProjectProfile,HI as defineRendererOverride,LI as defineSearchProvider,UI as defineServiceOverride,DI as defineVectorStoreAdapter,Qe as defineWorkspaceRecipe,R_ as deleteItem,Bp as deleteWorkspaceSnapshot,ch as dependencyToRelationship,Fu as deps,ZA as deriveAssuranceProposals,YO as deriveExtensionCapabilities,lS as derivePmBulkMutationEffect,Yx as derivePmRecoveryReferenceObligations,za as deriveSchemaEvolutionMigrationId,nC as deriveTelemetryCommandResolution,Ty as describeAllowedTransitions,pE as describeExtensionActivation,qO as describeExtensionBlueprint,Qd as describeItemOwnershipConflict,Ue as describeProfileComposition,je as describeProjectProfile,OO as describeUnknownError,gr as detectAgentIdentity,Ar as detectHarnessIdentity,ra as detectRelationshipCommunities,Tr as diagnoseAgentIdentity,_a as diffRelationshipAuditSnapshots,wl as diffTestRunMeasurements,fh as discoverExtensions,vt as discoverNearbyPmRoot,Mm as discoverProjectRuntimeVersionPins,Du as docs,Nu as duplicates,ha as durableGraphCachePath,Aa as durableGraphCacheStatus,Yt as effectiveItemFormatVersion,CC as emitTelemetryErrorEvent,du as emptyImportedDocument,Gg as encodeQueryCursor,nT as encodeReadOutputContinuationCursor,QT as enforceHistoryStreamPolicyForItem,ey as enforceHistoryStreamPolicyForItems,sO as enrichCliFlagInvocationContract,We as enrichCliFlagInvocationContracts,DC as ensureMaterializedHistoryTarget,ks as ensurePmGitignore,ad as ensureScope,rC as ensureSentryInit,au as ensureTrackerInitialized,ea as enumerateRelationshipPaths,sn as estimatePmOutputTokens,UA as evaluateAssuranceAssertion,jA as evaluateAssuranceGate,ax as evaluateBoundaryFixtures,Ab as evaluateContextRanking,DE as evaluateDefectGateEvidence,$A as evaluateMeasurement,Mn as evaluateMutationGuard,El as evaluateProvenanceCoverage,yl as evaluateSemanticAttributionCoverage,Hc as evaluateSimilarityGovernance,gy as evaluateTransition,Hy as executeEmbeddingBatchesWithRetry,Wy as executeVectorDelete,Ky as executeVectorReset,Vy as executeVectorUpsert,Tm as executeWorkspaceRecipe,fd as expandAddGlobEntries,Od as explainSourceTraceability,v_ as extension,M_ as extensionActivate,L_ as extensionDeactivate,P_ as extensionList,Cf as extensionMigrate,vC as extractPatchFailureContext,Nd as extractReferencedPmItemIdsFromCommand,$m as federateRelationshipGraphSnapshots,Pu as files,Mu as filesDiscover,Lu as filesLookup,Em as findCoverageDeficits,Bc as findDuplicateClusters,Fa as findGitWorkspaceRoot,Xa as findInstalledNpmPackageCandidate,na as findRedundantRelationshipEdges,sa as findRelationshipCutStructure,jc as findSimilarItems,yC as finishTelemetryCommand,jf as flattenFlagListValue,ym as flushTelemetryQueue,I_ as focus,ta as forEachMatchedRelationshipEdge,pa as formatDuplicateEdgeGroup,Fs as formatHierarchyRelation,ca as formatOrderingStorageContradiction,OC as formatPmPositionalActionFlagTip,tl as formatProfileApplyHuman,el as formatProfileLintHuman,Zp as formatProfileListHuman,Qp as formatProfileShowHuman,Ka as formatSchemaEvolutionMigrationHuman,DS as formatVectorIndexRecoveryWarnings,u_ as gc,Sn as generateItemId,Ou as get,wh as getActiveCommandResult,xT as getActiveContextIntentContracts,jt as getActiveExtensionRegistrations,HA as getAssuranceDeclaration,Y_ as getContracts,yg as getFocusedItem,Lt as getHistoryPath,UC as getItemAt,Mt as getItemPath,Fn as getMutationActionContract,ws as getPmGitignoreBlock,Pt as getSettingsPath,X_ as getWorkspaceContracts,mn as getWorkspaceHistoryPath,Gu as graph,ga as graphAuditBaselinePath,Cl as groupHistoryByEpisode,jI as handleServiceOverride,ee as hasSubcommandFlagContractsForCommand,qy as hasVectorizationEmbeddingIdentityChanged,Jy as hasVectorizationVectorDimensionChanged,BT as hashDocument,HT as hashDocumentForVersion,zT as hashEmptyDocument,l_ as health,qs as hierarchyAncestors,Js as hierarchyDescendants,h_ as historyCompact,g_ as historyCompactBulk,EA as historyEntryMatchesProvenance,__ as historyRedact,m_ as historyRepair,f_ as historyRepairAll,VE as indexBlockedByIds,Gs as indexHierarchyRelations,Zy as inferConsistentVectorDimension,en as inferPmOutputBudgetClass,Uu as init,sA as inspectCompleteListResult,Na as inspectHistoryAuthorStream,Dm as inspectProjectRuntimeCompatibility,zn as inspectStaleInProgressItems,fn as inspectWorkspaceHistoryState,Fp as inspectWorkspaceSnapshot,Ha as installMergeFence,Ic as isAlreadyClaimedError,IO as isCommanderError,Xd as isErrnoError,nE as isExternalDependencySourceKind,Kf as isHostOutputSuppressed,Ln as isMutationAction,ah as isOrderingRelationshipKind,ny as isPlaceholderReferenceToken,Os as isPmCliExpectedError,Vr as isPmExtensionCapabilityContract,Kr as isPmExtensionPolicyModeContract,Xr as isPmExtensionPolicySurfaceContract,Wr as isPmExtensionServiceNameContract,dS as isPmKnownExitCode,gO as isPmMutationReceipt,aS as isPmSuccessfulExitCode,zr as isPmToolAction,Lm as isProjectMutatingInvocation,uC as isPureSnakeCaseAlias,ST as isReadOutputBudgetExceeded,vg as isReadRowContract,Ia as isRuntimeRecord,fC as isTerminalPlanMode,hg as isTerminalStatus,Et as isTimestampLiteral,$O as itemDocumentToMutationOptions,yS as itemHasSchedule,Gn as jaccardSimilarity,vu as learnings,Bf as levenshteinDistanceWithinLimit,Vd as limitAnnotationEntries,Md as linkedTestTrustFingerprint,JO as lintExtensionBlueprint,ze as lintProjectProfile,Eu as list,ur as listAgentProvenanceAdapters,sm as listAliasPluralKeys,bu as listAllComplete,vy as listAllDocumentCandidatesCached,kn as listAllItemMetadata,Py as listAllItemMetadataLight,BA as listAssuranceDeclarations,XA as listAssuranceVerdicts,_m as listBuiltinCorpusShapes,vO as listCoreClosedDomainContracts,ib as listGetProjectionFields,CE as listInvalidProvenanceHistoryStreamIds,nb as listListProjectionFields,bE as listMergeReceipts,Dn as listMutationActions,XS as listMutationEvents,ht as listPmCommandFlagBudgets,al as listPmCommandsForFamily,sl as listPmCommandsForTier,W as listPmFlagLexicon,SI as listPmFlagSpellingInventory,cl as listPmMcpToolsForProfile,mI as listPmRequiredArgumentRefusalContracts,fI as listPmSubcommandRefusalContracts,$e as listProfiles,TI as listTrackerPreflightRecoveryContracts,Gp as listWorkspaceSnapshots,_A as loadContextIntentRuntimeLayers,zp as loadCreateTemplateOptions,hh as loadExtensions,ba as loadGraphAuditBaseline,Gf as loadMutationCheckpoint,h as loadRelationshipGraphAdapter,Nn as locateItem,Jh as looksLikeGenericKeyValueEntry,Zg as mapReadOutputRows,SE as markMergeReceiptReconciled,fy as matchesRuntimeFilters,gC as maybeRunFirstUseTelemetryPrompt,hm as measureCorpusShapePlan,Xh as mergeAdditiveTags,XO as mergeExtensionBlueprints,GS as mergeHistoryStreams,BS as mergeItemDocuments,HS as mergeJsonDocuments,dm as mergeLinkedTestTwoTokenEntries,$S as mergeRelationshipEventStreams,bc as mergeSortedWarnings,mC as migrateItemFilesToFormat,Fy as mutateItem,Dy as mutateItemWithHistoryContext,Tn as mutateWorkspaceJsonWithHistory,Ru as next,mr as normalizeAgentProvenanceAdapterValue,zd as normalizeAnnotationTransportOptions,NA as normalizeAssuranceEvaluation,IA as normalizeAssuranceMutation,cm as normalizeBootstrapInvocation,dg as normalizeBulkIdsValue,Us as normalizeDependencyGraphTarget,iE as normalizeDependencySeedId,oE as normalizeDependencySourceKind,Dt as normalizeExtensionContributionInventory,yE as normalizeInvalidHistoryProvenance,AO as normalizeItemAddressInvocation,qt as normalizeItemFormatVersion,bn as normalizeItemId,er as normalizeItemMetadata,im as normalizeLegacyExtensionActionSyntax,md as normalizeLinkedPath,ry as normalizeParentReferenceValue,Fe as normalizeProfileName,En as normalizeRawItemId,CT as normalizeReadOutputIncludeModeOptions,XT as normalizeReplayPatchOps,$n as normalizeSimilarityText,fg as normalizeStatusForRegistry,Qt as normalizeStatusInput,lg as normalizeStatusInputWithRegistry,xO as normalizeThrownExitCode,ku as notes,At as nowIso,Ta as openDurableGraphCache,Zs as orderingPredecessors,Qs as orderingSuccessors,Rb as packContextCandidates,Tc as packRankedContextItems,V_ as packageActivate,z_ as packageCatalog,W_ as packageDeactivate,B_ as packageDescribe,U_ as packageDoctor,G_ as packageInstall,D_ as packageLifecycle,F_ as packageList,j_ as packageManage,Af as packageMigrate,H_ as packageReload,$_ as packageUninstall,Hg as paginateQueryRows,dd as parseAddEntries,cd as parseAddGlobEntries,Kd as parseAnnotationTextInput,DO as parseAtomicMutationControls,nm as parseBootstrapCommandName,em as parseBootstrapGlobalOptions,rm as parseBootstrapHelpRequest,pm as parseBootstrapTypeValue,ag as parseBulkIdsText,mc as parseContextDepth,pc as parseContextFocusFields,pA as parseContextIntentDeclarations,fc as parseContextSections,Lb as parseContextSignalSnapshot,qh as parseCsvKv,GE as parseDefectChangeRiskRequest,FE as parseDefectRecurrencePolicy,xp as parseEvalQuerySet,Ra as parseGraphSubcommand,CA as parseHistoryProvenanceFilters,fA as parseIntegerLimit,gg as parseItemDocument,FO as parseItemMutationBatch,uy as parseLimit,rp as parseLinkedTestAssertionEqualsMap,np as parseLinkedTestAssertionGteMap,qc as parseLinkedTestBoolean,Jc as parseLinkedTestContextMode,Yc as parseLinkedTestEnvClear,Xc as parseLinkedTestEnvSet,op as parseLinkedTestJsonEntries,tp as parseLinkedTestMinLines,ep as parseLinkedTestRegexList,Qc as parseLinkedTestStringList,Zc as parseLinkedTestWorkspaceContextMode,ld as parseMigrateEntries,qE as parseMultiValueFilter,TO as parseMutationReceipt,sg as parseOptionalNonNegativeInteger,ig as parseOptionalNumber,hA as parsePriority,QE as parsePriorityFilterSet,aT as parseReadOutputSession,Bh as parseRegisteredItemFieldAssignments,M as parseRelationshipGraphSnapshot,pd as parseRemoveEntries,Sd as parseSourceLineRange,dy as parseStatusFilterCsv,JE as parseStringFilterSet,zt as parseTags,Il as parseTestRunMeasurements,gA as parseType,ZE as parseTypeFilterSet,Pa as parseUnknownAuthorHistoryEventCoordinates,Jb as partitionDecisionEntries,JT as patchPathToChangedField,gt as pathExists,w_ as pauseTask,ya as persistDurableGraphResult,yy as persistSelectedItemFormat,SS as planAgentIdentityVocabularyMutation,jb as planCompletedAtBackfill,Ve as planProfileApplication,Vx as planRelationshipEventBackfill,Oa as planRelationshipRemediation,Va as planSchemaEvolutionMigration,ka as planUnknownAuthorHistoryAcknowledgment,$p as planWorkspaceSnapshotRestore,IC as positionalShapeKey,NC as positionalSignatureKey,tR as preflightExtension,jn as prepareSimilarityText,eg as preserveMutationStdinTokenFields,Qh as preserveMutationStdinTokenLiterals,$T as printError,GT as printResult,i_ as profile,d_ as profileApply,c_ as profileLint,s_ as profileList,a_ as profileShow,vh as projectAfterCommandItemSnapshot,lc as projectContextFocusRows,Rl as projectFleetAttributionAnalytics,AA as projectHistoryProvenance,dn as projectPmDiagnosticOutput,cn as projectPmDiagnosticText,Sl as projectProvenanceCoverageAnalytics,Gd as projectValidateCounts,eE as promoteAssuranceAssertion,_x as pruneCompileCacheGenerations,zA as putAssuranceDeclaration,VA as putAssuranceDeclarationBundle,Oy as queryItemMetadataIndex,Ry as queryLinkedFileMetadataIndex,xy as querySimilarItemMetadataIndex,Nl as queryTestRunMeasurementsBelow,Sr as quoteCommandArg,br as quoteWindowsCommandArg,kO as rankCommandPaths,Wd as readAnnotationEntries,yr as readAuthorEnvironment,Bl as readBooleanOption,kb as readContextUsageAffinity,Hl as readCsvListOption,Qa as readExtensionMigrationState,Tt as readFileIfExists,ro as readFirstStringFromCommanderOptions,no as readFirstValueFromCommanderOptions,Al as readHistoryAnalyticsWindow,Sg as readHistoryEntries,ml as readImprovementLedger,wy as readItemMetadataDerivedIndexState,wn as readLocatedItem,qg as readOutputBudgetCollections,rT as readOutputCollectionFingerprint,Yg as readOutputContinuationRowCollections,Kg as readOutputContinuationRowPaths,TT as readOutputIncludeModeOptions,Xg as readOutputRowCollections,Wg as readOutputRowPaths,pT as readOutputSessionRemainingTokens,we as readPmPackageManifest,q_ as readRequiredString,On as readSettings,Cy as readSettingsWithMetadata,oo as readStringArrayFromCommanderOptions,jl as readStringOption,RO as readThrownExitCode,Qy as readVectorizationStatusLedger,lA as readWorkspaceContextIntentContracts,$b as readWorkspaceContextSignals,zb as readWorkspaceMemory,Ut as reconcileExtensionCapabilityUsage,Cn as reconcileWorkspaceJsonHistory,kh as recordAfterCommandAffectedItem,KA as recordAssuranceVerdict,ic as recordClaimSemanticAttribution,Ib as recordContextUsageServing,Nb as recordContextUsageTouch,wb as recordContextUsageTouches,ac as recordFocusSemanticAttribution,_l as recordImprovementObservation,sc as recordReleaseSemanticAttribution,ky as refreshItemMetadataDerivedIndex,ja as refreshMergeAttributeFenceIfInstalled,tC as refreshSearchArtifactsForMutation,_r as registerAgentProvenanceAdapters,lr as registerHarnessSignalDescriptors,Og as registerOutputMaterialFieldGroups,S_ as release,WA as removeAssuranceDeclaration,Ct as removeFileIfExists,Ed as renameArtifactsResultKey,tc as renderCalendarMarkdown,rc as renderCalendarToon,Sc as renderContextMarkdown,Ja as renderExtensionDescribeMarkdown,Ya as renderExtensionSurfaceMarkdown,uu as renderGuideMarkdown,SO as renderMissingOptionRetry,Zb as renderNextMarkdown,PO as renderPmClosedDomainHelp,Or as renderPmCommand,Nr as renderPmCommandAliasMigrationHint,ul as renderPmCommandVisibilityMarkdown,RI as renderPmFlagLexiconMarkdown,nI as renderPmRefusalClosureCensusMarkdown,py as renderRowsAsCsv,ly as renderRowsAsTable,C_ as reopen,LC as replayHistoryToTarget,WT as replayToCanonicalItemDocument,VT as replayToItemDocument,tS as requireTerminalReason,rS as requireTerminalReasonWithRecovery,xh as resetActiveExtensionRuntimeState,Xs as resetWorkspaceGraphCache,ir as resolveAgentSessionContextFromSignals,Zd as resolveAnnotationIndex,Yd as resolveAnnotationInput,bg as resolveAuthor,Er as resolveAuthorIdentity,ty as resolveBodyFileContent,mm as resolveBuiltinCorpusShape,ec as resolveCalendarOutputFormat,pO as resolveCanonicalPmErrorCodeContract,sh as resolveCanonicalRelationshipKind,Eg as resolveClaimPrincipal,cg as resolveCliBulkIdsInput,rh as resolveCommandOptionPolicyState,ux as resolveCompileCacheGeneration,Ub as resolveCompletionTimestamp,qf as resolveConfiguredPmPackageRoot,ab as resolveContentFieldFilters,wT as resolveContextIntentContract,uc as resolveContextOutputFormat,_c as resolveContextTokenBudget,mS as resolveCreateExplicitEmptyFlag,Gy as resolveEmbeddingProviders,nd as resolveExtensionInstallSourceIdentity,Za as resolveExtensionMigrationStatePath,mh as resolveExtensionRoots,Uf as resolveFlagValueKind,pu as resolveGuideOutputFormat,fl as resolveHistoryEpisodeGroupIdentity,yA as resolveHistoryProvenanceDimensions,FC as resolveHistorySubject,PC as resolveHistoryTarget,kS as resolveHybridSemanticWeight,kt as resolveImplicitPmRoot,Lf as resolveIsoOrRelative,KE as resolveItemBlockers,GO as resolveItemMutationDocument,wt as resolveItemTypeRegistry,pg as resolveItemTypesFilePath,Fl as resolveLinkedTestFailureExitCode,wd as resolveLinkedTestSourceRef,kd as resolveLinkedTestSourceWorkspaceRoot,Ld as resolveLinkedTestTrust,Dd as resolveLinkedTestTrustBatch,Da as resolveMergeInstallContext,sb as resolveMissingMetadataFilters,bO as resolveMissingOptionPlaceholder,kg as resolveModePairedOutputOmissionReceipt,Yb as resolveNextOutputFormat,Mg as resolveOutputOmissionReceipt,Yf as resolvePmCliVersion,Ir as resolvePmCommandAlias,nl as resolvePmCommandCapabilityFamily,cS as resolvePmCommandExitContract,on as resolvePmCommandOutputBudget,hO as resolvePmCommandOutputEnvelope,bC as resolvePmCommandPositionalContract,il as resolvePmCommandVisibilityTier,an as resolvePmDiagnosticOutputBudget,lO as resolvePmErrorCodeContract,hf as resolvePmFlagSemanticConcept,Xf as resolvePmPackageRootFromModule,SC as resolvePmPositionalActionContract,ps as resolvePmPositionalActionFlagContracts,X as resolvePmRoot,_s as resolvePmToolCustomFieldCollision,sy as resolvePriority,Ge as resolveProfile,$a as resolveProjectMergeTypeFolders,Bg as resolveQueryCursorStart,AT as resolveReadOutputDimensions,OT as resolveReadOutputEncoding,eT as resolveReadOutputRecoveryBudget,hT as resolveReadOutputSurface,Pg as resolveReadRowContract,EO as resolveRecoveryCommandName,zh as resolveRegisteredSearchProvider,Vh as resolveRegisteredVectorStoreAdapter,Kn as resolveReproducibleProcessEnvironment,Wt as resolveRuntimeFieldRegistry,Vt as resolveRuntimeStatusRegistry,$y as resolveSearchCorpusFields,NS as resolveSearchMaxResults,IS as resolveSearchPage,wS as resolveSearchScoreThreshold,vS as resolveSearchTuning,jy as resolveSemanticCorpusCharacterLimit,oc as resolveSemanticLineageIds,Ey as resolveSettingsWithSemanticRuntimeDefaults,_E as resolveSourceContextWritePolicy,rl as resolveStartTaskInProgressStatus,k as resolveSubcommandFlagContractsForCommand,Nf as resolveTelemetryErrorCategory,eS as resolveTerminalReason,th as resolveTypeDefinition,eh as resolveTypeName,cy as resolveTypeSynonym,hy as resolveTypeWorkflows,va as resolveUnknownAuthorAcknowledgmentSelector,LS as resolveVectorIndexRecovery,zy as resolveVectorStores,Ms as resolveWorkspaceRelationshipKindRegistry,x_ as restore,$f as restoreCheckpointItems,An as restoreWorkspaceJsonFromHistory,jp as restoreWorkspaceSnapshot,Up as restoreWorkspaceSnapshotWithRecovery,Z_ as runAction,Lh as runActiveBeforeMutationHooks,Fh as runActiveCommandHandler,Dh as runActiveOnIndexHooks,Ht as runActiveOnReadHooks,Bt as runActiveOnWriteHooks,Gh as runActiveParserOverride,$h as runActivePreflightOverride,Uh as runActiveServiceOverride,Ps as runActivity,_h as runAfterCommandHooks,Bd as runAggregate,Jd as runAnnotationCommand,Hd as runAppend,jE as runAssuranceAction,BE as runAssuranceDispatch,uh as runBeforeCommandHooks,nc as runCalendar,Nc as runClaim,wc as runClaimNext,Pc as runClose,Lc as runCloseMany,Dc as runComments,_u as runCompletion,hp as runConfig,Pe as runContext,Sb as runContextEvaluationCorpus,Eb as runContextEvaluationScenario,lp as runCopy,ip as runCreate,up as runDelete,Ys as runDeps,bd as runDocs,yO as runDuplicates,wp as runEval,vp as runEvent,od as runExtension,rd as runExtensionMigrateAction,td as runExtensionMigrations,Rd as runFiles,Id as runFilesDiscover,xd as runFilesLookup,Ol as runFleetAttributionAnalytics,_p as runFocus,fp as runGc,mp as runGet,xa as runGraph,lu as runGuide,id as runHealth,uS as runHistory,tO as runHistoryCompact,oO as runHistoryCompactBulk,GC as runHistoryRedact,xE as runHistoryRepair,NE as runHistoryRepairAll,bp as runInit,Cp as runInitAgentGuidance,Fc as runLearnings,Ad as runLinkedArtifacts,Gl as runLinkedTests,jd as runList,kp as runMeet,VS as runMergeDriver,Ba as runMergeInstall,OE as runMergeReceiptReport,WS as runMergeReconcile,xc as runNext,Gc as runNotes,pp as runPlan,Jp as runProfileApply,qp as runProfileLint,Xp as runProfileList,Yp as runProfileShow,bl as runProvenanceCoverageAnalytics,oR as runRegisteredCommandForTest,cR as runRegisteredCommandOverrideForTest,hR as runRegisteredExporterForTest,sR as runRegisteredHookForTest,fR as runRegisteredImporterForTest,mR as runRegisteredMigrationForTest,iR as runRegisteredMutationGuardForTest,aR as runRegisteredParserOverrideForTest,dR as runRegisteredPreflightOverrideForTest,pR as runRegisteredRendererOverrideForTest,uR as runRegisteredSearchProviderForTest,lR as runRegisteredServiceOverrideForTest,_R as runRegisteredVectorStoreAdapterForTest,Ke as runReindex,kc as runRelease,Pp as runRemind,iO as runReopen,Mc as runRestore,Wa as runSchemaEvolutionMigration,Ip as runSearch,gm as runSearchRefreshWorkerEntrypoint,mu as runStartBackgroundRun,kl as runStats,Pl as runTelemetry,Wp as runTemplatesList,Vp as runTemplatesSave,Kp as runTemplatesShow,$l as runTest,Ul as runTestAll,fu as runTestRunsList,gu as runTestRunsLogs,yu as runTestRunsResume,hu as runTestRunsStatus,Tu as runTestRunsStop,Cu as runTestRunsWorker,sp as runUpdate,ap as runUpdateMany,Me as runUpgrade,Ud as runValidate,J_ as runWithActiveExtensions,sr as runWithAgentSessionContext,IT as runWithContextIntentContracts,mA as runWithDiscoveredContextIntentContracts,fr as runWithHarnessDetectionSignals,Yn as runWithReproducibleProcessEnvironment,hr as runWithWorkspaceHarnessSignalDescriptors,et as runWithWorkspaceRecipe,ES as runWorkspaceTransactionGc,Sa as saveGraphAuditBaseline,aE as scanExtensionHostVersions,wa as scanHistoryAuthorAttribution,Zt as scanItemFormatVersions,Pn as scanMutationSecrets,AE as scanProvenanceResolverHealth,Vn as scanStaleInProgressItems,wE as scanStorageIntegrity,Bu as schema,Yu as schemaAddField,Ku as schemaAddStatus,Vu as schemaAddType,Qu as schemaApplyPreset,e_ as schemaInferTypes,Hu as schemaList,Ju as schemaListFields,n_ as schemaRemapStatus,qu as schemaRemoveField,Xu as schemaRemoveStatus,Wu as schemaRemoveType,r_ as schemaRenameField,t_ as schemaRenameType,zu as schemaShow,Zu as schemaShowField,o_ as schemaShowStatus,wO as scoreCommandPathMatch,Tb as scoreContextCandidates,yb as scoreContextCandidatesWithActiveExtensions,Bn as scoreItemSimilarity,hI as scorePmGrammarRefusalClosure,sI as scorePmRefusalClosure,Hn as scorePreparedItemSimilarity,yI as scoreTrackerPreflightRecoveryClosure,Su as search,Kb as searchWorkspaceMemory,Xb as searchWorkspaceMemoryReadResult,Dg as selectCursorSemanticOptions,su as selectImportAuthor,Wb as selectWorkspaceMemory,Vb as selectWorkspaceMemoryRollups,cc as semanticAttributionAffinity,aC as sentryCaptureCliError,sC as sentryFinishCommandSpan,cC as sentryFlush,dC as sentryLogCliUsageError,oC as sentrySetCommandContext,iC as sentryStartCommandSpan,rr as serializeItemDocument,MO as serializeNdjsonRows,LO as serializeNdjsonStream,Ih as setActiveCommandContext,Nh as setActiveCommandResult,Ah as setActiveExtensionCommands,Ch as setActiveExtensionHooks,Eh as setActiveExtensionParsers,bh as setActiveExtensionPreflight,Rh as setActiveExtensionRegistrations,Oh as setActiveExtensionRenderers,Sh as setActiveExtensionServices,Cg as setFocusedItem,hC as shouldCompletePlanOnClose,Ea as shouldPersistDurableGraphCache,ng as shouldResolveMutationStdinTokenField,rg as shouldResolveMutationStdinTokens,Sy as shouldRunSearchRefreshInForeground,Uc as similarityAdvisoryWarnings,Vg as sliceReadOutputRowCollection,Td as sortLinkedArtifacts,Wh as splitAcceptanceCriteria,_C as splitCommaList,tr as splitFrontMatter,ET as stabilizeReadOutputReceiptEstimates,F as stableStringify,lh as stableValueEquals,N_ as startTask,TC as startTelemetryCommand,Iu as stats,ug as statusIsTerminal,tm as stripGlobalBootstrapTokens,YS as subscribeMutationEventBatches,qS as subscribeMutationEvents,bS as summarizeAgentIdentityVocabulary,gl as summarizeAgentModelProvenance,Tl as summarizeAgentProvenance,bb as summarizeContextEvaluationReports,Ml as summarizeContextPreflight,SA as summarizeHistoryProvenance,Ap as summarizeInitResult,EE as summarizeMergeReceipt,fS as supportsCreateExplicitEmpty,CO as supportsItemIdAlias,Wf as suppressHostOutput,z as syncRelationshipGraphAdapter,ZO as synthesizeExtensionManifest,ls as toCompletionFlagString,Ec as toContextFocusItem,yc as toContextPackingSummary,Cc as toContextRankingSummary,kf as toErrorMessage,Vl as toEstimatedMinutesValue,eA as toExtensionFlagDefinitions,ql as toImportBoolean,eu as toImportConfidence,Yl as toImportInteger,ou as toImportLinkedDocs,nu as toImportLinkedFiles,iu as toImportLinkedTests,ru as toImportLogEntries,tu as toImportNormalizedEnum,Ql as toImportNumberMap,Wl as toImportPriority,Xl as toImportStatus,Jl as toImportStringList,Zl as toImportStringMap,Kl as toImportTags,Tg as toItemRecord,zl as toNonEmptyImportString,wf as toNonEmptyStringOrUndefined,KT as toReplayDocument,Un as tokenizeSimilarityText,tg as transferMutationStdinTokenPolicy,QS as translateHostEnvironmentFault,y_ as update,K_ as upgrade,p_ as validate,LA as validateAssertionDefinition,FA as validateAssuranceDocument,DA as validateGateDefinition,UO as validateItemMutationRows,Cd as validateLinkedPaths,MA as validateMeasurementDefinition,oy as validateMissingParentReference,gT as validateReadOutputOptions,ay as validateSprintOrReleaseValue,nh as validateTypeOptions,aO as verifyCliFlagInvocationParity,xC as verifyExplicitPositionalSlotCensus,qT as verifyHistoryChain,YT as verifyHistoryChainWithVersion,$C as verifyHistoryEntries,kC as verifyPmCliGrammar,wC as verifyPmCommandPositionalContracts,OI as verifyPmFlagLexicon,Zx as verifyPmRecoveryKindRuntimeCoverage,af as verifyPmRecoveryProducerRuntimeCoverage,Jx as verifyPmRecoveryReferences,tI as verifyPmRefusalClosureIdentityRatchet,eI as verifyPmRefusalClosureRatchet,qx as verifyPmRefusalReachability,uo as verifyToolOptionCliParity,wo as withFlagAliasMetadata,eO as withHostEnvironmentBoundary,Ks as workspaceGraphCache,qd as wrapOwnershipConflict,NO as wrapThrownErrorForSentry,Cr as writeAuthorEnvironment,yt as writeFileAtomic,Ff as writeMutationCheckpoint,Ay as writeSettings,FT as writeStdout,eC as writeVectorizationStatusLedger,yn as writeWorkspaceJsonWithHistory};
7
7
  //# sourceMappingURL=sdk.js.map