agentplugged 0.0.0-stage → 1.0.0

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 (284) hide show
  1. package/LICENSE +110 -0
  2. package/LICENSE-METHOD +21 -0
  3. package/README.md +250 -2
  4. package/dist/agent-commands.js +46532 -0
  5. package/dist/bin.js +13 -0
  6. package/dist/cli.js +44 -0
  7. package/dist/esm.js +920 -0
  8. package/dist/forge-follow.js +231 -0
  9. package/dist/helpers.js +18526 -0
  10. package/dist/helpers2.js +1 -0
  11. package/dist/launcher-env.js +13 -0
  12. package/dist/launcher.js +308 -0
  13. package/dist/libsodium-wrappers.js +4384 -0
  14. package/dist/libsodium-wrappers2.js +4384 -0
  15. package/dist/main.js +17732 -0
  16. package/dist/method/LICENSE +21 -0
  17. package/dist/method/agents/alex/SKILL.md +87 -0
  18. package/dist/method/agents/alex/agent.yaml +94 -0
  19. package/dist/method/agents/chloe/SKILL.md +97 -0
  20. package/dist/method/agents/chloe/agent.yaml +87 -0
  21. package/dist/method/agents/ethan/SKILL.md +55 -0
  22. package/dist/method/agents/ethan/agent.yaml +94 -0
  23. package/dist/method/agents/hugo/SKILL.md +52 -0
  24. package/dist/method/agents/hugo/agent.yaml +93 -0
  25. package/dist/method/agents/iris/SKILL.md +69 -0
  26. package/dist/method/agents/iris/agent.yaml +86 -0
  27. package/dist/method/agents/izzy/SKILL.md +137 -0
  28. package/dist/method/agents/izzy/agent.yaml +104 -0
  29. package/dist/method/agents/jade/SKILL.md +54 -0
  30. package/dist/method/agents/jade/agent.yaml +94 -0
  31. package/dist/method/agents/julien/SKILL.md +96 -0
  32. package/dist/method/agents/julien/agent.yaml +95 -0
  33. package/dist/method/agents/lina/SKILL.md +54 -0
  34. package/dist/method/agents/lina/agent.yaml +94 -0
  35. package/dist/method/agents/lou/SKILL.md +67 -0
  36. package/dist/method/agents/lou/agent.yaml +84 -0
  37. package/dist/method/agents/maya/SKILL.md +82 -0
  38. package/dist/method/agents/maya/agent.yaml +98 -0
  39. package/dist/method/agents/milo/SKILL.md +79 -0
  40. package/dist/method/agents/milo/agent.yaml +80 -0
  41. package/dist/method/agents/noah/SKILL.md +80 -0
  42. package/dist/method/agents/noah/agent.yaml +73 -0
  43. package/dist/method/agents/noah/references/conduct.md +98 -0
  44. package/dist/method/agents/noah/references/decisions.md +122 -0
  45. package/dist/method/agents/noah/references/environment.md +72 -0
  46. package/dist/method/agents/noah/references/facts.md +13 -0
  47. package/dist/method/agents/noah/references/journey.md +80 -0
  48. package/dist/method/agents/noah/references/team.md +195 -0
  49. package/dist/method/agents/omar/SKILL.md +92 -0
  50. package/dist/method/agents/omar/agent.yaml +86 -0
  51. package/dist/method/agents/quentin/SKILL.md +78 -0
  52. package/dist/method/agents/quentin/agent.yaml +82 -0
  53. package/dist/method/agents/sam/SKILL.md +54 -0
  54. package/dist/method/agents/sam/agent.yaml +94 -0
  55. package/dist/method/agents/stella/SKILL.md +80 -0
  56. package/dist/method/agents/stella/agent.yaml +89 -0
  57. package/dist/method/agents/tess/SKILL.md +64 -0
  58. package/dist/method/agents/tess/agent.yaml +94 -0
  59. package/dist/method/agents/zoe/SKILL.md +85 -0
  60. package/dist/method/agents/zoe/agent.yaml +91 -0
  61. package/dist/method/doctor.yaml +1029 -0
  62. package/dist/method/models.yaml +73 -0
  63. package/dist/method/skills/.gitkeep +0 -0
  64. package/dist/method/skills/acceptance-qa/SKILL.md +40 -0
  65. package/dist/method/skills/acceptance-qa/references/run.md +54 -0
  66. package/dist/method/skills/acceptance-qa/references/scenarios.md +32 -0
  67. package/dist/method/skills/acceptance-qa/references/verdicts.md +43 -0
  68. package/dist/method/skills/api-e2e-tests/SKILL.md +61 -0
  69. package/dist/method/skills/api-e2e-tests/references/ci.md +33 -0
  70. package/dist/method/skills/api-e2e-tests/references/frameworks.md +58 -0
  71. package/dist/method/skills/api-e2e-tests/references/generate.md +67 -0
  72. package/dist/method/skills/audit-pillars/SKILL.md +28 -0
  73. package/dist/method/skills/audit-pillars/references/accessibility.md +13 -0
  74. package/dist/method/skills/audit-pillars/references/architecture.md +13 -0
  75. package/dist/method/skills/audit-pillars/references/dependencies.md +13 -0
  76. package/dist/method/skills/audit-pillars/references/format.md +20 -0
  77. package/dist/method/skills/audit-pillars/references/interface.md +13 -0
  78. package/dist/method/skills/audit-pillars/references/method.md +33 -0
  79. package/dist/method/skills/audit-pillars/references/performance.md +17 -0
  80. package/dist/method/skills/audit-pillars/references/quality.md +11 -0
  81. package/dist/method/skills/audit-pillars/references/security.md +13 -0
  82. package/dist/method/skills/audit-pillars/references/tests.md +17 -0
  83. package/dist/method/skills/chain-stories/SKILL.md +30 -0
  84. package/dist/method/skills/chain-stories/references/attempts.md +19 -0
  85. package/dist/method/skills/chain-stories/references/stops.md +27 -0
  86. package/dist/method/skills/check-readiness/SKILL.md +34 -0
  87. package/dist/method/skills/check-readiness/references/judge.md +21 -0
  88. package/dist/method/skills/check-readiness/references/settle.md +17 -0
  89. package/dist/method/skills/check-requirements/SKILL.md +97 -0
  90. package/dist/method/skills/check-requirements/references/engine-proofs.md +43 -0
  91. package/dist/method/skills/check-requirements/references/proofs-and-gaps.md +45 -0
  92. package/dist/method/skills/correct-course/SKILL.md +15 -0
  93. package/dist/method/skills/correct-course/references/gestures.md +20 -0
  94. package/dist/method/skills/correct-course/references/starts.md +18 -0
  95. package/dist/method/skills/correct-course/references/steps.md +14 -0
  96. package/dist/method/skills/critique-deliverable/SKILL.md +25 -0
  97. package/dist/method/skills/critique-deliverable/references/assumption-audit.md +11 -0
  98. package/dist/method/skills/critique-deliverable/references/choose.md +27 -0
  99. package/dist/method/skills/critique-deliverable/references/compare-existing.md +13 -0
  100. package/dist/method/skills/critique-deliverable/references/devils-advocate.md +13 -0
  101. package/dist/method/skills/critique-deliverable/references/divergence.md +15 -0
  102. package/dist/method/skills/critique-deliverable/references/domain-expert.md +14 -0
  103. package/dist/method/skills/critique-deliverable/references/extreme-user.md +13 -0
  104. package/dist/method/skills/critique-deliverable/references/failure-modes.md +13 -0
  105. package/dist/method/skills/critique-deliverable/references/first-principles.md +12 -0
  106. package/dist/method/skills/critique-deliverable/references/format.md +25 -0
  107. package/dist/method/skills/critique-deliverable/references/gestures.md +24 -0
  108. package/dist/method/skills/critique-deliverable/references/inversion.md +13 -0
  109. package/dist/method/skills/critique-deliverable/references/judgment.md +14 -0
  110. package/dist/method/skills/critique-deliverable/references/pre-mortem.md +12 -0
  111. package/dist/method/skills/critique-deliverable/references/reconcile.md +15 -0
  112. package/dist/method/skills/critique-deliverable/references/red-team.md +12 -0
  113. package/dist/method/skills/critique-deliverable/references/reframe.md +12 -0
  114. package/dist/method/skills/critique-deliverable/references/second-order.md +12 -0
  115. package/dist/method/skills/critique-deliverable/references/socratic.md +15 -0
  116. package/dist/method/skills/critique-deliverable/references/steelman.md +13 -0
  117. package/dist/method/skills/critique-deliverable/references/subtraction.md +12 -0
  118. package/dist/method/skills/deep-research/SKILL.md +43 -0
  119. package/dist/method/skills/deep-research/assets/page-template.md +37 -0
  120. package/dist/method/skills/deep-research/references/candidates.md +29 -0
  121. package/dist/method/skills/deep-research/references/external.md +37 -0
  122. package/dist/method/skills/deep-research/references/page-format.md +51 -0
  123. package/dist/method/skills/deep-research/references/types.md +31 -0
  124. package/dist/method/skills/develop-story/SKILL.md +211 -0
  125. package/dist/method/skills/develop-story/evals/cases.yaml +45 -0
  126. package/dist/method/skills/develop-story/references/acceptance-tests.md +73 -0
  127. package/dist/method/skills/develop-story/references/self-check.md +46 -0
  128. package/dist/method/skills/diagnose-bug/SKILL.md +73 -0
  129. package/dist/method/skills/diagnose-bug/references/hypotheses.md +45 -0
  130. package/dist/method/skills/diagnose-bug/references/probes.md +40 -0
  131. package/dist/method/skills/generate-knowledge-base/SKILL.md +251 -0
  132. package/dist/method/skills/generate-knowledge-base/assets/guide-template.md +49 -0
  133. package/dist/method/skills/generate-knowledge-base/assets/index-template.md +58 -0
  134. package/dist/method/skills/generate-knowledge-base/assets/page-template.md +61 -0
  135. package/dist/method/skills/generate-knowledge-base/assets/release-notes-template.md +38 -0
  136. package/dist/method/skills/generate-knowledge-base/references/kb-checklist.md +49 -0
  137. package/dist/method/skills/generate-knowledge-base/references/living-docs.md +81 -0
  138. package/dist/method/skills/generate-knowledge-base/references/repository-scan.md +48 -0
  139. package/dist/method/skills/generate-knowledge-base/references/reuse-map.md +21 -0
  140. package/dist/method/skills/ideation/SKILL.md +44 -0
  141. package/dist/method/skills/ideation/assets/session-template.md +46 -0
  142. package/dist/method/skills/ideation/references/choose.md +21 -0
  143. package/dist/method/skills/ideation/references/close.md +17 -0
  144. package/dist/method/skills/ideation/references/converge.md +24 -0
  145. package/dist/method/skills/ideation/references/gestures.md +15 -0
  146. package/dist/method/skills/ideation/references/stances.md +21 -0
  147. package/dist/method/skills/ideation/references/techniques-borrowed.md +8 -0
  148. package/dist/method/skills/ideation/references/techniques-deep.md +12 -0
  149. package/dist/method/skills/ideation/references/techniques-frames.md +12 -0
  150. package/dist/method/skills/ideation/references/techniques-futures.md +8 -0
  151. package/dist/method/skills/ideation/references/techniques-limits.md +9 -0
  152. package/dist/method/skills/ideation/references/techniques-people.md +7 -0
  153. package/dist/method/skills/ideation/references/techniques-sparks.md +10 -0
  154. package/dist/method/skills/ideation/references/techniques-together.md +11 -0
  155. package/dist/method/skills/improve-code/SKILL.md +74 -0
  156. package/dist/method/skills/improve-code/references/axes.md +45 -0
  157. package/dist/method/skills/improve-session/SKILL.md +47 -0
  158. package/dist/method/skills/order-merges/SKILL.md +71 -0
  159. package/dist/method/skills/pitch/SKILL.md +40 -0
  160. package/dist/method/skills/pitch/assets/deck-template.md +31 -0
  161. package/dist/method/skills/pitch/assets/design-template.md +45 -0
  162. package/dist/method/skills/pitch/assets/narrative-template.md +40 -0
  163. package/dist/method/skills/pitch/references/deck-types.md +17 -0
  164. package/dist/method/skills/pitch/references/deck.md +24 -0
  165. package/dist/method/skills/pitch/references/design-implementation.md +25 -0
  166. package/dist/method/skills/pitch/references/design-methods.md +45 -0
  167. package/dist/method/skills/pitch/references/design-thinking.md +28 -0
  168. package/dist/method/skills/pitch/references/story-frameworks.md +39 -0
  169. package/dist/method/skills/pitch/references/story.md +22 -0
  170. package/dist/method/skills/plan-sprint/SKILL.md +162 -0
  171. package/dist/method/skills/quick-lane/SKILL.md +143 -0
  172. package/dist/method/skills/resolve-merge-conflict/SKILL.md +83 -0
  173. package/dist/method/skills/review-story/SKILL.md +96 -0
  174. package/dist/method/skills/review-story/evals/cases.yaml +59 -0
  175. package/dist/method/skills/review-story/references/amend-story.md +16 -0
  176. package/dist/method/skills/review-story/references/export.md +20 -0
  177. package/dist/method/skills/review-story/references/format.md +33 -0
  178. package/dist/method/skills/review-story/references/free-review.md +22 -0
  179. package/dist/method/skills/review-story/references/judge.md +44 -0
  180. package/dist/method/skills/review-story/references/lens-adversarial.md +15 -0
  181. package/dist/method/skills/review-story/references/lens-edge-cases.md +24 -0
  182. package/dist/method/skills/review-story/references/lens-prose.md +11 -0
  183. package/dist/method/skills/review-story/references/lens-relevance.md +13 -0
  184. package/dist/method/skills/review-story/references/lens-security.md +10 -0
  185. package/dist/method/skills/review-story/references/lens-structure.md +16 -0
  186. package/dist/method/skills/review-story/references/lens-verification-gaps.md +13 -0
  187. package/dist/method/skills/review-story/references/pass-assertions.md +17 -0
  188. package/dist/method/skills/review-story/references/pass-removals.md +13 -0
  189. package/dist/method/skills/review-tests/SKILL.md +32 -0
  190. package/dist/method/skills/review-tests/references/check.md +25 -0
  191. package/dist/method/skills/review-tests/references/grid.md +27 -0
  192. package/dist/method/skills/round-table/SKILL.md +31 -0
  193. package/dist/method/skills/round-table/evals/cases.yaml +27 -0
  194. package/dist/method/skills/round-table/references/cast.md +14 -0
  195. package/dist/method/skills/round-table/references/gestures.md +24 -0
  196. package/dist/method/skills/round-table/references/guests.md +17 -0
  197. package/dist/method/skills/round-table/references/independence.md +21 -0
  198. package/dist/method/skills/round-table/references/rooms.md +29 -0
  199. package/dist/method/skills/round-table/references/three-views.md +17 -0
  200. package/dist/method/skills/round-table/references/turns.md +19 -0
  201. package/dist/method/skills/run-retrospective/SKILL.md +201 -0
  202. package/dist/method/skills/security-review-architecture/SKILL.md +129 -0
  203. package/dist/method/skills/security-review-architecture/assets/architecture-review-template.md +47 -0
  204. package/dist/method/skills/security-review-architecture/references/spec-review.md +48 -0
  205. package/dist/method/skills/setup-ci/SKILL.md +121 -0
  206. package/dist/method/skills/setup-ci/assets/github-actions.yml +52 -0
  207. package/dist/method/skills/setup-ci/assets/gitlab-ci.yml +34 -0
  208. package/dist/method/skills/split-into-stories/SKILL.md +205 -0
  209. package/dist/method/skills/split-into-stories/assets/epic.md.tmpl +31 -0
  210. package/dist/method/skills/split-into-stories/assets/story.md.tmpl +36 -0
  211. package/dist/method/skills/strategy/SKILL.md +44 -0
  212. package/dist/method/skills/strategy/assets/innovation-template.md +60 -0
  213. package/dist/method/skills/strategy/assets/problem-template.md +54 -0
  214. package/dist/method/skills/strategy/references/costs.md +28 -0
  215. package/dist/method/skills/strategy/references/gestures.md +24 -0
  216. package/dist/method/skills/strategy/references/innovate-frameworks.md +48 -0
  217. package/dist/method/skills/strategy/references/innovate.md +40 -0
  218. package/dist/method/skills/strategy/references/solve-methods.md +45 -0
  219. package/dist/method/skills/strategy/references/solve.md +35 -0
  220. package/dist/method/skills/test-idea/SKILL.md +29 -0
  221. package/dist/method/skills/test-idea/assets/forge-template.md +27 -0
  222. package/dist/method/skills/test-idea/assets/prfaq-template.md +33 -0
  223. package/dist/method/skills/test-idea/references/bets.md +14 -0
  224. package/dist/method/skills/test-idea/references/concept.md +24 -0
  225. package/dist/method/skills/test-idea/references/faq.md +34 -0
  226. package/dist/method/skills/test-idea/references/forge.md +36 -0
  227. package/dist/method/skills/test-idea/references/personas.md +23 -0
  228. package/dist/method/skills/test-idea/references/prfaq.md +33 -0
  229. package/dist/method/skills/test-idea/references/verdict.md +26 -0
  230. package/dist/method/skills/workshop/SKILL.md +40 -0
  231. package/dist/method/skills/workshop/references/analyze.md +36 -0
  232. package/dist/method/skills/workshop/references/create.md +45 -0
  233. package/dist/method/skills/workshop/references/customize.md +45 -0
  234. package/dist/method/skills/workshop/references/evaluate.md +44 -0
  235. package/dist/method/skills/workshop/references/rules.md +35 -0
  236. package/dist/method/skills/write-architecture/SKILL.md +233 -0
  237. package/dist/method/skills/write-architecture/assets/architecture-template.md +110 -0
  238. package/dist/method/skills/write-architecture/references/guard.md +40 -0
  239. package/dist/method/skills/write-architecture/references/self-check.md +47 -0
  240. package/dist/method/skills/write-brand/SKILL.md +36 -0
  241. package/dist/method/skills/write-brand/assets/brand-template.md +59 -0
  242. package/dist/method/skills/write-brand/assets/identity-page.html +141 -0
  243. package/dist/method/skills/write-brand/assets/identity-template.md +132 -0
  244. package/dist/method/skills/write-brand/references/identity.md +38 -0
  245. package/dist/method/skills/write-brand/references/platform.md +29 -0
  246. package/dist/method/skills/write-brand/references/rules.md +43 -0
  247. package/dist/method/skills/write-brief/SKILL.md +171 -0
  248. package/dist/method/skills/write-brief/assets/brief-template.md +87 -0
  249. package/dist/method/skills/write-brief/assets/research-note-template.md +43 -0
  250. package/dist/method/skills/write-brief/references/brief-checklist.md +37 -0
  251. package/dist/method/skills/write-content/SKILL.md +233 -0
  252. package/dist/method/skills/write-content/assets/campaign-template.md +94 -0
  253. package/dist/method/skills/write-content/assets/content-template.md +76 -0
  254. package/dist/method/skills/write-content/references/content-checklist.md +67 -0
  255. package/dist/method/skills/write-positioning/SKILL.md +218 -0
  256. package/dist/method/skills/write-positioning/assets/page-template.md +85 -0
  257. package/dist/method/skills/write-positioning/assets/positioning-template.md +79 -0
  258. package/dist/method/skills/write-positioning/references/positioning-checklist.md +44 -0
  259. package/dist/method/skills/write-positioning/references/seo-checklist.md +62 -0
  260. package/dist/method/skills/write-prd/SKILL.md +204 -0
  261. package/dist/method/skills/write-prd/assets/prd-template.md +121 -0
  262. package/dist/method/skills/write-prd/evals/cases.yaml +46 -0
  263. package/dist/method/skills/write-prd/references/prd-checklist.md +68 -0
  264. package/dist/method/skills/write-sales/SKILL.md +236 -0
  265. package/dist/method/skills/write-sales/assets/offer-template.md +93 -0
  266. package/dist/method/skills/write-sales/assets/sequence-template.md +110 -0
  267. package/dist/method/skills/write-sales/references/before-you-send.md +54 -0
  268. package/dist/method/skills/write-sales/references/sales-checklist.md +71 -0
  269. package/dist/method/skills/write-spec/SKILL.md +25 -0
  270. package/dist/method/skills/write-spec/assets/spec-template.md +59 -0
  271. package/dist/method/skills/write-spec/references/spec-guide.md +47 -0
  272. package/dist/method/skills/write-ux-spec/SKILL.md +191 -0
  273. package/dist/method/skills/write-ux-spec/assets/mockup-page.html +36 -0
  274. package/dist/method/skills/write-ux-spec/assets/ux-template.md +206 -0
  275. package/dist/method/skills/write-ux-spec/references/accessibility-check.md +74 -0
  276. package/dist/method/skills/write-ux-spec/references/mockups.md +71 -0
  277. package/dist/method/skills/write-ux-spec/references/tokens-and-sketches.md +83 -0
  278. package/dist/method/skills/write-ux-spec/references/ux-checklist.md +74 -0
  279. package/dist/product-root.js +21527 -0
  280. package/dist/rolldown-runtime.js +38 -0
  281. package/dist/webauthn-verify.js +1 -0
  282. package/dist/webauthn-verify2.js +107 -0
  283. package/dist/webauthn.js +9798 -0
  284. package/package.json +68 -3
package/LICENSE ADDED
@@ -0,0 +1,110 @@
1
+ # Functional Source License, Version 1.1, MIT Future License
2
+
3
+ ## Abbreviation
4
+
5
+ FSL-1.1-MIT
6
+
7
+ ## Notice
8
+
9
+ Copyright 2026 Innovel Studio SASU
10
+
11
+ ## Terms and Conditions
12
+
13
+ ### Licensor ("We")
14
+
15
+ The party offering the Software under these Terms and Conditions.
16
+
17
+ ### The Software
18
+
19
+ The "Software" is each version of the software that we make available under
20
+ these Terms and Conditions, as indicated by our inclusion of these Terms and
21
+ Conditions with the Software.
22
+
23
+ ### License Grant
24
+
25
+ Subject to your compliance with this License Grant and the Patents,
26
+ Redistribution and Trademark clauses below, we hereby grant you the right to
27
+ use, copy, modify, create derivative works, publicly perform, publicly display
28
+ and redistribute the Software for any Permitted Purpose identified below.
29
+
30
+ ### Permitted Purpose
31
+
32
+ A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
33
+ means making the Software available to others in a commercial product or
34
+ service that:
35
+
36
+ 1. substitutes for the Software;
37
+
38
+ 2. substitutes for any other product or service we offer using the Software
39
+ that exists as of the date we make the Software available; or
40
+
41
+ 3. offers the same or substantially similar functionality as the Software.
42
+
43
+ Permitted Purposes specifically include using the Software:
44
+
45
+ 1. for your internal use and access;
46
+
47
+ 2. for non-commercial education;
48
+
49
+ 3. for non-commercial research; and
50
+
51
+ 4. in connection with professional services that you provide to a licensee
52
+ using the Software in accordance with these Terms and Conditions.
53
+
54
+ ### Patents
55
+
56
+ To the extent your use for a Permitted Purpose would necessarily infringe our
57
+ patents, the license grant above includes a license under our patents. If you
58
+ make a claim against any party that the Software infringes or contributes to
59
+ the infringement of any patent, then your patent license to the Software ends
60
+ immediately.
61
+
62
+ ### Redistribution
63
+
64
+ The Terms and Conditions apply to all copies, modifications and derivatives of
65
+ the Software.
66
+
67
+ If you redistribute any copies, modifications or derivatives of the Software,
68
+ you must include a copy of or a link to these Terms and Conditions and not
69
+ remove any copyright notices provided in or with the Software.
70
+
71
+ ### Disclaimer
72
+
73
+ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
74
+ IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
75
+ PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
76
+
77
+ IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
78
+ SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
79
+ EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
80
+
81
+ ### Trademarks
82
+
83
+ Except for displaying the License Details and identifying us as the origin of
84
+ the Software, you have no right under these Terms and Conditions to use our
85
+ trademarks, trade names, service marks or product names.
86
+
87
+ ## Grant of Future License
88
+
89
+ We hereby irrevocably grant you an additional license to use the Software under
90
+ the MIT license that is effective on the second anniversary of the date we make
91
+ the Software available. On or after that date, you may use the Software under
92
+ the MIT license, in which case the following will apply:
93
+
94
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
95
+ this software and associated documentation files (the "Software"), to deal in
96
+ the Software without restriction, including without limitation the rights to
97
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
98
+ of the Software, and to permit persons to whom the Software is furnished to do
99
+ so, subject to the following conditions:
100
+
101
+ The above copyright notice and this permission notice shall be included in all
102
+ copies or substantial portions of the Software.
103
+
104
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
105
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
106
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
107
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
108
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
109
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
110
+ SOFTWARE.
package/LICENSE-METHOD ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Innovel Studio SASU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,251 @@
1
- # Temporary Holding Version
1
+ # agentplugged
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Installs the AgentPlugged method in a repository, then makes its agents callable by name from
4
+ Claude Code, Codex, Antigravity CLI / Gemini CLI and Cursor. No account, no server, no native
5
+ module: Node.js 24 or later is all it needs, on Windows, macOS and Linux.
6
+
7
+ ## Quick start
8
+
9
+ ```sh
10
+ npx agentplugged init # install the method in .agentplugged/ and choose the product profile
11
+ npx agentplugged sync # generate the files each AI tool reads (skills, agents, AGENTS.md…)
12
+ ```
13
+
14
+ At a terminal, `init` looks at your machine first (Node, Git, the forge's tool, your AI tools, the
15
+ keychain), offers to repair what is missing (the exact command is shown, run after one key, the point
16
+ read again), asks its few questions in keyboard menus (arrows, space, Enter; Escape goes back; every
17
+ question has a recommended answer, so Enter all the way gives a correct installation), writes the
18
+ files of your AI tools (`sync`) and ends with « Open Claude Code in this folder and write: noah ? ».
19
+ Nothing is installed without you having seen the command, and a point that is not repaired never
20
+ stops the installation. In a script, `init` asks nothing: `--yes` takes the recommended answers (and
21
+ writes the tools' files), `--tools claude-code,cursor`, `--profile`, `--permissions`, `--no-sync` and the
22
+ other options set everything, and the exit code is 1 when a blocking point remains.
23
+
24
+ `init` never overwrites your `AGENTS.md`, `CLAUDE.md` or `GEMINI.md`: it adds a pointer to the
25
+ method once. Run it again to refresh the method; your documents, stories, settings and
26
+ `overrides/` are kept.
27
+
28
+ ## Commands
29
+
30
+ | Command | What it does |
31
+ | --- | --- |
32
+ | `init` | Installs or refreshes the method, detects the AI tools, records the profile. |
33
+ | `doctor [--json] [--report]` | Looks at your machine: Node, Git (installed, a repository, name and e-mail), the forge's tool (installed, even outside the PATH; connected), your AI tools, the keychain, Windows Hello, and what the stack asks for (the `prerequisites` of the architecture: tools with a minimum version, free ports, memory). One line per point (✓ ready, ⚠ to improve, ✗ blocking); for each point it can repair, the exact command, then one key. A sign-in (`gh auth login`) runs in your terminal and browser; AgentPlugged never sees the token. Exit code 1 when a blocking point remains. The checks are data (`method/doctor.yaml`). `--report` prints the report to attach to a request for help (system, versions, result of every check, nothing personal: no account name, personal path, token or product content; the list of what it removes is at its end), and repairs nothing. |
34
+ | `profile` | Changes what the method does for this product (domains, phases, developer specialties and the ceiling of stories at once) and its validation level (`--validation chat\|auto\|strict`). |
35
+ | `sync` | Generates the AI tools' files from the method and your customisations. |
36
+ | `agent create\|edit\|enable\|disable <id>` | Manages your own agents and skills. |
37
+ | `mcp` | Runs the MCP server (stdio only) your agents report their status, progress, costs and results through. `sync` declares it in each AI tool's project configuration, pinned to your engine version. |
38
+ | `review [<G-id>]` | Answers a checkpoint your agents opened, in an interactive terminal only: its card, numbered actions, then your answer signed by your key (`locale`, or `presence` with Windows Hello). It also reopens a checkpoint applied automatically at the `auto` level. It is the way of the `strict` level; at the other levels you answer in the chat. |
39
+ | `key presence [--reset]` | Protects your validations with Windows Hello (Windows only; `init` proposes it). Without it, they keep the `locale` assurance. `--reset` creates the credential again when the stored one no longer works. |
40
+ | `key endorse [<human:…>]` | Lists the creator keys waiting for an endorsement, or endorses one you trust. |
41
+ | `key export [--out <file>]` | Exports the product key, encrypted with a passphrase you type twice (at least 12 characters), to use it on another machine. `--out` writes a new file outside the repository. |
42
+ | `key import [--in <file>]` | Imports the product key exported on another machine, after checking it is this product's and the one its journal announces. Without `--in`, you type the export (it is not shown): it never goes on the command line. |
43
+ | `key seal` | Encrypts the files of `.agentplugged/salle/` and `.agentplugged/memory/` still in clear. |
44
+ | `trust dismiss` | Interactive terminal only. When the journal holds a creator key that is not the root pinned on this machine (`SECURITY_ROOT_CHANGED`: no order is given), names the event, asks one question (default no), then publishes `trust.dismissed`, signed by your key. Nothing to do otherwise. |
45
+ | `history` | Lists your validations, most recent first (`--story`, `--since`, `--decision`; `--all` adds the answers the journal ignored, with their reason). `--export <file.json\|file.csv>` writes them to a file (`--force` replaces an existing one). |
46
+
47
+ ### Answering in the chat: validation levels
48
+
49
+ By default you answer checkpoints in the chat of your AI tool, typed or dictated: the agent
50
+ presents the checkpoint (question, options, recommendation, risk), then records your answer with
51
+ the MCP tool `chat.answer`, quoting your whole message word for word. `validation.mode` in
52
+ `.agentplugged/method.yaml` (read from the main branch, set by `init` or `profile`, never by an
53
+ agent) chooses how:
54
+
55
+ - `chat` (the default): every checkpoint in the chat, with one answer (a word, a letter, a click
56
+ or your own sentence), whatever its risk: never a second message, a sentence to copy or a terminal.
57
+ An action that cannot be undone and acts outside the product (a deployment, a publication, a
58
+ message sent, a payment) is named, with its effect, in the question itself. The journal keeps the
59
+ trace of every answer: who, what, when, the proof and the channel.
60
+ - `auto`: a low-risk `decision` or `document` checkpoint with a recommended option takes it on
61
+ its own (« applied automatically »); you reopen it in the chat or with `review`. The rest goes
62
+ through the chat.
63
+ - `strict`: like `chat`, but a high-risk checkpoint is answered at the terminal only, with
64
+ `review` and your key.
65
+
66
+ In Claude Code, `sync` writes a `UserPromptSubmit` hook of type `command`
67
+ (`.claude/hooks/agentplugged-prompt.mjs`): it records each message you send (normalised text,
68
+ digest, time, session) in `~/.agentplugged/chat/`, outside the repository and the journal, for
69
+ 24 hours. The engine accepts a quote only when it is one of your messages of that session, sent
70
+ after the checkpoint opened, and not already used for another checkpoint; otherwise nothing is
71
+ written (`CHAT_QUOTE_NOT_FOUND`). In the other AI tools, answers are recorded « unverified »
72
+ (`chat_unverified`) and shown so everywhere. The deny rules `sync` writes keep agents from the
73
+ store and the script; they are best-effort: an agent that deliberately works around its
74
+ permission profile is out of reach of this check, and `strict` is there for that.
75
+
76
+ ### Decisions to click
77
+
78
+ When your AI tool can show it, the engine asks a decision in a way you answer with a click, never
79
+ by typing « a » or « yes ». It uses, in this order, the form of the client (the MCP « elicitation »:
80
+ it works in the terminal of Claude Code), then the tool's question tool (`AskUserQuestion`: in the
81
+ VS Code extension of Claude Code, which refuses the form at once, the choices appear in the
82
+ conversation window), then the chat. In Claude Code, `sync` also writes a hook on that question tool
83
+ (`PostToolUse`, `.claude/hooks/agentplugged-decision.mjs`) that records your answer in
84
+ `~/.agentplugged/chat/`, for 24 hours; the engine reads your click from that record and accepts it
85
+ only when the questions are exactly the ones it dictated, for that checkpoint, once. A decision is
86
+ one question and one click, whatever its risk (an action that cannot be undone is named in it); at
87
+ the `strict` level a high risk stays at the terminal. `npx agentplugged history` shows the answer with its channel
88
+ (« choisie dans la fenêtre de questions (claude-code) »). Without the hook (`sync` not run), the
89
+ engine falls back to the chat and says so.
90
+
91
+ ### Your other decisions in the chat
92
+
93
+ The actions only you decide are taken in the chat too: accepting a story without its CI (with
94
+ your reason, recorded in the journal), closing a deferred item you own or dropping one, lifting a
95
+ deviation, changing the profile or the validation
96
+ level (`profile`), creating, setting, enabling or disabling an agent or a skill (`agent
97
+ create|edit|enable|disable`). Say it to your agent (« pass the CI of story 4-3, the runner is
98
+ down »): it asks for the action with the MCP tool `guard.creator_action`, which the engine
99
+ checks as the terminal command would, then opens a `creator_action` checkpoint whose risk the
100
+ engine sets. You answer it like any checkpoint, in the chat; once approved,
101
+ the engine carries the action out itself, in the same write as your answer
102
+ (`creator_action.executed`, with the source and your words), then writes the files and runs
103
+ `sync` for an agent or the profile. One answer is enough, a CI waiver included; at the `strict`
104
+ level only, a high-risk action (a CI waiver, dropping security work, lowering the validation
105
+ level) goes through the terminal. The terminal commands (`story ci --waive`, `deferred`,
106
+ `trace resolve`, `profile`, `agent`) still work.
107
+
108
+ A new agent or skill asked for in the chat arrives complete, never as a template to fill: the
109
+ request carries its whole definition (overview, what it produces, how it works, what it never does,
110
+ principles and menu for an agent; steps, outputs and rules for a skill), the engine rewrites it for
111
+ the agent to show you unchanged, `review` and the AI tool's form show it too (the form only up to
112
+ 4 000 characters; beyond, your agent shows it in the chat), and once you approve, the engine writes
113
+ exactly that text, then runs `sync`. `agent_edit` completes a skeleton the same way and replaces
114
+ the whole body and menu of that agent. `npx agentplugged agent create` still writes a template to
115
+ fill.
116
+
117
+ ### Validation history
118
+
119
+ - `history` only reads the journal: it writes nothing there and never touches the keychain.
120
+ - `--since 2026-10-03` means local midnight; a date and time needs its offset
121
+ (`2026-10-03T12:00:00Z`, `2026-10-03T14:00:00+02:00`).
122
+ - **The JSON export is the exact one** (canonical JSON, English fields, UTC dates); with
123
+ `--all` it is `{ "validations": [...], "ignored": [...] }`. **The CSV export is for
124
+ spreadsheets**: UTF-8 with a byte order mark, and a cell that would start a formula (`=`, `+`,
125
+ `-`, `@`, tab, CR) is prefixed with `'`; its `ignored_reason` column is empty for valid
126
+ validations.
127
+ - The export never replaces a file without `--force`, and never goes into `.agentplugged/` or
128
+ `.git/`; its folder must exist.
129
+
130
+ ### Your validation key
131
+
132
+ - `init` creates your validation key (in the system keychain) on the first install on a machine,
133
+ and now **writes to the journal** (branch `agentplugged/journal`) when the folder is a Git
134
+ repository: the machine's key (`device.registered`), the product (`product.created`) and your
135
+ key (`human.key_registered`).
136
+ - The first creator key registered in a product is its root key. Any later key (another
137
+ machine, another person) is **pending**: its answers are ignored until a trusted creator runs
138
+ `npx agentplugged key endorse <human:…>`. `review` lists the pending keys.
139
+ - `review` and `key` run in an interactive terminal only, and refuse otherwise. `sync` also
140
+ writes deny rules so that agents never launch them (`npx`, `npm exec`, `pnpm dlx`, `pnpx`,
141
+ `bunx`, `yarn dlx`, the installed binary): these rules are **best-effort**. The real guards are
142
+ the interactive terminal and the endorsed creator key that must sign every answer.
143
+ - `AGENTPLUGGED_ENVIRONMENT=none` turns the look at the machine off (`doctor` and the first step of
144
+ `init`), for a script that knows its machine and for the tests. `AGENTPLUGGED_MENUS=off` keeps the
145
+ numbered questions even in a terminal.
146
+ - `AGENTPLUGGED_PRESENCE=none` turns Windows Hello off for the process (tests and CI): nothing
147
+ ever prompts, and validations keep the `locale` assurance.
148
+ - On Windows, Windows Hello goes through the optional dependency `koffi`. Its install script
149
+ (`cnoke --prebuild`) only checks for the prebuilt binary shipped by `@koromix/koffi-<platform>`;
150
+ it never compiles anything. Without `koffi`, validations keep the `locale` assurance.
151
+
152
+ ### The product key: encrypted sensitive content
153
+
154
+ Your repository may be public: costs, security notes, the Salle and the memory must not be
155
+ readable by everyone. They are encrypted with the **product key**.
156
+
157
+ - **What it is:** 32 random bytes, created by the product's first `init` and kept in the system
158
+ keychain (service `agentplugged`, account `product:<product_id>`), **never in the
159
+ repository**, the journal, a log or an agent's output. The journal only announces its public
160
+ identifier (`product.key_created`, `pk:…`) with a proof that only a holder of the key can make
161
+ and check; the first valid announcement is the product's key. The key itself never encrypts
162
+ anything: one subkey per purpose is derived from it (identifier, proof, events, files).
163
+ - **What is encrypted (XChaCha20-Poly1305):** the content of the sensitive events (`cost.reported`,
164
+ and the future `salle.*`, `security.*` and `memory.*`), bound to the rest of each event; and
165
+ every file of `.agentplugged/salle/` and `.agentplugged/memory/`, bound to the product and to
166
+ its path, which agents read and write through the `guard.read_sensitive` and `guard.write_sensitive` tools
167
+ only. A file found there in clear is never served: run `npx agentplugged key seal` to encrypt
168
+ it. Your documents (`docs/`, `epics/`, `stories/`) are never encrypted. Costs reported before
169
+ the key was announced stay readable as they are; a sensitive event in clear after it is
170
+ ignored.
171
+ - **Never in clear on disk:** `.agentplugged/.cache/state.json` (ignored by Git) holds the state
172
+ without the decrypted content; `journal status` and `state.get` decrypt it in memory only.
173
+ - **Saved and shared by the engine itself:** the journal is sent to the remote a few seconds after
174
+ each write and fetched before the state is read, without force, with no command and no setting;
175
+ offline, the engine goes on locally and catches up when the connection returns. A public
176
+ repository never receives it: the engine uses the private repository `agentplugged-journal`
177
+ (Noah offers to create it, one « oui »). Only when the backup is impossible (no remote, access
178
+ refused) does Noah say so, once. On a new machine, opening the product with the AI tool (or
179
+ `init` in the clone) receives the journal; `journal sync` stays the manual gesture.
180
+ - **Another machine:** after a clone, `init` first receives the journal from the remote (or run `npx agentplugged journal sync` yourself); it creates no
181
+ key in a clone that has not received the journal (or when the remote does not answer), and
182
+ none when the journal announces one: it tells you to import it. On a machine that has it, run
183
+ `npx agentplugged key export`: it asks a passphrase twice and prints `apk1:…`, the key
184
+ encrypted by Argon2id and XChaCha20-Poly1305 and bound to this product; `--out <file>` writes
185
+ it instead to a new file outside the repository (never replaced; readable by your account only
186
+ on macOS and Linux; on Windows no access rule is set, the file inherits its folder's). On the
187
+ new machine, run `npx agentplugged key import --in <file>`, or `key import` and type the
188
+ export (it is not shown, and never goes on the command line), then the passphrase. A different
189
+ key held there is replaced only once you type « je confirme », and kept in the keychain under
190
+ `product:<product_id>:previous:<key_id>`. These commands run in an interactive terminal only.
191
+ - **Without the key**, a machine still computes the state of the product: the encrypted events
192
+ are counted and chained, but their content is missing (`journal status` warns that they cannot
193
+ be read here), and any sensitive write is refused (`PRODUCT_KEY_MISSING`).
194
+ - **A lost product key makes the encrypted content unreadable for ever.** Keep an export, and its
195
+ passphrase, somewhere safe.
196
+ - **Known limits:** an older version of an encrypted file, taken from the Git history, still
197
+ decrypts (no protection against going back to an earlier version); the product key cannot be
198
+ rotated yet.
199
+
200
+ `npx agentplugged --help` lists every option; `npx agentplugged --version` prints the version.
201
+ Set `AGENTPLUGGED_LANG=fr` for French messages.
202
+
203
+ ## The MCP server
204
+
205
+ `sync` declares the `agentplugged` MCP server in each targeted tool's project configuration:
206
+ `.mcp.json` (Claude Code), `[mcp_servers.agentplugged]` in `.codex/config.toml` (Codex),
207
+ `.agents/mcp_config.json` (Antigravity CLI), `.cursor/mcp.json` (Cursor), and
208
+ `.gemini/settings.json` (older Gemini CLI installations) only when that file already exists.
209
+ By default the tools start it with `npx -y agentplugged@<engine_version> mcp`.
210
+
211
+ - **Windows:** AI tools cannot start `npx` directly there, so `sync` run on Windows declares
212
+ `cmd /c npx -y agentplugged@<engine_version> mcp`. In a team that mixes Windows with macOS or
213
+ Linux, these files change each time someone on another system runs `sync`.
214
+ - **Your own launch:** while the pinned engine is not on npm (or to work offline), set `mcp` in
215
+ `.agentplugged/method.yaml`; it replaces the declaration in every tool, then run `sync`:
216
+
217
+ ```yaml
218
+ mcp:
219
+ command: node
220
+ args: ["/path/to/agentplugged/apps/cli/dist/bin.js", "mcp"]
221
+ ```
222
+ - **Approval and trust:** Claude Code asks you to approve a project MCP server the first time
223
+ (or run `claude mcp reset-project-choices` to be asked again); Cursor asks too (the Cursor CLI
224
+ has `--approve-mcps`). Codex reads `.codex/config.toml` only in a project you marked as
225
+ trusted, and Gemini CLI connects project servers only in a trusted folder (`gemini trust`).
226
+ - **Agent identity:** the agent id each call gives is declared, not proven. The journal records
227
+ the machine that signed each event, not which agent sent it: any session can report as any
228
+ active agent. The tool's main session, which is not an agent of the method, uses the reserved
229
+ id `main`.
230
+
231
+ ## Pinned engine version
232
+
233
+ `.agentplugged/method.yaml` pins the version of agentplugged the product was installed with
234
+ (`engine_version`). Every command checks it before writing anything:
235
+
236
+ - another version stops with `ENGINE_VERSION_MISMATCH` and tells you how to run the pinned one,
237
+ for example `npx agentplugged@0.1.0 sync`;
238
+ - `npx agentplugged init --upgrade-engine` pins the version you run and refreshes the method;
239
+ an engine older than the pinned one refuses to do so;
240
+ - `--engine-any` runs anyway, with a warning;
241
+ - a `format_version` newer than this engine knows stops with `UPGRADE_REQUIRED`.
242
+
243
+ ## License
244
+
245
+ The engine (this package) is under the [Functional Source License, Version 1.1, MIT Future
246
+ License](LICENSE) (SPDX: `FSL-1.1-MIT`), copyright 2026 Innovel Studio SASU. You can use it, read
247
+ it and modify it, but not use it for a competing product or service. Each version becomes MIT two
248
+ years after its publication.
249
+
250
+ The method it ships (the agents, skills and templates in `dist/method/`) is under the MIT license
251
+ ([LICENSE-METHOD](LICENSE-METHOD), also `dist/method/LICENSE`), so that it spreads freely.