@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,169 @@
1
+ ---
2
+ name: aops-cli-fileman
3
+ version: 7
4
+ description: "Use when an AI agent needs AOPS CLI Fileman operator playbook: target tracking, snapshot/file lineage, diff/restore/copy/zip, clean, and content-pointer-only owner boundary. Thin guide; command --help and domains/fileman/USER_GUIDE.md are authoritative."
5
+ metadata:
6
+ supersedes: "v6"
7
+ short-description: "AOPS CLI Fileman thin discipline guide"
8
+ tags:
9
+ - cli
10
+ - fileman
11
+ - snapshot
12
+ - diff
13
+ - restore
14
+ - copy
15
+ - backup
16
+ - target
17
+ - retention
18
+ - help-first
19
+ ---
20
+
21
+ # AOPS CLI Fileman
22
+
23
+ Fileman owns filesystem target tracking, immutable snapshots, file lineage, restore/copy/zip exports, and cleanup. `aops-cli file ...` is only the operator sugar surface. When this skill conflicts with live `--help` or `domains/fileman/USER_GUIDE.md`, those win.
24
+
25
+ ## Use This Skill For
26
+
27
+ 1. Track a directory root and capture a baseline snapshot.
28
+ 2. Create/list/get/diff/rebase/restore/copy/zip snapshots.
29
+ 3. Read file history, file content, file diffs, and single-file restore/extract.
30
+ 4. Clean stale Fileman state through the hosted graph.
31
+ 5. Decide when to use a Fileman pointer instead of pasting content into PM, Docman, or memory.
32
+
33
+ Use `aops-cli-core` for guard flags and schema fallback; use `aops-cli-docman` for document content; use `aops-cli-agentspace` for memory/resource/artifact/skill surfaces.
34
+
35
+ ## Authoritative Sources
36
+
37
+ 1. Live command shape:
38
+ - `aops-cli file --help`
39
+ - `aops-cli file target --help`
40
+ - `aops-cli file target track --help`
41
+ - `aops-cli file snapshot --help`
42
+ - `aops-cli file file --help`
43
+ - `aops-cli file clean --help`
44
+ 2. Domain semantics: `domains/fileman/USER_GUIDE.md` and `domains/fileman/architecture.md`.
45
+ 3. Raw hosted contracts only when sugar is insufficient: `aops-cli agent schema --tool fileman.<operation> --json`.
46
+
47
+ There is no default `.aops/fileman/**` authoring mirror. Fileman is hosted-canonical; the repo normally stores only references to Fileman ids or storage pointers.
48
+
49
+ ## Live Command Map
50
+
51
+ | Need | Command |
52
+ |---|---|
53
+ | Track a root and baseline snapshot | `aops-cli file target track --root-path <dir> --apply --json` |
54
+ | Orient before mutation | `aops-cli file inspect target --target-id <id> --json`; for one file use `aops-cli file inspect file --target-id <id> --path <rel> --json` |
55
+ | Read target inventory | `aops-cli file target list|get` |
56
+ | Create/list/get snapshots | `aops-cli file snapshot create|list|get` |
57
+ | Diff snapshots | Prefer `aops-cli file snapshot diff --from-snapshot-id <older> --to-snapshot-id <newer>`; use `--target-id <id>` only when Fileman's default pair/direction is acceptable |
58
+ | Rebase baseline | `aops-cli file snapshot rebase --target-id <id> --dry-run --preview` then `--apply --confirm` |
59
+ | Restore snapshot tree | `aops-cli file snapshot restore --snapshot-id <id> --dry-run`, then `--apply --confirm` |
60
+ | Copy snapshot tree | `aops-cli file snapshot copy --target-id <id> --output-path <dir> --apply` |
61
+ | Zip snapshot tree | `aops-cli file snapshot zip --target-id <id> --output-path <staging> --zip-path <zip> --apply` |
62
+ | File history | `aops-cli file file history --target-id <id> --path <rel>` |
63
+ | File content | `aops-cli file file get --snapshot-id <snapshot-id> --path <rel>` |
64
+ | File diff | `aops-cli file file diff --from-file-version-id <a> --to-file-version-id <b>` |
65
+ | Restore one file | `aops-cli file file restore --target-id <id> --path <rel> --dry-run`, then `--apply --confirm` |
66
+ | Cleanup | `aops-cli file clean --target-id <id> --dry-run --preview`, then `--apply --confirm` |
67
+
68
+ Important correction: live CLI nests diff/restore/copy/zip under `file snapshot ...` and single-file operations under `file file ...`. Do not use stale top-level shapes such as `aops-cli file restore` or `aops-cli file diff`.
69
+
70
+ ## Root Path Rule
71
+
72
+ `file target track --root-path` tracks a directory root. If the operator gives a single file, track its parent directory and use the file-relative path through `file file ...`:
73
+
74
+ ```bash
75
+ aops-cli file target track --name "<anchor>" --root-path "<parent-dir>" --apply --json
76
+ aops-cli file file history --target-id <target-id> --path "<relative/file.ext>" --json
77
+ ```
78
+
79
+ Current CLI/server guard rejects non-directory roots with `target_path_not_directory:<path>`.
80
+
81
+ ## Common Workflows
82
+
83
+ Safety shorthand: `--preview` validates the hosted mutation envelope; `--dry-run` is Fileman domain input that previews filesystem or cleanup effects. For destructive restore/rebase/clean, run dry-run first, then rerun with `--apply --confirm` only after reviewing the plan.
84
+
85
+ ### Track And Snapshot
86
+
87
+ ```bash
88
+ aops-cli file target track --name "<anchor>" --root-path "<absolute-dir>" \
89
+ --tag "<tag>" --label "<baseline label>" --message "<why>" \
90
+ --apply --yes --json
91
+
92
+ aops-cli file snapshot create --target-id <target-id> \
93
+ --label "<checkpoint>" --message "<why>" --apply --json
94
+ ```
95
+
96
+ For JSON handoff, read ids from `result.data.targetId`, `result.data.snapshotId`, or the mirrored `artifacts.targetId` / `artifacts.snapshotId` convenience fields. Do not assume nested `snapshot.id`; Fileman snapshot DTOs expose `snapshotId`.
97
+
98
+ ### Diff And Restore
99
+
100
+ ```bash
101
+ aops-cli file snapshot diff --target-id <target-id> --json
102
+ aops-cli file snapshot diff --from-snapshot-id <base> --to-snapshot-id <head> --json
103
+
104
+ aops-cli file snapshot restore --snapshot-id <snapshot-id> --dry-run --json
105
+ aops-cli file snapshot restore --snapshot-id <snapshot-id> \
106
+ --backup-before-restore --apply --confirm --json
107
+ ```
108
+
109
+ For chronological diffs, prefer explicit older-to-newer ids. `file snapshot diff --target-id` lets Fileman pick the pair and direction, which may be surprising when an agent expects an addition-style patch.
110
+
111
+ ### Copy Or Zip For Handoff
112
+
113
+ ```bash
114
+ aops-cli file snapshot copy --target-id <target-id> --snapshot-id <snapshot-id> \
115
+ --output-path "<output-dir>" --apply --json
116
+
117
+ aops-cli file snapshot zip --target-id <target-id> --snapshot-id <snapshot-id> \
118
+ --output-path "<staging-dir>" --zip-path "<archive.zip>" --apply --json
119
+ ```
120
+
121
+ ### Single-File Recovery
122
+
123
+ ```bash
124
+ aops-cli file file history --target-id <target-id> --path "<relative/file.ext>" --json
125
+ aops-cli file file get --snapshot-id <snapshot-id> --path "<relative/file.ext>" --json
126
+ aops-cli file file diff \
127
+ --from-file-version-id <base-file-version-id> \
128
+ --to-file-version-id <head-file-version-id> --json
129
+
130
+ aops-cli file file restore --target-id <target-id> --path "<relative/file.ext>" \
131
+ --snapshot-id <snapshot-id> --dry-run --json
132
+ aops-cli file file restore --target-id <target-id> --path "<relative/file.ext>" \
133
+ --snapshot-id <snapshot-id> --backup-before-restore --apply --confirm --json
134
+ ```
135
+
136
+ `file file history` returns `result.data.versions[]`; use each row's `fileVersionId` for `file file diff`. `file file get` uses `--snapshot-id` + `--path`; it does not take `--target-id`.
137
+
138
+ ### Cleanup
139
+
140
+ ```bash
141
+ aops-cli file clean --target-id <target-id> --dry-run --preview --json
142
+ aops-cli file clean --target-id <target-id> --missing-only --apply --confirm --json
143
+ ```
144
+
145
+ `--dry-run` is cleanup input, not the command guard. Pair it with `--preview` to inspect cleanup without mutation. To remove a temporary tracked target, make the root missing or target a missing root, then run `file clean --target-id <id> --missing-only --apply --confirm --json`. Fileman does not currently expose `file target delete` or `file target untrack` sugar.
146
+
147
+ Use `file clean` instead of manually deleting snapshot files; manual deletion can break hosted graph consistency.
148
+
149
+ ## Deep Reading
150
+
151
+ Use targeted reads, not full dumps:
152
+
153
+ ```bash
154
+ aops-cli doc scope search --project-slug aops --q "fileman snapshot restore" --local --json
155
+ aops-cli doc search --document-version-id <docver-id> --q "restore" --local --json
156
+ aops-cli view doc-page <document-slug>#<section-slug> --max-bytes 6000
157
+ aops-cli doc outline get --document-version-id <docver-id> --titles-only --depth 2 --json
158
+ ```
159
+
160
+ `doc scope search` is broad and can rank source docs above guide docs. `doc search --local` is retrieval/search, not a guaranteed full section-body reader. Use `view doc-page` when you need the actual mirrored section body. There is no `aops-cli docman ... --slug` command.
161
+
162
+ ## Anti-Patterns
163
+
164
+ 1. Guessing stale top-level commands instead of live nested help.
165
+ 2. Tracking a single file as `--root-path`; track the parent directory and use relative file operations.
166
+ 3. Treating live path state as snapshot history; snapshots are immutable history and live state may drift.
167
+ 4. Embedding large file bodies into memory/PM/Docman instead of referencing Fileman target/snapshot/file-version ids.
168
+ 5. Restoring without dry-run and explicit `--apply --confirm`.
169
+ 6. Manually deleting snapshot storage instead of `aops-cli file clean`.
@@ -0,0 +1,128 @@
1
+ ---
2
+ name: aops-cli-mission
3
+ version: 3
4
+ description: "Use when an AOPS agent needs hosted Agentspace mission command discipline: create/list/get/update/resume, mission.policy seed via --policy-json, active Projectman implementation-plan ref, start --resume integration, and mission vs Projectman/memory ownership boundaries."
5
+ metadata:
6
+ short-description: "AOPS CLI mission command guide"
7
+ tags:
8
+ - aops
9
+ - cli
10
+ - mission
11
+ - agentspace
12
+ - policy
13
+ - resume
14
+ - start
15
+ ---
16
+
17
+ # AOPS CLI Mission
18
+
19
+ Use this skill when a task involves `aops-cli mission ...`, mission policy,
20
+ mission resume packs, or the mission/start bridge.
21
+
22
+ If this skill conflicts with `aops-cli mission --help`, `aops-cli start --help`,
23
+ or the Agentspace User Guide, those sources win.
24
+
25
+ ## Ownership
26
+
27
+ Mission is Agentspace-owned durable intent and policy.
28
+
29
+ Projectman remains execution and review truth:
30
+
31
+ - kanban task
32
+ - sprint-backed implementation plan
33
+ - microtasks
34
+ - issues
35
+ - review requests and RRR
36
+
37
+ Memory remains durable carry-forward context. Chat remains coordination/wake.
38
+ Discuss remains material decision truth.
39
+
40
+ ## Command map
41
+
42
+ | Need | Command |
43
+ | --- | --- |
44
+ | Create mission | `aops-cli mission create --objective "<text>" --policy-json '<json>' --apply --json` |
45
+ | List missions | `aops-cli mission list --summary --json` |
46
+ | Read one mission | `aops-cli mission get --id <id> --json` |
47
+ | Patch mission | `aops-cli mission update --id <id> --policy-json '<json>' --apply --json` |
48
+ | Resume mission | `aops-cli mission resume --id <id> --depth light --limit 8 --json` |
49
+ | Start from mission | `aops-cli start --resume <mission-id> --mode <mode> --board <board> --json` |
50
+ | Mid-session reminder | `aops-cli start --reminder --task "<current task>" --area <area> --json` |
51
+
52
+ Run live help before unfamiliar flags:
53
+
54
+ ```bash
55
+ aops-cli mission --help
56
+ aops-cli mission create --help
57
+ aops-cli mission resume --help
58
+ aops-cli start --help
59
+ ```
60
+
61
+ ## Policy seed
62
+
63
+ `aops-cli start --json` emits:
64
+
65
+ - `result.mission.discipline`
66
+ - `result.mission.guardrails`
67
+ - `result.mission.policy`
68
+ - `result.mission.policyJson`
69
+ - `result.mission.startPack.policySeed`
70
+
71
+ Current policy seeds conventionally include these top-level groups:
72
+
73
+ - `discipline`
74
+ - `signalMapping`
75
+ - `guardrails`
76
+ - `review`
77
+ - `issue`
78
+ - `memory`
79
+ - `plan`
80
+ - `planning`
81
+ - `orchestration`
82
+ - `vocabBridge`
83
+
84
+ Use `policyJson` with mission create/update:
85
+
86
+ ```bash
87
+ aops-cli mission create --objective "<objective>" --policy-json '<result.mission.policyJson>' --apply --json
88
+ aops-cli mission update --id <mission-id> --policy-json '<result.mission.policyJson>' --apply --json
89
+ ```
90
+
91
+ The policy convention is documented in Docman guide "AOPS Working Disciplines"
92
+ and the `aops-working-disciplines` skill. It is advisory and free-form, not a
93
+ typed mission schema yet.
94
+
95
+ ## Active plan ref
96
+
97
+ `--active-plan <sprint-id>` stores the active Projectman implementation-plan ref.
98
+ The plan id is the underlying sprint id.
99
+
100
+ Do not create a second mission-local plan model.
101
+
102
+ ## Resume discipline
103
+
104
+ Default resume is compact and token-efficient:
105
+
106
+ ```bash
107
+ aops-cli mission resume --id <mission-id> --json
108
+ aops-cli start --resume <mission-id> --json
109
+ ```
110
+
111
+ The compact pack includes mission identity/status, active Projectman plan refs,
112
+ bounded PM/review/issue/memory refs, and the shared `sessionGuidance` pack.
113
+ Use `--full` only when the raw hosted skeleton is truly needed. For a running
114
+ session that only needs rules/playbook/experience refresh, use
115
+ `aops-cli start --reminder --task "<current task>" --area <area> --json`;
116
+ that path is read-only and does not mutate the mission.
117
+
118
+ ## Boundaries and anti-patterns
119
+
120
+ 1. Do not store task progress only in mission body or policy; Projectman owns
121
+ execution truth.
122
+ 2. Do not invent a mission handoff command in this slice; use Projectman handoff
123
+ or `aops-cli mem summary`.
124
+ 3. Do not use mission policy as a typed enum yet. It is free-form with the
125
+ working-discipline convention.
126
+ 4. Do not claim future mission helpers exist until live `aops-cli mission --help`
127
+ exposes them. Use PM/RR/memory evidence today.
128
+ 5. Do not hand-edit hosted mirrors after mission/skill/doc changes.
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: aops-cli-operator-brief
3
+ version: 3
4
+ description: "Use when an AI agent needs to summarize AOPS PM, memory, discussion, or collab history in plain non-technical language for an operator asking what happened, what works, what was decided, or what remains open."
5
+ metadata:
6
+ prompt-ref: "prompt:aops-operator-status-brief"
7
+ supersedes: "v2"
8
+ short-description: "Plain-language AOPS status summary guide"
9
+ tags:
10
+ - aops
11
+ - summary
12
+ - operator-brief
13
+ - projectman
14
+ - agentspace
15
+ - discuss
16
+ - collab
17
+ ---
18
+
19
+ # AOPS Operator Brief
20
+
21
+ Use this skill when the operator asks for a plain-language status summary of a mentioned AOPS subject: a task, sprint, board, memory thread, discussion topic, (historical) collab session, bug, feature, or "what did we do earlier?" style request.
22
+
23
+ The canonical reusable prompt is `prompt:aops-operator-status-brief`. Use that prompt's source priority and output rules.
24
+
25
+ ## Read Order
26
+
27
+ 1. Parse the operator's wording and extract topic keywords or ids.
28
+ 2. Start with PM views:
29
+ - `aops-cli view dashboard --style agent`
30
+ - `aops-cli view task <selector>`
31
+ - `aops-cli view sprint <selector>`
32
+ - `aops-cli view digest --task|--sprint|--board <selector> --depth deep`
33
+ 3. Read memory records in this priority:
34
+ - closeout
35
+ - durable decision
36
+ - handoff or resume checkpoint
37
+ - kickoff
38
+ 4. Read session records only after PM/memory gives the right ids:
39
+ - `aops-cli discuss get <id> --json`
40
+ - Historical collab session records, if any, are read-only files under `.aops/agentspace/collabs/**` (the `aops-cli collab get` command is retired — read the files directly).
41
+ 5. Read review issues, feedback, commit summaries, logs, or browser proof only when they answer the operator's exact question.
42
+
43
+ ## Briefing Discipline
44
+
45
+ - Write for the operator, not for the codebase.
46
+ - Lead with what worked, what changed, and what decision was made.
47
+ - Translate technical terms:
48
+ - `cwd` -> selected repo / working folder
49
+ - `threadId` -> Codex's local conversation handle
50
+ - `pm review-result` (or a historical `collab review-result` record) -> reviewer checked it
51
+ - `closeout` -> the work was closed with approval
52
+ - Keep ids as follow-up handles, not as the main story.
53
+ - If the operator asks "can we use Codex's own session?", answer in product terms: same-machine hint is okay; cross-machine native resume is not assumed.
54
+ - If there is a browser/desktop split, say which mode supports which behavior.
55
+
56
+ ## Output
57
+
58
+ Use short Turkish bullets. Prefer sections like:
59
+
60
+ - Genel durum
61
+ - Kullanici gozuyle ne yapildi
62
+ - Calisiyor muydu
63
+ - Kararlar
64
+ - Kalanlar
65
+ - Kaynaklar
66
+
67
+ Avoid long technical explanations unless the operator explicitly asks.
@@ -0,0 +1,235 @@
1
+ ---
2
+ name: aops-cli-projectman
3
+ version: 19
4
+ description: "Use when an AI agent needs the AOPS CLI Projectman playbook: server-canonical boards, tasks, sprints, microtasks, issues, feedback, review requests/results/re-reviews, status audit, and PM-bound handoff."
5
+ metadata:
6
+ supersedes: "v18"
7
+ short-description: "AOPS CLI Projectman thin discipline guide"
8
+ tags:
9
+ - cli
10
+ - projectman
11
+ - planning
12
+ - kanban
13
+ - sprint
14
+ - issue
15
+ - feedback
16
+ - review-request
17
+ - handoff
18
+ - server-canonical
19
+ - help-first
20
+ ---
21
+
22
+ # AOPS CLI Projectman
23
+
24
+ Projectman owns execution truth: boards, tasks, sprint plans, microtask status,
25
+ issues, feedback, and canonical review requests/results.
26
+
27
+ This is a thin agent guide. Exact flags live in `aops pm ... --help`; normative
28
+ workflow lives in the current `Projectman User Guide`; the running server schema
29
+ wins for raw hosted payloads.
30
+
31
+ ## Start Here
32
+
33
+ 1. Run `aops host health --json`.
34
+ 2. Run `aops project links list --json` and choose the intended project.
35
+ 3. Start with a bounded resume/inventory read, not a full unfiltered dump.
36
+ 4. Read the exact record and nested `--help` before a write.
37
+ 5. Use `--preview` where supported, then `--apply`; delete needs
38
+ `--apply --confirm`.
39
+ 6. Treat `.aops/projectman/**` as a read-only derived cache.
40
+
41
+ The installed launcher may be `aops`; the package launcher is `aops-cli`.
42
+
43
+ `--limit` on `pm issue list` and `pm feedback list` requires a CLI build newer
44
+ than `@aopslabs/aops` 0.3.31. Installed 0.3.31 rejects that flag; until the next
45
+ CLI release, omit it or use the repository-built CLI. Their response envelope
46
+ always stores records in `data` alongside `count`, `shown`, and `hasMore`.
47
+
48
+ ## Use This Skill For
49
+
50
+ - board and column lifecycle;
51
+ - kanban tasks and sprint/microtask plans;
52
+ - issues and feedback;
53
+ - review request, append-only result, and child re-review records;
54
+ - completion/review-scope audit and reconciliation;
55
+ - Projectman-bound cross-session handoff.
56
+
57
+ Use `aops-cli-discuss` for design consensus, `aops-cli-docman` for canonical
58
+ written knowledge, `aops-cli-agentspace` for durable memory, and
59
+ `aops-cli-chat` for coordination/wake.
60
+
61
+ ## Canonical Sources
62
+
63
+ 1. Hosted `Projectman User Guide` in `slug:aops`, group `domain-guides`,
64
+ document `0683979e-8b57-4632-8f88-e021b19ec70c`, current version
65
+ `99d3b4f8-c6aa-4ca8-9fe5-4751bc06a3a9`.
66
+ 2. Repo mirror:
67
+ `.aops/docman/domain-guides/projectman-user-guide.md` (read-only).
68
+ 3. Domain-development source: `domains/projectman/USER_GUIDE.md`.
69
+ 4. Exact flags: `aops pm --help` and the smallest nested `--help`.
70
+ 5. Raw tool discovery: `aops agent tools --domain projectman --summary --json`
71
+ and `aops agent schema --tool <tool-id> --summary --json`.
72
+
73
+ When this skill and help disagree, help wins for flags. When this skill and the
74
+ guide disagree, the published current guide wins for workflow.
75
+
76
+ ## Workflow 0: Select the Project Partition
77
+
78
+ ```bash
79
+ aops project links list --json
80
+ aops pm resume --project-slug <slug> --for <agent-id> --limit 10 --json
81
+ ```
82
+
83
+ Always pass `--project-slug` for a material write when more than one hosted
84
+ project is linked. The local link resolves the destination; the hosted server
85
+ record remains canonical.
86
+
87
+ ## Retrieval Ladder
88
+
89
+ Use the smallest useful surface:
90
+
91
+ 1. compact context:
92
+
93
+ ```bash
94
+ aops pm resume --project-slug <slug> --for <agent-id> --limit 10 --json
95
+ ```
96
+
97
+ 2. bounded inventories:
98
+
99
+ ```bash
100
+ aops pm sprint list --project-slug <slug> --status doing --limit 10 --summary --json
101
+ aops pm issue list --project-slug <slug> --status open --limit 10 --json
102
+ aops pm feedback list --project-slug <slug> --status new --limit 10 --json
103
+ ```
104
+
105
+ 3. exact record:
106
+
107
+ ```bash
108
+ aops pm sprint get --project-slug <slug> --id <sprint-id> --json
109
+ ```
110
+
111
+ 4. status truth:
112
+
113
+ ```bash
114
+ aops pm status audit --project-slug <slug> --task <task-id> --json
115
+ ```
116
+
117
+ 5. deep guide search:
118
+
119
+ ```bash
120
+ aops doc search --document-version-id 99d3b4f8-c6aa-4ca8-9fe5-4751bc06a3a9 --q "<question>" --json
121
+ aops doc answer --document-version-id 99d3b4f8-c6aa-4ca8-9fe5-4751bc06a3a9 --q "<question>" --json
122
+ ```
123
+
124
+ ## Model
125
+
126
+ 1. Board = long-lived work stream.
127
+ 2. Kanban task = operator-visible unit of work.
128
+ 3. Sprint = bounded execution window.
129
+ 4. Phase = grouped section inside a sprint.
130
+ 5. Microtask = smallest explicit status/evidence owner.
131
+ 6. Issue = concrete defect, risk, or blocker.
132
+ 7. Feedback = observation or improvement signal.
133
+ 8. Review request = canonical review record; results are append-only entries.
134
+
135
+ ## Workflow 1: Multi-Step Sprint
136
+
137
+ ```bash
138
+ aops pm ktask create --project-slug <slug> --board <board> --column todo \
139
+ --title "<semantic task>" --apply --json
140
+
141
+ aops pm sprint create --project-slug <slug> --task <task-id> \
142
+ --name "<semantic sprint>" \
143
+ --goal "NE: <work>; NICIN: <why>; DONE-WHEN: <acceptance>" \
144
+ --reference discuss:<topic-id> --apply --json
145
+
146
+ aops pm sprint update-plan --project-slug <slug> --id <sprint-id> \
147
+ --phases-json '@./plan.json' --apply --json
148
+
149
+ aops pm utask update --project-slug <slug> --sprint <sprint-id> \
150
+ --id <utask-id> --status completed --notes "<evidence>" --apply --json
151
+ ```
152
+
153
+ Read the current sprint first. Use `--expected-updated-at` for a full plan edit
154
+ when concurrent work is possible. Prefer `utask update` for one microtask.
155
+
156
+ ## Workflow 2: Review and Re-Review
157
+
158
+ ```bash
159
+ aops pm review-request create --project-slug <slug> --task <task-id> \
160
+ --sprint <sprint-id> --title "<review>" --target-agent <reviewer> \
161
+ --review-scope "sprint:<sprint-id>" --instructions "<checks>" --apply --json
162
+
163
+ aops pm review-request result --project-slug <slug> --id <rr-id> \
164
+ --reviewer <reviewer> --outcome changes_requested \
165
+ --summary "<finding summary>" --issue <issue-id> --apply --json
166
+
167
+ aops pm issue create --project-slug <slug> --source review \
168
+ --review-request <rr-id> --title "<material finding>" \
169
+ --severity high --apply --json
170
+
171
+ aops pm review-request create --project-slug <slug> --parent <rr-id> \
172
+ --title "<re-review>" --target-agent <reviewer> \
173
+ --review-scope "sprint:<sprint-id>" --apply --json
174
+ ```
175
+
176
+ Chat may announce the outcome; Projectman RR/status/result id is canonical.
177
+
178
+ ## Workflow 3: Cross-Session Handoff
179
+
180
+ ```bash
181
+ aops pm handoff write --project-slug <slug> --mode resume \
182
+ --subject sprint --id <sprint-id> --content "<state and next action>" \
183
+ --apply --json
184
+
185
+ aops pm handoff resume --project-slug <slug> --subject sprint \
186
+ --id <sprint-id> --strict-subject --json
187
+ ```
188
+
189
+ Use `aops mem write` directly when no real Projectman subject exists. Do not
190
+ create a fake task solely to hold narrative memory.
191
+
192
+ ## Always Rules
193
+
194
+ 1. Always author Projectman through the hosted gateway; never hand-edit
195
+ `.aops/projectman/**`.
196
+ 2. Always select the intended project explicitly when multiple links exist.
197
+ 3. Always read nested `--help`; fetch live JSON Schema before raw invoke or
198
+ sugar implementation.
199
+ 4. Always use write guards: `--preview`, then `--apply`; destructive operations
200
+ require `--apply --confirm` and explicit authority.
201
+ 5. Never run `pm board closeout` automatically; it is an operator decision.
202
+ 6. Remember `pm sprint set-status` rewrites all nested microtasks; use
203
+ `pm utask update` for granular evidence.
204
+ 7. Keep RR/RRR canonical in Projectman and create/link every material review
205
+ finding explicitly as an issue.
206
+ 8. Keep Projectman thin; durable narrative context belongs in Agentspace
207
+ memory, while PM holds scope, status, refs, acceptance, and short evidence.
208
+ 9. Use semantic titles and `NE`, `NICIN`, `DONE-WHEN`; bind material Discuss
209
+ consensus to the plan and obtain the required plan RR before implementation.
210
+
211
+ ## Top Anti-Patterns
212
+
213
+ - broad unfiltered list reads when a bounded/filterable read is enough;
214
+ - opaque codes as operator-facing titles;
215
+ - a phase with no microtask;
216
+ - replacing a full plan to update one microtask;
217
+ - treating chat acknowledgement as review approval;
218
+ - overwriting a changes-requested RR instead of opening a child RR;
219
+ - using local cache edits to repair hosted state;
220
+ - creating duplicate issues without checking exact existing records.
221
+
222
+ ## Troubleshooting
223
+
224
+ - Wrong project: stop, inspect links, rerun with `--project-slug`.
225
+ - Undeclared input rejected: inspect `agent schema`; keep client-only fields out
226
+ of the hosted payload.
227
+ - `hasMore: true`: raise positive `--limit` or narrow server filters, then use
228
+ exact `get`.
229
+ - Plan ids changed: stop full-plan writes; read current sprint and use narrow
230
+ microtask CRUD.
231
+ - Every microtask status changed: `sprint set-status` is bulk by design.
232
+ - Chat says approved but PM does not: read the canonical RR and result ids.
233
+ - Mirror disagrees: hosted state wins; refresh through supported sync/pull.
234
+
235
+ For full recipes and known exact issue ids, search the current guide.