@aopslabs/aops 0.3.31 → 0.3.33

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
@@ -1,47 +0,0 @@
1
- ---
2
- name: aops
3
- description: Route AOPS Community requests to concise packaged references, current CLI help, or live tool schema without selecting a work method.
4
- ---
5
-
6
- # AOPS Community
7
-
8
- AOPS is a self-hostable operations layer. The `aops` command installs and
9
- operates a local server, connects to remote servers, discovers live domain
10
- capabilities, and manages verified machine-local agent assets.
11
-
12
- This root skill is deliberately small. Read exactly one matching reference,
13
- then open only the relevant heading in its linked user guide. Working
14
- disciplines are available after setup, but are never selected merely because
15
- this gateway loaded.
16
-
17
- ## Route the request
18
-
19
- | Need | Read first |
20
- | --- | --- |
21
- | install/setup, PostgreSQL, auth, server, health, sync, views, client assets | `references/aops-cli-core/SKILL.md` |
22
- | read-only local dashboard, sprint/task/board views, focused digest | `references/view/SKILL.md` |
23
- | durable memory, reusable prompts/skills/resources/artifacts, experience | `references/agentspace/SKILL.md` |
24
- | boards, tasks, sprints/plans, issues, feedback, reviews, handoffs | `references/projectman/SKILL.md` |
25
- | versioned documents, sections, links, search, answer, mirrors | `references/docman/SKILL.md` |
26
- | encrypted coordination rooms, foreground listen, messages, membership | `references/chatv3/SKILL.md` |
27
- | structured multi-agent decision/consensus topics | `references/discuss/SKILL.md` |
28
- | counters, countries, event store, rate limits | `references/sys/SKILL.md` |
29
- | choose or explain a working method | `references/working-disciplines/SKILL.md` |
30
- | run the full optional collaborative session playbook | `references/collaborative-work/SKILL.md` |
31
- | another installed/custom domain | `aops agent tools --domain <domain> --summary --json` |
32
-
33
- `aops chat` is the canonical ChatV3 surface; `aops chatv3` is a compatibility
34
- alias for the same command tree. Fileman, Tasker/Runner, and the
35
- interactive loop are not part of the default Community capability closure;
36
- discover them only if the connected server actually advertises them.
37
-
38
- ## Authority order
39
-
40
- 1. Packaged references explain ownership, safety, and common examples.
41
- 2. Current nested `aops ... --help` owns sugar command flags.
42
- 3. `aops agent schema --tool <domain.operation> --summary --json` owns raw invoke payload fields.
43
- 4. `aops agent invoke --tool <domain.operation> --input '@payload.json' --preview --json` is the generic fallback.
44
-
45
- Use `aops agent tools --summary --json` when the installed server differs from
46
- the packaged core. Do not load every reference or whole guide into context, and
47
- do not infer server topology or capabilities from a repository checkout.
@@ -1,72 +0,0 @@
1
- ---
2
- name: aops-cli-agentspace
3
- description: Use for durable memory, synopsis, reusable prompts/skills/resources/artifacts, experience, agent profiles, and other Agentspace-owned context through the AOPS CLI.
4
- ---
5
-
6
- # Agentspace
7
-
8
- Agentspace owns durable agent/operator context and reusable hosted assets.
9
- Project execution belongs to Projectman; versioned documents belong to Docman.
10
- ChatV3 coordination and structured decisions have their own references.
11
-
12
- Read only the needed section of `../../user-guides/agentspace.md`. Exact flags
13
- come from live nested help.
14
-
15
- ## Durable memory
16
-
17
- ```bash
18
- aops mem --help
19
- aops mem list --json
20
- aops mem search --q "migration decision" --limit 10 --json
21
- aops mem write --mode resume --subject project --content "<bounded handoff>" --apply
22
- aops mem list --durability sticky --json
23
- aops mem synopsis --subject project --json
24
- ```
25
-
26
- Use memory for decisions, constraints, handoffs, and facts that must survive a
27
- session. Keep content concise and scoped. Do not use memory as a duplicate task
28
- tracker or paste secrets, logs, or large documents into it.
29
-
30
- ## Reusable hosted assets
31
-
32
- ```bash
33
- aops prompt list --json
34
- aops skill list --json
35
- aops resource list --json
36
- aops artifact list --json
37
- aops exp list --json
38
- ```
39
-
40
- Create/update/version commands are guarded writes. Inspect their help first:
41
-
42
- ```bash
43
- aops skill version create --help
44
- aops skill version publish --help
45
- aops prompt version create --help
46
- aops resource create --help
47
- ```
48
-
49
- Hosted prompt/skill truth lives on the server. Local mirrors are read-only
50
- context. Artifact records are metadata/pointers, not a large binary store.
51
-
52
-
53
- ## Raw discovery fallback
54
-
55
- ```bash
56
- aops agent tools --domain agentspace --q memory --limit 20 --summary --json
57
- aops agent schema --tool agentspace.<operation> --summary --json
58
- aops agent invoke --tool agentspace.<operation> --input '@payload.json' --preview --json
59
- ```
60
-
61
- Always inspect schema before raw writes. Use `--apply` only after scope and
62
- payload are clear; use an idempotency key for retryable mutations when
63
- supported. Read back the exact record after mutation.
64
-
65
- ## Boundaries
66
-
67
- - Planning, tasks, sprints, issues, feedback, reviews: Projectman.
68
- - Document graphs, page content, publish/search/answer: Docman.
69
- - ChatV3 coordination/wake: `aops chat`.
70
- - Structured decision transcript: `aops discuss`.
71
- - `aops chatv3`: compatibility alias for `aops chat`.
72
- - Repo `.aops/**`: derived cache, never the canonical authoring source.
@@ -1,110 +0,0 @@
1
- ---
2
- name: aops-cli-core
3
- description: Use for AOPS installation, PostgreSQL setup, server lifecycle, health, authentication, sync, views, verified agent assets, and schema-first capability discovery.
4
- ---
5
-
6
- # AOPS CLI core
7
-
8
- Use the installed `aops` command as runtime truth. Read only the matching
9
- section in `../../user-guides/aops-cli.md`, `../../user-guides/aops-system.md`,
10
- or `../../user-guides/agent-assets.md` when this quick map is insufficient.
11
-
12
- ## Install and diagnose
13
-
14
- ```bash
15
- aops --version
16
- aops setup init
17
- aops setup ai
18
- aops setup guide
19
- aops server status --json
20
- aops server health --json
21
- aops cockpit
22
- ```
23
-
24
- Parameterless `aops` opens the Rust TUI for operator-led first-run choices.
25
- `aops setup init` is its argument-driven engine for an existing PostgreSQL,
26
- AOPS-managed PostgreSQL container, detected local PostgreSQL, or a remote AOPS
27
- server. Local server paths plan/apply/verify migrations, start the npm server,
28
- leave starter/demo user data untouched, and install verified agent assets. The
29
- CLI never opens a menu or asks a question. Database secrets belong only in TUI
30
- private fields or private input files/environment; never paste them into chat
31
- or argv.
32
-
33
- For an unattended run, inspect readiness before apply:
34
-
35
- ```bash
36
- aops setup init --path 1 --yes --json
37
- aops setup init --path 2 --yes --json
38
- aops setup init --path 3 --yes --json
39
- ```
40
-
41
- Use the exact next action returned by readiness. Do not bypass TLS choices,
42
- asset ownership conflicts, or migration lineage errors.
43
-
44
- ## Server and target lifecycle
45
-
46
- ```bash
47
- aops server start --json
48
- aops server stop --json
49
- aops server restart --json
50
- aops server logs --tail 100
51
- aops host health --json
52
- aops host diagnostics --json
53
- aops target list --json
54
- aops target doctor <name> --json
55
- ```
56
-
57
- Use `aops server <command> --help` before reset, rollback, or recovery. Never
58
- remove operator-owned PostgreSQL/Docker resources. Setup path 2 may manage only
59
- its exact label-verified AOPS container and volume.
60
-
61
- ## Verified agent assets
62
-
63
- ```bash
64
- aops assets status --verify quick --json
65
- aops assets install --target all --apply --json
66
- aops assets resolve --gateway aops --json
67
- aops assets discover --query "sprint planning" --limit 5 --json
68
- ```
69
-
70
- `--target all` means every registered runtime, not only Codex and Claude.
71
- Install/repair fails closed on unknown user files. The core makes rich guides
72
- and disciplines available but never selects a working method.
73
-
74
- ## Cache and read-only views
75
-
76
- ```bash
77
- aops sync status --json
78
- aops sync pull --apply --json
79
- aops view dashboard --style agent
80
- aops view digest --task <task-id> --depth deep
81
- ```
82
-
83
- Hosted records remain canonical. Repository `.aops/**` content is a read-only
84
- cache/presentation surface; never hand-edit it as hosted truth.
85
-
86
- ## Capability discovery
87
-
88
- ```bash
89
- aops agent tools --summary --json
90
- aops agent tools --domain <domain> --q <intent> --limit 10 --summary --json
91
- aops agent schema --tool <domain.operation> --summary --json
92
- aops agent invoke --tool <domain.operation> --input '@payload.json' --preview --json
93
- ```
94
-
95
- Use sugar when nested `--help` exposes it. Direct invoke requires live schema.
96
- If a write is intended, preview when supported and add `--apply`; destructive
97
- operations may additionally require `--confirm`. Stop guessing after a 400 or
98
- validation error and inspect full schema/OpenAPI.
99
-
100
- ## Guard contract
101
-
102
- - `--json`: stable automation output.
103
- - `--yes`: compatibility/fail-fast behavior; never implies mutation approval.
104
- - `--preview`: validate/plan without applying when supported.
105
- - `--apply`: execute a guarded write.
106
- - `--confirm`: acknowledge destructive scope.
107
- - `--idempotency-key`: make supported retries deterministic.
108
-
109
- Current nested `--help` wins over packaged examples. Live schema wins for raw
110
- payload fields and the live catalog wins for mounted-domain availability.
@@ -1,59 +0,0 @@
1
- ---
2
- name: aops-cli-chat
3
- description: Use for ChatV3 encrypted channels, invitations, agent-owned local sessions, membership, presence, bindings, messages, cursors, and foreground listening through aops chat.
4
- ---
5
-
6
- # AOPS Chat (ChatV3)
7
-
8
- `aops chat` is the canonical encrypted ChatV3 channel/room surface for agent
9
- coordination and product-room work. `aops chatv3` is a compatibility alias for
10
- the same command tree; it is not a second messaging system.
11
-
12
- Read only the relevant section of `../../user-guides/chatv3.md`. Exact flags
13
- come from nested help; direct payloads come from live schema.
14
-
15
- ## Common entry points
16
-
17
- ```bash
18
- aops chat --help
19
- aops chat channel --help
20
- aops chat session --help
21
- aops chat member --help
22
- aops chat send --help
23
- aops chat read --help
24
- aops chat listen --help
25
- ```
26
-
27
- Typical foreground coordination:
28
-
29
- ```bash
30
- aops chat session list --json
31
- aops chat listen --session <id> --room general --after-seq <n> --timeout-sec 60 --json
32
- aops chat send --session <id> --room general "<message>" --json
33
- aops chat read --session <id> --room general --after-seq <n> --mark-delivered --mark-read --json
34
- ```
35
-
36
- Keep foreground listening active while work remains. A listen timeout means
37
- only “no message in this bounded interval”; it does not end the task.
38
-
39
- Local sessions are isolated by detected agent owner (for example a Codex
40
- thread), or by `AOPS_CHATV3_SESSION_OWNER` / `--session-owner`. Session ids,
41
- member tokens, and room keys must never be copied between agent owners or
42
- pasted into chat, logs, source, or shell history. Legacy shared stores are
43
- claimed once and migrated into the first local owner that uses that session.
44
-
45
- `send --mark-read` and `send --mark-delivered` advance cursors only when the
46
- pre-send cursor is exactly caught up. If another message arrived first, the
47
- send succeeds but the cursor advance is skipped; read the gap explicitly.
48
-
49
- For a write not exposed by sugar, inspect the exact live schema first:
50
-
51
- ```bash
52
- aops agent tools --domain chatv3 --summary --json
53
- aops agent schema --tool chatv3.<operation> --summary --json
54
- aops agent invoke --tool chatv3.<operation> --input '@payload.json' --preview --json
55
- ```
56
-
57
- ChatV3 is coordination/wake truth, not the durable Projectman review record or
58
- the structured `discuss` transcript. Bind or summarize outcomes into the
59
- correct owner when durability matters.
@@ -1,81 +0,0 @@
1
- ---
2
- name: aops-collaborative-work
3
- description: Use when the operator explicitly wants the full AOPS session playbook for solo work, async review, or ChatV3 room collaboration with Projectman-backed execution.
4
- ---
5
-
6
- # AOPS collaborative work
7
-
8
- Default to `solo`. Collaboration is an operator choice, not an automatic
9
- requirement. Select one mode at kickoff and use
10
- `../working-disciplines/SKILL.md` only when a working method must also be chosen.
11
-
12
- ## Compact startup
13
-
14
- ```bash
15
- aops sync status --json
16
- aops view dashboard --style agent
17
- aops start --task "<task>" --json --out ./aops-start.md
18
- aops pm board resume --board <slug> --json
19
- ```
20
-
21
- Use `result.promptRef.path` or the output file; do not request inline/full output
22
- unless the prompt body is actually needed. Ask the operator only for fields
23
- explicitly marked operator-owned, especially agent identities and roles.
24
-
25
- ## Mode 1: solo
26
-
27
- 1. Read the smallest relevant guide/help surface.
28
- 2. Create or identify the Projectman task/plan appropriate to the work size.
29
- 3. Implement one bounded slice.
30
- 4. Run focused validation and read back hosted mutations.
31
- 5. Update status/handoff; keep the board open unless closeout was requested.
32
-
33
- Useful reads:
34
-
35
- ```bash
36
- aops view digest --task <task-id> --depth shallow
37
- aops pm issue list --status open --json
38
- aops pm review-request list --status open --json
39
- ```
40
-
41
- ## Mode 2: solo plus async review
42
-
43
- After implementation and local validation, create a durable review request:
44
-
45
- ```bash
46
- aops pm review-request create --help
47
- aops pm review-request list --status open --json
48
- aops pm review-request result --help
49
- ```
50
-
51
- The reviewer records the result in Projectman. Material findings become
52
- Projectman issues or bounded fix slices; chat is only the optional wake channel.
53
- Do not claim review completion from a message alone.
54
-
55
- ## Mode 3: ChatV3 room
56
-
57
- ```bash
58
- aops chat join "<invite>" --handle <agent> --save-session --json
59
- aops chat binding add --session <id> --room general \
60
- --binding-type projectman.kanban-task --ref-id <task-id> --json
61
- aops chat room brief --session <id> --room general --for <peer> --json
62
- aops chat listen --session <id> --room general \
63
- --after-seq <last-seq> --timeout-sec 60 --json
64
- ```
65
-
66
- Each participant owns a non-overlapping slice and reports completion with
67
- validation evidence. Use `aops discuss` only for a material consensus decision.
68
- `aops chatv3` remains an alias for this same ChatV3 surface.
69
-
70
- ## During work
71
-
72
- ```bash
73
- aops start --reminder --task "<task>" --area <area> --json
74
- aops mem checkpoint --help
75
- aops pm status audit --help
76
- ```
77
-
78
- Prefer the detail ladder: this skill → one family reference → nested `--help` →
79
- live `agent schema`. Never preload every guide. Never invent another agent's
80
- stance, close operator-owned surfaces, or mark work done without requested
81
- validation and durable status.
@@ -1,66 +0,0 @@
1
- ---
2
- name: aops-cli-discuss
3
- description: Use for a structured server-canonical design decision or consensus topic with independent turns, explicit final stances, completeness checks, and deterministic conclusion.
4
- ---
5
-
6
- # AOPS Discuss
7
-
8
- `aops discuss` owns a durable decision transcript and conclusion. Use hosted
9
- `aops chat` (ChatV3) to wake/coordinate peers and Projectman to track review/execution.
10
- Do not start a discussion ritual for a small reversible implementation choice.
11
-
12
- The complete owner and troubleshooting model is in the Discuss sections of
13
- `../../user-guides/agentspace.md`.
14
-
15
- ## Start and inspect
16
-
17
- ```bash
18
- aops discuss --help
19
- aops discuss start --title "<decision>" --question "<question>" \
20
- --participant <agent-a> --participant <agent-b> --apply --json
21
- aops discuss status --topic <topic> --json
22
- aops discuss get --topic <topic> --json
23
- ```
24
-
25
- Give every participant enough neutral context to research independently. Role
26
- assignment belongs to the operator; an agent must not invent or swap identities.
27
-
28
- ## Record turns
29
-
30
- ```bash
31
- aops discuss turn --topic <topic> --agent <agent> \
32
- --kind statement --from-file ./turn.md --apply --json
33
- aops discuss wait --topic <topic> --agent <agent> \
34
- --timeout-sec 540 --interval-sec 5 --json
35
- ```
36
-
37
- For material design decisions, record multiple substantive non-final turns so
38
- tradeoffs and objections are visible. Do not use chat messages as a substitute
39
- for the canonical topic transcript.
40
-
41
- ## Finalize safely
42
-
43
- ```bash
44
- aops discuss turn --topic <topic> --agent <agent> \
45
- --kind final-stance --from-file ./final.md --apply --json
46
- aops discuss status --topic <topic> --json
47
- aops discuss conclude --topic <topic> --apply --json
48
- ```
49
-
50
- Conclude only when every required participant has a `final-stance` and status
51
- reports no missing final stances. Outputs must contain real decisions and
52
- follow-ups, not `_TBD_` placeholders.
53
-
54
- There is no automatic bridge: explicitly reference the concluded topic from a
55
- Projectman task/review/issue or durable memory, then send a short ChatV3
56
- wake if another agent must act.
57
-
58
- For raw operations:
59
-
60
- ```bash
61
- aops agent tools --domain agentspace --q discuss --limit 20 --summary --json
62
- aops agent schema --tool agentspace.<discuss-operation> --summary --json
63
- ```
64
-
65
- Prefer slug/ID selectors returned by creation. Treat timeouts as state to
66
- report, not permission to fabricate another participant's stance.
@@ -1,75 +0,0 @@
1
- ---
2
- name: aops-cli-docman
3
- description: Use for Docman document groups, documents, versions, sections/pages, search, answer, publish, mirrors, markdown import, and schema-first payloads through AOPS.
4
- ---
5
-
6
- # Docman
7
-
8
- Docman owns the versioned document graph and retrieval/publishing surfaces.
9
- Read the matching section of `../../user-guides/docman.md` for the complete
10
- model; use nested help for current flags.
11
-
12
- ## Discover and read
13
-
14
- ```bash
15
- aops doc --help
16
- aops doc group list --project-slug <slug> --json
17
- aops doc list --project-slug <slug> --json
18
- aops doc outline get --document-version-id <id> --titles-only --depth 0 --json
19
- aops doc search --document-version-id <id> --q "<query>" --json
20
- aops doc answer --help
21
- ```
22
-
23
- Prefer IDs from list/get output. Search is retrieval, not necessarily the full
24
- page body. Use outline for structure and the supported page/version read
25
- surface for exact content.
26
-
27
- ## Author and version
28
-
29
- ```bash
30
- aops doc group create --help
31
- aops doc create --help
32
- aops doc version create --help
33
- aops doc section create --help
34
- aops doc page create --help
35
- aops doc page draft-save --help
36
- ```
37
-
38
- Create graph nodes through CRUD commands when IDs are known. Use markdown
39
- import for intentional bulk import, not for a one-page edit. Every mutation is
40
- preview/apply guarded where supported; read back the current version after
41
- publishing.
42
-
43
- Compose or materialize the exact candidate before review and retain its
44
- version ids plus `contentHash`. Put the complete immutable evidence reference
45
- in both the Projectman review request and an approved review result. Saving a
46
- mutable draft changes its hash and requires a linked re-review; a page-version
47
- id alone is not approval evidence.
48
-
49
- ## Search, answer, publish, and mirrors
50
-
51
- ```bash
52
- aops doc scope search --project-slug <slug> --q "<query>" --json
53
- aops doc publish --help
54
- aops doc mirror pull --project-slug <slug> --group-uid <group> --out-dir <dir> --apply --json
55
- ```
56
-
57
- Mirrors are read-only projections. Change the hosted document, publish/set the
58
- current version as required, then refresh the mirror. `aops sync pull` does not
59
- replace Docman mirror pull.
60
-
61
- ## Raw fallback
62
-
63
- ```bash
64
- aops agent tools --domain docman --q document --limit 20 --summary --json
65
- aops agent schema --tool docman.<operation> --summary --json
66
- aops agent invoke --tool docman.<operation> --input '@payload.json' --preview --json
67
- ```
68
-
69
- If sugar reports a validation error, stop varying flags blindly. Compare the
70
- live operation schema/OpenAPI with the wrapper payload, then use raw invoke only
71
- with an exact reviewed payload.
72
-
73
- Docman owns document semantics; external storage owns binary file bytes and
74
- recovery, Projectman owns execution status, and Agentspace owns durable agent
75
- memory/reusable assets.
@@ -1,92 +0,0 @@
1
- ---
2
- name: aops-cli-projectman
3
- description: Use for Projectman boards, tasks, sprints and implementation plans, microtasks, issues, feedback, reviews, handoffs, and server-canonical planning through AOPS.
4
- ---
5
-
6
- # Projectman
7
-
8
- Projectman is the execution and review source of truth. It supports board-only,
9
- sprint-only, combined, and small-task flows; do not force a ceremony the
10
- operator did not choose. Read the relevant heading in
11
- `../../user-guides/projectman.md` for deeper examples.
12
-
13
- ## Inspect the live surface
14
-
15
- ```bash
16
- aops pm --help
17
- aops pm board --help
18
- aops pm ktask --help
19
- aops pm sprint --help
20
- aops pm utask --help
21
- aops pm issue --help
22
- aops pm feedback --help
23
- aops pm review-request --help
24
- aops pm handoff --help
25
- ```
26
-
27
- ## Common planning flow
28
-
29
- ```bash
30
- aops pm board list --json
31
- aops pm board create --name "Delivery" --apply --json
32
- aops pm ktask create --board <board> --column Todo --title "<task>" --apply --json
33
- aops pm sprint create --task <task-id> --name "Sprint 1" --goal "<outcome>" --apply --json
34
- aops pm utask create --sprint <sprint-id> --title "<verifiable step>" --apply --json
35
- ```
36
-
37
- Use clear outcome text: what is needed, why it matters, and how completion will
38
- be proven. IDs returned by writes should be reused; do not resolve ambiguous
39
- titles repeatedly.
40
-
41
- ## Read and resume
42
-
43
- ```bash
44
- aops pm board get --slug <board-slug> --json
45
- aops pm ktask get --id <task-id> --json
46
- aops pm sprint get --id <sprint-id> --json
47
- aops view digest --task <task-id> --depth deep
48
- aops pm handoff resume --subject ktask --id <task-id> --json
49
- ```
50
-
51
- Local `view` output is a read-only presentation cache. Writes always go through
52
- hosted Projectman commands.
53
-
54
- ## Issues, feedback, and review
55
-
56
- ```bash
57
- aops pm issue create --help
58
- aops pm feedback create --help
59
- aops pm review-request create --help
60
- aops pm review-request result --help
61
- aops pm handoff write --help
62
- ```
63
-
64
- Use an issue for a material blocker/defect, feedback for observations or
65
- suggestions, and review-request/result for an auditable review gate. A chat
66
- message may wake a reviewer but is not the review record.
67
-
68
- For mutable Docman drafts, bind the review request to the exact composed
69
- evidence reference containing the page/document version id and its
70
- `contentHash=sha256:<digest>`. An approved result must repeat that complete
71
- reference exactly. A later draft edit changes the hash, so the earlier approval
72
- does not cover the new bytes; open a linked re-review.
73
-
74
- ## Status discipline
75
-
76
- 1. Inspect the record before changing status.
77
- 2. Use the exact nested help and stable IDs.
78
- 3. Apply one bounded mutation and read it back.
79
- 4. Mark done only after requested validation actually passes.
80
- 5. Ordinary session stop writes a handoff/status; board/room closeout remains
81
- an explicit operator decision.
82
-
83
- ## Raw fallback
84
-
85
- ```bash
86
- aops agent tools --domain projectman --q review --limit 20 --summary --json
87
- aops agent schema --tool projectman.<operation> --summary --json
88
- aops agent invoke --tool projectman.<operation> --input '@payload.json' --preview --json
89
- ```
90
-
91
- Do not guess raw fields. If sugar returns validation errors, compare the sugar
92
- payload with live schema before using a direct invoke workaround.
@@ -1,36 +0,0 @@
1
- ---
2
- name: aops-cli-sys
3
- description: Use for live Sys capabilities including counters, shared country lookup, event-store operations, and rate-limit state through schema-first AOPS agent tools.
4
- ---
5
-
6
- # Sys
7
-
8
- Sys is a mounted Community domain but has no dedicated sugar family. Start
9
- with compact live discovery and use raw invoke only after reading its schema.
10
- Detailed examples are in `../../user-guides/sys.md`.
11
-
12
- ```bash
13
- aops agent tools --domain sys --summary --json
14
- aops agent tools --domain sys --q country --limit 10 --examples --summary --json
15
- aops agent schema --tool sys.country.resolve-iso2 --summary --json
16
- ```
17
-
18
- The current capability families are:
19
-
20
- - `sys.counter.*` — tenant-scoped formatted counters;
21
- - `sys.country.*` — shared ISO country lookup/search;
22
- - `sys.event-store.*` — append/read/cleanup domain events;
23
- - `sys.rate-limiter.*` — check, record, reset, inspect, and cleanup limits.
24
-
25
- Reads can be invoked without `--apply`. Database mutations require `--apply`;
26
- cleanup/reset operations should be previewed and treated as destructive even
27
- when the live contract does not require a separate `--confirm` flag.
28
-
29
- ```bash
30
- aops agent invoke --tool sys.country.resolve-iso2 --input '{"body":{"iso2Code":"TR"}}' --json
31
- aops agent invoke --tool sys.counter.preview-next --input '{"body":{"counterKey":"inventory.item.code","prefix":"ITM","width":5}}' --json
32
- aops agent invoke --tool sys.counter.next --input '@counter-next.json' --preview --json
33
- ```
34
-
35
- Examples are illustrative. The connected server's `agent schema` and tool
36
- detail are authoritative for required fields, tenant context, and guard flags.