@cassiomc1/forgeloop 1.6.3 → 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/DOCS_INDEX.md +26 -4
  2. package/EXECUTION_STATE.md +7 -0
  3. package/LOOP_ENGINEERING.md +58 -0
  4. package/LOOP_SYSTEM_DESIGN.md +54 -0
  5. package/ORCHESTRATOR_INTEGRATION.md +23 -0
  6. package/PROTOCOL_INTEGRATION.md +36 -0
  7. package/QUALITY_SCORECARD.md +21 -0
  8. package/README.md +55 -0
  9. package/TERMINOLOGY.md +11 -0
  10. package/THREAT_MODEL.md +7 -0
  11. package/completions/_forgeloop +85 -0
  12. package/completions/forgeloop.bash +173 -0
  13. package/completions/forgeloop.fish +544 -0
  14. package/docs/AGENT_PROTOCOL_SUMMARY.md +281 -0
  15. package/docs/ARTIFACT_REFERENCE.md +226 -0
  16. package/docs/CLI_REFERENCE.md +308 -2
  17. package/docs/CODE_ATTESTATION.md +141 -0
  18. package/docs/CROSS_HARNESS_CONTINUITY.md +22 -2
  19. package/docs/DOCUMENTATION_GUIDE.md +13 -11
  20. package/docs/GETTING_STARTED.md +98 -1
  21. package/docs/MCP.md +8 -0
  22. package/docs/PLATFORM_ADAPTERS.md +69 -0
  23. package/docs/RECIPES.md +138 -0
  24. package/docs/RELEASE_CHECKLIST.md +54 -0
  25. package/docs/REVISION_PROVIDERS.md +136 -0
  26. package/docs/SIGNING_PROVIDERS.md +83 -0
  27. package/docs/TROUBLESHOOTING.md +184 -0
  28. package/docs/UNIVERSAL_INTEGRATION.md +11 -0
  29. package/docs/assets/diagrams/forgeloop-code-attestation-flow.html +13841 -0
  30. package/docs/assets/diagrams/forgeloop-code-attestation-flow.receipt.json +37 -0
  31. package/docs/assets/diagrams/forgeloop-code-attestation-flow.svg +5046 -0
  32. package/docs/assets/diagrams/forgeloop-engineering-flow.html +46 -43
  33. package/docs/assets/diagrams/forgeloop-engineering-flow.receipt.json +6 -6
  34. package/docs/assets/diagrams/forgeloop-engineering-flow.svg +41 -41
  35. package/docs/assets/diagrams/forgeloop-verification-trust-flow.html +13783 -0
  36. package/docs/assets/diagrams/forgeloop-verification-trust-flow.receipt.json +37 -0
  37. package/docs/assets/diagrams/forgeloop-verification-trust-flow.svg +4988 -0
  38. package/docs/diagrams/README.md +30 -22
  39. package/docs/diagrams/forgeloop-code-attestation-flow.workflow.json +125 -0
  40. package/docs/diagrams/forgeloop-engineering-flow.workflow.json +11 -8
  41. package/docs/diagrams/forgeloop-verification-trust-flow.workflow.json +116 -0
  42. package/docs/diagrams/manifest.json +42 -0
  43. package/docs/diagrams/reviews/forgeloop-code-attestation-flow.review.json +20 -0
  44. package/docs/diagrams/reviews/forgeloop-engineering-flow.review.json +3 -3
  45. package/docs/diagrams/reviews/forgeloop-verification-trust-flow.review.json +20 -0
  46. package/integrations/generic-ci/verify.sh +14 -0
  47. package/package.json +32 -9
  48. package/schemas/attestation-verification-result.schema.json +34 -0
  49. package/schemas/code-attestation.schema.json +61 -0
  50. package/schemas/code-manifest.schema.json +57 -0
  51. package/schemas/config.schema.json +57 -1
  52. package/schemas/handoff-envelope.schema.json +57 -0
  53. package/schemas/in-toto-statement.schema.json +32 -0
  54. package/schemas/responsibility.schema.json +37 -0
  55. package/schemas/verification-scope.schema.json +26 -0
  56. package/schemas/workspace-binding.schema.json +20 -0
  57. package/scripts/CI_VALIDATORS.md +3 -0
  58. package/scripts/benchmark-cli-startup.mjs +60 -0
  59. package/scripts/check-changelog-freshness.mjs +88 -0
  60. package/scripts/check-critical-coverage.mjs +58 -0
  61. package/scripts/generate-agent-protocol-summary.mjs +141 -0
  62. package/scripts/generate-shell-completions.mjs +132 -0
  63. package/scripts/write-forgeloop-attestation-summary.mjs +93 -0
  64. package/src/cli.js +114 -6
  65. package/src/commands/attestation-create.js +30 -0
  66. package/src/commands/attestation-status.js +12 -0
  67. package/src/commands/attestation-verify-range.js +32 -0
  68. package/src/commands/attestation-verify.js +23 -0
  69. package/src/commands/handoff-create.js +9 -0
  70. package/src/commands/handoff-list.js +12 -0
  71. package/src/commands/handoff-show.js +10 -0
  72. package/src/commands/responsibility-set.js +20 -0
  73. package/src/commands/responsibility-status.js +12 -0
  74. package/src/commands/run-check.js +43 -3
  75. package/src/commands/task-repair-legacy-recovery.js +1 -2
  76. package/src/commands/verify-scope.js +9 -0
  77. package/src/commands/workspace-bind.js +17 -0
  78. package/src/commands/workspace-status.js +19 -0
  79. package/src/core/artifact-registry.js +84 -0
  80. package/src/core/attestation-coverage.js +134 -0
  81. package/src/core/attestation-verifier.js +227 -0
  82. package/src/core/attestation.js +263 -0
  83. package/src/core/audit.js +67 -1
  84. package/src/core/bundles.js +210 -9
  85. package/src/core/cli-command-definitions.js +196 -0
  86. package/src/core/code-manifest.js +293 -0
  87. package/src/core/command-executors.js +79 -0
  88. package/src/core/command-input.js +69 -18
  89. package/src/core/command-runtime.js +2 -1
  90. package/src/core/completion.js +170 -8
  91. package/src/core/config.js +60 -2
  92. package/src/core/continuity-cli-options.js +9 -3
  93. package/src/core/continuity-reconciliation.js +20 -0
  94. package/src/core/diagnostic-projection.js +3 -1
  95. package/src/core/error-codes.js +146 -0
  96. package/src/core/events.js +109 -13
  97. package/src/core/exit-codes.js +22 -0
  98. package/src/core/handoff.js +208 -0
  99. package/src/core/information-gain-projection.js +3 -3
  100. package/src/core/integration-invocation-policy.js +40 -0
  101. package/src/core/integration-resources.js +54 -0
  102. package/src/core/next-action-phases.js +968 -0
  103. package/src/core/next-action.js +32 -951
  104. package/src/core/phase.js +29 -1
  105. package/src/core/protocol-info.js +41 -1
  106. package/src/core/repository.js +256 -11
  107. package/src/core/responsibility.js +265 -0
  108. package/src/core/resumability.js +27 -1
  109. package/src/core/revision/git.js +207 -0
  110. package/src/core/revision/provider.js +90 -0
  111. package/src/core/revision/registry.js +5 -0
  112. package/src/core/route-artifact.js +1 -1
  113. package/src/core/schema-validation.js +8 -0
  114. package/src/core/signing/none.js +23 -0
  115. package/src/core/signing/provider.js +21 -0
  116. package/src/core/signing/registry.js +7 -0
  117. package/src/core/signing/sigstore.js +158 -0
  118. package/src/core/task-command.js +9 -1
  119. package/src/core/task-paths.js +72 -0
  120. package/src/core/templates.js +8 -0
  121. package/src/core/verification-scope-capability.js +179 -0
  122. package/src/core/verification-scope.js +271 -0
  123. package/src/core/workspace-binding.js +211 -0
  124. package/src/integration.d.ts +91 -0
  125. package/docs/RELEASE_CHECKLIST_1_4.md +0 -38
  126. package/docs/RELEASE_CHECKLIST_1_5_MCP.md +0 -78
  127. package/docs/RELEASE_CHECKLIST_1_6_1.md +0 -121
@@ -0,0 +1,85 @@
1
+ #compdef forgeloop
2
+ # Generated by scripts/generate-shell-completions.mjs. Do not edit.
3
+ _arguments \
4
+ '1:command:(action-authorize action-propose action-reconcile action-record action-show action-verify activate advance approval-request approval-resolve attestation-create attestation-status attestation-verify attestation-verify-range audit baseline bundle clear-continuity clear-state complete continuity doctor eval handoff-create handoff-list handoff-show history init inspect metrics migrate-protocol next policy policy-diff policy-discover policy-status preflight prepare-completion profile-interview progress protocol-info reconcile-closure reconcile-continuity record-check record-continuity record-decision-criterion record-diagnosis record-hypothesis-disposition record-intervention record-terminal-result reflect report responsibility-set responsibility-status route rule-verify run-action run-check status task-create task-list task-lock-status task-migrate task-recover task-repair-legacy-recovery task-resume task-scope task-show task-unlock trace update validate-protocol validate-receipt validate-state verify-scope workspace-bind workspace-status)' \
5
+ '*::options:->options'
6
+ case $words[2] in
7
+ action-authorize) _arguments '--action[durable action ID]' '--approval[current fingerprint-bound approval]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
8
+ action-propose) _arguments '--capability[canonical capability]' '--effect-class[effect class]' '--help[show this help]' '--id[stable action ID]' '--idempotency-key[logical action idempotency key]' '--json[emit structured output as JSON]' '--operation[bounded operation description]' '--path[target project directory (default: current directory)]' '--required-for-completion[mark required for completion]' '--requirement[bound requirement]' '--target[bounded action target]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
9
+ action-reconcile) _arguments '--action[ambiguous durable action ID]' '--evidence-ref[bounded external evidence reference]' '--help[show this help]' '--json[emit structured output as JSON]' '--observed-at[external observation timestamp]' '--outcome[externally observed reconciliation outcome]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
10
+ action-record) _arguments '--action[durable action ID]' '--evidence-ref[bounded external evidence reference]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--provenance[CALLER_REPORTED or EXTERNAL_OBSERVED]' '--state[next canonical action state]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
11
+ action-show) _arguments '--action[durable action ID]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
12
+ action-verify) _arguments '--action[durable action ID]' '--evidence[canonical execution or check reference proving the postcondition]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
13
+ activate) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' ;;
14
+ advance) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--to[destination workflow phase]' '--version[show the installed package version]' ;;
15
+ approval-request) _arguments '--action[bound action ID]' '--approval[approval artifact ID]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--reason[bounded approval reason]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
16
+ approval-resolve) _arguments '--approval[approval artifact ID]' '--authority[CALLER_ACKNOWLEDGED or HOST_ATTESTED]' '--decision[approval decision]' '--help[show this help]' '--host-grant-ref[host boundary grant reference]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--reason[bounded resolution reason]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
17
+ attestation-create) _arguments '--help[show this help]' '--json[emit attestation statement result as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
18
+ attestation-status) _arguments '--help[show this help]' '--json[emit attestation status as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
19
+ attestation-verify) _arguments '--bundle[optional external signature bundle]' '--help[show this help]' '--identity[optional exact signer identity policy]' '--issuer[optional exact signer issuer policy]' '--json[emit verification result as JSON]' '--path[target project directory (default: current directory)]' '--ref[target revision to compare with the manifest]' '--require-signature[require a valid external signature]' '--revision-provider[revision provider (default: git)]' '--signing-provider[signing provider (default: none)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--trusted-root[trusted signing root path]' '--version[show the installed package version]' ;;
20
+ attestation-verify-range) _arguments '--base[opaque base revision]' '--head[opaque head revision]' '--help[show this help]' '--identity[optional exact signer identity policy]' '--issuer[optional exact signer issuer policy]' '--json[emit range verification result as JSON]' '--path[target project directory (default: current directory)]' '--require-complete-coverage[fail when any changed source path lacks a valid attestation]' '--require-signature[require a valid external signature for covered attestations]' '--revision-provider[revision provider (default: git)]' '--signing-provider[signing provider (default: none)]' '--trusted-root[trusted signing root path]' '--version[show the installed package version]' ;;
21
+ audit) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--strict[require strict protocol compliance]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
22
+ baseline) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--policy-reset-authorized[explicit operator authority to re-record baseline during active tasks]' '--record[record current violations as brownfield baseline]' '--update[ratchet baseline downward by removing resolved violations]' '--version[show the installed package version]' ;;
23
+ bundle) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
24
+ clear-continuity) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
25
+ clear-state) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
26
+ complete) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--strict[require strict protocol compliance]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
27
+ continuity) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
28
+ doctor) _arguments '--adopt[preserve an existing adapter in the manifest]' '--fix[restore missing managed template files]' '--help[show this help]' '--json[emit doctor findings as JSON]' '--path[target project directory (default: current directory)]' '--strict[treat warnings as unhealthy]' '--version[show the installed package version]' ;;
29
+ eval) _arguments '--help[show this help]' '--json[emit evaluation as JSON]' '--path[target project directory (default: current directory)]' '--scenario[project-local trajectory scenario JSON]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
30
+ handoff-create) _arguments '--help[show this help]' '--json[emit handoff as JSON]' '--note[non-authoritative handoff note]' '--path[target project directory (default: current directory)]' '--recipient[non-authoritative recipient hint]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
31
+ handoff-list) _arguments '--help[show this help]' '--json[emit handoff list as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
32
+ handoff-show) _arguments '--help[show this help]' '--id[handoff identifier]' '--json[emit handoff as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
33
+ history) _arguments '--checks[show only verification events]' '--compact[one line per event]' '--failures[show only failed/blocked verification events]' '--help[show this help]' '--json[emit structured history output as JSON]' '--limit[show only the last N events after filtering]' '--path[target project directory (default: current directory)]' '--phase[comma-separated lifecycle phases to include]' '--since[include events at or after this timestamp]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--type[comma-separated event types or categories to include]' '--until[include events at or before this timestamp]' '--verbose[show full event data]' '--version[show the installed package version]' ;;
34
+ init) _arguments '--dry-run[perform deterministic init planning and conflict detection without writing]' '--help[show this help]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' ;;
35
+ inspect) _arguments '--contract-file[current JSON contract used for freshness comparison]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
36
+ metrics) _arguments '--help[show this help]' '--json[emit trajectory metrics as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
37
+ migrate-protocol) _arguments '--dry-run[show migration actions without writing or deleting artifacts]' '--help[show this help]' '--json[emit structured migration result as JSON]' '--path[target project directory (default: current directory)]' '--to[target supported protocol version]' '--version[show the installed package version]' ;;
38
+ next) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
39
+ policy) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
40
+ policy-diff) _arguments '--after[path to after policy JSON]' '--before[path to before policy JSON]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
41
+ policy-discover) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' '--write[persist discovered policy to .forgeloop/policy/discovery.json]' ;;
42
+ policy-status) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
43
+ preflight) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--strict[require strict protocol compliance]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
44
+ prepare-completion) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
45
+ profile-interview) _arguments '--dry-run[show planned interview questions without changing files]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' ;;
46
+ progress) _arguments '--help[show this help]' '--json[emit progress evaluation as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
47
+ protocol-info) _arguments '--help[show this help]' '--json[emit complete machine-readable protocol metadata]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' ;;
48
+ reconcile-closure) _arguments '--[exact command argv to execute as objective-satisfaction evidence]' '--details[additional structured execution details]' '--help[show this help]' '--id[contract verification item id used as evidence]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--requirement[exact contract verification item requirement text]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
49
+ reconcile-continuity) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
50
+ record-check) _arguments '--command[recorded only as metadata; it is never executed]' '--details[additional structured check details]' '--evidence-kind[OBSERVED, INFERRED, NOT_VERIFIED, or BLOCKED]' '--execution-ref[ForgeLoop execution artifact reference]' '--exit-code[observed process exit code]' '--help[show this help]' '--id[stable check identifier]' '--json[emit structured output as JSON]' '--kind[check kind (default: command; use manual-review for manual evidence)]' '--path[target project directory (default: current directory)]' '--provenance[FORGELOOP_EXECUTED, ACTOR_REPORTED, or MANUAL_OBSERVATION]' '--requirement[completion requirement covered by the check]' '--result[observed result supplied by the actor]' '--status[passed, failed, blocked, or not-run]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
51
+ record-continuity) _arguments '--changed-area[changed project area]' '--focus-id[current implementation focus ID]' '--focus-summary[current implementation focus summary]' '--help[show this help]' '--inspect-first[suggested inspection path]' '--json[emit structured output as JSON]' '--known-issue[known implementation issue]' '--path[target project directory (default: current directory)]' '--remaining[remaining implementation item]' '--resume-note[bounded operational resume note]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
52
+ record-decision-criterion) _arguments '--decision[unresolved decision text matching current contract]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--settled-by[criteria or guidance that settles the decision]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
53
+ record-diagnosis) _arguments '--evidence-ref[reference to failed/blocked check from current cycle]' '--failure-class[canonical failure class taxonomy]' '--file[structured diagnostic case JSON file (mutually exclusive with legacy diagnosis fields)]' '--help[show this help]' '--hypothesis[specific root-cause hypothesis explaining the verification failure]' '--json[emit structured output as JSON]' '--next-safe-action[smallest safe action to address the hypothesis]' '--path[target project directory (default: current directory)]' '--settled-by[falsification or settlement criteria for the hypothesis]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
54
+ record-hypothesis-disposition) _arguments '--evidence-ref[check ID supporting this disposition]' '--help[show this help]' '--hypothesis[existing hypothesis ID to disposition]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--reason[evidence-bound reason for the disposition]' '--status[SUPPORTED, WEAKENED, FALSIFIED, SUPERSEDED, or UNRESOLVED]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
55
+ record-intervention) _arguments '--file[intervention JSON file describing the recorded change (never executed)]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
56
+ record-terminal-result) _arguments '--details[additional structured result details]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--requirement[terminal requirement covered by the result]' '--result[observed external result description]' '--source[external action source (e.g. npm publish, git push)]' '--status[observed terminal status]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--type[PUBLICATION or PRODUCTION_READINESS]' '--version[show the installed package version]' ;;
57
+ reflect) _arguments '--help[show this help]' '--json[emit structured reflection output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
58
+ report) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--strict[require strict protocol compliance]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
59
+ responsibility-set) _arguments '--allowed-path[path prefix allowed during this pass]' '--freeze-claims[freeze the current effective claims fingerprint]' '--freeze-contract[freeze the current contract fingerprint]' '--freeze-route[freeze the current route fingerprint]' '--help[show this help]' '--json[emit responsibility result as JSON]' '--label[descriptive pass label; not an identity or role]' '--path[target project directory (default: current directory)]' '--read-only-path[path prefix that must not change during this pass]' '--required-check[current-cycle check required by this pass]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
60
+ responsibility-status) _arguments '--help[show this help]' '--json[emit responsibility status as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
61
+ route) _arguments '--behavior-change[declare behavior change]' '--executable-change[declare executable/configuration change]' '--help[show this help]' '--json[emit route result as JSON]' '--path[target project directory (default: current directory)]' '--platform[affected platform]' '--risk[task risk]' '--surface[affected surface]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' '--work[declared work type]' ;;
62
+ rule-verify) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--rule[verify a specific policy rule ID]' '--version[show the installed package version]' ;;
63
+ run-action) _arguments '--[exact command argv; shell mode is never used]' '--action[stable durable action ID]' '--approval[current fingerprint-bound approval]' '--capability[canonical action capability]' '--effect-class[durable action effect class]' '--help[show this help]' '--idempotency-key[immutable logical action idempotency key]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--required-for-completion[mark the action as required for completion]' '--requirement[bound completion requirement]' '--target[bounded external action target]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--timeout-ms[maximum command duration before termination]' '--version[show the installed package version]' ;;
64
+ run-check) _arguments '--[exact command argv to classify, execute, and attest]' '--details[additional structured check details]' '--help[show this help]' '--id[stable check identifier]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--requirement[completion requirement covered by the check]' '--scope-ref[current verification-scope.json to bind to execution evidence]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--timeout-ms[maximum command duration before termination]' '--version[show the installed package version]' ;;
65
+ status) _arguments '--contract-file[current JSON contract used for freshness comparison]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
66
+ task-create) _arguments '--claim[scoped file path or directory prefix claimed for mutation]' '--contract-file[path to initial contract file]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
67
+ task-list) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' ;;
68
+ task-lock-status) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
69
+ task-migrate) _arguments '--dry-run[show planned migration actions without moving files]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' ;;
70
+ task-recover) _arguments '--acknowledge-recovery[acknowledge release of claims for a STALE or ABANDONED task (required; not host attestation)]' '--help[show this help]' '--json[emit structured output as JSON]' '--operator-authorized[deprecated alias for --acknowledge-recovery; does not attest operator authority]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
71
+ task-repair-legacy-recovery) _arguments '--acknowledge-recovery[fresh explicit acknowledgement of the legacy boundary migration (required)]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
72
+ task-resume) _arguments '--claim[write claim to reacquire (defaults to all released claims)]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
73
+ task-scope) _arguments '--claim[scoped file path or directory prefix claimed for mutation]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
74
+ task-show) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
75
+ task-unlock) _arguments '--force[force release of an orphaned task lock]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--stale-only[release only a lock whose lease is expired]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
76
+ trace) _arguments '--help[show this help]' '--json[emit structured trace output as JSON (default rendering is a summary)]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
77
+ update) _arguments '--dry-run[perform deterministic update planning and conflict detection without writing]' '--help[show this help]' '--path[target project directory (default: current directory)]' '--version[show the installed package version]' ;;
78
+ validate-protocol) _arguments '--continuity-file[optional execution-continuity JSON relative to target]' '--contract-file[current JSON contract used for freshness comparison]' '--delegated-result-file[delegated result JSON file]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--receipt-file[execution-receipt JSON relative to target]' '--route-file[routing-result JSON relative to target]' '--state-file[work-state JSON relative to target]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--task-brief-file[task brief JSON file]' '--version[show the installed package version]' ;;
79
+ validate-receipt) _arguments '--file[receipt file relative to target (overrides task-based receipt resolution)]' '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
80
+ validate-state) _arguments '--help[show this help]' '--json[emit structured output as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
81
+ verify-scope) _arguments '--help[show this help]' '--json[emit verification scope as JSON]' '--mode[requested deterministic verification boundary (default: AUTO)]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
82
+ workspace-bind) _arguments '--help[show this help]' '--json[emit binding result as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
83
+ workspace-status) _arguments '--help[show this help]' '--json[emit workspace status as JSON]' '--path[target project directory (default: current directory)]' '--task[task ID to operate on (when omitted, resolved from context or single active task)]' '--version[show the installed package version]' ;;
84
+ *) _arguments '--help[show this help]' '--version[show the installed package version]' '--path[target project directory]' ;;
85
+ esac
@@ -0,0 +1,173 @@
1
+ # Generated by scripts/generate-shell-completions.mjs. Do not edit.
2
+ _forgeloop() {
3
+ local cur command
4
+ COMPREPLY=()
5
+ cur="\${COMP_WORDS[COMP_CWORD]}"
6
+ command=""
7
+ for word in "\${COMP_WORDS[@]:1}"; do
8
+ case "\${word}" in
9
+ action-authorize) command="action-authorize" ;;
10
+ action-propose) command="action-propose" ;;
11
+ action-reconcile) command="action-reconcile" ;;
12
+ action-record) command="action-record" ;;
13
+ action-show) command="action-show" ;;
14
+ action-verify) command="action-verify" ;;
15
+ activate) command="activate" ;;
16
+ advance) command="advance" ;;
17
+ approval-request) command="approval-request" ;;
18
+ approval-resolve) command="approval-resolve" ;;
19
+ attestation-create) command="attestation-create" ;;
20
+ attestation-status) command="attestation-status" ;;
21
+ attestation-verify) command="attestation-verify" ;;
22
+ attestation-verify-range) command="attestation-verify-range" ;;
23
+ audit) command="audit" ;;
24
+ baseline) command="baseline" ;;
25
+ bundle) command="bundle" ;;
26
+ clear-continuity) command="clear-continuity" ;;
27
+ clear-state) command="clear-state" ;;
28
+ complete) command="complete" ;;
29
+ continuity) command="continuity" ;;
30
+ doctor) command="doctor" ;;
31
+ eval) command="eval" ;;
32
+ handoff-create) command="handoff-create" ;;
33
+ handoff-list) command="handoff-list" ;;
34
+ handoff-show) command="handoff-show" ;;
35
+ history) command="history" ;;
36
+ init) command="init" ;;
37
+ inspect) command="inspect" ;;
38
+ metrics) command="metrics" ;;
39
+ migrate-protocol) command="migrate-protocol" ;;
40
+ next) command="next" ;;
41
+ policy) command="policy" ;;
42
+ policy-diff) command="policy-diff" ;;
43
+ policy-discover) command="policy-discover" ;;
44
+ policy-status) command="policy-status" ;;
45
+ preflight) command="preflight" ;;
46
+ prepare-completion) command="prepare-completion" ;;
47
+ profile-interview) command="profile-interview" ;;
48
+ progress) command="progress" ;;
49
+ protocol-info) command="protocol-info" ;;
50
+ reconcile-closure) command="reconcile-closure" ;;
51
+ reconcile-continuity) command="reconcile-continuity" ;;
52
+ record-check) command="record-check" ;;
53
+ record-continuity) command="record-continuity" ;;
54
+ record-decision-criterion) command="record-decision-criterion" ;;
55
+ record-diagnosis) command="record-diagnosis" ;;
56
+ record-hypothesis-disposition) command="record-hypothesis-disposition" ;;
57
+ record-intervention) command="record-intervention" ;;
58
+ record-terminal-result) command="record-terminal-result" ;;
59
+ reflect) command="reflect" ;;
60
+ report) command="report" ;;
61
+ responsibility-set) command="responsibility-set" ;;
62
+ responsibility-status) command="responsibility-status" ;;
63
+ route) command="route" ;;
64
+ rule-verify) command="rule-verify" ;;
65
+ run-action) command="run-action" ;;
66
+ run-check) command="run-check" ;;
67
+ status) command="status" ;;
68
+ task-create) command="task-create" ;;
69
+ task-list) command="task-list" ;;
70
+ task-lock-status) command="task-lock-status" ;;
71
+ task-migrate) command="task-migrate" ;;
72
+ task-recover) command="task-recover" ;;
73
+ task-repair-legacy-recovery) command="task-repair-legacy-recovery" ;;
74
+ task-resume) command="task-resume" ;;
75
+ task-scope) command="task-scope" ;;
76
+ task-show) command="task-show" ;;
77
+ task-unlock) command="task-unlock" ;;
78
+ trace) command="trace" ;;
79
+ update) command="update" ;;
80
+ validate-protocol) command="validate-protocol" ;;
81
+ validate-receipt) command="validate-receipt" ;;
82
+ validate-state) command="validate-state" ;;
83
+ verify-scope) command="verify-scope" ;;
84
+ workspace-bind) command="workspace-bind" ;;
85
+ workspace-status) command="workspace-status" ;;
86
+ esac
87
+ done
88
+ if [[ -z "\${command}" && "\${cur}" != -* ]]; then
89
+ COMPREPLY=( $(compgen -W 'action-authorize action-propose action-reconcile action-record action-show action-verify activate advance approval-request approval-resolve attestation-create attestation-status attestation-verify attestation-verify-range audit baseline bundle clear-continuity clear-state complete continuity doctor eval handoff-create handoff-list handoff-show history init inspect metrics migrate-protocol next policy policy-diff policy-discover policy-status preflight prepare-completion profile-interview progress protocol-info reconcile-closure reconcile-continuity record-check record-continuity record-decision-criterion record-diagnosis record-hypothesis-disposition record-intervention record-terminal-result reflect report responsibility-set responsibility-status route rule-verify run-action run-check status task-create task-list task-lock-status task-migrate task-recover task-repair-legacy-recovery task-resume task-scope task-show task-unlock trace update validate-protocol validate-receipt validate-state verify-scope workspace-bind workspace-status' -- "$cur") )
90
+ return
91
+ fi
92
+ case "\${command}" in
93
+ action-authorize) COMPREPLY=( $(compgen -W '--action --approval --help --json --path --task --version' -- "$cur") );;
94
+ action-propose) COMPREPLY=( $(compgen -W '--capability --effect-class --help --id --idempotency-key --json --operation --path --required-for-completion --requirement --target --task --version' -- "$cur") );;
95
+ action-reconcile) COMPREPLY=( $(compgen -W '--action --evidence-ref --help --json --observed-at --outcome --path --task --version' -- "$cur") );;
96
+ action-record) COMPREPLY=( $(compgen -W '--action --evidence-ref --help --json --path --provenance --state --task --version' -- "$cur") );;
97
+ action-show) COMPREPLY=( $(compgen -W '--action --help --json --path --task --version' -- "$cur") );;
98
+ action-verify) COMPREPLY=( $(compgen -W '--action --evidence --help --json --path --task --version' -- "$cur") );;
99
+ activate) COMPREPLY=( $(compgen -W '--help --json --path --version' -- "$cur") );;
100
+ advance) COMPREPLY=( $(compgen -W '--help --json --path --task --to --version' -- "$cur") );;
101
+ approval-request) COMPREPLY=( $(compgen -W '--action --approval --help --json --path --reason --task --version' -- "$cur") );;
102
+ approval-resolve) COMPREPLY=( $(compgen -W '--approval --authority --decision --help --host-grant-ref --json --path --reason --task --version' -- "$cur") );;
103
+ attestation-create) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
104
+ attestation-status) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
105
+ attestation-verify) COMPREPLY=( $(compgen -W '--bundle --help --identity --issuer --json --path --ref --require-signature --revision-provider --signing-provider --task --trusted-root --version' -- "$cur") );;
106
+ attestation-verify-range) COMPREPLY=( $(compgen -W '--base --head --help --identity --issuer --json --path --require-complete-coverage --require-signature --revision-provider --signing-provider --trusted-root --version' -- "$cur") );;
107
+ audit) COMPREPLY=( $(compgen -W '--help --json --path --strict --task --version' -- "$cur") );;
108
+ baseline) COMPREPLY=( $(compgen -W '--help --json --path --policy-reset-authorized --record --update --version' -- "$cur") );;
109
+ bundle) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
110
+ clear-continuity) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
111
+ clear-state) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
112
+ complete) COMPREPLY=( $(compgen -W '--help --json --path --strict --task --version' -- "$cur") );;
113
+ continuity) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
114
+ doctor) COMPREPLY=( $(compgen -W '--adopt --fix --help --json --path --strict --version' -- "$cur") );;
115
+ eval) COMPREPLY=( $(compgen -W '--help --json --path --scenario --task --version' -- "$cur") );;
116
+ handoff-create) COMPREPLY=( $(compgen -W '--help --json --note --path --recipient --task --version' -- "$cur") );;
117
+ handoff-list) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
118
+ handoff-show) COMPREPLY=( $(compgen -W '--help --id --json --path --task --version' -- "$cur") );;
119
+ history) COMPREPLY=( $(compgen -W '--checks --compact --failures --help --json --limit --path --phase --since --task --type --until --verbose --version' -- "$cur") );;
120
+ init) COMPREPLY=( $(compgen -W '--dry-run --help --path --version' -- "$cur") );;
121
+ inspect) COMPREPLY=( $(compgen -W '--contract-file --help --json --path --task --version' -- "$cur") );;
122
+ metrics) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
123
+ migrate-protocol) COMPREPLY=( $(compgen -W '--dry-run --help --json --path --to --version' -- "$cur") );;
124
+ next) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
125
+ policy) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
126
+ policy-diff) COMPREPLY=( $(compgen -W '--after --before --help --json --path --task --version' -- "$cur") );;
127
+ policy-discover) COMPREPLY=( $(compgen -W '--help --json --path --version --write' -- "$cur") );;
128
+ policy-status) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
129
+ preflight) COMPREPLY=( $(compgen -W '--help --json --path --strict --task --version' -- "$cur") );;
130
+ prepare-completion) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
131
+ profile-interview) COMPREPLY=( $(compgen -W '--dry-run --help --json --path --version' -- "$cur") );;
132
+ progress) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
133
+ protocol-info) COMPREPLY=( $(compgen -W '--help --json --path --version' -- "$cur") );;
134
+ reconcile-closure) COMPREPLY=( $(compgen -W '-- --details --help --id --json --path --requirement --task --version' -- "$cur") );;
135
+ reconcile-continuity) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
136
+ record-check) COMPREPLY=( $(compgen -W '--command --details --evidence-kind --execution-ref --exit-code --help --id --json --kind --path --provenance --requirement --result --status --task --version' -- "$cur") );;
137
+ record-continuity) COMPREPLY=( $(compgen -W '--changed-area --focus-id --focus-summary --help --inspect-first --json --known-issue --path --remaining --resume-note --task --version' -- "$cur") );;
138
+ record-decision-criterion) COMPREPLY=( $(compgen -W '--decision --help --json --path --settled-by --task --version' -- "$cur") );;
139
+ record-diagnosis) COMPREPLY=( $(compgen -W '--evidence-ref --failure-class --file --help --hypothesis --json --next-safe-action --path --settled-by --task --version' -- "$cur") );;
140
+ record-hypothesis-disposition) COMPREPLY=( $(compgen -W '--evidence-ref --help --hypothesis --json --path --reason --status --task --version' -- "$cur") );;
141
+ record-intervention) COMPREPLY=( $(compgen -W '--file --help --json --path --task --version' -- "$cur") );;
142
+ record-terminal-result) COMPREPLY=( $(compgen -W '--details --help --json --path --requirement --result --source --status --task --type --version' -- "$cur") );;
143
+ reflect) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
144
+ report) COMPREPLY=( $(compgen -W '--help --json --path --strict --task --version' -- "$cur") );;
145
+ responsibility-set) COMPREPLY=( $(compgen -W '--allowed-path --freeze-claims --freeze-contract --freeze-route --help --json --label --path --read-only-path --required-check --task --version' -- "$cur") );;
146
+ responsibility-status) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
147
+ route) COMPREPLY=( $(compgen -W '--behavior-change --executable-change --help --json --path --platform --risk --surface --task --version --work' -- "$cur") );;
148
+ rule-verify) COMPREPLY=( $(compgen -W '--help --json --path --rule --version' -- "$cur") );;
149
+ run-action) COMPREPLY=( $(compgen -W '-- --action --approval --capability --effect-class --help --idempotency-key --json --path --required-for-completion --requirement --target --task --timeout-ms --version' -- "$cur") );;
150
+ run-check) COMPREPLY=( $(compgen -W '-- --details --help --id --json --path --requirement --scope-ref --task --timeout-ms --version' -- "$cur") );;
151
+ status) COMPREPLY=( $(compgen -W '--contract-file --help --json --path --task --version' -- "$cur") );;
152
+ task-create) COMPREPLY=( $(compgen -W '--claim --contract-file --help --json --path --task --version' -- "$cur") );;
153
+ task-list) COMPREPLY=( $(compgen -W '--help --json --path --version' -- "$cur") );;
154
+ task-lock-status) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
155
+ task-migrate) COMPREPLY=( $(compgen -W '--dry-run --help --json --path --version' -- "$cur") );;
156
+ task-recover) COMPREPLY=( $(compgen -W '--acknowledge-recovery --help --json --operator-authorized --path --task --version' -- "$cur") );;
157
+ task-repair-legacy-recovery) COMPREPLY=( $(compgen -W '--acknowledge-recovery --help --json --path --task --version' -- "$cur") );;
158
+ task-resume) COMPREPLY=( $(compgen -W '--claim --help --json --path --task --version' -- "$cur") );;
159
+ task-scope) COMPREPLY=( $(compgen -W '--claim --help --json --path --task --version' -- "$cur") );;
160
+ task-show) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
161
+ task-unlock) COMPREPLY=( $(compgen -W '--force --help --json --path --stale-only --task --version' -- "$cur") );;
162
+ trace) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
163
+ update) COMPREPLY=( $(compgen -W '--dry-run --help --path --version' -- "$cur") );;
164
+ validate-protocol) COMPREPLY=( $(compgen -W '--continuity-file --contract-file --delegated-result-file --help --json --path --receipt-file --route-file --state-file --task --task-brief-file --version' -- "$cur") );;
165
+ validate-receipt) COMPREPLY=( $(compgen -W '--file --help --json --path --task --version' -- "$cur") );;
166
+ validate-state) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
167
+ verify-scope) COMPREPLY=( $(compgen -W '--help --json --mode --path --task --version' -- "$cur") );;
168
+ workspace-bind) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
169
+ workspace-status) COMPREPLY=( $(compgen -W '--help --json --path --task --version' -- "$cur") );;
170
+ *) COMPREPLY=( $(compgen -W '--help --version --path' -- "$cur") ) ;;
171
+ esac
172
+ }
173
+ complete -F _forgeloop forgeloop