Skip to content

Commit c0f02f8

Browse files
author
YZLLM
committed
chore(denetim): tum depo taramasi - bayat yorum/dokuman + olu kod temizligi (+ gizli sahte-yesil fix)
YZLLM: "MyCL'i bastan sona kontrol edebilir misin? butun dosyalarina bak. gereksiz ya da eski bir sey varsa guncelle." 566 dosyalik depo 16 paralel okuyucuyla tarandi; 182 aday bulgu capraz-aile curutmesinden gecti (172 confirmed / 3 refuted); ~140 dogrulanmis duzeltme 6 paralel ajanla uygulandi. Net -2277 satir. DUZELTILEN BAYATLIKLAR (ornek): - Kaldirilmis ozelliklere referanslar: z.ai saglayici, "Faz 17 yuk testi" (artik pentest), Full Test'in a11y/gorsel bolumleri, "Kalite Kontrol" butonu, klasik Haiku classifier fallback'i, eski 20-fazli numaralandirma (P6/P9/P20). - Gerceke aykiri iddialar: mufettis "en guclu model" (aslinda capraz-aile Sonnet), "cross-platform Windows" (Windows kapsam disi), dependency-audit "yuksek+ esik" (esik profile/moda gore degisir), conversation-context "son 3 mesaj" (gercek 5), phase-08-tdd "10 attempt retry" (retry kaldirilmis). - Olu export/alan silindi: getSessionTokenTotals, stopLivenessWatchdog, isPaused, tFormat, nextAutoPendingTask, advancePhase, markResolved, summarizeAuditForPhase, runQuickBuild, getTechDebtCount, buildSplitPrompt, isToolAllowed, REQUIRED_PHASES/OPTIONAL_PHASES, gate_module_path/runner_module_path (18 giris), hic okunmayan State alanlari (ui_flow_active, regression_block_active, last_write_ts), PhaseType "validation", UnknownEvent + yetim testleri. GIZLI BUG FIX (mahkeme dogruladi): phase-registry required_audits'teki skip event adlari bir-off bayatti (Faz 16'da "phase-15-skipped", Faz 17'de "phase-16-skipped"). has_ui/has_web_target gate'i Faz 16/17'yi atladiginda audit'e YANLIS ad yaziliyor, emitVerificationSummary skip'i bulamayip complete'i buluyordu -> atlanan E2E/pentest kullaniciya "Dogrulandi" gorunuyordu (sahte yesil). Adlar duzeltildi. SILINEN (YZLLM onayli): KOD-ANALIZ-RAPORU.md, MISSIONS-ENJEKSIYON-RAPORU.md, MyCL-Yetenekler.html (tek seferlik eski raporlar), assets/gates/ (3 olu gate + tauri resource girisi), public/{tauri,vite}.svg (iskelet kalintisi), scripts/mycl-test + scripts/qa (AppleScript harness; yerini browser-bridge + e2e/ aldi) + 13 npm script. PROTOTIP (YZLLM onayli): eski musteri adi ("Arcelik Back-Office") her yeni projeye kopyalaniyordu -> jeneriklestirildi (package.json name + UI metinleri); sizmis eski kosu artefakti (devs/2026-06-22.../iter-spec.md) silindi; README gercek davranisa cekildi. IKI IDDIA CURUTULDU: kilavuz gorselleri lib/help.js uzerinden GERCEKTEN kullaniliyor; "bozuk" error_folder import'u kasitli (modulu codegen her projede yeniden yazar, gitignore'lu per-instance) -> dokunulmadi. MAHKEME (Sonnet capraz-aile): 134 dosyalik diff sembol sembol denetlendi - "gercek regresyon bulunamadi"; silinen ~40 sembolun hepsi HEAD'de gercekten oluydu (yalniz kendi tanimi + kendi testi), CI/check.sh/deploy.sh/README/dev.md'de sarkan cagri yok. Tek bulgusu (ITERASYON.MD'de kalan 3 assets/gates referansi) bu committe kapatildi. npm run check: YESIL (229 dosya, 2664 test).
1 parent fc7e27a commit c0f02f8

134 files changed

Lines changed: 282 additions & 2559 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎ITERASYON.MD‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> Bu doküman, MyCL orkestratörünün bir geliştirme iterasyonunda koştuğu **17 fazın** her birinin
44
> gerçek koddan (controller + `phase-registry.ts` + şablon + gate) çıkarılmış eksiksiz açıklamasıdır.
55
> Kaynak: `orchestrator/src/phase-*.ts`, `orchestrator/src/phase-registry.ts` (`PHASE_SPECS`),
6-
> `orchestrator/src/base/*`, `assets/templates/phase-*.md`, `assets/gates|profiles|security-rules/*`.
6+
> `orchestrator/src/base/*`, `assets/templates/phase-*.md`, `assets/profiles|security-rules/*`.
77
88
## Genel çerçeve
99

@@ -80,7 +80,7 @@ proje bağlamı + konuşma bağlamını enjekte eder; sonra qa-askq base control
8080
varsayımla geçer ve 3-5 cümlelik özet üretir. Odak **WHAT** (ne isteniyor); HOW (mimari/kütüphane) sormak yasaktır.
8181

8282
- **Girdi:** kullanıcının TR niyeti → `intent_en`. `buildRelevantProjectContext` (spec/brief/audit/git'ten
83-
LLM-filtreli bağlam), `buildConversationContext` (son 3 mesaj; `isolatedIntent` ise katılmaz),
83+
LLM-filtreli bağlam), `buildConversationContext` (son 5 mesaj; `isolatedIntent` ise katılmaz),
8484
`buildCodebaseSnapshot` (dil-agnostik FS gezisi).
8585
- **Çıktı:** `approvedSummary` (EN) → orkestratör `state.intent_summary_raw`'a yazar (Faz 4 girdisi).
8686
Audit: `phase-1-intent-approve`, `phase-1-complete`.
@@ -106,7 +106,7 @@ varsayımla geçer ve 3-5 cümlelik özet üretir. Odak **WHAT** (ne isteniyor);
106106

107107
**Amaç.** Faz 1'in onaylı niyetini **8 boyutta** denetler, kritik belirsizlikleri yüzeye çıkarır ve Faz
108108
3/4'ün güvenebileceği **`enriched_summary`** (4-6 cümle, kullanıcının literal seçimleri korunarak) üretir.
109-
Ayrıca `classifyProjectType` (Haiku) ile proje tipini türetir → `project_type` + `skip_ui_phases` +
109+
Ayrıca `classifyProjectType` (çevirmen rolünün seçili modeli) ile proje tipini türetir → `project_type` + `skip_ui_phases` +
110110
`has_database` + `ui_complexity` state'e yazılır (Faz 5/6/7 skip ve Faz 16 runner seçimi buna bağlanır).
111111
8. boyut **COMPLIANCE** en sonda koşar; kullanıcı uyumsuzlukları görüp "Vazgeç" derse faz `abandoned` döner.
112112

@@ -167,7 +167,7 @@ varsayımlar. `write_spec` ile bir kez yazılır, `request_spec_approval` ile on
167167
(Faz 3 brief'i relevance-filtreli); "yalnız BU iterasyonun niyetini kapsa" talimatı.
168168
- **Çıktı:** `devs/_pending/<ts>/iter-spec.md` (her iterasyon kendi spec'i). Audit: `spec-block`,
169169
`phase-4-spec-approve`, `phase-4-complete`. ADR kaydı.
170-
- **Kapı & denetim:** gate `assets/gates/phase-04.ts` (saf fonksiyon: approve→complete/cancel→fail).
170+
- **Kapı & denetim:** `required_audits` (spec-block → phase-4-spec-approve → phase-4-complete); kapı mantığı controller içinde (approve→complete/cancel→fail).
171171
`output_schema` `phase-04-spec.json` (AC 3-7, id pattern `^AC[0-9]+$`).
172172
- **Model & eskalasyon:** `escalatedModelEffort(…, 'spec')`. Model değişince chat'e "🧠 Spec: <model> · efor N".
173173
- **Stack-bağımsızlık:** spec yalnız **gözlemlenebilir davranışı** tanımlar — dosya yolu/kütüphane/mimari
@@ -178,7 +178,7 @@ varsayımlar. `write_spec` ile bir kez yazılır, `request_spec_approval` ile on
178178
- **Incremental/merge modu KALDIRILDI (2026-06-16):** alakasız eski işi diriltip Faz 8'i boğuyordu.
179179
- GWT temizliği: fantom-AC guard (boş given/when/then placeholder'ları elenir → yanlış-fail önlenir).
180180
- `runComprehensionGate` şu an **NO-OP** (kullanıcı okuma sorumluluğunu alıyor, spec chat'te biçimli).
181-
- **Anahtar dosyalar:** `phase-4.ts`, `phase-registry.ts:158-175`, `assets/gates/phase-04.ts`,
181+
- **Anahtar dosyalar:** `phase-4.ts`, `phase-registry.ts`,
182182
`assets/schemas/phase-04-spec.json`, `assets/templates/phase-04-spec.md`.
183183

184184
## Faz 5 — UI Yapımı (UI Build) · codegen · **opsiyonel**

‎KOD-ANALIZ-RAPORU.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Veri çok büyük ve sonu kesilmiş (truncated). Mevcut maps + confirmedCritHigh + mediumLow JSON'unu sentezleyeceğim. Önce eldeki verinin tamamını anlamak için raporu yazıyorum — JSON kesik olsa da maps (15 alt-sistem), confirmedCritHigh ve mediumLow bulgularının büyük çoğunluğu elimde.
2-
3-
Raporu doğrudan döndürüyorum.
4-
51
# MyCL Studio — Kod Tabanı Analiz Raporu (2026-06-07)
62

73
## 1. Yönetici Özeti — Kontrol Durumu

‎MyCL-Yetenekler.html‎

Lines changed: 0 additions & 162 deletions
This file was deleted.

‎assets/agent-prompts/debate-protocol.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ role the **Inspector** now plays here. This governs how the orchestrator and the
55
during a review/debate. Goal: the highest-quality debate — so that agreeing on something *wrong*
66
becomes very hard, while real progress still happens iteratively.
77

8-
**You are two scientists.** You seek the truth, not victory. The inspector always uses the
9-
strongest available model.
8+
**You are two scientists.** You seek the truth, not victory. The inspector deliberately uses a
9+
cross-family model (the best available Sonnet) — different from the orchestrator's Opus — so the
10+
two do not share the same blind spots.
1011

1112
## Core
1213
Communication is the work, not a side-channel. The two of you must genuinely understand each

‎assets/gates/phase-01.ts‎

Lines changed: 0 additions & 20 deletions
This file was deleted.

‎assets/gates/phase-04.ts‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

‎assets/gates/phase-08.ts‎

Lines changed: 0 additions & 19 deletions
This file was deleted.

‎assets/templates/phase-08-tdd.md‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ tekrar tıklar veya spec'i revize eder.
155155
- Test fail kalırsa (3+ red runs aynı assertion'da) strateji değiştir; ASLA
156156
test'i `.skip` etme veya silme.
157157
- Beklenmedik blocker → Bash/Read ile araştır, devam et. Stop ETME.
158-
- Phase 8 controller fail olursa retry yapar (10 attempt'e kadar, ilerleme
159-
varsa) — yine de tek atışta bitirmeye çalış.
158+
- Tek atışta bitirmeye çalış.
160159

161160
Your job:
162161
1. Read the spec. Count ACs, group them into 3-8 user scenarios. Announce
@@ -218,7 +217,7 @@ patterns.md gives the backend + frontend pattern. You MUST implement:
218217
the UI's Hata Kodları page.
219218
3. **Frontend**: a global `fetch` wrapper that POSTs to `/api/log-error`
220219
on non-2xx responses, and a React ErrorBoundary that calls the same
221-
endpoint on render errors. (Phase 6 builds the Hata Kodları page itself
220+
endpoint on render errors. (Phase 5 builds the Hata Kodları page itself
222221
that reads from `/api/errors`.)
223222
4. `.gitignore` must include `error_folder/`.
224223
5. Write TDD tests for: (a) `recordError` writes a row; (b) error middleware

‎assets/templates/phase-09-risk.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ assumes the best. Review like a hostile senior engineer whose reputation depends
1818
- **Hunt false greens.** Did Phase 8 actually test the acceptance criteria, or write shallow/mock tests that pass
1919
without exercising the real path? Was any gate weakened to go green (a loosened assertion, `.skip`/`.only`, a
2020
disabled lint rule, a lowered threshold)? A test that looks like it can never fail is a `fix`.
21-
- **Hunt coverage holes.** Which checks were SKIPPED this run? Perf, security, integration, e2e, and load gates
21+
- **Hunt coverage holes.** Which checks were SKIPPED this run? Perf, security, integration, e2e, and pentest/DAST gates
2222
skip *silently* when the tool/condition is absent — a skipped gate means that dimension was **never verified**.
2323
Treat each skipped gate as an open risk (`fix`/`rule`), not a pass.
2424
- **Spec vs reality.** Does the code satisfy *every* acceptance criterion the spec requires — not most? An AC that

0 commit comments

Comments
 (0)