@unbrained/pm-cli 2026.6.24 → 2026.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -0
- package/CHANGELOG.md +113 -1
- package/CONTRIBUTING.md +30 -0
- package/README.md +16 -3
- package/dist/cli/bootstrap-args.js +89 -79
- package/dist/cli/bootstrap-args.js.map +1 -1
- package/dist/cli/commander-usage.js +3 -3
- package/dist/cli/commander-usage.js.map +1 -1
- package/dist/cli/commands/aggregate.js +8 -7
- package/dist/cli/commands/aggregate.js.map +1 -1
- package/dist/cli/commands/calendar.js +63 -62
- package/dist/cli/commands/calendar.js.map +1 -1
- package/dist/cli/commands/close.d.ts +2 -4
- package/dist/cli/commands/close.js +5 -17
- package/dist/cli/commands/close.js.map +1 -1
- package/dist/cli/commands/completion.js +158 -9
- package/dist/cli/commands/completion.js.map +1 -1
- package/dist/cli/commands/config.d.ts +1 -1
- package/dist/cli/commands/config.js +2 -2
- package/dist/cli/commands/config.js.map +1 -1
- package/dist/cli/commands/context.d.ts +31 -4
- package/dist/cli/commands/context.js +33 -10
- package/dist/cli/commands/context.js.map +1 -1
- package/dist/cli/commands/contracts.js +48 -8
- package/dist/cli/commands/contracts.js.map +1 -1
- package/dist/cli/commands/create.d.ts +1 -6
- package/dist/cli/commands/create.js +491 -587
- package/dist/cli/commands/create.js.map +1 -1
- package/dist/cli/commands/extension/bundled-catalog.js +59 -46
- package/dist/cli/commands/extension/bundled-catalog.js.map +1 -1
- package/dist/cli/commands/extension/describe.d.ts +15 -0
- package/dist/cli/commands/extension/describe.js +48 -2
- package/dist/cli/commands/extension/describe.js.map +1 -1
- package/dist/cli/commands/extension/doctor.js +129 -75
- package/dist/cli/commands/extension/doctor.js.map +1 -1
- package/dist/cli/commands/extension/install-sources.js +37 -7
- package/dist/cli/commands/extension/install-sources.js.map +1 -1
- package/dist/cli/commands/extension/managed-state.js +101 -57
- package/dist/cli/commands/extension/managed-state.js.map +1 -1
- package/dist/cli/commands/extension/scaffold.d.ts +38 -8
- package/dist/cli/commands/extension/scaffold.js +1956 -242
- package/dist/cli/commands/extension/scaffold.js.map +1 -1
- package/dist/cli/commands/extension.d.ts +28 -3
- package/dist/cli/commands/extension.js +1181 -880
- package/dist/cli/commands/extension.js.map +1 -1
- package/dist/cli/commands/index.d.ts +3 -1
- package/dist/cli/commands/index.js +5 -3
- package/dist/cli/commands/index.js.map +1 -1
- package/dist/cli/commands/item-filter-options.d.ts +63 -0
- package/dist/cli/commands/item-filter-options.js +10 -0
- package/dist/cli/commands/item-filter-options.js.map +1 -0
- package/dist/cli/commands/legacy-none-tokens.d.ts +14 -0
- package/dist/cli/commands/legacy-none-tokens.js +31 -2
- package/dist/cli/commands/legacy-none-tokens.js.map +1 -1
- package/dist/cli/commands/linked-artifacts.d.ts +7 -0
- package/dist/cli/commands/linked-artifacts.js +12 -2
- package/dist/cli/commands/linked-artifacts.js.map +1 -1
- package/dist/cli/commands/list-filter-shared.js +55 -48
- package/dist/cli/commands/list-filter-shared.js.map +1 -1
- package/dist/cli/commands/list.d.ts +16 -39
- package/dist/cli/commands/list.js +127 -118
- package/dist/cli/commands/list.js.map +1 -1
- package/dist/cli/commands/next.d.ts +98 -0
- package/dist/cli/commands/next.js +304 -0
- package/dist/cli/commands/next.js.map +1 -0
- package/dist/cli/commands/profile.d.ts +208 -0
- package/dist/cli/commands/profile.js +418 -0
- package/dist/cli/commands/profile.js.map +1 -0
- package/dist/cli/commands/repeatable-metadata-parsers.js +12 -13
- package/dist/cli/commands/repeatable-metadata-parsers.js.map +1 -1
- package/dist/cli/commands/schema.d.ts +7 -0
- package/dist/cli/commands/schema.js +9 -3
- package/dist/cli/commands/schema.js.map +1 -1
- package/dist/cli/commands/search.d.ts +2 -39
- package/dist/cli/commands/search.js +196 -172
- package/dist/cli/commands/search.js.map +1 -1
- package/dist/cli/commands/shared-unset-fields.d.ts +30 -0
- package/dist/cli/commands/shared-unset-fields.js +161 -0
- package/dist/cli/commands/shared-unset-fields.js.map +1 -0
- package/dist/cli/commands/stats.js +15 -3
- package/dist/cli/commands/stats.js.map +1 -1
- package/dist/cli/commands/test.js +115 -125
- package/dist/cli/commands/test.js.map +1 -1
- package/dist/cli/commands/update.d.ts +1 -6
- package/dist/cli/commands/update.js +37 -232
- package/dist/cli/commands/update.js.map +1 -1
- package/dist/cli/commands/validate.js +20 -5
- package/dist/cli/commands/validate.js.map +1 -1
- package/dist/cli/extension-command-options.js +48 -21
- package/dist/cli/extension-command-options.js.map +1 -1
- package/dist/cli/help-content.js +26 -2
- package/dist/cli/help-content.js.map +1 -1
- package/dist/cli/help-json-payload.js +3 -3
- package/dist/cli/help-json-payload.js.map +1 -1
- package/dist/cli/main.js +27 -12
- package/dist/cli/main.js.map +1 -1
- package/dist/cli/register-list-query.js +42 -3
- package/dist/cli/register-list-query.js.map +1 -1
- package/dist/cli/register-mutation.js +86 -2
- package/dist/cli/register-mutation.js.map +1 -1
- package/dist/cli/register-setup.js +67 -6
- package/dist/cli/register-setup.js.map +1 -1
- package/dist/cli/registration-helpers.d.ts +9 -1
- package/dist/cli/registration-helpers.js +149 -123
- package/dist/cli/registration-helpers.js.map +1 -1
- package/dist/cli-bundle/chunks/activity-AW6XVFH6.js +16 -0
- package/dist/cli-bundle/chunks/{activity-N7RVTLBQ.js → activity-DBLQVIP6.js} +9 -11
- package/dist/cli-bundle/chunks/{aggregate-63NWNIBR.js → aggregate-JTEF4BP7.js} +17 -18
- package/dist/cli-bundle/chunks/aggregate-JTEF4BP7.js.map +1 -0
- package/dist/cli-bundle/chunks/{aggregate-YHCYX2EV.js → aggregate-SDF7DUOD.js} +16 -17
- package/dist/cli-bundle/chunks/aggregate-SDF7DUOD.js.map +7 -0
- package/dist/cli-bundle/chunks/{append-VLQQDHMJ.js → append-LOVPGVPT.js} +8 -10
- package/dist/cli-bundle/chunks/{append-VLQQDHMJ.js.map → append-LOVPGVPT.js.map} +1 -1
- package/dist/cli-bundle/chunks/{append-PUKREFV5.js → append-QCFJSDFL.js} +10 -12
- package/dist/cli-bundle/chunks/{append-PUKREFV5.js.map → append-QCFJSDFL.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-ABYCA5VX.js → chunk-22WKIL3H.js} +9 -11
- package/dist/cli-bundle/chunks/{chunk-ABYCA5VX.js.map → chunk-22WKIL3H.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-A66VYUOV.js → chunk-2466X6E4.js} +9 -11
- package/dist/cli-bundle/chunks/{chunk-A66VYUOV.js.map → chunk-2466X6E4.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-F32L4HR6.js → chunk-27BXPBAY.js} +3 -3
- package/dist/cli-bundle/chunks/{schema-QO5I4FBL.js → chunk-2D4HATP2.js} +136 -66
- package/dist/cli-bundle/chunks/chunk-2D4HATP2.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-J7I4C5ZB.js → chunk-3J6JRJ3I.js} +153 -125
- package/dist/cli-bundle/chunks/chunk-3J6JRJ3I.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OHDQNKJB.js → chunk-3K2M5OYU.js} +106 -34
- package/dist/cli-bundle/chunks/chunk-3K2M5OYU.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-XVYKWZNL.js → chunk-3S2KT7NG.js} +127 -127
- package/dist/cli-bundle/chunks/chunk-3S2KT7NG.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-5BBEWX6C.js → chunk-3VGN2UWE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-N5B6WZC5.js → chunk-3XZCOZ5J.js} +115 -123
- package/dist/cli-bundle/chunks/chunk-3XZCOZ5J.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-4A3BJ675.js +799 -0
- package/dist/cli-bundle/chunks/chunk-4A3BJ675.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-4BU75MF4.js +87 -0
- package/dist/cli-bundle/chunks/chunk-4BU75MF4.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-HZF5RLKX.js → chunk-4DSGXSBL.js} +5 -7
- package/dist/cli-bundle/chunks/{chunk-HZF5RLKX.js.map → chunk-4DSGXSBL.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-JV27C7OZ.js → chunk-4DUVCVLZ.js} +4 -6
- package/dist/cli-bundle/chunks/{chunk-JV27C7OZ.js.map → chunk-4DUVCVLZ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-IAP5KYBQ.js → chunk-4XOIEKSD.js} +563 -506
- package/dist/cli-bundle/chunks/chunk-4XOIEKSD.js.map +1 -0
- package/dist/cli-bundle/chunks/{context-5LB7UGKE.js → chunk-55SNVXRQ.js} +79 -82
- package/dist/cli-bundle/chunks/chunk-55SNVXRQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-BFFO3AIB.js → chunk-5CGRF3L5.js} +128 -128
- package/dist/cli-bundle/chunks/chunk-5CGRF3L5.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-JKL6HRMV.js → chunk-5QFDBI4F.js} +1260 -1046
- package/dist/cli-bundle/chunks/chunk-5QFDBI4F.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-LU36E6GU.js → chunk-64HNBBFQ.js} +8 -12
- package/dist/cli-bundle/chunks/{chunk-LU36E6GU.js.map → chunk-64HNBBFQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-6AQZPVHQ.js +2444 -0
- package/dist/cli-bundle/chunks/chunk-6AQZPVHQ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-7M2HAZEB.js +17 -0
- package/dist/cli-bundle/chunks/chunk-7M2HAZEB.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-VSAABFGQ.js → chunk-7R4QEMZZ.js} +1490 -734
- package/dist/cli-bundle/chunks/chunk-7R4QEMZZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-M6TUBOGW.js → chunk-A7FPBAQS.js} +19 -12
- package/dist/cli-bundle/chunks/chunk-A7FPBAQS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-GQYJEEFX.js → chunk-AVEE5EHK.js} +53 -54
- package/dist/cli-bundle/chunks/chunk-AVEE5EHK.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-FMWW2JDU.js → chunk-AXIDKKAT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TIM4OD74.js → chunk-BDTISOSD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-C4C3EJCJ.js → chunk-BHO33VBQ.js} +509 -363
- package/dist/cli-bundle/chunks/chunk-BHO33VBQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-6W3Y65PL.js → chunk-BZCEN4JA.js} +198 -177
- package/dist/cli-bundle/chunks/chunk-BZCEN4JA.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-RRP6D345.js → chunk-CF7RL6FR.js} +12 -16
- package/dist/cli-bundle/chunks/{chunk-RRP6D345.js.map → chunk-CF7RL6FR.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-HC2S36NB.js → chunk-CWFNTKQJ.js} +154 -126
- package/dist/cli-bundle/chunks/chunk-CWFNTKQJ.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-CZVISY5A.js +87 -0
- package/dist/cli-bundle/chunks/chunk-CZVISY5A.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-CZIFFMZI.js → chunk-DDPTYJIM.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AYPQUFCX.js → chunk-EJUDVUYZ.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-EOGBMLCE.js → chunk-EVMTBV6V.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-RAWA3Y7O.js → chunk-FFMQB7WR.js} +199 -178
- package/dist/cli-bundle/chunks/chunk-FFMQB7WR.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-CG3KP6I5.js → chunk-G7I7DEZA.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-MEXZ5XUM.js → chunk-GJ326ZKX.js} +53 -54
- package/dist/cli-bundle/chunks/chunk-GJ326ZKX.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-HPPFYYOV.js +119 -0
- package/dist/cli-bundle/chunks/chunk-HPPFYYOV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-OF7V47P3.js → chunk-HXTQJXWT.js} +2172 -2146
- package/dist/cli-bundle/chunks/chunk-HXTQJXWT.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-F4BNR2IN.js → chunk-HYTGA6GI.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-2WCYE3IF.js → chunk-HZZEHPRG.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-IBMFIKVS.js +14 -0
- package/dist/cli-bundle/chunks/chunk-IBMFIKVS.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-YV2OSAMS.js → chunk-IJYK2T43.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4XDGYFHL.js → chunk-IPYBJWTE.js} +10 -14
- package/dist/cli-bundle/chunks/{chunk-4XDGYFHL.js.map → chunk-IPYBJWTE.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-6EBNFQOR.js → chunk-IZBR4NRW.js} +10 -14
- package/dist/cli-bundle/chunks/{chunk-6EBNFQOR.js.map → chunk-IZBR4NRW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-VFJYVXHL.js → chunk-JLM7BHI7.js} +7 -9
- package/dist/cli-bundle/chunks/{chunk-VFJYVXHL.js.map → chunk-JLM7BHI7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-6EL7SW5C.js → chunk-JMP4E6D7.js} +114 -122
- package/dist/cli-bundle/chunks/chunk-JMP4E6D7.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-QOUOMPHO.js → chunk-JPECA746.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KJZOSF7J.js → chunk-JSU5P7VS.js} +100 -35
- package/dist/cli-bundle/chunks/chunk-JSU5P7VS.js.map +1 -0
- package/dist/cli-bundle/chunks/{context-55VEOYI3.js → chunk-JWXRETDF.js} +79 -82
- package/dist/cli-bundle/chunks/chunk-JWXRETDF.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-OQ2E64FH.js → chunk-KNPEF7QG.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-3BKH2CL3.js → chunk-L5OEFZQG.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-DTABLLVE.js → chunk-LB6TP6MC.js} +5 -7
- package/dist/cli-bundle/chunks/{chunk-DTABLLVE.js.map → chunk-LB6TP6MC.js.map} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TSI32UEL.js → chunk-MAUKX7JC.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-TSI32UEL.js.map → chunk-MAUKX7JC.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-SMXSDY7J.js → chunk-MDPEOIGN.js} +2221 -2172
- package/dist/cli-bundle/chunks/chunk-MDPEOIGN.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-5S4ZGDB2.js → chunk-N74UMG5H.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IXAZI443.js → chunk-NFDPYAIP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SKC4UTRP.js → chunk-NKZAN7BD.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-NOLPZMSV.js +116 -0
- package/dist/cli-bundle/chunks/chunk-NOLPZMSV.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-L7UXKP2I.js → chunk-NU2UEROZ.js} +1257 -1029
- package/dist/cli-bundle/chunks/chunk-NU2UEROZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-HBAEFWX3.js → chunk-NUHHPVVS.js} +65 -335
- package/dist/cli-bundle/chunks/chunk-NUHHPVVS.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-JPJDP4VU.js → chunk-NWMZWYYB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-MWMHZOZZ.js → chunk-OGXLACHC.js} +10 -14
- package/dist/cli-bundle/chunks/{chunk-MWMHZOZZ.js.map → chunk-OGXLACHC.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-OKQ22KTH.js +379 -0
- package/dist/cli-bundle/chunks/chunk-OKQ22KTH.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KKX4Z2SE.js → chunk-OTUHB4HS.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-ZLWRPBOW.js → chunk-QCWF6IYD.js} +510 -364
- package/dist/cli-bundle/chunks/chunk-QCWF6IYD.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-PRVTGX64.js → chunk-RGEMWD6Q.js} +11 -23
- package/dist/cli-bundle/chunks/chunk-RGEMWD6Q.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-RH5ZBYFD.js +809 -0
- package/dist/cli-bundle/chunks/chunk-RH5ZBYFD.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-ALQKV6U7.js → chunk-RLDHZHQS.js} +12 -16
- package/dist/cli-bundle/chunks/{chunk-ALQKV6U7.js.map → chunk-RLDHZHQS.js.map} +1 -1
- package/dist/cli-bundle/chunks/{schema-C6QA367T.js → chunk-RMMQ74TG.js} +144 -67
- package/dist/cli-bundle/chunks/chunk-RMMQ74TG.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-EYPINTFR.js → chunk-RVUALSJF.js} +1516 -753
- package/dist/cli-bundle/chunks/chunk-RVUALSJF.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-SDR5J34Q.js +2468 -0
- package/dist/cli-bundle/chunks/chunk-SDR5J34Q.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-WB5BYQMF.js → chunk-SLMUGTK3.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-SUREE24M.js → chunk-TP5Q5ZD3.js} +12 -24
- package/dist/cli-bundle/chunks/chunk-TP5Q5ZD3.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-UACWNBL2.js → chunk-UYUYDGIB.js} +7 -9
- package/dist/cli-bundle/chunks/{chunk-UACWNBL2.js.map → chunk-UYUYDGIB.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-V4UYNSEM.js → chunk-UZIWVBE6.js} +6 -8
- package/dist/cli-bundle/chunks/{chunk-V4UYNSEM.js.map → chunk-UZIWVBE6.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-EWRSXOIZ.js → chunk-V3NOKJF2.js} +11 -13
- package/dist/cli-bundle/chunks/{chunk-EWRSXOIZ.js.map → chunk-V3NOKJF2.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-XXKV4UWE.js → chunk-VARHOHYV.js} +571 -507
- package/dist/cli-bundle/chunks/chunk-VARHOHYV.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-AEACLRVH.js → chunk-VICZWYGZ.js} +18 -11
- package/dist/cli-bundle/chunks/chunk-VICZWYGZ.js.map +7 -0
- package/dist/cli-bundle/chunks/chunk-VY3VQ22F.js +84 -0
- package/dist/cli-bundle/chunks/chunk-VY3VQ22F.js.map +1 -0
- package/dist/cli-bundle/chunks/chunk-VZDBVEZR.js +382 -0
- package/dist/cli-bundle/chunks/chunk-VZDBVEZR.js.map +7 -0
- package/dist/cli-bundle/chunks/{chunk-GDUMGZK3.js → chunk-W4ULYO7Z.js} +11 -13
- package/dist/cli-bundle/chunks/{chunk-GDUMGZK3.js.map → chunk-W4ULYO7Z.js.map} +1 -1
- package/dist/cli-bundle/chunks/{chunk-I6QMJ2XT.js → chunk-WYDHYJPO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ALKFCIIB.js → chunk-YITK2PJ6.js} +9 -11
- package/dist/cli-bundle/chunks/{chunk-ALKFCIIB.js.map → chunk-YITK2PJ6.js.map} +1 -1
- package/dist/cli-bundle/chunks/chunk-YJIEJRZB.js +84 -0
- package/dist/cli-bundle/chunks/chunk-YJIEJRZB.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-LNEDHJNQ.js → chunk-ZETXE4SE.js} +66 -329
- package/dist/cli-bundle/chunks/chunk-ZETXE4SE.js.map +1 -0
- package/dist/cli-bundle/chunks/{chunk-KIEAK7YE.js → chunk-ZRP4VG5U.js} +2 -2
- package/dist/cli-bundle/chunks/{claim-FZZZCAY6.js → claim-EMQLYPRW.js} +10 -12
- package/dist/cli-bundle/chunks/{claim-FZZZCAY6.js.map → claim-EMQLYPRW.js.map} +1 -1
- package/dist/cli-bundle/chunks/{claim-XK5QBZE3.js → claim-T3GCKV7C.js} +8 -10
- package/dist/cli-bundle/chunks/{claim-XK5QBZE3.js.map → claim-T3GCKV7C.js.map} +1 -1
- package/dist/cli-bundle/chunks/close-E6ZZGCJY.js +14 -0
- package/dist/cli-bundle/chunks/{close-QHMVWM7M.js → close-TQYAAFJP.js} +7 -8
- package/dist/cli-bundle/chunks/{close-many-OIXJE2JZ.js → close-many-BG5QQIDQ.js} +16 -18
- package/dist/cli-bundle/chunks/{close-many-OIXJE2JZ.js.map → close-many-BG5QQIDQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{close-many-SUU5BS2C.js → close-many-LDRVEQY2.js} +18 -20
- package/dist/cli-bundle/chunks/{close-many-SUU5BS2C.js.map → close-many-LDRVEQY2.js.map} +1 -1
- package/dist/cli-bundle/chunks/{comments-5YM62D75.js → comments-QCKR2YY2.js} +11 -13
- package/dist/cli-bundle/chunks/{comments-5YM62D75.js.map → comments-QCKR2YY2.js.map} +1 -1
- package/dist/cli-bundle/chunks/{comments-RH3IBIRH.js → comments-YUXJRZPQ.js} +9 -11
- package/dist/cli-bundle/chunks/{comments-RH3IBIRH.js.map → comments-YUXJRZPQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{config-NCNNWF6R.js → config-DMSU64QO.js} +18 -387
- package/dist/cli-bundle/chunks/config-DMSU64QO.js.map +7 -0
- package/dist/cli-bundle/chunks/{config-SW3U7XP2.js → config-QH2DICD6.js} +18 -380
- package/dist/cli-bundle/chunks/config-QH2DICD6.js.map +1 -0
- package/dist/cli-bundle/chunks/context-B6275WPX.js +46 -0
- package/dist/cli-bundle/chunks/context-OCZ3FJ4Z.js +42 -0
- package/dist/cli-bundle/chunks/{contracts-SY6PDFIK.js → contracts-HN7ABKLP.js} +72 -15
- package/dist/cli-bundle/chunks/contracts-HN7ABKLP.js.map +7 -0
- package/dist/cli-bundle/chunks/{contracts-JXFGBOYT.js → contracts-W4FZVVD6.js} +72 -15
- package/dist/cli-bundle/chunks/contracts-W4FZVVD6.js.map +1 -0
- package/dist/cli-bundle/chunks/{copy-N3GE6FYS.js → copy-BTJOSKKT.js} +7 -11
- package/dist/cli-bundle/chunks/{copy-N3GE6FYS.js.map → copy-BTJOSKKT.js.map} +1 -1
- package/dist/cli-bundle/chunks/{copy-IEDBJOOX.js → copy-DEM4DATS.js} +9 -13
- package/dist/cli-bundle/chunks/{copy-IEDBJOOX.js.map → copy-DEM4DATS.js.map} +1 -1
- package/dist/cli-bundle/chunks/create-OH3BDGBB.js +28 -0
- package/dist/cli-bundle/chunks/{create-O4VONGPG.js → create-RLRJMRTM.js} +12 -14
- package/dist/cli-bundle/chunks/{delete-LPEIF7RU.js → delete-BHK7VB2Z.js} +5 -7
- package/dist/cli-bundle/chunks/{delete-LPEIF7RU.js.map → delete-BHK7VB2Z.js.map} +1 -1
- package/dist/cli-bundle/chunks/{delete-724EQ6OS.js → delete-LSVHAB4Y.js} +7 -9
- package/dist/cli-bundle/chunks/{delete-724EQ6OS.js.map → delete-LSVHAB4Y.js.map} +1 -1
- package/dist/cli-bundle/chunks/{deps-RSBU4SIU.js → deps-4UDFJRUA.js} +8 -11
- package/dist/cli-bundle/chunks/{deps-RSBU4SIU.js.map → deps-4UDFJRUA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{deps-T3Y6Y7RT.js → deps-XHYXWEPT.js} +6 -9
- package/dist/cli-bundle/chunks/{deps-T3Y6Y7RT.js.map → deps-XHYXWEPT.js.map} +1 -1
- package/dist/cli-bundle/chunks/{docs-IFS7HZPP.js → docs-26S44RXU.js} +8 -9
- package/dist/cli-bundle/chunks/{docs-IFS7HZPP.js.map → docs-26S44RXU.js.map} +1 -1
- package/dist/cli-bundle/chunks/{docs-75ZLCO3G.js → docs-GYZNVS26.js} +10 -11
- package/dist/cli-bundle/chunks/{docs-75ZLCO3G.js.map → docs-GYZNVS26.js.map} +1 -1
- package/dist/cli-bundle/chunks/{eval-L2KD7W3M.js → eval-PGRVIJQU.js} +12 -14
- package/dist/cli-bundle/chunks/{eval-L2KD7W3M.js.map → eval-PGRVIJQU.js.map} +1 -1
- package/dist/cli-bundle/chunks/{eval-QGR7JCQO.js → eval-UYF3ZPVO.js} +10 -12
- package/dist/cli-bundle/chunks/{eval-QGR7JCQO.js.map → eval-UYF3ZPVO.js.map} +1 -1
- package/dist/cli-bundle/chunks/{extension-YQF4CPIR.js → extension-CPSLJQVE.js} +12 -7
- package/dist/cli-bundle/chunks/{extension-3JYWJ5K2.js → extension-CXJ6RELI.js} +12 -7
- package/dist/cli-bundle/chunks/{files-EPEJMJHQ.js → files-MBNICQFM.js} +9 -11
- package/dist/cli-bundle/chunks/{files-EPEJMJHQ.js.map → files-MBNICQFM.js.map} +1 -1
- package/dist/cli-bundle/chunks/{files-5BQWDRDT.js → files-NQHEXUZD.js} +11 -13
- package/dist/cli-bundle/chunks/{files-5BQWDRDT.js.map → files-NQHEXUZD.js.map} +1 -1
- package/dist/cli-bundle/chunks/{focus-RWGKD76E.js → focus-DWYIG7GU.js} +10 -14
- package/dist/cli-bundle/chunks/{focus-RWGKD76E.js.map → focus-DWYIG7GU.js.map} +1 -1
- package/dist/cli-bundle/chunks/{focus-DQVJAPOE.js → focus-XZW5423D.js} +8 -12
- package/dist/cli-bundle/chunks/{focus-DQVJAPOE.js.map → focus-XZW5423D.js.map} +1 -1
- package/dist/cli-bundle/chunks/{gc-BEJMQT64.js → gc-7GQYOS2G.js} +3 -3
- package/dist/cli-bundle/chunks/{gc-JEFQDJPA.js → gc-LPVMKJQJ.js} +3 -3
- package/dist/cli-bundle/chunks/{get-LQG6PEVG.js → get-A7MAOHCU.js} +10 -13
- package/dist/cli-bundle/chunks/{get-LQG6PEVG.js.map → get-A7MAOHCU.js.map} +1 -1
- package/dist/cli-bundle/chunks/{get-WVN75H42.js → get-DSDEKJ3L.js} +12 -15
- package/dist/cli-bundle/chunks/{get-WVN75H42.js.map → get-DSDEKJ3L.js.map} +1 -1
- package/dist/cli-bundle/chunks/{health-JJJOY7DJ.js → health-3IPFLKXB.js} +17 -17
- package/dist/cli-bundle/chunks/{health-P67NZ6TT.js → health-GZXGBZ36.js} +17 -17
- package/dist/cli-bundle/chunks/{history-RUKPKNY7.js → history-NERDJNUB.js} +8 -10
- package/dist/cli-bundle/chunks/history-WSZHY3PN.js +18 -0
- package/dist/cli-bundle/chunks/{history-compact-NQ7VPRVT.js → history-compact-2WRZ2WK4.js} +11 -14
- package/dist/cli-bundle/chunks/{history-compact-NQ7VPRVT.js.map → history-compact-2WRZ2WK4.js.map} +1 -1
- package/dist/cli-bundle/chunks/{history-compact-ZAOWR7GD.js → history-compact-HR7BB4LR.js} +13 -16
- package/dist/cli-bundle/chunks/{history-compact-ZAOWR7GD.js.map → history-compact-HR7BB4LR.js.map} +1 -1
- package/dist/cli-bundle/chunks/history-redact-MP6CH7U5.js +19 -0
- package/dist/cli-bundle/chunks/{history-redact-YY4XYVEP.js → history-redact-O3NBCNWC.js} +9 -11
- package/dist/cli-bundle/chunks/{history-repair-EHL4ODQY.js → history-repair-LCMOS45X.js} +11 -14
- package/dist/cli-bundle/chunks/{history-repair-EHL4ODQY.js.map → history-repair-LCMOS45X.js.map} +1 -1
- package/dist/cli-bundle/chunks/{history-repair-YSQH6SY6.js → history-repair-XA3LC4GA.js} +13 -16
- package/dist/cli-bundle/chunks/{history-repair-YSQH6SY6.js.map → history-repair-XA3LC4GA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{init-HBFGYS66.js → init-64XDLQJB.js} +12 -11
- package/dist/cli-bundle/chunks/init-PAX32BJA.js +22 -0
- package/dist/cli-bundle/chunks/{learnings-KFQO7GEZ.js → learnings-JR6MA5TI.js} +9 -11
- package/dist/cli-bundle/chunks/{learnings-KFQO7GEZ.js.map → learnings-JR6MA5TI.js.map} +1 -1
- package/dist/cli-bundle/chunks/{learnings-J555ZFPD.js → learnings-LPKCSJX7.js} +11 -13
- package/dist/cli-bundle/chunks/{learnings-J555ZFPD.js.map → learnings-LPKCSJX7.js.map} +1 -1
- package/dist/cli-bundle/chunks/{list-C7R33MD5.js → list-DNBJVO3E.js} +10 -10
- package/dist/cli-bundle/chunks/{list-DSN6UNFB.js → list-G5Y65VF6.js} +10 -10
- package/dist/cli-bundle/chunks/next-BCERKDUR.js +277 -0
- package/dist/cli-bundle/chunks/next-BCERKDUR.js.map +7 -0
- package/dist/cli-bundle/chunks/next-FYTQF6HG.js +274 -0
- package/dist/cli-bundle/chunks/next-FYTQF6HG.js.map +1 -0
- package/dist/cli-bundle/chunks/{notes-V4VNIQL4.js → notes-2BMU3VVQ.js} +9 -11
- package/dist/cli-bundle/chunks/{notes-V4VNIQL4.js.map → notes-2BMU3VVQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{notes-VYJFN2A3.js → notes-6KTGO2OJ.js} +11 -13
- package/dist/cli-bundle/chunks/{notes-VYJFN2A3.js.map → notes-6KTGO2OJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{plan-RBHQ5PO7.js → plan-4WXEQCTN.js} +15 -18
- package/dist/cli-bundle/chunks/{plan-RBHQ5PO7.js.map → plan-4WXEQCTN.js.map} +1 -1
- package/dist/cli-bundle/chunks/{plan-DHRSVSHR.js → plan-RKZHQVXR.js} +17 -20
- package/dist/cli-bundle/chunks/{plan-DHRSVSHR.js.map → plan-RKZHQVXR.js.map} +1 -1
- package/dist/cli-bundle/chunks/profile-4OMM32CD.js +1235 -0
- package/dist/cli-bundle/chunks/profile-4OMM32CD.js.map +7 -0
- package/dist/cli-bundle/chunks/profile-QLER5ENE.js +1197 -0
- package/dist/cli-bundle/chunks/profile-QLER5ENE.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-OM3E2KMY.js → register-list-query-7LV46VAU.js} +45 -21
- package/dist/cli-bundle/chunks/register-list-query-7LV46VAU.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-list-query-CCMHGZTF.js → register-list-query-SNG5PGA4.js} +44 -20
- package/dist/cli-bundle/chunks/register-list-query-SNG5PGA4.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-mutation-N3CDEGZU.js → register-mutation-ENNDUAZG.js} +106 -40
- package/dist/cli-bundle/chunks/register-mutation-ENNDUAZG.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-mutation-UXTTWL6N.js → register-mutation-KK7PHYYU.js} +105 -39
- package/dist/cli-bundle/chunks/register-mutation-KK7PHYYU.js.map +7 -0
- package/dist/cli-bundle/chunks/{register-operations-UDIFMQKD.js → register-operations-C6OWLDSH.js} +32 -34
- package/dist/cli-bundle/chunks/{register-operations-UDIFMQKD.js.map → register-operations-C6OWLDSH.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-operations-R2FLOCRI.js → register-operations-HZ6XERQG.js} +30 -32
- package/dist/cli-bundle/chunks/{register-operations-R2FLOCRI.js.map → register-operations-HZ6XERQG.js.map} +1 -1
- package/dist/cli-bundle/chunks/{register-setup-G5LTSFYK.js → register-setup-P67EMBDJ.js} +68 -25
- package/dist/cli-bundle/chunks/register-setup-P67EMBDJ.js.map +1 -0
- package/dist/cli-bundle/chunks/{register-setup-TWHKICM2.js → register-setup-ZKJ53RS7.js} +67 -24
- package/dist/cli-bundle/chunks/register-setup-ZKJ53RS7.js.map +7 -0
- package/dist/cli-bundle/chunks/{restore-LL2WLEDG.js → restore-4MHZFJ2E.js} +9 -11
- package/dist/cli-bundle/chunks/restore-YALDGTQR.js +17 -0
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-M4H2ZI64.js → scheduling-shortcuts-LB6DOLRL.js} +14 -16
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-M4H2ZI64.js.map → scheduling-shortcuts-LB6DOLRL.js.map} +1 -1
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-255GI3BU.js → scheduling-shortcuts-UTOYKLXQ.js} +12 -14
- package/dist/cli-bundle/chunks/{scheduling-shortcuts-255GI3BU.js.map → scheduling-shortcuts-UTOYKLXQ.js.map} +1 -1
- package/dist/cli-bundle/chunks/schema-73HR2OJW.js +75 -0
- package/dist/cli-bundle/chunks/schema-U6LJKSIR.js +71 -0
- package/dist/cli-bundle/chunks/{search-2EI6EAXH.js → search-AXPXKZER.js} +10 -12
- package/dist/cli-bundle/chunks/{search-QBFBLQRO.js → search-KILGT37L.js} +10 -12
- package/dist/cli-bundle/chunks/{stats-TKC6CAKB.js → stats-PSYVVTNZ.js} +21 -13
- package/dist/cli-bundle/chunks/stats-PSYVVTNZ.js.map +1 -0
- package/dist/cli-bundle/chunks/{stats-TCW2SZQG.js → stats-W5KNVJWQ.js} +20 -12
- package/dist/cli-bundle/chunks/stats-W5KNVJWQ.js.map +7 -0
- package/dist/cli-bundle/chunks/{telemetry-BT2VSWU2.js → telemetry-BZUF6H7G.js} +4 -4
- package/dist/cli-bundle/chunks/{telemetry-LQ6FRTUT.js → telemetry-GAHHQTOS.js} +4 -4
- package/dist/cli-bundle/chunks/test-ACD52Z3S.js +35 -0
- package/dist/cli-bundle/chunks/test-ACD52Z3S.js.map +7 -0
- package/dist/cli-bundle/chunks/{test-NV2DRPUS.js → test-PWDIZ255.js} +15 -16
- package/dist/cli-bundle/chunks/test-PWDIZ255.js.map +1 -0
- package/dist/cli-bundle/chunks/{test-all-DZ76VTPQ.js → test-all-L2MDDUCA.js} +20 -22
- package/dist/cli-bundle/chunks/{test-all-DZ76VTPQ.js.map → test-all-L2MDDUCA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-all-REW67LXT.js → test-all-RBZ6DLU2.js} +18 -20
- package/dist/cli-bundle/chunks/{test-all-REW67LXT.js.map → test-all-RBZ6DLU2.js.map} +1 -1
- package/dist/cli-bundle/chunks/{test-runs-PX73DMMI.js → test-runs-PLRAZEFW.js} +5 -6
- package/dist/cli-bundle/chunks/test-runs-PLRAZEFW.js.map +7 -0
- package/dist/cli-bundle/chunks/{test-runs-FQ5WNQLP.js → test-runs-UXIXPDKU.js} +6 -7
- package/dist/cli-bundle/chunks/test-runs-UXIXPDKU.js.map +1 -0
- package/dist/cli-bundle/chunks/update-AMRSOIWP.js +24 -0
- package/dist/cli-bundle/chunks/update-AMRSOIWP.js.map +7 -0
- package/dist/cli-bundle/chunks/update-KFX2SIAC.js +28 -0
- package/dist/cli-bundle/chunks/update-KFX2SIAC.js.map +1 -0
- package/dist/cli-bundle/chunks/{update-many-Q5ZEI64S.js → update-many-RNSBX2TA.js} +35 -36
- package/dist/cli-bundle/chunks/{update-many-Q5ZEI64S.js.map → update-many-RNSBX2TA.js.map} +1 -1
- package/dist/cli-bundle/chunks/{update-many-2ILP6E4Y.js → update-many-Z5GJS5LC.js} +33 -34
- package/dist/cli-bundle/chunks/{update-many-2ILP6E4Y.js.map → update-many-Z5GJS5LC.js.map} +1 -1
- package/dist/cli-bundle/chunks/{upgrade-FOZKQTQF.js → upgrade-BRL6KCOJ.js} +13 -8
- package/dist/cli-bundle/chunks/{upgrade-FOZKQTQF.js.map → upgrade-BRL6KCOJ.js.map} +1 -1
- package/dist/cli-bundle/chunks/{upgrade-DHL74PQH.js → upgrade-HAK6JG2O.js} +11 -6
- package/dist/cli-bundle/chunks/{upgrade-DHL74PQH.js.map → upgrade-HAK6JG2O.js.map} +1 -1
- package/dist/cli-bundle/chunks/{validate-HYZNIB6W.js → validate-MTUVL5VC.js} +38 -28
- package/dist/cli-bundle/chunks/validate-MTUVL5VC.js.map +7 -0
- package/dist/cli-bundle/chunks/{validate-54SYJ7QW.js → validate-X5W76YJL.js} +39 -29
- package/dist/cli-bundle/chunks/validate-X5W76YJL.js.map +1 -0
- package/dist/cli-bundle/main.js +95 -724
- package/dist/cli-bundle/main.js.map +4 -4
- package/dist/core/config/positional-value.d.ts +2 -0
- package/dist/core/config/positional-value.js +2 -2
- package/dist/core/config/positional-value.js.map +1 -1
- package/dist/core/extensions/activation-summary-markdown.d.ts +71 -0
- package/dist/core/extensions/activation-summary-markdown.js +151 -0
- package/dist/core/extensions/activation-summary-markdown.js.map +1 -0
- package/dist/core/extensions/activation-summary.d.ts +2 -0
- package/dist/core/extensions/activation-summary.js +3 -2
- package/dist/core/extensions/activation-summary.js.map +1 -1
- package/dist/core/extensions/capability-usage.d.ts +1 -1
- package/dist/core/extensions/capability-usage.js +4 -3
- package/dist/core/extensions/capability-usage.js.map +1 -1
- package/dist/core/extensions/extension-policy.d.ts +18 -3
- package/dist/core/extensions/extension-policy.js +116 -106
- package/dist/core/extensions/extension-policy.js.map +1 -1
- package/dist/core/extensions/extension-registries.js +3 -2
- package/dist/core/extensions/extension-registries.js.map +1 -1
- package/dist/core/extensions/extension-types.d.ts +21 -1
- package/dist/core/extensions/extension-types.js +3 -2
- package/dist/core/extensions/extension-types.js.map +1 -1
- package/dist/core/extensions/loader.js +439 -232
- package/dist/core/extensions/loader.js.map +1 -1
- package/dist/core/fs/fs-utils.js +27 -2
- package/dist/core/fs/fs-utils.js.map +1 -1
- package/dist/core/item/actionability.d.ts +57 -0
- package/dist/core/item/actionability.js +178 -0
- package/dist/core/item/actionability.js.map +1 -0
- package/dist/core/item/item-format.js +523 -410
- package/dist/core/item/item-format.js.map +1 -1
- package/dist/core/item/type-registry.js +18 -45
- package/dist/core/item/type-registry.js.map +1 -1
- package/dist/core/profile/profile-describe.d.ts +64 -0
- package/dist/core/profile/profile-describe.js +83 -0
- package/dist/core/profile/profile-describe.js.map +1 -0
- package/dist/core/profile/profile-lint.d.ts +53 -0
- package/dist/core/profile/profile-lint.js +422 -0
- package/dist/core/profile/profile-lint.js.map +1 -0
- package/dist/core/profile/profile-plan.d.ts +145 -0
- package/dist/core/profile/profile-plan.js +0 -0
- package/dist/core/profile/profile-plan.js.map +1 -0
- package/dist/core/profile/profile-presets.d.ts +218 -0
- package/dist/core/profile/profile-presets.js +325 -0
- package/dist/core/profile/profile-presets.js.map +1 -0
- package/dist/core/schema/fields-file.js +25 -25
- package/dist/core/schema/fields-file.js.map +1 -1
- package/dist/core/schema/item-types-file.js +3 -3
- package/dist/core/schema/item-types-file.js.map +1 -1
- package/dist/core/schema/runtime-schema.js +4 -4
- package/dist/core/schema/runtime-schema.js.map +1 -1
- package/dist/core/schema/status-defs-file.js +3 -3
- package/dist/core/schema/status-defs-file.js.map +1 -1
- package/dist/core/shared/serialization.js +83 -62
- package/dist/core/shared/serialization.js.map +1 -1
- package/dist/core/store/item-store.d.ts +1 -0
- package/dist/core/store/item-store.js +16 -8
- package/dist/core/store/item-store.js.map +1 -1
- package/dist/core/store/paths.js +4 -32
- package/dist/core/store/paths.js.map +1 -1
- package/dist/core/store/settings.js +14 -14
- package/dist/core/store/settings.js.map +1 -1
- package/dist/core/telemetry/observability.js +50 -54
- package/dist/core/telemetry/observability.js.map +1 -1
- package/dist/core/telemetry/runtime.js +11 -2
- package/dist/core/telemetry/runtime.js.map +1 -1
- package/dist/core/test/background-runs.js +3 -2
- package/dist/core/test/background-runs.js.map +1 -1
- package/dist/core/validate/linked-artifact-reference.d.ts +24 -0
- package/dist/core/validate/linked-artifact-reference.js +41 -0
- package/dist/core/validate/linked-artifact-reference.js.map +1 -0
- package/dist/mcp/server.js +540 -420
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tool-definitions.js +33 -2
- package/dist/mcp/tool-definitions.js.map +1 -1
- package/dist/sdk/cli-contracts/commander-types.d.ts +1 -0
- package/dist/sdk/cli-contracts/commander-types.js +15 -2
- package/dist/sdk/cli-contracts/commander-types.js.map +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.d.ts +3 -3
- package/dist/sdk/cli-contracts/enum-contracts.js +6 -2
- package/dist/sdk/cli-contracts/enum-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +149 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +1514 -0
- package/dist/sdk/cli-contracts/flag-contracts.js.map +1 -0
- package/dist/sdk/cli-contracts/string-lists.d.ts +14 -0
- package/dist/sdk/cli-contracts/string-lists.js +20 -0
- package/dist/sdk/cli-contracts/string-lists.js.map +1 -0
- package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +51 -109
- package/dist/sdk/cli-contracts/tool-option-contracts.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.d.ts +17 -0
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +54 -5
- package/dist/sdk/cli-contracts/tool-parameter-tables.js.map +1 -1
- package/dist/sdk/cli-contracts/tool-schema.d.ts +74 -0
- package/dist/sdk/cli-contracts/tool-schema.js +871 -0
- package/dist/sdk/cli-contracts/tool-schema.js.map +1 -0
- package/dist/sdk/cli-contracts.d.ts +13 -193
- package/dist/sdk/cli-contracts.js +5 -2277
- package/dist/sdk/cli-contracts.js.map +1 -1
- package/dist/sdk/compose.d.ts +11 -5
- package/dist/sdk/compose.js +240 -124
- package/dist/sdk/compose.js.map +1 -1
- package/dist/sdk/define.d.ts +14 -0
- package/dist/sdk/define.js +17 -2
- package/dist/sdk/define.js.map +1 -1
- package/dist/sdk/index.d.ts +14 -3
- package/dist/sdk/index.js +14 -3
- package/dist/sdk/index.js.map +1 -1
- package/dist/sdk/testing.d.ts +82 -2
- package/dist/sdk/testing.js +74 -3
- package/dist/sdk/testing.js.map +1 -1
- package/docs/AGENT_GUIDE.md +2 -0
- package/docs/CLAUDE_CODE_PLUGIN.md +2 -2
- package/docs/COMMANDS.md +37 -0
- package/docs/EXTENSIONS.md +12 -13
- package/docs/RELEASING.md +8 -4
- package/docs/SDK.md +184 -17
- package/docs/TESTING.md +12 -0
- package/docs/examples/policy-restricted-extension/README.md +6 -0
- package/docs/examples/policy-restricted-extension/index.ts +40 -0
- package/docs/examples/policy-restricted-extension/manifest.json +2 -2
- package/docs/examples/starter-extension/README.md +14 -2
- package/docs/examples/starter-extension/{index.js → index.ts} +51 -6
- package/docs/examples/starter-extension/manifest.json +2 -2
- package/package.json +20 -7
- package/packages/pm-beads/extensions/beads/index.ts +3 -3
- package/packages/pm-beads/extensions/beads/manifest.json +2 -2
- package/packages/pm-beads/extensions/beads/runtime-loader.ts +19 -7
- package/packages/pm-beads/extensions/beads/runtime.ts +155 -37
- package/packages/pm-calendar/extensions/calendar/index.ts +3 -3
- package/packages/pm-calendar/extensions/calendar/manifest.json +2 -2
- package/packages/pm-calendar/extensions/calendar/runtime.ts +2 -2
- package/packages/pm-command-kit/extensions/command-kit/index.ts +1 -1
- package/packages/pm-command-kit/extensions/command-kit/manifest.json +2 -2
- package/packages/pm-governance-audit/extensions/governance-audit/index.ts +2 -2
- package/packages/pm-governance-audit/extensions/governance-audit/manifest.json +2 -2
- package/packages/pm-governance-audit/extensions/governance-audit/runtime.ts +1 -1
- package/packages/pm-guide-shell/extensions/guide-shell/index.ts +2 -2
- package/packages/pm-guide-shell/extensions/guide-shell/manifest.json +2 -2
- package/packages/pm-guide-shell/extensions/guide-shell/runtime.ts +1 -1
- package/packages/pm-kanban/README.md +97 -0
- package/packages/pm-kanban/extensions/kanban/index.ts +191 -0
- package/packages/pm-kanban/extensions/kanban/manifest.json +19 -0
- package/packages/pm-kanban/package.json +57 -0
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/index.ts +1 -1
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/manifest.json +2 -2
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/index.ts +2 -2
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/manifest.json +2 -2
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/runtime.ts +1 -1
- package/packages/pm-search-advanced/extensions/search-advanced/index.ts +2 -2
- package/packages/pm-search-advanced/extensions/search-advanced/manifest.json +2 -2
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.ts +1 -1
- package/packages/pm-templates/extensions/templates/index.ts +2 -2
- package/packages/pm-templates/extensions/templates/manifest.json +2 -2
- package/packages/pm-templates/extensions/templates/runtime.ts +1 -1
- package/packages/pm-todos/extensions/todos/index.ts +3 -3
- package/packages/pm-todos/extensions/todos/manifest.json +2 -2
- package/packages/pm-todos/extensions/todos/runtime-loader.ts +19 -7
- package/packages/pm-todos/extensions/todos/runtime.ts +177 -43
- package/plugins/pm-claude/scripts/pm-mcp-server.mjs +2 -2
- package/plugins/pm-codex/scripts/pm-mcp-server.mjs +2 -2
- package/scripts/bundle-cli.mjs +1 -1
- package/dist/cli-bundle/chunks/activity-54TXGJ2T.js +0 -18
- package/dist/cli-bundle/chunks/aggregate-63NWNIBR.js.map +0 -1
- package/dist/cli-bundle/chunks/aggregate-YHCYX2EV.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6EL7SW5C.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-6W3Y65PL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-AEACLRVH.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-B74BP6IS.js +0 -78
- package/dist/cli-bundle/chunks/chunk-B74BP6IS.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-BFFO3AIB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-C4C3EJCJ.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-EYPINTFR.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-FBLT6WGK.js +0 -75
- package/dist/cli-bundle/chunks/chunk-FBLT6WGK.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-GQYJEEFX.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-HBAEFWX3.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-HC2S36NB.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-IAP5KYBQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-INPHFO33.js +0 -764
- package/dist/cli-bundle/chunks/chunk-INPHFO33.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-IOT6WRL5.js +0 -86
- package/dist/cli-bundle/chunks/chunk-IOT6WRL5.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ISEKN64V.js +0 -35
- package/dist/cli-bundle/chunks/chunk-ISEKN64V.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-J3NMWFIN.js +0 -115
- package/dist/cli-bundle/chunks/chunk-J3NMWFIN.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-J7I4C5ZB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-JKL6HRMV.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-KJZOSF7J.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-L7UXKP2I.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-LNEDHJNQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-M6TUBOGW.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-MEXZ5XUM.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-N5B6WZC5.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-NJ73ALW2.js +0 -761
- package/dist/cli-bundle/chunks/chunk-NJ73ALW2.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-NVXGVEFD.js +0 -83
- package/dist/cli-bundle/chunks/chunk-NVXGVEFD.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-OF7V47P3.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-OHDQNKJB.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PEL2NLQE.js +0 -118
- package/dist/cli-bundle/chunks/chunk-PEL2NLQE.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-PRVTGX64.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-RAWA3Y7O.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-SMXSDY7J.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-SUREE24M.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-TKPP4GOO.js +0 -654
- package/dist/cli-bundle/chunks/chunk-TKPP4GOO.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-VSAABFGQ.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-W2VMLL5S.js +0 -32
- package/dist/cli-bundle/chunks/chunk-W2VMLL5S.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-XVYKWZNL.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-XXKV4UWE.js.map +0 -7
- package/dist/cli-bundle/chunks/chunk-ZLWRPBOW.js.map +0 -1
- package/dist/cli-bundle/chunks/chunk-ZV7IQ23N.js +0 -657
- package/dist/cli-bundle/chunks/chunk-ZV7IQ23N.js.map +0 -7
- package/dist/cli-bundle/chunks/close-JEBZXONN.js +0 -15
- package/dist/cli-bundle/chunks/config-NCNNWF6R.js.map +0 -7
- package/dist/cli-bundle/chunks/config-SW3U7XP2.js.map +0 -1
- package/dist/cli-bundle/chunks/context-55VEOYI3.js.map +0 -1
- package/dist/cli-bundle/chunks/context-5LB7UGKE.js.map +0 -7
- package/dist/cli-bundle/chunks/contracts-JXFGBOYT.js.map +0 -1
- package/dist/cli-bundle/chunks/contracts-SY6PDFIK.js.map +0 -7
- package/dist/cli-bundle/chunks/create-CLSCHGJJ.js +0 -30
- package/dist/cli-bundle/chunks/history-ALTM2RRP.js +0 -20
- package/dist/cli-bundle/chunks/history-redact-5YGLWUDH.js +0 -21
- package/dist/cli-bundle/chunks/init-C4CRHW22.js +0 -21
- package/dist/cli-bundle/chunks/register-list-query-CCMHGZTF.js.map +0 -7
- package/dist/cli-bundle/chunks/register-list-query-OM3E2KMY.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-N3CDEGZU.js.map +0 -1
- package/dist/cli-bundle/chunks/register-mutation-UXTTWL6N.js.map +0 -7
- package/dist/cli-bundle/chunks/register-setup-G5LTSFYK.js.map +0 -1
- package/dist/cli-bundle/chunks/register-setup-TWHKICM2.js.map +0 -7
- package/dist/cli-bundle/chunks/restore-LQHXBAY5.js +0 -19
- package/dist/cli-bundle/chunks/schema-C6QA367T.js.map +0 -7
- package/dist/cli-bundle/chunks/schema-QO5I4FBL.js.map +0 -1
- package/dist/cli-bundle/chunks/stats-TCW2SZQG.js.map +0 -7
- package/dist/cli-bundle/chunks/stats-TKC6CAKB.js.map +0 -1
- package/dist/cli-bundle/chunks/test-WA6RZGM2.js +0 -36
- package/dist/cli-bundle/chunks/test-runs-FQ5WNQLP.js.map +0 -1
- package/dist/cli-bundle/chunks/test-runs-PX73DMMI.js.map +0 -7
- package/dist/cli-bundle/chunks/update-BSKMQOYH.js +0 -28
- package/dist/cli-bundle/chunks/update-FIGYNQ2I.js +0 -24
- package/dist/cli-bundle/chunks/validate-54SYJ7QW.js.map +0 -1
- package/dist/cli-bundle/chunks/validate-HYZNIB6W.js.map +0 -7
- package/docs/examples/policy-restricted-extension/index.js +0 -21
- package/packages/pm-beads/extensions/beads/index.js +0 -64
- package/packages/pm-beads/extensions/beads/runtime-loader.js +0 -86
- package/packages/pm-beads/extensions/beads/runtime.js +0 -482
- package/packages/pm-calendar/extensions/calendar/index.js +0 -150
- package/packages/pm-calendar/extensions/calendar/runtime.js +0 -126
- package/packages/pm-command-kit/extensions/command-kit/index.js +0 -181
- package/packages/pm-governance-audit/extensions/governance-audit/index.js +0 -177
- package/packages/pm-governance-audit/extensions/governance-audit/runtime.js +0 -153
- package/packages/pm-guide-shell/extensions/guide-shell/index.js +0 -98
- package/packages/pm-guide-shell/extensions/guide-shell/runtime.js +0 -294
- package/packages/pm-lifecycle-hooks/extensions/lifecycle-hooks/index.js +0 -18
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/index.js +0 -124
- package/packages/pm-linked-test-adapters/extensions/linked-test-adapters/runtime.js +0 -110
- package/packages/pm-search-advanced/extensions/search-advanced/index.js +0 -258
- package/packages/pm-search-advanced/extensions/search-advanced/runtime.js +0 -361
- package/packages/pm-templates/extensions/templates/index.js +0 -132
- package/packages/pm-templates/extensions/templates/runtime.js +0 -35
- package/packages/pm-todos/extensions/todos/index.js +0 -81
- package/packages/pm-todos/extensions/todos/runtime-loader.js +0 -86
- package/packages/pm-todos/extensions/todos/runtime.js +0 -545
- /package/dist/cli-bundle/chunks/{activity-54TXGJ2T.js.map → activity-AW6XVFH6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{activity-N7RVTLBQ.js.map → activity-DBLQVIP6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F32L4HR6.js.map → chunk-27BXPBAY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5BBEWX6C.js.map → chunk-3VGN2UWE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-FMWW2JDU.js.map → chunk-AXIDKKAT.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-TIM4OD74.js.map → chunk-BDTISOSD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CZIFFMZI.js.map → chunk-DDPTYJIM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-AYPQUFCX.js.map → chunk-EJUDVUYZ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-EOGBMLCE.js.map → chunk-EVMTBV6V.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-CG3KP6I5.js.map → chunk-G7I7DEZA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-F4BNR2IN.js.map → chunk-HYTGA6GI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-2WCYE3IF.js.map → chunk-HZZEHPRG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-YV2OSAMS.js.map → chunk-IJYK2T43.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-QOUOMPHO.js.map → chunk-JPECA746.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-OQ2E64FH.js.map → chunk-KNPEF7QG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-3BKH2CL3.js.map → chunk-L5OEFZQG.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-5S4ZGDB2.js.map → chunk-N74UMG5H.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-IXAZI443.js.map → chunk-NFDPYAIP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-SKC4UTRP.js.map → chunk-NKZAN7BD.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-JPJDP4VU.js.map → chunk-NWMZWYYB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KKX4Z2SE.js.map → chunk-OTUHB4HS.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-WB5BYQMF.js.map → chunk-SLMUGTK3.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-I6QMJ2XT.js.map → chunk-WYDHYJPO.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{chunk-KIEAK7YE.js.map → chunk-ZRP4VG5U.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-JEBZXONN.js.map → close-E6ZZGCJY.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{close-QHMVWM7M.js.map → close-TQYAAFJP.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-O4VONGPG.js.map → context-B6275WPX.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{create-CLSCHGJJ.js.map → context-OCZ3FJ4Z.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-YQF4CPIR.js.map → create-OH3BDGBB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{extension-3JYWJ5K2.js.map → create-RLRJMRTM.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-ALTM2RRP.js.map → extension-CPSLJQVE.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-RUKPKNY7.js.map → extension-CXJ6RELI.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-BEJMQT64.js.map → gc-7GQYOS2G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{gc-JEFQDJPA.js.map → gc-LPVMKJQJ.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{health-JJJOY7DJ.js.map → health-3IPFLKXB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{health-P67NZ6TT.js.map → health-GZXGBZ36.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-YY4XYVEP.js.map → history-NERDJNUB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{history-redact-5YGLWUDH.js.map → history-WSZHY3PN.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-C4CRHW22.js.map → history-redact-MP6CH7U5.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{init-HBFGYS66.js.map → history-redact-O3NBCNWC.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-C7R33MD5.js.map → init-64XDLQJB.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{list-DSN6UNFB.js.map → init-PAX32BJA.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-LL2WLEDG.js.map → list-DNBJVO3E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{restore-LQHXBAY5.js.map → list-G5Y65VF6.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-2EI6EAXH.js.map → restore-4MHZFJ2E.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{search-QBFBLQRO.js.map → restore-YALDGTQR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-NV2DRPUS.js.map → schema-73HR2OJW.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{test-WA6RZGM2.js.map → schema-U6LJKSIR.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-BSKMQOYH.js.map → search-AXPXKZER.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{update-FIGYNQ2I.js.map → search-KILGT37L.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-BT2VSWU2.js.map → telemetry-BZUF6H7G.js.map} +0 -0
- /package/dist/cli-bundle/chunks/{telemetry-LQ6FRTUT.js.map → telemetry-GAHHQTOS.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"completion.js","sources":["cli/commands/completion.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module cli/commands/completion\n *\n * Implements the pm completion command surface and its agent-facing runtime behavior.\n */\nimport { EXIT_CODE } from \"../../core/shared/constants.js\";\nimport { PmCliError } from \"../../core/shared/errors.js\";\nimport {\n AGGREGATE_FLAG_CONTRACTS,\n ACTIVITY_FLAG_CONTRACTS,\n APPEND_FLAG_CONTRACTS,\n CALENDAR_FLAG_CONTRACTS,\n CLOSE_MANY_FLAG_CONTRACTS,\n COMPLETION_FLAG_CONTRACTS,\n CONTRACTS_FLAG_CONTRACTS,\n CONTEXT_FLAG_CONTRACTS,\n COPY_FLAG_CONTRACTS,\n FOCUS_FLAG_CONTRACTS,\n MEET_FLAG_CONTRACTS,\n REMIND_FLAG_CONTRACTS,\n CREATE_FLAG_CONTRACTS,\n DEPS_FLAG_CONTRACTS,\n GET_FLAG_CONTRACTS,\n GUIDE_FLAG_CONTRACTS,\n GLOBAL_FLAG_CONTRACTS,\n HEALTH_FLAG_CONTRACTS,\n INIT_FLAG_CONTRACTS,\n LIST_FILTER_FLAG_CONTRACTS,\n NORMALIZE_FLAG_CONTRACTS,\n PLAN_FLAG_CONTRACTS,\n PM_CORE_COMMAND_NAMES,\n SEARCH_FLAG_CONTRACTS,\n UPDATE_FLAG_CONTRACTS,\n UPDATE_MANY_FLAG_CONTRACTS,\n toCompletionFlagString,\n} from \"../../sdk/cli-contracts.js\";\nimport { BUILTIN_ITEM_TYPE_VALUES, STATUS_VALUES } from \"../../types/index.js\";\nimport { listGuideTopicIds } from \"../guide-topics.js\";\n\n/**\n * Restricts completion shell values accepted by command, SDK, and storage contracts.\n */\nexport type CompletionShell = \"bash\" | \"zsh\" | \"fish\";\n\n/**\n * Documents the completion result payload exchanged by command, SDK, and package integrations.\n */\nexport interface CompletionResult {\n shell: CompletionShell;\n script: string;\n setup_hint: string;\n}\n\nconst VALID_SHELLS: CompletionShell[] = [\"bash\", \"zsh\", \"fish\"];\nconst DEFAULT_ITEM_TYPES = [...BUILTIN_ITEM_TYPE_VALUES];\nconst DEFAULT_STATUS_VALUES = [...STATUS_VALUES];\n\ntype CompletionFlagCommand = \"list\" | \"create\" | \"update\" | \"update-many\" | \"search\" | \"calendar\" | \"context\";\n\n/**\n * Documents the completion runtime config payload exchanged by command, SDK, and package integrations.\n */\nexport interface CompletionRuntimeConfig {\n item_types?: string[];\n statuses?: string[];\n command_flags?: Partial<Record<CompletionFlagCommand, string[]>>;\n}\n\nconst ALL_COMMANDS = [...PM_CORE_COMMAND_NAMES];\nconst LIST_FLAGS = toCompletionFlagString(LIST_FILTER_FLAG_CONTRACTS);\nconst AGGREGATE_FLAGS = toCompletionFlagString(AGGREGATE_FLAG_CONTRACTS);\nconst APPEND_FLAGS = toCompletionFlagString(APPEND_FLAG_CONTRACTS);\nconst COPY_FLAGS = toCompletionFlagString(COPY_FLAG_CONTRACTS);\nconst FOCUS_FLAGS = toCompletionFlagString(FOCUS_FLAG_CONTRACTS);\nconst MEET_FLAGS = toCompletionFlagString(MEET_FLAG_CONTRACTS);\nconst REMIND_FLAGS = toCompletionFlagString(REMIND_FLAG_CONTRACTS);\nconst CREATE_FLAGS = toCompletionFlagString(CREATE_FLAG_CONTRACTS);\nconst GET_FLAGS = toCompletionFlagString(GET_FLAG_CONTRACTS);\nconst UPDATE_FLAGS = toCompletionFlagString(UPDATE_FLAG_CONTRACTS);\nconst UPDATE_MANY_FLAGS = toCompletionFlagString(UPDATE_MANY_FLAG_CONTRACTS);\nconst CLOSE_MANY_FLAGS = toCompletionFlagString(CLOSE_MANY_FLAG_CONTRACTS);\nconst NORMALIZE_FLAGS = toCompletionFlagString(NORMALIZE_FLAG_CONTRACTS);\nconst ACTIVITY_FLAGS = toCompletionFlagString(ACTIVITY_FLAG_CONTRACTS);\nconst CALENDAR_FLAGS = toCompletionFlagString(CALENDAR_FLAG_CONTRACTS);\nconst CONTEXT_FLAGS = toCompletionFlagString(CONTEXT_FLAG_CONTRACTS);\nconst DEPS_FLAGS = toCompletionFlagString(DEPS_FLAG_CONTRACTS);\nconst GUIDE_FLAGS = toCompletionFlagString(GUIDE_FLAG_CONTRACTS);\nconst SEARCH_FLAGS = toCompletionFlagString(SEARCH_FLAG_CONTRACTS);\nconst HEALTH_FLAGS = toCompletionFlagString(HEALTH_FLAG_CONTRACTS);\nconst INIT_FLAGS = toCompletionFlagString(INIT_FLAG_CONTRACTS);\nconst CONTRACTS_FLAGS = toCompletionFlagString(CONTRACTS_FLAG_CONTRACTS);\nconst PLAN_FLAGS = toCompletionFlagString(PLAN_FLAG_CONTRACTS);\nconst PLAN_SUBCOMMANDS_LIST =\n \"create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize\";\nconst COMPLETION_FLAGS = toCompletionFlagString(COMPLETION_FLAG_CONTRACTS);\nconst COMPLETION_SHELL_CHOICES = `${COMPLETION_FLAGS} bash zsh fish`;\nconst GUIDE_TOPIC_CHOICES = joinCompletionValues(listGuideTopicIds());\n\nconst MUTATION_FLAGS = \"--author --message --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\nconst DELETE_MUTATION_FLAGS = \"--dry-run --author --message --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\nconst CLOSE_MUTATION_FLAGS = \"--author --message --validate-close --duplicate-of --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\nconst RELEASE_MUTATION_FLAGS =\n \"--allow-audit-release --author --message --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\n\nconst GLOBAL_FLAGS = GLOBAL_FLAG_CONTRACTS.flatMap((entry) => [entry.short, entry.flag, ...(entry.aliases ?? [])])\n .filter((value): value is string => Boolean(value))\n .join(\" \");\n\nfunction joinCompletionValues(values: string[]): string {\n return [...new Set(values.map((value) => value.trim()).filter((value) => value.length > 0))]\n .sort((left, right) => left.localeCompare(right))\n .join(\" \");\n}\n\nfunction joinCompletionValuesInOrder(values: string[]): string {\n return [...new Set(values.map((value) => value.trim()).filter((value) => value.length > 0))].join(\" \");\n}\n\nfunction shellDoubleQuote(value: string): string {\n return value.replaceAll(\"\\\\\", \"\\\\\\\\\").replaceAll('\"', '\\\\\"').replaceAll(\"$\", \"\\\\$\").replaceAll(\"`\", \"\\\\`\");\n}\n\nfunction completionTypeValues(itemTypes: string[], runtime: CompletionRuntimeConfig): string {\n return joinCompletionValuesInOrder(itemTypes.length > 0 ? itemTypes : (runtime.item_types ?? DEFAULT_ITEM_TYPES));\n}\n\nfunction completionStatusValues(runtime: CompletionRuntimeConfig): string {\n return joinCompletionValues(runtime.statuses ?? DEFAULT_STATUS_VALUES);\n}\n\nfunction mergeFlagStrings(baseFlags: string, runtimeFlags: string[] | undefined): string {\n const merged = [...baseFlags.split(/\\s+/u).filter((value) => value.length > 0), ...(runtimeFlags ?? [])];\n return joinCompletionValues(merged);\n}\n\nfunction normalizeRuntimeCompletionFlags(runtimeFlags: string[] | undefined): string[] {\n const normalized = (runtimeFlags ?? [])\n .map((value) => value.trim())\n .filter((value) => value.startsWith(\"--\") && value.length > 2)\n .map((value) => `--${value.slice(2).replaceAll(\"_\", \"-\")}`);\n return [...new Set(normalized)].sort((left, right) => left.localeCompare(right));\n}\n\nfunction renderZshRuntimeFieldFlagSpecs(runtimeFlags: string[] | undefined): string {\n const normalized = normalizeRuntimeCompletionFlags(runtimeFlags);\n if (normalized.length === 0) {\n return \"\";\n }\n return `${normalized.map((flag) => ` '${flag}[Runtime schema field flag]:value' \\\\`).join(\"\\n\")}\\n`;\n}\n\nfunction renderFishRuntimeFieldFlagSpecs(commands: string[], runtimeFlags: string[] | undefined): string {\n const normalizedFlags = normalizeRuntimeCompletionFlags(runtimeFlags).map((flag) => flag.slice(2));\n if (commands.length === 0 || normalizedFlags.length === 0) {\n return \"\";\n }\n const lines: string[] = [];\n for (const command of commands) {\n for (const flag of normalizedFlags) {\n lines.push(`complete -c pm -n '__fish_seen_subcommand_from ${command}' -l ${flag} -d 'Runtime schema field flag' -r`);\n }\n }\n return `${lines.join(\"\\n\")}\\n`;\n}\n\nfunction renderBashDynamicChoiceResolver(kind: \"status\" | \"type\", command: \"completion-statuses\" | \"completion-types\", fallback: string): string[] {\n const envKind = kind.toUpperCase();\n const cacheVar = `PM_COMPLETION_${envKind}_CACHE`;\n const cacheTsVar = `PM_COMPLETION_${envKind}_CACHE_TS`;\n const ttlVar = `PM_COMPLETION_${envKind}_TTL`;\n const escapedFallback = shellDoubleQuote(fallback);\n return [\n `_pm_completion_${kind}_choices() {`,\n \" local now ttl cache_ts resolved\",\n \" now=\\\"$(date +%s 2>/dev/null || echo 0)\\\"\",\n ` ttl=\"\\${${ttlVar}:-120}\"`,\n ` cache_ts=\"\\${${cacheTsVar}:-0}\"`,\n ` if [[ -n \"\\${${cacheVar}:-}\" && \"$now\" -ne 0 && $((now - cache_ts)) -lt \"$ttl\" ]]; then`,\n ` printf '%s\\\\n' \"\\$${cacheVar}\"`,\n \" return 0\",\n \" fi\",\n ` resolved=\"$(pm ${command} 2>/dev/null)\"`,\n \" if [[ -z \\\"$resolved\\\" ]]; then\",\n ` resolved=\"${escapedFallback}\"`,\n \" fi\",\n ` ${cacheVar}=\"$resolved\"`,\n ` ${cacheTsVar}=\"$now\"`,\n ` printf '%s\\\\n' \"\\$${cacheVar}\"`,\n \"}\",\n ];\n}\n\nfunction renderZshDynamicChoiceResolver(kind: \"status\" | \"type\", command: \"completion-statuses\" | \"completion-types\", fallback: string): string {\n const envKind = kind.toUpperCase();\n const cacheVar = `PM_COMPLETION_${envKind}_CACHE`;\n const cacheTsVar = `PM_COMPLETION_${envKind}_CACHE_TS`;\n const ttlVar = `PM_COMPLETION_${envKind}_TTL`;\n const escapedFallback = shellDoubleQuote(fallback);\n return `\n_pm_${kind}_choices() {\n local now ttl cache_ts resolved\n now=\\${EPOCHSECONDS:-0}\n ttl=\\${${ttlVar}:-120}\n cache_ts=\\${${cacheTsVar}:-0}\n if [[ -n \"\\${${cacheVar}:-}\" && \"$now\" -ne 0 && $((now - cache_ts)) -lt \"$ttl\" ]]; then\n print -r -- \"$${cacheVar}\"\n return\n fi\n resolved=\"$(pm ${command} 2>/dev/null)\"\n if [[ -z \"$resolved\" ]]; then\n resolved=\"${escapedFallback}\"\n fi\n ${cacheVar}=\"$resolved\"\n ${cacheTsVar}=\"$now\"\n print -r -- \"$${cacheVar}\"\n}\n`;\n}\n\nfunction renderFishDynamicChoiceResolver(kind: \"status\" | \"type\", command: \"completion-statuses\" | \"completion-types\", fallback: string): string {\n const envKind = kind.toUpperCase();\n const escapedFallback = fallback.replaceAll(\"'\", \"\\\\'\");\n return `\nfunction __pm_${kind}_choices\n set -l now (date +%s ^/dev/null)\n if test -z \"$now\"\n set now 0\n end\n set -l ttl 120\n if set -q PM_COMPLETION_${envKind}_TTL\n set ttl $PM_COMPLETION_${envKind}_TTL\n end\n if set -q PM_COMPLETION_${envKind}_CACHE; and set -q PM_COMPLETION_${envKind}_CACHE_TS\n set -l age (math \"$now - $PM_COMPLETION_${envKind}_CACHE_TS\")\n if test $age -lt $ttl\n printf '%s\\\\n' $PM_COMPLETION_${envKind}_CACHE\n return\n end\n end\n set -l resolved (pm ${command} ^/dev/null)\n if test (count $resolved) -eq 0\n set resolved '${escapedFallback}'\n end\n set -gx PM_COMPLETION_${envKind}_CACHE $resolved\n set -gx PM_COMPLETION_${envKind}_CACHE_TS $now\n printf '%s\\\\n' $resolved\nend\n`;\n}\n\n/**\n * Implements generate bash script for the public runtime surface of this module.\n */\nexport function generateBashScript(\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): string {\n const cmds = ALL_COMMANDS.join(\" \");\n const useDynamicTypeExpansion = itemTypes.length === 0;\n const typeValues = completionTypeValues(itemTypes, runtime);\n const statusValues = completionStatusValues(runtime);\n const tagValues = joinCompletionValues(tags);\n const listFlags = mergeFlagStrings(LIST_FLAGS, runtime.command_flags?.list);\n const createFlags = mergeFlagStrings(CREATE_FLAGS, runtime.command_flags?.create);\n const updateFlags = mergeFlagStrings(UPDATE_FLAGS, runtime.command_flags?.update);\n const updateManyFlags = mergeFlagStrings(UPDATE_MANY_FLAGS, runtime.command_flags?.[\"update-many\"]);\n const normalizeFlags = NORMALIZE_FLAGS;\n const searchFlags = mergeFlagStrings(SEARCH_FLAGS, runtime.command_flags?.search);\n const calendarFlags = mergeFlagStrings(CALENDAR_FLAGS, runtime.command_flags?.calendar);\n const contextFlags = mergeFlagStrings(CONTEXT_FLAGS, runtime.command_flags?.context);\n const useEagerTagExpansion = eagerTagExpansion || tags.length > 0;\n // Note: \"${...}\" inside regular (non-template) strings are literal characters,\n // not JS interpolation. Only backtick template literals interpolate ${...}.\n const compgen = (flags: string): string => `$(compgen -W \"${flags}\" -- \"$cur\")`;\n return [\n \"# bash completion for pm\",\n '# Source this file or add \\'eval \"$(pm completion bash)\"\\' to ~/.bashrc',\n \"\",\n ...(useDynamicTypeExpansion ? [...renderBashDynamicChoiceResolver(\"type\", \"completion-types\", typeValues), \"\"] : []),\n ...renderBashDynamicChoiceResolver(\"status\", \"completion-statuses\", statusValues),\n \"\",\n \"_pm_completion() {\",\n \" local cur prev words cword\",\n \" _init_completion 2>/dev/null || {\",\n ' cur=\"${COMP_WORDS[COMP_CWORD]}\"',\n ' prev=\"${COMP_WORDS[COMP_CWORD-1]}\"',\n \" cword=$COMP_CWORD\",\n \" }\",\n \"\",\n \" if [[ $cword -eq 1 ]]; then\",\n ` COMPREPLY=(${compgen(cmds)})`,\n \" return 0\",\n \" fi\",\n \"\",\n ' if [[ \"$prev\" == \"--type\" ]]; then',\n useDynamicTypeExpansion\n ? ' COMPREPLY=($(compgen -W \"$(_pm_completion_type_choices)\" -- \"$cur\"))'\n : ` COMPREPLY=(${compgen(typeValues)})`,\n \" return 0\",\n \" fi\",\n \"\",\n ' if [[ \"$prev\" == \"--status\" ]]; then',\n ' COMPREPLY=($(compgen -W \"$(_pm_completion_status_choices)\" -- \"$cur\"))',\n \" return 0\",\n \" fi\",\n \"\",\n ...(useEagerTagExpansion\n ? [\n ' if [[ \"$prev\" == \"--tag\" || \"$prev\" == \"--tags\" ]]; then',\n ` COMPREPLY=(${compgen(tagValues)})`,\n \" return 0\",\n \" fi\",\n ]\n : [\n ' if [[ \"$prev\" == \"--tag\" || \"$prev\" == \"--tags\" ]]; then',\n ' local now ttl cache_ts tag_values',\n ' now=\"$(date +%s 2>/dev/null || echo 0)\"',\n ' ttl=\"${PM_COMPLETION_TAG_TTL:-120}\"',\n ' cache_ts=\"${PM_COMPLETION_TAG_CACHE_TS:-0}\"',\n ' tag_values=\"${PM_COMPLETION_TAG_CACHE:-}\"',\n ' if [[ -z \"$tag_values\" || \"$now\" -eq 0 || $((now - cache_ts)) -ge \"$ttl\" ]]; then',\n ' tag_values=\"$(pm completion-tags 2>/dev/null)\"',\n ' PM_COMPLETION_TAG_CACHE=\"$tag_values\"',\n ' PM_COMPLETION_TAG_CACHE_TS=\"$now\"',\n \" fi\",\n ' COMPREPLY=($(compgen -W \"$tag_values\" -- \"$cur\"))',\n \" return 0\",\n \" fi\",\n ]),\n \"\",\n ' local cmd=\"${COMP_WORDS[1]}\"',\n \"\",\n ' case \"$cmd\" in',\n \" list|list-all|list-draft|list-open|list-in-progress|list-blocked|list-closed|list-canceled)\",\n ` COMPREPLY=(${compgen(listFlags)})`,\n \" ;;\",\n \" aggregate)\",\n ` COMPREPLY=(${compgen(AGGREGATE_FLAGS)})`,\n \" ;;\",\n \" dedupe-audit)\",\n ` COMPREPLY=(${compgen(\"--mode --limit --threshold --status --type --tag --priority --deadline-before --deadline-after --assignee --assignee-filter --parent --sprint --release --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" create)\",\n ` COMPREPLY=(${compgen(createFlags)})`,\n \" ;;\",\n \" copy)\",\n ` COMPREPLY=(${compgen(COPY_FLAGS)})`,\n \" ;;\",\n \" focus)\",\n ` COMPREPLY=(${compgen(FOCUS_FLAGS)})`,\n \" ;;\",\n \" update)\",\n ` COMPREPLY=(${compgen(updateFlags)})`,\n \" ;;\",\n \" update-many)\",\n ` COMPREPLY=(${compgen(updateManyFlags)})`,\n \" ;;\",\n \" normalize)\",\n ` COMPREPLY=(${compgen(normalizeFlags)})`,\n \" ;;\",\n \" calendar|cal)\",\n ` COMPREPLY=(${compgen(calendarFlags)})`,\n \" ;;\",\n \" context|ctx)\",\n ` COMPREPLY=(${compgen(contextFlags)})`,\n \" ;;\",\n \" guide)\",\n ` COMPREPLY=(${compgen(`${GUIDE_FLAGS} ${GUIDE_TOPIC_CHOICES}`)})`,\n \" ;;\",\n \" search)\",\n ` COMPREPLY=(${compgen(searchFlags)})`,\n \" ;;\",\n \" reindex)\",\n ` COMPREPLY=(${compgen(\"--mode --progress --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" init)\",\n ` COMPREPLY=(${compgen(`${INIT_FLAGS} --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help`)})`,\n \" ;;\",\n \" config)\",\n ` COMPREPLY=(${compgen(\"--criterion --clear-criteria --format --policy --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" extension)\",\n ` COMPREPLY=(${compgen(\"init scaffold install uninstall explore manage describe reload doctor adopt adopt-all activate deactivate --init --scaffold --capability --install --uninstall --explore --manage --describe --reload --watch --doctor --adopt --adopt-all --activate --deactivate --project --local --global --gh --github --ref --detail --trace --runtime-probe --fix-managed-state --strict-exit --fail-on-warn --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" comments)\",\n ` COMPREPLY=(${compgen(\"--add --stdin --file --edit --delete --limit --author --message --allow-audit-comment --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" comments-audit)\",\n ` COMPREPLY=(${compgen(\"--status --type --tag --priority --parent --sprint --release --assignee --assignee-filter --limit-items --limit --full-history --latest --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" notes)\",\n ` COMPREPLY=(${compgen(\"--add --limit --author --message --allow-audit-note --allow-audit-comment --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" learnings)\",\n ` COMPREPLY=(${compgen(\"--add --limit --author --message --allow-audit-learning --allow-audit-comment --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" files)\",\n ` COMPREPLY=(${compgen(\"discover --add --add-glob --remove --migrate --list --apply --note --append-stable --validate-paths --audit --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" docs)\",\n ` COMPREPLY=(${compgen(\"--add --add-glob --remove --migrate --note --validate-paths --audit --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" append)\",\n ` COMPREPLY=(${compgen(APPEND_FLAGS)})`,\n \" ;;\",\n \" deps)\",\n ` COMPREPLY=(${compgen(DEPS_FLAGS)})`,\n \" ;;\",\n \" test)\",\n ` COMPREPLY=(${compgen(\"--add --add-json --remove --list --run --match --only-index --only-last --background --timeout --progress --env-set --env-clear --shared-host-safe --pm-context --override-linked-pm-context --fail-on-context-mismatch --fail-on-skipped --fail-on-empty-test-run --require-assertions-for-pm --check-context --auto-pm-context --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" test-all)\",\n ` COMPREPLY=(${compgen(\"--status --limit --offset --background --timeout --progress --env-set --env-clear --shared-host-safe --pm-context --override-linked-pm-context --fail-on-context-mismatch --fail-on-skipped --fail-on-empty-test-run --require-assertions-for-pm --check-context --auto-pm-context --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" test-runs)\",\n ` COMPREPLY=(${compgen(\"list status logs stop resume --status --limit --stream --tail --force --author --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" validate)\",\n ` COMPREPLY=(${compgen(\"--check-metadata --metadata-profile --check-resolution --check-lifecycle --check-stale-blockers --dependency-cycle-severity --parent-cycle-severity --check-files --scan-mode --include-pm-internals --verbose-file-lists --verbose-diagnostics --all-affected-ids --strict-exit --fail-on-warn --fix-hints --auto-fix --dry-run --fix-scope --prune-missing --check-history-drift --check-command-references --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" health)\",\n ` COMPREPLY=(${compgen(HEALTH_FLAGS)})`,\n \" ;;\",\n \" history)\",\n ` COMPREPLY=(${compgen(\"--limit --compact --full --diff --field --verify --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" history-compact)\",\n ` COMPREPLY=(${compgen(\"--before --ids --all-over --closed --all-streams --min-entries --dry-run --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" get)\",\n ` COMPREPLY=(${compgen(GET_FLAGS)})`,\n \" ;;\",\n \" history-redact)\",\n ` COMPREPLY=(${compgen(\"--literal --regex --replacement --dry-run --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" history-repair)\",\n ` COMPREPLY=(${compgen(\"--all --dry-run --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" schema)\",\n ` COMPREPLY=(${compgen(\"list show show-status add-type remove-type add-status remove-status add-field remove-field list-fields show-field apply-preset --description --default-status --folder --alias --role --order --type --commands --cli-flag --required --required-on-create --no-allow-unset --required-types --infer --min-count --apply --author --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" plan)\",\n ` COMPREPLY=(${compgen(`${PLAN_SUBCOMMANDS_LIST} ${PLAN_FLAGS}`)})`,\n \" ;;\",\n \" activity)\",\n ` COMPREPLY=(${compgen(ACTIVITY_FLAGS)})`,\n \" ;;\",\n \" contracts)\",\n ` COMPREPLY=(${compgen(CONTRACTS_FLAGS)})`,\n \" ;;\",\n \" gc)\",\n ` COMPREPLY=(${compgen(\"--dry-run --scope --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" stats)\",\n ` COMPREPLY=(${compgen(\"--storage --metadata-coverage --field-utilization --by-assignee --by-tag --by-priority --tag-prefix --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" close|close-task)\",\n ` COMPREPLY=(${compgen(CLOSE_MUTATION_FLAGS)})`,\n \" ;;\",\n \" close-many)\",\n ` COMPREPLY=(${compgen(CLOSE_MANY_FLAGS)})`,\n \" ;;\",\n \" release)\",\n ` COMPREPLY=(${compgen(RELEASE_MUTATION_FLAGS)})`,\n \" ;;\",\n \" delete)\",\n ` COMPREPLY=(${compgen(DELETE_MUTATION_FLAGS)})`,\n \" ;;\",\n \" claim|restore|start-task|pause-task)\",\n ` COMPREPLY=(${compgen(MUTATION_FLAGS)})`,\n \" ;;\",\n \" meet|event)\",\n ` COMPREPLY=(${compgen(MEET_FLAGS)})`,\n \" ;;\",\n \" remind)\",\n ` COMPREPLY=(${compgen(REMIND_FLAGS)})`,\n \" ;;\",\n \" completion)\",\n ` COMPREPLY=(${compgen(COMPLETION_SHELL_CHOICES)})`,\n \" ;;\",\n \" templates)\",\n ` COMPREPLY=(${compgen(\"save list show\")})`,\n \" ;;\",\n \" *)\",\n ` COMPREPLY=(${compgen(GLOBAL_FLAGS)})`,\n \" ;;\",\n \" esac\",\n \" return 0\",\n \"}\",\n \"\",\n \"complete -F _pm_completion pm\",\n ].join(\"\\n\");\n}\n\n/**\n * Implements generate zsh script for the public runtime surface of this module.\n */\nexport function generateZshScript(\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): string {\n const cmds = ALL_COMMANDS.map((c) => `'${c}'`).join(\" \");\n const useDynamicTypeExpansion = itemTypes.length === 0;\n const typeFallbackChoices = completionTypeValues(itemTypes, runtime);\n const statusFallbackChoices = completionStatusValues(runtime);\n const typeChoices = useDynamicTypeExpansion ? '${(f)\"$(_pm_type_choices)\"}' : typeFallbackChoices;\n const statusChoices = '${(f)\"$(_pm_status_choices)\"}';\n const guideTopicChoices = GUIDE_TOPIC_CHOICES;\n const tagChoices = joinCompletionValues(tags);\n const useEagerTagExpansion = eagerTagExpansion || tags.length > 0;\n const zshTagChoices = useEagerTagExpansion ? tagChoices : '${(f)\"$(_pm_tag_choices)\"}';\n const zshListRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.list);\n const zshCreateRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.create);\n const zshUpdateRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.update);\n const zshUpdateManyRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.[\"update-many\"]);\n const zshSearchRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.search);\n const zshCalendarRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.calendar);\n const zshContextRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.context);\n const dynamicTagResolver = useEagerTagExpansion\n ? \"\"\n : `\n_pm_tag_choices() {\n local now ttl cache_ts\n now=\\${EPOCHSECONDS:-0}\n ttl=\\${PM_COMPLETION_TAG_TTL:-120}\n cache_ts=\\${PM_COMPLETION_TAG_CACHE_TS:-0}\n if [[ -n \"\\${PM_COMPLETION_TAG_CACHE:-}\" && \"$now\" -ne 0 && $((now - cache_ts)) -lt \"$ttl\" ]]; then\n print -r -- \"$PM_COMPLETION_TAG_CACHE\"\n return\n fi\n PM_COMPLETION_TAG_CACHE=\"$(pm completion-tags 2>/dev/null)\"\n PM_COMPLETION_TAG_CACHE_TS=\"$now\"\n print -r -- \"$PM_COMPLETION_TAG_CACHE\"\n}\n`;\n return `#compdef pm\n# zsh completion for pm\n# Source this file or add 'eval \"$(pm completion zsh)\"' to ~/.zshrc\n\n_pm_commands() {\n local -a commands\n commands=(\n 'init:Initialize pm storage for the current workspace'\n 'config:Read or update pm settings'\n 'extension:Manage extension lifecycle operations'\n 'create:Create a new project management item'\n 'copy:Copy an existing item to a new ID'\n 'focus:Set/clear/show the session focused parent for new items'\n 'list:List active items with optional filters'\n 'list-all:List all items with optional filters'\n 'list-draft:List draft items with optional filters'\n 'list-open:List open items with optional filters'\n 'list-in-progress:List in-progress items with optional filters'\n 'list-blocked:List blocked items with optional filters'\n 'list-closed:List closed items with optional filters'\n 'list-canceled:List canceled items with optional filters'\n 'aggregate:Aggregate grouped item counts and numeric stats for governance queries'\n 'dedupe-audit:Audit potential duplicate items and emit merge suggestions'\n 'guide:Browse local progressive-disclosure guides'\n 'calendar:Show calendar views for deadlines and reminders'\n 'cal:Alias for calendar'\n 'context:Show a token-efficient project context snapshot'\n 'ctx:Alias for context'\n 'get:Show item details by ID'\n 'search:Search items with keyword, semantic, or hybrid modes'\n 'reindex:Rebuild search artifacts'\n 'history:Show item history entries'\n 'history-compact:Compact history streams into a synthetic baseline + retained tail'\n 'history-redact:Redact sensitive literals/patterns and recompute history hashes'\n 'history-repair:Re-anchor a drifted history chain so pm health/validate report ok'\n 'schema:Manage custom item types and statuses in .agents/pm/schema/*.json'\n 'plan:Agent-optimized Plan item workflow (create/show/add-step/update-step/complete-step/link/approve/materialize)'\n 'activity:Show recent activity across items'\n 'restore:Restore an item to an earlier state'\n 'update:Update item fields and metadata'\n 'update-many:Bulk-update matched items with dry-run and rollback checkpoints'\n 'normalize:Normalize lifecycle metadata with dry-run planning or apply mode'\n 'close:Close an item (reason requirement follows governance settings)'\n 'close-many:Bulk-close matched items with an optional shared reason and rollback checkpoint'\n 'delete:Delete an item and record the change'\n 'append:Append text to an item body'\n 'comments:List or add comments for an item'\n 'comments-audit:Audit latest comments or full history across filtered items'\n 'notes:List or add notes for an item'\n 'learnings:List or add learnings for an item'\n 'files:Manage linked files'\n 'docs:Manage linked docs'\n 'deps:Show dependency relationships for an item'\n 'test:Manage linked tests and optionally run them'\n 'test-all:Run linked tests across matching items'\n 'test-runs:Manage background linked-test runs'\n 'stats:Show project tracker statistics'\n 'health:Show project tracker health checks'\n 'validate:Run standalone validation checks'\n 'gc:Clean optional cache artifacts'\n 'contracts:Show machine-readable command and schema contracts'\n 'claim:Claim an item for active work'\n 'release:Release the active claim for an item'\n 'start-task:Lifecycle alias to claim and set in_progress'\n 'pause-task:Lifecycle alias to reopen and release claim'\n 'close-task:Lifecycle alias to close and release claim'\n 'meet:Shortcut to create a Meeting with scheduling defaults'\n 'event:Shortcut to create an Event with scheduling defaults'\n 'remind:Shortcut to create a Reminder from a point in time'\n 'templates:Manage reusable create templates'\n 'completion:Generate shell completion'\n 'help:Display help for a command'\n )\n _describe 'command' commands\n}\n${dynamicTagResolver}\n${useDynamicTypeExpansion ? renderZshDynamicChoiceResolver(\"type\", \"completion-types\", typeFallbackChoices) : \"\"}\n${renderZshDynamicChoiceResolver(\"status\", \"completion-statuses\", statusFallbackChoices)}\n\n_pm() {\n local context state line\n _arguments -C \\\\\n '--json[Output JSON instead of TOON]' \\\\\n '--quiet[Suppress stdout output]' \\\\\n '--no-changed-fields[Omit changed_fields array from mutation output]' \\\\\n '--pm-path[Explicit tracker storage path for this command]:path:_files -/' \\\\\n '--path[Compatibility alias for --pm-path]:path:_files -/' \\\\\n '--no-extensions[Disable extension loading]' \\\\\n '--no-pager[Disable pager integration for help and long output]' \\\\\n '--profile[Print deterministic timing diagnostics]' \\\\\n '(-V --version)--version[Output the version number]' \\\\\n '(-h --help)--help[Display help]' \\\\\n '1: :_pm_commands' \\\\\n '*:: :->args' && return 0\n\n case $state in\n args)\n case $line[1] in\n list|list-all|list-draft|list-open|list-in-progress|list-blocked|list-closed|list-canceled)\n _arguments \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--tags[Alias for --tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\\\\n '--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\\\\n '--updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\\\\n '--updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\\\\n '--created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\\\\n '--created-before[Filter by created_at upper bound (ISO/relative)]:timestamp' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--has-notes[Select only items that have notes]' \\\\\n '--no-notes[Select only items with no notes]' \\\\\n '--has-learnings[Select only items that have learnings]' \\\\\n '--no-learnings[Select only items with no learnings]' \\\\\n '--has-files[Select only items that have linked files]' \\\\\n '--no-files[Select only items with no linked files]' \\\\\n '--has-docs[Select only items that have linked docs]' \\\\\n '--no-docs[Select only items with no linked docs]' \\\\\n '--has-tests[Select only items that have linked tests]' \\\\\n '--no-tests[Select only items with no linked tests]' \\\\\n '--has-comments[Select only items that have comments]' \\\\\n '--no-comments[Select only items with no comments]' \\\\\n '--has-deps[Select only items that have dependencies]' \\\\\n '--no-deps[Select only items with no dependencies]' \\\\\n '--has-body[Select only items with non-empty body]' \\\\\n '--empty-body[Select only items with empty body]' \\\\\n '--has-linked-command[Select only items that have a linked command]' \\\\\n '--no-linked-command[Select only items with no linked command]' \\\\\n '--limit[Limit returned item count]:number' \\\\\n '--offset[Skip the first n matching rows before limit]:number' \\\\\n '--no-truncate[Return every matched row, overriding --limit]' \\\\\n '--all[Alias for --no-truncate]' \\\\\n '--include-body[Include item body in each returned list row]' \\\\\n '--compact[Render compact list projection fields]' \\\\\n '--fields[Render custom comma-separated list fields]:fields' \\\\\n '--tree[Render hierarchical subtree output rooted at --parent or top-level parents]' \\\\\n '--tree-depth[Cap recursion depth for --tree (0 = root only)]:number' \\\\\n '--sort[Sort field]:(priority deadline updated_at created_at title parent)' \\\\\n '--order[Sort order (requires --sort)]:(asc desc)' \\\\\n '--stream[Emit line-delimited JSON rows (requires --json)]' \\\\\n${zshListRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]' \\\\\n '--pm-path[Explicit tracker storage path]:path:_files -/' \\\\\n '--path[Compatibility alias for --pm-path]:path:_files -/'\n ;;\n aggregate)\n _arguments \\\\\n '--group-by[Comma-separated group-by fields (supported: parent,type,priority,status,assignee,tags,sprint,release)]:fields' \\\\\n '--count[Return grouped counts]' \\\\\n '--completion[Add open/in_progress/closed/other counts and completion percentage]' \\\\\n '--sum[Numeric field to sum per group]:field' \\\\\n '--avg[Numeric field to average per group]:field' \\\\\n '--include-unparented[Include unparented rows when grouping by parent]' \\\\\n '--status[Filter by status]:(${statusChoices})' \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\\\\n '--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--parent[Filter by parent item ID]:parent_id' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n dedupe-audit)\n _arguments \\\\\n '--mode[Dedupe mode]:(title_exact title_fuzzy parent_scope)' \\\\\n '--limit[Limit returned duplicate clusters]:number' \\\\\n '--threshold[Fuzzy mode token similarity threshold between 0 and 1]:number' \\\\\n '--status[Filter by status]:(${statusChoices})' \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\\\\n '--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--parent[Filter by parent item ID]:parent_id' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n create)\n _arguments \\\\\n '(-t --title)'{-t,--title}'[Item title]:title' \\\\\n '(-d --description)'{-d,--description}'[Item description]:description' \\\\\n '--type[Item type]:(${typeChoices})' \\\\\n '--create-mode[Create required-option policy mode]:(strict progressive)' \\\\\n '--schedule-preset[Scheduling preset for Reminder/Meeting/Event]:(lightweight)' \\\\\n '(-s --status)'{-s,--status}'[Item status]:(${statusChoices})' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '--add-tags[Add tags additively without replacing existing]:tags' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '--body-file[Load the item body from a file]:body_file:_files' \\\\\n '--deadline[Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)]:deadline' \\\\\n '--estimate[Estimated minutes]:minutes' \\\\\n '--acceptance-criteria[Acceptance criteria]:criteria' \\\\\n '--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\\\\n '--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\\\\n '--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\\\\n '--unset[Clear scalar metadata field by name]:field' \\\\\n '--replace-deps[Atomically replace dependencies with provided --dep values]' \\\\\n '--replace-tests[Atomically replace linked tests with provided --test values]' \\\\\n '--clear-deps[Clear dependency entries]' \\\\\n '--clear-comments[Clear comments]' \\\\\n '--clear-notes[Clear notes]' \\\\\n '--clear-learnings[Clear learnings]' \\\\\n '--clear-files[Clear linked files]' \\\\\n '--clear-tests[Clear linked tests]' \\\\\n '--clear-docs[Clear linked docs]' \\\\\n '--clear-reminders[Clear reminders]' \\\\\n '--clear-events[Clear events]' \\\\\n '--clear-type-options[Clear type options]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--assignee[Assignee]:assignee' \\\\\n${zshCreateRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n copy)\n _arguments \\\\\n '--title[Override copied title]:title' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force ownership override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n focus)\n _arguments \\\\\n '--clear[Clear the focused item]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n meet|event)\n _arguments \\\\\n '--start[Start time (ISO, now, or relative)]:start' \\\\\n '--duration[Duration from start (default 1h)]:duration' \\\\\n '--end[End time (overrides --duration)]:end' \\\\\n '--location[Location]:location' \\\\\n '--timezone[IANA timezone]:timezone' \\\\\n '--all-day[Mark as an all-day event]' \\\\\n '--parent[Parent item id]:parent' \\\\\n '--allow-missing-parent[Permit a parent id that does not exist yet]' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '(-d --description)'{-d,--description}'[Short description]:description' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n remind)\n _arguments \\\\\n '--at[Reminder time (default +1d)]:at' \\\\\n '--text[Reminder text (defaults to title)]:text' \\\\\n '--parent[Parent item id]:parent' \\\\\n '--allow-missing-parent[Permit a parent id that does not exist yet]' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '(-d --description)'{-d,--description}'[Short description]:description' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n update)\n _arguments \\\\\n '(-t --title)'{-t,--title}'[Item title]:title' \\\\\n '(-d --description)'{-d,--description}'[Item description]:description' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '--body-file[Load the item body from a file]:body_file:_files' \\\\\n '(-s --status)'{-s,--status}'[Item status]:(${statusChoices})' \\\\\n '--close-reason[Set close reason]:close_reason' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '--type[Item type]:(${typeChoices})' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '--add-tags[Add tags additively without replacing existing]:tags' \\\\\n '--remove-tags[Remove tags from the existing list]:tags' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--comment[Comment seed author=<value>,created_at=<iso|now>,text=<value>]:comment' \\\\\n '--note[Note seed author=<value>,created_at=<iso|now>,text=<value>]:note' \\\\\n '--learning[Learning seed author=<value>,created_at=<iso|now>,text=<value>]:learning' \\\\\n '--file[Linked file path=<value>,scope=<project|global>,note=<text>]:file' \\\\\n '--test[Linked test command=<value>,path=<value>,scope=<project|global>]:test' \\\\\n '--doc[Linked doc path=<value>,scope=<project|global>,note=<text>]:doc' \\\\\n '--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\\\\n '--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\\\\n '--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\\\\n '--unset[Clear scalar metadata field by name]:field' \\\\\n '--clear-deps[Clear dependency entries]' \\\\\n '--clear-comments[Clear comments]' \\\\\n '--clear-notes[Clear notes]' \\\\\n '--clear-learnings[Clear learnings]' \\\\\n '--clear-files[Clear linked files]' \\\\\n '--clear-tests[Clear linked tests]' \\\\\n '--clear-docs[Clear linked docs]' \\\\\n '--clear-reminders[Clear reminders]' \\\\\n '--clear-events[Clear events]' \\\\\n '--clear-type-options[Clear type options]' \\\\\n${zshUpdateRuntimeFieldFlags} '--allow-audit-update[Allow non-owner metadata-only audit updates without requiring --force]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n update-many)\n _arguments \\\\\n '--filter-status[Filter by status before applying updates]:(${statusChoices})' \\\\\n '--filter-type[Filter by type before applying updates]:(${typeChoices})' \\\\\n '--filter-tag[Filter by tag before applying updates]:(${zshTagChoices})' \\\\\n '--filter-priority[Filter by priority before applying updates]:(0 1 2 3 4)' \\\\\n '--filter-deadline-before[Filter by deadline upper bound]:deadline' \\\\\n '--filter-deadline-after[Filter by deadline lower bound]:deadline' \\\\\n '--filter-updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-before[Filter by created_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-assignee[Filter by assignee before applying updates]:assignee' \\\\\n '--filter-assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--filter-parent[Filter by parent item ID]:parent' \\\\\n '--filter-sprint[Filter by sprint]:sprint' \\\\\n '--filter-release[Filter by release]:release' \\\\\n '--filter-ac-missing[Select only items missing acceptance_criteria]' \\\\\n '--filter-estimates-missing[Select only items missing estimated_minutes]' \\\\\n '--filter-resolution-missing[Select only terminal items missing resolution]' \\\\\n '--filter-metadata-missing[Select only items missing any tracked metadata]' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--filter-has-notes[Select only items that have notes]' \\\\\n '--filter-no-notes[Select only items with no notes]' \\\\\n '--filter-has-learnings[Select only items that have learnings]' \\\\\n '--filter-no-learnings[Select only items with no learnings]' \\\\\n '--filter-has-files[Select only items that have linked files]' \\\\\n '--filter-no-files[Select only items with no linked files]' \\\\\n '--filter-has-docs[Select only items that have linked docs]' \\\\\n '--filter-no-docs[Select only items with no linked docs]' \\\\\n '--filter-has-tests[Select only items that have linked tests]' \\\\\n '--filter-no-tests[Select only items with no linked tests]' \\\\\n '--filter-has-comments[Select only items that have comments]' \\\\\n '--filter-no-comments[Select only items with no comments]' \\\\\n '--filter-has-deps[Select only items that have dependencies]' \\\\\n '--filter-no-deps[Select only items with no dependencies]' \\\\\n '--filter-has-body[Select only items with non-empty body]' \\\\\n '--filter-empty-body[Select only items with empty body]' \\\\\n '--filter-has-linked-command[Select only items that have a linked command]' \\\\\n '--filter-no-linked-command[Select only items with no linked command]' \\\\\n '--ids[Explicit comma-separated ID allowlist]:ids' \\\\\n '--limit[Limit matched item count]:number' \\\\\n '--offset[Skip first n matched rows]:number' \\\\\n '--dry-run[Preview updates without mutating]' \\\\\n '--rollback[Rollback checkpoint ID]:checkpoint_id' \\\\\n '--no-checkpoint[Disable checkpoint creation during apply mode]' \\\\\n '(-t --title)'{-t,--title}'[Item title]:title' \\\\\n '(-d --description)'{-d,--description}'[Item description]:description' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '--type[Item type]:(${typeChoices})' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '--add-tags[Add tags additively without replacing existing]:tags' \\\\\n '--remove-tags[Remove tags from the existing list]:tags' \\\\\n '--deadline[Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)]:deadline' \\\\\n '--estimate[Estimated minutes]:minutes' \\\\\n '--acceptance-criteria[Acceptance criteria]:criteria' \\\\\n '--definition-of-ready[Definition of ready]:definition_of_ready' \\\\\n '--order[Planning order/rank]:order' \\\\\n '--goal[Goal identifier]:goal' \\\\\n '--objective[Objective identifier]:objective' \\\\\n '--value[Business value summary]:value' \\\\\n '--impact[Business impact summary]:impact' \\\\\n '--outcome[Expected outcome summary]:outcome' \\\\\n '--why-now[Why-now rationale]:why_now' \\\\\n '--reviewer[Reviewer]:reviewer' \\\\\n '--risk[Risk level]:risk' \\\\\n '--confidence[Confidence level]:confidence' \\\\\n '--sprint[Sprint identifier]:sprint' \\\\\n '--release[Release identifier]:release' \\\\\n '--reporter[Issue reporter]:reporter' \\\\\n '--severity[Issue severity]:severity' \\\\\n '--environment[Issue environment context]:environment' \\\\\n '--repro-steps[Issue reproduction steps]:repro_steps' \\\\\n '--resolution[Issue resolution summary]:resolution' \\\\\n '--expected-result[Issue expected behavior]:expected_result' \\\\\n '--actual-result[Issue observed behavior]:actual_result' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--affected-version[Affected version identifier]:affected_version' \\\\\n '--fixed-version[Fixed version identifier]:fixed_version' \\\\\n '--component[Issue component ownership]:component' \\\\\n '--regression[Regression marker true|false|1|0]:regression' \\\\\n '--customer-impact[Customer impact summary]:customer_impact' \\\\\n '--dep[Dependency seed id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>]:dep' \\\\\n '--dep-remove[Dependency removal selector id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>]:dep_remove' \\\\\n '--replace-deps[Atomically replace dependencies with provided --dep values]' \\\\\n '--replace-tests[Atomically replace linked tests with provided --test values]' \\\\\n '--comment[Comment seed author=<value>,created_at=<iso|now>,text=<value>]:comment' \\\\\n '--note[Note seed author=<value>,created_at=<iso|now>,text=<value>]:note' \\\\\n '--learning[Learning seed author=<value>,created_at=<iso|now>,text=<value>]:learning' \\\\\n '--file[Linked file path=<value>,scope=<project|global>,note=<text>]:file' \\\\\n '--test[Linked test command=<value>,path=<value>,scope=<project|global>]:test' \\\\\n '--doc[Linked doc path=<value>,scope=<project|global>,note=<text>]:doc' \\\\\n '--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\\\\n '--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\\\\n '--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\\\\n '--unset[Clear scalar metadata field by name]:field' \\\\\n '--clear-deps[Clear dependency entries]' \\\\\n '--clear-comments[Clear comments]' \\\\\n '--clear-notes[Clear notes]' \\\\\n '--clear-learnings[Clear learnings]' \\\\\n '--clear-files[Clear linked files]' \\\\\n '--clear-tests[Clear linked tests]' \\\\\n '--clear-docs[Clear linked docs]' \\\\\n '--clear-reminders[Clear reminders]' \\\\\n '--clear-events[Clear events]' \\\\\n '--clear-type-options[Clear type options]' \\\\\n${zshUpdateManyRuntimeFieldFlags} '--allow-audit-update[Allow non-owner metadata-only audit updates without requiring --force]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n close-many)\n _arguments \\\\\n '--filter-status[Filter by status before closing]:(${statusChoices})' \\\\\n '--filter-type[Filter by type before closing]:(${typeChoices})' \\\\\n '--filter-tag[Filter by tag before closing]:(${zshTagChoices})' \\\\\n '--filter-priority[Filter by priority before closing]:(0 1 2 3 4)' \\\\\n '--filter-deadline-before[Filter by deadline upper bound]:deadline' \\\\\n '--filter-deadline-after[Filter by deadline lower bound]:deadline' \\\\\n '--filter-updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-before[Filter by created_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-assignee[Filter by assignee before closing]:assignee' \\\\\n '--filter-assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--filter-parent[Filter by parent item ID]:parent' \\\\\n '--filter-sprint[Filter by sprint]:sprint' \\\\\n '--filter-release[Filter by release]:release' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--filter-has-notes[Select only items that have notes]' \\\\\n '--filter-no-notes[Select only items with no notes]' \\\\\n '--filter-has-learnings[Select only items that have learnings]' \\\\\n '--filter-no-learnings[Select only items with no learnings]' \\\\\n '--filter-has-files[Select only items that have linked files]' \\\\\n '--filter-no-files[Select only items with no linked files]' \\\\\n '--filter-has-docs[Select only items that have linked docs]' \\\\\n '--filter-no-docs[Select only items with no linked docs]' \\\\\n '--filter-has-tests[Select only items that have linked tests]' \\\\\n '--filter-no-tests[Select only items with no linked tests]' \\\\\n '--filter-has-comments[Select only items that have comments]' \\\\\n '--filter-no-comments[Select only items with no comments]' \\\\\n '--filter-has-deps[Select only items that have dependencies]' \\\\\n '--filter-no-deps[Select only items with no dependencies]' \\\\\n '--filter-has-body[Select only items with non-empty body]' \\\\\n '--filter-empty-body[Select only items with empty body]' \\\\\n '--filter-has-linked-command[Select only items that have a linked command]' \\\\\n '--filter-no-linked-command[Select only items with no linked command]' \\\\\n '--ids[Explicit comma-separated ID allowlist]:ids' \\\\\n '--limit[Limit matched item count]:number' \\\\\n '--offset[Skip first n matched rows]:number' \\\\\n '--reason[Optional shared close reason applied to every matched item]:reason' \\\\\n '--resolution[Shared closure resolution]:resolution' \\\\\n '--expected-result[Shared expected-result note]:expected_result' \\\\\n '--actual-result[Shared actual-result note]:actual_result' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--validate-close[Validate closure metadata per item]:(off warn strict)' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Re-close terminal matches and override ownership]' \\\\\n '--dry-run[Preview matched items without mutating]' \\\\\n '--rollback[Rollback checkpoint ID]:checkpoint_id' \\\\\n '--no-checkpoint[Disable checkpoint creation during apply mode]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n normalize)\n _arguments \\\\\n '--filter-status[Filter by status before planning or apply]:(${statusChoices})' \\\\\n '--filter-type[Filter by type before planning or apply]:(${typeChoices})' \\\\\n '--filter-tag[Filter by tag before planning or apply]:(${zshTagChoices})' \\\\\n '--filter-priority[Filter by priority before planning or apply]:(0 1 2 3 4)' \\\\\n '--filter-deadline-before[Filter by deadline upper bound]:deadline' \\\\\n '--filter-deadline-after[Filter by deadline lower bound]:deadline' \\\\\n '--filter-assignee[Filter by assignee before planning or apply]:assignee' \\\\\n '--filter-assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--filter-parent[Filter by parent item ID]:parent' \\\\\n '--filter-sprint[Filter by sprint]:sprint' \\\\\n '--filter-release[Filter by release]:release' \\\\\n '--limit[Limit matched item count]:number' \\\\\n '--offset[Skip first n matched rows]:number' \\\\\n '--dry-run[Preview normalize findings without mutating]' \\\\\n '--apply[Apply normalize changes]' \\\\\n '--allow-audit-update[Allow non-owner metadata-only audit updates without requiring --force]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n calendar|cal)\n _arguments \\\\\n '--view[Calendar view]:(agenda day week month)' \\\\\n '--date[Anchor date/time (ISO/date string or relative)]:date' \\\\\n '--from[Agenda lower bound (ISO/date string or relative)]:date' \\\\\n '--to[Agenda upper bound (ISO/date string or relative)]:date' \\\\\n '--past[Include past entries]' \\\\\n '--full-period[Include full anchored day/week/month period]' \\\\\n '--type[Filter by type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--status[Filter by status]:(${statusChoices})' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n${zshCalendarRuntimeFieldFlags} '--include[Include event sources]:(all deadlines reminders events scheduled)' \\\\\n '--recurrence-lookahead-days[Bound open-ended recurrence lookahead]:days' \\\\\n '--recurrence-lookback-days[Bound open-ended recurrence lookback]:days' \\\\\n '--occurrence-limit[Cap occurrences per recurring event]:number' \\\\\n '--limit[Limit returned events]:number' \\\\\n '--format[Output override]:(markdown toon json)' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n context|ctx)\n _arguments \\\\\n '--date[Anchor date/time (ISO/date string or relative)]:date' \\\\\n '--from[Agenda lower bound (ISO/date string or relative)]:date' \\\\\n '--to[Agenda upper bound (ISO/date string or relative)]:date' \\\\\n '--past[Include past entries in bounded windows]' \\\\\n '--type[Filter by type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--parent[Scope snapshot to one item subtree]:id' \\\\\n '--limit[Limit focus and agenda rows per section]:number' \\\\\n '--depth[Context depth]:(brief standard deep full)' \\\\\n '--format[Output override]:(markdown toon json)' \\\\\n${zshContextRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n guide)\n _arguments \\\\\n '1:topic:(${guideTopicChoices})' \\\\\n '--list[Show guide topic index]' \\\\\n '--format[Output override]:(markdown toon json)' \\\\\n '--depth[Guide detail depth]:(brief standard deep)' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n search)\n _arguments \\\\\n '--mode[Search mode]:(keyword semantic hybrid)' \\\\\n '--match-mode[Token match mode]:(and or exact)' \\\\\n '--min-score[Per-query minimum score threshold]:number' \\\\\n '--count[Return only the match count]' \\\\\n '--include-linked[Include linked content in scoring]' \\\\\n '--highlight[Emit per-field matched-text snippets on each hit]' \\\\\n '--limit[Max results]:number' \\\\\n '--status[Filter by status (open/closed/canceled, csv)]:(${statusChoices})' \\\\\n '--type[Filter by type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--tags[Alias for --tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--updated-after[Filter by updated_at lower bound]:value' \\\\\n '--updated-before[Filter by updated_at upper bound]:value' \\\\\n '--created-after[Filter by created_at lower bound]:value' \\\\\n '--created-before[Filter by created_at upper bound]:value' \\\\\n '--assignee[Filter by assignee]:value' \\\\\n '--sprint[Filter by sprint]:value' \\\\\n '--release[Filter by release]:value' \\\\\n '--parent[Filter by parent item ID]:value' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--has-notes[Select only items that have notes]' \\\\\n '--no-notes[Select only items with no notes]' \\\\\n '--has-learnings[Select only items that have learnings]' \\\\\n '--no-learnings[Select only items with no learnings]' \\\\\n '--has-files[Select only items that have linked files]' \\\\\n '--no-files[Select only items with no linked files]' \\\\\n '--has-docs[Select only items that have linked docs]' \\\\\n '--no-docs[Select only items with no linked docs]' \\\\\n '--has-tests[Select only items that have linked tests]' \\\\\n '--no-tests[Select only items with no linked tests]' \\\\\n '--has-comments[Select only items that have comments]' \\\\\n '--no-comments[Select only items with no comments]' \\\\\n '--has-deps[Select only items that have dependencies]' \\\\\n '--no-deps[Select only items with no dependencies]' \\\\\n '--has-body[Select only items with non-empty body]' \\\\\n '--empty-body[Select only items with empty body]' \\\\\n '--has-linked-command[Select only items that have a linked command]' \\\\\n '--no-linked-command[Select only items with no linked command]' \\\\\n${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n reindex)\n _arguments \\\\\n '--mode[Reindex mode]:(keyword semantic hybrid)' \\\\\n '--progress[Emit progress updates to stderr]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history)\n _arguments \\\\\n '--limit[Max entries]:number' \\\\\n '--compact[Condensed history projection]' \\\\\n '--full[Show full history entries]' \\\\\n '--diff[Include per-entry field-level before/after value diffs]' \\\\\n '--field[With --diff, show only entries that changed this field]:field' \\\\\n '--verify[Verify history hash chain and replay integrity]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history-compact)\n _arguments \\\\\n '--before[Compact entries strictly before this version number or ISO timestamp]:before' \\\\\n '--ids[Bulk: compact an explicit comma-separated list of item ids]:ids' \\\\\n '--all-over[Bulk: compact every stream with more than N entries]:all-over' \\\\\n '--closed[Bulk: compact only closed (terminal) items streams]' \\\\\n '--all-streams[Bulk: compact every history stream regardless of lifecycle state]' \\\\\n '--min-entries[Bulk: skip streams with at most N entries]:min-entries' \\\\\n '--dry-run[Preview compaction impact without writing the history file]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Audit history message]:message' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n get)\n _arguments \\\\\n '--depth[Detail depth]:(brief standard deep full)' \\\\\n '--full[Explicit full item read]' \\\\\n '--fields[Render custom comma-separated item fields]:fields' \\\\\n '--tree[Include descendant subtree in result payload]' \\\\\n '--tree-depth[Cap subtree depth for --tree (0 = root only)]:number' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history-redact)\n _arguments \\\\\n '--literal[Literal string matcher to redact from history/item payloads]:literal' \\\\\n '--regex[Regex matcher to redact (/pattern/flags or raw pattern)]:regex' \\\\\n '--replacement[Replacement text (defaults to [redacted])]:replacement' \\\\\n '--dry-run[Preview redaction impact without writing files]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Audit history message]:message' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history-repair)\n _arguments \\\\\n '--all[Repair every drifted stream in one audited pass]' \\\\\n '--dry-run[Preview the re-anchor impact without writing the history file]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Audit history message]:message' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n schema)\n _arguments \\\\\n '1:subcommand:(list show show-status add-type remove-type add-status remove-status add-field remove-field list-fields show-field apply-preset)' \\\\\n '--description[Human description for the custom item type, status, or field]:text' \\\\\n '--default-status[Default status hint for the custom item type]:status' \\\\\n '--folder[Storage folder for items of this custom type]:dir' \\\\\n '--alias[Alias for the custom type, status, or field flag (repeatable)]:name' \\\\\n '--role[Lifecycle role for a custom status (repeatable)]:role' \\\\\n '--order[Display/sort order for a custom status]:n' \\\\\n '--type[Value type for a custom field]:type:(string number boolean string_array)' \\\\\n '--commands[Commands a custom field is wired onto (repeatable)]:commands' \\\\\n '--cli-flag[Override the auto-derived CLI flag for a custom field]:flag' \\\\\n '--required[Mark a custom field as always required]' \\\\\n '--required-on-create[Mark a custom field as required at create time]' \\\\\n '--no-allow-unset[Disallow clearing a custom field via --unset]' \\\\\n '--required-types[Restrict a custom field requirement to specific item types (repeatable)]:types' \\\\\n '--infer[Infer item types from title-prefix conventions (add-type)]' \\\\\n '--min-count[Minimum items sharing a prefix for --infer]:n' \\\\\n '--apply[Register inferred types (with --infer)]' \\\\\n '--author[Mutation author]:author' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n plan)\n _arguments \\\\\n '1:subcommand:(create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize)' \\\\\n '--title[Plan title]:title' \\\\\n '--scope[Plan scope statement]:scope' \\\\\n '--harness[Plan harness provenance]:harness:(codex claude-code cursor generic)' \\\\\n '--mode[Plan mode]:mode:(draft research review approved executing paused completed superseded)' \\\\\n '--resume-context[Resume context summary]:text' \\\\\n '--step-title[Step title]:title' \\\\\n '*--step[Step title (repeatable on create)]:title' \\\\\n '--step-status[Step status]:status:(pending in_progress completed blocked skipped superseded)' \\\\\n '--step-evidence[Step evidence]:text' \\\\\n '--depends-on[Pm item id step depends on]:id' \\\\\n '--link[Pm item id to link]:id' \\\\\n '--link-kind[Link kind]:kind:(related blocks blocked_by depends_on discovered_from implements verifies supersedes)' \\\\\n '--depth[Show depth]:depth:(brief standard deep)' \\\\\n '--steps[Step ids/orders for materialize]:steps' \\\\\n '--materialize-type[Item type for materialized steps]:type' \\\\\n '--allow-multiple-active[Allow multiple in_progress steps]' \\\\\n '--promote-to-item-dep[Also add link as top-level item dependency]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Mutation message]:message' \\\\\n '--force[Force ownership override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n activity)\n _arguments \\\\\n '--id[Filter by item ID]:id' \\\\\n '--op[Filter by history operation]:op' \\\\\n '--author[Filter by history author]:author' \\\\\n '--from[Lower timestamp bound (ISO/date string or relative)]:date' \\\\\n '--to[Upper timestamp bound (ISO/date string or relative)]:date' \\\\\n '--limit[Max entries]:number' \\\\\n '--compact[Condensed activity projection]' \\\\\n '--full[Show full activity entries]' \\\\\n '--stream[Emit line-delimited JSON rows]:mode' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n contracts)\n _arguments \\\\\n '--action[Filter schema by tool action]:action' \\\\\n '--command[Scope output to one command (narrow-by-default)]:command' \\\\\n '--schema-only[Return schema-only payload]' \\\\\n '--flags-only[Return command flag contracts only]' \\\\\n '--availability-only[Return action availability only]' \\\\\n '--runtime-only[Include only actions invocable in the current runtime]' \\\\\n '--active-only[Alias for --runtime-only]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n gc)\n _arguments \\\\\n '--dry-run[Preview cleanup targets without deleting files]' \\\\\n '--scope[Limit cleanup to one or more scopes: index, embeddings, runtime, locks, checkpoints]:scope' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n stats)\n _arguments \\\\\n '--storage[Include aggregate history-stream storage metrics]' \\\\\n '--metadata-coverage[Include metadata coverage percentages overall and by type]' \\\\\n '--field-utilization[Include content-field utilization rates across all items]' \\\\\n '--by-assignee[Lifecycle-bucketed breakdown grouped by assignee]' \\\\\n '--by-tag[Lifecycle-bucketed breakdown grouped by tag]' \\\\\n '--by-priority[Lifecycle-bucketed breakdown grouped by priority]' \\\\\n '--tag-prefix[With --by-tag: only count tags with this prefix]:prefix' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n comments)\n _arguments \\\\\n '--add[Add one entry (plain text, text=<value>, markdown pairs, or - for stdin)]:text' \\\\\n '--stdin[Read comment text from stdin (supports multiline markdown)]' \\\\\n '--file[Read comment text from file (supports multiline markdown)]:path' \\\\\n '--edit[Replace the comment at 1-based index (text from positional/--add/--stdin/--file)]:index' \\\\\n '--delete[Delete the comment at 1-based index]:index' \\\\\n '--limit[Return only latest n entries]:number' \\\\\n '--author[Entry author (falls back to PM_AUTHOR/settings)]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-comment[Allow non-owner append-only comment audits without requiring --force]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n notes)\n _arguments \\\\\n '--add[Add one entry (plain text, text=<value>, markdown pairs, or - for stdin)]:text' \\\\\n '--limit[Return only latest n entries]:number' \\\\\n '--author[Entry author (falls back to PM_AUTHOR/settings)]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-note[Allow non-owner append-only note audits without requiring --force]' \\\\\n '--allow-audit-comment[Backward-compatible alias for --allow-audit-note]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n learnings)\n _arguments \\\\\n '--add[Add one entry (plain text, text=<value>, markdown pairs, or - for stdin)]:text' \\\\\n '--limit[Return only latest n entries]:number' \\\\\n '--author[Entry author (falls back to PM_AUTHOR/settings)]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-learning[Allow non-owner append-only learning audits without requiring --force]' \\\\\n '--allow-audit-comment[Backward-compatible alias for --allow-audit-learning]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n deps)\n _arguments \\\\\n '--format[Output format]:(tree graph)' \\\\\n '--max-depth[Maximum traversal depth (0 keeps root only)]:depth' \\\\\n '--collapse[Collapse mode]:(none repeated)' \\\\\n '--summary[Return counts only without tree/graph payload]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n test)\n _arguments \\\\\n '--add[Add linked test entry]:entry' \\\\\n '--add-json[Add linked test entry from JSON object/array]:json' \\\\\n '--remove[Remove linked test entry by command/path]:entry' \\\\\n '--list[List linked tests without mutating]' \\\\\n '--run[Run linked tests]' \\\\\n '--match[Run linked tests whose command/path contains substring]:substring' \\\\\n '--only-index[Run one linked test by 1-based index]:number' \\\\\n '--only-last[Run the most recently added linked test]' \\\\\n '--background[Run linked tests in managed background mode]' \\\\\n '--timeout[Default timeout seconds]:seconds' \\\\\n '--progress[Emit linked-test progress to stderr]' \\\\\n '--env-set[Set linked-test runtime environment values]:entry' \\\\\n '--env-clear[Clear linked-test runtime environment values]:name' \\\\\n '--shared-host-safe[Apply shared-host-safe runtime defaults]' \\\\\n '--pm-context[PM linked-test context mode]:(schema tracker auto)' \\\\\n '--override-linked-pm-context[Force run-level --pm-context over per-linked-test pm_context_mode metadata]' \\\\\n '--fail-on-context-mismatch[Fail when context item counts mismatch]' \\\\\n '--fail-on-skipped[Treat skipped linked tests as dependency failures]' \\\\\n '--fail-on-empty-test-run[Treat empty linked-test selections as failures]' \\\\\n '--require-assertions-for-pm[Require assertions for linked PM command tests]' \\\\\n '--check-context[Preflight linked PM command context diagnostics before execution]' \\\\\n '--auto-pm-context[Auto-remediate tracker-read context mismatches using tracker context]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n test-all)\n _arguments \\\\\n '--status[Filter by status]:(open in_progress)' \\\\\n '--limit[Limit matching items before running linked tests]:number' \\\\\n '--offset[Skip matching items before running linked tests]:number' \\\\\n '--background[Run linked tests in managed background mode]' \\\\\n '--timeout[Default timeout seconds]:seconds' \\\\\n '--progress[Emit linked-test progress to stderr]' \\\\\n '--env-set[Set linked-test runtime environment values]:entry' \\\\\n '--env-clear[Clear linked-test runtime environment values]:name' \\\\\n '--shared-host-safe[Apply shared-host-safe runtime defaults]' \\\\\n '--pm-context[PM linked-test context mode]:(schema tracker auto)' \\\\\n '--override-linked-pm-context[Force run-level --pm-context over per-linked-test pm_context_mode metadata]' \\\\\n '--fail-on-context-mismatch[Fail when context item counts mismatch]' \\\\\n '--fail-on-skipped[Treat skipped linked tests as dependency failures]' \\\\\n '--fail-on-empty-test-run[Treat empty linked-test selections as failures]' \\\\\n '--require-assertions-for-pm[Require assertions for linked PM command tests]' \\\\\n '--check-context[Preflight linked PM command context diagnostics before execution]' \\\\\n '--auto-pm-context[Auto-remediate tracker-read context mismatches using tracker context]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n test-runs)\n _arguments \\\\\n '1:subcommand:(list status logs stop resume)' \\\\\n '--status[Filter by background run status]:status:(queued running passed failed stopped canceled)' \\\\\n '--limit[Limit returned runs]:number' \\\\\n '--stream[Background log stream]:stream:(stdout stderr both)' \\\\\n '--tail[Tail number of lines]:number' \\\\\n '--force[Force stop with SIGKILL]' \\\\\n '--author[Resume author]:author' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n init)\n _arguments \\\\\n '--preset[Governance preset for new setups]:preset:(minimal default strict)' \\\\\n '--defaults[Use non-interactive setup defaults]' \\\\\n '-y[Alias for --defaults]' \\\\\n '--yes[Alias for --defaults]' \\\\\n '--author[Set the default mutation author for this project]:author' \\\\\n '--agent-guidance[Agent guidance mode]:mode:(ask add skip status)' \\\\\n '--type-preset[Register domain item types]:type-preset:(agile ops research)' \\\\\n '--with-packages[Install bundled first-party packages during initialization]' \\\\\n '--verbose[Include the full resolved settings tree in init output]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n init)\n _arguments \\\\\n '--preset[Governance preset for new setups]:preset:(minimal default strict)' \\\\\n '--defaults[Use non-interactive setup defaults]' \\\\\n '-y[Alias for --defaults]' \\\\\n '--yes[Alias for --defaults]' \\\\\n '--author[Set the default mutation author for this project]:author' \\\\\n '--agent-guidance[Agent guidance mode]:mode:(ask add skip status)' \\\\\n '--type-preset[Register domain item types]:type-preset:(agile ops research)' \\\\\n '--with-packages[Install bundled first-party packages during initialization]' \\\\\n '--verbose[Include the full resolved settings tree in init output]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n config)\n _arguments \\\\\n '--criterion[Criteria value for definition-of-done metadata-required-fields or lifecycle pattern keys (repeatable for set)]:criterion' \\\\\n '--clear-criteria[Clear config criteria-list key values]' \\\\\n '--format[Item format for item-format key]:format:(toon)' \\\\\n '--policy[Policy value for supported policy keys]:policy' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n close)\n _arguments \\\\\n '--reason[Closure reason]:reason' \\\\\n '--close-reason[Alias for --reason]:close_reason' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--validate-close[Validate closure metadata mode]:(off warn strict)' \\\\\n '--resolution[Closure resolution summary]:resolution' \\\\\n '--expected-result[Expected behavior note]:expected_result' \\\\\n '--actual-result[Observed behavior note]:actual_result' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n claim)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n release)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-release[Allow non-owner release handoffs without requiring --force]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n delete)\n _arguments \\\\\n '--dry-run[Preview the item file that would be deleted without mutating]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n start-task|pause-task)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n close-task)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--validate-close[Validate closure metadata mode]:(off warn strict)' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n validate)\n _arguments \\\\\n '--check-metadata[Run metadata completeness checks]' \\\\\n '--metadata-profile[Select metadata validation profile for --check-metadata]:(core strict custom)' \\\\\n '--check-resolution[Run closed-item resolution metadata checks]' \\\\\n '--check-lifecycle[Run active-item lifecycle governance drift checks]' \\\\\n '--check-stale-blockers[Include stale blocker-pattern diagnostics in lifecycle checks]' \\\\\n '--dependency-cycle-severity[Set dependency-cycle warning policy for lifecycle checks]:(off warn error)' \\\\\n '--parent-cycle-severity[Set parent-hierarchy cycle warning policy for lifecycle checks]:(off warn error)' \\\\\n '--check-files[Run linked-file and orphaned-file checks]' \\\\\n '--scan-mode[Select file candidate scan mode for --check-files]:(default tracked-all tracked-all-strict)' \\\\\n '--include-pm-internals[Include PM storage internals in tracked-all candidate scans]' \\\\\n '--verbose-file-lists[Include full file-path lists for validate --check-files details]' \\\\\n '--verbose-diagnostics[Include full validate diagnostic ID lists instead of compact summaries]' \\\\\n '--all-affected-ids[Emit complete missing_* affected-ID lists with no truncation (implied by --json)]' \\\\\n '--strict-exit[Return non-zero exit when validation warnings are present]' \\\\\n '--fail-on-warn[Alias for --strict-exit]' \\\\\n '--fix-hints[Add a machine-executable fix_hints[] of pm commands to each failing check]' \\\\\n '--auto-fix[Apply the safe, deterministic subset of fix-hint remediations automatically]' \\\\\n '--dry-run[Preview planned --auto-fix/--prune-missing fixes without applying them]' \\\\\n '--fix-scope[Grant --auto-fix scopes (estimates/lifecycle must be named explicitly)]:(metadata resolution estimates lifecycle)' \\\\\n '--prune-missing[Remove stale linked-file/doc links classified as deleted]' \\\\\n '--check-history-drift[Run item/history hash drift checks]' \\\\\n '--check-command-references[Run linked-command PM-ID reference checks]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n health)\n _arguments \\\\\n '--strict-directories[Treat optional item-type directories as required failures]' \\\\\n '--check-only[Run read-only health diagnostics without refreshing vectors]' \\\\\n '--no-refresh[Disable automatic vector refresh attempts during health checks]' \\\\\n '--refresh-vectors[Explicitly enable vector refresh attempts during health checks]' \\\\\n '--verbose-stale-items[Include full stale vectorization ID lists in health output]' \\\\\n '--brief[Emit compact health details for low-token agent checks]' \\\\\n '--summary[Emit one-line-style health status with check names and warning count]' \\\\\n '--strict-exit[Return non-zero exit when health warnings are present]' \\\\\n '--fail-on-warn[Alias for --strict-exit]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n comments-audit)\n _arguments \\\\\n '--status[Filter by item status]:status:(${statusChoices})' \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--parent[Filter by parent item ID]:parent_id' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--limit-items[Limit returned item count]:number' \\\\\n '--limit[Alias for --limit-items]:number' \\\\\n '--full-history[Export full comment history rows (cannot be combined with --latest)]' \\\\\n '--latest[Return latest n comments per item (0 for summary-only rows)]:number' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n extension)\n _arguments \\\\\n '1:extension_action:(init scaffold install uninstall explore manage describe reload doctor adopt adopt-all activate deactivate)' \\\\\n '--init[Generate a starter extension scaffold at target path]' \\\\\n '--scaffold[Alias for --init]' \\\\\n '--capability[Capability the init scaffold targets]:capability:(commands hooks search importers)' \\\\\n '--install[Install extension from local path or GitHub source]' \\\\\n '--uninstall[Uninstall extension by name]' \\\\\n '--explore[List discovered extensions for selected scope]' \\\\\n '--manage[List managed extensions with update metadata]' \\\\\n '--describe[Map every surface a loaded extension registers]' \\\\\n '--reload[Reload extensions with cache-busted module imports]' \\\\\n '--watch[Enable watch mode with --reload]' \\\\\n '--doctor[Run consolidated extension diagnostics (summary/deep)]' \\\\\n '--adopt[Adopt an unmanaged extension into managed metadata]' \\\\\n '--adopt-all[Adopt all unmanaged extensions into managed metadata]' \\\\\n '--activate[Activate extension in selected scope settings]' \\\\\n '--deactivate[Deactivate extension in selected scope settings]' \\\\\n '--project[Use project extension scope (default)]' \\\\\n '--local[Alias for --project]' \\\\\n '--global[Use global extension scope]' \\\\\n '--gh[Install from GitHub shorthand owner/repo/path]:github_spec' \\\\\n '--github[Alias for --gh]:github_spec' \\\\\n '--ref[Git ref/branch/tag for GitHub source]:git_ref' \\\\\n '--detail[Detail mode for extension diagnostics]:detail_mode:(summary deep)' \\\\\n '--trace[Include registration traces in doctor deep diagnostics]' \\\\\n '--runtime-probe[Opt-in runtime activation probe for manage output]' \\\\\n '--fix-managed-state[Adopt unmanaged extensions before diagnostics/update checks]' \\\\\n '--strict-exit[Return non-zero exit when doctor warnings are present]' \\\\\n '--fail-on-warn[Alias for --strict-exit (doctor)]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]' \\\\\n '*:target_or_name:_files -/'\n ;;\n completion)\n _arguments \\\\\n '--eager-tags[Embed current tracker tags directly in script output]' \\\\\n '1:shell:(bash zsh fish)'\n ;;\n templates)\n local -a templates_cmds\n templates_cmds=('save:Save or update a create template' 'list:List saved create templates' 'show:Show saved template details')\n _describe 'templates command' templates_cmds\n ;;\n esac\n ;;\n esac\n}\n\ncompdef _pm pm`;\n}\n\n/**\n * Implements generate fish script for the public runtime surface of this module.\n */\nexport function generateFishScript(\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): string {\n const listCommandNames = ALL_COMMANDS.filter((command) => command === \"list\" || command.startsWith(\"list-\"));\n const listCmds = listCommandNames.join(\" \");\n const noSubcommandList = ALL_COMMANDS.join(\" \");\n const useDynamicTypeExpansion = itemTypes.length === 0;\n const typeFallbackChoices = completionTypeValues(itemTypes, runtime);\n const statusFallbackChoices = completionStatusValues(runtime);\n const typeChoices = useDynamicTypeExpansion ? \"(__pm_type_choices)\" : typeFallbackChoices;\n const statusChoices = \"(__pm_status_choices)\";\n const guideTopicChoices = GUIDE_TOPIC_CHOICES;\n const tagChoices = joinCompletionValues(tags);\n const useEagerTagExpansion = eagerTagExpansion || tags.length > 0;\n const fishTagChoices = useEagerTagExpansion ? `'${tagChoices}'` : \"'(__pm_tag_choices)'\";\n const fishListRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs(listCommandNames, runtime.command_flags?.list);\n const fishCreateRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"create\"], runtime.command_flags?.create);\n const fishUpdateRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"update\"], runtime.command_flags?.update);\n const fishUpdateManyRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"update-many\"], runtime.command_flags?.[\"update-many\"]);\n const fishSearchRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"search\"], runtime.command_flags?.search);\n const fishCalendarRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"calendar\", \"cal\"], runtime.command_flags?.calendar);\n const fishContextRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"context\", \"ctx\"], runtime.command_flags?.context);\n const dynamicTagResolver = useEagerTagExpansion\n ? \"\"\n : `\nfunction __pm_tag_choices\n set -l now (date +%s ^/dev/null)\n if test -z \"$now\"\n set now 0\n end\n set -l ttl 120\n if set -q PM_COMPLETION_TAG_TTL\n set ttl $PM_COMPLETION_TAG_TTL\n end\n if set -q PM_COMPLETION_TAG_CACHE; and set -q PM_COMPLETION_TAG_CACHE_TS\n set -l age (math \"$now - $PM_COMPLETION_TAG_CACHE_TS\")\n if test $age -lt $ttl\n printf '%s\\n' $PM_COMPLETION_TAG_CACHE\n return\n end\n end\n set -l resolved (pm completion-tags ^/dev/null)\n set -gx PM_COMPLETION_TAG_CACHE $resolved\n set -gx PM_COMPLETION_TAG_CACHE_TS $now\n printf '%s\\n' $resolved\nend\n`;\n return `# Fish shell completion for pm\n# Save to ~/.config/fish/completions/pm.fish\n# or run: pm completion fish > ~/.config/fish/completions/pm.fish\n\n# Disable file completion by default\ncomplete -c pm -f\n\n# Global flags (available for all subcommands)\ncomplete -c pm -l json -d 'Output JSON instead of TOON'\ncomplete -c pm -l quiet -d 'Suppress stdout output'\ncomplete -c pm -l no-changed-fields -d 'Omit changed_fields array from mutation output'\ncomplete -c pm -l id-only -d 'Print only id and status for single-item mutation output'\ncomplete -c pm -l pm-path -d 'Explicit tracker storage path for this command' -r\ncomplete -c pm -l path -d 'Override PM path for this command' -r\ncomplete -c pm -l no-extensions -d 'Disable extension loading'\ncomplete -c pm -l profile -d 'Print deterministic timing diagnostics'\ncomplete -c pm -s V -l version -d 'Output the version number'\ncomplete -c pm -s h -l help -d 'Display help'\n\n# Helper: true when no subcommand has been given yet\nfunction __pm_no_subcommand\n not __fish_seen_subcommand_from ${noSubcommandList}\nend\n${dynamicTagResolver}\n${useDynamicTypeExpansion ? renderFishDynamicChoiceResolver(\"type\", \"completion-types\", typeFallbackChoices) : \"\"}\n${renderFishDynamicChoiceResolver(\"status\", \"completion-statuses\", statusFallbackChoices)}\n\n# Subcommands\ncomplete -c pm -n __pm_no_subcommand -a init -d 'Initialize pm storage for the current workspace'\ncomplete -c pm -n __pm_no_subcommand -a config -d 'Read or update pm settings'\ncomplete -c pm -n __pm_no_subcommand -a extension -d 'Manage extension lifecycle operations'\ncomplete -c pm -n __pm_no_subcommand -a create -d 'Create a new project management item'\ncomplete -c pm -n __pm_no_subcommand -a copy -d 'Copy an existing item to a new ID'\ncomplete -c pm -n __pm_no_subcommand -a focus -d 'Set/clear/show the session focused parent for new items'\ncomplete -c pm -n __pm_no_subcommand -a list -d 'List active items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-all -d 'List all items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-draft -d 'List draft items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-open -d 'List open items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-in-progress -d 'List in-progress items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-blocked -d 'List blocked items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-closed -d 'List closed items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-canceled -d 'List canceled items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a aggregate -d 'Aggregate grouped item counts and numeric stats for governance queries'\ncomplete -c pm -n __pm_no_subcommand -a dedupe-audit -d 'Audit potential duplicate items and emit merge suggestions'\ncomplete -c pm -n __pm_no_subcommand -a guide -d 'Browse local progressive-disclosure guides'\ncomplete -c pm -n __pm_no_subcommand -a calendar -d 'Show deadline/reminder calendar views'\ncomplete -c pm -n __pm_no_subcommand -a cal -d 'Alias for calendar'\ncomplete -c pm -n __pm_no_subcommand -a context -d 'Show a token-efficient project context snapshot'\ncomplete -c pm -n __pm_no_subcommand -a ctx -d 'Alias for context'\ncomplete -c pm -n __pm_no_subcommand -a get -d 'Show item details by ID'\ncomplete -c pm -n __pm_no_subcommand -a search -d 'Search items with keyword, semantic, or hybrid modes'\ncomplete -c pm -n __pm_no_subcommand -a reindex -d 'Rebuild search artifacts'\ncomplete -c pm -n __pm_no_subcommand -a history -d 'Show item history entries'\ncomplete -c pm -n __pm_no_subcommand -a history-compact -d 'Compact history streams into a synthetic baseline + retained tail'\ncomplete -c pm -n __pm_no_subcommand -a history-redact -d 'Redact sensitive literals/patterns and recompute history hashes'\ncomplete -c pm -n __pm_no_subcommand -a history-repair -d 'Re-anchor a drifted history chain so pm health/validate report ok'\ncomplete -c pm -n __pm_no_subcommand -a schema -d 'Inspect and manage runtime schema'\ncomplete -c pm -n __pm_no_subcommand -a plan -d 'Agent-optimized Plan workflow (create/show/add-step/update-step/complete-step/link/approve/materialize)'\ncomplete -c pm -n __pm_no_subcommand -a activity -d 'Show recent activity across items'\ncomplete -c pm -n __pm_no_subcommand -a restore -d 'Restore an item to an earlier state'\ncomplete -c pm -n __pm_no_subcommand -a update -d 'Update item fields and metadata'\ncomplete -c pm -n __pm_no_subcommand -a update-many -d 'Bulk-update matched items with dry-run and rollback checkpoints'\ncomplete -c pm -n __pm_no_subcommand -a normalize -d 'Normalize lifecycle metadata with dry-run planning or apply mode'\ncomplete -c pm -n __pm_no_subcommand -a close -d 'Close an item (reason requirement follows governance settings)'\ncomplete -c pm -n __pm_no_subcommand -a close-many -d 'Bulk-close matched items with an optional shared reason and rollback checkpoint'\ncomplete -c pm -n __pm_no_subcommand -a delete -d 'Delete an item and record the change'\ncomplete -c pm -n __pm_no_subcommand -a append -d 'Append text to an item body'\ncomplete -c pm -n __pm_no_subcommand -a comments -d 'List or add comments for an item'\ncomplete -c pm -n __pm_no_subcommand -a comments-audit -d 'Audit latest comments or full history across filtered items'\ncomplete -c pm -n __pm_no_subcommand -a notes -d 'List or add notes for an item'\ncomplete -c pm -n __pm_no_subcommand -a learnings -d 'List or add learnings for an item'\ncomplete -c pm -n __pm_no_subcommand -a files -d 'Manage linked files'\ncomplete -c pm -n __pm_no_subcommand -a docs -d 'Manage linked docs'\ncomplete -c pm -n __pm_no_subcommand -a deps -d 'Show dependency relationships for an item'\ncomplete -c pm -n __pm_no_subcommand -a test -d 'Manage linked tests and optionally run them'\ncomplete -c pm -n __pm_no_subcommand -a test-all -d 'Run linked tests across matching items'\ncomplete -c pm -n __pm_no_subcommand -a test-runs -d 'Manage background linked-test runs'\ncomplete -c pm -n __pm_no_subcommand -a stats -d 'Show project tracker statistics'\ncomplete -c pm -n __pm_no_subcommand -a health -d 'Show project tracker health checks'\ncomplete -c pm -n __pm_no_subcommand -a validate -d 'Run standalone validation checks'\ncomplete -c pm -n __pm_no_subcommand -a gc -d 'Clean optional cache artifacts'\ncomplete -c pm -n __pm_no_subcommand -a contracts -d 'Show machine-readable command and schema contracts'\ncomplete -c pm -n __pm_no_subcommand -a claim -d 'Claim an item for active work'\ncomplete -c pm -n __pm_no_subcommand -a release -d 'Release the active claim for an item'\ncomplete -c pm -n __pm_no_subcommand -a start-task -d 'Lifecycle alias to claim and set in-progress'\ncomplete -c pm -n __pm_no_subcommand -a pause-task -d 'Lifecycle alias to reopen and release claim'\ncomplete -c pm -n __pm_no_subcommand -a close-task -d 'Lifecycle alias to close and release claim'\ncomplete -c pm -n __pm_no_subcommand -a meet -d 'Shortcut to create a Meeting with scheduling defaults'\ncomplete -c pm -n __pm_no_subcommand -a event -d 'Shortcut to create an Event with scheduling defaults'\ncomplete -c pm -n __pm_no_subcommand -a remind -d 'Shortcut to create a Reminder from a point in time'\ncomplete -c pm -n __pm_no_subcommand -a templates -d 'Manage reusable create templates'\ncomplete -c pm -n __pm_no_subcommand -a completion -d 'Generate shell completion'\n\n# list* flags\nfor list_cmd in ${listCmds}\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l type -d 'Filter by item type' -r -a '${typeChoices}'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tags -d 'Alias for --tag' -r -a ${fishTagChoices}\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l assignee -d 'Filter by assignee' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l sprint -d 'Filter by sprint' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l release -d 'Filter by release' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l limit -d 'Limit returned item count' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l offset -d 'Skip the first n matching rows before limit' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-truncate -d 'Return every matched row, overriding --limit'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l all -d 'Alias for --no-truncate'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l include-body -d 'Include item body in each returned list row'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l compact -d 'Render compact list projection fields'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l fields -d 'Render custom comma-separated list fields' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tree -d 'Render hierarchical subtree output rooted at --parent or top-level parents'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tree-depth -d 'Cap recursion depth for --tree (0 = root only)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l sort -d 'Sort field' -r -a 'priority deadline updated_at created_at title parent'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l order -d 'Sort order (requires --sort)' -r -a 'asc desc'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l stream -d 'Emit line-delimited JSON rows (requires --json)'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l deadline-before -d 'Filter by deadline upper bound (ISO/date string or relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l deadline-after -d 'Filter by deadline lower bound (ISO/date string or relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l created-after -d 'Filter by created_at lower bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l created-before -d 'Filter by created_at upper bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-reviewer-missing -d 'Select only items missing reviewer'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-risk-missing -d 'Select only items missing risk'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-confidence-missing -d 'Select only items missing confidence'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-sprint-missing -d 'Select only items missing sprint'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-release-missing -d 'Select only items missing release'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-notes -d 'Select only items that have notes'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-notes -d 'Select only items with no notes'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-learnings -d 'Select only items that have learnings'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-learnings -d 'Select only items with no learnings'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-files -d 'Select only items that have linked files'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-files -d 'Select only items with no linked files'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-docs -d 'Select only items that have linked docs'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-docs -d 'Select only items with no linked docs'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-tests -d 'Select only items that have linked tests'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-tests -d 'Select only items with no linked tests'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-comments -d 'Select only items that have comments'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-comments -d 'Select only items with no comments'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-deps -d 'Select only items that have dependencies'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-deps -d 'Select only items with no dependencies'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-body -d 'Select only items with non-empty body'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l empty-body -d 'Select only items with empty body'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-linked-command -d 'Select only items that have a linked command'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-linked-command -d 'Select only items with no linked command'\nend\n${fishListRuntimeFieldFlags}\n\n# aggregate flags\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l group-by -d 'Comma-separated group-by fields (supported: parent,type,priority,status,assignee,tags,sprint,release)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l count -d 'Return grouped counts'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l completion -d 'Add completion counts and percentage per group'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l sum -d 'Numeric field to sum per group' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l avg -d 'Numeric field to average per group' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l include-unparented -d 'Include unparented rows when grouping by parent'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l status -d 'Filter by status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l type -d 'Filter by item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l deadline-before -d 'Filter by deadline upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l deadline-after -d 'Filter by deadline lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l release -d 'Filter by release' -r\n\n# dedupe-audit flags\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l mode -d 'Dedupe mode' -r -a 'title_exact title_fuzzy parent_scope'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l limit -d 'Limit returned duplicate clusters' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l threshold -d 'Fuzzy mode token similarity threshold between 0 and 1' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l status -d 'Filter by status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l type -d 'Filter by item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l deadline-before -d 'Filter by deadline upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l deadline-after -d 'Filter by deadline lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l release -d 'Filter by release' -r\n\n# create flags\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s t -l title -d 'Item title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s d -l description -d 'Item description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l type -d 'Item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l create-mode -d 'Create required-option policy mode' -r -a 'strict progressive'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l schedule-preset -d 'Scheduling preset for Reminder/Meeting/Event' -r -a 'lightweight'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s s -l status -d 'Item status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s p -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l tags -d 'Comma-separated tags' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l add-tags -d 'Add tags additively without replacing existing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l body-file -d 'Load the item body from a file' -r -F\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l deadline -d 'Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l estimate -d 'Estimated minutes' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l acceptance-criteria -d 'Acceptance criteria' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l assignee -d 'Assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l unset -d 'Clear scalar metadata field by name' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-deps -d 'Clear dependency entries'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-comments -d 'Clear comments'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-notes -d 'Clear notes'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-learnings -d 'Clear learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-files -d 'Clear linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-tests -d 'Clear linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-docs -d 'Clear linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-reminders -d 'Clear reminders'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-events -d 'Clear events'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-type-options -d 'Clear type options'\n${fishCreateRuntimeFieldFlags}\n\n# copy flags\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l title -d 'Override copied title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l force -d 'Force ownership override'\n\n# focus flags\ncomplete -c pm -n '__fish_seen_subcommand_from focus' -l clear -d 'Clear the focused item'\n\n# update flags\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s t -l title -d 'Item title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s d -l description -d 'Item description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l body-file -d 'Load the item body from a file' -r -F\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s s -l status -d 'Item status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l close-reason -d 'Set close reason' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s p -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l type -d 'Item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l add-tags -d 'Add tags additively without replacing existing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l remove-tags -d 'Remove tags from the existing list' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l comment -d 'Comment seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l note -d 'Note seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l learning -d 'Learning seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l file -d 'Linked file path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l test -d 'Linked test command=<value>,path=<value>,scope=<project|global>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l doc -d 'Linked doc path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l unset -d 'Clear scalar metadata field by name' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l replace-deps -d 'Atomically replace dependencies with provided --dep values'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l replace-tests -d 'Atomically replace linked tests with provided --test values'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-deps -d 'Clear dependency entries'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-comments -d 'Clear comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-notes -d 'Clear notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-learnings -d 'Clear learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-files -d 'Clear linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-tests -d 'Clear linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-docs -d 'Clear linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-reminders -d 'Clear reminders'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-events -d 'Clear events'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-type-options -d 'Clear type options'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l allow-audit-update -d 'Allow non-owner metadata-only audit updates without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l force -d 'Force override'\n${fishUpdateRuntimeFieldFlags}\n\n# update-many flags\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-status -d 'Filter by status before applying updates' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-type -d 'Filter by type before applying updates' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-tag -d 'Filter by tag before applying updates' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-priority -d 'Filter by priority before applying updates' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-deadline-before -d 'Filter by deadline upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-deadline-after -d 'Filter by deadline lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-created-after -d 'Filter by created_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-created-before -d 'Filter by created_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-assignee -d 'Filter by assignee before applying updates' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-sprint -d 'Filter by sprint before applying updates' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-release -d 'Filter by release before applying updates' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-ac-missing -d 'Select only items missing acceptance_criteria'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-estimates-missing -d 'Select only items missing estimated_minutes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-resolution-missing -d 'Select only terminal items missing resolution'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-metadata-missing -d 'Select only items missing any tracked metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-reviewer-missing -d 'Select only items missing reviewer'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-risk-missing -d 'Select only items missing risk'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-confidence-missing -d 'Select only items missing confidence'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-sprint-missing -d 'Select only items missing sprint'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-release-missing -d 'Select only items missing release'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-notes -d 'Select only items that have notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-notes -d 'Select only items with no notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-learnings -d 'Select only items that have learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-learnings -d 'Select only items with no learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-files -d 'Select only items that have linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-files -d 'Select only items with no linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-docs -d 'Select only items that have linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-docs -d 'Select only items with no linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-tests -d 'Select only items that have linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-tests -d 'Select only items with no linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-comments -d 'Select only items that have comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-comments -d 'Select only items with no comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-deps -d 'Select only items that have dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-deps -d 'Select only items with no dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-body -d 'Select only items with non-empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-empty-body -d 'Select only items with empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-linked-command -d 'Select only items that have a linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-linked-command -d 'Select only items with no linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l ids -d 'Explicit comma-separated ID allowlist' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l limit -d 'Limit matched item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l offset -d 'Skip first n matched rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l dry-run -d 'Preview updates without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l rollback -d 'Rollback checkpoint ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l no-checkpoint -d 'Disable checkpoint creation during apply mode'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s t -l title -d 'Item title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s d -l description -d 'Item description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s p -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l type -d 'Item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l tags -d 'Comma-separated tags' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l add-tags -d 'Add tags additively without replacing existing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l remove-tags -d 'Remove tags from the existing list' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l deadline -d 'Deadline (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l estimate -d 'Estimated minutes' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l acceptance-criteria -d 'Acceptance criteria' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l definition-of-ready -d 'Definition of ready' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l order -d 'Planning order/rank' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l goal -d 'Goal identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l objective -d 'Objective identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l value -d 'Business value summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l impact -d 'Business impact summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l outcome -d 'Expected outcome summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l why-now -d 'Why-now rationale' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l reviewer -d 'Reviewer' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l risk -d 'Risk level' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l confidence -d 'Confidence level' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l sprint -d 'Sprint identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l release -d 'Release identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l reporter -d 'Issue reporter' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l severity -d 'Issue severity' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l environment -d 'Issue environment context' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l repro-steps -d 'Issue reproduction steps' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l resolution -d 'Issue resolution summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l expected-result -d 'Issue expected behavior' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l actual-result -d 'Issue observed behavior' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l affected-version -d 'Affected version identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l fixed-version -d 'Fixed version identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l component -d 'Issue component ownership' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l regression -d 'Regression marker true|false|1|0' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l customer-impact -d 'Customer impact summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l dep -d 'Dependency seed id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l dep-remove -d 'Dependency removal selector id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l replace-deps -d 'Atomically replace dependencies with provided --dep values'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l replace-tests -d 'Atomically replace linked tests with provided --test values'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l comment -d 'Comment seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l note -d 'Note seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l learning -d 'Learning seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l file -d 'Linked file path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l test -d 'Linked test command=<value>,path=<value>,scope=<project|global>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l doc -d 'Linked doc path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l unset -d 'Clear scalar metadata field by name' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-deps -d 'Clear dependency entries'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-comments -d 'Clear comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-notes -d 'Clear notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-learnings -d 'Clear learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-files -d 'Clear linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-tests -d 'Clear linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-docs -d 'Clear linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-reminders -d 'Clear reminders'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-events -d 'Clear events'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-type-options -d 'Clear type options'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l allow-audit-update -d 'Allow non-owner metadata-only audit updates without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l force -d 'Force override'\n${fishUpdateManyRuntimeFieldFlags}\n\n# normalize flags\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-status -d 'Filter by status before planning or apply' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-type -d 'Filter by type before planning or apply' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-tag -d 'Filter by tag before planning or apply' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-priority -d 'Filter by priority before planning or apply' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-deadline-before -d 'Filter by deadline upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-deadline-after -d 'Filter by deadline lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-assignee -d 'Filter by assignee before planning or apply' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-sprint -d 'Filter by sprint before planning or apply' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-release -d 'Filter by release before planning or apply' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l limit -d 'Limit matched item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l offset -d 'Skip first n matched rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l dry-run -d 'Preview normalize findings without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l apply -d 'Apply normalize changes'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l allow-audit-update -d 'Allow non-owner metadata-only audit updates without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l force -d 'Force override'\n\n# search flags\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l mode -d 'Search mode' -r -a 'keyword semantic hybrid'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l match-mode -d 'Token match mode' -r -a 'and or exact'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l min-score -d 'Per-query minimum score threshold' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l count -d 'Return only the match count'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l include-linked -d 'Include linked content in scoring'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l highlight -d 'Emit per-field matched-text snippets on each hit'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l limit -d 'Max results' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l status -d 'Filter by status (open/closed/canceled, csv)' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l type -d 'Filter by type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l tags -d 'Alias for --tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l updated-after -d 'Filter by updated_at lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l updated-before -d 'Filter by updated_at upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l created-after -d 'Filter by created_at lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l created-before -d 'Filter by created_at upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-reviewer-missing -d 'Select only items missing reviewer'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-risk-missing -d 'Select only items missing risk'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-confidence-missing -d 'Select only items missing confidence'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-sprint-missing -d 'Select only items missing sprint'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-release-missing -d 'Select only items missing release'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-notes -d 'Select only items that have notes'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-notes -d 'Select only items with no notes'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-learnings -d 'Select only items that have learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-learnings -d 'Select only items with no learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-files -d 'Select only items that have linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-files -d 'Select only items with no linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-docs -d 'Select only items that have linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-docs -d 'Select only items with no linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-tests -d 'Select only items that have linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-tests -d 'Select only items with no linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-comments -d 'Select only items that have comments'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-comments -d 'Select only items with no comments'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-deps -d 'Select only items that have dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-deps -d 'Select only items with no dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-body -d 'Select only items with non-empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l empty-body -d 'Select only items with empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-linked-command -d 'Select only items that have a linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-linked-command -d 'Select only items with no linked command'\n${fishSearchRuntimeFieldFlags}\n\n# calendar flags\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l view -d 'Calendar view' -r -a 'agenda day week month'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l date -d 'Anchor date/time (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l from -d 'Agenda lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l to -d 'Agenda upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l past -d 'Include past entries'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l full-period -d 'Include full anchored day/week/month period'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l type -d 'Filter by type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l status -d 'Filter by status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l include -d 'Include event sources' -r -a 'all deadlines reminders events scheduled'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l recurrence-lookahead-days -d 'Bound open-ended recurrence lookahead' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l recurrence-lookback-days -d 'Bound open-ended recurrence lookback' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l occurrence-limit -d 'Cap occurrences per recurring event' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l limit -d 'Limit returned events' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l format -d 'Output override' -r -a 'markdown toon json'\n${fishCalendarRuntimeFieldFlags}\n\n# context flags\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l date -d 'Anchor date/time (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l from -d 'Agenda lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l to -d 'Agenda upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l past -d 'Include past entries in bounded windows'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l type -d 'Filter by type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l parent -d 'Scope snapshot to one item subtree' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l limit -d 'Limit focus and agenda rows per section' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l depth -d 'Context depth' -r -a 'brief standard deep full'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l format -d 'Output override' -r -a 'markdown toon json'\n${fishContextRuntimeFieldFlags}\n\n# guide flags\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -l list -d 'Show guide topic index'\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -l format -d 'Output override' -r -a 'markdown toon json'\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -l depth -d 'Guide detail depth' -r -a 'brief standard deep'\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -a '${guideTopicChoices}' -d 'Guide topic'\n\n# reindex flags\ncomplete -c pm -n '__fish_seen_subcommand_from reindex' -l mode -d 'Reindex mode' -r -a 'keyword semantic hybrid'\ncomplete -c pm -n '__fish_seen_subcommand_from reindex' -l progress -d 'Emit progress updates to stderr'\n\n# get flags\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l depth -d 'Detail depth' -r -a 'brief standard deep full'\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l full -d 'Explicit full item read'\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l fields -d 'Render custom comma-separated item fields' -r\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l tree -d 'Include descendant subtree in result payload'\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l tree-depth -d 'Cap subtree depth for --tree (0 = root only)' -r\n\n# history / activity flags\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l limit -d 'Max history entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l compact -d 'Condensed history projection'\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l full -d 'Show full history entries'\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l diff -d 'Include per-entry field-level before/after value diffs'\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l field -d 'With --diff, show only entries that changed this field' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l verify -d 'Verify history hash chain and replay integrity'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l before -d 'Compact entries strictly before this version number or ISO timestamp' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l ids -d 'Bulk: compact an explicit comma-separated list of item ids' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l all-over -d 'Bulk: compact every stream with more than N entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l closed -d 'Bulk: compact only closed (terminal) items streams'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l all-streams -d 'Bulk: compact every history stream regardless of lifecycle state'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l min-entries -d 'Bulk: skip streams with at most N entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l dry-run -d 'Preview compaction impact without writing the history file'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l message -d 'Audit history message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l literal -d 'Literal string matcher to redact from history/item payloads' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l regex -d 'Regex matcher to redact (/pattern/flags or raw pattern)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l replacement -d 'Replacement text (defaults to [redacted])' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l dry-run -d 'Preview redaction impact without writing files'\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l message -d 'Audit history message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l all -d 'Repair every drifted stream in one audited pass'\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l dry-run -d 'Preview the re-anchor impact without writing the history file'\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l message -d 'Audit history message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -a 'list show show-status add-type remove-type add-status remove-status add-field remove-field list-fields show-field apply-preset' -d 'Schema subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l description -d 'Human description for the custom item type, status, or field' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l default-status -d 'Default status hint for the custom item type' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l folder -d 'Storage folder for items of this custom type' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l alias -d 'Alias for the custom type, status, or field flag (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l role -d 'Lifecycle role for a custom status (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l order -d 'Display/sort order for a custom status' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l type -d 'Value type for a custom field' -r -a 'string number boolean string_array'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l commands -d 'Commands a custom field is wired onto (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l cli-flag -d 'Override the auto-derived CLI flag for a custom field' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l required -d 'Mark a custom field as always required'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l required-on-create -d 'Mark a custom field as required at create time'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l no-allow-unset -d 'Disallow clearing a custom field via --unset'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l required-types -d 'Restrict a custom field requirement to specific item types (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l infer -d 'Infer item types from title-prefix conventions (add-type)'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l min-count -d 'Minimum items sharing a prefix for --infer' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l apply -d 'Register inferred types (with --infer)'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -a 'create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize' -d 'Plan subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l title -d 'Plan title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l scope -d 'Plan scope statement' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l harness -d 'Plan harness provenance' -r -a 'codex claude-code cursor generic'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l mode -d 'Plan mode' -r -a 'draft research review approved executing paused completed superseded'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l resume-context -d 'Resume context summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step-title -d 'Step title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step -d 'Step title (repeatable on create)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step-status -d 'Step status' -r -a 'pending in_progress completed blocked skipped superseded'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step-evidence -d 'Step evidence' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l depends-on -d 'Pm item id step depends on' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l link -d 'Pm item id to link' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l link-kind -d 'Link kind' -r -a 'related blocks blocked_by depends_on discovered_from implements verifies supersedes'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l depth -d 'Show depth' -r -a 'brief standard deep'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l steps -d 'Step ids/orders for materialize' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l materialize-type -d 'Item type for materialized steps' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l allow-multiple-active -d 'Allow multiple in_progress steps'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l promote-to-item-dep -d 'Also add link as item dependency'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l message -d 'Mutation message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l force -d 'Force ownership override'\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l id -d 'Filter by item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l op -d 'Filter by history operation' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l author -d 'Filter by history author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l from -d 'Lower timestamp bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l to -d 'Upper timestamp bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l limit -d 'Max activity entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l compact -d 'Condensed activity projection'\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l full -d 'Show full activity entries'\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l stream -d 'Emit line-delimited JSON rows'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l action -d 'Filter schema by tool action' -r\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l command -d 'Scope output to one command (narrow-by-default)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l schema-only -d 'Return schema-only payload'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l flags-only -d 'Return command flag contracts only'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l availability-only -d 'Return action availability only'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l runtime-only -d 'Include only actions invocable in the current runtime'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l active-only -d 'Alias for --runtime-only'\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l format -d 'Output format' -r -a 'tree graph'\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l max-depth -d 'Maximum traversal depth (0 keeps root only)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l collapse -d 'Collapse mode' -r -a 'none repeated'\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l summary -d 'Return counts only without tree/graph payload'\n\n# comments / notes / learnings flags\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l add -d 'Add one entry (text=<value> or plain text)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l stdin -d 'Read comment text from stdin (supports multiline markdown)'\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l file -d 'Read comment text from file (supports multiline markdown)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l edit -d 'Replace the comment at 1-based index (text from positional/--add/--stdin/--file)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l delete -d 'Delete the comment at 1-based index' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l limit -d 'Return only latest n entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l author -d 'Entry author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l allow-audit-comment -d 'Allow non-owner append-only comment audits (legacy alias for notes/learnings)'\ncomplete -c pm -n '__fish_seen_subcommand_from notes' -l allow-audit-note -d 'Allow non-owner append-only note audits without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from learnings' -l allow-audit-learning -d 'Allow non-owner append-only learning audits without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l force -d 'Force override'\n\n# test flags\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l add -d 'Add linked test entry' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l add-json -d 'Add linked test entry from JSON object/array' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l remove -d 'Remove linked test entry' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l list -d 'List linked tests without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l run -d 'Run linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l match -d 'Run linked tests whose command/path contains substring' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l only-index -d 'Run one linked test by 1-based index' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l only-last -d 'Run the most recently added linked test'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l background -d 'Run linked tests in managed background mode'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l timeout -d 'Default timeout seconds' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l progress -d 'Emit linked-test progress to stderr'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l env-set -d 'Set linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l env-clear -d 'Clear linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l shared-host-safe -d 'Apply shared-host-safe runtime defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l pm-context -d 'PM linked-test context mode' -r -a 'schema tracker auto'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l override-linked-pm-context -d 'Force run-level --pm-context over per-linked-test metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l fail-on-context-mismatch -d 'Fail when context item counts mismatch'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l fail-on-skipped -d 'Treat skipped linked tests as dependency failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l fail-on-empty-test-run -d 'Treat empty linked-test selections as failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l require-assertions-for-pm -d 'Require assertions for linked PM command tests'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l check-context -d 'Preflight linked PM command context diagnostics before execution'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l auto-pm-context -d 'Auto-remediate tracker-read context mismatches using tracker context'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l force -d 'Force override'\n\n# test-all flags\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l status -d 'Filter by status' -r -a 'open in_progress'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l limit -d 'Limit matching items before running linked tests' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l offset -d 'Skip matching items before running linked tests' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l background -d 'Run linked tests in managed background mode'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l timeout -d 'Default timeout seconds' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l progress -d 'Emit linked-test progress to stderr'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l env-set -d 'Set linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l env-clear -d 'Clear linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l shared-host-safe -d 'Apply shared-host-safe runtime defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l pm-context -d 'PM linked-test context mode' -r -a 'schema tracker auto'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l override-linked-pm-context -d 'Force run-level --pm-context over per-linked-test metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l fail-on-context-mismatch -d 'Fail when context item counts mismatch'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l fail-on-skipped -d 'Treat skipped linked tests as dependency failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l fail-on-empty-test-run -d 'Treat empty linked-test selections as failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l require-assertions-for-pm -d 'Require assertions for linked PM command tests'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l check-context -d 'Preflight linked PM command context diagnostics before execution'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l auto-pm-context -d 'Auto-remediate tracker-read context mismatches using tracker context'\n\n# test-runs flags\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -a 'list status logs stop resume' -d 'test-runs subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l status -d 'Filter background runs by status' -r -a 'queued running passed failed stopped canceled'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l limit -d 'Limit returned runs' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l stream -d 'Background log stream selector' -r -a 'stdout stderr both'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l tail -d 'Tail number of lines from logs' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l force -d 'Force-stop run with SIGKILL'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l author -d 'Resume author' -r\n\n# gc flags\ncomplete -c pm -n '__fish_seen_subcommand_from gc' -l dry-run -d 'Preview cleanup targets without deleting files'\ncomplete -c pm -n '__fish_seen_subcommand_from gc' -l scope -d 'Limit cleanup to index/embeddings/runtime/locks scopes' -r\n\n# stats flags\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l storage -d 'Include aggregate history-stream storage metrics'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l metadata-coverage -d 'Include metadata coverage percentages overall and by type'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l field-utilization -d 'Include content-field utilization rates across all items'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l by-assignee -d 'Lifecycle-bucketed breakdown grouped by assignee'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l by-tag -d 'Lifecycle-bucketed breakdown grouped by tag'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l by-priority -d 'Lifecycle-bucketed breakdown grouped by priority'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l tag-prefix -d 'With --by-tag: only count tags with this prefix' -r\n\n# append flags\ncomplete -c pm -n '__fish_seen_subcommand_from append' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from append' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from append' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from append' -l force -d 'Force override'\n\n# close flags\ncomplete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l force -d 'Force override'\ncomplete -c pm -n '__fish_seen_subcommand_from close close-task' -l validate-close -d 'Validate closure metadata mode' -r -a 'off warn strict'\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l reason -d 'Closure reason' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l close-reason -d 'Alias for --reason' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l resolution -d 'Closure resolution summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l expected-result -d 'Expected behavior note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l actual-result -d 'Observed behavior note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from release' -l allow-audit-release -d 'Allow non-owner release handoffs without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from delete' -l dry-run -d 'Preview the item file that would be deleted without mutating'\n\n# scheduling shortcut flags (meet/event/remind)\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l start -d 'Start time (ISO, now, or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l duration -d 'Duration from start (default 1h)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l end -d 'End time (overrides --duration)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l location -d 'Location' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l timezone -d 'IANA timezone' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l all-day -d 'Mark as an all-day event'\ncomplete -c pm -n '__fish_seen_subcommand_from remind' -l at -d 'Reminder time (default +1d)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from remind' -l text -d 'Reminder text (defaults to title)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l parent -d 'Parent item id' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l allow-missing-parent -d 'Permit a parent id that does not exist yet'\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l tags -d 'Comma-separated tags' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l description -d 'Short description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l message -d 'History message' -r\n\n# close-many flags\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-status -d 'Filter by status before closing' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-type -d 'Filter by type before closing' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-tag -d 'Filter by tag before closing' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-priority -d 'Filter by priority before closing' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-deadline-before -d 'Filter by deadline upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-deadline-after -d 'Filter by deadline lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-created-after -d 'Filter by created_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-created-before -d 'Filter by created_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-assignee -d 'Filter by assignee before closing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-sprint -d 'Filter by sprint before closing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-release -d 'Filter by release before closing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-reviewer-missing -d 'Select only items missing reviewer'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-risk-missing -d 'Select only items missing risk'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-confidence-missing -d 'Select only items missing confidence'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-sprint-missing -d 'Select only items missing sprint'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-release-missing -d 'Select only items missing release'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-notes -d 'Select only items that have notes'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-notes -d 'Select only items with no notes'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-learnings -d 'Select only items that have learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-learnings -d 'Select only items with no learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-files -d 'Select only items that have linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-files -d 'Select only items with no linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-docs -d 'Select only items that have linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-docs -d 'Select only items with no linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-tests -d 'Select only items that have linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-tests -d 'Select only items with no linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-comments -d 'Select only items that have comments'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-comments -d 'Select only items with no comments'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-deps -d 'Select only items that have dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-deps -d 'Select only items with no dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-body -d 'Select only items with non-empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-empty-body -d 'Select only items with empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-linked-command -d 'Select only items that have a linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-linked-command -d 'Select only items with no linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l ids -d 'Explicit comma-separated ID allowlist' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l limit -d 'Limit matched item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l offset -d 'Skip first n matched rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l reason -d 'Optional shared close reason applied to every matched item' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l resolution -d 'Shared closure resolution' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l expected-result -d 'Shared expected-result note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l actual-result -d 'Shared actual-result note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l validate-close -d 'Validate closure metadata per item' -r -a 'off warn strict'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l force -d 'Re-close terminal matches and override ownership'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l dry-run -d 'Preview matched items without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l rollback -d 'Rollback checkpoint ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l no-checkpoint -d 'Disable checkpoint creation during apply mode'\n\n# validate flags\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-metadata -d 'Run metadata completeness checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l metadata-profile -d 'Select metadata validation profile for --check-metadata' -r -a 'core strict custom'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-resolution -d 'Run closed-item resolution metadata checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-lifecycle -d 'Run active-item lifecycle governance drift checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-stale-blockers -d 'Include stale blocker-pattern diagnostics in lifecycle checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l dependency-cycle-severity -d 'Set dependency-cycle warning policy for lifecycle checks' -r -a 'off warn error'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l parent-cycle-severity -d 'Set parent-hierarchy cycle warning policy for lifecycle checks' -r -a 'off warn error'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-files -d 'Run linked-file and orphaned-file checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l scan-mode -d 'Select file candidate scan mode for --check-files' -r -a 'default tracked-all tracked-all-strict'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l include-pm-internals -d 'Include PM storage internals in tracked-all candidate scans'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l verbose-file-lists -d 'Include full file-path lists for validate --check-files details'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l verbose-diagnostics -d 'Include full validate diagnostic ID lists instead of compact summaries'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l all-affected-ids -d 'Emit complete missing_* affected-ID lists with no truncation (implied by --json)'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l strict-exit -d 'Return non-zero exit when validation warnings are present'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l fail-on-warn -d 'Alias for --strict-exit'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l fix-hints -d 'Add a machine-executable fix_hints[] of pm commands to each failing check'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l auto-fix -d 'Apply the safe, deterministic subset of fix-hint remediations automatically'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l dry-run -d 'Preview planned --auto-fix/--prune-missing fixes without applying them'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l fix-scope -d 'Grant --auto-fix scopes (estimates/lifecycle must be named explicitly)' -r -a 'metadata resolution estimates lifecycle'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l prune-missing -d 'Remove stale linked-file/doc links classified as deleted'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-history-drift -d 'Run item/history hash drift checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-command-references -d 'Run linked-command PM-ID reference checks'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l preset -d 'Governance preset for new setups' -r -a 'minimal default strict'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l defaults -d 'Use non-interactive setup defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -s y -l yes -d 'Alias for --defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l author -d 'Set the default mutation author for this project' -r\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l agent-guidance -d 'Agent guidance mode' -r -a 'ask add skip status'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l type-preset -d 'Register domain item types' -r -a 'agile ops research'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l with-packages -d 'Install bundled first-party packages during initialization'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l verbose -d 'Include the full resolved settings tree in init output'\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l criterion -d 'Criteria value for definition-of-done metadata-required-fields or lifecycle pattern keys (repeatable for set)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l clear-criteria -d 'Clear config criteria-list key values'\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l format -d 'Item format for item-format key' -r -a 'toon'\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l policy -d 'Policy value for supported policy keys' -r\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l strict-directories -d 'Treat optional item-type directories as required failures'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l check-only -d 'Run read-only health diagnostics without refreshing vectors'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l no-refresh -d 'Disable automatic vector refresh attempts during health checks'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l refresh-vectors -d 'Explicitly enable vector refresh attempts during health checks'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l verbose-stale-items -d 'Include full stale vectorization ID lists in health output'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l brief -d 'Emit compact health details for low-token agent checks'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l summary -d 'Emit one-line-style health status with check names and warning count'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l strict-exit -d 'Return non-zero exit when health warnings are present'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l fail-on-warn -d 'Alias for --strict-exit'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l status -d 'Filter by item status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l type -d 'Filter by item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l limit-items -d 'Limit returned item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l limit -d 'Alias for --limit-items' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l full-history -d 'Export full comment history rows (cannot be combined with --latest)'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l latest -d 'Return latest n comments per item (0 for summary-only rows)' -r\n\n# completion shell argument\ncomplete -c pm -n '__fish_seen_subcommand_from completion' -l eager-tags -d 'Embed current tracker tags directly in script output'\ncomplete -c pm -n '__fish_seen_subcommand_from completion' -a 'bash zsh fish' -d 'Shell type'\n\n# templates subcommands\ncomplete -c pm -n '__fish_seen_subcommand_from templates' -a 'save list show' -d 'Templates command'\n\n# extension lifecycle flags\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -a 'init scaffold install uninstall explore manage reload doctor adopt adopt-all activate deactivate' -d 'Extension action subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l init -d 'Generate starter extension scaffold'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l scaffold -d 'Alias for --init'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l capability -d 'Capability the init scaffold targets' -r -a 'commands hooks search importers'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l install -d 'Install extension from local path or GitHub source'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l uninstall -d 'Uninstall extension by name'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l explore -d 'List discovered extensions for selected scope'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l manage -d 'List managed extensions with update metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l reload -d 'Reload extensions with cache-busted module imports'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l watch -d 'Enable watch mode with --reload'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l doctor -d 'Run consolidated extension diagnostics'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l adopt -d 'Adopt an unmanaged extension into managed metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l adopt-all -d 'Adopt all unmanaged extensions into managed metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l activate -d 'Activate extension in selected scope settings'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l deactivate -d 'Deactivate extension in selected scope settings'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l project -d 'Use project extension scope'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l local -d 'Alias for --project'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l global -d 'Use global extension scope'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l gh -d 'GitHub shorthand owner/repo/path' -r\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l github -d 'Alias for --gh' -r\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l ref -d 'Git ref/branch/tag for GitHub source' -r\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l detail -d 'Detail mode for extension diagnostics' -r -a 'summary deep'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l trace -d 'Include registration traces in doctor deep diagnostics'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l runtime-probe -d 'Opt-in runtime activation probe for manage output'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l fix-managed-state -d 'Adopt unmanaged extensions before diagnostics/update checks'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l strict-exit -d 'Return non-zero exit when doctor warnings are present'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l fail-on-warn -d 'Alias for --strict-exit (doctor)'`;\n}\n\nconst SETUP_HINTS: Record<CompletionShell, string> = {\n bash: 'Add to ~/.bashrc or ~/.bash_profile: eval \"$(pm completion bash)\"',\n zsh: 'Add to ~/.zshrc: eval \"$(pm completion zsh)\"',\n fish: \"Run: pm completion fish > ~/.config/fish/completions/pm.fish\",\n};\n\n/**\n * Implements run completion for the public runtime surface of this module.\n */\nexport function runCompletion(\n shell: string,\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): CompletionResult {\n const normalized = shell.trim().toLowerCase();\n if (!VALID_SHELLS.includes(normalized as CompletionShell)) {\n throw new PmCliError(\n `Unknown shell: \"${shell}\". Supported shells: ${VALID_SHELLS.join(\", \")}.`,\n EXIT_CODE.USAGE,\n );\n }\n const validShell = normalized as CompletionShell;\n let script: string;\n if (validShell === \"bash\") {\n script = generateBashScript(itemTypes, tags, eagerTagExpansion, runtime);\n } else if (validShell === \"zsh\") {\n script = generateZshScript(itemTypes, tags, eagerTagExpansion, runtime);\n } else {\n script = generateFishScript(itemTypes, tags, eagerTagExpansion, runtime);\n }\n return {\n shell: validShell,\n script,\n setup_hint: SETUP_HINTS[validShell],\n };\n}\n"],"names":[],"mappings":"AAAA;;;;GAIG;;;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,EACxB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACr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AAM,WAAW,GAAoC;IACnD,IAAI,EAAE,mEAAmE;IACzE,GAAG,EAAE,8CAA8C;IACnD,IAAI,EAAE,8DAA8D;CACrE,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,aAAa,CAC3B,KAAa,EACb,YAAsB,EAAE,EACxB,OAAiB,EAAE,EACnB,iBAAiB,GAAG,KAAK,EACzB,UAAmC,EAAE;IAErC,MAAM,UAAU,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;IAC9C,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,UAA6B,CAAC,EAAE,CAAC;QAC1D,MAAM,IAAI,UAAU,CAClB,mBAAmB,KAAK,wBAAwB,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAC1E,SAAS,CAAC,KAAK,CAChB,CAAC;IACJ,CAAC;IACD,MAAM,UAAU,GAAG,UAA6B,CAAC;IACjD,IAAI,MAAc,CAAC;IACnB,IAAI,UAAU,KAAK,MAAM,EAAE,CAAC;QAC1B,MAAM,GAAG,kBAAkB,CAAC,SAAS,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;SAAM,IAAI,UAAU,KAAK,KAAK,EAAE,CAAC;QAChC,MAAM,GAAG,iBAAiB,CAAC,SAAS,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;SAAM,CAAC;QACN,MAAM,GAAG,kBAAkB,CAAC,SAAS,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IACD,OAAO;QACL,KAAK,EAAE,UAAU;QACjB,MAAM;QACN,UAAU,EAAE,WAAW,CAAC,UAAU,CAAC;KACpC,CAAC;AACJ,CAAC","debugId":"fc219bb2-f914-513c-8240-b7614033089d"}
|
|
1
|
+
{"version":3,"file":"completion.js","sources":["cli/commands/completion.ts"],"sourceRoot":"/","sourcesContent":["/**\n * @module cli/commands/completion\n *\n * Implements the pm completion command surface and its agent-facing runtime behavior.\n */\nimport { EXIT_CODE } from \"../../core/shared/constants.js\";\nimport { PmCliError } from \"../../core/shared/errors.js\";\nimport { SCAFFOLD_CAPABILITIES } from \"./extension/scaffold.js\";\nimport {\n AGGREGATE_FLAG_CONTRACTS,\n ACTIVITY_FLAG_CONTRACTS,\n APPEND_FLAG_CONTRACTS,\n CALENDAR_FLAG_CONTRACTS,\n CLOSE_MANY_FLAG_CONTRACTS,\n COMPLETION_FLAG_CONTRACTS,\n CONTRACTS_FLAG_CONTRACTS,\n CONTEXT_FLAG_CONTRACTS,\n COPY_FLAG_CONTRACTS,\n FOCUS_FLAG_CONTRACTS,\n MEET_FLAG_CONTRACTS,\n REMIND_FLAG_CONTRACTS,\n CREATE_FLAG_CONTRACTS,\n DEPS_FLAG_CONTRACTS,\n EXTENSION_FLAG_CONTRACTS,\n GET_FLAG_CONTRACTS,\n GUIDE_FLAG_CONTRACTS,\n GLOBAL_FLAG_CONTRACTS,\n HEALTH_FLAG_CONTRACTS,\n INIT_FLAG_CONTRACTS,\n LIST_FILTER_FLAG_CONTRACTS,\n NEXT_FLAG_CONTRACTS,\n NORMALIZE_FLAG_CONTRACTS,\n PACKAGE_FLAG_CONTRACTS,\n PLAN_FLAG_CONTRACTS,\n PM_CORE_COMMAND_NAMES,\n SEARCH_FLAG_CONTRACTS,\n UPDATE_FLAG_CONTRACTS,\n UPDATE_MANY_FLAG_CONTRACTS,\n toCompletionFlagString,\n} from \"../../sdk/cli-contracts.js\";\nimport { BUILTIN_ITEM_TYPE_VALUES, STATUS_VALUES } from \"../../types/index.js\";\nimport { listGuideTopicIds } from \"../guide-topics.js\";\n\n/**\n * Restricts completion shell values accepted by command, SDK, and storage contracts.\n */\nexport type CompletionShell = \"bash\" | \"zsh\" | \"fish\";\n\n/**\n * Documents the completion result payload exchanged by command, SDK, and package integrations.\n */\nexport interface CompletionResult {\n shell: CompletionShell;\n script: string;\n setup_hint: string;\n}\n\nconst VALID_SHELLS: CompletionShell[] = [\"bash\", \"zsh\", \"fish\"];\nconst DEFAULT_ITEM_TYPES = [...BUILTIN_ITEM_TYPE_VALUES];\nconst DEFAULT_STATUS_VALUES = [...STATUS_VALUES];\n\ntype CompletionFlagCommand = \"list\" | \"create\" | \"update\" | \"update-many\" | \"search\" | \"calendar\" | \"context\";\n\n/**\n * Documents the completion runtime config payload exchanged by command, SDK, and package integrations.\n */\nexport interface CompletionRuntimeConfig {\n item_types?: string[];\n statuses?: string[];\n command_flags?: Partial<Record<CompletionFlagCommand, string[]>>;\n}\n\nconst ALL_COMMANDS = [...PM_CORE_COMMAND_NAMES];\nconst LIST_FLAGS = toCompletionFlagString(LIST_FILTER_FLAG_CONTRACTS);\nconst AGGREGATE_FLAGS = toCompletionFlagString(AGGREGATE_FLAG_CONTRACTS);\nconst APPEND_FLAGS = toCompletionFlagString(APPEND_FLAG_CONTRACTS);\nconst COPY_FLAGS = toCompletionFlagString(COPY_FLAG_CONTRACTS);\nconst FOCUS_FLAGS = toCompletionFlagString(FOCUS_FLAG_CONTRACTS);\nconst MEET_FLAGS = toCompletionFlagString(MEET_FLAG_CONTRACTS);\nconst REMIND_FLAGS = toCompletionFlagString(REMIND_FLAG_CONTRACTS);\nconst CREATE_FLAGS = toCompletionFlagString(CREATE_FLAG_CONTRACTS);\nconst GET_FLAGS = toCompletionFlagString(GET_FLAG_CONTRACTS);\nconst UPDATE_FLAGS = toCompletionFlagString(UPDATE_FLAG_CONTRACTS);\nconst UPDATE_MANY_FLAGS = toCompletionFlagString(UPDATE_MANY_FLAG_CONTRACTS);\nconst CLOSE_MANY_FLAGS = toCompletionFlagString(CLOSE_MANY_FLAG_CONTRACTS);\nconst NORMALIZE_FLAGS = toCompletionFlagString(NORMALIZE_FLAG_CONTRACTS);\nconst ACTIVITY_FLAGS = toCompletionFlagString(ACTIVITY_FLAG_CONTRACTS);\nconst CALENDAR_FLAGS = toCompletionFlagString(CALENDAR_FLAG_CONTRACTS);\nconst CONTEXT_FLAGS = toCompletionFlagString(CONTEXT_FLAG_CONTRACTS);\nconst NEXT_FLAGS = toCompletionFlagString(NEXT_FLAG_CONTRACTS);\nconst DEPS_FLAGS = toCompletionFlagString(DEPS_FLAG_CONTRACTS);\nconst GUIDE_FLAGS = toCompletionFlagString(GUIDE_FLAG_CONTRACTS);\nconst SEARCH_FLAGS = toCompletionFlagString(SEARCH_FLAG_CONTRACTS);\nconst HEALTH_FLAGS = toCompletionFlagString(HEALTH_FLAG_CONTRACTS);\nconst INIT_FLAGS = toCompletionFlagString(INIT_FLAG_CONTRACTS);\nconst CONTRACTS_FLAGS = toCompletionFlagString(CONTRACTS_FLAG_CONTRACTS);\nconst PLAN_FLAGS = toCompletionFlagString(PLAN_FLAG_CONTRACTS);\nconst PLAN_SUBCOMMANDS_LIST =\n \"create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize\";\nconst COMPLETION_FLAGS = toCompletionFlagString(COMPLETION_FLAG_CONTRACTS);\nconst COMPLETION_SHELL_CHOICES = `${COMPLETION_FLAGS} bash zsh fish`;\nconst GUIDE_TOPIC_CHOICES = joinCompletionValues(listGuideTopicIds());\nconst LIFECYCLE_ACTIONS = \"init scaffold install uninstall explore manage describe reload doctor catalog adopt adopt-all activate deactivate\";\nconst EXTENSION_LIFECYCLE_FLAGS = toCompletionFlagString(EXTENSION_FLAG_CONTRACTS);\nconst PACKAGE_LIFECYCLE_FLAGS = toCompletionFlagString(PACKAGE_FLAG_CONTRACTS);\n\nconst MUTATION_FLAGS = \"--author --message --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\nconst DELETE_MUTATION_FLAGS = \"--dry-run --author --message --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\nconst CLOSE_MUTATION_FLAGS = \"--author --message --validate-close --duplicate-of --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\nconst RELEASE_MUTATION_FLAGS =\n \"--allow-audit-release --author --message --force --json --quiet --no-changed-fields --id-only --pm-path --path --no-extensions --no-pager --profile --help\";\n\nconst GLOBAL_FLAGS = GLOBAL_FLAG_CONTRACTS.flatMap((entry) => [entry.short, entry.flag, ...(entry.aliases ?? [])])\n .filter((value): value is string => Boolean(value))\n .join(\" \");\n\nfunction joinCompletionValues(values: string[]): string {\n return [...new Set(values.map((value) => value.trim()).filter((value) => value.length > 0))]\n .sort((left, right) => left.localeCompare(right))\n .join(\" \");\n}\n\nfunction joinCompletionValuesInOrder(values: string[]): string {\n return [...new Set(values.map((value) => value.trim()).filter((value) => value.length > 0))].join(\" \");\n}\n\nfunction shellDoubleQuote(value: string): string {\n return value.replaceAll(\"\\\\\", \"\\\\\\\\\").replaceAll('\"', '\\\\\"').replaceAll(\"$\", \"\\\\$\").replaceAll(\"`\", \"\\\\`\");\n}\n\nfunction completionTypeValues(itemTypes: string[], runtime: CompletionRuntimeConfig): string {\n return joinCompletionValuesInOrder(itemTypes.length > 0 ? itemTypes : (runtime.item_types ?? DEFAULT_ITEM_TYPES));\n}\n\nfunction completionStatusValues(runtime: CompletionRuntimeConfig): string {\n return joinCompletionValues(runtime.statuses ?? DEFAULT_STATUS_VALUES);\n}\n\nfunction mergeFlagStrings(baseFlags: string, runtimeFlags: string[] | undefined): string {\n const merged = [...baseFlags.split(/\\s+/u).filter((value) => value.length > 0), ...(runtimeFlags ?? [])];\n return joinCompletionValues(merged);\n}\n\nfunction normalizeRuntimeCompletionFlags(runtimeFlags: string[] | undefined): string[] {\n const normalized = (runtimeFlags ?? [])\n .map((value) => value.trim())\n .filter((value) => value.startsWith(\"--\") && value.length > 2)\n .map((value) => `--${value.slice(2).replaceAll(\"_\", \"-\")}`);\n return [...new Set(normalized)].sort((left, right) => left.localeCompare(right));\n}\n\nfunction renderZshRuntimeFieldFlagSpecs(runtimeFlags: string[] | undefined): string {\n const normalized = normalizeRuntimeCompletionFlags(runtimeFlags);\n if (normalized.length === 0) {\n return \"\";\n }\n return `${normalized.map((flag) => ` '${flag}[Runtime schema field flag]:value' \\\\`).join(\"\\n\")}\\n`;\n}\n\nfunction renderFishRuntimeFieldFlagSpecs(commands: string[], runtimeFlags: string[] | undefined): string {\n const normalizedFlags = normalizeRuntimeCompletionFlags(runtimeFlags).map((flag) => flag.slice(2));\n if (commands.length === 0 || normalizedFlags.length === 0) {\n return \"\";\n }\n const lines: string[] = [];\n for (const command of commands) {\n for (const flag of normalizedFlags) {\n lines.push(`complete -c pm -n '__fish_seen_subcommand_from ${command}' -l ${flag} -d 'Runtime schema field flag' -r`);\n }\n }\n return `${lines.join(\"\\n\")}\\n`;\n}\n\nfunction renderBashDynamicChoiceResolver(kind: \"status\" | \"type\", command: \"completion-statuses\" | \"completion-types\", fallback: string): string[] {\n const envKind = kind.toUpperCase();\n const cacheVar = `PM_COMPLETION_${envKind}_CACHE`;\n const cacheTsVar = `PM_COMPLETION_${envKind}_CACHE_TS`;\n const ttlVar = `PM_COMPLETION_${envKind}_TTL`;\n const escapedFallback = shellDoubleQuote(fallback);\n return [\n `_pm_completion_${kind}_choices() {`,\n \" local now ttl cache_ts resolved\",\n \" now=\\\"$(date +%s 2>/dev/null || echo 0)\\\"\",\n ` ttl=\"\\${${ttlVar}:-120}\"`,\n ` cache_ts=\"\\${${cacheTsVar}:-0}\"`,\n ` if [[ -n \"\\${${cacheVar}:-}\" && \"$now\" -ne 0 && $((now - cache_ts)) -lt \"$ttl\" ]]; then`,\n ` printf '%s\\\\n' \"\\$${cacheVar}\"`,\n \" return 0\",\n \" fi\",\n ` resolved=\"$(pm ${command} 2>/dev/null)\"`,\n \" if [[ -z \\\"$resolved\\\" ]]; then\",\n ` resolved=\"${escapedFallback}\"`,\n \" fi\",\n ` ${cacheVar}=\"$resolved\"`,\n ` ${cacheTsVar}=\"$now\"`,\n ` printf '%s\\\\n' \"\\$${cacheVar}\"`,\n \"}\",\n ];\n}\n\nfunction renderZshDynamicChoiceResolver(kind: \"status\" | \"type\", command: \"completion-statuses\" | \"completion-types\", fallback: string): string {\n const envKind = kind.toUpperCase();\n const cacheVar = `PM_COMPLETION_${envKind}_CACHE`;\n const cacheTsVar = `PM_COMPLETION_${envKind}_CACHE_TS`;\n const ttlVar = `PM_COMPLETION_${envKind}_TTL`;\n const escapedFallback = shellDoubleQuote(fallback);\n return `\n_pm_${kind}_choices() {\n local now ttl cache_ts resolved\n now=\\${EPOCHSECONDS:-0}\n ttl=\\${${ttlVar}:-120}\n cache_ts=\\${${cacheTsVar}:-0}\n if [[ -n \"\\${${cacheVar}:-}\" && \"$now\" -ne 0 && $((now - cache_ts)) -lt \"$ttl\" ]]; then\n print -r -- \"$${cacheVar}\"\n return\n fi\n resolved=\"$(pm ${command} 2>/dev/null)\"\n if [[ -z \"$resolved\" ]]; then\n resolved=\"${escapedFallback}\"\n fi\n ${cacheVar}=\"$resolved\"\n ${cacheTsVar}=\"$now\"\n print -r -- \"$${cacheVar}\"\n}\n`;\n}\n\nfunction renderFishDynamicChoiceResolver(kind: \"status\" | \"type\", command: \"completion-statuses\" | \"completion-types\", fallback: string): string {\n const envKind = kind.toUpperCase();\n const escapedFallback = fallback.replaceAll(\"'\", \"\\\\'\");\n return `\nfunction __pm_${kind}_choices\n set -l now (date +%s ^/dev/null)\n if test -z \"$now\"\n set now 0\n end\n set -l ttl 120\n if set -q PM_COMPLETION_${envKind}_TTL\n set ttl $PM_COMPLETION_${envKind}_TTL\n end\n if set -q PM_COMPLETION_${envKind}_CACHE; and set -q PM_COMPLETION_${envKind}_CACHE_TS\n set -l age (math \"$now - $PM_COMPLETION_${envKind}_CACHE_TS\")\n if test $age -lt $ttl\n printf '%s\\\\n' $PM_COMPLETION_${envKind}_CACHE\n return\n end\n end\n set -l resolved (pm ${command} ^/dev/null)\n if test (count $resolved) -eq 0\n set resolved '${escapedFallback}'\n end\n set -gx PM_COMPLETION_${envKind}_CACHE $resolved\n set -gx PM_COMPLETION_${envKind}_CACHE_TS $now\n printf '%s\\\\n' $resolved\nend\n`;\n}\n\n/**\n * Implements generate bash script for the public runtime surface of this module.\n */\nexport function generateBashScript(\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): string {\n const cmds = ALL_COMMANDS.join(\" \");\n const useDynamicTypeExpansion = itemTypes.length === 0;\n const typeValues = completionTypeValues(itemTypes, runtime);\n const statusValues = completionStatusValues(runtime);\n const tagValues = joinCompletionValues(tags);\n const listFlags = mergeFlagStrings(LIST_FLAGS, runtime.command_flags?.list);\n const createFlags = mergeFlagStrings(CREATE_FLAGS, runtime.command_flags?.create);\n const updateFlags = mergeFlagStrings(UPDATE_FLAGS, runtime.command_flags?.update);\n const updateManyFlags = mergeFlagStrings(UPDATE_MANY_FLAGS, runtime.command_flags?.[\"update-many\"]);\n const normalizeFlags = NORMALIZE_FLAGS;\n const searchFlags = mergeFlagStrings(SEARCH_FLAGS, runtime.command_flags?.search);\n const calendarFlags = mergeFlagStrings(CALENDAR_FLAGS, runtime.command_flags?.calendar);\n const contextFlags = mergeFlagStrings(CONTEXT_FLAGS, runtime.command_flags?.context);\n const useEagerTagExpansion = eagerTagExpansion || tags.length > 0;\n // Note: \"${...}\" inside regular (non-template) strings are literal characters,\n // not JS interpolation. Only backtick template literals interpolate ${...}.\n const compgen = (flags: string): string => `$(compgen -W \"${flags}\" -- \"$cur\")`;\n return [\n \"# bash completion for pm\",\n '# Source this file or add \\'eval \"$(pm completion bash)\"\\' to ~/.bashrc',\n \"\",\n ...(useDynamicTypeExpansion ? [...renderBashDynamicChoiceResolver(\"type\", \"completion-types\", typeValues), \"\"] : []),\n ...renderBashDynamicChoiceResolver(\"status\", \"completion-statuses\", statusValues),\n \"\",\n \"_pm_completion() {\",\n \" local cur prev words cword\",\n \" _init_completion 2>/dev/null || {\",\n ' cur=\"${COMP_WORDS[COMP_CWORD]}\"',\n ' prev=\"${COMP_WORDS[COMP_CWORD-1]}\"',\n \" cword=$COMP_CWORD\",\n \" }\",\n \"\",\n \" if [[ $cword -eq 1 ]]; then\",\n ` COMPREPLY=(${compgen(cmds)})`,\n \" return 0\",\n \" fi\",\n \"\",\n ' if [[ \"$prev\" == \"--type\" ]]; then',\n useDynamicTypeExpansion\n ? ' COMPREPLY=($(compgen -W \"$(_pm_completion_type_choices)\" -- \"$cur\"))'\n : ` COMPREPLY=(${compgen(typeValues)})`,\n \" return 0\",\n \" fi\",\n \"\",\n ' if [[ \"$prev\" == \"--status\" ]]; then',\n ' COMPREPLY=($(compgen -W \"$(_pm_completion_status_choices)\" -- \"$cur\"))',\n \" return 0\",\n \" fi\",\n \"\",\n ...(useEagerTagExpansion\n ? [\n ' if [[ \"$prev\" == \"--tag\" || \"$prev\" == \"--tags\" ]]; then',\n ` COMPREPLY=(${compgen(tagValues)})`,\n \" return 0\",\n \" fi\",\n ]\n : [\n ' if [[ \"$prev\" == \"--tag\" || \"$prev\" == \"--tags\" ]]; then',\n ' local now ttl cache_ts tag_values',\n ' now=\"$(date +%s 2>/dev/null || echo 0)\"',\n ' ttl=\"${PM_COMPLETION_TAG_TTL:-120}\"',\n ' cache_ts=\"${PM_COMPLETION_TAG_CACHE_TS:-0}\"',\n ' tag_values=\"${PM_COMPLETION_TAG_CACHE:-}\"',\n ' if [[ -z \"$tag_values\" || \"$now\" -eq 0 || $((now - cache_ts)) -ge \"$ttl\" ]]; then',\n ' tag_values=\"$(pm completion-tags 2>/dev/null)\"',\n ' PM_COMPLETION_TAG_CACHE=\"$tag_values\"',\n ' PM_COMPLETION_TAG_CACHE_TS=\"$now\"',\n \" fi\",\n ' COMPREPLY=($(compgen -W \"$tag_values\" -- \"$cur\"))',\n \" return 0\",\n \" fi\",\n ]),\n \"\",\n ' local cmd=\"${COMP_WORDS[1]}\"',\n \"\",\n ' case \"$cmd\" in',\n \" list|list-all|list-draft|list-open|list-in-progress|list-blocked|list-closed|list-canceled)\",\n ` COMPREPLY=(${compgen(listFlags)})`,\n \" ;;\",\n \" aggregate)\",\n ` COMPREPLY=(${compgen(AGGREGATE_FLAGS)})`,\n \" ;;\",\n \" dedupe-audit)\",\n ` COMPREPLY=(${compgen(\"--mode --limit --threshold --status --type --tag --priority --deadline-before --deadline-after --assignee --assignee-filter --parent --sprint --release --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" create)\",\n ` COMPREPLY=(${compgen(createFlags)})`,\n \" ;;\",\n \" copy)\",\n ` COMPREPLY=(${compgen(COPY_FLAGS)})`,\n \" ;;\",\n \" focus)\",\n ` COMPREPLY=(${compgen(FOCUS_FLAGS)})`,\n \" ;;\",\n \" update)\",\n ` COMPREPLY=(${compgen(updateFlags)})`,\n \" ;;\",\n \" update-many)\",\n ` COMPREPLY=(${compgen(updateManyFlags)})`,\n \" ;;\",\n \" normalize)\",\n ` COMPREPLY=(${compgen(normalizeFlags)})`,\n \" ;;\",\n \" calendar|cal)\",\n ` COMPREPLY=(${compgen(calendarFlags)})`,\n \" ;;\",\n \" context|ctx)\",\n ` COMPREPLY=(${compgen(contextFlags)})`,\n \" ;;\",\n \" next)\",\n ` COMPREPLY=(${compgen(NEXT_FLAGS)})`,\n \" ;;\",\n \" guide)\",\n ` COMPREPLY=(${compgen(`${GUIDE_FLAGS} ${GUIDE_TOPIC_CHOICES}`)})`,\n \" ;;\",\n \" search)\",\n ` COMPREPLY=(${compgen(searchFlags)})`,\n \" ;;\",\n \" reindex)\",\n ` COMPREPLY=(${compgen(\"--mode --progress --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" init)\",\n ` COMPREPLY=(${compgen(`${INIT_FLAGS} --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help`)})`,\n \" ;;\",\n \" config)\",\n ` COMPREPLY=(${compgen(\"--criterion --clear-criteria --format --policy --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" extension)\",\n ` COMPREPLY=(${compgen(`${LIFECYCLE_ACTIONS} ${EXTENSION_LIFECYCLE_FLAGS}`)})`,\n \" ;;\",\n \" package|packages)\",\n ` COMPREPLY=(${compgen(`${LIFECYCLE_ACTIONS} ${PACKAGE_LIFECYCLE_FLAGS}`)})`,\n \" ;;\",\n \" comments)\",\n ` COMPREPLY=(${compgen(\"--add --stdin --file --edit --delete --limit --author --message --allow-audit-comment --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" comments-audit)\",\n ` COMPREPLY=(${compgen(\"--status --type --tag --priority --parent --sprint --release --assignee --assignee-filter --limit-items --limit --full-history --latest --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" notes)\",\n ` COMPREPLY=(${compgen(\"--add --limit --author --message --allow-audit-note --allow-audit-comment --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" learnings)\",\n ` COMPREPLY=(${compgen(\"--add --limit --author --message --allow-audit-learning --allow-audit-comment --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" files)\",\n ` COMPREPLY=(${compgen(\"discover --add --add-glob --remove --migrate --list --apply --note --append-stable --validate-paths --audit --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" docs)\",\n ` COMPREPLY=(${compgen(\"--add --add-glob --remove --migrate --note --validate-paths --audit --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" append)\",\n ` COMPREPLY=(${compgen(APPEND_FLAGS)})`,\n \" ;;\",\n \" deps)\",\n ` COMPREPLY=(${compgen(DEPS_FLAGS)})`,\n \" ;;\",\n \" test)\",\n ` COMPREPLY=(${compgen(\"--add --add-json --remove --list --run --match --only-index --only-last --background --timeout --progress --env-set --env-clear --shared-host-safe --pm-context --override-linked-pm-context --fail-on-context-mismatch --fail-on-skipped --fail-on-empty-test-run --require-assertions-for-pm --check-context --auto-pm-context --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" test-all)\",\n ` COMPREPLY=(${compgen(\"--status --limit --offset --background --timeout --progress --env-set --env-clear --shared-host-safe --pm-context --override-linked-pm-context --fail-on-context-mismatch --fail-on-skipped --fail-on-empty-test-run --require-assertions-for-pm --check-context --auto-pm-context --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" test-runs)\",\n ` COMPREPLY=(${compgen(\"list status logs stop resume --status --limit --stream --tail --force --author --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" validate)\",\n ` COMPREPLY=(${compgen(\"--check-metadata --metadata-profile --check-resolution --check-lifecycle --check-stale-blockers --dependency-cycle-severity --parent-cycle-severity --check-files --scan-mode --include-pm-internals --verbose-file-lists --verbose-diagnostics --all-affected-ids --strict-exit --fail-on-warn --fix-hints --auto-fix --dry-run --fix-scope --prune-missing --check-history-drift --check-command-references --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" health)\",\n ` COMPREPLY=(${compgen(HEALTH_FLAGS)})`,\n \" ;;\",\n \" history)\",\n ` COMPREPLY=(${compgen(\"--limit --compact --full --diff --field --verify --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" history-compact)\",\n ` COMPREPLY=(${compgen(\"--before --ids --all-over --closed --all-streams --min-entries --dry-run --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" get)\",\n ` COMPREPLY=(${compgen(GET_FLAGS)})`,\n \" ;;\",\n \" history-redact)\",\n ` COMPREPLY=(${compgen(\"--literal --regex --replacement --dry-run --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" history-repair)\",\n ` COMPREPLY=(${compgen(\"--all --dry-run --author --message --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" schema)\",\n ` COMPREPLY=(${compgen(\"list show show-status add-type remove-type add-status remove-status add-field remove-field list-fields show-field apply-preset --description --default-status --folder --alias --role --order --type --commands --cli-flag --required --required-on-create --no-allow-unset --required-types --infer --min-count --apply --author --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" profile)\",\n ` COMPREPLY=(${compgen(\"list show apply lint agile ops research --dry-run --author --force --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" plan)\",\n ` COMPREPLY=(${compgen(`${PLAN_SUBCOMMANDS_LIST} ${PLAN_FLAGS}`)})`,\n \" ;;\",\n \" activity)\",\n ` COMPREPLY=(${compgen(ACTIVITY_FLAGS)})`,\n \" ;;\",\n \" contracts)\",\n ` COMPREPLY=(${compgen(CONTRACTS_FLAGS)})`,\n \" ;;\",\n \" gc)\",\n ` COMPREPLY=(${compgen(\"--dry-run --scope --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" stats)\",\n ` COMPREPLY=(${compgen(\"--storage --metadata-coverage --field-utilization --by-assignee --by-tag --by-priority --tag-prefix --json --quiet --no-changed-fields --pm-path --path --no-extensions --no-pager --profile --help\")})`,\n \" ;;\",\n \" close|close-task)\",\n ` COMPREPLY=(${compgen(CLOSE_MUTATION_FLAGS)})`,\n \" ;;\",\n \" close-many)\",\n ` COMPREPLY=(${compgen(CLOSE_MANY_FLAGS)})`,\n \" ;;\",\n \" release)\",\n ` COMPREPLY=(${compgen(RELEASE_MUTATION_FLAGS)})`,\n \" ;;\",\n \" delete)\",\n ` COMPREPLY=(${compgen(DELETE_MUTATION_FLAGS)})`,\n \" ;;\",\n \" claim|restore|start-task|pause-task)\",\n ` COMPREPLY=(${compgen(MUTATION_FLAGS)})`,\n \" ;;\",\n \" meet|event)\",\n ` COMPREPLY=(${compgen(MEET_FLAGS)})`,\n \" ;;\",\n \" remind)\",\n ` COMPREPLY=(${compgen(REMIND_FLAGS)})`,\n \" ;;\",\n \" completion)\",\n ` COMPREPLY=(${compgen(COMPLETION_SHELL_CHOICES)})`,\n \" ;;\",\n \" templates)\",\n ` COMPREPLY=(${compgen(\"save list show\")})`,\n \" ;;\",\n \" *)\",\n ` COMPREPLY=(${compgen(GLOBAL_FLAGS)})`,\n \" ;;\",\n \" esac\",\n \" return 0\",\n \"}\",\n \"\",\n \"complete -F _pm_completion pm\",\n ].join(\"\\n\");\n}\n\n/**\n * Implements generate zsh script for the public runtime surface of this module.\n */\nexport function generateZshScript(\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): string {\n const cmds = ALL_COMMANDS.map((c) => `'${c}'`).join(\" \");\n const useDynamicTypeExpansion = itemTypes.length === 0;\n const typeFallbackChoices = completionTypeValues(itemTypes, runtime);\n const statusFallbackChoices = completionStatusValues(runtime);\n const typeChoices = useDynamicTypeExpansion ? '${(f)\"$(_pm_type_choices)\"}' : typeFallbackChoices;\n const statusChoices = '${(f)\"$(_pm_status_choices)\"}';\n const guideTopicChoices = GUIDE_TOPIC_CHOICES;\n const tagChoices = joinCompletionValues(tags);\n const useEagerTagExpansion = eagerTagExpansion || tags.length > 0;\n const zshTagChoices = useEagerTagExpansion ? tagChoices : '${(f)\"$(_pm_tag_choices)\"}';\n const zshListRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.list);\n const zshCreateRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.create);\n const zshUpdateRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.update);\n const zshUpdateManyRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.[\"update-many\"]);\n const zshSearchRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.search);\n const zshCalendarRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.calendar);\n const zshContextRuntimeFieldFlags = renderZshRuntimeFieldFlagSpecs(runtime.command_flags?.context);\n const dynamicTagResolver = useEagerTagExpansion\n ? \"\"\n : `\n_pm_tag_choices() {\n local now ttl cache_ts\n now=\\${EPOCHSECONDS:-0}\n ttl=\\${PM_COMPLETION_TAG_TTL:-120}\n cache_ts=\\${PM_COMPLETION_TAG_CACHE_TS:-0}\n if [[ -n \"\\${PM_COMPLETION_TAG_CACHE:-}\" && \"$now\" -ne 0 && $((now - cache_ts)) -lt \"$ttl\" ]]; then\n print -r -- \"$PM_COMPLETION_TAG_CACHE\"\n return\n fi\n PM_COMPLETION_TAG_CACHE=\"$(pm completion-tags 2>/dev/null)\"\n PM_COMPLETION_TAG_CACHE_TS=\"$now\"\n print -r -- \"$PM_COMPLETION_TAG_CACHE\"\n}\n`;\n return `#compdef pm\n# zsh completion for pm\n# Source this file or add 'eval \"$(pm completion zsh)\"' to ~/.zshrc\n\n_pm_commands() {\n local -a commands\n commands=(\n 'init:Initialize pm storage for the current workspace'\n 'config:Read or update pm settings'\n 'extension:Manage extension lifecycle operations'\n 'package:Manage package lifecycle operations'\n 'packages:Alias for package'\n 'create:Create a new project management item'\n 'copy:Copy an existing item to a new ID'\n 'focus:Set/clear/show the session focused parent for new items'\n 'list:List active items with optional filters'\n 'list-all:List all items with optional filters'\n 'list-draft:List draft items with optional filters'\n 'list-open:List open items with optional filters'\n 'list-in-progress:List in-progress items with optional filters'\n 'list-blocked:List blocked items with optional filters'\n 'list-closed:List closed items with optional filters'\n 'list-canceled:List canceled items with optional filters'\n 'aggregate:Aggregate grouped item counts and numeric stats for governance queries'\n 'dedupe-audit:Audit potential duplicate items and emit merge suggestions'\n 'guide:Browse local progressive-disclosure guides'\n 'calendar:Show calendar views for deadlines and reminders'\n 'cal:Alias for calendar'\n 'context:Show a token-efficient project context snapshot'\n 'ctx:Alias for context'\n 'get:Show item details by ID'\n 'next:Recommend the next actionable (unblocked, ready) work item'\n 'search:Search items with keyword, semantic, or hybrid modes'\n 'reindex:Rebuild search artifacts'\n 'history:Show item history entries'\n 'history-compact:Compact history streams into a synthetic baseline + retained tail'\n 'history-redact:Redact sensitive literals/patterns and recompute history hashes'\n 'history-repair:Re-anchor a drifted history chain so pm health/validate report ok'\n 'schema:Manage custom item types and statuses in .agents/pm/schema/*.json'\n 'profile:List, show, apply, and lint project profiles (archetype schema/config/template/package bundles)'\n 'plan:Agent-optimized Plan item workflow (create/show/add-step/update-step/complete-step/link/approve/materialize)'\n 'activity:Show recent activity across items'\n 'restore:Restore an item to an earlier state'\n 'update:Update item fields and metadata'\n 'update-many:Bulk-update matched items with dry-run and rollback checkpoints'\n 'normalize:Normalize lifecycle metadata with dry-run planning or apply mode'\n 'close:Close an item (reason requirement follows governance settings)'\n 'close-many:Bulk-close matched items with an optional shared reason and rollback checkpoint'\n 'delete:Delete an item and record the change'\n 'append:Append text to an item body'\n 'comments:List or add comments for an item'\n 'comments-audit:Audit latest comments or full history across filtered items'\n 'notes:List or add notes for an item'\n 'learnings:List or add learnings for an item'\n 'files:Manage linked files'\n 'docs:Manage linked docs'\n 'deps:Show dependency relationships for an item'\n 'test:Manage linked tests and optionally run them'\n 'test-all:Run linked tests across matching items'\n 'test-runs:Manage background linked-test runs'\n 'stats:Show project tracker statistics'\n 'health:Show project tracker health checks'\n 'validate:Run standalone validation checks'\n 'gc:Clean optional cache artifacts'\n 'contracts:Show machine-readable command and schema contracts'\n 'claim:Claim an item for active work'\n 'release:Release the active claim for an item'\n 'start-task:Lifecycle alias to claim and set in_progress'\n 'pause-task:Lifecycle alias to reopen and release claim'\n 'close-task:Lifecycle alias to close and release claim'\n 'meet:Shortcut to create a Meeting with scheduling defaults'\n 'event:Shortcut to create an Event with scheduling defaults'\n 'remind:Shortcut to create a Reminder from a point in time'\n 'templates:Manage reusable create templates'\n 'completion:Generate shell completion'\n 'help:Display help for a command'\n )\n _describe 'command' commands\n}\n${dynamicTagResolver}\n${useDynamicTypeExpansion ? renderZshDynamicChoiceResolver(\"type\", \"completion-types\", typeFallbackChoices) : \"\"}\n${renderZshDynamicChoiceResolver(\"status\", \"completion-statuses\", statusFallbackChoices)}\n\n_pm() {\n local context state line\n _arguments -C \\\\\n '--json[Output JSON instead of TOON]' \\\\\n '--quiet[Suppress stdout output]' \\\\\n '--no-changed-fields[Omit changed_fields array from mutation output]' \\\\\n '--pm-path[Explicit tracker storage path for this command]:path:_files -/' \\\\\n '--path[Compatibility alias for --pm-path]:path:_files -/' \\\\\n '--no-extensions[Disable extension loading]' \\\\\n '--no-pager[Disable pager integration for help and long output]' \\\\\n '--profile[Print deterministic timing diagnostics]' \\\\\n '(-V --version)--version[Output the version number]' \\\\\n '(-h --help)--help[Display help]' \\\\\n '1: :_pm_commands' \\\\\n '*:: :->args' && return 0\n\n case $state in\n args)\n case $line[1] in\n list|list-all|list-draft|list-open|list-in-progress|list-blocked|list-closed|list-canceled)\n _arguments \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--tags[Alias for --tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\\\\n '--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\\\\n '--updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\\\\n '--updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\\\\n '--created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\\\\n '--created-before[Filter by created_at upper bound (ISO/relative)]:timestamp' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--has-notes[Select only items that have notes]' \\\\\n '--no-notes[Select only items with no notes]' \\\\\n '--has-learnings[Select only items that have learnings]' \\\\\n '--no-learnings[Select only items with no learnings]' \\\\\n '--has-files[Select only items that have linked files]' \\\\\n '--no-files[Select only items with no linked files]' \\\\\n '--has-docs[Select only items that have linked docs]' \\\\\n '--no-docs[Select only items with no linked docs]' \\\\\n '--has-tests[Select only items that have linked tests]' \\\\\n '--no-tests[Select only items with no linked tests]' \\\\\n '--has-comments[Select only items that have comments]' \\\\\n '--no-comments[Select only items with no comments]' \\\\\n '--has-deps[Select only items that have dependencies]' \\\\\n '--no-deps[Select only items with no dependencies]' \\\\\n '--has-body[Select only items with non-empty body]' \\\\\n '--empty-body[Select only items with empty body]' \\\\\n '--has-linked-command[Select only items that have a linked command]' \\\\\n '--no-linked-command[Select only items with no linked command]' \\\\\n '--limit[Limit returned item count]:number' \\\\\n '--offset[Skip the first n matching rows before limit]:number' \\\\\n '--no-truncate[Return every matched row, overriding --limit]' \\\\\n '--all[Alias for --no-truncate]' \\\\\n '--include-body[Include item body in each returned list row]' \\\\\n '--compact[Render compact list projection fields]' \\\\\n '--fields[Render custom comma-separated list fields]:fields' \\\\\n '--tree[Render hierarchical subtree output rooted at --parent or top-level parents]' \\\\\n '--tree-depth[Cap recursion depth for --tree (0 = root only)]:number' \\\\\n '--sort[Sort field]:(priority deadline updated_at created_at title parent)' \\\\\n '--order[Sort order (requires --sort)]:(asc desc)' \\\\\n '--stream[Emit line-delimited JSON rows (requires --json)]' \\\\\n${zshListRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]' \\\\\n '--pm-path[Explicit tracker storage path]:path:_files -/' \\\\\n '--path[Compatibility alias for --pm-path]:path:_files -/'\n ;;\n aggregate)\n _arguments \\\\\n '--group-by[Comma-separated group-by fields (supported: parent,type,priority,status,assignee,tags,sprint,release)]:fields' \\\\\n '--count[Return grouped counts]' \\\\\n '--completion[Add open/in_progress/closed/other counts and completion percentage]' \\\\\n '--sum[Numeric field to sum per group]:field' \\\\\n '--avg[Numeric field to average per group]:field' \\\\\n '--include-unparented[Include unparented rows when grouping by parent]' \\\\\n '--status[Filter by status]:(${statusChoices})' \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\\\\n '--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--parent[Filter by parent item ID]:parent_id' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n dedupe-audit)\n _arguments \\\\\n '--mode[Dedupe mode]:(title_exact title_fuzzy parent_scope)' \\\\\n '--limit[Limit returned duplicate clusters]:number' \\\\\n '--threshold[Fuzzy mode token similarity threshold between 0 and 1]:number' \\\\\n '--status[Filter by status]:(${statusChoices})' \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--deadline-before[Filter by deadline upper bound (ISO/date string or relative)]:date' \\\\\n '--deadline-after[Filter by deadline lower bound (ISO/date string or relative)]:date' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--parent[Filter by parent item ID]:parent_id' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n create)\n _arguments \\\\\n '(-t --title)'{-t,--title}'[Item title]:title' \\\\\n '(-d --description)'{-d,--description}'[Item description]:description' \\\\\n '--type[Item type]:(${typeChoices})' \\\\\n '--create-mode[Create required-option policy mode]:(strict progressive)' \\\\\n '--schedule-preset[Scheduling preset for Reminder/Meeting/Event]:(lightweight)' \\\\\n '(-s --status)'{-s,--status}'[Item status]:(${statusChoices})' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '--add-tags[Add tags additively without replacing existing]:tags' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '--body-file[Load the item body from a file]:body_file:_files' \\\\\n '--deadline[Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)]:deadline' \\\\\n '--estimate[Estimated minutes]:minutes' \\\\\n '--acceptance-criteria[Acceptance criteria]:criteria' \\\\\n '--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\\\\n '--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\\\\n '--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\\\\n '--unset[Clear scalar metadata field by name]:field' \\\\\n '--replace-deps[Atomically replace dependencies with provided --dep values]' \\\\\n '--replace-tests[Atomically replace linked tests with provided --test values]' \\\\\n '--clear-deps[Clear dependency entries]' \\\\\n '--clear-comments[Clear comments]' \\\\\n '--clear-notes[Clear notes]' \\\\\n '--clear-learnings[Clear learnings]' \\\\\n '--clear-files[Clear linked files]' \\\\\n '--clear-tests[Clear linked tests]' \\\\\n '--clear-docs[Clear linked docs]' \\\\\n '--clear-reminders[Clear reminders]' \\\\\n '--clear-events[Clear events]' \\\\\n '--clear-type-options[Clear type options]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--assignee[Assignee]:assignee' \\\\\n${zshCreateRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n copy)\n _arguments \\\\\n '--title[Override copied title]:title' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force ownership override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n focus)\n _arguments \\\\\n '--clear[Clear the focused item]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n meet|event)\n _arguments \\\\\n '--start[Start time (ISO, now, or relative)]:start' \\\\\n '--duration[Duration from start (default 1h)]:duration' \\\\\n '--end[End time (overrides --duration)]:end' \\\\\n '--location[Location]:location' \\\\\n '--timezone[IANA timezone]:timezone' \\\\\n '--all-day[Mark as an all-day event]' \\\\\n '--parent[Parent item id]:parent' \\\\\n '--allow-missing-parent[Permit a parent id that does not exist yet]' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '(-d --description)'{-d,--description}'[Short description]:description' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n remind)\n _arguments \\\\\n '--at[Reminder time (default +1d)]:at' \\\\\n '--text[Reminder text (defaults to title)]:text' \\\\\n '--parent[Parent item id]:parent' \\\\\n '--allow-missing-parent[Permit a parent id that does not exist yet]' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '(-d --description)'{-d,--description}'[Short description]:description' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n update)\n _arguments \\\\\n '(-t --title)'{-t,--title}'[Item title]:title' \\\\\n '(-d --description)'{-d,--description}'[Item description]:description' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '--body-file[Load the item body from a file]:body_file:_files' \\\\\n '(-s --status)'{-s,--status}'[Item status]:(${statusChoices})' \\\\\n '--close-reason[Set close reason]:close_reason' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '--type[Item type]:(${typeChoices})' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '--add-tags[Add tags additively without replacing existing]:tags' \\\\\n '--remove-tags[Remove tags from the existing list]:tags' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--comment[Comment seed author=<value>,created_at=<iso|now>,text=<value>]:comment' \\\\\n '--note[Note seed author=<value>,created_at=<iso|now>,text=<value>]:note' \\\\\n '--learning[Learning seed author=<value>,created_at=<iso|now>,text=<value>]:learning' \\\\\n '--file[Linked file path=<value>,scope=<project|global>,note=<text>]:file' \\\\\n '--test[Linked test command=<value>,path=<value>,scope=<project|global>]:test' \\\\\n '--doc[Linked doc path=<value>,scope=<project|global>,note=<text>]:doc' \\\\\n '--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\\\\n '--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\\\\n '--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\\\\n '--unset[Clear scalar metadata field by name]:field' \\\\\n '--clear-deps[Clear dependency entries]' \\\\\n '--clear-comments[Clear comments]' \\\\\n '--clear-notes[Clear notes]' \\\\\n '--clear-learnings[Clear learnings]' \\\\\n '--clear-files[Clear linked files]' \\\\\n '--clear-tests[Clear linked tests]' \\\\\n '--clear-docs[Clear linked docs]' \\\\\n '--clear-reminders[Clear reminders]' \\\\\n '--clear-events[Clear events]' \\\\\n '--clear-type-options[Clear type options]' \\\\\n${zshUpdateRuntimeFieldFlags} '--allow-audit-update[Allow non-owner metadata-only audit updates without requiring --force]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n update-many)\n _arguments \\\\\n '--filter-status[Filter by status before applying updates]:(${statusChoices})' \\\\\n '--filter-type[Filter by type before applying updates]:(${typeChoices})' \\\\\n '--filter-tag[Filter by tag before applying updates]:(${zshTagChoices})' \\\\\n '--filter-priority[Filter by priority before applying updates]:(0 1 2 3 4)' \\\\\n '--filter-deadline-before[Filter by deadline upper bound]:deadline' \\\\\n '--filter-deadline-after[Filter by deadline lower bound]:deadline' \\\\\n '--filter-updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-before[Filter by created_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-assignee[Filter by assignee before applying updates]:assignee' \\\\\n '--filter-assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--filter-parent[Filter by parent item ID]:parent' \\\\\n '--filter-sprint[Filter by sprint]:sprint' \\\\\n '--filter-release[Filter by release]:release' \\\\\n '--filter-ac-missing[Select only items missing acceptance_criteria]' \\\\\n '--filter-estimates-missing[Select only items missing estimated_minutes]' \\\\\n '--filter-resolution-missing[Select only terminal items missing resolution]' \\\\\n '--filter-metadata-missing[Select only items missing any tracked metadata]' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--filter-has-notes[Select only items that have notes]' \\\\\n '--filter-no-notes[Select only items with no notes]' \\\\\n '--filter-has-learnings[Select only items that have learnings]' \\\\\n '--filter-no-learnings[Select only items with no learnings]' \\\\\n '--filter-has-files[Select only items that have linked files]' \\\\\n '--filter-no-files[Select only items with no linked files]' \\\\\n '--filter-has-docs[Select only items that have linked docs]' \\\\\n '--filter-no-docs[Select only items with no linked docs]' \\\\\n '--filter-has-tests[Select only items that have linked tests]' \\\\\n '--filter-no-tests[Select only items with no linked tests]' \\\\\n '--filter-has-comments[Select only items that have comments]' \\\\\n '--filter-no-comments[Select only items with no comments]' \\\\\n '--filter-has-deps[Select only items that have dependencies]' \\\\\n '--filter-no-deps[Select only items with no dependencies]' \\\\\n '--filter-has-body[Select only items with non-empty body]' \\\\\n '--filter-empty-body[Select only items with empty body]' \\\\\n '--filter-has-linked-command[Select only items that have a linked command]' \\\\\n '--filter-no-linked-command[Select only items with no linked command]' \\\\\n '--ids[Explicit comma-separated ID allowlist]:ids' \\\\\n '--limit[Limit matched item count]:number' \\\\\n '--offset[Skip first n matched rows]:number' \\\\\n '--dry-run[Preview updates without mutating]' \\\\\n '--rollback[Rollback checkpoint ID]:checkpoint_id' \\\\\n '--no-checkpoint[Disable checkpoint creation during apply mode]' \\\\\n '(-t --title)'{-t,--title}'[Item title]:title' \\\\\n '(-d --description)'{-d,--description}'[Item description]:description' \\\\\n '(-b --body)'{-b,--body}'[Item body]:body' \\\\\n '(-p --priority)'{-p,--priority}'[Priority (0-4)]:(0 1 2 3 4)' \\\\\n '--type[Item type]:(${typeChoices})' \\\\\n '--tags[Comma-separated tags]:tags' \\\\\n '--add-tags[Add tags additively without replacing existing]:tags' \\\\\n '--remove-tags[Remove tags from the existing list]:tags' \\\\\n '--deadline[Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)]:deadline' \\\\\n '--estimate[Estimated minutes]:minutes' \\\\\n '--acceptance-criteria[Acceptance criteria]:criteria' \\\\\n '--definition-of-ready[Definition of ready]:definition_of_ready' \\\\\n '--order[Planning order/rank]:order' \\\\\n '--goal[Goal identifier]:goal' \\\\\n '--objective[Objective identifier]:objective' \\\\\n '--value[Business value summary]:value' \\\\\n '--impact[Business impact summary]:impact' \\\\\n '--outcome[Expected outcome summary]:outcome' \\\\\n '--why-now[Why-now rationale]:why_now' \\\\\n '--reviewer[Reviewer]:reviewer' \\\\\n '--risk[Risk level]:risk' \\\\\n '--confidence[Confidence level]:confidence' \\\\\n '--sprint[Sprint identifier]:sprint' \\\\\n '--release[Release identifier]:release' \\\\\n '--reporter[Issue reporter]:reporter' \\\\\n '--severity[Issue severity]:severity' \\\\\n '--environment[Issue environment context]:environment' \\\\\n '--repro-steps[Issue reproduction steps]:repro_steps' \\\\\n '--resolution[Issue resolution summary]:resolution' \\\\\n '--expected-result[Issue expected behavior]:expected_result' \\\\\n '--actual-result[Issue observed behavior]:actual_result' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--affected-version[Affected version identifier]:affected_version' \\\\\n '--fixed-version[Fixed version identifier]:fixed_version' \\\\\n '--component[Issue component ownership]:component' \\\\\n '--regression[Regression marker true|false|1|0]:regression' \\\\\n '--customer-impact[Customer impact summary]:customer_impact' \\\\\n '--dep[Dependency seed id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>]:dep' \\\\\n '--dep-remove[Dependency removal selector id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>]:dep_remove' \\\\\n '--replace-deps[Atomically replace dependencies with provided --dep values]' \\\\\n '--replace-tests[Atomically replace linked tests with provided --test values]' \\\\\n '--comment[Comment seed author=<value>,created_at=<iso|now>,text=<value>]:comment' \\\\\n '--note[Note seed author=<value>,created_at=<iso|now>,text=<value>]:note' \\\\\n '--learning[Learning seed author=<value>,created_at=<iso|now>,text=<value>]:learning' \\\\\n '--file[Linked file path=<value>,scope=<project|global>,note=<text>]:file' \\\\\n '--test[Linked test command=<value>,path=<value>,scope=<project|global>]:test' \\\\\n '--doc[Linked doc path=<value>,scope=<project|global>,note=<text>]:doc' \\\\\n '--reminder[Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>]:reminder' \\\\\n '--event[Event entry start=<iso|relative>,end=<iso|relative>,recur_*]:event' \\\\\n '--type-option[Type option key=value or key=<name>,value=<value>]:type_option' \\\\\n '--unset[Clear scalar metadata field by name]:field' \\\\\n '--clear-deps[Clear dependency entries]' \\\\\n '--clear-comments[Clear comments]' \\\\\n '--clear-notes[Clear notes]' \\\\\n '--clear-learnings[Clear learnings]' \\\\\n '--clear-files[Clear linked files]' \\\\\n '--clear-tests[Clear linked tests]' \\\\\n '--clear-docs[Clear linked docs]' \\\\\n '--clear-reminders[Clear reminders]' \\\\\n '--clear-events[Clear events]' \\\\\n '--clear-type-options[Clear type options]' \\\\\n${zshUpdateManyRuntimeFieldFlags} '--allow-audit-update[Allow non-owner metadata-only audit updates without requiring --force]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n close-many)\n _arguments \\\\\n '--filter-status[Filter by status before closing]:(${statusChoices})' \\\\\n '--filter-type[Filter by type before closing]:(${typeChoices})' \\\\\n '--filter-tag[Filter by tag before closing]:(${zshTagChoices})' \\\\\n '--filter-priority[Filter by priority before closing]:(0 1 2 3 4)' \\\\\n '--filter-deadline-before[Filter by deadline upper bound]:deadline' \\\\\n '--filter-deadline-after[Filter by deadline lower bound]:deadline' \\\\\n '--filter-updated-after[Filter by updated_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-updated-before[Filter by updated_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-after[Filter by created_at lower bound (ISO/relative)]:timestamp' \\\\\n '--filter-created-before[Filter by created_at upper bound (ISO/relative)]:timestamp' \\\\\n '--filter-assignee[Filter by assignee before closing]:assignee' \\\\\n '--filter-assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--filter-parent[Filter by parent item ID]:parent' \\\\\n '--filter-sprint[Filter by sprint]:sprint' \\\\\n '--filter-release[Filter by release]:release' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--filter-has-notes[Select only items that have notes]' \\\\\n '--filter-no-notes[Select only items with no notes]' \\\\\n '--filter-has-learnings[Select only items that have learnings]' \\\\\n '--filter-no-learnings[Select only items with no learnings]' \\\\\n '--filter-has-files[Select only items that have linked files]' \\\\\n '--filter-no-files[Select only items with no linked files]' \\\\\n '--filter-has-docs[Select only items that have linked docs]' \\\\\n '--filter-no-docs[Select only items with no linked docs]' \\\\\n '--filter-has-tests[Select only items that have linked tests]' \\\\\n '--filter-no-tests[Select only items with no linked tests]' \\\\\n '--filter-has-comments[Select only items that have comments]' \\\\\n '--filter-no-comments[Select only items with no comments]' \\\\\n '--filter-has-deps[Select only items that have dependencies]' \\\\\n '--filter-no-deps[Select only items with no dependencies]' \\\\\n '--filter-has-body[Select only items with non-empty body]' \\\\\n '--filter-empty-body[Select only items with empty body]' \\\\\n '--filter-has-linked-command[Select only items that have a linked command]' \\\\\n '--filter-no-linked-command[Select only items with no linked command]' \\\\\n '--ids[Explicit comma-separated ID allowlist]:ids' \\\\\n '--limit[Limit matched item count]:number' \\\\\n '--offset[Skip first n matched rows]:number' \\\\\n '--reason[Optional shared close reason applied to every matched item]:reason' \\\\\n '--resolution[Shared closure resolution]:resolution' \\\\\n '--expected-result[Shared expected-result note]:expected_result' \\\\\n '--actual-result[Shared actual-result note]:actual_result' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--validate-close[Validate closure metadata per item]:(off warn strict)' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Re-close terminal matches and override ownership]' \\\\\n '--dry-run[Preview matched items without mutating]' \\\\\n '--rollback[Rollback checkpoint ID]:checkpoint_id' \\\\\n '--no-checkpoint[Disable checkpoint creation during apply mode]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n normalize)\n _arguments \\\\\n '--filter-status[Filter by status before planning or apply]:(${statusChoices})' \\\\\n '--filter-type[Filter by type before planning or apply]:(${typeChoices})' \\\\\n '--filter-tag[Filter by tag before planning or apply]:(${zshTagChoices})' \\\\\n '--filter-priority[Filter by priority before planning or apply]:(0 1 2 3 4)' \\\\\n '--filter-deadline-before[Filter by deadline upper bound]:deadline' \\\\\n '--filter-deadline-after[Filter by deadline lower bound]:deadline' \\\\\n '--filter-assignee[Filter by assignee before planning or apply]:assignee' \\\\\n '--filter-assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--filter-parent[Filter by parent item ID]:parent' \\\\\n '--filter-sprint[Filter by sprint]:sprint' \\\\\n '--filter-release[Filter by release]:release' \\\\\n '--limit[Limit matched item count]:number' \\\\\n '--offset[Skip first n matched rows]:number' \\\\\n '--dry-run[Preview normalize findings without mutating]' \\\\\n '--apply[Apply normalize changes]' \\\\\n '--allow-audit-update[Allow non-owner metadata-only audit updates without requiring --force]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n calendar|cal)\n _arguments \\\\\n '--view[Calendar view]:(agenda day week month)' \\\\\n '--date[Anchor date/time (ISO/date string or relative)]:date' \\\\\n '--from[Agenda lower bound (ISO/date string or relative)]:date' \\\\\n '--to[Agenda upper bound (ISO/date string or relative)]:date' \\\\\n '--past[Include past entries]' \\\\\n '--full-period[Include full anchored day/week/month period]' \\\\\n '--type[Filter by type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--status[Filter by status]:(${statusChoices})' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n${zshCalendarRuntimeFieldFlags} '--include[Include event sources]:(all deadlines reminders events scheduled)' \\\\\n '--recurrence-lookahead-days[Bound open-ended recurrence lookahead]:days' \\\\\n '--recurrence-lookback-days[Bound open-ended recurrence lookback]:days' \\\\\n '--occurrence-limit[Cap occurrences per recurring event]:number' \\\\\n '--limit[Limit returned events]:number' \\\\\n '--format[Output override]:(markdown toon json)' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n context|ctx)\n _arguments \\\\\n '--date[Anchor date/time (ISO/date string or relative)]:date' \\\\\n '--from[Agenda lower bound (ISO/date string or relative)]:date' \\\\\n '--to[Agenda upper bound (ISO/date string or relative)]:date' \\\\\n '--past[Include past entries in bounded windows]' \\\\\n '--type[Filter by type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--parent[Scope snapshot to one item subtree]:id' \\\\\n '--limit[Limit focus and agenda rows per section]:number' \\\\\n '--depth[Context depth]:(brief standard deep full)' \\\\\n '--format[Output override]:(markdown toon json)' \\\\\n${zshContextRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n next)\n _arguments \\\\\n '--type[Filter candidates by type]:(${typeChoices})' \\\\\n '--tag[Filter candidates by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter candidates by priority]:(0 1 2 3 4)' \\\\\n '--assignee[Filter candidates by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--sprint[Filter candidates by sprint]:sprint' \\\\\n '--release[Filter candidates by release]:release' \\\\\n '--parent[Scope to one item subtree]:id' \\\\\n '--limit[Limit ready rows]:number' \\\\\n '--blocked-limit[Limit blocked rows]:number' \\\\\n '--ready-only[Omit the blocked companion list]' \\\\\n '--format[Output override]:(markdown toon json)' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n guide)\n _arguments \\\\\n '1:topic:(${guideTopicChoices})' \\\\\n '--list[Show guide topic index]' \\\\\n '--format[Output override]:(markdown toon json)' \\\\\n '--depth[Guide detail depth]:(brief standard deep)' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n search)\n _arguments \\\\\n '--mode[Search mode]:(keyword semantic hybrid)' \\\\\n '--match-mode[Token match mode]:(and or exact)' \\\\\n '--min-score[Per-query minimum score threshold]:number' \\\\\n '--count[Return only the match count]' \\\\\n '--include-linked[Include linked content in scoring]' \\\\\n '--highlight[Emit per-field matched-text snippets on each hit]' \\\\\n '--limit[Max results]:number' \\\\\n '--status[Filter by status (open/closed/canceled, csv)]:(${statusChoices})' \\\\\n '--type[Filter by type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--tags[Alias for --tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--updated-after[Filter by updated_at lower bound]:value' \\\\\n '--updated-before[Filter by updated_at upper bound]:value' \\\\\n '--created-after[Filter by created_at lower bound]:value' \\\\\n '--created-before[Filter by created_at upper bound]:value' \\\\\n '--assignee[Filter by assignee]:value' \\\\\n '--sprint[Filter by sprint]:value' \\\\\n '--release[Filter by release]:value' \\\\\n '--parent[Filter by parent item ID]:value' \\\\\n '--filter-reviewer-missing[Select only items missing reviewer]' \\\\\n '--filter-risk-missing[Select only items missing risk]' \\\\\n '--filter-confidence-missing[Select only items missing confidence]' \\\\\n '--filter-sprint-missing[Select only items missing sprint]' \\\\\n '--filter-release-missing[Select only items missing release]' \\\\\n '--has-notes[Select only items that have notes]' \\\\\n '--no-notes[Select only items with no notes]' \\\\\n '--has-learnings[Select only items that have learnings]' \\\\\n '--no-learnings[Select only items with no learnings]' \\\\\n '--has-files[Select only items that have linked files]' \\\\\n '--no-files[Select only items with no linked files]' \\\\\n '--has-docs[Select only items that have linked docs]' \\\\\n '--no-docs[Select only items with no linked docs]' \\\\\n '--has-tests[Select only items that have linked tests]' \\\\\n '--no-tests[Select only items with no linked tests]' \\\\\n '--has-comments[Select only items that have comments]' \\\\\n '--no-comments[Select only items with no comments]' \\\\\n '--has-deps[Select only items that have dependencies]' \\\\\n '--no-deps[Select only items with no dependencies]' \\\\\n '--has-body[Select only items with non-empty body]' \\\\\n '--empty-body[Select only items with empty body]' \\\\\n '--has-linked-command[Select only items that have a linked command]' \\\\\n '--no-linked-command[Select only items with no linked command]' \\\\\n${zshSearchRuntimeFieldFlags} '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n reindex)\n _arguments \\\\\n '--mode[Reindex mode]:(keyword semantic hybrid)' \\\\\n '--progress[Emit progress updates to stderr]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history)\n _arguments \\\\\n '--limit[Max entries]:number' \\\\\n '--compact[Condensed history projection]' \\\\\n '--full[Show full history entries]' \\\\\n '--diff[Include per-entry field-level before/after value diffs]' \\\\\n '--field[With --diff, show only entries that changed this field]:field' \\\\\n '--verify[Verify history hash chain and replay integrity]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history-compact)\n _arguments \\\\\n '--before[Compact entries strictly before this version number or ISO timestamp]:before' \\\\\n '--ids[Bulk: compact an explicit comma-separated list of item ids]:ids' \\\\\n '--all-over[Bulk: compact every stream with more than N entries]:all-over' \\\\\n '--closed[Bulk: compact only closed (terminal) items streams]' \\\\\n '--all-streams[Bulk: compact every history stream regardless of lifecycle state]' \\\\\n '--min-entries[Bulk: skip streams with at most N entries]:min-entries' \\\\\n '--dry-run[Preview compaction impact without writing the history file]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Audit history message]:message' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n get)\n _arguments \\\\\n '--depth[Detail depth]:(brief standard deep full)' \\\\\n '--full[Explicit full item read]' \\\\\n '--fields[Render custom comma-separated item fields]:fields' \\\\\n '--tree[Include descendant subtree in result payload]' \\\\\n '--tree-depth[Cap subtree depth for --tree (0 = root only)]:number' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history-redact)\n _arguments \\\\\n '--literal[Literal string matcher to redact from history/item payloads]:literal' \\\\\n '--regex[Regex matcher to redact (/pattern/flags or raw pattern)]:regex' \\\\\n '--replacement[Replacement text (defaults to [redacted])]:replacement' \\\\\n '--dry-run[Preview redaction impact without writing files]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Audit history message]:message' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n history-repair)\n _arguments \\\\\n '--all[Repair every drifted stream in one audited pass]' \\\\\n '--dry-run[Preview the re-anchor impact without writing the history file]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Audit history message]:message' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n schema)\n _arguments \\\\\n '1:subcommand:(list show show-status add-type remove-type add-status remove-status add-field remove-field list-fields show-field apply-preset)' \\\\\n '--description[Human description for the custom item type, status, or field]:text' \\\\\n '--default-status[Default status hint for the custom item type]:status' \\\\\n '--folder[Storage folder for items of this custom type]:dir' \\\\\n '--alias[Alias for the custom type, status, or field flag (repeatable)]:name' \\\\\n '--role[Lifecycle role for a custom status (repeatable)]:role' \\\\\n '--order[Display/sort order for a custom status]:n' \\\\\n '--type[Value type for a custom field]:type:(string number boolean string_array)' \\\\\n '--commands[Commands a custom field is wired onto (repeatable)]:commands' \\\\\n '--cli-flag[Override the auto-derived CLI flag for a custom field]:flag' \\\\\n '--required[Mark a custom field as always required]' \\\\\n '--required-on-create[Mark a custom field as required at create time]' \\\\\n '--no-allow-unset[Disallow clearing a custom field via --unset]' \\\\\n '--required-types[Restrict a custom field requirement to specific item types (repeatable)]:types' \\\\\n '--infer[Infer item types from title-prefix conventions (add-type)]' \\\\\n '--min-count[Minimum items sharing a prefix for --infer]:n' \\\\\n '--apply[Register inferred types (with --infer)]' \\\\\n '--author[Mutation author]:author' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n profile)\n _arguments \\\\\n '1:subcommand:(list show apply lint)' \\\\\n '2:name:(agile ops research)' \\\\\n '--dry-run[Preview the apply diff without writing any files]' \\\\\n '--author[Mutation author]:author' \\\\\n '--force[Force ownership/lock override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n plan)\n _arguments \\\\\n '1:subcommand:(create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize)' \\\\\n '--title[Plan title]:title' \\\\\n '--scope[Plan scope statement]:scope' \\\\\n '--harness[Plan harness provenance]:harness:(codex claude-code cursor generic)' \\\\\n '--mode[Plan mode]:mode:(draft research review approved executing paused completed superseded)' \\\\\n '--resume-context[Resume context summary]:text' \\\\\n '--step-title[Step title]:title' \\\\\n '*--step[Step title (repeatable on create)]:title' \\\\\n '--step-status[Step status]:status:(pending in_progress completed blocked skipped superseded)' \\\\\n '--step-evidence[Step evidence]:text' \\\\\n '--depends-on[Pm item id step depends on]:id' \\\\\n '--link[Pm item id to link]:id' \\\\\n '--link-kind[Link kind]:kind:(related blocks blocked_by depends_on discovered_from implements verifies supersedes)' \\\\\n '--depth[Show depth]:depth:(brief standard deep)' \\\\\n '--steps[Step ids/orders for materialize]:steps' \\\\\n '--materialize-type[Item type for materialized steps]:type' \\\\\n '--allow-multiple-active[Allow multiple in_progress steps]' \\\\\n '--promote-to-item-dep[Also add link as top-level item dependency]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[Mutation message]:message' \\\\\n '--force[Force ownership override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n activity)\n _arguments \\\\\n '--id[Filter by item ID]:id' \\\\\n '--op[Filter by history operation]:op' \\\\\n '--author[Filter by history author]:author' \\\\\n '--from[Lower timestamp bound (ISO/date string or relative)]:date' \\\\\n '--to[Upper timestamp bound (ISO/date string or relative)]:date' \\\\\n '--limit[Max entries]:number' \\\\\n '--compact[Condensed activity projection]' \\\\\n '--full[Show full activity entries]' \\\\\n '--stream[Emit line-delimited JSON rows]:mode' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n contracts)\n _arguments \\\\\n '--action[Filter schema by tool action]:action' \\\\\n '--command[Scope output to one command (narrow-by-default)]:command' \\\\\n '--schema-only[Return schema-only payload]' \\\\\n '--flags-only[Return command flag contracts only]' \\\\\n '--availability-only[Return action availability only]' \\\\\n '--runtime-only[Include only actions invocable in the current runtime]' \\\\\n '--active-only[Alias for --runtime-only]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n gc)\n _arguments \\\\\n '--dry-run[Preview cleanup targets without deleting files]' \\\\\n '--scope[Limit cleanup to one or more scopes: index, embeddings, runtime, locks, checkpoints]:scope' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n stats)\n _arguments \\\\\n '--storage[Include aggregate history-stream storage metrics]' \\\\\n '--metadata-coverage[Include metadata coverage percentages overall and by type]' \\\\\n '--field-utilization[Include content-field utilization rates across all items]' \\\\\n '--by-assignee[Lifecycle-bucketed breakdown grouped by assignee]' \\\\\n '--by-tag[Lifecycle-bucketed breakdown grouped by tag]' \\\\\n '--by-priority[Lifecycle-bucketed breakdown grouped by priority]' \\\\\n '--tag-prefix[With --by-tag: only count tags with this prefix]:prefix' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n comments)\n _arguments \\\\\n '--add[Add one entry (plain text, text=<value>, markdown pairs, or - for stdin)]:text' \\\\\n '--stdin[Read comment text from stdin (supports multiline markdown)]' \\\\\n '--file[Read comment text from file (supports multiline markdown)]:path' \\\\\n '--edit[Replace the comment at 1-based index (text from positional/--add/--stdin/--file)]:index' \\\\\n '--delete[Delete the comment at 1-based index]:index' \\\\\n '--limit[Return only latest n entries]:number' \\\\\n '--author[Entry author (falls back to PM_AUTHOR/settings)]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-comment[Allow non-owner append-only comment audits without requiring --force]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n notes)\n _arguments \\\\\n '--add[Add one entry (plain text, text=<value>, markdown pairs, or - for stdin)]:text' \\\\\n '--limit[Return only latest n entries]:number' \\\\\n '--author[Entry author (falls back to PM_AUTHOR/settings)]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-note[Allow non-owner append-only note audits without requiring --force]' \\\\\n '--allow-audit-comment[Backward-compatible alias for --allow-audit-note]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n learnings)\n _arguments \\\\\n '--add[Add one entry (plain text, text=<value>, markdown pairs, or - for stdin)]:text' \\\\\n '--limit[Return only latest n entries]:number' \\\\\n '--author[Entry author (falls back to PM_AUTHOR/settings)]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-learning[Allow non-owner append-only learning audits without requiring --force]' \\\\\n '--allow-audit-comment[Backward-compatible alias for --allow-audit-learning]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n deps)\n _arguments \\\\\n '--format[Output format]:(tree graph)' \\\\\n '--max-depth[Maximum traversal depth (0 keeps root only)]:depth' \\\\\n '--collapse[Collapse mode]:(none repeated)' \\\\\n '--summary[Return counts only without tree/graph payload]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n test)\n _arguments \\\\\n '--add[Add linked test entry]:entry' \\\\\n '--add-json[Add linked test entry from JSON object/array]:json' \\\\\n '--remove[Remove linked test entry by command/path]:entry' \\\\\n '--list[List linked tests without mutating]' \\\\\n '--run[Run linked tests]' \\\\\n '--match[Run linked tests whose command/path contains substring]:substring' \\\\\n '--only-index[Run one linked test by 1-based index]:number' \\\\\n '--only-last[Run the most recently added linked test]' \\\\\n '--background[Run linked tests in managed background mode]' \\\\\n '--timeout[Default timeout seconds]:seconds' \\\\\n '--progress[Emit linked-test progress to stderr]' \\\\\n '--env-set[Set linked-test runtime environment values]:entry' \\\\\n '--env-clear[Clear linked-test runtime environment values]:name' \\\\\n '--shared-host-safe[Apply shared-host-safe runtime defaults]' \\\\\n '--pm-context[PM linked-test context mode]:(schema tracker auto)' \\\\\n '--override-linked-pm-context[Force run-level --pm-context over per-linked-test pm_context_mode metadata]' \\\\\n '--fail-on-context-mismatch[Fail when context item counts mismatch]' \\\\\n '--fail-on-skipped[Treat skipped linked tests as dependency failures]' \\\\\n '--fail-on-empty-test-run[Treat empty linked-test selections as failures]' \\\\\n '--require-assertions-for-pm[Require assertions for linked PM command tests]' \\\\\n '--check-context[Preflight linked PM command context diagnostics before execution]' \\\\\n '--auto-pm-context[Auto-remediate tracker-read context mismatches using tracker context]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n test-all)\n _arguments \\\\\n '--status[Filter by status]:(open in_progress)' \\\\\n '--limit[Limit matching items before running linked tests]:number' \\\\\n '--offset[Skip matching items before running linked tests]:number' \\\\\n '--background[Run linked tests in managed background mode]' \\\\\n '--timeout[Default timeout seconds]:seconds' \\\\\n '--progress[Emit linked-test progress to stderr]' \\\\\n '--env-set[Set linked-test runtime environment values]:entry' \\\\\n '--env-clear[Clear linked-test runtime environment values]:name' \\\\\n '--shared-host-safe[Apply shared-host-safe runtime defaults]' \\\\\n '--pm-context[PM linked-test context mode]:(schema tracker auto)' \\\\\n '--override-linked-pm-context[Force run-level --pm-context over per-linked-test pm_context_mode metadata]' \\\\\n '--fail-on-context-mismatch[Fail when context item counts mismatch]' \\\\\n '--fail-on-skipped[Treat skipped linked tests as dependency failures]' \\\\\n '--fail-on-empty-test-run[Treat empty linked-test selections as failures]' \\\\\n '--require-assertions-for-pm[Require assertions for linked PM command tests]' \\\\\n '--check-context[Preflight linked PM command context diagnostics before execution]' \\\\\n '--auto-pm-context[Auto-remediate tracker-read context mismatches using tracker context]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n test-runs)\n _arguments \\\\\n '1:subcommand:(list status logs stop resume)' \\\\\n '--status[Filter by background run status]:status:(queued running passed failed stopped canceled)' \\\\\n '--limit[Limit returned runs]:number' \\\\\n '--stream[Background log stream]:stream:(stdout stderr both)' \\\\\n '--tail[Tail number of lines]:number' \\\\\n '--force[Force stop with SIGKILL]' \\\\\n '--author[Resume author]:author' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n init)\n _arguments \\\\\n '--preset[Governance preset for new setups]:preset:(minimal default strict)' \\\\\n '--defaults[Use non-interactive setup defaults]' \\\\\n '-y[Alias for --defaults]' \\\\\n '--yes[Alias for --defaults]' \\\\\n '--author[Set the default mutation author for this project]:author' \\\\\n '--agent-guidance[Agent guidance mode]:mode:(ask add skip status)' \\\\\n '--type-preset[Register domain item types]:type-preset:(agile ops research)' \\\\\n '--with-packages[Install bundled first-party packages during initialization]' \\\\\n '--verbose[Include the full resolved settings tree in init output]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n init)\n _arguments \\\\\n '--preset[Governance preset for new setups]:preset:(minimal default strict)' \\\\\n '--defaults[Use non-interactive setup defaults]' \\\\\n '-y[Alias for --defaults]' \\\\\n '--yes[Alias for --defaults]' \\\\\n '--author[Set the default mutation author for this project]:author' \\\\\n '--agent-guidance[Agent guidance mode]:mode:(ask add skip status)' \\\\\n '--type-preset[Register domain item types]:type-preset:(agile ops research)' \\\\\n '--with-packages[Install bundled first-party packages during initialization]' \\\\\n '--verbose[Include the full resolved settings tree in init output]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n config)\n _arguments \\\\\n '--criterion[Criteria value for definition-of-done metadata-required-fields or lifecycle pattern keys (repeatable for set)]:criterion' \\\\\n '--clear-criteria[Clear config criteria-list key values]' \\\\\n '--format[Item format for item-format key]:format:(toon)' \\\\\n '--policy[Policy value for supported policy keys]:policy' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n close)\n _arguments \\\\\n '--reason[Closure reason]:reason' \\\\\n '--close-reason[Alias for --reason]:close_reason' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--validate-close[Validate closure metadata mode]:(off warn strict)' \\\\\n '--resolution[Closure resolution summary]:resolution' \\\\\n '--expected-result[Expected behavior note]:expected_result' \\\\\n '--actual-result[Observed behavior note]:actual_result' \\\\\n '--expected[Short alias for --expected-result]:expected_result' \\\\\n '--actual[Short alias for --actual-result]:actual_result' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n claim)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n release)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--allow-audit-release[Allow non-owner release handoffs without requiring --force]' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n delete)\n _arguments \\\\\n '--dry-run[Preview the item file that would be deleted without mutating]' \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n start-task|pause-task)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n close-task)\n _arguments \\\\\n '--author[Mutation author]:author' \\\\\n '--message[History message]:message' \\\\\n '--validate-close[Validate closure metadata mode]:(off warn strict)' \\\\\n '--force[Force override]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n validate)\n _arguments \\\\\n '--check-metadata[Run metadata completeness checks]' \\\\\n '--metadata-profile[Select metadata validation profile for --check-metadata]:(core strict custom)' \\\\\n '--check-resolution[Run closed-item resolution metadata checks]' \\\\\n '--check-lifecycle[Run active-item lifecycle governance drift checks]' \\\\\n '--check-stale-blockers[Include stale blocker-pattern diagnostics in lifecycle checks]' \\\\\n '--dependency-cycle-severity[Set dependency-cycle warning policy for lifecycle checks]:(off warn error)' \\\\\n '--parent-cycle-severity[Set parent-hierarchy cycle warning policy for lifecycle checks]:(off warn error)' \\\\\n '--check-files[Run linked-file and orphaned-file checks]' \\\\\n '--scan-mode[Select file candidate scan mode for --check-files]:(default tracked-all tracked-all-strict)' \\\\\n '--include-pm-internals[Include PM storage internals in tracked-all candidate scans]' \\\\\n '--verbose-file-lists[Include full file-path lists for validate --check-files details]' \\\\\n '--verbose-diagnostics[Include full validate diagnostic ID lists instead of compact summaries]' \\\\\n '--all-affected-ids[Emit complete missing_* affected-ID lists with no truncation (implied by --json)]' \\\\\n '--strict-exit[Return non-zero exit when validation warnings are present]' \\\\\n '--fail-on-warn[Alias for --strict-exit]' \\\\\n '--fix-hints[Add a machine-executable fix_hints[] of pm commands to each failing check]' \\\\\n '--auto-fix[Apply the safe, deterministic subset of fix-hint remediations automatically]' \\\\\n '--dry-run[Preview planned --auto-fix/--prune-missing fixes without applying them]' \\\\\n '--fix-scope[Grant --auto-fix scopes (estimates/lifecycle must be named explicitly)]:(metadata resolution estimates lifecycle)' \\\\\n '--prune-missing[Remove stale linked-file/doc links classified as deleted]' \\\\\n '--check-history-drift[Run item/history hash drift checks]' \\\\\n '--check-command-references[Run linked-command PM-ID reference checks]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n health)\n _arguments \\\\\n '--strict-directories[Treat optional item-type directories as required failures]' \\\\\n '--check-only[Run read-only health diagnostics without refreshing vectors]' \\\\\n '--no-refresh[Disable automatic vector refresh attempts during health checks]' \\\\\n '--refresh-vectors[Explicitly enable vector refresh attempts during health checks]' \\\\\n '--verbose-stale-items[Include full stale vectorization ID lists in health output]' \\\\\n '--brief[Emit compact health details for low-token agent checks]' \\\\\n '--summary[Emit one-line-style health status with check names and warning count]' \\\\\n '--strict-exit[Return non-zero exit when health warnings are present]' \\\\\n '--fail-on-warn[Alias for --strict-exit]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n comments-audit)\n _arguments \\\\\n '--status[Filter by item status]:status:(${statusChoices})' \\\\\n '--type[Filter by item type]:(${typeChoices})' \\\\\n '--tag[Filter by tag]:(${zshTagChoices})' \\\\\n '--priority[Filter by priority]:(0 1 2 3 4)' \\\\\n '--parent[Filter by parent item ID]:parent_id' \\\\\n '--sprint[Filter by sprint]:sprint' \\\\\n '--release[Filter by release]:release' \\\\\n '--assignee[Filter by assignee]:assignee' \\\\\n '--assignee-filter[Filter assignee presence]:(assigned unassigned)' \\\\\n '--limit-items[Limit returned item count]:number' \\\\\n '--limit[Alias for --limit-items]:number' \\\\\n '--full-history[Export full comment history rows (cannot be combined with --latest)]' \\\\\n '--latest[Return latest n comments per item (0 for summary-only rows)]:number' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]'\n ;;\n extension)\n _arguments \\\\\n '1:extension_action:(init scaffold install uninstall explore manage describe reload doctor catalog adopt adopt-all activate deactivate)' \\\\\n '--init[Generate a starter extension scaffold at target path]' \\\\\n '--scaffold[Alias for --init]' \\\\\n '--capability[Capability the init scaffold targets]:capability:(${SCAFFOLD_CAPABILITIES.join(\" \")})' \\\\\n '--install[Install extension from local path or GitHub source]' \\\\\n '--uninstall[Uninstall extension by name]' \\\\\n '--explore[List discovered extensions for selected scope]' \\\\\n '--manage[List managed extensions with update metadata]' \\\\\n '--describe[Map every surface a loaded extension registers]' \\\\\n '--markdown[Render describe output as a Markdown reference document]' \\\\\n '--output[Write describe Markdown to a file]:path:_files' \\\\\n '--reload[Reload extensions with cache-busted module imports]' \\\\\n '--watch[Enable watch mode with --reload]' \\\\\n '--doctor[Run consolidated extension diagnostics (summary/deep)]' \\\\\n '--catalog[List bundled first-party package catalog entries]' \\\\\n '--adopt[Adopt an unmanaged extension into managed metadata]' \\\\\n '--adopt-all[Adopt all unmanaged extensions into managed metadata]' \\\\\n '--activate[Activate extension in selected scope settings]' \\\\\n '--deactivate[Deactivate extension in selected scope settings]' \\\\\n '--project[Use project extension scope (default)]' \\\\\n '--local[Alias for --project]' \\\\\n '--global[Use global extension scope]' \\\\\n '--gh[Install from GitHub shorthand owner/repo/path]:github_spec' \\\\\n '--github[Alias for --gh]:github_spec' \\\\\n '--ref[Git ref/branch/tag for GitHub source]:git_ref' \\\\\n '--detail[Detail mode for extension diagnostics]:detail_mode:(summary deep)' \\\\\n '--trace[Include registration traces in doctor deep diagnostics]' \\\\\n '--runtime-probe[Opt-in runtime activation probe for manage output]' \\\\\n '--fix-managed-state[Adopt unmanaged extensions before diagnostics/update checks]' \\\\\n '--strict-exit[Return non-zero exit when doctor warnings are present]' \\\\\n '--fail-on-warn[Alias for --strict-exit (doctor)]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]' \\\\\n '*:target_or_name:_files -/'\n ;;\n package|packages)\n _arguments \\\\\n '1:package_action:(init scaffold install uninstall explore manage describe reload doctor catalog adopt adopt-all activate deactivate)' \\\\\n '--init[Generate a starter package scaffold at target path]' \\\\\n '--scaffold[Alias for --init]' \\\\\n '--capability[Capability the init scaffold targets]:capability:(${SCAFFOLD_CAPABILITIES.join(\" \")})' \\\\\n '--declarative[Generate a composeExtension blueprint starter]' \\\\\n '--install[Install package from local path, GitHub source, npm source, or bundled alias]' \\\\\n '--uninstall[Uninstall package by name]' \\\\\n '--explore[List discovered packages for selected scope]' \\\\\n '--manage[List managed packages with update metadata]' \\\\\n '--describe[Map every surface a loaded package registers]' \\\\\n '--markdown[Render describe output as a Markdown reference document]' \\\\\n '--output[Write describe Markdown to a file]:path:_files' \\\\\n '--reload[Reload packages with cache-busted module imports]' \\\\\n '--watch[Enable watch mode with --reload]' \\\\\n '--doctor[Run consolidated package diagnostics (summary/deep)]' \\\\\n '--catalog[List bundled first-party package catalog entries]' \\\\\n '--adopt[Adopt an unmanaged package into managed metadata]' \\\\\n '--adopt-all[Adopt all unmanaged packages into managed metadata]' \\\\\n '--activate[Activate package in selected scope settings]' \\\\\n '--deactivate[Deactivate package in selected scope settings]' \\\\\n '--project[Use project package scope (default)]' \\\\\n '--local[Alias for --project]' \\\\\n '--global[Use global package scope]' \\\\\n '--gh[Install from GitHub shorthand owner/repo/path]:github_spec' \\\\\n '--github[Alias for --gh]:github_spec' \\\\\n '--ref[Git ref/branch/tag for GitHub source]:git_ref' \\\\\n '--detail[Detail mode for package diagnostics]:detail_mode:(summary deep)' \\\\\n '--trace[Include registration traces in doctor deep diagnostics]' \\\\\n '--runtime-probe[Opt-in runtime activation probe for manage output]' \\\\\n '--fix-managed-state[Adopt unmanaged packages before diagnostics/update checks]' \\\\\n '--strict-exit[Return non-zero exit when doctor warnings are present]' \\\\\n '--fail-on-warn[Alias for --strict-exit (doctor)]' \\\\\n '--json[Output JSON]' \\\\\n '--quiet[Suppress stdout]' \\\\\n '*:target_or_name:_files -/'\n ;;\n completion)\n _arguments \\\\\n '--eager-tags[Embed current tracker tags directly in script output]' \\\\\n '1:shell:(bash zsh fish)'\n ;;\n templates)\n local -a templates_cmds\n templates_cmds=('save:Save or update a create template' 'list:List saved create templates' 'show:Show saved template details')\n _describe 'templates command' templates_cmds\n ;;\n esac\n ;;\n esac\n}\n\ncompdef _pm pm`;\n}\n\n/**\n * Implements generate fish script for the public runtime surface of this module.\n */\nexport function generateFishScript(\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): string {\n const listCommandNames = ALL_COMMANDS.filter((command) => command === \"list\" || command.startsWith(\"list-\"));\n const listCmds = listCommandNames.join(\" \");\n const noSubcommandList = ALL_COMMANDS.join(\" \");\n const useDynamicTypeExpansion = itemTypes.length === 0;\n const typeFallbackChoices = completionTypeValues(itemTypes, runtime);\n const statusFallbackChoices = completionStatusValues(runtime);\n const typeChoices = useDynamicTypeExpansion ? \"(__pm_type_choices)\" : typeFallbackChoices;\n const statusChoices = \"(__pm_status_choices)\";\n const guideTopicChoices = GUIDE_TOPIC_CHOICES;\n const tagChoices = joinCompletionValues(tags);\n const useEagerTagExpansion = eagerTagExpansion || tags.length > 0;\n const fishTagChoices = useEagerTagExpansion ? `'${tagChoices}'` : \"'(__pm_tag_choices)'\";\n const fishListRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs(listCommandNames, runtime.command_flags?.list);\n const fishCreateRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"create\"], runtime.command_flags?.create);\n const fishUpdateRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"update\"], runtime.command_flags?.update);\n const fishUpdateManyRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"update-many\"], runtime.command_flags?.[\"update-many\"]);\n const fishSearchRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"search\"], runtime.command_flags?.search);\n const fishCalendarRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"calendar\", \"cal\"], runtime.command_flags?.calendar);\n const fishContextRuntimeFieldFlags = renderFishRuntimeFieldFlagSpecs([\"context\", \"ctx\"], runtime.command_flags?.context);\n const dynamicTagResolver = useEagerTagExpansion\n ? \"\"\n : `\nfunction __pm_tag_choices\n set -l now (date +%s ^/dev/null)\n if test -z \"$now\"\n set now 0\n end\n set -l ttl 120\n if set -q PM_COMPLETION_TAG_TTL\n set ttl $PM_COMPLETION_TAG_TTL\n end\n if set -q PM_COMPLETION_TAG_CACHE; and set -q PM_COMPLETION_TAG_CACHE_TS\n set -l age (math \"$now - $PM_COMPLETION_TAG_CACHE_TS\")\n if test $age -lt $ttl\n printf '%s\\n' $PM_COMPLETION_TAG_CACHE\n return\n end\n end\n set -l resolved (pm completion-tags ^/dev/null)\n set -gx PM_COMPLETION_TAG_CACHE $resolved\n set -gx PM_COMPLETION_TAG_CACHE_TS $now\n printf '%s\\n' $resolved\nend\n`;\n return `# Fish shell completion for pm\n# Save to ~/.config/fish/completions/pm.fish\n# or run: pm completion fish > ~/.config/fish/completions/pm.fish\n\n# Disable file completion by default\ncomplete -c pm -f\n\n# Global flags (available for all subcommands)\ncomplete -c pm -l json -d 'Output JSON instead of TOON'\ncomplete -c pm -l quiet -d 'Suppress stdout output'\ncomplete -c pm -l no-changed-fields -d 'Omit changed_fields array from mutation output'\ncomplete -c pm -l id-only -d 'Print only id and status for single-item mutation output'\ncomplete -c pm -l pm-path -d 'Explicit tracker storage path for this command' -r\ncomplete -c pm -l path -d 'Override PM path for this command' -r\ncomplete -c pm -l no-extensions -d 'Disable extension loading'\ncomplete -c pm -l profile -d 'Print deterministic timing diagnostics'\ncomplete -c pm -s V -l version -d 'Output the version number'\ncomplete -c pm -s h -l help -d 'Display help'\n\n# Helper: true when no subcommand has been given yet\nfunction __pm_no_subcommand\n not __fish_seen_subcommand_from ${noSubcommandList}\nend\n${dynamicTagResolver}\n${useDynamicTypeExpansion ? renderFishDynamicChoiceResolver(\"type\", \"completion-types\", typeFallbackChoices) : \"\"}\n${renderFishDynamicChoiceResolver(\"status\", \"completion-statuses\", statusFallbackChoices)}\n\n# Subcommands\ncomplete -c pm -n __pm_no_subcommand -a init -d 'Initialize pm storage for the current workspace'\ncomplete -c pm -n __pm_no_subcommand -a config -d 'Read or update pm settings'\ncomplete -c pm -n __pm_no_subcommand -a extension -d 'Manage extension lifecycle operations'\ncomplete -c pm -n __pm_no_subcommand -a package -d 'Manage package lifecycle operations'\ncomplete -c pm -n __pm_no_subcommand -a packages -d 'Alias for package'\ncomplete -c pm -n __pm_no_subcommand -a create -d 'Create a new project management item'\ncomplete -c pm -n __pm_no_subcommand -a copy -d 'Copy an existing item to a new ID'\ncomplete -c pm -n __pm_no_subcommand -a focus -d 'Set/clear/show the session focused parent for new items'\ncomplete -c pm -n __pm_no_subcommand -a list -d 'List active items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-all -d 'List all items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-draft -d 'List draft items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-open -d 'List open items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-in-progress -d 'List in-progress items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-blocked -d 'List blocked items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-closed -d 'List closed items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a list-canceled -d 'List canceled items with optional filters'\ncomplete -c pm -n __pm_no_subcommand -a aggregate -d 'Aggregate grouped item counts and numeric stats for governance queries'\ncomplete -c pm -n __pm_no_subcommand -a dedupe-audit -d 'Audit potential duplicate items and emit merge suggestions'\ncomplete -c pm -n __pm_no_subcommand -a guide -d 'Browse local progressive-disclosure guides'\ncomplete -c pm -n __pm_no_subcommand -a calendar -d 'Show deadline/reminder calendar views'\ncomplete -c pm -n __pm_no_subcommand -a cal -d 'Alias for calendar'\ncomplete -c pm -n __pm_no_subcommand -a context -d 'Show a token-efficient project context snapshot'\ncomplete -c pm -n __pm_no_subcommand -a ctx -d 'Alias for context'\ncomplete -c pm -n __pm_no_subcommand -a get -d 'Show item details by ID'\ncomplete -c pm -n __pm_no_subcommand -a next -d 'Recommend the next actionable (unblocked, ready) work item'\ncomplete -c pm -n __pm_no_subcommand -a search -d 'Search items with keyword, semantic, or hybrid modes'\ncomplete -c pm -n __pm_no_subcommand -a reindex -d 'Rebuild search artifacts'\ncomplete -c pm -n __pm_no_subcommand -a history -d 'Show item history entries'\ncomplete -c pm -n __pm_no_subcommand -a history-compact -d 'Compact history streams into a synthetic baseline + retained tail'\ncomplete -c pm -n __pm_no_subcommand -a history-redact -d 'Redact sensitive literals/patterns and recompute history hashes'\ncomplete -c pm -n __pm_no_subcommand -a history-repair -d 'Re-anchor a drifted history chain so pm health/validate report ok'\ncomplete -c pm -n __pm_no_subcommand -a schema -d 'Inspect and manage runtime schema'\ncomplete -c pm -n __pm_no_subcommand -a profile -d 'List, show, apply, and lint project profiles (archetype bundles)'\ncomplete -c pm -n __pm_no_subcommand -a plan -d 'Agent-optimized Plan workflow (create/show/add-step/update-step/complete-step/link/approve/materialize)'\ncomplete -c pm -n __pm_no_subcommand -a activity -d 'Show recent activity across items'\ncomplete -c pm -n __pm_no_subcommand -a restore -d 'Restore an item to an earlier state'\ncomplete -c pm -n __pm_no_subcommand -a update -d 'Update item fields and metadata'\ncomplete -c pm -n __pm_no_subcommand -a update-many -d 'Bulk-update matched items with dry-run and rollback checkpoints'\ncomplete -c pm -n __pm_no_subcommand -a normalize -d 'Normalize lifecycle metadata with dry-run planning or apply mode'\ncomplete -c pm -n __pm_no_subcommand -a close -d 'Close an item (reason requirement follows governance settings)'\ncomplete -c pm -n __pm_no_subcommand -a close-many -d 'Bulk-close matched items with an optional shared reason and rollback checkpoint'\ncomplete -c pm -n __pm_no_subcommand -a delete -d 'Delete an item and record the change'\ncomplete -c pm -n __pm_no_subcommand -a append -d 'Append text to an item body'\ncomplete -c pm -n __pm_no_subcommand -a comments -d 'List or add comments for an item'\ncomplete -c pm -n __pm_no_subcommand -a comments-audit -d 'Audit latest comments or full history across filtered items'\ncomplete -c pm -n __pm_no_subcommand -a notes -d 'List or add notes for an item'\ncomplete -c pm -n __pm_no_subcommand -a learnings -d 'List or add learnings for an item'\ncomplete -c pm -n __pm_no_subcommand -a files -d 'Manage linked files'\ncomplete -c pm -n __pm_no_subcommand -a docs -d 'Manage linked docs'\ncomplete -c pm -n __pm_no_subcommand -a deps -d 'Show dependency relationships for an item'\ncomplete -c pm -n __pm_no_subcommand -a test -d 'Manage linked tests and optionally run them'\ncomplete -c pm -n __pm_no_subcommand -a test-all -d 'Run linked tests across matching items'\ncomplete -c pm -n __pm_no_subcommand -a test-runs -d 'Manage background linked-test runs'\ncomplete -c pm -n __pm_no_subcommand -a stats -d 'Show project tracker statistics'\ncomplete -c pm -n __pm_no_subcommand -a health -d 'Show project tracker health checks'\ncomplete -c pm -n __pm_no_subcommand -a validate -d 'Run standalone validation checks'\ncomplete -c pm -n __pm_no_subcommand -a gc -d 'Clean optional cache artifacts'\ncomplete -c pm -n __pm_no_subcommand -a contracts -d 'Show machine-readable command and schema contracts'\ncomplete -c pm -n __pm_no_subcommand -a claim -d 'Claim an item for active work'\ncomplete -c pm -n __pm_no_subcommand -a release -d 'Release the active claim for an item'\ncomplete -c pm -n __pm_no_subcommand -a start-task -d 'Lifecycle alias to claim and set in-progress'\ncomplete -c pm -n __pm_no_subcommand -a pause-task -d 'Lifecycle alias to reopen and release claim'\ncomplete -c pm -n __pm_no_subcommand -a close-task -d 'Lifecycle alias to close and release claim'\ncomplete -c pm -n __pm_no_subcommand -a meet -d 'Shortcut to create a Meeting with scheduling defaults'\ncomplete -c pm -n __pm_no_subcommand -a event -d 'Shortcut to create an Event with scheduling defaults'\ncomplete -c pm -n __pm_no_subcommand -a remind -d 'Shortcut to create a Reminder from a point in time'\ncomplete -c pm -n __pm_no_subcommand -a templates -d 'Manage reusable create templates'\ncomplete -c pm -n __pm_no_subcommand -a completion -d 'Generate shell completion'\n\n# list* flags\nfor list_cmd in ${listCmds}\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l type -d 'Filter by item type' -r -a '${typeChoices}'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tags -d 'Alias for --tag' -r -a ${fishTagChoices}\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l assignee -d 'Filter by assignee' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l sprint -d 'Filter by sprint' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l release -d 'Filter by release' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l limit -d 'Limit returned item count' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l offset -d 'Skip the first n matching rows before limit' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-truncate -d 'Return every matched row, overriding --limit'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l all -d 'Alias for --no-truncate'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l include-body -d 'Include item body in each returned list row'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l compact -d 'Render compact list projection fields'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l fields -d 'Render custom comma-separated list fields' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tree -d 'Render hierarchical subtree output rooted at --parent or top-level parents'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l tree-depth -d 'Cap recursion depth for --tree (0 = root only)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l sort -d 'Sort field' -r -a 'priority deadline updated_at created_at title parent'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l order -d 'Sort order (requires --sort)' -r -a 'asc desc'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l stream -d 'Emit line-delimited JSON rows (requires --json)'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l deadline-before -d 'Filter by deadline upper bound (ISO/date string or relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l deadline-after -d 'Filter by deadline lower bound (ISO/date string or relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l created-after -d 'Filter by created_at lower bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l created-before -d 'Filter by created_at upper bound (ISO/relative)' -r\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-reviewer-missing -d 'Select only items missing reviewer'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-risk-missing -d 'Select only items missing risk'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-confidence-missing -d 'Select only items missing confidence'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-sprint-missing -d 'Select only items missing sprint'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l filter-release-missing -d 'Select only items missing release'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-notes -d 'Select only items that have notes'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-notes -d 'Select only items with no notes'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-learnings -d 'Select only items that have learnings'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-learnings -d 'Select only items with no learnings'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-files -d 'Select only items that have linked files'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-files -d 'Select only items with no linked files'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-docs -d 'Select only items that have linked docs'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-docs -d 'Select only items with no linked docs'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-tests -d 'Select only items that have linked tests'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-tests -d 'Select only items with no linked tests'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-comments -d 'Select only items that have comments'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-comments -d 'Select only items with no comments'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-deps -d 'Select only items that have dependencies'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-deps -d 'Select only items with no dependencies'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-body -d 'Select only items with non-empty body'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l empty-body -d 'Select only items with empty body'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l has-linked-command -d 'Select only items that have a linked command'\n complete -c pm -n \"__fish_seen_subcommand_from $list_cmd\" -l no-linked-command -d 'Select only items with no linked command'\nend\n${fishListRuntimeFieldFlags}\n\n# aggregate flags\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l group-by -d 'Comma-separated group-by fields (supported: parent,type,priority,status,assignee,tags,sprint,release)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l count -d 'Return grouped counts'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l completion -d 'Add completion counts and percentage per group'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l sum -d 'Numeric field to sum per group' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l avg -d 'Numeric field to average per group' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l include-unparented -d 'Include unparented rows when grouping by parent'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l status -d 'Filter by status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l type -d 'Filter by item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l deadline-before -d 'Filter by deadline upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l deadline-after -d 'Filter by deadline lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from aggregate' -l release -d 'Filter by release' -r\n\n# dedupe-audit flags\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l mode -d 'Dedupe mode' -r -a 'title_exact title_fuzzy parent_scope'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l limit -d 'Limit returned duplicate clusters' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l threshold -d 'Fuzzy mode token similarity threshold between 0 and 1' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l status -d 'Filter by status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l type -d 'Filter by item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l deadline-before -d 'Filter by deadline upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l deadline-after -d 'Filter by deadline lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from dedupe-audit' -l release -d 'Filter by release' -r\n\n# create flags\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s t -l title -d 'Item title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s d -l description -d 'Item description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l type -d 'Item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l create-mode -d 'Create required-option policy mode' -r -a 'strict progressive'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l schedule-preset -d 'Scheduling preset for Reminder/Meeting/Event' -r -a 'lightweight'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s s -l status -d 'Item status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s p -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l tags -d 'Comma-separated tags' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l add-tags -d 'Add tags additively without replacing existing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l body-file -d 'Load the item body from a file' -r -F\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l deadline -d 'Deadline (ISO/date string or relative +6h/+1d/+2w/+6m)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l estimate -d 'Estimated minutes' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l acceptance-criteria -d 'Acceptance criteria' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l assignee -d 'Assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l unset -d 'Clear scalar metadata field by name' -r\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-deps -d 'Clear dependency entries'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-comments -d 'Clear comments'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-notes -d 'Clear notes'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-learnings -d 'Clear learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-files -d 'Clear linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-tests -d 'Clear linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-docs -d 'Clear linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-reminders -d 'Clear reminders'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-events -d 'Clear events'\ncomplete -c pm -n '__fish_seen_subcommand_from create' -l clear-type-options -d 'Clear type options'\n${fishCreateRuntimeFieldFlags}\n\n# copy flags\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l title -d 'Override copied title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from copy' -l force -d 'Force ownership override'\n\n# focus flags\ncomplete -c pm -n '__fish_seen_subcommand_from focus' -l clear -d 'Clear the focused item'\n\n# update flags\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s t -l title -d 'Item title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s d -l description -d 'Item description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l body-file -d 'Load the item body from a file' -r -F\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s s -l status -d 'Item status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l close-reason -d 'Set close reason' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -s p -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l type -d 'Item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l add-tags -d 'Add tags additively without replacing existing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l remove-tags -d 'Remove tags from the existing list' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l comment -d 'Comment seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l note -d 'Note seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l learning -d 'Learning seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l file -d 'Linked file path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l test -d 'Linked test command=<value>,path=<value>,scope=<project|global>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l doc -d 'Linked doc path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l unset -d 'Clear scalar metadata field by name' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l replace-deps -d 'Atomically replace dependencies with provided --dep values'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l replace-tests -d 'Atomically replace linked tests with provided --test values'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-deps -d 'Clear dependency entries'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-comments -d 'Clear comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-notes -d 'Clear notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-learnings -d 'Clear learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-files -d 'Clear linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-tests -d 'Clear linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-docs -d 'Clear linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-reminders -d 'Clear reminders'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-events -d 'Clear events'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l clear-type-options -d 'Clear type options'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l allow-audit-update -d 'Allow non-owner metadata-only audit updates without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update' -l force -d 'Force override'\n${fishUpdateRuntimeFieldFlags}\n\n# update-many flags\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-status -d 'Filter by status before applying updates' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-type -d 'Filter by type before applying updates' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-tag -d 'Filter by tag before applying updates' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-priority -d 'Filter by priority before applying updates' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-deadline-before -d 'Filter by deadline upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-deadline-after -d 'Filter by deadline lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-created-after -d 'Filter by created_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-created-before -d 'Filter by created_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-assignee -d 'Filter by assignee before applying updates' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-sprint -d 'Filter by sprint before applying updates' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-release -d 'Filter by release before applying updates' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-ac-missing -d 'Select only items missing acceptance_criteria'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-estimates-missing -d 'Select only items missing estimated_minutes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-resolution-missing -d 'Select only terminal items missing resolution'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-metadata-missing -d 'Select only items missing any tracked metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-reviewer-missing -d 'Select only items missing reviewer'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-risk-missing -d 'Select only items missing risk'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-confidence-missing -d 'Select only items missing confidence'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-sprint-missing -d 'Select only items missing sprint'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-release-missing -d 'Select only items missing release'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-notes -d 'Select only items that have notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-notes -d 'Select only items with no notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-learnings -d 'Select only items that have learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-learnings -d 'Select only items with no learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-files -d 'Select only items that have linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-files -d 'Select only items with no linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-docs -d 'Select only items that have linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-docs -d 'Select only items with no linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-tests -d 'Select only items that have linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-tests -d 'Select only items with no linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-comments -d 'Select only items that have comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-comments -d 'Select only items with no comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-deps -d 'Select only items that have dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-deps -d 'Select only items with no dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-body -d 'Select only items with non-empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-empty-body -d 'Select only items with empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-has-linked-command -d 'Select only items that have a linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l filter-no-linked-command -d 'Select only items with no linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l ids -d 'Explicit comma-separated ID allowlist' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l limit -d 'Limit matched item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l offset -d 'Skip first n matched rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l dry-run -d 'Preview updates without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l rollback -d 'Rollback checkpoint ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l no-checkpoint -d 'Disable checkpoint creation during apply mode'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s t -l title -d 'Item title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s d -l description -d 'Item description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -s p -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l type -d 'Item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l tags -d 'Comma-separated tags' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l add-tags -d 'Add tags additively without replacing existing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l remove-tags -d 'Remove tags from the existing list' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l deadline -d 'Deadline (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l estimate -d 'Estimated minutes' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l acceptance-criteria -d 'Acceptance criteria' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l definition-of-ready -d 'Definition of ready' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l order -d 'Planning order/rank' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l goal -d 'Goal identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l objective -d 'Objective identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l value -d 'Business value summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l impact -d 'Business impact summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l outcome -d 'Expected outcome summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l why-now -d 'Why-now rationale' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l reviewer -d 'Reviewer' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l risk -d 'Risk level' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l confidence -d 'Confidence level' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l sprint -d 'Sprint identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l release -d 'Release identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l reporter -d 'Issue reporter' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l severity -d 'Issue severity' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l environment -d 'Issue environment context' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l repro-steps -d 'Issue reproduction steps' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l resolution -d 'Issue resolution summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l expected-result -d 'Issue expected behavior' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l actual-result -d 'Issue observed behavior' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l affected-version -d 'Affected version identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l fixed-version -d 'Fixed version identifier' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l component -d 'Issue component ownership' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l regression -d 'Regression marker true|false|1|0' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l customer-impact -d 'Customer impact summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l dep -d 'Dependency seed id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l dep-remove -d 'Dependency removal selector id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l replace-deps -d 'Atomically replace dependencies with provided --dep values'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l replace-tests -d 'Atomically replace linked tests with provided --test values'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l comment -d 'Comment seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l note -d 'Note seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l learning -d 'Learning seed author=<value>,created_at=<iso|now>,text=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l file -d 'Linked file path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l test -d 'Linked test command=<value>,path=<value>,scope=<project|global>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l doc -d 'Linked doc path=<value>,scope=<project|global>,note=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l reminder -d 'Reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l event -d 'Event entry start=<iso|relative>,end=<iso|relative>,recur_*' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l type-option -d 'Type option key=value or key=<name>,value=<value>' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l unset -d 'Clear scalar metadata field by name' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-deps -d 'Clear dependency entries'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-comments -d 'Clear comments'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-notes -d 'Clear notes'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-learnings -d 'Clear learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-files -d 'Clear linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-tests -d 'Clear linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-docs -d 'Clear linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-reminders -d 'Clear reminders'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-events -d 'Clear events'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l clear-type-options -d 'Clear type options'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l allow-audit-update -d 'Allow non-owner metadata-only audit updates without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from update-many' -l force -d 'Force override'\n${fishUpdateManyRuntimeFieldFlags}\n\n# normalize flags\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-status -d 'Filter by status before planning or apply' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-type -d 'Filter by type before planning or apply' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-tag -d 'Filter by tag before planning or apply' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-priority -d 'Filter by priority before planning or apply' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-deadline-before -d 'Filter by deadline upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-deadline-after -d 'Filter by deadline lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-assignee -d 'Filter by assignee before planning or apply' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-sprint -d 'Filter by sprint before planning or apply' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l filter-release -d 'Filter by release before planning or apply' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l limit -d 'Limit matched item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l offset -d 'Skip first n matched rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l dry-run -d 'Preview normalize findings without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l apply -d 'Apply normalize changes'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l allow-audit-update -d 'Allow non-owner metadata-only audit updates without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from normalize' -l force -d 'Force override'\n\n# search flags\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l mode -d 'Search mode' -r -a 'keyword semantic hybrid'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l match-mode -d 'Token match mode' -r -a 'and or exact'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l min-score -d 'Per-query minimum score threshold' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l count -d 'Return only the match count'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l include-linked -d 'Include linked content in scoring'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l highlight -d 'Emit per-field matched-text snippets on each hit'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l limit -d 'Max results' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l status -d 'Filter by status (open/closed/canceled, csv)' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l type -d 'Filter by type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l tags -d 'Alias for --tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l updated-after -d 'Filter by updated_at lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l updated-before -d 'Filter by updated_at upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l created-after -d 'Filter by created_at lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l created-before -d 'Filter by created_at upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-reviewer-missing -d 'Select only items missing reviewer'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-risk-missing -d 'Select only items missing risk'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-confidence-missing -d 'Select only items missing confidence'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-sprint-missing -d 'Select only items missing sprint'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l filter-release-missing -d 'Select only items missing release'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-notes -d 'Select only items that have notes'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-notes -d 'Select only items with no notes'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-learnings -d 'Select only items that have learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-learnings -d 'Select only items with no learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-files -d 'Select only items that have linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-files -d 'Select only items with no linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-docs -d 'Select only items that have linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-docs -d 'Select only items with no linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-tests -d 'Select only items that have linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-tests -d 'Select only items with no linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-comments -d 'Select only items that have comments'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-comments -d 'Select only items with no comments'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-deps -d 'Select only items that have dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-deps -d 'Select only items with no dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-body -d 'Select only items with non-empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l empty-body -d 'Select only items with empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l has-linked-command -d 'Select only items that have a linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from search' -l no-linked-command -d 'Select only items with no linked command'\n${fishSearchRuntimeFieldFlags}\n\n# calendar flags\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l view -d 'Calendar view' -r -a 'agenda day week month'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l date -d 'Anchor date/time (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l from -d 'Agenda lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l to -d 'Agenda upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l past -d 'Include past entries'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l full-period -d 'Include full anchored day/week/month period'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l type -d 'Filter by type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l status -d 'Filter by status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l include -d 'Include event sources' -r -a 'all deadlines reminders events scheduled'\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l recurrence-lookahead-days -d 'Bound open-ended recurrence lookahead' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l recurrence-lookback-days -d 'Bound open-ended recurrence lookback' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l occurrence-limit -d 'Cap occurrences per recurring event' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l limit -d 'Limit returned events' -r\ncomplete -c pm -n '__fish_seen_subcommand_from calendar cal' -l format -d 'Output override' -r -a 'markdown toon json'\n${fishCalendarRuntimeFieldFlags}\n\n# context flags\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l date -d 'Anchor date/time (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l from -d 'Agenda lower bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l to -d 'Agenda upper bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l past -d 'Include past entries in bounded windows'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l type -d 'Filter by type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l parent -d 'Scope snapshot to one item subtree' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l limit -d 'Limit focus and agenda rows per section' -r\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l depth -d 'Context depth' -r -a 'brief standard deep full'\ncomplete -c pm -n '__fish_seen_subcommand_from context ctx' -l format -d 'Output override' -r -a 'markdown toon json'\n${fishContextRuntimeFieldFlags}\n\n# next flags\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l type -d 'Filter candidates by type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l tag -d 'Filter candidates by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l priority -d 'Filter candidates by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l assignee -d 'Filter candidates by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l sprint -d 'Filter candidates by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l release -d 'Filter candidates by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l parent -d 'Scope to one item subtree' -r\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l limit -d 'Limit ready rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l blocked-limit -d 'Limit blocked rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l ready-only -d 'Omit the blocked companion list'\ncomplete -c pm -n '__fish_seen_subcommand_from next' -l format -d 'Output override' -r -a 'markdown toon json'\n\n# guide flags\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -l list -d 'Show guide topic index'\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -l format -d 'Output override' -r -a 'markdown toon json'\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -l depth -d 'Guide detail depth' -r -a 'brief standard deep'\ncomplete -c pm -n '__fish_seen_subcommand_from guide' -a '${guideTopicChoices}' -d 'Guide topic'\n\n# reindex flags\ncomplete -c pm -n '__fish_seen_subcommand_from reindex' -l mode -d 'Reindex mode' -r -a 'keyword semantic hybrid'\ncomplete -c pm -n '__fish_seen_subcommand_from reindex' -l progress -d 'Emit progress updates to stderr'\n\n# get flags\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l depth -d 'Detail depth' -r -a 'brief standard deep full'\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l full -d 'Explicit full item read'\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l fields -d 'Render custom comma-separated item fields' -r\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l tree -d 'Include descendant subtree in result payload'\ncomplete -c pm -n '__fish_seen_subcommand_from get' -l tree-depth -d 'Cap subtree depth for --tree (0 = root only)' -r\n\n# history / activity flags\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l limit -d 'Max history entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l compact -d 'Condensed history projection'\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l full -d 'Show full history entries'\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l diff -d 'Include per-entry field-level before/after value diffs'\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l field -d 'With --diff, show only entries that changed this field' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history' -l verify -d 'Verify history hash chain and replay integrity'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l before -d 'Compact entries strictly before this version number or ISO timestamp' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l ids -d 'Bulk: compact an explicit comma-separated list of item ids' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l all-over -d 'Bulk: compact every stream with more than N entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l closed -d 'Bulk: compact only closed (terminal) items streams'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l all-streams -d 'Bulk: compact every history stream regardless of lifecycle state'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l min-entries -d 'Bulk: skip streams with at most N entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l dry-run -d 'Preview compaction impact without writing the history file'\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l message -d 'Audit history message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-compact' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l literal -d 'Literal string matcher to redact from history/item payloads' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l regex -d 'Regex matcher to redact (/pattern/flags or raw pattern)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l replacement -d 'Replacement text (defaults to [redacted])' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l dry-run -d 'Preview redaction impact without writing files'\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l message -d 'Audit history message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-redact' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l all -d 'Repair every drifted stream in one audited pass'\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l dry-run -d 'Preview the re-anchor impact without writing the history file'\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l message -d 'Audit history message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from history-repair' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -a 'list show show-status add-type remove-type add-status remove-status add-field remove-field list-fields show-field apply-preset' -d 'Schema subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l description -d 'Human description for the custom item type, status, or field' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l default-status -d 'Default status hint for the custom item type' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l folder -d 'Storage folder for items of this custom type' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l alias -d 'Alias for the custom type, status, or field flag (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l role -d 'Lifecycle role for a custom status (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l order -d 'Display/sort order for a custom status' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l type -d 'Value type for a custom field' -r -a 'string number boolean string_array'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l commands -d 'Commands a custom field is wired onto (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l cli-flag -d 'Override the auto-derived CLI flag for a custom field' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l required -d 'Mark a custom field as always required'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l required-on-create -d 'Mark a custom field as required at create time'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l no-allow-unset -d 'Disallow clearing a custom field via --unset'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l required-types -d 'Restrict a custom field requirement to specific item types (repeatable)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l infer -d 'Infer item types from title-prefix conventions (add-type)'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l min-count -d 'Minimum items sharing a prefix for --infer' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l apply -d 'Register inferred types (with --infer)'\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from schema' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from profile' -a 'list show apply lint' -d 'Profile subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from profile' -a 'agile ops research' -d 'Profile name'\ncomplete -c pm -n '__fish_seen_subcommand_from profile' -l dry-run -d 'Preview the apply diff without writing any files'\ncomplete -c pm -n '__fish_seen_subcommand_from profile' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from profile' -l force -d 'Force ownership/lock override'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -a 'create show add-step update-step complete-step block-step reorder-step remove-step link unlink decision discovery validation resume approve materialize' -d 'Plan subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l title -d 'Plan title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l scope -d 'Plan scope statement' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l harness -d 'Plan harness provenance' -r -a 'codex claude-code cursor generic'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l mode -d 'Plan mode' -r -a 'draft research review approved executing paused completed superseded'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l resume-context -d 'Resume context summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step-title -d 'Step title' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step -d 'Step title (repeatable on create)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step-status -d 'Step status' -r -a 'pending in_progress completed blocked skipped superseded'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l step-evidence -d 'Step evidence' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l depends-on -d 'Pm item id step depends on' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l link -d 'Pm item id to link' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l link-kind -d 'Link kind' -r -a 'related blocks blocked_by depends_on discovered_from implements verifies supersedes'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l depth -d 'Show depth' -r -a 'brief standard deep'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l steps -d 'Step ids/orders for materialize' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l materialize-type -d 'Item type for materialized steps' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l allow-multiple-active -d 'Allow multiple in_progress steps'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l promote-to-item-dep -d 'Also add link as item dependency'\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l message -d 'Mutation message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from plan' -l force -d 'Force ownership override'\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l id -d 'Filter by item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l op -d 'Filter by history operation' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l author -d 'Filter by history author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l from -d 'Lower timestamp bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l to -d 'Upper timestamp bound (ISO/date string or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l limit -d 'Max activity entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l compact -d 'Condensed activity projection'\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l full -d 'Show full activity entries'\ncomplete -c pm -n '__fish_seen_subcommand_from activity' -l stream -d 'Emit line-delimited JSON rows'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l action -d 'Filter schema by tool action' -r\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l command -d 'Scope output to one command (narrow-by-default)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l schema-only -d 'Return schema-only payload'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l flags-only -d 'Return command flag contracts only'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l availability-only -d 'Return action availability only'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l runtime-only -d 'Include only actions invocable in the current runtime'\ncomplete -c pm -n '__fish_seen_subcommand_from contracts' -l active-only -d 'Alias for --runtime-only'\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l format -d 'Output format' -r -a 'tree graph'\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l max-depth -d 'Maximum traversal depth (0 keeps root only)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l collapse -d 'Collapse mode' -r -a 'none repeated'\ncomplete -c pm -n '__fish_seen_subcommand_from deps' -l summary -d 'Return counts only without tree/graph payload'\n\n# comments / notes / learnings flags\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l add -d 'Add one entry (text=<value> or plain text)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l stdin -d 'Read comment text from stdin (supports multiline markdown)'\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l file -d 'Read comment text from file (supports multiline markdown)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l edit -d 'Replace the comment at 1-based index (text from positional/--add/--stdin/--file)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments' -l delete -d 'Delete the comment at 1-based index' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l limit -d 'Return only latest n entries' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l author -d 'Entry author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l allow-audit-comment -d 'Allow non-owner append-only comment audits (legacy alias for notes/learnings)'\ncomplete -c pm -n '__fish_seen_subcommand_from notes' -l allow-audit-note -d 'Allow non-owner append-only note audits without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from learnings' -l allow-audit-learning -d 'Allow non-owner append-only learning audits without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from comments notes learnings' -l force -d 'Force override'\n\n# test flags\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l add -d 'Add linked test entry' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l add-json -d 'Add linked test entry from JSON object/array' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l remove -d 'Remove linked test entry' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l list -d 'List linked tests without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l run -d 'Run linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l match -d 'Run linked tests whose command/path contains substring' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l only-index -d 'Run one linked test by 1-based index' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l only-last -d 'Run the most recently added linked test'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l background -d 'Run linked tests in managed background mode'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l timeout -d 'Default timeout seconds' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l progress -d 'Emit linked-test progress to stderr'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l env-set -d 'Set linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l env-clear -d 'Clear linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l shared-host-safe -d 'Apply shared-host-safe runtime defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l pm-context -d 'PM linked-test context mode' -r -a 'schema tracker auto'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l override-linked-pm-context -d 'Force run-level --pm-context over per-linked-test metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l fail-on-context-mismatch -d 'Fail when context item counts mismatch'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l fail-on-skipped -d 'Treat skipped linked tests as dependency failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l fail-on-empty-test-run -d 'Treat empty linked-test selections as failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l require-assertions-for-pm -d 'Require assertions for linked PM command tests'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l check-context -d 'Preflight linked PM command context diagnostics before execution'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l auto-pm-context -d 'Auto-remediate tracker-read context mismatches using tracker context'\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test' -l force -d 'Force override'\n\n# test-all flags\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l status -d 'Filter by status' -r -a 'open in_progress'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l limit -d 'Limit matching items before running linked tests' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l offset -d 'Skip matching items before running linked tests' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l background -d 'Run linked tests in managed background mode'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l timeout -d 'Default timeout seconds' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l progress -d 'Emit linked-test progress to stderr'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l env-set -d 'Set linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l env-clear -d 'Clear linked-test runtime environment values' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l shared-host-safe -d 'Apply shared-host-safe runtime defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l pm-context -d 'PM linked-test context mode' -r -a 'schema tracker auto'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l override-linked-pm-context -d 'Force run-level --pm-context over per-linked-test metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l fail-on-context-mismatch -d 'Fail when context item counts mismatch'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l fail-on-skipped -d 'Treat skipped linked tests as dependency failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l fail-on-empty-test-run -d 'Treat empty linked-test selections as failures'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l require-assertions-for-pm -d 'Require assertions for linked PM command tests'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l check-context -d 'Preflight linked PM command context diagnostics before execution'\ncomplete -c pm -n '__fish_seen_subcommand_from test-all' -l auto-pm-context -d 'Auto-remediate tracker-read context mismatches using tracker context'\n\n# test-runs flags\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -a 'list status logs stop resume' -d 'test-runs subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l status -d 'Filter background runs by status' -r -a 'queued running passed failed stopped canceled'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l limit -d 'Limit returned runs' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l stream -d 'Background log stream selector' -r -a 'stdout stderr both'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l tail -d 'Tail number of lines from logs' -r\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l force -d 'Force-stop run with SIGKILL'\ncomplete -c pm -n '__fish_seen_subcommand_from test-runs' -l author -d 'Resume author' -r\n\n# gc flags\ncomplete -c pm -n '__fish_seen_subcommand_from gc' -l dry-run -d 'Preview cleanup targets without deleting files'\ncomplete -c pm -n '__fish_seen_subcommand_from gc' -l scope -d 'Limit cleanup to index/embeddings/runtime/locks scopes' -r\n\n# stats flags\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l storage -d 'Include aggregate history-stream storage metrics'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l metadata-coverage -d 'Include metadata coverage percentages overall and by type'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l field-utilization -d 'Include content-field utilization rates across all items'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l by-assignee -d 'Lifecycle-bucketed breakdown grouped by assignee'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l by-tag -d 'Lifecycle-bucketed breakdown grouped by tag'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l by-priority -d 'Lifecycle-bucketed breakdown grouped by priority'\ncomplete -c pm -n '__fish_seen_subcommand_from stats' -l tag-prefix -d 'With --by-tag: only count tags with this prefix' -r\n\n# append flags\ncomplete -c pm -n '__fish_seen_subcommand_from append' -s b -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from append' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from append' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from append' -l force -d 'Force override'\n\n# close flags\ncomplete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from claim release start-task pause-task close close-task delete' -l force -d 'Force override'\ncomplete -c pm -n '__fish_seen_subcommand_from close close-task' -l validate-close -d 'Validate closure metadata mode' -r -a 'off warn strict'\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l reason -d 'Closure reason' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l close-reason -d 'Alias for --reason' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l resolution -d 'Closure resolution summary' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l expected-result -d 'Expected behavior note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l actual-result -d 'Observed behavior note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from release' -l allow-audit-release -d 'Allow non-owner release handoffs without requiring --force'\ncomplete -c pm -n '__fish_seen_subcommand_from delete' -l dry-run -d 'Preview the item file that would be deleted without mutating'\n\n# scheduling shortcut flags (meet/event/remind)\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l start -d 'Start time (ISO, now, or relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l duration -d 'Duration from start (default 1h)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l end -d 'End time (overrides --duration)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l location -d 'Location' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l timezone -d 'IANA timezone' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event' -l all-day -d 'Mark as an all-day event'\ncomplete -c pm -n '__fish_seen_subcommand_from remind' -l at -d 'Reminder time (default +1d)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from remind' -l text -d 'Reminder text (defaults to title)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l parent -d 'Parent item id' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l allow-missing-parent -d 'Permit a parent id that does not exist yet'\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l tags -d 'Comma-separated tags' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l priority -d 'Priority (0-4)' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l body -d 'Item body' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l description -d 'Short description' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from meet event remind' -l message -d 'History message' -r\n\n# close-many flags\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-status -d 'Filter by status before closing' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-type -d 'Filter by type before closing' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-tag -d 'Filter by tag before closing' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-priority -d 'Filter by priority before closing' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-deadline-before -d 'Filter by deadline upper bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-deadline-after -d 'Filter by deadline lower bound' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-updated-after -d 'Filter by updated_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-updated-before -d 'Filter by updated_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-created-after -d 'Filter by created_at lower bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-created-before -d 'Filter by created_at upper bound (ISO/relative)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-assignee -d 'Filter by assignee before closing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-sprint -d 'Filter by sprint before closing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-release -d 'Filter by release before closing' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-reviewer-missing -d 'Select only items missing reviewer'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-risk-missing -d 'Select only items missing risk'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-confidence-missing -d 'Select only items missing confidence'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-sprint-missing -d 'Select only items missing sprint'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-release-missing -d 'Select only items missing release'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-notes -d 'Select only items that have notes'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-notes -d 'Select only items with no notes'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-learnings -d 'Select only items that have learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-learnings -d 'Select only items with no learnings'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-files -d 'Select only items that have linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-files -d 'Select only items with no linked files'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-docs -d 'Select only items that have linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-docs -d 'Select only items with no linked docs'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-tests -d 'Select only items that have linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-tests -d 'Select only items with no linked tests'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-comments -d 'Select only items that have comments'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-comments -d 'Select only items with no comments'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-deps -d 'Select only items that have dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-deps -d 'Select only items with no dependencies'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-body -d 'Select only items with non-empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-empty-body -d 'Select only items with empty body'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-has-linked-command -d 'Select only items that have a linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l filter-no-linked-command -d 'Select only items with no linked command'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l ids -d 'Explicit comma-separated ID allowlist' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l limit -d 'Limit matched item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l offset -d 'Skip first n matched rows' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l reason -d 'Optional shared close reason applied to every matched item' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l resolution -d 'Shared closure resolution' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l expected-result -d 'Shared expected-result note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l actual-result -d 'Shared actual-result note' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l expected -d 'Short alias for --expected-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l actual -d 'Short alias for --actual-result' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l validate-close -d 'Validate closure metadata per item' -r -a 'off warn strict'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l author -d 'Mutation author' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l message -d 'History message' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l force -d 'Re-close terminal matches and override ownership'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l dry-run -d 'Preview matched items without mutating'\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l rollback -d 'Rollback checkpoint ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from close-many' -l no-checkpoint -d 'Disable checkpoint creation during apply mode'\n\n# validate flags\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-metadata -d 'Run metadata completeness checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l metadata-profile -d 'Select metadata validation profile for --check-metadata' -r -a 'core strict custom'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-resolution -d 'Run closed-item resolution metadata checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-lifecycle -d 'Run active-item lifecycle governance drift checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-stale-blockers -d 'Include stale blocker-pattern diagnostics in lifecycle checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l dependency-cycle-severity -d 'Set dependency-cycle warning policy for lifecycle checks' -r -a 'off warn error'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l parent-cycle-severity -d 'Set parent-hierarchy cycle warning policy for lifecycle checks' -r -a 'off warn error'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-files -d 'Run linked-file and orphaned-file checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l scan-mode -d 'Select file candidate scan mode for --check-files' -r -a 'default tracked-all tracked-all-strict'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l include-pm-internals -d 'Include PM storage internals in tracked-all candidate scans'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l verbose-file-lists -d 'Include full file-path lists for validate --check-files details'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l verbose-diagnostics -d 'Include full validate diagnostic ID lists instead of compact summaries'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l all-affected-ids -d 'Emit complete missing_* affected-ID lists with no truncation (implied by --json)'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l strict-exit -d 'Return non-zero exit when validation warnings are present'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l fail-on-warn -d 'Alias for --strict-exit'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l fix-hints -d 'Add a machine-executable fix_hints[] of pm commands to each failing check'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l auto-fix -d 'Apply the safe, deterministic subset of fix-hint remediations automatically'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l dry-run -d 'Preview planned --auto-fix/--prune-missing fixes without applying them'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l fix-scope -d 'Grant --auto-fix scopes (estimates/lifecycle must be named explicitly)' -r -a 'metadata resolution estimates lifecycle'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l prune-missing -d 'Remove stale linked-file/doc links classified as deleted'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-history-drift -d 'Run item/history hash drift checks'\ncomplete -c pm -n '__fish_seen_subcommand_from validate' -l check-command-references -d 'Run linked-command PM-ID reference checks'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l preset -d 'Governance preset for new setups' -r -a 'minimal default strict'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l defaults -d 'Use non-interactive setup defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -s y -l yes -d 'Alias for --defaults'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l author -d 'Set the default mutation author for this project' -r\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l agent-guidance -d 'Agent guidance mode' -r -a 'ask add skip status'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l type-preset -d 'Register domain item types' -r -a 'agile ops research'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l with-packages -d 'Install bundled first-party packages during initialization'\ncomplete -c pm -n '__fish_seen_subcommand_from init' -l verbose -d 'Include the full resolved settings tree in init output'\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l criterion -d 'Criteria value for definition-of-done metadata-required-fields or lifecycle pattern keys (repeatable for set)' -r\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l clear-criteria -d 'Clear config criteria-list key values'\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l format -d 'Item format for item-format key' -r -a 'toon'\ncomplete -c pm -n '__fish_seen_subcommand_from config' -l policy -d 'Policy value for supported policy keys' -r\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l strict-directories -d 'Treat optional item-type directories as required failures'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l check-only -d 'Run read-only health diagnostics without refreshing vectors'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l no-refresh -d 'Disable automatic vector refresh attempts during health checks'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l refresh-vectors -d 'Explicitly enable vector refresh attempts during health checks'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l verbose-stale-items -d 'Include full stale vectorization ID lists in health output'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l brief -d 'Emit compact health details for low-token agent checks'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l summary -d 'Emit one-line-style health status with check names and warning count'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l strict-exit -d 'Return non-zero exit when health warnings are present'\ncomplete -c pm -n '__fish_seen_subcommand_from health' -l fail-on-warn -d 'Alias for --strict-exit'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l status -d 'Filter by item status' -r -a '${statusChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l type -d 'Filter by item type' -r -a '${typeChoices}'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l tag -d 'Filter by tag' -r -a ${fishTagChoices}\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l priority -d 'Filter by priority' -r -a '0 1 2 3 4'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l parent -d 'Filter by parent item ID' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l sprint -d 'Filter by sprint' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l release -d 'Filter by release' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l assignee -d 'Filter by assignee' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l assignee-filter -d 'Filter assignee presence' -r -a 'assigned unassigned'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l limit-items -d 'Limit returned item count' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l limit -d 'Alias for --limit-items' -r\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l full-history -d 'Export full comment history rows (cannot be combined with --latest)'\ncomplete -c pm -n '__fish_seen_subcommand_from comments-audit' -l latest -d 'Return latest n comments per item (0 for summary-only rows)' -r\n\n# completion shell argument\ncomplete -c pm -n '__fish_seen_subcommand_from completion' -l eager-tags -d 'Embed current tracker tags directly in script output'\ncomplete -c pm -n '__fish_seen_subcommand_from completion' -a 'bash zsh fish' -d 'Shell type'\n\n# templates subcommands\ncomplete -c pm -n '__fish_seen_subcommand_from templates' -a 'save list show' -d 'Templates command'\n\n# extension lifecycle flags\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -a '${LIFECYCLE_ACTIONS}' -d 'Extension action subcommand'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l init -d 'Generate starter extension scaffold'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l scaffold -d 'Alias for --init'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l capability -d 'Capability the init scaffold targets' -r -a '${SCAFFOLD_CAPABILITIES.join(\" \")}'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l install -d 'Install extension from local path or GitHub source'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l uninstall -d 'Uninstall extension by name'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l explore -d 'List discovered extensions for selected scope'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l manage -d 'List managed extensions with update metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l describe -d 'Map every surface a loaded extension registers'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l markdown -d 'Render describe output as a Markdown reference document'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l output -d 'Write describe Markdown to a file' -r\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l reload -d 'Reload extensions with cache-busted module imports'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l watch -d 'Enable watch mode with --reload'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l doctor -d 'Run consolidated extension diagnostics'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l catalog -d 'List bundled first-party package catalog entries'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l adopt -d 'Adopt an unmanaged extension into managed metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l adopt-all -d 'Adopt all unmanaged extensions into managed metadata'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l activate -d 'Activate extension in selected scope settings'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l deactivate -d 'Deactivate extension in selected scope settings'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l project -d 'Use project extension scope'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l local -d 'Alias for --project'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l global -d 'Use global extension scope'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l gh -d 'GitHub shorthand owner/repo/path' -r\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l github -d 'Alias for --gh' -r\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l ref -d 'Git ref/branch/tag for GitHub source' -r\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l detail -d 'Detail mode for extension diagnostics' -r -a 'summary deep'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l trace -d 'Include registration traces in doctor deep diagnostics'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l runtime-probe -d 'Opt-in runtime activation probe for manage output'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l fix-managed-state -d 'Adopt unmanaged extensions before diagnostics/update checks'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l strict-exit -d 'Return non-zero exit when doctor warnings are present'\ncomplete -c pm -n '__fish_seen_subcommand_from extension' -l fail-on-warn -d 'Alias for --strict-exit (doctor)'\n\n# package lifecycle flags\nfor package_cmd in package packages\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -a '${LIFECYCLE_ACTIONS}' -d 'Package action subcommand'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l init -d 'Generate starter package scaffold'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l scaffold -d 'Alias for --init'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l capability -d 'Capability the init scaffold targets' -r -a '${SCAFFOLD_CAPABILITIES.join(\" \")}'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l declarative -d 'Generate a composeExtension blueprint starter'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l install -d 'Install package from local path, GitHub source, npm source, or bundled alias'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l uninstall -d 'Uninstall package by name'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l explore -d 'List discovered packages for selected scope'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l manage -d 'List managed packages with update metadata'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l describe -d 'Map every surface a loaded package registers'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l markdown -d 'Render describe output as a Markdown reference document'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l output -d 'Write describe Markdown to a file' -r\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l reload -d 'Reload packages with cache-busted module imports'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l watch -d 'Enable watch mode with --reload'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l doctor -d 'Run consolidated package diagnostics'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l catalog -d 'List bundled first-party package catalog entries'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l adopt -d 'Adopt an unmanaged package into managed metadata'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l adopt-all -d 'Adopt all unmanaged packages into managed metadata'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l activate -d 'Activate package in selected scope settings'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l deactivate -d 'Deactivate package in selected scope settings'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l project -d 'Use project package scope'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l local -d 'Alias for --project'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l global -d 'Use global package scope'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l gh -d 'GitHub shorthand owner/repo/path' -r\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l github -d 'Alias for --gh' -r\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l ref -d 'Git ref/branch/tag for GitHub source' -r\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l detail -d 'Detail mode for package diagnostics' -r -a 'summary deep'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l trace -d 'Include registration traces in doctor deep diagnostics'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l runtime-probe -d 'Opt-in runtime activation probe for manage output'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l fix-managed-state -d 'Adopt unmanaged packages before diagnostics/update checks'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l strict-exit -d 'Return non-zero exit when doctor warnings are present'\n complete -c pm -n \"__fish_seen_subcommand_from $package_cmd\" -l fail-on-warn -d 'Alias for --strict-exit (doctor)'\nend`;\n}\n\nconst SETUP_HINTS: Record<CompletionShell, string> = {\n bash: 'Add to ~/.bashrc or ~/.bash_profile: eval \"$(pm completion bash)\"',\n zsh: 'Add to ~/.zshrc: eval \"$(pm completion zsh)\"',\n fish: \"Run: pm completion fish > ~/.config/fish/completions/pm.fish\",\n};\n\n/**\n * Implements run completion for the public runtime surface of this module.\n */\nexport function runCompletion(\n shell: string,\n itemTypes: string[] = [],\n tags: string[] = [],\n eagerTagExpansion = false,\n runtime: CompletionRuntimeConfig = {},\n): CompletionResult {\n const normalized = shell.trim().toLowerCase();\n if (!VALID_SHELLS.includes(normalized as CompletionShell)) {\n throw new PmCliError(\n `Unknown shell: \"${shell}\". Supported shells: ${VALID_SHELLS.join(\", \")}.`,\n EXIT_CODE.USAGE,\n );\n }\n const validShell = normalized as CompletionShell;\n let script: string;\n if (validShell === \"bash\") {\n script = generateBashScript(itemTypes, tags, eagerTagExpansion, runtime);\n } else if (validShell === \"zsh\") {\n script = generateZshScript(itemTypes, tags, eagerTagExpansion, runtime);\n } else {\n script = generateFishScript(itemTypes, tags, eagerTagExpansion, runtime);\n }\n return {\n shell: validShell,\n script,\n setup_hint: SETUP_HINTS[validShell],\n };\n}\n"],"names":[],"mappings":"AAAA;;;;GAIG;;;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB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