@bcelep/capint 0.6.5 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENT.md +1 -1
- package/CHANGELOG.md +23 -0
- package/bin/capint.js +11 -2
- package/docs/PRD-capint.md +94 -0
- package/docs/PRD-v0.5-agent-capability-activation.md +10 -1
- package/docs/architecture-decisions.md +2 -0
- package/docs/capint-rehber.md +439 -0
- package/docs/capint-stack.md +118 -0
- package/docs/community.md +19 -0
- package/docs/conventions/daily-use.md +15 -1
- package/docs/eval/beginner-test-protocol.md +39 -0
- package/docs/eval/survey-template.md +16 -0
- package/docs/generated/README.md +6 -0
- package/docs/generated/execution-intent.v1.md +211 -0
- package/docs/generated/explanation.v1.md +127 -0
- package/docs/generated/explanation.v2.md +142 -0
- package/docs/generated/ui-api.v1.md +178 -0
- package/docs/maintainer-dogfood.md +3 -2
- package/docs/recipes/memory-graph-pairing.md +200 -0
- package/docs/skill-audit-runbook.md +32 -0
- package/locales/en.json +27 -0
- package/locales/tr.json +27 -0
- package/package.json +4 -2
- package/projections/session-start.md +14 -2
- package/schemas/execution-intent.v1.json +69 -0
- package/schemas/explanation.v2.json +51 -0
- package/schemas/ui-api.v1.json +85 -0
- package/scripts/generate-schema-docs.mjs +104 -0
- package/scripts/release-check.mjs +10 -0
- package/skills/prismx-skill-gateway/SKILL.md +10 -3
- package/src/commands/doctor.js +9 -0
- package/src/commands/feedback.js +29 -0
- package/src/commands/init.js +12 -0
- package/src/commands/providers.js +54 -0
- package/src/commands/skill.js +27 -0
- package/src/commands/stack.js +97 -0
- package/src/lib/audit.js +9 -1
- package/src/lib/contract.js +9 -0
- package/src/lib/doctor.js +69 -3
- package/src/lib/execution-policy.js +3 -1
- package/src/lib/explanation-plain.js +72 -0
- package/src/lib/explanation.js +26 -2
- package/src/lib/feedback.js +65 -0
- package/src/lib/i18n.js +43 -0
- package/src/lib/providers/doctor.js +205 -0
- package/src/lib/scaffold/index.js +2 -1
- package/src/lib/scaffold/presets.js +20 -0
- package/src/lib/skill-audit.js +141 -0
- package/src/lib/stack/index.js +259 -0
- package/src/lib/ui-server.js +92 -5
- package/templates/minimal/DONE.md +10 -0
- package/templates/minimal/GUNLUK.md +15 -1
- package/templates/minimal/docs/conventions/daily-use.md +3 -1
- package/ui/app.js +100 -10
- package/ui/index.html +22 -1
package/AGENT.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
CapInt is an IDE-native, capability-first orchestration engine.
|
|
4
4
|
|
|
5
|
-
> **Maintainer repo:** read [HANDOFF.md](HANDOFF.md) first · dogfood: [docs/maintainer-dogfood.md](docs/maintainer-dogfood.md)
|
|
5
|
+
> **Maintainer repo:** read [HANDOFF.md](HANDOFF.md) first · completed: [DONE.md](DONE.md) · dogfood: [docs/maintainer-dogfood.md](docs/maintainer-dogfood.md)
|
|
6
6
|
|
|
7
7
|
## Task contract
|
|
8
8
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.0 — 2026-05-30
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- **Schema hub:** `execution-intent.v1.json`, `explanation.v2.json`, `ui-api.v1.json` + `scripts/generate-schema-docs.mjs`
|
|
7
|
+
- **`capint skill audit`** — orphan/ghost/unreferenced/stale backup findings
|
|
8
|
+
- **`capint feedback --summary`** — local `.capint/feedback/` aggregate
|
|
9
|
+
- **i18n:** `locales/tr.json`, `locales/en.json`, `CAPINT_LOCALE`, `reason_plain` + tooltip on explanation
|
|
10
|
+
- **Doctor actions** — structured recover/enable suggestions; UI `/api/recover` + one-click fix
|
|
11
|
+
- **UI:** FAQ link, plain/technical plan card, micro-survey on step 4
|
|
12
|
+
- **Tests:** `cli-ui-parity`, `skill-audit`, expanded Playwright recover flow
|
|
13
|
+
- **Docs:** skill-audit runbook, beginner test protocol, survey template, community.md, **`docs/capint-rehber.md`**, **`docs/capint-stack.md`**, memory-graph pairing recipe
|
|
14
|
+
- **`capint stack`** — unified 4-layer doctor/setup + `graph paths` / `graph sync` (workflows + routing + graphify + agentmemory)
|
|
15
|
+
- **`capint providers doctor`** — tier 0–2 sidecar diagnostics (graphify, agentmemory, local context)
|
|
16
|
+
- **`capint init --stack`** — post-init stack wiring + `.capint/stack.json` manifest
|
|
17
|
+
- **Providers lib** — local memory/graph adapter stubs + activation policy
|
|
18
|
+
|
|
19
|
+
### Changed
|
|
20
|
+
- Init/scaffold copies `.capint/schemas/` from package
|
|
21
|
+
- `validate-explanation` uses v2 schema (backward compatible)
|
|
22
|
+
- Release-check: 38 steps (was 28)
|
|
23
|
+
- Audit command merges skill audit findings
|
|
24
|
+
- `GUNLUK.md` template — 4-layer stack summary; providers recipe points to capint-stack
|
|
25
|
+
|
|
3
26
|
## 0.6.5 — 2026-05-30
|
|
4
27
|
|
|
5
28
|
### Added
|
package/bin/capint.js
CHANGED
|
@@ -39,6 +39,10 @@ async function main() {
|
|
|
39
39
|
return require("../src/commands/upgrade")(args.slice(1), flags);
|
|
40
40
|
case "memory":
|
|
41
41
|
return require("../src/commands/memory")(args.slice(1), flags);
|
|
42
|
+
case "providers":
|
|
43
|
+
return require("../src/commands/providers")(args.slice(1), flags);
|
|
44
|
+
case "stack":
|
|
45
|
+
return require("../src/commands/stack")(args.slice(1), flags);
|
|
42
46
|
case "skill":
|
|
43
47
|
return require("../src/commands/skill")(args.slice(1), flags);
|
|
44
48
|
case "recover":
|
|
@@ -47,6 +51,8 @@ async function main() {
|
|
|
47
51
|
return require("../src/commands/ui")(args.slice(1), flags);
|
|
48
52
|
case "pipeline":
|
|
49
53
|
return require("../src/commands/pipeline")(args.slice(1), flags);
|
|
54
|
+
case "feedback":
|
|
55
|
+
return require("../src/commands/feedback")(args.slice(1), flags);
|
|
50
56
|
case "version":
|
|
51
57
|
case "--version":
|
|
52
58
|
case "-v":
|
|
@@ -80,17 +86,20 @@ Usage:
|
|
|
80
86
|
capint doctor [--json] diagnose drift (no auto-fix)
|
|
81
87
|
capint audit [--json] project + contract audit (read-only)
|
|
82
88
|
|
|
83
|
-
capint init [--preset minimal] [--bundle full|minimal] [--name Project] [--no-ide-sync] [--json]
|
|
89
|
+
capint init [--preset minimal] [--bundle full|minimal] [--name Project] [--no-ide-sync] [--stack] [--json]
|
|
90
|
+
capint stack doctor|setup|graph paths|graph sync [--json] unified stack (docs/capint-stack.md)
|
|
84
91
|
capint scaffold [--preset minimal|prismx-compatible] [--list] [--json]
|
|
85
92
|
|
|
86
93
|
capint ide sync|check [--dry-run] [--json] [--targets cursor,claude,...]
|
|
87
94
|
capint uninstall [--dry-run] [--yes] [--keep-agent] [--keep-ide] [--include-sidecars]
|
|
88
95
|
capint upgrade [--dry-run] [--apply]
|
|
89
96
|
capint recover [--list] [--latest] [--stamp <id>] [--apply]
|
|
90
|
-
capint skill list|disable|enable|pin [--json]
|
|
97
|
+
capint skill list|disable|enable|pin|audit [--json]
|
|
91
98
|
capint ui [--port 3721] [--open] [--json]
|
|
92
99
|
capint pipeline ["<task>"] [--json] [--skip-ide] [--force]
|
|
100
|
+
capint feedback --summary [--json]
|
|
93
101
|
capint memory status [--json]
|
|
102
|
+
capint providers doctor [--json] tier detail (prefer: capint stack doctor)
|
|
94
103
|
|
|
95
104
|
capint version
|
|
96
105
|
`);
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# PRD — CapInt (`@bcelep/capint`)
|
|
2
|
+
|
|
3
|
+
**Status:** Active · **Baseline:** 0.7.0 · **Date:** 2026-05-30
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. Executive Summary
|
|
8
|
+
|
|
9
|
+
**Problem:** IDE agentları skill adlarını ezberletmeden doğru capability seçemiyor; kurulum, routing, explainability ve recovery dağınık.
|
|
10
|
+
|
|
11
|
+
**Solution:** CapInt — chat-first capability router: natural language → Execution Intent → `skills/*/SKILL.md` okuma → apply gate. CLI kaynak; `capint init` ile projeye bundle; `capint ui` ile terminal-siz onboarding.
|
|
12
|
+
|
|
13
|
+
**Success (KPI):**
|
|
14
|
+
|
|
15
|
+
| KPI | Target |
|
|
16
|
+
|-----|--------|
|
|
17
|
+
| `npm test` (release-check) | 34/34 |
|
|
18
|
+
| Medium+ görevde skill okuma | Agent contract |
|
|
19
|
+
| Workspace dışı yazma | 0 (override hariç) |
|
|
20
|
+
| Beginner wizard tamamlama | ≥80% (protocol: n=3) |
|
|
21
|
+
| Explainability clarity | ≥4/5 survey |
|
|
22
|
+
| Broken config → green doctor | ≤2 dk (`capint recover`) |
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 2. Product Scope
|
|
27
|
+
|
|
28
|
+
### In scope
|
|
29
|
+
|
|
30
|
+
- `capint route` / `consult` — Execution Intent + `explanation` (plain + technical)
|
|
31
|
+
- Init scaffold: matrix, registry, skills, `.capint/schemas/`
|
|
32
|
+
- Adaptive confirm (`devam` / `plan` / `analiz`)
|
|
33
|
+
- Skill health: `disable|enable|pin`, `skill audit`, `recover`
|
|
34
|
+
- IDE sync: Cursor, Claude, Gemini, Antigravity
|
|
35
|
+
- `capint ui` wizard + `/api/recover` + local feedback
|
|
36
|
+
- i18n: `CAPINT_LOCALE`, TR/EN UI strings + `reason_plain`
|
|
37
|
+
|
|
38
|
+
### Out of scope
|
|
39
|
+
|
|
40
|
+
- Vector DB, autonomous agent swarm
|
|
41
|
+
- Cursor global skill picker’a 115 skill kaydı
|
|
42
|
+
- Hosted SaaS dashboard / external survey SaaS
|
|
43
|
+
- PrismX meta-repo (ayrı hatt)
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 3. User Stories (özet)
|
|
48
|
+
|
|
49
|
+
| ID | Story | Durum |
|
|
50
|
+
|----|-------|-------|
|
|
51
|
+
| US-1–10 | Core routing, boundary, bundle, explain, recover | ✅ 0.6.x |
|
|
52
|
+
| US-11 | CLI/UI parity via shared contract + harness | ✅ 0.7.0 |
|
|
53
|
+
| US-12 | Skill audit / orphan detection | ✅ 0.7.0 |
|
|
54
|
+
| US-13 | Plain + technical explanation + i18n | ✅ 0.7.0 |
|
|
55
|
+
| US-14 | Beginner doctor one-click recover (UI) | ✅ 0.7.0 |
|
|
56
|
+
| US-15 | Local micro-survey + n=3 protocol | ✅ docs + API |
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 4. Technical Architecture
|
|
61
|
+
|
|
62
|
+
```
|
|
63
|
+
User chat / capint ui
|
|
64
|
+
↓
|
|
65
|
+
capint route (shared route-engine)
|
|
66
|
+
↓
|
|
67
|
+
schemas/ · skill-routing-matrix.json · registry.json
|
|
68
|
+
↓
|
|
69
|
+
doctor · skill audit · recover · feedback (local)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
**Canonical artifacts:** `schemas/*.json`, `docs/generated/`, `locales/tr|en.json`
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 5. Roadmap
|
|
77
|
+
|
|
78
|
+
**Shipped (0.7.0):** schema hub, cli-ui-parity tests, explanation v2, skill audit, doctor actions, UI recover, feedback API, i18n
|
|
79
|
+
|
|
80
|
+
**Backlog (0.7.1+):**
|
|
81
|
+
|
|
82
|
+
- `skill audit --archive` (apply moves)
|
|
83
|
+
- Beginner n=3 moderated sessions (manual KPI)
|
|
84
|
+
- CI GitHub Actions template
|
|
85
|
+
- Maintainer `dogfood-setup` script
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 6. References
|
|
90
|
+
|
|
91
|
+
- Detay spec: [PRD-v0.5-agent-capability-activation.md](PRD-v0.5-agent-capability-activation.md)
|
|
92
|
+
- Contract: [execution-intent-contract.md](execution-intent-contract.md)
|
|
93
|
+
- Skill audit: [skill-audit-runbook.md](skill-audit-runbook.md)
|
|
94
|
+
- Eval: [eval/beginner-test-protocol.md](eval/beginner-test-protocol.md)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
**Status:** Draft v2 (review incorporated)
|
|
4
4
|
**Author:** CapInt route → `spec-authoring` / `prd`
|
|
5
5
|
**Date:** 2026-05-30
|
|
6
|
-
**Package baseline:** `@bcelep/capint@0.
|
|
6
|
+
**Package baseline:** `@bcelep/capint@0.7.0`
|
|
7
7
|
**Changelog:** v2 — dual-segment UX, explainability, skill lifecycle, CLI power-user, capint-ui prototype spec
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -383,6 +383,15 @@ capint route --json "prd hazırla" | ConvertFrom-Json | Select-Object -ExpandPro
|
|
|
383
383
|
- [x] Registry validator + consult/status smokes
|
|
384
384
|
- [ ] Beginner moderated test (n=3) — manual KPI backlog
|
|
385
385
|
|
|
386
|
+
**v0.7.0 — UX & contract parity**
|
|
387
|
+
- [x] Schema hub (`execution-intent`, `explanation.v2`, `ui-api`) + generated docs
|
|
388
|
+
- [x] CLI/UI parity harness + expanded release-check (34 steps)
|
|
389
|
+
- [x] `reason_plain` + tooltip + `CAPINT_LOCALE` (TR/EN)
|
|
390
|
+
- [x] `capint skill audit` + runbook
|
|
391
|
+
- [x] Doctor `actions[]` + UI `/api/recover` one-click fix
|
|
392
|
+
- [x] Local `/api/feedback` + `capint feedback --summary`
|
|
393
|
+
- [ ] Beginner moderated test (n=3) — execute per [eval/beginner-test-protocol.md](eval/beginner-test-protocol.md)
|
|
394
|
+
|
|
386
395
|
### Technical Risks (extended)
|
|
387
396
|
|
|
388
397
|
| Risk | Mitigation |
|
|
@@ -91,5 +91,7 @@ Default: off. Does not block route hot-path when disabled.
|
|
|
91
91
|
| obra/superpowers | evidence-before-claims | full subagent army on light tasks |
|
|
92
92
|
| msitarzewski/agency-agents | convert/install UX | 144 persona default bundle |
|
|
93
93
|
| MemPalace / agentmemory / graphify | adapter contracts | core embedding, hooks, MCP surfaces |
|
|
94
|
+
|
|
95
|
+
Pairing recipe: [docs/recipes/memory-graph-pairing.md](recipes/memory-graph-pairing.md) · Diagnostic: `capint providers doctor`
|
|
94
96
|
| giancarloerra/SocratiCode | provider boundary | AGPL docker stack in core |
|
|
95
97
|
| revfactory/harness | orchestration patterns reference | team factory in router core |
|
|
@@ -0,0 +1,439 @@
|
|
|
1
|
+
# CapInt ve Yan Eklentiler — Nedir, Ne İşe Yarar, Nasıl Kurulur
|
|
2
|
+
|
|
3
|
+
> Bu rehber teknik olmayan bir geliştirici için yazıldı.
|
|
4
|
+
> Amaç: **CapInt**, **agentmemory** (hafıza) ve **graphify** (harita) ne, neden var, nasıl takılır — net cevap.
|
|
5
|
+
|
|
6
|
+
**İlgili:** [capint-stack.md](capint-stack.md) · [kullanim-kilavuzu.md](kullanim-kilavuzu.md)
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## İçindekiler
|
|
11
|
+
|
|
12
|
+
1. [Büyük resim](#1-büyük-resim)
|
|
13
|
+
2. [CapInt nedir?](#2-capint-nedir)
|
|
14
|
+
3. [CapInt ne işe yarar?](#3-capint-ne-işe-yarar)
|
|
15
|
+
4. [CapInt nasıl kurulur?](#4-capint-nasıl-kurulur)
|
|
16
|
+
5. [CapInt günlük nasıl kullanılır?](#5-capint-günlük-nasıl-kullanılır)
|
|
17
|
+
6. [agentmemory — hafıza eklentisi](#6-agentmemory--hafıza-eklentisi)
|
|
18
|
+
7. [graphify — kod haritası eklentisi](#7-graphify--kod-haritası-eklentisi)
|
|
19
|
+
8. [Üçü birlikte nasıl çalışır?](#8-üçü-birlikte-nasıl-çalışır)
|
|
20
|
+
9. [Yeni proje kontrol listesi](#9-yeni-proje-kontrol-listesi)
|
|
21
|
+
10. [Ne zaman neyi yenilersin?](#10-ne-zaman-neyi-yenilersin)
|
|
22
|
+
11. [Sık sorulan sorular](#11-sık-sorulan-sorular)
|
|
23
|
+
12. [Basit sorun giderme](#12-basit-sorun-giderme)
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## 1. Büyük resim
|
|
28
|
+
|
|
29
|
+
Cursor'daki yapay zekâ güçlü ama **her oturumda sıfırdan başlıyormuş gibi** davranabilir. CapInt bunu düzeltmeye çalışır.
|
|
30
|
+
|
|
31
|
+
Üç parça var:
|
|
32
|
+
|
|
33
|
+
| Parça | Tek cümle | Kurulum |
|
|
34
|
+
|-------|-----------|---------|
|
|
35
|
+
| **CapInt** | Projeye "AI nasıl çalışsın" kurallarını koyar | **Her proje** için bir kez |
|
|
36
|
+
| **agentmemory** | Geçmiş konuşmaları hatırlatır | **Bilgisayarda** bir kez |
|
|
37
|
+
| **graphify** | Projenin dosya haritasını çıkarır | Program bir kez, **harita her proje** için bir kez |
|
|
38
|
+
|
|
39
|
+
**CapInt tek başına yeterli mi?**
|
|
40
|
+
Evet — günlük geliştirme için CapInt + proje notları (`HANDOFF`, `DONE`) çoğu işi görür.
|
|
41
|
+
|
|
42
|
+
**agentmemory + graphify şart mı?**
|
|
43
|
+
Hayır. Ama eklediğinde AI daha az "unutkan" olur ve projeyi daha iyi tanır.
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 2. CapInt nedir?
|
|
48
|
+
|
|
49
|
+
CapInt bir **uygulama değil**. npm paketi olarak gelen, projene kopyalanan **kural ve rehber seti**.
|
|
50
|
+
|
|
51
|
+
Kurduğunda projene şunlar gelir:
|
|
52
|
+
|
|
53
|
+
| Dosya / klasör | Ne işe yarar |
|
|
54
|
+
|----------------|--------------|
|
|
55
|
+
| `GUNLUK.md` | "Bugün chat'te nasıl konuşurum" — günlük giriş noktan |
|
|
56
|
+
| `HANDOFF.md` | "Dün ne yapıyorduk, sırada ne var" |
|
|
57
|
+
| `DONE.md` | "Ne bitti" — tekrar yapılmasın diye |
|
|
58
|
+
| `design.md` | Projenin amacı, sınırları, kararlar |
|
|
59
|
+
| `AGENT.md` | AI'ya genel davranış kuralları |
|
|
60
|
+
| `workflows/` | Büyük işler için hazır sohbet akışları |
|
|
61
|
+
| `skills/` | Belirli iş türleri için uzman modları |
|
|
62
|
+
| `skill-routing-matrix.json` | "Bu iş hangi uzman moduna gitsin" tablosu |
|
|
63
|
+
|
|
64
|
+
**CapInt kod yazmaz.** Cursor'daki AI'ya *nasıl davranacağını* söyler.
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 3. CapInt ne işe yarar?
|
|
69
|
+
|
|
70
|
+
### 3.1 Oturumlar arası devamlılık
|
|
71
|
+
|
|
72
|
+
AI her seferinde "projeyi ilk kez görüyorum" moduna girmesin diye `HANDOFF.md` ve `DONE.md` kullanırsın. Oturum kapanırken agent bunları günceller; yeni oturumda okur.
|
|
73
|
+
|
|
74
|
+
### 3.2 İş büyüklüğüne göre davranış
|
|
75
|
+
|
|
76
|
+
- Küçük iş (renk, typo, tek dosya) → direkt yap
|
|
77
|
+
- Orta/büyük iş (yeni özellik, refactor) → önce kısa plan, onay, sonra kod
|
|
78
|
+
|
|
79
|
+
Bunu her seferinde sen söylemek zorunda kalmazsın; CapInt kuralları bunu AI'ya öğretir.
|
|
80
|
+
|
|
81
|
+
### 3.3 Büyük işlerde dağılmama
|
|
82
|
+
|
|
83
|
+
Büyük işler için chat'te kullanılan hazır akışlar:
|
|
84
|
+
|
|
85
|
+
| Kısayol | Ne zaman | Ne yapar |
|
|
86
|
+
|---------|----------|----------|
|
|
87
|
+
| `/genesis` | Sıfırdan veya büyük yeniden tasarım | Önce ne istediğini netleştirir, doküman çıkarır |
|
|
88
|
+
| `/blueprint` | Tasarım belli, iş listesi lazım | Görevleri parçalar |
|
|
89
|
+
| `/challenge` | Kodlamadan önce | Planı sorgular, riskleri sorar |
|
|
90
|
+
| `/forge` | Uygulama | Dikkatli kodlar; bozulan şeyleri geri almaya odaklanır |
|
|
91
|
+
|
|
92
|
+
Bunlar terminal komutu değil — **Cursor chat'e yazdığın kelimeler**.
|
|
93
|
+
|
|
94
|
+
### 3.4 Doğru "uzman modu" seçimi
|
|
95
|
+
|
|
96
|
+
"SEO audit", "güvenlik", "PR yaz" gibi işler farklı beceriler ister. CapInt hangi skill'in devreye gireceğini seçer; sen isim ezberlemezsin.
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## 4. CapInt nasıl kurulur?
|
|
101
|
+
|
|
102
|
+
### 4.1 Gereksinim
|
|
103
|
+
|
|
104
|
+
- Node.js 18+ (bilgisayarda bir kez)
|
|
105
|
+
- Cursor IDE
|
|
106
|
+
- Proje klasörün (ör. `efesusstone`)
|
|
107
|
+
|
|
108
|
+
### 4.2 Proje klasöründe kurulum
|
|
109
|
+
|
|
110
|
+
Terminali proje kökünde aç:
|
|
111
|
+
|
|
112
|
+
```powershell
|
|
113
|
+
cd C:\bc-proje\senin-projen
|
|
114
|
+
npx @bcelep/capint init --bundle full --stack
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**Ne olur?**
|
|
118
|
+
|
|
119
|
+
- CapInt dosyaları projene kopyalanır
|
|
120
|
+
- `--stack` ile graphify için proje kuralı da hazırlanmaya çalışılır
|
|
121
|
+
- Mevcut dosyaların üzerine körlemesine yazılmaz (çakışma varsa atlar)
|
|
122
|
+
|
|
123
|
+
### 4.3 Kurulumdan sonra
|
|
124
|
+
|
|
125
|
+
1. `GUNLUK.md` dosyasını aç — günlük kullanım buradan
|
|
126
|
+
2. Cursor chat'e geç — artık asıl iş chat'te
|
|
127
|
+
3. İsteğe bağlı: `capint stack doctor` ile "her şey tamam mı" bak (tek satır özet)
|
|
128
|
+
|
|
129
|
+
**CapInt'i her proje için ayrı kurarsın** — çünkü kurallar ve notlar o projeye özel.
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 5. CapInt günlük nasıl kullanılır?
|
|
134
|
+
|
|
135
|
+
### 5.1 Tipik bir gün
|
|
136
|
+
|
|
137
|
+
1. Cursor'u aç, projeyi aç
|
|
138
|
+
2. Chat'e Türkçe yaz: *"Dünkü ödeme sayfasına devam edelim"* veya *"header'daki logoyu büyüt"*
|
|
139
|
+
3. Agent kısa bir özet gösterir (Intent / ne yapacağı / onay gerekip gerekmediği)
|
|
140
|
+
4. Hafif işse direkt yapar; büyük işse `devam` / `plan` / `analiz` dersin
|
|
141
|
+
5. Bitince: *"kapan"* veya *"HANDOFF güncelle"* — agent `DONE.md` ve `HANDOFF.md` yazar
|
|
142
|
+
|
|
143
|
+
### 5.2 Terminal ne zaman?
|
|
144
|
+
|
|
145
|
+
| Durum | Terminal |
|
|
146
|
+
|-------|----------|
|
|
147
|
+
| Günlük geliştirme | **Gerek yok** — chat yeter |
|
|
148
|
+
| Yeni proje | Bir kez `capint init` |
|
|
149
|
+
| "Her şey tamam mı?" | `capint stack doctor` |
|
|
150
|
+
| Sorun var | `capint doctor` |
|
|
151
|
+
|
|
152
|
+
### 5.3 Senin yapman gereken alışkanlıklar
|
|
153
|
+
|
|
154
|
+
- Oturum sonunda HANDOFF'u güncel tut (agent'a bırakabilirsin)
|
|
155
|
+
- Büyük işe `/blueprint` veya `/forge` ile gir
|
|
156
|
+
- Küçük işte gereksiz süreç açma — normal konuş
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## 6. agentmemory — hafıza eklentisi
|
|
161
|
+
|
|
162
|
+
### 6.1 Nedir?
|
|
163
|
+
|
|
164
|
+
**agentmemory**, AI'nın **geçmiş konuşmaları** hatırlamasına yardım eden ayrı bir program. CapInt'in içinde değil; bilgisayarında arka planda çalışan bir **hafıza servisi**.
|
|
165
|
+
|
|
166
|
+
### 6.2 Ne işe yarar?
|
|
167
|
+
|
|
168
|
+
| CapInt notları (`HANDOFF`) | agentmemory |
|
|
169
|
+
|----------------------------|-------------|
|
|
170
|
+
| Senin yazdığın / agent'ın özetlediği **proje notları** | **Chat geçmişi** ve oturumlar arası bağlam |
|
|
171
|
+
| "Sırada ne var?" | "Geçen hafta ne konuştuk?" |
|
|
172
|
+
|
|
173
|
+
İkisi birbirinin yerine geçmez; **birlikte** daha iyi olur.
|
|
174
|
+
|
|
175
|
+
### 6.3 Nasıl eklenir? (bilgisayarda bir kez)
|
|
176
|
+
|
|
177
|
+
**Adım 1 — Programı kur**
|
|
178
|
+
|
|
179
|
+
```powershell
|
|
180
|
+
npm install -g @agentmemory/agentmemory
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
Windows'ta ayrıca `iii-engine` gerekir (agentmemory'nin arka plan motoru). Kurulu değilse [agentmemory dokümantasyonuna](https://github.com/rohitg00/agentmemory) bak.
|
|
184
|
+
|
|
185
|
+
**Adım 2 — Cursor'a bağla**
|
|
186
|
+
|
|
187
|
+
Cursor'un MCP ayarına agentmemory eklenir. Windows'ta bazen otomatik bağlantı çalışmaz; o zaman `~/.cursor/mcp.json` içine agentmemory bloğu elle eklenir.
|
|
188
|
+
|
|
189
|
+
**Adım 3 — Çalıştır**
|
|
190
|
+
|
|
191
|
+
Ayrı bir terminal penceresinde (bilgisayar açıkken):
|
|
192
|
+
|
|
193
|
+
```powershell
|
|
194
|
+
agentmemory
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
Bu pencere açık kalsın veya arka planda servis olarak çalışsın.
|
|
198
|
+
|
|
199
|
+
### 6.4 Her proje için ayrı mı?
|
|
200
|
+
|
|
201
|
+
**Hayır.**
|
|
202
|
+
|
|
203
|
+
- Program: bilgisayarda **bir kez**
|
|
204
|
+
- Cursor bağlantısı: **bir kez**
|
|
205
|
+
- Her yeni proje: agentmemory'yi **tekrar kurmazsın**
|
|
206
|
+
|
|
207
|
+
Tüm projeler aynı hafıza servisini kullanır.
|
|
208
|
+
|
|
209
|
+
### 6.5 Kurduktan sonra proje başına ne yaparsın?
|
|
210
|
+
|
|
211
|
+
**Pratikte hiçbir şey.**
|
|
212
|
+
Cursor açık + agentmemory çalışıyorsa hafıza devreye girer. CapInt init vs. tekrar gerekmez.
|
|
213
|
+
|
|
214
|
+
### 6.6 Çalışıyor mu nasıl anlarsın?
|
|
215
|
+
|
|
216
|
+
- Cursor'da agent geçmişe daha iyi atıf yapıyorsa
|
|
217
|
+
- veya `capint stack doctor` içinde memory satırı `ok` ise
|
|
218
|
+
|
|
219
|
+
Kapalıysa: `agentmemory` terminalini tekrar aç.
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## 7. graphify — kod haritası eklentisi
|
|
224
|
+
|
|
225
|
+
### 7.1 Nedir?
|
|
226
|
+
|
|
227
|
+
**graphify**, projenin **kod haritasını** çıkaran ayrı bir araç. "Hangi klasör ne işe yarıyor, dosyalar nasıl bağlı" sorusuna cevap üretir. CapInt'in içinde değil.
|
|
228
|
+
|
|
229
|
+
### 7.2 Ne işe yarar?
|
|
230
|
+
|
|
231
|
+
AI büyük projede kaybolmasın diye:
|
|
232
|
+
|
|
233
|
+
- `GRAPH_REPORT.md` — okunabilir özet rapor
|
|
234
|
+
- `graph.json` — yapısal harita (CapInt `.capint/graph/` altında okur)
|
|
235
|
+
|
|
236
|
+
Özellikle Next.js gibi `app/`, `lib/`, `components/` yapısında "`/src` yok" projelerde faydalı.
|
|
237
|
+
|
|
238
|
+
### 7.3 Nasıl eklenir?
|
|
239
|
+
|
|
240
|
+
#### Bilgisayarda bir kez (program)
|
|
241
|
+
|
|
242
|
+
```powershell
|
|
243
|
+
uv tool install graphifyy
|
|
244
|
+
graphify install cursor
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
`uv` yoksa önce Python/uv kurulumu gerekir — graphify dokümantasyonuna bak.
|
|
248
|
+
|
|
249
|
+
#### Her proje için bir kez (harita)
|
|
250
|
+
|
|
251
|
+
**Adım 1 — CapInt zaten kurulu olsun**
|
|
252
|
+
|
|
253
|
+
```powershell
|
|
254
|
+
capint init --bundle full --stack
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
(`--stack` proje içinde graphify Cursor kuralını eklemeye çalışır.)
|
|
258
|
+
|
|
259
|
+
**Adım 2 — Cursor chat'te haritayı çıkar**
|
|
260
|
+
|
|
261
|
+
Proje yapına göre. Örnekler:
|
|
262
|
+
|
|
263
|
+
- Klasik proje (`src/` var):
|
|
264
|
+
|
|
265
|
+
```
|
|
266
|
+
/graphify ./src
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
- Next.js (src yok):
|
|
270
|
+
|
|
271
|
+
```
|
|
272
|
+
/graphify ./app ./lib ./components
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
Hangi klasörler? Terminalde:
|
|
276
|
+
|
|
277
|
+
```powershell
|
|
278
|
+
capint stack graph paths
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
**Adım 3 — Haritayı CapInt yoluna kopyala**
|
|
282
|
+
|
|
283
|
+
graphify çıktıyı `graphify-out/` klasörüne yazar. CapInt'in okuması için:
|
|
284
|
+
|
|
285
|
+
```powershell
|
|
286
|
+
capint stack graph sync
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
Bu komut şunları oluşturur/günceller:
|
|
290
|
+
|
|
291
|
+
- `GRAPH_REPORT.md` (proje kökü)
|
|
292
|
+
- `.capint/graph/graph.json`
|
|
293
|
+
|
|
294
|
+
### 7.4 Her proje için ayrı mı?
|
|
295
|
+
|
|
296
|
+
| Ne | Sıklık |
|
|
297
|
+
|----|--------|
|
|
298
|
+
| graphify programı | Bilgisayarda **bir kez** |
|
|
299
|
+
| Cursor genel kuralı | **Bir kez** |
|
|
300
|
+
| Proje içi graphify kuralı | **Her proje** (`init --stack` veya `graphify install cursor --project`) |
|
|
301
|
+
| **Haritanın kendisi** | **Her proje bir kez** (+ büyük değişiklikte yenile) |
|
|
302
|
+
|
|
303
|
+
### 7.5 Ne zaman haritayı yenilersin?
|
|
304
|
+
|
|
305
|
+
- Yeni büyük modül ekledin
|
|
306
|
+
- Klasör yapısını değiştirdin
|
|
307
|
+
- AI sürekli yanlış dosyaya gidiyorsa
|
|
308
|
+
|
|
309
|
+
Her gün değil — **proje şekli değişince**.
|
|
310
|
+
|
|
311
|
+
Chat'te güncelleme:
|
|
312
|
+
|
|
313
|
+
```
|
|
314
|
+
/graphify ./app ./lib ./components --update
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
Sonra yine:
|
|
318
|
+
|
|
319
|
+
```powershell
|
|
320
|
+
capint stack graph sync
|
|
321
|
+
```
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## 8. Üçü birlikte nasıl çalışır?
|
|
326
|
+
|
|
327
|
+
```
|
|
328
|
+
┌─────────────────────────────────────────────────────────┐
|
|
329
|
+
│ SEN — Cursor chat (Türkçe, doğal dil) │
|
|
330
|
+
└───────────────────────────┬─────────────────────────────┘
|
|
331
|
+
│
|
|
332
|
+
┌───────────────────┼───────────────────┐
|
|
333
|
+
▼ ▼ ▼
|
|
334
|
+
┌─────────┐ ┌───────────┐ ┌────────────┐
|
|
335
|
+
│ CapInt │ │ graphify │ │ agentmemory│
|
|
336
|
+
│ kurallar│ │ kod haritas│ │ chat hafızası│
|
|
337
|
+
│ HANDOFF │ │ graph.json │ │ (arka plan) │
|
|
338
|
+
│ workflows│ └───────────┘ └────────────┘
|
|
339
|
+
└─────────┘
|
|
340
|
+
│
|
|
341
|
+
▼
|
|
342
|
+
AI: doğru mod, plan, devamlılık, proje bilgisi
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
| Soru | Cevap veren |
|
|
346
|
+
|------|-------------|
|
|
347
|
+
| Nasıl davranayım? | CapInt (`AGENT`, `GUNLUK`, workflows) |
|
|
348
|
+
| Sırada ne var? | `HANDOFF.md`, `DONE.md` |
|
|
349
|
+
| Proje dosyaları nerede? | graphify haritası |
|
|
350
|
+
| Geçen konuşmada ne dedik? | agentmemory |
|
|
351
|
+
|
|
352
|
+
---
|
|
353
|
+
|
|
354
|
+
## 9. Yeni proje kontrol listesi
|
|
355
|
+
|
|
356
|
+
### Bilgisayarda (bir kez — zaten yaptıysan atla)
|
|
357
|
+
|
|
358
|
+
- [ ] Node.js kurulu
|
|
359
|
+
- [ ] `npm install -g @agentmemory/agentmemory` + Cursor MCP
|
|
360
|
+
- [ ] `uv tool install graphifyy` + `graphify install cursor`
|
|
361
|
+
- [ ] agentmemory arka planda çalışıyor
|
|
362
|
+
|
|
363
|
+
### Her yeni proje
|
|
364
|
+
|
|
365
|
+
- [ ] `cd proje-klasörü`
|
|
366
|
+
- [ ] `npx @bcelep/capint init --bundle full --stack`
|
|
367
|
+
- [ ] `GUNLUK.md` oku
|
|
368
|
+
- [ ] Cursor chat: `/graphify …` (doğru klasörlerle)
|
|
369
|
+
- [ ] `capint stack graph sync`
|
|
370
|
+
- [ ] `capint stack doctor` — dört katman yeşil mi bak
|
|
371
|
+
- [ ] Normal geliştirmeye chat ile devam
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
375
|
+
## 10. Ne zaman neyi yenilersin?
|
|
376
|
+
|
|
377
|
+
| Parça | Ne zaman |
|
|
378
|
+
|-------|----------|
|
|
379
|
+
| CapInt paketi | Yeni sürüm çıktığında (`capint upgrade` — nadiren) |
|
|
380
|
+
| HANDOFF / DONE | **Her oturum sonu** |
|
|
381
|
+
| agentmemory | Bilgisayar restart sonrası servisi tekrar aç |
|
|
382
|
+
| graphify haritası | Proje yapısı ciddi değişince |
|
|
383
|
+
| CapInt init | **Sadece yeni proje** — mevcut projede tekrar init genelde gerekmez |
|
|
384
|
+
|
|
385
|
+
---
|
|
386
|
+
|
|
387
|
+
## 11. Sık sorulan sorular
|
|
388
|
+
|
|
389
|
+
### CapInt olmadan Cursor kullanamaz mıyım?
|
|
390
|
+
|
|
391
|
+
Kullanırsın. CapInt sadece **düzen ve devamlılık** ekler.
|
|
392
|
+
|
|
393
|
+
### agentmemory olmadan CapInt işe yarar mı?
|
|
394
|
+
|
|
395
|
+
Evet. HANDOFF/DONE ile devam edersin; agentmemory ekstra chat hafızası.
|
|
396
|
+
|
|
397
|
+
### graphify olmadan?
|
|
398
|
+
|
|
399
|
+
Evet. Küçük projelerde AI dosyaları kendisi bulur; büyük projede harita çok işe yarar.
|
|
400
|
+
|
|
401
|
+
### Her gün terminal açmam gerekir mi?
|
|
402
|
+
|
|
403
|
+
Hayır. Günlük iş **chat**. Terminal: init, harita sync, doctor.
|
|
404
|
+
|
|
405
|
+
### efesusstone için ne durumda?
|
|
406
|
+
|
|
407
|
+
CapInt init + harita daha önce yapıldıysa **ekstra kurulum yok**. agentmemory kapalıysa sadece servisi aç. Proje çok değiştiyse haritayı yenile.
|
|
408
|
+
|
|
409
|
+
### `.prismx/` klasörü lazım mı?
|
|
410
|
+
|
|
411
|
+
**Hayır.** CapInt kök dosyaları kullanır: `HANDOFF.md`, `design.md`, `.capint/graph/`. `.prismx/` senin akışında yok.
|
|
412
|
+
|
|
413
|
+
---
|
|
414
|
+
|
|
415
|
+
## 12. Basit sorun giderme
|
|
416
|
+
|
|
417
|
+
| Belirti | Muhtemel sebep | Ne yap |
|
|
418
|
+
|---------|----------------|--------|
|
|
419
|
+
| AI her seferinde sıfırdan | HANDOFF güncel değil | Oturum sonu "HANDOFF güncelle" |
|
|
420
|
+
| `/graphify` hiçbir şey yapmıyor | Yanlış klasör veya kural yok | `capint stack graph paths` · `init --stack` |
|
|
421
|
+
| Harita var ama CapInt görmüyor | Sync yapılmamış | `capint stack graph sync` |
|
|
422
|
+
| Hafıza yok gibi | agentmemory kapalı | `agentmemory` terminalini aç |
|
|
423
|
+
| Büyük iş dağıldı | Direkt kod yazdırıldı | `/blueprint` → `/challenge` → `/forge` |
|
|
424
|
+
|
|
425
|
+
---
|
|
426
|
+
|
|
427
|
+
## Özet tablo
|
|
428
|
+
|
|
429
|
+
| | CapInt | agentmemory | graphify |
|
|
430
|
+
|---|--------|-------------|----------|
|
|
431
|
+
| **Nedir** | AI kural seti | Chat hafıza servisi | Kod haritası aracı |
|
|
432
|
+
| **Kurulum** | Her proje | Bilgisayar 1× | Program 1×, harita proje 1× |
|
|
433
|
+
| **Günlük** | Chat + HANDOFF | Arka planda açık | Nadiren yenile |
|
|
434
|
+
| **CapInt'e dahil mi?** | Evet | Hayır | Hayır |
|
|
435
|
+
| **Şart mı?** | Ana sistem | İsteğe bağlı | İsteğe bağlı |
|
|
436
|
+
|
|
437
|
+
---
|
|
438
|
+
|
|
439
|
+
*CapInt paketi: `@bcelep/capint` · Stack özeti: [capint-stack.md](capint-stack.md)*
|