@enterpriseai/cli 3.19.0 → 3.19.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.
Files changed (362) hide show
  1. package/package.json +1 -1
  2. package/resources/gofer/.gofer-version +4 -357
  3. package/resources/gofer/agents-skills/eai/SKILL.md +365 -0
  4. package/resources/gofer/agents-skills/eai-update/SKILL.md +56 -0
  5. package/resources/gofer/agents-skills/gofer-documentation/SKILL.md +93 -0
  6. package/resources/gofer/bash-scripts/create-new-feature.sh +3 -1
  7. package/resources/gofer/bash-scripts/sync-implementation-status.sh +4 -3
  8. package/resources/gofer/bash-scripts/update-agent-context.sh +7 -8
  9. package/resources/gofer/bash-scripts/validate-artifact.sh +10 -6
  10. package/resources/gofer/bash-scripts/verify-object-type-routing-workspace.sh +184 -0
  11. package/resources/gofer/claude-commands/eai-update.md +46 -0
  12. package/resources/gofer/claude-commands/eai.md +355 -0
  13. package/resources/gofer/claude-skills/eai/SKILL.md +365 -0
  14. package/resources/gofer/claude-skills/eai-update/SKILL.md +56 -0
  15. package/resources/gofer/claude-skills/gofer-documentation/SKILL.md +93 -0
  16. package/resources/gofer/commands/0_gofer_start.md +440 -99
  17. package/resources/gofer/commands/0a_problem_validation.md +187 -27
  18. package/resources/gofer/commands/10_gofer_cloud.md +183 -23
  19. package/resources/gofer/commands/1_gofer_research.md +239 -30
  20. package/resources/gofer/commands/2_gofer_specify.md +239 -35
  21. package/resources/gofer/commands/3_gofer_plan.md +259 -43
  22. package/resources/gofer/commands/4_gofer_tasks.md +401 -81
  23. package/resources/gofer/commands/5_gofer_implement.md +375 -84
  24. package/resources/gofer/commands/6_gofer_validate.md +284 -53
  25. package/resources/gofer/commands/7_gofer_save.md +187 -26
  26. package/resources/gofer/commands/7a_stakeholder_comms.md +183 -23
  27. package/resources/gofer/commands/8_gofer_branding.md +183 -23
  28. package/resources/gofer/commands/9_gofer_tests.md +212 -23
  29. package/resources/gofer/commands/gofer_bootstrap_workspace.md +121 -8
  30. package/resources/gofer/commands/gofer_check_workspace.md +123 -8
  31. package/resources/gofer/commands/gofer_constitution.md +183 -23
  32. package/resources/gofer/commands/gofer_diagnose.md +183 -23
  33. package/resources/gofer/commands/gofer_eai_first_run.md +254 -25
  34. package/resources/gofer/commands/gofer_hydrate.md +183 -23
  35. package/resources/gofer/commands/gofer_personality.md +117 -6
  36. package/resources/gofer/commands/gofer_plan.md +117 -6
  37. package/resources/gofer/commands/gofer_side.md +117 -6
  38. package/resources/gofer/commands/gofer_spec_summary.md +183 -23
  39. package/resources/gofer/commands/gofer_tdd.md +183 -23
  40. package/resources/gofer/commands/gofer_vocabulary.md +185 -25
  41. package/resources/gofer/commands/gofer_zoom_out.md +183 -23
  42. package/resources/gofer/config/typesafe-learning-review.json +16 -0
  43. package/resources/gofer/config/typesafe-semantic-review.json +9 -0
  44. package/resources/gofer/copilot-instructions/gofer-cost.instructions.md +15 -6
  45. package/resources/gofer/copilot-instructions/typescript.instructions.md +1 -1
  46. package/resources/gofer/copilot-prompts/eai-update.prompt.md +58 -0
  47. package/resources/gofer/copilot-prompts/eai.prompt.md +367 -0
  48. package/resources/gofer/gemini/commands/gofer/eai-update.md +22 -0
  49. package/resources/gofer/gemini/commands/gofer/eai-update.toml +2 -0
  50. package/resources/gofer/gemini/commands/gofer/eai.md +357 -0
  51. package/resources/gofer/gemini/commands/gofer/eai.toml +2 -0
  52. package/resources/gofer/gemini/commands/gofer/manifest.json +3 -27
  53. package/resources/gofer/gemini/extension.json +4 -4
  54. package/resources/gofer/github-agents/eai.agent.md +83 -0
  55. package/resources/gofer/github-agents/gofer-business.agent.md +73 -4
  56. package/resources/gofer/github-agents/gofer-implement.agent.md +71 -2
  57. package/resources/gofer/github-agents/gofer-plan.agent.md +72 -2
  58. package/resources/gofer/github-agents/gofer-research.agent.md +72 -2
  59. package/resources/gofer/github-agents/gofer-validate.agent.md +72 -2
  60. package/resources/gofer/github-skills/eai/SKILL.md +365 -0
  61. package/resources/gofer/github-skills/eai-update/SKILL.md +56 -0
  62. package/resources/gofer/github-skills/gofer-documentation/SKILL.md +93 -0
  63. package/resources/gofer/grok-skills/eai/SKILL.md +267 -14
  64. package/resources/gofer/grok-skills/eai-update/SKILL.md +56 -0
  65. package/resources/gofer/hook-scripts/user-prompt-submit.mjs +58 -13
  66. package/resources/gofer/instruction-templates/base/agents-base.md +8 -4
  67. package/resources/gofer/instruction-templates/gofer/gofer-claude.md +7 -5
  68. package/resources/gofer/instruction-templates/gofer/gofer-copilot.md +10 -8
  69. package/resources/gofer/memory/constitution.md +9 -7
  70. package/resources/gofer/memory/gofer-model-policy.yaml +23 -1
  71. package/resources/gofer/memory/lessons.md +0 -31
  72. package/resources/gofer/node-scripts/canonical-descriptions.mjs +1 -1
  73. package/resources/gofer/node-scripts/check-version-alignment.mjs +4 -7
  74. package/resources/gofer/node-scripts/delivery-lineage-corpus.mjs +156 -0
  75. package/resources/gofer/node-scripts/generate-commands.mjs +1073 -265
  76. package/resources/gofer/node-scripts/gofer-acceptance-check.mjs +143 -0
  77. package/resources/gofer/node-scripts/gofer-agent-catalog.mjs +271 -0
  78. package/resources/gofer/node-scripts/gofer-benchmark-executor.mjs +123 -0
  79. package/resources/gofer/node-scripts/gofer-benchmark-sign.mjs +62 -0
  80. package/resources/gofer/node-scripts/gofer-benchmark-signer.mjs +89 -0
  81. package/resources/gofer/node-scripts/gofer-benchmark.mjs +76 -0
  82. package/resources/gofer/node-scripts/gofer-blocker-control.mjs +274 -0
  83. package/resources/gofer/node-scripts/gofer-claude-adapter.mjs +154 -0
  84. package/resources/gofer/node-scripts/gofer-closed-loop-audit.mjs +19 -2
  85. package/resources/gofer/node-scripts/gofer-delivery-check.mjs +121 -0
  86. package/resources/gofer/node-scripts/gofer-encrypted-key.mjs +58 -0
  87. package/resources/gofer/node-scripts/gofer-execution-metrics.mjs +477 -0
  88. package/resources/gofer/node-scripts/gofer-execution-recovery.mjs +334 -0
  89. package/resources/gofer/node-scripts/gofer-grok-adapter.mjs +184 -0
  90. package/resources/gofer/node-scripts/gofer-heldout-corpus.mjs +73 -0
  91. package/resources/gofer/node-scripts/gofer-heldout-snapshot.mjs +286 -0
  92. package/resources/gofer/node-scripts/gofer-heldout-verifier.mjs +211 -0
  93. package/resources/gofer/node-scripts/gofer-host-capability.mjs +335 -0
  94. package/resources/gofer/node-scripts/gofer-independent-reviewer.mjs +130 -0
  95. package/resources/gofer/node-scripts/gofer-live-routing.mjs +109 -0
  96. package/resources/gofer/node-scripts/gofer-local-capability-issuer.mjs +71 -0
  97. package/resources/gofer/node-scripts/gofer-local-isolation.mjs +175 -0
  98. package/resources/gofer/node-scripts/gofer-local-settings-cleanup.mjs +388 -0
  99. package/resources/gofer/node-scripts/gofer-loop-audit.mjs +54 -3
  100. package/resources/gofer/node-scripts/gofer-native-adapter.mjs +567 -0
  101. package/resources/gofer/node-scripts/gofer-native-benchmark-dispatch.mjs +145 -0
  102. package/resources/gofer/node-scripts/gofer-native-runtime.mjs +169 -0
  103. package/resources/gofer/node-scripts/gofer-pre-edit-check.mjs +204 -0
  104. package/resources/gofer/node-scripts/gofer-priority-check.mjs +214 -0
  105. package/resources/gofer/node-scripts/gofer-response-check.mjs +56 -0
  106. package/resources/gofer/node-scripts/gofer-reviewed-learning.mjs +1232 -0
  107. package/resources/gofer/node-scripts/gofer-run-verified-task.mjs +330 -0
  108. package/resources/gofer/node-scripts/gofer-runtime-ledger.mjs +289 -0
  109. package/resources/gofer/node-scripts/gofer-semantic-drift.mjs +584 -0
  110. package/resources/gofer/node-scripts/gofer-surface-update.mjs +1178 -0
  111. package/resources/gofer/node-scripts/gofer-trust-bootstrap.mjs +77 -0
  112. package/resources/gofer/node-scripts/gofer-trusted-benchmark.mjs +102 -0
  113. package/resources/gofer/node-scripts/gofer-trusted-evaluator.mjs +274 -0
  114. package/resources/gofer/node-scripts/gofer-tty-prompt.mjs +34 -0
  115. package/resources/gofer/node-scripts/gofer-typesafe-credentials.mjs +435 -0
  116. package/resources/gofer/node-scripts/gofer-ui-preview.mjs +1212 -0
  117. package/resources/gofer/node-scripts/gofer-verified-execution.mjs +484 -0
  118. package/resources/gofer/node-scripts/gofer-verifier-key-ceremony.mjs +101 -0
  119. package/resources/gofer/node-scripts/gofer-worktree-layout.mjs +32 -0
  120. package/resources/gofer/node-scripts/object-type-routing-phase-bundle.mjs +360 -0
  121. package/resources/gofer/node-scripts/package-agent-plugin.mjs +574 -82
  122. package/resources/gofer/node-scripts/parse-stage-command.mjs +1 -1
  123. package/resources/gofer/node-scripts/render-delivery-lineage.mjs +178 -0
  124. package/resources/gofer/node-scripts/sync-extension-resources.mjs +78 -2
  125. package/resources/gofer/node-scripts/validate-object-type-identifiers.mjs +767 -0
  126. package/resources/gofer/node-scripts/validate-object-type-routing-workspace.mjs +1325 -0
  127. package/resources/gofer/node-scripts/validate-v4-resource-contract.d.mts +44 -0
  128. package/resources/gofer/node-scripts/validate-v4-resource-contract.mjs +957 -0
  129. package/resources/gofer/node-scripts/workspace-bootstrap-lib.mjs +685 -116
  130. package/resources/gofer/references/agent-catalog.json +126 -0
  131. package/resources/gofer/references/blocker-mediation.md +156 -0
  132. package/resources/gofer/references/business-updates-and-goal-checks.md +109 -0
  133. package/resources/gofer/references/delivery-lineage.md +48 -0
  134. package/resources/gofer/references/mvp-capability-validation.md +102 -0
  135. package/resources/gofer/references/platform/README.md +1 -1
  136. package/resources/gofer/references/platform/eai-app-template.md +15 -13
  137. package/resources/gofer/references/platform/eai-auth-access.md +104 -0
  138. package/resources/gofer/references/platform/eai-config-driven-ui.md +5 -5
  139. package/resources/gofer/references/platform/eai-error-catalog.yaml +77 -19
  140. package/resources/gofer/references/platform/eai-repo-contract.md +61 -23
  141. package/resources/gofer/references/platform/eai-service-patterns.md +102 -105
  142. package/resources/gofer/references/platform/eai.md +44 -8
  143. package/resources/gofer/references/platform/vertical-template.md +10 -9
  144. package/resources/gofer/references/priority-outcome-protection.md +152 -0
  145. package/resources/gofer/references/verified-agent-execution.md +179 -0
  146. package/resources/gofer/schemas/gofer-learning-trace-v1.json +70 -0
  147. package/resources/gofer/specify-commands/0_gofer_start.md +440 -99
  148. package/resources/gofer/specify-commands/0a_problem_validation.md +187 -27
  149. package/resources/gofer/specify-commands/10_gofer_cloud.md +183 -23
  150. package/resources/gofer/specify-commands/1_gofer_research.md +239 -30
  151. package/resources/gofer/specify-commands/2_gofer_specify.md +239 -35
  152. package/resources/gofer/specify-commands/3_gofer_plan.md +259 -43
  153. package/resources/gofer/specify-commands/4_gofer_tasks.md +401 -81
  154. package/resources/gofer/specify-commands/5_gofer_implement.md +375 -84
  155. package/resources/gofer/specify-commands/6_gofer_validate.md +284 -53
  156. package/resources/gofer/specify-commands/7_gofer_save.md +187 -26
  157. package/resources/gofer/specify-commands/7a_stakeholder_comms.md +183 -23
  158. package/resources/gofer/specify-commands/8_gofer_branding.md +183 -23
  159. package/resources/gofer/specify-commands/9_gofer_tests.md +212 -23
  160. package/resources/gofer/specify-commands/gofer_bootstrap_workspace.md +121 -8
  161. package/resources/gofer/specify-commands/gofer_check_workspace.md +123 -8
  162. package/resources/gofer/specify-commands/gofer_constitution.md +183 -23
  163. package/resources/gofer/specify-commands/gofer_diagnose.md +183 -23
  164. package/resources/gofer/specify-commands/gofer_eai_first_run.md +254 -25
  165. package/resources/gofer/specify-commands/gofer_hydrate.md +183 -23
  166. package/resources/gofer/specify-commands/gofer_personality.md +117 -6
  167. package/resources/gofer/specify-commands/gofer_plan.md +117 -6
  168. package/resources/gofer/specify-commands/gofer_side.md +117 -6
  169. package/resources/gofer/specify-commands/gofer_spec_summary.md +183 -23
  170. package/resources/gofer/specify-commands/gofer_tdd.md +183 -23
  171. package/resources/gofer/specify-commands/gofer_vocabulary.md +185 -25
  172. package/resources/gofer/specify-commands/gofer_zoom_out.md +183 -23
  173. package/resources/gofer/specify-config/object-type-routing.json +24 -0
  174. package/resources/gofer/specify-config/typesafe-learning-review.json +16 -0
  175. package/resources/gofer/specify-config/typesafe-semantic-review.json +9 -0
  176. package/resources/gofer/system-skills/eai/SKILL.md +365 -0
  177. package/resources/gofer/system-skills/eai-update/SKILL.md +56 -0
  178. package/resources/gofer/system-skills/gofer-documentation/SKILL.md +93 -0
  179. package/resources/gofer/templates/build-map-template.md +64 -0
  180. package/resources/gofer/templates/business-scenarios-template.json +14 -0
  181. package/resources/gofer/templates/ciso-security-summary-template.md +3 -3
  182. package/resources/gofer/templates/context-bundle-template.md +4 -3
  183. package/resources/gofer/templates/contract-pack-template.md +8 -8
  184. package/resources/gofer/templates/cto-architecture-summary-template.md +3 -3
  185. package/resources/gofer/templates/delivery-lineage-template.json +8 -0
  186. package/resources/gofer/templates/eai-preflight-template.md +109 -68
  187. package/resources/gofer/templates/goal-ledger-template.json +1 -1
  188. package/resources/gofer/templates/gofer-model-policy.yaml +28 -6
  189. package/resources/gofer/templates/loop-contract-template.json +3 -1
  190. package/resources/gofer/templates/plan-template.md +8 -7
  191. package/resources/gofer/templates/priority-plan-template.json +29 -0
  192. package/resources/gofer/templates/proposal-review-template.md +6 -3
  193. package/resources/gofer/templates/release-capability-ledger-template.md +24 -0
  194. package/resources/gofer/templates/research-template.md +7 -6
  195. package/resources/gofer/templates/spec-summary-template.md +1 -1
  196. package/resources/gofer/templates/spec-template.md +45 -6
  197. package/resources/gofer/templates/tasks-template.md +12 -3
  198. package/resources/gofer/templates/ui-preview-brief-template.md +55 -5
  199. package/resources/gofer/templates/ui-review-log-template.md +21 -3
  200. package/resources/gofer/templates/ui-show-and-tell-template.md +46 -0
  201. package/resources/gofer/templates/visuals/capability-heatmap-template.md +2 -2
  202. package/resources/gofer/templates/working-backwards-prfaq-template.md +9 -8
  203. package/resources/linked-sources.json +2 -2
  204. package/resources/gofer/agents-skills/0_gofer_start/SKILL.md +0 -1287
  205. package/resources/gofer/agents-skills/0a_problem_validation/SKILL.md +0 -429
  206. package/resources/gofer/agents-skills/10_gofer_cloud/SKILL.md +0 -635
  207. package/resources/gofer/agents-skills/1_gofer_research/SKILL.md +0 -1159
  208. package/resources/gofer/agents-skills/2_gofer_specify/SKILL.md +0 -860
  209. package/resources/gofer/agents-skills/3_gofer_plan/SKILL.md +0 -899
  210. package/resources/gofer/agents-skills/4_gofer_tasks/SKILL.md +0 -760
  211. package/resources/gofer/agents-skills/5_gofer_implement/SKILL.md +0 -944
  212. package/resources/gofer/agents-skills/6_gofer_validate/SKILL.md +0 -2302
  213. package/resources/gofer/agents-skills/7_gofer_save/SKILL.md +0 -423
  214. package/resources/gofer/agents-skills/7a_stakeholder_comms/SKILL.md +0 -508
  215. package/resources/gofer/agents-skills/8_gofer_branding/SKILL.md +0 -315
  216. package/resources/gofer/agents-skills/9_gofer_tests/SKILL.md +0 -558
  217. package/resources/gofer/agents-skills/gofer_bootstrap_workspace/SKILL.md +0 -148
  218. package/resources/gofer/agents-skills/gofer_check_workspace/SKILL.md +0 -119
  219. package/resources/gofer/agents-skills/gofer_constitution/SKILL.md +0 -612
  220. package/resources/gofer/agents-skills/gofer_diagnose/SKILL.md +0 -114
  221. package/resources/gofer/agents-skills/gofer_eai_first_run/SKILL.md +0 -397
  222. package/resources/gofer/agents-skills/gofer_hydrate/SKILL.md +0 -561
  223. package/resources/gofer/agents-skills/gofer_personality/SKILL.md +0 -44
  224. package/resources/gofer/agents-skills/gofer_plan/SKILL.md +0 -40
  225. package/resources/gofer/agents-skills/gofer_side/SKILL.md +0 -45
  226. package/resources/gofer/agents-skills/gofer_spec_summary/SKILL.md +0 -112
  227. package/resources/gofer/agents-skills/gofer_tdd/SKILL.md +0 -112
  228. package/resources/gofer/agents-skills/gofer_vocabulary/SKILL.md +0 -112
  229. package/resources/gofer/agents-skills/gofer_zoom_out/SKILL.md +0 -112
  230. package/resources/gofer/claude-commands/0_gofer_start.md +0 -1282
  231. package/resources/gofer/claude-commands/0a_problem_validation.md +0 -424
  232. package/resources/gofer/claude-commands/10_gofer_cloud.md +0 -630
  233. package/resources/gofer/claude-commands/1_gofer_research.md +0 -1154
  234. package/resources/gofer/claude-commands/2_gofer_specify.md +0 -855
  235. package/resources/gofer/claude-commands/3_gofer_plan.md +0 -894
  236. package/resources/gofer/claude-commands/4_gofer_tasks.md +0 -755
  237. package/resources/gofer/claude-commands/5_gofer_implement.md +0 -939
  238. package/resources/gofer/claude-commands/6_gofer_validate.md +0 -2297
  239. package/resources/gofer/claude-commands/7_gofer_save.md +0 -418
  240. package/resources/gofer/claude-commands/7a_stakeholder_comms.md +0 -503
  241. package/resources/gofer/claude-commands/8_gofer_branding.md +0 -310
  242. package/resources/gofer/claude-commands/9_gofer_tests.md +0 -553
  243. package/resources/gofer/claude-commands/gofer_bootstrap_workspace.md +0 -143
  244. package/resources/gofer/claude-commands/gofer_check_workspace.md +0 -114
  245. package/resources/gofer/claude-commands/gofer_constitution.md +0 -607
  246. package/resources/gofer/claude-commands/gofer_diagnose.md +0 -109
  247. package/resources/gofer/claude-commands/gofer_eai_first_run.md +0 -392
  248. package/resources/gofer/claude-commands/gofer_hydrate.md +0 -556
  249. package/resources/gofer/claude-commands/gofer_personality.md +0 -39
  250. package/resources/gofer/claude-commands/gofer_plan.md +0 -35
  251. package/resources/gofer/claude-commands/gofer_side.md +0 -40
  252. package/resources/gofer/claude-commands/gofer_spec_summary.md +0 -107
  253. package/resources/gofer/claude-commands/gofer_tdd.md +0 -107
  254. package/resources/gofer/claude-commands/gofer_vocabulary.md +0 -107
  255. package/resources/gofer/claude-commands/gofer_zoom_out.md +0 -107
  256. package/resources/gofer/claude-skills/eai-gofer/SKILL.md +0 -56
  257. package/resources/gofer/copilot-prompts/0_gofer_start.prompt.md +0 -1308
  258. package/resources/gofer/copilot-prompts/0a_problem_validation.prompt.md +0 -429
  259. package/resources/gofer/copilot-prompts/10_gofer_cloud.prompt.md +0 -644
  260. package/resources/gofer/copilot-prompts/1_gofer_research.prompt.md +0 -1177
  261. package/resources/gofer/copilot-prompts/2_gofer_specify.prompt.md +0 -878
  262. package/resources/gofer/copilot-prompts/3_gofer_plan.prompt.md +0 -917
  263. package/resources/gofer/copilot-prompts/4_gofer_tasks.prompt.md +0 -778
  264. package/resources/gofer/copilot-prompts/5_gofer_implement.prompt.md +0 -962
  265. package/resources/gofer/copilot-prompts/6_gofer_validate.prompt.md +0 -2310
  266. package/resources/gofer/copilot-prompts/7_gofer_save.prompt.md +0 -433
  267. package/resources/gofer/copilot-prompts/7a_stakeholder_comms.prompt.md +0 -516
  268. package/resources/gofer/copilot-prompts/8_gofer_branding.prompt.md +0 -323
  269. package/resources/gofer/copilot-prompts/9_gofer_tests.prompt.md +0 -566
  270. package/resources/gofer/copilot-prompts/gofer_bootstrap_workspace.prompt.md +0 -161
  271. package/resources/gofer/copilot-prompts/gofer_check_workspace.prompt.md +0 -132
  272. package/resources/gofer/copilot-prompts/gofer_constitution.prompt.md +0 -621
  273. package/resources/gofer/copilot-prompts/gofer_diagnose.prompt.md +0 -127
  274. package/resources/gofer/copilot-prompts/gofer_eai_first_run.prompt.md +0 -410
  275. package/resources/gofer/copilot-prompts/gofer_hydrate.prompt.md +0 -571
  276. package/resources/gofer/copilot-prompts/gofer_personality.prompt.md +0 -57
  277. package/resources/gofer/copilot-prompts/gofer_plan.prompt.md +0 -53
  278. package/resources/gofer/copilot-prompts/gofer_side.prompt.md +0 -58
  279. package/resources/gofer/copilot-prompts/gofer_spec_summary.prompt.md +0 -125
  280. package/resources/gofer/copilot-prompts/gofer_tdd.prompt.md +0 -125
  281. package/resources/gofer/copilot-prompts/gofer_vocabulary.prompt.md +0 -125
  282. package/resources/gofer/copilot-prompts/gofer_zoom_out.prompt.md +0 -125
  283. package/resources/gofer/gemini/commands/gofer/0_gofer_start.md +0 -1282
  284. package/resources/gofer/gemini/commands/gofer/0_gofer_start.toml +0 -2
  285. package/resources/gofer/gemini/commands/gofer/0a_problem_validation.md +0 -424
  286. package/resources/gofer/gemini/commands/gofer/0a_problem_validation.toml +0 -2
  287. package/resources/gofer/gemini/commands/gofer/10_gofer_cloud.md +0 -630
  288. package/resources/gofer/gemini/commands/gofer/10_gofer_cloud.toml +0 -2
  289. package/resources/gofer/gemini/commands/gofer/1_gofer_research.md +0 -1154
  290. package/resources/gofer/gemini/commands/gofer/1_gofer_research.toml +0 -2
  291. package/resources/gofer/gemini/commands/gofer/2_gofer_specify.md +0 -855
  292. package/resources/gofer/gemini/commands/gofer/2_gofer_specify.toml +0 -2
  293. package/resources/gofer/gemini/commands/gofer/3_gofer_plan.md +0 -894
  294. package/resources/gofer/gemini/commands/gofer/3_gofer_plan.toml +0 -2
  295. package/resources/gofer/gemini/commands/gofer/4_gofer_tasks.md +0 -755
  296. package/resources/gofer/gemini/commands/gofer/4_gofer_tasks.toml +0 -2
  297. package/resources/gofer/gemini/commands/gofer/5_gofer_implement.md +0 -939
  298. package/resources/gofer/gemini/commands/gofer/5_gofer_implement.toml +0 -2
  299. package/resources/gofer/gemini/commands/gofer/6_gofer_validate.md +0 -2297
  300. package/resources/gofer/gemini/commands/gofer/6_gofer_validate.toml +0 -2
  301. package/resources/gofer/gemini/commands/gofer/7_gofer_save.md +0 -418
  302. package/resources/gofer/gemini/commands/gofer/7_gofer_save.toml +0 -2
  303. package/resources/gofer/gemini/commands/gofer/7a_stakeholder_comms.md +0 -503
  304. package/resources/gofer/gemini/commands/gofer/7a_stakeholder_comms.toml +0 -2
  305. package/resources/gofer/gemini/commands/gofer/8_gofer_branding.md +0 -310
  306. package/resources/gofer/gemini/commands/gofer/8_gofer_branding.toml +0 -2
  307. package/resources/gofer/gemini/commands/gofer/9_gofer_tests.md +0 -553
  308. package/resources/gofer/gemini/commands/gofer/9_gofer_tests.toml +0 -2
  309. package/resources/gofer/gemini/commands/gofer/gofer_bootstrap_workspace.md +0 -143
  310. package/resources/gofer/gemini/commands/gofer/gofer_bootstrap_workspace.toml +0 -2
  311. package/resources/gofer/gemini/commands/gofer/gofer_check_workspace.md +0 -114
  312. package/resources/gofer/gemini/commands/gofer/gofer_check_workspace.toml +0 -2
  313. package/resources/gofer/gemini/commands/gofer/gofer_constitution.md +0 -607
  314. package/resources/gofer/gemini/commands/gofer/gofer_constitution.toml +0 -2
  315. package/resources/gofer/gemini/commands/gofer/gofer_diagnose.md +0 -109
  316. package/resources/gofer/gemini/commands/gofer/gofer_diagnose.toml +0 -2
  317. package/resources/gofer/gemini/commands/gofer/gofer_eai_first_run.md +0 -392
  318. package/resources/gofer/gemini/commands/gofer/gofer_eai_first_run.toml +0 -2
  319. package/resources/gofer/gemini/commands/gofer/gofer_hydrate.md +0 -556
  320. package/resources/gofer/gemini/commands/gofer/gofer_hydrate.toml +0 -2
  321. package/resources/gofer/gemini/commands/gofer/gofer_personality.md +0 -39
  322. package/resources/gofer/gemini/commands/gofer/gofer_personality.toml +0 -2
  323. package/resources/gofer/gemini/commands/gofer/gofer_plan.md +0 -35
  324. package/resources/gofer/gemini/commands/gofer/gofer_plan.toml +0 -2
  325. package/resources/gofer/gemini/commands/gofer/gofer_side.md +0 -40
  326. package/resources/gofer/gemini/commands/gofer/gofer_side.toml +0 -2
  327. package/resources/gofer/gemini/commands/gofer/gofer_spec_summary.md +0 -107
  328. package/resources/gofer/gemini/commands/gofer/gofer_spec_summary.toml +0 -2
  329. package/resources/gofer/gemini/commands/gofer/gofer_tdd.md +0 -107
  330. package/resources/gofer/gemini/commands/gofer/gofer_tdd.toml +0 -2
  331. package/resources/gofer/gemini/commands/gofer/gofer_vocabulary.md +0 -107
  332. package/resources/gofer/gemini/commands/gofer/gofer_vocabulary.toml +0 -2
  333. package/resources/gofer/gemini/commands/gofer/gofer_zoom_out.md +0 -107
  334. package/resources/gofer/gemini/commands/gofer/gofer_zoom_out.toml +0 -2
  335. package/resources/gofer/github-skills/eai-gofer/SKILL.md +0 -56
  336. package/resources/gofer/system-skills/0_gofer_start/SKILL.md +0 -1287
  337. package/resources/gofer/system-skills/0a_problem_validation/SKILL.md +0 -429
  338. package/resources/gofer/system-skills/10_gofer_cloud/SKILL.md +0 -635
  339. package/resources/gofer/system-skills/1_gofer_research/SKILL.md +0 -1159
  340. package/resources/gofer/system-skills/2_gofer_specify/SKILL.md +0 -860
  341. package/resources/gofer/system-skills/3_gofer_plan/SKILL.md +0 -899
  342. package/resources/gofer/system-skills/4_gofer_tasks/SKILL.md +0 -760
  343. package/resources/gofer/system-skills/5_gofer_implement/SKILL.md +0 -944
  344. package/resources/gofer/system-skills/6_gofer_validate/SKILL.md +0 -2302
  345. package/resources/gofer/system-skills/7_gofer_save/SKILL.md +0 -423
  346. package/resources/gofer/system-skills/7a_stakeholder_comms/SKILL.md +0 -508
  347. package/resources/gofer/system-skills/8_gofer_branding/SKILL.md +0 -315
  348. package/resources/gofer/system-skills/9_gofer_tests/SKILL.md +0 -558
  349. package/resources/gofer/system-skills/gofer_bootstrap_workspace/SKILL.md +0 -148
  350. package/resources/gofer/system-skills/gofer_check_workspace/SKILL.md +0 -119
  351. package/resources/gofer/system-skills/gofer_constitution/SKILL.md +0 -612
  352. package/resources/gofer/system-skills/gofer_diagnose/SKILL.md +0 -114
  353. package/resources/gofer/system-skills/gofer_eai_first_run/SKILL.md +0 -397
  354. package/resources/gofer/system-skills/gofer_hydrate/SKILL.md +0 -561
  355. package/resources/gofer/system-skills/gofer_personality/SKILL.md +0 -44
  356. package/resources/gofer/system-skills/gofer_plan/SKILL.md +0 -40
  357. package/resources/gofer/system-skills/gofer_side/SKILL.md +0 -45
  358. package/resources/gofer/system-skills/gofer_spec_summary/SKILL.md +0 -112
  359. package/resources/gofer/system-skills/gofer_tdd/SKILL.md +0 -112
  360. package/resources/gofer/system-skills/gofer_vocabulary/SKILL.md +0 -112
  361. package/resources/gofer/system-skills/gofer_zoom_out/SKILL.md +0 -112
  362. package/resources/gofer/templates/ui-approval-template.md +0 -32
@@ -1,392 +0,0 @@
1
- ## Token And Cost Policy
2
- <!-- gofer:token-cost-policy:start -->
3
-
4
- Before spawning agents, calling tools, or loading large files:
5
-
6
- 1. Treat `.specify/memory/gofer-model-policy.yaml` as the repo-owned source of truth for simple, medium, hard, and arbiter model routing. If it is missing, run `/gofer:bootstrap-workspace` before continuing.
7
- 2. Use the cheapest capable model first.
8
- - Claude: Haiku for scouting/extraction; Sonnet for normal implementation, synthesis, validation, and security; Opus for high-risk arbitration or release-critical failures.
9
- - Codex/OpenAI: GPT mini for simple coding; GPT nano only for locate/classify/summarize/mechanical work; GPT-5.3-Codex or flagship GPT for tool-heavy coding, architecture, and release-critical validation.
10
- - Gemini: Flash-Lite for cheap large-context scan/summarize; Flash for default research synthesis; Pro for large-context architecture or high-risk arbitration.
11
- - Copilot: prefer Auto for simple and default work; ask the user before choosing a paid/high-tier picker model for hard security, architecture, or release gates.
12
- 3. Keep raw tool output out of the main conversation context. Save stable findings to `.specify/specs/{feature}/context-bundle.md`, then work from summaries.
13
- 4. Use provider prompt/context caching only for stable, non-secret prefixes: Gofer scaffold, AGENTS/CLAUDE/Copilot instructions, constitution, repo map, stage contracts, and validation rubric.
14
- 5. Before continuing after large research, planning, implementation, or validation bursts, checkpoint the durable artifacts and compact/clear/resume context when the host supports it.
15
- 6. Escalate model tier only when a cheaper pass is low-confidence, contradictory, security-sensitive, or blocking release quality.
16
- <!-- gofer:token-cost-policy:end -->
17
-
18
-
19
- # EAI Gofer First Run
20
-
21
- Use this command when the user is starting their first EAI Platform app, when
22
- `/0_gofer_start` is unavailable in a new repository, or when an EAI app
23
- build reaches the Gofer pipeline before the local machine, workspace, or
24
- EAI app template is ready.
25
-
26
- This command is intentionally allowed to run before `.specify/` exists.
27
-
28
- ## Non-Negotiables
29
-
30
- - Ask before every install, admin action, browser login, destructive file
31
- change, or remote workspace/app change.
32
- - Never print, store, or commit tokens, secrets, full `.env.local` values,
33
- private workspace payloads, or private platform topology.
34
- - Prefer existing tools over reinstalling. Keep working Git, Node.js, npm, and
35
- EAI CLI installations.
36
- - Do not scaffold over a non-empty repo silently.
37
- - Use the EAI Platform app template first, Azure second, and non-EAI stacks only
38
- by explicit exception.
39
- - In GitHub Codespaces, avoid `sudo` or host-level package installs unless the
40
- user explicitly approves. Prefer the prebuilt devcontainer and user-level npm.
41
-
42
- ## Step 1: Identify Host, OS, Shell, And Workspace
43
-
44
- Detect and report:
45
-
46
- - Host: Claude Code, Codex, GitHub Copilot, Gemini, VS Code, GitHub Codespaces,
47
- or unknown.
48
- - OS: macOS, Linux, Windows, or Codespaces Linux.
49
- - Shell: bash/zsh, PowerShell, cmd, or unknown.
50
- - Workspace root: current folder, opened editor workspace, Codespace checkout,
51
- or a folder the user wants to create.
52
-
53
- If no suitable folder is open, ask the user where the project should live. If
54
- the host can create the folder, ask approval and create it. If not, give exact
55
- click/command instructions and continue after the folder is open.
56
-
57
- ## Step 2: Check Developer Prerequisites
58
-
59
- Run only safe read/check commands first:
60
-
61
- | Tool | POSIX check | PowerShell check |
62
- | ------- | --------------------------------- | ---------------------------------------- |
63
- | Git | `git --version` | `git --version` |
64
- | Node.js | `node --version` | `node --version` |
65
- | npm | `npm --version` | `npm --version` |
66
- | EAI CLI | `eai --version` | `eai --version` |
67
- | Registry | `npm config get @enterpriseai:registry` | `npm config get @enterpriseai:registry` |
68
-
69
- If Git, Node.js, or npm is missing, ask before installing. Use the least
70
- surprising platform path:
71
-
72
- | Platform | Preferred install path |
73
- | ------------------- | --------------------------------------------------------------------------------------- |
74
- | macOS | Use Homebrew if already installed; otherwise use the official Git/Node installer path. |
75
- | Linux | Prefer existing devcontainer tools; otherwise detect `apt`, `dnf`, `yum`, or `zypper`. |
76
- | Windows | Prefer `winget`; fall back to the official Git for Windows and Node.js installers. |
77
- | GitHub Codespaces | Prefer preinstalled tools and user-level npm; avoid host-level package installs. |
78
-
79
- For Windows, use PowerShell-safe syntax. Do not emit POSIX-only shell redirection
80
- or assume Git Bash exists unless it was detected.
81
-
82
- ## Step 3: Install Or Update EAI CLI
83
-
84
- If `eai` is missing, or if the user asks to update it, ask for approval and run:
85
-
86
- ```bash
87
- npm install -g eai-cli
88
- # If npmjs is unavailable:
89
- npm install -g @enterpriseai/cli --@enterpriseai:registry=https://eai-support.github.io/eai/registry/
90
- eai --version
91
- ```
92
-
93
- Use the same commands in PowerShell. Do not edit `.npmrc` by shell redirection.
94
-
95
- Use the static fallback command only when npmjs is unavailable. If `npm config get @enterpriseai:registry` already equals
96
- `https://eai-support.github.io/eai/registry/`, do not rewrite it. If it points
97
- somewhere else, show the current value and ask before changing it.
98
-
99
- If `eai` is already installed, run:
100
-
101
- ```bash
102
- eai update --check
103
- ```
104
-
105
- If an update is available, explain the currently installed version versus the
106
- latest available version and ask before running `eai update`.
107
-
108
- If install fails, stop EAI app delivery and give the user the exact failed
109
- command, the public setup link, and the account requirement. Continue only if
110
- the user explicitly chooses a non-EAI path.
111
-
112
- ## Step 4: Discover EAI CLI Capabilities
113
-
114
- Run:
115
-
116
- ```bash
117
- eai --describe
118
- ```
119
-
120
- If advertised, also run:
121
-
122
- ```bash
123
- eai agent guide --format json
124
- ```
125
-
126
- Prefer commands and options advertised by the installed CLI over remembered
127
- syntax. Use JSON only where the CLI advertises it. Record a safe summary in the
128
- first-run report.
129
-
130
- When any later `eai` command fails, use the CLI's error guidance before
131
- inventing a workaround:
132
-
133
- ```bash
134
- eai errors explain <code-or-reason> --format json
135
- ```
136
-
137
- If `eai errors explain` is unavailable, use the installed Gofer fallback catalog
138
- at `.specify/references/platform/eai-error-catalog.yaml` once the repo exists,
139
- or report that live EAI guidance is unavailable and stop before mutating
140
- workspace/app state. Always run read-only diagnostics before mutating fixes.
141
-
142
- For workspace member/admin operations, if `eai user invite` fails with
143
- `EXTERNAL_SERVICE_ERROR`, a 5xx response, or
144
- `user_invite_external_service_existing_member`, check for an existing direct
145
- member with:
146
-
147
- ```bash
148
- eai user list --workspace <workspace-id> --search <email> --format json
149
- ```
150
-
151
- Use role repair only after the existing member ID is verified and the user
152
- approves the role change:
153
-
154
- ```bash
155
- eai user role set --workspace <workspace-id> --member-id <member-id> --role tenant-admin --format json
156
- ```
157
-
158
- Then verify the read-back and tell the affected app user to sign out and sign
159
- back in because Auth.js session or JWT role data may be cached.
160
-
161
- Specifically note whether the installed CLI advertises the commands needed for:
162
-
163
- - app scaffolding via `eai init`
164
- - workspace selection via `eai workspace select`
165
- - app enrollment via `eai app`
166
- - resource schema discovery via `eai resources schema`
167
- - workflow readiness via `eai workflow readiness`
168
- - Entra app registration and redirect URI provisioning via `eai provision entra`
169
- - project drift checks via `eai template check`
170
- - Gofer drift checks via `eai gofer refresh --check`
171
- - UI block discovery via `eai blocks`
172
- - AI-agent guidance via `eai agent guide`
173
- - error recovery guidance via `eai errors explain`
174
-
175
- ## Step 5: Login, Workspace, And Account Readiness
176
-
177
- Run:
178
-
179
- ```bash
180
- eai whoami
181
- eai workspace list --format json
182
- ```
183
-
184
- If not logged in or the token is expired, ask before running:
185
-
186
- ```bash
187
- eai login
188
- ```
189
-
190
- After login, list workspaces again. If more than one workspace is available, help the
191
- user choose the correct one and run the advertised equivalent of:
192
-
193
- ```bash
194
- eai workspace select <workspace-slug-or-id>
195
- ```
196
-
197
- Require at least one usable workspace membership before EAI app delivery. Prefer a
198
- workspace admin or operator access for app enrollment and provisioning. The platform role ID `tenant-admin` grants workspace admin access. If no workspace is available, tell the user they need an EAI
199
- Platform account and workspace access before Gofer can build an app.
200
-
201
- ## Step 6: Confirm Project Folder And Name
202
-
203
- Before `eai init`, ask whether the current folder/workspace is the right place.
204
- If the user wants a new sibling or child folder, create it only after approval.
205
-
206
- Ask for the project display name. If the user gives a plain-language name,
207
- propose a lowercase kebab-case CLI name and confirm it before continuing.
208
-
209
- Collect or confirm:
210
-
211
- - App display name
212
- - Lowercase kebab-case app/project name
213
- - One-sentence business description
214
- - Active workspace
215
- - Whether starter defaults should be kept
216
-
217
- ## Step 7: Initialize The EAI App Template
218
-
219
- Detect existing template markers before scaffolding:
220
-
221
- - `src/eai.config/object-types.ts`
222
- - `src/eai.config/register.ts`
223
- - `.env.example`
224
- - `.npmrc`
225
- - `package.json`
226
-
227
- If the repo already looks like an EAI app, run `eai verify` and continue with
228
- the existing project. If the installed CLI advertises them, also run:
229
-
230
- ```bash
231
- eai template check --format json
232
- eai gofer refresh --check --format json
233
- ```
234
-
235
- If `eai verify`, `eai template check`, or `eai doctor --check-updates`
236
- returns `E001` or reports "Not in an EAI project", treat the repo as not yet
237
- initialized from the EAI app template and explain that clearly.
238
-
239
- If this is an empty or approved target folder, ask for final confirmation and
240
- run the advertised equivalent of:
241
-
242
- ```bash
243
- eai init <project-name> --skip-prompts --company-workspace <active-workspace-id>
244
- ```
245
-
246
- If the CLI requires additional safe answers, gather them first. If the repo is
247
- non-empty and not an EAI app, ask whether to initialize a new sibling EAI app
248
- directory or stop.
249
-
250
- ## Step 8: Recover Known Entra Redirect Mismatches
251
-
252
- If the user provides a browser sign-in error, auth callback log, or deployment
253
- log containing `AADSTS50011`, "reply URL specified in the request does not
254
- match", "redirect URI", `redirect_uri`, or
255
- `/api/auth/callback/microsoft-entra-id`, treat it as an EAI identity
256
- provisioning recovery before giving manual Azure Portal instructions.
257
-
258
- Do this sequence:
259
-
260
- ```bash
261
- eai whoami
262
- eai workspace list --format json
263
- ```
264
-
265
- If the active workspace is missing or wrong, help the user choose the right workspace
266
- and run the advertised equivalent of:
267
-
268
- ```bash
269
- eai workspace select <workspace-slug-or-id>
270
- ```
271
-
272
- Use the failing browser log to confirm the callback route in the active session,
273
- for example:
274
-
275
- ```text
276
- https://<host>/api/auth/callback/microsoft-entra-id
277
- ```
278
-
279
- Record only the redacted route pattern and recovery status in Gofer artifacts.
280
- Keep the full callback URI in the terminal/session or user-approved local notes
281
- only.
282
-
283
- Ask before changing workspace-scoped identity configuration, then run the
284
- advertised equivalent of:
285
-
286
- ```bash
287
- eai provision entra --force --redirect-uri <confirmed-callback-uri>
288
- ```
289
-
290
- Use `--debug` only when the user explicitly approves it, and redact private
291
- hostnames, workspace IDs, Entra/CIAM authority tenant IDs, client IDs, tokens, and raw debug output before writing
292
- any report.
293
-
294
- After the command succeeds, retry the sign-in flow and confirm the authorize
295
- request uses the same registered `redirect_uri`. If the mismatch persists,
296
- check whether `AUTH_ENTRA_CLIENT_ID` or `ENTRA_CLIENT_ID` points to a different
297
- app registration than the one EAI provisioned. Never record client secrets,
298
- tokens, or `.env.local` values in the first-run report.
299
-
300
- ## Step 9: Confirm Gofer Scaffold And Workspace Commands
301
-
302
- After `eai init`, verify Gofer files exist:
303
-
304
- - `.specify/.gofer-version`
305
- - `.specify/commands/0_gofer_start.md`
306
- - `.specify/templates/spec-template.md`
307
- - `.specify/scripts/node/gofer-workspace-check.mjs`
308
- - `.specify/memory/gofer-model-policy.yaml`
309
- - `AGENTS.md` or the host-specific instruction file
310
-
311
- If the Gofer scaffold is missing or stale, run `/gofer:bootstrap-workspace`
312
- using the current host policy, then rerun:
313
-
314
- ```bash
315
- node .specify/scripts/node/gofer-workspace-check.mjs --host auto --json
316
- ```
317
-
318
- If the current host cannot run slash commands yet, use the installed plugin
319
- bundle or downloaded public bundle as the bootstrap source described by
320
- `/gofer:bootstrap-workspace`.
321
-
322
- ## Step 9: Open Or Attach The Created Project
323
-
324
- Make sure the active host is working in the initialized EAI app folder:
325
-
326
- - VS Code: open the folder in the current or a new VS Code window when `code`
327
- is available; otherwise give exact UI steps.
328
- - Codex: show the absolute folder path and ask the user to open that folder as
329
- the active Codex workspace if the host cannot switch automatically.
330
- - Claude Code: show the absolute folder path and ask the user to attach/open it
331
- if the host cannot switch automatically.
332
- - Gemini/Copilot in VS Code: ensure the VS Code workspace is the initialized app
333
- folder before starting Gofer.
334
- - GitHub Codespaces: keep the current Codespace workspace unless the project was
335
- created in a subfolder; then `cd` into it and report the path.
336
-
337
- ## Step 10: Write The First-Run Report
338
-
339
- Write only to `.specify/logs/eai-first-run-report.md`. If `.specify/` does not
340
- exist yet, create the report after `eai init` or after Gofer bootstrap.
341
-
342
- If the target file already exists, replace it and prepend a regeneration note
343
- such as `<!-- regenerated at [ISO timestamp] -->`.
344
-
345
- Include the minimum provenance schema:
346
-
347
- - `GeneratedAt`
348
- - `SourceCommandId`
349
- - `SourceInputs`
350
- - `OverwriteNoticeWhenApplicable`
351
-
352
- The generated first-run report must contain these sections:
353
-
354
- - `## Provenance`
355
- - `## Workspace Root`
356
- - `## Environment Check`
357
- - `## EAI CLI`
358
- - `## Workspace And Login`
359
- - `## Template Readiness`
360
- - `## Drift And Recovery`
361
- - `## Next Action`
362
-
363
- Each section should include:
364
-
365
- - Host, OS, shell, workspace root, and prerequisite tool versions
366
- - Git, Node.js, npm, and EAI CLI versions
367
- - EAI registry status
368
- - EAI CLI release status from `eai update --check`
369
- - EAI CLI capability source (`eai --describe` timestamp)
370
- - EAI capability inventory for init, workspace, app, resources, workflow,
371
- template, Gofer-refresh, and blocks commands
372
- - Login status without tokens
373
- - Workspace readiness without private payloads
374
- - Template readiness
375
- - Template/Gofer drift status, the next recovery command, and any `E001`
376
- explanation
377
- - Gofer scaffold readiness and project path
378
- - Next action
379
-
380
- ## Step 11: Start The Pipeline
381
-
382
- When the app folder, EAI CLI, login, workspace, EAI template, and Gofer scaffold are
383
- ready, tell the user to start:
384
-
385
- ```text
386
- /0_gofer_start <what you want to build>
387
- ```
388
-
389
- If `/0_gofer_start` is still unknown after the plugin is installed and the
390
- repo is bootstrapped, explain that the host has not loaded the Gofer plugin or
391
- repo commands yet. Give the host-specific install/update command from the Gofer
392
- README, then retry this command after the host reloads.