|
1 | 1 | # Learnings |
2 | 2 |
|
3 | 3 | <!-- INDEX:START --> |
4 | | -| Date | Learning | |
5 | | -|------------|------------------------------------------------------| |
6 | | -| 2026-01-28 | Required flags now enforced for learnings | |
7 | | -| 2026-01-28 | Claude Code Hooks Receive JSON via Stdin | |
8 | | -| 2026-01-28 | Changelogs vs Blogs serve different audiences | |
9 | | -| 2026-01-28 | IDE is already the UI | |
| 4 | +| Date | Learning | |
| 5 | +|------|--------| |
| 6 | +| 2026-01-29 | Documentation audits require verification against actual standards | |
| 7 | +| 2026-01-28 | Required flags now enforced for learnings | |
| 8 | +| 2026-01-28 | Claude Code Hooks Receive JSON via Stdin | |
| 9 | +| 2026-01-28 | Changelogs vs Blogs serve different audiences | |
| 10 | +| 2026-01-28 | IDE is already the UI | |
10 | 11 | | 2026-01-28 | Subtasks complete does not mean parent task complete | |
11 | | -| 2026-01-28 | AI session JSONL formats are not standardized | |
12 | | -| 2026-01-27 | Always Complete Decision Record Sections | |
13 | | -| 2026-01-27 | Slash Commands Require Matching Permissions | |
14 | | -| 2026-01-26 | Go json.Marshal Escapes Shell Characters | |
15 | | -| 2026-01-26 | Claude Code Hook Key Names | |
16 | | -| 2026-01-25 | defer os.Chdir Fails errcheck Linter | |
17 | | -| 2026-01-25 | golangci-lint Go Version Mismatch in CI | |
18 | | -| 2026-01-25 | CI Tests Need CTX_SKIP_PATH_CHECK | |
19 | | -| 2026-01-25 | AGENTS.md Is Not Auto-Loaded | |
20 | | -| 2026-01-25 | Hook Regex Can Overfit | |
21 | | -| 2026-01-25 | Autonomous Mode Creates Technical Debt | |
22 | | -| 2026-01-23 | ctx agent vs Manual File Reading Trade-offs | |
23 | | -| 2026-01-23 | Claude Code Skills Format | |
24 | | -| 2026-01-23 | Infer Intent on "Do You Remember?" Questions | |
25 | | -| 2026-01-23 | Always Use ctx from PATH | |
26 | | -| 2026-01-21 | Exit Criteria Must Include Verification | |
27 | | -| 2026-01-21 | Orchestrator vs Agent Tasks Must Be Separate | |
28 | | -| 2026-01-21 | One Templates Directory, Not Two | |
29 | | -| 2026-01-21 | Hooks Should Use PATH, Not Hardcoded Paths | |
30 | | -| 2026-01-20 | ctx and Ralph Loop Are Separate Systems | |
31 | | -| 2026-01-20 | .context/ Is NOT a Claude Code Primitive | |
32 | | -| 2026-01-20 | SessionEnd Hook Catches Ctrl+C | |
33 | | -| 2026-01-20 | Session Filename Must Include Time | |
34 | | -| 2026-01-20 | Two Tiers of Persistence | |
35 | | -| 2026-01-20 | Auto-Load Works, Auto-Save Was Missing | |
36 | | -| 2026-01-20 | Always Backup Before Modifying User Files | |
37 | | -| 2026-01-19 | CGO Must Be Disabled for ARM64 Linux | |
| 12 | +| 2026-01-28 | AI session JSONL formats are not standardized | |
| 13 | +| 2026-01-27 | Always Complete Decision Record Sections | |
| 14 | +| 2026-01-27 | Slash Commands Require Matching Permissions | |
| 15 | +| 2026-01-26 | Go json.Marshal Escapes Shell Characters | |
| 16 | +| 2026-01-26 | Claude Code Hook Key Names | |
| 17 | +| 2026-01-25 | defer os.Chdir Fails errcheck Linter | |
| 18 | +| 2026-01-25 | golangci-lint Go Version Mismatch in CI | |
| 19 | +| 2026-01-25 | CI Tests Need CTX_SKIP_PATH_CHECK | |
| 20 | +| 2026-01-25 | AGENTS.md Is Not Auto-Loaded | |
| 21 | +| 2026-01-25 | Hook Regex Can Overfit | |
| 22 | +| 2026-01-25 | Autonomous Mode Creates Technical Debt | |
| 23 | +| 2026-01-23 | ctx agent vs Manual File Reading Trade-offs | |
| 24 | +| 2026-01-23 | Claude Code Skills Format | |
| 25 | +| 2026-01-23 | Infer Intent on "Do You Remember?" Questions | |
| 26 | +| 2026-01-23 | Always Use ctx from PATH | |
| 27 | +| 2026-01-21 | Exit Criteria Must Include Verification | |
| 28 | +| 2026-01-21 | Orchestrator vs Agent Tasks Must Be Separate | |
| 29 | +| 2026-01-21 | One Templates Directory, Not Two | |
| 30 | +| 2026-01-21 | Hooks Should Use PATH, Not Hardcoded Paths | |
| 31 | +| 2026-01-20 | ctx and Ralph Loop Are Separate Systems | |
| 32 | +| 2026-01-20 | .context/ Is NOT a Claude Code Primitive | |
| 33 | +| 2026-01-20 | SessionEnd Hook Catches Ctrl+C | |
| 34 | +| 2026-01-20 | Session Filename Must Include Time | |
| 35 | +| 2026-01-20 | Two Tiers of Persistence | |
| 36 | +| 2026-01-20 | Auto-Load Works, Auto-Save Was Missing | |
| 37 | +| 2026-01-20 | Always Backup Before Modifying User Files | |
| 38 | +| 2026-01-19 | CGO Must Be Disabled for ARM64 Linux | |
38 | 39 | <!-- INDEX:END --> |
39 | 40 |
|
40 | 41 | --- |
41 | 42 |
|
| 43 | +## [2026-01-29-164322] Documentation audits require verification against actual standards |
| 44 | + |
| 45 | +**Context**: Agent claimed 'no Go docstring issues found' but manual inspection revealed many functions missing Parameters/Returns sections. The agent only checked if comments existed, not if they followed the standard format. |
| 46 | + |
| 47 | +**Lesson**: When auditing documentation, compare against a known-good example first. Pattern-match for the COMPLETE standard (e.g., '// Parameters:' AND '// Returns:' sections), not just presence of any comment. |
| 48 | + |
| 49 | +**Application**: Before declaring 'no issues', manually verify at least 5 random samples match the documented standard. Use grep patterns that detect missing sections, not just missing comments. |
| 50 | + |
| 51 | +--- |
| 52 | + |
42 | 53 | ## [2026-01-28-191951] Required flags now enforced for learnings |
43 | 54 |
|
44 | 55 | **Context**: Implemented ctx add learning flags to match decision's ADR (Architectural Decision Record) pattern |
|
0 commit comments