|
1 | | -## Codebase Patterns |
2 | | - |
3 | | -### Suite structure |
4 | | -- 20 suites total: 9 SDLC (csb_sdlc_*) + 11 Org (csb_org_*) |
5 | | -- SDLC suites: debug, design, document, feature, fix, refactor, secure, test, understand |
6 | | -- Org suites: compliance, crossorg, crossrepo, crossrepo_tracing, domain, incident, migration, onboarding, org, platform, security |
7 | | - |
8 | | -### Suite task counts |
9 | | -- csb_sdlc_fix: 34, csb_org_onboarding: 28, csb_org_migration: 28, csb_org_security: 26 |
10 | | -- csb_sdlc_feature: 23, csb_org_crossrepo_tracing: 23, csb_sdlc_test: 20 |
11 | | -- csb_org_platform: 20, csb_org_incident: 20, csb_org_domain: 20, csb_org_compliance: 20 |
12 | | -- csb_sdlc_debug: 19, csb_sdlc_refactor: 18, csb_org_crossorg: 18, csb_org_org: 16 |
13 | | -- csb_sdlc_secure: 15, csb_sdlc_document: 15, csb_sdlc_design: 15, csb_org_crossrepo: 14 |
14 | | -- csb_sdlc_understand: 12 |
15 | | - |
16 | | -### selected_benchmark_tasks.json |
17 | | -- Located at configs/selected_benchmark_tasks.json |
18 | | -- Currently only has 4 entries (massively out of date) |
19 | | -- Needs to be regenerated from task.toml files |
20 | | -- Used by R.4 (sdlc_phase), R.9 (difficulty), T.7 (metadata sync) checks |
21 | | - |
22 | | -### task.toml fields |
23 | | -- [metadata] section: name, description, license |
24 | | -- [task] section: id, repo, category, language, difficulty, time_limit_sec |
25 | | -- [verification] section: type, command, reward_type |
26 | | -- parse_task_toml_simple() in abc_audit.py reads these |
27 | | - |
28 | | -### docs/ structure |
29 | | -- docs/TASK_SELECTION.md — task selection methodology |
30 | | -- docs/ERROR_CATALOG.md — error patterns |
31 | | -- docs/ops/ — operational docs |
32 | | -- docs/reference/ — reference docs |
33 | | - |
34 | | -### JSON task ID casing |
35 | | -- JSON has mix of `CCX-` (uppercase) and `ccx-` (lowercase) task IDs |
36 | | -- Task.toml files use `CCX-` but directory names use `ccx-` |
37 | | -- Must match case-insensitively when cross-referencing |
38 | | - |
39 | | -### Multi-language normalization |
40 | | -- Some task.toml files have `language = "go,cpp"` or `"cpp,c,javascript"` |
41 | | -- Normalize to primary language (first in comma list) |
42 | | -- 3 crossrepo design tasks have no repo in task.toml — manually set from task name |
43 | | - |
44 | | -## Progress |
45 | | - |
46 | | -## 2026-03-07 - US-001 |
47 | | -- Already complete from previous iteration (all 20 READMEs exist, R.3 passes) |
48 | | -- No files changed |
49 | | -- **Learnings for future iterations:** |
50 | | - - READMEs were created in a prior session on ralph/abc-checks branch and merged |
51 | | ---- |
52 | | - |
53 | | -## 2026-03-07 - US-002 |
54 | | -- Populated sdlc_phase for all 404 tasks using SUITE_PHASE map from benchmark name |
55 | | -- Filled missing repo fields from task.toml (61 CCX tasks + 3 manual envoy/etcd) |
56 | | -- Normalized multi-language entries (11 tasks: "go,cpp" -> "go", etc.) |
57 | | -- Files changed: configs/selected_benchmark_tasks.json, ralph-metadata/prd.json, ralph-metadata/progress.txt |
58 | | -- **Learnings for future iterations:** |
59 | | - - JSON task IDs are mixed case (CCX- vs ccx-); always match case-insensitively |
60 | | - - sdlc_phase can always be derived from the benchmark/suite name — no need to read task.toml |
61 | | - - 3 design tasks (envoy/etcd crossrepo) have no repo in task.toml, need manual assignment |
62 | | ---- |
| 1 | +## 2026-03-07 - US-001, US-002, US-003 |
| 2 | +- US-001: All 20 suite READMEs exist, R.3 passes |
| 3 | +- US-002: Populated sdlc_phase, repo, language for all 404 tasks (R.4 passes) |
| 4 | +- US-003: Added difficulty distribution section to docs/TASK_SELECTION.md |
| 5 | +- Files: configs/selected_benchmark_tasks.json, docs/TASK_SELECTION.md, ralph-metadata/ |
0 commit comments