@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.
- package/README.md +11 -3
- package/aops-assets-release/aops-assets.json.gz +0 -0
- package/aops-assets-release/disciplines/build-review-chat/SKILL.md +33 -0
- package/aops-assets-release/disciplines/coordinator-loop/SKILL.md +33 -0
- package/aops-assets-release/disciplines/design-first-consensus/SKILL.md +30 -0
- package/aops-assets-release/disciplines/solo-pm-loop/SKILL.md +31 -0
- package/aops-assets-release/docs/user-guides/agentspace-user-guide.md +384 -0
- package/aops-assets-release/docs/user-guides/aops-cli-user-guide.md +2067 -0
- package/aops-assets-release/docs/user-guides/chatv3-user-guide.md +500 -0
- package/aops-assets-release/docs/user-guides/docman-user-guide.md +1009 -0
- package/aops-assets-release/docs/user-guides/projectman-user-guide.md +763 -0
- package/aops-assets-release/docs/user-guides/tasker-user-guide.md +244 -0
- package/aops-assets-release/release.json +6 -0
- package/aops-assets-release/roles/coordinator/ROLE.md +28 -0
- package/aops-assets-release/roles/implementer/ROLE.md +27 -0
- package/aops-assets-release/roles/reviewer/ROLE.md +27 -0
- package/aops-assets-release/skills/aops/SKILL.md +112 -0
- package/aops-assets-release/skills/aops-bootstrapper-authoring/SKILL.md +245 -0
- package/aops-assets-release/skills/aops-cli-agentspace/SKILL.md +186 -0
- package/aops-assets-release/skills/aops-cli-board-lifecycle/SKILL.md +64 -0
- package/aops-assets-release/skills/aops-cli-chat/SKILL.md +204 -0
- package/aops-assets-release/skills/aops-cli-collab/SKILL.md +42 -0
- package/aops-assets-release/skills/aops-cli-core/SKILL.md +219 -0
- package/aops-assets-release/skills/aops-cli-discuss/SKILL.md +172 -0
- package/aops-assets-release/skills/aops-cli-docman/SKILL.md +192 -0
- package/aops-assets-release/skills/aops-cli-fileman/SKILL.md +169 -0
- package/aops-assets-release/skills/aops-cli-mission/SKILL.md +128 -0
- package/aops-assets-release/skills/aops-cli-operator-brief/SKILL.md +67 -0
- package/aops-assets-release/skills/aops-cli-projectman/SKILL.md +235 -0
- package/aops-assets-release/skills/aops-cli-sugar-authoring/SKILL.md +188 -0
- package/aops-assets-release/skills/aops-cli-tasker/SKILL.md +108 -0
- package/aops-assets-release/skills/aops-cli-tooling-agent/SKILL.md +112 -0
- package/aops-assets-release/skills/aops-cli-view/SKILL.md +210 -0
- package/aops-assets-release/skills/aops-collaborative-work/SKILL.md +304 -0
- package/aops-assets-release/skills/aops-interactive/SKILL.md +70 -0
- package/aops-assets-release/skills/aops-loop-interactive/SKILL.md +314 -0
- package/aops-assets-release/skills/aops-working-disciplines/SKILL.md +310 -0
- package/aops-assets-release/skills/feature-retirement-flow/SKILL.md +126 -0
- package/assets/skills/aops-install/SKILL.md +18 -17
- package/dist/commands/assets.js +93 -1264
- package/dist/commands/community-server.js +27 -8
- package/dist/commands/community-setup.js +1 -2
- package/dist/commands/discuss.js +1 -1
- package/dist/commands/doc.js +88 -27
- package/dist/commands/docs.js +68 -0
- package/dist/commands/global-update.js +28 -0
- package/dist/commands/init.js +3 -1
- package/dist/commands/loop.js +6379 -0
- package/dist/commands/memory.js +2 -1
- package/dist/commands/pm/index.js +11 -9
- package/dist/commands/pm/projectman.js +33 -2
- package/dist/commands/project.js +6 -6
- package/dist/commands/prompt.js +1 -1
- package/dist/commands/repo-sync.js +92 -27
- package/dist/commands/runner.js +257 -0
- package/dist/commands/skill.js +1 -1
- package/dist/commands/start.js +1 -1
- package/dist/commands/tasker.js +361 -0
- package/dist/commands/view.js +53 -9
- package/dist/lib/commercial-setup-readiness-adapter.js +0 -1
- package/dist/lib/community-migration-snapshot.js +7 -9
- package/dist/lib/community-native-database-recovery.js +5 -14
- package/dist/lib/community-native-lifecycle.js +13 -0
- package/dist/lib/setup-agent-assets-bridge.js +28 -148
- package/dist/lib/setup-agent-assets-release.js +16 -44
- package/dist/lib/setup-init-orchestrator.js +11 -15
- package/dist/lib/simple-agent-assets.js +447 -0
- package/dist/lib/user-guide-sections.js +488 -0
- package/dist/main.js +10 -2
- package/dist/seeds/agents-md.js +3 -3
- package/dist/utils/agents-md.js +1 -1
- package/dist/utils/guide-paths.js +7 -7
- package/dist/utils/hosted-workspace.js +2 -1
- package/dist/utils/repo-first-storage.js +26 -1
- package/dist/utils/session-state.js +2 -7
- package/launchers/aops-cockpit.sh +0 -0
- package/launchers/aops-server.sh +0 -0
- package/package.json +67 -35
- package/THIRD_PARTY_NOTICES +0 -16169
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/SKILL.md +0 -47
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/agentspace/SKILL.md +0 -72
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/aops-cli-core/SKILL.md +0 -110
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/chatv3/SKILL.md +0 -59
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/collaborative-work/SKILL.md +0 -81
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/discuss/SKILL.md +0 -66
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/docman/SKILL.md +0 -75
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/projectman/SKILL.md +0 -92
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/sys/SKILL.md +0 -36
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/view/SKILL.md +0 -58
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/working-disciplines/SKILL.md +0 -66
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agent-assets.md +0 -81
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agentspace.md +0 -183
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-cli.md +0 -1108
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-system.md +0 -102
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/chatv3.md +0 -113
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/docman.md +0 -223
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/projectman.md +0 -233
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/sys.md +0 -94
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/working-disciplines.md +0 -482
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/manifest.json +0 -117
- package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +0 -14
- package/agent-assets-release/agent-assets/inventory.json +0 -29
- package/agent-assets-release/agent-assets/projection.json +0 -8
- package/agent-assets-release/agent-assets-release.json +0 -171
- package/agent-assets-release/agent-assets-release.sigstore.json +0 -67
- package/assets/agent-assets/core/SKILL.md +0 -47
- package/assets/agent-assets/core/references/agentspace/SKILL.md +0 -72
- package/assets/agent-assets/core/references/aops-cli-core/SKILL.md +0 -110
- package/assets/agent-assets/core/references/chatv3/SKILL.md +0 -59
- package/assets/agent-assets/core/references/collaborative-work/SKILL.md +0 -81
- package/assets/agent-assets/core/references/discuss/SKILL.md +0 -66
- package/assets/agent-assets/core/references/docman/SKILL.md +0 -75
- package/assets/agent-assets/core/references/projectman/SKILL.md +0 -92
- package/assets/agent-assets/core/references/sys/SKILL.md +0 -36
- package/assets/agent-assets/core/references/view/SKILL.md +0 -58
- package/assets/agent-assets/core/references/working-disciplines/SKILL.md +0 -66
- package/assets/agent-assets/core/user-guides/agent-assets.md +0 -81
- package/assets/agent-assets/core/user-guides/agentspace.md +0 -183
- package/assets/agent-assets/core/user-guides/aops-cli.md +0 -1108
- package/assets/agent-assets/core/user-guides/aops-system.md +0 -102
- package/assets/agent-assets/core/user-guides/chatv3.md +0 -113
- package/assets/agent-assets/core/user-guides/docman.md +0 -223
- package/assets/agent-assets/core/user-guides/projectman.md +0 -233
- package/assets/agent-assets/core/user-guides/sys.md +0 -94
- package/assets/agent-assets/core/user-guides/working-disciplines.md +0 -482
- package/assets/agent-assets/gateway/aops/SKILL.md +0 -14
- package/dist/lib/agent-assets/gateway.js +0 -15
- package/dist/lib/agent-assets/guards.js +0 -23
- package/dist/lib/agent-assets/hosted-discovery.js +0 -148
- package/dist/lib/agent-assets/hosted-package-input.js +0 -154
- package/dist/lib/agent-assets/legacy-pointer-migration.js +0 -677
- package/dist/lib/agent-assets/native-fs.js +0 -589
- package/dist/lib/agent-assets/roots.js +0 -45
- package/dist/lib/agent-assets/runtime-binding-reader.js +0 -545
- package/dist/lib/agent-assets/runtime-targets.js +0 -50
- package/dist/lib/agent-assets/store-reader.js +0 -1212
- package/dist/lib/agent-assets/store-writer.js +0 -1484
- package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-x64/aops-agent-assets-fs +0 -0
- package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
- package/native/manifest.json +0 -49
- package/native/qualifications/win32-x64.json +0 -23
- package/native/tui/darwin-arm64/aops-tui +0 -0
- package/native/tui/linux-x64/aops-tui +0 -0
- package/native/tui/win32-x64/aops-tui.exe +0 -0
|
@@ -0,0 +1,2067 @@
|
|
|
1
|
+
# AOPS CLI User Guide
|
|
2
|
+
|
|
3
|
+
_Release Notes:_ Refreshes the generated server rollback command row for the M5 database-aware rollback contract; all authored guide content remains unchanged.
|
|
4
|
+
|
|
5
|
+
## 1 Introduction
|
|
6
|
+
|
|
7
|
+
### 1.1 Overview
|
|
8
|
+
|
|
9
|
+
#### 1.1.1 Overview
|
|
10
|
+
|
|
11
|
+
AOPS CLI is the shared command-line entry point for managing a local or
|
|
12
|
+
self-hosted AOPS server. It resolves project context, provides guarded sugar
|
|
13
|
+
commands, and falls back to the server's live agent-tool catalog when needed.
|
|
14
|
+
The AOPS server is canonical for durable Projectman, Agentspace, and Docman
|
|
15
|
+
records; `.aops/**` content in a repository is a refreshable, read-only working
|
|
16
|
+
cache.
|
|
17
|
+
|
|
18
|
+
This guide is long, so agents should not load it into context in full by
|
|
19
|
+
default. Start with `aops <family> --help`, locate relevant content with
|
|
20
|
+
`aops doc search --local --q "<keywords>"`, and read an exact section with
|
|
21
|
+
`aops view doc-page aops-cli-user-guide#<heading>`. If no sugar exists, inspect
|
|
22
|
+
the live contract with `aops agent tools --domain <domain> --summary --json`
|
|
23
|
+
followed by `aops agent schema --tool <tool-id> --summary --json`.
|
|
24
|
+
|
|
25
|
+
Keep these two command types distinct:
|
|
26
|
+
|
|
27
|
+
1. **Sugar commands** make routine work concise and guarded. The running public
|
|
28
|
+
CLI program is always the authoritative command list; use
|
|
29
|
+
`aops <command> --help` for details.
|
|
30
|
+
2. **Hosted agent tools** discover domain capabilities dynamically from the
|
|
31
|
+
server. Start with `aops agent tools`, then use `aops agent schema` or
|
|
32
|
+
`aops agent openapi` when needed. Never guess tool names or payloads.
|
|
33
|
+
|
|
34
|
+
The introduction, concepts, and operating discipline in this document are
|
|
35
|
+
authored manually. The top-level `Appendices` section contains separate
|
|
36
|
+
subsections generated automatically from CLI registrations. When a new sugar
|
|
37
|
+
command is added, run `aops docs user-guide` instead of maintaining a manual
|
|
38
|
+
command list.
|
|
39
|
+
|
|
40
|
+
## 2 Core model
|
|
41
|
+
|
|
42
|
+
### 2.1 Overview
|
|
43
|
+
|
|
44
|
+
#### 2.1.1 Overview
|
|
45
|
+
|
|
46
|
+
The AOPS server owns writes to Projectman, Agentspace, and Docman records. The
|
|
47
|
+
CLI provides guarded sugar commands for routine work and live agent-tool
|
|
48
|
+
discovery for less common operations. The `.aops/**` tree in a repository is a
|
|
49
|
+
reproducible, read-only working cache; editing its Markdown files does not
|
|
50
|
+
update server state.
|
|
51
|
+
|
|
52
|
+
## 3 Shortest setup flow
|
|
53
|
+
|
|
54
|
+
### 3.1 Trusted-local
|
|
55
|
+
|
|
56
|
+
#### 3.1.1 Overview
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
aops-cli init
|
|
60
|
+
aops-cli setup server-env --auth-provider trusted-local
|
|
61
|
+
pnpm --filter @aops/aops-server run dev:prepare
|
|
62
|
+
pnpm --filter @aops/aops-server run dev
|
|
63
|
+
aops-cli host health
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 3.2 Interactive auth
|
|
67
|
+
|
|
68
|
+
#### 3.2.1 Overview
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
aops-cli init
|
|
72
|
+
aops-cli setup server-env --auth-provider interactive auth
|
|
73
|
+
pnpm --filter @aops/aops-server run dev:prepare
|
|
74
|
+
pnpm --filter @aops/aops-server run dev
|
|
75
|
+
aops-cli setup first-admin
|
|
76
|
+
aops-cli auth login
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## 4 `init`
|
|
80
|
+
|
|
81
|
+
### 4.1 Overview
|
|
82
|
+
|
|
83
|
+
#### 4.1.1 Overview
|
|
84
|
+
|
|
85
|
+
`aops init` creates `.aops/aops.config.json` and the required local metadata
|
|
86
|
+
skeleton in the current repository. It does not create hosted
|
|
87
|
+
Projectman/Docman records. Read `aops init --help` for current options and write
|
|
88
|
+
guards before applying it.
|
|
89
|
+
|
|
90
|
+
## 5 `setup server-env`
|
|
91
|
+
|
|
92
|
+
### 5.1 Overview
|
|
93
|
+
|
|
94
|
+
#### 5.1.1 Overview
|
|
95
|
+
|
|
96
|
+
`aops setup server-env` creates or validates the dedicated PostgreSQL and
|
|
97
|
+
authentication environment for the npm-based AOPS Server. Never copy secret
|
|
98
|
+
values into command output or documentation. When connection verification is
|
|
99
|
+
needed, use the test and TLS options documented by live `--help`.
|
|
100
|
+
|
|
101
|
+
## 6 `setup first-admin`
|
|
102
|
+
|
|
103
|
+
### 6.1 Overview
|
|
104
|
+
|
|
105
|
+
#### 6.1.1 Overview
|
|
106
|
+
|
|
107
|
+
This heading is a compatibility note retained from the old interactive-auth
|
|
108
|
+
flow. The current CLI has no `aops setup first-admin` command. Trusted-local
|
|
109
|
+
setup does not require a first-admin step. For remote interactive targets, use
|
|
110
|
+
`aops auth login` and the live AuthV2 tool contract.
|
|
111
|
+
|
|
112
|
+
## 7 User management
|
|
113
|
+
|
|
114
|
+
### 7.1 Overview
|
|
115
|
+
|
|
116
|
+
#### 7.1.1 Overview
|
|
117
|
+
|
|
118
|
+
The current public CLI has no generic `aops user` sugar family. Do not guess a
|
|
119
|
+
command name for user or identity operations. First run `aops agent tools
|
|
120
|
+
--domain authv2 --summary --json`, then inspect the selected tool with
|
|
121
|
+
`aops agent schema`. Deletions, role changes, and access changes also require
|
|
122
|
+
explicit operator approval.
|
|
123
|
+
|
|
124
|
+
## 8 Login and tokens
|
|
125
|
+
|
|
126
|
+
### 8.1 Overview
|
|
127
|
+
|
|
128
|
+
#### 8.1.1 Overview
|
|
129
|
+
|
|
130
|
+
Use `aops auth login|status|logout` for named remote-session targets. Tokens are
|
|
131
|
+
target-bound and stored encrypted; never write them to JSON output, an issue,
|
|
132
|
+
or documentation. Do not create an unnecessary login flow for a trusted-local
|
|
133
|
+
target.
|
|
134
|
+
|
|
135
|
+
## 9 Diagnostics
|
|
136
|
+
|
|
137
|
+
### 9.1 Overview
|
|
138
|
+
|
|
139
|
+
#### 9.1.1 Overview
|
|
140
|
+
|
|
141
|
+
Start with the non-mutating `aops doctor`, `aops target doctor <name>`, and
|
|
142
|
+
`aops host health` surfaces. Do not reset, reinstall, or perform database work
|
|
143
|
+
before identifying a fault. Verify the active target, port, and data root
|
|
144
|
+
first.
|
|
145
|
+
|
|
146
|
+
## 10 Owner model and domain selection
|
|
147
|
+
|
|
148
|
+
### 10.1 Overview
|
|
149
|
+
|
|
150
|
+
#### 10.1.1 Overview
|
|
151
|
+
|
|
152
|
+
Use the owner surface when a sugar command exists. Otherwise, discover the live
|
|
153
|
+
tool with `aops agent tools --domain <domain> --summary --json` and read its
|
|
154
|
+
payload contract with `aops agent schema --tool <tool-id> --summary --json`.
|
|
155
|
+
Chat owns coordination, Projectman owns plans and reviews, Discuss owns
|
|
156
|
+
decisions, and Docman owns document truth.
|
|
157
|
+
|
|
158
|
+
## 11 Projectman sugar commands
|
|
159
|
+
|
|
160
|
+
### 11.1 Overview
|
|
161
|
+
|
|
162
|
+
#### 11.1.1 Overview
|
|
163
|
+
|
|
164
|
+
`aops pm` is the server-first write surface for board, task, sprint, microtask,
|
|
165
|
+
issue, feedback, and review-request records. Read the relevant subcommand's
|
|
166
|
+
`--help` output before making changes. Do not move plan or review truth into a
|
|
167
|
+
room message or local mirror.
|
|
168
|
+
|
|
169
|
+
## 12 Tasker and Runner routing
|
|
170
|
+
|
|
171
|
+
### 12.1 Overview
|
|
172
|
+
|
|
173
|
+
#### 12.1.1 Overview
|
|
174
|
+
|
|
175
|
+
Use `aops tasker` for human-first kanban board and task writes plus WorkGroup reads, and use `aops runner` for status, event, and artifact reads plus guarded stop, resume, and reconcile controls. Project planning and review remain owned by `aops pm`. For capabilities beyond sugar, use `aops agent tools --domain tasker --summary --json` and `aops agent schema --tool <tool-id> --summary --json`. The canonical workflows and ownership boundary live in the Tasker + Runner User Guide (`tasker-user-guide`); live command help owns exact syntax.
|
|
176
|
+
|
|
177
|
+
## 13 `.aops` local cache & sync
|
|
178
|
+
|
|
179
|
+
### 13.1 Overview
|
|
180
|
+
|
|
181
|
+
#### 13.1.1 Project registry, `authoringMode`, and `localRoot`
|
|
182
|
+
|
|
183
|
+
Multi-project repos use `.aops/aops.config.json` as a project registry. The
|
|
184
|
+
hosted server is the source of truth for project identity and for all
|
|
185
|
+
Projectman/Agentspace records; the repo registry only records which local
|
|
186
|
+
directory mirrors a hosted project as a read-only cache:
|
|
187
|
+
|
|
188
|
+
```bash
|
|
189
|
+
aops-cli project link --slug aops --mode local --local-root .aops/projects/aops --apply --json
|
|
190
|
+
aops-cli project link --slug demo --mode hosted-only --apply --json
|
|
191
|
+
aops-cli project links list --json
|
|
192
|
+
aops-cli project migrate-local-root --project-slug aops --local-root .aops/projects/aops --dry-run --json
|
|
193
|
+
aops-cli project migrate-local-root --project-slug aops --local-root .aops/projects/aops --apply --confirm --json
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
Contract:
|
|
197
|
+
|
|
198
|
+
1. `project link/links` manages only the repo project registry after verifying
|
|
199
|
+
the hosted project exists and is not archived/deleted.
|
|
200
|
+
2. `authoringMode: local` means a local cache directory is materialized under
|
|
201
|
+
`localRoot` (normally `.aops/projects/<slug>`). Create/write/read still go to
|
|
202
|
+
the hosted server; `localRoot` is a read-only mirror refreshed by
|
|
203
|
+
`aops-cli sync pull` (and `aops-cli doc mirror pull` for docs), not a
|
|
204
|
+
repo-first source tree.
|
|
205
|
+
3. `authoringMode: hosted-only` means no local cache directory is materialized.
|
|
206
|
+
Reads and writes both use the hosted gateway directly.
|
|
207
|
+
4. `migrate-local-root` is repo-local cache relocation. Always run `--dry-run`;
|
|
208
|
+
the real move requires `--apply --confirm` because old flat roots are
|
|
209
|
+
archived.
|
|
210
|
+
5. hosted-only-vs-local is only a cache-presence decision: local mode keeps a
|
|
211
|
+
refreshable read-only mirror on disk, hosted-only mode reads straight from
|
|
212
|
+
the server. Neither makes the repo the source of truth.
|
|
213
|
+
|
|
214
|
+
#### 13.1.2 Partitioned sync
|
|
215
|
+
|
|
216
|
+
Project-partitioned `sync pull` refreshes the local cache using the same
|
|
217
|
+
project registry selector contract. There is no `sync push`: the hosted server
|
|
218
|
+
is canonical, so the cache is only ever pulled, never pushed back.
|
|
219
|
+
|
|
220
|
+
```bash
|
|
221
|
+
aops-cli sync status --project-slug aops --json
|
|
222
|
+
aops-cli sync pull --project-slug aops --apply --json
|
|
223
|
+
aops-cli sync status --all-projects --json
|
|
224
|
+
aops-cli sync pull --all-projects --apply --json
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Rules:
|
|
228
|
+
|
|
229
|
+
1. `sync --project-slug/--all-projects` refreshes the read-only cache of hosted
|
|
230
|
+
Projectman and Agentspace records. It is separate from
|
|
231
|
+
`--hosted-project-slug`, which refreshes the read-only hosted prompt/skill
|
|
232
|
+
mirrors.
|
|
233
|
+
2. `--project-slug` resolves the linked project, then refreshes that project's
|
|
234
|
+
`localRoot` cache when `authoringMode` is `local`.
|
|
235
|
+
3. `--all-projects` runs once per repo-config local project and reports
|
|
236
|
+
project-level results without fail-fast. Hosted-only links have no cache to
|
|
237
|
+
refresh on this path; local links without a usable `localRoot` are
|
|
238
|
+
reported/skipped rather than treated as another project's cache.
|
|
239
|
+
4. Because the server is canonical, conflict/drift resolution is not part of the
|
|
240
|
+
pull: a refresh simply overwrites the local cache with current server state.
|
|
241
|
+
|
|
242
|
+
#### 13.1.3 Archive lifecycle
|
|
243
|
+
|
|
244
|
+
`aops-cli archive` prepares hosted Projectman graph cleanup from a local bundle.
|
|
245
|
+
It is deliberately a CLI composition over existing hosted Projectman surfaces,
|
|
246
|
+
not a new hosted archive domain.
|
|
247
|
+
|
|
248
|
+
```bash
|
|
249
|
+
aops-cli archive create --project-slug aops --apply --json
|
|
250
|
+
aops-cli archive verify --manifest .aops/archive/aops/<ts>/manifest.json --apply --json
|
|
251
|
+
aops-cli archive delete --manifest .aops/archive/aops/<ts>/manifest.json --json
|
|
252
|
+
aops-cli archive delete --manifest .aops/archive/aops/<ts>/manifest.json --apply --confirm --json
|
|
253
|
+
aops-cli archive decommission-check --manifest .aops/archive/aops/<ts>/manifest.json --json
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Rules:
|
|
257
|
+
|
|
258
|
+
1. `archive create` downloads the hosted PM graph into
|
|
259
|
+
`.aops/archive/<slug>/<timestamp>` and records `pendingDomains`; it does not
|
|
260
|
+
delete anything.
|
|
261
|
+
2. `archive verify --apply` re-fetches hosted PM data, compares counts and
|
|
262
|
+
checksums, then persists `verification.status: passed` into the manifest.
|
|
263
|
+
3. `archive delete` without `--apply` is a preview. Destructive delete requires
|
|
264
|
+
a verified manifest plus `--apply --confirm`.
|
|
265
|
+
4. Delete order is children-before-parents so review requests, feedback,
|
|
266
|
+
issues, microtasks, sprints, tasks, columns, and boards are removed in a
|
|
267
|
+
dependency-safe sequence. The manifest records per-action deletion state for
|
|
268
|
+
resumability.
|
|
269
|
+
5. `archive decommission-check` permits full project/scope decommission only
|
|
270
|
+
when the manifest is verification-passed, `decommissionSafe` is true, and
|
|
271
|
+
`pendingDomains` is empty. Current bundles can still list Agentspace memory,
|
|
272
|
+
discussions, chat, and hosted prompt/skill/resource/artifact domains as
|
|
273
|
+
pending until those owners have their own archive coverage.
|
|
274
|
+
|
|
275
|
+
#### 13.1.4 Agent-tool catalog verification
|
|
276
|
+
|
|
277
|
+
No new hosted `archive.*` tool is expected for this slice. The CLI verifies or
|
|
278
|
+
composes existing hosted surfaces:
|
|
279
|
+
|
|
280
|
+
1. `project link` verifies hosted projects through existing
|
|
281
|
+
`agentspace.project.*` tools, then writes the repo registry.
|
|
282
|
+
2. hosted-only PM direct commands use existing `projectman.*` tools.
|
|
283
|
+
3. archive cleanup composes existing Projectman read/delete tools and records a
|
|
284
|
+
local manifest.
|
|
285
|
+
|
|
286
|
+
Spot-check the catalog before writing raw hosted payloads:
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
aops-cli agent tools --domain agentspace --q project --summary --json
|
|
290
|
+
aops-cli agent tools --domain projectman --q delete --summary --json
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### 13.2 AOPS Markdown view sugar
|
|
294
|
+
|
|
295
|
+
#### 13.2.1 Overview
|
|
296
|
+
|
|
297
|
+
The `view` command family is a read-only presentation layer. Default commands
|
|
298
|
+
read `.aops/**` files from the read-only local cache. Canonical truth remains on
|
|
299
|
+
the hosted server, and `sync pull` refreshes the cache. Explicit hosted commands
|
|
300
|
+
(`hosted-projects`, `hosted-inventory`) call hosted list APIs for reads only;
|
|
301
|
+
they do not sync, write caches or indexes, or run domain mutations. Default
|
|
302
|
+
output is agent/TUI-friendly Markdown; `--json` returns the same read model in
|
|
303
|
+
a stable envelope.
|
|
304
|
+
|
|
305
|
+
Command set:
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
aops-cli view dashboard --style agent
|
|
309
|
+
aops-cli view projects
|
|
310
|
+
aops-cli view hosted-projects --style compact
|
|
311
|
+
aops-cli view hosted-inventory --hosted-project aops --style compact
|
|
312
|
+
aops-cli view boards
|
|
313
|
+
aops-cli view board <selector>
|
|
314
|
+
aops-cli view tasks
|
|
315
|
+
aops-cli view task <selector>
|
|
316
|
+
aops-cli view sprints
|
|
317
|
+
aops-cli view sprint <selector> --max-items 20
|
|
318
|
+
aops-cli view issues
|
|
319
|
+
aops-cli view feedback
|
|
320
|
+
aops-cli view memory
|
|
321
|
+
aops-cli view resume
|
|
322
|
+
aops-cli view discussions
|
|
323
|
+
aops-cli view discussion <selector>
|
|
324
|
+
aops-cli view experience
|
|
325
|
+
aops-cli view skills
|
|
326
|
+
aops-cli view prompts
|
|
327
|
+
aops-cli view docs
|
|
328
|
+
aops-cli view doc <selector>
|
|
329
|
+
aops-cli view doc-page <doc-selector>#<heading-selector>
|
|
330
|
+
aops-cli view digest --task <selector> --depth deep --max-bytes 32768
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
Selector resolution for all commands that accept a `<selector>` argument:
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
# full UUID
|
|
337
|
+
aops-cli view task 0ea46e18-d717-454d-8244-90ad388c4a80
|
|
338
|
+
|
|
339
|
+
# 8+ character ID prefix (the UUID's first 8 characters or the -<8>.md filename suffix)
|
|
340
|
+
aops-cli view task 0ea46e18
|
|
341
|
+
|
|
342
|
+
# slug
|
|
343
|
+
aops-cli view board ops
|
|
344
|
+
|
|
345
|
+
# exact title/name
|
|
346
|
+
aops-cli view sprint "AOPS CLI view follow-up"
|
|
347
|
+
|
|
348
|
+
# doc-page composite selector (document#heading)
|
|
349
|
+
aops-cli view doc-page tooling-cli-host-plugin-system#runtime-config
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
An ambiguous selector fails and returns a candidate table or JSON payload. If
|
|
353
|
+
`<selector>` is missing or matches more than one record, choose the correct
|
|
354
|
+
target from the candidate list.
|
|
355
|
+
|
|
356
|
+
Common flags available on all view commands:
|
|
357
|
+
|
|
358
|
+
| Flag | Meaning | Default |
|
|
359
|
+
|------|-------|---------|
|
|
360
|
+
| `--json` | Return a stable JSON envelope instead of Markdown | false |
|
|
361
|
+
| `--style agent\|compact\|wide` | Markdown density and format profile | `agent` (ASCII, emoji-free, link-mode none) |
|
|
362
|
+
| `--link-mode none\|relative\|absolute` | Path-link behavior | `none` |
|
|
363
|
+
| `--max-items <n>` | Maximum rows per list or table | 25 |
|
|
364
|
+
| `--max-bytes <n>` | Total Markdown budget; hard cap 32768 | 32768 |
|
|
365
|
+
| `--project-id\|--project-name\|--project-slug <v>` | Select a project that is not active in repo config | active project |
|
|
366
|
+
|
|
367
|
+
Additional flags for hosted view commands:
|
|
368
|
+
|
|
369
|
+
| Flag | Meaning | Default |
|
|
370
|
+
|------|-------|---------|
|
|
371
|
+
| `--api-base-url <url>` | Hosted API base URL | env/default host |
|
|
372
|
+
| `--access-token <token>` | Hosted API access token | auth config/env |
|
|
373
|
+
| `--refresh-token <token>` | Hosted API refresh token | auth config/env |
|
|
374
|
+
| `--timeout-ms <ms>` | Hosted request timeout | client default |
|
|
375
|
+
| `--tenant-id <id>` | Agent gateway tenant header | - |
|
|
376
|
+
| `--locale`, `--fallback-locale` | Agent gateway locale headers | - |
|
|
377
|
+
| `--scope-id <id>` | Hosted scope override | repo/project context |
|
|
378
|
+
| `--scope-resolution explicit\|cascade` | Hosted asset scope resolution | `explicit` for inventory |
|
|
379
|
+
| `view hosted-inventory --hosted-project <selector>` | Narrow by hosted project id, slug, name, or 8+ character prefix | all fetched projects |
|
|
380
|
+
|
|
381
|
+
Footer contract shown beneath every view output:
|
|
382
|
+
|
|
383
|
+
```text
|
|
384
|
+
- source: <relative-path-or-directory>
|
|
385
|
+
- local-state: local|dirty|synced|conflict|deleted|-
|
|
386
|
+
- updatedAt: <iso>
|
|
387
|
+
- lastPushedAt: <iso?>
|
|
388
|
+
- lastPulledAt: <iso?>
|
|
389
|
+
- truncated: true|false
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
`local-state` semantics are computed through `effectiveLocalState`: a record
|
|
393
|
+
reported as `synced` is marked `dirty` when drift is detected between
|
|
394
|
+
`baseHash` and current content. Trust this computed value, not the raw
|
|
395
|
+
`syncState` field.
|
|
396
|
+
|
|
397
|
+
Practical guidance for `view digest`:
|
|
398
|
+
|
|
399
|
+
1. The default `--depth shallow` provides enough summary for agent context.
|
|
400
|
+
2. Use `--depth deep` for detailed inspection, but reduce the `--max-bytes`
|
|
401
|
+
budget. A single-sprint deep digest can stay near 8 KB, as in the example.
|
|
402
|
+
3. If the footer reports `truncated: true`, retry with a lower `--max-items`
|
|
403
|
+
value or a narrower selector.
|
|
404
|
+
|
|
405
|
+
Typical usage scenarios:
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
# Agent kickoff: read the active window with one command
|
|
409
|
+
aops-cli view dashboard --style agent
|
|
410
|
+
|
|
411
|
+
# Sprint resume: phase/microtask + linked memory + discussions
|
|
412
|
+
aops-cli view sprint <sprint-id>
|
|
413
|
+
|
|
414
|
+
# Pipe a context pack to Codex/Claude Desktop
|
|
415
|
+
aops-cli view digest --sprint <sprint-id> --depth deep | pbcopy
|
|
416
|
+
|
|
417
|
+
# Rendered terminal reading with mdcat/glow
|
|
418
|
+
aops-cli view board <board-slug> | glow -p
|
|
419
|
+
|
|
420
|
+
# JSON for scripts and automation
|
|
421
|
+
aops-cli view tasks --json | jq '.result.data[] | select(.localState == "dirty") | .label'
|
|
422
|
+
|
|
423
|
+
# Hosted project inventory: project table first, then docs/skills/prompts/resources groups
|
|
424
|
+
aops-cli view hosted-inventory --hosted-project aops --style compact
|
|
425
|
+
|
|
426
|
+
# Debug selector ambiguity
|
|
427
|
+
aops-cli view task Duplicate --json | jq '.error.candidates'
|
|
428
|
+
```
|
|
429
|
+
|
|
430
|
+
Session-state nudges:
|
|
431
|
+
|
|
432
|
+
1. `view dashboard --style agent` can scan `.aops/agentspace/session-state/**`
|
|
433
|
+
read-only and show a `Session State Nudges` section.
|
|
434
|
+
2. This section does not write memory. It only gives the agent runtime-hygiene
|
|
435
|
+
signals such as "checkpoint overdue" or "write a summary."
|
|
436
|
+
3. When a nudge requires a response, use the owner command
|
|
437
|
+
`aops-cli mem checkpoint` or `aops-cli mem summary`.
|
|
438
|
+
|
|
439
|
+
Filter flags for each listing command:
|
|
440
|
+
|
|
441
|
+
```bash
|
|
442
|
+
# Memory: durability/kind/subject/id
|
|
443
|
+
aops-cli view memory --durability sticky --kind rule
|
|
444
|
+
aops-cli view memory --subject sprint --id <sprint-id>
|
|
445
|
+
aops-cli view memory --subject task --id <task-id-prefix>
|
|
446
|
+
aops-cli view resume --subject project
|
|
447
|
+
|
|
448
|
+
# Projectman tasks: board + status (column name resolves)
|
|
449
|
+
aops-cli view tasks --board ops --status Done
|
|
450
|
+
aops-cli view tasks --board engineering --status Doing
|
|
451
|
+
|
|
452
|
+
# Projectman issues: status + severity + board/sprint/task
|
|
453
|
+
aops-cli view issues --status open
|
|
454
|
+
aops-cli view issues --severity high --status resolved
|
|
455
|
+
aops-cli view issues --board ops --sprint <sprint-id>
|
|
456
|
+
|
|
457
|
+
# Projectman feedback: status + board/sprint/task
|
|
458
|
+
aops-cli view feedback --status open --board ops
|
|
459
|
+
|
|
460
|
+
# Projectman sprints: board + status
|
|
461
|
+
aops-cli view sprints --board ops --status doing
|
|
462
|
+
|
|
463
|
+
# Discussions: status + participant
|
|
464
|
+
aops-cli view discussions --status concluding
|
|
465
|
+
aops-cli view discussions --agent claude
|
|
466
|
+
|
|
467
|
+
# Experience: type + area
|
|
468
|
+
aops-cli view experience --type technique
|
|
469
|
+
aops-cli view experience --area memory
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
Filter contract:
|
|
473
|
+
|
|
474
|
+
| Command | Filter flags | Meaning |
|
|
475
|
+
|-------|------------------|-------|
|
|
476
|
+
| `view memory`, `view resume` | `--durability`, `--kind`, `--subject`, `--id` | durability=short\|durable\|sticky; kind=kickoff\|resume\|closeout\|note\|rule\|...; subject=project\|board\|sprint\|task\|ktask\|utask\|issue\|feedback; id=full UUID or 8+ character prefix |
|
|
477
|
+
| `view tasks` | `--board`, `--status` | board=slug/name/id; status=column name or slug (Done, Todo, Doing, Backlog) |
|
|
478
|
+
| `view issues`, `view feedback` | `--status`, `--severity`, `--board`, `--sprint`, `--task` | status=frontmatter status; severity=low\|medium\|high\|critical; board/sprint/task=the relevant subject relation |
|
|
479
|
+
| `view sprints` | `--board`, `--status` | board=slug/name; status=todo\|doing\|completed\|paused\|... |
|
|
480
|
+
| `view discussions` | `--status`, `--agent` | status=active\|concluding\|concluded\|abandoned; agent=an agent id in participants |
|
|
481
|
+
| `view experience` | `--type`, `--area` | type=technique\|tool\|script\|problem-solution\|idea; area=a tag in areas[] |
|
|
482
|
+
|
|
483
|
+
Multiple filters use AND semantics. If the result is empty, the table falls
|
|
484
|
+
back to `No matching records.`.
|
|
485
|
+
|
|
486
|
+
Owner-boundary rules for `view`:
|
|
487
|
+
|
|
488
|
+
1. Cache-reading view commands (`dashboard`, `boards`, `tasks`, `issues`,
|
|
489
|
+
`feedback`, `memory`, `skills`, `prompts`, `docs`, `digest`, ...) read only
|
|
490
|
+
`.aops/**/*.md` files from the read-only local cache. They do not call hosted
|
|
491
|
+
tools, sync, write caches, mutate state, or write to `~/.aops`.
|
|
492
|
+
2. Hosted view commands (`hosted-projects`, `hosted-inventory`) call only these
|
|
493
|
+
hosted read/list tools: `agentspace.project.list-projects`,
|
|
494
|
+
`docman.document.list`, `agentspace.skill.list-skills`,
|
|
495
|
+
`agentspace.prompt.list-prompts`, `agentspace.resource.list-resources`.
|
|
496
|
+
They do not mutate, sync, refresh mirrors, or write caches.
|
|
497
|
+
3. Cross-domain joins follow existing frontmatter/API fields (`subjectType`,
|
|
498
|
+
`subjectId`, `boardId`, `sprintLocalId`, `pmContext.taskId`, and so on);
|
|
499
|
+
they do not invent new domain semantics.
|
|
500
|
+
4. `view skills` and `view prompts` read `.aops/hosted/**` mirror files.
|
|
501
|
+
Canonical truth remains in hosted Agentspace/server state, and view does not
|
|
502
|
+
refresh it.
|
|
503
|
+
5. `view docs` and `view doc-page` read the `.aops/docman/**` mirror. The
|
|
504
|
+
read-only mirror banner and `pulledAt` appear in the footer.
|
|
505
|
+
6. Projectman planning views read from the cache. Use `view boards`,
|
|
506
|
+
`view tasks`, `view sprints`, `view issues`, and `view feedback` for PM
|
|
507
|
+
tables.
|
|
508
|
+
|
|
509
|
+
Surfaces deferred to V2:
|
|
510
|
+
|
|
511
|
+
1. `view relations <selector>` cross-domain RelationResolver
|
|
512
|
+
2. `view skill/prompt/experience <selector>` detail inspect (V1 list-only)
|
|
513
|
+
3. `aops-cli ls` and `aops-cli show` aliases
|
|
514
|
+
4. `--out <path>` generated artifact writer (V1 stdout default)
|
|
515
|
+
5. A deeper cross-domain edge resolver for the hosted relation graph
|
|
516
|
+
6. A cache/index if performance requires it
|
|
517
|
+
|
|
518
|
+
Critical rules:
|
|
519
|
+
- Server wins: the hosted server is canonical. `sync pull` reflects server state
|
|
520
|
+
into the read-only local cache. There is no `sync push` (removed in S4), and
|
|
521
|
+
the repository is not the source of truth.
|
|
522
|
+
- UI/server changes arrive in the cache on the next `sync pull`. Manual cache
|
|
523
|
+
edits are not canonical and are overwritten during refresh.
|
|
524
|
+
- Derived views are computed from the cache; run `sync pull` to keep it current.
|
|
525
|
+
- Reusable `prompt` and hosted `skill` shell/version truth remains in the
|
|
526
|
+
server/DB. `sync pull` only creates read-only mirrors under `.aops/hosted/**`.
|
|
527
|
+
- A repository may intentionally pull another project's hosted prompt/skill
|
|
528
|
+
mirror with `--hosted-project-id|name|slug`.
|
|
529
|
+
- `sync pull` is a project-level server-to-cache refresh. Use
|
|
530
|
+
`--hosted-project-id|name|slug` to refresh hosted prompt/skill mirrors.
|
|
531
|
+
|
|
532
|
+
Startup flow:
|
|
533
|
+
|
|
534
|
+
1. Run `aops-cli init` for a new repository.
|
|
535
|
+
2. Refresh the read-only hosted-state cache with `aops-cli sync pull --project-slug aops --apply --json`.
|
|
536
|
+
3. Read `.aops/projectman/views/index.md` and `.aops/agentspace/memory/index.md` for cached context.
|
|
537
|
+
4. When reusable prompt/skill context is needed, read `.aops/hosted/index.md`, `.aops/hosted/skills/index.md`, and `.aops/hosted/prompts/index.md`.
|
|
538
|
+
5. Use `aops-cli pm ...` for PM authoring, `aops-cli mem ...` for memory, `aops-cli exp ...` for agent experience, and `aops-cli discuss ...` for the agent discussion workspace. Each writes directly to the hosted server.
|
|
539
|
+
|
|
540
|
+
Shutdown flow:
|
|
541
|
+
|
|
542
|
+
1. Update PM/memory records on the hosted server through owner commands (`aops-cli pm ...`, `aops-cli mem ...`).
|
|
543
|
+
2. Run `aops-cli sync pull --apply --json` if you want a current cache readback.
|
|
544
|
+
|
|
545
|
+
Memory/handoff distinction:
|
|
546
|
+
- `--write-memory` writes an opt-in memory side effect after the main PM
|
|
547
|
+
mutation succeeds. The AI default should remain short memory.
|
|
548
|
+
- `pm handoff write` writes a kickoff/resume/decision/blocker/closeout/rule
|
|
549
|
+
memory record outside the mutation.
|
|
550
|
+
- `pm handoff resume` reads a curated resume pack for an existing tracked PM
|
|
551
|
+
subject; it does not create a subject record.
|
|
552
|
+
- Durable `note` and sticky `rule` records are operator-controlled. They are not
|
|
553
|
+
written by default while an agent works and require an explicit request.
|
|
554
|
+
|
|
555
|
+
Phase note:
|
|
556
|
+
- `phase` is a first-class planning concept in Projectman, but there is no
|
|
557
|
+
standalone `phase.*` CRUD operation family today.
|
|
558
|
+
- `phase` is the nested grouping/status layer of a sprint plan.
|
|
559
|
+
- Therefore, AOPS sugar retains the existing `pm sprint` + `pm utask` surface
|
|
560
|
+
instead of adding `pm phase ...`.
|
|
561
|
+
|
|
562
|
+
## 14 Runner sugar
|
|
563
|
+
|
|
564
|
+
### 14.1 Overview
|
|
565
|
+
|
|
566
|
+
#### 14.1.1 Overview
|
|
567
|
+
|
|
568
|
+
Use top-level `aops runner` for status snapshots, event and artifact reads, and guarded `stop`, `resume`, and `reconcile` controls. Control writes require `--preview` or `--apply` and an idempotency key according to live help. For operations not exposed by sugar, discover Tasker-hosted capabilities with `aops agent tools --domain tasker --summary --json` and inspect exact schemas. Runner owns durable execution; CLI and loop are thin delegates, and separate operator approval remains required for effects.
|
|
569
|
+
|
|
570
|
+
## 15 Prompt sugar
|
|
571
|
+
|
|
572
|
+
### 15.1 Overview
|
|
573
|
+
|
|
574
|
+
#### 15.1.1 Overview
|
|
575
|
+
|
|
576
|
+
`aops prompt` manages reusable prompt shells and versions server-first. Use
|
|
577
|
+
`list|get|inspect|current` for reads, `create|update|version create` for writes,
|
|
578
|
+
and `version publish` for publication. `.aops/hosted/prompts/**` is only a
|
|
579
|
+
read-only mirror.
|
|
580
|
+
|
|
581
|
+
## 16 Project sugar
|
|
582
|
+
|
|
583
|
+
### 16.1 Overview
|
|
584
|
+
|
|
585
|
+
#### 16.1.1 Overview
|
|
586
|
+
|
|
587
|
+
`aops project` separates the hosted project record from the repo-local project
|
|
588
|
+
registry link. `list|get` reads hosted records; `link` attaches only a verified
|
|
589
|
+
slug to the local registry. For local-root relocation, first run
|
|
590
|
+
`migrate-local-root --dry-run`, then use `--apply --confirm` only for the
|
|
591
|
+
reviewed target.
|
|
592
|
+
|
|
593
|
+
## 17 Durable memory and synopsis sugar
|
|
594
|
+
|
|
595
|
+
### 17.1 Overview
|
|
596
|
+
|
|
597
|
+
#### 17.1.1 Overview
|
|
598
|
+
|
|
599
|
+
Recommended agent memory path:
|
|
600
|
+
|
|
601
|
+
```bash
|
|
602
|
+
aops-cli mem brief --subject project --json
|
|
603
|
+
aops-cli mem checkpoint --content "Slice in progress." --task-id <task-id> --sprint-id <sprint-id> --apply --json
|
|
604
|
+
aops-cli mem summary --content "Session summary." --apply --json
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
Rules:
|
|
608
|
+
|
|
609
|
+
1. `mem brief` is the read-only startup pack used at session start or resume. It
|
|
610
|
+
does not replace PM state and does not write memory.
|
|
611
|
+
2. `mem checkpoint` writes short rolling status at a meaningful milestone,
|
|
612
|
+
decision, blocker, or handoff point. Do not use it for every chat line or
|
|
613
|
+
small edit.
|
|
614
|
+
3. `mem summary` is for session end or an operator summary request. An ordinary
|
|
615
|
+
summary remains short. A durable closeout is written only with
|
|
616
|
+
`--closeout --durability durable --confirm`.
|
|
617
|
+
4. Memory should be an evidence pack containing the request/purpose,
|
|
618
|
+
board/task/sprint/issue references, concrete outcome, validation/review
|
|
619
|
+
evidence, open risks, and next action.
|
|
620
|
+
|
|
621
|
+
### 17.2 Choosing a coordination surface
|
|
622
|
+
|
|
623
|
+
#### 17.2.1 Overview
|
|
624
|
+
|
|
625
|
+
`discuss`, `chat`, and `pm review-request` are distinct coordination surfaces:
|
|
626
|
+
use `discuss` for decisions/consensus, hosted chat rooms (`chat`) for
|
|
627
|
+
coordination/wake signals, and Projectman (`pm review-request`) for reviews. A
|
|
628
|
+
mismatched writer and listener is the most common cause of silently lost
|
|
629
|
+
traffic; the coordination message and listener must use the same hosted chat
|
|
630
|
+
room. See the `aops-cli-chat` skill.
|
|
631
|
+
|
|
632
|
+
| Need | Command | Skill |
|
|
633
|
+
|--------------------------------------------------------|--------------------------------|------------------|
|
|
634
|
+
| Structured decision transcript and final decisions | `aops-cli discuss start` | `aops-cli-discuss` |
|
|
635
|
+
| Decision loop for agent order and lifecycle | `aops-cli discuss wait`, `aops-cli discuss turn`, `aops-cli discuss conclude` | `aops-cli-discuss` |
|
|
636
|
+
| Multi-agent coordination/wake room | `aops-cli chat room create`, `aops-cli chat message send` | `aops-cli-chat` |
|
|
637
|
+
| Discover an agent's pending room/message work | `aops-cli chat inbox --for <agent>` | `aops-cli-chat` |
|
|
638
|
+
| Listen to room traffic or read unread messages | `aops-cli chat listen`, `aops-cli chat catchup` | `aops-cli-chat` |
|
|
639
|
+
| Request a review, record a result, or re-review | `aops-cli pm review-request create`, `aops-cli pm review-request result` | `aops-cli-projectman` |
|
|
640
|
+
|
|
641
|
+
Coordination (wake signals, room messages, and listeners) lives in hosted chat
|
|
642
|
+
rooms; the decision ritual lives in `discuss`. Write a structured decision or
|
|
643
|
+
stance to the transcript with `discuss turn`/`conclude`. To wake the other
|
|
644
|
+
agent, announce that work with a short `chat message send` in the linked hosted
|
|
645
|
+
chat room. The room message is a wake signal; the Discuss transcript is the
|
|
646
|
+
canonical record. Clarify invitation and listener expectations in the chat
|
|
647
|
+
room. For details, see `aops-cli-chat` (room lifecycle, members, and
|
|
648
|
+
`chat send/listen/catchup`) and `aops-cli-discuss` (decision ritual and
|
|
649
|
+
`discuss wait` exit codes). Review flow (RR/RRR, re-review, and material issues)
|
|
650
|
+
belongs to `aops-cli-projectman`.
|
|
651
|
+
|
|
652
|
+
Slug-first operator contract:
|
|
653
|
+
|
|
654
|
+
1. `discuss start --slug <slug>` writes the canonical slug to topic frontmatter.
|
|
655
|
+
If omitted, it is derived from the title and returned as `topicSlug` in
|
|
656
|
+
JSON. Hosted chat rooms also carry a slug through
|
|
657
|
+
`chat room create --slug <slug>`.
|
|
658
|
+
2. Selectors now treat the exact slug as the operator-facing default. Legacy
|
|
659
|
+
folder names and short ids are debug/legacy fallbacks. Use slugs in
|
|
660
|
+
operator-facing commands, handoffs, and chat pings; keep raw UUIDs out of
|
|
661
|
+
normal traffic except for debugging or JSON.
|
|
662
|
+
3. If a legacy folder-name or implicit short-id match wins, the JSON envelope
|
|
663
|
+
returns `cliDeprecationWarnings`. Except during debugging, treat these as a
|
|
664
|
+
signal to migrate to slugs.
|
|
665
|
+
4. Use `--short-id <8char>` when an explicit debug selector is necessary. This
|
|
666
|
+
explicit route emits no warning; an implicit short id emits
|
|
667
|
+
`cliDeprecationWarnings`. If slug/folder/short-id resolution is ambiguous and
|
|
668
|
+
only one active record exists, `--prefer-active` selects it. Durable
|
|
669
|
+
handoffs should still store the slug. For Discuss commands, `--short-id` is
|
|
670
|
+
the topic selector.
|
|
671
|
+
5. Bootstrap a new agent by running `aops-cli chat inbox --for <agent> --json`,
|
|
672
|
+
then read unread messages in the linked room with
|
|
673
|
+
`chat catchup --for <agent> --apply --json`. Use
|
|
674
|
+
`chat listen --for <agent> --max-loops 1 --json` for an active wake and
|
|
675
|
+
`aops-cli pm review-request list --json` for pending reviews.
|
|
676
|
+
6. `discuss conclude` must not leave `_TBD_` placeholders in `consensus.md`, the
|
|
677
|
+
agent final stance, `disagreement.md`, or `open-questions.md`. The agent that
|
|
678
|
+
started the topic owns the output and reviews or enriches these files before
|
|
679
|
+
finalize/closeout.
|
|
680
|
+
|
|
681
|
+
### 17.3 PM window, chat-room binding, and active window
|
|
682
|
+
|
|
683
|
+
#### 17.3.1 Overview
|
|
684
|
+
|
|
685
|
+
Use one Projectman window for two-agent execution. If a board kickoff already
|
|
686
|
+
exists, reuse that board's active task/sprint by default; create a new task and
|
|
687
|
+
sprint only when no active window exists. The repo-first `collab pm-bind`
|
|
688
|
+
command is retired. Manage the PM window directly with `pm`, and coordinate in
|
|
689
|
+
a hosted chat room bound to the board.
|
|
690
|
+
|
|
691
|
+
```bash
|
|
692
|
+
aops-cli pm board kickoff --board ops --title "AOPS PM tooling triage" --goal "..." --apply --json
|
|
693
|
+
# Bind the coordination room to the board (wake/flow stays in hosted chat)
|
|
694
|
+
aops-cli chat room create --slug ops-room --title "Ops" --created-by <agent> --apply --json
|
|
695
|
+
aops-cli chat binding add --room-id <room-id> --binding-type projectman.board --binding-id <board-id> --label "Active board" --created-by <agent> --apply --json
|
|
696
|
+
```
|
|
697
|
+
|
|
698
|
+
When explicit task/sprint selection is required, use the relevant
|
|
699
|
+
`pm sprint`/`pm utask` commands. If the operator intentionally opens a new
|
|
700
|
+
window, create a new `pm board kickoff`/sprint. Otherwise, prefer active board
|
|
701
|
+
references instead of creating a duplicate kickoff window.
|
|
702
|
+
|
|
703
|
+
### 17.4 Two-agent research and deliberation flow
|
|
704
|
+
|
|
705
|
+
#### 17.4.1 Overview
|
|
706
|
+
|
|
707
|
+
When the operator asks agents to "discuss," "talk to Claude and propose a
|
|
708
|
+
plan," or "research together," the primary agent should not write a plan alone
|
|
709
|
+
and request review afterward. By default, both parties produce independent
|
|
710
|
+
context and then converge through a Discuss topic for decisions plus a hosted
|
|
711
|
+
chat room for wake signals. Reviews belong in Projectman.
|
|
712
|
+
|
|
713
|
+
Primary-agent flow:
|
|
714
|
+
|
|
715
|
+
1. Open a decision topic carrying the objective and agents with
|
|
716
|
+
`aops-cli discuss start --slug <slug>`, and open a linked coordination room
|
|
717
|
+
with `aops-cli chat room create`.
|
|
718
|
+
2. Put the operator request, repository roots, constraints, and expected
|
|
719
|
+
deliverables in the topic's first turn or as a context message in the room.
|
|
720
|
+
3. Give the other agent a precise directive through a room message or
|
|
721
|
+
`pm review-request`: explicitly request independent research, not merely a
|
|
722
|
+
review of your draft. Expected output should include a current-state map,
|
|
723
|
+
recommendations, tradeoffs, risks, and open questions.
|
|
724
|
+
4. Announce the directive in the room with `chat message send`. If the other
|
|
725
|
+
agent must be started manually, tell the operator which room/topic it should
|
|
726
|
+
listen to.
|
|
727
|
+
5. Research independently in parallel and write your stance to the topic with
|
|
728
|
+
`discuss turn`.
|
|
729
|
+
6. Announce the decision turn with a short `chat message send` containing the
|
|
730
|
+
topic id/turn and the review questions for the other agent.
|
|
731
|
+
7. Wait for the decision loop with
|
|
732
|
+
`aops-cli discuss wait --id <topic> --for <agent> --timeout-sec 540 --interval-sec 5 --json`,
|
|
733
|
+
and wait for a coordination wake with
|
|
734
|
+
`aops-cli chat listen --for <agent> --max-loops 1 --json`.
|
|
735
|
+
8. When the response arrives, read the other agent's full `discuss turn` or
|
|
736
|
+
scratch file, not only the room TL;DR. Write another `discuss turn` for
|
|
737
|
+
agreements, corrections, pushback, and points that require an operator
|
|
738
|
+
decision; then ping the room.
|
|
739
|
+
9. If disagreement is material, run one more bounded loop. Do not write a final
|
|
740
|
+
plan after one room response on architectural or high-impact topics.
|
|
741
|
+
10. Before implementation, complete at least two real-time turns and record the
|
|
742
|
+
result as a final stance/consensus with `discuss conclude`. Direct
|
|
743
|
+
implementation followed by review is allowed only when the operator
|
|
744
|
+
explicitly requests an override/urgent mode, and the override is recorded.
|
|
745
|
+
11. The output is the locked decisions (`discuss conclude`), open operator
|
|
746
|
+
questions, POC order, and owner/domain boundaries. Write Projectman or
|
|
747
|
+
Docman records only through explicit commands.
|
|
748
|
+
|
|
749
|
+
Other-agent flow:
|
|
750
|
+
|
|
751
|
+
1. Accept the directive and write a room note saying that research is in
|
|
752
|
+
progress and a result will follow; advance the read cursor with
|
|
753
|
+
`chat catchup --apply`.
|
|
754
|
+
2. Research the requested sources independently; do not treat the primary
|
|
755
|
+
agent's draft as the sole truth.
|
|
756
|
+
3. Write your research/stance with `discuss turn` and provide a short room
|
|
757
|
+
summary with the topic id/turn.
|
|
758
|
+
4. If the primary agent provides evidence-backed pushback, write another
|
|
759
|
+
`discuss turn` that states which points you accept, which you maintain, and
|
|
760
|
+
which you leave to the operator.
|
|
761
|
+
|
|
762
|
+
Minimum quality gate: both agents contribute at least one independent
|
|
763
|
+
context/research turn, or the primary agent explicitly records the bounded
|
|
764
|
+
timeout and tells the operator that work is proceeding without the other
|
|
765
|
+
response.
|
|
766
|
+
|
|
767
|
+
### 17.5 ChatV3 product-channel room context
|
|
768
|
+
|
|
769
|
+
#### 17.5.1 Overview
|
|
770
|
+
|
|
771
|
+
`aops-cli chatv3` is not a hosted `aops-cli chat` room; it is the encrypted
|
|
772
|
+
product-channel/session CLI. Invite/session/member tokens and room epoch-key
|
|
773
|
+
context operate through the local ChatV3 session store. Use `aops-cli chat` for
|
|
774
|
+
hosted AOPS coordination and `aops-cli chatv3` for active product-room tracking.
|
|
775
|
+
|
|
776
|
+
Common commands:
|
|
777
|
+
|
|
778
|
+
```bash
|
|
779
|
+
aops-cli chatv3 listen --session codex --room general --after-seq <last-seq> --timeout-sec 60 --json
|
|
780
|
+
aops-cli chatv3 binding add --session codex --room general --binding-type projectman.review-request --ref-id <rr-id> --title "Slice review" --json
|
|
781
|
+
aops-cli chatv3 binding list --session codex --room general --json
|
|
782
|
+
aops-cli chatv3 room brief --session codex --room general --for claude --json
|
|
783
|
+
aops-cli chatv3 room summary --session codex --room general --after-seq <last-seq> --json
|
|
784
|
+
```
|
|
785
|
+
|
|
786
|
+
Rules:
|
|
787
|
+
|
|
788
|
+
1. `listen` exits with `0` for a new message and `22` for timeout; read/listen
|
|
789
|
+
output carries `latestSeq` and `caughtUp`.
|
|
790
|
+
2. `binding add/list/remove` stores loose references; it does not alter
|
|
791
|
+
PM/RR/Docman/Discuss truth.
|
|
792
|
+
3. `room brief` is a read-only onboarding pack containing guidance, members,
|
|
793
|
+
presence, bindings, cursor references, and recommended next reads.
|
|
794
|
+
4. `room summary` is an agent-composed narrative digest pack. It provides
|
|
795
|
+
`sourceRef.type=chatv3.room`, a sequence range, `nextReadRefs`,
|
|
796
|
+
summarization-only `sourceMessages`, and a `memoryWrite` recipe with a
|
|
797
|
+
`NARRATIVE-DIGEST` slot.
|
|
798
|
+
5. `sourceMessages` is only summarization input and is not copied verbatim into
|
|
799
|
+
memory. The agent first creates an abstractive narrative digest, then writes
|
|
800
|
+
the digest, references, and sequence range through an explicit
|
|
801
|
+
`mem checkpoint` or `mem summary`.
|
|
802
|
+
|
|
803
|
+
## 18 Resource sugar
|
|
804
|
+
|
|
805
|
+
### 18.1 Overview
|
|
806
|
+
|
|
807
|
+
#### 18.1.1 Overview
|
|
808
|
+
|
|
809
|
+
`aops-cli resource` is the hosted Agentspace surface for durable knowledge pointers. A resource describes where knowledge lives; it does not own the document body, snapshot bytes, or planning state.
|
|
810
|
+
|
|
811
|
+
Use it when an agent needs a reusable pointer such as a guide, rule, spec, link, reference, template, dataset, code note, or skill-related reference:
|
|
812
|
+
|
|
813
|
+
```bash
|
|
814
|
+
aops-cli resource create --name "Hexagen Guide" --resource-type document --uri "docman:aops/hexagen" --apply --json
|
|
815
|
+
aops-cli resource list --resource-type document --json
|
|
816
|
+
aops-cli resource get --id <resource-id> --json
|
|
817
|
+
aops-cli resource update --id <resource-id> --uri "https://example.test/spec" --apply --json
|
|
818
|
+
aops-cli resource delete --id <resource-id> --apply --confirm --json
|
|
819
|
+
```
|
|
820
|
+
|
|
821
|
+
Before raw hosted writes, check the live schema:
|
|
822
|
+
|
|
823
|
+
```bash
|
|
824
|
+
aops-cli agent schema --tool agentspace.resource.create --timeout-ms 120000 --json
|
|
825
|
+
```
|
|
826
|
+
|
|
827
|
+
If `agent schema` ever returns only a flexible `data` envelope for an Agentspace operation, fall back to the matching sugar help (`aops-cli resource create --help`) and inspect an existing list/get record before composing payloads. Do not guess nested field names from memory.
|
|
828
|
+
|
|
829
|
+
## 19 Artifact sugar
|
|
830
|
+
|
|
831
|
+
### 19.1 Overview
|
|
832
|
+
|
|
833
|
+
#### 19.1.1 Overview
|
|
834
|
+
|
|
835
|
+
`aops-cli artifact` is hosted metadata for generated or external artifacts. It stores the artifact shell and links to project-scoped refs; it is not the byte store. Use Fileman for filesystem snapshots and artifact records for pointers such as storage paths, report paths, exported archives, screenshots, or generated JSON.
|
|
836
|
+
|
|
837
|
+
Core flow:
|
|
838
|
+
|
|
839
|
+
```bash
|
|
840
|
+
aops-cli artifact create --artifact-type file --storage-path "s3://bucket/report.json" --apply --json
|
|
841
|
+
aops-cli artifact link --artifact-id <artifact-id> --ref-type resource --ref-id <resource-id> --apply --json
|
|
842
|
+
aops-cli artifact ref list --ref-type resource --ref-id <resource-id> --json
|
|
843
|
+
aops-cli artifact get --id <artifact-id> --json
|
|
844
|
+
aops-cli artifact delete --id <artifact-id> --apply --confirm --json
|
|
845
|
+
```
|
|
846
|
+
|
|
847
|
+
Keep artifact content small and pointer-shaped. If the artifact is a repo file, include the path and validation context in memory or PM; do not paste large file bodies into artifact metadata.
|
|
848
|
+
|
|
849
|
+
## 20 Skill sugar
|
|
850
|
+
|
|
851
|
+
### 20.1 Overview
|
|
852
|
+
|
|
853
|
+
#### 20.1.1 Overview
|
|
854
|
+
|
|
855
|
+
`aops-cli skill` owns hosted reusable skill shells and skill versions. `.aops/hosted/skills/**` is only the read-only mirror; never edit it as canonical truth.
|
|
856
|
+
|
|
857
|
+
Authoring loop:
|
|
858
|
+
|
|
859
|
+
```bash
|
|
860
|
+
aops-cli skill list --hosted-project-slug aops --name "aops-cli-fileman" --json
|
|
861
|
+
aops-cli skill inspect --id <skill-id> --json
|
|
862
|
+
aops-cli skill version list --skill-id <skill-id> --json
|
|
863
|
+
aops-cli skill version create --hosted-project-slug aops --skill-id <skill-id> --content '@./SKILL.md' --entry-file SKILL.md --skill-standard aops-skill-v1 --meta '@./meta.json' --apply --json
|
|
864
|
+
aops-cli skill version publish --hosted-project-slug aops --id <skill-version-id> --apply --json
|
|
865
|
+
aops-cli sync pull --apply --hosted-project-slug aops --json
|
|
866
|
+
pnpm skills:claude-codex:sync
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
When `--version` is omitted, the CLI resolves the next version from hosted versions. If a publish or create reports a version conflict, use `skill version list`; mirror frontmatter can lag by one version immediately after publish.
|
|
870
|
+
|
|
871
|
+
## 21 Durable activity logs
|
|
872
|
+
|
|
873
|
+
### 21.1 Overview
|
|
874
|
+
|
|
875
|
+
#### 21.1.1 Overview
|
|
876
|
+
|
|
877
|
+
Durable activity logs are audit/readback evidence for hosted operations. Many hosted write sugars append best-effort activity records or structured server logs. Treat these logs as verification context, not planning truth.
|
|
878
|
+
|
|
879
|
+
Current operator rules:
|
|
880
|
+
|
|
881
|
+
1. Planning and execution state still belongs in Projectman.
|
|
882
|
+
2. Durable handoff and decisions still belong in Agentspace memory.
|
|
883
|
+
3. Activity logs are useful when proving that a hosted write, invoke, or flow ran with a concrete request/response.
|
|
884
|
+
4. If a dedicated `aops-cli activity ...` command is not present in your runtime, discover the hosted activity surfaces with `aops-cli agent tools --domain agentspace --json` or use the domain guide. Do not invent an activity command from old docs.
|
|
885
|
+
|
|
886
|
+
## 22 Hosted Fileman usage
|
|
887
|
+
|
|
888
|
+
### 22.1 Overview
|
|
889
|
+
|
|
890
|
+
#### 22.1.1 Overview
|
|
891
|
+
|
|
892
|
+
Fileman is hosted-canonical: there is no `.aops/fileman/**` repo-first mirror. It tracks directory roots, immutable snapshots, file history, diffs, restore/copy/zip handoff, and cleanup.
|
|
893
|
+
|
|
894
|
+
Actual CLI tree:
|
|
895
|
+
|
|
896
|
+
```bash
|
|
897
|
+
aops-cli file target track --root-path <directory> --apply --json
|
|
898
|
+
aops-cli file target list --json
|
|
899
|
+
aops-cli file target get --id <target-id> --json
|
|
900
|
+
aops-cli file snapshot create --target-id <target-id> --apply --json
|
|
901
|
+
aops-cli file snapshot list --target-id <target-id> --json
|
|
902
|
+
aops-cli file snapshot diff --from-snapshot-id <id> --to-snapshot-id <id> --json
|
|
903
|
+
aops-cli file snapshot restore --snapshot-id <id> --apply --confirm --json
|
|
904
|
+
aops-cli file snapshot copy --snapshot-id <id> --output-path <dir> --apply --json
|
|
905
|
+
aops-cli file snapshot zip --snapshot-id <id> --output-path <zip> --apply --json
|
|
906
|
+
aops-cli file file history --target-id <target-id> --path <relative-path> --json
|
|
907
|
+
aops-cli file clean --target-id <target-id> --dry-run --apply --json
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
`target track` expects a directory. To snapshot one file, track its parent directory and address the file by relative path through `aops-cli file file history|get|restore`.
|
|
911
|
+
|
|
912
|
+
For unfamiliar usage, run the nested help first:
|
|
913
|
+
|
|
914
|
+
```bash
|
|
915
|
+
aops-cli file --help
|
|
916
|
+
aops-cli file target track --help
|
|
917
|
+
aops-cli file snapshot diff --help
|
|
918
|
+
aops-cli file file history --help
|
|
919
|
+
aops-cli file clean --help
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
Run `file clean --dry-run` before destructive cleanup and then re-run with `--apply --confirm` only after reviewing the target list.
|
|
923
|
+
|
|
924
|
+
## 23 Docman sugar
|
|
925
|
+
|
|
926
|
+
### 23.1 Overview
|
|
927
|
+
|
|
928
|
+
#### 23.1.1 Overview
|
|
929
|
+
|
|
930
|
+
`aops-cli doc` is the hosted Docman surface for document groups, documents, versions, sections, pages, page versions, retrieval rows, publish output, and mirror pull.
|
|
931
|
+
|
|
932
|
+
Common flows:
|
|
933
|
+
|
|
934
|
+
```bash
|
|
935
|
+
aops-cli doc list --project-slug aops --json
|
|
936
|
+
aops-cli doc version list --document-id <doc-id> --json
|
|
937
|
+
aops-cli doc outline get --document-version-id <docver-id> --titles-only --depth 2 --json
|
|
938
|
+
aops-cli doc page draft-save --page-version-id <pagever-id> --document-link-id <document-section-link-id> --content '@./page.md' --apply --json
|
|
939
|
+
aops-cli doc set-current-version --document-id <doc-id> --version-id <docver-id> --publish-now --apply --json
|
|
940
|
+
aops-cli doc mirror pull --project-slug aops --group-uid aops-guides --document-slug aops-cli-user-guide --out-dir ./.aops/docman --apply --json
|
|
941
|
+
```
|
|
942
|
+
|
|
943
|
+
For a known page edit, use clone_all + targeted page/section CRUD. For a whole markdown refresh, use `doc import --from-markdown` with `--baseline`, `--guard-target`, and a `--dry-run` first.
|
|
944
|
+
|
|
945
|
+
Retrieval notes:
|
|
946
|
+
|
|
947
|
+
1. `doc scope search --local` searches the local mirror and can rank source or architecture files above the guide you expected.
|
|
948
|
+
2. `doc search --local` is document-granular and confirms presence; do not assume it returned a full section body.
|
|
949
|
+
3. To read a mirror section, use `aops-cli view doc-page <document>#<number-prefixed-slug>`, for example `aops-cli view doc-page aops-cli-user-guide#27-guard-flag-konvansiyonu`.
|
|
950
|
+
4. `doc outline get --titles-only --depth <n>` is the cheapest structure probe for a known hosted version.
|
|
951
|
+
|
|
952
|
+
## 24 Common operator notes
|
|
953
|
+
|
|
954
|
+
### 24.1 Overview
|
|
955
|
+
|
|
956
|
+
#### 24.1.1 Overview
|
|
957
|
+
|
|
958
|
+
High-signal operator notes:
|
|
959
|
+
|
|
960
|
+
1. First cold hosted calls can take around 20 seconds; use `--timeout-ms 120000` for schema, doc, skill, or file smoke commands.
|
|
961
|
+
2. `--yes` means non-interactive/fail-fast. It is not a magic fix for validation errors.
|
|
962
|
+
3. In PowerShell, quote file pointers for multiline or quote-heavy content: `--content '@file'` or `--input '@file.json'`.
|
|
963
|
+
4. If sugar returns validation errors, stop retrying guessed flags. Read `<command> --help`; for raw invokes, read `agent schema`.
|
|
964
|
+
5. If command help and skill text disagree, command help wins.
|
|
965
|
+
6. If a user guide and skill text disagree, the user guide wins.
|
|
966
|
+
|
|
967
|
+
## 25 Recommended daily flow
|
|
968
|
+
|
|
969
|
+
### 25.1 Overview
|
|
970
|
+
|
|
971
|
+
#### 25.1.1 Overview
|
|
972
|
+
|
|
973
|
+
For a normal agent session:
|
|
974
|
+
|
|
975
|
+
```bash
|
|
976
|
+
aops-cli mem resume --subject project --json
|
|
977
|
+
aops-cli view dashboard --style agent
|
|
978
|
+
aops-cli <family> --help
|
|
979
|
+
# do the scoped work
|
|
980
|
+
aops-cli mem write --mode resume --subject project --durability short --content '@./checkpoint.md' --apply --json
|
|
981
|
+
```
|
|
982
|
+
|
|
983
|
+
Use `view` for read-only context, then mutate through the owner family: `pm` for planning, `mem` for durable context, `doc` for documents, `file` for snapshots, `skill`/`prompt` for hosted reusable assets.
|
|
984
|
+
|
|
985
|
+
Do not run closeout commands unless the operator explicitly approves closeout. Ordinary stop points should write resume/handoff memory.
|
|
986
|
+
|
|
987
|
+
## 26 Installer model
|
|
988
|
+
|
|
989
|
+
### 26.1 Overview
|
|
990
|
+
|
|
991
|
+
#### 26.1.1 Overview
|
|
992
|
+
|
|
993
|
+
Runtime skills/prompts are loaded from user-level Codex/Claude homes, not directly from repo mirrors. AOPS installs pointer files that re-read `.aops/hosted/**` from the active repo.
|
|
994
|
+
|
|
995
|
+
Typical refresh:
|
|
996
|
+
|
|
997
|
+
```bash
|
|
998
|
+
aops-cli sync pull --apply --hosted-project-slug aops --json
|
|
999
|
+
aops-cli setup agent-assets --apply --target both --asset both
|
|
1000
|
+
pnpm skills:claude-codex:check
|
|
1001
|
+
```
|
|
1002
|
+
|
|
1003
|
+
After pointer template changes, restart Codex or Claude Code. Hosted content changes usually only need `sync pull`, because the pointer reads the repo mirror at trigger time.
|
|
1004
|
+
|
|
1005
|
+
## 27 Help-first model
|
|
1006
|
+
|
|
1007
|
+
### 27.1 Overview
|
|
1008
|
+
|
|
1009
|
+
#### 27.1.1 Overview
|
|
1010
|
+
|
|
1011
|
+
AOPS command discovery is help-first:
|
|
1012
|
+
|
|
1013
|
+
```bash
|
|
1014
|
+
aops-cli --help
|
|
1015
|
+
aops-cli <family> --help
|
|
1016
|
+
aops-cli <family> <subcommand> --help
|
|
1017
|
+
```
|
|
1018
|
+
|
|
1019
|
+
Decision chain:
|
|
1020
|
+
|
|
1021
|
+
1. Use sugar help for routine CLI work.
|
|
1022
|
+
2. Use `aops-cli agent tools --domain <domain> --json` to find hosted operations when sugar is missing.
|
|
1023
|
+
3. Use `aops-cli agent schema --tool <domain>.<operation> --json` before raw payload authoring.
|
|
1024
|
+
4. Use `aops-cli agent invoke --tool <id> --input '@payload.json' --apply --json` only when sugar is absent or broken.
|
|
1025
|
+
5. Use `aops-cli api call` only as an explicit low-level escape hatch.
|
|
1026
|
+
|
|
1027
|
+
## 28 Guard-flag convention
|
|
1028
|
+
|
|
1029
|
+
### 28.1 Overview
|
|
1030
|
+
|
|
1031
|
+
#### 28.1.1 Overview
|
|
1032
|
+
|
|
1033
|
+
Guard flags are consistent across AOPS sugar:
|
|
1034
|
+
|
|
1035
|
+
| Flag | Meaning |
|
|
1036
|
+
|---|---|
|
|
1037
|
+
| `--preview` | Validate and describe the operation without mutation. |
|
|
1038
|
+
| `--apply` | Execute a guarded write. |
|
|
1039
|
+
| `--confirm` | Confirm destructive actions such as delete, restore overwrite, cleanup, or reset. |
|
|
1040
|
+
| `--idempotency-key <key>` | Make write retries deterministic when the command supports it. |
|
|
1041
|
+
| `--json` | Return scriptable structured output. |
|
|
1042
|
+
| `--yes` | Non-interactive/fail-fast mode for prompts and missing choices. |
|
|
1043
|
+
|
|
1044
|
+
Read commands need no guard. Normal writes require `--apply`. Destructive writes require `--apply --confirm`. `--preview` without `--apply` should not mutate; if a command mutates during preview, file an issue.
|
|
1045
|
+
|
|
1046
|
+
## 29 Hosted source of truth and mirror cache
|
|
1047
|
+
|
|
1048
|
+
### 29.1 Overview
|
|
1049
|
+
|
|
1050
|
+
#### 29.1.1 Overview
|
|
1051
|
+
|
|
1052
|
+
The hosted server is the source of truth. The `.aops/**` tree is a read-only
|
|
1053
|
+
local cache; do not treat it as canonical or hand-edit it as truth.
|
|
1054
|
+
|
|
1055
|
+
Server-canonical, mirrored as read-only caches:
|
|
1056
|
+
|
|
1057
|
+
1. `.aops/projectman/**` caches Projectman boards, tasks, sprints, issues, feedback, and views. Refresh with `aops-cli sync pull --project-slug aops --apply --json`.
|
|
1058
|
+
2. `.aops/agentspace/memory/items/**` caches Agentspace memory. Refresh with `aops-cli sync pull ...`.
|
|
1059
|
+
3. `.aops/agentspace/discussions/**` caches discuss topics/transcripts (discuss authoring is hosted). Refresh with `aops-cli sync pull ...`.
|
|
1060
|
+
4. `.aops/hosted/prompts/**` and `.aops/hosted/skills/**` mirror hosted Agentspace prompt/skill current versions. Refresh with `aops-cli sync pull --apply --hosted-project-slug aops --json`.
|
|
1061
|
+
5. `.aops/docman/**` mirrors hosted Docman documents. Refresh with `aops-cli doc mirror pull ...`.
|
|
1062
|
+
|
|
1063
|
+
To change content, write through the owner surface (`aops-cli pm ...`, `aops-cli mem ...`, `aops-cli discuss ...`, `aops-cli doc ...`), then refresh the cache.
|
|
1064
|
+
|
|
1065
|
+
## 30 Hosted guide mirror bootstrap
|
|
1066
|
+
|
|
1067
|
+
### 30.1 Overview
|
|
1068
|
+
|
|
1069
|
+
#### 30.1.1 Overview
|
|
1070
|
+
|
|
1071
|
+
Guide mirrors are Docman-owned, not `sync pull`-owned. Refresh AOPS operator guides with:
|
|
1072
|
+
|
|
1073
|
+
```bash
|
|
1074
|
+
aops-cli doc mirror pull --project-slug aops --group-uid aops-guides --document-slug aops-cli-user-guide --document-slug aops-agent-assets-bootstrap --out-dir ./.aops/docman --apply --json
|
|
1075
|
+
aops-cli doc mirror pull --project-slug aops --group-uid domain-guides --document-slug agentspace-user-guide --out-dir ./.aops/docman --apply --json
|
|
1076
|
+
```
|
|
1077
|
+
|
|
1078
|
+
Use `sync pull` for hosted prompts/skills, and `doc mirror pull` for guides/documents.
|
|
1079
|
+
|
|
1080
|
+
## 31 Cross-cutting anti-patterns
|
|
1081
|
+
|
|
1082
|
+
### 31.1 Overview
|
|
1083
|
+
|
|
1084
|
+
#### 31.1.1 Overview
|
|
1085
|
+
|
|
1086
|
+
Avoid these:
|
|
1087
|
+
|
|
1088
|
+
1. Guessing flags after a validation error instead of reading `--help`.
|
|
1089
|
+
2. Writing raw `agent invoke` payloads without `agent schema`.
|
|
1090
|
+
3. Treating `aops-cli` as semantic owner for planning, memory, docs, files, or domain business state.
|
|
1091
|
+
4. Hand-editing `.aops/hosted/**` or `.aops/docman/**` mirrors.
|
|
1092
|
+
5. Assuming `sync pull` refreshes Docman guides.
|
|
1093
|
+
6. Running full Docman import for a one-page edit when CRUD ids are known.
|
|
1094
|
+
7. Writing closeout memory for an ordinary checkpoint.
|
|
1095
|
+
8. Leaving test Fileman targets/snapshots after smoke tests; run `file clean` and remove temp roots.
|
|
1096
|
+
|
|
1097
|
+
## 32 Skill and user-guide search discipline
|
|
1098
|
+
|
|
1099
|
+
### 32.1 Overview
|
|
1100
|
+
|
|
1101
|
+
#### 32.1.1 Overview
|
|
1102
|
+
|
|
1103
|
+
Use the smallest useful read:
|
|
1104
|
+
|
|
1105
|
+
```bash
|
|
1106
|
+
aops-cli <family> --help
|
|
1107
|
+
aops-cli doc scope search --project-slug aops --q "<keywords>" --local --json
|
|
1108
|
+
aops-cli doc outline get --document-version-id <docver-id> --titles-only --depth 2 --json
|
|
1109
|
+
aops-cli view doc-page aops-cli-user-guide#27-guard-flag-konvansiyonu
|
|
1110
|
+
```
|
|
1111
|
+
|
|
1112
|
+
Search rules:
|
|
1113
|
+
|
|
1114
|
+
1. Search by document title + section name + keywords, not bare section numbers.
|
|
1115
|
+
2. `doc scope search` is broad; verify the `documentSlug` and `mirrorPath` before trusting a hit.
|
|
1116
|
+
3. `doc search --local` is not a section body reader by itself.
|
|
1117
|
+
4. `view doc-page <document>#<number-prefixed-slug>` is the ergonomic local section reader.
|
|
1118
|
+
5. If a skill is thin, follow its canonical guide pointer rather than expecting full mechanics in the skill body.
|
|
1119
|
+
|
|
1120
|
+
## 33 AGENTS.md prompt-template bootstrap
|
|
1121
|
+
|
|
1122
|
+
### 33.1 Overview
|
|
1123
|
+
|
|
1124
|
+
#### 33.1.1 Overview
|
|
1125
|
+
|
|
1126
|
+
`aops-cli agents-md` manages generated AGENTS.md prompt-template blocks. Keep project-specific rules outside the managed block.
|
|
1127
|
+
|
|
1128
|
+
```bash
|
|
1129
|
+
aops-cli agents-md preview --collab
|
|
1130
|
+
aops-cli agents-md update --collab --apply
|
|
1131
|
+
aops-cli agents-md reset --apply --confirm
|
|
1132
|
+
```
|
|
1133
|
+
|
|
1134
|
+
Use this when a repo needs the standard AOPS task execution or collaborative work protocol reminders. Do not manually edit the managed block unless recovering from a broken generated state.
|
|
1135
|
+
|
|
1136
|
+
## 34 Agent runtime prompt/skill bootstrap
|
|
1137
|
+
|
|
1138
|
+
### 34.1 Overview
|
|
1139
|
+
|
|
1140
|
+
#### 34.1.1 Overview
|
|
1141
|
+
|
|
1142
|
+
Before asking Codex or Claude to use AOPS hosted skills, refresh mirrors and install pointers:
|
|
1143
|
+
|
|
1144
|
+
```bash
|
|
1145
|
+
aops-cli sync pull --apply --hosted-project-slug aops --json
|
|
1146
|
+
aops-cli setup agent-assets --apply --target both --asset both
|
|
1147
|
+
pnpm skills:claude-codex:check
|
|
1148
|
+
```
|
|
1149
|
+
|
|
1150
|
+
Destinations:
|
|
1151
|
+
|
|
1152
|
+
1. Codex skills: `~/.codex/skills/<skill>/SKILL.md`
|
|
1153
|
+
2. Codex prompts: `~/.codex/prompts/<prompt>.md`
|
|
1154
|
+
3. Claude skills: `~/.claude/skills/<skill>/SKILL.md`
|
|
1155
|
+
4. Claude commands: `~/.claude/commands/<prompt>.md` when supported by the local Claude Code build.
|
|
1156
|
+
|
|
1157
|
+
If a pointer triggers but `.aops/hosted/skills/<name>.md` is missing in the active repo, refresh hosted mirrors for the canonical project slug first. If the skill belongs to another domain repo, switch to that repo or pull that hosted project mirror intentionally.
|
|
1158
|
+
|
|
1159
|
+
## 35 `start` kickoff composer
|
|
1160
|
+
|
|
1161
|
+
### 35.1 Overview
|
|
1162
|
+
|
|
1163
|
+
#### 35.1.1 Overview
|
|
1164
|
+
|
|
1165
|
+
`aops-cli start` composes the hosted "AOPS Collaborative Startup" starter
|
|
1166
|
+
prompt from kickoff answers. The command's live help is canonical:
|
|
1167
|
+
|
|
1168
|
+
```bash
|
|
1169
|
+
aops-cli start --help
|
|
1170
|
+
```
|
|
1171
|
+
|
|
1172
|
+
Two usage modes:
|
|
1173
|
+
|
|
1174
|
+
1. Operator TTY: `aops-cli start` asks questions interactively and writes the
|
|
1175
|
+
prompt to stdout or to a file with `--out <file>`.
|
|
1176
|
+
2. Agent interview: `aops-cli start --json` returns questions in
|
|
1177
|
+
`result.missing` with an `askOperator` marker. The agent supplies known
|
|
1178
|
+
answers as flags and asks the operator only for `askOperator` items. Roles
|
|
1179
|
+
are operator-only.
|
|
1180
|
+
|
|
1181
|
+
Default `--json` output is compact. Instead of returning the prompt body inline,
|
|
1182
|
+
it points to it with `result.promptRef`; `--out tmp/start.md` keeps a long prompt
|
|
1183
|
+
in a file. Request an inline prompt with `--full-output` only when necessary.
|
|
1184
|
+
|
|
1185
|
+
Frequently used commands:
|
|
1186
|
+
|
|
1187
|
+
```bash
|
|
1188
|
+
aops-cli start --mode solo --board <board> --task "<task>" --json --out tmp/start.md
|
|
1189
|
+
aops-cli start --mode chat-room --board <board> --discipline build-review-chat --json
|
|
1190
|
+
aops-cli start --resume <mission-id> --mode solo --board <board> --json
|
|
1191
|
+
aops-cli start --reminder --task "<current task>" --area <area> --limit 3 --json
|
|
1192
|
+
```
|
|
1193
|
+
|
|
1194
|
+
Important fields in a ready result:
|
|
1195
|
+
|
|
1196
|
+
1. `result.promptRef.path` / `result.promptRef.sha256` - prompt file and hash.
|
|
1197
|
+
2. `result.memoryBrief` - read-only local-cache memory startup pack; `--no-memory-brief` skips it.
|
|
1198
|
+
3. `result.sessionGuidance` - layered runtime rules, discipline guardrails, accepted playbooks, ranked experience briefs.
|
|
1199
|
+
4. `result.mission.policyJson` - free-form policy seed for mission create/update.
|
|
1200
|
+
|
|
1201
|
+
`start --reminder` is not a full kickoff: it asks no questions, does not
|
|
1202
|
+
serialize the full starter prompt, and writes no PM, memory, or hosted state. It
|
|
1203
|
+
provides a bounded read-only answer to mid-session questions such as "where
|
|
1204
|
+
were we, and which rules, playbooks, or experience items apply?"
|
|
1205
|
+
|
|
1206
|
+
## 36 Mission and implementation plan
|
|
1207
|
+
|
|
1208
|
+
### 36.1 Overview
|
|
1209
|
+
|
|
1210
|
+
#### 36.1.1 Overview
|
|
1211
|
+
|
|
1212
|
+
Mission is an Agentspace-owned session anchor; it does not replace Projectman
|
|
1213
|
+
task/sprint/RR truth. An implementation plan is a Projectman sprint facade, and
|
|
1214
|
+
the plan id is the sprint id.
|
|
1215
|
+
|
|
1216
|
+
```bash
|
|
1217
|
+
aops-cli mission create --objective "<objective>" --policy-json '<json>' --apply --json
|
|
1218
|
+
aops-cli mission list --summary --json
|
|
1219
|
+
aops-cli mission get --id <mission-id> --json
|
|
1220
|
+
aops-cli mission update --id <mission-id> --active-plan <sprint-id> --apply --json
|
|
1221
|
+
aops-cli mission resume --id <mission-id> --depth light --limit 8 --json
|
|
1222
|
+
|
|
1223
|
+
aops-cli plan create --task <task-id> --name "<plan name>" --goal "<goal>" --apply --json
|
|
1224
|
+
aops-cli plan get --id <sprint-id> --json
|
|
1225
|
+
aops-cli plan update --id <sprint-id> --phases-json '@tmp/phases.json' --apply --json
|
|
1226
|
+
```
|
|
1227
|
+
|
|
1228
|
+
Rules:
|
|
1229
|
+
|
|
1230
|
+
1. Mission stores intent, status, policy, and the active-plan reference.
|
|
1231
|
+
2. Tasks, sprint phases/microtasks, issues, feedback, and RR/RRR records belong
|
|
1232
|
+
to Projectman.
|
|
1233
|
+
3. Mission resume is compact and token-bounded; use `mission resume --full` for
|
|
1234
|
+
the raw skeleton only when necessary.
|
|
1235
|
+
4. `start --resume <mission-id>` combines the starter prompt with the same
|
|
1236
|
+
compact mission pack.
|
|
1237
|
+
5. Use `aops-cli pm utask ...` for single-item microtask edits; the plan facade
|
|
1238
|
+
is not a second table.
|
|
1239
|
+
|
|
1240
|
+
## 37 Playbook and experience consult
|
|
1241
|
+
|
|
1242
|
+
### 37.1 Overview
|
|
1243
|
+
|
|
1244
|
+
#### 37.1.1 Overview
|
|
1245
|
+
|
|
1246
|
+
Playbooks and experience are not bulk-loaded at startup. Read a bounded pack
|
|
1247
|
+
first:
|
|
1248
|
+
|
|
1249
|
+
```bash
|
|
1250
|
+
aops-cli start --reminder --task "<current task>" --area <area> --limit 3 --json
|
|
1251
|
+
aops-cli view experience --area <area>
|
|
1252
|
+
aops-cli skill current --id <skill-id> --summary --json
|
|
1253
|
+
```
|
|
1254
|
+
|
|
1255
|
+
Read `result.sessionGuidance` in three layers:
|
|
1256
|
+
|
|
1257
|
+
1. L1 runtime pointers: AGENTS.md, ChatV3/channel rules, command refs.
|
|
1258
|
+
2. L2 discipline guardrails: id/title/phase/enforcement/evidence summary.
|
|
1259
|
+
3. L3 accepted playbook briefs + ranked experience briefs.
|
|
1260
|
+
|
|
1261
|
+
The default experience limit is 3 and the hard maximum is 5. If a brief is
|
|
1262
|
+
irrelevant, do not read the full body. If it is relevant, use the
|
|
1263
|
+
skill/prompt/current summary, memory/experience detail, or document-reading
|
|
1264
|
+
ladder for a targeted read.
|
|
1265
|
+
|
|
1266
|
+
## 38 Checkpoint cadence
|
|
1267
|
+
|
|
1268
|
+
### 38.1 Overview
|
|
1269
|
+
|
|
1270
|
+
#### 38.1.1 Overview
|
|
1271
|
+
|
|
1272
|
+
Checkpoint memory is a resume evidence pack, not a transcript. Do not write one
|
|
1273
|
+
for every chat line or small edit. Write it at a meaningful milestone,
|
|
1274
|
+
decision, blocker, RR/RRR result, import/publish slice, or session handoff.
|
|
1275
|
+
|
|
1276
|
+
```bash
|
|
1277
|
+
aops-cli mem checkpoint --subject sprint --id <sprint-id> \
|
|
1278
|
+
--content '@tmp/checkpoint.md' \
|
|
1279
|
+
--task-id <task-id> --sprint-id <sprint-id> \
|
|
1280
|
+
--source-ref "projectman.review-request:<rr-id>" \
|
|
1281
|
+
--validation-state "PASS: tests/typecheck/smoke" \
|
|
1282
|
+
--next-action "<next action>" \
|
|
1283
|
+
--apply --json
|
|
1284
|
+
```
|
|
1285
|
+
|
|
1286
|
+
A good checkpoint contains:
|
|
1287
|
+
|
|
1288
|
+
1. Request/purpose and PM surface references.
|
|
1289
|
+
2. Concrete outcome and current status.
|
|
1290
|
+
3. Validation/review evidence.
|
|
1291
|
+
4. Open risks/blockers.
|
|
1292
|
+
5. Next action and next-read references.
|
|
1293
|
+
|
|
1294
|
+
Durable closeout memory requires operator approval; an ordinary checkpoint
|
|
1295
|
+
remains a short resume/carry-forward record.
|
|
1296
|
+
|
|
1297
|
+
## 39 Appendices
|
|
1298
|
+
|
|
1299
|
+
### 39.1 Overview
|
|
1300
|
+
|
|
1301
|
+
#### 39.1.1 Overview
|
|
1302
|
+
|
|
1303
|
+
This top-level section contains reference appendices generated deterministically
|
|
1304
|
+
from source code and live registration surfaces. Editorial guide sections are
|
|
1305
|
+
maintained manually; do not edit the marker blocks below by hand.
|
|
1306
|
+
|
|
1307
|
+
<!-- aops-generated:cli-command-catalog:start -->
|
|
1308
|
+
|
|
1309
|
+
### 39.2 Generated CLI command catalog
|
|
1310
|
+
|
|
1311
|
+
#### 39.2.1 Overview
|
|
1312
|
+
|
|
1313
|
+
> This section is generated from the public Commander program registered by `buildCommunityProgram()`. Do not edit it by hand; regenerate it with `aops docs user-guide`.
|
|
1314
|
+
|
|
1315
|
+
#### 39.2.2 Command families
|
|
1316
|
+
|
|
1317
|
+
| Command | Purpose |
|
|
1318
|
+
| --- | --- |
|
|
1319
|
+
| `aops activity` | Agentspace activity ledger read sugar over the hosted AOPS gateway |
|
|
1320
|
+
| `aops agent` | Primary operator plane for federated tool discovery and invoke |
|
|
1321
|
+
| `aops agent-profile` | Author and read hosted Agentspace agent profiles (server-first) |
|
|
1322
|
+
| `aops agents-md` | Manage AOPS prompt-template bootstrap blocks in AGENTS.md |
|
|
1323
|
+
| `aops api` | Direct domain API escape hatch (/api/{domain}/...) |
|
|
1324
|
+
| `aops archive` | AOPS archive bundle commands for hosted Projectman graph cleanup preparation |
|
|
1325
|
+
| `aops artifact` | Agentspace artifact sugar commands over the hosted AOPS gateway |
|
|
1326
|
+
| `aops assets` | Install and update public AOPS skills, guides, disciplines, and roles from one simple release archive |
|
|
1327
|
+
| `aops auth` | Authenticate the CLI to a named remote-session target |
|
|
1328
|
+
| `aops bootstrap` | Read the host bootstrap contract |
|
|
1329
|
+
| `aops chat` | ChatV3 encrypted channels, rooms, agent sessions, coordination, and foreground listening |
|
|
1330
|
+
| `aops chatv3` | Compatibility command tree for canonical `aops chat`. ChatV3 encrypted channels, rooms, agent sessions, coordination, and foreground listening |
|
|
1331
|
+
| `aops checkpoint` | Server-first session checkpoint facade over hosted Agentspace memory |
|
|
1332
|
+
| `aops cockpit` | Open and independently operate AOPS Cockpit on its own loopback port |
|
|
1333
|
+
| `aops codex` | Experimental local agent-runtime integrations for Codex Desktop |
|
|
1334
|
+
| `aops config-root` | Print the brand-specific user config root |
|
|
1335
|
+
| `aops db` | Operator database surface: full PostgreSQL backup, listing and restore |
|
|
1336
|
+
| `aops discuss` | Manage hosted (server-first) Agentspace discussion topics |
|
|
1337
|
+
| `aops doc` | Docman authoring, retrieval, and publish sugar over the hosted AOPS plane |
|
|
1338
|
+
| `aops docs` | Generate AOPS documentation sections from live CLI registrations |
|
|
1339
|
+
| `aops doctor` | Run mutation-free, profile-aware CLI/target/local-instance checks |
|
|
1340
|
+
| `aops exp` (aliases: experience) | Author and read hosted Agentspace experience items (server-first) |
|
|
1341
|
+
| `aops health` | Read host health |
|
|
1342
|
+
| `aops host` | Host inventory, registration, diagnostics, and admin commands |
|
|
1343
|
+
| `aops init` | Initialize repo-local AOPS Community metadata (.aops) |
|
|
1344
|
+
| `aops license` | Inspect the public trusted-local license profile; commercial activation is unavailable |
|
|
1345
|
+
| `aops loop` | AOPS loop-engineering facade: dry-run readiness, owner-boundary contract, and foreground-listener contract |
|
|
1346
|
+
| `aops mem` (aliases: memory) | Agentspace server-first memory commands (hosted memory-item ops are the source of truth; the local .aops memory tree is never written) |
|
|
1347
|
+
| `aops plan` | Sprint-backed Projectman implementation plan commands |
|
|
1348
|
+
| `aops playbook` | List reviewed playbooks projected from hosted Agentspace memory rules/constraints (server-first) |
|
|
1349
|
+
| `aops pm` | Projectman authoring commands (hosted server-first) |
|
|
1350
|
+
| `aops project` | Agentspace project sugar commands over the hosted AOPS gateway |
|
|
1351
|
+
| `aops prompt` | Agentspace prompt and prompt-version sugar commands over the hosted AOPS gateway |
|
|
1352
|
+
| `aops resource` | Agentspace resource sugar commands over the hosted AOPS gateway |
|
|
1353
|
+
| `aops runner` | Tasker Loop Runner v2 status and guarded control sugar |
|
|
1354
|
+
| `aops server` | Configure and operate a named AOPS Community server instance |
|
|
1355
|
+
| `aops setup` | Inspect and bootstrap an AOPS Community installation |
|
|
1356
|
+
| `aops skill` | Agentspace skill and skill-version sugar commands over the hosted AOPS gateway |
|
|
1357
|
+
| `aops start` | Compose the AOPS Collaborative Startup kickoff prompt from explicit flags |
|
|
1358
|
+
| `aops sync` | Server-first sync commands: refresh the read-only local cache of Projectman/Agentspace state plus hosted prompt/skill mirrors |
|
|
1359
|
+
| `aops target` | Manage named local or remote AOPS server targets |
|
|
1360
|
+
| `aops tasker` | Tasker board, task, and WorkGroup sugar over the hosted AOPS plane |
|
|
1361
|
+
| `aops update` | Check, prepare, and apply a guarded global AOPS npm update |
|
|
1362
|
+
| `aops version` | Show immutable CLI identity and optional target/runtime context |
|
|
1363
|
+
| `aops view` | Read-only AOPS markdown/JSON presentation views |
|
|
1364
|
+
|
|
1365
|
+
#### 39.2.3 `aops activity` commands
|
|
1366
|
+
|
|
1367
|
+
| Command | Purpose |
|
|
1368
|
+
| --- | --- |
|
|
1369
|
+
| `aops activity get` | Get an activity ledger item by id |
|
|
1370
|
+
| `aops activity list` | List activity ledger items |
|
|
1371
|
+
|
|
1372
|
+
#### 39.2.4 `aops agent` commands
|
|
1373
|
+
|
|
1374
|
+
| Command | Purpose |
|
|
1375
|
+
| --- | --- |
|
|
1376
|
+
| `aops agent invoke` | Invoke a tool via the canonical operator plane (/api/agent/tools/{toolId}/invoke) |
|
|
1377
|
+
| `aops agent openapi` | Generate OpenAPI from the canonical federated tool catalog |
|
|
1378
|
+
| `aops agent schema` | Print the live JSON Schema for one tool's input contract — use this before authoring --input payloads |
|
|
1379
|
+
| `aops agent tools` | List federated tools from the canonical operator plane (/api/agent/tools) |
|
|
1380
|
+
|
|
1381
|
+
#### 39.2.5 `aops agent-profile` commands
|
|
1382
|
+
|
|
1383
|
+
| Command | Purpose |
|
|
1384
|
+
| --- | --- |
|
|
1385
|
+
| `aops agent-profile create` | Create a hosted Agentspace agent profile |
|
|
1386
|
+
| `aops agent-profile delete` | Delete one hosted agent profile |
|
|
1387
|
+
| `aops agent-profile get` | Get one hosted agent profile by id |
|
|
1388
|
+
| `aops agent-profile list` | List hosted agent profiles within the current owner scope |
|
|
1389
|
+
| `aops agent-profile update` | Patch one hosted agent profile |
|
|
1390
|
+
|
|
1391
|
+
#### 39.2.6 `aops agents-md` commands
|
|
1392
|
+
|
|
1393
|
+
| Command | Purpose |
|
|
1394
|
+
| --- | --- |
|
|
1395
|
+
| `aops agents-md preview` | Print merged AGENTS.md content without writing |
|
|
1396
|
+
| `aops agents-md reset` | Remove the managed AOPS AGENTS.md prompt-template block |
|
|
1397
|
+
| `aops agents-md update` | Insert or replace the managed AOPS AGENTS.md prompt-template block |
|
|
1398
|
+
|
|
1399
|
+
#### 39.2.7 `aops api` commands
|
|
1400
|
+
|
|
1401
|
+
| Command | Purpose |
|
|
1402
|
+
| --- | --- |
|
|
1403
|
+
| `aops api call` | Call direct domain route via dynamic host router (escape hatch, not primary tool plane) |
|
|
1404
|
+
|
|
1405
|
+
#### 39.2.8 `aops archive` commands
|
|
1406
|
+
|
|
1407
|
+
| Command | Purpose |
|
|
1408
|
+
| --- | --- |
|
|
1409
|
+
| `aops archive create` | Download a hosted PM graph into .aops/archive/<slug>/<timestamp> |
|
|
1410
|
+
| `aops archive decommission-check` | Check whether an archive manifest permits full project/scope decommission |
|
|
1411
|
+
| `aops archive delete` | Preview or apply destructive hosted PM graph deletion from a verified archive manifest |
|
|
1412
|
+
| `aops archive verify` | Verify an archive bundle by re-fetching hosted PM graph data and comparing counts/checksums |
|
|
1413
|
+
|
|
1414
|
+
#### 39.2.9 `aops artifact` commands
|
|
1415
|
+
|
|
1416
|
+
| Command | Purpose |
|
|
1417
|
+
| --- | --- |
|
|
1418
|
+
| `aops artifact create` | Create a scope-owned artifact shell |
|
|
1419
|
+
| `aops artifact delete` | Delete an artifact |
|
|
1420
|
+
| `aops artifact get` | Get an artifact by id |
|
|
1421
|
+
| `aops artifact link` | Link an artifact to a project-scoped ref |
|
|
1422
|
+
| `aops artifact ref` | Artifact ref lookup commands |
|
|
1423
|
+
| `aops artifact ref list` | List artifacts linked to a ref |
|
|
1424
|
+
|
|
1425
|
+
#### 39.2.10 `aops assets` commands
|
|
1426
|
+
|
|
1427
|
+
| Command | Purpose |
|
|
1428
|
+
| --- | --- |
|
|
1429
|
+
| `aops assets install` | Install the bundled or selected AOPS asset release |
|
|
1430
|
+
| `aops assets rollback` | Restore the previous AOPS asset release and projected skills |
|
|
1431
|
+
| `aops assets status` | Show locally installed AOPS asset release state |
|
|
1432
|
+
| `aops assets update` | Update from a local release or the public AOPS GitHub release |
|
|
1433
|
+
|
|
1434
|
+
#### 39.2.11 `aops auth` commands
|
|
1435
|
+
|
|
1436
|
+
| Command | Purpose |
|
|
1437
|
+
| --- | --- |
|
|
1438
|
+
| `aops auth legacy-export` | Export historical local identity/tenant/role metadata without credentials |
|
|
1439
|
+
| `aops auth login` | Login with browser approval and store target-bound encrypted tokens |
|
|
1440
|
+
| `aops auth logout` | Revoke the remote session, then remove encrypted credentials for one target |
|
|
1441
|
+
| `aops auth status` | Verify the selected target and current authenticated principal |
|
|
1442
|
+
|
|
1443
|
+
#### 39.2.12 `aops chat` commands
|
|
1444
|
+
|
|
1445
|
+
| Command | Purpose |
|
|
1446
|
+
| --- | --- |
|
|
1447
|
+
| `aops chat binding` | ChatV3 loose channel/room reference bindings |
|
|
1448
|
+
| `aops chat binding add` | Attach a loose external reference to the active room or channel |
|
|
1449
|
+
| `aops chat binding list` | List loose references for the active room by default |
|
|
1450
|
+
| `aops chat binding remove` | Remove a loose ChatV3 binding |
|
|
1451
|
+
| `aops chat channel` | ChatV3 channel lifecycle helpers |
|
|
1452
|
+
| `aops chat channel create` | Create a ChatV3 channel and print the invite once; invite contains secrets |
|
|
1453
|
+
| `aops chat channel delete` | Hard-delete one ChatV3 channel after confirm-slug guard |
|
|
1454
|
+
| `aops chat channel purge-before` | Preview or apply admin cleanup for channels created before an ISO cutoff |
|
|
1455
|
+
| `aops chat channels` | List channels owned by or joined by the verified AuthV2 principal |
|
|
1456
|
+
| `aops chat join` | Run `aops chat join --help` for the current command contract. |
|
|
1457
|
+
| `aops chat leave` | Run `aops chat leave --help` for the current command contract. |
|
|
1458
|
+
| `aops chat listen` | Run `aops chat listen --help` for the current command contract. |
|
|
1459
|
+
| `aops chat member` | ChatV3 channel member roster |
|
|
1460
|
+
| `aops chat member list` | Run `aops chat member list --help` for the current command contract. |
|
|
1461
|
+
| `aops chat member remove` | Remove a member from a ChatV3 channel (owner/operator), or with --room kick them from one room (room creator or owner/operator) |
|
|
1462
|
+
| `aops chat member restore` | Restore a removed member (channel-level, owner/operator), or with --room re-add them to one room |
|
|
1463
|
+
| `aops chat presence` | ChatV3 room presence |
|
|
1464
|
+
| `aops chat presence list` | Run `aops chat presence list --help` for the current command contract. |
|
|
1465
|
+
| `aops chat presence set` | Run `aops chat presence set --help` for the current command contract. |
|
|
1466
|
+
| `aops chat read` | Run `aops chat read --help` for the current command contract. |
|
|
1467
|
+
| `aops chat room` | ChatV3 room orientation helpers |
|
|
1468
|
+
| `aops chat room brief` | Build a paste-ready room brief from guidance, bindings, members, presence, and cursor refs |
|
|
1469
|
+
| `aops chat room create` | Create a room in the session channel (creator becomes its first participant) |
|
|
1470
|
+
| `aops chat room join` | Join a room roster (disjoin later with "room leave"); rejected after a room-level removal |
|
|
1471
|
+
| `aops chat room leave` | Leave a room roster (disjoin); the channel membership stays intact |
|
|
1472
|
+
| `aops chat room list` | List active rooms of the session channel |
|
|
1473
|
+
| `aops chat room members` | List the room-scoped participant roster (active participants by default) |
|
|
1474
|
+
| `aops chat room summary` | Build a room summary pack with source messages for agent-composed memory digest |
|
|
1475
|
+
| `aops chat send` | Run `aops chat send --help` for the current command contract. |
|
|
1476
|
+
| `aops chat session` | Local ChatV3 agent session records |
|
|
1477
|
+
| `aops chat session forget` | Run `aops chat session forget --help` for the current command contract. |
|
|
1478
|
+
| `aops chat session get` | Run `aops chat session get --help` for the current command contract. |
|
|
1479
|
+
| `aops chat session list` | Run `aops chat session list --help` for the current command contract. |
|
|
1480
|
+
| `aops chat wake-watch` | EXPERIMENTAL foreground ChatV3-to-local-Codex wake watcher |
|
|
1481
|
+
|
|
1482
|
+
#### 39.2.13 `aops chatv3` commands
|
|
1483
|
+
|
|
1484
|
+
> Compatibility command tree for canonical `aops chat`. It is retained for existing automation; prefer `aops chat` for new workflows.
|
|
1485
|
+
|
|
1486
|
+
| Command | Purpose |
|
|
1487
|
+
| --- | --- |
|
|
1488
|
+
| `aops chatv3 binding` | ChatV3 loose channel/room reference bindings |
|
|
1489
|
+
| `aops chatv3 binding add` | Attach a loose external reference to the active room or channel |
|
|
1490
|
+
| `aops chatv3 binding list` | List loose references for the active room by default |
|
|
1491
|
+
| `aops chatv3 binding remove` | Remove a loose ChatV3 binding |
|
|
1492
|
+
| `aops chatv3 channel` | ChatV3 channel lifecycle helpers |
|
|
1493
|
+
| `aops chatv3 channel create` | Create a ChatV3 channel and print the invite once; invite contains secrets |
|
|
1494
|
+
| `aops chatv3 channel delete` | Hard-delete one ChatV3 channel after confirm-slug guard |
|
|
1495
|
+
| `aops chatv3 channel purge-before` | Preview or apply admin cleanup for channels created before an ISO cutoff |
|
|
1496
|
+
| `aops chatv3 channels` | List channels owned by or joined by the verified AuthV2 principal |
|
|
1497
|
+
| `aops chatv3 join` | Run `aops chatv3 join --help` for the current command contract. |
|
|
1498
|
+
| `aops chatv3 leave` | Run `aops chatv3 leave --help` for the current command contract. |
|
|
1499
|
+
| `aops chatv3 listen` | Run `aops chatv3 listen --help` for the current command contract. |
|
|
1500
|
+
| `aops chatv3 member` | ChatV3 channel member roster |
|
|
1501
|
+
| `aops chatv3 member list` | Run `aops chatv3 member list --help` for the current command contract. |
|
|
1502
|
+
| `aops chatv3 member remove` | Remove a member from a ChatV3 channel (owner/operator), or with --room kick them from one room (room creator or owner/operator) |
|
|
1503
|
+
| `aops chatv3 member restore` | Restore a removed member (channel-level, owner/operator), or with --room re-add them to one room |
|
|
1504
|
+
| `aops chatv3 presence` | ChatV3 room presence |
|
|
1505
|
+
| `aops chatv3 presence list` | Run `aops chatv3 presence list --help` for the current command contract. |
|
|
1506
|
+
| `aops chatv3 presence set` | Run `aops chatv3 presence set --help` for the current command contract. |
|
|
1507
|
+
| `aops chatv3 read` | Run `aops chatv3 read --help` for the current command contract. |
|
|
1508
|
+
| `aops chatv3 room` | ChatV3 room orientation helpers |
|
|
1509
|
+
| `aops chatv3 room brief` | Build a paste-ready room brief from guidance, bindings, members, presence, and cursor refs |
|
|
1510
|
+
| `aops chatv3 room create` | Create a room in the session channel (creator becomes its first participant) |
|
|
1511
|
+
| `aops chatv3 room join` | Join a room roster (disjoin later with "room leave"); rejected after a room-level removal |
|
|
1512
|
+
| `aops chatv3 room leave` | Leave a room roster (disjoin); the channel membership stays intact |
|
|
1513
|
+
| `aops chatv3 room list` | List active rooms of the session channel |
|
|
1514
|
+
| `aops chatv3 room members` | List the room-scoped participant roster (active participants by default) |
|
|
1515
|
+
| `aops chatv3 room summary` | Build a room summary pack with source messages for agent-composed memory digest |
|
|
1516
|
+
| `aops chatv3 send` | Run `aops chatv3 send --help` for the current command contract. |
|
|
1517
|
+
| `aops chatv3 session` | Local ChatV3 agent session records |
|
|
1518
|
+
| `aops chatv3 session forget` | Run `aops chatv3 session forget --help` for the current command contract. |
|
|
1519
|
+
| `aops chatv3 session get` | Run `aops chatv3 session get --help` for the current command contract. |
|
|
1520
|
+
| `aops chatv3 session list` | Run `aops chatv3 session list --help` for the current command contract. |
|
|
1521
|
+
| `aops chatv3 wake-watch` | EXPERIMENTAL foreground ChatV3-to-local-Codex wake watcher |
|
|
1522
|
+
|
|
1523
|
+
#### 39.2.14 `aops checkpoint` commands
|
|
1524
|
+
|
|
1525
|
+
| Command | Purpose |
|
|
1526
|
+
| --- | --- |
|
|
1527
|
+
| `aops checkpoint create` | Write a structured short session checkpoint |
|
|
1528
|
+
| `aops checkpoint get` | Get a checkpoint by id, or the current checkpoint for a subject |
|
|
1529
|
+
| `aops checkpoint list` | List checkpoint timeline, including superseded records |
|
|
1530
|
+
|
|
1531
|
+
#### 39.2.15 `aops cockpit` commands
|
|
1532
|
+
|
|
1533
|
+
| Command | Purpose |
|
|
1534
|
+
| --- | --- |
|
|
1535
|
+
| `aops cockpit health` | Check the Cockpit host health without mutation |
|
|
1536
|
+
| `aops cockpit logs` | Show recent Cockpit logs |
|
|
1537
|
+
| `aops cockpit open` | Start stopped local services as needed and open Cockpit |
|
|
1538
|
+
| `aops cockpit restart` | Restart only the Cockpit process |
|
|
1539
|
+
| `aops cockpit start` | Start only the Cockpit process; do not start the AOPS Server |
|
|
1540
|
+
| `aops cockpit status` | Show Cockpit process status without mutation |
|
|
1541
|
+
| `aops cockpit stop` | Stop only the Cockpit process; do not stop the AOPS Server |
|
|
1542
|
+
|
|
1543
|
+
#### 39.2.16 `aops codex` commands
|
|
1544
|
+
|
|
1545
|
+
| Command | Purpose |
|
|
1546
|
+
| --- | --- |
|
|
1547
|
+
| `aops codex register` | Register a verified local Codex task for one ChatV3 agent member |
|
|
1548
|
+
| `aops codex registrations` | List local ChatV3-to-Codex registrations with session ids redacted |
|
|
1549
|
+
| `aops codex unregister` | Remove one local ChatV3 member wake registration |
|
|
1550
|
+
| `aops codex wake` (aliases: wakeup) | Wake the exact local Codex Desktop session through internal IPC |
|
|
1551
|
+
|
|
1552
|
+
#### 39.2.17 `aops db` commands
|
|
1553
|
+
|
|
1554
|
+
| Command | Purpose |
|
|
1555
|
+
| --- | --- |
|
|
1556
|
+
| `aops db backup` | Take one full PostgreSQL backup with pg_dump and verify it |
|
|
1557
|
+
| `aops db list` | List backups and say which ones a restore will accept |
|
|
1558
|
+
| `aops db restore` | Restore one full backup: --latest or --backup <path> |
|
|
1559
|
+
| `aops db which` | Print the backup that --latest would choose, without restoring |
|
|
1560
|
+
|
|
1561
|
+
#### 39.2.18 `aops discuss` commands
|
|
1562
|
+
|
|
1563
|
+
| Command | Purpose |
|
|
1564
|
+
| --- | --- |
|
|
1565
|
+
| `aops discuss abandon` | Mark a hosted discussion topic as abandoned |
|
|
1566
|
+
| `aops discuss conclude` | Conclude a hosted discussion topic (server enforces min-turns + final-stance readiness) |
|
|
1567
|
+
| `aops discuss digest` | Build a non-interpretive hosted discussion context pack |
|
|
1568
|
+
| `aops discuss follow-up` | Create a hosted child topic referencing an existing discussion (parent not mutated) |
|
|
1569
|
+
| `aops discuss fork` | Create a hosted fork topic branching from an existing discussion (parent not mutated) |
|
|
1570
|
+
| `aops discuss get` | Get a hosted discussion topic with its turns and outputs |
|
|
1571
|
+
| `aops discuss lineage` | Show the child-topic lineage tree for one discussion root (built from hosted list calls) |
|
|
1572
|
+
| `aops discuss list` | List hosted discussion topics |
|
|
1573
|
+
| `aops discuss loop-prompt` | Print a persistent agent loop prompt for hosted discussion automation |
|
|
1574
|
+
| `aops discuss output` | Set a hosted discussion output (conclude-flow output authoring) |
|
|
1575
|
+
| `aops discuss start` | Create a hosted discussion topic |
|
|
1576
|
+
| `aops discuss status` | Read hosted discussion state mapped to lifecycleState/nextTurn/openQuestions |
|
|
1577
|
+
| `aops discuss turn` | Append one turn to a hosted discussion topic (turn-order enforced server-side) |
|
|
1578
|
+
| `aops discuss wait` | Poll hosted status until an agent may write, an operator block appears, or the topic is ready/done |
|
|
1579
|
+
|
|
1580
|
+
#### 39.2.19 `aops doc` commands
|
|
1581
|
+
|
|
1582
|
+
| Command | Purpose |
|
|
1583
|
+
| --- | --- |
|
|
1584
|
+
| `aops doc answer` | Read a citation-first deterministic answer pack for a saved document version |
|
|
1585
|
+
| `aops doc create` | Create a Docman document through the canonical flow surface |
|
|
1586
|
+
| `aops doc delete` | Safely delete one Docman document graph after exact title confirmation |
|
|
1587
|
+
| `aops doc get` | Get a Docman document by id through the hosted gateway |
|
|
1588
|
+
| `aops doc group` | Docman document-group commands |
|
|
1589
|
+
| `aops doc group create` | Create a document group |
|
|
1590
|
+
| `aops doc group delete` | Delete a document group |
|
|
1591
|
+
| `aops doc group get` | Get a document group by id |
|
|
1592
|
+
| `aops doc group list` | List document groups |
|
|
1593
|
+
| `aops doc group update` | Update a document group |
|
|
1594
|
+
| `aops doc import` | Import structured Docman content from source files |
|
|
1595
|
+
| `aops doc index` | Docman retrieval index commands |
|
|
1596
|
+
| `aops doc index build` | Build or refresh the persisted retrieval index for a saved document version |
|
|
1597
|
+
| `aops doc link` | Docman structure linking commands |
|
|
1598
|
+
| `aops doc link page` | Link or unlink pages in a section |
|
|
1599
|
+
| `aops doc link section` | Link or unlink sections in a document outline |
|
|
1600
|
+
| `aops doc link section delete` | Alias for doc section unlink |
|
|
1601
|
+
| `aops doc list` | List Docman documents through the hosted gateway |
|
|
1602
|
+
| `aops doc mirror` | Docman v2 structured and v3 source-file mirror helpers |
|
|
1603
|
+
| `aops doc mirror pull` | Materialize structured v2 .md mirrors and exact v3 source files with adjacent sidecars |
|
|
1604
|
+
| `aops doc mirror push` | Import root markdown files or guarded-push one v3 source file with its adjacent sidecar |
|
|
1605
|
+
| `aops doc order` | Docman outline ordering commands |
|
|
1606
|
+
| `aops doc order pages` | Update section-page-link ordering through the canonical flow surface |
|
|
1607
|
+
| `aops doc order sections` | Update document-section-link ordering through the canonical flow surface |
|
|
1608
|
+
| `aops doc outline` | Docman normalized outline inspection |
|
|
1609
|
+
| `aops doc outline get` | Read a section-centric normalized outline for a saved document version |
|
|
1610
|
+
| `aops doc page` | Docman page and page-version commands |
|
|
1611
|
+
| `aops doc page copy` | Copy a page into a section through the canonical flow surface |
|
|
1612
|
+
| `aops doc page create` | Create a page with its first draft and optionally link it into a document tree |
|
|
1613
|
+
| `aops doc page draft-save` | Create or update a page-version draft through the canonical flow surface |
|
|
1614
|
+
| `aops doc page get` | Get a page by id |
|
|
1615
|
+
| `aops doc page list` | List pages |
|
|
1616
|
+
| `aops doc page membership-unlink` | Delete a reusable section-page-link without deleting the page |
|
|
1617
|
+
| `aops doc page move` | Move a section-page-link to another section |
|
|
1618
|
+
| `aops doc page unlink` | Unlink a page node created in the document outline without deleting the page |
|
|
1619
|
+
| `aops doc page update` | Update Docman page metadata through the canonical flow surface |
|
|
1620
|
+
| `aops doc page-version` | Docman page-version commands |
|
|
1621
|
+
| `aops doc page-version get` | Get a page version by id |
|
|
1622
|
+
| `aops doc page-version list` | List page versions |
|
|
1623
|
+
| `aops doc page-version update` | Update page-version metadata; content changes must use doc page draft-save |
|
|
1624
|
+
| `aops doc publish` | Materialize saved document content to markdown, html, or exact source |
|
|
1625
|
+
| `aops doc scope` | Docman scope-owned retrieval commands |
|
|
1626
|
+
| `aops doc scope answer` | Read a citation-first answer pack across latest document versions in one scope |
|
|
1627
|
+
| `aops doc scope search` | Search persisted Docman retrieval rows across latest document versions in one scope |
|
|
1628
|
+
| `aops doc search` | Search persisted Docman retrieval rows for a saved document version |
|
|
1629
|
+
| `aops doc section` | Docman section commands |
|
|
1630
|
+
| `aops doc section copy` | Copy a section into a document version through the canonical flow surface |
|
|
1631
|
+
| `aops doc section create` | Create a section and optionally link it into a document outline |
|
|
1632
|
+
| `aops doc section get` | Get a section by id |
|
|
1633
|
+
| `aops doc section list` | List sections |
|
|
1634
|
+
| `aops doc section unlink` | Unlink a section from a document outline without deleting the section |
|
|
1635
|
+
| `aops doc section update` | Update a Docman section through the canonical flow surface |
|
|
1636
|
+
| `aops doc set-current-version` | Flip a document’s canonical current version atomically (peer-clear + optional publish + publishedAt). Dispatches docman.document-version.set-current. |
|
|
1637
|
+
| `aops doc source` | Fetch exact composed source for a saved document fragment |
|
|
1638
|
+
| `aops doc source-file` | Immutable Docman text-file snapshot commands |
|
|
1639
|
+
| `aops doc source-file save` | Save an exact UTF-8 source file as a new immutable text-file document version |
|
|
1640
|
+
| `aops doc summary` | Docman persisted summary commands |
|
|
1641
|
+
| `aops doc summary build` | Build or refresh persisted summaries for a saved document version; index rows are ensured first |
|
|
1642
|
+
| `aops doc update` | Update a Docman document through the canonical flow surface |
|
|
1643
|
+
| `aops doc version` | Docman document-version commands |
|
|
1644
|
+
| `aops doc version create` | Create a document version through the canonical flow surface |
|
|
1645
|
+
| `aops doc version get` | Get a document version by id |
|
|
1646
|
+
| `aops doc version list` | List document versions |
|
|
1647
|
+
| `aops doc version update` | Update document-version header metadata (status / title / summary / release-notes / label). To switch the canonical current version, use `aops-cli doc set-current-version` instead. |
|
|
1648
|
+
|
|
1649
|
+
#### 39.2.20 `aops docs` commands
|
|
1650
|
+
|
|
1651
|
+
| Command | Purpose |
|
|
1652
|
+
| --- | --- |
|
|
1653
|
+
| `aops docs user-guide` | Generate or refresh the dynamic appendix sections in the AOPS CLI user guide |
|
|
1654
|
+
|
|
1655
|
+
#### 39.2.21 `aops exp` commands
|
|
1656
|
+
|
|
1657
|
+
| Command | Purpose |
|
|
1658
|
+
| --- | --- |
|
|
1659
|
+
| `aops exp capture` | Capture a hosted experience item |
|
|
1660
|
+
| `aops exp delete` | Delete one hosted experience item |
|
|
1661
|
+
| `aops exp get` | Get one hosted experience item by id |
|
|
1662
|
+
| `aops exp list` | List hosted experience items within the current owner scope |
|
|
1663
|
+
| `aops exp promote` | Promote a hosted experience item into a durable memory item (or a playbook with --as-playbook) |
|
|
1664
|
+
| `aops exp search` | Lexically rank hosted experience items (server-truth rows ranked client-side) |
|
|
1665
|
+
| `aops exp update` | Patch one hosted experience item |
|
|
1666
|
+
|
|
1667
|
+
#### 39.2.22 `aops host` commands
|
|
1668
|
+
|
|
1669
|
+
| Command | Purpose |
|
|
1670
|
+
| --- | --- |
|
|
1671
|
+
| `aops host config` | Inspect or update the local host-owned env config |
|
|
1672
|
+
| `aops host config set` | Write repo target and/or host log level into the local host env file |
|
|
1673
|
+
| `aops host config show` | Show repo target and host log level from the local host env file |
|
|
1674
|
+
| `aops host database` (aliases: db) | Inspect or mutate the active host database via AOPS db-admin routes |
|
|
1675
|
+
| `aops host database backup` | Export or restore hosted database backups |
|
|
1676
|
+
| `aops host database backup export` | Export a hosted database backup through the AOPS backup route |
|
|
1677
|
+
| `aops host database backup restore` | Restore a hosted database backup through the AOPS restore route |
|
|
1678
|
+
| `aops host database dump` | Run PG-native pg_dump / pg_restore against the configured PostgreSQL repo URL |
|
|
1679
|
+
| `aops host database dump export` | Write a native PostgreSQL custom dump file with pg_dump |
|
|
1680
|
+
| `aops host database dump restore` | Restore a native PostgreSQL custom dump file with pg_restore |
|
|
1681
|
+
| `aops host database reset` | Reset hosted database tables and optionally recreate schema |
|
|
1682
|
+
| `aops host database status` | Load hosted database status (/api/aops/settings/database/status) |
|
|
1683
|
+
| `aops host diagnostics` (aliases: plugins) | Inspect host runtime diagnostics (/api/host-admin/plugins) |
|
|
1684
|
+
| `aops host explain-registration` | Explain the stored registration manifest and projected host-config fragment |
|
|
1685
|
+
| `aops host health` | Smoke the runtime health endpoint (GET /api/health) |
|
|
1686
|
+
| `aops host hello` | Smoke the hello endpoint (GET /api/hello) |
|
|
1687
|
+
| `aops host register` | Return commercial_profile_required; external domains are disabled in trusted-local |
|
|
1688
|
+
| `aops host registrations` | List installed host registrations in the operator registry |
|
|
1689
|
+
| `aops host unregister` | Remove an installed host registration |
|
|
1690
|
+
|
|
1691
|
+
#### 39.2.23 `aops license` commands
|
|
1692
|
+
|
|
1693
|
+
| Command | Purpose |
|
|
1694
|
+
| --- | --- |
|
|
1695
|
+
| `aops license activate` | Return commercial_profile_required without accepting commercial evidence |
|
|
1696
|
+
| `aops license status` | Show the free built-in domain profile |
|
|
1697
|
+
|
|
1698
|
+
#### 39.2.24 `aops loop` commands
|
|
1699
|
+
|
|
1700
|
+
| Command | Purpose |
|
|
1701
|
+
| --- | --- |
|
|
1702
|
+
| `aops loop cleanup` | Inspect stale worker/worktree/artifact cleanup candidates without deleting anything |
|
|
1703
|
+
| `aops loop listen` | Show the F4 foreground listener contract; timeout means re-poll |
|
|
1704
|
+
| `aops loop maker-run` | Run at most one supervised maker in one approved slice worktree; no nested spawn, merge, or ledger writes |
|
|
1705
|
+
| `aops loop models` | List the models each adapter can actually use, or resolve a loose name like "opus 5" to what the adapter calls it |
|
|
1706
|
+
| `aops loop pack` | Build an inspectable pre-run loop pack with refs, policy, and role prompts |
|
|
1707
|
+
| `aops loop parallel-plan` | Build the F6 parallel/worktree fan-out gate plan without creating worktrees or agents |
|
|
1708
|
+
| `aops loop plan` | Build a pass/fail loop readiness and command-contract plan |
|
|
1709
|
+
| `aops loop probe` | Probe SDK/CLI adapter readiness without running child agents |
|
|
1710
|
+
| `aops loop resume` | Show resume/reconcile contract; never replay guarded writes |
|
|
1711
|
+
| `aops loop resume-agent` | Resume a captured Codex or Claude agent session with a new directive; double-gated like start |
|
|
1712
|
+
| `aops loop runner-eval` | Evaluate hosted runner/worker v2 boundaries and gaps without hosted mutation |
|
|
1713
|
+
| `aops loop session-reconcile` | Show the session lifecycle states, safety brakes, and crash/stale reconcile contract (maps to runner v2 reconcile-state; never replays guarded writes) |
|
|
1714
|
+
| `aops loop slice-merge` | Merge one accepted slice branch with ff-only git merge; no child agents or ledger writes |
|
|
1715
|
+
| `aops loop start` | Start loop dry-run or one supervised F5 child-agent dogfood run |
|
|
1716
|
+
| `aops loop status` | Show stateless F4 loop cockpit with owner refs, cursors, blockers, evidence, and cost/usage actuals |
|
|
1717
|
+
| `aops loop stop` | Show stop contract; later runner owner records the actual stop request |
|
|
1718
|
+
| `aops loop watch` | Short-lived poll-once/resume-once resume-on-trigger driver; on a qualifying trigger delegates to resume-agent, then exits (no daemon; durable execution belongs to Runner) |
|
|
1719
|
+
| `aops loop worktree-init` | Materialize operator-approved isolated worktrees without starting agents or merging |
|
|
1720
|
+
|
|
1721
|
+
#### 39.2.25 `aops mem` commands
|
|
1722
|
+
|
|
1723
|
+
| Command | Purpose |
|
|
1724
|
+
| --- | --- |
|
|
1725
|
+
| `aops mem brief` | Build a read-only bootstrap brief from synopsis, resume, sticky guidance, and refs |
|
|
1726
|
+
| `aops mem checkpoint` | Write a short rolling checkpoint; defaults to project resume memory |
|
|
1727
|
+
| `aops mem compact` | Build a reviewable compact pack from old short memory and optionally write a summary |
|
|
1728
|
+
| `aops mem delete` | Advanced: delete a memory item by id |
|
|
1729
|
+
| `aops mem doc` | Advanced: read Docman through recommended memory refs |
|
|
1730
|
+
| `aops mem doc answer` | Run Docman answer-pack against a recommended memory ref |
|
|
1731
|
+
| `aops mem doc publish` | Materialize Docman output from a recommended memory ref |
|
|
1732
|
+
| `aops mem doc refs` | List Docman-capable recommended refs from a curated resume pack |
|
|
1733
|
+
| `aops mem doc source` | Fetch exact Docman source from a recommended memory ref |
|
|
1734
|
+
| `aops mem get` | Get a memory item by id |
|
|
1735
|
+
| `aops mem list` | List memory items within the current owner scope |
|
|
1736
|
+
| `aops mem prune` | Prune old hosted short memory items with a dry-run first |
|
|
1737
|
+
| `aops mem resume` | Recommended: build a curated resume pack from hosted memory |
|
|
1738
|
+
| `aops mem search` | Recommended: search memory with subject-aware retrieval ranking |
|
|
1739
|
+
| `aops mem summary` | Write a short session summary; durable closeout requires explicit --closeout --durability durable --confirm |
|
|
1740
|
+
| `aops mem synopsis` | Build a deterministic project/subject synopsis from hosted memory |
|
|
1741
|
+
| `aops mem update` | Advanced: update an existing memory item |
|
|
1742
|
+
| `aops mem write` | Advanced: write an Agentspace memory item with standardized metadata |
|
|
1743
|
+
|
|
1744
|
+
#### 39.2.26 `aops plan` commands
|
|
1745
|
+
|
|
1746
|
+
| Command | Purpose |
|
|
1747
|
+
| --- | --- |
|
|
1748
|
+
| `aops plan create` | Create a sprint-backed implementation plan, optionally bound to a kanban task |
|
|
1749
|
+
| `aops plan get` | Get a sprint-backed implementation plan by selector |
|
|
1750
|
+
| `aops plan list` | List sprint-backed implementation plans |
|
|
1751
|
+
| `aops plan update` | Patch a sprint-backed implementation plan, including phases and microtasks |
|
|
1752
|
+
|
|
1753
|
+
#### 39.2.27 `aops playbook` commands
|
|
1754
|
+
|
|
1755
|
+
| Command | Purpose |
|
|
1756
|
+
| --- | --- |
|
|
1757
|
+
| `aops playbook get` | Get one hosted playbook projection |
|
|
1758
|
+
| `aops playbook list` | List hosted playbook projections |
|
|
1759
|
+
| `aops playbook project-set` | Load accepted sticky/durable project-scope playbooks for start/resume guidance |
|
|
1760
|
+
| `aops playbook promote` | Promote reviewed experience into a playbook memory rule/constraint |
|
|
1761
|
+
| `aops playbook show` | Render one hosted playbook as agent-readable markdown |
|
|
1762
|
+
|
|
1763
|
+
#### 39.2.28 `aops pm` commands
|
|
1764
|
+
|
|
1765
|
+
| Command | Purpose |
|
|
1766
|
+
| --- | --- |
|
|
1767
|
+
| `aops pm board` | Projectman kanban board commands |
|
|
1768
|
+
| `aops pm board archive` | Soft-archive a Projectman board by setting archivedAt on the board record |
|
|
1769
|
+
| `aops pm board bootstrap` | Board-slug bootstrap registry commands |
|
|
1770
|
+
| `aops pm board bootstrap get` | Read the canonical board bootstrap registry for a board slug/id/name |
|
|
1771
|
+
| `aops pm board bootstrap set` | Create or update the board bootstrap registry |
|
|
1772
|
+
| `aops pm board closeout` | Operator-approved only: atomically close the active board window, write closeout memory, move task to Done, and clear bootstrap active refs |
|
|
1773
|
+
| `aops pm board create` | Create a Projectman board bootstrap |
|
|
1774
|
+
| `aops pm board delete` | Delete a Projectman board |
|
|
1775
|
+
| `aops pm board get` | Get a Projectman board by id, exact name, or slug |
|
|
1776
|
+
| `aops pm board kickoff` | Create or reuse the active task+sprint window for a board and refresh its bootstrap registry |
|
|
1777
|
+
| `aops pm board list` | List Projectman boards |
|
|
1778
|
+
| `aops pm board resume` | Resolve board bootstrap, active window, and resume context for a board slug/id/name |
|
|
1779
|
+
| `aops pm board unarchive` | Restore a soft-archived Projectman board by clearing archivedAt |
|
|
1780
|
+
| `aops pm column` | Projectman board column commands |
|
|
1781
|
+
| `aops pm column add` | Create a column and place it on a board in one step |
|
|
1782
|
+
| `aops pm column list` | List a board's columns in board order |
|
|
1783
|
+
| `aops pm column remove` | Remove a column from a board; refused while it still holds tasks |
|
|
1784
|
+
| `aops pm column reorder` | Set the board column order; name every column exactly once |
|
|
1785
|
+
| `aops pm feedback` | Projectman feedback commands |
|
|
1786
|
+
| `aops pm feedback create` | Create a Projectman feedback item |
|
|
1787
|
+
| `aops pm feedback delete` | Delete a Projectman feedback item |
|
|
1788
|
+
| `aops pm feedback get` | Get a Projectman feedback item by id |
|
|
1789
|
+
| `aops pm feedback list` | List Projectman feedback items |
|
|
1790
|
+
| `aops pm feedback update` | Patch a Projectman feedback item |
|
|
1791
|
+
| `aops pm handoff` | Projectman-aware memory resume and write commands |
|
|
1792
|
+
| `aops pm handoff resume` | Build a subject-aware resume pack for a Projectman entity |
|
|
1793
|
+
| `aops pm handoff write` | Write subject-aware Projectman-linked memory for kickoff/resume/decision/blocker/closeout/rule |
|
|
1794
|
+
| `aops pm issue` | Projectman issue commands |
|
|
1795
|
+
| `aops pm issue create` | Create a Projectman issue |
|
|
1796
|
+
| `aops pm issue delete` | Delete a Projectman issue |
|
|
1797
|
+
| `aops pm issue get` | Get a Projectman issue by id |
|
|
1798
|
+
| `aops pm issue list` | List Projectman issues |
|
|
1799
|
+
| `aops pm issue update` | Patch a Projectman issue |
|
|
1800
|
+
| `aops pm ktask` (aliases: task) | Projectman kanban task commands |
|
|
1801
|
+
| `aops pm ktask create` | Create a Projectman kanban task |
|
|
1802
|
+
| `aops pm ktask delete` | Delete a Projectman kanban task |
|
|
1803
|
+
| `aops pm ktask get` | Get a Projectman kanban task by selector |
|
|
1804
|
+
| `aops pm ktask list` | List Projectman kanban tasks |
|
|
1805
|
+
| `aops pm ktask set-status` | Move a kanban task to the workflow column matching the requested status |
|
|
1806
|
+
| `aops pm resume` | Composed paste-ready resume brief: active sprint windows, review queue for an agent, open issues/feedback, and durable memory |
|
|
1807
|
+
| `aops pm review-request` (aliases: rr) | Projectman review request commands; canonical RR/RRR owner |
|
|
1808
|
+
| `aops pm review-request create` | Create a Projectman review request; --parent opens a child re-review gate |
|
|
1809
|
+
| `aops pm review-request delete` | Delete a Projectman review request |
|
|
1810
|
+
| `aops pm review-request get` | Get a Projectman review request by id |
|
|
1811
|
+
| `aops pm review-request list` | List Projectman review requests |
|
|
1812
|
+
| `aops pm review-request result` (aliases: add-result) | Append an immutable review result (RRR) to a Projectman review request |
|
|
1813
|
+
| `aops pm review-request update` | Patch Projectman review-request metadata |
|
|
1814
|
+
| `aops pm sprint` | Projectman sprint commands |
|
|
1815
|
+
| `aops pm sprint archive` | Soft-archive a Projectman sprint by setting archivedAt on the sprint record |
|
|
1816
|
+
| `aops pm sprint create` | Create a Projectman sprint execution document, optionally bound to a kanban task |
|
|
1817
|
+
| `aops pm sprint delete` | Delete a Projectman sprint execution document |
|
|
1818
|
+
| `aops pm sprint get` | Get a Projectman sprint execution document by selector |
|
|
1819
|
+
| `aops pm sprint list` | List Projectman sprint execution documents |
|
|
1820
|
+
| `aops pm sprint set-status` | Set all microtask statuses in a sprint to the target status, deriving the sprint-level status |
|
|
1821
|
+
| `aops pm sprint unarchive` | Restore a soft-archived Projectman sprint by clearing archivedAt |
|
|
1822
|
+
| `aops pm sprint update-plan` | Patch a sprint plan, including phases and microtasks |
|
|
1823
|
+
| `aops pm status` | Read-only Projectman status audit commands |
|
|
1824
|
+
| `aops pm status audit` | Read-only audit for kanban task and sprint completion drift |
|
|
1825
|
+
| `aops pm status reconcile` | Preview or explicitly apply one guarded PM status reconciliation |
|
|
1826
|
+
| `aops pm utask` | Projectman sprint-bound microtask commands |
|
|
1827
|
+
| `aops pm utask create` | Create a sprint-bound utask |
|
|
1828
|
+
| `aops pm utask delete` | Delete a sprint-bound utask |
|
|
1829
|
+
| `aops pm utask set-status` | Update only the lifecycle status of a sprint-bound utask |
|
|
1830
|
+
| `aops pm utask update` | Patch a sprint-bound utask without replacing the full sprint plan |
|
|
1831
|
+
|
|
1832
|
+
#### 39.2.29 `aops project` commands
|
|
1833
|
+
|
|
1834
|
+
| Command | Purpose |
|
|
1835
|
+
| --- | --- |
|
|
1836
|
+
| `aops project create` | Create a project |
|
|
1837
|
+
| `aops project delete` | Delete a project |
|
|
1838
|
+
| `aops project get` | Get a project by id |
|
|
1839
|
+
| `aops project link` | Link a hosted project slug into the repo project registry |
|
|
1840
|
+
| `aops project links` | List repo project registry links |
|
|
1841
|
+
| `aops project links list` | List project links from .aops/aops.config.json |
|
|
1842
|
+
| `aops project list` | List hosted projects |
|
|
1843
|
+
| `aops project migrate-local-root` | Plan or apply flat .aops projectman/agentspace migration into .aops/projects/<slug> |
|
|
1844
|
+
| `aops project update` | Update a project |
|
|
1845
|
+
|
|
1846
|
+
#### 39.2.30 `aops prompt` commands
|
|
1847
|
+
|
|
1848
|
+
| Command | Purpose |
|
|
1849
|
+
| --- | --- |
|
|
1850
|
+
| `aops prompt create` | Create a scope-owned prompt shell |
|
|
1851
|
+
| `aops prompt current` | Resolve the current prompt version for a prompt shell |
|
|
1852
|
+
| `aops prompt delete` | Delete a prompt shell |
|
|
1853
|
+
| `aops prompt get` | Get a prompt shell by id |
|
|
1854
|
+
| `aops prompt inspect` | Load the prompt shell, versions, and current version together |
|
|
1855
|
+
| `aops prompt list` | List reusable prompt shells |
|
|
1856
|
+
| `aops prompt update` | Update a prompt shell |
|
|
1857
|
+
| `aops prompt version` | Prompt-version authoring and lifecycle commands |
|
|
1858
|
+
| `aops prompt version create` | Create a new prompt version |
|
|
1859
|
+
| `aops prompt version delete` | Delete a prompt version |
|
|
1860
|
+
| `aops prompt version get` | Get a prompt version by id |
|
|
1861
|
+
| `aops prompt version list` | List prompt versions |
|
|
1862
|
+
| `aops prompt version publish` | Publish a prompt version and sync the prompt current version |
|
|
1863
|
+
| `aops prompt version update` | Update an existing prompt version |
|
|
1864
|
+
|
|
1865
|
+
#### 39.2.31 `aops resource` commands
|
|
1866
|
+
|
|
1867
|
+
| Command | Purpose |
|
|
1868
|
+
| --- | --- |
|
|
1869
|
+
| `aops resource create` | Create a scope-owned resource |
|
|
1870
|
+
| `aops resource delete` | Delete a resource |
|
|
1871
|
+
| `aops resource get` | Get a resource by id |
|
|
1872
|
+
| `aops resource list` | List reusable resource shells |
|
|
1873
|
+
| `aops resource update` | Update a resource |
|
|
1874
|
+
|
|
1875
|
+
#### 39.2.32 `aops runner` commands
|
|
1876
|
+
|
|
1877
|
+
| Command | Purpose |
|
|
1878
|
+
| --- | --- |
|
|
1879
|
+
| `aops runner artifact` | Tasker runner artifact reads |
|
|
1880
|
+
| `aops runner artifact list` | List artifact refs for a Tasker runner run |
|
|
1881
|
+
| `aops runner event` | Tasker runner event reads |
|
|
1882
|
+
| `aops runner event list` | List events for a Tasker runner run |
|
|
1883
|
+
| `aops runner reconcile` | Request a guarded Tasker runner reconciliation |
|
|
1884
|
+
| `aops runner resume` | Resume a Tasker runner run through the guarded control surface |
|
|
1885
|
+
| `aops runner status` | Get a Tasker runner status snapshot |
|
|
1886
|
+
| `aops runner stop` | Stop a Tasker runner run through the guarded control surface |
|
|
1887
|
+
|
|
1888
|
+
#### 39.2.33 `aops server` commands
|
|
1889
|
+
|
|
1890
|
+
| Command | Purpose |
|
|
1891
|
+
| --- | --- |
|
|
1892
|
+
| `aops server attest-external-snapshot` | Optionally record an operator-owned external PostgreSQL snapshot for one risky migration plan |
|
|
1893
|
+
| `aops server backup` | Create and verify a custom-format PostgreSQL backup plus receipt |
|
|
1894
|
+
| `aops server backup list` | List existing backups and say which ones restore will accept |
|
|
1895
|
+
| `aops server backup-readiness` | Report whether this host can take the backup an update depends on, without mutation |
|
|
1896
|
+
| `aops server health` | Check the installed server health without mutation |
|
|
1897
|
+
| `aops server lock-status` | Inspect the exact same-instance operation lock without changing it |
|
|
1898
|
+
| `aops server logs` | Show recent server logs |
|
|
1899
|
+
| `aops server migration-plan` | Read the exact pending native database migration plan without mutation |
|
|
1900
|
+
| `aops server operation-status` | Inspect one exact durable operation journal without changing it |
|
|
1901
|
+
| `aops server reconcile-operation` | Reconcile one exact interrupted operation under its instance lock |
|
|
1902
|
+
| `aops server reconcile-recovery` | Explicitly finish or abandon one exact hard-killed recovery attempt |
|
|
1903
|
+
| `aops server recover` | Recover one exact failed or unhealthy update from its verified backup |
|
|
1904
|
+
| `aops server recover-lock` | Recover one exact stale lock generation proven dead or PID-reused |
|
|
1905
|
+
| `aops server reset` | Remove local installation state; managed PostgreSQL is deleted only when explicitly requested |
|
|
1906
|
+
| `aops server restart` | Restart the installed server |
|
|
1907
|
+
| `aops server restore` | Restore database data; dispatches on the install profile |
|
|
1908
|
+
| `aops server restore db` | Restore only PostgreSQL for one exact native application update |
|
|
1909
|
+
| `aops server rollback` | Rollback application code; legacy flat form remains OCI-only until P4 |
|
|
1910
|
+
| `aops server rollback app` | Rollback one native application update; restore its exact pre-migration snapshot when required |
|
|
1911
|
+
| `aops server setup` | Configure and start an npm-package, source-checkout, or OCI server profile |
|
|
1912
|
+
| `aops server start` (aliases: up) | Start the installed native npm/source host or OCI stack |
|
|
1913
|
+
| `aops server status` | Show install and runtime status |
|
|
1914
|
+
| `aops server stop` (aliases: down) | Stop the server without deleting data |
|
|
1915
|
+
| `aops server update` | Update an installed native application or OCI stack |
|
|
1916
|
+
|
|
1917
|
+
#### 39.2.34 `aops setup` commands
|
|
1918
|
+
|
|
1919
|
+
| Command | Purpose |
|
|
1920
|
+
| --- | --- |
|
|
1921
|
+
| `aops setup ai` | Print a safe, copy-ready AOPS installation prompt for a terminal AI agent |
|
|
1922
|
+
| `aops setup catalog` | Inspect or reconcile the inert signed AOPS official server catalog in the fixed aops-official-catalog scope (server contract: agentspace.official-catalog.reconcile) |
|
|
1923
|
+
| `aops setup catalog reconcile` | Preview or apply an append-only reconcile from one verified Community release |
|
|
1924
|
+
| `aops setup catalog rollback` | Restore a prior reserved current-version map without deleting history |
|
|
1925
|
+
| `aops setup catalog status` | Inspect only the reserved official catalog scope |
|
|
1926
|
+
| `aops setup docker` | Preview or apply the recommended Docker-hosted AOPS Server setup |
|
|
1927
|
+
| `aops setup guide` | Print the packaged agent-readable AOPS installation skill |
|
|
1928
|
+
| `aops setup init` | Inspect or apply an explicit AOPS installation path |
|
|
1929
|
+
| `aops setup server-env` | Create or validate the private PostgreSQL/auth env for the npm server |
|
|
1930
|
+
|
|
1931
|
+
#### 39.2.35 `aops skill` commands
|
|
1932
|
+
|
|
1933
|
+
| Command | Purpose |
|
|
1934
|
+
| --- | --- |
|
|
1935
|
+
| `aops skill ask` | Recommend hosted skills using one deterministic metadata search (no LLM or body loading) |
|
|
1936
|
+
| `aops skill create` | Create a scope-owned skill shell |
|
|
1937
|
+
| `aops skill current` | Resolve the current skill version for a skill shell |
|
|
1938
|
+
| `aops skill delete` | Delete a skill shell |
|
|
1939
|
+
| `aops skill get` | Get a skill shell by id |
|
|
1940
|
+
| `aops skill inspect` | Load the skill shell, versions, and current version together |
|
|
1941
|
+
| `aops skill list` | List reusable skill shells |
|
|
1942
|
+
| `aops skill search` | Find current published hosted skills by bounded deterministic metadata ranking |
|
|
1943
|
+
| `aops skill update` | Update a skill shell |
|
|
1944
|
+
| `aops skill version` | Skill-version authoring and lifecycle commands |
|
|
1945
|
+
| `aops skill version create` | Create a new skill version |
|
|
1946
|
+
| `aops skill version delete` | Delete a skill version |
|
|
1947
|
+
| `aops skill version get` | Get a skill version by id |
|
|
1948
|
+
| `aops skill version list` | List skill versions |
|
|
1949
|
+
| `aops skill version publish` | Publish a skill version and sync the skill current version |
|
|
1950
|
+
| `aops skill version update` | Update an existing skill version |
|
|
1951
|
+
|
|
1952
|
+
#### 39.2.36 `aops sync` commands
|
|
1953
|
+
|
|
1954
|
+
| Command | Purpose |
|
|
1955
|
+
| --- | --- |
|
|
1956
|
+
| `aops sync bootstrap` | Seed the read-only local cache from hosted server state and refresh read-only prompt/skill mirrors |
|
|
1957
|
+
| `aops sync diff` | Show local records that are not synced |
|
|
1958
|
+
| `aops sync pull` | Pull hosted Projectman/Agentspace state into the read-only local cache and refresh read-only prompt/skill mirrors |
|
|
1959
|
+
| `aops sync rebuild-views` | Rebuild derived local cache markdown views and hosted read-only indexes |
|
|
1960
|
+
| `aops sync resolve` | Resolve a local cache conflict by adopting the hosted/cache version (--prefer remote) |
|
|
1961
|
+
| `aops sync sidecar` | Run a localhost-bound cockpit sidecar that exposes read-only local cache status/diff on the client machine |
|
|
1962
|
+
| `aops sync status` | Show local cache sync state |
|
|
1963
|
+
|
|
1964
|
+
#### 39.2.37 `aops target` commands
|
|
1965
|
+
|
|
1966
|
+
| Command | Purpose |
|
|
1967
|
+
| --- | --- |
|
|
1968
|
+
| `aops target add` | Run `aops target add --help` for the current command contract. |
|
|
1969
|
+
| `aops target doctor` | Run `aops target doctor --help` for the current command contract. |
|
|
1970
|
+
| `aops target list` | Run `aops target list --help` for the current command contract. |
|
|
1971
|
+
| `aops target remove` | Run `aops target remove --help` for the current command contract. |
|
|
1972
|
+
| `aops target show` | Run `aops target show --help` for the current command contract. |
|
|
1973
|
+
| `aops target use` | Run `aops target use --help` for the current command contract. |
|
|
1974
|
+
|
|
1975
|
+
#### 39.2.38 `aops tasker` commands
|
|
1976
|
+
|
|
1977
|
+
| Command | Purpose |
|
|
1978
|
+
| --- | --- |
|
|
1979
|
+
| `aops tasker board` | Tasker kanban-board commands |
|
|
1980
|
+
| `aops tasker board create` | Create a Tasker kanban board |
|
|
1981
|
+
| `aops tasker board get` | Get a Tasker kanban board by id |
|
|
1982
|
+
| `aops tasker board list` | List Tasker kanban boards |
|
|
1983
|
+
| `aops tasker board update` | Update a Tasker kanban board |
|
|
1984
|
+
| `aops tasker task` | Tasker task commands |
|
|
1985
|
+
| `aops tasker task create` | Create a Tasker task |
|
|
1986
|
+
| `aops tasker task get` | Get a Tasker task by id |
|
|
1987
|
+
| `aops tasker task list` | Search Tasker tasks |
|
|
1988
|
+
| `aops tasker task update` | Update a Tasker task |
|
|
1989
|
+
| `aops tasker work-group` (aliases: workgroup) | Tasker WorkGroup read commands |
|
|
1990
|
+
| `aops tasker work-group get` | Get a Tasker WorkGroup by id |
|
|
1991
|
+
| `aops tasker work-group list` | List Tasker WorkGroups |
|
|
1992
|
+
|
|
1993
|
+
#### 39.2.39 `aops update` commands
|
|
1994
|
+
|
|
1995
|
+
| Command | Purpose |
|
|
1996
|
+
| --- | --- |
|
|
1997
|
+
| `aops update apply` | Apply one exact prepared plan with automatic rollback and health verification |
|
|
1998
|
+
| `aops update bridge` | Apply an old-CLI plan from an externally launched exact public candidate |
|
|
1999
|
+
| `aops update check` | Compare the installed global AOPS closure with the public npm latest tag |
|
|
2000
|
+
| `aops update prepare` | Download and verify exact candidate and rollback tarballs without changing the installation |
|
|
2001
|
+
| `aops update recover` | Finish one stranded exact plan at its target closure after a failed apply |
|
|
2002
|
+
|
|
2003
|
+
#### 39.2.40 `aops view` commands
|
|
2004
|
+
|
|
2005
|
+
| Command | Purpose |
|
|
2006
|
+
| --- | --- |
|
|
2007
|
+
| `aops view board` | Show a Projectman board with tasks and sprints |
|
|
2008
|
+
| `aops view boards` | List Projectman boards from .aops/projectman |
|
|
2009
|
+
| `aops view dashboard` | Show repo-first dashboard across local AOPS workspaces |
|
|
2010
|
+
| `aops view digest` | Compose a bounded repo-first context pack |
|
|
2011
|
+
| `aops view discussion` | Show a discussion topic with turns and outputs |
|
|
2012
|
+
| `aops view discussions` | List local discussion topics |
|
|
2013
|
+
| `aops view doc` | Show a Docman mirror document |
|
|
2014
|
+
| `aops view doc-page` | Show a heading slice from Docman mirror markdown |
|
|
2015
|
+
| `aops view docs` | List read-only Docman document mirrors |
|
|
2016
|
+
| `aops view experience` | List local Agentspace experience items |
|
|
2017
|
+
| `aops view feedback` | List Projectman feedback |
|
|
2018
|
+
| `aops view hosted-inventory` | Show hosted project inventory grouped by docs, skills, prompts, and resources |
|
|
2019
|
+
| `aops view hosted-projects` | List hosted Agentspace projects |
|
|
2020
|
+
| `aops view issues` | List Projectman issues |
|
|
2021
|
+
| `aops view memory` | List local Agentspace memory items |
|
|
2022
|
+
| `aops view project` | Show current or selected repo-bound project |
|
|
2023
|
+
| `aops view projects` | List repo-bound projects and local counts |
|
|
2024
|
+
| `aops view prompts` | List read-only hosted prompt mirrors |
|
|
2025
|
+
| `aops view resume` | Show local resume/kickoff/closeout memory items |
|
|
2026
|
+
| `aops view review-requests` (aliases: review-request) | List Projectman review requests |
|
|
2027
|
+
| `aops view skills` | List read-only hosted skill mirrors |
|
|
2028
|
+
| `aops view sprint` | Show a Projectman sprint with plan and relations |
|
|
2029
|
+
| `aops view sprints` | List Projectman sprints |
|
|
2030
|
+
| `aops view task` | Show a Projectman kanban task with relations |
|
|
2031
|
+
| `aops view tasks` | List Projectman kanban tasks |
|
|
2032
|
+
|
|
2033
|
+
<!-- aops-generated:cli-command-catalog:end -->
|
|
2034
|
+
|
|
2035
|
+
<!-- aops-generated:capability-discovery:start -->
|
|
2036
|
+
|
|
2037
|
+
### 39.3 Generated capability discovery guide
|
|
2038
|
+
|
|
2039
|
+
#### 39.3.1 Overview
|
|
2040
|
+
|
|
2041
|
+
> AOPS does not copy a fixed hosted-tool list into this guide. The server catalog is discovered live, so newly registered domain capabilities appear without rewriting prose.
|
|
2042
|
+
|
|
2043
|
+
#### 39.3.2 Source-of-truth model
|
|
2044
|
+
|
|
2045
|
+
1. **DCM (Domain Capability Manifest)** is the canonical domain capability source.
|
|
2046
|
+
2. Host routes, the agent catalog, OpenAPI, JSON Schema, and domain CLI projections are derived views of that capability source.
|
|
2047
|
+
3. **HRM (Host Registration Manifest)** tells the host how a domain is registered; it is not a second capability source.
|
|
2048
|
+
4. AOPS sugar commands come from the public Commander program and are cataloged separately above.
|
|
2049
|
+
|
|
2050
|
+
#### 39.3.3 Live discovery commands
|
|
2051
|
+
|
|
2052
|
+
| Command | Purpose |
|
|
2053
|
+
| --- | --- |
|
|
2054
|
+
| `aops agent tools` | List federated tools from the canonical operator plane (/api/agent/tools) |
|
|
2055
|
+
| `aops agent schema` | Print the live JSON Schema for one tool's input contract — use this before authoring --input payloads |
|
|
2056
|
+
| `aops agent openapi` | Generate OpenAPI from the canonical federated tool catalog |
|
|
2057
|
+
| `aops agent invoke` | Invoke a tool via the canonical operator plane (/api/agent/tools/{toolId}/invoke) |
|
|
2058
|
+
|
|
2059
|
+
Use the smallest useful read:
|
|
2060
|
+
|
|
2061
|
+
```bash
|
|
2062
|
+
aops agent tools --domain <domain> --summary --json
|
|
2063
|
+
aops agent schema --tool <tool-id> --summary --json
|
|
2064
|
+
aops agent openapi --domain <domain> --out ./openapi.json
|
|
2065
|
+
```
|
|
2066
|
+
|
|
2067
|
+
<!-- aops-generated:capability-discovery:end -->
|