ai-collab-open-system 0.1.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 (259) hide show
  1. package/.aict/START_HERE.md +127 -0
  2. package/.aict/WORKSPACE_MANIFEST.json +91 -0
  3. package/.aict/acceptance/EXAMPLE.synthetic.md +49 -0
  4. package/.aict/acceptance/FAILURE_MODES.md +40 -0
  5. package/.aict/acceptance/PROMPT.md +47 -0
  6. package/.aict/acceptance/README.md +44 -0
  7. package/.aict/acceptance/TEMPLATE.md +57 -0
  8. package/.aict/adapters/SHARED_CORE_CONTRACT.md +106 -0
  9. package/.aict/adapters/claude-code/ADAPTER.md +28 -0
  10. package/.aict/adapters/cline/ADAPTER.md +28 -0
  11. package/.aict/adapters/codex/ADAPTER.md +28 -0
  12. package/.aict/adapters/copilot/ADAPTER.md +28 -0
  13. package/.aict/adapters/cursor/ADAPTER.md +28 -0
  14. package/.aict/adapters/windsurf/ADAPTER.md +28 -0
  15. package/.aict/context/EXAMPLE.synthetic.md +53 -0
  16. package/.aict/context/FAILURE_MODES.md +40 -0
  17. package/.aict/context/PROMPT.md +47 -0
  18. package/.aict/context/README.md +44 -0
  19. package/.aict/context/TEMPLATE.md +63 -0
  20. package/.aict/cookbook/README.md +8 -0
  21. package/.aict/cookbook/bridge-to-a-second-family.md +103 -0
  22. package/.aict/cookbook/connect-a-tool.md +67 -0
  23. package/.aict/cookbook/review-a-half-product.md +79 -0
  24. package/.aict/cookbook/run-a-first-loop.md +81 -0
  25. package/.aict/examples/README.md +21 -0
  26. package/.aict/examples/ai-coding-long-task/CASE.md +161 -0
  27. package/.aict/examples/ai-coding-long-task/artifacts/acceptance-card.md +36 -0
  28. package/.aict/examples/ai-coding-long-task/artifacts/context-package.md +30 -0
  29. package/.aict/examples/ai-coding-long-task/artifacts/execution-prompt.md +30 -0
  30. package/.aict/examples/ai-coding-long-task/artifacts/first-ai-output.md +109 -0
  31. package/.aict/examples/ai-coding-long-task/artifacts/guard-review.md +40 -0
  32. package/.aict/examples/ai-coding-long-task/artifacts/handoff-note.md +28 -0
  33. package/.aict/examples/ai-coding-long-task/artifacts/harvest-seed.md +28 -0
  34. package/.aict/examples/ai-coding-long-task/artifacts/revised-output.md +62 -0
  35. package/.aict/examples/content-production-harvest/CASE.md +87 -0
  36. package/.aict/examples/content-production-harvest/artifacts/acceptance-card.md +28 -0
  37. package/.aict/examples/content-production-harvest/artifacts/context-package.md +28 -0
  38. package/.aict/examples/content-production-harvest/artifacts/execution-prompt.md +30 -0
  39. package/.aict/examples/content-production-harvest/artifacts/guard-review.md +28 -0
  40. package/.aict/examples/content-production-harvest/artifacts/handoff-note.md +28 -0
  41. package/.aict/examples/content-production-harvest/artifacts/harvest-seed.md +28 -0
  42. package/.aict/examples/multi-tool-collaboration/CASE.md +87 -0
  43. package/.aict/examples/multi-tool-collaboration/artifacts/acceptance-card.md +28 -0
  44. package/.aict/examples/multi-tool-collaboration/artifacts/context-package.md +28 -0
  45. package/.aict/examples/multi-tool-collaboration/artifacts/execution-prompt.md +30 -0
  46. package/.aict/examples/multi-tool-collaboration/artifacts/guard-review.md +28 -0
  47. package/.aict/examples/multi-tool-collaboration/artifacts/handoff-note.md +28 -0
  48. package/.aict/examples/multi-tool-collaboration/artifacts/harvest-seed.md +28 -0
  49. package/.aict/examples/personal-judgment-growth-assistant/CASE.md +87 -0
  50. package/.aict/examples/personal-judgment-growth-assistant/artifacts/acceptance-card.md +28 -0
  51. package/.aict/examples/personal-judgment-growth-assistant/artifacts/context-package.md +28 -0
  52. package/.aict/examples/personal-judgment-growth-assistant/artifacts/execution-prompt.md +30 -0
  53. package/.aict/examples/personal-judgment-growth-assistant/artifacts/guard-review.md +28 -0
  54. package/.aict/examples/personal-judgment-growth-assistant/artifacts/handoff-note.md +28 -0
  55. package/.aict/examples/personal-judgment-growth-assistant/artifacts/harvest-seed.md +28 -0
  56. package/.aict/examples/research-knowledge-synthesis/CASE.md +87 -0
  57. package/.aict/examples/research-knowledge-synthesis/artifacts/acceptance-card.md +28 -0
  58. package/.aict/examples/research-knowledge-synthesis/artifacts/context-package.md +28 -0
  59. package/.aict/examples/research-knowledge-synthesis/artifacts/execution-prompt.md +30 -0
  60. package/.aict/examples/research-knowledge-synthesis/artifacts/guard-review.md +28 -0
  61. package/.aict/examples/research-knowledge-synthesis/artifacts/handoff-note.md +28 -0
  62. package/.aict/examples/research-knowledge-synthesis/artifacts/harvest-seed.md +28 -0
  63. package/.aict/guard/EXAMPLE.synthetic.md +51 -0
  64. package/.aict/guard/FAILURE_MODES.md +40 -0
  65. package/.aict/guard/PROMPT.md +47 -0
  66. package/.aict/guard/README.md +44 -0
  67. package/.aict/guard/TEMPLATE.md +60 -0
  68. package/.aict/handoff/EXAMPLE.synthetic.md +51 -0
  69. package/.aict/handoff/FAILURE_MODES.md +40 -0
  70. package/.aict/handoff/PROMPT.md +47 -0
  71. package/.aict/handoff/README.md +44 -0
  72. package/.aict/handoff/TEMPLATE.md +60 -0
  73. package/.aict/harvest/EXAMPLE.synthetic.md +51 -0
  74. package/.aict/harvest/FAILURE_MODES.md +40 -0
  75. package/.aict/harvest/PROMPT.md +47 -0
  76. package/.aict/harvest/README.md +44 -0
  77. package/.aict/harvest/TEMPLATE.md +60 -0
  78. package/.aict/mechanisms/README.md +34 -0
  79. package/.aict/mechanisms/anti-drift-partner/EXAMPLE.synthetic.md +46 -0
  80. package/.aict/mechanisms/anti-drift-partner/FAILURE_MODES.md +25 -0
  81. package/.aict/mechanisms/anti-drift-partner/PROMPT.md +75 -0
  82. package/.aict/mechanisms/anti-drift-partner/README.md +82 -0
  83. package/.aict/mechanisms/anti-drift-partner/TEMPLATE.md +74 -0
  84. package/.aict/mechanisms/blind-spot-scan/EXAMPLE.synthetic.md +39 -0
  85. package/.aict/mechanisms/blind-spot-scan/FAILURE_MODES.md +25 -0
  86. package/.aict/mechanisms/blind-spot-scan/PROMPT.md +72 -0
  87. package/.aict/mechanisms/blind-spot-scan/README.md +79 -0
  88. package/.aict/mechanisms/blind-spot-scan/TEMPLATE.md +70 -0
  89. package/.aict/mechanisms/collaboration-coach/EXAMPLE.synthetic.md +40 -0
  90. package/.aict/mechanisms/collaboration-coach/FAILURE_MODES.md +25 -0
  91. package/.aict/mechanisms/collaboration-coach/PROMPT.md +72 -0
  92. package/.aict/mechanisms/collaboration-coach/README.md +79 -0
  93. package/.aict/mechanisms/collaboration-coach/TEMPLATE.md +61 -0
  94. package/.aict/mechanisms/do-not-handle-yet/EXAMPLE.synthetic.md +15 -0
  95. package/.aict/mechanisms/do-not-handle-yet/FAILURE_MODES.md +16 -0
  96. package/.aict/mechanisms/do-not-handle-yet/PROMPT.md +41 -0
  97. package/.aict/mechanisms/do-not-handle-yet/README.md +30 -0
  98. package/.aict/mechanisms/do-not-handle-yet/TEMPLATE.md +38 -0
  99. package/.aict/mechanisms/dual-guard/EXAMPLE.synthetic.md +54 -0
  100. package/.aict/mechanisms/dual-guard/FAILURE_MODES.md +25 -0
  101. package/.aict/mechanisms/dual-guard/PROMPT.md +76 -0
  102. package/.aict/mechanisms/dual-guard/README.md +81 -0
  103. package/.aict/mechanisms/dual-guard/TEMPLATE.md +73 -0
  104. package/.aict/mechanisms/feedback-absorption-ledger/EXAMPLE.synthetic.md +49 -0
  105. package/.aict/mechanisms/feedback-absorption-ledger/FAILURE_MODES.md +25 -0
  106. package/.aict/mechanisms/feedback-absorption-ledger/PROMPT.md +74 -0
  107. package/.aict/mechanisms/feedback-absorption-ledger/README.md +81 -0
  108. package/.aict/mechanisms/feedback-absorption-ledger/TEMPLATE.md +69 -0
  109. package/.aict/mechanisms/half-product-review/EXAMPLE.synthetic.md +15 -0
  110. package/.aict/mechanisms/half-product-review/FAILURE_MODES.md +16 -0
  111. package/.aict/mechanisms/half-product-review/PROMPT.md +41 -0
  112. package/.aict/mechanisms/half-product-review/README.md +30 -0
  113. package/.aict/mechanisms/half-product-review/TEMPLATE.md +38 -0
  114. package/.aict/mechanisms/handoff-abc/EXAMPLE.synthetic.md +47 -0
  115. package/.aict/mechanisms/handoff-abc/FAILURE_MODES.md +25 -0
  116. package/.aict/mechanisms/handoff-abc/PROMPT.md +75 -0
  117. package/.aict/mechanisms/handoff-abc/README.md +82 -0
  118. package/.aict/mechanisms/handoff-abc/TEMPLATE.md +60 -0
  119. package/.aict/mechanisms/harvest-and-erc/EXAMPLE.synthetic.md +43 -0
  120. package/.aict/mechanisms/harvest-and-erc/FAILURE_MODES.md +25 -0
  121. package/.aict/mechanisms/harvest-and-erc/PROMPT.md +74 -0
  122. package/.aict/mechanisms/harvest-and-erc/README.md +81 -0
  123. package/.aict/mechanisms/harvest-and-erc/TEMPLATE.md +60 -0
  124. package/.aict/mechanisms/honest-calibration/EXAMPLE.synthetic.md +43 -0
  125. package/.aict/mechanisms/honest-calibration/FAILURE_MODES.md +25 -0
  126. package/.aict/mechanisms/honest-calibration/PROMPT.md +74 -0
  127. package/.aict/mechanisms/honest-calibration/README.md +81 -0
  128. package/.aict/mechanisms/honest-calibration/TEMPLATE.md +66 -0
  129. package/.aict/mechanisms/one-click-dispatch/EXAMPLE.synthetic.md +15 -0
  130. package/.aict/mechanisms/one-click-dispatch/FAILURE_MODES.md +16 -0
  131. package/.aict/mechanisms/one-click-dispatch/PROMPT.md +41 -0
  132. package/.aict/mechanisms/one-click-dispatch/README.md +30 -0
  133. package/.aict/mechanisms/one-click-dispatch/TEMPLATE.md +38 -0
  134. package/.aict/mechanisms/plain-language-first-screen/EXAMPLE.synthetic.md +15 -0
  135. package/.aict/mechanisms/plain-language-first-screen/FAILURE_MODES.md +16 -0
  136. package/.aict/mechanisms/plain-language-first-screen/PROMPT.md +41 -0
  137. package/.aict/mechanisms/plain-language-first-screen/README.md +30 -0
  138. package/.aict/mechanisms/plain-language-first-screen/TEMPLATE.md +38 -0
  139. package/.aict/mechanisms/root-cause-brake/EXAMPLE.synthetic.md +55 -0
  140. package/.aict/mechanisms/root-cause-brake/FAILURE_MODES.md +25 -0
  141. package/.aict/mechanisms/root-cause-brake/PROMPT.md +73 -0
  142. package/.aict/mechanisms/root-cause-brake/README.md +79 -0
  143. package/.aict/mechanisms/root-cause-brake/TEMPLATE.md +74 -0
  144. package/.aict/mechanisms/scout-review-controller/EXAMPLE.synthetic.md +15 -0
  145. package/.aict/mechanisms/scout-review-controller/FAILURE_MODES.md +16 -0
  146. package/.aict/mechanisms/scout-review-controller/PROMPT.md +41 -0
  147. package/.aict/mechanisms/scout-review-controller/README.md +30 -0
  148. package/.aict/mechanisms/scout-review-controller/TEMPLATE.md +38 -0
  149. package/.aict/mechanisms/single-tool-guard/EXAMPLE.synthetic.md +54 -0
  150. package/.aict/mechanisms/single-tool-guard/FAILURE_MODES.md +25 -0
  151. package/.aict/mechanisms/single-tool-guard/PROMPT.md +76 -0
  152. package/.aict/mechanisms/single-tool-guard/README.md +83 -0
  153. package/.aict/mechanisms/single-tool-guard/TEMPLATE.md +75 -0
  154. package/.aict/mechanisms/task-splitting/EXAMPLE.synthetic.md +53 -0
  155. package/.aict/mechanisms/task-splitting/FAILURE_MODES.md +25 -0
  156. package/.aict/mechanisms/task-splitting/PROMPT.md +72 -0
  157. package/.aict/mechanisms/task-splitting/README.md +79 -0
  158. package/.aict/mechanisms/task-splitting/TEMPLATE.md +76 -0
  159. package/.aict/modes/README.md +11 -0
  160. package/.aict/modes/execute.md +31 -0
  161. package/.aict/modes/handoff.md +29 -0
  162. package/.aict/modes/harvest.md +30 -0
  163. package/.aict/modes/review.md +28 -0
  164. package/.aict/modes/shape.md +34 -0
  165. package/.aict/privacy/COMMERCIAL_BOUNDARY.md +34 -0
  166. package/.aict/privacy/PRIVACY.md +36 -0
  167. package/.aict/privacy/REDACTION_CHECKLIST.md +12 -0
  168. package/.aict/profile/CANDIDATES.md +44 -0
  169. package/.aict/profile/EXAMPLE.synthetic.md +49 -0
  170. package/.aict/profile/FAILURE_MODES.md +40 -0
  171. package/.aict/profile/PROMPT.md +47 -0
  172. package/.aict/profile/README.md +44 -0
  173. package/.aict/profile/TEMPLATE.md +57 -0
  174. package/.aict/prompts/acceptance-definition.md +109 -0
  175. package/.aict/prompts/guard-review.md +116 -0
  176. package/.aict/prompts/handoff-generation.md +110 -0
  177. package/.aict/prompts/harvest-extraction.md +110 -0
  178. package/.aict/prompts/mode-switching.md +66 -0
  179. package/.aict/prompts/profile-creation.md +66 -0
  180. package/.aict/prompts/profile-refinement.md +66 -0
  181. package/.aict/prompts/project-context-packaging.md +113 -0
  182. package/.aict/prompts/red-team-challenge.md +106 -0
  183. package/.aict/prompts/rule-update-proposal.md +114 -0
  184. package/.aict/prompts/workflow-reset.md +109 -0
  185. package/.aict/roles/README.md +18 -0
  186. package/.aict/roles/executor.md +34 -0
  187. package/.aict/roles/harvester.md +33 -0
  188. package/.aict/roles/owner-controller.md +38 -0
  189. package/.aict/roles/scout.md +33 -0
  190. package/.aict/roles/supervisor.md +34 -0
  191. package/.aict/roles/system-guardian.md +34 -0
  192. package/.aict/skills/acceptance/SKILL.md +43 -0
  193. package/.aict/skills/context/SKILL.md +44 -0
  194. package/.aict/skills/evidence-pack/SKILL.md +42 -0
  195. package/.aict/skills/guard/SKILL.md +46 -0
  196. package/.aict/skills/handoff/SKILL.md +44 -0
  197. package/.aict/skills/harvest/SKILL.md +44 -0
  198. package/.aict/skills/mode-switch/SKILL.md +42 -0
  199. package/.aict/skills/profile/SKILL.md +42 -0
  200. package/.aict/skills/red-team/SKILL.md +42 -0
  201. package/.aict/skills/single-tool-guard/SKILL.md +42 -0
  202. package/.aict/state/CURRENT_STATE.md +13 -0
  203. package/.aict/state/DECISIONS.md +7 -0
  204. package/.aict/state/TASK_LOG.md +7 -0
  205. package/.aict/state/evidence.jsonl +2 -0
  206. package/.aict/state/learning-ledger.jsonl +1 -0
  207. package/.aict/state/receipts.jsonl +1 -0
  208. package/.aict/state/runs.jsonl +1 -0
  209. package/.aict/state/tasks.jsonl +1 -0
  210. package/.aict/walkthroughs/10-minute-your-task.md +107 -0
  211. package/.aict/walkthroughs/10-minute.md +43 -0
  212. package/.aict/walkthroughs/30-minute.md +22 -0
  213. package/.aict/walkthroughs/60-minute.md +27 -0
  214. package/.aict/walkthroughs/synthetic-loop-transcript.md +43 -0
  215. package/CHANGELOG.md +23 -0
  216. package/CODE_OF_CONDUCT.md +20 -0
  217. package/CONTRIBUTING.md +30 -0
  218. package/KNOWN_LIMITATIONS.md +54 -0
  219. package/LICENSE +199 -0
  220. package/PRODUCT_CONTRACT.md +446 -0
  221. package/README.md +245 -0
  222. package/RELEASE_CHECKLIST.md +78 -0
  223. package/SECURITY.md +56 -0
  224. package/START_HERE.md +89 -0
  225. package/bin/ai-collab.js +2 -0
  226. package/docs/DOGFOOD.md +85 -0
  227. package/docs/FEEDBACK.md +61 -0
  228. package/docs/FIRST_EXPERIENCE_SPEC.md +32 -0
  229. package/docs/FREE_VS_PAID.md +53 -0
  230. package/docs/PUBLIC_BOUNDARY.md +36 -0
  231. package/docs/PUBLIC_MAPPING.md +178 -0
  232. package/docs/RELEASE_PRIORITY.md +23 -0
  233. package/docs/WHY_THIS_EXISTS.md +36 -0
  234. package/docs/open-system/00-start-here.md +60 -0
  235. package/docs/open-system/01-ai-collaboration-os.md +33 -0
  236. package/docs/open-system/02-six-layer-architecture.md +45 -0
  237. package/docs/open-system/03-role-system.md +33 -0
  238. package/docs/open-system/04-core-mechanisms.md +34 -0
  239. package/docs/open-system/05-failure-patterns.md +31 -0
  240. package/docs/open-system/06-how-to-adapt-to-your-workflow.md +31 -0
  241. package/package.json +69 -0
  242. package/privacy-manifest.json +78 -0
  243. package/privacy-scan.local.json.example +18 -0
  244. package/scripts/lib/forbidden-in-pack.js +55 -0
  245. package/scripts/pack-check.js +154 -0
  246. package/scripts/privacy-scan.js +487 -0
  247. package/scripts/validate-contract.js +160 -0
  248. package/src/adapters.js +590 -0
  249. package/src/bootstrap.js +1184 -0
  250. package/src/catalog.js +2723 -0
  251. package/src/cli.js +2899 -0
  252. package/src/dialogue.js +470 -0
  253. package/src/i18n.js +1034 -0
  254. package/src/ledger.js +2011 -0
  255. package/src/render.js +1381 -0
  256. package/src/sendmodel.js +452 -0
  257. package/src/validate.js +1307 -0
  258. package/src/workspace.js +1679 -0
  259. package/tests/contract.test.js +8514 -0
package/LICENSE ADDED
@@ -0,0 +1,199 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean any work of authorship, including
48
+ the original version of the Work and any modifications or additions
49
+ to that Work or Derivative Works thereof, that is intentionally
50
+ submitted to Licensor for inclusion in the Work by the copyright owner
51
+ or by an individual or Legal Entity authorized to submit on behalf of
52
+ the copyright owner. For the purposes of this definition, "submitted"
53
+ means any form of electronic, verbal, or written communication sent
54
+ to the Licensor or its representatives, including but not limited to
55
+ communication on electronic mailing lists, source code control systems,
56
+ and issue tracking systems that are managed by, or on behalf of, the
57
+ Licensor for the purpose of discussing and improving the Work, but
58
+ excluding communication that is conspicuously marked or otherwise
59
+ designated in writing by the copyright owner as "Not a Contribution."
60
+
61
+ "Contributor" shall mean Licensor and any individual or Legal Entity
62
+ on behalf of whom a Contribution has been received by Licensor and
63
+ subsequently incorporated within the Work.
64
+
65
+ 2. Grant of Copyright License. Subject to the terms and conditions of
66
+ this License, each Contributor hereby grants to You a perpetual,
67
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
68
+ copyright license to reproduce, prepare Derivative Works of,
69
+ publicly display, publicly perform, sublicense, and distribute the
70
+ Work and such Derivative Works in Source or Object form.
71
+
72
+ 3. Grant of Patent License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ (except as stated in this section) patent license to make, have made,
76
+ use, offer to sell, sell, import, and otherwise transfer the Work,
77
+ where such license applies only to those patent claims licensable
78
+ by such Contributor that are necessarily infringed by their
79
+ Contribution(s) alone or by combination of their Contribution(s)
80
+ with the Work to which such Contribution(s) was submitted. If You
81
+ institute patent litigation against any entity alleging that the Work
82
+ or a Contribution incorporated within the Work constitutes direct
83
+ or contributory patent infringement, then any patent licenses granted
84
+ to You under this License for that Work shall terminate as of the
85
+ date such litigation is filed.
86
+
87
+ 4. Redistribution. You may reproduce and distribute copies of the
88
+ Work or Derivative Works thereof in any medium, with or without
89
+ modifications, and in Source or Object form, provided that You
90
+ meet the following conditions:
91
+
92
+ (a) You must give any other recipients of the Work or Derivative
93
+ Works a copy of this License; and
94
+
95
+ (b) You must cause any modified files to carry prominent notices
96
+ stating that You changed the files; and
97
+
98
+ (c) You must retain, in the Source form of any Derivative Works
99
+ that You distribute, all copyright, patent, trademark, and
100
+ attribution notices from the Source form of the Work, excluding
101
+ those notices that do not pertain to any part of the Derivative
102
+ Works; and
103
+
104
+ (d) If the Work includes a "NOTICE" text file as part of its
105
+ distribution, then any Derivative Works that You distribute must
106
+ include a readable copy of the attribution notices contained
107
+ within such NOTICE file, excluding those notices that do not
108
+ pertain to any part of the Derivative Works, in at least one
109
+ of the following places: within a NOTICE text file distributed
110
+ as part of the Derivative Works; within the Source form or
111
+ documentation, if provided along with the Derivative Works; or,
112
+ within a display generated by the Derivative Works, if and
113
+ wherever such third-party notices normally appear. The contents
114
+ of the NOTICE file are for informational purposes only and
115
+ do not modify the License. You may add Your own attribution
116
+ notices within Derivative Works that You distribute, alongside
117
+ or as an addendum to the NOTICE text from the Work, provided
118
+ that such additional attribution notices cannot be construed
119
+ as modifying the License.
120
+
121
+ You may add Your own copyright statement to Your modifications and
122
+ may provide additional or different license terms and conditions
123
+ for use, reproduction, or distribution of Your modifications, or
124
+ for any such Derivative Works as a whole, provided Your use,
125
+ reproduction, and distribution of the Work otherwise complies with
126
+ the conditions stated in this License.
127
+
128
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
129
+ any Contribution intentionally submitted for inclusion in the Work
130
+ by You to the Licensor shall be under the terms and conditions of
131
+ this License, without any additional terms or conditions.
132
+ Notwithstanding the above, nothing herein shall supersede or modify
133
+ the terms of any separate license agreement you may have executed
134
+ with Licensor regarding such Contributions.
135
+
136
+ 6. Trademarks. This License does not grant permission to use the trade
137
+ names, trademarks, service marks, or product names of the Licensor,
138
+ except as required for reasonable and customary use in describing the
139
+ origin of the Work and reproducing the content of the NOTICE file.
140
+
141
+ 7. Disclaimer of Warranty. Unless required by applicable law or
142
+ agreed to in writing, Licensor provides the Work on an "AS IS"
143
+ BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
144
+ or implied, including, without limitation, any warranties or conditions
145
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
146
+ PARTICULAR PURPOSE. You are solely responsible for determining the
147
+ appropriateness of using or redistributing the Work and assume any
148
+ risks associated with Your exercise of permissions under this License.
149
+
150
+ 8. Limitation of Liability. In no event and under no legal theory,
151
+ whether in tort (including negligence), contract, or otherwise,
152
+ unless required by applicable law (such as deliberate and grossly
153
+ negligent acts) or agreed to in writing, shall any Contributor be
154
+ liable to You for damages, including any direct, indirect, special,
155
+ incidental, or consequential damages of any character arising as a
156
+ result of this License or out of the use or inability to use the
157
+ Work, including but not limited to damages for loss of goodwill,
158
+ work stoppage, computer failure or malfunction, or any and all
159
+ other commercial damages or losses, even if such Contributor
160
+ has been advised of the possibility of such damages.
161
+
162
+ 9. Accepting Warranty or Additional Liability. While redistributing
163
+ the Work or Derivative Works thereof, You may choose to offer,
164
+ and charge a fee for, acceptance of support, warranty, indemnity,
165
+ or other liability obligations and/or rights consistent with this
166
+ License. However, in accepting such obligations, You may act only
167
+ on Your own behalf and on Your sole responsibility, not on behalf
168
+ of any other Contributor, and only if You agree to indemnify,
169
+ defend, and hold each Contributor harmless for any liability
170
+ incurred by, or claims asserted against, such Contributor by reason
171
+ of your accepting any such warranty or additional liability.
172
+
173
+ END OF TERMS AND CONDITIONS
174
+
175
+
176
+ APPENDIX: How to apply the Apache License to your work.
177
+
178
+ To apply the Apache License to your work, attach the following
179
+ boilerplate notice, with the fields enclosed by brackets "[]"
180
+ replaced with your own identifying information. (Don't include
181
+ the brackets!) The text should be enclosed in the appropriate
182
+ comment syntax for the file format. We also recommend that a
183
+ file or class name and description of purpose be included on the
184
+ same "printed page" as the copyright notice for easier
185
+ identification within third-party archives.
186
+
187
+ Copyright 2026 Aaron Yi
188
+
189
+ Licensed under the Apache License, Version 2.0 (the "License");
190
+ you may not use this file except in compliance with the License.
191
+ You may obtain a copy of the License at
192
+
193
+ http://www.apache.org/licenses/LICENSE-2.0
194
+
195
+ Unless required by applicable law or agreed to in writing, software
196
+ distributed under the License is distributed on an "AS IS" BASIS,
197
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
198
+ See the License for the specific language governing permissions and
199
+ limitations under the License.
@@ -0,0 +1,446 @@
1
+ # AI Collaboration Open System - Product Contract
2
+
3
+ Status: source-of-truth draft
4
+ Scope: public open-source project contract
5
+ Language: bilingual-first, English and Chinese supported
6
+
7
+ ## 1. Product Truth
8
+
9
+ This project is a local-first, open-source personal AI collaboration workspace.
10
+
11
+ It is not a diagnosis tool, not a prompt pack, not a small CLI utility, and not a
12
+ generic autonomous agent framework.
13
+
14
+ The user should be able to download the project, initialize a local workspace,
15
+ open the generated `START_HERE.md`, and immediately use the system with the AI
16
+ tools they already use: Claude Code, Codex, Cursor, Windsurf, Copilot, Cline, or
17
+ any assistant that can read project rules and local files.
18
+
19
+ The core promise:
20
+
21
+ > Give users a complete self-buildable AI collaboration workspace, not a teaser.
22
+ > Paid help is for calibration, setup, and saving time, not for unlocking the
23
+ > basic system.
24
+
25
+ ## 2. One-Line Positioning
26
+
27
+ An open-source personal AI collaboration workspace that helps users run tasks
28
+ with profile, context, acceptance, guard review, handoff, and harvest structure
29
+ from the first session.
30
+
31
+ Chinese positioning:
32
+
33
+ > 一个本地优先、最大诚意开源的个人 AI 协作工作区。用户下载后就能拿到完整骨架,直接放进
34
+ > Claude Code / Codex / Cursor 等工具里使用;付费只买校准、代搭和少踩坑。
35
+
36
+ ## 3. First Experience
37
+
38
+ The main first experience is not "run a doctor".
39
+
40
+ The main first experience is:
41
+
42
+ ```text
43
+ install or clone
44
+ -> initialize workspace
45
+ -> open START_HERE.md
46
+ -> choose a 10 / 30 / 60 minute path
47
+ -> run one complete synthetic task loop
48
+ -> adapt the same workspace to a real task
49
+ ```
50
+
51
+ The user should feel:
52
+
53
+ ```text
54
+ I now have a working AI collaboration workspace.
55
+ I can use it directly.
56
+ I can inspect and modify it.
57
+ I can pay the author only if I want it calibrated for my real workflow.
58
+ ```
59
+
60
+ The user should not feel:
61
+
62
+ ```text
63
+ I downloaded a checker.
64
+ It says I have problems.
65
+ The real fix is hidden behind paid help.
66
+ ```
67
+
68
+ ## 4. Required Open-Source Deliverables
69
+
70
+ The open-source edition must include the full self-build path.
71
+
72
+ ### 4.1 Workspace
73
+
74
+ The project must generate or provide a complete local workspace:
75
+
76
+ ```text
77
+ .aict/
78
+ START_HERE.md
79
+ profile/
80
+ context/
81
+ acceptance/
82
+ guard/
83
+ handoff/
84
+ harvest/
85
+ prompts/
86
+ skills/
87
+ adapters/
88
+ examples/
89
+ privacy/
90
+ ```
91
+
92
+ The exact folder name may change later, but the concept must not: users get a
93
+ real collaboration workspace, not loose templates.
94
+
95
+ ### 4.2 Six Collaboration Layers
96
+
97
+ Each layer must include:
98
+
99
+ - purpose
100
+ - when to use it
101
+ - input shape
102
+ - output shape
103
+ - copy-paste prompt
104
+ - blank template
105
+ - filled synthetic example
106
+ - common failure modes
107
+ - how to hand it to Claude Code / Codex / Cursor / Windsurf / Copilot / Cline
108
+
109
+ The six required layers:
110
+
111
+ 1. Profile - how the AI adapts to the user
112
+ 2. Context - what the task boundary is
113
+ 3. Acceptance - what "done" means
114
+ 4. Guard / Review - how output is challenged before trust
115
+ 5. Handoff - how the next session resumes
116
+ 6. Harvest - what becomes reusable knowledge or material
117
+
118
+ ### 4.3 Prompt Library
119
+
120
+ The open-source edition must include generic prompts for:
121
+
122
+ - profile creation
123
+ - profile refinement
124
+ - project context packaging
125
+ - acceptance definition
126
+ - guard review
127
+ - red-team challenge
128
+ - handoff generation
129
+ - harvest extraction
130
+ - mode switching
131
+ - workflow reset
132
+ - rule update proposal
133
+
134
+ These prompts must be usable as-is. They can be generic, but not empty
135
+ placeholders.
136
+
137
+ ### 4.4 Skills
138
+
139
+ The system should package reusable capabilities in a skill-like format inspired
140
+ by agent skill conventions:
141
+
142
+ ```text
143
+ skills/
144
+ profile/
145
+ SKILL.md
146
+ context/
147
+ SKILL.md
148
+ acceptance/
149
+ SKILL.md
150
+ guard/
151
+ SKILL.md
152
+ handoff/
153
+ SKILL.md
154
+ harvest/
155
+ SKILL.md
156
+ red-team/
157
+ SKILL.md
158
+ mode-switch/
159
+ SKILL.md
160
+ ```
161
+
162
+ Each skill must be self-contained enough for a user to copy into an AI tool that
163
+ supports file-based instructions.
164
+
165
+ ### 4.5 Tool Adapters
166
+
167
+ The open-source edition must support the major AI coding/workflow tools through
168
+ thin adapters:
169
+
170
+ - Claude Code
171
+ - Codex
172
+ - Cursor
173
+ - Windsurf
174
+ - GitHub Copilot
175
+ - Cline
176
+
177
+ The adapters must point back to one shared core contract. Do not duplicate and
178
+ drift six separate rule systems.
179
+
180
+ ### 4.6 Synthetic Case Library
181
+
182
+ The open-source edition must include at least five fully synthetic cases:
183
+
184
+ 1. AI coding long task
185
+ 2. Content production and harvest
186
+ 3. Research / knowledge synthesis
187
+ 4. Multi-tool collaboration
188
+ 5. Personal judgment / growth assistant
189
+
190
+ Each case must show the full loop:
191
+
192
+ ```text
193
+ messy starting point
194
+ -> workspace setup
195
+ -> profile/context
196
+ -> acceptance
197
+ -> execution prompt
198
+ -> guard review
199
+ -> handoff
200
+ -> harvest
201
+ -> what changes compared with a single raw AI chat
202
+ ```
203
+
204
+ Cases must not use real private content. If inspired by real work, rewrite them
205
+ as fully synthetic examples.
206
+
207
+ ## 5. Role of Doctor / Health Check
208
+
209
+ Any "doctor" or diagnostic command is optional and secondary.
210
+
211
+ Allowed roles:
212
+
213
+ - workspace health check
214
+ - migration check
215
+ - structure completeness check
216
+ - example validation
217
+ - "I am lost, where do I start?" helper
218
+
219
+ Forbidden roles:
220
+
221
+ - main product identity
222
+ - first required user step
223
+ - paid-conversion pressure mechanism
224
+ - claim of AI diagnosis
225
+ - claim of understanding the user's real business
226
+
227
+ The product must never communicate:
228
+
229
+ ```text
230
+ You have a problem; pay me to solve it.
231
+ ```
232
+
233
+ It should communicate:
234
+
235
+ ```text
236
+ Here is the open system. Use it yourself, inspect it, modify it. If you want it
237
+ calibrated to your real work, paid help is available.
238
+ ```
239
+
240
+ ## 6. Privacy and Public Boundary
241
+
242
+ ### 6.1 Must Never Be Public
243
+
244
+ Do not publish:
245
+
246
+ - private governance source material
247
+ - private knowledge-base source material
248
+ - real personal profile
249
+ - actual client material
250
+ - raw source conversations
251
+ - non-public automation details
252
+ - non-public routing details
253
+ - internal calibration numbers
254
+ - internal scoring rules
255
+ - account-specific habits
256
+ - local machine paths
257
+ - tokens, keys, cookies, credentials
258
+ - unredacted screenshots
259
+ - full internal service SOP
260
+
261
+ ### 6.2 Can Be Public
262
+
263
+ Can publish:
264
+
265
+ - generic architecture
266
+ - generic prompts
267
+ - generic skills
268
+ - generic templates
269
+ - thin tool adapters
270
+ - synthetic examples
271
+ - public-safe case rewrites
272
+ - privacy docs
273
+ - setup docs
274
+ - self-build guide
275
+ - known limitations
276
+ - health-check rules and limitations
277
+
278
+ ### 6.3 Redaction Standard
279
+
280
+ Every public example must pass this question:
281
+
282
+ ```text
283
+ Could a stranger infer the owner's private system, identity, clients, files,
284
+ habits, or operational routes from this?
285
+ ```
286
+
287
+ If yes, rewrite it as a synthetic example.
288
+
289
+ ## 7. Commercial Boundary
290
+
291
+ The open-source edition gives the complete generic self-build path.
292
+
293
+ Paid work may include:
294
+
295
+ - real workflow review
296
+ - personalized profile calibration
297
+ - project-specific setup
298
+ - migration from existing AI workflows
299
+ - custom guard / review rules
300
+ - pain-point packs
301
+ - industry/scenario packs
302
+ - human review
303
+ - async audit
304
+ - long-term workflow improvement
305
+
306
+ Paid work must not be framed as unlocking the basic answer.
307
+
308
+ Correct framing:
309
+
310
+ ```text
311
+ The method is public. Paid help gives you a calibrated version for your real
312
+ workflow and saves you the time of trial and error.
313
+ ```
314
+
315
+ Incorrect framing:
316
+
317
+ ```text
318
+ The open-source version only tells you the problem. Pay to get the fix.
319
+ ```
320
+
321
+ ## 8. Non-Goals
322
+
323
+ This project does not aim to be:
324
+
325
+ - an autonomous agent framework
326
+ - a multi-agent orchestrator
327
+ - a LangGraph / CrewAI competitor
328
+ - a memory database
329
+ - a cloud SaaS
330
+ - a telemetry product
331
+ - a hosted AI assistant
332
+ - an LLM API wrapper
333
+ - a paid prompt pack
334
+ - a diagnosis-first funnel
335
+ - a clone of the owner's private system
336
+
337
+ The project must not:
338
+
339
+ - call external AI APIs by default
340
+ - upload user content
341
+ - scan the whole disk
342
+ - install global hooks without consent
343
+ - overwrite user files silently
344
+ - claim guaranteed productivity gains
345
+ - claim it can replace human judgment
346
+ - claim it can automatically understand the user
347
+
348
+ ## 9. Success Criteria
349
+
350
+ The project is successful when a new user can:
351
+
352
+ 1. Understand from the first screen that this is an open AI collaboration
353
+ workspace.
354
+ 2. Initialize or copy the workspace without reading a long theory document.
355
+ 3. Open `START_HERE.md` and choose a clear path.
356
+ 4. Run one complete synthetic example.
357
+ 5. Adapt one layer to their own work.
358
+ 6. Use the workspace with at least one supported AI tool.
359
+ 7. Produce a reusable artifact: context package, acceptance card, review result,
360
+ handoff note, or harvest seed.
361
+ 8. Understand what is free and what paid help is for.
362
+ 9. Trust that no private content is uploaded or hidden from them.
363
+ 10. Inspect the system because the core method is open.
364
+
365
+ ## 10. Required User Paths
366
+
367
+ ### 10.1 Ten-Minute Path
368
+
369
+ Goal: feel the system immediately.
370
+
371
+ Expected result:
372
+
373
+ - user opens `START_HERE.md`
374
+ - runs or reads one synthetic example
375
+ - copies one prompt into their AI tool
376
+ - gets one artifact
377
+
378
+ ### 10.2 Thirty-Minute Path
379
+
380
+ Goal: adapt one layer to a real task.
381
+
382
+ Expected result:
383
+
384
+ - user fills a context or acceptance template
385
+ - uses one adapter with their AI tool
386
+ - produces one review or handoff
387
+
388
+ ### 10.3 Sixty-Minute Path
389
+
390
+ Goal: run one complete task loop.
391
+
392
+ Expected result:
393
+
394
+ - profile/context
395
+ - acceptance
396
+ - execution prompt
397
+ - guard review
398
+ - handoff
399
+ - harvest
400
+
401
+ ## 11. Implementation Principles
402
+
403
+ - Keep the first experience concrete.
404
+ - Make the system inspectable.
405
+ - Prefer files users can copy over hidden logic.
406
+ - Prefer synthetic cases over abstract theory.
407
+ - Keep CLI small: initialize, guide, check, demo.
408
+ - Keep doctor secondary.
409
+ - Keep paid messaging light and honest.
410
+ - Keep all examples privacy-safe.
411
+ - Make every promise testable.
412
+
413
+ ## 12. Acceptance Checklist
414
+
415
+ Before this project can be treated as a public-ready open-source release:
416
+
417
+ - `START_HERE.md` exists and is the first user path.
418
+ - The generated workspace has all six layers.
419
+ - Each layer has prompt, template, example, and failure modes.
420
+ - At least five synthetic cases exist.
421
+ - At least one case runs end-to-end through the full loop.
422
+ - Supported tool adapters point to one shared core contract.
423
+ - Doctor/health-check is not the main README headline.
424
+ - Privacy docs list public and forbidden materials.
425
+ - Commercial boundary is present but not pushy.
426
+ - No private paths, real client names, raw source conversations, private governance
427
+ material, or private knowledge-base source material appear in the public package.
428
+ - All tests and release checks pass once implementation begins.
429
+
430
+ ## 13. Final Definition of Done
431
+
432
+ Done means:
433
+
434
+ ```text
435
+ A stranger can download the project, initialize or copy the workspace, open
436
+ START_HERE.md, and use the public prompts/templates/examples to run one AI
437
+ collaboration loop without seeing the owner's private system and without being
438
+ forced through a diagnosis-first funnel.
439
+ ```
440
+
441
+ Still not done if:
442
+
443
+ ```text
444
+ The project is still perceived as a doctor CLI, a thin prompt pack, a README-heavy
445
+ idea, or a teaser for paid help.
446
+ ```