@aopslabs/aops 0.3.9 → 0.3.10

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 (67) hide show
  1. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/SKILL.md +3 -4
  2. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/agentspace/SKILL.md +4 -4
  3. package/agent-assets-release/agent-assets/core/070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5/files/references/chatv3/SKILL.md +59 -0
  4. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/collaborative-work/SKILL.md +10 -13
  5. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/discuss/SKILL.md +2 -2
  6. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/docman/SKILL.md +6 -0
  7. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/projectman/SKILL.md +6 -0
  8. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/working-disciplines/SKILL.md +1 -1
  9. package/agent-assets-release/agent-assets/core/070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5/files/user-guides/agentspace.md +198 -0
  10. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/aops-cli.md +25 -24
  11. package/agent-assets-release/agent-assets/core/070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5/files/user-guides/chatv3.md +98 -0
  12. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/docman.md +16 -0
  13. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/projectman.md +7 -0
  14. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/working-disciplines.md +2 -2
  15. package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/manifest.json +31 -36
  16. package/agent-assets-release/agent-assets/inventory.json +5 -5
  17. package/agent-assets-release/agent-assets/projection.json +1 -1
  18. package/agent-assets-release/agent-assets-release.json +64 -69
  19. package/agent-assets-release/agent-assets-release.sigstore.json +26 -26
  20. package/assets/agent-assets/core/SKILL.md +3 -4
  21. package/assets/agent-assets/core/references/agentspace/SKILL.md +4 -4
  22. package/assets/agent-assets/core/references/chatv3/SKILL.md +36 -26
  23. package/assets/agent-assets/core/references/collaborative-work/SKILL.md +10 -13
  24. package/assets/agent-assets/core/references/discuss/SKILL.md +2 -2
  25. package/assets/agent-assets/core/references/docman/SKILL.md +6 -0
  26. package/assets/agent-assets/core/references/projectman/SKILL.md +6 -0
  27. package/assets/agent-assets/core/references/working-disciplines/SKILL.md +1 -1
  28. package/assets/agent-assets/core/user-guides/agentspace.md +135 -1035
  29. package/assets/agent-assets/core/user-guides/aops-cli.md +25 -24
  30. package/assets/agent-assets/core/user-guides/chatv3.md +82 -97
  31. package/assets/agent-assets/core/user-guides/docman.md +16 -0
  32. package/assets/agent-assets/core/user-guides/projectman.md +7 -0
  33. package/assets/agent-assets/core/user-guides/working-disciplines.md +2 -2
  34. package/dist/commands/chatv3.js +81 -46
  35. package/dist/commands/doc.js +4 -4
  36. package/dist/commands/pm/index.js +2 -5
  37. package/dist/commands/pm/projectman.js +36 -95
  38. package/dist/lib/agent-assets/native-fs.js +2 -2
  39. package/dist/main.js +2 -3
  40. package/dist/seeds/agents-md.js +1 -1
  41. package/dist/utils/chatv3-cursor.js +41 -0
  42. package/dist/utils/chatv3-session-store.js +166 -36
  43. package/launchers/aops-cockpit.sh +0 -0
  44. package/launchers/aops-server.sh +0 -0
  45. package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
  46. package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
  47. package/native/bin/linux-arm64/aops-agent-assets-fs +0 -0
  48. package/native/bin/linux-x64/aops-agent-assets-fs +0 -0
  49. package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
  50. package/native/manifest.json +6 -6
  51. package/native/qualifications/win32-x64.json +1 -1
  52. package/native/tui/darwin-arm64/aops-tui +0 -0
  53. package/native/tui/win32-x64/aops-tui.exe +0 -0
  54. package/package.json +6 -4
  55. package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/references/chatv3/SKILL.md +0 -49
  56. package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/references/hosted-chat/SKILL.md +0 -64
  57. package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/user-guides/agentspace.md +0 -1098
  58. package/agent-assets-release/agent-assets/core/0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706/files/user-guides/chatv3.md +0 -113
  59. package/assets/agent-assets/core/references/hosted-chat/SKILL.md +0 -64
  60. package/dist/commands/chat.js +0 -1363
  61. /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/aops-cli-core/SKILL.md +0 -0
  62. /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/mission/SKILL.md +0 -0
  63. /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/sys/SKILL.md +0 -0
  64. /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/references/view/SKILL.md +0 -0
  65. /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/agent-assets.md +0 -0
  66. /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/aops-system.md +0 -0
  67. /package/agent-assets-release/agent-assets/core/{0ffc854a8e32500f3d82c10a1e1ee6376d57e616201a323638f0f9caf8fb2706 → 070b0d3126c645890845791b67157fdd9f43a482fda66583e84fb159b30689a5}/files/user-guides/sys.md +0 -0
@@ -7,7 +7,7 @@ description: Use for durable memory, synopsis, reusable prompts/skills/resources
7
7
 
8
8
  Agentspace owns durable agent/operator context and reusable hosted assets.
9
9
  Project execution belongs to Projectman; versioned documents belong to Docman.
10
- Hosted coordination and structured decisions have their own references.
10
+ ChatV3 coordination and structured decisions have their own references.
11
11
 
12
12
  Read only the needed section of `../../user-guides/agentspace.md`. Exact flags
13
13
  come from live nested help.
@@ -53,7 +53,7 @@ context. Artifact records are metadata/pointers, not a large binary store.
53
53
 
54
54
  For durable session intent and resume packs, load `../mission/SKILL.md` rather
55
55
  than the full Agentspace guide. For rooms/messages load
56
- `../hosted-chat/SKILL.md`; for structured consensus load
56
+ `../chatv3/SKILL.md`; for structured consensus load
57
57
  `../discuss/SKILL.md`.
58
58
 
59
59
  ## Raw discovery fallback
@@ -72,7 +72,7 @@ supported. Read back the exact record after mutation.
72
72
 
73
73
  - Planning, tasks, sprints, issues, feedback, reviews: Projectman.
74
74
  - Document graphs, page content, publish/search/answer: Docman.
75
- - Hosted coordination/wake: `aops chat`.
75
+ - ChatV3 coordination/wake: `aops chat`.
76
76
  - Structured decision transcript: `aops discuss`.
77
- - Encrypted product channel: `aops chatv3`.
77
+ - `aops chatv3`: compatibility alias for `aops chat`.
78
78
  - Repo `.aops/**`: derived cache, never the canonical authoring source.
@@ -1,49 +1,59 @@
1
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.
2
+ name: aops-cli-chat
3
+ description: Use for ChatV3 encrypted channels, invitations, agent-owned local sessions, membership, presence, bindings, messages, cursors, and foreground listening through aops chat.
4
4
  ---
5
5
 
6
- # ChatV3
6
+ # AOPS Chat (ChatV3)
7
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.
8
+ `aops chat` is the canonical encrypted ChatV3 channel/room surface for agent
9
+ coordination and product-room work. `aops chatv3` is a compatibility alias for
10
+ the same command tree; it is not a second messaging system.
11
11
 
12
12
  Read only the relevant section of `../../user-guides/chatv3.md`. Exact flags
13
- come from nested `--help`; direct payloads come from live schema.
13
+ come from nested help; direct payloads come from live schema.
14
14
 
15
15
  ## Common entry points
16
16
 
17
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
18
+ aops chat --help
19
+ aops chat channel --help
20
+ aops chat session --help
21
+ aops chat member --help
22
+ aops chat send --help
23
+ aops chat read --help
24
+ aops chat listen --help
24
25
  ```
25
26
 
26
- Typical discovery and read flow:
27
+ Typical foreground coordination:
27
28
 
28
29
  ```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
30
+ aops chat session list --json
31
+ aops chat listen --session <id> --room general --after-seq <n> --timeout-sec 60 --json
32
+ aops chat send --session <id> --room general "<message>" --json
33
+ aops chat read --session <id> --room general --after-seq <n> --mark-delivered --mark-read --json
33
34
  ```
34
35
 
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.
36
+ Keep foreground listening active while work remains. A listen timeout means
37
+ only “no message in this bounded interval”; it does not end the task.
38
+
39
+ Local sessions are isolated by detected agent owner (for example a Codex
40
+ thread), or by `AOPS_CHATV3_SESSION_OWNER` / `--session-owner`. Session ids,
41
+ member tokens, and room keys must never be copied between agent owners or
42
+ pasted into chat, logs, source, or shell history. Legacy shared stores are
43
+ claimed once and migrated into the first local owner that uses that session.
39
44
 
40
- For a write not exposed by sugar, inspect the exact live schema before invoke:
45
+ `send --mark-read` and `send --mark-delivered` advance cursors only when the
46
+ pre-send cursor is exactly caught up. If another message arrived first, the
47
+ send succeeds but the cursor advance is skipped; read the gap explicitly.
48
+
49
+ For a write not exposed by sugar, inspect the exact live schema first:
41
50
 
42
51
  ```bash
52
+ aops agent tools --domain chatv3 --summary --json
43
53
  aops agent schema --tool chatv3.<operation> --summary --json
44
54
  aops agent invoke --tool chatv3.<operation> --input '@payload.json' --preview --json
45
55
  ```
46
56
 
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.
57
+ ChatV3 is coordination/wake truth, not the durable Projectman review record or
58
+ the structured `discuss` transcript. Bind or summarize outcomes into the
59
+ correct owner when durability matters.
@@ -1,6 +1,6 @@
1
1
  ---
2
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.
3
+ description: Use when the operator explicitly wants the full AOPS session playbook for solo work, async review, or ChatV3 room collaboration with Projectman-backed execution.
4
4
  ---
5
5
 
6
6
  # AOPS collaborative work
@@ -53,23 +53,20 @@ The reviewer records the result in Projectman. Material findings become
53
53
  Projectman issues or bounded fix slices; chat is only the optional wake channel.
54
54
  Do not claim review completion from a message alone.
55
55
 
56
- ## Mode 3: hosted chat room
56
+ ## Mode 3: ChatV3 room
57
57
 
58
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
59
+ aops chat join "<invite>" --handle <agent> --save-session --json
60
+ aops chat binding add --session <id> --room general \
61
+ --binding-type projectman.kanban-task --ref-id <task-id> --json
62
+ aops chat room brief --session <id> --room general --for <peer> --json
63
+ aops chat listen --session <id> --room general \
64
+ --after-seq <last-seq> --timeout-sec 60 --json
67
65
  ```
68
66
 
69
67
  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.
68
+ validation evidence. Use `aops discuss` only for a material consensus decision.
69
+ `aops chatv3` remains an alias for this same ChatV3 surface.
73
70
 
74
71
  ## During work
75
72
 
@@ -6,7 +6,7 @@ description: Use for a structured server-canonical design decision or consensus
6
6
  # AOPS Discuss
7
7
 
8
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.
9
+ `aops chat` (ChatV3) to wake/coordinate peers and Projectman to track review/execution.
10
10
  Do not start a discussion ritual for a small reversible implementation choice.
11
11
 
12
12
  The complete owner and troubleshooting model is in the Discuss sections of
@@ -52,7 +52,7 @@ reports no missing final stances. Outputs must contain real decisions and
52
52
  follow-ups, not `_TBD_` placeholders.
53
53
 
54
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
55
+ Projectman task/review/issue or durable memory, then send a short ChatV3
56
56
  wake if another agent must act.
57
57
 
58
58
  For raw operations:
@@ -40,6 +40,12 @@ import for intentional bulk import, not for a one-page edit. Every mutation is
40
40
  preview/apply guarded where supported; read back the current version after
41
41
  publishing.
42
42
 
43
+ Compose or materialize the exact candidate before review and retain its
44
+ version ids plus `contentHash`. Put the complete immutable evidence reference
45
+ in both the Projectman review request and an approved review result. Saving a
46
+ mutable draft changes its hash and requires a linked re-review; a page-version
47
+ id alone is not approval evidence.
48
+
43
49
  ## Search, answer, publish, and mirrors
44
50
 
45
51
  ```bash
@@ -65,6 +65,12 @@ Use an issue for a material blocker/defect, feedback for observations or
65
65
  suggestions, and review-request/result for an auditable review gate. A chat
66
66
  message may wake a reviewer but is not the review record.
67
67
 
68
+ For mutable Docman drafts, bind the review request to the exact composed
69
+ evidence reference containing the page/document version id and its
70
+ `contentHash=sha256:<digest>`. An approved result must repeat that complete
71
+ reference exactly. A later draft edit changes the hash, so the earlier approval
72
+ does not cover the new bytes; open a linked re-review.
73
+
68
74
  ## Status discipline
69
75
 
70
76
  1. Inspect the record before changing status.
@@ -50,7 +50,7 @@ aops mission create --objective "<objective>" \
50
50
  1. Put every implementation slice in Projectman before or at kickoff.
51
51
  2. Read live help/schema instead of guessing flags or payloads.
52
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
53
+ 4. Use ChatV3 (`aops chat`) for coordination/wake, Discuss for consensus, and
54
54
  Projectman review-request/result for review truth.
55
55
  5. Keep scope changes and blockers explicit; do not fabricate peer approval.
56
56
  6. Ordinary stop writes status/handoff and keeps mission/board/room open.