Đấm chết con mẹ nó các agent đắt đỏ

fucking-cheap

Biến các model lỏ trở nên OK hơn,
đưa model lỏ trở nên dễ dàng vibecoding hơn.

Vấn đề

Model rẻ = không ổn định.
Quên constraint, bịa láo,
và fix loop vô tận.

10×

Số lần fix nhiều hơn GPT-4

Fix loop vô tận không có stop

$0

Budget còn lại sau khi debug

Giải pháp

Áp đặt kỷ luật.
Không phải thông minh.

fucking-cheap là hệ thống skill modular bọc model rẻ bằng rules cứng: plan trước khi code, test trước khi commit, dừng khi stuck. Không còn infinite loop. Không còn quên constraint.

Cách hoạt động

4 phases. Zero ambiguity.

01

INTAKE

Đọc task. Phân loại scope: Spike, Bounded, hoặc Architectural. Hỏi clarifying questions trước khi assume.

02

DECOMPOSE

Chia thành atomic subtasks. Mỗi cái = 1 file, 1 function, 1 test. Present plan. Chờ approve. Không bao giờ skip bước này.

03

TDD LOOP

Viết test trước. Viết code pass test. Fix max 2 lần. Dùng max 2 lần thì STOP. Không có infinite loop.

04

VERIFY

Chạy full test suite. Playwright cho UI. Integration test. Report cái gì pass, cái gì fail, cái gì thay đổi.

Kiến trúc

22 modules. Lazy-load khi cần.
Thông minh hơn.

Core

7 modules
  • workflow.md — state machine
  • constraints.md — chống drift
  • evidence.md — verify bằng evidence
  • verification.md — test/build/lint
  • completion-gate.md — điều kiện DONE
  • failure-recovery.md — debug flow
  • vibecoding.md — plan→TDD→delegate

Domains

6 modules
  • frontend.md
  • backend.md
  • database.md
  • security.md
  • concurrency.md
  • performance.md

Protocols

5 modules
  • anti-loop.md
  • context-compression.md
  • git-safety.md
  • regression-guard.md
  • model-escalation.md

State Machine

INTAKE RECON PLAN IMPLEMENT VERIFY REVIEW DONE

Không có shortcut IMPLEMENT → DONE

Trong thực tế

Một task. Một flow.
Không guesswork.

$ User: "Thêm margin import vào Lagtuz"

→ INTAKE     Phân loại: Architectural (nhiều file)
→ RECON      Đọc codebase... tìm thấy 3 file liên quan
→ PLAN       Chia thành 5 subtasks
              ┌─────────────────────────────────────┐
              │ Subtask 1: API route     → Test: 200 │
              │ Subtask 2: Parse Excel   → Test: JSON│
              │ Subtask 3: UI component  → Test: render│
              │ Subtask 4: Connect       → Test: flow│
              │ Subtask 5: Integration   → Test: all │
              └─────────────────────────────────────┘
✓ APPROVED   User nói "OK"

→ IMPLEMENT  Subtask 1: test ✅ code ✅
              Subtask 2: test ✅ code ✅
              Subtask 3: test ✅ code ✅ (fix 1x)
              Subtask 4: test ✅ code ✅
              Subtask 5: test ✅ code ✅

→ VERIFY     Unit: 12/12 pass
              Integration: 3/3 pass
              UI: 2/2 pass

→ DONE       5 files changed, 847 insertions(+)

Không lo model đắt đỏ, fucking cheap,
bắt đầu vibing.