@aopslabs/aops 0.2.0

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 (171) hide show
  1. package/LICENSE +19 -0
  2. package/NOTICE +7 -0
  3. package/README.md +203 -0
  4. package/assets/agent-assets/core/SKILL.md +49 -0
  5. package/assets/agent-assets/core/references/agentspace/SKILL.md +78 -0
  6. package/assets/agent-assets/core/references/aops-cli-core/SKILL.md +108 -0
  7. package/assets/agent-assets/core/references/chatv3/SKILL.md +48 -0
  8. package/assets/agent-assets/core/references/collaborative-work/SKILL.md +85 -0
  9. package/assets/agent-assets/core/references/discuss/SKILL.md +66 -0
  10. package/assets/agent-assets/core/references/docman/SKILL.md +69 -0
  11. package/assets/agent-assets/core/references/hosted-chat/SKILL.md +64 -0
  12. package/assets/agent-assets/core/references/mission/SKILL.md +54 -0
  13. package/assets/agent-assets/core/references/projectman/SKILL.md +86 -0
  14. package/assets/agent-assets/core/references/sys/SKILL.md +36 -0
  15. package/assets/agent-assets/core/references/view/SKILL.md +58 -0
  16. package/assets/agent-assets/core/references/working-disciplines/SKILL.md +69 -0
  17. package/assets/agent-assets/core/user-guides/agent-assets.md +81 -0
  18. package/assets/agent-assets/core/user-guides/agentspace.md +1098 -0
  19. package/assets/agent-assets/core/user-guides/aops-cli.md +1107 -0
  20. package/assets/agent-assets/core/user-guides/aops-system.md +63 -0
  21. package/assets/agent-assets/core/user-guides/chatv3.md +113 -0
  22. package/assets/agent-assets/core/user-guides/docman.md +162 -0
  23. package/assets/agent-assets/core/user-guides/projectman.md +212 -0
  24. package/assets/agent-assets/core/user-guides/sys.md +94 -0
  25. package/assets/agent-assets/core/user-guides/working-disciplines.md +588 -0
  26. package/assets/agent-assets/gateway/aops/SKILL.md +14 -0
  27. package/assets/r6-remote-session-baseline.json +19 -0
  28. package/assets/skills/aops-install/SKILL.md +231 -0
  29. package/assets/skills/aops-install/agents/openai.yaml +4 -0
  30. package/dist/commands/activity.js +352 -0
  31. package/dist/commands/agent-profile.js +653 -0
  32. package/dist/commands/agent.js +710 -0
  33. package/dist/commands/agents-md.js +125 -0
  34. package/dist/commands/api.js +84 -0
  35. package/dist/commands/archive.js +873 -0
  36. package/dist/commands/artifact.js +535 -0
  37. package/dist/commands/assets.js +1414 -0
  38. package/dist/commands/auth/device-login.js +1 -0
  39. package/dist/commands/auth/legacy-export.js +177 -0
  40. package/dist/commands/auth/login.js +426 -0
  41. package/dist/commands/chat.js +1363 -0
  42. package/dist/commands/chatv3.js +1684 -0
  43. package/dist/commands/checkpoint.js +549 -0
  44. package/dist/commands/commercial-artifact.js +475 -0
  45. package/dist/commands/commercial-license.js +594 -0
  46. package/dist/commands/community-auth.js +62 -0
  47. package/dist/commands/community-cockpit.js +185 -0
  48. package/dist/commands/community-console.js +109 -0
  49. package/dist/commands/community-doctor.js +335 -0
  50. package/dist/commands/community-server.js +2062 -0
  51. package/dist/commands/community-setup.js +284 -0
  52. package/dist/commands/discuss.js +1448 -0
  53. package/dist/commands/doc.js +5219 -0
  54. package/dist/commands/experience.js +922 -0
  55. package/dist/commands/host.js +1127 -0
  56. package/dist/commands/init.js +118 -0
  57. package/dist/commands/memory.js +3129 -0
  58. package/dist/commands/mission.js +562 -0
  59. package/dist/commands/official-catalog.js +134 -0
  60. package/dist/commands/plan.js +84 -0
  61. package/dist/commands/playbook.js +415 -0
  62. package/dist/commands/pm/context.js +6 -0
  63. package/dist/commands/pm/index.js +701 -0
  64. package/dist/commands/pm/projectman.js +6266 -0
  65. package/dist/commands/project.js +1080 -0
  66. package/dist/commands/prompt.js +1024 -0
  67. package/dist/commands/repo-sync.js +1907 -0
  68. package/dist/commands/resource.js +527 -0
  69. package/dist/commands/skill.js +1211 -0
  70. package/dist/commands/start-disciplines.js +510 -0
  71. package/dist/commands/start.js +1343 -0
  72. package/dist/commands/target.js +309 -0
  73. package/dist/commands/version.js +42 -0
  74. package/dist/commands/view.js +1852 -0
  75. package/dist/launchers/cockpit.js +28 -0
  76. package/dist/launchers/options.js +74 -0
  77. package/dist/launchers/server.js +41 -0
  78. package/dist/lib/agent-assets/envelope.js +83 -0
  79. package/dist/lib/agent-assets/gateway.js +15 -0
  80. package/dist/lib/agent-assets/guards.js +23 -0
  81. package/dist/lib/agent-assets/hosted-discovery.js +148 -0
  82. package/dist/lib/agent-assets/hosted-package-input.js +154 -0
  83. package/dist/lib/agent-assets/legacy-pointer-migration.js +677 -0
  84. package/dist/lib/agent-assets/native-fs.js +589 -0
  85. package/dist/lib/agent-assets/package-manifest.js +324 -0
  86. package/dist/lib/agent-assets/portable-path.js +67 -0
  87. package/dist/lib/agent-assets/release-input.js +177 -0
  88. package/dist/lib/agent-assets/roots.js +45 -0
  89. package/dist/lib/agent-assets/runtime-binding-reader.js +545 -0
  90. package/dist/lib/agent-assets/runtime-targets.js +50 -0
  91. package/dist/lib/agent-assets/store-reader.js +1212 -0
  92. package/dist/lib/agent-assets/store-types.js +1 -0
  93. package/dist/lib/agent-assets/store-writer.js +1484 -0
  94. package/dist/lib/agent-assets/types.js +1 -0
  95. package/dist/lib/agent-assets/unicode-case-folding-v15-1.generated.js +1548 -0
  96. package/dist/lib/commercial-final-readiness.js +504 -0
  97. package/dist/lib/commercial-lifecycle-smoke-isolation.js +236 -0
  98. package/dist/lib/commercial-managed-postgres-docker-adapter.js +274 -0
  99. package/dist/lib/commercial-setup-readiness-adapter.js +179 -0
  100. package/dist/lib/community-client-contract.js +164 -0
  101. package/dist/lib/community-cockpit-lifecycle.js +601 -0
  102. package/dist/lib/community-command-abort.js +59 -0
  103. package/dist/lib/community-diagnostic.js +237 -0
  104. package/dist/lib/community-docker-adapter.js +498 -0
  105. package/dist/lib/community-home.js +31 -0
  106. package/dist/lib/community-instance-contract.js +148 -0
  107. package/dist/lib/community-instance-layout.js +97 -0
  108. package/dist/lib/community-lifecycle.js +1631 -0
  109. package/dist/lib/community-migration-snapshot.js +770 -0
  110. package/dist/lib/community-native-application-recovery.js +425 -0
  111. package/dist/lib/community-native-child.js +240 -0
  112. package/dist/lib/community-native-database-recovery.js +456 -0
  113. package/dist/lib/community-native-lifecycle.js +2458 -0
  114. package/dist/lib/community-native-migration.js +339 -0
  115. package/dist/lib/community-native-postgres.js +596 -0
  116. package/dist/lib/community-operation-journal.js +773 -0
  117. package/dist/lib/community-operation-lock.js +596 -0
  118. package/dist/lib/community-release-resolver.js +291 -0
  119. package/dist/lib/community-release-verifier.js +475 -0
  120. package/dist/lib/community-repo-discovery.js +252 -0
  121. package/dist/lib/community-setup-server-env.js +203 -0
  122. package/dist/lib/external-url.js +110 -0
  123. package/dist/lib/official-catalog-gateway.js +108 -0
  124. package/dist/lib/official-catalog.js +364 -0
  125. package/dist/lib/server-bootstrap.js +240 -0
  126. package/dist/lib/setup-agent-assets-bridge.js +176 -0
  127. package/dist/lib/setup-agent-assets-release.js +52 -0
  128. package/dist/lib/setup-external-postgres.js +108 -0
  129. package/dist/lib/setup-init-orchestrator.js +990 -0
  130. package/dist/lib/setup-install-guide.js +52 -0
  131. package/dist/lib/setup-installer-release.js +47 -0
  132. package/dist/lib/setup-local-postgres.js +329 -0
  133. package/dist/lib/setup-official-catalog-bridge.js +148 -0
  134. package/dist/lib/setup-readiness.js +888 -0
  135. package/dist/lib/tui-launcher.js +59 -0
  136. package/dist/main.js +150 -0
  137. package/dist/seeds/agents-md.js +54 -0
  138. package/dist/utils/agent-gateway.js +275 -0
  139. package/dist/utils/agents-md.js +281 -0
  140. package/dist/utils/api.js +255 -0
  141. package/dist/utils/chatv3-session-store.js +185 -0
  142. package/dist/utils/command.js +67 -0
  143. package/dist/utils/community-host-runtime.js +376 -0
  144. package/dist/utils/config.js +1015 -0
  145. package/dist/utils/discussion-workspace.js +552 -0
  146. package/dist/utils/experience-workspace.js +326 -0
  147. package/dist/utils/guide-paths.js +67 -0
  148. package/dist/utils/hosted-sugar.js +56 -0
  149. package/dist/utils/hosted-workspace.js +229 -0
  150. package/dist/utils/memory-workspace.js +537 -0
  151. package/dist/utils/operator-runtime.js +199 -0
  152. package/dist/utils/password-crypto.js +39 -0
  153. package/dist/utils/playbook-workspace.js +479 -0
  154. package/dist/utils/project-context.js +255 -0
  155. package/dist/utils/prompts.js +70 -0
  156. package/dist/utils/refresh-race.js +28 -0
  157. package/dist/utils/repo-config.js +109 -0
  158. package/dist/utils/repo-first-projectman.js +194 -0
  159. package/dist/utils/repo-first-storage.js +13 -0
  160. package/dist/utils/repo-first-view.js +305 -0
  161. package/dist/utils/session-guidance.js +278 -0
  162. package/dist/utils/session-state.js +137 -0
  163. package/dist/utils/table.js +39 -0
  164. package/dist/utils/transient-fs.js +49 -0
  165. package/dist/utils/workspace-root.js +1 -0
  166. package/launchers/aops-cockpit.ps1 +15 -0
  167. package/launchers/aops-cockpit.sh +16 -0
  168. package/launchers/aops-server.ps1 +15 -0
  169. package/launchers/aops-server.sh +16 -0
  170. package/native/tui/win32-x64/aops-tui.exe +0 -0
  171. package/package.json +81 -0
@@ -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.
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: aops-cli-projectman
3
+ description: Use for Projectman boards, tasks, sprints and implementation plans, microtasks, issues, feedback, reviews, handoffs, and server-canonical planning through AOPS.
4
+ ---
5
+
6
+ # Projectman
7
+
8
+ Projectman is the execution and review source of truth. It supports board-only,
9
+ sprint-only, combined, and small-task flows; do not force a ceremony the
10
+ operator did not choose. Read the relevant heading in
11
+ `../../user-guides/projectman.md` for deeper examples.
12
+
13
+ ## Inspect the live surface
14
+
15
+ ```bash
16
+ aops pm --help
17
+ aops pm board --help
18
+ aops pm ktask --help
19
+ aops pm sprint --help
20
+ aops pm utask --help
21
+ aops pm issue --help
22
+ aops pm feedback --help
23
+ aops pm review-request --help
24
+ aops pm handoff --help
25
+ ```
26
+
27
+ ## Common planning flow
28
+
29
+ ```bash
30
+ aops pm board list --json
31
+ aops pm board create --name "Delivery" --apply --json
32
+ aops pm ktask create --board <board> --column Todo --title "<task>" --apply --json
33
+ aops pm sprint create --task <task-id> --name "Sprint 1" --goal "<outcome>" --apply --json
34
+ aops pm utask create --sprint <sprint-id> --title "<verifiable step>" --apply --json
35
+ ```
36
+
37
+ Use clear outcome text: what is needed, why it matters, and how completion will
38
+ be proven. IDs returned by writes should be reused; do not resolve ambiguous
39
+ titles repeatedly.
40
+
41
+ ## Read and resume
42
+
43
+ ```bash
44
+ aops pm board get --slug <board-slug> --json
45
+ aops pm ktask get --id <task-id> --json
46
+ aops pm sprint get --id <sprint-id> --json
47
+ aops view digest --task <task-id> --depth deep
48
+ aops pm handoff resume --subject ktask --id <task-id> --json
49
+ ```
50
+
51
+ Local `view` output is a read-only presentation cache. Writes always go through
52
+ hosted Projectman commands.
53
+
54
+ ## Issues, feedback, and review
55
+
56
+ ```bash
57
+ aops pm issue create --help
58
+ aops pm feedback create --help
59
+ aops pm review-request create --help
60
+ aops pm review-request result --help
61
+ aops pm handoff write --help
62
+ ```
63
+
64
+ Use an issue for a material blocker/defect, feedback for observations or
65
+ suggestions, and review-request/result for an auditable review gate. A chat
66
+ message may wake a reviewer but is not the review record.
67
+
68
+ ## Status discipline
69
+
70
+ 1. Inspect the record before changing status.
71
+ 2. Use the exact nested help and stable IDs.
72
+ 3. Apply one bounded mutation and read it back.
73
+ 4. Mark done only after requested validation actually passes.
74
+ 5. Ordinary session stop writes a handoff/status; board/room closeout remains
75
+ an explicit operator decision.
76
+
77
+ ## Raw fallback
78
+
79
+ ```bash
80
+ aops agent tools --domain projectman --q review --limit 20 --summary --json
81
+ aops agent schema --tool projectman.<operation> --summary --json
82
+ aops agent invoke --tool projectman.<operation> --input '@payload.json' --preview --json
83
+ ```
84
+
85
+ Do not guess raw fields. If sugar returns validation errors, compare the sugar
86
+ payload with live schema before using a direct invoke workaround.
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: aops-cli-sys
3
+ description: Use for live Sys capabilities including counters, shared country lookup, event-store operations, and rate-limit state through schema-first AOPS agent tools.
4
+ ---
5
+
6
+ # Sys
7
+
8
+ Sys is a mounted Community domain but has no dedicated sugar family. Start
9
+ with compact live discovery and use raw invoke only after reading its schema.
10
+ Detailed examples are in `../../user-guides/sys.md`.
11
+
12
+ ```bash
13
+ aops agent tools --domain sys --summary --json
14
+ aops agent tools --domain sys --q country --limit 10 --examples --summary --json
15
+ aops agent schema --tool sys.country.resolve-iso2 --summary --json
16
+ ```
17
+
18
+ The current capability families are:
19
+
20
+ - `sys.counter.*` — tenant-scoped formatted counters;
21
+ - `sys.country.*` — shared ISO country lookup/search;
22
+ - `sys.event-store.*` — append/read/cleanup domain events;
23
+ - `sys.rate-limiter.*` — check, record, reset, inspect, and cleanup limits.
24
+
25
+ Reads can be invoked without `--apply`. Database mutations require `--apply`;
26
+ cleanup/reset operations should be previewed and treated as destructive even
27
+ when the live contract does not require a separate `--confirm` flag.
28
+
29
+ ```bash
30
+ aops agent invoke --tool sys.country.resolve-iso2 --input '{"body":{"iso2Code":"TR"}}' --json
31
+ aops agent invoke --tool sys.counter.preview-next --input '{"body":{"counterKey":"inventory.item.code","prefix":"ITM","width":5}}' --json
32
+ aops agent invoke --tool sys.counter.next --input '@counter-next.json' --preview --json
33
+ ```
34
+
35
+ Examples are illustrative. The connected server's `agent schema` and tool
36
+ detail are authoritative for required fields, tenant context, and guard flags.
@@ -0,0 +1,58 @@
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.
@@ -0,0 +1,69 @@
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 | Mission 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
+ Inspect `result.mission.policyJson` and persist it only if a durable mission is
41
+ appropriate:
42
+
43
+ ```bash
44
+ aops mission create --objective "<objective>" \
45
+ --policy-json '@policy.json' --apply --json
46
+ ```
47
+
48
+ ## Shared guardrails
49
+
50
+ 1. Put every implementation slice in Projectman before or at kickoff.
51
+ 2. Read live help/schema instead of guessing flags or payloads.
52
+ 3. Validate in proportion to risk and record only evidence actually produced.
53
+ 4. Use hosted chat for coordination/wake, Discuss for consensus, and
54
+ Projectman review-request/result for review truth.
55
+ 5. Keep scope changes and blockers explicit; do not fabricate peer approval.
56
+ 6. Ordinary stop writes status/handoff and keeps mission/board/room open.
57
+
58
+ ## Discipline-specific minimums
59
+
60
+ - `solo-pm-loop`: orient → plan bounded slice → implement → validate → handoff.
61
+ - `build-review-chat`: implementer validates → creates PM review request →
62
+ reviewer records result → material findings become issues/fix slices.
63
+ - `design-first-consensus`: independent research/turns → every participant
64
+ records final stance → conclude → bind decision to implementation plan.
65
+ - `coordinator-loop`: coordinator assigns non-overlapping slices → each owner
66
+ reports validation → independent review/integration gate → operator closeout.
67
+
68
+ Use `aops start --reminder --task "<task>" --area <area> --json` for a bounded
69
+ mid-session refresh instead of reloading the full discipline guide.
@@ -0,0 +1,81 @@
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.