@aopslabs/aops 0.3.3 → 0.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +4 -3
  2. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/SKILL.md +49 -0
  3. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/agentspace/SKILL.md +78 -0
  4. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/aops-cli-core/SKILL.md +110 -0
  5. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/chatv3/SKILL.md +49 -0
  6. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/collaborative-work/SKILL.md +85 -0
  7. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/discuss/SKILL.md +66 -0
  8. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/docman/SKILL.md +69 -0
  9. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/hosted-chat/SKILL.md +64 -0
  10. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/mission/SKILL.md +54 -0
  11. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/projectman/SKILL.md +86 -0
  12. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/sys/SKILL.md +36 -0
  13. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/view/SKILL.md +58 -0
  14. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/working-disciplines/SKILL.md +69 -0
  15. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/agent-assets.md +81 -0
  16. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/agentspace.md +1098 -0
  17. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/aops-cli.md +1106 -0
  18. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/aops-system.md +63 -0
  19. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/chatv3.md +113 -0
  20. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/docman.md +162 -0
  21. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/projectman.md +212 -0
  22. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/sys.md +94 -0
  23. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/working-disciplines.md +588 -0
  24. package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/manifest.json +127 -0
  25. package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +14 -0
  26. package/agent-assets-release/agent-assets/inventory.json +29 -0
  27. package/agent-assets-release/agent-assets/projection.json +8 -0
  28. package/agent-assets-release/agent-assets-release.json +181 -0
  29. package/agent-assets-release/agent-assets-release.sigstore.json +62 -0
  30. package/dist/lib/agent-assets/envelope.js +2 -0
  31. package/dist/lib/agent-assets/release-input.js +14 -2
  32. package/dist/lib/community-release-verifier.js +3 -2
  33. package/dist/lib/setup-agent-assets-release.js +8 -2
  34. package/dist/lib/setup-docker-server.js +2 -2
  35. package/dist/lib/tui-launcher.js +1 -0
  36. package/native/tui/darwin-arm64/aops-tui +0 -0
  37. package/native/tui/win32-x64/aops-tui.exe +0 -0
  38. package/package.json +4 -4
package/README.md CHANGED
@@ -35,9 +35,10 @@ hosts. Explicit `aops server ...` commands operate the API on port `5900`,
35
35
  while `aops cockpit start|stop|restart|status|health|logs` independently
36
36
  operates Cockpit on port `5922`.
37
37
 
38
- On Windows x64, parameterless `aops` opens the bundled Rust TUI. This release
39
- does not include native TUI payloads for macOS or Linux; use explicit CLI
40
- commands such as `aops setup init`, `aops server status`, or `aops --help` there.
38
+ On Windows x64 and native Apple Silicon macOS, parameterless `aops` opens the
39
+ bundled Rust TUI. Intel/Rosetta macOS and Linux do not have native TUI payloads;
40
+ use explicit CLI commands such as `aops setup init`, `aops server status`, or
41
+ `aops --help` there.
41
42
  Explicit commands retain the same CLI behavior on every supported platform.
42
43
  When stdin or stdout is not an interactive terminal, parameterless `aops`
43
44
  prints short CLI guidance instead of trying to draw the TUI.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: aops
3
+ description: Route AOPS Community requests to concise packaged references, current CLI help, or live tool schema without selecting a work method.
4
+ ---
5
+
6
+ # AOPS Community
7
+
8
+ AOPS is a self-hostable operations layer. The `aops` command installs and
9
+ operates a local server, connects to remote servers, discovers live domain
10
+ capabilities, and manages verified machine-local agent assets.
11
+
12
+ This root skill is deliberately small. Read exactly one matching reference,
13
+ then open only the relevant heading in its linked user guide. Working
14
+ disciplines are available after setup, but are never selected merely because
15
+ this gateway loaded.
16
+
17
+ ## Route the request
18
+
19
+ | Need | Read first |
20
+ | --- | --- |
21
+ | install/setup, PostgreSQL, auth, server, health, sync, views, client assets | `references/aops-cli-core/SKILL.md` |
22
+ | read-only local dashboard, sprint/task/board views, focused digest | `references/view/SKILL.md` |
23
+ | durable memory, reusable prompts/skills/resources/artifacts, experience | `references/agentspace/SKILL.md` |
24
+ | durable session intent and resume packs | `references/mission/SKILL.md` |
25
+ | boards, tasks, sprints/plans, issues, feedback, reviews, handoffs | `references/projectman/SKILL.md` |
26
+ | versioned documents, sections, links, search, answer, mirrors | `references/docman/SKILL.md` |
27
+ | hosted coordination rooms, messages, inbox/listen/catchup | `references/hosted-chat/SKILL.md` |
28
+ | structured multi-agent decision/consensus topics | `references/discuss/SKILL.md` |
29
+ | encrypted ChatV3 product channels, invites, sessions, membership | `references/chatv3/SKILL.md` |
30
+ | counters, countries, event store, rate limits | `references/sys/SKILL.md` |
31
+ | choose or explain a working method | `references/working-disciplines/SKILL.md` |
32
+ | run the full optional collaborative session playbook | `references/collaborative-work/SKILL.md` |
33
+ | another installed/custom domain | `aops agent tools --domain <domain> --summary --json` |
34
+
35
+ `aops chat` is hosted coordination. `aops chatv3` is the encrypted product
36
+ channel surface. Do not merge those models. Fileman, Tasker/Runner, and the
37
+ interactive loop are not part of the default Community capability closure;
38
+ discover them only if the connected server actually advertises them.
39
+
40
+ ## Authority order
41
+
42
+ 1. Packaged references explain ownership, safety, and common examples.
43
+ 2. Current nested `aops ... --help` owns sugar command flags.
44
+ 3. `aops agent schema --tool <domain.operation> --summary --json` owns raw invoke payload fields.
45
+ 4. `aops agent invoke --tool <domain.operation> --input '@payload.json' --preview --json` is the generic fallback.
46
+
47
+ Use `aops agent tools --summary --json` when the installed server differs from
48
+ the packaged core. Do not load every reference or whole guide into context, and
49
+ do not infer server topology or capabilities from a repository checkout.
@@ -0,0 +1,78 @@
1
+ ---
2
+ name: aops-cli-agentspace
3
+ description: Use for durable memory, synopsis, reusable prompts/skills/resources/artifacts, experience, agent profiles, and other Agentspace-owned context through the AOPS CLI.
4
+ ---
5
+
6
+ # Agentspace
7
+
8
+ Agentspace owns durable agent/operator context and reusable hosted assets.
9
+ Project execution belongs to Projectman; versioned documents belong to Docman.
10
+ Hosted coordination and structured decisions have their own references.
11
+
12
+ Read only the needed section of `../../user-guides/agentspace.md`. Exact flags
13
+ come from live nested help.
14
+
15
+ ## Durable memory
16
+
17
+ ```bash
18
+ aops mem --help
19
+ aops mem list --json
20
+ aops mem search --q "migration decision" --limit 10 --json
21
+ aops mem write --mode resume --subject project --content "<bounded handoff>" --apply
22
+ aops mem list --durability sticky --json
23
+ aops mem synopsis --subject project --json
24
+ ```
25
+
26
+ Use memory for decisions, constraints, handoffs, and facts that must survive a
27
+ session. Keep content concise and scoped. Do not use memory as a duplicate task
28
+ tracker or paste secrets, logs, or large documents into it.
29
+
30
+ ## Reusable hosted assets
31
+
32
+ ```bash
33
+ aops prompt list --json
34
+ aops skill list --json
35
+ aops resource list --json
36
+ aops artifact list --json
37
+ aops exp list --json
38
+ ```
39
+
40
+ Create/update/version commands are guarded writes. Inspect their help first:
41
+
42
+ ```bash
43
+ aops skill version create --help
44
+ aops skill version publish --help
45
+ aops prompt version create --help
46
+ aops resource create --help
47
+ ```
48
+
49
+ Hosted prompt/skill truth lives on the server. Local mirrors are read-only
50
+ context. Artifact records are metadata/pointers, not a large binary store.
51
+
52
+ ## Missions and sessions
53
+
54
+ For durable session intent and resume packs, load `../mission/SKILL.md` rather
55
+ than the full Agentspace guide. For rooms/messages load
56
+ `../hosted-chat/SKILL.md`; for structured consensus load
57
+ `../discuss/SKILL.md`.
58
+
59
+ ## Raw discovery fallback
60
+
61
+ ```bash
62
+ aops agent tools --domain agentspace --q memory --limit 20 --summary --json
63
+ aops agent schema --tool agentspace.<operation> --summary --json
64
+ aops agent invoke --tool agentspace.<operation> --input '@payload.json' --preview --json
65
+ ```
66
+
67
+ Always inspect schema before raw writes. Use `--apply` only after scope and
68
+ payload are clear; use an idempotency key for retryable mutations when
69
+ supported. Read back the exact record after mutation.
70
+
71
+ ## Boundaries
72
+
73
+ - Planning, tasks, sprints, issues, feedback, reviews: Projectman.
74
+ - Document graphs, page content, publish/search/answer: Docman.
75
+ - Hosted coordination/wake: `aops chat`.
76
+ - Structured decision transcript: `aops discuss`.
77
+ - Encrypted product channel: `aops chatv3`.
78
+ - Repo `.aops/**`: derived cache, never the canonical authoring source.
@@ -0,0 +1,110 @@
1
+ ---
2
+ name: aops-cli-core
3
+ description: Use for AOPS installation, PostgreSQL setup, server lifecycle, health, authentication, sync, views, verified agent assets, and schema-first capability discovery.
4
+ ---
5
+
6
+ # AOPS CLI core
7
+
8
+ Use the installed `aops` command as runtime truth. Read only the matching
9
+ section in `../../user-guides/aops-cli.md`, `../../user-guides/aops-system.md`,
10
+ or `../../user-guides/agent-assets.md` when this quick map is insufficient.
11
+
12
+ ## Install and diagnose
13
+
14
+ ```bash
15
+ aops --version
16
+ aops setup init
17
+ aops setup ai
18
+ aops setup guide
19
+ aops server status --json
20
+ aops server health --json
21
+ aops cockpit
22
+ ```
23
+
24
+ Parameterless `aops` opens the Rust TUI for operator-led first-run choices.
25
+ `aops setup init` is its argument-driven engine for an existing PostgreSQL,
26
+ AOPS-managed PostgreSQL container, detected local PostgreSQL, or a remote AOPS
27
+ server. Local server paths plan/apply/verify migrations, start the npm server,
28
+ leave starter/demo user data untouched, and install verified agent assets. The
29
+ CLI never opens a menu or asks a question. Database secrets belong only in TUI
30
+ private fields or private input files/environment; never paste them into chat
31
+ or argv.
32
+
33
+ For an unattended run, inspect readiness before apply:
34
+
35
+ ```bash
36
+ aops setup init --path 1 --yes --json
37
+ aops setup init --path 2 --yes --json
38
+ aops setup init --path 3 --yes --json
39
+ ```
40
+
41
+ Use the exact next action returned by readiness. Do not bypass TLS choices,
42
+ asset ownership conflicts, or migration lineage errors.
43
+
44
+ ## Server and target lifecycle
45
+
46
+ ```bash
47
+ aops server start --json
48
+ aops server stop --json
49
+ aops server restart --json
50
+ aops server logs --tail 100
51
+ aops host health --json
52
+ aops host diagnostics --json
53
+ aops target list --json
54
+ aops target doctor <name> --json
55
+ ```
56
+
57
+ Use `aops server <command> --help` before reset, rollback, or recovery. Never
58
+ remove operator-owned PostgreSQL/Docker resources. Setup path 2 may manage only
59
+ its exact label-verified AOPS container and volume.
60
+
61
+ ## Verified agent assets
62
+
63
+ ```bash
64
+ aops assets status --verify quick --json
65
+ aops assets install --target all --apply --json
66
+ aops assets resolve --gateway aops --json
67
+ aops assets discover --query "sprint planning" --limit 5 --json
68
+ ```
69
+
70
+ `--target all` means every registered runtime, not only Codex and Claude.
71
+ Install/repair fails closed on unknown user files. The core makes rich guides
72
+ and disciplines available but never selects a working method.
73
+
74
+ ## Cache and read-only views
75
+
76
+ ```bash
77
+ aops sync status --json
78
+ aops sync pull --apply --json
79
+ aops view dashboard --style agent
80
+ aops view digest --task <task-id> --depth deep
81
+ ```
82
+
83
+ Hosted records remain canonical. Repository `.aops/**` content is a read-only
84
+ cache/presentation surface; never hand-edit it as hosted truth.
85
+
86
+ ## Capability discovery
87
+
88
+ ```bash
89
+ aops agent tools --summary --json
90
+ aops agent tools --domain <domain> --q <intent> --limit 10 --summary --json
91
+ aops agent schema --tool <domain.operation> --summary --json
92
+ aops agent invoke --tool <domain.operation> --input '@payload.json' --preview --json
93
+ ```
94
+
95
+ Use sugar when nested `--help` exposes it. Direct invoke requires live schema.
96
+ If a write is intended, preview when supported and add `--apply`; destructive
97
+ operations may additionally require `--confirm`. Stop guessing after a 400 or
98
+ validation error and inspect full schema/OpenAPI.
99
+
100
+ ## Guard contract
101
+
102
+ - `--json`: stable automation output.
103
+ - `--yes`: compatibility/fail-fast behavior; never implies mutation approval.
104
+ - `--preview`: validate/plan without applying when supported.
105
+ - `--apply`: execute a guarded write.
106
+ - `--confirm`: acknowledge destructive scope.
107
+ - `--idempotency-key`: make supported retries deterministic.
108
+
109
+ Current nested `--help` wins over packaged examples. Live schema wins for raw
110
+ payload fields and the live catalog wins for mounted-domain availability.
@@ -0,0 +1,49 @@
1
+ ---
2
+ name: aops-cli-chatv3
3
+ description: Use for encrypted ChatV3 product channels, invitations, local session context, membership, presence, epochs, and message operations through the AOPS CLI.
4
+ ---
5
+
6
+ # ChatV3
7
+
8
+ Use `aops chatv3` for product-facing encrypted channel/session operations.
9
+ This is different from `aops chat`, which owns hosted agent coordination,
10
+ wakes, inbox cursors, and room bindings.
11
+
12
+ Read only the relevant section of `../../user-guides/chatv3.md`. Exact flags
13
+ come from nested `--help`; direct payloads come from live schema.
14
+
15
+ ## Common entry points
16
+
17
+ ```bash
18
+ aops chatv3 --help
19
+ aops chatv3 channel --help
20
+ aops chatv3 session --help
21
+ aops chatv3 member --help
22
+ aops chatv3 send --help
23
+ aops chatv3 read --help
24
+ ```
25
+
26
+ Typical discovery and read flow:
27
+
28
+ ```bash
29
+ aops chatv3 session list --json
30
+ aops chatv3 channels --json
31
+ aops agent tools --domain chatv3 --summary --json
32
+ aops agent schema --tool chatv3.channel.list --summary --json
33
+ ```
34
+
35
+ ChatV3 may keep invite, member-token, and room-key context in a private local
36
+ session store. Never paste those values into chat, logs, source files, or raw
37
+ shell history. Use supported secure-store, input-file, or environment
38
+ mechanisms; the CLI does not collect secrets through terminal prompts.
39
+
40
+ For a write not exposed by sugar, inspect the exact live schema before invoke:
41
+
42
+ ```bash
43
+ aops agent schema --tool chatv3.<operation> --summary --json
44
+ aops agent invoke --tool chatv3.<operation> --input '@payload.json' --preview --json
45
+ ```
46
+
47
+ Do not use ChatV3 as the durable Projectman review record or the structured
48
+ `discuss` transcript. Link or summarize outcomes into the correct owner when
49
+ durability matters.
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: aops-collaborative-work
3
+ description: Use when the operator explicitly wants the full AOPS session playbook for solo work, async review, or hosted chat-room collaboration with Projectman-backed execution.
4
+ ---
5
+
6
+ # AOPS collaborative work
7
+
8
+ Default to `solo`. Collaboration is an operator choice, not an automatic
9
+ requirement. Select one mode at kickoff and use
10
+ `../working-disciplines/SKILL.md` only when a working method must also be chosen.
11
+
12
+ ## Compact startup
13
+
14
+ ```bash
15
+ aops sync status --json
16
+ aops view dashboard --style agent
17
+ aops start --task "<task>" --json --out ./aops-start.md
18
+ aops mission resume --id <mission-id> --json
19
+ aops pm board resume --board <slug> --json
20
+ ```
21
+
22
+ Use `result.promptRef.path` or the output file; do not request inline/full output
23
+ unless the prompt body is actually needed. Ask the operator only for fields
24
+ explicitly marked operator-owned, especially agent identities and roles.
25
+
26
+ ## Mode 1: solo
27
+
28
+ 1. Read the smallest relevant guide/help surface.
29
+ 2. Create or identify the Projectman task/plan appropriate to the work size.
30
+ 3. Implement one bounded slice.
31
+ 4. Run focused validation and read back hosted mutations.
32
+ 5. Update status/handoff; keep board/mission open unless closeout was requested.
33
+
34
+ Useful reads:
35
+
36
+ ```bash
37
+ aops view digest --task <task-id> --depth shallow
38
+ aops pm issue list --status open --json
39
+ aops pm review-request list --status open --json
40
+ ```
41
+
42
+ ## Mode 2: solo plus async review
43
+
44
+ After implementation and local validation, create a durable review request:
45
+
46
+ ```bash
47
+ aops pm review-request create --help
48
+ aops pm review-request list --status open --json
49
+ aops pm review-request result --help
50
+ ```
51
+
52
+ The reviewer records the result in Projectman. Material findings become
53
+ Projectman issues or bounded fix slices; chat is only the optional wake channel.
54
+ Do not claim review completion from a message alone.
55
+
56
+ ## Mode 3: hosted chat room
57
+
58
+ ```bash
59
+ aops chat room create --slug <slug> --title "<purpose>" \
60
+ --created-by <lead> --member "<lead>:<role>" \
61
+ --member "<peer>:<role>" --apply --json
62
+ aops chat binding add --room-id <id> \
63
+ --binding-type projectman.board --ref-id <board-id> \
64
+ --created-by <lead> --apply --json
65
+ aops chat room brief --room-id <id> --for <peer>
66
+ aops chat listen --for <agent> --room-id <id> --timeout-sec 570 --json
67
+ ```
68
+
69
+ Each participant owns a non-overlapping slice and reports completion with
70
+ validation evidence. Use `aops discuss` only for a material consensus decision;
71
+ use `aops chatv3` only when encrypted product-channel behavior is the actual
72
+ task.
73
+
74
+ ## During work
75
+
76
+ ```bash
77
+ aops start --reminder --task "<task>" --area <area> --json
78
+ aops mem checkpoint --help
79
+ aops pm status audit --help
80
+ ```
81
+
82
+ Prefer the detail ladder: this skill → one family reference → nested `--help` →
83
+ live `agent schema`. Never preload every guide. Never invent another agent's
84
+ stance, close operator-owned surfaces, or mark work done without requested
85
+ validation and durable status.
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: aops-cli-discuss
3
+ description: Use for a structured server-canonical design decision or consensus topic with independent turns, explicit final stances, completeness checks, and deterministic conclusion.
4
+ ---
5
+
6
+ # AOPS Discuss
7
+
8
+ `aops discuss` owns a durable decision transcript and conclusion. Use hosted
9
+ `aops chat` to wake/coordinate peers and Projectman to track review/execution.
10
+ Do not start a discussion ritual for a small reversible implementation choice.
11
+
12
+ The complete owner and troubleshooting model is in the Discuss sections of
13
+ `../../user-guides/agentspace.md`.
14
+
15
+ ## Start and inspect
16
+
17
+ ```bash
18
+ aops discuss --help
19
+ aops discuss start --title "<decision>" --question "<question>" \
20
+ --participant <agent-a> --participant <agent-b> --apply --json
21
+ aops discuss status --id <topic> --json
22
+ aops discuss get --id <topic> --json
23
+ ```
24
+
25
+ Give every participant enough neutral context to research independently. Role
26
+ assignment belongs to the operator; an agent must not invent or swap identities.
27
+
28
+ ## Record turns
29
+
30
+ ```bash
31
+ aops discuss turn --topic <topic> --agent <agent> \
32
+ --kind statement --from-file ./turn.md --apply --json
33
+ aops discuss wait --id <topic> --for <agent> \
34
+ --timeout-sec 540 --interval-sec 5 --json
35
+ ```
36
+
37
+ For material design decisions, record multiple substantive non-final turns so
38
+ tradeoffs and objections are visible. Do not use chat messages as a substitute
39
+ for the canonical topic transcript.
40
+
41
+ ## Finalize safely
42
+
43
+ ```bash
44
+ aops discuss turn --topic <topic> --agent <agent> \
45
+ --kind final-stance --from-file ./final.md --apply --json
46
+ aops discuss status --id <topic> --json
47
+ aops discuss conclude --topic <topic> --apply --json
48
+ ```
49
+
50
+ Conclude only when every required participant has a `final-stance` and status
51
+ reports no missing final stances. Outputs must contain real decisions and
52
+ follow-ups, not `_TBD_` placeholders.
53
+
54
+ There is no automatic bridge: explicitly reference the concluded topic from a
55
+ Projectman task/review/issue or durable memory, then send a short hosted-chat
56
+ wake if another agent must act.
57
+
58
+ For raw operations:
59
+
60
+ ```bash
61
+ aops agent tools --domain agentspace --q discuss --limit 20 --summary --json
62
+ aops agent schema --tool agentspace.<discuss-operation> --summary --json
63
+ ```
64
+
65
+ Prefer slug/ID selectors returned by creation. Treat timeouts as state to
66
+ report, not permission to fabricate another participant's stance.
@@ -0,0 +1,69 @@
1
+ ---
2
+ name: aops-cli-docman
3
+ description: Use for Docman document groups, documents, versions, sections/pages, search, answer, publish, mirrors, markdown import, and schema-first payloads through AOPS.
4
+ ---
5
+
6
+ # Docman
7
+
8
+ Docman owns the versioned document graph and retrieval/publishing surfaces.
9
+ Read the matching section of `../../user-guides/docman.md` for the complete
10
+ model; use nested help for current flags.
11
+
12
+ ## Discover and read
13
+
14
+ ```bash
15
+ aops doc --help
16
+ aops doc group list --project-slug <slug> --json
17
+ aops doc list --project-slug <slug> --json
18
+ aops doc outline get --document-version-id <id> --titles-only --depth 0 --json
19
+ aops doc search --document-version-id <id> --q "<query>" --json
20
+ aops doc answer --help
21
+ ```
22
+
23
+ Prefer IDs from list/get output. Search is retrieval, not necessarily the full
24
+ page body. Use outline for structure and the supported page/version read
25
+ surface for exact content.
26
+
27
+ ## Author and version
28
+
29
+ ```bash
30
+ aops doc group create --help
31
+ aops doc create --help
32
+ aops doc version create --help
33
+ aops doc section create --help
34
+ aops doc page create --help
35
+ aops doc page draft-save --help
36
+ ```
37
+
38
+ Create graph nodes through CRUD commands when IDs are known. Use markdown
39
+ import for intentional bulk import, not for a one-page edit. Every mutation is
40
+ preview/apply guarded where supported; read back the current version after
41
+ publishing.
42
+
43
+ ## Search, answer, publish, and mirrors
44
+
45
+ ```bash
46
+ aops doc scope search --project-slug <slug> --q "<query>" --json
47
+ aops doc publish --help
48
+ aops doc mirror pull --project-slug <slug> --group-uid <group> --out-dir <dir> --apply --json
49
+ ```
50
+
51
+ Mirrors are read-only projections. Change the hosted document, publish/set the
52
+ current version as required, then refresh the mirror. `aops sync pull` does not
53
+ replace Docman mirror pull.
54
+
55
+ ## Raw fallback
56
+
57
+ ```bash
58
+ aops agent tools --domain docman --q document --limit 20 --summary --json
59
+ aops agent schema --tool docman.<operation> --summary --json
60
+ aops agent invoke --tool docman.<operation> --input '@payload.json' --preview --json
61
+ ```
62
+
63
+ If sugar reports a validation error, stop varying flags blindly. Compare the
64
+ live operation schema/OpenAPI with the wrapper payload, then use raw invoke only
65
+ with an exact reviewed payload.
66
+
67
+ Docman owns document semantics; external storage owns binary file bytes and
68
+ recovery, Projectman owns execution status, and Agentspace owns durable agent
69
+ memory/reusable assets.
@@ -0,0 +1,64 @@
1
+ ---
2
+ name: aops-cli-chat
3
+ description: Use for hosted Agentspace coordination rooms and direct messages, membership, bindings, messages, inbox/listen/catchup cursors, manifests, and agent onboarding briefs.
4
+ ---
5
+
6
+ # Hosted AOPS chat
7
+
8
+ `aops chat` is the coordination and wake channel for agents/operators. It is
9
+ not ChatV3 encrypted product messaging, the structured `discuss` transcript,
10
+ or the Projectman review record.
11
+
12
+ Deep semantics and troubleshooting are in the hosted-chat sections of
13
+ `../../user-guides/agentspace.md`.
14
+
15
+ ## Room lifecycle
16
+
17
+ ```bash
18
+ aops chat --help
19
+ aops chat room list --json
20
+ aops chat room create --slug <slug> --title "<purpose>" \
21
+ --created-by <agent> --member "<agent>:<role>" --apply --json
22
+ aops chat room get --id <id> --json
23
+ aops chat room brief --room-id <id> --for <agent>
24
+ aops chat room manifest --room-id <id> --json
25
+ ```
26
+
27
+ Use stable agent/operator identities and explicit role keys. Room closeout is
28
+ operator-controlled; ordinary task completion should not silently close it.
29
+
30
+ ## Bind durable references
31
+
32
+ ```bash
33
+ aops chat binding add --room-id <id> \
34
+ --binding-type projectman.board --ref-id <board-id> \
35
+ --title "PM board" --created-by <agent> --apply --json
36
+ aops chat room manifest --room-id <id> --json
37
+ ```
38
+
39
+ Bindings orient participants; they do not move canonical truth out of
40
+ Projectman, Docman, or Agentspace.
41
+
42
+ ## Messages and unread work
43
+
44
+ ```bash
45
+ aops chat message send --help
46
+ aops chat inbox --for <agent> --json
47
+ aops chat listen --for <agent> --room-id <id> \
48
+ --timeout-sec 570 --interval-sec 15 --json
49
+ aops chat catchup --for <agent> --room-id <id> --apply --summary --json
50
+ ```
51
+
52
+ Send a message to wake/coordinate a peer, then use Projectman for review status
53
+ or Discuss for a decision stance. Read cursors are per participant; acknowledge
54
+ directives and advance cursors only after processing the message.
55
+
56
+ ## Schema fallback
57
+
58
+ ```bash
59
+ aops agent tools --domain agentspace --q chat --limit 20 --summary --json
60
+ aops agent schema --tool agentspace.chat-message.send --summary --json
61
+ ```
62
+
63
+ Do not guess member, cursor, or binding payloads. Never put database passwords,
64
+ auth tokens, or ChatV3 room keys into hosted room messages.
@@ -0,0 +1,54 @@
1
+ ---
2
+ name: aops-cli-mission
3
+ description: Use for a durable Agentspace mission anchor, free-form session policy, active implementation-plan reference, compact resume packs, and session handoff.
4
+ ---
5
+
6
+ # AOPS Mission
7
+
8
+ A mission stores durable intent and policy for a work session. Projectman
9
+ remains the execution/review source of truth; the mission may reference an
10
+ implementation plan but does not duplicate it.
11
+
12
+ ## Common flow
13
+
14
+ ```bash
15
+ aops mission --help
16
+ aops mission list --json
17
+ aops mission create --objective "<outcome>" --apply --json
18
+ aops mission get --id <mission-id> --json
19
+ aops mission update --id <mission-id> --objective "<updated outcome>" --apply --json
20
+ aops mission resume --id <mission-id> --json
21
+ ```
22
+
23
+ Use `aops start --resume <mission-id> --json` when the full startup composer is
24
+ needed. Use `mission resume` alone for a compact, deterministic context pack.
25
+
26
+ ## Policy and plans
27
+
28
+ When a selected working discipline returns a `mission.policyJson`, persist that
29
+ exact policy rather than inventing a parallel format:
30
+
31
+ ```bash
32
+ aops mission create --objective "<objective>" \
33
+ --policy-json '@policy.json' --apply --json
34
+ aops mission update --id <mission-id> \
35
+ --active-plan-ref <sprint-id> --apply --json
36
+ ```
37
+
38
+ The active implementation-plan ref points to a Projectman sprint/plan. Vision
39
+ or long-form design belongs in Docman. Check exact fields with nested help.
40
+
41
+ ## Handoff and boundaries
42
+
43
+ ```bash
44
+ aops pm handoff write --help
45
+ aops mem checkpoint --help
46
+ ```
47
+
48
+ An ordinary stop records current status, validation, blockers, and the next
49
+ safe action; it does not silently close boards, rooms, or the mission. Use
50
+ Projectman handoff or a bounded memory checkpoint for that record. Mission
51
+ handoff is not a separate command in this release.
52
+
53
+ Do not store secrets, full logs, or a second task ledger in mission policy.
54
+ Do not create a mission when a small one-turn operation needs no durable anchor.