@aopslabs/aops 0.3.31 → 0.3.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/README.md +11 -3
  2. package/aops-assets-release/aops-assets.json.gz +0 -0
  3. package/aops-assets-release/disciplines/build-review-chat/SKILL.md +33 -0
  4. package/aops-assets-release/disciplines/coordinator-loop/SKILL.md +33 -0
  5. package/aops-assets-release/disciplines/design-first-consensus/SKILL.md +30 -0
  6. package/aops-assets-release/disciplines/solo-pm-loop/SKILL.md +31 -0
  7. package/aops-assets-release/docs/user-guides/agentspace-user-guide.md +384 -0
  8. package/aops-assets-release/docs/user-guides/aops-cli-user-guide.md +2067 -0
  9. package/aops-assets-release/docs/user-guides/chatv3-user-guide.md +500 -0
  10. package/aops-assets-release/docs/user-guides/docman-user-guide.md +1009 -0
  11. package/aops-assets-release/docs/user-guides/projectman-user-guide.md +763 -0
  12. package/aops-assets-release/docs/user-guides/tasker-user-guide.md +244 -0
  13. package/aops-assets-release/release.json +6 -0
  14. package/aops-assets-release/roles/coordinator/ROLE.md +28 -0
  15. package/aops-assets-release/roles/implementer/ROLE.md +27 -0
  16. package/aops-assets-release/roles/reviewer/ROLE.md +27 -0
  17. package/aops-assets-release/skills/aops/SKILL.md +112 -0
  18. package/aops-assets-release/skills/aops-bootstrapper-authoring/SKILL.md +245 -0
  19. package/aops-assets-release/skills/aops-cli-agentspace/SKILL.md +186 -0
  20. package/aops-assets-release/skills/aops-cli-board-lifecycle/SKILL.md +64 -0
  21. package/aops-assets-release/skills/aops-cli-chat/SKILL.md +204 -0
  22. package/aops-assets-release/skills/aops-cli-collab/SKILL.md +42 -0
  23. package/aops-assets-release/skills/aops-cli-core/SKILL.md +219 -0
  24. package/aops-assets-release/skills/aops-cli-discuss/SKILL.md +172 -0
  25. package/aops-assets-release/skills/aops-cli-docman/SKILL.md +192 -0
  26. package/aops-assets-release/skills/aops-cli-fileman/SKILL.md +169 -0
  27. package/aops-assets-release/skills/aops-cli-mission/SKILL.md +128 -0
  28. package/aops-assets-release/skills/aops-cli-operator-brief/SKILL.md +67 -0
  29. package/aops-assets-release/skills/aops-cli-projectman/SKILL.md +235 -0
  30. package/aops-assets-release/skills/aops-cli-sugar-authoring/SKILL.md +188 -0
  31. package/aops-assets-release/skills/aops-cli-tasker/SKILL.md +108 -0
  32. package/aops-assets-release/skills/aops-cli-tooling-agent/SKILL.md +112 -0
  33. package/aops-assets-release/skills/aops-cli-view/SKILL.md +210 -0
  34. package/aops-assets-release/skills/aops-collaborative-work/SKILL.md +304 -0
  35. package/aops-assets-release/skills/aops-interactive/SKILL.md +70 -0
  36. package/aops-assets-release/skills/aops-loop-interactive/SKILL.md +314 -0
  37. package/aops-assets-release/skills/aops-working-disciplines/SKILL.md +310 -0
  38. package/aops-assets-release/skills/feature-retirement-flow/SKILL.md +126 -0
  39. package/assets/skills/aops-install/SKILL.md +18 -17
  40. package/dist/commands/assets.js +93 -1264
  41. package/dist/commands/community-server.js +27 -8
  42. package/dist/commands/community-setup.js +1 -2
  43. package/dist/commands/discuss.js +1 -1
  44. package/dist/commands/doc.js +88 -27
  45. package/dist/commands/docs.js +68 -0
  46. package/dist/commands/global-update.js +28 -0
  47. package/dist/commands/init.js +3 -1
  48. package/dist/commands/loop.js +6379 -0
  49. package/dist/commands/memory.js +2 -1
  50. package/dist/commands/pm/index.js +11 -9
  51. package/dist/commands/pm/projectman.js +33 -2
  52. package/dist/commands/project.js +6 -6
  53. package/dist/commands/prompt.js +1 -1
  54. package/dist/commands/repo-sync.js +92 -27
  55. package/dist/commands/runner.js +257 -0
  56. package/dist/commands/skill.js +1 -1
  57. package/dist/commands/start.js +1 -1
  58. package/dist/commands/tasker.js +361 -0
  59. package/dist/commands/view.js +53 -9
  60. package/dist/lib/commercial-setup-readiness-adapter.js +0 -1
  61. package/dist/lib/community-migration-snapshot.js +7 -9
  62. package/dist/lib/community-native-database-recovery.js +5 -14
  63. package/dist/lib/community-native-lifecycle.js +13 -0
  64. package/dist/lib/setup-agent-assets-bridge.js +28 -148
  65. package/dist/lib/setup-agent-assets-release.js +16 -44
  66. package/dist/lib/setup-init-orchestrator.js +11 -15
  67. package/dist/lib/simple-agent-assets.js +447 -0
  68. package/dist/lib/user-guide-sections.js +488 -0
  69. package/dist/main.js +10 -2
  70. package/dist/seeds/agents-md.js +3 -3
  71. package/dist/utils/agents-md.js +1 -1
  72. package/dist/utils/guide-paths.js +7 -7
  73. package/dist/utils/hosted-workspace.js +2 -1
  74. package/dist/utils/repo-first-storage.js +26 -1
  75. package/dist/utils/session-state.js +2 -7
  76. package/launchers/aops-cockpit.sh +0 -0
  77. package/launchers/aops-server.sh +0 -0
  78. package/package.json +67 -35
  79. package/THIRD_PARTY_NOTICES +0 -16169
  80. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/SKILL.md +0 -47
  81. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/agentspace/SKILL.md +0 -72
  82. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/aops-cli-core/SKILL.md +0 -110
  83. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/chatv3/SKILL.md +0 -59
  84. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/collaborative-work/SKILL.md +0 -81
  85. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/discuss/SKILL.md +0 -66
  86. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/docman/SKILL.md +0 -75
  87. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/projectman/SKILL.md +0 -92
  88. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/sys/SKILL.md +0 -36
  89. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/view/SKILL.md +0 -58
  90. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/working-disciplines/SKILL.md +0 -66
  91. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agent-assets.md +0 -81
  92. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agentspace.md +0 -183
  93. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-cli.md +0 -1108
  94. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-system.md +0 -102
  95. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/chatv3.md +0 -113
  96. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/docman.md +0 -223
  97. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/projectman.md +0 -233
  98. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/sys.md +0 -94
  99. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/working-disciplines.md +0 -482
  100. package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/manifest.json +0 -117
  101. package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +0 -14
  102. package/agent-assets-release/agent-assets/inventory.json +0 -29
  103. package/agent-assets-release/agent-assets/projection.json +0 -8
  104. package/agent-assets-release/agent-assets-release.json +0 -171
  105. package/agent-assets-release/agent-assets-release.sigstore.json +0 -67
  106. package/assets/agent-assets/core/SKILL.md +0 -47
  107. package/assets/agent-assets/core/references/agentspace/SKILL.md +0 -72
  108. package/assets/agent-assets/core/references/aops-cli-core/SKILL.md +0 -110
  109. package/assets/agent-assets/core/references/chatv3/SKILL.md +0 -59
  110. package/assets/agent-assets/core/references/collaborative-work/SKILL.md +0 -81
  111. package/assets/agent-assets/core/references/discuss/SKILL.md +0 -66
  112. package/assets/agent-assets/core/references/docman/SKILL.md +0 -75
  113. package/assets/agent-assets/core/references/projectman/SKILL.md +0 -92
  114. package/assets/agent-assets/core/references/sys/SKILL.md +0 -36
  115. package/assets/agent-assets/core/references/view/SKILL.md +0 -58
  116. package/assets/agent-assets/core/references/working-disciplines/SKILL.md +0 -66
  117. package/assets/agent-assets/core/user-guides/agent-assets.md +0 -81
  118. package/assets/agent-assets/core/user-guides/agentspace.md +0 -183
  119. package/assets/agent-assets/core/user-guides/aops-cli.md +0 -1108
  120. package/assets/agent-assets/core/user-guides/aops-system.md +0 -102
  121. package/assets/agent-assets/core/user-guides/chatv3.md +0 -113
  122. package/assets/agent-assets/core/user-guides/docman.md +0 -223
  123. package/assets/agent-assets/core/user-guides/projectman.md +0 -233
  124. package/assets/agent-assets/core/user-guides/sys.md +0 -94
  125. package/assets/agent-assets/core/user-guides/working-disciplines.md +0 -482
  126. package/assets/agent-assets/gateway/aops/SKILL.md +0 -14
  127. package/dist/lib/agent-assets/gateway.js +0 -15
  128. package/dist/lib/agent-assets/guards.js +0 -23
  129. package/dist/lib/agent-assets/hosted-discovery.js +0 -148
  130. package/dist/lib/agent-assets/hosted-package-input.js +0 -154
  131. package/dist/lib/agent-assets/legacy-pointer-migration.js +0 -677
  132. package/dist/lib/agent-assets/native-fs.js +0 -589
  133. package/dist/lib/agent-assets/roots.js +0 -45
  134. package/dist/lib/agent-assets/runtime-binding-reader.js +0 -545
  135. package/dist/lib/agent-assets/runtime-targets.js +0 -50
  136. package/dist/lib/agent-assets/store-reader.js +0 -1212
  137. package/dist/lib/agent-assets/store-writer.js +0 -1484
  138. package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
  139. package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
  140. package/native/bin/linux-arm64/aops-agent-assets-fs +0 -0
  141. package/native/bin/linux-x64/aops-agent-assets-fs +0 -0
  142. package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
  143. package/native/manifest.json +0 -49
  144. package/native/qualifications/win32-x64.json +0 -23
  145. package/native/tui/darwin-arm64/aops-tui +0 -0
  146. package/native/tui/linux-x64/aops-tui +0 -0
  147. package/native/tui/win32-x64/aops-tui.exe +0 -0
@@ -1,58 +0,0 @@
1
- ---
2
- name: aops-cli-view
3
- description: Use for read-only local-cache dashboards, board/task/sprint details, filtered lists, hosted inventory, and focused context digests through aops view.
4
- ---
5
-
6
- # AOPS view
7
-
8
- `aops view` reads local presentation caches and never mutates or synchronizes
9
- them. Use it for orientation and bounded context; use owner commands (`pm`,
10
- `mem`, `doc`, and others) for hosted writes.
11
-
12
- ## Fast paths
13
-
14
- ```bash
15
- aops view dashboard --style agent
16
- aops view boards
17
- aops view tasks --board <slug> --status Doing
18
- aops view sprints --board <slug> --status doing
19
- aops view issues --status open --severity high
20
- aops view feedback --status open
21
- ```
22
-
23
- Focused inspection accepts a full UUID, an unambiguous 8+ character ID prefix,
24
- a slug, or an exact title/name when supported:
25
-
26
- ```bash
27
- aops view board <selector>
28
- aops view task <selector>
29
- aops view sprint <selector> --max-items 20
30
- aops view memory --subject sprint --id <sprint-id>
31
- aops view discussions --status open
32
- ```
33
-
34
- ## Context packs
35
-
36
- ```bash
37
- aops view digest --task <task-id> --depth shallow
38
- aops view digest --sprint <sprint-id> --depth deep --max-bytes 32768
39
- aops view digest --board <board-slug> --depth deep
40
- ```
41
-
42
- Use shallow first; request deep only when linked memory/discussions/details are
43
- actually needed. Markdown is the human/agent default; add `--json` for stable
44
- automation.
45
-
46
- ## Hosted inventory
47
-
48
- ```bash
49
- aops view hosted-projects --style compact
50
- aops view hosted-inventory --hosted-project <slug> --scope-resolution explicit
51
- ```
52
-
53
- These are still read-only views. If output is stale, inspect `aops sync status
54
- --json` and refresh intentionally with `aops sync pull --apply --json`.
55
-
56
- For exact filters and output limits, run the relevant nested `--help`. Do not
57
- edit generated view files, treat a view as canonical hosted state, or dump a
58
- deep digest when a small selector read is enough.
@@ -1,66 +0,0 @@
1
- ---
2
- name: aops-working-disciplines
3
- description: Use only when the operator asks to choose, compare, or apply an AOPS working discipline such as solo, review-oriented, consensus-first, or coordinator-led work.
4
- ---
5
-
6
- # AOPS working disciplines
7
-
8
- Disciplines are optional working methods. Setup installs this reference so an
9
- agent can explain the choices, but neither setup nor gateway loading selects
10
- one. Read the relevant discipline only—not the whole guide—in
11
- `../../user-guides/working-disciplines.md`.
12
-
13
- Transport and method are separate:
14
-
15
- - mode: `solo`, `solo+async-review`, or `chat-room`;
16
- - discipline: the working method below.
17
-
18
- ## Choose the smallest method
19
-
20
- | Discipline | Use when | Core evidence |
21
- | --- | --- | --- |
22
- | `solo-pm-loop` | One agent can deliver the bounded work | PM status, focused validation, handoff |
23
- | `build-review-chat` | Implementation benefits from an independent review | PM review-request/result; chat only wakes |
24
- | `design-first-consensus` | A material design decision needs independent stances before build | Discuss conclusion linked to plan |
25
- | `coordinator-loop` | Several delegated slices need explicit coordinator ownership | Projectman policy, slice tasks/reviews, integration gate |
26
-
27
- Do not choose a heavier discipline solely because multiple tools exist. The
28
- operator owns agent count, identities, roles, and closeout authority.
29
-
30
- ## Compose startup
31
-
32
- ```bash
33
- aops start --help
34
- aops start --task "<task>" --mode solo \
35
- --discipline solo-pm-loop --json --out ./aops-start.md
36
- aops start --task "<task>" --mode chat-room \
37
- --discipline build-review-chat --json --out ./aops-start.md
38
- ```
39
-
40
-
41
- ```bash
42
- --policy-json '@policy.json' --apply --json
43
- ```
44
-
45
- ## Shared guardrails
46
-
47
- 1. Put every implementation slice in Projectman before or at kickoff.
48
- 2. Read live help/schema instead of guessing flags or payloads.
49
- 3. Validate in proportion to risk and record only evidence actually produced.
50
- 4. Use ChatV3 (`aops chat`) for coordination/wake, Discuss for consensus, and
51
- Projectman review-request/result for review truth.
52
- 5. Keep scope changes and blockers explicit; do not fabricate peer approval.
53
- 6. Ordinary stop writes status/handoff and keeps board/room open.
54
-
55
- ## Discipline-specific minimums
56
-
57
- - `solo-pm-loop`: orient → plan bounded slice → implement → validate → handoff.
58
- - `build-review-chat`: implementer validates → creates PM review request →
59
- reviewer records result → material findings become issues/fix slices.
60
- - `design-first-consensus`: independent research/turns → every participant
61
- records final stance → conclude → bind decision to implementation plan.
62
- - `coordinator-loop`: coordinator assigns non-overlapping slices → each owner
63
- reports validation → independent review/integration gate → operator closeout.
64
-
65
- Use `aops start --reminder --task "<task>" --area <area> --json` for a bounded
66
- mid-session refresh instead of reloading the full discipline guide.
@@ -1,81 +0,0 @@
1
- # AOPS Community client assets
2
-
3
- Community client assets are installed from an independently signed
4
- agent-assets bundle included in the npm CLI. This asset identity is separate
5
- from application-image releases. The logical user-local data root is
6
- `~/.aops/agent-assets`.
7
- Every agent runtime registered by the installed CLI receives one managed
8
- `skills/aops/SKILL.md` gateway. Today this includes Codex and Claude; future
9
- runtimes can join the same registry without changing the asset model. The
10
- gateway resolves the immutable core package rather than copying every AOPS
11
- reference into each runtime.
12
-
13
- ## Install and verify
14
-
15
- Use guided setup when configuring a new machine or server target:
16
-
17
- ```text
18
- aops setup init
19
- ```
20
-
21
- Use the normal explicit lifecycle from the installed npm package:
22
-
23
- ```text
24
- aops assets install --target all --apply --json
25
- aops assets status --verify quick --json
26
- ```
27
-
28
- Install verifies signed expected digests, refuses unowned runtime files, and
29
- does not use a repository as the source of core bytes. `status` is read-only;
30
- `--verify full` additionally rehashes every active, previous, and pinned
31
- immutable package file.
32
-
33
- `--target all` expands to every runtime registered by this CLI. A single
34
- runtime, comma-separated subset, or repeated `--target` is also accepted;
35
- `both` is not a selector. `--from-release` is only a maintainer/offline recovery
36
- override—the normal npm package resolves its verified bundled asset release.
37
-
38
- ## Discover only what is needed
39
-
40
- ```text
41
- aops assets resolve --gateway aops --json
42
- aops assets discover --query "<intent or domain>" --limit 5 --json
43
- aops assets resolve --name <exact-name> --json
44
- ```
45
-
46
- Discovery returns bounded metadata candidates before any body is loaded.
47
- Resolve only the selected exact asset. The verified offline core includes a
48
- small neutral router, mounted-domain references, on-demand user guides, and the
49
- current working-discipline references. Setup makes those choices available;
50
- it does not silently select a board model, communication mode, or discipline.
51
- Optional hosted catalog packages also remain inert until explicitly selected.
52
-
53
- The core deliberately excludes private development architecture, machine
54
- paths, repository caches, and domains not mounted by Community. Exact live
55
- capability discovery remains the authority when a server adds custom domains.
56
-
57
- ## Local and remote ownership
58
-
59
- The AOPS server may run locally or on another machine. Hosted records and
60
- optional packages remain server-owned; the verified client store, activation
61
- receipts, and runtime gateway stay on the user's machine. Repository caches do
62
- not replace or shadow the installed core.
63
-
64
- Fresh server setup may import an inert signed official catalog for optional
65
- discovery. `aops setup init --no-catalog` skips that initial import only; it
66
- does not remove existing rows or change the offline core.
67
-
68
- ## Diagnose before repair
69
-
70
- ```text
71
- aops assets status --verify quick --json
72
- aops assets repair --json
73
- aops assets migrate inspect --json
74
- ```
75
-
76
- Mutations preview by default and require `--apply`. Destructive cleanup or an
77
- ownership transition additionally requires `--confirm`. Unknown or user-owned
78
- runtime files are reported and left untouched.
79
-
80
- Use `aops assets --help` and the selected subcommand's `--help` as the exact
81
- flag and safety contract for the installed CLI version.
@@ -1,183 +0,0 @@
1
- <!-- Public packaged Agentspace guide. Current nested help and live schema win on drift. -->
2
-
3
- # Agentspace User Guide
4
-
5
- ## 1 Ownership model
6
-
7
- Agentspace owns durable agent/operator context and reusable hosted assets:
8
- memory, synopsis, prompts, skills, resources, artifacts, activity, experience,
9
- agent profiles and structured discussion topics.
10
-
11
- It does not own every part of a work session:
12
-
13
- | Need | Canonical owner |
14
- | --- | --- |
15
- | task, sprint, issue, review request/result, handoff | Projectman |
16
- | versioned page/document content and retrieval | Docman |
17
- | encrypted coordination room, messages, cursors, foreground listen | ChatV3 via `aops chat` |
18
- | structured decision stances and conclusion | Agentspace Discuss via `aops discuss` |
19
- | repository files and commits | Git/source repository |
20
-
21
- The former Agentspace hosted-chat sugar and its `room/inbox/catchup` command
22
- shape are retired from `aops chat`. Existing server data may remain for
23
- historical readback, but new coordination uses ChatV3. `aops chatv3` is only a
24
- compatibility alias for `aops chat`.
25
-
26
- ## 2 Startup and resume ladder
27
-
28
- Prefer small, token-efficient reads:
29
-
30
- ```bash
31
- aops mem brief --subject project --json
32
- aops mem search --q "<decision or constraint>" --limit 10 --json
33
- aops view digest --task <task-id> --depth shallow
34
- aops pm review-request list --status open --json
35
- aops chat session list --json
36
- ```
37
-
38
- Do not preload every memory, guide, room transcript, or PM record. Resolve
39
- references only when the current task needs them.
40
-
41
- ## 3 Durable memory and synopsis
42
-
43
- Memory is for facts that must survive the current context: decisions,
44
- constraints, bounded handoffs, blockers, validation state, and the next safe
45
- action. It is not a duplicate task tracker and must not contain secrets, large
46
- logs, raw chat transcripts, or full documents.
47
-
48
- ```bash
49
- aops mem list --durability sticky --json
50
- aops mem search --q "migration decision" --limit 10 --json
51
- aops mem write --mode decision --subject project \
52
- --content "<bounded evidence and decision>" --apply --json
53
- aops mem checkpoint --help
54
- aops mem synopsis --subject project --json
55
- ```
56
-
57
- A good checkpoint contains the request/purpose, PM and repository refs,
58
- concrete outcome, validation/review evidence, open risk, and next action.
59
- Write at meaningful milestones—not after every message or small edit.
60
-
61
- Generated synopsis is a read model over durable context. Rebuild/read it when
62
- resume quality is poor; do not treat it as an independent source of truth.
63
-
64
- ## 4 Reusable hosted assets
65
-
66
- ```bash
67
- aops prompt list --json
68
- aops skill list --json
69
- aops resource list --json
70
- aops artifact list --json
71
- aops exp list --json
72
- ```
73
-
74
- Prompts and skills are versioned server records. Resources point to knowledge;
75
- artifacts describe or reference outputs and are not an unlimited binary store.
76
- Create/update/version/publish commands are guarded writes. Inspect help first,
77
- use idempotency for retries, and read back the exact version after mutation.
78
-
79
- ```bash
80
- aops skill version create --help
81
- aops prompt version create --help
82
- aops resource create --help
83
- aops artifact create --help
84
- ```
85
-
86
- Never put credentials, private keys, bearer/member tokens, or machine-local
87
- secret paths into hosted assets.
88
-
89
- ## 5 Structured discussions
90
-
91
- Use `aops discuss` only when a material decision needs independent stances and
92
- a durable conclusion. Small reversible implementation choices do not need a
93
- discussion ritual.
94
-
95
- ```bash
96
- aops discuss start --title "<decision>" --question "<question>" \
97
- --participant <agent-a> --participant <agent-b> --apply --json
98
- aops discuss turn --topic <topic> --agent <agent> \
99
- --kind statement --from-file ./turn.md --apply --json
100
- aops discuss wait --topic <topic> --agent <agent> \
101
- --timeout-sec 540 --interval-sec 5 --json
102
- aops discuss turn --topic <topic> --agent <agent> \
103
- --kind final-stance --from-file ./final.md --apply --json
104
- aops discuss conclude --topic <topic> --apply --json
105
- ```
106
-
107
- Never invent another participant's stance. Conclude only after every required
108
- participant recorded a final stance and the status readback reports no missing
109
- finals. Link the conclusion into Projectman or memory.
110
-
111
- Discussion waits and ChatV3 listeners are separate mechanisms. A Discuss turn
112
- does not wake a ChatV3 listener automatically. Send a short `aops chat send`
113
- message with the topic/turn reference when a peer must act.
114
-
115
- ## 6 ChatV3 coordination
116
-
117
- ChatV3 owns coordination and wake traffic:
118
-
119
- ```bash
120
- aops chat join "<invite>" --handle <agent> --save-session --json
121
- aops chat binding add --session <session> --room general \
122
- --binding-type projectman.review-request --ref-id <rr-id> --json
123
- aops chat send --session <session> --room general \
124
- "REVIEW READY: <rr-id>" --json
125
- aops chat listen --session <session> --room general \
126
- --after-seq <last-seq> --timeout-sec 60 --json
127
- aops chat read --session <session> --room general \
128
- --after-seq <last-seq> --mark-delivered --mark-read --json
129
- ```
130
-
131
- Keep foreground listening while room-owned work remains. Timeout exit `22`
132
- means only that the bounded interval was quiet. Read PM/RR/Docman/Discuss refs
133
- before acting, post a short ACK, and advance cursors only for messages actually
134
- consumed.
135
-
136
- Session credentials are isolated by local agent owner. Do not share a session
137
- id or store between agents. See the ChatV3 guide for migration and cursor-gap
138
- rules.
139
-
140
- ## 7 Review pairing
141
-
142
- Projectman is the review truth:
143
-
144
- ```bash
145
- aops pm review-request create --help
146
- aops pm review-request get --id <rr-id> --json
147
- aops pm review-request result --help
148
- ```
149
-
150
- Use ChatV3 only to wake the reviewer and point to the canonical RR. Material
151
- review findings become Projectman issues. Re-review is a child RR, not an edit
152
- of the prior immutable result.
153
-
154
- For Docman drafts, include document/page identifiers plus the compose or
155
- materialize `contentHash` in the RR reference. The result must repeat the exact
156
- same evidence reference. If the draft hash changes, the old acceptance covers
157
- only the old bytes and a new re-review is required.
158
-
159
-
160
- ## 9 Raw discovery and troubleshooting
161
-
162
- ```bash
163
- aops agent tools --domain agentspace --summary --json
164
- aops agent schema --tool agentspace.<operation> --summary --json
165
- aops agent invoke --tool agentspace.<operation> \
166
- --input '@payload.json' --preview --json
167
- ```
168
-
169
- Use the detail ladder: this guide → nested help → live schema → guarded raw
170
- invoke. If the connected server advertises capabilities absent from this
171
- public core, trust the live catalog for availability but keep owner and secret
172
- boundaries intact.
173
-
174
- Common failures:
175
-
176
- - quiet listener: continue from the last acknowledged sequence; timeout is not
177
- completion;
178
- - PM record changed but peer slept: send a ChatV3 wake with the PM ref;
179
- - send succeeded but cursor did not advance: read the reported unseen gap;
180
- - local session not found after upgrade: load the exact legacy session once so
181
- it can be claimed by the current agent owner;
182
- - owner mismatch: use the correct agent session or explicit owner; never copy
183
- another agent's credential store.