opencodekit 0.15.14 → 0.15.15

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/dist/index.js CHANGED
@@ -750,7 +750,7 @@ var cac = (name = "") => new CAC(name);
750
750
  // package.json
751
751
  var package_default = {
752
752
  name: "opencodekit",
753
- version: "0.15.14",
753
+ version: "0.15.15",
754
754
  description: "CLI tool for bootstrapping and managing OpenCodeKit projects",
755
755
  keywords: [
756
756
  "agents",
@@ -3884,13 +3884,13 @@ var MODEL_PRESETS = {
3884
3884
  }
3885
3885
  },
3886
3886
  recommend: {
3887
- model: "proxypal/gemini-claude-opus-4-5-thinking",
3887
+ model: "github-copilot/claude-opus-4.5",
3888
3888
  agents: {
3889
- build: "proxypal/gemini-claude-opus-4-5-thinking",
3889
+ build: "github-copilot/claude-opus-4.5",
3890
3890
  plan: "openai/gpt-5.2",
3891
3891
  review: "openai/gpt-5.2-codex",
3892
3892
  explore: "proxypal/gemini-3-flash-preview",
3893
- general: "opencode/glm-4.7-free",
3893
+ general: "github-copilot/claude-haiku-4.5",
3894
3894
  looker: "proxypal/gemini-3-flash-preview",
3895
3895
  vision: "proxypal/gemini-3-pro-preview",
3896
3896
  scout: "proxypal/gemini-3-flash-preview",
@@ -359,7 +359,26 @@ Before you start implementing, verify the requirements are clear. If interpretat
359
359
 
360
360
  ### Before claiming done
361
361
 
362
- Before you claim completion, verify these things: you ran `bd close <id>`, you ran `bd sync`, there are no pending LSP nudges, and you saved observations for any important decisions or patterns.
362
+ Before you claim completion, verify these things:
363
+
364
+ 1. **Run Oracle critique** on any significant code changes:
365
+
366
+ ```typescript
367
+ oracle({
368
+ question: "Is this solution overcomplicated? Could it be 10x simpler?",
369
+ mode: "critique",
370
+ context: "<summary of changes>",
371
+ });
372
+ ```
373
+
374
+ If Oracle suggests simplification, implement it before proceeding.
375
+
376
+ 2. You ran `bd close <id>` with a meaningful reason
377
+ 3. You ran `bd sync` to push changes
378
+ 4. There are no pending LSP nudges
379
+ 5. You saved observations for any important decisions or patterns
380
+
381
+ **DO NOT skip the Oracle critique for non-trivial changes.** This prevents bloated, overcomplicated solutions that could be 10x simpler.
363
382
 
364
383
  ---
365
384
 
@@ -0,0 +1,44 @@
1
+ ---
2
+ type: learning
3
+ created: 2026-01-29T01:59:58.781Z
4
+ confidence: high
5
+ valid_until: null
6
+ superseded_by: null
7
+ concepts: ["karpathy", "llm-coding", "best-practices", "declarative", "test-first", "sycophancy", "simplicity", "leverage"]
8
+ ---
9
+
10
+ # 📚 Karpathy LLM coding insights Dec 2025
11
+
12
+ 🟢 **Confidence:** high
13
+
14
+ From Andrej Karpathy's analysis of LLM-assisted coding (Dec 2025):
15
+
16
+ KEY PROBLEMS:
17
+ 1. Wrong assumptions - models assume without checking
18
+ 2. No confusion management - don't seek clarifications
19
+ 3. Sycophancy - don't push back when they should
20
+ 4. Overcomplicate - bloated abstractions (1000 lines → 100 lines possible)
21
+ 5. Side effects - change unrelated code
22
+ 6. No cleanup - dead code remains
23
+
24
+ BEST PRACTICES:
25
+ 1. DECLARATIVE > IMPERATIVE - give success criteria, not step-by-step instructions
26
+ 2. TEST-FIRST - write tests, then pass them (TDD skill)
27
+ 3. LOOPING - LLMs excel at looping until goals met (verification skill)
28
+ 4. NAIVE → OPTIMIZED - write correct first, then optimize
29
+ 5. BROWSER MCP - put agents in feedback loops with real systems
30
+
31
+ LEVERAGE PRINCIPLE:
32
+ "Don't tell it what to do, give it success criteria and watch it go"
33
+
34
+ OPENCODE ALIGNMENT:
35
+ - Oracle tool → anti-sycophancy (critique mode)
36
+ - Question tool → clarification seeking
37
+ - TDD skill → test-first workflow
38
+ - Verification skill → looping until green
39
+ - LSP chain → prevent wrong assumptions
40
+
41
+ MISSING:
42
+ - Explicit simplicity gate ("can this be 10x simpler?")
43
+ - Dead code cleanup protocol
44
+ - Side-effect prevention checklist