@aopslabs/aops 0.3.31 → 0.3.32

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 (147) hide show
  1. package/README.md +11 -3
  2. package/aops-assets-release/aops-assets.json.gz +0 -0
  3. package/aops-assets-release/disciplines/build-review-chat/SKILL.md +33 -0
  4. package/aops-assets-release/disciplines/coordinator-loop/SKILL.md +33 -0
  5. package/aops-assets-release/disciplines/design-first-consensus/SKILL.md +30 -0
  6. package/aops-assets-release/disciplines/solo-pm-loop/SKILL.md +31 -0
  7. package/aops-assets-release/docs/user-guides/agentspace-user-guide.md +384 -0
  8. package/aops-assets-release/docs/user-guides/aops-cli-user-guide.md +2067 -0
  9. package/aops-assets-release/docs/user-guides/chatv3-user-guide.md +500 -0
  10. package/aops-assets-release/docs/user-guides/docman-user-guide.md +1009 -0
  11. package/aops-assets-release/docs/user-guides/projectman-user-guide.md +763 -0
  12. package/aops-assets-release/docs/user-guides/tasker-user-guide.md +244 -0
  13. package/aops-assets-release/release.json +6 -0
  14. package/aops-assets-release/roles/coordinator/ROLE.md +28 -0
  15. package/aops-assets-release/roles/implementer/ROLE.md +27 -0
  16. package/aops-assets-release/roles/reviewer/ROLE.md +27 -0
  17. package/aops-assets-release/skills/aops/SKILL.md +112 -0
  18. package/aops-assets-release/skills/aops-bootstrapper-authoring/SKILL.md +245 -0
  19. package/aops-assets-release/skills/aops-cli-agentspace/SKILL.md +186 -0
  20. package/aops-assets-release/skills/aops-cli-board-lifecycle/SKILL.md +64 -0
  21. package/aops-assets-release/skills/aops-cli-chat/SKILL.md +204 -0
  22. package/aops-assets-release/skills/aops-cli-collab/SKILL.md +42 -0
  23. package/aops-assets-release/skills/aops-cli-core/SKILL.md +219 -0
  24. package/aops-assets-release/skills/aops-cli-discuss/SKILL.md +172 -0
  25. package/aops-assets-release/skills/aops-cli-docman/SKILL.md +192 -0
  26. package/aops-assets-release/skills/aops-cli-fileman/SKILL.md +169 -0
  27. package/aops-assets-release/skills/aops-cli-mission/SKILL.md +128 -0
  28. package/aops-assets-release/skills/aops-cli-operator-brief/SKILL.md +67 -0
  29. package/aops-assets-release/skills/aops-cli-projectman/SKILL.md +235 -0
  30. package/aops-assets-release/skills/aops-cli-sugar-authoring/SKILL.md +188 -0
  31. package/aops-assets-release/skills/aops-cli-tasker/SKILL.md +108 -0
  32. package/aops-assets-release/skills/aops-cli-tooling-agent/SKILL.md +112 -0
  33. package/aops-assets-release/skills/aops-cli-view/SKILL.md +210 -0
  34. package/aops-assets-release/skills/aops-collaborative-work/SKILL.md +304 -0
  35. package/aops-assets-release/skills/aops-interactive/SKILL.md +70 -0
  36. package/aops-assets-release/skills/aops-loop-interactive/SKILL.md +314 -0
  37. package/aops-assets-release/skills/aops-working-disciplines/SKILL.md +310 -0
  38. package/aops-assets-release/skills/feature-retirement-flow/SKILL.md +126 -0
  39. package/assets/skills/aops-install/SKILL.md +18 -17
  40. package/dist/commands/assets.js +93 -1264
  41. package/dist/commands/community-server.js +27 -8
  42. package/dist/commands/community-setup.js +1 -2
  43. package/dist/commands/discuss.js +1 -1
  44. package/dist/commands/doc.js +88 -27
  45. package/dist/commands/docs.js +68 -0
  46. package/dist/commands/global-update.js +28 -0
  47. package/dist/commands/init.js +3 -1
  48. package/dist/commands/loop.js +6379 -0
  49. package/dist/commands/memory.js +2 -1
  50. package/dist/commands/pm/index.js +11 -9
  51. package/dist/commands/pm/projectman.js +33 -2
  52. package/dist/commands/project.js +6 -6
  53. package/dist/commands/prompt.js +1 -1
  54. package/dist/commands/repo-sync.js +92 -27
  55. package/dist/commands/runner.js +257 -0
  56. package/dist/commands/skill.js +1 -1
  57. package/dist/commands/start.js +1 -1
  58. package/dist/commands/tasker.js +361 -0
  59. package/dist/commands/view.js +53 -9
  60. package/dist/lib/commercial-setup-readiness-adapter.js +0 -1
  61. package/dist/lib/community-migration-snapshot.js +7 -9
  62. package/dist/lib/community-native-database-recovery.js +5 -14
  63. package/dist/lib/community-native-lifecycle.js +13 -0
  64. package/dist/lib/setup-agent-assets-bridge.js +28 -148
  65. package/dist/lib/setup-agent-assets-release.js +16 -44
  66. package/dist/lib/setup-init-orchestrator.js +11 -15
  67. package/dist/lib/simple-agent-assets.js +447 -0
  68. package/dist/lib/user-guide-sections.js +488 -0
  69. package/dist/main.js +10 -2
  70. package/dist/seeds/agents-md.js +3 -3
  71. package/dist/utils/agents-md.js +1 -1
  72. package/dist/utils/guide-paths.js +7 -7
  73. package/dist/utils/hosted-workspace.js +2 -1
  74. package/dist/utils/repo-first-storage.js +26 -1
  75. package/dist/utils/session-state.js +2 -7
  76. package/launchers/aops-cockpit.sh +0 -0
  77. package/launchers/aops-server.sh +0 -0
  78. package/package.json +67 -35
  79. package/THIRD_PARTY_NOTICES +0 -16169
  80. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/SKILL.md +0 -47
  81. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/agentspace/SKILL.md +0 -72
  82. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/aops-cli-core/SKILL.md +0 -110
  83. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/chatv3/SKILL.md +0 -59
  84. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/collaborative-work/SKILL.md +0 -81
  85. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/discuss/SKILL.md +0 -66
  86. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/docman/SKILL.md +0 -75
  87. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/projectman/SKILL.md +0 -92
  88. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/sys/SKILL.md +0 -36
  89. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/view/SKILL.md +0 -58
  90. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/working-disciplines/SKILL.md +0 -66
  91. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agent-assets.md +0 -81
  92. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agentspace.md +0 -183
  93. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-cli.md +0 -1108
  94. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-system.md +0 -102
  95. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/chatv3.md +0 -113
  96. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/docman.md +0 -223
  97. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/projectman.md +0 -233
  98. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/sys.md +0 -94
  99. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/working-disciplines.md +0 -482
  100. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/manifest.json +0 -117
  101. package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +0 -14
  102. package/agent-assets-release/agent-assets/inventory.json +0 -29
  103. package/agent-assets-release/agent-assets/projection.json +0 -8
  104. package/agent-assets-release/agent-assets-release.json +0 -171
  105. package/agent-assets-release/agent-assets-release.sigstore.json +0 -67
  106. package/assets/agent-assets/core/SKILL.md +0 -47
  107. package/assets/agent-assets/core/references/agentspace/SKILL.md +0 -72
  108. package/assets/agent-assets/core/references/aops-cli-core/SKILL.md +0 -110
  109. package/assets/agent-assets/core/references/chatv3/SKILL.md +0 -59
  110. package/assets/agent-assets/core/references/collaborative-work/SKILL.md +0 -81
  111. package/assets/agent-assets/core/references/discuss/SKILL.md +0 -66
  112. package/assets/agent-assets/core/references/docman/SKILL.md +0 -75
  113. package/assets/agent-assets/core/references/projectman/SKILL.md +0 -92
  114. package/assets/agent-assets/core/references/sys/SKILL.md +0 -36
  115. package/assets/agent-assets/core/references/view/SKILL.md +0 -58
  116. package/assets/agent-assets/core/references/working-disciplines/SKILL.md +0 -66
  117. package/assets/agent-assets/core/user-guides/agent-assets.md +0 -81
  118. package/assets/agent-assets/core/user-guides/agentspace.md +0 -183
  119. package/assets/agent-assets/core/user-guides/aops-cli.md +0 -1108
  120. package/assets/agent-assets/core/user-guides/aops-system.md +0 -102
  121. package/assets/agent-assets/core/user-guides/chatv3.md +0 -113
  122. package/assets/agent-assets/core/user-guides/docman.md +0 -223
  123. package/assets/agent-assets/core/user-guides/projectman.md +0 -233
  124. package/assets/agent-assets/core/user-guides/sys.md +0 -94
  125. package/assets/agent-assets/core/user-guides/working-disciplines.md +0 -482
  126. package/assets/agent-assets/gateway/aops/SKILL.md +0 -14
  127. package/dist/lib/agent-assets/gateway.js +0 -15
  128. package/dist/lib/agent-assets/guards.js +0 -23
  129. package/dist/lib/agent-assets/hosted-discovery.js +0 -148
  130. package/dist/lib/agent-assets/hosted-package-input.js +0 -154
  131. package/dist/lib/agent-assets/legacy-pointer-migration.js +0 -677
  132. package/dist/lib/agent-assets/native-fs.js +0 -589
  133. package/dist/lib/agent-assets/roots.js +0 -45
  134. package/dist/lib/agent-assets/runtime-binding-reader.js +0 -545
  135. package/dist/lib/agent-assets/runtime-targets.js +0 -50
  136. package/dist/lib/agent-assets/store-reader.js +0 -1212
  137. package/dist/lib/agent-assets/store-writer.js +0 -1484
  138. package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
  139. package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
  140. package/native/bin/linux-arm64/aops-agent-assets-fs +0 -0
  141. package/native/bin/linux-x64/aops-agent-assets-fs +0 -0
  142. package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
  143. package/native/manifest.json +0 -49
  144. package/native/qualifications/win32-x64.json +0 -23
  145. package/native/tui/darwin-arm64/aops-tui +0 -0
  146. package/native/tui/linux-x64/aops-tui +0 -0
  147. package/native/tui/win32-x64/aops-tui.exe +0 -0
@@ -0,0 +1,245 @@
1
+ ---
2
+ name: aops-bootstrapper-authoring
3
+ version: 5
4
+ description: "Use when an AI agent needs to create or update AOPS hosted bootstrapper prompts or skills, publish canonical versions, refresh .aops hosted mirrors, and install global Codex/Claude pointers without hand-editing mirrors."
5
+ metadata:
6
+ short-description: "AOPS hosted bootstrapper prompt/skill authoring guide"
7
+ tags:
8
+ - aops
9
+ - bootstrapper
10
+ - group:bootstrapper
11
+ - prompt-authoring
12
+ - skill-authoring
13
+ - hosted-assets
14
+ ---
15
+
16
+ # AOPS Bootstrapper Authoring
17
+
18
+ This skill covers the hosted asset authoring flow for AOPS bootstrapper prompts and skills. It is a thin discipline guide; exact command flags come from `aops-cli prompt --help`, `aops-cli skill --help`, and nested help.
19
+
20
+ ## When to use this skill
21
+
22
+ Use this skill when the operator asks to:
23
+
24
+ 1. Create a reusable bootstrapper prompt.
25
+ 2. Create a reusable bootstrapper skill.
26
+ 3. Update an existing hosted bootstrapper prompt or skill.
27
+ 4. Publish a hosted prompt/skill version under `slug:aops`.
28
+ 5. Refresh `.aops/hosted/**` mirrors after hosted publish.
29
+ 6. Install or refresh global Codex prompts/skills and Claude commands/skills pointers.
30
+
31
+ Use `aops-cli-agentspace` for general memory and hosted asset surface orientation. Use `aops-cli-projectman` for PM tracking. Use `aops-cli-core` for sync and guard-flag conventions.
32
+
33
+ ## Ownership model
34
+
35
+ 1. Hosted prompt/skill canonical truth lives in AOPS server/DB and is changed through `aops-cli prompt ...` or `aops-cli skill ...`.
36
+ 2. `.aops/hosted/prompts/**` and `.aops/hosted/skills/**` are read-only mirrors refreshed by `aops-cli sync pull --apply --hosted-project-slug aops --json`.
37
+ 3. Global Codex/Claude files are pointers generated by `pnpm skills:claude-codex:all:sync`; do not hand-edit them as truth.
38
+ 4. Planning and handoff state belongs in Projectman and Agentspace memory, not in the hosted prompt body.
39
+
40
+ ## Required metadata
41
+
42
+ For bootstrapper prompt shells, use these tags:
43
+
44
+ ```bash
45
+ --tag aops --tag bootstrapper --tag group:bootstrapper --tag codex-prompt --tag claude-command
46
+ ```
47
+
48
+ For bootstrapper skill shells, use these tags:
49
+
50
+ ```bash
51
+ --tag aops --tag bootstrapper --tag group:bootstrapper
52
+ ```
53
+
54
+ Recommended extra tags:
55
+
56
+ - `prompt-authoring`
57
+ - `skill-authoring`
58
+ - `hosted-assets`
59
+ - domain or workflow tags such as `memory`, `summary`, `collab`, `docman`
60
+
61
+ Version `--meta @file.json` should include at least:
62
+
63
+ ```json
64
+ {
65
+ "group": "bootstrapper",
66
+ "bootstrapper": true,
67
+ "codexPrompt": true,
68
+ "claudeCommand": true,
69
+ "tags": ["aops", "bootstrapper", "group:bootstrapper"]
70
+ }
71
+ ```
72
+
73
+ For hosted skills, omit `codexPrompt` / `claudeCommand` unless the skill also ships a prompt wrapper.
74
+
75
+ ## Prompt authoring workflow
76
+
77
+ 1. Confirm command shape:
78
+
79
+ ```bash
80
+ aops-cli prompt --help
81
+ aops-cli prompt list --help
82
+ aops-cli prompt create --help
83
+ aops-cli prompt version create --help
84
+ aops-cli prompt version publish --help
85
+ ```
86
+
87
+ 2. Search existing prompts:
88
+
89
+ ```bash
90
+ aops-cli prompt list --project-name aops --name "<name>" --json
91
+ ```
92
+
93
+ 3. Create shell when needed:
94
+
95
+ ```bash
96
+ aops-cli prompt create --project-name aops \
97
+ --name "<name>" \
98
+ --description "<description>" \
99
+ --status published \
100
+ --tag aops \
101
+ --tag bootstrapper \
102
+ --tag group:bootstrapper \
103
+ --tag codex-prompt \
104
+ --tag claude-command \
105
+ --apply --json
106
+ ```
107
+
108
+ 4. Create and publish a version:
109
+
110
+ ```bash
111
+ aops-cli prompt version create --project-name aops \
112
+ --prompt-id <prompt-id> \
113
+ --content @./prompt.md \
114
+ --meta @./meta.json \
115
+ --apply --json
116
+
117
+ aops-cli prompt version publish --project-name aops \
118
+ --id <prompt-version-id> \
119
+ --apply --json
120
+ ```
121
+
122
+ ## Skill authoring workflow
123
+
124
+ 1. Confirm command shape:
125
+
126
+ ```bash
127
+ aops-cli skill --help
128
+ aops-cli skill list --help
129
+ aops-cli skill create --help
130
+ aops-cli skill version create --help
131
+ aops-cli skill version publish --help
132
+ ```
133
+
134
+ 2. Search existing skills:
135
+
136
+ ```bash
137
+ aops-cli skill list --hosted-project-slug aops --name "<skill-name>" --json
138
+ ```
139
+
140
+ 3. Create shell when needed:
141
+
142
+ ```bash
143
+ aops-cli skill create --hosted-project-slug aops \
144
+ --name "<skill-name>" \
145
+ --description "<description>" \
146
+ --short-description "<short>" \
147
+ --tag aops \
148
+ --tag bootstrapper \
149
+ --tag group:bootstrapper \
150
+ --apply --json
151
+ ```
152
+
153
+ 4. Create and publish a version:
154
+
155
+ ```bash
156
+ aops-cli skill version create --hosted-project-slug aops \
157
+ --skill-id <skill-id> \
158
+ --content @./SKILL.md \
159
+ --entry-file SKILL.md \
160
+ --skill-standard aops-skill-v1 \
161
+ --meta @./meta.json \
162
+ --apply --json
163
+
164
+ aops-cli skill version publish --hosted-project-slug aops \
165
+ --id <skill-version-id> \
166
+ --apply --json
167
+ ```
168
+
169
+ ## Mirror and pointer workflow
170
+
171
+ After publishing hosted assets:
172
+
173
+ ```bash
174
+ aops-cli sync pull --apply --hosted-project-slug aops --json
175
+ pnpm skills:claude-codex:all:sync
176
+ pnpm skills:claude-codex:all:check
177
+ ```
178
+
179
+ `skills:claude-codex:all:sync` / `all:check` cover skill pointers AND hosted
180
+ prompt pointers (Codex prompts + Claude commands). The plain
181
+ `pnpm skills:claude-codex:sync` / `check` variants pass `--skills-only` and
182
+ silently skip prompt/command pointers — never rely on them after publishing a
183
+ prompt. Raw equivalent of the full sync:
184
+
185
+ ```bash
186
+ node ../../scripts/sync-aops-skills-to-codex.mjs --apply --json --repos .,../<sibling-repo>
187
+ ```
188
+
189
+ Expected healthy pointer check:
190
+
191
+ - `missing: 0`
192
+ - `stale: 0`
193
+ - new hosted prompts appear under `~/.codex/prompts` and `~/.claude/commands`
194
+ - new hosted skills appear under `~/.codex/skills/<name>/SKILL.md` and `~/.claude/skills/<name>/SKILL.md`
195
+
196
+ Claude Code command support can vary by build; treat `~/.claude/commands` as a best-effort user command/bootstrap pointer target.
197
+
198
+ ### Canonical home routing
199
+
200
+ Global pointers written by `pnpm skills:claude-codex:all:sync` order their candidate
201
+ list by **canonical home**: the repo whose own slug matches the hosted asset's
202
+ `sourceProjectSlug` is primary; any other repo is fallback. Tie-breaker is the
203
+ hosted `pulledAt` timestamp. This is on top of the always-first cwd-relative
204
+ read step (Step 1 inside every pointer); the ordering only matters for
205
+ repo-outside runtimes that fall through to the candidate list.
206
+
207
+ - A bootstrapper published under `slug:aops` has its canonical home in the
208
+ **aops repo** (`<aops-repo>/.aops/hosted/`). Global pointer puts aops repo
209
+ first.
210
+ - A bootstrapper published under `slug:eops` has its canonical home in the
211
+ **eops repo** (`<eops-repo>/.aops/hosted/`). Global pointer puts eops repo
212
+ first.
213
+
214
+ Implication when picking the slug for a new bootstrapper:
215
+
216
+ - Pick the slug that matches the asset's actual domain so it lives in the right
217
+ repo. A domain-eops bootstrapper (e.g. `eops-bom-grid-resume-bootstrap`)
218
+ published under `slug:aops` will still work via cwd-relative read inside the
219
+ aops repo, but the global pointer will route repo-outside runtimes to the
220
+ aops repo as canonical home and the asset will not appear in the eops repo's
221
+ mirror at all. That is a pointer-routing bug, not just a scope choice.
222
+ - Cross-domain helper assets that genuinely apply to both repos (such as
223
+ generic collab/memory bootstrappers) stay under `slug:aops`, since aops is
224
+ the AOPS tooling home.
225
+
226
+ Implementation reference: the repository-relative `scripts/sync-aops-skills-to-codex.mjs`
227
+ (`dedupeSources` + `isCanonicalHome`).
228
+
229
+ ## Anti-patterns
230
+
231
+ 1. Hand-editing `.aops/hosted/**` as canonical truth.
232
+ 2. Hand-editing global Codex/Claude pointer files instead of running sync.
233
+ 3. Creating a prompt or skill without `bootstrapper` and `group:bootstrapper` tags.
234
+ 4. Copying full domain guides into a prompt body instead of pointing to skills/docs.
235
+ 5. Publishing a new hosted asset without a mirror pull and pointer check.
236
+ 6. Treating a failed server write as if a local mirror patch completed the change.
237
+ 7. Publishing a domain-specific bootstrapper under the wrong slug (e.g. an
238
+ `eops-*` bootstrapper under `slug:aops`). The slug choice also picks the
239
+ canonical-home repo for the global pointer; the wrong slug points
240
+ repo-outside runtimes at the wrong repo and hides the asset from the right
241
+ repo's mirror.
242
+ 8. Running the skills-only pointer sync (`pnpm skills:claude-codex:sync`) after
243
+ publishing a hosted prompt and assuming prompt/command pointers were
244
+ installed; prompt pointers require the full sync
245
+ (`pnpm skills:claude-codex:all:sync`).
@@ -0,0 +1,186 @@
1
+ ---
2
+ name: aops-cli-agentspace
3
+ description: "Use when an AI agent needs the AOPS CLI Agentspace playbook for token-efficient memory and resume, checkpoints and summaries, experience and playbooks, reusable hosted assets, agent profiles, activity, or structured discussions."
4
+ metadata:
5
+ version: "28"
6
+ supersedes: "v27"
7
+ short-description: "AOPS Agentspace memory, knowledge, assets, and discuss guide"
8
+ tags:
9
+ - aops
10
+ - cli
11
+ - agentspace
12
+ - memory
13
+ - checkpoint
14
+ - experience
15
+ - playbook
16
+ - skill-discovery
17
+ - agent-profile
18
+ - discuss
19
+ - help-first
20
+ ---
21
+
22
+ # AOPS CLI Agentspace
23
+
24
+ Agentspace owns durable context and reusable knowledge: memory, experience,
25
+ playbooks, prompts, resources, artifacts, skills, agent profiles, activity, and
26
+ structured discussion topics.
27
+
28
+ It does not own all work state. Projectman owns tasks/plans/issues/reviews,
29
+ Docman owns versioned documents, ChatV3 owns coordination and wake traffic, and
30
+ Git owns repository history.
31
+
32
+ This is a thin skill. Exact flags live in the smallest `aops ... --help`
33
+ surface, the current `Agentspace User Guide` owns normative workflow, and the
34
+ running server schema owns raw hosted payloads.
35
+
36
+ ## Start Here
37
+
38
+ 1. Run `aops host health --json`.
39
+ 2. Read the smallest nested help for the intended family.
40
+ 3. Load a bounded brief/search result; do not preload every body.
41
+ 4. Use metadata-only `skill ask`/`skill search` before opening skill content.
42
+ 5. Preview guarded writes where supported, apply once, and read back the exact
43
+ record.
44
+ 6. Never hand-edit `.aops` mirrors as canonical state.
45
+
46
+ ```bash
47
+ aops host health --json
48
+ aops mem brief --subject project --q "<current work>" --limit 5 --json
49
+ aops skill ask --q "<what the agent needs>" --limit 3 --json
50
+ ```
51
+
52
+ ## Canonical Sources
53
+
54
+ 1. Hosted `Agentspace User Guide` in project `slug:aops`, group
55
+ `domain-guides`, document `agentspace-user-guide`, current v20
56
+ `9c805e63-3372-4a8c-a3dc-adfa5d4b8577`.
57
+ 2. Targeted read-only mirror:
58
+ `.aops/docman/domain-guides/agentspace-user-guide.md`.
59
+ 3. Public release source:
60
+ `assets/docs/user-guides/agentspace-user-guide.md`.
61
+ 4. Exact flags: `aops <family> <command> --help`.
62
+ 5. Live discovery:
63
+ `aops agent tools --domain agentspace --q "<capability>" --limit 20 --summary --json`.
64
+ 6. Raw input contract:
65
+ `aops agent schema --tool <agentspace-tool-id> --summary --json`.
66
+
67
+ When freshness matters, pull only the intended guide and search its mirror:
68
+
69
+ ```bash
70
+ aops doc mirror pull --project-slug aops \
71
+ --document-slug agentspace-user-guide --apply --json
72
+ aops doc scope search --project-slug aops \
73
+ --q "Agentspace <topic>" --local --json
74
+ aops view doc-page agentspace-user-guide#<section-slug> --max-bytes 6000
75
+ ```
76
+
77
+ ## Retrieval Ladder
78
+
79
+ Use broad-to-specific reads:
80
+
81
+ ```bash
82
+ aops mem brief --subject <kind> --q "<focus>" --limit 5 --json
83
+ aops mem synopsis --subject <kind> --q "<focus>" --limit 5 --json
84
+ aops mem search --subject <kind> --q "<terms>" --limit 8 --json
85
+ aops mem resume --subject <kind> --q "<focus>" --limit 8 --json
86
+ aops mem get --id <memory-id> --json
87
+ ```
88
+
89
+ Memory is an evidence pack, not a transcript. Record purpose, canonical refs,
90
+ concrete outcome, validation/review evidence, open risk, and next action. Never
91
+ store secrets, raw logs, full documents, or chat transcripts.
92
+
93
+ ## Checkpoint, Summary, and Retention
94
+
95
+ Use a checkpoint after a meaningful milestone, decision, blocker, or handoff:
96
+
97
+ ```bash
98
+ aops mem checkpoint --project-slug <slug> --as milestone \
99
+ --content '@checkpoint.md' --task-id <task-id> --sprint-id <sprint-id> \
100
+ --source-ref <ref> --validation-state "<evidence>" \
101
+ --next-action "<next safe action>" --apply --json
102
+ ```
103
+
104
+ Use `aops mem summary` at session end or an explicit summary point. Ordinary
105
+ continuation uses `mem checkpoint`. Durable closeout needs explicit closeout,
106
+ durable, and confirmation flags; inspect help first.
107
+
108
+ `mem compact` and `mem prune` are review-first retention tools. Run preview,
109
+ inspect the selected source set, and do not write summaries, mark source, prune,
110
+ or delete without explicit operator intent. Destructive pruning requires
111
+ `--apply --confirm`.
112
+
113
+ ## Experience, Playbooks, and Hosted Assets
114
+
115
+ Capture experience only when it is reusable and evidence-backed:
116
+
117
+ ```bash
118
+ aops exp search --project-slug <slug> --q "<need>" --limit 5 --json
119
+ aops exp capture --project-slug <slug> --type problem-solution \
120
+ --title "<lesson>" --problem "<problem>" --solution "<verified solution>" \
121
+ --pm-ref <projectman-ref> --source-ref <source-ref> --preview --json
122
+ aops playbook list --project-slug <slug> --area <area> \
123
+ --review-state accepted --limit 5 --json
124
+ ```
125
+
126
+ For prompts, resources, artifacts, and skills, start with summary inventory.
127
+ Prompt and skill bodies may be large:
128
+
129
+ ```bash
130
+ aops prompt version list --summary --json
131
+ aops skill version list --summary --json
132
+ aops skill search --q "<capability>" --limit 5 --json
133
+ aops skill current --id <skill-id> --summary --json
134
+ aops resource list --summary --limit 10 --json
135
+ aops artifact ref list --summary --json
136
+ ```
137
+
138
+ Read a selected `SKILL.md` completely before acting. Hosted prompt/skill
139
+ mirrors are read-only; use create/update/version/publish commands and verify the
140
+ new current version through the server.
141
+
142
+ ## Profiles and Activity
143
+
144
+ Agent profiles compose role intent and prompt/skill/resource references. They
145
+ do not grant runtime permissions or operator approval. Activity is a read-first
146
+ ledger; use `activity list/get --summary` before loading raw payloads.
147
+
148
+ ## Structured Discussion Boundary
149
+
150
+ Use `aops discuss` for material decisions needing independent stances and a
151
+ durable conclusion. Use `aops-cli-discuss` for the full ritual.
152
+
153
+ Important current semantics:
154
+
155
+ - `start --max-turns` is unsupported and fails;
156
+ - `--objective` is folded into the hosted question;
157
+ - `turn --to` supports only `operator`;
158
+ - `turn --reply-to` takes an integer turn sequence;
159
+ - waits exit `0` when the agent may write, `20` for an operator block, `21` for
160
+ ready/terminal state, and `22` on timeout.
161
+
162
+ Discuss does not wake ChatV3 listeners. Use `aops-cli-chat` and `aops chat` for
163
+ coordination. Use `aops-cli-projectman` for the resulting plan/review truth.
164
+
165
+ ## Schema Fallback
166
+
167
+ Do not guess hosted tool ids, payloads, or fixed tool counts:
168
+
169
+ ```bash
170
+ aops agent tools --domain agentspace --q "<capability>" \
171
+ --limit 20 --summary --json
172
+ aops agent schema --tool <agentspace-tool-id> --summary --json
173
+ aops agent invoke --tool <agentspace-tool-id> \
174
+ --input '@payload.json' --preview --json
175
+ ```
176
+
177
+ Use raw invoke only when sugar is insufficient and the exact schema is known.
178
+
179
+ ## Done When
180
+
181
+ - canonical records were read back after mutation;
182
+ - memory contains bounded evidence rather than duplicated truth;
183
+ - relevant help/guide/schema sources agree;
184
+ - destructive retention actions, if any, had explicit operator authority;
185
+ - any material decision, plan, review, document, or wake traffic is stored in
186
+ its actual owner rather than Agentspace by convenience.
@@ -0,0 +1,64 @@
1
+ ---
2
+ name: aops-cli-board-lifecycle
3
+ version: 6
4
+ description: "Deprecation pointer skill: aops-cli-board-lifecycle is folded into aops-cli-projectman. Routes agents to projectman v5+ for board lifecycle, kanban-task, sprint, microtask, issue, feedback, and handoff policy. Kept for at least one release cycle for compatibility."
5
+ metadata:
6
+ supersedes: "v5"
7
+ short-description: "Deprecated: board lifecycle folded into aops-cli-projectman"
8
+ tags:
9
+ - cli
10
+ - projectman
11
+ - board-lifecycle
12
+ - deprecated
13
+ - compatibility
14
+ ---
15
+
16
+ # AOPS CLI Board Lifecycle — v4 Deprecation Pointer
17
+
18
+ This skill is intentionally folded into **`aops-cli-projectman`**. Board lifecycle policy, kickoff/resume/closeout cadence, sprint linking, microtask plan patching, and memory write rhythm now live as integral sections of the Projectman skill and **`domains/projectman/USER_GUIDE.md`**.
19
+
20
+ This pointer is kept for compatibility (existing prompts, AGENTS references, runtime catalogs). New task prompts should prefer `aops-cli-projectman` directly.
21
+
22
+ ## Where to go now
23
+
24
+ | Need | Skill / source |
25
+ |------|---------------|
26
+ | Board kickoff/resume/closeout, kanban task CRUD, sprint phases/microtasks, issue/feedback, handoff | **`aops-cli-projectman`** |
27
+ | Deep mechanics, full anti-pattern list, troubleshooting, workflow scenarios | **`domains/projectman/USER_GUIDE.md`** (Anti-patterns, Troubleshooting, Common workflow scenarios sections) |
28
+ | CLI guard flags, sync, hosted mirror, raw invoke | `aops-cli-core` |
29
+ | discuss / decision / consensus | `aops-cli-discuss` |
30
+ | chat / coordination / wake | `aops-cli-chat` |
31
+ | Document graph CRUD/search/publish | `aops-cli-docman` |
32
+ | Memory + experience + agent-profile + assets | `aops-cli-agentspace` |
33
+
34
+ ## Canonical entry points (quick reference)
35
+
36
+ ```bash
37
+ aops-cli pm board kickoff --board <slug> --title "..." --goal "..." --apply --json
38
+ aops-cli pm board resume --board <slug> --json
39
+ aops-cli pm board closeout --board <slug> --content "..." --apply --json
40
+ aops-cli pm sprint update-plan --id <sprint-id> --phases-json @./plan.json --apply --json
41
+ aops-cli pm sprint set-status --id <sprint-id> --status completed --apply --json
42
+ ```
43
+
44
+ ## Deep reading
45
+
46
+ ```bash
47
+ # broad search across the project's guides (local mirror, no id needed):
48
+ aops-cli doc scope search --project-slug aops --q "board lifecycle" --local --json
49
+ aops-cli doc scope search --project-slug aops --q "closeout" --local --json
50
+ # exact search within a known guide version:
51
+ aops-cli doc search --document-version-id <docver-id> --q "board lifecycle" --local --json
52
+ # section tree of a known guide version (hosted-only — no local fallback):
53
+ aops-cli doc outline get --document-version-id <docver-id> --json
54
+ ```
55
+
56
+ There is no `aops-cli docman … --slug` command — use the ladder; reference sections by document title + section name + keywords, not bare numbers.
57
+
58
+ For flag-level detail: `aops-cli pm board --help`, `aops-cli pm sprint --help`, etc.
59
+
60
+ ## Compatibility note
61
+
62
+ `aops-cli-board-lifecycle` is **not hard-sunset**. It remains a stable index. Future maintenance happens in `aops-cli-projectman` and `domains/projectman/USER_GUIDE.md`; do not expand this file back into a full board lifecycle guide.
63
+
64
+ If `--help` and this skill disagree, `--help` wins (canonical command surface). If the user guide and this skill disagree, the user guide wins.
@@ -0,0 +1,204 @@
1
+ ---
2
+ name: aops-cli-chat
3
+ version: 10
4
+ description: "Use when an AI agent needs the AOPS ChatV3 CLI playbook: encrypted channel/session handling, rooms, members, presence, bindings, cursor-safe read/listen loops, destructive guards, live tool discovery, or the optional experimental wake watcher."
5
+ metadata:
6
+ supersedes: "v9"
7
+ short-description: "AOPS ChatV3 encrypted coordination and cursor-safety guide"
8
+ tags:
9
+ - aops
10
+ - cli
11
+ - chatv3
12
+ - chat
13
+ - encrypted
14
+ - channels
15
+ - rooms
16
+ - sessions
17
+ - cursors
18
+ - bindings
19
+ - help-first
20
+ ---
21
+
22
+ # AOPS CLI ChatV3
23
+
24
+ `aops chat` is the canonical ChatV3 command tree for encrypted channels,
25
+ rooms, agent-owned local sessions, coordination messages, cursors, presence,
26
+ and loose references. `aops chatv3` is a compatibility alias for existing
27
+ automation; prefer `aops chat` in new work.
28
+
29
+ ChatV3 is FLOW, not durable truth. Discuss owns design decisions, Projectman
30
+ owns plans/issues/reviews, Agentspace owns durable memory, and Docman owns
31
+ guides/ADRs/specifications.
32
+
33
+ This public operational skill does not grant access to proprietary ChatV3
34
+ source code or restricted packages. The source repository's `LICENSE` and
35
+ `NOTICE` remain controlling.
36
+
37
+ ## Start Here
38
+
39
+ 1. Run `aops host health --json`.
40
+ 2. Read `aops chat --help` and the smallest nested `--help` command.
41
+ 3. List your own saved sessions; never guess or borrow another agent's session.
42
+ 4. Read from the saved cursor before listening.
43
+ 5. Treat `listen` exit `22` as a normal no-message timeout.
44
+ 6. Escalate beyond sugar only through live tool discovery and schema reads.
45
+
46
+ ```bash
47
+ aops host health --json
48
+ aops chat --help
49
+ aops chat session list --json
50
+ aops agent tools --domain chatv3 --summary --json
51
+ ```
52
+
53
+ The installed launcher may be `aops`; the package launcher is `aops-cli`.
54
+
55
+ ## Canonical Sources
56
+
57
+ 1. Hosted `ChatV3 User Guide` in `slug:aops`, group `domain-guides`, document
58
+ slug `chatv3-user-guide`.
59
+ 2. Targeted mirror:
60
+ `.aops/docman/domain-guides/chatv3-user-guide.md` (read-only cache).
61
+ 3. Exact flags: `aops chat <command> --help`.
62
+ 4. Live capability discovery:
63
+ `aops agent tools --domain chatv3 --summary --json`.
64
+ 5. Raw input contract:
65
+ `aops agent schema --tool <chatv3-tool-id> --summary --json`.
66
+
67
+ Help wins for sugar flags. The running schema wins for raw hosted payloads.
68
+ The current published user guide wins for normative workflow.
69
+
70
+ When guide freshness matters, pull only the intended hosted document:
71
+
72
+ ```bash
73
+ aops doc mirror pull --project-slug aops \
74
+ --document-slug chatv3-user-guide --apply --json
75
+ aops doc scope search --project-slug aops --q "ChatV3 cursor" --local --json
76
+ ```
77
+
78
+ ## Fast Command Map
79
+
80
+ | Need | Primary surface |
81
+ | --- | --- |
82
+ | Create or join | `chat channel create`, `chat join` |
83
+ | List channels/sessions | `chat channels`, `chat session list`, `chat session get` |
84
+ | Rooms | `chat room list`, `create`, `join`, `leave`, `members` |
85
+ | Channel members | `chat member list`, `remove`, `restore` |
86
+ | Messages | `chat send`, `chat read`, `chat listen` |
87
+ | Presence | `chat presence set`, `chat presence list` |
88
+ | References | `chat binding add`, `list`, `remove` |
89
+ | Orientation | `chat room brief`, `chat room summary` |
90
+ | Leave or forget local state | `chat leave`, `chat session forget` |
91
+ | Guarded cleanup | `chat channel delete`, `chat channel purge-before` |
92
+ | Unsupported sugar | `agent tools`, `agent schema`, then `agent invoke` |
93
+
94
+ ## Secret and Session Rules
95
+
96
+ 1. A `chv3://join/...` invite contains secrets. Never put it in source, issues,
97
+ PM records, screenshots, logs, shell history, or chat messages.
98
+ 2. Session stores contain encrypted member credentials and mode-specific key
99
+ material. Never print, copy, or commit them.
100
+ 3. Use only the session created for this agent/task. If `session list` is empty,
101
+ stop and request a fresh securely transferred invite.
102
+ 4. Use `--session-owner` only when ownership is explicit. Use `--store-path`
103
+ for isolated tests, not to bypass owner separation.
104
+ 5. `--force` replaces local session state; never use it merely to silence an
105
+ ownership or identity conflict.
106
+
107
+ ## Cursor-Safe Foreground Loop
108
+
109
+ ```bash
110
+ aops chat read --session <session-id> --room <room> \
111
+ --after-seq <saved-cursor> --json
112
+
113
+ aops chat listen --session <session-id> --room <room> \
114
+ --after-seq <latest-seq> --timeout-sec 55 --json
115
+
116
+ # After processing the batch, write receipts from the previous cursor.
117
+ aops chat read --session <session-id> --room <room> \
118
+ --after-seq <previous-saved-cursor> --limit <batch-size> \
119
+ --mark-delivered --mark-read --json
120
+ ```
121
+
122
+ - `read` and `listen` return `messages`, `messageCount`, `latestSeq`, and
123
+ `caughtUp`; `messages: []` is valid.
124
+ - Exit `0` means messages arrived. Exit `22` means a normal timeout.
125
+ - Detect a gap when the first returned `seq` is greater than the saved cursor
126
+ plus one. Keep the cursor unchanged and read again from the last contiguous
127
+ processed sequence.
128
+ - `latestSeq` is the maximum returned sequence or the supplied cursor, not the
129
+ room high-water mark. With a bounded page, `caughtUp: false` only means the
130
+ page was non-empty; continue until a read returns no messages.
131
+ - Mark delivered/read only after processing the returned messages.
132
+ - Keep listening bounded and foreground unless the operator explicitly asks
133
+ for persistent monitoring.
134
+
135
+ ## Coordination Boundary
136
+
137
+ Send short outcomes and canonical ids. Prefer a binding over burying an
138
+ important reference in prose:
139
+
140
+ ```bash
141
+ aops chat binding add --session <session-id> --room <room> \
142
+ --binding-type projectman.review-request --ref-id <rr-id> \
143
+ --title "Review request" --json
144
+ ```
145
+
146
+ A room ACK is not a review approval. Use Projectman RR/status/result ids as
147
+ review truth. Use Discuss for final design stances. Compose durable facts from
148
+ `room summary`; do not copy source messages verbatim into memory.
149
+
150
+ ## Live Tool Discovery
151
+
152
+ The public CLI is intentionally smaller than the hosted ChatV3 domain. Do not
153
+ invent tool ids or payloads:
154
+
155
+ ```bash
156
+ aops agent tools --domain chatv3 --summary --json
157
+ aops agent schema --tool <chatv3-tool-id> --summary --json
158
+ aops agent invoke --tool <chatv3-tool-id> \
159
+ --input '@./payload.json' --json
160
+ ```
161
+
162
+ Use raw invoke only after the exact schema is known and sugar is insufficient.
163
+
164
+ ## Destructive and Privileged Operations
165
+
166
+ - `channel delete` is irreversible and requires the exact `--confirm-slug`.
167
+ - `channel purge-before` is preview-only unless `--confirm` is supplied.
168
+ - Member remove/restore changes access; verify channel-versus-room scope first.
169
+ - Never run destructive cleanup without explicit operator authorization.
170
+
171
+ ```bash
172
+ aops chat channel purge-before --before <ISO-timestamp> --json
173
+ # Apply only after separate approval:
174
+ aops chat channel purge-before --before <ISO-timestamp> --confirm --json
175
+ ```
176
+
177
+ ## Experimental Wake Watcher
178
+
179
+ `aops chat wake-watch` is experimental, optional, foreground-only guidance.
180
+ Do not start it as part of a normal read/listen loop. It needs an exact target
181
+ Codex session, explicit operator approval, a complete ignore set, and isolated
182
+ watcher identity. Read its live `--help` before any use.
183
+
184
+ ## Troubleshooting
185
+
186
+ - No saved session: stop; obtain a new invite securely.
187
+ - Cursor gap: read the missing contiguous sequence; do not force cursors.
188
+ - Join/decrypt failure: verify invite host, session owner/store, encryption
189
+ mode, channel state, nested help, then live schema.
190
+ - Missing capability: use `agent tools` and `agent schema`; do not guess.
191
+ - Timeout exit `22`: no new messages; this is not a persistent failure.
192
+ - Mirror disagreement: hosted Docman is canonical; refresh the targeted mirror.
193
+
194
+ Never log member tokens, invite fragments, wrap secrets, epoch keys, or server
195
+ keyring material while diagnosing.
196
+
197
+ ## Done When
198
+
199
+ - the exact intended session and room are used;
200
+ - cursor reads are contiguous and processed messages are acknowledged;
201
+ - durable ids/outcomes are recorded in their owning system;
202
+ - no secret or session-store material is exposed;
203
+ - no watcher or destructive operation ran without explicit authorization;
204
+ - guide or schema citations support any nontrivial raw invocation.