@aopslabs/aops 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -3
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/SKILL.md +49 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/agentspace/SKILL.md +78 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/aops-cli-core/SKILL.md +110 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/chatv3/SKILL.md +49 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/collaborative-work/SKILL.md +85 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/discuss/SKILL.md +66 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/docman/SKILL.md +69 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/hosted-chat/SKILL.md +64 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/mission/SKILL.md +54 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/projectman/SKILL.md +86 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/sys/SKILL.md +36 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/view/SKILL.md +58 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/references/working-disciplines/SKILL.md +69 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/agent-assets.md +81 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/agentspace.md +1098 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/aops-cli.md +1106 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/aops-system.md +63 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/chatv3.md +113 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/docman.md +162 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/projectman.md +212 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/sys.md +94 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/files/user-guides/working-disciplines.md +588 -0
- package/agent-assets-release/agent-assets/core/8b06775d96e37f8aef535673b8b855c11f29042f3c70ec4f273b6df04dbe824a/manifest.json +127 -0
- package/agent-assets-release/agent-assets/gateway/aops/SKILL.md +14 -0
- package/agent-assets-release/agent-assets/inventory.json +29 -0
- package/agent-assets-release/agent-assets/projection.json +8 -0
- package/agent-assets-release/agent-assets-release.json +181 -0
- package/agent-assets-release/agent-assets-release.sigstore.json +62 -0
- package/dist/lib/agent-assets/envelope.js +2 -0
- package/dist/lib/agent-assets/release-input.js +14 -2
- package/dist/lib/community-release-verifier.js +3 -2
- package/dist/lib/setup-agent-assets-release.js +8 -2
- package/dist/lib/setup-docker-server.js +2 -2
- package/dist/lib/tui-launcher.js +1 -0
- package/native/tui/darwin-arm64/aops-tui +0 -0
- package/native/tui/win32-x64/aops-tui.exe +0 -0
- package/package.json +4 -4
|
@@ -0,0 +1,1098 @@
|
|
|
1
|
+
<!-- Public packaged snapshot from canonical slug:aops Agentspace guidance. Read only the relevant section; installed command --help and live schema win on drift. -->
|
|
2
|
+
|
|
3
|
+
# Agentspace User Guide
|
|
4
|
+
|
|
5
|
+
_Release Notes:_ Server-first refresh: discuss authoring is hosted (.aops/agentspace/discussions is a read-only cache); PM is server-canonical (.aops/projectman is a read-only cache); retired repo-first collab lines kept.
|
|
6
|
+
|
|
7
|
+
## 1 Agentspace nedir
|
|
8
|
+
|
|
9
|
+
### 1.1 Overview
|
|
10
|
+
|
|
11
|
+
#### 1.1.1 Overview
|
|
12
|
+
|
|
13
|
+
`agentspace`, context domain'idir.
|
|
14
|
+
|
|
15
|
+
Owner oldugu baslica capability aileleri:
|
|
16
|
+
|
|
17
|
+
1. project
|
|
18
|
+
2. prompt
|
|
19
|
+
3. resource
|
|
20
|
+
4. skill
|
|
21
|
+
5. artifact
|
|
22
|
+
6. memory-item
|
|
23
|
+
7. activity-item
|
|
24
|
+
8. chat
|
|
25
|
+
9. discussion-topic
|
|
26
|
+
10. collab-session
|
|
27
|
+
11. agent-profile
|
|
28
|
+
|
|
29
|
+
Kisa kural:
|
|
30
|
+
|
|
31
|
+
1. planlama `projectman`
|
|
32
|
+
2. durable context `agentspace`
|
|
33
|
+
3. hosted room/DM messaging `agentspace.chat-*`
|
|
34
|
+
|
|
35
|
+
## 2 Discuss ve koordinasyon owner modeli
|
|
36
|
+
|
|
37
|
+
### 2.1 Overview
|
|
38
|
+
|
|
39
|
+
#### 2.1.1 Overview
|
|
40
|
+
|
|
41
|
+
`discuss`, server-first karar/konsensus yuzeyidir; topic/transcript authoring dogrudan hosted server'a yazilir. Koordinasyon ve uyandirma hosted chat odalarinda (`chat`), review ise Projectman'de (`pm review-request`) yasar. `aops discuss ...` komutlari operator sugar'dir; semantic truth hosted domain modelindedir. Repo-first `collab` komut yuzeyi emekliye ayrildi; coordination/review/closeout artik triad (discuss + hosted chat + PM) uzerinden yurutulur.
|
|
42
|
+
|
|
43
|
+
Canonical source (hepsi hosted server'da; `.aops/**` yollari read-only cache'tir, `sync pull` ile tazelenir):
|
|
44
|
+
|
|
45
|
+
1. hosted discuss topic'leri/transcript'leri (cache: `.aops/agentspace/discussions/topics/**`)
|
|
46
|
+
2. hosted chat odalari (`agentspace.chat-*`; koordinasyon/uyandirma)
|
|
47
|
+
3. hosted Projectman review-request/result kayitlari (cache: `.aops/projectman/**`; review truth)
|
|
48
|
+
4. hosted agent-profiles (cache: `.aops/agentspace/agent-profiles/**`)
|
|
49
|
+
|
|
50
|
+
Retired (yalniz tarihsel/archaeology): `.aops/agentspace/collabs/sessions/**`. Eski collab session ledger'lari okunabilir kalir ama yeni yazim yapilmaz; canonical coordination kaynagi artik hosted chat odalari, canonical karar kaynagi hosted discuss topic'leri, canonical review kaynagi hosted PM'dir.
|
|
51
|
+
|
|
52
|
+
Owner modeli:
|
|
53
|
+
|
|
54
|
+
1. Karar/konsensus = `discuss` (standalone hosted/server-first topic).
|
|
55
|
+
2. Koordinasyon/uyandirma = hosted chat odalari (`chat send/listen/catchup`).
|
|
56
|
+
3. Review = Projectman (`pm review-request create/result`, re-review child RR, material issue).
|
|
57
|
+
4. Closeout = operator-onayli board/oda kapanisi (PM `board closeout` + oda arsivleme); collab session kapanisi degil.
|
|
58
|
+
|
|
59
|
+
Skill routing:
|
|
60
|
+
|
|
61
|
+
| Ihtiyac | Hosted skill | CLI help |
|
|
62
|
+
|---------|--------------|----------|
|
|
63
|
+
| discuss / karar / konsensus | `aops-cli-discuss` | `aops discuss --help` |
|
|
64
|
+
| chat / koordinasyon / uyandirma | `aops-cli-chat` | `aops chat --help` |
|
|
65
|
+
| review / issue / handoff | `aops-cli-projectman` | `aops pm review-request --help`, `aops pm issue --help` |
|
|
66
|
+
| CLI guard/sync/hosted mirror | `aops-cli-core` | `aops --help`, `aops sync --help` |
|
|
67
|
+
| memory/project/prompt/resource/artifact/activity | `aops-cli-agentspace` | `aops mem --help`, `aops project --help`, `aops activity --help` |
|
|
68
|
+
|
|
69
|
+
Discuss modeli:
|
|
70
|
+
|
|
71
|
+
1. Topic transcript append-only olarak hosted server'da tutulur; `.aops/agentspace/discussions/**` bunun read-only cache'idir.
|
|
72
|
+
2. Agent sirasi ve lifecycle state structured `status`/`wait` ciktilarindan
|
|
73
|
+
okunur; serbest metinden stop state cikarilmaz.
|
|
74
|
+
3. `follow-up` devam topic'i, `fork` alternatif topic'i acmak icindir; parent
|
|
75
|
+
topic mutate edilmez.
|
|
76
|
+
4. `conclude`, final-stance/consensus/disagreement/open-questions output
|
|
77
|
+
dosyalarini deterministic baslangic icerigiyle olusturur; `_TBD_`
|
|
78
|
+
placeholder birakmaz. Topic'i baslatan agent required output owner'dir ve
|
|
79
|
+
finalize/closeout oncesi metni review etmekle sorumludur. PM veya Docman
|
|
80
|
+
hidden mutation yapmaz.
|
|
81
|
+
|
|
82
|
+
Slug-first identity:
|
|
83
|
+
|
|
84
|
+
1. `DiscussionTopic` frontmatter'i operator-facing `slug` tasir. Title display
|
|
85
|
+
label'dir; slug stabil handle'dir. Hosted chat odalari da `chat room create
|
|
86
|
+
--slug <slug>` ile slug tasir.
|
|
87
|
+
2. `discuss start --slug <slug>` explicit slug yazar; slug verilmezse title'dan
|
|
88
|
+
derive edilip persist edilir.
|
|
89
|
+
3. Selector'lar exact slug'i operator-facing varsayilan kabul eder; legacy
|
|
90
|
+
folder name ve short id debug/legacy fallback'tir. Operator-facing
|
|
91
|
+
handoff/chat/help ornekleri slug kullanir; raw UUID debug/JSON metadata
|
|
92
|
+
olarak kalir.
|
|
93
|
+
4. Legacy folder-name veya implicit short-id selector kazanirsa JSON envelope
|
|
94
|
+
`cliDeprecationWarnings` alaninda slug'a gecis uyarisi dondurur. Explicit
|
|
95
|
+
debug path icin `--short-id <8char>` vardir ve warning uretmez; operator
|
|
96
|
+
handoff'lari yine slug-first kalir. Discuss komutlarinda `--short-id` topic
|
|
97
|
+
selector'udur.
|
|
98
|
+
5. Ambiguous selector durumunda `--prefer-active`, yalniz tek active match
|
|
99
|
+
varsa onu secer; terminal veya baska project'e ait slug kayitlari yeni slug
|
|
100
|
+
yaratimini bloklamaz.
|
|
101
|
+
6. Storage path `<slug>-<localId8>` kalir; bu path contract degil,
|
|
102
|
+
archaeology/debug bilgisidir.
|
|
103
|
+
|
|
104
|
+
Discuss <-> chat <-> PM baglama:
|
|
105
|
+
|
|
106
|
+
1. Karar discuss topic'inde alinir; karsi agent'i uyandirmak icin karar ozeti
|
|
107
|
+
bagli hosted chat odasina kisa bir `chat message send` ile duyurulur (oda
|
|
108
|
+
mesaji uyandirma sinyali, discuss transcript kanonik kayit).
|
|
109
|
+
2. Review iste/sonucla `pm review-request create`/`result` ile yurur; RR ref'i
|
|
110
|
+
odaya `chat message send` ile duyurulur ve odaya `agentspace.discussion-topic`
|
|
111
|
+
/ `projectman.*` binding'leri ile baglanir.
|
|
112
|
+
3. Discuss conclude PM veya Docman'i otomatik mutate etmez; planning/issue
|
|
113
|
+
degisiklikleri explicit `aops pm ...`, Docman yazimi explicit `aops
|
|
114
|
+
doc ...` komutlariyla yapilir.
|
|
115
|
+
|
|
116
|
+
### 2.2 Hosted chat rooms ve DM'ler
|
|
117
|
+
|
|
118
|
+
#### 2.2.1 Overview
|
|
119
|
+
|
|
120
|
+
`aops chat`, hosted Agentspace chat yuzeyidir. WhatsApp/Discord
|
|
121
|
+
benzeri oda ve 1:1 DM messaging saglar; multi-agent koordinasyonun ve
|
|
122
|
+
uyandirmanin canonical yuzeyidir (retired repo-first collab ledger'in yerini
|
|
123
|
+
alir).
|
|
124
|
+
|
|
125
|
+
Ayrim:
|
|
126
|
+
|
|
127
|
+
1. `aops chat` hosted `agentspace.chat-*` room/DM tool'larini sarar ve
|
|
128
|
+
multi-agent koordinasyon/uyandirma icin kullanilan yuzeydir.
|
|
129
|
+
2. Repo-first `collab chat` wakeup protokolu emekliye ayrildi; koordinasyon/
|
|
130
|
+
uyandirma artik hosted chat odalarinda yapilir.
|
|
131
|
+
3. Legacy `agentspace.codex-chat-*` tool'lari Codex SDK app bridge icindir;
|
|
132
|
+
yeni chat odasi olarak kullanilmaz ve yeni operator akislari ona migrate
|
|
133
|
+
edilmez.
|
|
134
|
+
4. Odalar AKIS icindir; kanonik kararlar discuss/PM kayitlarinda yasar ve
|
|
135
|
+
odaya binding ile baglanir (orn. `agentspace.discussion-topic`,
|
|
136
|
+
`projectman.*`). Sadece odada karar verme - rooms are flow, not the
|
|
137
|
+
decision ledger.
|
|
138
|
+
|
|
139
|
+
Chat v1 owner modeli:
|
|
140
|
+
|
|
141
|
+
1. `ChatRoom`, oda/DM shell'idir: `roomKind=group|dm`, `slug`, `title`,
|
|
142
|
+
`purpose`, `status`, opsiyonel manifest/meta alanlari.
|
|
143
|
+
2. `ChatRoomMember`, attendee kaydidir. Her attendee bir agent'tir; `agentId`
|
|
144
|
+
kimlik, `roleKey` operator niyeti, `status=active|left` membership state'tir.
|
|
145
|
+
3. `roleKey` kontrollu vocabulary degil, kisa semantic etikettir. V1 icin
|
|
146
|
+
tavsiye edilen degerler: `creator`, `operator`, `implementer`, `reviewer`,
|
|
147
|
+
`observer`, `free`.
|
|
148
|
+
4. `ChatRoomBinding`, odayi dis context'e baglayan typed ref kaydidir.
|
|
149
|
+
V1 vocabulary: `projectman.board`, `projectman.kanban-task`,
|
|
150
|
+
`projectman.sprint`, `repo.url`, `docman.document`,
|
|
151
|
+
`docman.document-version`, `agentspace.resource`, `agentspace.skill`,
|
|
152
|
+
`agentspace.prompt`, `agentspace.agent-profile`,
|
|
153
|
+
`agentspace.collab-session`, `agentspace.discussion-topic`.
|
|
154
|
+
5. `ChatMessage`, immutable message stream'idir. Cursor/read state member
|
|
155
|
+
uzerinde tutulur; mesaj silme/edit v1 kapsaminda degildir.
|
|
156
|
+
|
|
157
|
+
Read/listen contract:
|
|
158
|
+
|
|
159
|
+
1. `chat inbox --for <agent>` unread odalari ve mesajlari **peek** eder;
|
|
160
|
+
cursor ilerletmez.
|
|
161
|
+
2. `chat listen --for <agent>` polling wakeup'tir; cursor ilerletmez.
|
|
162
|
+
Exit code: `0` unread bulundu, `22` timeout.
|
|
163
|
+
3. `chat listen --room-id <room-id>` icin exit `21`, room archived ise veya
|
|
164
|
+
agent membership ended ise terminal loop signal'idir.
|
|
165
|
+
4. Agent-wide listen archived/left room'lari filtreler; baska bir oda terminal
|
|
166
|
+
diye tum agent loop'u `21` ile bitmez.
|
|
167
|
+
5. `chat catchup --for <agent> --apply`, unread mesajlari okur ve default olarak
|
|
168
|
+
`agentspace.chat.mark-read` ile cursor'u ilerletir.
|
|
169
|
+
6. `chat catchup --peek`, catchup'i read-only yapar. `chat mark-read --apply`,
|
|
170
|
+
manual cursor advance icin explicit escape hatch'tir.
|
|
171
|
+
|
|
172
|
+
Manifest ve onboarding:
|
|
173
|
+
|
|
174
|
+
1. `chat room manifest --room-id <id> --json`, oda shell'i, members, bindings ve
|
|
175
|
+
opsiyonel messages export eder.
|
|
176
|
+
2. `chat room brief --room-id <id> --for <agent>`, yeni agent'a paste-ready
|
|
177
|
+
context verir; full transcript yerine room purpose, role, bindings ve son
|
|
178
|
+
mesaj ozetlerini kullan.
|
|
179
|
+
3. `binding add` ile PM board/task, repo URL, Docman kaynaklari, reusable
|
|
180
|
+
resource/skill/prompt, micro `agents.md` resource'u veya session-bound
|
|
181
|
+
discuss/collab ref'leri baglanir.
|
|
182
|
+
|
|
183
|
+
Canonical migration path:
|
|
184
|
+
|
|
185
|
+
1. Chat tablolarinin kurulumu `aops setup init` icindeki canonical migration
|
|
186
|
+
zincirine aittir; kullanici domain-only veya source-workspace migration
|
|
187
|
+
komutlari calistirmamalidir.
|
|
188
|
+
2. Fresh DB smoke, `chat-rooms`, `chat-room-members`,
|
|
189
|
+
`chat-room-bindings`, ve `chat-messages` tablolarini dogrulamalidir.
|
|
190
|
+
3. Running host catalog drift'i varsa once build/manifest, sonra host
|
|
191
|
+
diagnostics reset/warmup; raw payload authoring icin
|
|
192
|
+
`aops agent schema --tool agentspace.chat-message.send --summary --json`
|
|
193
|
+
kullan.
|
|
194
|
+
|
|
195
|
+
#### 2.2.2 ChatV3 product-channel context
|
|
196
|
+
|
|
197
|
+
`aops chatv3`, hosted `aops chat` odasi degildir. ChatV3 product channel/room CLI'idir; invite/session/memberToken ve room epoch key context'i kendi local session store'unda tutulur. AOPS hosted chat hala canonical coordination/wake yuzeyidir; ChatV3 aktif product-room takibi icin ayridir.
|
|
198
|
+
|
|
199
|
+
Common context commands:
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
aops chatv3 binding add --session codex --room general --binding-type projectman.review-request --ref-id <rr-id> --title "Slice review" --json
|
|
203
|
+
aops chatv3 binding list --session codex --room general --json
|
|
204
|
+
aops chatv3 room brief --session codex --room general --for claude --json
|
|
205
|
+
aops chatv3 room summary --session codex --room general --after-seq <last-seq> --json
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
Kural:
|
|
209
|
+
|
|
210
|
+
1. `binding add/list/remove` loose external refs tutar; PM/RR/Docman/discuss truth'unun yerine gecmez.
|
|
211
|
+
2. `room brief` read-only onboarding pack'tir; guidance, members, presence, bindings, cursor refs ve recommended next reads verir.
|
|
212
|
+
3. `room summary` memory icin agent-composed narrative digest pack'tir; `sourceRef.type=chatv3.room`, seq range, nextReadRefs, summarization-only sourceMessages ve `NARRATIVE-DIGEST` slot'lu memoryWrite recipe tasir.
|
|
213
|
+
4. `sourceMessages` yalniz ozetleme girdisidir; memory'ye aynen yazilmaz. Oda mesajindan durable context ciktiysa agent once abstractive narrative digest uretir, sonra digest + refs + seq range'i explicit `aops mem checkpoint` veya `aops mem summary` komutuyla yazar.
|
|
214
|
+
|
|
215
|
+
## 3 En onemli entity'ler
|
|
216
|
+
|
|
217
|
+
### 3.1 Project
|
|
218
|
+
|
|
219
|
+
#### 3.1.1 Overview
|
|
220
|
+
|
|
221
|
+
Repo veya calisma alaniyla iliskilenen owner baglami.
|
|
222
|
+
|
|
223
|
+
Project registry boundary:
|
|
224
|
+
|
|
225
|
+
1. Hosted project truth remains the `agentspace.project.*` entity family.
|
|
226
|
+
2. `aops project link/links` is the repo registry bridge. It verifies a
|
|
227
|
+
hosted project exists and is active, then writes the local
|
|
228
|
+
`.aops/aops.config.json` project link.
|
|
229
|
+
3. `authoringMode: local` with `localRoot` means a read-only cache of the
|
|
230
|
+
server-canonical Projectman and Agentspace records is materialized under
|
|
231
|
+
`.aops/projects/<slug>`. Create/write/read still target the hosted server;
|
|
232
|
+
the cache is refreshed with `aops sync pull`.
|
|
233
|
+
4. `authoringMode: hosted-only` has no `localRoot` cache directory. PM
|
|
234
|
+
CRUD/list/get reads and writes both call the hosted gateway directly. This
|
|
235
|
+
is the hosted-only-vs-local boundary: the only difference is whether a
|
|
236
|
+
refreshable read-only cache is kept on disk.
|
|
237
|
+
5. `aops project migrate-local-root` is a repo-local migration helper. It is
|
|
238
|
+
not an `agentspace.project` hosted mutation; run `--dry-run` first and use
|
|
239
|
+
`--apply --confirm` only after reviewing the file move/archive plan.
|
|
240
|
+
6. `aops archive` is Projectman graph cleanup preparation. Agentspace
|
|
241
|
+
memory, discussions, hosted chat, and hosted prompt/skill/resource/artifact
|
|
242
|
+
data can appear in archive `pendingDomains` until those domain owners add
|
|
243
|
+
their own archive/decommission coverage. No new hosted `archive.*` domain or
|
|
244
|
+
bundle-cleanup tool family is expected for this slice; existing
|
|
245
|
+
`agentspace.project.archive-project` remains a project status/lifecycle op.
|
|
246
|
+
|
|
247
|
+
### 3.2 Memory Item
|
|
248
|
+
|
|
249
|
+
#### 3.2.1 Overview
|
|
250
|
+
|
|
251
|
+
Short handoff/resume/decision kaydi, durable note kaydi ve sticky guidance kaydi.
|
|
252
|
+
|
|
253
|
+
### 3.3 Generated Synopsis
|
|
254
|
+
|
|
255
|
+
#### 3.3.1 Overview
|
|
256
|
+
|
|
257
|
+
Projenin yasayan synopsis'i memory truth'tan generated read model olarak uretilir.
|
|
258
|
+
|
|
259
|
+
### 3.4 Activity Item
|
|
260
|
+
|
|
261
|
+
#### 3.4.1 Overview
|
|
262
|
+
|
|
263
|
+
Immutable operator ledger kaydidir.
|
|
264
|
+
|
|
265
|
+
Ne degildir:
|
|
266
|
+
|
|
267
|
+
1. `memory-item` gibi curated resume/decision notu degildir
|
|
268
|
+
2. `agent-run-event` gibi run-scoped timeline degildir
|
|
269
|
+
|
|
270
|
+
### 3.5 Prompt / Resource
|
|
271
|
+
|
|
272
|
+
#### 3.5.1 Overview
|
|
273
|
+
|
|
274
|
+
Prompt setleri, referanslar ve curated retrieve surface'i.
|
|
275
|
+
|
|
276
|
+
Prompt modeli:
|
|
277
|
+
|
|
278
|
+
1. `prompt`
|
|
279
|
+
- reusable shell
|
|
280
|
+
- `scopeId` owner'lidir
|
|
281
|
+
2. `prompt-version`
|
|
282
|
+
- actual content + lineage
|
|
283
|
+
- lineage kaydi dogrudan `projectId` ile tutulur
|
|
284
|
+
|
|
285
|
+
Skill modeli:
|
|
286
|
+
|
|
287
|
+
1. `skill`
|
|
288
|
+
- reusable shell
|
|
289
|
+
- `scopeId` owner'lidir
|
|
290
|
+
2. `skill-version`
|
|
291
|
+
- actual content + lineage
|
|
292
|
+
- lineage kaydi dogrudan `projectId` ile tutulur
|
|
293
|
+
|
|
294
|
+
Not:
|
|
295
|
+
|
|
296
|
+
1. ordered capability secimi ayri bundle entity'si ile degil
|
|
297
|
+
2. selected skill versions, prompt guidance ve docs ile cozulur
|
|
298
|
+
|
|
299
|
+
Artifact modeli:
|
|
300
|
+
|
|
301
|
+
1. `artifact`
|
|
302
|
+
- scope-owned metadata shell
|
|
303
|
+
- `scopeId` owner'lidir
|
|
304
|
+
- `artifactType`, `storagePath`, `label`, `mimeType`, `sizeBytes`, `hash`, `meta`
|
|
305
|
+
2. `artifact-link`
|
|
306
|
+
- project-scoped relation kaydidir
|
|
307
|
+
- relation kaydi dogrudan `projectId` ile tutulur
|
|
308
|
+
|
|
309
|
+
Activity modeli:
|
|
310
|
+
|
|
311
|
+
1. `activity-item`
|
|
312
|
+
- immutable operator ledger
|
|
313
|
+
- operator surface project-first'tur; `projectId` primary giristir
|
|
314
|
+
- owner chain'de ayni deger `scopeId` olarak da tasinabilir
|
|
315
|
+
- `sourceKind`, `sourceId`, `action`, `status`, `summary`, `refs`, `payload`, `meta`
|
|
316
|
+
|
|
317
|
+
## 4 Memory modelleri
|
|
318
|
+
|
|
319
|
+
### 4.1 Normal memory
|
|
320
|
+
|
|
321
|
+
#### 4.1.1 Overview
|
|
322
|
+
|
|
323
|
+
Ornek:
|
|
324
|
+
|
|
325
|
+
1. kickoff
|
|
326
|
+
2. resume
|
|
327
|
+
3. decision
|
|
328
|
+
4. blocker
|
|
329
|
+
5. closeout
|
|
330
|
+
|
|
331
|
+
### 4.2 Sticky memory
|
|
332
|
+
|
|
333
|
+
#### 4.2.1 Overview
|
|
334
|
+
|
|
335
|
+
Kalici rehber notlari icindir.
|
|
336
|
+
|
|
337
|
+
Ornek:
|
|
338
|
+
|
|
339
|
+
1. "Hexagen kullan"
|
|
340
|
+
2. "su dokumanlardan basla"
|
|
341
|
+
3. "bu projede migration boyle yapilir"
|
|
342
|
+
|
|
343
|
+
### 4.3 Generated synopsis
|
|
344
|
+
|
|
345
|
+
#### 4.3.1 Overview
|
|
346
|
+
|
|
347
|
+
Memory truth'tan uretilen proje ozeti.
|
|
348
|
+
|
|
349
|
+
Ornek:
|
|
350
|
+
|
|
351
|
+
1. mevcut durum
|
|
352
|
+
2. ana kararlar
|
|
353
|
+
3. open items
|
|
354
|
+
|
|
355
|
+
### 4.4 Agent memory dongusu (brief / checkpoint / summary)
|
|
356
|
+
|
|
357
|
+
#### 4.4.1 Overview
|
|
358
|
+
|
|
359
|
+
Agent varsayilan memory dongusu uc komuttur:
|
|
360
|
+
|
|
361
|
+
1. Kickoff/resume: `aops mem brief --subject <subject> --json` read-only bootstrap pack uretir. Memory yazmaz; sticky guidance, current synopsis, subject resume, similar work, recommended next reads, memory gaps ve nextMemoryAction tasir.
|
|
362
|
+
2. Anlamli ilerleme: `aops mem checkpoint --content <text> --task-id <task-id> --sprint-id <sprint-id> --apply --json` kisa rolling status yazar. Default `--as status` short resume/carry-forward kaydidir; `--as decision|blocker|milestone` checkpoint'in seklini degistirir.
|
|
363
|
+
3. Session sonu veya operator ozet istegi: `aops mem summary --content <text> --apply --json` ordinary short session summary yazar. Durable closeout ancak explicit `--closeout --durability durable --confirm` ile yazilir.
|
|
364
|
+
|
|
365
|
+
Kalite kurali:
|
|
366
|
+
|
|
367
|
+
1. Memory chat log'u degildir; request/purpose, PM surface, outcome, validation/review evidence, open risk ve next action icermelidir.
|
|
368
|
+
2. Uzun canonical icerik memory'ye kopyalanmaz; `--source-ref` ve `--next-read-ref` ile Docman/PM/ChatV3 pointer'i verilir.
|
|
369
|
+
3. Automation veya listener tetigi memory yazacaksa once gercek progress, decision, blocker, handoff veya operator summary istegi arar; her oda satiri icin kayit yazmaz.
|
|
370
|
+
|
|
371
|
+
## 5 En faydali komutlar
|
|
372
|
+
|
|
373
|
+
### 5.1 Overview
|
|
374
|
+
|
|
375
|
+
#### 5.1.1 Overview
|
|
376
|
+
|
|
377
|
+
```bash
|
|
378
|
+
aops agent tools --domain agentspace --q <keyword> --limit 20 --summary --json
|
|
379
|
+
aops project list --json
|
|
380
|
+
aops mem list --subject project --json
|
|
381
|
+
aops mem get --id <memory-id> --json
|
|
382
|
+
aops mem brief --subject project --json
|
|
383
|
+
aops mem checkpoint --content "Slice devam ediyor." --task-id <task-id> --sprint-id <sprint-id> --apply --json
|
|
384
|
+
aops mem summary --content "Session summary." --apply --json
|
|
385
|
+
aops mem write --mode resume --subject project --durability short --content "Yarin buradan devam et." --apply --json
|
|
386
|
+
aops mem write --mode resume --subject sprint --durability short --content "Bu sprintten devam et." --next-read-ref '@./next-read-ref.json' --apply --json
|
|
387
|
+
aops mem update --id <memory-id> --durability durable --content "Guncel ozet" --apply --json
|
|
388
|
+
aops mem delete --id <memory-id> --apply --confirm --json
|
|
389
|
+
aops mem resume --subject project --q "current slice" --limit 8 --json
|
|
390
|
+
aops mem synopsis --subject project --q "current slice" --limit 5 --json
|
|
391
|
+
aops mem search --subject sprint --id <sprint-id> --q "migration" --limit 8 --json
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
Project sugar:
|
|
395
|
+
|
|
396
|
+
```bash
|
|
397
|
+
aops project list --json
|
|
398
|
+
aops project get --id <project-id> --json
|
|
399
|
+
aops project create --name "Demo Project" --slug demo-project --status active --visibility private --project-type software --apply --json
|
|
400
|
+
aops project update --id <project-id> --description "Yeni aciklama" --apply --json
|
|
401
|
+
aops project delete --id <project-id> --apply --confirm --json
|
|
402
|
+
aops project link --slug aops --mode local --local-root .aops/projects/aops --apply --json
|
|
403
|
+
aops project link --slug demo --mode hosted-only --apply --json
|
|
404
|
+
aops project links list --json
|
|
405
|
+
aops project migrate-local-root --project-slug aops --local-root .aops/projects/aops --dry-run --json
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
Kural:
|
|
409
|
+
|
|
410
|
+
1. `project` sugar hosted `agentspace.project.*` surface'inin operator-friendly karsiligidir
|
|
411
|
+
2. `list` varsayilan olarak tablo basar; scriptable output icin `--json` kullan
|
|
412
|
+
3. `scopeId` varsayilan olarak `projectId` ile aynidir; project-first owner modeli varsayilir
|
|
413
|
+
4. destructive operasyonlar `--apply --confirm` ister
|
|
414
|
+
5. `project link/links` repo project registry'sini yonetir; canonical hosted
|
|
415
|
+
project kaydini yeniden tanimlamaz
|
|
416
|
+
6. `migrate-local-root` repo-local dosya tasima/arsivleme helper'idir;
|
|
417
|
+
`--apply --confirm` gerekir
|
|
418
|
+
7. Agent-tool verification icin `aops agent tools --domain agentspace --q project --summary --json` kullan; project registry ve archive CLI davranisi yeni hosted `archive.*` domain/tool family gerektirmez; mevcut `agentspace.project.archive-project` project lifecycle op'udur
|
|
419
|
+
|
|
420
|
+
Prompt sugar:
|
|
421
|
+
|
|
422
|
+
```bash
|
|
423
|
+
aops prompt list --json
|
|
424
|
+
aops prompt create --name "Kickoff Template" --apply --json
|
|
425
|
+
aops prompt update --id <prompt-id> --description "Yeni aciklama" --apply --json
|
|
426
|
+
aops prompt version list --prompt-id <prompt-id> --summary --json
|
|
427
|
+
aops prompt version create --prompt-id <prompt-id> --content '@./template.md' --variables '@./vars.json' --meta '@./meta.json' --apply --json
|
|
428
|
+
aops prompt version publish --id <prompt-version-id> --apply --json
|
|
429
|
+
aops prompt inspect --id <prompt-id> --json
|
|
430
|
+
aops prompt inspect --id <prompt-id> --summary --json
|
|
431
|
+
aops prompt current --id <prompt-id> --summary --json
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
Kural:
|
|
435
|
+
|
|
436
|
+
1. prompt create `scopeId` owner field kullanir
|
|
437
|
+
2. prompt-version create icinde lineage `projectId` ile tutulur
|
|
438
|
+
3. publish current version'i domain tarafinda sync eder
|
|
439
|
+
4. bu surface reusable prompt template authoring icindir; execution engine degildir
|
|
440
|
+
5. prompt-version `content` alanlari buyuk olabilir; version list/current/inspect okumalarinda `--summary` kullan, tam body gerekiyorsa summary'siz `version list|get|current|inspect` kullan
|
|
441
|
+
|
|
442
|
+
Resource sugar:
|
|
443
|
+
|
|
444
|
+
```bash
|
|
445
|
+
aops resource list --summary --limit 10 --json
|
|
446
|
+
aops resource create --name "Hexagen Guide" --resource-type document --uri https://example.test/hexagen --apply --json
|
|
447
|
+
aops resource update --id <resource-id> --description "Yeni aciklama" --apply --json
|
|
448
|
+
aops resource get --id <resource-id> --json
|
|
449
|
+
aops resource delete --id <resource-id> --apply --confirm --json
|
|
450
|
+
```
|
|
451
|
+
|
|
452
|
+
Kural:
|
|
453
|
+
|
|
454
|
+
1. resource `scopeId` owner field kullanir
|
|
455
|
+
2. resource versioned degildir; prompt-version benzeri lineage yoktur
|
|
456
|
+
3. `refType/refId` raw ve explicit kalir
|
|
457
|
+
4. bu surface reusable metadata / knowledge pointer inventory'si icindir
|
|
458
|
+
5. resource kayitlari buyuk `meta` payload tasiyabilir; inventory okumalarinda filtre, kucuk `--limit`, ve `--summary` kullan; tam meta icin `resource get --id` ile nokta atisi oku
|
|
459
|
+
|
|
460
|
+
Artifact sugar:
|
|
461
|
+
|
|
462
|
+
```bash
|
|
463
|
+
aops artifact create --artifact-type file --storage-path s3://bucket/report.json --apply --json
|
|
464
|
+
aops artifact link --artifact-id <artifact-id> --ref-type resource --ref-id <resource-id> --apply --json
|
|
465
|
+
aops artifact ref list --ref-type resource --ref-id <resource-id> --summary --json
|
|
466
|
+
aops artifact get --id <artifact-id> --summary --json
|
|
467
|
+
aops artifact delete --id <artifact-id> --apply --confirm --json
|
|
468
|
+
```
|
|
469
|
+
|
|
470
|
+
Kural:
|
|
471
|
+
|
|
472
|
+
1. `artifact` versioned degildir; metadata shell olarak calisir
|
|
473
|
+
2. actual binary/content owner'i degildir; `storagePath` pointer tasir
|
|
474
|
+
3. project execution relation'i `artifact link` ile kurulur
|
|
475
|
+
4. `artifact ref list` generic inventory degil, ref-based lookup surface'idir
|
|
476
|
+
5. artifact kayitlari buyuk `meta` payload tasiyabilir; `artifact get` ve `artifact ref list` okumalarinda varsayilan agent yolu `--summary` olmalidir, tam meta gerekirse bayragi kaldir
|
|
477
|
+
|
|
478
|
+
Activity sugar:
|
|
479
|
+
|
|
480
|
+
```bash
|
|
481
|
+
aops activity list --summary --limit 20 --json
|
|
482
|
+
aops activity list --source-kind aops --status success --summary --json
|
|
483
|
+
aops activity get --id <activity-id> --summary --json
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
Kural:
|
|
487
|
+
|
|
488
|
+
1. `activity-item` immutable operator ledger kaydidir; curated memory/resume notu degildir
|
|
489
|
+
2. `activity list` ve `activity get` read-only'dir; `--apply` gerektirmez
|
|
490
|
+
3. activity kayitlari buyuk `refs`, `payload`, ve `meta` alanlari tasiyabilir; agent varsayilani `--summary` olmalidir
|
|
491
|
+
4. `--summary` raw `refs/payload/meta` yerine `refsSummary`, `payloadSummary`, ve `metaSummary` dondurur
|
|
492
|
+
5. activity write veya sugar kapsami disi hosted op gerekiyorsa once `aops agent tools --domain agentspace --q activity --summary --json`, sonra `agent schema --tool ...` oku
|
|
493
|
+
|
|
494
|
+
Chat sugar:
|
|
495
|
+
|
|
496
|
+
```bash
|
|
497
|
+
aops chat room create --slug design-room --title "Design Room" --created-by codex --apply --json
|
|
498
|
+
aops chat room open-dm --agent codex --agent claude --created-by codex --apply --json
|
|
499
|
+
aops chat member add --room-id <room-id> --agent claude --role-key reviewer --added-by codex --apply --json
|
|
500
|
+
aops chat binding add --room-id <room-id> --binding-type projectman.kanban-task --binding-id <task-id> --label "Implementation task" --created-by codex --apply --json
|
|
501
|
+
aops chat message send --room-id <room-id> --from codex --text "Ready for review." --apply --json
|
|
502
|
+
aops chat inbox --for claude --summary --json
|
|
503
|
+
aops chat listen --for claude --timeout-sec 60 --interval-sec 5 --json
|
|
504
|
+
aops chat catchup --for claude --apply --summary --json
|
|
505
|
+
aops chat catchup --for claude --peek --summary --json
|
|
506
|
+
aops chat mark-read --room-id <room-id> --agent claude --seq <seq> --apply --json
|
|
507
|
+
aops chat room brief --room-id <room-id> --for claude
|
|
508
|
+
aops chat room manifest --room-id <room-id> --include-messages --out ./chat-manifest.json --json
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
Kural:
|
|
512
|
+
|
|
513
|
+
1. `chat` hosted Agentspace room/DM messaging yuzeyidir ve multi-agent
|
|
514
|
+
koordinasyon/uyandirmanin canonical surface'idir; legacy `codex-chat`
|
|
515
|
+
bridge degildir (retired repo-first `collab chat` wakeup protokolunun
|
|
516
|
+
yerini alir).
|
|
517
|
+
2. `room create`, `open-dm`, `member`, `binding`, `message send`,
|
|
518
|
+
`mark-read`, ve default `catchup` cursor advance write sayilir; `--apply`
|
|
519
|
+
gerekir.
|
|
520
|
+
3. `inbox`, `listen`, `room get`, `room list`, `room manifest`, ve
|
|
521
|
+
`room brief` read-only'dir; cursor ilerletmez.
|
|
522
|
+
4. `catchup` default olarak okunan unread message'lara kadar cursor ilerletir;
|
|
523
|
+
`--peek` read-only escape hatch'tir.
|
|
524
|
+
5. `listen` exit code'lari agent loop contract'idir: `0` unread bulundu,
|
|
525
|
+
`21` sadece room-scoped terminal, `22` timeout.
|
|
526
|
+
6. Direct hosted invoke gerekiyorsa once schema oku:
|
|
527
|
+
`aops agent schema --tool agentspace.chat-message.send --summary --json`.
|
|
528
|
+
|
|
529
|
+
Skill sugar:
|
|
530
|
+
|
|
531
|
+
```bash
|
|
532
|
+
aops skill list --json
|
|
533
|
+
aops skill create --name "Projectman Delivery" --short-description "Hosted delivery skill" --apply --json
|
|
534
|
+
aops skill update --id <skill-id> --description "Yeni aciklama" --apply --json
|
|
535
|
+
aops skill version list --skill-id <skill-id> --summary --json
|
|
536
|
+
aops skill version create --skill-id <skill-id> --content '@./SKILL.md' --meta '@./meta.json' --apply --json
|
|
537
|
+
aops skill version publish --id <skill-version-id> --apply --json
|
|
538
|
+
aops skill inspect --id <skill-id> --json
|
|
539
|
+
aops skill inspect --id <skill-id> --summary --json
|
|
540
|
+
aops skill current --id <skill-id> --summary --json
|
|
541
|
+
```
|
|
542
|
+
|
|
543
|
+
Kural:
|
|
544
|
+
|
|
545
|
+
1. `skill` reusable capability shell kaydidir ve `scopeId` owner'lidir
|
|
546
|
+
2. `skill-version` content ve lineage kaydidir; lineage `projectId` ile tutulur
|
|
547
|
+
3. `skill version publish` current version sync'ini domain tarafinda yapar
|
|
548
|
+
4. `skill version create` icin `--version` opsiyoneldir; verilmezse CLI mevcut skill version zincirinden bir sonraki sayiyi hesaplar
|
|
549
|
+
5. bu surface inventory/authoring/versioning icindir; execution engine degildir
|
|
550
|
+
6. skill version `content` alanlari buyuk olabilir; version list/current/inspect okumalarinda `--summary` kullan, tam body gerekiyorsa summary'siz `version list|get|current|inspect` kullan
|
|
551
|
+
|
|
552
|
+
Ortak hosted sugar contract:
|
|
553
|
+
|
|
554
|
+
1. write komutlari varsayilan olarak `--apply` ister
|
|
555
|
+
2. destructive komutlar `--apply --confirm` ister
|
|
556
|
+
3. `prompt`, `resource`, `skill`, `artifact`, read-only `activity`, ve `chat` aileleri ayni envelope contract'ini kullanir:
|
|
557
|
+
`command`, `toolId`, `resolvedContext`, `input`, `result`, opsiyonel `artifacts`
|
|
558
|
+
4. durable activity yalniz mutating hosted write'larda append edilir
|
|
559
|
+
5. desktop'ta `Projects > Logs` ve `Projects > Activity` ayni truth'u farkli baglamda gosterir
|
|
560
|
+
|
|
561
|
+
Sticky guidance:
|
|
562
|
+
|
|
563
|
+
```bash
|
|
564
|
+
aops mem write --kind resume --durability short --content "Bu session ozetini 1 haftalik tut." --apply --json
|
|
565
|
+
aops mem write --kind note --durability durable --content "ADK sugar once manifest sync sonra electron bridge." --purpose howto --area adk-electron --next-read-ref '{"kind":"doc","documentVersionId":"<docver-id>","sectionId":"<section-id>"}' --apply --json
|
|
566
|
+
aops mem update --id <memory-id> --durability durable --content "Guncel ozet" --status active --apply --json
|
|
567
|
+
|
|
568
|
+
aops mem write \
|
|
569
|
+
--mode rule \
|
|
570
|
+
--subject project \
|
|
571
|
+
--durability sticky \
|
|
572
|
+
--content "Hexagen kullan; plan before generate." \
|
|
573
|
+
--apply \
|
|
574
|
+
--json
|
|
575
|
+
|
|
576
|
+
aops mem write \
|
|
577
|
+
--mode rule \
|
|
578
|
+
--subject project \
|
|
579
|
+
--purpose howto \
|
|
580
|
+
--area adk-electron \
|
|
581
|
+
--status active \
|
|
582
|
+
--review-after-days 30 \
|
|
583
|
+
--content "ADK sugar komutunu once manifest sync, sonra electron bridge ile bagla." \
|
|
584
|
+
--apply \
|
|
585
|
+
--json
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
Cleanup veya replacement ihtiyacinda:
|
|
589
|
+
|
|
590
|
+
1. `mem list` veya `mem search` ile eski kaydi bul
|
|
591
|
+
2. operator-facing patch icin `mem update` kullan
|
|
592
|
+
3. tamamen kaldirmak istiyorsan `mem delete --apply --confirm`
|
|
593
|
+
4. sticky replacement icin yeni kaydi `--supersede <oldId>` ile yaz
|
|
594
|
+
5. `--purpose`, `--area`, `--status` alanlari memory'yi tekrar bulunabilir tag/meta ile siniflandirir; doc gerekiyorsa `nextReadRefs/sourceRefs` kullan
|
|
595
|
+
6. `mem search` icinde ayni alanlar varsayilan olarak retrieval hint'tir; strict post-filter icin `--strict-classification` kullan
|
|
596
|
+
|
|
597
|
+
Docman read shortcut:
|
|
598
|
+
|
|
599
|
+
```bash
|
|
600
|
+
aops mem doc refs --hosted --subject sprint --id <sprint-id> --json
|
|
601
|
+
aops mem doc answer --hosted --subject sprint --id <sprint-id> --q "Ne degisti?" --ensure summary --json
|
|
602
|
+
aops mem doc source --hosted --subject sprint --id <sprint-id> --json
|
|
603
|
+
aops mem doc publish --hosted --subject sprint --id <sprint-id> --target markdown --json
|
|
604
|
+
```
|
|
605
|
+
|
|
606
|
+
Not:
|
|
607
|
+
|
|
608
|
+
1. bu zincir `recommendedRefs` uzerinden calisir
|
|
609
|
+
2. tam shortcut icin ref icinde en az `documentVersionId` olmalidir
|
|
610
|
+
3. `--next-read-ref` ve `--source-ref` string, inline JSON, JSON array veya `@file.json` kabul eder; PowerShell'de `@file` pointer'larini quote et
|
|
611
|
+
4. richer ref alanlari:
|
|
612
|
+
- `sectionId`
|
|
613
|
+
- `pageVersionId`
|
|
614
|
+
- `pageNumber`
|
|
615
|
+
- `target`
|
|
616
|
+
|
|
617
|
+
## 6 Memory usage model
|
|
618
|
+
|
|
619
|
+
### 6.1 Overview
|
|
620
|
+
|
|
621
|
+
#### 6.1.1 Overview
|
|
622
|
+
|
|
623
|
+
Secim mantigi:
|
|
624
|
+
|
|
625
|
+
1. `short` = kisa carry-forward / handoff / bir sonraki session'a devam notu
|
|
626
|
+
2. `durable` = tekrar okunacak karar, closeout, evidence pack veya kalici proje bilgisi
|
|
627
|
+
3. `sticky` = tum gelecek session'lara uygulanacak bootstrap kural
|
|
628
|
+
4. `resume` / `carry-forward` = devam notu
|
|
629
|
+
5. `project` = subject bagimsiz proje bilgisi; mumkunse somut task/sprint/session/doc ref'leriyle destekle
|
|
630
|
+
6. `pattern` / `howto` / `architecture` = tekrar bulunabilir bilgi; gerekirse Docman ref'i ile birlikte yaz
|
|
631
|
+
7. `decision` = session/sprint penceresi icindeki calisma karari
|
|
632
|
+
8. kalici karar veya reusable bilgi = `decision` veya `note`; operator istemedikce durable yazma
|
|
633
|
+
|
|
634
|
+
Memory kalite kontrati:
|
|
635
|
+
|
|
636
|
+
Memory, chat log'u veya kisa changelog etiketi degildir. Bir sonraki agent okudugunda olayi anlayabilecegi ve kontrol edebilecegi agent-readable evidence pack olmalidir.
|
|
637
|
+
|
|
638
|
+
Her kickoff, resume, handoff, decision, blocker ve closeout kaydi sunlari tasimalidir:
|
|
639
|
+
|
|
640
|
+
1. Istenen is veya karar/purpose
|
|
641
|
+
2. Calisma yuzeyi: board, kanban task, sprint, microtask, issue, feedback, review-request, discussion topic, hosted chat odasi, Docman dokumani veya dosya ref'leri
|
|
642
|
+
3. Ne yapildi ve mevcut durum: tamamlandi, bekliyor, bloklu, review'da, follow-up'a ayrildi
|
|
643
|
+
4. Kanit: validation, test, review sonucu, event seq, doc/page/version, dosya veya komut referansi
|
|
644
|
+
5. Acik kalan riskler ve net next action
|
|
645
|
+
|
|
646
|
+
Yazim kurallari:
|
|
647
|
+
|
|
648
|
+
1. `--task-id`, `--sprint-id`, `--issue-id`, `--feedback-id`, `--source-ref`, `--next-read-ref`, `--validation-state`, `--next-action` alanlarini kullan; sadece serbest metne guvenme.
|
|
649
|
+
2. `PR1`, `PR2`, `cleanup`, `done`, `merge-ready` gibi lokal etiketleri tek basina kullanma; her etiketi davranis ve artifact olarak ac.
|
|
650
|
+
3. Transcript'i memory'ye kopyalama. Memory, transcript'in hangi bolumlerinin okunacagini ve ne sonuc ciktigini gosterir.
|
|
651
|
+
4. Planning truth Projectman'dedir; memory Projectman kaydini referanslar, yerine gecmez.
|
|
652
|
+
5. Canonical uzun icerik Docman'dedir; memory Docman ref'i verir, dokumani kopyalamaz.
|
|
653
|
+
|
|
654
|
+
Session-state ve automation siniri:
|
|
655
|
+
|
|
656
|
+
1. `.aops/agentspace/session-state/**` JSON dosyalari runtime hint/cursor bilgisidir; memory truth degildir.
|
|
657
|
+
2. `aops start` ve `aops view dashboard` bu dosyalardan read-only `sessionStateNudges` uretebilir; komutlar memory mutate etmez.
|
|
658
|
+
3. Nudge gorulurse agent karar verir: anlamli progress varsa `mem checkpoint`, operator summary/closeout isterse `mem summary`; aksi halde yazmaz.
|
|
659
|
+
|
|
660
|
+
Owner kural:
|
|
661
|
+
|
|
662
|
+
1. `memory` neyin okunacagini ve ne sonuc ciktigini soyler
|
|
663
|
+
2. `docman` canonical icerigi verir
|
|
664
|
+
3. `projectman` execution state truth'unu verir
|
|
665
|
+
|
|
666
|
+
## 7 Resume pack nasil calisir
|
|
667
|
+
|
|
668
|
+
### 7.1 Overview
|
|
669
|
+
|
|
670
|
+
#### 7.1.1 Overview
|
|
671
|
+
|
|
672
|
+
`agentspace.memory-item.build-resume-pack` curated bir toplu cikti uretir.
|
|
673
|
+
|
|
674
|
+
Oncelik sirasi:
|
|
675
|
+
|
|
676
|
+
1. sticky guidance (board-scoped: eger retrieval.tags icerisinde `board:<slug>`
|
|
677
|
+
tag'i varsa, yalnizca o board'un `board-bootstrap` tag'li sticky kayitlari
|
|
678
|
+
dahil edilir; genel project-level sticky rule'lar hala gecer)
|
|
679
|
+
2. generated synopsis
|
|
680
|
+
3. exact subject memory
|
|
681
|
+
4. lineage memory
|
|
682
|
+
5. project-level rule
|
|
683
|
+
6. generic project memory
|
|
684
|
+
|
|
685
|
+
Default amac:
|
|
686
|
+
|
|
687
|
+
1. her seyi okumadan devam edebilmek
|
|
688
|
+
2. doc/resource okumayi sadece gerekirse tetiklemek
|
|
689
|
+
|
|
690
|
+
`mem brief` bu resume pack mantigini session kickoff icin daha kucuk bir okuma paketine indirir. Brief sonucu read-only'dir; recommendedNextReads ve memoryGaps alanlari agent'in hangi Docman/PM/ChatV3 ref'lerini okuyacagini ve bir sonraki memory aksiyonunun checkpoint mi summary mi oldugunu gosterir.
|
|
691
|
+
|
|
692
|
+
## 8 Ne zaman Agentspace kullan
|
|
693
|
+
|
|
694
|
+
### 8.1 Overview
|
|
695
|
+
|
|
696
|
+
#### 8.1.1 Overview
|
|
697
|
+
|
|
698
|
+
1. baska agent daha sonra devam edecekse
|
|
699
|
+
2. PM artifact disi resumable calisma varsa
|
|
700
|
+
3. proje seviyesinde synopsis lazimsa
|
|
701
|
+
4. kalici guidance lazimsa
|
|
702
|
+
|
|
703
|
+
## 9 Ne zaman Agentspace kullanma
|
|
704
|
+
|
|
705
|
+
### 9.1 Overview
|
|
706
|
+
|
|
707
|
+
#### 9.1.1 Overview
|
|
708
|
+
|
|
709
|
+
1. board/sprint/utask state'i icin
|
|
710
|
+
2. kanban workflow icin
|
|
711
|
+
3. issue/feedback lifecycle icin
|
|
712
|
+
|
|
713
|
+
Bunlar `projectman` concern'udur.
|
|
714
|
+
|
|
715
|
+
## 10 Coordination semantics
|
|
716
|
+
|
|
717
|
+
### 10.1 Overview
|
|
718
|
+
|
|
719
|
+
#### 10.1.1 Overview
|
|
720
|
+
|
|
721
|
+
`discuss` (karar/konsensus) ve hosted chat odalari (koordinasyon/uyandirma) icin operasyonel disiplin; review tarafi Projectman'dedir. Skiller bu bolumlere referans verir; deep mechanics burada.
|
|
722
|
+
|
|
723
|
+
### 10.2 Channels and listeners
|
|
724
|
+
|
|
725
|
+
#### 10.2.1 Overview
|
|
726
|
+
|
|
727
|
+
Triad'da iki canonical write/read kanal cifti var: hosted chat odalari (koordinasyon/uyandirma) ve `discuss` (karar ritueli). `chat message send` ile `chat listen`/`chat catchup` kardes yuzeyler; `discuss turn` ile `discuss wait` kardes yuzeyler. Bir read yuzeyinde wakeup almak, digerinde almayi garanti etmez: hosted chat odasina yazilan bir mesaj `discuss wait`'i uyandirmaz, discuss turn da `chat listen`'i uyandirmaz. Misaligned writer/listener pair'leri sessiz koordinasyon trafigi kaybinin en yaygin sebebi. (Repo-first `collab event`/`collab chat`/`collab wait` kanal makinesi emekliye ayrildi.)
|
|
728
|
+
|
|
729
|
+
| Write surface | Wakes `chat listen` | Wakes `discuss wait` |
|
|
730
|
+
|---------------|---------------------|----------------------|
|
|
731
|
+
| `chat message send` | yes | no |
|
|
732
|
+
| `discuss turn` | no | yes |
|
|
733
|
+
| `pm review-request create/result` | no (RR ref'ini odaya `chat message send` ile duyur) | no |
|
|
734
|
+
|
|
735
|
+
Routing kurallari:
|
|
736
|
+
|
|
737
|
+
1. Karar/stance discuss topic'inde `discuss turn`/`conclude` ile yazilir; karsi
|
|
738
|
+
agent'i uyandirmak icin ayni isi bagli hosted chat odasina kisa bir `chat
|
|
739
|
+
message send` ile duyur. Discuss transcript kanonik kayit, oda mesaji
|
|
740
|
+
uyandirma sinyali.
|
|
741
|
+
2. Review/issue/handoff Projectman'de yasar: `pm review-request create/result`,
|
|
742
|
+
`pm issue create`, `pm handoff`. RR/RRR'i dosyaladiktan sonra ref'i bagli
|
|
743
|
+
odaya `chat message send` ile duyur ki review akisi listener'a gorunur olsun.
|
|
744
|
+
3. Hosted chat odalari multi-agent koordinasyon/uyandirmanin tek listener
|
|
745
|
+
yuzeyidir. `chat listen` agent-wide poll'dur; `chat inbox` peek; `chat
|
|
746
|
+
catchup --apply` unread'i okur ve cursor'u ilerletir.
|
|
747
|
+
4. Hosted chat ile repo-first dinleyiciyi karistirma: bir hosted oda mesajini
|
|
748
|
+
`discuss wait` ile yakalamaya calismak (veya tersi) missed-wakeup uretir.
|
|
749
|
+
Karar dongusu icin `discuss wait`, koordinasyon icin `chat listen` kullan.
|
|
750
|
+
5. Oda uyeleri (`to`/members) ve `agentId` routing primitive'idir; mesaj
|
|
751
|
+
gonderirken dogru odaya/uyeye hedefle.
|
|
752
|
+
|
|
753
|
+
### 10.3 Choosing event vs chat
|
|
754
|
+
|
|
755
|
+
#### 10.3.1 Overview
|
|
756
|
+
|
|
757
|
+
Durable kayit triad'da iki yerde yasar: kararlar/stance `discuss` topic'inde, review/issue/handoff Projectman'de. Bu durable kayitlari bir kez yazip her seferinde kisa bir `chat message send` ile bagli odaya duyur ki peer uyandirma sinyalini alsin. Yani: karar -> `discuss turn`/`conclude`; review sonucu -> `pm review-request result`; material bulgu -> `pm issue create`; handoff -> `pm handoff` veya bagli oda mesaji; her birini chat ping ile esle.
|
|
758
|
+
|
|
759
|
+
Sadece chat: transient noise (kisa ack/nudge/clarification) ve koordinasyon mesajlari. Session truth'unu degistiren bir karar yalniz oda mesajinda kalmamali; discuss transcript'ine veya PM kaydina dusurulmeli ki durable ledger substance'i korusun.
|
|
760
|
+
|
|
761
|
+
Kararsizsan: durable kaydi yaz (karar ise discuss, review/issue ise PM), sonra chat ile duyur. Yalniz-chat substantive coordination anti-pattern'i icin Anti-patterns appendix'teki messaging bolumune bak.
|
|
762
|
+
|
|
763
|
+
### 10.4 Loop discipline ve exit codes
|
|
764
|
+
|
|
765
|
+
#### 10.4.1 Overview
|
|
766
|
+
|
|
767
|
+
Long wait'lar host shell foreground'unu operator-facing session'da kilitlemesin. Background log kullan loop'lar agent turn'u disinda persist etmesi gerekiyorsa.
|
|
768
|
+
|
|
769
|
+
Exit code matrisi `discuss wait` (karar dongusu) ve `chat listen` (koordinasyon) icindir:
|
|
770
|
+
|
|
771
|
+
`discuss wait`:
|
|
772
|
+
|
|
773
|
+
| Exit code | Anlami | Aksiyon |
|
|
774
|
+
|-----------|--------|---------|
|
|
775
|
+
| `0` | requested agent siradadir, yazabilir | structured `status`/`nextTurn` oku, **tek** turn yaz |
|
|
776
|
+
| `20` | operator-addressed open question / blocker | dur ve raporla |
|
|
777
|
+
| `21` | ready-to-conclude / concluding / concluded / abandoned | dur ve raporla |
|
|
778
|
+
| `22` | timeout | raporla, operator stop demediyse devam et |
|
|
779
|
+
|
|
780
|
+
`chat listen`:
|
|
781
|
+
|
|
782
|
+
| Exit code | Anlami | Aksiyon |
|
|
783
|
+
|-----------|--------|---------|
|
|
784
|
+
| `0` | unread mesaj var | `chat catchup`/`chat inbox` ile oku, **tek** response/aksiyon yaz |
|
|
785
|
+
| `21` | room-scoped terminal (room archived veya membership ended) | room-scoped loop'u durdur |
|
|
786
|
+
| `22` | timeout | raporla, operator stop demediyse devam et |
|
|
787
|
+
|
|
788
|
+
Self-wakeup notu: `chat listen` `0` donduruyor ama listener'in read cursor'undan (`lastSeenSeq`) yuksek yeni mesaj yoksa, wakeup buyuk olasilikla **kendi yazdigin mesajdan** geldi (listener herhangi bir oda append'inde tetiklenir, kendi yazimin dahil). `chat catchup --apply` veya `chat mark-read --apply` ile cursor'u ilerlet, sonra listener'i re-arm et. Counterpart traffic'i olarak yorumlama.
|
|
789
|
+
|
|
790
|
+
### 10.5 Mid-session mutual-idle escape
|
|
791
|
+
|
|
792
|
+
#### 10.5.1 Overview
|
|
793
|
+
|
|
794
|
+
Iki agent ardisik bounded listener cycle'inda sadece self-echo, already-handled message, veya counterpart work olmadan timeout uretiyorsa: stale listener cycle'i bitir ve bagli hosted chat odasina `still-waiting-on:<agent>` ile baslayan kisa bir koordinasyon mesaji yaz. Bu mutual idle'i kirar; agent'i durdurmaz, session'i kapatmaz, gelecekteki listening'i bitirmez.
|
|
795
|
+
|
|
796
|
+
Kurallar:
|
|
797
|
+
|
|
798
|
+
1. Iki stale cycle'dan sonra her iki agent'i da listener'da tutma.
|
|
799
|
+
2. `still-waiting-on:` mesaji beklenen agent'i, beklenen artifact'i (orn. review-result, karar turn'u), ve primary agent'in operator-approved timeout ile devam edip etmeyecegini named.
|
|
800
|
+
3. `still-waiting-on:` yazdiktan sonra `chat listen` re-arm et veya `chat catchup`/`chat inbox` ile peer'in idle olduguna karar ver.
|
|
801
|
+
|
|
802
|
+
### 10.6 Directive ACK obligation
|
|
803
|
+
|
|
804
|
+
#### 10.6.1 Overview
|
|
805
|
+
|
|
806
|
+
Collab'in `operator-directive` event'i ve `collab ack-directive` makinesi emekliye ayrildi. Triad'da operator niyeti iki yoldan gelir ve karsiliginda explicit acknowledge beklenir:
|
|
807
|
+
|
|
808
|
+
1. Bagli hosted chat odasina yazilan koordinasyon mesaji: ilgili agent mesaji okur, istenen aksiyonu yapar (veya explicit refuse karari verir), sonucu odaya kisa bir `chat message send`/reply ile yazar ve `chat catchup --apply` ile read cursor'unu ilerletir (read = ack).
|
|
809
|
+
2. `pm review-request`: agent RR'i ele alir ve `pm review-request result` (RRR) ile sonucu yazar; bu, review niyeti icin canonical acknowledge'dir.
|
|
810
|
+
|
|
811
|
+
Response sequence:
|
|
812
|
+
|
|
813
|
+
1. Mesaji/RR'i oku.
|
|
814
|
+
2. Istenen aksiyonu yap, ya da explicit refuse karari ver.
|
|
815
|
+
3. Sonucu yaz: oda mesaji veya `pm review-request result`.
|
|
816
|
+
4. Read cursor'u ilerlet (`chat catchup --apply`) ki ayni isi tekrar "pending" gormeyesin.
|
|
817
|
+
|
|
818
|
+
Not: hosted `chat listen`/`chat inbox` peek'tir; cursor ilerletmez. Bir mesaji "handled" saymak icin `chat catchup --apply` veya `chat mark-read --apply` gerekir.
|
|
819
|
+
|
|
820
|
+
### 10.7 Review-request reply pairing
|
|
821
|
+
|
|
822
|
+
#### 10.7.1 Overview
|
|
823
|
+
|
|
824
|
+
Review icin canonical surface Projectman'dir: `pm review-request` (RR) ister, `pm review-request result` (RRR) sonuclar. RR/RRR review'in kanonik kaydidir; re-review yeni bir child RR'dir (`pm review-request create --parent <rr-id>`). (Collab'in `review-result` event'i ve `collab report --target docman` makinesi emekliye ayrildi.)
|
|
825
|
+
|
|
826
|
+
Projectman read yuzeyi kendi basina chat listener'i wake etmez. Her zaman RR/RRR'i bagli hosted chat odasina kisa bir `chat message send` ile esle: RR id, bir satir gist, ve varsa ask-back. Reviewer da sonucu yazdiktan sonra RRR ref'ini odaya duyurur.
|
|
827
|
+
|
|
828
|
+
```bash
|
|
829
|
+
# Reviewer: sonucu Projectman'a yaz
|
|
830
|
+
aops pm review-request result --id <rr-id> \
|
|
831
|
+
--decision <approve|request-changes|comment> \
|
|
832
|
+
--content '@./review.md' --apply --json
|
|
833
|
+
|
|
834
|
+
# Reviewer: sonucu bagli odaya duyurarak peer'i uyandir
|
|
835
|
+
aops chat message send --room-id <room-id> --from <reviewer> \
|
|
836
|
+
--text "Review filed: RR <rr-id>, RRR decision <...>. TL;DR: ..." \
|
|
837
|
+
--apply --json
|
|
838
|
+
```
|
|
839
|
+
|
|
840
|
+
Karar ritueli ile review'i bagla: review'in dayandigi discuss topic'i hem odaya `agentspace.discussion-topic` binding'i ile, hem de RR aciklamasinda explicit ref ile baglanmali ki canonical context sonradan da survive etsin. Operator review'i yalniz oda mesajiyla yonlendirdiyse oda cevabi tek basina kabul edilir; operator sonradan bunu bir RR'a promote edebilir.
|
|
841
|
+
|
|
842
|
+
### 10.8 Rapid multi-slice listening
|
|
843
|
+
|
|
844
|
+
#### 10.8.1 Overview
|
|
845
|
+
|
|
846
|
+
Hizli hareket eden review session'lar icin her listener wakeup'i tek-kullanimlik signal olarak ele al. Her handled review-request (RR), review-result (RRR), veya oda mesajindan sonra hemen `chat listen`'i re-arm et veya `chat catchup`/`chat inbox` ile odanin idle olduguna karar ver. RR/RRR'i her zaman bagli odaya `chat message send` ile esle ki cross-slice trafik listener'a gorunur olsun.
|
|
847
|
+
|
|
848
|
+
Kurallar:
|
|
849
|
+
|
|
850
|
+
1. Stale single-shot background listener'a baska bir slice icin wakeup veya timeout urettikten sonra guvenme.
|
|
851
|
+
2. Birden fazla slice hizli ilerliyorsa: kisa bounded `chat listen` loop'lari ve her handled item'dan sonra re-arm; ilerleyen RR/RRR durumunu `pm review-request list` ile takip et.
|
|
852
|
+
|
|
853
|
+
## 11 Closeout
|
|
854
|
+
|
|
855
|
+
### 11.1 Closeout peer handoff
|
|
856
|
+
|
|
857
|
+
#### 11.1.1 Overview
|
|
858
|
+
|
|
859
|
+
Operator-onayli oda/board kapanisindan once, baska bir participant hala live veya sonradan review yapacaksa primary agent explicit peer handoff yazar. Handoff Projectman'de (`pm handoff`) ve/veya bagli hosted chat odasina yazilir.
|
|
860
|
+
|
|
861
|
+
```bash
|
|
862
|
+
aops pm handoff write --subject <board|sprint|task> --id <id> \
|
|
863
|
+
--kind handoff \
|
|
864
|
+
--content "<commits; verification; open issues/feedback; next listener or done state>" \
|
|
865
|
+
--apply --json
|
|
866
|
+
```
|
|
867
|
+
|
|
868
|
+
Kurallar:
|
|
869
|
+
|
|
870
|
+
1. Handoff: commit veya canonical hosted version, validation run, open issue/feedback, ve peer'in keep listening / specific RR review / done state'inden hangisinde olacagini named.
|
|
871
|
+
2. Handoff'u bagli odaya kisa bir `chat message send` ile esle ki hem PM kaydi hem oda listener'i closeout state'i gorsun.
|
|
872
|
+
|
|
873
|
+
### 11.2 Operator-approved work-end closeout sequence
|
|
874
|
+
|
|
875
|
+
#### 11.2.1 Overview
|
|
876
|
+
|
|
877
|
+
Bu sequence sadece operator acikca closeout isterse veya onaylarsa ve tracked work window genuinely sona eriyorsa kullan. Mid-session checkpoint, active review slice, carry-forward, veya normal turn sonu icin calistirma; bu durumlarda resume/handoff/checkpoint memory yaz ve PM window'u / hosted oda'yi acik birak.
|
|
878
|
+
|
|
879
|
+
Required checkpoint'lar:
|
|
880
|
+
|
|
881
|
+
1. Implementation artifact'i finalize et: local source change'leri commit et veya canonical hosted version'i publish et, sonra agreed validation'i calistir.
|
|
882
|
+
2. Peer handoff'u ve paired oda mesajini yaz (yukaridaki Closeout peer handoff bolumu).
|
|
883
|
+
3. Active PM subject icin durable planning memory yaz veya refresh et eger sonraki agent task veya sprint'ten devam edecekse. Operator-approved closeout yapiliyorsa, `pm board closeout` tarafindan yazilan closeout memory board-level closeout memory gereksinimini karsilar.
|
|
884
|
+
4. Oda/board kapanisindan once Projectman state'i transition et. Active sprint completed isaretlenecekse `aops pm sprint set-status --id <sprint-id> --status completed --apply --json` calistir veya sprint status change'in neden atlandigini kaydet. Sonra, yalniz operator-approved closeout icinde board closeout:
|
|
885
|
+
|
|
886
|
+
```bash
|
|
887
|
+
aops pm board closeout --board <board-slug> \
|
|
888
|
+
--content "<work-end summary; validation; next action>" \
|
|
889
|
+
--apply --json
|
|
890
|
+
```
|
|
891
|
+
|
|
892
|
+
Bu komut atomic board-window close: closeout memory yazar, active kanban task'i Done'a (progress=100) tasir, active board ref'leri temizler.
|
|
893
|
+
5. Projectman state transition edildikten sonra, yalniz operator-approved closeout icinde bagli hosted chat odasini kapat/arsivle (`chat room update --status archived` veya operator'un tercih ettigi oda kapanisi). Closeout ozeti odaya son bir mesaj olarak yazilir.
|
|
894
|
+
6. Post-closeout memory'i (asagidaki Post-collab memory closeout bolumu) yalniz operator-approved closeout icinde yaz: kullanilan discuss topic uid/slug'lari, material PM record'lari (RR/RRR, issue), ve residual carry-forward'i link.
|
|
895
|
+
|
|
896
|
+
Kurallar:
|
|
897
|
+
|
|
898
|
+
1. Hosted oda mesajlari ve discuss komutlari Projectman state'i mutate etmez; task, sprint, board, issue, feedback lifecycle change'leri icin explicit `aops pm` komutlari kullan.
|
|
899
|
+
2. Board kickoff veya active board window kullanildiysa `pm board closeout` yalniz operator closeout istediginde/onayladiginda calisir; normal checkpoint'te atlama degil, acik window'u koruma davranisidir.
|
|
900
|
+
|
|
901
|
+
### 11.3 Closeout memory (post-session)
|
|
902
|
+
|
|
903
|
+
#### 11.3.1 Overview
|
|
904
|
+
|
|
905
|
+
Operator-approved oda/board kapanisindan sonra durable takeaway'i ve kullanilan discuss topic / resolved PM issue'lara link'i yakalayan bir memory record yaz. Hosted oda arsivlendiginde mesaj akisi archaeology'e doner; memory bridge'dir gelecek agent'lar durable decision'dan resume etmesi icin. Normal checkpoint icin `--mode resume` veya PM handoff kullan; `--mode closeout` kullanma.
|
|
906
|
+
|
|
907
|
+
Closeout memory tek paragraf log degildir. Agent-readable evidence pack olmalidir:
|
|
908
|
+
|
|
909
|
+
1. Hangi operator istegi kapatildi ve hangi board/task/sprint altinda calisildi
|
|
910
|
+
2. Hangi discuss topic(ler)i ve hangi hosted oda kullanildi; topic slug/uid ve onemli karar turn'leri
|
|
911
|
+
3. Hangi davranis veya artifact'lar degisti; `PR1/PR2` gibi etiketler acik kapsamla yazilir
|
|
912
|
+
4. Hangi PM issue'lar cozuldu veya follow-up'a ayrildi; issue id ve durumlari yazilir
|
|
913
|
+
5. Validation ve reviewer kaniti: test komutlari, RR/RRR id ve decision, pass/fail durumu
|
|
914
|
+
6. Kalan riskler, follow-up slice'lar ve net next action
|
|
915
|
+
|
|
916
|
+
```bash
|
|
917
|
+
aops mem write \
|
|
918
|
+
--mode closeout \
|
|
919
|
+
--subject project \
|
|
920
|
+
--durability durable \
|
|
921
|
+
--kind decision \
|
|
922
|
+
--content "<request + PM surface + outcome + evidence + issue status + next action>" \
|
|
923
|
+
--task-id <kanban-task-id> \
|
|
924
|
+
--sprint-id <sprint-id> \
|
|
925
|
+
--issue-id <material-issue-id> \
|
|
926
|
+
--source-ref '{"type":"agentspace.discussion-topic","id":"<topic-uid>","title":"<topic-slug>"}' \
|
|
927
|
+
--source-ref '{"type":"projectman.review-request","id":"<rr-id>","title":"<rr-scope>"}' \
|
|
928
|
+
--validation-state "PASS: <tests>; review RR/RRR <id/decision>; closeout" \
|
|
929
|
+
--next-action "<explicit carry-forward or none>" \
|
|
930
|
+
--purpose carry-forward \
|
|
931
|
+
--apply --json
|
|
932
|
+
```
|
|
933
|
+
|
|
934
|
+
Kurallar:
|
|
935
|
+
|
|
936
|
+
1. Kullanilan discuss topic uid/slug'unu ve material PM RR/issue id'lerini `--source-ref`/`--issue-id` ile referansla; gelecek agent'lar oda akisi yerine durable decision'dan resume edebilsin.
|
|
937
|
+
2. Material PM issue id'lerini link'le; CLI tekil `--issue-id` yuzeyinde tekrarli issue seti gerekiyorsa content icinde `Issue status` bolumuyle tum id/durumlari acik yaz.
|
|
938
|
+
3. Canonical operator-approved post-closeout summary icin `--mode closeout` + `--durability durable` kullan. `--durability sticky` sadece tum gelecek session'lara uygulanmasi gereken kurallar icin; session-specific takeaway'ler degil.
|
|
939
|
+
4. Closeout memory'i odaya yazilan operator-approved closeout mesajiyla esle; closeout mesaji memory id'sini, memory ise topic uid'sini named olarak tasir. Iki yonlu link kasitli.
|
|
940
|
+
5. `aops mem write/update --json`, `diagnostics.memoryQuality` uyarisi dondururse kaydi kapatmadan once zenginlestir.
|
|
941
|
+
|
|
942
|
+
## 12 PM integration
|
|
943
|
+
|
|
944
|
+
### 12.1 Promoting review items to Projectman issues
|
|
945
|
+
|
|
946
|
+
#### 12.1.1 Overview
|
|
947
|
+
|
|
948
|
+
`pm review-request result` (RRR) review'in canonical kaydidir; review icindeki actionable item'lar RRR'den ayri, kendi lifecycle'inda track edilmeli. RRR dosyalandiktan sonra her material item'i bir `projectman.issue`'a promote et ki progress oda/session lifecycle'i disinda survive etsin ve review timeline'dan bagimsiz calisilabilsin. (Sugar: `pm issue create --source review --review-request <rr-id>`.)
|
|
949
|
+
|
|
950
|
+
```bash
|
|
951
|
+
aops pm issue create \
|
|
952
|
+
--title "<review-scope> §<n>: <one-line summary>" \
|
|
953
|
+
--description "<detail referencing RR <rr-id> / RRR decision>" \
|
|
954
|
+
--status open --severity <info|low|medium|high> --source review \
|
|
955
|
+
--review-request <rr-id> \
|
|
956
|
+
--tag review-<scope> --tag <area> \
|
|
957
|
+
--apply --json
|
|
958
|
+
```
|
|
959
|
+
|
|
960
|
+
Kurallar:
|
|
961
|
+
|
|
962
|
+
1. Her issue body source RR/RRR'i (`--review-request <rr-id>`) ve review scope'u referansla; canonical context'e link sonradan da survive etsin.
|
|
963
|
+
2. Ayni review'den gelen her issue'yu `review-<scope>` shared tag ile tag'le; sonradan listing filterable olsun.
|
|
964
|
+
3. Issue'lar dosyalandiktan sonra yeni issue id'lerini ve review scope'unu named tek bir kisa oda mesaji at (`chat message send`). Implementing agent ve operator full RRR'i tekrar okumadan issue listesini alir.
|
|
965
|
+
4. Issue resolution `pm issue update --status` veya referenced PR work olarak land eder; review timeline her issue progress'ini mirror etmek zorunda degil. Shared `review-<scope>` tag'i + `pm issue list` canonical progress view.
|
|
966
|
+
5. Bazi CLI versiyonlarinda `pm issue create --preview` record persist edebilir; preview'i dry-run olarak kullanmak yerine final komutu construct edip dogrudan `--apply` ile calistir.
|
|
967
|
+
|
|
968
|
+
Implementing ve reviewing agent review-derived issue set'inin closed olduguna karar verirse, operator-onayli oda/board closeout calistirilabilir. Board closeout / oda kapanisi oncesi tagli PM issue'lar hala open ve explicit carry-forward edilmediyse, kapanis kaydini atlamak lifecycle drift'i yapar; once issue'lari kapat veya carry-forward et.
|
|
969
|
+
|
|
970
|
+
## 13 Anti-patterns appendix
|
|
971
|
+
|
|
972
|
+
### 13.1 Overview
|
|
973
|
+
|
|
974
|
+
#### 13.1.1 Overview
|
|
975
|
+
|
|
976
|
+
Aileler halinde grupland:
|
|
977
|
+
|
|
978
|
+
### 13.2 Messaging anti-patterns
|
|
979
|
+
|
|
980
|
+
#### 13.2.1 Overview
|
|
981
|
+
|
|
982
|
+
1. Durable bir kaydi (karar -> discuss; review/issue -> PM) yazip bagli hosted chat odasina paired bir uyandirma mesaji ile eslememek; recipient listener'i sinyali kacirir.
|
|
983
|
+
2. Substantive coordination'u (review pushback, decision summary, handoff signal, status update) yalniz oda mesajinda tutmak, paired durable kayit olmadan. Oda mesaji uyandirma sinyali; karar discuss'ta, review/issue PM'de kanonik kayit olmali.
|
|
984
|
+
|
|
985
|
+
Chat anti-pattern'leri:
|
|
986
|
+
|
|
987
|
+
1. Hosted `aops chat` odasina mesaj yazip repo-first bir dinleyiciyle peer uyandirmayi beklemek (veya tersi). Koordinasyon tamamen hosted chat odalarinda olmali; karar dongusu icin `discuss wait` kullan. Hybrid pattern missed-wakeup uretir.
|
|
988
|
+
2. `chat inbox` veya `chat listen` sonucunu ACK/read cursor advance sanmak. Bunlar peek'tir; cursor advance icin `chat catchup --apply` veya `chat mark-read --apply` kullan.
|
|
989
|
+
|
|
990
|
+
### 13.3 Boundary anti-patterns
|
|
991
|
+
|
|
992
|
+
#### 13.3.1 Overview
|
|
993
|
+
|
|
994
|
+
3. Chat/discuss text'inden Projectman veya Docman'i implicit mutate etmek.
|
|
995
|
+
4. Operator-onayi olmadan koordineli isi (board/oda) kapatmak, ya da active bound discuss topic conclude edilmeden / open tagli PM issue carry-forward edilmeden board/oda closeout calistirmak.
|
|
996
|
+
5. Derived/read-only projection dosyalarini (eski collab `timeline.md`/`channel.md`/`state.md` gibi) writable truth olarak ele almak.
|
|
997
|
+
6. Stop condition'i serbest metinden cikarmak (structured `lifecycleState`/`exitCode` yerine).
|
|
998
|
+
|
|
999
|
+
Chat boundary ekleri:
|
|
1000
|
+
|
|
1001
|
+
1. Yeni hosted chat'i legacy `agentspace.codex-chat-*` bridge tool'lari ile
|
|
1002
|
+
belgelemek veya test etmek.
|
|
1003
|
+
2. Room purpose, PM task, repo URL, Docman kaynagi, reusable skill/resource,
|
|
1004
|
+
micro `agents.md` veya discussion topic ref'lerini serbest metin mesajinda
|
|
1005
|
+
gommek; bu bilgiler `ChatRoomBinding` olmalidir.
|
|
1006
|
+
3. Agent-wide hosted `chat listen` icinde archived/left room'u terminal loop
|
|
1007
|
+
sinyali saymak. Exit `21`, yalniz room-scoped listen icindir.
|
|
1008
|
+
|
|
1009
|
+
### 13.4 Listener discipline anti-patterns
|
|
1010
|
+
|
|
1011
|
+
#### 13.4.1 Overview
|
|
1012
|
+
|
|
1013
|
+
7. Wait/listen exit'i 0 dondurdukten sonra **stale** single-shot background listener'a yeni traffic icin guvenmek.
|
|
1014
|
+
8. Hosted oda mesajini handled saymadan once read cursor'u ilerletmemek; `chat listen`/`chat inbox` peek'tir, `chat catchup --apply`/`chat mark-read --apply` ile cursor ilerletilir, sonra listener re-arm edilir.
|
|
1015
|
+
9. `still-waiting-on:` yazdiktan sonra permanent stop olarak yorumlamak yerine listener'i re-arm etmek.
|
|
1016
|
+
|
|
1017
|
+
### 13.5 Directive ve review anti-patterns
|
|
1018
|
+
|
|
1019
|
+
#### 13.5.1 Overview
|
|
1020
|
+
|
|
1021
|
+
10. Bir oda mesajini/RR'i handle ettikten sonra read cursor'u ilerletmemek (`chat catchup --apply`) — pending gibi gorunen mesaj her `chat listen`'i no-new-traffic noisy wakeup'a cevirir.
|
|
1022
|
+
11. Counterpart'i yalniz primary agent'in finished plan'ini review etmeye cagirmak, operator deliberation istediginde. Once independent research, sonra plan compare ve converge (discuss topic'inde iki-agent turn protokolu).
|
|
1023
|
+
12. Bounded `discuss wait`/`chat listen` timeout etmeden ve operator'a "plan o response olmadan ilerliyor" denmeden counterpart'in karar turn'unu / review'ini okumadan architectural plan'i finalize etmek.
|
|
1024
|
+
|
|
1025
|
+
### 13.6 Lifecycle anti-patterns
|
|
1026
|
+
|
|
1027
|
+
#### 13.6.1 Overview
|
|
1028
|
+
|
|
1029
|
+
13. Kullanilan discuss topic uid'sine ve material decision/issue'lara reference yapan memory record olmadan koordineli isi (oda/board) kapatmak. Oda mesaj akisi tek basina archaeology; durable summary olmadan resume edilemez.
|
|
1030
|
+
14. Review item'lari yalniz review timeline'inda track etmek; actionable item'lar `pm issue`'da da olmali ki progress review/oda lifecycle'i disinda survive etsin.
|
|
1031
|
+
15. Operator closeout istemeden `pm board closeout` veya hosted oda kapanisi calistirmak. Operator closeout istediyse bu kapanis kaydini atlamak da lifecycle drift'i yapar.
|
|
1032
|
+
16. Discuss/koordinasyon plan veya slice artifact'ini default olarak repo `docs/**`, `.codex-tmp/**`, ya da non-AOPS folder'a tasimak. Discuss output, hosted oda mesaji/binding, ya da explicit Agentspace artifact/resource ref olarak tut, operator dis-doc istemediyse.
|
|
1033
|
+
|
|
1034
|
+
### 13.7 Raporlama anti-patterns
|
|
1035
|
+
|
|
1036
|
+
#### 13.7.1 Overview
|
|
1037
|
+
|
|
1038
|
+
17. Raw chat transcript'i Docman raporlarina yazmak (summary/ref section'lari yerine).
|
|
1039
|
+
18. Live participant varken peer handoff event ve paired chat ping olmadan session kapatmak.
|
|
1040
|
+
|
|
1041
|
+
## 14 Troubleshooting
|
|
1042
|
+
|
|
1043
|
+
### 14.1 Listener her loop'ta `work-ready` donuyor ama yeni mesaj yok
|
|
1044
|
+
|
|
1045
|
+
#### 14.1.1 Overview
|
|
1046
|
+
|
|
1047
|
+
Probable cause: hosted oda read cursor'u ilerletilmemis unread mesaj. `chat listen`/`chat inbox` peek'tir; advance edilmemis unread her loop'ta `0` (unread) dondurur.
|
|
1048
|
+
|
|
1049
|
+
Cozum: mesaji oku ve cursor'u ilerlet — `chat catchup --apply` veya `chat mark-read --apply`, sonra listener re-arm (Directive ACK obligation bolumu).
|
|
1050
|
+
|
|
1051
|
+
### 14.2 `wakeSource=chat` ama yeni mesaj gormiyorum
|
|
1052
|
+
|
|
1053
|
+
#### 14.2.1 Overview
|
|
1054
|
+
|
|
1055
|
+
Probable cause: kendi yaziman self-wakeup. `chat listen` kendi oda append'inde de tetiklenir.
|
|
1056
|
+
|
|
1057
|
+
Cozum: read cursor'u (`lastSeenSeq`) kontrol et; gerekirse `chat catchup --apply` veya `chat mark-read --apply` ile unread'i okuyup cursor'u ilerlet, sonra listener re-arm (Loop discipline ve exit codes bolumundeki self-wakeup notu).
|
|
1058
|
+
|
|
1059
|
+
### 14.3 Iki agent da listener'da, hicbir traffic gelmiyor
|
|
1060
|
+
|
|
1061
|
+
#### 14.3.1 Overview
|
|
1062
|
+
|
|
1063
|
+
Probable cause: mutual idle. Her ikisi de oburunu bekliyor.
|
|
1064
|
+
|
|
1065
|
+
Cozum: 2 stale cycle sonra `still-waiting-on:<agent>` status event yaz, listener re-arm et — §8.4.
|
|
1066
|
+
|
|
1067
|
+
### 14.4 Board/oda closeout block ediyor
|
|
1068
|
+
|
|
1069
|
+
#### 14.4.1 Overview
|
|
1070
|
+
|
|
1071
|
+
Probable cause: operator-onayli board/oda closeout'u, hala open olan in-session PM issue'lar (carry-forward edilmedi), tamamlanmamis peer handoff (live participant var), ya da bagli active discuss topic'in henuz conclude edilmemis olmasi yuzunden atlanmamali.
|
|
1072
|
+
|
|
1073
|
+
Cozum:
|
|
1074
|
+
1. `pm issue list` ile review/oda'ya tagli open issue'lari kontrol et — close veya carry-forward et.
|
|
1075
|
+
2. `discuss list` ile ilgili active discuss topic'leri kontrol et — gerekiyorsa conclude et.
|
|
1076
|
+
3. Closeout peer handoff bolumundeki peer handoff'u yaz ve bagli odaya duyur.
|
|
1077
|
+
4. Sonra Operator-approved work-end closeout sequence'i takip et (`pm board closeout` + oda arsivleme).
|
|
1078
|
+
|
|
1079
|
+
### 14.5 Skill veya user guide'da arama
|
|
1080
|
+
|
|
1081
|
+
#### 14.5.1 Overview
|
|
1082
|
+
|
|
1083
|
+
Tum dosyayi linear okumak yerine docman tools'unu kullan:
|
|
1084
|
+
|
|
1085
|
+
```bash
|
|
1086
|
+
aops doc scope search --project-slug aops --q "<keyword>" --local --json
|
|
1087
|
+
aops doc search --document-version-id <docver-id> --q "<keyword>" --local --json
|
|
1088
|
+
aops doc outline get --document-version-id <docver-id> --titles-only --depth 0 --json
|
|
1089
|
+
aops view doc-page agentspace-user-guide#<section-slug> --max-bytes 6000
|
|
1090
|
+
```
|
|
1091
|
+
|
|
1092
|
+
Pointer: `doc scope search` broad discovery icindir; hedef dokuman biliniyorsa `doc search --document-version-id` ile daralt, sonra tam section body icin `view doc-page` kullan. `aops docman ... --slug` komutu yoktur.
|
|
1093
|
+
|
|
1094
|
+
### 14.6 Daha fazla detay
|
|
1095
|
+
|
|
1096
|
+
#### 14.6.1 Overview
|
|
1097
|
+
|
|
1098
|
+
Her komut icin authoritative source `aops <subcommand> --help`'tir. Skill text'i pattern ve workflow guide'idir; flag/exit-code/argument detayi her zaman `--help`'den dogrulan.
|