@aopslabs/aops 0.3.31 → 0.3.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -3
- package/aops-assets-release/aops-assets.json.gz +0 -0
- package/aops-assets-release/disciplines/build-review-chat/SKILL.md +33 -0
- package/aops-assets-release/disciplines/coordinator-loop/SKILL.md +33 -0
- package/aops-assets-release/disciplines/design-first-consensus/SKILL.md +30 -0
- package/aops-assets-release/disciplines/solo-pm-loop/SKILL.md +31 -0
- package/aops-assets-release/docs/user-guides/agentspace-user-guide.md +384 -0
- package/aops-assets-release/docs/user-guides/aops-cli-user-guide.md +2067 -0
- package/aops-assets-release/docs/user-guides/chatv3-user-guide.md +500 -0
- package/aops-assets-release/docs/user-guides/docman-user-guide.md +1009 -0
- package/aops-assets-release/docs/user-guides/projectman-user-guide.md +763 -0
- package/aops-assets-release/docs/user-guides/tasker-user-guide.md +244 -0
- package/aops-assets-release/release.json +6 -0
- package/aops-assets-release/roles/coordinator/ROLE.md +28 -0
- package/aops-assets-release/roles/implementer/ROLE.md +27 -0
- package/aops-assets-release/roles/reviewer/ROLE.md +27 -0
- package/aops-assets-release/skills/aops/SKILL.md +112 -0
- package/aops-assets-release/skills/aops-bootstrapper-authoring/SKILL.md +245 -0
- package/aops-assets-release/skills/aops-cli-agentspace/SKILL.md +186 -0
- package/aops-assets-release/skills/aops-cli-board-lifecycle/SKILL.md +64 -0
- package/aops-assets-release/skills/aops-cli-chat/SKILL.md +204 -0
- package/aops-assets-release/skills/aops-cli-collab/SKILL.md +42 -0
- package/aops-assets-release/skills/aops-cli-core/SKILL.md +219 -0
- package/aops-assets-release/skills/aops-cli-discuss/SKILL.md +172 -0
- package/aops-assets-release/skills/aops-cli-docman/SKILL.md +192 -0
- package/aops-assets-release/skills/aops-cli-fileman/SKILL.md +169 -0
- package/aops-assets-release/skills/aops-cli-mission/SKILL.md +128 -0
- package/aops-assets-release/skills/aops-cli-operator-brief/SKILL.md +67 -0
- package/aops-assets-release/skills/aops-cli-projectman/SKILL.md +235 -0
- package/aops-assets-release/skills/aops-cli-sugar-authoring/SKILL.md +188 -0
- package/aops-assets-release/skills/aops-cli-tasker/SKILL.md +108 -0
- package/aops-assets-release/skills/aops-cli-tooling-agent/SKILL.md +112 -0
- package/aops-assets-release/skills/aops-cli-view/SKILL.md +210 -0
- package/aops-assets-release/skills/aops-collaborative-work/SKILL.md +304 -0
- package/aops-assets-release/skills/aops-interactive/SKILL.md +70 -0
- package/aops-assets-release/skills/aops-loop-interactive/SKILL.md +314 -0
- package/aops-assets-release/skills/aops-working-disciplines/SKILL.md +310 -0
- package/aops-assets-release/skills/feature-retirement-flow/SKILL.md +126 -0
- package/assets/skills/aops-install/SKILL.md +18 -17
- package/dist/commands/assets.js +93 -1264
- package/dist/commands/community-server.js +27 -8
- package/dist/commands/community-setup.js +1 -2
- package/dist/commands/discuss.js +1 -1
- package/dist/commands/doc.js +88 -27
- package/dist/commands/docs.js +68 -0
- package/dist/commands/global-update.js +28 -0
- package/dist/commands/init.js +3 -1
- package/dist/commands/loop.js +6379 -0
- package/dist/commands/memory.js +2 -1
- package/dist/commands/pm/index.js +11 -9
- package/dist/commands/pm/projectman.js +33 -2
- package/dist/commands/project.js +6 -6
- package/dist/commands/prompt.js +1 -1
- package/dist/commands/repo-sync.js +92 -27
- package/dist/commands/runner.js +257 -0
- package/dist/commands/skill.js +1 -1
- package/dist/commands/start.js +1 -1
- package/dist/commands/tasker.js +361 -0
- package/dist/commands/view.js +53 -9
- package/dist/lib/commercial-setup-readiness-adapter.js +0 -1
- package/dist/lib/community-migration-snapshot.js +7 -9
- package/dist/lib/community-native-database-recovery.js +5 -14
- package/dist/lib/community-native-lifecycle.js +13 -0
- package/dist/lib/setup-agent-assets-bridge.js +28 -148
- package/dist/lib/setup-agent-assets-release.js +16 -44
- package/dist/lib/setup-init-orchestrator.js +11 -15
- package/dist/lib/simple-agent-assets.js +447 -0
- package/dist/lib/user-guide-sections.js +488 -0
- package/dist/main.js +10 -2
- package/dist/seeds/agents-md.js +3 -3
- package/dist/utils/agents-md.js +1 -1
- package/dist/utils/guide-paths.js +7 -7
- package/dist/utils/hosted-workspace.js +2 -1
- package/dist/utils/repo-first-storage.js +26 -1
- package/dist/utils/session-state.js +2 -7
- package/launchers/aops-cockpit.sh +0 -0
- package/launchers/aops-server.sh +0 -0
- package/package.json +67 -35
- package/THIRD_PARTY_NOTICES +0 -16169
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/SKILL.md +0 -47
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/agentspace/SKILL.md +0 -72
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/aops-cli-core/SKILL.md +0 -110
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/chatv3/SKILL.md +0 -59
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/collaborative-work/SKILL.md +0 -81
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/discuss/SKILL.md +0 -66
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/docman/SKILL.md +0 -75
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/projectman/SKILL.md +0 -92
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/sys/SKILL.md +0 -36
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/view/SKILL.md +0 -58
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/references/working-disciplines/SKILL.md +0 -66
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agent-assets.md +0 -81
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/agentspace.md +0 -183
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-cli.md +0 -1108
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/aops-system.md +0 -102
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/chatv3.md +0 -113
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/docman.md +0 -223
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/projectman.md +0 -233
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/sys.md +0 -94
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/files/user-guides/working-disciplines.md +0 -482
- package/agent-assets-release/agent-assets/core/bc42dd7792dbe66040e99a7ef3d80b3bc788c72b369b5a065cf936aef29f53fb/manifest.json +0 -117
- package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +0 -14
- package/agent-assets-release/agent-assets/inventory.json +0 -29
- package/agent-assets-release/agent-assets/projection.json +0 -8
- package/agent-assets-release/agent-assets-release.json +0 -171
- package/agent-assets-release/agent-assets-release.sigstore.json +0 -67
- package/assets/agent-assets/core/SKILL.md +0 -47
- package/assets/agent-assets/core/references/agentspace/SKILL.md +0 -72
- package/assets/agent-assets/core/references/aops-cli-core/SKILL.md +0 -110
- package/assets/agent-assets/core/references/chatv3/SKILL.md +0 -59
- package/assets/agent-assets/core/references/collaborative-work/SKILL.md +0 -81
- package/assets/agent-assets/core/references/discuss/SKILL.md +0 -66
- package/assets/agent-assets/core/references/docman/SKILL.md +0 -75
- package/assets/agent-assets/core/references/projectman/SKILL.md +0 -92
- package/assets/agent-assets/core/references/sys/SKILL.md +0 -36
- package/assets/agent-assets/core/references/view/SKILL.md +0 -58
- package/assets/agent-assets/core/references/working-disciplines/SKILL.md +0 -66
- package/assets/agent-assets/core/user-guides/agent-assets.md +0 -81
- package/assets/agent-assets/core/user-guides/agentspace.md +0 -183
- package/assets/agent-assets/core/user-guides/aops-cli.md +0 -1108
- package/assets/agent-assets/core/user-guides/aops-system.md +0 -102
- package/assets/agent-assets/core/user-guides/chatv3.md +0 -113
- package/assets/agent-assets/core/user-guides/docman.md +0 -223
- package/assets/agent-assets/core/user-guides/projectman.md +0 -233
- package/assets/agent-assets/core/user-guides/sys.md +0 -94
- package/assets/agent-assets/core/user-guides/working-disciplines.md +0 -482
- package/assets/agent-assets/gateway/aops/SKILL.md +0 -14
- package/dist/lib/agent-assets/gateway.js +0 -15
- package/dist/lib/agent-assets/guards.js +0 -23
- package/dist/lib/agent-assets/hosted-discovery.js +0 -148
- package/dist/lib/agent-assets/hosted-package-input.js +0 -154
- package/dist/lib/agent-assets/legacy-pointer-migration.js +0 -677
- package/dist/lib/agent-assets/native-fs.js +0 -589
- package/dist/lib/agent-assets/roots.js +0 -45
- package/dist/lib/agent-assets/runtime-binding-reader.js +0 -545
- package/dist/lib/agent-assets/runtime-targets.js +0 -50
- package/dist/lib/agent-assets/store-reader.js +0 -1212
- package/dist/lib/agent-assets/store-writer.js +0 -1484
- package/native/bin/darwin-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/darwin-x64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-arm64/aops-agent-assets-fs +0 -0
- package/native/bin/linux-x64/aops-agent-assets-fs +0 -0
- package/native/bin/win32-x64/aops-agent-assets-fs.exe +0 -0
- package/native/manifest.json +0 -49
- package/native/qualifications/win32-x64.json +0 -23
- package/native/tui/darwin-arm64/aops-tui +0 -0
- package/native/tui/linux-x64/aops-tui +0 -0
- package/native/tui/win32-x64/aops-tui.exe +0 -0
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aops-collaborative-work
|
|
3
|
+
version: 13
|
|
4
|
+
description: "Use when an AI agent starts or runs an AOPS-backed work session: token-efficient startup reads, solo-first agentic flow with PM/memory/doc discipline, optional async PM review requests across sessions, optional hosted chat-room task intake, optional multi-agent coordination via hosted chat + PM review + standalone discuss, sub-skill routing, and fast command recipes with help/schema fallback. Includes the verify-first consensus-to-build operational recipe for chat-room work."
|
|
5
|
+
metadata:
|
|
6
|
+
supersedes: "fefa3617-9c71-4ade-bf63-63d10c07e0b7"
|
|
7
|
+
updatedFor: "projectman-enum-help-alignment-20260826"
|
|
8
|
+
short-description: "Solo-first agentic AOPS session playbook; chat-room/discuss optional"
|
|
9
|
+
tags:
|
|
10
|
+
- aops
|
|
11
|
+
- bootstrapper
|
|
12
|
+
- group:bootstrapper
|
|
13
|
+
- agentic
|
|
14
|
+
- solo-first
|
|
15
|
+
- coordination-optional
|
|
16
|
+
- chat
|
|
17
|
+
- chatv3
|
|
18
|
+
- async-review
|
|
19
|
+
- token-efficiency
|
|
20
|
+
- startup
|
|
21
|
+
- mission-resume
|
|
22
|
+
- verify-first
|
|
23
|
+
- consensus-to-build
|
|
24
|
+
- operational-recipe
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# AOPS Collaborative Work
|
|
28
|
+
|
|
29
|
+
Solo-first playbook for working on any AOPS-backed project with `aops-cli` + `aops-server`. Collaboration (chat room, multi-agent coordination) is **optional and operator-opt-in**; the default is one agent working alone with PM/memory/doc discipline and, optionally, async review requests for future sessions. Paired starter prompt: `aops-collaborative-startup`.
|
|
30
|
+
|
|
31
|
+
If this skill conflicts with command `--help`, `aops-cli agent schema`, or the Agentspace/Projectman user guides, those win.
|
|
32
|
+
|
|
33
|
+
## Mode decision (pick once at kickoff)
|
|
34
|
+
|
|
35
|
+
| Operator signal | Mode | What it adds |
|
|
36
|
+
|---|---|---|
|
|
37
|
+
| Just a task, nothing else | **solo** (default) | PM + memory + doc discipline only |
|
|
38
|
+
| "review bırak" / wants a later review | **solo + async review** | PM review request left open for a future session |
|
|
39
|
+
| "chat odası kur" / room-based task intake / live peer | **chat-room** | hosted room (`aops-cli-chat`) for task-intake + coordination, with PM-backed review and standalone discuss for decisions |
|
|
40
|
+
|
|
41
|
+
Roles are operator-only in any multi-agent mode; never default by agent name or runtime brand. Modes layer onto solo: `chat-room` adds a hosted coordination room on top of the same solo PM/memory discipline.
|
|
42
|
+
|
|
43
|
+
Kickoff answers can be collected with `aops-cli start`: TTY-interactive for the operator; agents run `aops-cli start --json` (interview -> fill known answers -> ask the operator only `askOperator` items -> re-run with flags until `status: "ready"`). Default JSON is compact: prefer `--out <file>` and follow `result.promptRef.path`; re-run with `--full-output` only when an inline prompt is truly required. When resuming an existing mission, use `aops-cli mission resume --id <mission-id> --json` for the compact schemaVersion 1 pack, or `aops-cli start --resume <mission-id> --json` to compose the starter with that pack. `result.memoryBrief` is the default read-only startup memory pack; `result.sessionGuidance` carries layered runtime rules, discipline guardrails, accepted playbooks, and ranked experience briefs. Use `--no-memory-brief` for low-context or scripted starts that should skip the memory pack entirely.
|
|
44
|
+
|
|
45
|
+
## Startup block (token-efficient)
|
|
46
|
+
|
|
47
|
+
Run what you need; skip what you already know. Prefer summary reads; do NOT bulk-load guides or sub-skills up front.
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
aops-cli sync status --json # repo<->hosted state
|
|
51
|
+
aops-cli view dashboard --style agent # one-screen orientation
|
|
52
|
+
aops-cli start --task "<task>" --json --out tmp/start.md # compact JSON + result.promptRef.path
|
|
53
|
+
aops-cli start --task "<task>" --full-output --json # inline prompt only when needed
|
|
54
|
+
aops-cli start --reminder --task "<task>" --area <area> --json # bounded read-only sessionGuidance
|
|
55
|
+
aops-cli start --task "<task>" --no-memory-brief --json # skip result.memoryBrief only
|
|
56
|
+
aops-cli mission resume --id <mission-id> --json # compact mission resume + sessionGuidance
|
|
57
|
+
aops-cli start --resume <mission-id> --json # starter prompt + embedded compact mission pack
|
|
58
|
+
aops-cli mem brief --subject project --json # standalone read-only startup pack when start was not used
|
|
59
|
+
aops-cli pm board list --json # only if board unknown
|
|
60
|
+
aops-cli pm board resume --board <slug> --json # active tasks/sprints
|
|
61
|
+
aops-cli pm resume --for <agent> --with-chat --json # pending work + chat unread (multi-agent)
|
|
62
|
+
aops-cli pm issue list --status open --json # open defects/risks
|
|
63
|
+
aops-cli pm review-request list --status open --json # async RRs waiting from prior sessions
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Mirror refresh only when missing/stale: `aops-cli sync pull --apply --hosted-project-slug aops --json` (hosted skills/prompts) and `aops-cli doc mirror pull --project-slug aops --group-uid <aops-guides|domain-guides> --out-dir ./.aops-cache/docman --apply --json`.
|
|
67
|
+
|
|
68
|
+
## Layered rules and reminder packs
|
|
69
|
+
|
|
70
|
+
`result.sessionGuidance` and `aops-cli start --reminder` are bounded read-only packs. They are for orientation, not mutation:
|
|
71
|
+
|
|
72
|
+
- L1 runtime pointers: repo `AGENTS.md`, ChatV3/channel rules, and live command refs. Read the pointer or short rule, not every linked document.
|
|
73
|
+
- ChatV3 product-room shorthand: use `aops-cli-chat` for exact `chatv3` commands. It covers `--mode server-encrypted|e2e`, the `srv` invite form, and channel lifecycle sugar (`channel create`, `channels`, `channel delete`, `channel purge-before`). Deep mechanics live in Docman `slug:aops group:domain-guides document:chatv3-user-guide`; the repo mirror `.aops-cache/docman/domain-guides/chatv3-user-guide.md` is read-only.
|
|
74
|
+
- L2 discipline guardrails: guardrail id/title/phase/enforcement/evidence summary from `mission.policy` or the selected start discipline. Use full guide text only when a guardrail is unclear.
|
|
75
|
+
- L3 playbook and experience briefs: accepted playbooks plus ranked experience items. Default experience limit is 3, hard max is 5; ranking is deterministic from task/mission/area/tag/recency hints.
|
|
76
|
+
- `start --reminder` does not ask kickoff questions, serialize the full starter prompt, or write PM/memory/hosted state. Use it after interruptions, before a phase change, before RR/RRR, or when the operator says "hatirlat". Keep the pack around the soft 8-12 KB target; pull detail through the ladder only after it matters.
|
|
77
|
+
|
|
78
|
+
## Detail ladder (cheapest source first)
|
|
79
|
+
|
|
80
|
+
1. This skill's recipes + command `--help` (canonical flags): `aops-cli <family> --help`, then nested subcommand help.
|
|
81
|
+
2. The family sub-skill (map below) — load only the section you need.
|
|
82
|
+
3. Server contracts when authoring payloads: `aops-cli agent tools --domain <domain> --q <q> --summary --json`, then `aops-cli agent schema --tool <domain>.<op> --summary --json`. Most practical for hosted/raw writes; mandatory before `agent invoke`.
|
|
83
|
+
4. Canonical docs via the doc ladder: `aops-cli doc scope search --project-slug <slug> --q "<keyword>" --local --json`, then targeted `doc search` / `doc outline get`.
|
|
84
|
+
|
|
85
|
+
## Sub-skill map
|
|
86
|
+
|
|
87
|
+
| Need | Skill |
|
|
88
|
+
|---|---|
|
|
89
|
+
| Router/index over the family | `aops` |
|
|
90
|
+
| Guard flags, sync, mirrors, raw invoke fallback | `aops-cli-core` |
|
|
91
|
+
| Coordination / wake: hosted chat rooms/DMs, members, bindings, listen/catchup | `aops-cli-chat` |
|
|
92
|
+
| Decision/consensus protocol: standalone discuss, design-decision ritual, two-agent turn protocol, conclude outputs | `aops-cli-discuss` |
|
|
93
|
+
| Review + execution truth: board/task/sprint/microtask/issue/feedback/review-request lifecycle | `aops-cli-projectman` |
|
|
94
|
+
| Document graph authoring/search | `aops-cli-docman` |
|
|
95
|
+
| Memory/prompt/resource/skill assets | `aops-cli-agentspace` |
|
|
96
|
+
| Read-only cockpit views | `aops-cli-view` |
|
|
97
|
+
| File snapshots/diff/restore | `aops-cli-fileman` |
|
|
98
|
+
| Runner/tracked background tasks | `aops-cli-tasker` |
|
|
99
|
+
|
|
100
|
+
## Solo flow (default)
|
|
101
|
+
|
|
102
|
+
1. Register before code — every task lands in PM first (Turkish titles per operator practice):
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
aops-cli pm ktask create --board <board> --column <col> --title "<başlık>" --description "<tanım>" --apply --json
|
|
106
|
+
aops-cli pm sprint create --task <task> --name "<sprint>" --goal "<hedef>" --apply --json # multi-step work
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
2. Memory uses the three-verb loop:
|
|
110
|
+
|
|
111
|
+
```bash
|
|
112
|
+
aops-cli mem brief --subject project --json # start/resume; read-only
|
|
113
|
+
aops-cli mem checkpoint --content "<status>" --task-id <task> --apply --json
|
|
114
|
+
aops-cli mem summary --content "<session summary>" --apply --json # session end; short by default
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
`aops-cli start --json` returns `result.memoryBrief` unless `--no-memory-brief` is set, and returns `result.sessionGuidance` for layered rules/playbook/experience orientation. Do not immediately re-run broad memory or experience searches when the start/reminder pack already covers the same area. Use `mem checkpoint` at meaningful milestones/finish points, and `mem summary` at session end or explicit closeout/summary points. Handoff/carry-forward is a `resume` memory shape; keep one name (`resume`) instead of inventing a separate handoff kind. Use `mem brief|checkpoint|summary --help` for each sugar's "When to call" section.
|
|
118
|
+
|
|
119
|
+
3. Implement in small verifiable slices following repo patterns. Mutations need `--apply`, destructive ops `--confirm`, scripted reads `--json`. Never hand-edit hosted skill/prompt mirrors or Docman mirrors; their canonical truth is server-side.
|
|
120
|
+
4. Validate honestly: typecheck/tests/CLI smoke per repo convention. UI slices are verified in a live browser via Chrome MCP (Claude runtime: `Claude_in_Chrome` tools; Codex runtime: its Chrome MCP or browser skill). Never report validation you did not run in this session.
|
|
121
|
+
5. Defects/blockers become PM issues, operator guidance becomes PM feedback — not prose:
|
|
122
|
+
|
|
123
|
+
```bash
|
|
124
|
+
aops-cli pm issue create --title "<bulgu>" --severity <sev> --apply --json
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
6. Record durable decisions/learnings in memory with source refs (task/sprint/issue/RR ids).
|
|
128
|
+
|
|
129
|
+
## Async review across sessions (optional)
|
|
130
|
+
|
|
131
|
+
No live reviewer required; PM carries the gate between sessions.
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
# executor, end of slice/session — leave the gate (--review-scope grammar: sprint:<id>|task:<id>|files:<glob>):
|
|
135
|
+
aops-cli pm review-request create --title "<slice>" --review-scope "files:<glob>" --description "<behavior/tests to review>" --apply --json
|
|
136
|
+
# future-session reviewer — discovery is part of the startup block:
|
|
137
|
+
aops-cli pm review-request list --status open --json
|
|
138
|
+
aops-cli pm review-request result --id <rr-id> --reviewer <agent> --outcome <approved|changes_requested|commented|blocked> --summary "<özet>" --apply --json
|
|
139
|
+
aops-cli pm issue create --source review --review-request <rr-id> --title "<bulgu>" --severity <sev> --apply --json # one per material finding
|
|
140
|
+
# fixes are new slices behind a child RR:
|
|
141
|
+
aops-cli pm review-request create --parent <rr-id> --title "<fix slice>" --review-scope "files:<fix glob>" --apply --json
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
A PM-only RR wakes nobody — in async mode that is intentional; discovery happens at the next startup. In chat-room mode, ALSO post the RR ref into the room as a coordination wake (see `aops-cli-chat`); the canonical review record still lives in PM. Verify exact flags with `aops-cli pm review-request create --help` on first use.
|
|
145
|
+
|
|
146
|
+
## Chat-room mode (optional)
|
|
147
|
+
|
|
148
|
+
Room = operator task intake + coordination FLOW; decisions live in standalone discuss/PM, reviews in PM. One room per session.
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
aops-cli chat room create --slug <slug> --title "<title>" --created-by <lead> --member "<lead>:<role>" --member "<peer>:<role>" --member "<operator-id>:operator" --apply --json
|
|
152
|
+
aops-cli chat binding add --room-id <id> --binding-type projectman.board --ref-id <board-id> --title "PM board" --created-by <lead> --apply --json
|
|
153
|
+
# bind as created: repo.url, agentspace.discussion-topic, docman.document, projectman.review-request
|
|
154
|
+
aops-cli chat room brief --room-id <id> --for <peer> # paste-ready peer onboarding
|
|
155
|
+
aops-cli chat listen --for <agent> --room-id <id> --timeout-sec 570 --interval-sec 15 --json
|
|
156
|
+
aops-cli chat catchup --for <agent> --room-id <id> --apply --summary --json
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Listen exit codes: `0` unread → act, then `catchup --apply` (cursors advance ONLY via `catchup --apply` / `mark-read --apply`); `22` timeout → re-arm if still waiting; `21` room archived/membership ended → stop. Hosted room messages are the only chat wake path; a decision recorded in a discuss topic does not wake a room unless you post/bind it.
|
|
160
|
+
|
|
161
|
+
Room message protocol (keeps the room scannable for the operator):
|
|
162
|
+
|
|
163
|
+
```text
|
|
164
|
+
TASK <n>: <scope> # operator
|
|
165
|
+
ACK <n>: <goal + acceptance + validation plan> # lead
|
|
166
|
+
DONE <n>: <summary + files + evidence> # implementer
|
|
167
|
+
VERIFIED <n>: <evidence> | REWORK <n>: <issue> # reviewer, mirroring the PM review outcome
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
When setup precedes tasks, post a readiness block in the room AND echo it to the operator — first line `Hazırım.`, then room/board ids (plus any active discussion-topic slug), members/roles, listening modes, peer onboarding block — and wait; no implementation before the first task arrives.
|
|
171
|
+
|
|
172
|
+
## Multi-agent (chat-room) mode (optional)
|
|
173
|
+
|
|
174
|
+
Escalate only when the operator assigns a live peer. The mechanics live in three sub-skills — load the one you need; do not duplicate them here:
|
|
175
|
+
|
|
176
|
+
1. **Coordination / wake** — `aops-cli-chat`: one hosted room per session as task intake + wake signal. Bind the PM board, any active discussion topic (`agentspace.discussion-topic`), and review requests (`projectman.review-request`) into the room. Use `chat listen` / `chat catchup` as the read loop.
|
|
177
|
+
2. **Review + execution truth** — `aops-cli-projectman`: every review is a PM `review-request` with an appended `result`; re-review is a child RR (`--parent <rr-id>`); material findings become explicit `pm issue create --source review --review-request <rr-id>`. Post the RR ref into the room to wake the reviewer; the canonical record stays in PM.
|
|
178
|
+
3. **Decisions / consensus** — `aops-cli-discuss`: for any material design fork, run a **standalone** discuss topic with the full design-decision ritual (independent research, ≥4 substantive non-final turns, `kind=final-stance` per agent, then `conclude`). Implementation stays blocked until the operator approves the consensus. There is **no automatic bridge** — surface the concluded decision explicitly via a PM feedback/issue carrying the discussion-topic ref, or a chat `agentspace.discussion-topic` binding.
|
|
179
|
+
|
|
180
|
+
Operator questions in multi-agent mode: kickoff window only (max 3-4, roles included). Afterwards climb the consensus ladder instead: references → peer/room consensus (independent stances, 2+ turns) → standalone discuss ritual for material forks → park operator-reserved gates (roles, scope, closeout, destructive ops) as `operator-decision-needed` in the room + PM feedback and continue other work.
|
|
181
|
+
|
|
182
|
+
## Verify-first consensus-to-build operational recipe
|
|
183
|
+
|
|
184
|
+
Use this recipe when the operator reports an AOPS/project issue in a ChatV3
|
|
185
|
+
room and wants the active roles to verify the problem before formalizing a
|
|
186
|
+
decision or implementation plan. This is the operational "how" for the
|
|
187
|
+
`verify-first consensus-to-build` recipe. The rhythm and guardrail owner is
|
|
188
|
+
`aops-working-disciplines`; do not duplicate that guardrail body here. This
|
|
189
|
+
section only maps phases to surfaces, commands, and evidence.
|
|
190
|
+
|
|
191
|
+
The recipe is role-agnostic. Use mission-local roles such as `implementer`,
|
|
192
|
+
`reviewer`, and `operator-approver`; concrete agent names belong in
|
|
193
|
+
`mission.policy.roles` and room messages for that one mission.
|
|
194
|
+
|
|
195
|
+
| Phase | Canonical surface | Commands and evidence |
|
|
196
|
+
|---|---|---|
|
|
197
|
+
| Intake and room orientation | ChatV3 coordination | Join/read/send/listen with `aops-cli chatv3`; room message records the operator symptom and active roles. |
|
|
198
|
+
| Verify-first stance | ChatV3 coordination + referenced truth source | Each active role posts a short stance: problem real/unclear, truth source checked, formal consensus needed or not, suspected risk/scope. |
|
|
199
|
+
| Material decision | Standalone discuss | For material, cross-owner, or expensive-to-reverse work, run `aops-cli discuss start`, alternating turns, final stances, and `conclude`. Low-uncertainty atomic work may skip discuss. |
|
|
200
|
+
| Consensus-to-plan binding | Mission + Projectman | Bind the accepted discussion refs into a mission and task/sprint-backed implementation plan with `NE / NICIN / DONE-WHEN`; request plan approval before implementation. |
|
|
201
|
+
| Implementation slice | Projectman + code/doc/hosted asset owner | Work in phases/microtasks; mutate canonical owners only. Open one PM review request per reviewed slice. |
|
|
202
|
+
| Review and rework | Projectman review-request/result | Reviewer appends RRR on the PM review request. Material findings become `pm issue create --source review --review-request <rr-id>`; suggestions become PM feedback. |
|
|
203
|
+
| Checkpoint | Agentspace memory | Use `mem checkpoint` after meaningful milestones, accepted slices, blockers, or handoff points. Do not checkpoint every chat line. |
|
|
204
|
+
| Closeout or handoff | PM status audit + mission/memory | Run read-only PM status audit, leave mission status truthful, write memory summary/checkpoint, and keep board/room open unless the operator explicitly closes them. |
|
|
205
|
+
|
|
206
|
+
Operational command skeleton:
|
|
207
|
+
|
|
208
|
+
```bash
|
|
209
|
+
# Intake / foreground listen in a ChatV3 product room.
|
|
210
|
+
aops-cli chatv3 join "<invite>" --handle <agent> --session <session> --save-session --json
|
|
211
|
+
aops-cli chatv3 read --session <session> --room general --after-seq 0 --mark-delivered --mark-read --json
|
|
212
|
+
aops-cli chatv3 send --session <session> --room general \
|
|
213
|
+
"ACK: I will verify first, then decide whether discuss is needed." \
|
|
214
|
+
--mark-delivered --mark-read --json
|
|
215
|
+
aops-cli chatv3 listen --session <session> --room general --after-seq <seq> \
|
|
216
|
+
--timeout-sec 60 --interval-sec 5 --mark-delivered --mark-read --json
|
|
217
|
+
|
|
218
|
+
# Verify-first stance message template, one per active role.
|
|
219
|
+
aops-cli chatv3 send --session <session> --room general \
|
|
220
|
+
"VERIFY-FIRST: real=<yes|no|unclear>; source=<PM/doc/code/ref>; consensus-needed=<yes|no>; risk-scope=<short note>" \
|
|
221
|
+
--mark-delivered --mark-read --json
|
|
222
|
+
|
|
223
|
+
# Material decision path.
|
|
224
|
+
aops-cli discuss start --title "<decision>" --question "<question>" \
|
|
225
|
+
--agent <implementer> --agent <reviewer> --apply --json
|
|
226
|
+
aops-cli discuss turn --topic <topic> --agent <role-or-agent> --kind proposal \
|
|
227
|
+
--text "<independent stance with refs>" --apply --json
|
|
228
|
+
aops-cli discuss turn --topic <topic> --agent <role-or-agent> --kind final-stance \
|
|
229
|
+
--text "<final stance>" --apply --json
|
|
230
|
+
aops-cli discuss conclude --topic <topic> --apply --json
|
|
231
|
+
|
|
232
|
+
# Consensus-to-plan binding.
|
|
233
|
+
aops-cli mission create --slug <mission-slug> --objective "<objective>" \
|
|
234
|
+
--policy-json '@./mission-policy.json' --apply --json
|
|
235
|
+
aops-cli pm ktask create --board <board> --column Doing --title "<operator-readable task>" \
|
|
236
|
+
--description "<consensus-backed scope>" --apply --json
|
|
237
|
+
aops-cli pm sprint create --task <task-id> --name "<implementation plan>" \
|
|
238
|
+
--goal "NE: <what>; NICIN: <operator value>; DONE-WHEN: <reviewable acceptance>" \
|
|
239
|
+
--apply --json
|
|
240
|
+
aops-cli pm sprint update-plan --id <sprint-id> --phases-json '@./plan.json' --apply --json
|
|
241
|
+
aops-cli pm review-request create --task <task-id> --sprint <sprint-id> \
|
|
242
|
+
--review-scope "sprint:<sprint-id>" --requested-by <implementer> \
|
|
243
|
+
--target-agent <reviewer> --title "<plan approval>" --apply --json
|
|
244
|
+
|
|
245
|
+
# Implementation review wake and result.
|
|
246
|
+
aops-cli pm review-request create --task <task-id> --sprint <sprint-id> \
|
|
247
|
+
--review-scope "sprint-phase:<sprint-id>/<phase-label>" \
|
|
248
|
+
--requested-by <implementer> --target-agent <reviewer> \
|
|
249
|
+
--title "<slice review>" --apply --json
|
|
250
|
+
aops-cli chatv3 send --session <session> --room general \
|
|
251
|
+
"REVIEW READY: PM RR <rr-id>; scope=<phase>; evidence=<tests/smokes/refs>" \
|
|
252
|
+
--mark-delivered --mark-read --json
|
|
253
|
+
aops-cli pm review-request result --id <rr-id> --reviewer <reviewer> \
|
|
254
|
+
--outcome <approved|changes_requested|commented|blocked> \
|
|
255
|
+
--summary "<review evidence>" --apply --json
|
|
256
|
+
|
|
257
|
+
# Findings, suggestions, checkpoints, closeout checks.
|
|
258
|
+
aops-cli pm issue create --source review --review-request <rr-id> \
|
|
259
|
+
--task <task-id> --sprint <sprint-id> --title "<material finding>" \
|
|
260
|
+
--severity <low|medium|high|critical> --apply --json
|
|
261
|
+
aops-cli pm feedback create --source agent --task <task-id> --sprint <sprint-id> \
|
|
262
|
+
--title "<suggestion>" --type improvement --severity <low|medium|high> \
|
|
263
|
+
--suggestion "<recommended improvement>" --apply --json
|
|
264
|
+
aops-cli mem checkpoint --subject sprint --id <sprint-id> --task-id <task-id> \
|
|
265
|
+
--sprint-id <sprint-id> --content "<milestone, evidence, risks, next action>" \
|
|
266
|
+
--source-ref "review-request:<rr-id>" --validation-state "<validated|pending>" \
|
|
267
|
+
--apply --json
|
|
268
|
+
aops-cli pm status audit --task <task-id> --sprint <sprint-id> --json
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
Message protocol for this recipe:
|
|
272
|
+
|
|
273
|
+
```text
|
|
274
|
+
VERIFY-FIRST: real=<yes|no|unclear>; source=<ref>; consensus-needed=<yes|no>; risk-scope=<short>
|
|
275
|
+
DISCUSS OPENED: topic=<slug>; reason=<material/cross-owner/expensive-to-reverse>
|
|
276
|
+
CONSENSUS BOUND: topic=<slug>; task=<id>; plan=<sprint-id>; plan-RR=<id>
|
|
277
|
+
REVIEW READY: RR=<id>; slice=<phase/microtask>; evidence=<tests/smokes/refs>
|
|
278
|
+
RRR: RR=<id>; outcome=<approved|changes_requested|blocked>; issues=<ids-or-none>
|
|
279
|
+
CHECKPOINT: subject=<task/sprint>; memory=<id>; next=<action>
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
Skip or shorten phases only when the two verify-first stances agree the work is
|
|
283
|
+
low-uncertainty and atomic. Otherwise keep the chain explicit: room stance,
|
|
284
|
+
standalone discuss, PM plan binding, plan approval RR, reviewed slices, and
|
|
285
|
+
honest closeout/handoff.
|
|
286
|
+
|
|
287
|
+
## Cross-cutting rules
|
|
288
|
+
|
|
289
|
+
1. PM is execution + review truth; standalone discuss is the decision/consensus ledger; memory is durable context; rooms/chat are flow; mirrors are read-only.
|
|
290
|
+
2. Closeout (board/room) is operator-only. Ordinary turn end = `mem checkpoint` or short `mem summary`; everything stays open.
|
|
291
|
+
3. Token efficiency: summary reads first; load sub-skills/docs section-by-section on demand; never re-read what is already in context; keep room messages protocol-shaped.
|
|
292
|
+
4. Stay inside established AOPS patterns; copy proven precedent; no parallel planning systems or out-of-AOPS artifacts unless the operator asks.
|
|
293
|
+
5. Minimize operator questions in every mode; resolve from context and references first.
|
|
294
|
+
|
|
295
|
+
## Anti-patterns
|
|
296
|
+
|
|
297
|
+
1. Implementing before the task exists in PM, or before the operator approves a discuss consensus on a material design fork.
|
|
298
|
+
2. Treating chat (room) as the decision/review ledger instead of discuss (decisions) / PM (reviews).
|
|
299
|
+
3. Multi-agent RRs with no room wake (async-mode RRs are intentionally unpaired); or expecting a discuss conclusion to wake a room without an explicit post/binding.
|
|
300
|
+
4. Bulk-loading guides/skills at startup "just in case".
|
|
301
|
+
5. Hand-editing hosted/docman mirrors as truth.
|
|
302
|
+
6. Reporting validation that was not run in this session.
|
|
303
|
+
7. Closing boards/rooms without explicit operator approval.
|
|
304
|
+
8. Asking the operator mid-run in multi-agent mode instead of climbing the consensus ladder.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: aops-interactive
|
|
3
|
+
version: 3
|
|
4
|
+
description: "Interactive AOPS router. Asks the operator what they want, then routes to the matching AOPS skill (loop orchestration, discuss/chat coordination, project management, ...) for detailed work, or does a small job itself (global skill/pointer sync) when there is no dedicated target. Extensible."
|
|
5
|
+
metadata:
|
|
6
|
+
supersedes: "v2"
|
|
7
|
+
short-description: "Interactive AOPS router skill"
|
|
8
|
+
tags:
|
|
9
|
+
- aops
|
|
10
|
+
- interactive
|
|
11
|
+
- router
|
|
12
|
+
- loop
|
|
13
|
+
- discuss
|
|
14
|
+
- chat
|
|
15
|
+
- projectman
|
|
16
|
+
- global-sync
|
|
17
|
+
- multi-agent
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
# AOPS Interactive
|
|
21
|
+
|
|
22
|
+
A single interactive entry point for AOPS work. **Ask the operator what they want, then route to the matching AOPS skill** for the detailed mechanics, or do a small job inline when there is no dedicated target. Keep this skill thin: it gathers intent and hands off; it does not duplicate the target skills' mechanics.
|
|
23
|
+
|
|
24
|
+
## Step 1 - Ask what they want
|
|
25
|
+
|
|
26
|
+
Ask via the runtime's question UI: "What do you want to do?"
|
|
27
|
+
|
|
28
|
+
- **Loop orchestration** - interactive `aops-cli loop` readiness, pack, supervised run handoff, foreground listening, and v1 closeout
|
|
29
|
+
- **Collaborate** - discuss topic (decision/consensus) and/or hosted chat room (coordination/wake)
|
|
30
|
+
- **Project management** - boards, sprints, tasks
|
|
31
|
+
- **Sync global skills/prompts** - Codex / Claude pointers (set, or delete + re-set)
|
|
32
|
+
- (more routes added over time)
|
|
33
|
+
|
|
34
|
+
Then branch:
|
|
35
|
+
|
|
36
|
+
## A. Loop orchestration -> route to `aops-loop-interactive`
|
|
37
|
+
|
|
38
|
+
Gather: PM task/sprint refs, reviewer/review-request refs, run scope, budget, tool/env policy, and permission policy. Ask whether this is dry-run only, supervised single-child, or an explicitly approved real run. Real run approval remains a double gate in the dedicated skill.
|
|
39
|
+
|
|
40
|
+
Then **load the `aops-loop-interactive` skill** and follow it. It owns the operator-facing loop playbook for `aops-cli loop plan|pack|start|listen|status`, owner-boundary reminders, supervised-run double-gate discipline, foreground listener behavior, and F6 v2 deferral. Do not duplicate those mechanics here.
|
|
41
|
+
|
|
42
|
+
## B. Collaborate -> route to `aops-cli-discuss` / `aops-cli-chat` / `aops-cli-projectman`
|
|
43
|
+
|
|
44
|
+
Gather: implementer agent? reviewer agent? a discuss topic first (design decision/consensus) or straight to coordination? live (hosted chat room) or async (PM review-request)? Roles are operator-assigned - never auto-assign.
|
|
45
|
+
|
|
46
|
+
Then **load the matching skill**: `aops-cli-discuss` for the decision/consensus ritual and `conclude` outputs; `aops-cli-chat` for hosted-room coordination/wake and listen/catchup loops; `aops-cli-projectman` for review-request/result, re-review, and operator-approved closeout. The repo-first `collab` surface is retired - there is no single collab skill; pick the surface that matches the need. Do not duplicate their mechanics here.
|
|
47
|
+
|
|
48
|
+
## C. Project management -> route to `aops-cli-projectman`
|
|
49
|
+
|
|
50
|
+
Gather: open a **new board** or use an **existing** one? List existing boards and let the operator select or add a new one. Proceed **sprint-based**, **task-based**, or **board + sprint**?
|
|
51
|
+
|
|
52
|
+
Then **load the `aops-cli-projectman` skill** and follow its workflow for the chosen shape. It owns board/sprint/task/issue mechanics.
|
|
53
|
+
|
|
54
|
+
## D. Sync global skills/prompts (inline - Codex & Claude)
|
|
55
|
+
|
|
56
|
+
This skill does this itself; no separate prompt is needed.
|
|
57
|
+
|
|
58
|
+
- **Set / update** global pointers:
|
|
59
|
+
```bash
|
|
60
|
+
aops-cli sync pull --apply --hosted-project-slug aops --json
|
|
61
|
+
pnpm skills:claude-codex:sync
|
|
62
|
+
pnpm skills:claude-codex:check
|
|
63
|
+
```
|
|
64
|
+
- **Delete + re-set** after a hosted asset was removed. Sync does **not** auto-prune: remove the stale global pointer for the deleted asset, then re-run sync + check.
|
|
65
|
+
|
|
66
|
+
Targets: `~/.codex/skills`, `~/.codex/prompts`, `~/.claude/skills`, `~/.claude/commands`. Claude support varies by build and is best-effort.
|
|
67
|
+
|
|
68
|
+
## Principle
|
|
69
|
+
|
|
70
|
+
If a dedicated AOPS skill exists for the task, route to it: gather inputs, then load and follow it. If not, do the small job inline, step by step. Add new routes here as new needs appear.
|